/* The Lion AI landing page.
   Tokens first. Every component reads from them; do not hard-code new colours or sizes. */

/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face {
  font-family: "Anek";
  src: url("/lion/fonts/anek-latin-var.woff2") format("woff2");
  font-weight: 100 800;
  font-stretch: 75% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
/* Indic faces are fixed-weight files, subset to the exact strings on this page.
   If any Hindi, Telugu or Tamil text changes, rebuild them (see docs/landing/LION_LANDING.md). */
@font-face {
  font-family: "Anek";
  src: url("/lion/fonts/anek-devanagari-subset.woff2") format("woff2");
  font-weight: 100 800;
  font-stretch: 75% 125%;
  font-display: swap;
  unicode-range: U+0900-097F;
}
@font-face {
  font-family: "Anek";
  src: url("/lion/fonts/anek-telugu-subset.woff2") format("woff2");
  font-weight: 100 800;
  font-stretch: 75% 125%;
  font-display: swap;
  unicode-range: U+0C00-0C7F, U+200C-200D;
}
@font-face {
  font-family: "Anek";
  src: url("/lion/fonts/anek-tamil-subset.woff2") format("woff2");
  font-weight: 100 800;
  font-stretch: 75% 125%;
  font-display: swap;
  unicode-range: U+0B80-0BFF;
}
@font-face {
  font-family: "Fraunces";
  src: url("/lion/fonts/fraunces-italic-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --night: #0A0908;
  --obsidian: #14110F;
  --ivory: #F2ECE0;
  --smoke: #9A9388;
  --gold: #B8862F;
  --gold-hi: #E3BE6B;
  --ember: #FF5A1F;
  --oxblood: #7D1D1D;
  --paper: #F2ECE0;
  --ink: #1B1713;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --pad: clamp(20px, 5vw, 72px);

  /* Type scale. Headlines follow the width AND the height of the screen, so a wide but short laptop
     screen (1280 x 585) gets smaller headlines than a tall monitor of the same width. */
  --fs-hero: clamp(2.6rem, min(6.4vw, 13svh), 6.75rem);
  --fs-h2: clamp(2rem, min(3.6vw + 0.85rem, 9svh), 4.4rem);
  --fs-h2-sm: clamp(1.7rem, min(2.3vw + 0.7rem, 6svh), 2.9rem);
  --fs-h3: clamp(1.55rem, min(2.7vw + 0.7rem, 6.8svh), 3.4rem);
  --fs-lede: clamp(1.0625rem, 1.38vw, 1.3rem);
  --fs-body: clamp(1rem, 1.05vw, 1.0625rem);
  --fs-small: 0.8125rem;
  --fs-label: 0.6875rem;
  /* The headline voice: semi-bold, a little wide, upper case. (It was weight 800 at width 125: too loud.) */
  --display-w: 640;
  --display-x: 114%;
  --display-track: -0.012em;

  --ease-prowl: cubic-bezier(0.65, 0, 0.15, 1);
  --ease-pounce: cubic-bezier(0.2, 0.9, 0.2, 1);
  --hair: rgba(242, 236, 224, 0.14);
  --hair-gold: rgba(227, 190, 107, 0.42);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--night); color: var(--ivory); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font-family: "Anek", system-ui, "Segoe UI", Roboto, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-loading { overflow: hidden; height: 100svh; }
img, picture, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, p, ol, ul, dl, dd, blockquote, fieldset { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold-hi); color: var(--night); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 200; background: var(--ivory); color: var(--night); padding: 12px 18px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { position: relative; z-index: 2; width: min(100% - 2 * var(--pad), 1320px); margin-inline: auto; }
.gold { color: var(--gold-hi); }

.eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.9em;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold-hi); margin-bottom: var(--s4);
}
.eyebrow i { width: 18px; height: 1px; background: currentColor; opacity: 0.6; }
.display {
  font-size: var(--fs-h2); font-weight: var(--display-w); font-stretch: var(--display-x);
  line-height: 1; letter-spacing: var(--display-track); text-transform: uppercase; text-wrap: balance;
}
.display em { font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 500; text-transform: none; letter-spacing: -0.01em; color: var(--gold-hi); }
.display--sm { font-size: var(--fs-h2-sm); }
.lede { font-size: var(--fs-lede); line-height: 1.5; max-width: 44ch; color: rgba(242, 236, 224, 0.88); margin-top: var(--s4); }
.nb { white-space: nowrap; }
/* One sentence of a headline: its own block, so each sentence balances its own lines. */
.display .ln { display: block; }
.note { font-size: 0.875rem; color: var(--smoke); margin-top: var(--s4); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-size: 0.78rem; font-weight: 650; font-stretch: 108%; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-pounce), background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.6) 50%, transparent 65%);
  transform: translateX(-130%);
}
.btn:hover::after { transform: translateX(130%); transition: transform 0.75s var(--ease-prowl); }
.btn:active { transform: scale(0.97); }
.btn--gold { background: #D2AC57; color: var(--night); }
.btn--gold:hover { background: var(--gold-hi); }
.btn--line { border-color: rgba(242, 236, 224, 0.4); color: var(--ivory); }
.btn--line:hover { border-color: var(--ivory); }
.btn--ink { background: var(--ink); color: var(--paper); margin-top: var(--s5); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 0.72rem; }
.btn--xl { min-height: 56px; padding: 0 38px; font-size: 0.86rem; }
.btn[aria-disabled="true"] { opacity: 0.4; pointer-events: none; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid rgba(242, 236, 224, 0.32); background: transparent; color: var(--ivory);
  font-size: 0.94rem; font-weight: 500; cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover { border-color: var(--ivory); }
.chip.is-on { background: var(--ivory); color: var(--night); border-color: var(--ivory); }

/* ---------- Scene 0: loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--night);
  display: grid; place-items: center; align-content: center; gap: var(--s5);
  transition: opacity 0.9s var(--ease-prowl), visibility 0.9s;
}
body:not(.is-loading) .loader { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__dial { width: min(58vw, 250px); height: auto; overflow: visible; }
.loader__arc { fill: none; stroke: var(--hair); stroke-width: 3; stroke-linecap: round; transition: opacity 0.4s; }
.loader__arc--fill { stroke: var(--gold-hi); stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--lp, 0)); }
.loader__red { fill: none; stroke: var(--ember); stroke-width: 3; stroke-linecap: round; opacity: 0.85; transition: opacity 0.4s; }
.loader__needle { transform-origin: 120px 120px; transform: rotate(calc(-123deg + var(--lp, 0) * 2.46deg)); transition: opacity 0.4s; }
.loader__needle line { stroke: var(--ivory); stroke-width: 2.5; stroke-linecap: round; }
.loader__needle circle { fill: var(--ivory); }
.loader__eyes path {
  fill: var(--ember); transform-box: fill-box; transform-origin: center; transform: scaleY(0); opacity: 0;
  filter: drop-shadow(0 0 10px rgba(255, 90, 31, 0.9));
  transition: transform 0.5s var(--ease-pounce), opacity 0.3s;
}
.loader.is-awake .loader__eyes path { transform: scaleY(1); opacity: 1; }
.loader.is-awake .loader__needle, .loader.is-awake .loader__arc, .loader.is-awake .loader__red { opacity: 0.15; }
.loader__text { font-size: var(--fs-small); letter-spacing: 0.3em; text-transform: uppercase; color: var(--smoke); }
.loader__pct { display: inline-block; min-width: 3ch; margin-left: 1em; color: var(--ivory); font-variant-numeric: tabular-nums; text-align: right; }

/* ---------- Fixed chrome ---------- */
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.08;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 70; }
.progress i { display: block; height: 100%; background: var(--gold-hi); transform-origin: left; transform: scaleX(var(--p, 0)); }
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  padding: 14px var(--pad);
  background: linear-gradient(180deg, rgba(10, 9, 8, 0.78), rgba(10, 9, 8, 0));
  pointer-events: none;
}
.bar > * { pointer-events: auto; }
.bar__brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-weight: 700; font-stretch: 112%; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.86rem; }
.bar__brand img { width: 32px; height: 32px; border-radius: 8px; }
.bar__brand b { color: var(--gold-hi); font-weight: 700; }
.bar__side { display: flex; align-items: center; gap: var(--s2); }
/* The existing app (and its Google sign-in) lives at /app. */
.bar__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: var(--ivory); transition: color 0.2s; }
.bar__link:hover { color: var(--gold-hi); }
@media (max-width: 479px) { .bar__link { padding: 0 8px; letter-spacing: 0.1em; font-size: 0.68rem; } }

