/* evidentgym.com home. Palette is the app's (espresso, bone, bronze, gold). Posters are set in
   Anton like the App Store deck; app surfaces keep Fraunces and Manrope. */

@font-face { font-family: "Anton"; src: url("/fonts/anton.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-bold-italic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/fonts/manrope-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
/* Metric-matched fallbacks so the swap does not shove the layout. */
@font-face { font-family: "Anton Fallback"; src: local("Impact"), local("Arial Narrow Bold"), local("Arial"); size-adjust: 96%; ascent-override: 118%; descent-override: 33%; }
@font-face { font-family: "Manrope Fallback"; src: local("Helvetica Neue"), local("Arial"); size-adjust: 103%; ascent-override: 95%; descent-override: 25%; }

:root {
  color-scheme: dark;
  --espresso: #0d0b0a;
  --surface: #1f1a16;
  --surface-hi: #2b2118;
  --bone: #f5f0e3;
  --bronze: #d1ab75;
  --gold: #f5d694;
  --subtle: rgba(245, 240, 227, 0.64);
  --faint: rgba(245, 240, 227, 0.53);
  --hair: rgba(245, 240, 227, 0.09);
  --foil: linear-gradient(180deg, #fff3cb 0%, #f5d694 36%, #dcaa5c 72%, #b98543 100%);
  --poster: "Anton", "Anton Fallback", Impact, "Arial Narrow", sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Manrope", "Manrope Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4.6vw, 56px);
  --max: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--espresso); color: var(--bone);
  font-family: var(--body); font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--bone); color: var(--espresso); padding: 10px 14px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.num { font-variant-numeric: lining-nums tabular-nums; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* Ground: espresso with two slow bronze glows and film grain, like the app's background. */
.ground { position: fixed; inset: 0; z-index: -2; background: var(--espresso); overflow: hidden; pointer-events: none; }
.ground::before, .ground::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); }
.ground::before { width: 70vmax; height: 70vmax; left: -22vmax; top: -30vmax; background: radial-gradient(closest-side, rgba(209, 171, 117, 0.13), transparent); animation: drift 40s ease-in-out infinite alternate; }
.ground::after { width: 60vmax; height: 60vmax; right: -25vmax; bottom: -30vmax; background: radial-gradient(closest-side, rgba(205, 154, 78, 0.1), transparent); animation: drift 48s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate3d(16vmax, 12vmax, 0); } }
.grain { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 180px 180px; }

/* ---------- type ---------- */
.poster { font-family: var(--poster); font-weight: 400; text-transform: uppercase; line-height: 0.9; letter-spacing: 0.004em; margin: 0; text-wrap: balance; }
.poster > span { display: block; }
.gold { background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
h2.poster { font-size: clamp(3rem, 1.6rem + 5.4vw, 6.6rem); }
.eyebrow { margin: 0 0 16px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bronze); }
.sec-lede { margin: 18px 0 0; max-width: 31em; font-size: clamp(1.02rem, 0.96rem + 0.3vw, 1.2rem); line-height: 1.55; color: var(--subtle); text-wrap: pretty; }
.fine { margin: 14px 0 0; font-size: 0.8rem; line-height: 1.5; color: var(--faint); max-width: 40em; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 40; transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s; }
.nav.is-solid { background: rgba(13, 11, 10, 0.72); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); box-shadow: 0 1px 0 var(--hair); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.nav-mark img { width: 118px; height: auto; }
.nav-links { display: none; margin-left: auto; gap: 30px; }
.nav-links a { text-decoration: none; font-size: 0.92rem; font-weight: 600; color: var(--subtle); transition: color 0.2s; }
.nav-links a:hover { color: var(--bone); }
.nav-cta { margin-left: auto; display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 12px; background: var(--bone); color: var(--espresso); font-weight: 800; font-size: 0.92rem; text-decoration: none; transition: transform 0.2s var(--ease), background 0.2s; }
.nav-cta:hover { background: #fff; transform: translateY(-1px); }
@media (min-width: 900px) { .nav-links { display: flex; } .nav-cta { margin-left: 8px; } }

/* ---------- App Store badge + laurel ---------- */
.badge { display: inline-block; border-radius: 12px; transition: transform 0.2s var(--ease), filter 0.2s; }
.badge img { height: 58px; width: auto; }
.badge:hover { transform: translateY(-2px); filter: brightness(1.12); }
.laurel { display: inline-flex; align-items: center; gap: 6px; color: var(--bronze); }
.laurel .leaf { width: 18px; height: 50px; }
.laurel .leaf.r { transform: scaleX(-1); }
.laurel-mid { display: grid; justify-items: center; line-height: 1; gap: 4px; }
.laurel-mid b { font-family: var(--poster); font-weight: 400; font-size: 1.75rem; color: var(--bone); letter-spacing: 0.02em; }
.laurel-mid small { font-size: 0.64rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--subtle); }
.stars5 { display: flex; gap: 2px; }
.stars5 i { width: 10px; height: 10px; background: var(--gold); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(640px, 100svh); display: grid; align-items: end; padding: 120px 0 clamp(56px, 9vh, 104px); isolation: isolate; overflow: hidden; }
.hero-photo { position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; width: min(64%, 980px); }
.hero-photo picture, .hero-photo img { width: 100%; height: 100%; }
.hero-photo img { object-fit: cover; object-position: 50% 20%; transform-origin: 60% 30%; }
.hero-photo { -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 20%, #000 50%), linear-gradient(0deg, transparent 0%, #000 36%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 20%, #000 50%), linear-gradient(0deg, transparent 0%, #000 36%); mask-composite: intersect; }
.hero-in { position: relative; }
.hero-title { font-size: clamp(4.1rem, 2.6rem + 7.4vw, 11.2rem); line-height: 0.86; }
.hero-title .ln { display: block; overflow: hidden; padding-bottom: 0.02em; margin-bottom: -0.02em; }
.hero-title .ln > span { display: block; }
.hero-lede { margin: 26px 0 0; max-width: 30em; font-size: clamp(1.05rem, 0.96rem + 0.42vw, 1.3rem); line-height: 1.55; color: var(--subtle); text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 34px; }
.hero-note { margin: 16px 0 0; font-size: 0.9rem; color: var(--subtle); }
.hero-note b { color: var(--bone); font-weight: 700; }
.hero-down { position: absolute; left: 50%; bottom: 18px; width: 44px; height: 44px; margin-left: -22px; display: none; place-items: center; color: var(--faint); border-radius: 50%; }
.hero-down svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }
@media (min-width: 900px) and (min-height: 720px) { .hero-down { display: grid; } }

