.analytics-preferences {
  min-width: 0;
  max-width: 330px;
  color: var(--green);
  font-size: 0.75rem;
}

.analytics-preferences button {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: var(--cream);
  color: var(--green);
  font: inherit;
  cursor: pointer;
}

.analytics-preferences .analytics-preferences__toggle {
  padding-inline: 0;
  border: 0;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.analytics-preferences__options {
  margin-top: 6px;
  padding: 12px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: var(--cream);
}

.analytics-preferences__options p { margin: 0 0 8px; }
.analytics-preferences__options p:empty { display: none; }

@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: block;
}

@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: block;
}

@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: block;
}

@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: block;
}

:root {
  --cream: #f7f6f0;
  --cream-bright: #f7f6f0;
  --green: #0e352e;
  --burgundy: #77050d;
  --red: #77050d;
  --line-dark: rgba(14, 53, 46, 0.24);
  --line-light: rgba(247, 246, 240, 0.25);
}

* { box-sizing: border-box; }
html, body { max-width: 100%; }
html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

html:has(body.contact-page) {
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.site-end,
main > section {
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--green);
  font-family: "Poppins", sans-serif;
  font-synthesis: none;
}

body.is-loading { overflow: hidden; }
.skip-loader body.is-loading { overflow: auto; }
.skip-loader .site-loader { display: none; }
body.panel-is-open { overflow: hidden; }
body.page-is-locked { position: fixed; right: 0; left: 0; width: 100%; overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

.icon {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 900;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 22px 30px;
  color: var(--cream-bright);
  background: linear-gradient(180deg, rgba(5, 12, 12, 0.42), transparent);
  pointer-events: none;
}

.site-header a { pointer-events: auto; text-decoration: none; }

.site-header__logo { justify-self: start; width: 116px; }
.site-header__logo img { width: 100%; }

.site-header__contact {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: opacity 180ms ease;
}

.site-header__contact:hover { opacity: 0.62; }

.site-header__contact {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.site-header__contact .icon { width: 1.05rem; height: 1.05rem; }

.site-header--contact { background: linear-gradient(180deg, rgba(14, 53, 46, 0.86), transparent); }

.contact-page {
  min-height: 100vh;
  background: var(--green);
  color: var(--cream-bright);
}

.contact-main { min-height: 100vh; }

.contact-hero {
  min-height: calc(100vh - 118px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 150px 30px 90px;
}

.contact-hero__label,
.contact-details span {
  color: var(--cream-bright);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-hero__label {
  padding: 16px 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.contact-hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.5fr);
  align-items: end;
  gap: 8vw;
  padding-top: clamp(70px, 12vh, 150px);
}

.contact-hero h1 {
  max-width: 9ch;
  margin: 0;
  font-size: clamp(4.2rem, 9.5vw, 10rem);
  font-weight: 500;
  line-height: 0.86;
  letter-spacing: -0.07em;
}

.contact-hero h1 em {
  color: var(--burgundy);
  font-style: normal;
}

.contact-hero__side {
  max-width: 280px;
  padding-bottom: 0.8em;
}

.contact-hero__side p {
  margin: 0 0 36px;
  font-size: 1rem;
  line-height: 1.45;
}

.contact-hero__mail,
.contact-details a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--cream-bright);
  color: var(--cream-bright);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.contact-hero__mail span,
.contact-details a span { font-size: 1rem; }

.contact-details {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: 28px 30px 24px;
  border-top: 1px solid var(--line-light);
}

.contact-details p {
  margin: 14px 0 0;
  font-size: 0.78rem;
  line-height: 1.55;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 700px) {
  .contact-hero { padding: 130px 20px 70px; }
  .contact-hero__content { display: block; padding-top: 70px; }
  .contact-hero h1 { max-width: 8ch; font-size: clamp(3.7rem, 15vw, 6rem); }
  .contact-hero__side { margin-top: 64px; }
  .contact-details { align-items: flex-start; flex-direction: column; padding: 24px 20px; }
}

/* Contact form hierarchy: three compact fields, then one full-width message. */
.contact-main { padding-bottom: 96px; }
.contact-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.contact-form__message { grid-column: 1 / -1; grid-row: auto; min-height: 220px !important; }
.contact-form__submit {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 880;
  width: 100%;
  justify-content: center;
  margin: 0;
  padding: 20px 28px;
  border-radius: 0;
  background: var(--cream-bright);
  color: var(--cream);
}
.contact-form__submit span { background: var(--cream); color: var(--burgundy); }
.contact-form__submit { transition: background-color 220ms ease, color 220ms ease; }
.contact-form__submit span { transition: transform 220ms ease, background-color 220ms ease, color 220ms ease; }
.contact-form__submit:hover { background: var(--green); color: var(--cream); }
.contact-form__submit:hover span { background: var(--cream); color: var(--green); transform: translate(2px, -2px) rotate(45deg); }

.contact-form__submit {
  border: 0;
  font: inherit;
  cursor: pointer;
}
.contact-form__submit-label {
  display: inline;
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: inherit !important;
  transform: none !important;
}
.contact-form__submit:disabled { cursor: wait; opacity: 0.76; }
.contact-form__status {
  position: fixed;
  right: 24px;
  bottom: calc(76px + env(safe-area-inset-bottom));
  z-index: 881;
  max-width: min(430px, calc(100vw - 40px));
  margin: 0;
  padding: 11px 15px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}
.contact-form__status:not(:empty) { opacity: 1; transform: translateY(0); }
.contact-form__status.is-error { background: var(--burgundy); color: var(--cream); }
.contact-form__trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  border: 0 !important;
}

.service { cursor: pointer; }
.service:focus-visible { outline: none; }
.keyboard-navigation .service:focus-visible { outline: 2px solid var(--cream-bright); outline-offset: -4px; }

.service-panel {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: flex;
  flex-direction: column;
  overflow: auto;
  background: var(--cream);
  color: var(--green);
  transform: translateY(100%);
  transition: transform 700ms cubic-bezier(0.76, 0, 0.24, 1);
}

.service-panel.is-open { transform: translateY(0); }
.service-panel__bar { display: flex; justify-content: space-between; align-items: center; padding: 24px 30px; border-bottom: 1px solid var(--line-dark); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.service-panel__close { display: inline-flex; align-items: center; justify-content: flex-end; gap: 10px; border: 0; background: transparent; color: inherit; cursor: pointer; font: inherit; font-size: 0.72rem; letter-spacing: inherit; text-transform: inherit; }
.service-panel__close .icon { width: 1.25rem; height: 1.25rem; }
.service-panel__body { display: grid; grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 8vw, 140px); padding: clamp(42px, 7vw, 92px) 30px 80px; }
.service-panel__body--text-only { grid-template-columns: minmax(0, 760px); }
.service-panel__copy h2 { max-width: 8ch; margin: 0 0 48px; font-size: clamp(3.7rem, 7vw, 8rem); font-weight: 500; line-height: 0.84; letter-spacing: -0.07em; }
.service-panel__copy h2 em { color: var(--burgundy); font-style: normal; }
.service-panel__copy dl { margin: 0; }
.service-panel__copy dt { margin-top: 28px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; }
.service-panel__copy dd { max-width: 34ch; margin: 9px 0 0; font-size: 1rem; line-height: 1.42; }
.service-panel__summary { max-width: 42ch; margin: 48px 0 0; color: var(--burgundy); font-size: 1.15rem; line-height: 1.35; }
.service-panel__projects { display: flex; flex-direction: column; gap: 24px; }
.project-card { position: relative; display: grid; min-height: clamp(350px, 35vw, 450px); overflow: hidden; border: 1.5px solid var(--green); padding: clamp(24px, 2.5vw, 34px); background: var(--cream); color: var(--green); text-align: left; grid-template-rows: auto minmax(0, 1fr) auto; }
.project-card--interactive { cursor: pointer; }
.project-card--logo-only { min-height: clamp(190px, 20vw, 250px); grid-template-rows: 1fr; }
.project-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.project-card__head > span { display: grid; gap: 12px; }
.project-card__head i { display: block; width: 54px; height: 3px; background: var(--burgundy); }
.project-card__head b { width: 16px; height: 16px; background: var(--green); }
.project-card__brand { display: grid; min-height: 0; place-items: center; padding: 20px 8%; }
.project-card__brand img { width: auto; max-width: min(75%, 440px); max-height: 104px; object-fit: contain; filter: brightness(0) saturate(100%) invert(19%) sepia(17%) saturate(1400%) hue-rotate(127deg) brightness(87%) contrast(94%); transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1); }
.project-card--logo-only .project-card__brand { padding: 14px 8%; }
.project-card--logo-only .project-card__brand img { max-width: min(80%, 480px); max-height: 112px; }
.project-card__meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding-top: clamp(18px, 2vw, 25px); border-top: 1px solid currentColor; }
.project-card__meta > span { display: grid; gap: 7px; }
.project-card__meta strong { font-size: clamp(1.45rem, 2.4vw, 2.5rem); font-weight: 600; line-height: 1; }
.project-card__meta small { font-size: clamp(0.88rem, 1.2vw, 1.08rem); font-weight: 400; letter-spacing: 0; text-transform: none; }
.project-card__meta > i { color: var(--burgundy); font-size: clamp(2rem, 3.5vw, 3.7rem); font-style: normal; line-height: 0.8; transition: transform 260ms ease; }
.project-card__open { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; }
.project-card__open .icon { width: 34px; height: 34px; }
.project-card--interactive:hover .project-card__brand img { transform: scale(1.035); }
.project-card--interactive:hover .project-card__meta > i { transform: translate(4px, -4px); }
.project-card--interactive:focus-visible { outline: 3px solid var(--burgundy); outline-offset: 4px; }

