/* OCHE website: "the oche at night". The game's own palette and fonts, Apple-style glass and springs.
   Layout: one dark page; each section is a scene. Mobile first; desktop from 900px. */
:root {
  color-scheme: dark;
  --ink: #0b0f0e;
  --slab: #141c1a;
  --slab2: #1b2523;
  --chalk: #ecefea;
  --dim: #b9c6c1;
  --mute: #8a9893;
  --tape: #f0b43c;
  --tape-ink: #1a1405;
  --line: rgba(255, 255, 255, 0.1);
  --display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Consolas, monospace;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --spring: cubic-bezier(0.2, 0.9, 0.3, 1);
  --venue: #5ab4e6;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--chalk); font: 17px/1.55 var(--body); overflow-x: hidden; }
main { overflow-x: clip; }
img, video, canvas { display: block; max-width: 100%; }
a { color: var(--tape); }
h1, h2, h3 { font-family: var(--display); font-weight: 900; text-transform: uppercase; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(52px, 8vw, 112px); line-height: 0.88; letter-spacing: -0.005em; }
h3 { font-size: clamp(30px, 3vw, 44px); line-height: 0.92; }
.lede { margin: 0; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; color: var(--dim); max-width: 34em; }
.wrap { width: min(1248px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--tape); color: var(--tape-ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--tape); outline-offset: 3px; border-radius: 6px; }
#top-sentinel { position: absolute; top: 0; height: 40px; width: 1px; }

/* buttons: feedback on press, not on release */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  font: 700 16px/1 var(--body); text-decoration: none; cursor: pointer; transition: transform 120ms var(--ease-out), background 160ms ease, box-shadow 200ms ease; }
.btn:active { transform: scale(0.97); }
.btn-lg { height: 56px; padding: 0 30px; font-size: 18px; }
.btn-gold { background: var(--tape); color: var(--tape-ink); box-shadow: 0 12px 34px rgba(240, 180, 60, 0.25); }
.btn-gold:hover { background: #ffc357; }
.btn-ghost { background: rgba(255, 255, 255, 0.06); color: var(--chalk); border: 1px solid rgba(255, 255, 255, 0.2); font-weight: 600; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.11); }
.round { width: 48px; height: 48px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.05);
  color: var(--chalk); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: transform 120ms var(--ease-out), background 160ms; }
.round:hover { background: rgba(255, 255, 255, 0.12); }
.round:active { transform: scale(0.94); }
.link { background: none; border: 0; color: var(--tape); font: 600 16px var(--body); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; padding: 12px; }
.eyebrow { margin: 0; font: 700 13px/1.2 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--tape); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); font: 500 14px var(--mono); color: #c9d3cf; }

/* nav: glass material once you leave the top */
.nav { position: fixed; z-index: 40; left: 0; right: 0; top: 0; padding: calc(env(safe-area-inset-top, 0px) + 12px) max(12px, env(safe-area-inset-right, 0px)) 0 max(12px, env(safe-area-inset-left, 0px)); pointer-events: none; }
.nav-bar { pointer-events: auto; max-width: 1360px; margin: 0 auto; height: 60px; display: flex; align-items: center; gap: 24px; padding: 0 8px 0 14px; border-radius: 18px;
  border: 1px solid transparent; transition: background 260ms ease, border-color 260ms ease, backdrop-filter 260ms ease, box-shadow 260ms ease; }
.nav.glass .nav-bar { background: rgba(20, 28, 26, 0.62); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border-color: rgba(255, 255, 255, 0.1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 10px 30px rgba(0, 0, 0, 0.35); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--chalk); text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand span { font: 900 26px/1 var(--display); letter-spacing: 0.02em; }
.nav-links { display: none; gap: 26px; margin-left: 10px; }
.nav-links a { color: #c9d3cf; text-decoration: none; font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--chalk); }
.nav-cta { display: none; margin-left: auto; height: 42px; }
.menu-btn { margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--chalk); display: flex; align-items: center; justify-content: center; }
.menu { pointer-events: auto; max-width: 1360px; margin: 8px auto 0; padding: 10px; border-radius: 18px; background: rgba(20, 28, 26, 0.92);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); border: 1px solid var(--line); display: grid; gap: 2px;
  transform-origin: top right; animation: menu-in 220ms var(--ease-out); }
