/* AMT Coaching. Onyx / Graphite / Ivory / Gold / Ash. Barlow Condensed headlines, Inter body.
   Direction: the Iron Atelier — smoked glass, warm gold edges, one hard key light, quiet depth. */

:root {
  --onyx: #0c0c0d;
  --graphite: #171719;
  --graphite-2: #1f1f22;
  --ivory: #f4f0e7;
  --gold: #c7a76a;
  --gold-hi: #ead39e;
  --gold-lo: #8f7140;
  --ash: #b9b5ae;
  --text-2: rgba(244, 240, 231, 0.74);
  --text-3: rgba(185, 181, 174, 0.7);
  --line: rgba(244, 240, 231, 0.09);
  --line-gold: rgba(199, 167, 106, 0.38);
  --gold-grad: linear-gradient(180deg, #f0dcab 0%, #caa96a 50%, #a5844a 100%);
  --gold-type: linear-gradient(178deg, #f6e6bd 0%, #d6b678 38%, #b08d52 70%, #8a6b3a 100%);
  --glass: linear-gradient(160deg, rgba(40, 38, 34, 0.62), rgba(14, 14, 15, 0.72));
  --f-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pad: clamp(20px, 5vw, 80px);
  --ease: cubic-bezier(0.2, 0.75, 0.15, 1);
  --slam: cubic-bezier(0.34, 1.4, 0.4, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--onyx); color: var(--ivory); font: 400 16.5px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(199, 167, 106, 0.4); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--gold); color: #15120a; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* grain over everything, very quiet */
body::after { content: ''; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- Type ---------- */
.display, h1, .pkg-title { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.005em; line-height: 0.9; margin: 0; }
.display { font-size: clamp(44px, 6.2vw, 88px); }
.gold-type { background: var(--gold-type); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font-family: var(--f-display); font-weight: 600; font-size: 13px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.lead { font-size: clamp(17px, 1.35vw, 19px); color: var(--text-2); max-width: 540px; margin-top: 22px; }
.label { font-family: var(--f-display); font-weight: 600; font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--text-3); }
.muted { color: var(--text-3); }
.note { font-size: 13px; color: var(--text-3); }

/* ---------- Monogram (approved mark, used as a mask so it is always one colour) ---------- */
.mono { display: inline-block; width: 96px; aspect-ratio: 692 / 222; background: var(--gold-grad);
  -webkit-mask: url('../img/amt-mask.png') center / contain no-repeat; mask: url('../img/amt-mask.png') center / contain no-repeat; }

/* ---------- Cutouts: JPEG colour + one-colour alpha mask (see tools/split) ---------- */
.cut { -webkit-mask-image: var(--m); mask-image: var(--m); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.cut.fade { -webkit-mask-image: var(--m), linear-gradient(180deg, #000 84%, transparent 100%); mask-image: var(--m), linear-gradient(180deg, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 4px;
  font: 600 14.5px/1 var(--f-body); letter-spacing: 0.01em; text-decoration: none; white-space: nowrap; color: var(--ivory);
  border: 1px solid var(--line-gold); background: rgba(12, 12, 13, 0.4); backdrop-filter: blur(10px); transition: background 0.25s, border-color 0.25s, transform 0.2s var(--ease), filter 0.2s; }
.btn:hover { border-color: var(--gold); background: rgba(199, 167, 106, 0.08); }
.btn:active { transform: scale(0.98); }
.btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn.gold { background: var(--gold-grad); color: #16120a; border-color: transparent; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 -1px 0 rgba(0, 0, 0, 0.25) inset, 0 14px 40px -16px rgba(199, 167, 106, 0.7); }
.btn.gold:hover { filter: brightness(1.07); }
.btn.lg { min-height: 56px; padding: 0 30px; font-size: 15.5px; }
.btn.block { width: 100%; }

.glass { background: var(--glass); border: 1px solid rgba(199, 167, 106, 0.22); border-radius: 10px; backdrop-filter: blur(16px) saturate(1.1); -webkit-backdrop-filter: blur(16px) saturate(1.1);
  box-shadow: 0 1px 0 rgba(255, 236, 196, 0.12) inset, 0 30px 60px -30px rgba(0, 0, 0, 0.9); }
@supports not (backdrop-filter: blur(1px)) { .glass { background: #151514; } }

/* ---------- Nav ---------- */
.nav { position: fixed; z-index: 60; top: 16px; left: var(--pad); right: var(--pad); height: 64px; display: flex; align-items: center; gap: 28px; padding: 0 12px 0 22px;
  border: 1px solid rgba(199, 167, 106, 0.2); border-radius: 8px; background: rgba(12, 12, 13, 0.45); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  transition: background 0.3s, transform 0.4s var(--ease); }
.nav.solid { background: rgba(12, 12, 13, 0.82); }
.brand { display: flex; align-items: center; gap: 16px; min-height: 44px; text-decoration: none; }
.brand .mono { width: 84px; }
.brand-sub { padding-left: 16px; border-left: 1px solid var(--line-gold); font-family: var(--f-display); font-weight: 500; font-size: 11.5px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--text-2); }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a { font-size: 14px; color: var(--text-2); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--ivory); }
.nav-cta { min-height: 42px; padding: 0 20px; font-size: 14px; }
.menu-btn { display: none; width: 46px; height: 46px; margin-left: auto; position: relative; }
.menu-btn i { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ivory); transition: transform 0.3s var(--ease); }
.menu-btn i:first-child { top: 18px; } .menu-btn i:last-child { top: 27px; }
.menu-btn[aria-expanded='true'] i:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-btn[aria-expanded='true'] i:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.menu { position: fixed; z-index: 55; inset: 0; padding: 110px 20px 30px; background: rgba(10, 10, 11, 0.97); display: flex; flex-direction: column; gap: 12px; }
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; margin-bottom: auto; }
.menu nav a { font: 700 40px/1.25 var(--f-display); text-transform: uppercase; text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--line); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(100svh, 760px); overflow: hidden; isolation: isolate; display: flex; align-items: center; padding: 120px var(--pad) 90px; }
.layer { position: absolute; will-change: transform; }
.hero-bg { inset: -6% 0 0 0; z-index: -5; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; filter: brightness(0.82) contrast(1.06); }
.hero-beam { z-index: -4; top: -10%; right: 8%; width: 46vw; height: 130%; pointer-events: none; mix-blend-mode: screen; opacity: 0.55;
  background: conic-gradient(from 196deg at 70% 0%, transparent 0deg, rgba(232, 200, 140, 0.16) 10deg, rgba(232, 200, 140, 0.05) 22deg, transparent 30deg); filter: blur(6px); }
.hero-plate { z-index: -3; width: min(40vw, 580px); top: 6%; right: -14vw; opacity: 0.9; filter: brightness(0.55) contrast(1.1); }
.hero-chalk { z-index: 1; width: 110vw; left: -30vw; bottom: -22%; opacity: 0.2; pointer-events: none; mix-blend-mode: screen; }
.hero-austin { z-index: 0; right: clamp(-40px, 2vw, 80px); bottom: 0; height: min(90%, 880px); aspect-ratio: 608 / 788; }
.hero-austin img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; filter: contrast(1.06) saturate(0.82) brightness(0.92);
}
.hero-austin { filter: drop-shadow(-18px 0 40px rgba(199, 167, 106, 0.18)); }
.hero-vignette { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(12, 12, 13, 0.92) 0%, rgba(12, 12, 13, 0.55) 38%, transparent 62%), linear-gradient(0deg, var(--onyx) 0%, transparent 22%); }
.hero-copy { position: relative; z-index: 2; max-width: min(760px, 52vw); }
.kinetic { font-size: clamp(64px, 6.9vw, 118px); }
.kinetic .line { display: block; overflow: hidden; padding: 0.04em 0 0.02em; }
.kinetic .w { display: inline-block; }
.kinetic .line.gold-type { background: none; color: inherit; }
.kinetic .gold-type .w { background: var(--gold-type); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.02em; }
.hero-sub { margin-top: 26px; font-size: clamp(16px, 1.5vw, 20px); letter-spacing: 0.16em; text-transform: uppercase; font-family: var(--f-display); font-weight: 500; color: var(--ivory); }
.hero-sub span { color: var(--text-3); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.plan-card { position: absolute; z-index: 3; right: clamp(20px, 4vw, 70px); bottom: 15%; width: 270px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.plan-card .label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.tag { font: 600 10px/1 var(--f-body); letter-spacing: 0.1em; color: var(--gold); border: 1px solid var(--line-gold); padding: 4px 7px; border-radius: 3px; }
.plan-row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid rgba(199, 167, 106, 0.18); border-radius: 6px; background: rgba(0, 0, 0, 0.25); font-size: 14px; font-weight: 500; }
.plan-row small { display: block; font-size: 12px; color: var(--text-3); font-weight: 400; }
.plan-row svg, .level svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 1px solid var(--line-gold); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(14px); } }

