/* ==========================================================================
   Zeus 3D — landing page
   Built from Figma "Zeus3d-Website" (frame 13:44, 1440 desktop).
   Desktop-first. Every gap, pad and radius comes from the token scale, so
   the rhythm is identical in every section.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* colour */
  --accent:        #a3e469;
  --accent-600:    #8ed14f;
  --accent-700:    #6faa34;   /* readable green for small text */
  --accent-tint:   #f4fce9;

  --ink:           #0a0a0a;
  --ink-soft:      #2a2a2a;
  --muted:         #837e7e;
  --surface:       #ffffff;
  --surface-2:     #f7f7f7;
  --img-bg:        #efefef;
  --line:          #ececec;
  --line-2:        #e4e4e4;

  /* type */
  --font-display: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-ui:      "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --fs-h1:     clamp(2.125rem, 4.3vw, 3rem);      /* 34 → 48 */
  --fs-h3:     clamp(1.25rem, 1.9vw, 1.5rem);     /* 20 → 24 */
  --fs-lead:   clamp(1rem, 1.35vw, 1.125rem);     /* 16 → 18 */
  --fs-nav:    1.125rem;                          /* 18 */
  --fs-body:   1rem;                              /* 16 */
  --fs-badge:  .875rem;                           /* 14 */
  --fs-btn:    clamp(1rem, 1.3vw, 1.125rem);      /* 16 → 18 */
  --fs-btn-sm: 1rem;                              /* 16 */
  --fs-mail:   clamp(1.25rem, 2vw, 1.5rem);       /* 20 → 24 */

  /* space (4pt) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 20px;
  --s-6: 24px; --s-8: 32px; --s-10: 40px; --s-12: 48px;

  /* layout */
  --container:   1344px;
  --gutter:      48px;
  --nav-h:       116px;
  --section-gap: clamp(72px, 8.3vw, 120px);   /* between sections   */
  --head-gap:    clamp(40px, 4.2vw, 60px);    /* head → its content */
  --grid-gap:    var(--s-6);                  /* 24px everywhere    */

  /* radii */
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-pill: 999px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --slide-dur: 6s;
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -.01em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, figure, ul, ol, hr { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; border-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; }
summary::-webkit-details-marker { display: none; }
svg { display: block; }

::selection { background: var(--accent); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--accent-700);
  outline-offset: 3px;
  border-radius: var(--s-1);
}

.u-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 50%; top: 0;
  translate: -50% -120%;
  z-index: 200;
  padding: var(--s-3) var(--s-6);
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-body);
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  transition: translate .25s var(--ease);
}
.skip-link:focus-visible { translate: -50% 0; }

