/* The Quarter Life Comeback — v3 concept
   Light grey by default, lime accents, dark mode on the toggle.
   Archivo (wide, heavy) for display and text, JetBrains Mono for small numbers. */

:root, :root[data-theme="light"] {
  --bg: #E6E6E1;
  --surface: #F4F4F0;
  --surface-2: #D9D9D3;
  --ink: #111110;
  --ink-2: #4F4F49;
  --ink-3: #85857E;
  --line: #CBCBC4;
  --lime: #CCFF33;
  --on-lime: #111110;
  --thumb-dark: #151514;
  --thumb-light: #FBFBF8;
  --glass: rgba(244,244,240,.86);
  --shadow: 0 24px 60px -28px rgba(20,20,10,.35);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0E0E0D;
  --surface: #181816;
  --surface-2: #24241F;
  --ink: #F2F2EC;
  --ink-2: #A9A99F;
  --ink-3: #6F6F67;
  --line: #2D2D29;
  --lime: #CCFF33;
  --on-lime: #111110;
  --thumb-dark: #050505;
  --thumb-light: #EDEDE6;
  --glass: rgba(28,28,25,.88);
  --shadow: 0 24px 60px -24px rgba(0,0,0,.8);
  color-scheme: dark;
}
:root {
  --radius: 22px;
  --gutter: clamp(16px, 4vw, 56px);
  --sans: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2,.8,.2,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
  --wave-reach: clamp(70px, 8vw, 130px); /* how far the hero background carries on down behind the wave banner */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.5; overflow-x: hidden; transition: background .4s, color .4s; }