/* Entrance: slam and settle (runs once, only when motion is allowed) */
.js .kinetic .w { opacity: 0; transform: translateY(-0.5em) scale(1.35); filter: blur(10px); }
.js .reveal-now { opacity: 0; transform: translateY(18px); }
.js .hero-austin { opacity: 0; transform: translateY(8%) scale(1.04); }
.js .hero-plate { opacity: 0; }
.loaded .kinetic .w { animation: slam 0.85s var(--slam) forwards; animation-delay: calc(0.12s + var(--i) * 0.09s); }
.loaded .reveal-now { animation: rise 0.9s var(--ease) forwards; animation-delay: calc(0.75s + var(--i, 0) * 0.08s); }
.loaded .hero-austin { animation: austinIn 1.3s var(--ease) 0.15s forwards; }
.loaded .hero-plate { animation: plateIn 1.6s var(--slam) 0.35s forwards; }
@keyframes slam { 0% { opacity: 0; transform: translateY(-0.5em) scale(1.35); filter: blur(10px); } 55% { opacity: 1; transform: translateY(0.03em) scale(0.97); filter: blur(0); } 100% { opacity: 1; transform: none; filter: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes austinIn { to { opacity: 1; transform: none; } }
@keyframes plateIn { 0% { opacity: 0; translate: 30vw 0; rotate: 160deg; } 100% { opacity: 0.9; translate: 0 0; rotate: 0deg; } }
.js .hero-plate { opacity: 0; }

/* continuous ambient motion, paused by the motion control */
.hero-chalk { animation: drift 26s ease-in-out infinite alternate; }
.hero-beam { animation: beam 9s ease-in-out infinite alternate; }
@keyframes drift { from { translate: -2vw 0; } to { translate: 3vw -1.5vh; } }
@keyframes beam { from { opacity: 0.42; } to { opacity: 0.62; } }
.paused *, .paused *::before, .paused *::after { animation-play-state: paused !important; }
.hero-off .hero-chalk, .hero-off .hero-beam, .hero-off .scroll-cue span { animation-play-state: paused; }

/* ---------- Levels ---------- */
.levels { position: relative; z-index: 4; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0 var(--pad); margin-top: -40px; }
.level { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 6px; padding: 26px; text-decoration: none; transition: border-color 0.3s, transform 0.4s var(--ease); }
.level svg { grid-row: span 3; margin-top: 2px; width: 28px; height: 28px; }
.level-k { font: 600 14px/1 var(--f-display); letter-spacing: 0.26em; text-transform: uppercase; }
.level strong { font: 700 30px/1 var(--f-display); color: var(--gold); }
.level strong small { font-size: 0.55em; color: var(--text-3); margin-left: 3px; }
.level-d { font-size: 14px; color: var(--text-2); }
.level:hover { border-color: var(--gold); transform: translateY(-4px); }

/* ---------- Method (sticky assembly) ---------- */
.method { position: relative; height: 330vh; }
.method-stage { position: sticky; top: 0; height: 100vh; min-height: 640px; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; padding: 100px var(--pad) 26px;
  background: radial-gradient(60% 50% at 50% 55%, rgba(199, 167, 106, 0.1), transparent 70%), var(--onyx); }
.method-head { position: relative; z-index: 2; max-width: 640px; }
.rig { position: relative; align-self: center; width: min(92vw, 1180px, 108vh); margin: 0 auto; aspect-ratio: 1536 / 560; }
.rig .bar { position: absolute; left: 0; top: 50%; width: 100%; transform: translateY(-50%); filter: brightness(0.95) drop-shadow(0 30px 30px rgba(0, 0, 0, 0.7)); }
.rig .p { position: absolute; top: 50%; left: var(--cx); height: 112%; width: auto; transform: translate(calc(-50% + var(--x, 0px)), -50%) rotate(var(--r, 0deg)); opacity: var(--o, 1); }
.rig .p1 { --cx: 20.2%; } .rig .p2 { --cx: 79.8%; } .rig .p3 { --cx: 16.6%; } .rig .p4 { --cx: 83.4%; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 16px 22px 0 0; opacity: 0.32; transition: opacity 0.5s; }
.step + .step { padding-left: 22px; border-left: 1px solid var(--line); }
.step b { font: 600 14px/1 var(--f-display); color: var(--gold); letter-spacing: 0.1em; }
.step h3 { font: 700 30px/1 var(--f-display); text-transform: uppercase; margin: 8px 0 6px; }
.step p { font-size: 14.5px; color: var(--text-2); }
.step.on { opacity: 1; }
.step.on b { color: var(--gold-hi); }

/* ---------- Platform ---------- */
.honest { margin-top: 26px; padding-left: 14px; border-left: 2px solid var(--line-gold); font-size: 13px; color: var(--text-3); max-width: 440px; }
.phone-scene { position: relative; height: min(84vh, 760px); display: grid; place-items: center; perspective: 1400px; }
.phone-glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(199, 167, 106, 0.32), transparent 65%); filter: blur(30px); }
.phone { position: relative; height: 100%; aspect-ratio: 1024 / 1536; transform: translateY(var(--py, 0)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--ps, 1)); transform-style: preserve-3d; }
.phone > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 1; pointer-events: none; }
.screen { position: absolute; z-index: 2; inset: 4.9% 18.7% 5.2% 18.7%; border-radius: 13% / 6.2%; background: linear-gradient(180deg, #121213, #0b0b0c); padding: 11% 7% 6%; display: flex; flex-direction: column; gap: 3.2%; overflow: hidden; font-size: clamp(9px, 1.15vh, 12.5px); }
.screen::before { content: ''; position: absolute; top: 2.2%; left: 50%; width: 30%; height: 3.4%; transform: translateX(-50%); border-radius: 999px; background: #000; }
.s-top { display: flex; justify-content: space-between; align-items: center; }
.s-mono { width: 32%; aspect-ratio: 692 / 222; background: var(--gold-grad); -webkit-mask: url('../img/amt-mask.png') center / contain no-repeat; mask: url('../img/amt-mask.png') center / contain no-repeat; }
.s-dots { width: 18px; height: 2px; background: var(--text-3); box-shadow: 0 -5px 0 var(--text-3), 0 5px 0 var(--text-3); }
.s-hello { font: 600 2em/1.05 var(--f-display); text-transform: uppercase; margin-top: 4%; }
.s-hello small { display: block; font: 400 0.48em/1.4 var(--f-body); text-transform: none; color: var(--text-3); }
.s-label { font: 600 0.8em/1 var(--f-display); letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-top: 3%; }
.s-row { display: flex; align-items: center; gap: 0.9em; padding: 0.8em 0.9em; border: 1px solid rgba(199, 167, 106, 0.2); border-radius: 0.6em; background: rgba(255, 255, 255, 0.03); font-weight: 500; }
.s-row small { display: block; color: var(--text-3); font-weight: 400; font-size: 0.85em; }
.s-row i { width: 1.9em; height: 1.9em; border-radius: 0.5em; border: 1px solid var(--line-gold); flex: none; }
.s-row.done i { background: var(--gold-grad); }
.s-rings { display: flex; justify-content: space-between; gap: 4%; }
.s-rings span { flex: 1; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center; font-size: 0.72em; color: var(--text-3);
  background: radial-gradient(closest-side, #111 79%, transparent 80% 100%), conic-gradient(var(--gold) calc(var(--v) * 360deg), rgba(255, 255, 255, 0.08) 0); }
.s-rings b { display: block; font: 600 1.6em/1 var(--f-display); color: var(--ivory); }

.pillars { padding: 40px var(--pad) clamp(90px, 10vw, 160px); max-width: 1500px; margin: 0 auto; display: flex; flex-direction: column; gap: clamp(60px, 8vw, 120px); }
.pillar { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 90px); align-items: center; }
.pillar:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
.pillar:nth-child(even) .pillar-art { order: 2; }
.pillar-art { overflow: hidden; border-radius: 6px; border: 1px solid var(--line); aspect-ratio: 3 / 2; }
.pillar-art img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--zs, 1.12)); transition: transform 0.2s linear; }
.pillar-copy b { font: 600 15px/1 var(--f-display); color: var(--gold); letter-spacing: 0.14em; }
.pillar-copy h3 { font: 700 clamp(48px, 6vw, 84px)/0.9 var(--f-display); text-transform: uppercase; margin: 12px 0 18px; }
.pillar-copy p { color: var(--text-2); max-width: 420px; font-size: 17px; }

/* ---------- Programs ---------- */
.programs { padding: clamp(90px, 10vw, 150px) var(--pad); max-width: 1500px; margin: 0 auto; }
.programs-head { margin-bottom: 44px; }
.ladder { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; align-items: end; margin-bottom: 34px; }
.ladder button { --h: 0px; position: relative; min-height: calc(86px + var(--h)); display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 16px 18px; text-align: left;
  border: 1px solid var(--line); border-radius: 6px; background: linear-gradient(180deg, rgba(31, 31, 34, 0.55), rgba(15, 15, 16, 0.85)); transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease); }