.menu[hidden] { display: none; }
.menu a { padding: 14px 12px; border-radius: 12px; color: var(--chalk); text-decoration: none; font: 900 26px var(--display); text-transform: uppercase; }
.menu a:active { background: rgba(255, 255, 255, 0.06); }
@keyframes menu-in { from { opacity: 0; transform: scale(0.96) translateY(-6px); } }

/* 1. hero */
.hero { position: relative; overflow: hidden; display: flex; flex-direction: column; }
.hero-media { position: relative; height: 62svh; min-height: 380px; transform-origin: 50% 0%; will-change: transform; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 15, 14, 0.55) 0%, rgba(11, 15, 14, 0) 25%, rgba(11, 15, 14, 0) 55%, var(--ink) 100%); }
.hero-copy { position: relative; margin-top: -90px; display: flex; flex-direction: column; gap: 18px; padding-bottom: 120px; }
.hero-title { font-size: clamp(66px, 10.5vw, 148px); line-height: 0.86; letter-spacing: -0.01em; }
.hero-title .w { display: inline-block; }
.js .hero-title .w { opacity: 0; transform: translateY(-26px) scale(1.12); }
.js.ready .hero-title .w { animation: thud 520ms var(--spring) both; animation-delay: calc(350ms + var(--i) * 110ms); }
/* safety: whatever happened to the animation, the headline is there after 2 s */
.js.settled .hero-title .w { opacity: 1; transform: none; animation: none; }
.js.settled .tape { transform: none; animation: none; }
@keyframes thud { 0% { opacity: 0; transform: translateY(-26px) scale(1.12); } 55% { opacity: 1; transform: translateY(2px) scale(1); } 100% { opacity: 1; transform: none; } }
.tape-word { position: relative; }
.tape { position: absolute; left: 0; right: 0.14em; bottom: 0.02em; height: 0.12em; background: var(--tape); transform-origin: left center; }
.js .tape { transform: scaleX(0); }
.js.ready .tape { animation: tape 420ms var(--ease-out) forwards; animation-delay: 900ms; }
@keyframes tape { to { transform: scaleX(1); } }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-ctas .btn-gold { display: none; }

/* 2. scroll to throw */
.throw { position: relative; }
.throw-pin { min-height: 100svh; display: flex; align-items: center; padding-block: 90px 40px; }
.throw-grid { display: grid; gap: 28px; }
.throw-copy { display: flex; flex-direction: column; gap: 22px; }
.throw-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font: 800 clamp(28px, 3vw, 40px)/1 var(--display); text-transform: none; }
.throw-lines li { color: #56635f; transition: color 240ms ease; }
.throw-lines li.on { color: var(--chalk); }
.throw-stage { position: relative; width: min(100%, 420px); aspect-ratio: 9 / 16; max-height: 70svh; margin-inline: auto; border-radius: 40px; overflow: hidden; background: #050707;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.throw-canvas, .throw-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.throw-still { display: none; }
.throw-rail { display: none; }

/* 3. every 180 */
.fx { position: relative; }
.fx-pin { padding-block: 100px 60px; overflow: hidden; }
.fx-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.fx-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 20px 18px; scrollbar-width: none; overscroll-behavior-x: contain; }
.fx-track::-webkit-scrollbar { display: none; }
.fx-card { position: relative; flex: 0 0 76vw; max-width: 400px; margin: 0; scroll-snap-align: center; display: flex; flex-direction: column; gap: 12px; }
.fx-card video { width: 100%; aspect-ratio: 6 / 7; object-fit: cover; border-radius: 26px; background: #111; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.fx-legend video { box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 2px rgba(240, 180, 60, 0.7); }
.foil { position: absolute; top: 0; left: 0; right: 0; aspect-ratio: 6 / 7; border-radius: 26px; overflow: hidden; pointer-events: none; }
.foil::after { content: ""; position: absolute; top: -40%; left: 0; width: 34%; height: 180%; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 236, 190, 0.26), rgba(255, 255, 255, 0));
  animation: foil 3.4s ease-in-out infinite; }