.project-lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 8vw; background: rgba(14, 53, 46, 0.94); opacity: 0; pointer-events: none; transition: opacity 260ms ease; }
.project-lightbox.is-open { opacity: 1; pointer-events: auto; }
.project-lightbox video,
.project-lightbox img { width: min(1400px, 100%); max-height: 82vh; object-fit: contain; }
.project-lightbox img { display: none; }
.project-lightbox.is-image video { display: none; }
.project-lightbox.is-image img { display: block; }
.project-lightbox > button { position: absolute; top: 20px; right: 24px; width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(247, 246, 240, 0.45); border-radius: 50%; background: rgba(14, 53, 46, 0.28); color: var(--cream); cursor: pointer; }
.project-lightbox > button .icon { width: 22px; height: 22px; }

@media (max-width: 700px) {
  .service-panel__bar { padding: 18px 20px; }
  .service-panel__body { display: block; padding: 42px 20px 70px; }
  .service-panel__copy h2 { margin-bottom: 36px; font-size: clamp(3.8rem, 16vw, 6rem); }
  .service-panel__projects { margin-top: 58px; }
  .project-card { min-height: 330px; padding: 20px 18px; }
  .project-card--logo-only { min-height: 180px; }
  .project-card__head { font-size: 0.66rem; letter-spacing: 0.15em; }
  .project-card__head > span { gap: 10px; }
  .project-card__head i { width: 44px; }
  .project-card__head b { width: 13px; height: 13px; }
  .project-card__brand { min-height: 0; padding: 14px 7%; }
  .project-card__brand img { max-width: 80%; max-height: 76px; }
  .project-card--logo-only .project-card__brand img { max-width: 86%; max-height: 86px; }
  .project-card__meta { padding-top: 17px; }
  .project-card__meta strong { font-size: clamp(1.35rem, 7vw, 1.8rem); }
  .project-card__meta small { max-width: 28ch; font-size: 0.9rem; line-height: 1.35; }
  .project-card__meta > i { font-size: 2.4rem; }
  .project-lightbox { padding: 20px; }
}

@media (max-width: 700px) {
  .contact-main { padding-bottom: 90px; }
  .contact-form { display: flex; flex-direction: column; }
  .contact-form__message { min-height: 180px !important; }
  .contact-form__submit { align-self: auto; }
}