.ladder button:nth-child(2) { --h: 14px; } .ladder button:nth-child(3) { --h: 28px; } .ladder button:nth-child(4) { --h: 42px; } .ladder button:nth-child(5) { --h: 56px; }
.ladder span { font: 600 13px/1.2 var(--f-display); letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-2); }
.ladder b { font: 700 28px/1 var(--f-display); }
.ladder b small { font-size: 0.55em; color: var(--text-3); }
.ladder button:hover { border-color: var(--line-gold); transform: translateY(-3px); }
.ladder button[aria-selected='true'] { border-color: var(--gold); background: linear-gradient(180deg, rgba(199, 167, 106, 0.2), rgba(20, 18, 14, 0.9)); }
.ladder button[aria-selected='true'] b { color: var(--gold-hi); }
.ladder button[aria-selected='true']::after { content: ''; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 2px; background: var(--gold); }

.pkg { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.pkg[hidden] { display: none; }
.pkg-art { position: sticky; top: 100px; overflow: hidden; border-radius: 6px; border: 1px solid var(--line-gold); aspect-ratio: 4 / 5; background: #000; }
.pkg-art > img:first-child { width: 100%; height: 100%; object-fit: cover; }
.pkg.enter .pkg-art > img:first-child { animation: artIn 1.4s var(--ease) both; }
@keyframes artIn { from { transform: scale(1.12); filter: brightness(0.4); } to { transform: none; filter: none; } }
.pkg-cut { position: absolute; bottom: 0; left: 50%; height: 74%; width: auto; transform: translateX(-50%); filter: contrast(1.05) saturate(0.85) brightness(0.92); }
.stage-art .pkg-cut { height: 50%; filter: contrast(1.05) saturate(0.55) sepia(0.18) brightness(0.88); }
.pkg.enter .pkg-cut { animation: cutIn 1.3s var(--slam) 0.25s both; }
@keyframes cutIn { from { opacity: 0; transform: translate(-50%, 16%) scale(0.94); } to { opacity: 1; transform: translateX(-50%); } }
.pkg-title { font-size: clamp(48px, 5.4vw, 80px); }
.price { margin-top: 14px; font: 700 40px/1 var(--f-display); color: var(--gold); }
.price small { font: 400 14px/1.4 var(--f-body); color: var(--text-3); margin-left: 6px; }
.pkg-lede { margin-top: 18px; font-size: 18px; color: var(--ivory); max-width: 560px; }
.scope { margin: 30px 0 0; border-top: 1px solid var(--line); }
.scope > div { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.scope dt { font: 600 13px/1.4 var(--f-display); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); padding-top: 2px; }
.scope dd { margin: 0; color: var(--text-2); font-size: 15px; }
.scope ul, .scope ol { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.scope li::marker { color: var(--gold); }
.scope .excl dt { color: var(--ash); }
.pkg-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 30px; }
.pkg-ctas .note { max-width: 300px; }

.compare { margin-top: 90px; }
.compare .display { font-size: clamp(32px, 3.6vw, 48px); margin-bottom: 22px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; }
table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 14px; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
thead th { font: 600 13px/1.2 var(--f-display); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); background: rgba(199, 167, 106, 0.06); }
tbody th { font-weight: 500; color: var(--ivory); }
td { color: var(--text-2); }
tbody tr:last-child > * { border-bottom: 0; }
.compare .note { margin-top: 14px; }

/* ---------- Austin ---------- */
.austin { position: relative; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 100px); align-items: center; padding: clamp(80px, 9vw, 140px) var(--pad); max-width: 1500px; margin: 0 auto; }
.austin::before { content: ''; position: absolute; left: var(--pad); top: 12%; width: 40%; height: 76%; z-index: -1; background: radial-gradient(closest-side, rgba(199, 167, 106, 0.18), transparent); }
.austin-art { display: flex; justify-content: center; }
.austin-art img { max-height: 78vh; width: auto; filter: contrast(1.05) saturate(0.8) brightness(0.92); }
.austin-copy p + p { margin-top: 18px; color: var(--text-2); max-width: 560px; }
.austin-copy a { color: var(--gold-hi); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 100px); padding: clamp(70px, 8vw, 120px) var(--pad); max-width: 1500px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; font: 600 clamp(20px, 2vw, 26px)/1.15 var(--f-display); text-transform: uppercase; letter-spacing: 0.01em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; flex: none; width: 14px; height: 14px; border-right: 1.6px solid var(--gold); border-bottom: 1.6px solid var(--gold); transform: rotate(45deg) translateY(-4px); transition: transform 0.3s var(--ease); }
details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
details p { padding: 0 0 22px; color: var(--text-2); max-width: 620px; }