/* Load sequence, CSS only so nothing waits on script: the photo is on screen from the first paint and
   settles, the two lines rise out of their masks, the rest fades up. */
.hero-photo img { animation: settle 2.4s var(--ease) both; }
@keyframes settle { from { transform: scale(1.08); } }
.hero-title .ln > span { animation: rise 0.9s var(--ease) 0.05s both; }
.hero-title .ln:nth-child(2) > span { animation-delay: 0.14s; }
@keyframes rise { from { transform: translateY(104%); } }
.hero-lede { animation: fadeup 0.8s var(--ease) 0.35s both; }
.hero-cta { animation: fadeup 0.8s var(--ease) 0.45s both; }
.hero-note { animation: fadeup 0.8s var(--ease) 0.52s both; }
@keyframes fadeup { from { opacity: 0; transform: translateY(14px); } }

@media (max-width: 899px) {
  .hero { align-items: end; padding-top: 0; min-height: max(620px, 100svh); }
  .hero-photo { width: 100%; bottom: auto; height: 78%; }
  .hero-photo img { object-position: 46% 14%; }
  .hero-photo { -webkit-mask-image: linear-gradient(0deg, transparent 2%, rgba(0, 0, 0, 0.35) 26%, #000 60%); mask-image: linear-gradient(0deg, transparent 2%, rgba(0, 0, 0, 0.35) 26%, #000 60%); }
  .hero-title { font-size: min(18.2vw, 6.2rem); }
  .hero-lede { margin-top: 18px; }
  .hero-cta { margin-top: 24px; gap: 14px 20px; }
  .badge img { height: 52px; }
}

/* ---------- 3D phone: Blender frame over a live screen, plus the turn-in canvas ---------- */
/* The render keeps a wide transparent margin for the turn, so the box is about twice the phone.
   --pw is the width the phone itself should read at. */
/* The slot is exactly the visible phone; the render box hangs off it absolutely, so its transparent
   margin never takes part in layout (WebKit on iOS sizes grid tracks from it otherwise). */
.phone-slot { --box: calc(var(--pw, 320px) / 0.53); position: relative; min-width: 0; height: calc(var(--box) * 1.4 * 0.826); }
.phone3d { position: absolute; left: 50%; top: calc(var(--box) * 1.4 * -0.084); width: var(--box); height: calc(var(--box) * 1.4); margin-left: calc(var(--box) / -2); pointer-events: none; }
.phone3d-screen { position: absolute; left: 0; top: 0; width: 402px; height: 874px; transform-origin: 0 0; overflow: hidden; background: #050404; }
.js .phone3d:not(.is-fit) .phone3d-screen { visibility: hidden; }
.phone3d-frame, .phone3d-turn { position: absolute; inset: 0; width: 100%; height: 100%; }
.phone3d-turn { opacity: 0; }
.scr { position: absolute; inset: 0; width: 100%; height: 100%; }
img.scr { object-fit: cover; object-position: top; }
.no-js .phone3d-screen { width: 51%; height: 79%; left: 24.5%; top: 10%; border-radius: 9% / 4.2%; }
.no-js .blueprint { display: none; }
/* before landing, the canvas carries the phone */
.js .phone3d.is-turning .phone3d-turn { opacity: 1; }
.js .phone3d.is-turning .phone3d-frame, .js .phone3d.is-turning .phone3d-screen { opacity: 0; }
.phone3d.is-landed .phone3d-turn { opacity: 0; transition: opacity 0.2s; }
.handoff { transition: opacity 0.5s var(--ease) 0.25s; }
.phone3d.is-planned .handoff { opacity: 0; }

/* The blueprint, rebuilt from the app's plan screen at 402 x 874 points. */
.blueprint { background: radial-gradient(120% 60% at 90% 0%, rgba(150, 100, 45, 0.5), rgba(13, 11, 10, 0) 60%), linear-gradient(180deg, #16110d, #0d0b0a 60%); color: var(--bone); font-family: var(--body); display: flex; flex-direction: column; }
.sb { position: relative; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 6px 30px 0 44px; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.island { position: absolute; left: 50%; top: 11px; width: 124px; height: 36px; margin-left: -62px; border-radius: 20px; background: #000; }
.sb-ic { display: flex; align-items: center; gap: 6px; }
.sb-ic svg { height: 12px; width: auto; fill: currentColor; }
.sb-ic .bat { height: 13px; }
.bp-body { padding: 14px 24px 0; flex: 1; }
.bp-kick { margin: 0; font-family: var(--serif); font-size: 12px; letter-spacing: 4px; text-transform: uppercase; color: var(--bronze); }
.bp-title { margin: 10px 0 16px; font-family: var(--serif); font-weight: 700; font-size: 30px; line-height: 1.12; letter-spacing: -0.01em; }
.bp-title em { font-style: italic; background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.bp-doc { background: #1f1a16; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05); padding: 18px; }
.bp-letter { margin: 0; font-size: 9px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--bronze); }
.bp-name { margin: 9px 0 0; font-family: var(--serif); font-weight: 700; font-size: 23px; line-height: 1.15; }
.bp-drafted { margin: 3px 0 0; font-family: var(--serif); font-style: italic; font-size: 12.5px; color: var(--subtle); }
.bp-goal { margin: 13px 0 0; font-size: 14px; font-weight: 700; color: var(--gold); }
.bp-desc { margin: 5px 0 0; font-size: 12.5px; line-height: 1.4; color: var(--subtle); }
.bp-week { list-style: none; display: flex; gap: 9px; margin: 13px 0 0; padding: 0; }
.bp-week li { display: grid; justify-items: center; gap: 5px; font-size: 9px; font-weight: 700; color: var(--subtle); }
.bp-week li i { width: 30px; height: 36px; border-radius: 7px; border: 1.5px solid rgba(245, 214, 148, 0.85); display: grid; place-items: center; }
.bp-week li i::after { content: ""; width: 9px; height: 5px; border: solid var(--gold); border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); }
.bp-week li.rest i { border-color: rgba(245, 240, 227, 0.2); }
.bp-week li.rest i::after { display: none; }
.bp-week li.rest { color: var(--faint); }
.bp-days { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 7px 10px; margin: 13px 0 0; padding: 0; font-family: var(--serif); font-size: 11.5px; white-space: nowrap; }
.bp-days span { color: var(--subtle); font-style: normal; }
.bp-ledger { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 13px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, 0.07); border-bottom: 1px solid rgba(255, 255, 255, 0.07); text-align: center; }
.bp-ledger div + div { border-left: 1px solid rgba(255, 255, 255, 0.08); }
.bp-ledger b { display: block; font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.bp-ledger b.gold { color: var(--gold); background: none; -webkit-text-fill-color: currentColor; }
.bp-ledger small { display: block; margin-top: 2px; font-size: 8.5px; font-weight: 700; letter-spacing: 2px; color: var(--faint); text-transform: uppercase; }
.bp-exp { margin-top: 14px; }
.bp-expect { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 7px; font-family: var(--serif); font-size: 13px; }
.bp-expect li { display: flex; justify-content: space-between; gap: 8px; }
.bp-expect li span:last-child { font-style: italic; color: var(--subtle); }
.bp-expect li.gold { background: none; -webkit-text-fill-color: currentColor; color: var(--gold); }
.bp-expect li.gold span:last-child { color: var(--gold); font-style: italic; }
.bp-foot { padding: 10px 24px 34px; text-align: center; }
.bp-foot p { margin: 0 0 8px; font-family: var(--serif); font-size: 12px; color: var(--subtle); }
.bp-btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; border-radius: 14px; background: var(--bone); color: var(--espresso); font-family: var(--serif); font-weight: 700; font-size: 17px; }
.bp-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* a pick rewrites the document: changed lines flash gold once */
[data-bp].is-new, [data-dream].is-new { animation: rewrite 0.9s var(--ease); }
@keyframes rewrite { 0% { opacity: 0; transform: translateY(6px); filter: blur(3px); } 60% { opacity: 1; filter: none; } 100% { transform: none; } }
.bp-doc.is-new { animation: docflash 1.1s var(--ease); }
@keyframes docflash { 0% { box-shadow: inset 0 0 0 1px rgba(245, 214, 148, 0.7), 0 0 40px rgba(245, 214, 148, 0.25); } 100% { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05); } }

/* ---------- pick ---------- */
.pick { position: relative; }
.pick-stage { padding: clamp(72px, 10vw, 120px) 0; }
.pick-grid { display: grid; gap: 40px; }
.seg { display: inline-flex; padding: 4px; border-radius: 14px; background: rgba(245, 240, 227, 0.06); box-shadow: inset 0 0 0 1px var(--hair); margin-top: 28px; }
.seg-btn { position: relative; height: 40px; padding: 0 20px; border-radius: 10px; font-weight: 700; font-size: 0.94rem; color: var(--subtle); transition: background 0.25s var(--ease), color 0.25s; }
.seg-btn[aria-pressed="true"] { background: var(--bone); color: var(--espresso); }
.seg-btn:not([aria-pressed="true"]):hover { color: var(--bone); }
.bodies { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 600px; }
.body { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--surface); text-align: left; isolation: isolate;
  transition: transform 0.45s var(--ease), filter 0.35s, box-shadow 0.35s; filter: saturate(0.7) brightness(0.62); }
.body img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--op, 50% 30%); transform: scale(var(--s, 1)); transition: transform 0.8s var(--ease); z-index: -1; }
.body::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8, 6, 5, 0.9) 0%, rgba(8, 6, 5, 0) 52%); }
.body:hover { filter: saturate(0.9) brightness(0.8); }
.body:hover img { transform: scale(calc(var(--s, 1) * 1.04)); }
.body[aria-pressed="true"] { filter: none; box-shadow: 0 0 0 2px var(--gold), 0 18px 50px -18px rgba(245, 214, 148, 0.55); }
.body b { position: absolute; left: 12px; right: 10px; bottom: 28px; font-family: var(--serif); font-size: clamp(0.92rem, 0.8rem + 0.4vw, 1.12rem); line-height: 1.1; }
.body small { position: absolute; left: 12px; right: 8px; bottom: 11px; font-size: 0.7rem; color: var(--subtle); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.body .tick { position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: var(--espresso); display: grid; place-items: center; transform: scale(0); transition: transform 0.35s var(--spring); }
.body .tick svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.body[aria-pressed="true"] .tick { transform: scale(1); }
.dream { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin: 26px 0 0; }
.dream-cell { padding: 0 22px; border-left: 1px solid var(--hair); }
.dream-cell:first-child { padding-left: 0; border-left: 0; }
.dream dt { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bronze); white-space: nowrap; }
.dream dd { margin: 6px 0 0; display: flex; align-items: center; gap: 8px; font-family: var(--poster); font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); line-height: 1; text-transform: uppercase; white-space: nowrap; }
.dream dd small { font-family: var(--body); font-size: 0.78rem; font-weight: 700; text-transform: none; color: var(--subtle); letter-spacing: 0; }
.dream-medal { width: 40px; height: 40px; margin: -6px -2px -6px -6px; }
.pick-phone { --pw: min(300px, 74vw); }
/* The phone box is twice the phone (room for the turn); Safari counts all of it when sizing a grid
   track, so the phone's cell must be allowed to be narrower than its box. */
