/* ==========================================================================
   Heliae — made-to-measure label landing page
   Tokens measured against the 1920px reference; type scales fluidly below it.
   ========================================================================== */

@font-face {
  font-family: "Geist";
  src: url("assets/fonts/geist-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --soft: #f7f7f7;
  --soft-2: #f1f1f1;
  --ink: #111111;
  --ink-2: #2b2b2b;
  --muted: #6a6a6a;
  --line: #e7e7e7;
  --ember: #e2691f;
  --ember-deep: #b8461a;
  --night: #120c08;

  --radius: 10px;
  --radius-sm: 6px;
  --ease: cubic-bezier(.16, 1, .3, 1);

  --gutter: clamp(20px, 5.5vw, 152px);
  --cw: min(1616px, 100vw - 2 * var(--gutter));
  --inset: 10px;

  --fs-display: clamp(2.5rem, 3.75vw, 4.5rem);
  --fs-h2: clamp(2.125rem, 2.92vw, 3.5rem);
  --fs-h2b: clamp(2rem, 2.5vw, 3rem);
  --fs-h3: clamp(1.375rem, 1.46vw, 1.75rem);
  --fs-lead: clamp(1rem, .94vw, 1.125rem);
  --fs-quote: clamp(1.125rem, 1.05vw, 1.25rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  font-feature-settings: "ss01" 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { width: 1em; height: 1em; flex: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -100px; z-index: 500; padding: 12px 18px; background: var(--ink); color: #fff; border-radius: 999px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.container { width: var(--cw); margin-inline: auto; }

h1, h2, h3 { font-weight: 400; letter-spacing: -.025em; }

.wordmark {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 620;
  letter-spacing: -.055em;
  line-height: 1;
}

/* ---------- Buttons: one primary, one secondary role ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 60px; padding: 0 24px;
  border-radius: 999px;
  font-size: 1rem; font-weight: 450; line-height: 1; white-space: nowrap;
  transition: transform .45s var(--ease), background-color .3s, color .3s, opacity .3s;
}
.btn:active { transform: scale(.98); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #f1ede9; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2c2c2c; }
.btn--glass { background: rgba(255, 255, 255, .16); color: #fff; }
.btn--glass:hover { background: rgba(255, 255, 255, .26); }
.btn--sm { min-height: 48px; padding: 0 22px; font-size: .9375rem; }
.btn--lg { min-height: 66px; padding: 0 28px; }
.btn--block { width: 100%; }

.grid-btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  font-size: 26px; transition: background-color .3s;
}
.grid-btn:hover { background: rgba(255, 255, 255, .14); }
.nav-login { min-height: 44px; padding: 0 6px; font-size: 1rem; }

/* ---------- Announcement ---------- */
.announce {
  height: 60px; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 0 16px; font-size: 1rem; color: var(--ink-2);
}
.announce__icon { font-size: 18px; color: var(--ember); animation: spin 14s linear infinite; }
.announce__short { display: none; }
.announce__link { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; margin-left: 10px; color: var(--muted); }
.announce__link:hover { color: var(--ink); }
.announce__link svg { font-size: 18px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Compact bar (after hero) ---------- */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 120;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  transform: translateY(-101%);
  transition: transform .55s var(--ease);
}
.bar.is-visible { transform: none; }
.bar__inner {
  height: 68px; padding: 0 clamp(16px, 4.5vw, 87px);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.bar__links { display: flex; gap: 28px; font-size: 1rem; }
.bar__links a, .nav__links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; transition: opacity .3s; }
.bar__links a:hover { opacity: .6; }
.bar__logo { font-size: 30px; justify-self: center; }
.bar__actions { justify-self: end; display: flex; align-items: center; gap: 12px; }
.bar .grid-btn:hover { background: var(--soft-2); }

/* ---------- Menu ---------- */
.menu {
  position: fixed; left: 0; right: 0; top: 0; height: 100dvh; z-index: 200;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: 24px clamp(20px, 4.5vw, 87px) max(36px, env(safe-area-inset-bottom));
  background: var(--night); color: #fff;
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .45s var(--ease), transform .55s var(--ease), visibility 0s linear .45s;
}
.menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu__top { display: flex; align-items: center; justify-content: space-between; }
.menu__top .wordmark { font-size: 32px; }
.menu__close { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .1); font-size: 22px; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 18px;
  padding: clamp(14px, 2.2vh, 22px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  font-size: clamp(2rem, 6vw, 4.5rem); font-weight: 350; letter-spacing: -.035em; line-height: 1;
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s;
}
.menu__nav a span { font-size: .875rem; letter-spacing: .08em; color: rgba(255, 255, 255, .5); font-variant-numeric: tabular-nums; }
.menu__nav a:active { color: var(--ember); }
.menu.is-open .menu__nav a { opacity: 1; transform: none; transition-delay: calc(.1s + var(--i) * .06s); }
.menu:not(.is-open) .menu__nav a { transition-delay: 0s; }
.menu__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; color: rgba(255, 255, 255, .72); font-size: .9375rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  margin: 0 var(--inset);
  min-height: 600px;
  min-height: calc(100vh - 60px - var(--inset));
  min-height: calc(100svh - 60px - var(--inset));
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--night); color: #fff;
  padding: 0 clamp(20px, 4.5vw, 87px);
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media { overflow: hidden; }
/* taller than the panel so the scroll parallax never exposes an edge */
.hero__media img { position: absolute; left: 0; top: -9%; width: 100%; height: 116%; object-fit: cover; object-position: 50% 42%; will-change: transform; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 34% 58% at 53% 44%, rgba(18, 12, 8, 0) 0%, rgba(18, 12, 8, 0) 62%, rgba(18, 12, 8, .55) 82%, rgba(14, 9, 6, .92) 100%),
    radial-gradient(ellipse 60% 90% at 53% 44%, rgba(18, 12, 8, 0) 40%, rgba(12, 8, 5, .9) 75%, #0d0905 100%),
    linear-gradient(90deg, rgba(14, 9, 6, .72) 0%, rgba(14, 9, 6, .38) 26%, rgba(14, 9, 6, 0) 44%),
    linear-gradient(0deg, rgba(14, 9, 6, .55) 0%, rgba(14, 9, 6, 0) 22%),
    linear-gradient(rgba(0, 0, 0, .06), rgba(0, 0, 0, .06));
}

.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 106px; }
.nav__links { display: flex; gap: 24px; font-size: 1rem; }
.nav__links a:hover { opacity: .7; }
.nav__logo { font-size: clamp(32px, 2.3vw, 44px); justify-self: center; }
.nav__actions { justify-self: end; display: flex; align-items: center; gap: 12px; }

.hero__copy { margin: auto 0; padding: 24px 0 calc(48px + 4vh); max-width: 640px; }
.hero__eyebrow { display: flex; align-items: center; gap: 10px; font-size: 1rem; margin-bottom: clamp(16px, 2.6vh, 30px); }
.hero__eyebrow svg { font-size: 18px; }
.hero h1 {
  font-size: clamp(2.5rem, min(3.75vw, 6.6svh), 4.5rem);
  line-height: 1; letter-spacing: -.035em; max-width: 9.6em;
}
.hero__sub { margin-top: clamp(12px, 1.4vh, 16px); font-size: var(--fs-lead); line-height: 1.6; color: rgba(255, 255, 255, .92); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: clamp(24px, 3.6vh, 42px); }

.hero__stats { display: flex; padding-bottom: clamp(28px, 6.8vh, 80px); }
.hero__stats li { display: flex; flex-direction: column; padding: 2px 32px; border-left: 1px solid rgba(255, 255, 255, .22); font-size: 1rem; line-height: 1.6; }
.hero__stats li:first-child { padding-left: 0; border-left: 0; }
.hero__stats strong { font-weight: 450; }
.hero__stats span { color: rgba(255, 255, 255, .62); }

/* ---------- Mills marquee ---------- */
.mills { padding: clamp(56px, 5vw, 95px) 0 0; }
.mills__lead { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 20px; text-align: center; }
.mills__lead h2 { font-size: 1rem; letter-spacing: 0; color: var(--ink-2); }
.mills__faces { display: flex; flex: none; }
.mills__faces img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; border: 2px solid #fff; background: var(--soft); }
.mills__faces img + img { margin-left: -10px; }
.marquee { position: relative; margin-top: 24px; overflow: hidden; }
/* edge fades are static overlays: a mask-image over a moving track is re-rendered every frame */
.marquee::before, .marquee::after { content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; width: 18%; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), rgba(255, 255, 255, 0)); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg), rgba(255, 255, 255, 0)); }
.marquee__track { display: flex; width: max-content; animation: marquee 42s linear infinite; will-change: transform; }
.marquee.is-offscreen .marquee__track { animation-play-state: paused; }
.marquee__track li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 0 clamp(28px, 3.4vw, 64px); color: #6b6b6b; height: 64px; }
.mill { font-size: 28px; line-height: 1; letter-spacing: -.02em; font-weight: 500; }
.mill--caps { text-transform: uppercase; letter-spacing: .14em; font-size: 20px; font-weight: 650; }
.mill--wide { font-weight: 300; letter-spacing: .02em; font-size: 30px; }
.marquee__track li { white-space: nowrap; }
.marquee__track small { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: #6b6b6b; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- How it works ---------- */
.how { padding: clamp(72px, 7.8vw, 150px) 0 clamp(80px, 8.8vw, 170px); }
.how__head { text-align: center; }
.how__head h2 { font-size: var(--fs-h2b); line-height: 1.1; }
.how__head p { margin-top: 14px; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: clamp(40px, 3.4vw, 64px); scroll-margin-top: 90px; }
.step__media { position: relative; aspect-ratio: 398 / 405; border-radius: var(--radius); overflow: hidden; container-type: inline-size; }
.step__media > img { width: 100%; height: 100%; object-fit: cover; }
.step__media--photo:first-child img, .steps li:first-child .step__media img { object-position: 64% 50%; }
.step__media--grey { background: linear-gradient(180deg, #ececec, #e2e2e2); }
.step__media--orange { background: radial-gradient(120% 90% at 30% 10%, #f39a4a 0%, #e06a24 45%, #b7461b 100%); }
.step__num {
  position: absolute; z-index: 2; left: 13px; top: 13px;
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--radius-sm);
  background: rgba(40, 32, 26, .42); color: #fff; font-size: .9375rem;
}
.step__media--grey .step__num { background: rgba(0, 0, 0, .18); }
.step h3 { margin-top: clamp(20px, 2.1vw, 40px); font-size: var(--fs-h3); line-height: 1.2; }
.step p { margin-top: 12px; font-size: 1.0625rem; line-height: 1.6; max-width: 23em; }

/* step 1 confirm card */
.ui-confirm {
  position: absolute; left: 13%; right: 8%; top: 37%;
  display: grid; grid-template-columns: auto 1fr auto; gap: 4cqw 4cqw; align-items: center;
  padding: 3.4cqw; border-radius: 2.6cqw;
  background: rgba(62, 50, 44, .84); color: #fff;
  font-size: 3.4cqw; line-height: 1.25;
}
.ui-confirm__pin { display: grid; place-items: center; width: 12cqw; height: 12cqw; border-radius: 1.8cqw; background: #8e6e5a; font-size: 4.6cqw; }
.ui-confirm__title { font-size: 3.9cqw; }
.ui-confirm__check { font-size: 5cqw; align-self: start; }
.ui-confirm__meta { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: 2.5cqw; color: rgba(255, 255, 255, .7); }

/* phones in steps */
.ui-phone {
  position: absolute; left: 50%; top: 18%; width: 68%; height: 82%;
  transform: translateX(-50%);
  border: 1.6cqw solid #fbfbfb; border-bottom: 0; border-radius: 9cqw 9cqw 0 0;
  background: #fff; padding: 3cqw 4.2cqw 0;
  font-size: 2.9cqw; line-height: 1.35; color: var(--ink);
  box-shadow: 0 0 0 .35cqw #d8d8d8, 0 20px 40px rgba(0, 0, 0, .08);
}
.ui-phone__status { display: flex; justify-content: space-between; align-items: center; font-size: 2.6cqw; font-weight: 600; margin-bottom: 3.4cqw; }
.ui-phone__status b { font-size: 3.2cqw; font-weight: 620; }
.ui-phone__island { width: 22cqw; height: 5.4cqw; border-radius: 3cqw; background: #111; }
.ui-fit { display: flex; justify-content: space-between; }
.ui-fit__list { display: flex; flex-direction: column; gap: 1.5cqw; }
.ui-fit__list strong { font-size: 4.4cqw; font-weight: 450; }
.ui-fit__list em { font-style: normal; color: var(--muted); margin-top: -1.6cqw; margin-bottom: 2cqw; }
.ui-fit__sum { font-weight: 550; }
.ui-fit__list .ok, .ui-fit__list .mid { display: flex; align-items: center; gap: 2cqw; }
.ui-fit__list .ok::before, .ui-fit__list .mid::before { content: ""; width: 3.3cqw; height: 3.3cqw; border-radius: 50%; border: .55cqw solid #3aa57a; }
.ui-fit__list .mid::before { border-color: #e7a33a; }
.ui-fit__form { width: 22cqw; height: auto; margin-top: 8cqw; fill: #e4e4e4; }
.ui-fit__foot { position: absolute; left: 4.2cqw; right: 4.2cqw; bottom: 4cqw; display: flex; gap: 10cqw; padding-top: 3cqw; border-top: .3cqw solid #eee; }
.ui-fit__foot span { display: flex; flex-direction: column; line-height: 1.2; }
.ui-fit__foot b { font-size: 4.6cqw; font-weight: 450; }
.ui-fit__foot small { font-size: 2.3cqw; color: var(--muted); }
.ui-fit__foot b i { font-style: normal; font-size: 2.7cqw; color: var(--muted); }

.ui-phone--shop { top: 12%; width: 64%; height: 88%; }
.ui-shop__logo { display: block; font-size: 5.2cqw; margin-bottom: 4cqw; }
.ui-shop__label { display: block; font-size: 2.6cqw; color: var(--muted); margin-bottom: 1.6cqw; }
.ui-shop__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; margin-bottom: 3cqw; }
.ui-shop__row i { aspect-ratio: 3 / 4; border-radius: 1.4cqw; background: #f3f3f3 center 25% / cover no-repeat; }
.ui-shop__bar { display: block; height: .5cqw; background: #eee; margin: -1cqw 0 3cqw; }
.ui-shop__bar i { display: block; width: 40%; height: 100%; background: #333; }

/* step 3 picks */
.ui-picks {
  position: absolute; left: 16%; right: 9%; top: 29%;
  display: flex; flex-direction: column; gap: 1.6cqw;
  padding: 2.4cqw; border-radius: 2.4cqw;
  background: rgba(40, 29, 20, .8); color: #fff;
  font-size: 2.9cqw; line-height: 1.2;
}
.ui-picks__head { font-size: 2.5cqw; padding: .6cqw 1cqw 1.2cqw; color: rgba(255, 255, 255, .85); }
.ui-picks__row { display: flex; align-items: center; gap: 2.4cqw; padding: 1.8cqw; border-radius: 1.6cqw; background: rgba(255, 255, 255, .1); }
.ui-picks__row i { display: grid; place-items: center; width: 7.4cqw; height: 7.4cqw; border-radius: 1.4cqw; background: rgba(255, 255, 255, .12); font-size: 3.6cqw; }
.ui-picks__row small { display: block; font-size: 2.3cqw; color: rgba(255, 255, 255, .62); margin-top: .5cqw; }

/* ---------- Feature panels ---------- */
/* Panels stick just below the fixed compact bar (68px + 1px border), so nothing slides under it. */
.panels { --stick: 78px; --ph: max(100svh - var(--stick) - 10px, 600px); }
.panel {
  position: sticky;
  top: min(var(--stick), calc(100svh - var(--ph) - 10px));
  height: var(--ph);
  margin: 0 var(--inset) 20px;
  border-radius: var(--radius); overflow: hidden; isolation: isolate;
  color: #fff; background: #1a120c;
  scroll-margin-top: var(--stick);
}
.panel:last-child { position: relative; top: auto; margin-bottom: 0; }
.panel__media { position: absolute; inset: 0; z-index: -1; container-type: size; overflow: hidden; }
.stage {
  position: absolute;
  width: max(100cqw, 100cqh * var(--ar));
  aspect-ratio: var(--ar);
  left: calc((100cqw - max(100cqw, 100cqh * var(--ar))) * var(--px));
  top: calc((100cqh - max(100cqw, 100cqh * var(--ar)) / var(--ar)) * var(--py));
}
.stage > img { width: 100%; height: 100%; }
.panel__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.panel--dark .panel__media::after {
  background:
    linear-gradient(90deg, rgba(16, 10, 6, .62) 0%, rgba(16, 10, 6, .28) 30%, rgba(16, 10, 6, 0) 50%),
    linear-gradient(270deg, rgba(16, 10, 6, .5) 0%, rgba(16, 10, 6, 0) 24%),
    linear-gradient(0deg, rgba(16, 10, 6, .55) 0%, rgba(16, 10, 6, 0) 35%);
}
.panel--light { color: var(--ink); background: #eeece8; }
.panel--light .panel__media::after {
  background:
    linear-gradient(90deg, rgba(246, 244, 241, .94) 0%, rgba(246, 244, 241, .8) 26%, rgba(246, 244, 241, 0) 46%),
    linear-gradient(270deg, rgba(246, 244, 241, .9) 0%, rgba(246, 244, 241, .55) 14%, rgba(246, 244, 241, 0) 26%);
}

.panel__body {
  position: relative; height: 100%;
  display: flex; flex-direction: column;
  padding: 0 clamp(20px, 3.1vw, 60px) clamp(28px, 4.75vh, 56px) clamp(20px, 3.5vw, 67px);
}
/* the spacer shrinks when an answer opens, but never below the index's -30px offset + breathing room */
.panel__body::before { content: ""; flex: 0 1 45.6%; min-height: 56px; }
.panel__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.panel__copy { max-width: 600px; }
.panel__copy h2 { font-size: var(--fs-h2b); line-height: 1.2; letter-spacing: -.03em; max-width: 12em; }
.panel__copy p { margin-top: 18px; font-size: var(--fs-lead); line-height: 1.65; max-width: 30em; }
.panel--dark .panel__copy p { color: rgba(255, 255, 255, .9); }

.panel__index { flex: none; margin-top: -30px; display: flex; flex-direction: column; align-items: flex-end; font-size: clamp(1rem, 1.04vw, 1.25rem); }
.panel__index a {
  position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 16px;
  min-height: 55px; color: rgba(255, 255, 255, .55); transition: color .3s;
}
.panel__index a span { width: 1.5em; text-align: right; font-variant-numeric: tabular-nums; }
.panel__index a:hover { color: #fff; }
.panel__index .is-active a { color: #fff; }
.panel__index .is-active a::before { content: ""; position: absolute; left: -20px; top: 50%; width: 1.5px; height: 24px; margin-top: -12px; background: currentColor; }
.panel--light .panel__index a { color: rgba(17, 17, 17, .66); }
.panel--light .panel__index a:hover, .panel--light .panel__index .is-active a { color: var(--ink); }

.faqs { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 10px; width: min(578px, 38vw, 100%); }
.faq {
  border-radius: var(--radius);
  background: rgba(22, 16, 12, .74);
  color: #fff;
}
.panel--light .faq { background: rgba(38, 38, 38, .84); }
.faq h3 { font-size: 1rem; letter-spacing: 0; }
.faq button {
  width: 100%; min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 14px 0 22px; text-align: left; line-height: 1.35;
}
.faq__icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .14); transition: background-color .3s; }
.faq button:hover .faq__icon { background: rgba(255, 255, 255, .24); }
.faq__icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.faq__v { transform-origin: 12px 12px; transition: transform .45s var(--ease); }
.faq button[aria-expanded="true"] .faq__v { transform: rotate(90deg) scaleX(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 64px 22px 22px; color: rgba(255, 255, 255, .78); font-size: .9375rem; line-height: 1.6; opacity: 0; transition: opacity .4s; }
.faq.is-open .faq__a { grid-template-rows: 1fr; }
.faq.is-open .faq__a p { opacity: 1; }

/* overlays placed on the photo stage */
/* Without JS the screen is a plain box over the photo; script.js maps it with a homography
   (375×812 iPhone screen → measured corners) and adds .is-mapped. */
.screen { position: absolute; container-type: inline-size; border-radius: 14px; overflow: hidden; }
.screen--tilt:not(.is-mapped) { transform: rotate(3deg); transform-origin: 50% 50%; border-radius: 12px; }
.screen.is-mapped { transform-origin: 0 0; border-radius: 40px; backface-visibility: hidden; }
.scr { position: absolute; inset: 0; display: flex; flex-direction: column; font-size: 4.6cqw; line-height: 1.3; color: var(--ink); background: #fff; padding: 13cqw 6cqw 6cqw; }
/* iPhone X notch: 209 × 30pt on a 375pt screen */
.scr::before { content: ""; position: absolute; z-index: 4; left: 22.15%; right: 22.15%; top: 0; height: 8cqw; background: #0b0b0b; border-radius: 0 0 5.4cqw 5.4cqw; }

/* iOS status bar: time in the left ear, signal / wifi / battery in the right ear of the notch */
.sb {
  position: absolute; z-index: 3; left: 0; right: 0; top: 0; height: 8.4cqw;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 4cqw; line-height: 1; letter-spacing: -.01em; color: var(--ink);
}
.sb > b { width: 22.15%; padding-left: 2.4cqw; text-align: center; font-weight: 600; }
.sb__r { width: 22.15%; padding-right: 2.4cqw; display: flex; justify-content: center; align-items: center; gap: 1.1cqw; }
.sb svg { width: 4.4cqw; height: 2.9cqw; }
.sb svg:nth-child(2) { width: 3.9cqw; }
.sb .sb__bat { width: 6.6cqw; height: 3.2cqw; }
.scr--score .sb { color: #fff; }

.ui-sb { display: flex; align-items: center; gap: .9cqw; }
.ui-sb svg { width: 3cqw; height: 2cqw; }
.ui-sb svg:nth-child(2) { width: 2.7cqw; }
.ui-sb .ui-sb__bat { width: 4.6cqw; height: 2.2cqw; }

.scr--wardrobe { background: #fbfaf9; }
.scr__nav { display: flex; justify-content: space-between; align-items: center; color: #b9b5b1; font-size: 4.8cqw; }
.scr__nav i { width: 4cqw; height: 4cqw; border-left: .7cqw solid currentColor; border-bottom: .7cqw solid currentColor; transform: rotate(45deg); }
.scr__nav i:last-child { border: 0; width: 4cqw; height: 4cqw; background: linear-gradient(currentColor, currentColor) center / 100% .7cqw no-repeat, linear-gradient(currentColor, currentColor) center / .7cqw 100% no-repeat; transform: none; }
.scr__search { margin: 5cqw 0 6cqw; padding: 2.6cqw 4cqw; border-radius: 3cqw; background: #f0eeec; color: #bdb8b4; font-size: 4cqw; }
.scr__chart { position: relative; display: flex; flex-direction: column; padding: 5cqw; border-radius: 5cqw; background: linear-gradient(160deg, #ef8a3d, #c24a1f); color: #fff; height: 52cqw; }
.scr__chart-label { font-size: 3.6cqw; opacity: .85; }
.scr__bars { flex: 1; display: flex; align-items: flex-end; gap: 3.4cqw; padding-top: 4cqw; border-bottom: .4cqw dashed rgba(255, 255, 255, .5); }
.scr__bars i { flex: 1; height: calc(var(--h) * 100%); border-radius: 1.4cqw 1.4cqw 0 0; background: rgba(255, 255, 255, .38); }
.scr__bars i.hot { background: #fff; }
.scr__tag { position: absolute; right: 4cqw; top: 4cqw; padding: 1cqw 3cqw; border-radius: 4cqw; background: #fff; color: var(--ink); font-size: 3.2cqw; }
.scr__label { margin: 5cqw 0 2.4cqw; font-size: 3.6cqw; color: #8b8580; }
.scr__row { display: flex; align-items: center; gap: 3cqw; padding: 2cqw 0; border-bottom: .3cqw solid #eee9e5; font-size: 3.9cqw; line-height: 1.25; }
.scr__row i { flex: none; width: 10cqw; height: 10cqw; border-radius: 2.4cqw; background: #eee center 25% / cover no-repeat; }
.scr__row em { display: block; font-style: normal; font-size: 3.3cqw; color: #8b8580; }
.scr__sheet { position: relative; z-index: 2; margin-top: auto; display: flex; flex-direction: column; gap: 2cqw; padding: 6cqw 5cqw 5cqw; border-radius: 6cqw; background: #fff; box-shadow: 0 2cqw 10cqw rgba(0, 0, 0, .14); }
.scr__sheet b { font-size: 6cqw; font-weight: 500; line-height: 1.15; letter-spacing: -.02em; }
.scr__sheet > span:not(.scr__btns) { color: #8a8580; font-size: 3.8cqw; }
.scr__btns { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3cqw; margin-top: 3cqw; }
.scr__btns span { display: grid; place-items: center; height: 11cqw; border-radius: 3cqw; font-size: 3.9cqw; }
.scr__btns .dark { background: #161616; color: #fff; }

.scr--edit { padding-top: 0; background: #faf8f6; font-size: 5.2cqw; }
.scr--edit::before { z-index: 2; }
.scr__hero { flex: none; height: 50cqw; margin: 11.7cqw -6cqw 5cqw; background: url(assets/photos/plan-swatch.webp) center / cover; }
.scr__fit { display: flex; align-items: center; gap: 3cqw; margin-top: 5cqw; padding: 3cqw; border-radius: 3.6cqw; background: #f2ede8; font-size: 3.3cqw; line-height: 1.3; color: #8b8580; }
.scr__fit i { flex: none; width: 8.4cqw; height: 8.4cqw; border-radius: 2.4cqw; background: radial-gradient(circle at 50% 45%, #ffd49a 0 28%, #e2691f 62%, #b8461a 100%); }
.scr__fit b { display: block; color: var(--ink); font-size: 3.9cqw; font-weight: 500; }
.scr__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; }
.scr__foot > span:first-child { display: flex; flex-direction: column; font-size: 3.2cqw; line-height: 1.25; color: #8b8580; }
.scr__foot > span:first-child b { font-size: 5.4cqw; font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
.scr__foot .scr__cta { margin-top: 0; }
.scr__kicker { color: var(--ember-deep); font-size: 3.8cqw; }
.scr__title { font-size: 7cqw; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; margin-top: 1cqw; }
.scr__muted { color: #8b8580; font-size: 3.6cqw; margin-top: 1.4cqw; }
.scr__by { display: flex; align-items: center; gap: 2cqw; margin-top: 3cqw; font-size: 3.6cqw; }
.scr__by i { width: 6cqw; height: 6cqw; border-radius: 50%; background: url(assets/photos/designer-1.webp) 50% 15% / cover; }
.scr__section { margin-top: 5cqw; padding-top: 3.4cqw; border-top: .3cqw solid #ebe7e3; font-size: 4.6cqw; font-weight: 500; }
.scr__item { display: flex; justify-content: space-between; align-items: baseline; padding: 3.6cqw 0; border-bottom: .3cqw solid #eee9e5; font-size: 3.8cqw; }
.scr__item em { font-style: normal; color: #8b8580; }
.scr__cta { margin-top: auto; align-self: flex-end; padding: 2.6cqw 5cqw; border-radius: 6cqw; background: #2a2622; color: #fff; font-size: 3.8cqw; }

/* Floating cards sit at --oy of the photo, but never above 48px inside the panel.
   The stage is cropped by (100cqh − stageHeight) × --py, measured against .panel__media (a size container). */
.ui-progress, .ui-chat {
  position: absolute; width: 330px;
  top: max(var(--oy, 10%), calc(48px - (100cqh - max(100cqw, 100cqh * var(--ar)) / var(--ar)) * var(--py)));
}
.ui-progress {
  display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; border-radius: 14px;
  background: rgba(255, 255, 255, .96); color: var(--ink);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .12); font-size: .875rem;
}
.ui-progress__top { display: flex; justify-content: space-between; }
.ui-progress__top b { font-weight: 500; }
.ui-progress__top em { font-style: normal; color: var(--muted); }
.ui-progress__bar { height: 4px; border-radius: 4px; background: #e6e3df; }
.ui-progress__bar i { display: block; height: 100%; border-radius: inherit; background: var(--ember); }
.ui-progress__row { display: flex; justify-content: space-between; color: var(--muted); }
.ui-progress__row b { font-weight: 500; color: var(--ink); }
.ui-chat { display: flex; flex-direction: column; gap: 10px; width: 320px; font-size: .9375rem; line-height: 1.4; }
.ui-chat__msg { align-self: flex-start; max-width: 88%; padding: 12px 16px; border-radius: 18px 18px 18px 6px; background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: 0 10px 30px rgba(0, 0, 0, .15); }
.ui-chat__msg--me { align-self: flex-end; border-radius: 18px 18px 6px 18px; background: #1d1612; color: #fff; }
.ui-chat__who { padding-left: 4px; font-size: .8125rem; color: rgba(255, 255, 255, .85); }

/* ---------- Value table ---------- */
.value { padding: clamp(96px, 10vw, 190px) var(--gutter) clamp(96px, 9.5vw, 180px); text-align: center; }
.value__kicker { font-size: 1.0625rem; color: var(--ink-2); }
.value h2 { margin-top: clamp(24px, 3vw, 54px); font-size: var(--fs-h2); line-height: 1.22; letter-spacing: -.03em; }
.value__table { width: min(762px, 100%); margin: clamp(28px, 2.4vw, 44px) auto clamp(28px, 2.1vw, 40px); border-collapse: collapse; text-align: left; font-size: 1.0625rem; }
.value__table tr:nth-child(odd) { background: var(--soft); }
.value__table th, .value__table td { height: 51.7px; padding: 8px 14px; font-weight: 400; vertical-align: middle; }
.value__table th { width: 42%; color: var(--ink); }
.value__table td { color: var(--muted); }

/* ---------- Designers ---------- */
.people { padding-bottom: clamp(72px, 7vw, 135px); }
.people h2 { font-size: var(--fs-h2); line-height: 1.22; letter-spacing: -.03em; max-width: 15.5em; }
.rail {
  display: flex; overflow-x: auto; overscroll-behavior-x: contain;
  scrollbar-width: none; scroll-snap-type: x mandatory;
  padding-inline: calc((100vw - var(--cw)) / 2);
  scroll-padding-inline: calc((100vw - var(--cw)) / 2);
}
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline-offset: -3px; }
.rail--people { margin-top: clamp(40px, 3.8vw, 72px); }
.person {
  flex: none; scroll-snap-align: start;
  display: grid; grid-template-columns: 262px minmax(0, 365px); gap: 40px;
  padding-right: 44px; margin-right: 38px; border-right: 1px solid var(--line);
}
.person:last-child { border-right: 0; margin-right: 0; }
.person__photo { width: 262px; height: 319px; object-fit: cover; object-position: 50% 12%; border-radius: var(--radius); background: var(--soft); }
.person__body { display: flex; flex-direction: column; padding-top: 6px; }
.person__mark { display: flex; flex-direction: column; color: #6b6b6b; text-transform: uppercase; letter-spacing: .16em; font-size: .9375rem; font-weight: 600; line-height: 1.1; margin-bottom: 30px; }
.person__mark small { font-size: .75rem; font-weight: 500; letter-spacing: .22em; margin-top: 3px; }
.person h3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -.015em; }
.person__role { color: var(--muted); font-size: .9375rem; margin-top: 4px; }
.person__body p:not(.person__role) { margin-top: 18px; font-size: 1rem; line-height: 1.55; }
.link { align-self: flex-start; margin-top: 10px; min-height: 44px; font-size: 1rem; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.link:hover { text-decoration-thickness: 2px; }

/* ---------- Member stories ---------- */
.stories { background: #f8f8f8; padding: clamp(80px, 8.4vw, 160px) 0 clamp(80px, 8.4vw, 160px); overflow: hidden; }
.stories__rating { display: flex; align-items: center; gap: 8px; font-size: .9375rem; }
.stories__rating svg { color: #1f9d6b; font-size: 18px; }
.stories h2 { margin-top: 14px; font-size: var(--fs-h2); line-height: 1.22; letter-spacing: -.03em; max-width: 12.5em; }
.carousel__viewport { overflow: hidden; }
.stories .carousel__viewport { margin-top: clamp(40px, 3.6vw, 68px); overflow: visible; }
.carousel__track { display: flex; transition: transform .9s var(--ease); }
.stories__track { --sw: calc(var(--cw) * .515); --sg: clamp(40px, 5.4vw, 104px); gap: var(--sg); padding-left: calc((100vw - var(--cw)) / 2); }
.story { position: relative; flex: none; width: var(--sw); }
.story img, .story > p, .story blockquote { transition: opacity .6s var(--ease), color .6s var(--ease); }
.story:not(.is-active) img { opacity: .42; }
.story:not(.is-active) > p, .story:not(.is-active) blockquote { color: #6a6a6a; }
.story::after { content: ""; position: absolute; top: 0; bottom: 0; right: calc(var(--sg) / -2); width: 1px; background: var(--line); }
.story img { width: 100%; aspect-ratio: 832 / 390; object-fit: cover; border-radius: var(--radius); background: #e9e9e9; }
.story__name { margin-top: 30px; padding-left: 20px; font-size: 1rem; }
.story blockquote { margin-top: 14px; padding-left: 20px; font-size: var(--fs-quote); line-height: 1.55; max-width: 34em; }
.story__note { margin-top: 12px; padding-left: 20px; font-size: .9375rem; color: var(--muted); }

.progress { display: flex; align-items: center; gap: 24px; margin-top: 30px; }
.progress__bars { display: flex; align-items: center; gap: 10px; }
.progress__bars button { position: relative; height: 44px; width: 44px; }
.progress__bars button::before, .progress__bars button i { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; background: #d4d4d4; }
.progress__bars button i { background: var(--ink); transform: scaleX(0); transform-origin: left; }
.progress__bars button.is-active { width: clamp(160px, 19.5vw, 314px); }
.progress__bars button.is-active i { animation: fill var(--dur, 6s) linear forwards; }
.carousel.is-paused .progress__bars button.is-active i { animation-play-state: paused; }
.progress__count { font-size: .875rem; color: var(--muted); font-variant-numeric: tabular-nums; }
@keyframes fill { to { transform: scaleX(1); } }

/* ---------- Worn by ---------- */
.worn { padding: clamp(80px, 8.4vw, 160px) 0 clamp(80px, 9vw, 175px); }
.worn__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.worn h2 { font-size: var(--fs-h2); line-height: 1.22; letter-spacing: -.03em; max-width: 12em; }
.worn__arrows { display: flex; gap: 10px; }
.round-btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); font-size: 20px; transition: background-color .3s, opacity .3s; }
.round-btn:hover { background: var(--soft-2); }
.round-btn:disabled { opacity: .35; cursor: default; }
.rail--worn { --h: clamp(400px, 26.4vw, 506px); gap: 20px; margin-top: clamp(40px, 3.4vw, 64px); scroll-snap-type: x proximity; }
.ugc { position: relative; flex: none; height: var(--h); border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; background: #ddd; color: #fff; }
.ugc img { width: 100%; height: 100%; object-fit: cover; }
.ugc--s { width: calc(var(--h) * .593); }
.ugc--l { width: calc(var(--h) * .949); }
.ugc figcaption { position: absolute; inset: auto 0 0; display: flex; flex-direction: column; gap: 14px; padding: 60px 22px 22px; background: linear-gradient(0deg, rgba(0, 0, 0, .66), rgba(0, 0, 0, 0)); }
.ugc__quote { font-size: 1.125rem; line-height: 1.4; max-width: 20em; }
.ugc__mark { font-size: .8125rem; font-weight: 650; letter-spacing: .18em; text-transform: uppercase; }
.ugc .ugc__handle { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 2px 6px; font-size: 1rem; }
.ugc__handle svg { color: #fff; font-size: 16px; }
.ugc__handle small { flex-basis: 100%; color: rgba(255, 255, 255, .78); font-size: .875rem; }
.ugc-stack { flex: none; width: calc(var(--h) * .757); height: var(--h); display: flex; flex-direction: column; gap: 12px; scroll-snap-align: start; }
.ugc--top { height: 42%; }
.ugc-quote { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 24px; border-radius: var(--radius); background: var(--soft); text-align: center; }
.ugc-quote p { font-size: 1.0625rem; line-height: 1.55; max-width: 16em; }
.ugc-quote cite { font-style: normal; font-size: .875rem; font-weight: 650; letter-spacing: .18em; text-transform: uppercase; color: #555; }

/* ---------- Membership ---------- */
.plan { padding: clamp(40px, 4vw, 80px) 0 clamp(96px, 10vw, 190px); }
.plan__grid { display: grid; grid-template-columns: minmax(0, 750fr) minmax(0, 619fr); gap: clamp(40px, 6.6vw, 106px); align-items: center; }
.plan__viewport { border-radius: var(--radius); }
.plan__slide { flex: none; width: 100%; }
.plan__media { position: relative; aspect-ratio: 750 / 857; overflow: hidden; border-radius: var(--radius); background: #e5e6e6; container-type: size; }
.plan__media > img { width: 100%; height: 100%; object-fit: cover; }
/* Zoom the phone photo so the handset reads large, but keep the whole hand and wrist in frame.
   Phone centre is at 52.4% / 68.2% of the photo; it sits at 50% / 46% of the frame.
   At 1.32× the photo still reaches the frame's bottom edge (0.46 × 1.143 + 0.477 × 1.32 ≥ 1.143). */
.plan__media .stage {
  --z: 1.32;
  width: calc(100cqw * var(--z));
  left: calc(50cqw - 100cqw * var(--z) * .524);
  top: calc(46cqh - 100cqw * var(--z) * 1.5 * .682);
}
.plan .progress { margin-top: 18px; justify-content: space-between; }
.plan .progress__bars button.is-active { width: clamp(140px, 15vw, 288px); }
.screen--plan:not(.is-mapped) { border-radius: 9px; }
/* The same photo, clipped to the traced fingertip outline, layered over the screen so the
   finger stays in front of it (traced from skin pixels, plan-phone.webp at 1100 × 1650). */
.fingertip {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: url(assets/photos/plan-phone.webp) 0 0 / 100% 100% no-repeat;
  clip-path: polygon(40% 71.7576%, 40.4545% 71.7576%, 40.7818% 72.0606%, 41.0545% 72.303%, 41.4182% 72.5455%,
    41.6% 72.7879%, 41.7818% 73.0303%, 41.9636% 73.2727%, 42.1455% 73.5152%, 42.3273% 73.7576%, 42.4182% 74%,
    42.5091% 74.2424%, 42.5091% 74.4848%, 42.4182% 74.7273%, 42.4182% 74.9697%, 42.3273% 75.2121%, 42.1455% 75.4545%,
    41.9636% 75.697%, 41.6909% 75.9394%, 41.3273% 76.1818%, 40.8727% 76.3636%, 40.4545% 76.5455%, 40% 76.5455%);
}
.scr--score {
  align-items: center; text-align: center; padding: 13cqw 7cqw 7cqw; color: #fff;
  background: radial-gradient(90% 60% at 50% 34%, #a8471a 0%, #5b240f 55%, #2b130a 100%);
}
.scr__brand { font-size: 6cqw; }
.scr__ring {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 62cqw; aspect-ratio: 1; margin: 7cqw 0 6cqw; border-radius: 50%;
  border: 1.4cqw solid #ffb26b;
  box-shadow: 0 0 6cqw rgba(255, 150, 70, .8), inset 0 0 6cqw rgba(255, 150, 70, .55);
}
.scr__ring b { font-size: 20cqw; font-weight: 300; line-height: 1; letter-spacing: -.04em; }
.scr__ring small { font-size: 3.6cqw; opacity: .85; }
.scr__ring small + small { opacity: .6; font-size: 3cqw; }
.scr__line { font-size: 5.4cqw; font-weight: 450; line-height: 1.25; }
.scr__fine { margin-top: 3cqw; font-size: 3.2cqw; opacity: .7; }
.scr__continue { margin-top: auto; width: 100%; padding: 3cqw 0; border-radius: 3cqw; background: rgba(255, 255, 255, .16); font-size: 3.8cqw; }
.scr--score::before { background: #050505; }

.plan__body h2 { font-size: var(--fs-h2); line-height: 1.22; letter-spacing: -.03em; max-width: 10em; }
.plan__list { margin-top: 24px; display: flex; flex-direction: column; gap: 6px; color: #555; font-size: 1.0625rem; }
.plan__list li { position: relative; padding-left: 28px; }
.plan__list li::before { content: ""; position: absolute; left: 8px; top: .72em; width: 4px; height: 4px; border-radius: 50%; background: #9a9a9a; }
.plan__price { display: flex; align-items: center; gap: 16px; margin: 30px 0 22px; }
.plan__amount { font-size: clamp(3.5rem, 4.2vw, 5rem); font-weight: 400; letter-spacing: -.045em; line-height: 1; }
.plan__per { display: flex; flex-direction: column; font-size: 1rem; line-height: 1.4; color: var(--muted); }
.plan__per b { font-weight: 400; color: var(--ink); }
.plan__badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin-top: 18px; font-size: .9375rem; color: #444; }
.plan__badges li { display: flex; align-items: center; gap: 8px; }
.plan__badges svg { font-size: 18px; color: #6b6b6b; }
.plan__fine { margin-top: 20px; text-align: center; font-size: .8125rem; color: var(--muted); }

/* ---------- Finale: CTA + footer ---------- */
.finale { position: relative; isolation: isolate; padding-bottom: 28px; background: var(--night); }
.finale__media { position: absolute; inset: 0 0 auto; height: calc(clamp(560px, 48vw, 923px) + 26vw); z-index: -1; overflow: hidden; }
.finale__media img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; object-position: 60% 30%; will-change: transform; }
.finale__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 8, 6, .55) 0%, rgba(10, 8, 6, 0) 45%),
    linear-gradient(180deg, rgba(10, 8, 6, 0) 45%, rgba(10, 8, 6, .55) 72%, var(--night) 100%);
}
.cta {
  min-height: clamp(560px, 48vw, 923px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px var(--gutter) 120px clamp(20px, 10vw, 192px);
  color: #fff;
}
.cta h2 { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -.035em; max-width: 6.6em; }
.cta .hero__cta { margin-top: 30px; }

.footer {
  margin: 0 18px; padding: clamp(48px, 5.4vw, 104px) clamp(20px, 2.6vw, 49px) clamp(48px, 7vw, 132px);
  border-radius: var(--radius); background: #fff; color: var(--ink);
}
.footer__grid { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, minmax(0, 18.3%)); gap: 48px 0; }
.footer__intro { max-width: 580px; padding-right: 32px; }
.footer__logo { display: inline-block; font-size: 34px; }
.footer__pitch { margin-top: 26px; font-size: .9375rem; color: var(--muted); max-width: 33em; }
.footer__pitch b { font-weight: 450; color: var(--ink); }
.signup { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.signup__field { position: relative; flex: 1 1 260px; }
.signup input {
  width: 100%; height: 58px; padding: 0 48px 0 16px; border-radius: var(--radius);
  border: 1px solid #dcdcdc; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
}
.signup input::placeholder { color: #8a8a8a; }
.signup input:focus-visible { outline: 2px solid var(--ember); outline-offset: 1px; }
.signup__field svg { position: absolute; right: 16px; top: 50%; margin-top: -10px; font-size: 20px; color: #666; }
.signup .btn { min-height: 58px; border-radius: var(--radius); }
.signup__msg { flex-basis: 100%; min-height: 1.4em; font-size: .9375rem; color: var(--muted); }
.signup__msg.is-error { color: #b3261e; }
.footer__cards { display: flex; gap: 8px; margin-top: 22px; }
.mini-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
  width: 188px; padding: 8px 8px 12px; border: 1px solid var(--line); border-radius: var(--radius);
  text-align: left; font-size: .875rem; line-height: 1.3; transition: border-color .3s;
}
.mini-card:hover { border-color: #c9c9c9; }
.mini-card small { display: block; color: var(--muted); margin-top: 2px; font-size: .8125rem; }
.mini-card__swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; height: 64px; }
.mini-card__swatches i { border-radius: 4px; }
.mini-card__swatches i:nth-child(1) { background: #3a2e27; }
.mini-card__swatches i:nth-child(2) { background: #b88a5e; }
.mini-card__swatches i:nth-child(3) { background: #d9cfc2; }
.mini-card__swatches i:nth-child(4) { background: #5a6270; }
.mini-card__thumb { position: relative; height: 64px; border-radius: 6px; overflow: hidden; }
.mini-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-card__thumb i { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 18px; background: rgba(0, 0, 0, .2); }
.footer__ask { margin-top: 28px; font-size: .9375rem; }
.footer__icons { display: flex; gap: 6px; margin-top: 10px; }
.footer__icons button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius); background: var(--soft); border: 1px solid #efefef; font-size: 18px; color: #555; transition: background-color .3s, color .3s; }
.footer__icons button:hover { background: var(--soft-2); color: var(--ink); }

.footer__col { display: flex; flex-direction: column; gap: 34px; }
.footer__col h3 { font-size: .9375rem; letter-spacing: 0; color: #6b6b6b; margin-bottom: 4px; }
.footer__col li { display: flex; align-items: center; gap: 8px; }
.footer__col a, .footer__col li > button { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; font-size: .9375rem; text-align: left; line-height: 1.3; transition: opacity .3s; }
.footer__col ul { display: flex; flex-direction: column; }
.footer__col a:hover, .footer__col li > button:hover { opacity: .6; }
.footer__social svg { font-size: 18px; color: #555; }
.tag { font-size: .75rem; color: var(--ember-deep); white-space: nowrap; }
.footer__col li { flex-wrap: wrap; column-gap: 8px; }

.footer__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .8125rem; color: #6f6f6f; }
.footer__base ul { display: flex; gap: 20px; }
.footer__base button { min-height: 44px; min-width: 44px; transition: color .3s; }
.footer__base button:hover { color: var(--ink); }
.footer__seal { display: flex; align-items: center; gap: 12px; }
.footer__seal span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #ececec; color: #777; font-size: 18px; }

/* ---------- Dialog ---------- */
.info {
  width: min(460px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 16px;
  color: var(--ink); background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
}
.info::backdrop { background: rgba(10, 8, 6, .55); }
.info form { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 32px; }
.info h2 { font-size: 1.75rem; line-height: 1.2; letter-spacing: -.025em; }
.info p { color: #555; line-height: 1.6; }
.info .btn { min-height: 48px; margin-top: 8px; }
.info[open] { animation: pop .45s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }

/* ---------- Motion hooks (GSAP) ---------- */
.anim-pending .hero .reveal, .anim-pending .nav { opacity: 0; }
.is-tweening { transition: none !important; }
/* Each sticky panel gets its own GPU layer, so the scrubbed scale-back is composited
   instead of repainting the whole panel (photo included) on every frame. */
.panel { transform-origin: 50% 0; will-change: transform; }
.stage { transform-origin: 50% 50%; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
  .ui-progress { width: 290px; }
  .ui-chat { width: 280px; font-size: .875rem; }
  .footer__grid { grid-template-columns: minmax(0, 1fr) repeat(3, minmax(0, 20%)); }
}

@media (max-width: 1100px) {
  .nav__links, .bar__links { display: none; }
  .nav, .bar__inner { grid-template-columns: auto 1fr; }
  .nav__logo, .bar__logo { justify-self: start; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 8px; }
  .panel__index { display: none; }
  .ui-chat { left: 58% !important; }
  .plan__grid { grid-template-columns: 1fr; }
  .plan__gallery { max-width: 640px; }
  .plan__body { max-width: 640px; }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__intro { grid-column: 1 / -1; max-width: 640px; padding-right: 0; }
}

@media (max-width: 799px) {
  :root { --inset: 8px; }
  .announce { font-size: .9375rem; height: 52px; }
  .announce__long { display: none; }
  .announce__short { display: inline; }
  .nav-login { display: none; }
  .nav { height: 76px; }
  .nav__logo { font-size: 30px; }
  .nav .btn--sm, .bar .btn--sm { min-height: 44px; padding: 0 18px; font-size: .875rem; }
  .bar__inner { height: 64px; }
  .bar__logo { font-size: 28px; }

  .hero { min-height: calc(100svh - 52px - var(--inset)); padding: 0 20px; }
  .hero__media img { object-position: 57% 50%; }
  .hero__media::after {
    background:
      radial-gradient(ellipse 80% 40% at 58% 36%, rgba(18, 12, 8, 0) 0%, rgba(18, 12, 8, 0) 55%, rgba(14, 9, 6, .55) 100%),
      linear-gradient(0deg, rgba(14, 9, 6, .94) 0%, rgba(14, 9, 6, .78) 34%, rgba(14, 9, 6, .2) 58%, rgba(14, 9, 6, .35) 100%);
  }
  .hero__copy { margin: auto 0 0; padding: 0 0 26px; }
  .hero h1 { font-size: clamp(2.375rem, min(10.6vw, 5.6svh), 3.5rem); }
  .hero__sub br { display: none; }
  .hero__cta { flex-direction: column; gap: 10px; }
  .hero__cta .btn { width: 100%; min-height: 54px; }
  .hero__stats { padding-bottom: 22px; }
  .hero__stats li { flex: 1; padding: 0 10px; font-size: .8125rem; line-height: 1.4; }
  .hero__stats li:first-child { padding-left: 0; }
  .hero__stats strong { margin-bottom: 2px; }

  .mills { padding-top: 48px; }
  .mills__lead { flex-direction: column; gap: 10px; }
  .marquee { margin-top: 14px; }

  .how { padding: 72px 0 72px; }
  .steps {
    display: flex; overflow-x: auto; gap: 10px; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc((100vw - var(--cw)) / -2); padding-inline: calc((100vw - var(--cw)) / 2);
    scroll-padding-inline: calc((100vw - var(--cw)) / 2);
  }
  .steps::-webkit-scrollbar { display: none; }
  .step { flex: none; width: min(80vw, 340px); scroll-snap-align: start; }
  .step p { font-size: 1rem; }

  .panel__body { padding: 0 20px 20px; }
  .faq button { min-height: 60px; padding-left: 18px; }

  .value { padding: 88px 16px; }
  .value__table { font-size: .9375rem; }
  .value__table th, .value__table td { height: auto; min-height: 48px; padding: 12px 12px; }
  .value__table th { width: 50%; }
  .value .btn { width: 100%; }

  .person { grid-template-columns: 1fr; gap: 20px; width: min(78vw, 320px); padding-right: 20px; margin-right: 20px; }
  .person__photo { width: 100%; height: auto; aspect-ratio: 4 / 4.4; }
  .person__mark { margin-bottom: 18px; }

  .stories__track { --sw: min(84vw, 520px); --sg: 32px; }
  .story__name, .story blockquote, .story__note { padding-left: 4px; }
  .story img { aspect-ratio: 4 / 3; }
  .progress { gap: 16px; }
  .progress__bars { gap: 6px; }
  .progress__bars button { width: 44px; }
  .progress__bars button.is-active { width: 96px; }
  .plan .progress__bars button.is-active { width: 96px; }

  .worn__arrows { display: none; }
  .rail--worn { --h: 420px; gap: 10px; }

  .plan { padding-top: 24px; }
  .plan__price { margin: 24px 0 18px; }
  .plan__badges { gap: 8px 16px; }

  .finale { padding-bottom: 8px; }
  .finale__media { height: calc(82svh + 140px); }
  .finale__media img { object-position: 62% 30%; }
  .mills__lead h2 { max-width: 22em; }
  .finale__media::after { background: linear-gradient(180deg, rgba(10, 8, 6, .1) 0%, rgba(10, 8, 6, .55) 38%, rgba(10, 8, 6, .9) 60%); }
  .cta { min-height: 82svh; justify-content: flex-end; padding: 64px 20px 56px; }
  .cta h2 { font-size: clamp(2.5rem, 11vw, 3.5rem); }
  .footer { margin: 0 8px; padding: 40px 20px 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .footer__col:last-child { grid-column: 1 / -1; }
  .footer__cards { flex-wrap: wrap; }
  .mini-card { flex: 1 1 140px; width: auto; }
  .signup .btn { width: 100%; }
  .footer__base { flex-direction: column; align-items: flex-start; }
}

/* Phones, portrait tablets and very short windows: photo on top, copy below, no sticky stacking */
@media (max-width: 799px), (max-width: 1100px) and (max-aspect-ratio: 1/1), (max-height: 699px) {
  .panels { --ph: auto; }
  .panel { position: relative; top: auto; height: auto; min-height: 0; margin-bottom: 10px; will-change: auto; }
  .panel__media { position: relative; height: min(64svh, 72vw, 640px); }
  .panel--dark .panel__media::after { background: linear-gradient(0deg, #1a120c 0%, rgba(26, 18, 12, 0) 34%); }
  .panel--light .panel__media::after { background: linear-gradient(0deg, #eeece8 0%, rgba(238, 236, 232, 0) 34%); }
  #panel-1 .stage { --px: .3 !important; }
  #panel-2 .stage { --px: .52 !important; }
  #panel-3 .stage { --px: .66 !important; }
  #panel-4 .stage { --px: .52 !important; }
  .ui-progress, .ui-chat { display: none; }
  .panel__body { height: auto; margin-top: -64px; padding-top: 0; }
  .panel__body::before { display: none; }
  .panel__index { margin-top: 0; }
  .panel__copy p { margin-top: 12px; }
  .faqs { padding-top: 26px; width: min(578px, 100%); }
}

@media (max-width: 380px) {
  .hero__stats li { padding: 0 6px; }
  .nav .btn--sm { padding: 0 14px; }
}

/* short desktop windows: keep the hero on one screen */
@media (min-width: 800px) and (max-height: 760px) {
  .nav { height: 84px; }
  .hero__stats { padding-bottom: 28px; }
  .hero__copy { padding-bottom: 24px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .marquee__track { animation: none !important; transform: none !important; width: 100%; justify-content: center; }
  .marquee__track li:nth-child(n+7) { display: none; }
  .marquee::before, .marquee::after { display: none; }
  .announce__icon { animation: none !important; }
  .anim-pending .hero .reveal, .anim-pending .nav { opacity: 1; }
  .progress__bars button.is-active i { animation: none !important; transform: scaleX(1); }
}