/* ---------- Final ---------- */
.final { position: relative; overflow: hidden; padding: clamp(120px, 14vw, 200px) var(--pad); text-align: center; background: radial-gradient(50% 60% at 50% 50%, rgba(199, 167, 106, 0.12), transparent 70%); }
.final-plate { position: absolute; z-index: 0; left: 50%; top: 50%; width: min(70vw, 760px); margin: calc(min(70vw, 760px) / -2) 0 0 calc(min(70vw, 760px) / -2); opacity: 0.22; filter: brightness(0.7); }
.final-copy { position: relative; z-index: 1; }
.final .display { font-size: clamp(64px, 11vw, 168px); }
.final-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }
.contact { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; }
.contact a { color: var(--text-2); text-decoration: none; font-size: 14.5px; border-bottom: 1px solid var(--line-gold); padding-bottom: 2px; }
.contact a:hover { color: var(--ivory); }

.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 34px var(--pad) 90px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-2); }
.foot .mono { width: 70px; }
.foot .muted { flex-basis: 100%; font-size: 12px; }

/* ---------- Scroll reveals ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Motion control ---------- */
.motion-btn { position: fixed; z-index: 70; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 12px; border-radius: 4px; font-size: 12.5px; color: var(--text-2);
  background: rgba(12, 12, 13, 0.7); border: 1px solid var(--line); backdrop-filter: blur(12px); }
