
:root {
  --cream: #F3F0E7;
  --sage: #E7EBDD;
  --forest: #113F2D;
  --pine: #0B2A1E;
  --brown: #B89B6F;
  --textdark: #17211B;

  --cream-soft: rgba(243, 240, 231, 0.72);
  --cream-faint: rgba(243, 240, 231, 0.16);
  --dark-soft: rgba(23, 33, 27, 0.75);

  --section-shadow: 0 -45px 90px rgba(11, 42, 30, 0.22);
  --soft-shadow: 0 18px 45px rgba(17, 63, 45, 0.10);

  --font-display: "Roboto", Arial, sans-serif;
  --font-content: "Space Grotesk", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}



section,
header,
footer,
main,
div {
  min-width: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--textdark);
  font-family: var(--font-display);
}

/* ---------- CONTENT TYPOGRAPHY ---------- */

.section-intro h3,
.about-content h3,
.contact-copy h3,
.about-content p:not(.section-label),
.project-info p:not(.section-label),
.contact-copy p,
.empty-message p,
.service-card-content,
.service-more,
.service-details-content,
#serviceDetailsBody {
  font-family: var(--font-content);
}

.section-intro h3,
.about-content h3,
.contact-copy h3, h3 {
  margin: 0 0 1.5rem;
  color: var(--forest);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.about-content p:not(.section-label),
.project-info p:not(.section-label),
.contact-copy p,
.empty-message p {
  max-width: 42rem;
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.85;
}

.about-content p:not(.section-label) {
  color: var(--dark-soft);
}

.project-info p:not(.section-label),
.contact-copy p,
.empty-message p {
  color: var(--cream-soft);
}

.about-content h3 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.projects-section .section-intro h3,
.contact-copy h3 {
  color: rgba(243, 240, 231, 0.95);
}

.banner h1 {
  margin: 8rem 0 0;
  padding-right: 2.5rem;
  background: linear-gradient(90deg, #315C45 0%, var(--forest) 45%, var(--pine) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-size: 17vw;
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: -0.12em;
  text-transform: uppercase;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 8px 12px rgba(17, 63, 45, 0.12));
}

.title-reveal h2 {
  position: relative;
  z-index: 10;
  margin: 0;
  padding-right: 1.25rem;
  background: linear-gradient(90deg, #8FAE9B 0%, #315C45 35%, var(--forest) 70%, var(--pine) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-size: clamp(5rem, 11vw, 10rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.10em;
  text-transform: uppercase;
  white-space: nowrap;
  -webkit-text-fill-color: transparent;
  transform: translateY(-45px);
  clip-path: inset(0 0 100% 0);
  transition:
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    clip-path 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.projects-section .title-reveal h2,
.contact-section .title-reveal h2 {
  background: none;
  color: rgba(243, 240, 231, 0.95);
  -webkit-text-fill-color: currentColor;
}

.section-label {
  display: block;
  margin: 0 0 1rem;
  color: var(--brown);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-intro p {
  max-width: 520px;
  margin: 0;
  color: rgba(17, 63, 45, 0.8);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-cream {
  background: var(--cream);
}

.section-sage {
  background: var(--sage);
}

.projects-section {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  background: var(--forest);
  color: var(--cream);
}

.contact-section {
  background: var(--pine);
  color: var(--cream);
}

.stack-section {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  box-shadow: var(--section-shadow);
}

.stack-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 55px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(11, 42, 30, 0.16), rgba(11, 42, 30, 0));
}

#banner {
  z-index: 1;
}

#about {
  z-index: 2;
  height: 130vh;
}

#services {
  z-index: 4;
  height: 130vh;
  min-height: 130vh;
  overflow: hidden;
}

#contact {
  z-index: 5;
}

#banner::before {
  display: none;
}

.banner {
  background-image: url("Elements/banner_images/pine-trees-green-bg.png");
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
}

.banner::after {
  content: "";
  position: absolute;
  right: 5%;
  bottom: -17%;
  z-index: 5;
  width: 35%;
  height: 105%;
  background-image: url("Elements/banner_images/stag-green.png");
  background-position: center bottom;
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  filter: drop-shadow(0 22px 30px rgba(17, 63, 45, 0.16));
}

.banner-logo {
  transform: translateX(-50%);
}

.banner-line {
  background: rgba(17, 63, 45, 0.7);
}

.main-btn,
.submit-btn {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--forest);
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.3s ease;
}

.main-btn:hover {
  background: var(--forest);
  color: var(--cream);
}

.submit-btn {
  border-color: var(--cream);
  background: var(--cream);
  color: var(--pine);
}

.submit-btn:hover {
  background: transparent;
  color: var(--cream);
}

.nav-link,
.dropdown-btn {
  position: relative;
  border: 0;
  background: transparent;
  color: var(--pine);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s ease;
}

.nav-link::after,
.dropdown-btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 1px;
  background: var(--brown);
  transition: width 0.3s ease;
}

.nav-link:hover,
.dropdown-btn:hover {
  color: var(--brown);
}