.container {
  width: min(var(--container), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

.section { margin-top: var(--section-gap); }

/* --------------------------------------------------------------------------
   3. Type
   -------------------------------------------------------------------------- */
.h1, .h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1.1667;
  letter-spacing: -.025em;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;                    /* 30px pill, exactly as designed */
  padding: 0 var(--s-3);
  background: var(--accent-tint);
  border: 1px solid var(--accent);
  border-radius: var(--r-pill);
  color: var(--accent-700);
  font-family: var(--font-ui);
  font-size: var(--fs-badge);
  font-weight: 500;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.badge--on-dark {
  background: rgba(163, 228, 105, .14);
  border-color: rgba(163, 228, 105, .75);
  color: var(--accent);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* section header rhythm: badge —16→ heading —20→ sub —32→ buttons */
.sec-head { display: flex; flex-direction: column; align-items: flex-start; }
.sec-head--center { align-items: center; text-align: center; }
.sec-head > * + *      { margin-top: var(--s-5); }   /* 20 */
.sec-head > .h1,
.sec-head > .h2        { margin-top: var(--s-4); }   /* 16 after the badge */
.sec-head > .btn-row   { margin-top: var(--s-8); }   /* 32 before the CTAs */

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }
.btn-row--center { justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 56px;                    /* 56px tall, exactly as designed */
  padding: var(--s-4);
  border: 0;
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-size: var(--fs-btn);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .22s var(--ease), color .22s var(--ease),
              transform .22s var(--ease), box-shadow .22s var(--ease);
}
.btn__icon { width: 24px; height: 24px; flex: none; transition: transform .3s var(--ease); }

.btn--primary {
  background: var(--accent);
  /* NOTE: the white label is exactly as designed. It only reaches ~1.5:1
     contrast — swap this one line to var(--ink) to pass WCAG AA. */
  color: #fff;
}
.btn--primary:hover { background: var(--accent-600); }

.btn--quiet       { color: var(--ink); }
.btn--quiet-light { color: #fff; }
.btn--quiet:hover, .btn--quiet-light:hover { color: var(--accent-700); }
.btn--quiet-light:hover { color: var(--accent); }

.btn:hover  { transform: translateY(-2px); }
.btn:hover .btn__icon { transform: scale(1.08); }
.btn:active { transform: translateY(0); }

.btn--sm {
  min-height: 48px;
  padding: var(--s-3);
  font-size: var(--fs-btn-sm);
}

/* --------------------------------------------------------------------------
   5. Navbar
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-stuck {
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -24px rgba(0, 0, 0, .45);
  -webkit-backdrop-filter: blur(14px) saturate(1.6);
  backdrop-filter: blur(14px) saturate(1.6);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  padding-block: var(--s-4);
}
.nav__brand { width: 94px; flex: none; border-radius: var(--r-sm); }
.nav__brand img { width: 100%; height: auto; }

.nav__links { display: flex; align-items: center; gap: var(--s-6); }
.nav__links a {
  position: relative;
  padding: 10px;
  color: var(--muted);
  font-size: var(--fs-nav);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.02em;
  transition: color .22s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px; bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  scale: 0 1;
  transform-origin: left;
  transition: scale .28s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { scale: 1 1; }

.nav__toggle { display: none; }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero__card {
  position: relative;
  /* navbar ≈ 13% of the viewport, hero takes the next 80% */
  height: 80vh;
  height: 80svh;
  min-height: 560px;
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
  background: var(--img-bg);
}

.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--px, 50%) var(--py, 50%);
  opacity: 0;
  transition: opacity .8s var(--ease);
}
.hero__slide.is-active { opacity: 1; }
/* during a pixel reveal the swap underneath must be instant */
.hero__media.is-instant .hero__slide { transition: none; }

/* the pixel-grid reveal: tiles of the incoming photo fade in as a mosaic */
.hero__pixels {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(var(--px-cols, 14), 1fr);
  grid-template-rows: repeat(var(--px-rows, 8), 1fr);
  pointer-events: none;
  visibility: hidden;
}
.hero__pixels.is-on { visibility: visible; }
.hero__px {
  opacity: 0;
  background-repeat: no-repeat;
  transition: opacity .32s linear;
  transition-delay: var(--d, 0ms);
}
.hero__pixels.is-revealing .hero__px { opacity: 1; }

/* the overlay: dark at the copy side, clear over the photo */
.hero__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 12, 8, .86) 0%, rgba(10, 12, 8, .74) 26%, rgba(10, 12, 8, .42) 52%, rgba(10, 12, 8, .16) 76%, rgba(10, 12, 8, .1) 100%),
    linear-gradient(180deg, rgba(10, 12, 8, .28) 0%, rgba(10, 12, 8, 0) 34%, rgba(10, 12, 8, .3) 100%);
}

