/* Handoff Robotics, v2 */
:root{
  --bg:#0b0b0c;
  --bg-2:#111113;
  --ink:#f3f3f1;
  --mute:rgba(243,243,241,.62);
  --faint:rgba(243,243,241,.38);
  --line:rgba(255,255,255,.12);
  --studio:#e9e9e7;
  --studio-ink:#121212;
  --studio-mute:#6d6d6b;
  --accent:#ff5b1f;
  --gutter:clamp(16px, 4vw, 56px);
  --max:1360px;
  --ease:cubic-bezier(.2,.7,.1,1);
  --nav-h:60px;
  --r:18px;
}
*{ box-sizing:border-box; margin:0; padding:0 }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; scroll-padding-top:var(--nav-h) }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto } }
body{
  font-family:'Inter Tight', Helvetica, Arial, sans-serif;
  background:var(--bg); color:var(--ink);
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
  font-size:17px; line-height:1.45; letter-spacing:-.006em;
  overflow-x:hidden;
}
img{ display:block; max-width:100% }
a{ color:inherit; text-decoration:none }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer }
ul,ol{ list-style:none }
h1,h2,h3{ font-weight:500; letter-spacing:-.03em }
.wrap{ width:100%; max-width:var(--max); margin:0 auto; padding:0 var(--gutter) }
.skip{ position:absolute; left:-9999px; top:8px; z-index:100; background:#fff; color:#000; padding:8px 14px; border-radius:8px }
.skip:focus{ left:8px }
:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; border-radius:6px }