.rail { position: fixed; right: 14px; top: 50%; z-index: 40; transform: translateY(-50%); }
.rail ol { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.rail a { position: relative; display: block; width: 44px; height: 20px; text-decoration: none; }
.rail a::before {
  content: ""; position: absolute; right: 0; top: 9px; height: 2px; width: 12px;
  background: rgba(242, 236, 224, 0.32); transition: width 0.35s var(--ease-pounce), background-color 0.35s;
}
.rail a span {
  position: absolute; right: 52px; top: 50%; transform: translateY(-50%) translateX(8px);
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap; color: var(--ivory);
  background: rgba(10, 9, 8, 0.85); padding: 4px 10px; border-radius: 999px;
  opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s;
}
.rail a:hover span, .rail a:focus-visible span { opacity: 1; transform: translateY(-50%); }
.rail a:hover::before { width: 24px; background: var(--ivory); }
.rail a.is-active::before { width: 30px; background: var(--gold-hi); }

/* ---------- Scene shell ---------- */
.scene { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: clip; padding: var(--s10) 0; }
.scene__bg { position: absolute; inset: 0; z-index: 0; }
.scene__bg img { width: 100%; height: 100%; object-fit: cover; }
.scene__veil { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, var(--night) 0%, rgba(10, 9, 8, 0.62) 24%, rgba(10, 9, 8, 0.62) 76%, var(--night) 100%); }
.scene__veil--soft { background: linear-gradient(180deg, var(--night) 0%, rgba(10, 9, 8, 0.15) 22%, rgba(10, 9, 8, 0.2) 55%, rgba(10, 9, 8, 0.92) 100%); }
.scene__veil--left { background: linear-gradient(90deg, rgba(10, 9, 8, 0.94) 0%, rgba(10, 9, 8, 0.7) 42%, rgba(10, 9, 8, 0.1) 78%), linear-gradient(180deg, var(--night) 0%, transparent 18%, transparent 82%, var(--night) 100%); }
.scene__veil--bottom { background: linear-gradient(180deg, var(--night) 0%, rgba(10, 9, 8, 0.1) 22%, rgba(10, 9, 8, 0.25) 52%, rgba(10, 9, 8, 0.96) 100%); }

html.js [data-reveal] { opacity: 0; transform: translateY(28px); }
html.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 0.9s var(--ease-prowl), transform 0.9s var(--ease-prowl); }

/* ---------- Scene 1: hero ---------- */
.hero { height: 100svh; min-height: 560px; padding: 0; display: block; }
/* --px, --py: the light's parallax. --sy: the picture nearly stays put while the page scrolls, so the Lion is still in view
   while it turns to watch the visitor walk in. --hz: scroll zoom. --tz: the camera easing in when it notices (portrait phones). */
.hero__stage { position: absolute; inset: -3%; transform: translate3d(var(--px, 0px), calc(var(--py, 0px) + var(--sy, 0px)), 0) scale(calc(var(--hz, 1) * var(--tz, 1))); will-change: transform; }
.hero__img { position: absolute; inset: 0; }
/* As the page scrolls, the picture stays while the hero's frame moves off, so its own bottom shade is cut away.
   This one belongs to the frame: it fades in with the scroll and joins the hero to the dark top of the next scene. */
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 42%; z-index: 2; pointer-events: none; opacity: var(--sf, 0);
  background: linear-gradient(0deg, var(--night) 0%, rgba(10, 9, 8, 0.86) 26%, rgba(10, 9, 8, 0) 100%);
}
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
/* Portrait phones: no clip. When the Lion notices you its eyes flare (an eyes-only copy of the picture) and the camera eases in. */
.hero__eyes { display: none; position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s var(--ease-prowl); }
.hero__eyes img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: brightness(1.5) saturate(1.2) drop-shadow(0 0 5px rgba(255, 120, 40, 0.95)) drop-shadow(0 0 16px rgba(255, 90, 31, 0.7)); }
.hero.is-noticed .hero__eyes { opacity: 1; }
/* The clip of the Lion turning to look at you is built exactly like the stills, so the two can swap unseen:
   the video is the dim layer, a canvas that repeats each frame is the lit layer. They share the rules below. */
.hero__film { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.35s linear, visibility 0s linear 0.35s; }
.hero.is-film .hero__film { opacity: 1; visibility: visible; transition: opacity 0.2s linear, visibility 0s; }
.hero__film-v, .hero__film-lit { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.hero__img--base img, .hero__film-v { filter: brightness(0.4) saturate(0.85) contrast(1.05); }
.hero__img--lit, .hero__film-lit {
  -webkit-mask-image: radial-gradient(circle at var(--mx, 68%) var(--my, 42%), #000 0, rgba(0, 0, 0, 0.72) 16%, transparent 44%);
  mask-image: radial-gradient(circle at var(--mx, 68%) var(--my, 42%), #000 0, rgba(0, 0, 0, 0.72) 16%, transparent 44%);
}
.hero__img--lit img, .hero__film-lit { filter: brightness(1.12) contrast(1.04); }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 9, 8, 0.9) 0%, rgba(10, 9, 8, 0.5) 36%, rgba(10, 9, 8, 0) 60%),
    linear-gradient(0deg, rgba(10, 9, 8, 0.95) 0%, rgba(10, 9, 8, 0) 32%);
  opacity: calc(1 + var(--hd, 0));
}
.hero__copy { position: absolute; z-index: 3; left: var(--pad); bottom: clamp(72px, 13svh, 150px); max-width: min(64vw, 1000px); }
.hero__title { min-height: 1.1em; display: flex; align-items: flex-end; font-size: var(--fs-hero); margin-bottom: var(--s4); }
.hero__title-live {
  display: block; font-weight: var(--display-w); font-stretch: var(--display-x); line-height: 0.98; letter-spacing: var(--display-track); text-transform: uppercase;
  transition: clip-path 0.55s var(--ease-prowl), opacity 0.4s;
  clip-path: inset(0 0 -10% 0);
}
.hero__title-live.is-out { clip-path: inset(0 100% -10% 0); opacity: 0; }
.hero__title-live.is-alt { font-size: 0.56em; line-height: 1.3; font-stretch: 100%; letter-spacing: 0; text-transform: none; white-space: nowrap; color: var(--gold-hi); }
.hero__sub { font-size: var(--fs-lede); line-height: 1.5; max-width: 36ch; color: rgba(242, 236, 224, 0.88); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.hero__hint { position: absolute; z-index: 3; right: var(--pad); bottom: 30px; display: grid; justify-items: end; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--smoke); }
.hero__hint > span { grid-area: 1 / 1; transition: opacity 0.45s, transform 0.6s var(--ease-prowl); }
/* While the Lion is looking at you, the hint says so. */
.hero__seen { opacity: 0; transform: translateY(8px); font-weight: 600; letter-spacing: 0.32em; color: var(--gold-hi); }
.hero.is-seen .hero__hint > span:not(.hero__seen) { opacity: 0; transform: translateY(-8px); }
.hero.is-seen .hero__seen { opacity: 1; transform: none; }
.for-touch { display: none; }