.nav-link:hover::after,
.dropdown-btn:hover::after {
  width: 100%;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 2.8rem;
  right: 0;
  min-width: 210px;
  padding: 1rem;
  border: 1px solid rgba(17, 63, 45, 0.18);
  background: rgba(243, 240, 231, 0.96);
  box-shadow: 0 15px 35px rgba(11, 42, 30, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown.open .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-line {
  display: block;
  width: 100%;
  height: 2px;
  margin-bottom: 0.7rem;
  background: var(--brown);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
}

.dropdown.open .dropdown-line {
  transform: scaleX(1);
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 0.25rem;
  color: var(--forest);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.dropdown-menu a:hover {
  color: var(--brown);
  padding-left: 0.6rem;
}

.menu-btn {
  display: flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17, 63, 45, 0.8);
  border-radius: 50%;
  background: rgba(243, 240, 231, 0.85);
}

.menu-btn::after {
  display: none;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 25px;
  height: 2px;
  border-radius: 999px;
  background: var(--forest);
  transition: 0.3s ease;
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-icon::before {
  transform: translateY(-8px);
}

.menu-icon::after {
  transform: translateY(8px);
}

.dropdown.open .menu-icon {
  background: transparent;
}

.dropdown.open .menu-icon::before {
  transform: rotate(45deg);
}

.dropdown.open .menu-icon::after {
  transform: rotate(-45deg);
}

.title-reveal {
  position: relative;
  z-index: 10;
  display: inline-block;
  width: fit-content;
  margin-bottom: 3rem;
}

.title-line {
  display: block;
  width: 100%;
  height: 3px;
  margin-bottom: 18px;
  background: var(--forest);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s cubic-bezier(0.77, 0, 0.175, 1);
}

.title-line-light {
  background: rgba(243, 240, 231, 0.85);
}

.title-reveal.active .title-line {
  transform: scaleX(1);
}

.title-reveal.active h2 {
  transform: translateY(0);
  clip-path: inset(0 0 0 0);
  transition:
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s,
    clip-path 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}

.reveal-up,
.reveal-left,
.reveal-right {
  --reveal-x: 0px;
  --reveal-y: 0px;
  opacity: 0;
  transform: translate(var(--reveal-x), var(--reveal-y));
  transition:
    opacity 0.8s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-up {
  --reveal-y: 55px;
}

.reveal-left {
  --reveal-x: -55px;
}

.reveal-right {
  --reveal-x: 55px;
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
  --reveal-x: 0px;
  --reveal-y: 0px;
  opacity: 1;
}

.about-image {
  background: var(--sage);
  box-shadow: var(--soft-shadow);
}

.about-content {
  background: rgba(243, 240, 231, 0.9);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(8px);
}

.project-card {
  border-top: 1px solid rgba(184, 155, 111, 0.2);
  border-bottom: 1px solid rgba(184, 155, 111, 0.2);
}

.project-date {
  border-left: 1px dashed rgba(243, 240, 231, 0.3);
}

.project-date span {
  color: rgba(243, 240, 231, 0.9);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}

.project-date small {
  display: block;
  margin-top: 0.75rem;
  color: rgba(243, 240, 231, 0.45);
  font-family: var(--font-content);
  font-size: 0.875rem;
}

.mobile-date {
  color: var(--brown);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-media {
  background: rgba(11, 42, 30, 0.4);
  box-shadow: 0 18px 45px rgba(11, 42, 30, 0.22);
}

.project-preview {
  opacity: 0.9;
}

.project-info h3 {
  margin: 0 0 1.25rem;
  color: var(--cream);
  font-family: var(--font-content);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}

.project-card,
.project-preview {
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    filter 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease,
    color 0.3s ease;
}

/* ---------- PROJECT HOVER EFFECT ---------- */

.project-list.is-hovering .project-card {
  transform: scale(0.98);
  opacity: 0.55;
  filter: grayscale(0.35);
}

.project-list.is-hovering .project-card.is-active {
  cursor: pointer;
  transform: scale(1.02);
  opacity: 1;
  filter: grayscale(0);
  border-top-color: var(--brown);
  border-bottom-color: var(--brown);
}

.project-list.is-hovering .project-card.is-active .project-preview {
  transform: scale(1.03);
  opacity: 1;
}

.project-list.is-hovering .project-card.is-active h3,
.project-list.is-hovering .project-card.is-active .project-type {
  cursor: pointer;
  opacity: 1;
}

.project-list.is-hovering .project-card.is-active p:not(.section-label) {
  color: rgba(255, 255, 255, 0.95);
}

/* ---------- TECHNOLOGY PILLS ---------- */

.tech-pill {
  display: inline-flex;
  align-items: center;

  padding: 0.45rem 0.85rem;

  border: 1px solid rgba(184, 155, 111, 0.4);
  border-radius: 999px;

  background: rgba(184, 155, 111, 0.15);
  color: rgba(243, 240, 231, 0.85);

  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.tech-pill:hover {
  border-color: var(--brown);
  background-color: var(--brown);
  color: var(--forest);
  transform: translateY(-2px);
}

/* =========================================================
   SERVICES
   ========================================================= */

#services .section-inner {
  height: 100vh;
  min-height: 100vh;
  justify-content: center;

  padding-top: clamp(2rem, 4vh, 4rem);
  padding-bottom: clamp(2rem, 4vh, 4rem);
}

/* ---------- SERVICES HEADING ---------- */

#services .title-reveal {
  margin-bottom: clamp(0.75rem, 1.8vh, 1.4rem);
}

#services .title-reveal h2 {
  font-size: clamp(4.5rem, 8vw, 8rem);
}

#services .section-intro {
  max-width: 48rem;
  margin-bottom: clamp(1rem, 2vh, 1.5rem);
}

#services .section-intro .section-label {
  margin-bottom: 0.45rem;
}

#services .section-intro h3 {
  font-size: clamp(1.65rem, 3vw, 2.8rem);
  padding-bottom: 0.2rem;
}

/* ---------- SERVICES STAGE ---------- */