/* ---------- primitives ---------- */
.live{ display:inline-block; width:7px; height:7px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 0 rgba(255,91,31,.55); animation:live 2s ease-out infinite; flex:none }
@keyframes live{ 0%{ box-shadow:0 0 0 0 rgba(255,91,31,.55) } 70%,100%{ box-shadow:0 0 0 7px rgba(255,91,31,0) } }
.btn{ display:inline-flex; align-items:center; gap:10px; height:46px; padding:0 20px; border-radius:999px; font-size:15px; font-weight:500; letter-spacing:-.01em; white-space:nowrap; transition:background .25s, color .25s, border-color .25s, transform .3s var(--ease) }
.btn svg{ width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round }
.btn-light{ background:var(--ink); color:#0b0b0c }
.btn-light:hover{ background:#fff }
.btn-ghost{ border:1px solid rgba(255,255,255,.22); color:var(--ink) }
.btn-ghost:hover{ border-color:rgba(255,255,255,.6) }
.tag{ display:inline-flex; align-items:center; gap:8px; height:28px; padding:0 12px; border-radius:999px; font-size:12.5px; font-weight:500; letter-spacing:-.005em; white-space:nowrap }
.logo{ width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:2.4; stroke-linecap:round }
.logo circle{ fill:currentColor; stroke:none }
.brand{ display:inline-flex; align-items:center; gap:9px; font-weight:600; font-size:16.5px; letter-spacing:-.02em }

/* ---------- nav ---------- */
.nav{ position:fixed; z-index:50; top:0; left:0; right:0; height:var(--nav-h); display:flex; align-items:center; justify-content:space-between; padding:0 var(--gutter); color:var(--ink); transition:background .35s, border-color .35s; border-bottom:1px solid transparent }
.nav.scrolled{ background:rgba(11,11,12,.9); border-bottom-color:var(--line) }
.nav.on-light{ color:var(--studio-ink); background:rgba(233,233,231,.94); border-bottom-color:rgba(0,0,0,.07) }
.nav-links{ position:absolute; left:50%; transform:translateX(-50%); display:flex; gap:30px; font-size:14px }
.nav-links a{ opacity:.66; transition:opacity .2s }
.nav-links a:hover, .nav-links a.active{ opacity:1 }
.pill{ display:inline-flex; align-items:center; gap:9px; height:34px; padding:0 14px; border-radius:999px; font-size:13.5px; font-weight:500; border:1px solid currentColor; border-color:rgba(127,127,127,.35); transition:border-color .2s }
.pill:hover{ border-color:currentColor }

/* ---------- reveal ---------- */
[data-reveal]{ opacity:0; transform:translateY(18px); transition:opacity .9s var(--ease), transform 1s var(--ease) }
[data-reveal].in{ opacity:1; transform:none }
@media (prefers-reduced-motion: reduce){ [data-reveal]{ opacity:1; transform:none; transition:none } }

/* ---------- HUD (frosted glass) ---------- */
.hud{ position:absolute; z-index:3; width:288px; padding:14px 16px 15px; border-radius:16px; color:#fff;
  background:linear-gradient(180deg, rgba(34,34,37,.86), rgba(22,22,24,.9)); border:1px solid rgba(255,255,255,.14);
  box-shadow:0 20px 60px -20px rgba(0,0,0,.6); font-size:13px }
.hud-top{ display:flex; justify-content:space-between; align-items:center; color:rgba(255,255,255,.72); font-size:12px }
.hud-live{ display:inline-flex; align-items:center; gap:8px; color:#fff }
.hud-step b{ font-weight:600; color:#fff }
.hud-title{ margin-top:10px; font-size:19px; font-weight:500; letter-spacing:-.02em; line-height:1.2 }
.hud-bar{ margin-top:12px; height:3px; border-radius:3px; background:rgba(255,255,255,.16); overflow:hidden }
.hud-bar span{ display:block; height:100%; width:37.5%; background:var(--accent); border-radius:3px; transition:width .9s var(--ease) }
.hud-check{ margin-top:12px; display:flex; align-items:center; gap:9px; font-size:13.5px }
.hud-check svg{ width:18px; height:18px; flex:none; fill:none; stroke:#fff; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round }
.hud-check svg circle{ stroke:rgba(255,255,255,.35) }
.hud-check path{ stroke-dasharray:16; stroke-dashoffset:0; transition:stroke-dashoffset .5s var(--ease) .2s }
.hud.pending .hud-check path{ stroke-dashoffset:16; transition:none }
.hud.pending .hud-check span{ opacity:.35 }
.hud-check span{ transition:opacity .4s }
.hud-next{ margin-top:10px; padding-top:10px; border-top:1px solid rgba(255,255,255,.12); color:rgba(255,255,255,.55); font-size:12px; display:flex; gap:8px }
.hud-next span{ color:rgba(255,255,255,.82) }
.hud .fade{ transition:opacity .35s }
.hud.swap .fade{ opacity:0 }

/* ---------- hero ---------- */
.hero{ position:relative; height:100svh; min-height:640px; overflow:hidden; isolation:isolate;
  background:radial-gradient(60% 70% at 66% 46%, #1b1b1d 0%, #0d0d0e 55%, #070708 100%) }
.hero-stage{ position:absolute; z-index:0; top:5%; bottom:18%; left:30%; right:0 }
.hero-stage .fallback{ object-fit:contain }
.hero-hud{ position:absolute; z-index:3; right:max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); bottom:clamp(44px, 10vh, 110px) }
.hero-hud .hud{ position:relative }
.hud-cap{ font-size:12px; color:var(--faint); margin:0 0 10px 4px; display:flex; align-items:center; gap:8px }
.hud-cap::before{ content:""; width:18px; height:1px; background:var(--faint) }
.hero-copy{ position:absolute; left:0; right:0; bottom:clamp(44px, 10vh, 110px); z-index:2; pointer-events:none }
.hero-copy .btn{ pointer-events:auto }
.hero h1{ font-size:clamp(40px, 5.4vw, 78px); line-height:1.02; letter-spacing:-.04em; max-width:12ch }
.hero-copy p{ margin-top:18px; font-size:clamp(17px, 1.5vw, 20px); color:var(--mute); max-width:32ch; line-height:1.4 }
.hero-copy .btn{ margin-top:28px }
.hero h1, .hero-copy p, .hero-copy .btn, .hero-hud{ animation:rise 1.1s var(--ease) both }
.hero-copy p{ animation-delay:.08s } .hero-copy .btn{ animation-delay:.16s } .hero-hud{ animation-delay:.45s }
@keyframes rise{ from{ opacity:0; transform:translateY(16px) } to{ opacity:1; transform:none } }

/* ---------- problem: a line of hand stations, nothing recorded ---------- */
.problem{ background:var(--bg); padding:clamp(96px, 12vw, 170px) 0; border-top:1px solid var(--line) }
.problem-grid{ display:grid; grid-template-columns:1fr 1.05fr; gap:clamp(32px, 6vw, 96px); align-items:center }
h2{ font-size:clamp(30px, 3.6vw, 52px); line-height:1.05; letter-spacing:-.035em }
.problem-copy p, .head p{ margin-top:12px; font-size:clamp(16px, 1.3vw, 18px); color:var(--mute); max-width:44ch }
.line{ position:relative; padding:28px 0 0 }
.belt{ position:relative; height:2px; background:var(--line); margin:0 4px; overflow:visible }
.belt i{ position:absolute; top:-5px; width:12px; height:12px; border-radius:3px; background:#bdbdbb; animation:belt 10s linear infinite; opacity:0 }
.belt i:nth-child(2){ animation-delay:-2s } .belt i:nth-child(3){ animation-delay:-4s } .belt i:nth-child(4){ animation-delay:-6s } .belt i:nth-child(5){ animation-delay:-8s }
@keyframes belt{ 0%{ left:0; opacity:0 } 4%{ opacity:1 } 96%{ opacity:1 } 100%{ left:calc(100% - 12px); opacity:0 } }
.stations{ display:grid; grid-template-columns:repeat(5, 1fr); gap:10px; margin-top:22px }
.stations span{ display:flex; flex-direction:column; align-items:center; gap:10px }
.stations b{ width:100%; aspect-ratio:1.2; border-radius:10px; border:1px solid var(--line); background:linear-gradient(180deg, #141416, #0e0e0f); position:relative }
.stations b::after{ content:""; position:absolute; left:50%; top:50%; width:22px; height:22px; margin:-11px 0 0 -11px; border-radius:50%; border:1.5px solid rgba(255,255,255,.55); animation:work 2.4s ease-in-out infinite }
.stations span:nth-child(2) b::after{ animation-delay:-.5s } .stations span:nth-child(3) b::after{ animation-delay:-1s } .stations span:nth-child(4) b::after{ animation-delay:-1.5s } .stations span:nth-child(5) b::after{ animation-delay:-2s }
@keyframes work{ 0%,100%{ transform:scale(.75); opacity:.5 } 50%{ transform:scale(1); opacity:1 } }
.stations em{ font-style:normal; font-size:12px; color:var(--faint) }
.line-foot{ margin-top:26px; padding-top:14px; border-top:1px solid var(--line); display:flex; justify-content:space-between; font-size:13px; color:var(--faint) }
.line-foot .zero{ color:var(--ink); font-variant-numeric:tabular-nums }

/* ---------- sticky story (one 3D scene, three states) ---------- */
.story{ --d:110vh; position:relative; height:calc(100vh + 3 * var(--d)); background:#050506 }
.story-pin{ position:sticky; top:0; height:100vh; height:100svh; overflow:hidden; isolation:isolate;
  background:radial-gradient(70% 75% at 62% 50%, #1c1c1e 0%, #0b0b0c 60%, #050506 100%) }
.story-stage{ position:absolute; inset:0; z-index:0 }
.story-stage .fallback{ object-fit:cover }
.story-pin::after{ content:""; position:absolute; inset:0; z-index:1; pointer-events:none; background:linear-gradient(90deg, rgba(5,5,6,.78) 0%, rgba(5,5,6,.25) 30%, rgba(5,5,6,0) 50%) }
.story-pin .hud{ right:max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); top:18%; opacity:0; transform:translateY(10px); transition:opacity .6s var(--ease), transform .8s var(--ease); pointer-events:none }
.story-pin .hud.is-on{ opacity:1; transform:none; transition-delay:.15s }
.story-pin .hud-data{ top:auto; bottom:clamp(40px, 10vh, 110px) }
.reticle3d{ position:absolute; z-index:2; left:0; top:0; width:120px; height:84px; margin:-42px 0 0 -60px; opacity:0; transition:opacity .5s; pointer-events:none; will-change:transform }
.reticle3d.is-on{ opacity:1 }
.reticle3d svg{ width:100%; height:100%; overflow:visible }
.reticle3d path{ fill:none; stroke:rgba(255,255,255,.85); stroke-width:3 }
.reticle3d circle{ fill:var(--accent) }
.reticle3d.done path{ stroke:#fff }
.bars{ margin-top:12px; display:grid; gap:8px }
.bars div{ display:grid; grid-template-columns:76px 1fr 34px; align-items:center; gap:10px; font-size:12px; color:rgba(255,255,255,.72) }
.bars i{ height:4px; border-radius:4px; background:rgba(255,255,255,.14); position:relative; overflow:hidden }
.bars u{ position:absolute; left:0; top:0; bottom:0; width:0; background:#fff; border-radius:4px; transition:width .12s linear }
.bars em{ font-style:normal; text-align:right; font-variant-numeric:tabular-nums; color:#fff }
.hud-foot{ margin-top:11px; padding-top:9px; border-top:1px solid rgba(255,255,255,.12); font-size:11.5px; color:rgba(255,255,255,.55) }
.live.rec{ animation-duration:1.2s }
.story-copy{ position:absolute; left:0; right:0; bottom:clamp(40px, 10vh, 110px); z-index:4 }
.steps{ display:grid; gap:22px; max-width:400px }
.steps li{ display:grid; grid-template-columns:34px 1fr; gap:10px; opacity:.4; transition:opacity .5s }
.steps li.is-on{ opacity:1 }
.steps .n{ font-size:13px; padding-top:9px; color:var(--mute); font-variant-numeric:tabular-nums }
.steps li.is-on .n{ color:var(--accent) }
.steps h3{ font-size:clamp(26px, 2.6vw, 36px); line-height:1.15 }
.steps p{ color:var(--mute); font-size:16px; max-height:0; overflow:hidden; opacity:0; transition:max-height .6s var(--ease), opacity .5s, margin .5s }
.steps li.is-on p{ max-height:60px; opacity:1; margin-top:6px }
.story-rail{ position:absolute; z-index:4; right:var(--gutter); top:50%; transform:translateY(-50%); display:grid; gap:8px }
.story-rail span{ width:3px; height:28px; border-radius:3px; background:rgba(255,255,255,.22); transition:background .4s, height .4s var(--ease) }
.story-rail span.is-on{ background:var(--accent); height:44px }

/* ---------- studio sections (light) ---------- */
.studio{ background:var(--studio); color:var(--studio-ink); padding:clamp(88px, 11vw, 150px) 0 clamp(56px, 7vw, 96px) }
.studio-2{ padding-top:clamp(40px, 5vw, 64px) }
.head{ margin-bottom:clamp(24px, 3vw, 40px) }
.studio .head p{ color:var(--studio-mute) }
.stage{ position:relative; border-radius:var(--r); overflow:hidden; background:radial-gradient(70% 70% at 50% 42%, #fbfbfa 0%, #f0f0ee 55%, #e3e3e0 100%); box-shadow:inset 0 0 0 1px rgba(0,0,0,.05) }
.viewer-stage{ height:clamp(480px, 58vw, 780px); cursor:grab; touch-action:pan-y }
.viewer-stage.dragging{ cursor:grabbing }
.glove-stage{ height:clamp(480px, 54vw, 720px); cursor:grab; touch-action:pan-y }
.glove-stage.dragging{ cursor:grabbing }
.train-stage{ height:clamp(440px, 46vw, 640px) }
[data-scene] canvas{ position:absolute; inset:0; width:100% !important; height:100% !important; display:block; outline:none }
.poster{ pointer-events:none }
.stage-tag{ position:absolute; z-index:4; left:20px; top:20px; background:rgba(255,255,255,.88); color:var(--studio-ink); box-shadow:inset 0 0 0 1px rgba(0,0,0,.08) }
.tag-soft{ background:rgba(255,255,255,.7); color:var(--studio-ink); box-shadow:inset 0 0 0 1px rgba(0,0,0,.08) }
.seg{ position:absolute; z-index:4; left:50%; bottom:20px; transform:translateX(-50%); display:inline-flex; padding:4px; border-radius:999px; background:rgba(255,255,255,.9); box-shadow:inset 0 0 0 1px rgba(0,0,0,.08) }
.seg button{ height:34px; padding:0 16px; border-radius:999px; font-size:13.5px; font-weight:500; color:#555; transition:background .3s var(--ease), color .3s }
.seg button.on{ background:var(--studio-ink); color:#fff }
.hint{ position:absolute; z-index:4; right:20px; bottom:28px; display:inline-flex; align-items:center; gap:7px; font-size:12.5px; color:var(--studio-mute) }
.hint svg{ width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round }
.fallback{ position:absolute; inset:0; width:100%; height:100%; object-fit:contain; display:none }
.use-fallback .fallback{ display:block }
.fb{ position:absolute; z-index:2 }
.fb .fallback{ display:block }
.fb-leaders{ position:absolute; inset:0; width:100%; height:100%; overflow:visible; z-index:1 }
.fb-leaders line{ stroke:#111; stroke-opacity:.4; stroke-width:1; vector-effect:non-scaling-stroke }
.fb-dot{ position:absolute; z-index:2; width:9px; height:9px; margin:-4.5px 0 0 -4.5px; border-radius:50%; background:#111; box-shadow:0 0 0 2px #fff }
.labels .pl.fb-pl, .fb-pl{ position:absolute; z-index:3 }
.use-fallback .seg, .use-fallback .hint{ display:none }
.train-tags{ position:absolute; z-index:4; left:0; right:0; bottom:20px; display:flex; justify-content:space-around; pointer-events:none }

/* callouts: pills with leader lines */
.labels{ position:absolute; inset:0; pointer-events:none; z-index:3 }
.leaders{ position:absolute; inset:0; width:100%; height:100%; overflow:visible }
.leaders line{ stroke:#111; stroke-opacity:.4; stroke-width:1 }
.leaders circle{ fill:#111; stroke:#fff; stroke-width:2 }
.leaders, .pl{ transition:opacity .5s var(--ease) }
.pl{ display:inline-flex; align-items:center; gap:8px; height:30px; padding:0 12px 0 5px; border-radius:999px; white-space:nowrap; font-size:13px; font-weight:500; color:var(--studio-ink);
  background:rgba(255,255,255,.94); box-shadow:0 6px 18px -8px rgba(0,0,0,.25), inset 0 0 0 1px rgba(0,0,0,.07); will-change:transform }
.pl i{ font-style:normal; display:grid; place-items:center; width:21px; height:21px; border-radius:50%; background:#efefed; font-size:10.5px; color:#666; font-variant-numeric:tabular-nums }
.labels .pl{ position:absolute; left:0; top:0 }
.labels .dim{ opacity:0 }

/* ---------- founder ---------- */
.founder{ background:var(--bg); border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:clamp(44px, 5vw, 64px) 0 }
.founder-h{ font-size:clamp(20px, 1.8vw, 24px); font-weight:500; letter-spacing:-.02em; margin-bottom:22px }
.founder-row{ display:grid; grid-template-columns:minmax(260px, 1fr) 2.4fr; gap:28px 56px; align-items:start }
.who b{ display:block; font-size:19px; font-weight:500; letter-spacing:-.02em }
.who p{ margin-top:6px; font-size:14.5px; line-height:1.45; color:var(--mute); max-width:34ch }
.who-links{ display:flex; gap:16px; margin-top:14px; font-size:13.5px }
.who-links a{ color:var(--ink); border-bottom:1px solid rgba(255,255,255,.25); padding-bottom:1px; transition:border-color .2s }
.who-links a:hover{ border-color:var(--ink) }
.creds{ display:grid; grid-template-columns:repeat(4, 1fr) }
.creds li{ padding:0 20px; border-left:1px solid var(--line) }
.creds b{ display:block; font-weight:500; font-size:15px }
.creds span{ display:block; font-size:13.5px; color:var(--mute); margin-top:2px }
.creds small{ display:block; font-size:12px; color:var(--faint); margin-top:6px }
.creds li.hi span{ color:var(--ink); font-weight:500; display:flex; gap:8px; align-items:baseline }
.creds li.hi span::before{ content:""; width:6px; height:6px; border-radius:50%; background:var(--accent); flex:none; transform:translateY(-1px) }

/* ---------- MVP card ---------- */
.mvp{ margin-top:18px; display:grid; grid-template-columns:168px 1fr; gap:18px; align-items:center; max-width:520px; padding:10px; border-radius:14px; background:rgba(255,255,255,.55); box-shadow:inset 0 0 0 1px rgba(0,0,0,.06) }
.mvp img{ width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:8px }
.mvp b{ display:block; font-size:15px; font-weight:500; color:var(--studio-ink) }
.mvp span{ display:block; margin-top:4px; font-size:13px; color:var(--studio-mute); line-height:1.4 }

/* ---------- raise / deck ---------- */
.raise{ padding:clamp(88px, 11vw, 150px) 0 clamp(72px, 8vw, 110px); background:var(--bg) }
.deck-view{ position:relative; aspect-ratio:16/9; overflow:hidden; border-radius:var(--r); background:#000; box-shadow:0 0 0 1px var(--line); touch-action:pan-y; user-select:none; -webkit-user-select:none }
.deck-track{ display:flex; height:100%; transition:transform .7s var(--ease); will-change:transform }
.deck-track.dragging{ transition:none }
.deck-slide{ flex:0 0 100%; height:100%; background:#000 }
.deck-slide img{ width:100%; height:100%; object-fit:cover; pointer-events:none; -webkit-user-drag:none }
.deck-arrow{ position:absolute; top:50%; width:44px; height:44px; margin-top:-22px; border-radius:50%; display:grid; place-items:center; color:#fff;
  background:rgba(24,24,26,.45); border:1px solid rgba(255,255,255,.18); -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px); transition:opacity .3s, background .2s }
.deck-arrow:hover{ background:rgba(24,24,26,.7) }
.deck-arrow:disabled{ opacity:0; pointer-events:none }
.deck-arrow svg{ width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round }
.deck-arrow.prev{ left:14px } .deck-arrow.next{ right:14px }
.deck-bar{ display:flex; align-items:center; gap:22px; margin-top:18px }
.deck-count{ font-size:14px; color:var(--faint); font-variant-numeric:tabular-nums; min-width:60px }
.deck-count b{ color:var(--ink); font-weight:500 }
.deck-progress{ flex:1; height:2px; background:var(--line); position:relative; overflow:hidden; border-radius:2px }
.deck-progress span{ position:absolute; left:0; top:0; bottom:0; width:0; background:var(--accent); transition:width .7s var(--ease) }
.deck-actions{ display:flex; gap:10px }

/* ---------- footer ---------- */
.foot{ background:var(--bg); border-top:1px solid var(--line); padding:40px 0 34px }
.foot-row{ display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap }
.foot-links{ display:flex; gap:26px; flex-wrap:wrap; font-size:14.5px }
.foot-links a{ color:var(--mute); transition:color .2s } .foot-links a:hover{ color:var(--ink) }
.foot-fine{ margin-top:28px; display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; font-size:12px; color:var(--faint) }
.foot-fine a{ text-decoration:underline; text-underline-offset:2px }

/* ---------- responsive ---------- */
@media (max-width: 1100px){
  .hero-stage{ left:18% }
  .founder-row{ grid-template-columns:1fr }
}
@media (max-width: 900px){
  .nav-links{ display:none }
  .problem-grid{ grid-template-columns:1fr }
  .hero-stage{ left:0; right:0; top:10%; bottom:auto; height:52% }
  .hero-hud{ top:auto; bottom:calc(clamp(44px, 10vh, 110px) + 230px) }
}
@media (max-width: 640px){
  :root{ --nav-h:56px; --r:14px }
  body{ font-size:16px }
  .hud{ width:232px; padding:12px 13px 13px; border-radius:14px }
  .hud-title{ font-size:16px }
  .hero-stage{ top:calc(var(--nav-h) + 4px); height:46% }
  .hero-hud{ right:16px; bottom:auto; top:calc(var(--nav-h) + 37vh) }
  .hero-hud .hud-next{ display:none }
  .hud-cap{ margin-bottom:6px }
  .hero-copy{ bottom:32px }
  .hero h1{ font-size:clamp(36px, 10.5vw, 46px) }
  .stations{ gap:6px }
  .stations b::after{ width:16px; height:16px; margin:-8px 0 0 -8px }
  .story{ --d:105vh }
  .story-pin::after{ background:linear-gradient(0deg, rgba(5,5,6,.92) 0%, rgba(5,5,6,.55) 30%, rgba(5,5,6,0) 50%) }
  .story-pin .hud{ top:calc(var(--nav-h) + 14px); right:16px }
  .story-pin .hud-data{ bottom:auto }
  .bars div{ grid-template-columns:70px 1fr 32px }
  .story-copy{ bottom:28px }
  .steps{ gap:14px; padding-right:24px }
  .steps h3{ font-size:24px }
  .steps p{ font-size:15px }
  .story-rail{ right:10px }
  .viewer-stage{ height:min(124vw, 560px) }
  .glove-stage{ height:min(118vw, 540px) }
  .train-stage{ height:min(150vw, 640px) }
  .stage-tag{ left:12px; top:12px }
  .seg{ bottom:12px }
  .hint{ display:none }
  .pl{ font-size:12px; height:26px; padding:0 10px 0 4px }
  .pl i{ width:18px; height:18px; font-size:9.5px }
  .mvp{ grid-template-columns:120px 1fr; gap:14px }
  .train-tags{ flex-direction:column; align-items:flex-start; gap:0; left:12px; top:12px; bottom:12px; justify-content:space-between }
  .creds{ grid-template-columns:1fr 1fr; gap:18px 0 }
  .creds li{ padding:0 12px 0 14px }
  .creds li:nth-child(odd){ border-left:0; padding-left:0 }
  .deck-arrow{ width:36px; height:36px; margin-top:-18px }
  .deck-arrow.prev{ left:8px } .deck-arrow.next{ right:8px }
  .deck-bar{ flex-wrap:wrap; gap:14px 18px }
  .deck-progress{ order:3; flex-basis:100% }
  .deck-actions{ width:100%; order:4 }
  .deck-actions .btn{ flex:1; justify-content:center }
  .foot-row{ flex-direction:column; align-items:flex-start }
  .foot-links{ flex-direction:column; gap:10px }
}
@media (prefers-reduced-motion: reduce){
  .live, .belt i, .stations b::after, .hero h1, .hero-copy p, .hero-copy .btn, .hero-hud{ animation:none }
  .belt i{ opacity:1 } .belt i:nth-child(1){ left:8% } .belt i:nth-child(2){ left:28% } .belt i:nth-child(3){ left:48% } .belt i:nth-child(4){ left:68% } .belt i:nth-child(5){ left:88% }
  .steps li, .steps p, .story-pin .hud{ transition:none }
}
/* capture mode (screenshots): no transitions */
.capture *, .capture *::before, .capture *::after{ transition:none !important; animation-duration:0s !important; animation-delay:0s !important; animation-iteration-count:1 !important }