.hero__body {
  position: absolute;
  z-index: 2;
  left: 36px;
  top: 50%;
  translate: 0 -50%;
  width: min(546px, calc(100% - 120px));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero__title { color: #fff; margin: var(--s-4) 0 var(--s-5); }
.hero__sub {
  color: rgba(255, 255, 255, .86);
  font-size: var(--fs-lead);
  line-height: 1.3333;
  letter-spacing: -.01em;
  margin-bottom: var(--s-8);
  max-width: 471px;
  text-wrap: pretty;
}

.hero__dots {
  position: absolute;
  z-index: 3;
  right: 36px;
  top: 50%;
  translate: 0 -50%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero__dot {
  position: relative;
  width: 8px;
  height: 24px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .45);
  overflow: hidden;
  cursor: pointer;
  transition: height .55s var(--ease), background-color .4s var(--ease);
}
.hero__dot::before {           /* 44px touch target */
  content: "";
  position: absolute;
  inset: -10px -18px;
}
.hero__dot:hover { background: rgba(255, 255, 255, .7); }
.hero__dot.is-active { height: 60px; background: rgba(255, 255, 255, .3); }
.hero__dot-fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
}
.hero__dot.is-active .hero__dot-fill { animation: dot-fill var(--slide-dur) linear forwards; }
@keyframes dot-fill { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* --------------------------------------------------------------------------
   7. Work gallery — the exact asymmetric grid from the design
   -------------------------------------------------------------------------- */
.gallery {
  display: flex;
  flex-direction: column;
  gap: var(--grid-gap);
  margin-top: var(--head-gap);
}
.gallery__row { display: grid; gap: var(--grid-gap); }
.gallery__row--1 { grid-template-columns: 824fr 496fr; }  /* 824 + 24 + 496 */
.gallery__row--2 { grid-template-columns: 570fr 750fr; }  /* 570 + 24 + 750 */

.tile {
  position: relative;
  aspect-ratio: var(--ar, 824 / 600);
  background: var(--img-bg);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.tile--a { --ar: 824 / 600; }
.tile--b { --ar: 496 / 600; }
.tile--c { --ar: 570 / 600; }
.tile--d { --ar: 750 / 600; }

.tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: scale .8s var(--ease);
}
.tile:hover img { scale: 1.04; }

/* --------------------------------------------------------------------------
   8. Process — sticky stacking cards
   -------------------------------------------------------------------------- */
.process__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 546px;
  gap: clamp(48px, 9.6vw, 138px);
  align-items: start;
}
.process__intro {
  position: sticky;
  top: calc(var(--nav-h) + var(--s-8));
}

/* the tail gives the last card a moment to sit before the section releases */
.stack {
  display: flex;
  flex-direction: column;
  gap: var(--grid-gap);
  padding-bottom: min(220px, 24vh);
}
.stack__item {
  position: sticky;
  top: calc(var(--nav-h) + var(--s-8) + var(--i) * 18px);
}

.step {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-6);
  box-shadow: 0 -14px 26px -22px rgba(0, 0, 0, .3);
  transition: border-color .3s var(--ease);
}
.stack__item:hover .step { border-color: var(--line-2); }

.step__icon {
  width: 48px; height: 48px;
  color: var(--ink);
  margin-bottom: var(--s-6);
}
.step__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.3333;
  letter-spacing: -.02em;
  margin-bottom: var(--s-6);
}
.step__text {
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.25;
  letter-spacing: -.01em;
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   9. FAQs
   -------------------------------------------------------------------------- */
.faq__list {
  width: min(546px, 100%);
  margin: var(--head-gap) auto 0;
  display: flex;
  flex-direction: column;
  gap: var(--grid-gap);
}

.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-3);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq__item:hover { border-color: var(--line-2); }
.faq__item[open] { box-shadow: 0 10px 30px -26px rgba(0, 0, 0, .5); }

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: 28px;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: var(--fs-lead);
  font-weight: 700;
  line-height: 1.2222;
  letter-spacing: -.02em;
  transition: color .2s var(--ease);
}
.faq__q:hover { color: var(--accent-700); }

/* 20px glyph → 28.28px across once rotated, matching the design's mark */
.faq__mark {
  width: 20px; height: 20px;
  flex: none;
  color: var(--ink);
  transition: rotate .35s var(--ease), color .2s var(--ease);
}
.faq__item[open] .faq__mark { rotate: 45deg; }

.faq__a {
  border-top: 1px solid var(--line);
  margin-top: var(--s-3);
  padding-top: var(--s-3);
}
.faq__a p {
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.375;
  letter-spacing: -.01em;
  text-wrap: pretty;
}