::selection { background: var(--lime); color: var(--on-lime); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
svg { width: 1em; height: 1em; flex: none; }
.mono { font-family: var(--mono); letter-spacing: -.01em; }
.muted { color: var(--ink-3); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
mark { background: var(--lime); color: var(--on-lime); padding: 0 .14em; border-radius: .14em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

.h2, .hero-title, .hero-tag, .nl-title, .code-head, .beyond h3, .foot-word, .t-hook, .product-art span, .crisis-quote, .stage-title, .waveband text {
  font-family: var(--sans); font-stretch: 120%; font-weight: 800; letter-spacing: -.04em;
}
.h2 { font-size: clamp(38px, 5.6vw, 88px); line-height: .92; text-wrap: balance; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-stretch: 110%; font-size: 16px; letter-spacing: -.01em; white-space: nowrap; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s; }
.btn svg { font-size: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-lime { background: var(--lime); color: var(--on-lime); }
.btn-lime:hover { background: var(--ink); color: var(--bg); }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { background: var(--lime); color: var(--on-lime); }
.btn-ghost { border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); transition: border-color .2s, transform .4s var(--ease); }
.icon-btn:hover { border-color: var(--ink); transform: rotate(20deg); }
.icon-btn svg { font-size: 18px; }

/* Monday email button: a little hop every few seconds */
.bounce { animation: hop 5s var(--ease) 2s infinite; }
.bounce:hover { animation-play-state: paused; }
@keyframes hop {
  0%, 82%, 100% { transform: translateY(0) rotate(0); }
  86% { transform: translateY(-7px) rotate(-3deg); }
  90% { transform: translateY(0) rotate(0); }
  93% { transform: translateY(-3px) rotate(2deg); }
  96% { transform: translateY(0); }
}

/* ---------- Nav (pill group, like v1) ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--gutter); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.nav.scrolled { background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: var(--line); }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-badge { width: 38px; height: 38px; border-radius: 11px; background: var(--lime); color: var(--on-lime); display: grid; place-items: center; transition: transform .5s var(--spring); }
.logo-badge svg { font-size: 32px; }
.logo:hover .logo-badge { transform: rotate(-10deg) scale(1.08); }
.logo-word { font-stretch: 115%; font-weight: 600; font-size: 17px; letter-spacing: -.03em; line-height: 1; }
.logo-word b { font-weight: 800; }
.nav-links { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; }
.nav-links > a, .more-btn { font-weight: 600; font-size: 15px; padding: 9px 14px; border-radius: 999px; transition: background .2s, color .2s; display: inline-flex; align-items: center; gap: 6px; }
.nav-links > a:hover, .more-btn:hover, .more.open .more-btn { background: var(--surface-2); }
.more { position: relative; }
.more-btn svg { font-size: 14px; transition: transform .3s var(--ease); }
.more.open .more-btn svg { transform: rotate(180deg); }
.more-menu { position: absolute; top: calc(100% + 10px); right: 0; min-width: 180px; padding: 6px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .2s, transform .3s var(--ease); }
.more.open .more-menu { opacity: 1; transform: none; pointer-events: auto; }
.more-menu a { padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 15px; }
.more-menu a:hover { background: var(--lime); color: var(--on-lime); }
.nav-right { display: flex; gap: 10px; align-items: center; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; height: 100vh; height: 100svh; min-height: 620px; padding: 120px var(--gutter) clamp(36px, 5vh, 64px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; overflow-x: clip; }
.hero-title { margin-top: auto; }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: auto; }
.hero-left { display: grid; gap: 24px; }
.scroll-cue { display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; color: var(--ink-2); }
.scroll-cue svg { width: 44px; height: 44px; padding: 12px; border-radius: 50%; border: 1.5px solid var(--line); animation: nudge 2.4s ease-in-out infinite; }
.scroll-cue:hover svg { background: var(--lime); border-color: var(--lime); color: var(--on-lime); }
@keyframes nudge { 50% { transform: translateY(6px); } }
.hero-bg { position: absolute; inset: 0 0 calc(-1 * var(--wave-reach)) 0; z-index: -1; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent); mask-image: linear-gradient(to bottom, #000 82%, transparent); }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); }
.g1 { width: 62vw; height: 62vw; max-width: 900px; max-height: 900px; right: -16vw; top: -22vw; background: radial-gradient(circle, rgba(204,255,51,.85), rgba(204,255,51,0) 68%); animation: drift 16s ease-in-out infinite alternate; }
.g2 { width: 40vw; height: 40vw; max-width: 600px; max-height: 600px; left: -14vw; bottom: -18vw; background: radial-gradient(circle, rgba(204,255,51,.5), rgba(204,255,51,0) 70%); animation: drift 20s ease-in-out infinite alternate-reverse; }
:root[data-theme="dark"] .g1 { opacity: .45; }
:root[data-theme="dark"] .g2 { opacity: .35; }
@keyframes drift { to { transform: translate(-4vw, 3vw) scale(1.08); } }
.hero-waves { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--ink); opacity: .07; }
.hero-waves path { fill: none; stroke: currentColor; stroke-linecap: round; }
.hero-title { white-space: nowrap; font-size: clamp(40px, 7vw, 136px); line-height: .9; letter-spacing: -.05em; margin-left: -.03em; }
.hero-title .line { display: block; overflow: hidden; padding: .02em 0 .08em; }
.hero-title .line > span { display: inline-block; transform: translateY(110%); animation: rise 1s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: .12s; }
.hero-title mark { padding: 0 .1em; border-radius: .12em; }
@keyframes rise { to { transform: translateY(0); } }
.hero-sub { color: var(--ink-2); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.4; max-width: 38ch; }
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-lg { height: 62px; padding: 0 32px; font-size: 18px; }
.btn-lg svg { font-size: 20px; }
.grain { position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .32; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

@keyframes tick { to { transform: translateX(-50%); } }

/* Headings rise in word by word as they scroll into view */
.h2.split-in, .nl-title.split-in { text-wrap: wrap; }
.split-in .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-in .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); }
.split-in.in .w > span { transform: none; }
.h2-xl { font-size: clamp(48px, 9.4vw, 170px); line-height: .88; max-width: none !important; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; margin-bottom: clamp(32px, 4vw, 56px); }
.about-lead { font-weight: 700; font-stretch: 110%; font-size: clamp(22px, 2vw, 30px); line-height: 1.2; letter-spacing: -.02em; margin-bottom: 18px; }
.about-copy p:not(.about-lead) { color: var(--ink-2); font-size: clamp(17px, 1.3vw, 19px); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.stat { background: var(--surface); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 10px; min-height: 220px; justify-content: space-between; transition: transform .45s var(--spring); }
.stat:hover { transform: translateY(-4px) rotate(-1deg); }
.stat b { font-stretch: 125%; font-weight: 800; letter-spacing: -.06em; font-size: clamp(72px, 8vw, 130px); line-height: .8; }
.stat span { font-weight: 600; font-size: 16px; max-width: 24ch; }
.stat-lime { background: var(--lime); color: var(--on-lime); }
.stat-ink { background: var(--ink); color: var(--bg); }

/* ---------- Wave banner ---------- */
.waveband { overflow: hidden; position: relative; z-index: 2; pointer-events: none; }
.wave-fill { fill: var(--bg); transition: fill .4s; }
.waveband svg { display: block; width: 100%; height: clamp(120px, 13vw, 220px); }
.wave-ribbon { fill: none; stroke: var(--lime); stroke-width: 70; stroke-linecap: round; }
.wave-text { fill: #111110; font-size: 38px; letter-spacing: -.02em; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 140px) var(--gutter) 0; }
.section-head { margin-bottom: clamp(28px, 4.5vw, 56px); }
.section-head.split { display: flex; justify-content: space-between; align-items: end; gap: 28px; flex-wrap: wrap; }
.section-head.split .h2 { max-width: 14em; }
.section-note { color: var(--ink-2); max-width: 380px; }
.draft { display: inline-block; margin-top: 10px; font-size: 12px; color: var(--ink-3); border: 1px dashed var(--ink-3); padding: 3px 8px; border-radius: 6px; }
.tag-pill { display: inline-block; align-self: flex-start; font-weight: 700; font-size: 13px; padding: 5px 12px; border-radius: 999px; background: var(--surface-2); color: var(--ink); }

/* ---------- Thumbnails (16:9, no numbers) ---------- */
.thumb { container-type: inline-size; position: relative; aspect-ratio: 16/9; overflow: hidden; border-radius: 14px; background: var(--lime); color: #111110; isolation: isolate; text-align: left; }
.t-waves { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.t-waves path { fill: none; stroke: currentColor; stroke-linecap: round; }
.thumb .t-top { position: absolute; top: 5cqw; left: 5.5cqw; right: 5.5cqw; display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-weight: 700; font-size: 3cqw; text-transform: uppercase; }
.thumb .t-top svg { width: 8cqw; height: 8cqw; }
.thumb .t-chip { background: currentColor; border-radius: 99px; padding: .7cqw 2.2cqw; }
.thumb .t-chip span { color: var(--chip-text, #CCFF33); }
.thumb .t-hook { position: absolute; left: 5.5cqw; right: 8cqw; bottom: 13cqw; font-size: 10.5cqw; line-height: .9; text-wrap: balance; }
.thumb .t-guest { position: absolute; left: 5.5cqw; right: 5.5cqw; bottom: 5.2cqw; font-family: var(--mono); font-weight: 500; font-size: 3.1cqw; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thumb.v0 .t-waves { color: rgba(17,17,16,.13); }
.thumb.v1 { background: var(--thumb-dark); color: #F2F2EC; --chip-text: #111110; }
.thumb.v1 .t-hook { color: #CCFF33; }
.thumb.v1 .t-chip { background: #CCFF33; }
.thumb.v1 .t-waves { color: rgba(204,255,51,.38); }
.thumb.v2 { background: var(--thumb-light); color: #111110; }
.thumb.v2 .t-waves { color: #CCFF33; }
.thumb .t-play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(17,17,16,.18); opacity: 0; transition: opacity .3s; }
.thumb .t-play i { width: 17cqw; height: 17cqw; border-radius: 50%; background: #111110; color: #CCFF33; display: grid; place-items: center; transform: scale(.7); transition: transform .45s var(--spring); }
.thumb .t-play svg { width: 42%; height: 42%; margin-left: 6%; }

/* ---------- Featured stage ---------- */
.stage { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--surface); border-radius: 28px; padding: clamp(14px, 2.2vw, 28px); }
.stage-thumb { display: block; width: 100%; border-radius: 18px; transition: transform .5s var(--ease); }
.stage-thumb .thumb { border-radius: 18px; }
.stage-thumb:hover { transform: rotate(-1deg) scale(1.01); }
.stage-thumb:hover .t-play { opacity: 1; }
.stage-thumb:hover .t-play i { transform: scale(1); }
.stage-body { padding-right: clamp(0px, 1.5vw, 16px); }
.archive-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.controls .listen-on { margin: 0 0 0 auto; }
#archive .stage { margin-bottom: clamp(36px, 5vw, 64px); }
.stage-title { font-size: clamp(28px, 3vw, 46px); line-height: .95; margin: 14px 0 8px; text-wrap: balance; }
.stage-guest { font-weight: 600; margin-bottom: 8px; }
.stage-blurb { color: var(--ink-2); margin-bottom: 20px; max-width: 46ch; }
.wave { width: 100%; height: 72px; display: block; cursor: pointer; }
.stage-time { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); margin: 6px 0 16px; }
.controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.surprise { box-shadow: 0 10px 30px -10px rgba(140,180,0,.7); }
.surprise svg { transition: transform .5s var(--spring); }
.surprise:hover svg { transform: rotate(180deg); }
.shuffle { margin-left: auto; font-weight: 700; font-size: 14px; padding: 10px 16px; border-radius: 999px; border: 1.5px dashed var(--ink-3); transition: all .2s; }
.shuffle:hover { background: var(--lime); border-color: var(--lime); color: var(--on-lime); transform: rotate(-3deg); }
.listen-on { display: flex; gap: 14px; font-size: 14px; color: var(--ink-3); margin-top: 18px; }
.listen-on a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.listen-on a:hover { color: var(--ink); text-decoration-color: var(--ink); }
.ctl { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); transition: border-color .2s, transform .2s var(--ease); }
.ctl svg { font-size: 20px; }
.ctl:hover { border-color: var(--ink); }
.ctl:active { transform: scale(.94); }
.ctl-main { width: 50px; height: 50px; background: var(--lime); color: var(--on-lime); border-color: var(--lime); }
.ctl-main svg { font-size: 22px; }
.ctl-lg { width: 64px; height: 64px; }
.ctl-lg svg { font-size: 26px; }
.ctl-speed { width: auto; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 700; }

/* ---------- What are you going through ---------- */
.crisis-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.crisis { position: relative; text-align: left; min-height: 320px; padding: 24px; border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; justify-content: space-between; gap: 22px; overflow: hidden; transition: background .3s var(--ease), color .3s, transform .45s var(--spring), box-shadow .35s; }
.crisis:hover, .crisis.on { background: var(--lime); color: var(--on-lime); transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow); }
.crisis.on { transform: none; box-shadow: inset 0 0 0 2px var(--on-lime); }
.crisis-top { display: flex; justify-content: space-between; font-weight: 700; font-size: 14px; }
.crisis-top span:first-child { font-family: var(--mono); font-weight: 500; }
.crisis-quote { font-size: clamp(28px, 2.6vw, 42px); line-height: .92; }
.crisis-lane { font-size: 15px; color: var(--ink-2); margin-top: 12px; }
.crisis:hover .crisis-lane, .crisis.on .crisis-lane { color: var(--on-lime); }
.crisis-go { display: flex; justify-content: space-between; align-items: center; border-top: 1.5px solid currentColor; padding-top: 14px; font-weight: 700; font-size: 14px; }
.crisis-go svg { font-size: 20px; transition: transform .35s var(--ease); }
.crisis:hover .crisis-go svg { transform: rotate(45deg); }

/* ---------- Archive ---------- */
.search { display: flex; align-items: center; gap: 10px; width: 320px; max-width: 100%; height: 48px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink-3); }
.search:focus-within { border-color: var(--ink); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 15px; }
.search input:focus { outline: none; }
.search input::placeholder { color: var(--ink-3); }
.struggle { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.struggle-q { font-weight: 800; font-stretch: 115%; font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -.03em; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-weight: 600; font-size: 14px; padding: 9px 15px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line); transition: background .2s, border-color .2s, transform .35s var(--spring); }
.chip:hover { border-color: var(--ink); transform: translateY(-2px) rotate(-2deg); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip-surprise { display: inline-flex; align-items: center; gap: 7px; background: var(--lime); border-color: var(--lime); color: #111110; font-weight: 700; }
.chip-surprise svg { font-size: 15px; transition: transform .5s var(--spring); }
.chip-surprise:hover { border-color: var(--lime); }
.chip-surprise:hover svg { transform: rotate(180deg); }
.struggle { scroll-margin-top: 110px; }
.section.archive { padding-top: clamp(40px, 5vw, 64px); }
.struggle { margin-bottom: 28px; }
.chips .chip-search { width: 250px; height: auto; padding: 0 14px; gap: 8px; border-style: dashed; border-color: var(--ink-3); background: transparent; }
.chips .chip-search:focus-within { border-style: solid; border-color: var(--ink); background: var(--surface); }
.chips .chip-search svg { font-size: 15px; color: var(--ink-2); }
.chips .chip-search input { font-size: 14px; font-weight: 600; padding: 9px 0; }
.result-line { color: var(--ink-3); font-size: 15px; margin-bottom: 22px; min-height: 1.5em; }
.result-line button { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 18px; }
.card { text-align: left; display: block; width: 100%; align-self: start; animation: pop .5s var(--spring) both; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.card .thumb { transition: transform .45s var(--spring), box-shadow .45s; }
.card:hover .thumb, .card:focus-visible .thumb { transform: translateY(-4px) rotate(-.6deg); box-shadow: var(--shadow); }
.card:hover .t-play, .card:focus-visible .t-play, .card.playing .t-play { opacity: 1; }
.card:hover .t-play i, .card.playing .t-play i { transform: scale(1); }
.card-title { font-weight: 700; font-stretch: 108%; font-size: 18px; line-height: 1.2; letter-spacing: -.02em; margin: 14px 0 3px; }
.card-sub { color: var(--ink-3); font-size: 14px; display: flex; gap: 8px; align-items: center; }
.card-sub .eq { display: none; gap: 2px; align-items: flex-end; height: 12px; }
.card.playing .card-sub .eq { display: inline-flex; }
.eq b { width: 3px; background: var(--ink); border-radius: 1px; animation: eq 1s ease-in-out infinite; }
.eq b:nth-child(2) { animation-delay: -.3s; } .eq b:nth-child(3) { animation-delay: -.6s; }
@keyframes eq { 0%,100% { height: 4px; } 50% { height: 12px; } }
.card.playing.is-paused .eq b { animation-play-state: paused; }
.cta-tile { align-self: stretch; aspect-ratio: auto; min-height: 100%; border-radius: 14px; background: var(--ink); color: var(--bg); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; position: relative; overflow: hidden; transition: transform .45s var(--spring); }
.cta-tile:hover { transform: rotate(-1deg) translateY(-4px); }
.cta-tile b { font-stretch: 120%; font-weight: 800; letter-spacing: -.04em; font-size: clamp(28px, 2.6vw, 40px); line-height: .95; }
.cta-tile .btn { align-self: flex-start; }
.cta-tile[hidden] { display: none; }
.empty { grid-column: 1 / -1; padding: 40px 0; text-align: center; color: var(--ink-3); }

/* ---------- Codes (accordion, open by default) ---------- */
.code-list { list-style: none; border-top: 1.5px solid var(--ink); }
.code { border-bottom: 1px solid var(--line); }
.code-head { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; text-align: left; padding: 26px 0 18px; font-size: clamp(26px, 3.8vw, 58px); line-height: .95; }
.code-head span { transition: background .3s, transform .5s var(--ease); border-radius: .1em; padding: 0 .06em; margin: 0 -.06em; }
.code-head:hover span { background: var(--lime); color: var(--on-lime); }
.code-toggle { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); font-size: 20px; transform: rotate(180deg); transition: transform .45s var(--spring), background .2s; }
.code.open .code-toggle { transform: rotate(0); background: var(--lime); border-color: var(--lime); color: var(--on-lime); }
.code-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.code.open .code-body { grid-template-rows: 1fr; }
.code-body > div { overflow: hidden; }
.code-body p { color: var(--ink-2); font-size: clamp(17px, 1.4vw, 20px); max-width: 60ch; padding-bottom: 26px; }

/* ---------- Shop ---------- */
.shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product { position: relative; background: var(--surface); border-radius: var(--radius); display: flex; flex-direction: column; transition: transform .45s var(--spring), box-shadow .4s; }
.product:hover { transform: translateY(-6px) rotate(-.5deg); box-shadow: var(--shadow); }
.product-art { border-radius: var(--radius) var(--radius) 0 0; container-type: inline-size; aspect-ratio: 4/3; display: grid; place-items: center; position: relative; overflow: hidden; }
.product-art span { line-height: .88; text-align: center; transition: transform .6s var(--ease); }
.product:hover .product-art span { transform: scale(1.05) rotate(-3deg); }
.art-kit { background: var(--lime); color: #111110; }
.art-kit span { font-size: 12.4cqw; line-height: .88; max-width: 6em; position: relative; z-index: 1; }
.kit-wave { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; transition: transform .6s var(--ease); }
.kit-wave path { fill: none; stroke: #FBFBF8; stroke-width: 9; stroke-linecap: round; }
.product:hover .kit-wave { transform: translateX(-4%) rotate(-2deg); }
.art-quit { background: var(--thumb-light); color: #111110; }
.art-quit span { font-size: 21cqw; }
.art-quit::after { content: ""; position: absolute; left: 14%; right: 14%; height: 5cqw; border-radius: 9cqw; background: #CCFF33; transform: rotate(-9deg); top: 48%; mix-blend-mode: multiply; }
.art-free { background: #111110; color: #CCFF33; }
.art-free span { font-size: 11.5cqw; line-height: .9; max-width: 6em; transform: rotate(-6deg); position: relative; z-index: 1; }
.tracks-wave { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; transition: transform .6s var(--ease); }
.tracks-wave path { fill: none; stroke: #CCFF33; stroke-opacity: .3; stroke-width: 5; stroke-linecap: round; }
.product:hover .tracks-wave { transform: scaleY(1.12); }
.free-tag { position: absolute; z-index: 2; top: -16px; right: -12px; font-style: normal; font-weight: 800; font-size: 18px; background: #CCFF33; color: #111110; padding: 9px 20px; border-radius: 99px; transform: rotate(8deg); box-shadow: 0 8px 18px -8px rgba(0,0,0,.45); }
.product-body { padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.product-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.product h3 { font-weight: 800; font-stretch: 115%; font-size: 24px; line-height: 1; letter-spacing: -.03em; }
.price { font-weight: 800; font-size: 18px; background: var(--lime); color: var(--on-lime); padding: 2px 10px; border-radius: 99px; }
.product p { color: var(--ink-2); font-size: 15px; flex: 1; }

/* ---------- Newsletter ---------- */
.newsletter { margin: clamp(72px, 10vw, 140px) var(--gutter) 0; background: var(--lime); color: #111110; border-radius: 32px; padding: clamp(36px, 7vw, 96px); position: relative; overflow: hidden; }
.nl-waves { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(17,17,16,.1); }
.nl-waves path { fill: none; stroke: currentColor; stroke-linecap: round; }
.nl-inner { position: relative; z-index: 1; max-width: 900px; }
.nl-title { font-size: clamp(50px, 8.6vw, 144px); line-height: .86; margin-bottom: 24px; max-width: 7em; }
.nl-sub { font-size: clamp(17px, 1.6vw, 21px); max-width: 520px; margin-bottom: 28px; }
.nl-form { display: flex; gap: 8px; max-width: 560px; background: #FBFBF8; padding: 6px; border-radius: 999px; }
.nl-form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 18px; font: inherit; font-size: 16px; color: #111110; }
.nl-form input:focus { outline: none; }
.nl-form .btn-ink { background: #111110; color: #F2F2EC; }
.nl-done { font-weight: 800; font-size: 18px; }

/* ---------- Book & talk ---------- */
.beyond-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.beyond { background: var(--surface); border-radius: var(--radius); padding: clamp(24px, 3.6vw, 48px); min-height: 340px; display: flex; flex-direction: column; gap: 16px; transition: transform .45s var(--spring), box-shadow .4s; }
.beyond:hover { transform: translateY(-4px) rotate(.4deg); box-shadow: var(--shadow); }
.beyond h3 { font-size: clamp(34px, 3.8vw, 60px); line-height: .92; flex: 1; display: flex; align-items: flex-end; }
.beyond p { color: var(--ink-2); max-width: 46ch; }
.link-arrow { display: inline-flex; gap: 10px; align-items: center; font-weight: 700; font-size: 15px; }
.link-arrow svg { background: var(--lime); color: var(--on-lime); border-radius: 50%; width: 26px; height: 26px; padding: 6px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: rotate(45deg); }

/* ---------- Origins ---------- */
.origins { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.origins-img { position: relative; max-width: 380px; }
.origins-img img { border-radius: 18px; filter: grayscale(1) contrast(1.05); transform: rotate(-3deg); transition: filter .5s, transform .6s var(--ease); }
.origins-img:hover img { filter: none; transform: rotate(0); }
.sticker { position: absolute; bottom: -20px; right: -14px; width: 88px; height: 88px; border-radius: 50%; background: var(--lime); color: #111110; display: grid; place-items: center; text-align: center; font-size: 13px; font-weight: 800; line-height: 1.1; transform: rotate(-12deg); }
.origins-copy p { color: var(--ink-2); max-width: 40ch; margin-top: 24px; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.4; }

/* ---------- Footer ---------- */
.footer { margin-top: clamp(72px, 10vw, 140px); padding: 56px var(--gutter) 22px; border-top: 1px solid var(--line); }
.foot-top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: stretch; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 180px)); gap: 32px; }
.foot-h { font-weight: 800; margin-bottom: 8px; }
.foot-cols a { display: block; color: var(--ink-2); padding: 4px 0; transition: color .2s; }
.foot-cols a:hover { color: var(--ink); }
.foot-signup { background: var(--surface); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.foot-signup-h { font-weight: 800; font-stretch: 115%; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.05; letter-spacing: -.03em; max-width: 18em; }
.foot-form { display: flex; gap: 6px; background: var(--bg); border: 1.5px solid var(--line); padding: 5px; border-radius: 999px; }
.foot-form .btn { height: 46px; padding: 0 22px; }
.foot-form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 14px; font: inherit; font-size: 15px; color: var(--ink); }
.foot-form input:focus { outline: none; }
.foot-done { font-weight: 700; }
.foot-word { display: inline-flex; align-items: center; gap: .14em; white-space: nowrap; margin: clamp(40px, 6vw, 80px) 0 18px; font-size: 7.6vw; line-height: .9; }
.foot-word svg { width: .9em; height: .9em; background: var(--lime); color: #111110; border-radius: .22em; transform: rotate(-6deg); transition: transform .6s var(--spring); }
.foot-word:hover svg { transform: rotate(8deg) scale(1.06); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 11px; text-transform: uppercase; color: var(--ink-3); }

/* ---------- Sticky player ---------- */
.mini { position: fixed; left: 50%; bottom: 14px; z-index: 60; width: min(920px, calc(100% - 24px)); background: var(--glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transform: translate(-50%, 150%); transition: transform .6s var(--ease); box-shadow: var(--shadow); }
.mini.show { transform: translate(-50%, 0); }
body.playing { padding-bottom: 96px; }
.mini-progress { position: relative; height: 4px; background: var(--line); }
.mini-progress span { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--ink); pointer-events: none; }
.mini-progress input { position: absolute; inset: -8px 0; width: 100%; opacity: 0; cursor: pointer; }
.mini-row { display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 10px; }
.mini-thumb { width: 92px; flex: none; }
.mini-thumb .thumb { border-radius: 8px; }
.mini-info { flex: 1; min-width: 0; }
.mini-title { font-weight: 700; font-stretch: 108%; font-size: 15px; line-height: 1.2; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-sub { font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-ctl { display: flex; align-items: center; gap: 6px; flex: none; }
.mini-time { font-size: 12px; color: var(--ink-3); min-width: 92px; text-align: right; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; }
.reveal.in { animation: reveal-in .9s var(--ease) var(--d, 0ms) both; }
@keyframes reveal-in { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }

/* ---------- Guests (scattered face bubbles) ---------- */
.nowrap { white-space: nowrap; }
.bubbles { position: relative; width: min(100%, 1180px); margin: 0 auto; }
.bub { position: absolute; aspect-ratio: 1; translate: -50% -50%; scale: 0; transition: scale .7s var(--spring) var(--d); }
.bubbles.in .bub { scale: 1; }
.bub-in { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; display: grid; place-items: center; border: clamp(3px, .4vw, 6px) solid var(--bg); font-weight: 900; font-stretch: 120%; letter-spacing: -.04em; font-size: clamp(13px, 2vw, 30px); box-shadow: 0 16px 32px -18px rgba(0,0,0,.45); transition: transform .4s var(--spring); }
.bub.c0 .bub-in { background: var(--ink); color: var(--lime); }
.bub.c1 .bub-in { background: var(--surface); color: var(--ink); }
.bub.c2 .bub-in { background: var(--lime); color: #111110; }
.bub-in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Episode feed: a few at a time ---------- */
.more-row { display: flex; justify-content: center; margin-top: 32px; }
.more-row[hidden] { display: none; }

/* ---------- Hero photo (preview) ---------- */
.hero.has-photo { justify-content: flex-start; align-items: center; text-align: center; }
.hero.has-photo .hero-title { margin-top: clamp(0px, 3vh, 40px); font-size: min(7vw, 10.5vh, 136px); }
.hero.has-photo .hero-foot { justify-content: center; margin-top: 0; }
.hero.has-photo .hero-left { justify-items: center; }
.hero.has-photo .hero-sub { max-width: 34ch; }
.hero.has-photo .scroll-cue { display: none; }
.hero.has-photo .g2 { display: none; }
.hero-photo { position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; pointer-events: none; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; animation: photo-in 1.2s var(--ease) .2s both; }
.hero-photo { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 var(--fade, 14%)); mask-image: linear-gradient(to bottom, transparent, #000 var(--fade, 14%)); }
@keyframes photo-in { from { opacity: 0; translate: 0 30px; } to { opacity: 1; translate: 0 0; } }
.photo-edges .hero-photo { aspect-ratio: 1600 / 672; max-height: 66vh; width: 100%; }
.photo-edges .hero-foot { margin-top: auto; }
.photo-row .hero-photo { height: 41vh; --fade: 10%; }
.photo-row .hero-photo img { object-position: center 88%; }
.hero.photo-row .hero-title { font-size: min(6vw, 8.6vh, 120px); margin-top: 0; }
.hero.photo-row { gap: 22px; padding-top: 104px; }
.photo-row .hero-foot { margin-top: 0; }
.hero.photo-row .hero-sub { max-width: 62ch; }
.photo-row .hero-left { gap: 20px; }
:root[data-theme="dark"] .hero-photo { display: none; }
.hero-cuts { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-cuts img { position: absolute; height: auto; rotate: var(--rot); filter: drop-shadow(0 14px 20px rgba(0,0,0,.14)); animation: cut-in .9s var(--spring) var(--d) both; }
@keyframes cut-in { from { opacity: 0; transform: translateY(40px) scale(.92); } to { opacity: 1; transform: none; } }
.hero.photo-cut .hero-title { font-size: min(5.6vw, 9vh, 110px); margin-top: 0; }
.hero.photo-cut { gap: 26px; padding-top: 120px; padding-bottom: 6vh; justify-content: center; }
.hero-cuts img.at-bottom { translate: 0 -10px; }
.photo-cut .hero-foot { margin-top: 0; }
.hero.photo-cut .hero-sub { max-width: 44ch; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .team { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .crisis-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: 1fr 1fr; }
  .shop-grid .product:last-child { grid-column: 1 / -1; }
  .nav-links { position: static; transform: none; }
  .logo-word { display: none; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .logo-word { display: inline; }
  .about-grid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hide-sm { display: none !important; }
  .logo-word { font-size: 15px; }
  .nav .btn-sm { height: 38px; padding: 0 14px; font-size: 13px; }
  .hero { height: auto; min-height: 100svh; padding: 112px var(--gutter) 40px; gap: 28px; }
  .hero-foot { flex-direction: column; align-items: stretch; }
  .scroll-cue { display: none; }
  .hero-title { white-space: normal; font-size: clamp(30px, 9.2vw, 60px); }
  .stats { grid-template-columns: 1fr; }
  .stat { min-height: 0; flex-direction: row; align-items: center; gap: 18px; }
  .stat b { font-size: 64px; min-width: 1.6em; }
  .surprise { width: 100%; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .crisis-grid, .grid, .shop-grid, .beyond-grid, .origins { grid-template-columns: 1fr; }
  .crisis { min-height: 230px; }
  .shop-grid .product:last-child { grid-column: auto; }
  .search { width: 100%; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; }
  .chips .chip-search { order: -1; flex: none; width: 210px; }
  .chips .chip-surprise, .chips .chip-all { order: -2; }
  .shuffle { margin-left: 0; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .nl-form { flex-direction: column; border-radius: 20px; }
  .nl-form input { height: 50px; }
  .mini-thumb { width: 72px; }
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mate-role { display: none; }
  .mate-name { font-size: 13px; }
  .hero.has-photo { padding-bottom: 0; }
  .hero.has-photo .hero-title { font-size: clamp(30px, 9.2vw, 60px); }
  .hero.has-photo .hero-foot { margin-top: 0; }
  .hero-photo { position: relative; z-index: 0; margin: auto calc(-1 * var(--gutter)) 0; width: auto !important; max-height: none !important; height: auto !important; aspect-ratio: auto !important; }
  .hero-photo img { height: auto; }
  .photo-row .hero-photo { overflow: hidden; --fade: 40%; }
  .photo-row .hero-photo img { width: 215%; max-width: none; margin-left: -57.5%; margin-top: -42%; display: block; }
  .hero.photo-cut { min-height: 100svh; padding-bottom: 46vw; }
  .photo-cut .hero-title { font-size: clamp(30px, 9.2vw, 60px); }
  .hero-cuts img { display: none; }
  .hero-cuts img.keep { display: block; width: var(--mw) !important; }
  .grid { grid-template-columns: 1fr; gap: 14px; }
  .card { display: grid; grid-template-columns: 44% 1fr; column-gap: 14px; align-items: center; }
  .card .thumb { grid-row: span 2; }
  .card .t-guest, .card .t-chip { display: none; }
  .card .t-hook { font-size: 13cqw; bottom: 9cqw; }
  .card-title { margin: 0 0 3px; font-size: 15px; align-self: end; }
  .card-sub { font-size: 13px; align-self: start; }
  .archive-tools { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-title .line > span { transform: none; }
  .glow { animation: none; }
  .reveal { opacity: 1; translate: none; animation: none; }
  .split-in .w > span { transform: none; }
}

/* Screenshot helper: ?shot=Y freezes motion and offsets the page (design review only) */
html.shot *, html.shot *::before, html.shot *::after { animation-duration: 0s !important; animation-delay: 0s !important; transition: none !important; }
html.shot .reveal { opacity: 1; translate: none; animation: none; }
html.shot .split-in .w > span { transform: none; }