/* Mobile quality pass: layout, touch targets and iOS viewport behavior. */
@media (max-width: 700px) {
  html { scroll-snap-type: y proximity; }
  body { min-width: 0; }

  .site-header {
    padding-top: calc(13px + env(safe-area-inset-top));
    padding-right: max(18px, env(safe-area-inset-right));
    padding-left: max(18px, env(safe-area-inset-left));
  }
  .site-header__logo { display: flex; align-items: center; min-height: 44px; }
  .site-header__contact { gap: 8px; }

  .hero {
    height: 100svh;
    min-height: 100svh;
    max-height: 100dvh;
  }
  .hero__identity { margin-top: env(safe-area-inset-top); }
  .scroll-cue {
    right: max(18px, env(safe-area-inset-right));
    bottom: max(18px, calc(env(safe-area-inset-bottom) + 10px));
  }

  .section-label {
    justify-content: flex-start;
    gap: 14px;
    min-height: 54px;
    padding: 13px 0;
    font-size: 0.69rem;
    line-height: 1.3;
  }
  .section-label > span:first-child { flex: 0 0 auto; }

  .next-experience__content { gap: 0; }
  .next-experience h1 {
    width: 100%;
    max-width: 10.8em;
    font-size: clamp(2rem, 8.9vw, 2.75rem);
    line-height: 1.075;
    letter-spacing: -0.035em;
    text-wrap: pretty;
  }
  .next-experience__line + .next-experience__line { margin-top: 0.3em; }
  .next-experience h1 strong {
    margin-top: 0.34em;
    line-height: 1.02;
    letter-spacing: -0.04em;
    text-wrap: balance;
  }
  .talk-button { gap: 18px; }

  .service {
    width: 100%;
    min-height: 80px;
    padding: 0;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .service:hover { padding: 0; background: transparent; color: inherit; }
  .service:hover i { transform: none; }
  .service:active { padding: 0 8px; background: var(--cream-bright); color: var(--green); }
  .service:active i { transform: rotate(45deg); }
  .service__icon { width: 38px; min-width: 38px; }
  .service__icon .icon { width: 23px; height: 23px; }

  .service-panel {
    height: 100dvh;
    min-height: 100svh;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .service-panel__bar {
    padding-top: max(8px, env(safe-area-inset-top));
    padding-right: max(18px, env(safe-area-inset-right));
    padding-left: max(18px, env(safe-area-inset-left));
  }
  .service-panel__body {
    width: 100%;
    padding-right: 20px;
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
    padding-left: 20px;
  }
  .service-panel__copy h2 { overflow-wrap: normal; word-break: normal; }
  .project-card {
    width: 100%;
    min-height: clamp(270px, 78vw, 310px);
    padding: 18px 16px;
  }
  .project-card--logo-only { min-height: 156px; }
  .project-card__brand { padding: 12px 8%; }
  .project-card__brand img { max-height: 68px; }
  .project-card__head { line-height: 1.35; }
  .project-card__meta { gap: 10px; }
  .project-card__meta > span { min-width: 0; }
  .project-card__meta strong { line-height: 1.08; }
  .project-card__open { width: 44px; height: 44px; flex-basis: 44px; }
  .project-card__open .icon { width: 28px; height: 28px; }

  .project-lightbox {
    min-height: 100dvh;
    padding: calc(76px + env(safe-area-inset-top)) 16px calc(20px + env(safe-area-inset-bottom));
    overscroll-behavior: contain;
  }
  .project-lightbox video {
    width: 100%;
    max-height: calc(100dvh - 116px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  }
  .project-lightbox > button {
    top: max(14px, env(safe-area-inset-top));
    right: max(16px, env(safe-area-inset-right));
  }

  .client-logo { min-height: 126px; }
  .client-logo img { width: auto; height: auto; max-width: 158px; max-height: 56px; }
  .client-logo--aco img { max-width: 94px; }

  .site-footer__main { border-top: 0; }
  .site-footer__label { font-size: 0.67rem; }
  .site-footer__bottom p { font-size: 0.68rem; line-height: 1.5; }
  .site-footer__brand { max-width: 34ch; opacity: 0.58; }

  .contact-main {
    min-height: 100svh;
    padding-right: 20px;
    padding-left: 20px;
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
  }
  .contact-info { grid-template-columns: 1fr; gap: 24px; }
  .contact-info__mark { grid-column: auto; }
  .contact-workspace { padding-top: 56px; }
  .contact-workspace h1 {
    margin-bottom: 40px;
    font-size: clamp(3.1rem, 14.5vw, 4.5rem);
    line-height: 0.9;
  }
  .contact-form { gap: 10px; }
  .contact-form label { min-height: 112px !important; padding: 18px; border-radius: 22px; }
  .contact-form__message { min-height: 170px !important; }
  .contact-form__submit {
    min-height: calc(68px + env(safe-area-inset-bottom));
    padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
  }
  .contact-form__status {
    right: 20px;
    bottom: calc(78px + env(safe-area-inset-bottom));
    left: 20px;
    max-width: none;
    border-radius: 18px;
    text-align: center;
  }
}

/* Contact submit: only the arrow keeps the circular visual state. */
.contact-form__submit > .contact-form__submit-label,
.contact-form__submit:hover > .contact-form__submit-label {
  display: inline;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: inherit;
  transform: none;
}
.contact-form label.contact-form__trap {
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

@media (max-width: 350px) {
  .site-header { padding-right: 16px; padding-left: 16px; }
  .site-header__logo { width: 72px; }
  .site-header__contact { font-size: 0.61rem; letter-spacing: 0.1em; }
  .hero__identity { width: calc(100% - 36px); }
  .hero__descriptor { font-size: 0.7rem; }
  .next-experience,
  .services,
  .clients,
  .site-footer { padding-right: 16px; padding-left: 16px; }
  .next-experience h1 { max-width: 100%; font-size: 1.92rem; }
  .service { grid-template-columns: 30px minmax(0, 1fr) 34px; gap: 7px; }
  .service h3 { font-size: 1.12rem; }
  .client-grid { margin-right: -16px; margin-left: -16px; }
}

/* Submit button text stays typographic; only the arrow uses the circular state. */
.contact-form__submit > .contact-form__submit-label,
.contact-form__submit:hover > .contact-form__submit-label {
  display: inline;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: inherit;
  transform: none;
}
.contact-form label.contact-form__trap {
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .client-track { animation: none; }
  .service-panel { transition: none; }
}

/* Mobile-only editorial line breaks for the approach statement. */
@media (max-width: 700px) {
  .next-experience .next-experience__content h1 {
    max-width: 100%;
    font-size: clamp(1.55rem, 7vw, 1.8rem);
    line-height: 1.12;
  }

  .next-experience h1 .next-experience__line {
    display: block;
    margin: 0;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    white-space: nowrap;
  }

  .next-experience h1 strong.next-experience__line,
  .next-experience h1 .next-experience__line--mobile-accent {
    color: var(--burgundy);
  }

  .next-experience h1 .next-experience__line--new-group {
    margin-top: 0.42em;
  }
}

/* Contact submit: only the arrow keeps the circular visual state. */
.contact-form__submit > .contact-form__submit-label,
.contact-form__submit:hover > .contact-form__submit-label {
  display: inline;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: inherit;
  transform: none;
}
.contact-form label.contact-form__trap {
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.contact-page {
  min-height: 100vh;
  background: var(--cream);
  color: var(--green);
}

.contact-page .site-header--contact {
  color: var(--green);
  background: linear-gradient(180deg, rgba(247, 246, 240, 0.96), rgba(247, 246, 240, 0));
}

.contact-main { min-height: 100vh; padding: 118px 30px 0; }

.contact-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(48px, 8vw, 140px);
  min-height: calc(100vh - 118px);
  padding-bottom: 28px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-top: 38px;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.contact-info__mark { color: var(--burgundy); font-size: 1rem; }
.contact-info > div { display: flex; flex-direction: column; gap: 14px; }
.contact-info span:not(.contact-info__mark) { font-size: 0.67rem; font-weight: 600; letter-spacing: 0.14em; }
.contact-info p { margin: 0; line-height: 1.5; letter-spacing: 0.05em; }
.contact-info a { color: inherit; text-decoration: none; word-break: break-word; }
.contact-info a[href^="mailto:"] { text-transform: lowercase; }

.contact-workspace { padding-top: 30px; }
.contact-workspace h1 { margin: 0 0 72px; font-size: clamp(4rem, 8vw, 8.8rem); font-weight: 500; line-height: 0.82; letter-spacing: -0.07em; }
.contact-workspace h1 em { color: var(--burgundy); font-style: italic; font-weight: 400; }

.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.contact-form label { min-height: 132px; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; border: 1px solid rgba(14, 53, 46, 0.3); border-radius: 28px; }
.contact-form label span { color: rgba(14, 53, 46, 0.58); font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }
.contact-form input,
.contact-form textarea { width: 100%; border: 0; outline: 0; resize: vertical; background: transparent; color: var(--green); font: inherit; font-size: 1rem; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(14, 53, 46, 0.35); }
.contact-form__message { grid-row: span 2; min-height: 276px !important; }
.contact-form__submit { grid-column: 2; justify-self: end; display: inline-flex; align-items: center; gap: 18px; margin-top: 10px; padding: 16px 20px; border-radius: 999px; background: var(--green); color: var(--cream); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-decoration: none; text-transform: uppercase; }
.contact-form__submit span { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: var(--cream); color: var(--green); font-size: 1rem; }

@media (max-width: 700px) {
  .contact-main { padding: 100px 20px 0; }
  .contact-layout { display: block; min-height: auto; }
  .contact-info { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 20px; }
  .contact-info__mark { grid-column: 1 / -1; }
  .contact-workspace { padding-top: 72px; }
  .contact-workspace h1 { margin-bottom: 48px; font-size: clamp(3.6rem, 16vw, 6rem); }
  .contact-form { display: flex; flex-direction: column; }
  .contact-form label, .contact-form__message { min-height: 150px !important; }
  .contact-form__submit { align-self: flex-end; }
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  color: var(--burgundy);
  pointer-events: all;
}

.site-loader__content {
  position: relative;
  z-index: 2;
  width: min(42vw, 400px);
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(-82px);
  transition: opacity 260ms ease, transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.site-loader__brand {
  width: min(100%, 340px);
  height: auto;
  animation: loader-brand-arrive 720ms cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.site-loader__curtain {
  position: absolute;
  right: 0;
  left: 0;
  height: 50.1%;
  background: var(--cream);
  transform: scaleY(1);
  transition: transform 820ms cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}

.site-loader__curtain--top { top: 0; transform-origin: top; }
.site-loader__curtain--bottom { bottom: 0; transform-origin: bottom; }

.site-loader__status {
  position: fixed;
  right: 28px;
  bottom: calc(50% + 24px);
  z-index: 3;
  font-weight: 600;
  letter-spacing: 0.16em;
  transition: opacity 260ms ease, transform 260ms ease;
}

.site-loader__percent {
  min-width: 3ch;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 0.75;
  letter-spacing: -0.07em;
  text-align: right;
}

.site-loader__percent::after {
  content: "%";
  margin-left: 0.12em;
  font-size: 0.18em;
  letter-spacing: 0;
}

.site-loader__line {
  position: fixed;
  top: 50%;
  right: 0;
  left: 0;
  z-index: 3;
  width: auto;
  height: 5px;
  overflow: hidden;
  background: rgba(119, 5, 13, 0.12);
  transition: opacity 260ms ease;
}

.site-loader__line span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--red);
  box-shadow: 10px 0 30px rgba(119, 5, 13, 0.82);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 80ms linear;
}

.site-loader.is-complete { pointer-events: none; }

.site-loader.is-complete .site-loader__brand,
.site-loader.is-complete .site-loader__status,
.site-loader.is-complete .site-loader__line { opacity: 0; }

.site-loader.is-complete .site-loader__content { opacity: 0; transform: translateY(-82px) scale(0.96); }
.site-loader.is-complete .site-loader__status { transform: translateY(-12px); }
.site-loader.is-complete .site-loader__curtain { transform: scaleY(0); }
.site-loader.is-hidden { display: none; }

@keyframes loader-brand-arrive {
  from { opacity: 0; transform: translateY(14px) scale(0.975); filter: blur(5px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--burgundy);
  color: var(--cream-bright);
}

.hero__video, .hero__overlay, .grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__video {
  z-index: -3;
  object-fit: cover;
  object-position: center 48%;
  filter: saturate(0.82) contrast(1.06) brightness(0.9);
  transform: none;
}

.hero__overlay {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(6, 7, 8, 0.34), rgba(6, 7, 8, 0.03) 42%, rgba(6, 7, 8, 0.58)),
    linear-gradient(90deg, rgba(119, 5, 13, 0.3), transparent 52%, rgba(14, 53, 46, 0.2));
}

.grain {
  z-index: -1;
  opacity: 0.1;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.55) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.45) 0 1px, transparent 1px),
    radial-gradient(circle at 50% 70%, rgba(255, 255, 255, 0.5) 0 1px, transparent 1px);
  background-size: 24px 24px, 28px 28px, 18px 18px;
  mix-blend-mode: soft-light;
}

.hero__identity {
  width: min(82vw, 650px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  text-align: center;
}

.hero__logo {
  width: min(52vw, 590px);
  opacity: 0;
  clip-path: inset(52% 0 48% 0);
  transform: scale(1.08);
  filter: blur(12px) drop-shadow(0 20px 60px rgba(0, 0, 0, 0.25));
}

.hero__descriptor {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.72em;
  opacity: 0;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateY(18px);
}

.hero__descriptor-dot {
  position: relative;
  width: 0.68em;
  aspect-ratio: 1;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cream-bright);
  margin-bottom: 3px;
  box-shadow: 0 0 0 0 rgba(247, 246, 240, 0.78);
  animation: live-dot-pulse 2s ease-out infinite;
}

.hero__descriptor-dot::after {
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(247, 246, 240, 0.92);
  border-radius: 50%;
  content: "";
  animation: live-ring-pulse 2s ease-out infinite;
}

.hero__descriptor-dot::before {
  position: absolute;
  inset: 28%;
  border-radius: 50%;
  background: var(--burgundy);
  content: "";
}

@keyframes live-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(247, 246, 240, 0.78); }
  45% { box-shadow: 0 0 0 7px rgba(247, 246, 240, 0); }
}