.pick-phone, .lift-phone, .pick-copy, .lift-copy { min-width: 0; }

@media (max-width: 1023px) {
  .pick { overflow-x: clip; }
  .pick-copy { display: contents; }
  .pick-grid > .pick-copy > * { grid-column: 1; }
  .pick-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pick-phone { order: 6; margin-top: 28px; margin-bottom: 26px; }
  .dream { order: 7; margin-top: 0; }
  .pick-grid .fine { order: 8; }
}
@media (max-width: 520px) {
  .dream { grid-template-columns: 1fr 1fr 1fr; }
  .dream-cell { padding: 0 10px; }
  .dream dt { font-size: 0.6rem; letter-spacing: 0.12em; white-space: normal; }
  .dream dd { font-size: 1.3rem; flex-wrap: wrap; gap: 4px; white-space: normal; }
  .dream dd small { font-size: 0.7rem; }
  .dream-medal { width: 30px; height: 30px; margin: -4px -2px -4px -4px; }
  .body b { bottom: 24px; left: 9px; }
  .body small { left: 9px; bottom: 8px; font-size: 0.62rem; }
}
@media (min-width: 1024px) {
  .pick-stage { padding: 0; }
  .pick-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: clamp(24px, 4vw, 64px); min-height: 100vh; padding: 76px 0 24px; }
  .pick .poster { font-size: clamp(3.4rem, min(5.6vw, 8.6vh), 6.4rem); }
  .pick-phone { --pw: min(360px, 39vh); }
}
/* Tall desktop screens: the stage pins while the phone turns in. */
@media (min-width: 1024px) and (min-height: 700px) {
  .js .pick { scroll-margin-top: -52vh; }
  .js .pick-runway { height: 175vh; }
  .js .pick-stage { position: sticky; top: 0; height: 100vh; }
  .js .pick-grid { height: 100vh; min-height: 0; }
}