.motion-btn:hover { color: var(--ivory); border-color: var(--line-gold); }
.motion-btn .ico { width: 10px; height: 11px; border-left: 3px solid var(--gold); border-right: 3px solid var(--gold); }
.motion-btn[aria-pressed='true'] .ico { width: 0; height: 0; border: 0; border-left: 9px solid var(--gold); border-top: 5.5px solid transparent; border-bottom: 5.5px solid transparent; }

/* ---------- Reduced motion: everything visible and still ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .kinetic .w, .js .reveal-now, .js .hero-austin, .js .hero-plate, .js .reveal { opacity: 1 !important; transform: none !important; filter: none; }
  .js .hero-plate { opacity: 0.9 !important; }
  .method { height: auto; }
  .method-stage { position: relative; height: auto; }
  .step { opacity: 1; }
  .motion-btn { display: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .plan-card { display: none; }
  .levels { grid-template-columns: 1fr; margin-top: 0; padding-top: 30px; }
  .phone-scene { height: 640px; }
  .pkg { grid-template-columns: 1fr; }
  .pkg-art { position: relative; top: 0; aspect-ratio: 16 / 10; }
  .pkg-art > img:first-child { object-position: 50% 60%; }
  .austin, .faq { grid-template-columns: 1fr; }
  .austin-art img { max-height: 560px; }
}

/* ---------- Tablet hero: stacked poster, Austin below the copy ---------- */
@media (max-width: 1100px) {
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: auto; padding: 130px var(--pad) 0; }
  .hero-bg { inset: 0; }
  .hero-bg img { object-position: 50% 30%; }
  .hero-vignette { background: linear-gradient(180deg, rgba(12, 12, 13, 0.88) 0%, rgba(12, 12, 13, 0.45) 45%, transparent 62%), linear-gradient(0deg, var(--onyx) 0%, transparent 18%); }
  .hero-copy { order: 1; max-width: 680px; }
  .kinetic { font-size: clamp(56px, 9vw, 92px); }
  .hero-austin { order: 2; position: relative; right: auto; bottom: auto; align-self: flex-end; height: auto; width: min(62vw, 480px); margin-top: -40px; }
  .hero-plate { top: 40%; right: -18vw; width: 52vw; }
  .scroll-cue { display: none; }
}