@keyframes live-ring-pulse {
  0%, 100% { opacity: 0.9; transform: scale(0.82); }
  55% { opacity: 0; transform: scale(1.65); }
}

.scroll-cue {
  position: absolute;
  right: 28px;
  bottom: 26px;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  padding: 0;
  opacity: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(8, 11, 12, 0.15);
  color: white;
  backdrop-filter: blur(12px);
  cursor: pointer;
  transform: translateY(18px);
  transition: background-color 220ms ease, color 220ms ease;
}

.scroll-cue:hover { background: var(--cream-bright); color: var(--green); }

.scroll-cue svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  animation: arrow-drop 1.8s ease-in-out infinite;
}

body.is-entered .hero__logo {
  opacity: 1;
  clip-path: inset(0);
  transform: scale(1);
  filter: blur(0) drop-shadow(0 20px 60px rgba(0, 0, 0, 0.25));
  transition: opacity 220ms ease 180ms, clip-path 1100ms cubic-bezier(0.76, 0, 0.24, 1) 180ms, transform 1250ms cubic-bezier(0.16, 1, 0.3, 1) 180ms, filter 900ms ease 180ms;
}

body.is-entered .hero__descriptor {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 650ms ease 720ms, transform 760ms cubic-bezier(0.16, 1, 0.3, 1) 720ms;
}