@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq__item::details-content {
    block-size: 0;
    overflow: hidden;
    content-visibility: hidden;
    transition: block-size .34s var(--ease), content-visibility .34s allow-discrete;
  }
  .faq__item[open]::details-content { block-size: auto; content-visibility: visible; }
}

/* --------------------------------------------------------------------------
   10. Final CTA + marquee
   -------------------------------------------------------------------------- */
.cta__sub {
  max-width: 660px;
  color: var(--muted);
  font-size: var(--fs-lead);
  line-height: 1.3333;
  letter-spacing: -.01em;
  text-wrap: pretty;
}
.sec-head > .cta__sub { margin-bottom: 0; }

.marquee {
  margin-top: var(--head-gap);
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 46s linear infinite;
}
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

.marquee__set { display: flex; }
.marquee__item {
  flex: 0 0 321px;
  width: 321px;
  margin-right: var(--grid-gap);
}

.card {
  position: relative;
  height: 472px;
  background: var(--img-bg);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: scale .7s var(--ease);
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .45) 100%);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}
.card__cap {
  position: absolute;
  left: var(--s-4);
  bottom: var(--s-4);
  z-index: 1;
  padding: var(--s-2) var(--s-3);
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-body);
  line-height: 1.375;
  letter-spacing: -.01em;
  opacity: 0;
  translate: 0 10px;
  transition: opacity .3s var(--ease), translate .35s var(--ease);
}
.marquee__item:hover .card::after,
.marquee__item:focus-within .card::after { opacity: 1; }
.marquee__item:hover .card__cap,
.marquee__item:focus-within .card__cap { opacity: 1; translate: 0 0; }
.marquee__item:hover .card img { scale: 1.05; }

/* no hover on touch — show the labels */
@media (hover: none) {
  .card::after { opacity: 1; }
  .card__cap { opacity: 1; translate: 0 0; }
}

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: clamp(56px, 5.5vw, 80px);
  padding-bottom: var(--s-12);
}

.foot__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-8);
}
.foot__label {
  color: var(--muted);
  font-size: var(--fs-nav);
  line-height: 1.6;
  letter-spacing: -.01em;
}
.foot__mail {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin-top: var(--s-3);
}
.foot__mail a {
  font-family: var(--font-display);
  font-size: var(--fs-mail);
  font-weight: 700;
  line-height: 1.3333;
  letter-spacing: -.02em;
  transition: color .2s var(--ease);
}
.foot__mail a:hover { color: var(--accent-700); }

.foot__copy {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  color: var(--ink);
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.foot__copy:hover { background: var(--surface-2); color: var(--accent-700); }
.foot__copy svg { width: 22px; height: 22px; grid-area: 1 / 1; transition: opacity .2s var(--ease), scale .2s var(--ease); }
.foot__copy-done { opacity: 0; scale: .6; color: var(--accent-700); }
.foot__copy.is-done .foot__copy-icon { opacity: 0; scale: .6; }
.foot__copy.is-done .foot__copy-done { opacity: 1; scale: 1; }

.foot__social { display: flex; gap: var(--s-6); }
.foot__social a {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--ink);
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
.foot__social svg { width: 24px; height: 24px; }
.foot__social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
  transform: translateY(-3px);
}

.foot__rule {
  height: 1px;
  border: 0;
  background: var(--line);
  margin: var(--s-8) 0;
}

.foot__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
}
.foot__bottom p {
  display: flex;
  align-items: center;
  gap: var(--s-1);
  color: var(--muted);
  font-size: var(--fs-nav);
  line-height: 1.6;
  letter-spacing: -.01em;
}
.foot__bottom svg { width: 24px; height: 24px; flex: none; }