/* ---------- Phone: art-directed separately ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { top: 10px; left: 10px; right: 10px; height: 58px; padding: 0 4px 0 16px; }
  .brand-sub, .nav-cta { display: none; }
  .brand .mono { width: 76px; }
  .menu-btn { display: block; }

  /* hero becomes a stacked poster: copy first, Austin standing in the light below it */
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: auto; padding: 104px 20px 0; }
  .hero-bg { inset: 0; }
  .hero-bg img { object-position: 50% 30%; }
  .hero-beam { right: -10%; width: 100vw; opacity: 0.4; }
  .hero-plate { width: 62vw; top: 46%; right: -26vw; opacity: 0.55 !important; }
  .hero-chalk { width: 200vw; left: -50vw; bottom: 0; }
  .hero-vignette { background: linear-gradient(180deg, rgba(12, 12, 13, 0.88) 0%, rgba(12, 12, 13, 0.5) 42%, transparent 60%), linear-gradient(0deg, var(--onyx) 0%, transparent 18%); }
  .hero-copy { order: 1; max-width: none; }
  .kinetic { font-size: clamp(46px, 13.6vw, 62px); }
  .hero-sub { font-size: 14px; letter-spacing: 0.12em; }
  .hero-sub span { display: block; margin-top: 4px; }
  .hero-ctas { flex-direction: column; gap: 10px; margin-top: 28px; }
  .hero-ctas .btn { width: 100%; }
  .hero-austin { order: 2; position: relative; right: auto; bottom: auto; align-self: center; height: auto; width: min(84vw, 380px); margin-top: 18px; }
  .scroll-cue { display: none; }

  .levels { padding: 10px 20px 0; gap: 10px; }
  .level { padding: 20px; }


  /* method: no sticky stage on phones; the bar is shown loaded with the steps beneath */
  .method { height: auto; }
  .method-stage { position: relative; height: auto; min-height: 0; padding: 80px 20px; gap: 30px; }
  .rig { width: 100%; }
  .rig .p { --x: 0px !important; --r: 0deg !important; --o: 1 !important; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { opacity: 1; padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .step h3 { font-size: 30px; }

  .phone-scene { height: 520px; }
  .pillars { padding: 30px 20px 80px; gap: 56px; }
  .pillar, .pillar:nth-child(even) { grid-template-columns: 1fr; gap: 20px; }
  .pillar:nth-child(even) .pillar-art { order: 0; }
  .pillar-copy h3 { font-size: 52px; }

  .programs { padding: 80px 20px; }
  .ladder { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; margin: 0 -20px 26px; padding: 0 20px 4px; scrollbar-width: none; }
  .ladder::-webkit-scrollbar { display: none; }
  .ladder button { flex: 0 0 auto; min-width: 150px; min-height: 76px; scroll-snap-align: start; }
  .pkg-art { aspect-ratio: 4 / 3.4; }
  .pkg-title { font-size: 46px; }
  .price { font-size: 34px; }
  .price small { display: block; margin: 8px 0 0; }
  .scope > div { grid-template-columns: 1fr; gap: 6px; }
  .pkg-ctas .btn { width: 100%; }
  .compare { margin-top: 60px; }

  .austin { padding: 70px 20px; }
  .austin-art img { max-height: 440px; }
  .faq { padding: 60px 20px; }
  .final { padding: 100px 20px 110px; }
  .final .display { font-size: 64px; }
  .final-ctas .btn { width: 100%; }
  .foot { padding: 30px 20px 80px; }
  .motion-btn .txt { display: none; }
  .motion-btn { padding: 0 12px; }
}

#p-collective .pkg-art > img:first-child { object-position: 50% 88%; }
#p-nutrition .pkg-art > img:first-child { object-position: 40% 40%; }

/* Continuous motion only lives in the hero, so its control only shows there (and never covers body copy) */
.motion-btn { transition: opacity 0.3s, visibility 0.3s; }
.hero-off .motion-btn { opacity: 0; visibility: hidden; }
/* Grade Austin's daylight portrait into the still life's warm key light */
.hero-art .pkg-cut { height: 66%; filter: contrast(1.12) saturate(0.45) sepia(0.28) brightness(0.8); }
.hero-art::after, .stage-art::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 70% at 50% 100%, transparent 40%, rgba(12, 12, 13, 0.55) 100%), linear-gradient(0deg, rgba(12, 12, 13, 0.6), transparent 30%); }

/* =====================================================================
   SIGNATURE SCENES. Every pinned scene is driven by scroll progress (site.js),
   pins only on wider screens, and falls back to a plain static layout.
   ===================================================================== */

/* ---------- Slam: Train / Move / Recover / Repeat ---------- */
.slam { position: relative; height: 270vh; }
.slam-stage { position: sticky; top: 0; height: 100vh; min-height: 560px; overflow: hidden; display: grid; place-content: center; justify-items: center; text-align: center; padding: 0 var(--pad);
  background: radial-gradient(50% 50% at 50% 50%, rgba(199, 167, 106, 0.08), transparent 70%); }