/* ---------- lift: one set, scrubbed by scroll ---------- */
.lift-runway { height: 330vh; }
.lift-stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.lift-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.lift-copy { position: relative; }
.beats { position: relative; }
.beat { grid-area: 1 / 1; transition: opacity 0.45s var(--ease), transform 0.55s var(--ease); }
.lift-copy { display: grid; }
.lift-copy .beat { grid-row: 1; grid-column: 1; }
.beat:not(.is-on) { opacity: 0; transform: translateY(22px); pointer-events: none; }
.lift .poster { font-size: clamp(3.2rem, min(5.8vw, 9vh), 6.6rem); }
.meter { grid-row: 2; display: flex; gap: clamp(22px, 4vw, 56px); align-items: flex-end; margin-top: clamp(22px, 4vh, 44px); }
.meter-reps, .meter-weight { position: relative; display: flex; align-items: flex-end; gap: 12px; }
.meter-reps .meter-n { min-width: 1.02em; text-align: left; }
.meter-weight .meter-n { min-width: 1.5em; }
.meter-n { font-family: var(--poster); font-size: clamp(5.2rem, min(11vw, 17vh), 11rem); line-height: 0.8; color: var(--bone); transition: color 0.3s; min-width: 1.1ch; }
.meter-of { display: grid; gap: 10px; padding-bottom: 4px; }
.meter-of b { font-family: var(--poster); font-weight: 400; font-size: 1.5rem; text-transform: uppercase; color: var(--subtle); line-height: 1; }
.goal-pill, .up-chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 99px; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.04em; white-space: nowrap; }
.goal-pill { background: rgba(245, 240, 227, 0.08); color: var(--subtle); box-shadow: inset 0 0 0 1px var(--hair); transition: background 0.3s, color 0.3s, box-shadow 0.3s; }
.meter.is-hit .goal-pill { background: var(--gold); color: var(--espresso); box-shadow: 0 0 30px rgba(245, 214, 148, 0.45); }
.meter.is-hit .meter-reps .meter-n { background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.up-chip { background: var(--gold); color: var(--espresso); transform: scale(0); transform-origin: left center; transition: transform 0.45s var(--spring); }
.meter.is-up .up-chip { transform: scale(1); }
.meter.is-up .meter-weight .meter-n { background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.was { position: absolute; left: 2px; top: -30px; font-family: var(--serif); font-size: 1rem; color: var(--faint); text-decoration: line-through; opacity: 0; transform: translateY(8px); transition: opacity 0.3s, transform 0.4s var(--ease); }
.meter.is-up .was { opacity: 1; transform: none; }
.ticks { grid-row: 3; list-style: none; display: flex; gap: 8px; margin: clamp(22px, 4vh, 40px) 0 0; padding: 0; }
.ticks li { width: 28px; height: 3px; border-radius: 3px; background: rgba(245, 240, 227, 0.14); transition: background 0.3s, width 0.4s var(--ease); }
.ticks li.is-on { background: var(--gold); width: 44px; }
.scr-reveal { opacity: 0; transition: opacity 0.45s var(--ease); }
.lift.is-reveal .scr-reveal { opacity: 1; }
.lift-phone { --pw: min(350px, 38vh); }

@media (max-width: 899px) {
  .lift-stage { align-items: flex-start; padding-top: 84px; }
  .lift-grid { grid-template-columns: minmax(0, 1fr) 46%; gap: 0; align-items: start; }
  .lift-copy { display: contents; }
  .lift-copy .beat { grid-row: 1; grid-column: 1 / -1; }
  .lift .poster { font-size: min(14.5vw, 4.4rem); }
  .lift .sec-lede { font-size: 0.98rem; margin-top: 12px; }
  .meter { grid-row: 2; grid-column: 1; flex-direction: column; align-items: flex-start; gap: 38px; margin-top: 30px; }
  .meter-n { font-size: min(19vw, 5.4rem); }
  .meter-of b { font-size: 1.05rem; }
  .goal-pill, .up-chip { height: 26px; font-size: 0.72rem; padding: 0 10px; }
  .was { top: -24px; font-size: 0.85rem; }
  .ticks { grid-row: 3; grid-column: 1; margin-top: 22px; }
  .lift-phone { grid-row: 2 / span 2; grid-column: 2; margin-top: 30px; --pw: min(38vw, 20svh); }
}
@media (max-width: 899px) and (max-height: 700px) {
  .lift .sec-lede { display: none; }
}

/* ---------- rank ---------- */
.rank { padding: clamp(72px, 8vw, 120px) 0 clamp(64px, 8vw, 110px); }
.rank-grid { display: grid; gap: 44px; }
.calc { margin-top: 30px; display: grid; gap: 18px; max-width: 520px; }
.calc-row { display: grid; gap: 8px; }
.calc-label { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bronze); }
.calc .seg { margin-top: 0; justify-self: start; }
.seg-sm .seg-btn { height: 38px; padding: 0 16px; font-size: 0.9rem; }
.calc-bw { grid-template-columns: 1fr auto; align-items: center; column-gap: 16px; }
.calc-bw .calc-label { grid-column: 1 / -1; }
.calc-out { min-width: 4.4em; text-align: right; font-weight: 800; font-size: 1.05rem; }
input[type="range"]#c-bw { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; margin: 0; cursor: pointer; }
#c-bw::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--gold) var(--fill, 40%), rgba(245, 240, 227, 0.14) var(--fill, 40%)); }
#c-bw::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(245, 240, 227, 0.14); }
#c-bw::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--gold); }
#c-bw::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: var(--bone); box-shadow: 0 0 0 5px rgba(245, 214, 148, 0.25), 0 4px 12px rgba(0, 0, 0, 0.5); }
#c-bw::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: var(--bone); box-shadow: 0 0 0 5px rgba(245, 214, 148, 0.25); }
.calc-set { grid-template-columns: 1.4fr 1fr; gap: 14px; }
.stepper { display: grid; gap: 8px; }
.step { display: flex; align-items: center; height: 56px; border-radius: 14px; background: rgba(245, 240, 227, 0.05); box-shadow: inset 0 0 0 1px var(--hair); }
.step button { flex: none; width: 48px; height: 100%; font-size: 1.4rem; font-weight: 500; color: var(--bone); border-radius: 14px; transition: background 0.2s; }
.step button:hover { background: rgba(245, 240, 227, 0.07); }
.step input { flex: 1; min-width: 0; width: 100%; height: 100%; border: 0; background: transparent; color: var(--bone); text-align: center; font: 400 1.9rem/1 var(--poster); letter-spacing: 0.02em; -moz-appearance: textfield; appearance: textfield; }
.step input::-webkit-outer-spin-button, .step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.step input:focus { outline: none; }
.step:focus-within { box-shadow: inset 0 0 0 1.5px var(--gold); }
.step .unit { font-size: 0.85rem; font-weight: 700; color: var(--subtle); margin-right: 2px; }

.rank-out { --tc: #f2c761; --tcd: #a37829; position: relative; display: grid; justify-items: center; text-align: center; align-content: center; }
.medal { position: relative; width: min(300px, 68vw); aspect-ratio: 1; display: grid; place-items: center; }
.medal-glow { position: absolute; inset: -12%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--tc) 38%, transparent), transparent 72%); transition: background 0.6s; }
.medal::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--tc) 30%, transparent); transition: border-color 0.6s; }
.medal { perspective: 800px; }
.medal-tilt { position: relative; width: 86%; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.5s var(--ease); animation: hover 5.5s ease-in-out infinite; }
@keyframes hover { 50% { translate: 0 -8px; } }
.medal img { width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.55)); }
.medal.is-swap img { animation: medal 0.7s var(--spring); }
@keyframes medal { 0% { transform: scale(0.55) rotate(-12deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
.medal.is-bump img { animation: bump 0.4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.05); } }
.rank-name { margin-top: 4px; font-size: clamp(3.2rem, 2.2rem + 3.4vw, 5.4rem); color: var(--tc); transition: color 0.5s; }
.rank-pct { margin: 10px 0 0; font-size: 1.15rem; font-weight: 700; }
.rank-bar { width: min(320px, 80%); height: 6px; margin-top: 18px; border-radius: 6px; background: rgba(245, 240, 227, 0.1); overflow: hidden; }
.rank-bar i { display: block; height: 100%; width: 40%; border-radius: inherit; background: linear-gradient(90deg, var(--tcd), var(--tc)); transition: width 0.6s var(--ease), background 0.5s; }
.rank-next { margin: 10px 0 0; font-size: 0.92rem; color: var(--subtle); }
.ladder { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.ladder li { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); padding: 6px 9px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--hair); transition: color 0.3s, background 0.3s, box-shadow 0.3s; }
.ladder li.is-done { color: var(--subtle); }
.ladder li.is-on { color: var(--espresso); background: var(--tc); box-shadow: none; }
.rank-out .fine { max-width: 26em; margin-top: 18px; }
@media (min-width: 960px) {
  .rank-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 80px); }
}