@keyframes foil { 0% { transform: translateX(-120%) rotate(18deg); } 60%, 100% { transform: translateX(320%) rotate(18deg); } }
.fx-card figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.fx-card figcaption span { font: 900 clamp(26px, 2.6vw, 36px)/1 var(--display); text-transform: uppercase; }
.fx-card figcaption em { font: 700 13px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; font-style: normal; }
.r-rare { color: #6fa8ff; } .r-epic { color: #c18cff; } .r-legend { color: var(--tape); }

/* 4. live 1v1 */
.live { overflow-x: hidden; overflow-x: clip; padding-block: 100px; background: radial-gradient(ellipse 60% 50% at 25% 50%, #2b1a0b 0%, rgba(11, 15, 14, 0) 70%); }
.live-grid { display: grid; gap: 48px; }
.live-phones { position: relative; height: 560px; }
.phone { position: absolute; aspect-ratio: 390 / 844; border-radius: 40px; overflow: hidden; background: #050707; box-shadow: 0 40px 110px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1); }
.phone img, .phone video { width: 100%; height: 100%; object-fit: cover; }
.phone-front { height: 540px; left: 50%; transform: translateX(-30%); }
.phone-back { height: 480px; left: 50%; top: 40px; transform: translateX(-100%) rotate(-7deg); opacity: 0.5; }
.live-copy { display: flex; flex-direction: column; gap: 24px; }
.clash { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.pcard { flex: 1; min-width: 0; height: 88px; border-radius: 22px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-direction: column; justify-content: center; padding: 0 20px; }
.pcard b { font: 900 32px/1 var(--display); text-transform: uppercase; }
.pcard small { font: 500 14px var(--mono); color: var(--mute); margin-top: 4px; }
.pr { text-align: right; }
.vs { font: 900 52px/1 var(--display); color: var(--tape); }
.pot { align-self: center; display: flex; align-items: baseline; gap: 12px; }
.pot small { font: 500 14px var(--mono); color: var(--mute); text-transform: uppercase; letter-spacing: 0.1em; }
.pot b { font: 900 64px/1 var(--display); color: var(--tape); font-variant-numeric: tabular-nums; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: #c9d3cf; }
.js .clash .pl { opacity: 0; transform: translateX(-120px); }
.js .clash .pr { opacity: 0; transform: translateX(120px); }
.js .clash .vs { opacity: 0; transform: scale(2.2); }
.js .clash.in .pl, .js .clash.in .pr { animation: clash 620ms var(--spring) forwards; }
.js .clash.in .vs { animation: slam 420ms var(--spring) 420ms forwards; }
@keyframes clash { 70% { opacity: 1; transform: translateX(0) scale(1.02); } 100% { opacity: 1; transform: none; } }
@keyframes slam { 70% { opacity: 1; transform: scale(0.94); } 100% { opacity: 1; transform: none; } }

/* 5. venues: a flickable carousel (site.js runs the physics) */
.venues { position: relative; padding-block: 100px 80px; overflow: hidden; }
.venues::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 45% at 50% 62%, color-mix(in srgb, var(--venue) 32%, transparent) 0%, rgba(11, 15, 14, 0) 72%); transition: background 600ms ease; pointer-events: none; }
.venues-head { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cf { position: relative; height: 470px; margin-top: 40px; perspective: 1400px; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; outline: none; }
.cf:active { cursor: grabbing; }
.cf-card { position: absolute; left: 50%; top: 0; width: 230px; margin-left: -115px; display: flex; flex-direction: column; gap: 10px; will-change: transform; transform-style: preserve-3d; }
.cf-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 26px; box-shadow: 0 34px 90px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1); pointer-events: none; }
.cf-card h3 { font-size: 32px; }
.cf-card p { margin: 0; display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--dim); }
.cf-card p b { font: 700 14px var(--mono); color: var(--tape); white-space: nowrap; }
.cf-card small { font: 500 13px var(--mono); color: var(--mute); }
.cf-card h3, .cf-card p, .cf-card small { opacity: var(--cap, 1); }
.cf-nav { position: relative; display: flex; align-items: center; justify-content: center; gap: 18px; }
.cf-count { font: 500 14px var(--mono); color: var(--mute); min-width: 4.5em; text-align: center; font-variant-numeric: tabular-nums; }

/* 6. everything else */
.more { padding-block: 100px; }
.more h2 { margin-bottom: 40px; }
.bento { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.tile { position: relative; overflow: hidden; border-radius: 28px; background: var(--slab); border: 1px solid rgba(255, 255, 255, 0.08); padding: 26px; min-height: 260px; display: flex; flex-direction: column; gap: 10px; }
.tile p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--dim); max-width: 26em; }
.tile img { border-radius: 22px; }
.t-rivals { background: linear-gradient(160deg, #2a1c0e 0%, #141c1a 70%); min-height: 380px; }
.t-rivals .tile-copy { display: flex; flex-direction: column; gap: 10px; max-width: 56%; }
.t-rivals img { position: absolute; right: 22px; top: 40px; width: 40%; max-width: 300px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.modes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.modes span { padding: 9px 15px 5px; background: var(--tape); color: var(--tape-ink); font: 900 clamp(22px, 2.2vw, 30px)/1 var(--display); text-transform: uppercase; }
.js .modes span { opacity: 0; transform: translateY(-26px) rotate(-6deg); }
.js .t-modes.in .modes span { animation: drop 480ms var(--spring) forwards; animation-delay: calc(var(--i) * 90ms); }
@keyframes drop { 60% { opacity: 1; transform: translateY(2px); } 100% { opacity: 1; transform: none; } }
.t-career { background: linear-gradient(180deg, #3b1c0c 0%, #1a0f08 100%); }
.ladder { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; font: 800 24px/1.05 var(--display); text-transform: uppercase; }
.ladder li:nth-child(1) { color: var(--tape); } .ladder li:nth-child(2) { color: #d8c6a8; } .ladder li:nth-child(3) { color: #b8a68a; } .ladder li:nth-child(4) { color: #98876d; } .ladder li:nth-child(5) { color: #7b6c56; }
.t-sprint { background: #0f3a28; }
.t-sprint .tile-copy { display: flex; flex-direction: column; gap: 10px; max-width: 52%; }
.t-sprint p { color: #cfe3d8; }
.t-sprint img { position: absolute; right: -6px; top: 22px; width: 42%; max-width: 210px; transform: rotate(6deg); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
.t-spin { background: radial-gradient(circle at 50% 80%, #3a2a6a 0%, #141c1a 70%); }
.t-store { background: linear-gradient(160deg, #5a1a3a 0%, #1c0f18 100%); }
.t-store p { color: #e3c9d6; }
.t-builder { background: #2a1458; }
.t-scorer { background: #3a2a08; }
.t-scorer p { color: #e8d9b0; }
.t-spin img, .t-store img, .t-builder img, .t-scorer img { width: 72%; max-width: 250px; margin-top: 14px; aspect-ratio: 390 / 600; object-fit: cover; object-position: 50% 12%; align-self: center; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }
.t-spin img { object-position: 50% 30%; }
.tilt { transition: transform 300ms var(--ease-out); transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.js [data-reveal] { opacity: 0; transform: translateY(26px); }
.js [data-reveal].in { opacity: 1; transform: none; transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }

/* 7. free, no ads */
.fair { padding-block: 90px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.fair-grid { display: grid; gap: 28px; }
.fair-lines { margin: 0; display: grid; gap: 4px; font: 900 clamp(56px, 9vw, 128px)/0.92 var(--display); text-transform: uppercase; }
.fair-lines span { display: block; overflow: hidden; }
.fair-lines b { display: block; font-weight: 900; }
.fair-lines .gold { color: var(--tape); }
.js .fair-lines b { transform: translateY(105%); }
.js .fair-lines.in b { transform: none; transition: transform 800ms var(--ease-out); }
.js .fair-lines.in span:nth-child(2) b { transition-delay: 120ms; }
.js .fair-lines.in span:nth-child(3) b { transition-delay: 240ms; }
.js .fair-lines[data-reveal] { opacity: 1; transform: none; }
.fair-note { margin: 0; max-width: 26em; font-size: 19px; line-height: 1.55; color: var(--dim); align-self: end; }

/* 8. join the test */
.join { padding-block: 100px 120px; background: radial-gradient(ellipse 60% 40% at 50% 20%, #2e2009 0%, rgba(11, 15, 14, 0) 70%); }
.join-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.join-head img { width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); }
.join-head .lede { text-align: center; }
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; gap: 14px; }
.steps li { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 24px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); }
.steps .num { font: 900 52px/1 var(--display); color: var(--tape); }
.steps h3 { font-size: 32px; }
.steps p { margin: 0; color: var(--dim); font-size: 16px; }
.steps .btn { align-self: flex-start; margin-top: 4px; }
.steps .done { position: absolute; right: 22px; top: 26px; width: 30px; height: 30px; border-radius: 999px; background: #4fbf86; color: var(--ink); display: flex; align-items: center; justify-content: center;
  transform: scale(0); transition: transform 320ms var(--spring); }
.steps li.is-done .done { transform: scale(1); }
.steps li.is-done { border-color: rgba(79, 191, 134, 0.45); }
.help-row { display: flex; justify-content: center; margin-top: 18px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 36px 0 calc(110px + env(safe-area-inset-bottom, 0px)); color: var(--mute); font-size: 15px; }
.foot-grid { display: grid; gap: 22px; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand img { width: 40px; height: 40px; border-radius: 10px; }
.foot-brand b { display: block; font: 900 24px/1 var(--display); color: var(--chalk); }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.foot-links a { color: var(--dim); text-decoration: none; }
.foot-links a:hover { color: var(--chalk); }
.foot-contact { display: flex; flex-direction: column; gap: 4px; }
.foot-contact span:first-child { color: var(--dim); user-select: all; }

/* phone: the button that sticks to the bottom */
.dock { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(14px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: rgba(11, 15, 14, 0.74); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%); border-top: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 320ms var(--ease-out), opacity 240ms ease; }
.dock .btn { width: 100%; }
.dock.away { transform: translateY(110%); opacity: 0; pointer-events: none; }

/* sheets: rise from where they were opened */
.sheet { border: 1px solid var(--line); border-radius: 26px; background: #141c1a; color: var(--chalk); padding: 28px; width: min(560px, 100% - 32px); box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7); }
.sheet::backdrop { background: rgba(5, 7, 7, 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet[open] { animation: sheet-in 320ms var(--ease-out); }
@keyframes sheet-in { from { opacity: 0; transform: scale(0.94) translateY(12px); } }
.sheet h3 { font-size: 34px; margin-bottom: 14px; }
.sheet ol { margin: 0 0 22px; padding-left: 20px; display: grid; gap: 10px; color: var(--dim); }
.sheet-video { padding: 0; width: min(420px, 100% - 32px); background: #000; overflow: hidden; }
.sheet-video video { width: 100%; aspect-ratio: 9 / 16; max-height: 86svh; background: #000; }
.sheet-video .close { position: absolute; top: 12px; right: 12px; background: rgba(0, 0, 0, 0.55); }

/* phone: the whole throw fits on one screen while it's pinned */
@media (max-width: 899px) {
  .throw-pin { padding-block: 76px 16px; }
  .throw-grid { gap: 16px; }
  .throw-copy { gap: 12px; }
  .throw-copy h2 { font-size: clamp(44px, 12vw, 64px); }
  .throw-lines { font-size: 24px; gap: 6px; }
  .throw-copy .chips { display: none; }
  .throw-stage { max-height: none; height: min(56svh, 520px); width: auto; aspect-ratio: 9 / 16; border-radius: 30px; }
}

/* tablet */
@media (min-width: 700px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-rivals, .t-modes { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .steps li { background: none; border: 0; border-top: 2px solid rgba(255, 255, 255, 0.18); border-radius: 0; padding: 26px 0 0; }
  .steps li:first-child { border-top-color: var(--tape); }
  .steps .done { right: 0; top: 30px; }
  .steps li.is-done { border-top-color: #4fbf86; }
  .foot-grid { grid-template-columns: auto 1fr auto; align-items: center; }
  .foot-contact { align-items: flex-end; }
  .fx-card { flex-basis: 46vw; }
}

/* desktop */
@media (min-width: 900px) {
  .nav-links, .nav-cta { display: flex; }
  .menu-btn, .menu { display: none !important; }
  .dock { display: none; }
  .foot { padding-bottom: 40px; }
  .hero { min-height: min(100svh, 980px); justify-content: center; }
  .hero-media { position: absolute; right: 0; top: 0; width: 50%; height: 100%; min-height: 0; transform-origin: 70% 40%; }
  .hero-fade { background: linear-gradient(90deg, var(--ink) 0%, rgba(11, 15, 14, 0.8) 18%, rgba(11, 15, 14, 0) 55%), linear-gradient(180deg, rgba(11, 15, 14, 0) 70%, var(--ink) 100%); }
  .hero-copy { margin: 0 auto; padding-block: 120px 80px; gap: 26px; }
  .hero-copy > * { max-width: 600px; }
  .hero-ctas .btn-gold { display: inline-flex; }
  .throw-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.8fr) 80px; align-items: center; gap: 48px; }
  .throw-stage { max-height: 80svh; width: 100%; }
  .throw-rail { display: block; position: relative; height: 60svh; width: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); }
  .throw-rail i { position: absolute; inset: 0; border-radius: 4px; background: var(--tape); transform-origin: top; transform: scaleY(var(--p, 0)); }
  .throw-rail span { position: absolute; left: 18px; transform: translateY(-50%); font: 500 13px var(--mono); color: var(--mute); }
  .fx-pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: 80px 40px; }
  .fx-track { overflow: visible; scroll-snap-type: none; padding: 0 0 0 max(20px, calc((100% - 1248px) / 2)); gap: 28px; }
  .fx-card { flex: 0 0 min(400px, 50svh); }
  .live-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); align-items: center; gap: 64px; }
  .live-phones { height: 760px; }
  .phone-front { height: 740px; transform: translateX(-35%); }
  .phone-back { height: 660px; top: 60px; transform: translateX(-110%) rotate(-7deg); }
  .cf { height: 560px; }
  .cf-card { width: 280px; margin-left: -140px; }
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 300px 300px 340px; gap: 20px; }
  .t-rivals { grid-column: 1 / 6; grid-row: 1 / 3; }
  .t-rivals .tile-copy { max-width: 100%; }
  .t-rivals img { width: 58%; max-width: 300px; top: 200px; bottom: auto; right: 28px; }
  .t-modes { grid-column: 6 / 13; grid-row: 1 / 2; }
  .t-career { grid-column: 6 / 9; grid-row: 2 / 3; }
  .t-sprint { grid-column: 9 / 13; grid-row: 2 / 3; }
  .t-spin { grid-column: 1 / 4; } .t-store { grid-column: 4 / 7; } .t-builder { grid-column: 7 / 10; } .t-scorer { grid-column: 10 / 13; }
  .t-spin img, .t-store img, .t-builder img, .t-scorer img { position: absolute; left: 28px; right: 28px; width: auto; max-width: none; top: 168px; margin: 0; aspect-ratio: auto; height: 320px; }
  .tile { padding: 32px; }
  .fair-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: end; }
}

/* reduced motion: fades only, nothing travels */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero-title .w, .js .tape, .js .modes span, .js .clash .pl, .js .clash .pr, .js .clash .vs, .js .fair-lines b { opacity: 1; transform: none; animation: none !important; }
  .js [data-reveal] { transform: none; }
  .js [data-reveal].in { transition: opacity 300ms ease; }
  .foil::after { animation: none; }
  .throw-canvas { display: none; }
  .throw-still { display: block; }
  .throw-lines li { color: var(--chalk); }
  .sheet[open], .menu { animation: none; }
  .tilt { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav.glass .nav-bar, .dock, .menu { background: #141c1a; backdrop-filter: none; -webkit-backdrop-filter: none; }
}