.slam-plate { position: absolute; left: 50%; top: 50%; width: min(86vh, 780px); translate: -50% -50%; rotate: var(--sr, 0deg); scale: var(--ss, 0.8); opacity: 0.18; filter: brightness(0.7); }
.slam-words { position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; font: 700 clamp(64px, 12.5vw, 200px)/0.84 var(--f-display); text-transform: uppercase; letter-spacing: -0.005em; }
.sw { display: block; opacity: 0; transform: translateY(-0.28em) scale(1.55); filter: blur(14px); transition: opacity 0.2s, transform 0.5s var(--slam), filter 0.3s, color 0.4s; }
.sw.on { opacity: 1; transform: none; filter: none; }
.sw.dim { color: rgba(244, 240, 231, 0.2); }
.gold-sw { background: var(--gold-type); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.slam-line { position: relative; margin-top: 5vh; max-width: 720px; font: 500 clamp(18px, 1.9vw, 26px)/1.3 var(--f-display); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2);
  opacity: var(--lo, 0); transform: translateY(calc((1 - var(--lo, 0)) * 20px)); }
.slam-line em { font-style: normal; color: var(--gold-hi); }
.hit { animation: hit 0.42s var(--ease); }
@keyframes hit { 0% { transform: translate(0, 0); } 20% { transform: translate(-3px, 5px); } 45% { transform: translate(2px, -3px); } 70% { transform: translate(-1px, 1px); } 100% { transform: none; } }

/* ---------- Method payoff: readout, bar slam, chalk burst ---------- */
.method-stage { position: sticky; }
.loadout { position: absolute; right: var(--pad); top: 104px; display: flex; align-items: flex-end; gap: 12px; }
.lo-n { font: 700 clamp(70px, 7.5vw, 118px)/0.82 var(--f-display); background: var(--gold-type); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.loadout span { font: 600 12px/1.3 var(--f-display); letter-spacing: 0.26em; text-transform: uppercase; color: var(--text-3); padding-bottom: 6px; }
.rig .burst { position: absolute; z-index: 0; left: 50%; top: 50%; width: 105%; max-width: none; translate: -50% -50%; scale: var(--bs, 0.4); opacity: var(--bo, 0); mix-blend-mode: screen; pointer-events: none; }
.rig.landed { animation: barSlam 0.6s var(--slam); }
@keyframes barSlam { 0% { transform: none; } 28% { transform: translateY(16px); } 60% { transform: translateY(-5px); } 100% { transform: none; } }

/* ---------- Story: pinned phone, chapters change the screen and the room ---------- */
.story { position: relative; height: 470vh; }
.story-stage { position: sticky; top: 0; height: 100vh; min-height: 640px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); align-items: center; gap: 40px; padding: 96px var(--pad) 36px; }
.story-bgs { position: absolute; inset: 0; z-index: 0; }
.story-bgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.1); filter: brightness(0.3) saturate(0.8); transition: opacity 0.9s var(--ease), transform 4s var(--ease); }
.story-bgs img.on { opacity: 1; transform: scale(1); }
.story-bgs::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 12, 13, 0.92) 0%, rgba(12, 12, 13, 0.55) 50%, rgba(12, 12, 13, 0.35) 100%), linear-gradient(0deg, var(--onyx), transparent 25%, transparent 80%, var(--onyx)); }
.story-copy { position: relative; z-index: 1; max-width: 560px; }
.chapters { list-style: none; padding: 0; margin: 40px 0 0; position: relative; min-height: 200px; }
.ch { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(34px); transition: opacity 0.5s var(--ease), transform 0.7s var(--ease); }
.ch.on { opacity: 1; transform: none; }
.ch.gone { transform: translateY(-34px); }
.ch b { font: 600 15px/1 var(--f-display); letter-spacing: 0.14em; color: var(--gold); }
.ch h3 { font: 700 clamp(56px, 6vw, 92px)/0.9 var(--f-display); text-transform: uppercase; margin: 10px 0 14px; }
.ch p { color: var(--text-2); font-size: 17px; max-width: 440px; }
.ch-bar { height: 2px; background: var(--line); margin: 6px 0 24px; overflow: hidden; }
.ch-bar i { display: block; height: 100%; width: calc(var(--cp, 0) * 100%); background: var(--gold-grad); }
.story .phone-scene { position: relative; z-index: 1; height: min(80vh, 720px); }
.story .screen { padding: 0; display: block; }
.scr { position: absolute; inset: 0; padding: 12% 7% 7%; display: flex; flex-direction: column; gap: 3%; opacity: 0; transform: translateY(5%); transition: opacity 0.45s, transform 0.6s var(--ease); }
.scr.on { opacity: 1; transform: none; }
.s-btn { margin-top: auto; text-align: center; padding: 0.95em; border-radius: 0.6em; background: var(--gold-grad); color: #16120a; font-weight: 600; }
.s-macros { display: flex; flex-direction: column; gap: 0.8em; margin: 2% 0 3%; }
.s-macros span { font-size: 0.85em; color: var(--text-3); }
.s-macros b { float: right; font-weight: 500; color: var(--ivory); }
.s-macros span::after { content: ''; display: block; clear: both; height: 0.45em; border-radius: 9px; margin-top: 0.4em; background: linear-gradient(90deg, var(--gold) calc(var(--v) * 100%), rgba(255, 255, 255, 0.08) 0); }
.s-chart { display: flex; align-items: flex-end; gap: 5%; height: 30%; margin: 6% 0 8%; }
.s-chart span { flex: 1; height: calc(var(--h) * 100%); border-radius: 0.3em 0.3em 0 0; background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); position: relative; }
.s-chart i { position: absolute; left: 0; right: 0; bottom: -1.5em; text-align: center; font-style: normal; font-size: 0.72em; color: var(--text-3); }
.s-card { margin-top: auto; padding: 0.95em; border-radius: 0.6em; border: 1px solid var(--line-gold); background: rgba(199, 167, 106, 0.08); font-weight: 600; }
.s-card small { display: block; font-weight: 400; color: var(--text-3); margin-top: 0.2em; }
.pillars { display: none; }

