/* =====================================================================
   Semir Sabanagic — styles
   Type: Archivo (variable width) for UI and display, Instrument Serif for
   storytelling lines, JetBrains Mono for mission data, Caveat for photo captions.
   ===================================================================== */

/* ---------- Fonts ---------- */
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(fonts/archivo-latin-wdth-normal.woff2) format("woff2-variations"), url(fonts/archivo-latin-wdth-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(fonts/archivo-latin-ext-wdth-normal.woff2) format("woff2-variations"), url(fonts/archivo-latin-ext-wdth-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: italic; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(fonts/archivo-latin-wdth-italic.woff2) format("woff2-variations"), url(fonts/archivo-latin-wdth-italic.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-display: swap; font-weight: 400; src: url(fonts/instrument-serif-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-display: swap; font-weight: 400; src: url(fonts/instrument-serif-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 400; src: url(fonts/jetbrains-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 700; src: url(fonts/jetbrains-mono-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Caveat"; font-style: normal; font-display: swap; font-weight: 600; src: url(fonts/caveat-latin-600-normal.woff2) format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --bg: #04060D;
  --text: #F3F5FA;
  --muted: #A6AEC4;
  --dim: #6F7792;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --accent: #5B7CFF;
  --accent-2: #AFC1FF;
  --gold: #FFD08A;
  --good: #2BD48F;
  --bad: #FF5D52;
  --paper: #F2ECDF;
  --ink: #1D1D26;

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --hand: "Caveat", "Bradley Hand", cursive;

  --gutter: clamp(20px, 4.5vw, 64px);
  --max: 1280px;
  --r-lg: 28px;
  --r-md: 18px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 17px; line-height: 1.6; font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 4px; border-radius: 6px; }
::selection { background: rgba(91, 124, 255, .45); color: #fff; }
.skip { position: absolute; left: -9999px; top: 10px; z-index: 500; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 10px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1 { font-size: clamp(60px, 10vw, 150px); line-height: .88; font-weight: 800; font-variation-settings: "wdth" 118; letter-spacing: -0.045em; }
h2 { font-size: clamp(40px, 5.6vw, 84px); line-height: .95; font-weight: 800; font-variation-settings: "wdth" 112; letter-spacing: -0.035em; }
h3 { font-size: 22px; line-height: 1.2; font-weight: 700; font-variation-settings: "wdth" 104; letter-spacing: -0.01em; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--muted); max-width: 34em; }
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 64px; align-items: end; margin-bottom: 48px; }
.split-head p { color: var(--muted); max-width: 32em; }
@media (max-width: 820px) { .split-head { grid-template-columns: 1fr; } }

/* ---------- Space layers ---------- */
#universe { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: #050914 url(img/space/nebula.webp) center / cover no-repeat; }
.readability { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at 40% 45%, rgba(4, 6, 13, .55) 0%, rgba(4, 6, 13, .35) 35%, transparent 72%), linear-gradient(180deg, rgba(4, 6, 13, .35), transparent 20%, transparent 80%, rgba(4, 6, 13, .5)); }
#fx { position: fixed; inset: 0; z-index: 3; pointer-events: none; width: 100vw; height: 100vh; }
main, .foot { position: relative; z-index: 2; }
body.aim { cursor: crosshair; }

/* ---------- Surfaces ---------- */
.surface, .chapter, .pick, .xp-list > li, .edu-card, .num-grid > div, .game, .secrets, .hs-card, .dest, .people-list li, .pitch-card, .quiz-card {
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(22, 28, 52, .62), rgba(9, 12, 24, .7));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), inset 0 0 0 1px rgba(255, 255, 255, .06), 0 40px 80px -40px rgba(0, 0, 0, .85);
  backdrop-filter: blur(18px) saturate(1.15); -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px; height: 54px; padding: 0 26px;
  border-radius: 999px; font-size: 16px; font-weight: 650; font-variation-settings: "wdth" 104; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; transition: background .25s var(--ease), box-shadow .25s var(--ease), transform .2s var(--ease), color .2s;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--text); color: #05070E; box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 12px 40px -14px rgba(143, 168, 255, .55); }
.btn-primary:hover { background: #fff; box-shadow: 0 1px 0 #fff inset, 0 18px 50px -12px rgba(143, 168, 255, .75); }
.btn-primary:has(.btn-ico) { padding-right: 8px; }
.btn-ico { position: relative; width: 38px; height: 38px; border-radius: 50%; background: #05070E; flex: none; overflow: hidden; }
.btn-ico::before, .btn-ico::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 14px; height: 14px; transition: transform .35s var(--ease);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23F3F5FA' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 7h12M8 2l5 5-5 5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.btn-ico::after { transform: translateX(-26px); }
.btn:hover .btn-ico::before { transform: translateX(26px); }
.btn:hover .btn-ico::after { transform: translateX(0); }
.btn-glass { background: rgba(255, 255, 255, .06); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-glass:hover { background: rgba(255, 255, 255, .12); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row.center { justify-content: center; }
.text-link { color: var(--accent-2); font-weight: 650; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease); }
.text-link:hover { background-size: 100% 1px; }

/* ---------- Top bar ---------- */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 16px var(--gutter); transition: background .3s, padding .3s; }
.topbar.scrolled { padding-top: 10px; padding-bottom: 10px; background: linear-gradient(180deg, rgba(4, 6, 13, .75), rgba(4, 6, 13, 0)); }
.mark { justify-self: start; font-size: 22px; font-weight: 800; font-variation-settings: "wdth" 115; letter-spacing: -0.03em; text-decoration: none; }
.mark span { color: var(--accent); }
.nav-pill { display: flex; gap: 2px; padding: 5px; border-radius: 999px; background: rgba(10, 13, 26, .55); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); }
.nav-pill a { padding: 9px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--muted); text-decoration: none; transition: color .2s, background .2s; }
.nav-pill a:hover { color: var(--text); }
.nav-pill a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, .1); }
.top-actions { justify-self: end; display: flex; gap: 8px; }
.icon-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; background: rgba(10, 13, 26, .55); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); display: grid; place-items: center; transition: background .2s; }
.icon-btn:hover { background: rgba(255, 255, 255, .1); }
.i-pause { position: relative; width: 12px; height: 12px; }
.i-pause::before, .i-pause::after { content: ""; position: absolute; top: 0; bottom: 0; width: 3.5px; border-radius: 2px; background: var(--text); }
.i-pause::before { left: 1px; } .i-pause::after { right: 1px; }
#motion-btn[aria-pressed="true"] .i-pause::before { left: 2px; width: 0; height: 0; border-radius: 0; background: none; border-left: 10px solid var(--text); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
#motion-btn[aria-pressed="true"] .i-pause::after { display: none; }
.menu-btn { display: none; }
.i-menu, .i-menu::before { display: block; width: 16px; height: 1.8px; background: var(--text); border-radius: 2px; position: relative; transition: transform .3s var(--ease); }
.i-menu { transform: translateY(-3px); }
.i-menu::before { content: ""; position: absolute; top: 6px; left: 0; }
body.menu-open .i-menu { transform: translateY(0) rotate(45deg); }
body.menu-open .i-menu::before { transform: translateY(-6px) rotate(-90deg); }
@media (max-width: 860px) {
  .topbar { grid-template-columns: 1fr auto; }
  .menu-btn { display: grid; position: relative; z-index: 3; }
  .top-actions { position: relative; z-index: 3; }
  .nav-pill {
    position: fixed; inset: 0; z-index: 2; flex-direction: column; justify-content: center; gap: 4px; padding: 100px var(--gutter);
    border-radius: 0; background: rgba(4, 6, 13, .94); box-shadow: none;
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s, transform .3s, visibility .3s;
  }
  .nav-pill a { font-size: clamp(38px, 11vw, 60px); font-weight: 800; font-variation-settings: "wdth" 115; letter-spacing: -0.03em; color: var(--text); padding: 4px 0; background: none !important; }
  .nav-pill a[aria-current="page"] { color: var(--accent); }
  body.menu-open { overflow: hidden; }
  body.menu-open .nav-pill { opacity: 1; visibility: visible; transform: none; }
}