/* --------------------------------------------------------------------------
   12. Reveal on scroll (transform + opacity only)
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  translate: 0 16px;
  transition: opacity .6s var(--ease), translate .6s var(--ease);
}
.js .reveal.is-in { opacity: 1; translate: none; }

/* --------------------------------------------------------------------------
   13. Responsive — desktop-first
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .process__grid { grid-template-columns: minmax(0, 1fr) 460px; }
}

@media (max-width: 1024px) {
  :root { --gutter: 32px; --nav-h: 96px; }
  .hero__body { left: var(--s-8); width: min(546px, calc(100% - 96px)); }
  .hero__dots { right: var(--s-6); }
  .marquee__item { flex-basis: 268px; width: 268px; }
  .card { height: 394px; }
}

/* process stops sticking — a plain stack reads better on a small screen */
@media (max-width: 900px) {
  .process__grid { grid-template-columns: minmax(0, 1fr); gap: var(--head-gap); }
  .process__intro { position: static; }
  .stack { padding-bottom: 0; }
  .stack__item { position: static; }
  .step { box-shadow: none; }
  .foot__top { flex-direction: column; align-items: flex-start; gap: var(--s-6); }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav { padding-block: var(--s-3); }
  .nav__brand { width: 78px; }

  /* gallery → one column, keeping each tile's designed crop */
  .gallery__row--1, .gallery__row--2 { grid-template-columns: minmax(0, 1fr); }
  .tile { --ar: 4 / 3; }
  .tile--b, .tile--c { --ar: 1 / 1; }

  /* hero stacks: copy sits at the bottom, indicator runs underneath it */
  .hero__card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 600px;
    padding: var(--s-5);
  }
  .hero__slide { object-position: var(--px-m, 50%) var(--py-m, 32%); }
  .hero__sub { margin-bottom: var(--s-6); }

  /* overlay turns vertical: clear over the photo, solid behind the copy */
  .hero__card::after {
    background: linear-gradient(180deg,
      rgba(10, 12, 8, .12) 0%,
      rgba(10, 12, 8, .18) 30%,
      rgba(10, 12, 8, .60) 50%,
      rgba(10, 12, 8, .86) 74%,
      rgba(10, 12, 8, .93) 100%);
  }

  .hero__body {
    position: relative;
    z-index: 2;
    left: auto; top: auto;
    translate: none;
    width: auto;
  }
  .hero__dots {
    position: relative;
    z-index: 3;
    right: auto; top: auto;
    translate: none;
    flex-direction: row;
    align-items: center;
    margin-top: var(--s-6);
  }
  .hero__dot { width: 24px; height: 8px; }
  .hero__dot.is-active { width: 60px; height: 8px; }
  .hero__dot::before { inset: -16px -6px; }
  .hero__dot-fill { transform: scaleX(0); transform-origin: left; }
  .hero__dot.is-active .hero__dot-fill { animation-name: dot-fill-x; }
}

@keyframes dot-fill-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 560px) {
  :root { --gutter: 20px; --nav-h: 88px; }

  .hero__card { min-height: 560px; }

  .btn { width: 100%; min-height: 52px; }
  .btn-row { gap: var(--s-2); }
  .hero__body .btn-row .btn { width: 100%; }

  .marquee__item { flex-basis: 218px; width: 218px; margin-right: var(--s-4); }
  .card { height: 320px; }

  .foot__social { gap: var(--s-3); }
  .foot__bottom { flex-direction: column; align-items: flex-start; gap: var(--s-3); }
}

@media (max-width: 430px) {
  /* the bar keeps a labelled CTA, just a shorter one */
  .u-drop-xs { display: none; }
  .nav { gap: var(--s-3); }
  /* keeps the eyebrow on a single line inside its pill */
  .badge { font-size: .8125rem; letter-spacing: .01em; padding-inline: 10px; }
}

@media (max-width: 380px) {
  .nav__brand { width: 68px; }
  .btn--sm { font-size: .9375rem; padding: var(--s-3) 10px; }
}

/* --------------------------------------------------------------------------
   14. Motion preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; translate: none; transition: none; }
  .marquee__track { animation: none; }
  .hero__slide { transition: opacity .25s linear; scale: 1; }
  .hero__dot.is-active .hero__dot-fill { animation: none; transform: scaleY(1); }
  .btn:hover, .foot__social a:hover, .tile:hover img,
  .marquee__item:hover .card img { transform: none; scale: 1; }
  * { scroll-behavior: auto !important; }
}