.services-stage {
  position: relative;

  width: 100%;
  height: clamp(385px, 54vh, 475px);
  min-height: 0;

  overflow: hidden;
}

.service-card-content {
  padding: 0.75rem 1rem 1rem;
}

/* ---------- DRAG HINT ---------- */

.services-drag-hint {
  position: absolute;
  top: 0.8rem;
  right: 1rem;
  z-index: 5;

  display: grid;
  place-items: center;

  width: 64px;
  height: 48px;

  border: 1px solid rgba(17, 63, 45, 0.16);
  background: rgba(243, 240, 231, 0.94);
  box-shadow: 0 8px 22px rgba(17, 63, 45, 0.08);

  pointer-events: none;

  opacity: 1;
  transform: translateY(0);

  transition:
    opacity 0.35s ease,
    transform 0.35s ease;

  animation: dragHintMove 1.8s ease-in-out 2;
}

.services-drag-hint.is-hidden {
  opacity: 0;
  transform: translateY(-8px);
}

.services-drag-hint svg {
  width: 42px;
  height: 32px;
  overflow: visible;
}

.drag-arrow {
  fill: none;
  stroke: var(--forest);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.drag-cursor {
  fill: var(--cream);
  stroke: var(--forest);
  stroke-width: 2;
  stroke-linejoin: round;
}

@keyframes dragHintMove {
  0%,
  100% {
    transform: translateX(0);
  }

  35% {
    transform: translateX(-5px);
  }

  70% {
    transform: translateX(5px);
  }
}

/* ---------- SERVICES TRACK ---------- */

.services-track {
  display: flex;
  align-items: stretch;
  gap: 1rem;

  width: 100%;
  height: 100%;

  padding: 0.25rem 4rem 0.75rem 0;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-snap-type: x proximity;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;

  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}

.services-track::-webkit-scrollbar {
  display: none;
}

.services-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

/* ---------- SERVICE CARDS ---------- */

.service-card {
  position: relative;

  display: flex;
  flex: 0 0 clamp(270px, 24vw, 335px);
  flex-direction: column;

  height: 100%;
  min-height: 0;
  overflow: hidden;

  scroll-snap-align: start;

  border: 1px solid rgba(17, 63, 45, 0.14);
  background-color: rgba(243, 240, 231, 0.96);
  box-shadow: 0 6px 12px rgba(17, 63, 45, 0.05);

  transition:
    background-color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.service-card::before {
  content: "";

  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;

  width: 100%;
  height: 3px;

  background: var(--brown);

  transform: scaleX(0);
  transform-origin: left;

  transition: transform 0.4s ease;
}

.service-card:focus-within {
  border-color: rgba(17, 63, 45, 0.28);
  background-color: rgba(236, 233, 223, 0.98);
  box-shadow: 0 16px 36px rgba(17, 63, 45, 0.1);
  transform: translateY(-5px);
}

.service-card:focus-within::before {
  transform: scaleX(1);
}

@media (hover: hover) {

  .service-card:hover {
    border-color: rgba(17, 63, 45, 0.28);
    background-color: rgba(236, 233, 223, 0.98);
    box-shadow: 0 16px 36px rgba(17, 63, 45, 0.1);
    transform: translateY(-5px);
  }

  .service-card:hover::before {
    transform: scaleX(1);
  }
}

/* Stops cards lifting while the track is being dragged */
.services-track.is-dragging .service-card {
  transform: none;
  pointer-events: none;
}

/* ---------- SERVICE ICON ---------- */

.service-image {
  display: grid;
  flex: 0 0 47%;
  place-items: center;
  min-height: 0;
  padding: 0.8rem 1.1rem 0.2rem;
}

.service-image img {
  display: block;
  width: 260px;
  height: 260px;
  object-fit: contain;

  opacity: 0.95;
  filter: none;

  pointer-events: none;
  transform: scale(1);

  transition:
    opacity 0.35s ease,
    transform 2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.service-card:focus-within .service-image img {
  opacity: 1;
  transform: scale(1.10);
}

@media (hover: hover) {

  .service-card:hover .service-image img {
    opacity: 1;
    transform: scale(1.25);
  }
}

/* ---------- SERVICE CARD TYPOGRAPHY ---------- */

.service-number {
  margin: 5rem 0 0.4rem;
  color: var(--brown);

  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.14em;
}

.service-card h3 {
  margin: 0;

  color: var(--forest);

  font-size: clamp(1.1rem, 1.25vw, 1.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.05em;
}

.service-summary {
  max-width: 29rem;
  margin: 0.65rem 0 0.9rem;

  color: var(--dark-soft);

  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.01em;
}

.service-more {
  align-self: flex-start;

  margin-top: auto;
  padding: 0 0 0.3rem;

  border: 0;
  border-bottom: 1px solid var(--brown);

  background: transparent;
  color: var(--forest);

  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  cursor: pointer;

  transition:
    border-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.service-more::after {
  content: " \2192";
  margin-left: 0.25rem;
}

.service-more:hover,
.service-more:focus-visible {
  border-color: var(--forest);
  color: var(--brown);
  transform: translateX(3px);
}

/* =========================================================
   SLIDING DETAILS PANEL
   ========================================================= */

body.service-details-open,
body.privacy-panel-open {
  overflow: hidden;
}

.service-details {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000;

  display: grid;
  grid-template-columns:
    minmax(280px, 0.8fr)
    minmax(400px, 1.2fr);

  width: calc(100vw - clamp(64px, 6vw, 108px));
  height: 100dvh;

  overflow-y: auto;
  overscroll-behavior: contain;

  border-left: 1px solid rgba(243, 240, 231, 0.14);
  background: var(--pine);
  color: var(--cream);
  box-shadow: -35px 0 80px rgba(11, 42, 30, 0.3);

  visibility: hidden;
  pointer-events: none;

  transform: translate3d(101%, 0, 0);
  will-change: transform;

  transition:
    transform 0.9s cubic-bezier(0.76, 0, 0.24, 1),
    visibility 0s linear 0.9s;
}

.service-details.is-open {
  visibility: visible;
  pointer-events: auto;

  transform: translate3d(0, 0, 0);

  transition:
    transform 0.9s cubic-bezier(0.76, 0, 0.24, 1),
    visibility 0s;
}

/* ---------- DETAILS CLOSE BUTTON ---------- */

.service-close,
.privacy-close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 5;

  display: grid;
  place-items: center;

  width: 44px;
  height: 44px;
  padding: 0;

  border: 1px solid rgba(243, 240, 231, 0.4);
  border-radius: 50%;

  background: var(--forest);
  color: var(--cream);

  font-size: 1.7rem;
  line-height: 1;

  cursor: pointer;

  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.service-close:hover,
.service-close:focus-visible,
.privacy-close:hover,
.privacy-close:focus-visible {
  border-color: var(--brown);
  background-color: var(--brown);
  color: var(--pine);

  transform: rotate(90deg);
}

/* ---------- DETAILS IMAGE ---------- */

.service-details-image {
  display: grid;
  place-items: center;

  min-width: 0;
  min-height: 100dvh;
  padding: clamp(4rem, 8vw, 8rem) clamp(2rem, 5vw, 5rem);

  background: var(--sage);

  opacity: 0;
  transform: translateX(-70px);

  transition:
    opacity 0.65s ease,
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-details-image img {
  width: min(70%, 270px);
  height: auto;
  aspect-ratio: 1;

  object-fit: contain;
  filter: none;
}

/* ---------- DETAILS CONTENT ---------- */

.service-details-content {
  max-width: 50rem;
  padding: clamp(5rem, 10vw, 10rem) clamp(2rem, 6vw, 7rem);

  opacity: 0;
  transform: translateX(70px);

  transition:
    opacity 0.65s ease,
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-details.is-open .service-details-image {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.28s;
}

.service-details.is-open .service-details-content {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.4s;
}

.service-details-content h3 {
  max-width: 42rem;
  margin: 0 0 1.5rem;
  padding: 0;

  color: var(--cream);

  font-family: var(--font-content);
  font-size: clamp(2.8rem, 5vw, 6rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

#serviceDetailsBody {
  max-width: 38rem;

  color: var(--cream-soft);

  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  line-height: 1.75;
}

.service-extra-subtitle {
  max-width: 34rem;
  margin: 0 0 1.25rem;

  color: rgba(243, 240, 231, 0.96);

  font-size: clamp(1.3rem, 2vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.service-extra-description {
  max-width: 35rem;
  margin: 0;
}

.service-extra-label {
  margin: 2.25rem 0 0.9rem;

  color: var(--brown);

  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.service-extra-list {
  display: grid;
  gap: 0.7rem;

  margin: 0;
  padding: 0;

  list-style: none;
}

.service-extra-list li {
  position: relative;
  padding-left: 1.25rem;
}

.service-extra-list li::before {
  content: "";

  position: absolute;
  top: 0.75em;
  left: 0;

  width: 0.55rem;
  height: 1px;

  background: var(--brown);
}

.empty-message {
  border: 1px solid rgba(243, 240, 231, 0.2);
  background: rgba(243, 240, 231, 0.05);
  padding: 2rem;
}

.form-field {
  width: 100%;
  border: 1px solid rgba(243, 240, 231, 0.28);
  background: rgba(243, 240, 231, 0.08);
  padding: 0.9rem 1rem;
  color: var(--cream);
  font-family: var(--font-display);
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.form-field:focus {
  border-color: rgba(184, 155, 111, 0.9);
  background: rgba(243, 240, 231, 0.12);
}

.form-field::placeholder {
  color: rgba(243, 240, 231, 0.55);
}

.privacy-check {
  display: flex;
  gap: 0.75rem;
  color: rgba(243, 240, 231, 0.7);
  font-family: var(--font-content);
  font-size: 0.875rem;
}

.privacy-check a {
  color: var(--brown);
  text-decoration: none;
  transition: color 0.25s ease;
}

.privacy-check a:hover {
  color: var(--cream);
}

.social-links a,
.footer-socials a {
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.footer-socials a {
  opacity: 0.8;
}

.social-links a {
  width: 44px;
  height: 44px;
}

.social-links img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.footer-socials a,
.footer-socials img {
  width: 28px;
  height: 28px;
}

.social-links a:hover,
.footer-socials a:hover {
  opacity: 1;
  transform: translateY(-8px);
}

.contact-footer {
  position: relative;
  z-index: 20;
}

.footer-top {
  border-color: var(--cream-faint);
}

.footer-links a {
  color: rgba(243, 240, 231, 0.62);
  font-family: var(--font-content);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: var(--brown);
  opacity: 1;
}

.footer-copy {
  max-width: 72rem;
  margin: 1rem auto 0;
  color: rgba(243, 240, 231, 0.45);
  font-family: var(--font-content);
  font-size: 0.75rem;
  text-align: center;
}

/* =========================================================
   PRIVACY NOTICE PANEL
   ========================================================= */

.privacy-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1100;

  display: grid;
  grid-template-columns:
    minmax(300px, 0.8fr)
    minmax(480px, 1.2fr);

  width: calc(100vw - clamp(64px, 6vw, 108px));
  height: 100dvh;

  overflow: hidden;

  border-left: 1px solid rgba(243, 240, 231, 0.14);
  background: var(--pine);
  color: var(--cream);
  box-shadow: -35px 0 80px rgba(11, 42, 30, 0.3);

  visibility: hidden;
  pointer-events: none;

  transform: translate3d(101%, 0, 0);
  will-change: transform;

  transition:
    transform 0.9s cubic-bezier(0.76, 0, 0.24, 1),
    visibility 0s linear 0.9s;
}

.privacy-panel.is-open {
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);

  transition:
    transform 0.9s cubic-bezier(0.76, 0, 0.24, 1),
    visibility 0s;
}

.privacy-panel-heading {
  display: flex;
  min-width: 0;
  min-height: 100dvh;
  align-items: center;
  padding: clamp(5rem, 9vw, 9rem) clamp(2rem, 5vw, 5rem);

  background: var(--sage);
  color: var(--forest);

  opacity: 0;
  transform: translateX(-70px);

  transition:
    opacity 0.65s ease,
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.privacy-panel-heading h2 {
  max-width: 34rem;
  margin: 0 0 1.5rem;

  color: var(--forest);

  font-family: var(--font-content);
  font-size: clamp(3rem, 5.5vw, 6.5rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.privacy-panel-heading > div > p:last-child {
  max-width: 30rem;
  margin: 0;

  color: var(--dark-soft);

  font-family: var(--font-content);
  font-size: 1rem;
  line-height: 1.75;
}

.privacy-panel-content {
  height: 100dvh;
  padding: clamp(5rem, 8vw, 8rem) clamp(2rem, 6vw, 7rem);

  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-behavior: smooth;

  opacity: 0;
  transform: translateX(70px);

  transition:
    opacity 0.65s ease,
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.privacy-panel.is-open .privacy-panel-heading {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.28s;
}

.privacy-panel.is-open .privacy-panel-content {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.4s;
}

.privacy-updated {
  margin: 0 0 2.5rem;

  color: var(--brown);

  font-family: var(--font-content);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.privacy-panel-content section {
  max-width: 44rem;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(243, 240, 231, 0.14);
}

.privacy-panel-content h3 {
  margin: 0 0 0.85rem;

  color: rgba(243, 240, 231, 0.98);

  font-family: var(--font-content);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.privacy-panel-content p {
  margin: 0;

  color: var(--cream-soft);

  font-family: var(--font-content);
  font-size: 1rem;
  line-height: 1.8;
}

.privacy-panel-content a {
  color: var(--brown);
  font-weight: 600;
  text-underline-offset: 0.2em;
}

.privacy-back {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;

  margin-top: 1.5rem;
  padding: 0.85rem 1.6rem;

  border: 1px solid var(--cream);
  border-radius: 999px;

  background: var(--cream);
  color: var(--pine);

  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  cursor: pointer;

  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.privacy-back:hover,
.privacy-back:focus-visible {
  background: transparent;
  color: var(--cream);
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: clip;
  }

  img,
  video {
    max-width: 100%;
  }

  .stack-section {
    position: sticky !important;
    top: 0 !important;
    width: 100%;
    height: auto !important;
    min-height: 100svh !important;
    overflow: visible !important;
    box-shadow: 0 -28px 55px rgba(11, 42, 30, 0.18);
  }

  #banner {
    position: sticky !important;
    top: 0 !important;
    z-index: 1;
    width: 100%;
    height: 100svh !important;
    min-height: 700px !important;
    overflow: hidden !important;
    isolation: isolate;
    background-color: var(--cream);
  }

  #about {
    z-index: 2;
    min-height: 115svh !important;
    background: var(--cream);
  }

  #projects {
    position: relative;
    z-index: 3;
  }

  .section-inner {
    width: 100%;
    min-height: 100svh !important;
    justify-content: flex-start;
    padding: 2.25rem 1.25rem 3.75rem;
  }

  #banner::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 75;
    height: 92px;
    border-bottom: 1px solid rgba(17, 63, 45, 0.1);
    background: rgba(243, 240, 231, 0.96);
    backdrop-filter: blur(10px);
  }

  .banner-logo {
    position: absolute;
    top: 7px;
    left: 50%;
    z-index: 90;
    transform: translateX(-50%);
  }

  .banner-logo img {
    display: block;
    width: 410px;
    max-width: none;
    height: auto;
  }

  .dropdown.md\:hidden {
    top: 0;
    right: 0;
  }

  .menu-btn {
    position: absolute;
    top: 16px;
    right: 1rem;
    z-index: 130;
    width: 52px;
    height: 52px;
    border-color: rgba(17, 63, 45, 0.22);
    background: rgba(243, 240, 231, 0.98);
    box-shadow: 0 6px 20px rgba(17, 63, 45, 0.06);
  }

  .menu-icon,
  .menu-icon::before,
  .menu-icon::after {
    width: 27px;
  }

  .menu-icon::before {
    transform: translateY(-8px);
  }

  .menu-icon::after {
    transform: translateY(8px);
  }

  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 120;
    width: 100%;
    height: 100dvh;
    padding: 7.5rem 1.5rem 2rem;
    border: 0;
    background: rgba(243, 240, 231, 0.995);
    box-shadow: none;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform 0.4s ease, opacity 0.25s ease;
  }

  .dropdown.open .mobile-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  html:has(.dropdown.open .mobile-menu),
  body:has(.dropdown.open .mobile-menu) {
    overflow: hidden;
  }

  .mobile-menu .dropdown-line {
    margin-bottom: 1.25rem;
  }

  .mobile-menu a {
    display: flex;
    min-height: 68px;
    align-items: center;
    padding: 1rem 0.25rem;
    border-bottom: 1px solid rgba(17, 63, 45, 0.1);
    color: var(--forest);
    font-family: var(--font-content);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-transform: none;
  }

  .mobile-menu a:hover,
  .mobile-menu a:active {
    color: var(--brown);
  }

  .banner {
    background-image:
      linear-gradient(
        180deg,
        rgba(243, 240, 231, 0.06) 0%,
        rgba(243, 240, 231, 0.02) 48%,
        rgba(243, 240, 231, 0) 100%
      ),
      url("Elements/banner_images/mobile_background.png");
    background-position: center, center bottom;
    background-size: cover, cover;
    background-repeat: no-repeat;
  }

  .banner::after {
    content: "";
    position: absolute;
    top: 7rem;
    left: 50%;
    z-index: 2;
    width: min(94vw, 470px);
    height: min(52svh, 485px);
    background-image: url("Elements/banner_images/stag-silhoutte.png");
    background-position: center top;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.11;
    pointer-events: none;
    transform: translateX(-50%);
  }

  .hero-content {
    position: relative;
    z-index: 20;
    display: flex;
    width: 100%;
    min-height: 100svh;
    align-items: center;
    justify-content: center;
    padding: 8rem 1.25rem 4rem;
    transform: none !important;
  }

  .hero-text-wrap {
    position: relative;
    z-index: 20;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
    transform: translateY(1.5rem) !important;
  }

  .banner h1 {
    width: 100%;
    margin: 0;
    padding: 0;
    background: none;
    color: var(--forest);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(4.4rem, 20vw, 6rem);
    font-weight: 500;
    line-height: 0.72;
    letter-spacing: -0.045em;
    text-align: center;
    text-transform: uppercase;
    -webkit-text-fill-color: var(--forest);
    filter: none;
  }

  .hero-intro {
    position: relative;
    z-index: 30;
    width: 100%;
    max-width: 330px;
    margin: 1.75rem auto 0;
    text-align: center;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .hero-intro p {
    width: 100%;
    max-width: 310px;
    margin: 0 auto;
    color: rgba(17, 63, 45, 0.88);
    font-family: var(--font-content);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.55;
    letter-spacing: -0.015em;
    text-align: center;
    text-transform: none;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  .hero-intro .main-btn {
    min-width: 155px;
    min-height: 50px;
    margin-top: 1.4rem;
    padding: 0.85rem 1.6rem;
    border-width: 1.5px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
  }

  .title-reveal {
    display: block;
    width: 100%;
    margin-bottom: 1.6rem;
  }

  .title-line {
    width: 100%;
    height: 2px;
    margin-bottom: 0.8rem;
  }

  .title-reveal h2 {
    width: 100%;
    padding: 0;
    font-size: clamp(3.5rem, 16vw, 5rem);
    line-height: 0.88;
    letter-spacing: -0.075em;
    white-space: normal;
  }

  .section-intro h3,
  .contact-copy h3 {
    font-size: clamp(2rem, 8vw, 2.6rem);
    line-height: 1.08;
  }

  .about-content h3 {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
    line-height: 1.12;
  }

  .section-label {
    margin-bottom: 0.75rem;
    font-size: 0.72rem;
    line-height: 1.45;
    letter-spacing: 0.18em;
  }

  .about-content p:not(.section-label),
  .project-info p:not(.section-label),
  .contact-copy p,
  .empty-message p {
    font-size: 1rem;
    line-height: 1.7;
  }

  #about {
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  #about .section-inner {
    min-height: 0 !important;
    padding: 2.25rem 1rem 3.5rem;
  }

  #about .title-reveal {
    margin-bottom: 1.5rem;
  }

  .about-image {
    width: 78%;
    max-width: 310px;
    margin: 0 auto;
    background: transparent;
    box-shadow: none;

    opacity: 1 !important;
    transform: none !important;
  }

  .about-image img {
    display: block;
    width: 100%;
    height: clamp(260px, 85vw, 340px);
    object-fit: cover;
    object-position: center 28%;
    border-radius: 2px;
  }

  .about-content {
    position: relative;
    z-index: 10;
    width: 100%;
    margin: -1.25rem auto 0;
    padding: 1.5rem 1.35rem;
    border: 1px solid rgba(17, 63, 45, 0.06);
    background: rgba(243, 240, 231, 0.97);
    box-shadow: 0 16px 40px rgba(17, 63, 45, 0.1);

    opacity: 1 !important;
    transform: none !important;
  }

  .projects-section {
    position: relative;
    z-index: 3;
    width: 100%;
    min-height: 100svh;
    overflow: hidden;
    background: var(--forest);
    box-shadow: 0 -35px 65px rgba(11, 42, 30, 0.25);
  }

  .projects-section > div {
    padding: 2.5rem 1rem 4.5rem;
  }

  .projects-section .section-intro {
    margin-bottom: 2.5rem;
  }

  .project-list {
    gap: 2.75rem;
  }

  .project-card {
    position: relative;
    width: 100%;
    padding: 1.25rem 0;
    gap: 0;
    border-top: 1px solid rgba(184, 155, 111, 0.18);
    border-bottom: 1px solid rgba(184, 155, 111, 0.18);
    opacity: 0.5;
    filter: grayscale(0.55) saturate(0.65);
    transform: scale(0.965);

    transition:
      opacity 0.5s ease,
      filter 0.5s ease,
      transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.5s ease;
  }

  .mobile-date {
    margin-bottom: 0.85rem;
  }

  .project-media {
    display: block;
    width: 100%;
    height: auto !important;
    aspect-ratio: 16 / 9;
    margin: 0;
    overflow: hidden;
    background: transparent;
    line-height: 0;
    box-shadow: 0 16px 35px rgba(11, 42, 30, 0.18);
  }

  .project-preview,
  .project-media video,
  .project-media img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    opacity: 0.68;
    filter: grayscale(0.45) saturate(0.7);

    transition:
      opacity 0.5s ease,
      filter 0.5s ease,
      transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .project-info {
    padding-top: 1.25rem;
  }

  .project-info h3 {
    margin-bottom: 1rem;
    font-size: 2rem;
    line-height: 1.05;
  }

  .project-card.is-mobile-active {
    opacity: 1;
    filter: grayscale(0) saturate(1);
    transform: scale(1);
    border-top-color: var(--brown);
    border-bottom-color: var(--brown);
  }

  .project-card.is-mobile-active .project-preview,
  .project-card.is-mobile-active .project-media video,
  .project-card.is-mobile-active .project-media img {
    opacity: 1;
    filter: grayscale(0) saturate(1);
    transform: scale(1.025);
  }

  /* ---------- MOBILE SERVICES ---------- */

  #services {
    position: relative !important;
    z-index: 4;
    width: 100%;
    height: auto !important;
    min-height: 100svh !important;
    overflow: visible !important;
    isolation: isolate;
    background: var(--sage);
    box-shadow: 0 -28px 55px rgba(11, 42, 30, 0.18);
  }

  #services .section-inner {
    height: auto !important;
    min-height: 100svh !important;
    justify-content: flex-start;
    padding: 2.25rem 1rem 2.75rem;
  }

  #services .title-reveal h2 {
    font-size: clamp(3.5rem, 16vw, 5rem);
  }

  #services .title-reveal,
  #services .section-intro {
    margin-bottom: 1rem;
  }

  #services .section-intro .section-label {
    margin-bottom: 0.45rem;
  }

  #services .section-intro h3 {
    margin-bottom: 0;
    font-size: clamp(1.75rem, 7.5vw, 2.35rem);
    line-height: 1.08;
  }

  .services-stage {
    display: block;
    flex: none;
    height: auto;
    margin-top: 0.25rem;
  }

  .services-track {
    --mobile-card-width: clamp(260px, 78vw, 315px);
    height: clamp(395px, 57svh, 425px);
    padding: 0.25rem calc((100% - var(--mobile-card-width)) / 2) 0.75rem;
    scroll-padding-inline: calc((100% - var(--mobile-card-width)) / 2);
    scroll-snap-type: x mandatory;
  }

  .service-card {
    flex: 0 0 var(--mobile-card-width);
    align-self: stretch;
    width: var(--mobile-card-width);
    height: 100%;
    max-width: none;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .service-card:focus-within {
    transform: none;
  }

  .service-image {
    flex: 0 0 49%;
    padding: 0.65rem 1rem 0;
  }

  .service-image img {
    width: clamp(155px, 44vw, 180px);
    height: clamp(155px, 44vw, 180px);
    opacity: 1;
  }

  .service-card:focus-within .service-image img {
    transform: scale(1.05);
  }

  .service-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
    padding: 0.35rem 1.1rem 1rem;
  }

  .service-number {
    margin: 0 0 0.4rem;
  }

  .service-card h3 {
    font-size: 1.12rem;
  }

  .service-summary {
    margin: 0.55rem 0 0.7rem;
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .service-more {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding-bottom: 0;
  }

  .services-drag-hint {
    top: 0.55rem;
    right: 0.55rem;
    width: 56px;
    height: 44px;
  }

  .services-drag-hint svg {
    width: 38px;
    height: 29px;
  }

  .service-details {
    display: block;
    width: 100vw;
  }

  .service-details-image {
    min-height: 36svh;
    height: auto;
    padding: 4rem 1.5rem 1.5rem;
    transform: translateX(-35px);
  }

  .service-details-image img {
    width: 150px;
    height: auto;
  }

  .service-details-content {
    padding: 3rem 1.5rem 4rem;
    transform: translateX(35px);
  }

  .service-details-content h3 {
    margin-bottom: 1.5rem;
    padding: 0;
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .service-extra-subtitle {
    margin-bottom: 1rem;
    font-size: clamp(1.2rem, 5.5vw, 1.6rem);
  }

  .service-extra-label {
    margin-top: 1.75rem;
  }

  #serviceDetailsBody {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .service-close,
  .privacy-close {
    top: 0.75rem;
    left: 0.75rem;
  }

  .privacy-panel {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    width: 100vw;
  }

  .privacy-panel-heading {
    min-height: 225px;
    padding: 4.75rem 1.25rem 2rem;
    transform: translateX(-35px);
  }

  .privacy-panel-heading h2 {
    margin-bottom: 0.85rem;
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  .privacy-panel-heading > div > p:last-child {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .privacy-panel-content {
    height: auto;
    min-height: 0;
    padding: 2.25rem 1.25rem 3.5rem;
    transform: translateX(35px);
  }

  .privacy-panel-content section {
    padding: 1.4rem 0;
  }

  .privacy-panel-content h3 {
    font-size: 1.3rem;
  }

  .privacy-panel-content p {
    font-size: 0.94rem;
    line-height: 1.7;
  }

  .privacy-back {
    width: 100%;
  }

  /* ---------- REDUCED MOTION ---------- */

  @media (prefers-reduced-motion: reduce) {

    .services-drag-hint {
      animation: none;
    }

    .service-card,
    .service-card::before,
    .service-image img,
    .service-more,
    .service-details,
    .service-close,
    .privacy-panel,
    .privacy-panel-heading,
    .privacy-panel-content,
    .privacy-close,
    .privacy-back {
      transition: none;
    }
  }

  .project-list.is-hovering .project-card,
  .project-list.is-hovering .project-card.is-active {
    filter: inherit;
  }

  #contact {
    position: sticky !important;
    top: 0 !important;
    z-index: 5;
    display: block !important;
    width: 100%;
    height: auto !important;
    min-height: 100svh !important;
    overflow: visible !important;
    background: var(--pine);
    box-shadow: 0 -30px 65px rgba(11, 42, 30, 0.28);
  }

  .contact-main {
    display: block;
    padding: 2.5rem 1.25rem 3.5rem;
  }

  .contact-main .title-reveal {
    margin-bottom: 1.75rem;
  }

  .contact-main > div {
    margin-top: 0;
  }

  .contact-copy {
    margin-bottom: 2.5rem;
  }

  .contact-copy p {
    max-width: none;
  }

  .social-links {
    gap: 0.75rem;
  }

  .social-links a,
  .social-links img {
    width: 50px;
    height: 50px;
  }

  .contact-form {
    width: 100%;
    gap: 0.9rem;
  }

  .form-field {
    width: 100%;
    min-height: 56px;
    padding: 1rem 1.05rem;
    font-size: 1rem;
  }

  textarea.form-field {
    min-height: 175px;
    resize: vertical;
  }

  .privacy-check {
    align-items: flex-start;
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .submit-btn {
    width: 100%;
    min-height: 54px;
    margin-top: 0.5rem;
    padding: 0.9rem 1.25rem;
    font-size: 0.74rem;
  }

  .contact-footer {
    width: 100%;
    padding: 0 1.25rem 1.75rem;
    text-align: center;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding-top: 2rem;
  }

  .footer-top > img {
    width: 200px;
    max-width: none;
  }

  .footer-links {
    justify-content: center;
    gap: 0.9rem 1.25rem;
  }

  .footer-links a {
    font-size: 0.92rem;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-copy {
    margin-top: 1.5rem;
    font-size: 0.78rem;
    line-height: 1.5;
  }

  .reveal-left,
  .reveal-right {
    --reveal-x: 0;
    --reveal-y: 28px;
  }

}

@media (max-width: 380px) {
  .banner-logo img {
    width: 350px;
  }

  #banner {
    min-height: 680px !important;
  }

  .banner::after {
    top: 6.75rem;
    width: 96vw;
    height: 47svh;
  }

  .hero-content {
    padding-top: 9rem;
  }

  .hero-text-wrap {
    transform: translateY(2rem) !important;
  }

  .banner h1 {
    font-size: clamp(3.45rem, 17vw, 4.3rem);
  }

  .hero-intro {
    max-width: 290px;
  }

  .hero-intro p {
    max-width: 290px;
    font-size: 0.86rem;
  }

  .title-reveal h2 {
    font-size: clamp(3.2rem, 15vw, 4.3rem);
  }

  .section-inner,
  #services .section-inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .projects-section > div {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
}

@media (max-width: 767px) and (max-height: 740px) {
  #banner {
    min-height: 660px !important;
  }

  .banner::after {
    top: 6.4rem;
    height: 43svh;
  }

  .hero-content {
    padding-top: 8rem;
    padding-bottom: 2.5rem;
  }

  .hero-text-wrap {
    transform: translateY(1.25rem) !important;
  }

  .hero-intro {
    margin-top: 1rem;
  }

  .hero-intro .main-btn {
    margin-top: 1rem;
  }
}

@media (min-width: 1600px) and (max-width: 1919px) {

  .banner h1 {
    font-size: 16.5vw;
  }

  .title-reveal h2 {
    font-size: clamp(7rem, 9vw, 9rem);
  }

  .section-inner {
    padding-left: 5rem;
    padding-right: 5rem;
  }

  .about-image {
    height: 500px;
  }
}

@media (min-width: 1920px) {

  .banner h1 {
    font-size: 17vw;
  }

  .title-reveal h2 {
    font-size: clamp(8rem, 9vw, 10rem);
  }
}

@media (min-width: 768px) and (max-height: 800px) {

  .banner h1 {
    margin-top: 5rem;
  }
  .title-reveal {
    margin-bottom: 1.25rem;
  }
  .title-reveal h2 {
    font-size: clamp(4.5rem, 7vw, 6rem);
  }
  .section-inner {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
  .section-intro {
    margin-bottom: 1rem;
  }
  .about-image {
    height: 350px;
  }
  .about-content {
    padding: 1.5rem;
  }
  .about-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  .about-content p:not(.section-label) {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  .service-card {
    padding: 0.9rem 1rem;
  }
  .service-card h3 {
    margin-bottom: 0.5rem;
  }
  .service-card p:not(.section-label) {
    font-size: 0.8rem;
    line-height: 1.45;
  }
  .contact-main {
    padding-top: 2.5rem;
    padding-bottom: 1.5rem;
  }
  .form-field {
    padding: 0.7rem 0.85rem;
  }
}