/* ---------- HUD / toast / effects ---------- */
#hud {
  position: fixed; left: 16px; bottom: 16px; z-index: 150; display: flex; gap: 12px; align-items: center; pointer-events: none;
  font-family: var(--mono); font-size: 13px; padding: 9px 16px; border-radius: 999px; background: rgba(10, 13, 26, .7); box-shadow: inset 0 0 0 1px var(--line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s;
}
#hud.on { opacity: 1; transform: none; }
.hud-best { color: var(--dim); }
.score-pop { position: fixed; z-index: 160; pointer-events: none; font-weight: 900; font-variation-settings: "wdth" 120; font-size: 22px; color: var(--gold); text-shadow: 0 0 14px rgba(255, 150, 60, .8); transform: translate(-50%, -50%); animation: scorePop .9s ease-out forwards; }
@keyframes scorePop { to { transform: translate(-50%, -170%); opacity: 0; } }
#toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 260; transform: translate(-50%, 160%); visibility: hidden;
  padding: 14px 22px; border-radius: 999px; max-width: calc(100vw - 32px); text-align: center;
  background: var(--text); color: #05070E; font-weight: 650; font-size: 15.5px;
  box-shadow: 0 20px 60px -10px rgba(91, 124, 255, .55); transition: transform .45s var(--ease), visibility .45s;
}
#toast.on { transform: translate(-50%, 0); visibility: visible; }
#coco-run { position: fixed; top: 30%; left: 0; z-index: 250; pointer-events: none; transform: translateX(-160px); }
#coco-run img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; border: 4px solid var(--text); box-shadow: 0 0 40px rgba(175, 193, 255, .8); }
#coco-run.go { animation: cocoFly 4s cubic-bezier(.45, .05, .55, .95) forwards; }
#coco-run.go img { animation: spin 4s linear; }
@keyframes cocoFly { 50% { transform: translate(50vw, -80px); } to { transform: translate(calc(100vw + 60px), 40px); } }
@keyframes spin { to { transform: rotate(720deg); } }
.rain-drop { position: fixed; top: -60px; z-index: 270; pointer-events: none; animation: rain 3s cubic-bezier(.4, .1, .7, 1) forwards; }
@keyframes rain { to { transform: translateY(calc(100vh + 120px)) rotate(540deg); } }

/* =====================================================================
   HOME: the hook
   ===================================================================== */
.hook { position: relative; }
.beat { min-height: 100svh; display: grid; align-content: center; gap: 28px; padding: 120px var(--gutter); max-width: var(--max); margin: 0 auto; }
.beat > *, .reveal-copy > *, .reveal-photo, .usa-band > *, .life-tease > *, .explore > *, .page-head > * {
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.in > *, .reveal.in .reveal-copy > *, .reveal.in .reveal-photo { opacity: 1; transform: none; filter: none; }
.in > :nth-child(2), .reveal.in .reveal-copy > :nth-child(2) { transition-delay: .1s; }
.in > :nth-child(3), .reveal.in .reveal-copy > :nth-child(3) { transition-delay: .2s; }
.in > :nth-child(4), .reveal.in .reveal-copy > :nth-child(4), .reveal.in .reveal-photo { transition-delay: .3s; }
.datestamp { font-family: var(--mono); font-size: 13px; color: var(--accent-2); letter-spacing: .04em; }
.tell { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5.8vw, 92px); line-height: 1.02; letter-spacing: -0.015em; color: var(--text); max-width: 15em; text-wrap: balance; }
.beat-open .tell { font-size: clamp(46px, 7.4vw, 120px); max-width: 12em; }
.tell-sm { font-size: clamp(36px, 4.4vw, 68px); }
.tell-em { color: var(--gold); text-shadow: 0 0 40px rgba(255, 176, 46, .5); }
.say { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; color: var(--muted); max-width: 32em; }
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; margin-top: 24px; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; width: max-content; }
.scroll-cue i { position: relative; width: 1px; height: 46px; background: var(--line-2); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--text); animation: cue 2s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }

/* Apollo DSKY */
.beat-dsky { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px 80px; }
.dsky-copy { display: grid; gap: 24px; }
.dsky {
  justify-self: end; width: min(100%, 420px); padding: 22px; border-radius: 22px; display: grid; gap: 16px;
  background: linear-gradient(160deg, #3a3c42, #222328 60%, #18191d); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 0 0 1px rgba(255, 255, 255, .06), 0 50px 90px -30px rgba(0, 0, 0, .9);
}
.dsky-lights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.dsky-lights span { font-family: var(--mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: .02em; text-align: center; line-height: 1.15; padding: 8px 2px; border-radius: 5px; background: #2b2c31; color: #6e7078; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .4); display: grid; place-items: center; min-height: 38px; }
.dsky[data-state="alarm"] .lt-prog, .dsky[data-state="alarm"] .lt-restart { background: #ffb02e; color: #3a2400; box-shadow: 0 0 22px rgba(255, 176, 46, .7); animation: blink 1s steps(1) infinite; }
.dsky[data-state="alarm"] .lt-restart { animation-delay: .5s; }
@keyframes blink { 50% { background: #5c430f; color: #a88848; box-shadow: none; } }
.dsky-screen { border-radius: 12px; padding: 14px 16px; background: #050806; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05), inset 0 10px 30px rgba(0, 0, 0, .8); display: grid; gap: 4px; font-family: var(--mono); color: #7dffa1; text-shadow: 0 0 10px rgba(125, 255, 161, .7); }
.dsky-row { display: flex; justify-content: space-between; align-items: baseline; }
.dsky-row.two span { display: flex; gap: 12px; align-items: baseline; }
.dsky-row b { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #3d8a55; text-shadow: none; }
.dsky output { font-size: 28px; font-weight: 700; letter-spacing: .08em; }
.dsky-reg { display: block; text-align: right; font-size: 30px !important; border-top: 1px solid rgba(125, 255, 161, .12); padding-top: 2px; }
.dsky-pro { display: grid; gap: 4px; justify-items: center; padding: 16px; border-radius: 12px; background: linear-gradient(180deg, #4a4c53, #34353b); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 6px 0 #15161a, 0 10px 20px rgba(0, 0, 0, .5); transition: transform .1s, box-shadow .1s; }
.dsky-pro:active { transform: translateY(5px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 0 #15161a; }
.dsky-pro span { font-family: var(--mono); font-weight: 700; font-size: 20px; letter-spacing: .14em; }
.dsky-pro small { font-size: 12.5px; color: #b8bac2; }
.dsky[data-state="go"] .dsky-pro small { color: #7dffa1; }
@media (max-width: 860px) { .beat-dsky { grid-template-columns: 1fr; } .dsky { justify-self: start; } }

.big-num { font-variant-numeric: tabular-nums; }
.go { font-size: clamp(130px, 24vw, 340px); font-weight: 900; font-variation-settings: "wdth" 125; letter-spacing: -0.06em; line-height: .8; color: var(--text); text-shadow: 0 0 80px rgba(91, 124, 255, .7); }
.in .go { animation: goIn 1.2s var(--ease) .5s both; }
@keyframes goIn { from { transform: scale(1.35); opacity: 0; filter: blur(20px); } }
.quote p { font-family: var(--serif); font-style: italic; font-size: clamp(42px, 6vw, 96px); line-height: 1.02; letter-spacing: -0.01em; max-width: 13em; text-wrap: balance; }
.quote cite { display: block; margin-top: 24px; font-style: normal; font-family: var(--mono); font-size: 13px; color: var(--dim); }

/* Reveal */
.reveal { min-height: 100svh; max-width: var(--max); margin: 0 auto; padding: 120px var(--gutter); display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px 72px; align-items: center; }
.reveal-copy { display: grid; gap: 28px; }
.say-lead { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 36px); line-height: 1.2; color: var(--muted); }
.reveal-name { font-size: clamp(68px, 10.5vw, 168px); line-height: .84; font-weight: 900; letter-spacing: -0.045em; user-select: none; -webkit-user-select: none; }
.hn-line { display: block; white-space: nowrap; }
.hn-line + .hn-line { color: var(--accent); text-shadow: 0 0 60px rgba(91, 124, 255, .45); }
.hn-ch { display: inline-block; font-variation-settings: "wdth" 125, "wght" 900; }
.reveal.in .hn-ch { animation: stretch 1.1s var(--ease) calc(.25s + var(--d)) backwards; }
@keyframes stretch { from { opacity: 0; transform: translateY(35%); font-variation-settings: "wdth" 62, "wght" 300; } }
#hero-name.wave .hn-ch { animation: wave .7s cubic-bezier(.3, 1.6, .5, 1) calc(var(--d) * .6) both; }
@keyframes wave { 40% { transform: translateY(-22%) rotate(-6deg); color: var(--gold); } }
.reveal-photo { justify-self: center; width: min(100%, 420px); }
.reveal-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 10px solid var(--paper); border-bottom-width: 46px; border-radius: 3px; transform: rotate(3deg); box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .9), 0 0 100px rgba(91, 124, 255, .25); }
@media (prefers-reduced-motion: no-preference) { .reveal.in .reveal-photo img { animation: float 8s ease-in-out 1.5s infinite; } }
@keyframes float { 50% { transform: rotate(1.5deg) translateY(-12px); } }
@media (max-width: 900px) { .reveal { grid-template-columns: 1fr; } .reveal-photo { width: min(82%, 360px); } }

/* Chapters (sideways scroll on desktop) */
.story { position: relative; }
.story-pin { padding: 120px var(--gutter) 64px; }
.story-head { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 32px; margin-bottom: 40px; }
.story-hint { display: none; color: var(--dim); font-size: 15px; }
.story-progress { display: none; flex-basis: 100%; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.story-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: 0 50%; transform: scaleX(0); }
.story-track { display: grid; gap: 16px; }
.chapter { padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.chapter h3 { font-size: clamp(26px, 2.4vw, 34px); font-weight: 800; font-variation-settings: "wdth" 112; line-height: 1.04; letter-spacing: -0.025em; }
.chapter p { color: var(--muted); font-size: 16.5px; }
.yr { font-family: var(--mono); font-size: 12.5px; color: var(--accent-2); }
.ch-photo { display: grid; grid-template-columns: 1fr; gap: 24px; }
.ch-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.ch-photo > div { display: flex; flex-direction: column; gap: 14px; }
.ch-blue { background: linear-gradient(160deg, #5B7CFF, #2F45C9); }
.ch-blue p { color: #E3E9FF; } .ch-blue .yr { color: #fff; }
.ch-ring { box-shadow: inset 0 0 0 1px rgba(91, 124, 255, .6), inset 0 0 60px rgba(91, 124, 255, .18), 0 40px 80px -40px rgba(0, 0, 0, .85); }
.big-quote { margin-top: auto; font-family: var(--serif); font-style: italic; font-size: clamp(28px, 2.6vw, 38px) !important; line-height: 1.08; color: var(--text) !important; }
.big-stat { margin-top: auto; color: var(--text) !important; }
.big-stat b { display: block; font-size: clamp(64px, 6.5vw, 104px); line-height: .9; font-weight: 900; font-variation-settings: "wdth" 125; letter-spacing: -0.04em; color: var(--accent-2); }
.story.is-pinned .story-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; padding-top: 96px; padding-bottom: 40px; }
.story.is-pinned .story-hint, .story.is-pinned .story-progress { display: block; }
.story.is-pinned .story-head { margin-bottom: 28px; }
.story.is-pinned .story-track { display: flex; gap: 16px; flex: 1; min-height: 0; will-change: transform; align-items: stretch; }
.story.is-pinned .chapter { flex: 0 0 clamp(320px, 29vw, 410px); overflow: hidden; }
.story.is-pinned .ch-photo { flex-basis: clamp(580px, 50vw, 760px); grid-template-columns: 1fr 1fr; align-items: stretch; }
.story.is-pinned .ch-photo img { height: 100%; aspect-ratio: auto; min-height: 0; }
@media (max-height: 760px) { .story.is-pinned .chapter p { font-size: 15px; } .story.is-pinned h2 { font-size: 48px; } }
@media (min-width: 640px) and (max-width: 879px) { .story-track { grid-template-columns: 1fr 1fr; } .ch-photo { grid-column: span 2; grid-template-columns: 1fr 1fr; } }

/* Life teaser */
.life-tease { max-width: var(--max); margin: 0 auto; padding: 140px var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.lt-copy { display: grid; gap: 24px; justify-items: start; }
.fan { position: relative; height: 440px; display: block; }
.fan img { position: absolute; left: 50%; top: 50%; width: 260px; aspect-ratio: 4 / 5; object-fit: cover; border: 8px solid var(--paper); border-bottom-width: 34px; border-radius: 3px; box-shadow: 0 40px 70px -25px rgba(0, 0, 0, .9); transition: transform .6s var(--ease); }
.fan img:nth-child(1) { transform: translate(-50%, -50%) rotate(-9deg) translateX(-60px); }
.fan img:nth-child(2) { transform: translate(-50%, -50%) rotate(2deg); z-index: 2; }
.fan img:nth-child(3) { transform: translate(-50%, -50%) rotate(10deg) translateX(64px); }
.fan:hover img:nth-child(1), .fan:focus-visible img:nth-child(1) { transform: translate(-50%, -50%) rotate(-16deg) translateX(-150px); }
.fan:hover img:nth-child(3), .fan:focus-visible img:nth-child(3) { transform: translate(-50%, -50%) rotate(16deg) translateX(150px); }
.fan:hover img:nth-child(2), .fan:focus-visible img:nth-child(2) { transform: translate(-50%, -54%) rotate(0deg) scale(1.04); }
@media (max-width: 900px) { .life-tease { grid-template-columns: 1fr; } .fan { height: 380px; } .fan img { width: 210px; } }

/* America */
.usa { max-width: 1440px; margin: 0 auto; padding: 60px var(--gutter) 140px; }
.usa-band {
  position: relative; overflow: hidden; border-radius: 36px; min-height: 78vh; padding: clamp(32px, 6vw, 88px);
  display: grid; align-content: end; gap: 24px;
  background: linear-gradient(90deg, rgba(4, 6, 13, .92) 0%, rgba(4, 6, 13, .6) 45%, rgba(4, 6, 13, .1) 100%), url(img/usa/flag-vintage.webp) center / cover no-repeat;
  box-shadow: inset 0 0 0 1px var(--line), 0 60px 120px -50px rgba(0, 0, 0, .95);
}
.usa-band .tell { font-size: clamp(56px, 8vw, 132px); }
.usa-band .say { color: #D3D8E6; }
.usa-hint { margin: 56px 0 22px; color: var(--muted, #B9C0D4); font-size: 17px; }
.postcards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.pc { position: relative; width: 100%; aspect-ratio: 3 / 4; perspective: 1200px; text-align: left; border-radius: 6px; }
.pc-front, .pc-back { position: absolute; inset: 0; border-radius: 6px; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform .8s var(--ease); background: var(--paper); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .9); }
.pc-front { padding: 8px 8px 0; display: grid; grid-template-rows: 1fr auto; }
.pc-front img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; min-height: 0; }
.pc-front b { font-family: var(--hand); font-weight: 600; font-size: 24px; color: var(--ink); padding: 8px 6px 10px; line-height: 1.1; }
.pc-back { transform: rotateY(180deg); padding: 22px; display: grid; align-content: center; font-family: var(--serif); font-size: clamp(18px, 1.5vw, 22px); line-height: 1.3; color: var(--ink);
  background-image: linear-gradient(var(--paper), var(--paper)), repeating-linear-gradient(-45deg, #C8102E 0 10px, var(--paper) 10px 16px, #1E3A8A 16px 26px, var(--paper) 26px 32px);
  background-origin: padding-box, border-box; background-clip: padding-box, border-box; border: 6px solid transparent; }
.pc:hover .pc-front { transform: rotate(-1.5deg) translateY(-6px); }
.pc.flipped .pc-front { transform: rotateY(-180deg); }
.pc.flipped .pc-back { transform: rotateY(0); }
@media (max-width: 1000px) { .postcards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(62vw, 260px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; } .pc { scroll-snap-align: start; } }
@media (prefers-reduced-motion: reduce) { .pc-front, .pc-back { transition: none; } }

/* Quiz */
.quiz { padding: 80px var(--gutter) 140px; }
.quiz-card { max-width: 820px; margin: 0 auto; padding: clamp(32px, 5vw, 64px); text-align: center; }
.quiz-card h2 { font-size: clamp(38px, 5vw, 68px); }
.quiz-sub { color: var(--muted); margin: 14px 0 32px; }
.quiz-stage { min-height: 120px; display: grid; justify-items: center; gap: 18px; }
.quiz-count { font-family: var(--mono); font-size: 12.5px; color: var(--accent-2); }
.quiz-q { font-size: clamp(24px, 2.8vw, 34px); font-weight: 750; font-variation-settings: "wdth" 108; letter-spacing: -0.02em; text-wrap: balance; }
.quiz-opts { display: grid; gap: 10px; width: 100%; max-width: 520px; }
.quiz-opt { padding: 17px 20px; border-radius: 16px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 17.5px; font-weight: 600; transition: background .2s, transform .2s var(--ease), box-shadow .2s; }
.quiz-opt:hover:not(:disabled) { background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
.quiz-opt.is-right { background: var(--good); color: #00170b; box-shadow: none; }
.quiz-opt.is-wrong { background: var(--bad); box-shadow: none; animation: shake .3s; }
.quiz-opt:disabled { cursor: default; }
.quiz-why { color: #DCE2F2; max-width: 32em; min-height: 1.5em; }
.quiz-score { font-size: clamp(90px, 13vw, 160px); font-weight: 900; font-variation-settings: "wdth" 125; line-height: .9; letter-spacing: -0.05em; text-shadow: 0 0 50px rgba(91, 124, 255, .8); }
.quiz-msg { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); }
.quiz-end { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* Explore */
.explore { max-width: var(--max); margin: 0 auto; padding: 60px var(--gutter) 140px; }
.explore h2 { margin-bottom: 40px; }
.explore-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dest { display: grid; gap: 6px; padding: 28px; text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s; }
.dest img { width: 120px; height: 120px; object-fit: contain; margin: 0 0 22px; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .6)); transition: transform .6s var(--ease); }
.dest img.tall { width: 60px; }
.dest b { font-size: 28px; font-weight: 800; font-variation-settings: "wdth" 112; letter-spacing: -0.03em; }
.dest span { color: var(--muted); font-size: 15.5px; }
.dest:hover { transform: translateY(-6px); }
.dest:hover img { transform: translateY(-8px) rotate(-8deg) scale(1.06); }
@media (max-width: 980px) { .explore-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .explore-grid { grid-template-columns: 1fr; } .dest { grid-template-columns: 72px 1fr; column-gap: 18px; align-items: center; } .dest img { width: 72px; height: 72px; margin: 0; grid-row: span 2; } .dest img.tall { width: 34px; justify-self: center; } }

/* Contact */
.contact { position: relative; padding: clamp(120px, 15vw, 220px) var(--gutter); text-align: center; overflow: hidden; display: grid; justify-items: center; gap: 28px; }
.contact::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(91, 124, 255, .35), rgba(122, 92, 255, .1) 45%, transparent 70%); }
.contact-big { font-size: clamp(80px, 15vw, 240px); line-height: .82; font-weight: 900; font-variation-settings: "wdth" 125; letter-spacing: -0.055em; }
.contact > p { font-size: clamp(18px, 1.7vw, 22px); max-width: 30em; color: var(--muted); }

/* =====================================================================
   Inner pages
   ===================================================================== */
.page-head { padding: 170px var(--gutter) 40px; max-width: var(--max); margin: 0 auto; display: grid; gap: 28px; }
.page-head .lede, .page-lede { font-size: clamp(19px, 1.8vw, 23px); color: var(--muted); max-width: 36em; line-height: 1.5; }

/* Life page */
.life { padding: 60px var(--gutter) 140px; max-width: var(--max); margin: 0 auto; }
.deck-wrap { display: grid; grid-template-columns: 1fr minmax(300px, 440px); gap: 40px 96px; align-items: center; }
.deck-copy { display: grid; gap: 20px; }
.deck-copy p { color: var(--muted); max-width: 30em; }
.deck-copy .deck-how { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.25; color: var(--accent-2); }
.deck-btns { display: flex; align-items: center; gap: 18px; margin-top: 8px; }
.deck-btn { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(10px); transition: transform .2s var(--ease), background .2s; }
.deck-btn:hover { transform: scale(1.08); background: rgba(255, 255, 255, .12); }
.deck-btn.love { color: #FF6B8B; }
.deck-btn.love:hover { background: #FF6B8B; color: #fff; }
.deck-count { font-family: var(--mono); font-size: 14px; color: var(--muted); min-width: 60px; text-align: center; }
.deck-loves { font-family: var(--hand); font-size: 26px !important; color: #FF9FB3 !important; min-height: 1.3em; }
.deck { position: relative; width: 100%; aspect-ratio: 4 / 5.6; max-width: 440px; justify-self: center; touch-action: pan-y; outline: none; }
.deck:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 14px; border-radius: 10px; }
.card {
  --depth: 0; --yes: 0; --no: 0;
  position: absolute; inset: 0; background: var(--paper); padding: 14px 14px 0; border-radius: 4px; display: flex; flex-direction: column; user-select: none; -webkit-user-select: none;
  box-shadow: 0 34px 70px -24px rgba(0, 0, 0, .85);
  transform: translateY(calc(var(--depth) * 14px)) scale(calc(1 - var(--depth) * .045)) rotate(calc(var(--tilt) * (var(--depth) + .4)));
  transition: transform .45s var(--ease);
}
.card.top { cursor: grab; touch-action: pan-y; }
.card.top:active { cursor: grabbing; }
.card-photo { position: relative; flex: 1; min-height: 0; overflow: hidden; background: #222; border-radius: 2px; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; filter: sepia(.18) saturate(.9) contrast(1.05); }
.card-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: overlay; opacity: .45;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(40, 20, 0, .55) 100%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E"); }
.card figcaption { font-family: var(--hand); color: var(--ink); font-size: clamp(24px, 2.2vw, 29px); line-height: 1.1; padding: 12px 4px 16px; min-height: 74px; display: flex; align-items: center; }
.stamp { position: absolute; top: 34px; font-weight: 900; font-variation-settings: "wdth" 125; font-size: 32px; padding: 2px 14px; border: 4px solid; border-radius: 10px; pointer-events: none; opacity: 0; }
.stamp-yes { left: 30px; color: #FF6B8B; transform: rotate(-14deg); opacity: var(--yes); }
.stamp-no { right: 30px; color: #fff; transform: rotate(14deg); opacity: var(--no); }
.card.show-yes .stamp-yes, .card.show-no .stamp-no { opacity: 1; }
@media (max-width: 820px) {
  .deck-wrap { grid-template-columns: 1fr; }
  .deck-copy { display: contents; }
  .deck { order: 2; width: min(100%, 360px); }
  .deck-btns { order: 3; justify-content: center; }
  .deck-loves { order: 4; text-align: center; }
}
.people, .favs, .facts, .someday { margin-top: clamp(100px, 12vw, 160px); }
.people h3, .facts h3, .someday h3 { font-size: clamp(36px, 4.6vw, 64px); line-height: .95; font-weight: 800; font-variation-settings: "wdth" 112; letter-spacing: -0.035em; margin-bottom: 28px; }
.people-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.people-list li { display: grid; gap: 8px; padding: 26px; border-radius: var(--r-md); }
.people-list b { font-size: 22px; font-weight: 750; font-variation-settings: "wdth" 110; letter-spacing: -0.02em; }
.people-list span { color: var(--muted); font-size: 15.5px; }
.favs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.fav-col h3 { font-size: 15px; font-weight: 600; color: var(--dim); margin-bottom: 14px; letter-spacing: 0; }
.fav-col h3:not(:first-child) { margin-top: 32px; }
.fav-rank { counter-reset: r; }
.fav-rank li { counter-increment: r; font-family: var(--serif); font-size: 30px; line-height: 1.12; margin-bottom: 10px; display: flex; gap: 12px; }
.fav-rank li::before { content: counter(r); font-family: var(--sans); font-size: 15px; font-weight: 700; color: var(--accent-2); padding-top: 8px; }
.fav-col ul li { font-family: var(--serif); font-size: 28px; line-height: 1.2; }
.fav-also { color: var(--muted); margin-top: 14px; font-size: 15.5px; }
.swatches { display: flex; gap: 10px; }
.swatches i { width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); }
@media (max-width: 820px) { .favs { grid-template-columns: 1fr; } }
.facts-intro { color: var(--dim); margin: -12px 0 24px; }
.fact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.fact { position: relative; height: 210px; perspective: 1000px; text-align: left; }
.f-front, .f-back { position: absolute; inset: 0; border-radius: var(--r-md); padding: 24px; display: flex; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform .7s var(--ease); }
.f-front { background: linear-gradient(160deg, #5B7CFF, #2F45C9); font-size: 96px; font-weight: 900; font-variation-settings: "wdth" 125; letter-spacing: -0.05em; align-items: flex-end; line-height: .8; }
.fact:nth-child(2n) .f-front { background: linear-gradient(180deg, rgba(22, 28, 52, .8), rgba(9, 12, 24, .85)); box-shadow: inset 0 0 0 1px var(--line); }
.f-back { background: var(--text); color: #05070E; transform: rotateY(180deg); font-family: var(--serif); font-size: 23px; line-height: 1.22; align-items: center; }
.fact.flipped .f-front { transform: rotateY(-180deg); }
.fact.flipped .f-back { transform: rotateY(0); }
@media (max-width: 820px) { .fact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fact { height: 190px; } .f-front { font-size: 64px; } .f-back { font-size: 18px; padding: 18px; } }
@media (max-width: 520px) { .fact { height: 160px; } .f-front { font-size: 46px; padding: 18px; } .f-back { font-size: 16px; padding: 16px; } }
.someday li { font-size: clamp(34px, 6vw, 88px); line-height: 1.04; font-weight: 850; font-variation-settings: "wdth" 120; letter-spacing: -0.04em; color: rgba(243, 245, 250, .22); transition: color .3s, text-shadow .3s; }
.someday li:hover { color: var(--text); text-shadow: 0 0 40px rgba(91, 124, 255, .8); }

/* Picks */
.referrals, .shelves, .pitch { padding: 40px var(--gutter) 80px; max-width: var(--max); margin: 0 auto; }
.pick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pick { display: flex; flex-direction: column; gap: 16px; padding: 30px; transition: transform .4s var(--ease); }
.pick:hover { transform: translateY(-6px); }
.pick-top { display: flex; justify-content: space-between; align-items: flex-start; }
.pick-logo { width: 68px; height: 68px; border-radius: 18px; overflow: hidden; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .7); }
.pick-logo img { width: 100%; height: 100%; object-fit: cover; }
.pick-phorm .pick-logo { background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.pick-phorm .pick-logo img { width: 56%; height: auto; object-fit: contain; }
.pick-badge { font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.pick-robinhood .pick-badge { background: #CCFF00; color: #111; }
.pick-upside .pick-badge { background: #1E4FFF; color: #fff; }
.pick h3 { font-size: clamp(32px, 3vw, 44px); font-weight: 800; font-variation-settings: "wdth" 118; letter-spacing: -0.035em; line-height: 1; }
.pick .pick-hook { font-family: var(--serif); font-size: 24px; line-height: 1.2; color: var(--text); }
.pick p { color: var(--muted); }
.pick .btn { align-self: flex-start; margin-top: auto; }
.pick-fine { font-size: 13px; color: var(--dim) !important; }
.code-row { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 16px; background: rgba(255, 181, 71, .08); box-shadow: inset 0 0 0 1px rgba(255, 181, 71, .35); }
.code-row span { font-size: 13px; color: var(--muted); }
.code-row b { font-family: var(--mono); font-size: 22px; letter-spacing: .1em; color: var(--gold); flex: 1; }
.code-row .copy-btn { background: #FFB547; color: #2a1500; border-radius: 999px; padding: 9px 16px; font-weight: 750; font-size: 14px; }
.copy-btn.copied { background: var(--good) !important; color: #00170b !important; }
.pick-note { margin-top: 24px; font-size: 14px; color: var(--dim); }
@media (max-width: 980px) { .pick-grid { grid-template-columns: 1fr; max-width: 560px; } }
.pitch-card { padding: clamp(32px, 5vw, 64px); display: grid; gap: 24px; justify-items: start; }
.pitch-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pitch-list li { padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--accent-2); box-shadow: inset 0 0 0 1px rgba(175, 193, 255, .3); }
.shelf { margin-top: 32px; } .shelf h3 { font-size: 26px; } .shelf > p { color: var(--muted); margin: 4px 0 14px; }
.shelf-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.shelf-item a { display: grid; gap: 6px; padding: 16px; border-radius: var(--r-md); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; height: 100%; }
.shelf-item img, .shelf-ph { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 10px; background: #fff; }
.shelf-item span { color: var(--muted); font-size: 15px; } .shelf-item em { font-style: normal; color: var(--accent-2); font-weight: 700; font-size: 14px; }
.shelf-empty { grid-column: 1 / -1; color: var(--dim); }

/* Arcade */
.arcade { padding: 170px var(--gutter) 60px; }
.arcade > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.arcade-tabs { display: inline-flex; gap: 2px; padding: 5px; margin-bottom: 20px; border-radius: 999px; background: rgba(10, 13, 26, .6); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(14px); }
.arcade-tabs button { padding: 11px 20px; border-radius: 999px; font-weight: 650; font-size: 15.5px; color: var(--muted); transition: background .2s, color .2s; }
.arcade-tabs button:hover { color: var(--text); }
.arcade-tabs button[aria-selected="true"] { background: var(--text); color: #05070E; }
.game { padding: clamp(20px, 3vw, 40px); min-height: 460px; }
.rush-hud, .phish-hud { display: flex; gap: 24px; font-family: var(--mono); font-size: 13px; color: var(--dim); margin-bottom: 24px; flex-wrap: wrap; }
.rush-hud b, .phish-hud b { color: var(--text); font-size: 20px; }
.rush-start { text-align: center; max-width: 30em; margin: 40px auto; display: grid; gap: 16px; justify-items: center; }
.rush-start h3 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; font-variation-settings: "wdth" 115; line-height: 1; letter-spacing: -0.03em; }
.rush-start p { color: var(--muted); }
.ticket { background: var(--text); color: #05070E; border-radius: 18px; padding: 22px 24px; margin-bottom: 16px; animation: drop .35s cubic-bezier(.2, .9, .3, 1.2); }
.ticket header { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12.5px; color: #5c657a; margin-bottom: 10px; }
.tk-from { color: #3550D8; font-weight: 700; }
.tk-body { font-size: clamp(20px, 2.4vw, 28px); line-height: 1.25; font-weight: 700; font-variation-settings: "wdth" 104; letter-spacing: -0.015em; }
@keyframes drop { from { opacity: 0; transform: translateY(-16px) rotate(-1deg); } }
.rush-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.opt { padding: 16px; border-radius: 14px; text-align: left; font-size: 16px; font-weight: 600; min-height: 72px; line-height: 1.3; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-2); transition: background .2s; }
.opt:hover { background: rgba(255, 255, 255, .1); }
.opt.is-right { background: var(--good); color: #00170b; box-shadow: none; }
.opt.is-wrong { background: var(--bad); box-shadow: none; animation: shake .3s; }
@media (max-width: 700px) { .rush-opts { grid-template-columns: 1fr; } .opt { min-height: 56px; } }
.mail { background: var(--text); color: #05070E; border-radius: 18px; padding: 22px 24px; margin-bottom: 16px; }
.mail dl { display: grid; grid-template-columns: 80px 1fr; gap: 6px 12px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid #d9deee; font-size: 15px; }
.mail dt { color: #5c657a; } .mail dd { word-break: break-word; } .mail dd:first-of-type { font-family: var(--mono); font-size: 14px; }
.mail > p { font-size: 18px; }
.phish-btns { display: flex; gap: 10px; margin-bottom: 16px; }
.phish-btns .btn { flex: 1; color: #fff; }
.btn-phish { box-shadow: inset 0 0 0 1.5px var(--bad); } .btn-phish:hover:not(:disabled) { background: var(--bad); }
.btn-legit { box-shadow: inset 0 0 0 1.5px var(--good); } .btn-legit:hover:not(:disabled) { background: var(--good); color: #00170b; }
.phish-btns .btn:disabled { opacity: .4; cursor: default; }
.phish-why { padding: 14px 18px; border-radius: 14px; margin-bottom: 16px; font-size: 16px; color: #dfe3ee; }
.phish-why.good { background: rgba(43, 212, 143, .14); box-shadow: inset 3px 0 0 var(--good); }
.phish-why.bad { background: rgba(255, 93, 82, .14); box-shadow: inset 3px 0 0 var(--bad); }
.term { background: #020617; border-radius: 16px; overflow: hidden; font-family: var(--mono); font-size: 14.5px; cursor: text; box-shadow: inset 0 0 0 1px rgba(91, 124, 255, .35); }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: rgba(91, 124, 255, .12); color: #8fa3d9; font-size: 12px; }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(175, 193, 255, .35); }
.term-bar span { margin-left: 8px; }
.term-out { height: 320px; overflow-y: auto; padding: 16px 16px 0; }
.term-out pre { margin: 0 0 10px; white-space: pre-wrap; word-break: break-word; font-family: inherit; color: #E6ECFF; }
.term-out pre.echo { color: var(--accent-2); margin-bottom: 4px; } .term-out pre.err { color: #ff9a92; }
.term-line { display: flex; gap: 10px; padding: 8px 16px 16px; align-items: center; }
.term-prompt { color: var(--accent-2); white-space: nowrap; }
.term-line input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; font: inherit; caret-color: var(--accent-2); outline: none; }
.term-hint { margin-top: 14px; color: var(--dim); font-size: 15px; }
.term-hint code { font-family: var(--mono); color: var(--text); background: rgba(91, 124, 255, .16); padding: 2px 7px; border-radius: 6px; }
@media (max-width: 520px) { .term-prompt { display: none; } .term-line::before { content: "%"; color: var(--accent-2); } }
.arcade-extra { padding: 0 var(--gutter) 140px; max-width: 1100px; margin: 0 auto; display: grid; gap: 16px; }
.hs-card { padding: 36px; display: grid; gap: 8px; background: linear-gradient(160deg, #5B7CFF, #2F45C9); }
.hs-card h2 { font-size: clamp(28px, 3.4vw, 44px); }
.hs-num { font-size: clamp(70px, 9vw, 130px); font-weight: 900; font-variation-settings: "wdth" 125; line-height: .9; letter-spacing: -0.04em; color: var(--gold); }
.hs-card p:last-child { color: #E3E9FF; max-width: 38em; }
.secrets { padding: 36px; }
.secrets h2 { font-size: clamp(28px, 3.4vw, 44px); }
.secrets-sub { color: var(--muted); margin: 8px 0 24px; }
.secrets-sub span { color: var(--gold); font-weight: 800; }
.secret-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.secret-list li { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; row-gap: 2px; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); }
.secret-list .s-ico { grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(175, 193, 255, .1); color: var(--dim); font-weight: 800; }
.secret-list b { font-size: 16px; }
.secret-list li > span:last-child { color: var(--muted); font-size: 14.5px; line-height: 1.4; }
.secret-list li.got { background: rgba(255, 181, 71, .07); box-shadow: inset 0 0 0 1px rgba(255, 208, 138, .45); }
.secret-list li.got .s-ico { background: #FFB547; color: #2a1500; }

/* Résumé */
.resume-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.recruiter-note { color: var(--dim); font-size: 14.5px; margin-top: -14px; }
.xp, .edu, .numbers, .work, .skills { padding: 80px var(--gutter); max-width: var(--max); margin: 0 auto; }
.xp h2, .edu h2, .numbers h2, .skills h2 { margin-bottom: 40px; }
.xp-list { display: grid; gap: 14px; max-width: 1100px; }
.xp-list > li { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 32px; }
.xp-when { font-family: var(--mono); font-size: 13px; color: var(--accent-2); padding-top: 6px; }
.xp-body h3 { font-size: clamp(22px, 2.3vw, 30px); font-weight: 800; font-variation-settings: "wdth" 110; letter-spacing: -0.025em; }
.xp-where { color: var(--dim); font-size: 15px; margin: 4px 0 16px; }
.xp-body ul { display: grid; gap: 9px; }
.xp-body li { position: relative; padding-left: 20px; color: var(--muted); font-size: 16.5px; }
.xp-body li::before { content: ""; position: absolute; left: 0; top: .66em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@media (max-width: 700px) { .xp-list > li { grid-template-columns: 1fr; gap: 8px; } }
.edu-card { padding: 32px; display: grid; gap: 6px; max-width: 1100px; }
.edu-card p { color: var(--muted); } .edu-extra { color: var(--dim) !important; font-size: 15.5px; }
.num-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.num-grid > div { display: flex; flex-direction: column-reverse; gap: 10px; padding: 30px; }
.num-grid dd { font-size: clamp(44px, 4.3vw, 74px); line-height: .9; font-weight: 900; font-variation-settings: "wdth" 112; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.num-grid dt { font-size: 15.5px; color: var(--muted); }
@media (max-width: 900px) { .num-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .num-grid { grid-template-columns: 1fr; } }
.hats { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 0 clamp(24px, 5vw, 72px); }
.hat-list { display: flex; flex-direction: column; gap: 4px; }
.hat-list button { text-align: left; padding: 14px 18px; border-radius: 14px; font-size: 17px; font-weight: 600; color: var(--muted); transition: background .2s, color .2s; }
.hat-list button:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.hat-list button[aria-selected="true"] { background: var(--text); color: #05070E; }
.hat-panel { padding: 8px 0 32px; }
.hat-panel h3 { font-size: clamp(34px, 4vw, 56px); line-height: 1; font-weight: 800; font-variation-settings: "wdth" 115; letter-spacing: -0.035em; margin-bottom: 20px; }
.hat-panel p { font-size: 18.5px; max-width: 36em; margin-bottom: 24px; color: var(--muted); }
.hat-panel.swap { animation: swap .4s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } }
.tools { display: flex; flex-wrap: wrap; gap: 8px; }
.tools li { padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--accent-2); box-shadow: inset 0 0 0 1px rgba(175, 193, 255, .3); }
@media (max-width: 760px) { .hats { grid-template-columns: 1fr; } .hat-list { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding-bottom: 16px; } .hat-list button { white-space: nowrap; border-radius: 999px; font-size: 15px; box-shadow: inset 0 0 0 1px var(--line); } }
.built { margin-top: 100px; }
.built h3 { font-size: clamp(26px, 3vw, 40px); font-weight: 800; font-variation-settings: "wdth" 112; letter-spacing: -0.03em; margin-bottom: 20px; }
.built-list { border-top: 1px solid var(--line); }
.built-list a { display: grid; grid-template-columns: 1fr auto 40px; align-items: center; gap: 16px; padding: 22px 8px; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .35s var(--ease); }
.bl-name { font-size: clamp(24px, 3.6vw, 52px); line-height: 1; font-weight: 800; font-variation-settings: "wdth" 100; letter-spacing: -0.03em; transition: font-variation-settings .4s var(--ease); }
.bl-desc { color: var(--dim); font-size: 15.5px; text-align: right; }
.bl-ext { font-size: 24px; text-align: right; color: var(--accent-2); }
.built-list a:hover { padding-left: 20px; }
.built-list a:hover .bl-name { font-variation-settings: "wdth" 125; }
.built-note { margin-top: 28px; color: var(--muted); max-width: 40em; }
@media (max-width: 640px) { .built-list a { grid-template-columns: 1fr 28px; } .bl-desc { grid-column: 1; grid-row: 2; text-align: left; } .bl-ext { grid-column: 2; grid-row: 1 / span 2; } }
.skill-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 40px; }
.sg h3 { font-size: 15px; font-weight: 600; color: var(--dim); padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); letter-spacing: 0; }
.sg li { padding: 3px 0; font-size: 16.5px; }
.courses { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.courses summary { cursor: pointer; font-weight: 650; color: var(--accent-2); }
.courses ul { columns: 3 220px; column-gap: 32px; margin-top: 18px; }
.courses li { padding: 4px 0; font-size: 15.5px; color: var(--muted); break-inside: avoid; }

/* Recruiter mode */
body.recruiter { background: #fff; color: #111; }
body.recruiter #universe, body.recruiter .readability, body.recruiter #fx, body.recruiter #hud, body.recruiter #motion-btn { display: none; }
body.recruiter .topbar.scrolled { background: rgba(255, 255, 255, .92); }
body.recruiter .nav-pill { background: #f1f2f6; box-shadow: none; }
body.recruiter .nav-pill a { color: #555; } body.recruiter .nav-pill a[aria-current="page"] { color: #111; background: #fff; }
body.recruiter .mark, body.recruiter h1, body.recruiter h2, body.recruiter h3, body.recruiter .num-grid dd, body.recruiter .bl-name, body.recruiter .sg li { color: #111; text-shadow: none; }
body.recruiter p, body.recruiter li, body.recruiter dt, body.recruiter .xp-where, body.recruiter .page-lede { color: #444 !important; }
body.recruiter .xp-list > li, body.recruiter .edu-card, body.recruiter .num-grid > div { background: #fff; box-shadow: inset 0 0 0 1px #e4e6ec; backdrop-filter: none; }
body.recruiter .xp-when, body.recruiter .tools li, body.recruiter .courses summary, body.recruiter .bl-ext { color: #3550D8; }
body.recruiter .hat-list button { color: #555; } body.recruiter .hat-list button[aria-selected="true"] { background: #111; color: #fff; }
body.recruiter .btn-glass { color: #111; background: #f1f2f6; box-shadow: none; }
body.recruiter .btn-primary { background: #111; color: #fff; } body.recruiter .btn-ico { background: #fff; }
body.recruiter .btn-ico::before, body.recruiter .btn-ico::after { filter: invert(1); }
body.recruiter .foot { background: #f6f7f9; color: #555; } body.recruiter .foot a { color: #333; }
body.recruiter .contact::before { display: none; }
body.recruiter .built-list, body.recruiter .built-list a, body.recruiter .courses, body.recruiter .sg h3 { border-color: #e4e6ec; }
@media print {
  #universe, .readability, #fx, .topbar, #hud, .foot, .resume-actions, .recruiter-note, .contact, #toast, #coco-run, .hats, .built { display: none !important; }
  body { background: #fff !important; color: #000 !important; font-size: 11.5pt; }
  .page-head { padding: 0 0 12pt; } .page-head > * { opacity: 1 !important; transform: none !important; filter: none !important; }
  h1 { font-size: 30pt; color: #000; } h2 { font-size: 18pt; margin-bottom: 8pt !important; }
  .xp, .edu, .numbers, .skills { padding: 10pt 0; }
  .xp-list > li, .edu-card, .num-grid > div { box-shadow: none !important; padding: 0 0 10pt; background: none !important; break-inside: avoid; }
  .num-grid dd { font-size: 20pt; }
  * { color: #000 !important; }
}

/* Footer */
.foot { padding: 56px var(--gutter) 40px; border-top: 1px solid var(--line); background: rgba(4, 6, 13, .72); backdrop-filter: blur(10px); display: grid; gap: 36px; }
.foot-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.foot-links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; transition: color .2s; }
.foot-links a:hover { color: var(--text); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13.5px; color: var(--dim); }
.foot-egg { color: var(--dim); text-decoration: none; }
.foot-egg:hover { color: var(--gold); }
#foot-secrets { color: var(--gold); font-weight: 800; }