/* ---------- Scene 2: office ---------- */
.office__copy { padding-top: var(--s7); }
.plate {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  max-width: 940px; margin: var(--s8) 0; background: var(--hair-gold); border: 1px solid var(--hair-gold);
}
.plate li { background: rgba(16, 13, 11, 0.9); padding: var(--s5); }
.plate span { display: block; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--smoke); margin-bottom: var(--s2); }
.plate strong { display: block; font-size: clamp(1.05rem, 1.45vw, 1.4rem); font-weight: 600; font-stretch: 108%; line-height: 1.2; }
.kinetic { font-size: var(--fs-h3); font-weight: var(--display-w); font-stretch: var(--display-x); line-height: 1.08; letter-spacing: var(--display-track); text-transform: uppercase; max-width: 22ch; }
.kinetic .w { color: rgba(242, 236, 224, 0.16); transition: color 0.3s; }
.kinetic .w.is-lit { color: var(--ivory); }

/* ---------- Scene 3: hunt ---------- */
.hunt, .close { display: block; padding: 0; min-height: 0; }
.hunt__pin { position: relative; height: 100svh; min-height: 560px; overflow: hidden; display: flex; align-items: flex-end; }
.hunt__canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; }
.hunt__copy { padding-bottom: clamp(48px, 9svh, 110px); }
.hunt__copy .display { max-width: 15ch; }
.hunt__count { margin-top: var(--s5); display: flex; flex-wrap: wrap; align-items: center; gap: 0.7em; font-size: var(--fs-small); letter-spacing: 0.16em; text-transform: uppercase; color: var(--smoke); }
.hunt__count b { font-size: 1.35rem; font-weight: 650; color: var(--ivory); font-variant-numeric: tabular-nums; min-width: 2.2ch; text-align: right; }
.hunt__count b.gold { color: var(--gold-hi); }
.hunt__count i { width: 18px; height: 1px; background: currentColor; }
.hunt__rows { position: absolute; z-index: 2; right: calc(var(--pad) + 40px); top: 50%; transform: translateY(-50%); width: min(320px, 28vw); list-style: none; padding: 4px 18px; background: rgba(10, 9, 8, 0.8); border: 1px solid var(--hair-gold); border-radius: 14px; opacity: 0; transition: opacity 0.4s; }
.hunt__rows.has-rows { opacity: 1; }
.hunt__rows li { display: grid; gap: 2px; padding: 11px 0; border-top: 1px solid var(--hair); font-size: var(--fs-small); color: var(--smoke); opacity: 0; transform: translateX(26px); transition: opacity 0.5s, transform 0.5s var(--ease-pounce); }
.hunt__rows li.is-in { opacity: 1; transform: none; }
.hunt__rows li:first-child { border-top: 0; }
.hunt__rows b { color: var(--gold-hi); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- Scene 4: voice ---------- */
.voice__bg img { object-position: 78% 40%; }
.voice__copy > * { max-width: 700px; }
.voice__copy .chips { margin-top: var(--s6); }
.voice__line { display: flex; align-items: center; gap: 18px; min-height: 6.4em; margin-top: var(--s5); }
.voice__line p { font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 400; font-size: clamp(1.4rem, 2.5vw, 2.3rem); line-height: 1.25; transition: opacity 0.35s; }
.voice__line p[lang]:not([lang="en"]) { font-family: "Anek", system-ui, sans-serif; font-style: normal; font-weight: 500; line-height: 1.5; }
.voice__line p.is-out { opacity: 0; }
.wave { display: inline-flex; align-items: center; gap: 4px; height: 44px; flex: none; }
.wave i { width: 3px; height: 100%; border-radius: 2px; background: var(--gold-hi); transform: scaleY(0.25); animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: -0.9s; } .wave i:nth-child(3) { animation-delay: -0.3s; } .wave i:nth-child(4) { animation-delay: -0.7s; }
.wave i:nth-child(5) { animation-delay: -0.15s; } .wave i:nth-child(6) { animation-delay: -0.55s; } .wave i:nth-child(7) { animation-delay: -1s; }
@keyframes wave { 0%, 100% { transform: scaleY(0.2); } 50% { transform: scaleY(1); } }

/* ---------- Scene 5: memory ---------- */
.memory { background: var(--obsidian); }
.memory .display { max-width: 18ch; }
.sheet { margin-top: var(--s8); border-top: 1px solid var(--hair-gold); font-variant-numeric: tabular-nums; }
.sheet__row {
  display: grid; grid-template-columns: 1.3fr 1.1fr 1.5fr 1fr 1.1fr; gap: var(--s4); align-items: baseline;
  width: 100%; padding: 17px 8px; border: 0; border-bottom: 1px solid var(--hair);
  background: none; text-align: left; cursor: pointer; transition: background-color 0.25s;
}
.sheet__row > span:first-child { font-weight: 700; }
.sheet__row > span:nth-child(5) { color: var(--gold-hi); }
.sheet__row:hover:not(.sheet__row--head) { background: rgba(227, 190, 107, 0.07); }
.sheet__row--head { cursor: default; padding-block: 12px; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--smoke); }
.sheet__row--head > span:first-child { font-weight: 600; }
.sheet__row--head > span:nth-child(5) { color: var(--smoke); }
.sheet__more { grid-column: 1 / -1; display: none; padding-top: 6px; font-family: "Fraunces", Georgia, serif; font-style: italic; font-size: 1.05rem; color: var(--ivory); }
.sheet__row[aria-expanded="true"] { background: rgba(227, 190, 107, 0.07); }
.sheet__row[aria-expanded="true"] .sheet__more { display: block; }
html.js .sheet__row:not(.sheet__row--head) { opacity: 0; transform: translateY(14px); }
html.js .sheet__row.is-in { opacity: 1; transform: none; transition: opacity 0.6s, transform 0.6s var(--ease-pounce), background-color 0.25s; }