body.is-entered .scroll-cue {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 650ms ease 920ms, transform 760ms cubic-bezier(0.16, 1, 0.3, 1) 920ms, background-color 220ms ease, color 220ms ease;
}

.next-experience, .services, .clients { padding: 34px 30px; }

.section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-label--light { border-color: var(--line-light); }

.next-experience {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
}

.next-experience__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(42px, 5vw, 68px);
  padding: 13vh clamp(2px, 4vw, 64px);
  text-align: left;
}

.next-experience h1 {
  max-width: 1160px;
  margin: 0;
  color: var(--green);
  font-size: clamp(2.8rem, 5vw, 5.8rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

.next-experience h1 strong {
  display: inline;
  margin: 0;
  color: var(--burgundy);
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

.talk-button {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 17px 22px 17px 26px;
  border-radius: 999px;
  background: var(--green);
  color: var(--cream-bright);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 220ms ease, transform 220ms ease;
}

.talk-button span {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cream-bright);
  color: var(--green);
  font-size: 1.15rem;
  transition: transform 260ms ease;
}

.talk-button span .icon { width: 19px; height: 19px; }

.talk-button:hover { background: var(--burgundy); transform: translateY(-3px); }
.talk-button:hover span { transform: rotate(45deg); }

.services {
  min-height: 100svh;
  background: var(--green);
  color: var(--cream-bright);
}

.services .section-label { border-color: var(--line-light); }

.services__title {
  margin: 0;
  padding: 10vh 0 5vh;
  font-size: clamp(3.4rem, 8vw, 9rem);
  font-weight: 500;
  line-height: 0.86;
  letter-spacing: -0.05em;
}

.services__list { border-top: 1px solid var(--line-light); }

.service {
  min-height: 120px;
  display: grid;
  grid-template-columns: 76px 1fr 48px;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line-light);
  transition: padding 320ms cubic-bezier(0.16, 1, 0.3, 1), background-color 220ms ease, color 220ms ease;
}

.service:hover { padding: 0 20px; background: var(--cream-bright); color: var(--green); }

.service > span { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; }

.service h3 {
  margin: 0;
  font-size: clamp(1.8rem, 4.4vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.service i { font-size: 1.6rem; font-style: normal; text-align: right; transition: transform 250ms ease; }
.service__icon { display: grid; min-width: 44px; min-height: 44px; place-items: center; justify-self: end; }
.service__icon .icon { width: 25px; height: 25px; }
.service:hover i { transform: rotate(45deg); }

.clients {
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: var(--burgundy);
  color: var(--cream-bright);
}

.clients__title {
  margin: 0;
  padding: 12vh 0;
  font-size: clamp(3.6rem, 8.4vw, 9.5rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.05em;
}

.clients__title em {
  color: var(--cream-bright);
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 500;
}

.client-grid {
  overflow: hidden;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.client-track {
  display: flex;
  width: max-content;
  animation: client-marquee 64s linear infinite;
  will-change: transform;
}

.client-logo {
  flex: 0 0 clamp(190px, 18vw, 280px);
  min-height: 178px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 34px;
  border-right: 1px solid var(--line-light);
}

.client-logo img {
  width: auto;
  max-width: 220px;
  max-height: 70px;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.86;
}

.client-logo--aco img {
  max-width: 110px;
}
.client-logo--optimus img { max-width: 190px; }
.client-logo--bim img {
  max-width: 150px;
}

@keyframes client-marquee {
  to { transform: translateX(-50%); }
}

.site-footer {
  padding: 0 30px;
  background: var(--cream);
  color: var(--green);
}

.site-footer__main {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  align-items: start;
  gap: clamp(36px, 6vw, 100px);
  padding: 70px 0 70px;
  border-top: 1px solid var(--line-dark);
}

.site-footer__identity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.site-footer__logo { width: min(210px, 34vw); }

.site-footer__column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.site-footer__label {
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.clients .site-footer__label { color: var(--burgundy); }

.site-footer p,
.site-footer a {
  margin: 0;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  line-height: 1.55;
  text-decoration: none;
  text-transform: uppercase;
}

.site-footer__column--contact a { text-transform: lowercase; }

.site-footer__column a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(14, 53, 46, 0.5);
  font-size: clamp(0.82rem, 1vw, 1rem);
  transition: border-color 200ms ease, color 200ms ease;
}

.site-footer__column a .icon { width: 1.15rem; height: 1.15rem; transition: transform 220ms ease; }

.site-footer__column a:hover {
  border-color: var(--red);
  color: var(--red);
}

.site-footer__column a:hover .icon { transform: translate(2px, -2px); }

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 18px 0 12px;
  border-top: 1px solid var(--line-dark);
}

.site-footer__bottom p {
  opacity: 0.62;
  font-size: 0.67rem;
}

.site-footer__brand {
  text-align: right;
  text-transform: none !important;
}

.reveal {
  opacity: 0;
  transform: translateY(52px);
  transition: opacity 700ms ease, transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes arrow-drop { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(4px); } }

@media (max-width: 1200px) {
  .client-grid { grid-template-columns: repeat(3, 1fr); }
  .client-logo,
  .client-logo--last-row-start { grid-column: auto; }
}

@media (max-width: 900px) {
  .next-experience, .services, .clients { padding-right: 20px; padding-left: 20px; }
  .hero__logo { width: min(70vw, 490px); }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__main { grid-template-columns: 1.2fr 1fr; }
  .site-footer__column--contact { grid-column: 2; }
}

@media (max-width: 600px) {
  .site-header { padding: 18px 20px; }
  .site-header__logo { width: 98px; }
  .site-header__contact { font-size: 0.62rem; }
  .site-loader__content { width: calc(100% - 88px); max-width: 320px; transform: translateY(-68px); }
  .site-loader__brand { width: min(100%, 260px); }
  .site-loader__status {
    top: calc(50% + 18px);
    right: 20px;
    bottom: auto;
  }
  .site-loader.is-complete .site-loader__content { transform: translateY(-68px) scale(0.96); }
  .hero__identity { width: calc(100% - 40px); gap: 18px; }
  .hero__logo { width: min(76vw, 390px); }
  .hero__descriptor { font-size: 0.85rem; letter-spacing: 0.1em; }
  .scroll-cue { right: 20px; bottom: 20px; width: 54px; height: 54px; }
  .next-experience { min-height: 80vh; }
  .next-experience__content { padding: 10vh 0; }
  .next-experience h1 { max-width: 100%; font-size: clamp(2.45rem, 10.6vw, 4rem); line-height: 1.08; letter-spacing: -0.035em; }
  .services { min-height: auto; padding-bottom: 70px; }
  .services__title { padding: 80px 0; font-size: clamp(3.6rem, 18vw, 5.3rem); line-height: 0.88; }
  .service { min-height: 92px; grid-template-columns: 40px 1fr 28px; gap: 12px; }
  .service h3 { font-size: 1.65rem; }
  .clients { min-height: 110vh; }
  .clients__title { padding: 80px 0; font-size: clamp(3rem, 14vw, 4.5rem); }
  .client-grid { grid-template-columns: 1fr; }
  .client-logo { min-height: 140px; }
  .site-footer { padding: 0 20px; }
  .site-footer__main { grid-template-columns: 1fr; gap: 42px; padding: 32px 0 54px; }
  .site-footer__column--contact { grid-column: auto; }
  .site-footer__logo { width: 165px; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
  .site-footer__brand { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__video, .scroll-cue svg { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Mobile composition: desktop presentation stays untouched above 700px. */
@media (max-width: 700px) {
  :root {
    --green: #0f3d3a;
    --burgundy: #6c151e;
    --red: #6c151e;
  }

  html { scroll-padding-top: 0; }
  body { overflow-x: clip; }

  .site-header {
    padding: 14px 18px;
    align-items: center;
  }
  .site-header__logo { width: 78px; }
  .site-header__contact {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 0 2px 0 12px;
    font-size: 0.66rem;
    letter-spacing: 0.12em;
  }

  .site-loader__content {
    width: min(64vw, 248px);
    transform: translateY(-46px);
  }
  .site-loader__brand { width: 100%; }

  .hero {
    min-height: 100svh;
    background: var(--green);
  }
  .hero__video {
    object-position: 58% center;
    opacity: 0;
    transition: opacity 700ms ease;
  }
  .hero__video.is-ready { opacity: 1; }
  .hero__overlay {
    background: linear-gradient(180deg, rgba(15,61,58,.2) 0%, rgba(15,61,58,.02) 42%, rgba(0,0,0,.25) 100%);
  }
  .hero__identity {
    width: calc(100% - 48px);
    max-width: 330px;
    gap: 20px;
    transform: translateY(1.5svh);
  }
  .hero__logo { width: min(70vw, 278px); }
  .hero__descriptor {
    gap: 0.68em;
    font-size: clamp(0.78rem, 3.55vw, 0.9rem);
    letter-spacing: 0.075em;
    line-height: 1.2;
    white-space: nowrap;
  }
  .hero__descriptor-dot { width: 13px; height: 13px; }
  .hero__descriptor-dot::after { inset: 3px; }
  .scroll-cue {
    right: 18px;
    bottom: max(18px, env(safe-area-inset-bottom));
    width: 50px;
    height: 50px;
  }

  .next-experience,
  .services,
  .clients { padding-right: 20px; padding-left: 20px; }

  .next-experience {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
  }
  .next-experience__content {
    flex: 1;
    justify-content: center;
    padding: 4svh 0 8svh;
  }
  .next-experience h1 {
    max-width: 11.5em;
    font-size: clamp(2.16rem, 9.8vw, 3.05rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
    text-wrap: balance;
  }
  .next-experience__line { display: block; }
  .next-experience__line + .next-experience__line { margin-top: 0.22em; }
  .next-experience h1 strong {
    display: block;
    margin-top: 0.24em;
    line-height: 0.98;
  }
  .talk-button {
    min-height: 56px;
    margin-top: 34px;
    padding: 12px 17px;
    font-size: 0.76rem;
  }

  .services {
    min-height: 100svh;
    padding-bottom: 24px;
  }
  .services__title {
    padding: clamp(42px, 7svh, 62px) 0 clamp(34px, 5svh, 48px);
    font-size: clamp(3rem, 13.4vw, 4rem);
    line-height: 0.92;
    letter-spacing: -0.055em;
  }
  .service {
    min-height: 78px;
    grid-template-columns: 34px minmax(0, 1fr) 38px;
    gap: 9px;
  }
  .service > span { font-size: 0.68rem; }
  .service h3 {
    min-width: 0;
    font-size: clamp(1.23rem, 5.8vw, 1.55rem);
    line-height: 1.04;
    letter-spacing: -0.025em;
    overflow-wrap: normal;
  }
  .service i {
    display: grid;
    width: 38px;
    height: 44px;
    place-items: center;
    justify-self: end;
  }

  .service-panel__bar {
    position: sticky;
    top: 0;
    z-index: 3;
    min-height: 64px;
    padding: 8px 18px;
    background: var(--cream);
  }
  .service-panel__close {
    min-width: 88px;
    min-height: 48px;
    text-align: right;
  }
  .service-panel__body { padding: 34px 20px 64px; }
  .service-panel__copy h2 {
    max-width: 9ch;
    margin-bottom: 32px;
    font-size: clamp(2.85rem, 13.5vw, 4.25rem);
    line-height: 0.9;
  }
  .service-panel__copy dt { margin-top: 24px; }
  .service-panel__copy dd {
    max-width: none;
    font-size: 0.98rem;
    line-height: 1.5;
  }
  .service-panel__summary {
    margin-top: 36px;
    font-size: 1.08rem;
    line-height: 1.42;
  }
  .service-panel__projects { margin-top: 44px; gap: 24px; }
  .project-card__media { aspect-ratio: 4 / 3; }

  .clients {
    min-height: auto;
    padding-bottom: 38px;
  }
  .clients__title {
    max-width: 10ch;
    padding: 48px 0 42px;
    font-size: clamp(2.6rem, 11.7vw, 3.55rem);
    line-height: 0.96;
    letter-spacing: -0.045em;
  }
  .client-grid {
    margin-right: -20px;
    margin-left: -20px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
  }
  .client-track { animation-duration: 72s; }
  .client-logo {
    flex-basis: clamp(190px, 62vw, 242px);
    min-height: 126px;
    padding: 24px 25px;
  }
  .client-logo img {
    max-width: 158px;
    max-height: 58px;
  }
  .client-logo--optimus img { max-width: 150px; }

  .site-footer { padding: 0 20px; }
  .site-footer__main {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 38px 0 48px;
  }
  .site-footer__identity { align-items: flex-start; }
  .site-footer__logo { width: min(42vw, 154px); }
  .site-footer__column { gap: 10px; }
  .site-footer__column--contact { grid-column: auto; }
  .site-footer p,
  .site-footer a {
    max-width: 31ch;
    font-size: 0.96rem;
    line-height: 1.45;
  }
  .site-footer__column a {
    min-height: 44px;
    align-items: center;
  }
  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 19px 0 calc(22px + env(safe-area-inset-bottom));
  }
  .site-footer__brand { text-align: left; }
}

@media (max-width: 350px) {
  .hero__descriptor { font-size: 0.72rem; letter-spacing: 0.055em; }
  .hero__identity { width: calc(100% - 32px); }
  .next-experience h1 { font-size: clamp(2rem, 10.1vw, 2.35rem); }
  .services__title { font-size: 2.85rem; }
  .service h3 { font-size: 1.18rem; }
  .clients__title { font-size: 2.45rem; }
}

/* Final contact form layout overrides. */
.contact-main { padding-bottom: 96px; }
.contact-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.contact-form__message { grid-column: 1 / -1; grid-row: auto; min-height: 220px !important; }
.contact-form__submit {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 880;
  width: 100%;
  justify-content: center;
  margin: 0;
  padding: 20px 28px;
  border-radius: 0;
  background: var(--burgundy);
  color: var(--cream);
}
.contact-form__submit span { background: var(--cream); color: var(--burgundy); }

@media (max-width: 700px) {
  .contact-main { padding-bottom: 90px; }
  .contact-form { display: flex; flex-direction: column; }
  .contact-form__message { min-height: 180px !important; }
  .contact-form__submit { align-self: auto; }
}

/* Final mobile layer. Keep this last so desktop rules remain unchanged. */
@media (max-width: 700px) {
  html { scroll-snap-type: y proximity; }
  body { min-width: 0; }

  .site-header {
    padding-top: calc(13px + env(safe-area-inset-top));
    padding-right: max(18px, env(safe-area-inset-right));
    padding-left: max(18px, env(safe-area-inset-left));
  }
  .site-header__logo { display: flex; align-items: center; min-height: 44px; }
  .site-header__contact { gap: 8px; }

  .hero { height: 100svh; min-height: 100svh; max-height: 100dvh; }
  .hero__identity { margin-top: env(safe-area-inset-top); }
  .scroll-cue {
    right: max(18px, env(safe-area-inset-right));
    bottom: max(18px, calc(env(safe-area-inset-bottom) + 10px));
  }

  .section-label {
    justify-content: flex-start;
    gap: 14px;
    min-height: 54px;
    padding: 13px 0;
    font-size: 0.69rem;
    line-height: 1.3;
  }
  .section-label > span:first-child { flex: 0 0 auto; }

  .next-experience__content { gap: 0; }
  .next-experience h1 {
    width: 100%;
    max-width: 10.8em;
    font-size: clamp(1.95rem, 8.25vw, 2.5rem);
    line-height: 1.09;
    letter-spacing: -0.035em;
    text-wrap: pretty;
  }
  .next-experience__line + .next-experience__line { margin-top: 0.3em; }
  .next-experience h1 strong {
    display: inline;
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    text-wrap: inherit;
  }
  .talk-button { gap: 18px; }

  .service {
    width: 100%;
    min-height: 80px;
    padding: 0;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .service:hover { padding: 0; background: transparent; color: inherit; }
  .service:hover i { transform: none; }
  .service:active { padding: 0 8px; background: var(--cream-bright); color: var(--green); }
  .service:active i { transform: rotate(45deg); }
  .service__icon { width: 38px; min-width: 38px; }
  .service__icon .icon { width: 23px; height: 23px; }

  .service-panel {
    height: 100dvh;
    min-height: 100svh;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .service-panel__bar {
    padding-top: max(8px, env(safe-area-inset-top));
    padding-right: max(18px, env(safe-area-inset-right));
    padding-left: max(18px, env(safe-area-inset-left));
  }
  .service-panel__body {
    width: 100%;
    padding-right: 20px;
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
    padding-left: 20px;
  }
  .service-panel__copy h2 { overflow-wrap: normal; word-break: normal; }
  .project-card { width: 100%; min-height: clamp(270px, 78vw, 310px); padding: 18px 16px; }
  .project-card--logo-only { min-height: 156px; }
  .project-card__brand { padding: 12px 8%; }
  .project-card__brand img { max-height: 68px; }
  .project-card__head { line-height: 1.35; }
  .project-card__meta { gap: 10px; }
  .project-card__meta > span { min-width: 0; }
  .project-card__meta strong { line-height: 1.08; }
  .project-card__open { width: 44px; height: 44px; flex-basis: 44px; }
  .project-card__open .icon { width: 28px; height: 28px; }

  .project-lightbox {
    min-height: 100dvh;
    padding: calc(76px + env(safe-area-inset-top)) 16px calc(20px + env(safe-area-inset-bottom));
    overscroll-behavior: contain;
  }
  .project-lightbox video {
    width: 100%;
    max-height: calc(100dvh - 116px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  }
  .project-lightbox > button {
    top: max(14px, env(safe-area-inset-top));
    right: max(16px, env(safe-area-inset-right));
  }

  .client-logo { min-height: 126px; }
  .client-logo img { width: auto; height: auto; max-width: 158px; max-height: 56px; }
  .client-logo--aco img { max-width: 94px; }

  .site-footer__main { border-top: 0; }
  .site-footer__label { font-size: 0.67rem; }
  .site-footer__bottom p { font-size: 0.68rem; line-height: 1.5; }
  .site-footer__brand { max-width: 34ch; opacity: 0.58; }

  .contact-main {
    min-height: 100svh;
    padding-right: 20px;
    padding-left: 20px;
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
  }
  .contact-info { grid-template-columns: 1fr; gap: 24px; }
  .contact-info__mark { grid-column: auto; }
  .contact-workspace { padding-top: 56px; }
  .contact-workspace h1 {
    margin-bottom: 40px;
    font-size: clamp(3.1rem, 14.5vw, 4.5rem);
    line-height: 0.9;
  }
  .contact-form { gap: 10px; }
  .contact-form label { min-height: 112px !important; padding: 18px; border-radius: 22px; }
  .contact-form__message { min-height: 170px !important; }
  .contact-form__submit {
    min-height: calc(68px + env(safe-area-inset-bottom));
    padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 350px) {
  .site-header { padding-right: 16px; padding-left: 16px; }
  .site-header__logo { width: 72px; }
  .site-header__contact { font-size: 0.61rem; letter-spacing: 0.1em; }
  .hero__identity { width: calc(100% - 36px); }
  .hero__descriptor { font-size: 0.7rem; }
  .next-experience,
  .services,
  .clients,
  .site-footer { padding-right: 16px; padding-left: 16px; }
  .next-experience h1 { max-width: 100%; font-size: 1.88rem; }
  .service { grid-template-columns: 30px minmax(0, 1fr) 34px; gap: 7px; }
  .service h3 { font-size: 1.12rem; }
  .client-grid { margin-right: -16px; margin-left: -16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .client-track { animation: none; }
  .service-panel { transition: none; }
}