/* ---------- more ---------- */
.more { padding: clamp(56px, 7vw, 100px) 0; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.tile { position: relative; overflow: hidden; border-radius: 26px; padding: 28px 24px 0; height: 540px; display: flex; flex-direction: column;
  background: linear-gradient(180deg, #211b16 0%, #17120f 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 0 0 1px rgba(255, 255, 255, 0.03); }
.tile::before { content: ""; position: absolute; left: 50%; bottom: -20%; width: 120%; aspect-ratio: 1; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(209, 171, 117, 0.2), transparent); pointer-events: none; }
.tile h3 { font-size: clamp(1.9rem, 1.4rem + 1vw, 2.5rem); line-height: 0.95; }
.tile p { margin: 12px 0 0; font-size: 0.95rem; line-height: 1.5; color: var(--subtle); }
.tile img { position: relative; width: 84%; margin: 28px auto 0; transition: transform 0.7s var(--ease); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6)); }
.tile:hover img { transform: translateY(-10px); }
.tile-watch img { width: 96%; margin-top: auto; margin-bottom: -18%; }
@media (max-width: 1099px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 699px) {
  .tiles { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; width: 100%; padding: 0 var(--gutter) 6px; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
  .tiles::-webkit-scrollbar { display: none; }
  .tile { flex: 0 0 80%; scroll-snap-align: start; height: 500px; }
}

/* ---------- proof ---------- */
.proof { padding: clamp(56px, 7vw, 100px) 0; }
.proof-grid { display: grid; justify-items: center; text-align: center; }
.proof .poster { font-size: clamp(4rem, 2.4rem + 7vw, 9.4rem); line-height: 0.86; white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 959px) { .proof .poster > span { display: inline; } }
.proof-a { order: 1; }
.proof-b { order: 3; margin-top: 6px; }
.compare { order: 2; margin-top: 18px; }
.proof-note { order: 4; margin: 26px auto 0; max-width: 28em; color: var(--subtle); font-size: 1.02rem; }
@media (min-width: 960px) {
  .proof-grid { grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: clamp(20px, 3vw, 48px); }
  .proof-a { order: 0; justify-self: end; text-align: right; }
  .proof-b { order: 0; margin: 0; justify-self: start; text-align: left; }
  .compare { order: 0; margin: 0; }
  .proof-note { grid-column: 1 / -1; }
}
.compare { --pos: 50%; position: relative; width: min(380px, 84vw); aspect-ratio: 600 / 870; border-radius: 26px; overflow: hidden; background: var(--surface); touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.compare picture, .compare img { position: absolute; inset: 0; width: 100%; height: 100%; }
.compare img { object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.compare .after { clip-path: inset(0 0 0 var(--pos)); }
.compare .line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--bone); box-shadow: 0 0 18px rgba(0, 0, 0, 0.5); }
.compare .knob { position: absolute; top: 50%; left: var(--pos); width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: var(--bone); color: var(--espresso); display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45); transition: transform 0.2s var(--ease); }
.compare:active .knob { transform: scale(0.92); }
.compare .knob svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.compare .tag { position: absolute; top: 14px; padding: 6px 11px; border-radius: 99px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; background: rgba(13, 11, 10, 0.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.compare .tag.b { left: 14px; }
.compare .tag.a { right: 14px; color: var(--gold); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; pointer-events: none; }
.compare input:focus-visible ~ .knob, .compare:focus-within .knob { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- reviews ---------- */
.reviews { padding: clamp(64px, 8vw, 110px) 0; }
.rv-head { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; }
.laurel-lg .leaf { width: 26px; height: 72px; }
.laurel-lg .laurel-mid b { font-size: 2.6rem; }
.laurel-lg .stars5 i { width: 13px; height: 13px; }
.rv-head .poster { font-size: clamp(2.6rem, 1.6rem + 3.6vw, 5rem); }
.rv-list { display: grid; gap: 16px; margin-top: 40px; }
.rv { position: relative; margin: 0; padding: 34px 30px 28px; border-radius: 24px; background: linear-gradient(180deg, #1f1a16, #17120f); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.rv::before { content: "“"; position: absolute; top: -6px; left: 22px; font-family: var(--serif); font-size: 6rem; line-height: 1; background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.rv blockquote { margin: 18px 0 0; }
.rv blockquote p { margin: 0; font-size: clamp(1.08rem, 1rem + 0.35vw, 1.3rem); line-height: 1.5; font-weight: 500; color: var(--bone); text-wrap: pretty; }
.rv figcaption { margin-top: 20px; font-weight: 800; }
.rv figcaption span { font-weight: 500; color: var(--faint); margin-left: 6px; }
.rv-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-weight: 700; color: var(--bronze); text-decoration: none; }
.rv-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s var(--ease); }
.rv-link:hover svg { transform: translateX(3px); }
@media (min-width: 860px) { .rv-list { grid-template-columns: 1fr 1fr; } }

/* ---------- closing ---------- */
.closing { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 10vw, 140px); overflow: hidden; }
.closing-stage { position: relative; display: grid; justify-items: center; }
.closing .closing-word { grid-area: 1 / 1; font-size: min(18.5vw, 17.5rem); line-height: 0.82; text-align: center; white-space: nowrap; align-self: start; }
.closing-phones { grid-area: 1 / 1; position: relative; width: min(440px, 70vw); margin-top: min(11vw, 150px); filter: drop-shadow(0 50px 60px rgba(0, 0, 0, 0.7));
  -webkit-mask-image: linear-gradient(180deg, #000 52%, transparent 78%); mask-image: linear-gradient(180deg, #000 52%, transparent 78%); }
.closing-cta { display: grid; justify-items: center; text-align: center; margin-top: max(-22vw, -300px); position: relative; }

/* ---------- faq ---------- */
.faq { padding: clamp(72px, 9vw, 130px) 0; }
.faq-grid { display: grid; gap: 34px; }
.faq .poster { font-size: clamp(3rem, 1.8rem + 4vw, 5.4rem); }
.faq-mail { margin: 20px 0 0; color: var(--subtle); }
.faq-mail a { color: var(--bronze); }
.faq-list { border-top: 1px solid var(--hair); }
.faq-list details { border-bottom: 1px solid var(--hair); }
.faq-list summary { position: relative; list-style: none; cursor: pointer; padding: 24px 48px 24px 0; font-family: var(--serif); font-weight: 700; font-size: clamp(1.1rem, 1rem + 0.35vw, 1.3rem); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { position: absolute; right: 6px; top: 50%; width: 16px; height: 16px; margin-top: -8px; transition: transform 0.35s var(--ease); }
.faq-list summary i::before, .faq-list summary i::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; border-radius: 2px; background: var(--bronze); }
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] summary i { transform: rotate(45deg); }
.faq-list .a { padding: 0 40px 24px 0; color: var(--subtle); }
.faq-list .a p { margin: 0; }
.faq-list .a a { color: var(--bronze); }
@media (min-width: 960px) { .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; } }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--hair); padding: 40px 0 calc(116px + env(safe-area-inset-bottom)); color: var(--subtle); font-size: 0.9rem; }
.foot-grid { display: grid; gap: 22px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: var(--bone); text-decoration: none; }
.foot a:hover { color: var(--gold); }
.foot .legal { margin: 0; font-size: 0.76rem; color: var(--faint); max-width: 60em; }
@media (min-width: 900px) { .foot { padding-bottom: 44px; } }
@media (min-width: 860px) { .foot-grid { grid-template-columns: auto 1fr; align-items: center; } .foot nav { justify-content: flex-end; } .foot .legal { grid-column: 1 / -1; } }

/* ---------- mobile dock ---------- */
.dock { position: fixed; z-index: 45; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translateY(calc(100% + 40px)); opacity: 0; visibility: hidden;
  transition: transform 0.45s var(--ease), opacity 0.3s, visibility 0s 0.45s; }
/* iOS 26 Safari draws a see-through toolbar over the page, so a parked dock has to be invisible, not just off-screen. */
.dock.is-on { transform: none; opacity: 1; visibility: visible; transition: transform 0.45s var(--ease), opacity 0.2s, visibility 0s; }
.dock-btn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px; border-radius: 16px; background: var(--bone); color: var(--espresso); text-decoration: none; font-weight: 800; font-size: 1.04rem; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.12); }
.dock-btn .apple { width: 17px; height: 20px; fill: currentColor; margin-top: -3px; }
@media (min-width: 900px) { .dock { display: none; } }

/* ---------- scroll reveals ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.tiles .reveal:nth-child(2) { transition-delay: 0.08s; }
.tiles .reveal:nth-child(3) { transition-delay: 0.16s; }
.tiles .reveal:nth-child(4) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