/* ---------- Scene 6: close ---------- */
.close__pin { height: 100svh; min-height: 560px; display: flex; align-items: center; background: radial-gradient(120% 80% at 50% 110%, rgba(184, 134, 47, 0.16), transparent 60%), var(--night); }
.close__pin .display { max-width: 16ch; }
.track { position: relative; margin-top: clamp(64px, 12svh, 130px); }
.track__inner { position: relative; margin-right: clamp(110px, 14vw, 180px); }
.track__line { position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: var(--hair); }
.track__line i { position: absolute; inset: 0; background: var(--gold-hi); transform-origin: left; transform: scaleX(var(--tp, 0)); }
.track__gates { list-style: none; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.track__gates li { position: relative; padding-top: 44px; color: var(--smoke); transition: color 0.35s; }
.track__gates li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid rgba(242, 236, 224, 0.3); background: var(--night); transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.track__gates li.is-lit { color: var(--ivory); }
.track__gates li.is-lit::before { background: var(--gold-hi); border-color: var(--gold-hi); box-shadow: 0 0 0 7px rgba(227, 190, 107, 0.16); }
.track__gates b { display: block; font-size: 0.72rem; letter-spacing: 0.2em; color: var(--gold-hi); font-weight: 600; }
.track__gates span { display: block; font-size: clamp(0.72rem, 1.6vw, 1.4rem); font-weight: var(--display-w); font-stretch: var(--display-x); text-transform: uppercase; letter-spacing: 0; }
.track__runner {
  position: absolute; top: 0; left: calc(var(--tp, 0) * 100%); width: 20px; height: 20px; margin-left: -10px; border-radius: 50%;
  background: var(--ember); box-shadow: 0 0 26px 7px rgba(255, 90, 31, 0.55);
}
.seal {
  position: absolute; right: 0; top: -46px; width: clamp(92px, 12vw, 150px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; border: 3px double var(--gold-hi); color: var(--gold-hi);
  font-size: clamp(0.9rem, 1.5vw, 1.3rem); font-weight: 700; font-stretch: 118%; letter-spacing: 0.22em; text-transform: uppercase;
  opacity: 0; transform: scale(2.3) rotate(-26deg);
}
.seal span { padding-left: 0.22em; }
.seal.is-on { opacity: 1; transform: scale(1) rotate(-12deg); transition: transform 0.38s var(--ease-pounce), opacity 0.12s; }

/* ---------- Scene 7: pride ---------- */
.pride { justify-content: center; text-align: center; }
.pride__copy .eyebrow { justify-content: center; }
.pride__copy .lede { margin-inline: auto; }
.pride__orbit { --R: min(86vw, 640px); position: absolute; left: 50%; top: 50%; width: var(--R); aspect-ratio: 1; transform: translate(-50%, -50%); z-index: 0; }
.pride__orbit i { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 18px 4px rgba(227, 190, 107, 0.45); animation: orbit 26s linear infinite; }
.pride__orbit i:nth-child(1) { --r: 0.44; animation-delay: -2s; } .pride__orbit i:nth-child(2) { --r: 0.48; animation-delay: -6s; }
.pride__orbit i:nth-child(3) { --r: 0.40; animation-delay: -9s; } .pride__orbit i:nth-child(4) { --r: 0.46; animation-delay: -13s; }
.pride__orbit i:nth-child(5) { --r: 0.42; animation-delay: -16s; } .pride__orbit i:nth-child(6) { --r: 0.49; animation-delay: -19s; }
.pride__orbit i:nth-child(7) { --r: 0.38; animation-delay: -22s; } .pride__orbit i:nth-child(8) { --r: 0.45; animation-delay: -24.5s; }
.pride__orbit b { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 16px 4px rgba(255, 90, 31, 0.6); animation: referral 5s var(--ease-prowl) infinite; }
@keyframes orbit { from { transform: rotate(0deg) translateX(calc(var(--R) * var(--r))); } to { transform: rotate(360deg) translateX(calc(var(--R) * var(--r))); } }
@keyframes referral { 0% { transform: translate(calc(var(--R) * 0.3), calc(var(--R) * -0.3)); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(46vw, -44svh); opacity: 0; } }

/* ---------- Scene 8: wheel. The owner's side of the glass: the Lion at work, your hand on the controls. ---------- */
.wheel { align-items: stretch; padding: clamp(92px, 13svh, 136px) 0 clamp(28px, 5svh, 56px); background: var(--night); }
.live { position: absolute; inset: 0; z-index: 0; overflow: clip; }
.live__frame { position: absolute; inset: 0; }
.live__frame img, .live__frame video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 72% 40%; }
/* The clip of the Lion typing lies over the working still. It stops while a step waits for you, and on STOP. */
.live__frame--film { opacity: 0; transition: opacity 0.5s linear; }
.wheel.has-film .live__frame--film { opacity: 1; }
.wheel.wants-film .live__frame--work img { animation: none; }
/* Without the clip (reduced data, older browsers) the working frame breathes and its monitor light shifts. STOP holds both. */
.live__frame--work img { transform-origin: 62% 45%; animation: live-breathe 11s ease-in-out infinite alternate, live-flicker 4.6s steps(1, end) infinite; animation-play-state: paused; }
.wheel.is-live .live__frame--work img { animation-play-state: running; }
.wheel.is-frozen .live__frame--work img { animation-play-state: paused; }
.live__frame--held { opacity: 0; transition: opacity 0.55s var(--ease-prowl); }
.wheel.is-frozen .live__frame--held { opacity: 1; }
@keyframes live-breathe { from { transform: scale(1); } to { transform: scale(1.03); } }
@keyframes live-flicker {
  0% { filter: brightness(1); } 12% { filter: brightness(1.05); } 21% { filter: brightness(0.97); } 38% { filter: brightness(1.035); }
  55% { filter: brightness(0.985); } 71% { filter: brightness(1.06); } 84% { filter: brightness(1); }
}
.live__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 9, 8, 0.94) 0%, rgba(10, 9, 8, 0.74) 30%, rgba(10, 9, 8, 0) 56%),
    linear-gradient(0deg, rgba(10, 9, 8, 0.86) 0%, rgba(10, 9, 8, 0) 36%),
    linear-gradient(180deg, var(--night) 0%, rgba(10, 9, 8, 0) 16%, rgba(10, 9, 8, 0) 88%, var(--night) 100%);
}
.live__hud {
  position: absolute; z-index: 2; top: clamp(74px, 11svh, 104px); right: var(--pad);
  display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px;
  background: rgba(10, 9, 8, 0.82); border: 1px solid var(--hair);
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; font-variant-numeric: tabular-nums; color: var(--ivory);
}
.live__hud b { font-weight: 700; }
.live__hud i { width: 1px; height: 12px; background: var(--hair-gold); }
.live__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); }
.wheel.is-live .live__dot { animation: foot-pulse 2.2s infinite; }
.wheel.is-frozen .live__dot { border-radius: 1px; background: #D0483C; animation: none; }
.wheel.is-frozen .live__hud { border-color: rgba(208, 72, 60, 0.7); }
.wheel.is-waiting .live__dot { background: var(--gold-hi); animation-duration: 0.9s; }
.wheel.is-waiting .live__hud { border-color: var(--hair-gold); }

.wheel__grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: var(--s7); }
.wheel__copy { align-self: center; }
.wheel .display { font-size: clamp(1.85rem, min(2.9vw + 0.7rem, 7.2svh), 3.6rem); }
.wheel .note { color: #A8A196; }

/* Controls: a machined mode dial and a guarded STOP. */
/* The dial's geometry hangs off --k (knob size): centre, the ring of three marks, and where the labels sit. */
.console { display: grid; grid-template-columns: auto auto; justify-content: start; align-items: center; column-gap: var(--s5); row-gap: var(--s3); margin-top: var(--s5); }
.dial {
  --k: 120px; --cx: 50%; --cy: calc(46px + var(--k) / 2); --R: calc(var(--k) / 2 + 14px);
  --dot: rgba(242, 236, 224, 0.3);
  position: relative; width: 316px; height: calc(52px + var(--k)); margin-top: 18px;
  background:
    radial-gradient(circle 3.5px at calc(var(--cx) - var(--R) * 0.866) calc(var(--cy) - var(--R) * 0.5), var(--d1, var(--dot)) 96%, transparent),
    radial-gradient(circle 3.5px at var(--cx) calc(var(--cy) - var(--R)), var(--d2, var(--dot)) 96%, transparent),
    radial-gradient(circle 3.5px at calc(var(--cx) + var(--R) * 0.866) calc(var(--cy) - var(--R) * 0.5), var(--d3, var(--dot)) 96%, transparent);
}
.dial[data-mode="supervised"] { --d1: var(--gold-hi); }
.dial[data-mode="guided"] { --d2: var(--gold-hi); }
.dial[data-mode="autonomous"] { --d3: var(--gold-hi); }
.dial__knob {
  position: absolute; left: calc(var(--cx) - var(--k) / 2); top: 46px; width: var(--k); height: var(--k); border-radius: 50%; cursor: grab; touch-action: none;
  background: repeating-conic-gradient(from 0deg, #0c0a08 0deg 3deg, #6a5b4b 3deg 6deg);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.85), 0 0 0 6px #0e0c0a, 0 0 0 7px rgba(227, 190, 107, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: rotate(var(--angle, 0deg)); transition: transform 0.45s var(--ease-pounce);
}
.dial__knob::before {
  content: ""; position: absolute; inset: 11%; border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #6b5b4b 0%, #2a221c 46%, #0f0c0a 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.22), 0 3px 8px rgba(0, 0, 0, 0.7);
}
.dial__knob:active { cursor: grabbing; }
.dial__knob i { position: absolute; z-index: 1; left: 50%; top: 16px; width: 4px; height: 26px; margin-left: -2px; border-radius: 2px; background: var(--gold-hi); box-shadow: 0 0 10px rgba(227, 190, 107, 0.85); }
.dial__opt {
  position: absolute; min-height: 44px; padding: 0 8px; border: 0; background: none; cursor: pointer;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #B4AC9F; transition: color 0.25s;
}
.dial__opt:hover { color: var(--ivory); }
.dial__opt.is-on { color: var(--gold-hi); }
.dial__opt[data-mode="guided"] { left: var(--cx); top: calc(var(--cy) - var(--R) - 46px); transform: translateX(-50%); }
.dial__opt[data-mode="supervised"] { right: calc(100% - var(--cx) + var(--R) * 0.866 - 2px); top: calc(var(--cy) - var(--R) * 0.5 - 40px); }
.dial__opt[data-mode="autonomous"] { left: calc(var(--cx) + var(--R) * 0.866 - 2px); top: calc(var(--cy) - var(--R) * 0.5 - 40px); }
.stop {
  width: 108px; height: 108px; margin: 46px 8px 0; border: 0; border-radius: 50%; cursor: pointer;
  background: radial-gradient(circle at 36% 28%, #de5648, var(--oxblood) 58%, #3d0d0d); color: #fff;
  font-size: 0.92rem; font-weight: 700; font-stretch: 116%; letter-spacing: 0.2em; text-transform: uppercase;
  box-shadow: 0 0 0 6px #0e0c0a, 0 0 0 7px rgba(190, 60, 52, 0.75), 0 10px 0 6px #170505, 0 28px 40px rgba(0, 0, 0, 0.7), inset 0 2px 3px rgba(255, 255, 255, 0.28);
  transition: transform 0.12s, box-shadow 0.12s;
}
.stop span { padding-left: 0.18em; }
.stop[aria-pressed="true"] {
  transform: translateY(7px); font-size: 0.74rem; color: var(--gold-hi);
  background: radial-gradient(circle at 36% 28%, #3c332b, #17130f 60%, #0c0a08);
  box-shadow: 0 0 0 6px #0e0c0a, 0 0 0 7px var(--gold-hi), 0 3px 0 6px #170505, 0 12px 20px rgba(0, 0, 0, 0.7), inset 0 2px 3px rgba(255, 255, 255, 0.12);
}
.console__mode { grid-column: 1 / -1; min-height: 1.6em; font-weight: 600; }

/* The feed runs along the front of its desk. Newest on the left. */
.feed { align-self: end; display: flex; flex-direction: column; gap: var(--s2); }
.feed__title, .feed__frozen { min-height: 24px; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; }
.feed__title { color: #B4AC9F; }
.feed__frozen { color: #FF9C8F; font-weight: 700; }
.wheel.is-frozen .feed__title { display: none; }
.feed__list { list-style: none; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 10px; min-height: 74px; transition: filter 0.3s; }
.feed__list li {
  display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 0; min-height: 74px; padding: 10px 14px;
  border: 1px solid var(--hair); border-radius: 12px; background: rgba(10, 9, 8, 0.9); font-size: 0.9rem; line-height: 1.3;
  animation: feed-in 0.4s var(--ease-pounce);
}
.feed__list li:nth-child(n+4) { display: none; }
.feed__list .state { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: #B4AC9F; }
.feed__list li.is-done .state { color: var(--gold-hi); }
.feed__list li.is-wait { flex-direction: row; align-items: center; justify-content: space-between; gap: var(--s3); border-color: var(--gold-hi); }
.feed__list .approve { flex: none; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--gold-hi); color: var(--night); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
.wheel.is-frozen .feed__list { filter: grayscale(1) brightness(0.62); }
.wheel.is-frozen .feed__list li { animation-play-state: paused; }
@keyframes feed-in { from { opacity: 0; transform: translateX(-14px); } }

/* ---------- Scene 9: code ---------- */
.code .scene__bg img { object-position: 50% 30%; }
.code__lines { list-style: none; max-width: 1000px; }
.code__lines li {
  padding: 0.34em 0; border-bottom: 1px solid var(--hair);
  font-size: var(--fs-h3); font-weight: var(--display-w); font-stretch: var(--display-x); line-height: 1.1; letter-spacing: var(--display-track); text-transform: uppercase;
  color: rgba(242, 236, 224, 0.13); transition: color 0.7s, text-shadow 0.7s;
}
.code__lines li.is-cut { color: var(--ivory); text-shadow: 0 2px 0 rgba(0, 0, 0, 0.7), 0 0 34px rgba(227, 190, 107, 0.28); }

/* ---------- Scene 10: configure ---------- */
.configure__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--s8); align-items: center; }
.configure__stage { position: relative; overflow: hidden; border-radius: 24px; aspect-ratio: 16 / 11; background: #050403; }
.configure__stage picture, .configure__lion { width: 100%; height: 100%; }
.configure__lion { object-fit: cover; transition: filter 0.7s var(--ease-prowl); }
.configure__lion.mane-rose { filter: hue-rotate(-24deg) saturate(1.2); }
.configure__lion.mane-platinum { filter: saturate(0) contrast(1.1) brightness(1.08); }
.field { display: block; margin-top: var(--s5); }
.field__label { display: block; margin-bottom: 10px; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--smoke); }
.field input[type="text"] { width: 100%; min-height: 48px; padding: 0; border: 0; border-bottom: 1px solid rgba(242, 236, 224, 0.35); border-radius: 0; background: transparent; font-size: 1.3rem; font-weight: 600; }
.field input::placeholder { color: rgba(242, 236, 224, 0.45); font-weight: 400; }
.field input:focus-visible { outline: none; border-bottom-color: var(--gold-hi); box-shadow: 0 1px 0 var(--gold-hi); }
.swatches { display: flex; gap: 14px; }
.swatch { width: 46px; height: 46px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; box-shadow: inset 0 0 0 3px var(--night); transition: border-color 0.2s, transform 0.2s var(--ease-pounce); }
.swatch:hover { transform: scale(1.08); }
.swatch.is-on { border-color: var(--ivory); }
.swatch--gold { background: radial-gradient(circle at 30% 30%, #F1D48A, #B8862F 60%, #6D4D16); }
.swatch--rose { background: radial-gradient(circle at 30% 30%, #F3C1A6, #C07A58 60%, #6E3A26); }
.swatch--platinum { background: radial-gradient(circle at 30% 30%, #F4F4F2, #B9B9B6 60%, #5F5F5C); }
.spec { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: var(--s6) 0 var(--s5); padding: 14px 16px; border: 1px solid var(--hair-gold); font-size: 0.92rem; }
.spec span { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--smoke); margin-right: 4px; }
.spec b { font-weight: 700; }
.spec i { width: 1px; height: 14px; background: var(--hair-gold); }

/* ---------- Scenes 11 and 13: meet, last ---------- */
.meet, .last { align-items: flex-end; text-align: center; padding-bottom: clamp(56px, 10svh, 120px); }
.meet .scene__bg img { object-position: 50% 28%; }
.meet__copy .btn, .last__copy .btn { margin-top: var(--s6); }

/* ---------- Scene 12: offer. The Lion's desk from above: its hand, the letter, your signature. ---------- */
.offer {
  --desk: #262421;
  --hand-w: clamp(400px, 44vw, 760px);
  --hand-top: clamp(52px, 7svh, 84px);
  background: var(--desk);
}
.offer__desk { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.offer__desk::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--night) 0%, rgba(10, 9, 8, 0.5) 8%, rgba(10, 9, 8, 0) 22%, rgba(10, 9, 8, 0) 76%, var(--night) 100%),
    radial-gradient(60% 50% at 13% 16%, rgba(227, 190, 107, 0.12), rgba(227, 190, 107, 0) 72%),
    radial-gradient(130% 100% at 16% 20%, rgba(10, 9, 8, 0) 28%, rgba(10, 9, 8, 0.78) 100%);
}
.offer__hand {
  position: absolute; left: 0; top: var(--hand-top); width: var(--hand-w); aspect-ratio: 1000 / 710;
  transform: translate3d(calc((1 - var(--hand, 1)) * 4%), calc((1 - var(--hand, 1)) * 6%), 0);
  -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 9%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, #000 78%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 9%, #000 90%, transparent 100%);
  mask-composite: intersect;
}
.offer__hand picture { display: block; }
.offer__hand img, .offer__film { display: block; width: 100%; height: auto; filter: brightness(0.82) contrast(1.05); }
/* One clip over the still: the claws drum, then the hand lets go of the pen. Its first frame is the still itself. */
.offer__film { position: absolute; inset: 0; height: 100%; opacity: 0; }
.offer.has-film .offer__film { opacity: 1; }
/* "The pen is yours." waits for the pen. */
.offer__pen { transition: color 0.8s, opacity 0.8s; }
.offer.wants-film:not(.is-pen) .offer__pen { opacity: 0.32; }
.offer.is-pen .offer__pen { color: var(--gold-hi); }

.offer__grid { display: grid; grid-template-columns: minmax(0, 1fr) min(720px, 62%); gap: var(--s7); align-items: end; }
.offer__copy { padding-bottom: var(--s5); max-width: 30rem; }
.offer__steps { list-style: none; counter-reset: step; margin-top: var(--s6); display: grid; gap: var(--s3); }
.offer__steps li { counter-increment: step; position: relative; padding-left: 44px; font-size: 1.05rem; color: rgba(242, 236, 224, 0.86); }
.offer__steps li::before { content: "0" counter(step); position: absolute; left: 0; top: 0.42em; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; line-height: 1; color: var(--gold-hi); }
.offer__steps b { font-weight: 700; color: var(--ivory); }

/* The stage carries the slide from the hand (scroll). The letter itself carries the tilt (pointer). */
.offer__stage {
  transform-origin: 0 0; perspective: 1600px;
  transform: translate3d(var(--lx, 0px), var(--ly, 0px), 0) rotate(var(--rz, -1.1deg));
  opacity: var(--lo, 1);
}
.letter {
  position: relative; padding: clamp(26px, 3.6vw, 52px);
  color: var(--ink); border-radius: 2px;
  background-color: var(--paper);
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='f'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='7' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .36  0 0 0 0 .28  0 0 0 0 .16  0 0 0 .22 0'/></filter><rect width='100%' height='100%' filter='url(%23f)'/></svg>"),
    linear-gradient(140deg, #F8F3E8 0%, #EFE8DA 55%, #E7DDCB 100%);
  box-shadow: var(--shx, 22px) var(--shy, 34px) 70px -22px rgba(0, 0, 0, 0.85), 2px 4px 7px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.letter::before {
  content: ""; position: absolute; inset: clamp(8px, 1.1vw, 14px); pointer-events: none;
  border: 1px solid rgba(138, 98, 27, 0.5); outline: 1px solid rgba(138, 98, 27, 0.22); outline-offset: 3px;
  transition: border-color 0.6s, outline-color 0.6s;
}
.letter.is-signed::before { border-color: rgba(168, 122, 36, 0.95); outline-color: rgba(168, 122, 36, 0.55); }
.letter__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(27, 23, 19, 0.3); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.letter__status { transition: color 0.4s; }
.letter.is-signed .letter__status { color: #7A5516; }
.letter__date { margin-top: 10px; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: #5B5247; text-align: right; }
.letter__title { margin: var(--s5) 0 var(--s4); font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 500; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.1; }
.letter__terms { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s6); }
.letter__terms > div { min-width: 0; padding: 9px 0 10px; border-bottom: 1px dotted rgba(27, 23, 19, 0.35); }
.letter__terms dt { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: #5B5247; }
.letter__terms dd { font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.letter__terms dd.is-yours { color: #5E4212; }
.letter__terms dd.is-yours::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; rotate: 45deg; background: var(--gold); vertical-align: 0.14em; }
.letter__terms dd.is-fresh { animation: term-fresh 1.4s var(--ease-prowl); }
@keyframes term-fresh {
  0% { background-color: rgba(227, 190, 107, 0.6); box-shadow: 0 0 0 4px rgba(227, 190, 107, 0.6); }
  100% { background-color: rgba(227, 190, 107, 0); box-shadow: 0 0 0 4px rgba(227, 190, 107, 0); }
}
.letter__terms a { display: inline-block; margin: -14px 0; padding: 14px 0; color: #6D4D16; text-underline-offset: 3px; }

.letter__sign { display: grid; grid-template-columns: minmax(0, 0.46fr) minmax(0, 1fr); gap: var(--s6); align-items: end; margin-top: var(--s4); }
.by__mark { display: flex; align-items: center; gap: 10px; height: 118px; padding-bottom: 4px; border-bottom: 1.5px solid var(--ink); }
.crest { flex: none; width: 78px; height: 78px; transition: transform 1.2s var(--ease-prowl), filter 0.6s; }
.crest__bead { fill: none; stroke: url(#crest-foil); stroke-width: 2.4; stroke-dasharray: 0.1 5; stroke-linecap: round; }
.crest__rule { fill: none; stroke: url(#crest-foil); stroke-width: 1; }
.crest__text { font-size: 9px; font-weight: 700; letter-spacing: 0.16em; fill: #7A5516; }
.crest__dot { fill: #8A621B; }
.crest__eye { fill: url(#crest-foil); }
.letter.is-signed .crest { transform: rotate(360deg); filter: drop-shadow(0 0 7px rgba(227, 190, 107, 0.95)); }
.by__name { font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 500; font-size: 1.45rem; line-height: 1; rotate: -4deg; white-space: nowrap; }
.by__label, .sign__label { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: #5B5247; }
.by__label { display: flex; align-items: center; min-height: 44px; }
.sign { position: relative; }
.sign__pad {
  display: block; width: 100%; height: 118px; border-bottom: 1.5px solid var(--ink); touch-action: none;
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><path d='M3 29l3.2-9.6L22 3.6a2.3 2.3 0 0 1 3.2 0l3.2 3.2a2.3 2.3 0 0 1 0 3.2L12.6 25.8z' fill='%231B1713' stroke='%23F2ECE0' stroke-width='1.2'/><path d='M3 29l5.2-5.2' stroke='%23E3BE6B' stroke-width='1.5'/></svg>") 3 29, crosshair;
}
.sign__area { position: relative; }
.sign__area::before { content: "\00D7"; position: absolute; left: 4px; bottom: 18px; font-size: 1.4rem; line-height: 1; color: rgba(27, 23, 19, 0.6); pointer-events: none; }
.sign__ghost { position: absolute; left: 34px; bottom: 22px; font-family: "Fraunces", Georgia, serif; font-style: italic; font-size: 1.5rem; line-height: 1; color: rgba(27, 23, 19, 0.24); pointer-events: none; transition: opacity 0.3s; }
.sign.has-ink .sign__ghost { opacity: 0; }
.sign__row { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 44px; }
.sign__clear { min-width: 44px; min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.letter .btn--ink { margin-top: var(--s4); }
.letter.is-signed .btn--ink { background: linear-gradient(120deg, #B8862F 0%, #E9C877 50%, #B8862F 100%); color: var(--night); box-shadow: 0 12px 30px -12px rgba(138, 98, 27, 0.9); }
.letter :focus-visible { outline-color: var(--ink); }
.letter__sheen {
  position: absolute; inset: 0; pointer-events: none; border-radius: inherit; mix-blend-mode: soft-light;
  background: radial-gradient(520px circle at var(--sx, 20%) var(--sy, 10%), rgba(255, 252, 240, 0.6), rgba(255, 252, 240, 0) 62%);
}
.letter__dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ---------- Footer: the night shift. The page above lifts off it like a curtain. ---------- */
main { position: relative; z-index: 1; background: var(--night); box-shadow: 0 34px 70px rgba(0, 0, 0, 0.9); }
.foot { --fp: 1; position: relative; z-index: 0; overflow: clip; background: #060505; display: flex; flex-direction: column; min-height: 100svh; }
/* At the very end the footer is the whole screen, so the fixed bar and rail step aside. */
.bar, .rail { transition: opacity 0.4s, visibility 0.4s; }
body.is-foot .bar, body.is-foot .rail { opacity: 0; visibility: hidden; }
.foot.is-curtain { position: sticky; bottom: 0; }

.foot__marquee { overflow: clip; padding: 14px 0; border-bottom: 1px solid var(--hair); }
.foot__marquee-track { display: flex; width: max-content; }
.foot__marquee-group { flex: none; display: flex; align-items: center; gap: var(--s6); padding-right: var(--s6); }
.foot__marquee span { font-size: clamp(0.9rem, 1.3vw, 1.15rem); font-weight: var(--display-w); font-stretch: var(--display-x); letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; color: rgba(242, 236, 224, 0.42); }
.foot__marquee span[lang] { font-stretch: 100%; letter-spacing: 0; text-transform: none; color: rgba(227, 190, 107, 0.7); }
.foot__marquee i { flex: none; width: 7px; height: 7px; rotate: 45deg; background: var(--gold); }
html.js .foot.is-live .foot__marquee-track { animation: foot-marquee 56s linear infinite; }
@keyframes foot-marquee { to { transform: translate3d(-25%, 0, 0); } }

.foot__main {
  flex: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 0.8fr);
  grid-template-areas: "now lists lion"; align-items: end;
  column-gap: var(--s7); padding-top: var(--s7);
}
.foot__now { grid-area: now; position: relative; z-index: 1; padding-bottom: var(--s5); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); animation: foot-pulse 2.2s infinite; }
@keyframes foot-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0.55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(255, 90, 31, 0); } }
.foot__clock { font-size: clamp(1.5rem, min(2.5vw, 5svh), 2.4rem); font-weight: var(--display-w); font-stretch: var(--display-x); line-height: 1.04; letter-spacing: var(--display-track); text-transform: uppercase; text-wrap: balance; }
.foot__clock span { font-variant-numeric: tabular-nums; }
.foot__clock em { display: block; max-width: 24ch; margin-top: 0.4em; font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 500; font-size: 0.6em; line-height: 1.15; letter-spacing: -0.01em; text-transform: none; color: var(--gold-hi); }
.foot__cta { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }

.foot__lists { grid-area: lists; position: relative; z-index: 1; display: grid; gap: var(--s5); padding-bottom: var(--s5); }
.foot__label { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--smoke); margin-bottom: var(--s3); }
.foot__list { list-style: none; display: grid; }
.foot__list--code { counter-reset: rule; }
.foot__list--code li { counter-increment: rule; display: grid; grid-template-columns: 34px 1fr; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--hair); color: rgba(242, 236, 224, 0.9); }
.foot__list--code li::before { content: "0" counter(rule); font-size: 0.68rem; letter-spacing: 0.18em; color: var(--gold-hi); }
.foot__list--links { grid-template-columns: repeat(4, auto); justify-content: start; column-gap: var(--s5); }
.foot__list--links a { position: relative; display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; text-decoration: none; }
.foot__list--links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 9px; height: 1px; background: var(--gold-hi); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease-pounce); }
.foot__list--links a:hover { color: var(--gold-hi); }
.foot__list--links a:hover::after, .foot__list--links a:focus-visible::after { transform: scaleX(1); }

/* The Lion: one image three times. Dark base, its eyes, and a lit copy the cursor uncovers. */
.foot__lion { grid-area: lion; align-self: stretch; position: relative; z-index: 0; min-height: 300px; pointer-events: none; }
.foot__lion-box {
  position: absolute; left: 50%; bottom: -5%; height: 118%; max-height: 780px; aspect-ratio: 1920 / 1088; transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(90deg, transparent 29%, #000 35.5%, #000 64.5%, transparent 71%), linear-gradient(180deg, transparent 5%, #000 11%, #000 93%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 29%, #000 35.5%, #000 64.5%, transparent 71%), linear-gradient(180deg, transparent 5%, #000 11%, #000 93%, transparent 100%);
  mask-composite: intersect;
}
.foot__lion-box img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.foot__lion-base { filter: brightness(0.2) saturate(0.6); }
.foot__lion-eyes { transform-origin: 50% 28.3%; filter: drop-shadow(0 0 10px rgba(255, 110, 30, 0.8)) brightness(1.2); }
.foot.is-live .foot__lion-eyes { animation: eye-blink 8s infinite, eye-breathe 5s ease-in-out infinite; }
@keyframes eye-blink { 0%, 93%, 97.5%, 100% { transform: scaleY(1); } 95.2% { transform: scaleY(0.05); } }
@keyframes eye-breathe { 0%, 100% { opacity: 0.72; } 50% { opacity: 1; } }
.foot__lion-lit {
  opacity: var(--lit, 0);
  -webkit-mask-image: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), #000 0, rgba(0, 0, 0, 0.8) 10%, transparent 25%);
  mask-image: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), #000 0, rgba(0, 0, 0, 0.8) 10%, transparent 25%);
}

.foot__mark { position: relative; z-index: 2; width: min(100% - 2 * var(--pad), 1320px); margin-inline: auto; line-height: 0; overflow: clip; }
.foot__mark span {
  display: inline-block; white-space: nowrap;
  font-size: calc(min(100vw - 2 * var(--pad), 1320px) * 0.15); line-height: 0.78; font-weight: 800; font-stretch: 125%; letter-spacing: -0.035em; text-transform: uppercase;
  background: linear-gradient(100deg, #5E4212 0%, #B8862F 22%, #F6E3A6 46%, #C99A3D 58%, #5E4212 100%) calc(var(--fx, 0.35) * 100%) 0 / 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  transform: translate3d(0, calc((1 - var(--fp)) * 36%), 0);
}
.foot__mark b { font-weight: 800; -webkit-text-fill-color: #060505; -webkit-text-stroke: 0.014em #C99A3D; paint-order: stroke fill; }

.foot__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px var(--s5); padding: var(--s3) 0 var(--s4); font-size: var(--fs-small); color: var(--smoke); }
.foot__legal a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ivory); text-underline-offset: 4px; }
.foot__hint { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .rail { display: none; }
  .configure__grid { grid-template-columns: 1fr; gap: var(--s6); }
  .hunt__rows { right: var(--pad); }
}
/* Offer: below 1000px the desk stacks. The hand keeps the top; the words and the letter follow. */
@media (max-width: 999px) {
  .offer { --hand-w: min(104vw, 620px); --hand-top: 48px; }
  .offer__grid { grid-template-columns: 1fr; gap: var(--s7); padding-top: calc(0.66 * var(--hand-w) + 48px - var(--s10)); }
  .offer__copy { max-width: 34rem; padding-bottom: 0; }
  .offer__stage { --rz: 0deg; }
}
@media (max-width: 899px) {
  /* Wheel: the view of the Lion sticks to the top of the screen while the controls scroll under it,
     so pressing STOP always happens in sight of the Lion. */
  .wheel { display: block; padding: 0 0 var(--s8); }
  .live { position: sticky; inset: auto; top: 0; z-index: 3; height: calc(40svh + 52px); min-height: 280px; background: var(--night); }
  .live__frame { inset: 52px 0 0 0; }
  .live__frame img, .live__frame video { object-position: 60% 30%; }
  .live__shade { background: linear-gradient(180deg, var(--night) 0, var(--night) 52px, rgba(10, 9, 8, 0) 34%, rgba(10, 9, 8, 0) 66%, var(--night) 100%); }
  .live__hud { top: auto; right: auto; left: var(--pad); bottom: 14px; }
  .wheel__grid { grid-template-columns: 1fr; gap: var(--s6); padding-top: var(--s5); }
  .feed__list { grid-template-columns: 1fr; }
  .feed__list li, .feed__list li.is-wait { flex-direction: row; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 56px; }
  .foot { min-height: 0; }
  .foot__main { grid-template-columns: 1fr; grid-template-areas: "lion" "now" "lists"; row-gap: var(--s5); padding-top: 0; }
  .foot__now { padding-bottom: 0; }
  .foot__lion { min-height: clamp(280px, 44svh, 420px); }
  .foot__lion-box { bottom: -2%; height: 108%; }
  .foot__lists { gap: var(--s6); padding-bottom: var(--s6); }
}
@media (max-width: 899px) and (max-height: 480px) {
  .live { position: relative; top: auto; }
}
@media (max-width: 760px) {
  .scene:not(.hero):not(.hunt):not(.close):not(.wheel) { padding: var(--s9) 0; }
  .offer__grid { padding-top: calc(0.66 * var(--hand-w) + 48px - var(--s9)); }
  .plate { grid-template-columns: 1fr; }
  .sheet__row { grid-template-columns: 1.15fr 1fr; padding-inline: 4px; }
  .sheet__row > span:nth-child(2), .sheet__row > span:nth-child(3), .sheet__row > span:nth-child(4) { display: none; }
  .track__inner { margin-right: 0; }
  .seal { top: auto; bottom: -128px; right: 8px; }
  .track__gates span { letter-spacing: 0; }
  .hunt__rows { top: 76px; left: var(--pad); right: var(--pad); width: auto; transform: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; padding: 6px 14px; }
  .hunt__rows li { padding: 7px 0; border-top: 0; }
  .hunt__rows li span { display: none; }
  .voice__line { min-height: 8.5em; align-items: flex-start; }
  .voice__bg img { object-position: 84% 30%; }
  .scene__veil--left { background: linear-gradient(180deg, var(--night) 0%, rgba(10, 9, 8, 0.55) 20%, rgba(10, 9, 8, 0.82) 55%, var(--night) 100%); }
}
/* Portrait screens: the Lion keeps the upper half, the words sit on the dark desk below. */
@media (max-aspect-ratio: 4/5) {
  .hero__img img { object-position: 50% 30%; }
  .hero__img--base img { filter: brightness(0.5) saturate(0.9) contrast(1.05); }
  .hero__shade { background: linear-gradient(0deg, rgba(10, 9, 8, 0.97) 0%, rgba(10, 9, 8, 0.8) 34%, rgba(10, 9, 8, 0) 60%), linear-gradient(180deg, rgba(10, 9, 8, 0.7) 0%, rgba(10, 9, 8, 0) 16%); }
  .hero__copy { bottom: clamp(56px, 8svh, 96px); right: var(--pad); max-width: none; }
  .hero__title { font-size: clamp(2.5rem, 12.6vw, 5.2rem); min-height: 2.05em; }
  .hero__title-live.is-alt { white-space: normal; }
  .hero__hint { left: var(--pad); right: var(--pad); justify-items: center; text-align: center; bottom: 18px; }
  .hero__film { display: none; }
  .hero__eyes { display: block; }
  .hero__img--lit { -webkit-mask-image: radial-gradient(circle at var(--mx, 50%) var(--my, 36%), #000 0, rgba(0, 0, 0, 0.75) 22%, transparent 56%); mask-image: radial-gradient(circle at var(--mx, 50%) var(--my, 36%), #000 0, rgba(0, 0, 0, 0.75) 22%, transparent 56%); }
  .hunt .scene__bg img { object-position: 20% 50%; }
}
@media (max-width: 560px) {
  .console { grid-template-columns: minmax(0, 1fr); justify-items: center; row-gap: var(--s2); }
  .dial { width: min(316px, 100%); }
  .stop { margin-top: var(--s3); margin-bottom: var(--s5); }
  .console__mode { text-align: center; }
  .letter__terms { grid-template-columns: 1fr; }
  .letter__sign { grid-template-columns: 1fr; gap: var(--s4); }
  .by__mark { height: 92px; }
  .crest { width: 66px; height: 66px; }
  .foot__list--links { grid-template-columns: 1fr 1fr; }
  .foot__legal { flex-direction: column; align-items: flex-start; gap: 0; }
}
@media (max-width: 480px) {
  .track__gates span { font-size: 0.64rem; font-stretch: 100%; }
  .hero__cta { flex-wrap: nowrap; gap: var(--s2); }
  .hero__cta .btn { flex: 1; padding: 0 12px; font-size: 0.74rem; letter-spacing: 0.06em; }
  .hero__sub { font-size: 1rem; }
}
/* Short desktop screens: the letter tightens so all of it fits under the bar in one view. */
@media (min-width: 1000px) and (max-height: 800px) {
  .offer { --hand-w: clamp(360px, 34vw, 560px); --hand-top: 44px; padding: 84px 0 44px; }
  .letter { padding: 30px 36px 26px; }
  .letter__title { margin: 14px 0 8px; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
  .letter__terms > div { padding: 5px 0 6px; }
  .letter__sign { margin-top: var(--s2); }
  .by__mark, .sign__pad { height: 88px; }
  .crest { width: 64px; height: 64px; }
  .letter .btn--ink { margin-top: var(--s2); }
}
/* Very short desktop screens (a 1080p laptop at 150% scaling is about 1280 by 585): both scenes tighten once more. */
@media (min-width: 1000px) and (max-height: 700px) {
  .offer { --hand-w: clamp(330px, 30vw, 470px); --hand-top: 40px; padding: 74px 0 22px; }
  .offer__copy { padding-bottom: 0; }
  .offer__copy .eyebrow { margin-bottom: var(--s3); }
  .offer__copy .lede { margin-top: var(--s3); font-size: 1rem; }
  .offer__steps { margin-top: var(--s4); gap: 6px; }
  .offer__steps li { font-size: 0.98rem; }
  .offer__copy .note { margin-top: var(--s3); }
  .letter { padding: 22px 30px 18px; }
  .letter::before { inset: 7px; }
  .letter__head { padding-bottom: 8px; }
  .letter__date { margin-top: 6px; }
  .letter__title { margin: 8px 0 4px; font-size: 1.55rem; }
  .letter__terms > div { padding: 3px 0 4px; }
  .letter__terms dd { font-size: 0.95rem; }
  .letter__sign { margin-top: var(--s1); gap: var(--s5); }
  .by__mark, .sign__pad { height: 68px; }
  .crest { width: 54px; height: 54px; }
  .by__name { font-size: 1.25rem; }
  .sign__area::before { bottom: 12px; }
  .sign__ghost { bottom: 14px; font-size: 1.3rem; }
  .letter .btn--ink { margin-top: 2px; }

  .wheel { padding: 76px 0 16px; }
  .wheel .eyebrow { margin-bottom: var(--s3); }
  .wheel .lede { margin-top: var(--s3); font-size: 1.05rem; }
  .console { margin-top: 0; row-gap: 0; }
  .dial { --k: 96px; margin-top: 14px; }
  .dial__knob i { top: 12px; height: 22px; }
  .stop { width: 92px; height: 92px; margin-top: 40px; font-size: 0.9rem; }
  .wheel .note { margin-top: var(--s2); }
  .feed__list, .feed__list li { min-height: 62px; }
  .feed__list li { padding: 8px 12px; }

  .foot__main { padding-top: var(--s5); column-gap: var(--s6); }
  .foot__now, .foot__lists { padding-bottom: var(--s3); }
  .foot__now .eyebrow { margin-bottom: var(--s3); }
  .foot__cta { margin-top: var(--s4); }
  .foot__lists { gap: var(--s3); }
  .foot__label { margin-bottom: var(--s2); }
  .foot__list--code li { padding: 6px 0; }
  .foot__lion { min-height: 240px; }
  .foot__legal { padding: 0 0 var(--s2); }
}
@media (min-width: 900px) and (max-height: 569px) {
  .foot__marquee { display: none; }
}
@media (hover: none) {
  .for-mouse { display: none; }
  .for-touch { display: inline; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .hero__title { min-height: 0; }
  .hero__copy { bottom: 28px; }
  .hero__hint { display: none; }
}

/* ---------- Reduced motion: no pins, no scrubs, everything visible ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  html.js [data-reveal], html.js .sheet__row:not(.sheet__row--head) { opacity: 1; transform: none; }
  .kinetic .w, .code__lines li { color: var(--ivory); }
  .hunt__rows li { opacity: 1; transform: none; }
  .seal { opacity: 1; transform: rotate(-12deg); }
  .track__gates li { color: var(--ivory); }
  .hero__img--lit { -webkit-mask-image: none; mask-image: none; }
  .foot__mark span { transform: none; }
  .foot__lion-base { filter: brightness(0.5) saturate(0.8); }
  .foot__hint { display: none; }
}