/* ---------- Ladder: package cards stack like plates ---------- */
.stack { position: relative; height: 380vh; }
.stack-stage { position: sticky; top: 0; height: 100vh; min-height: 640px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 40px; padding: 96px var(--pad) 40px;
  background: radial-gradient(45% 55% at 70% 55%, rgba(199, 167, 106, 0.1), transparent 70%); }
.sp { display: flex; flex-direction: column; margin-top: 34px; }
.sp-k { font: 600 12px/1 var(--f-display); letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-3); }
.sp-n { font: 700 clamp(80px, 9.5vw, 150px)/0.9 var(--f-display); background: var(--gold-type); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; margin-top: 8px; }
.sp-name { font: 600 22px/1.2 var(--f-display); letter-spacing: 0.14em; text-transform: uppercase; }
.stack-cards { position: relative; height: min(72vh, 660px); }
.sc { --w: min(25vw, 300px); position: absolute; left: 50%; top: 50%; width: var(--w); aspect-ratio: 3 / 4; margin: calc(var(--w) * -0.6667) 0 0 calc(var(--w) * -0.5); border-radius: 8px; overflow: hidden;
  border: 1px solid var(--line-gold); background: #000; box-shadow: 0 50px 80px -30px rgba(0, 0, 0, 0.95);
  transform: translate(var(--tx, var(--fx)), var(--ty, var(--fy))) rotate(var(--tr, var(--fr))); opacity: var(--to, 1); }
.sc:nth-child(1) { --fx: -120px; --fy: 60px; --fr: -8deg; }
.sc:nth-child(2) { --fx: -60px; --fy: 30px; --fr: -4deg; }
.sc:nth-child(3) { --fx: 0px; --fy: 0px; --fr: 0deg; }
.sc:nth-child(4) { --fx: 60px; --fy: -30px; --fr: 4deg; }
.sc:nth-child(5) { --fx: 120px; --fy: -60px; --fr: 8deg; }
.sc img { width: 100%; height: 100%; object-fit: cover; }
.sc span { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(0deg, rgba(12, 12, 13, 0.95), transparent); font: 700 22px/1.1 var(--f-display); color: var(--gold-hi); }
.sc span b { display: block; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ivory); font-weight: 600; margin-bottom: 4px; }

/* ---------- Austin spotlight ---------- */
.austin-art { position: relative; overflow: hidden; }
.spot { position: absolute; inset: -2% 0; pointer-events: none; background: radial-gradient(ellipse 50% 60% at 50% 34%, transparent var(--spot, 0%), var(--onyx) calc(var(--spot, 0%) + 26%)); }
.final-plate { opacity: 0.3; }

/* ---------- Scenes on tablet ---------- */
@media (max-width: 1100px) {
  .story-stage { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 20px; }
  .story .phone-scene { height: min(66vh, 600px); }
  .stack-stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; padding-top: 110px; }
  .stack-copy .lead { display: none; }
  .sp { margin-top: 16px; }
  .sp-n { font-size: 84px; }
  .sc { --w: min(34vw, 280px); }
}

/* ---------- Scenes on phones: lighter, mostly unpinned ---------- */
@media (max-width: 760px) {
  .slam { height: 210vh; }
  .slam-words { font-size: 17vw; }
  .slam-plate { width: 120vw; }
  .loadout { display: none; }
  .story { height: auto; }
  .story-stage { position: relative; height: auto; min-height: 0; grid-template-columns: 1fr; padding: 80px 20px 20px; gap: 10px; }
  .story-bgs, .chapters, .ch-bar { display: none; }
  .story .phone-scene { height: 520px; }
  .pillars { display: flex; }
  .stack { display: none; }
}

/* ---------- Reduced motion: every scene static and complete ---------- */
@media (prefers-reduced-motion: reduce) {
  .slam, .story, .stack { height: auto; }
  .slam-stage, .story-stage, .stack-stage { position: relative; height: auto; min-height: 0; padding-top: 110px; padding-bottom: 110px; }
  .sw { opacity: 1; transform: none; filter: none; }
  .slam-line { --lo: 1; }
  .chapters { min-height: 0; }
  .ch { position: relative; opacity: 1; transform: none; margin-bottom: 26px; }
  .story-bgs img:first-child { opacity: 1; }
  .sc { --tx: var(--fx); --ty: var(--fy); --tr: var(--fr); --to: 1; }
  .stack-cards { height: 520px; }
  .spot { --spot: 90%; }
  .rig .burst { display: none; }
}
