/* CatalystX Media. Editorial podcast-app shell around plain, crawlable pages.
   Ground: warm paper. Ink: near-black navy. One accent: teal, used as dots and small marks.
   Type: Inter Tight (display, light-medium weights), Instrument Serif italic (accent words),
   Inter (text), JetBrains Mono (micro labels). Photos: one black-and-white treatment. */

@font-face { font-family: 'Inter'; src: url('/fonts/inter-var.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url('/fonts/inter-tight-var.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('/fonts/instrument-serif.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('/fonts/instrument-serif-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('/fonts/jetbrains-mono-var.woff2') format('woff2'); font-weight: 400 800; font-display: swap; }

:root {
  --paper: #f1efea;
  --paper-2: #e9e6df;
  --paper-3: #dfdbd2;
  --card: #f7f6f2;
  --ink: #0d1821;
  --ink-2: #3c4650;
  --ink-3: #6c737a;
  --line: #d9d5cc;
  --line-2: #c5c0b5;
  --teal: #009ca4;
  --teal-ink: #00727a;
  --cyan: #63d3dc;
  --night: #0e1114;
  --night-2: #181c20;
  --r: 4px;
  --side: 232px;
  --top: 64px;
  --player: 74px;
  --tabs: 0px;
  --ease: cubic-bezier(.12, .9, .2, 1);
  --f-display: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --f-text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .1 0 0 0 0 .1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--top) + 16px); background: var(--paper); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17.5px/1.62 var(--f-text);
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body::after { content: ''; position: fixed; inset: 0; z-index: 90; pointer-events: none; background-image: var(--noise); opacity: .055; mix-blend-mode: multiply; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 2px; }
::selection { background: var(--ink); color: var(--paper); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: var(--r); }
.skip:focus { top: 12px; }
em.s { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.005em; }

/* ---------- Shell ---------- */
.side { position: fixed; z-index: 30; left: 0; top: 0; bottom: var(--player); width: var(--side); display: flex; flex-direction: column; gap: 26px; padding: 22px 18px 18px; background: var(--paper-2); border-right: 1px solid var(--line); overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); padding: 2px 6px; }
.brand img { width: 42px; height: auto; }
.brand b { font: 600 16px/1 var(--f-display); letter-spacing: -.02em; }
.brand small { display: block; font: 500 10px/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-top: 5px; }
.side-nav { display: flex; flex-direction: column; gap: 1px; }
.side-nav a { position: relative; display: flex; align-items: baseline; gap: 12px; padding: 8px; border-radius: var(--r); text-decoration: none; color: var(--ink-2); font: 450 15px/1.2 var(--f-text); }
.side-nav a span { font: 500 10px/1 var(--f-mono); color: var(--ink-3); letter-spacing: .04em; width: 16px; }
.side-nav a:hover { color: var(--ink); background: var(--paper-3); }
.side-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.side-nav a[aria-current="page"] span { color: var(--teal-ink); }
.side-nav a[aria-current="page"]::after { content: ''; position: absolute; right: 8px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--teal); }
.side-label { font: 500 10px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding: 0 8px; margin: 0 0 10px; }
.side-genres { display: flex; flex-direction: column; gap: 2px; }
.side-genres a { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: var(--r); text-decoration: none; color: var(--ink-2); font: 450 14.5px/1.2 var(--f-text); }
.side-genres a:hover { background: var(--paper-3); color: var(--ink); }
.side-genres i { width: 22px; height: 22px; border-radius: 2px; flex: none; background-size: cover; background-position: center; }
.side-cta { margin-top: auto; padding: 16px 8px 4px; border-top: 1px solid var(--line); }
.side-cta small { display: block; font: 500 10px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.side-cta p { margin: 0 0 14px; font: italic 400 21px/1.15 var(--f-serif); color: var(--ink); }
.side-cta a { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 38px; border-radius: var(--r); background: var(--ink); color: var(--paper); text-decoration: none; font: 600 14px/1 var(--f-text); }
.side-cta a:hover { background: var(--night-2); }

.col { overflow-x: clip; margin-left: var(--side); min-height: 100vh; padding-bottom: calc(var(--player) + var(--tabs)); display: flex; flex-direction: column; }
.top { position: sticky; top: 0; z-index: 20; height: var(--top); display: flex; align-items: center; gap: 14px; padding: 0 clamp(16px, 3vw, 44px); background: rgba(241, 239, 234, .88); backdrop-filter: saturate(1.2) blur(14px); -webkit-backdrop-filter: saturate(1.2) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.is-stuck { border-bottom-color: var(--line); }
.top-brand { display: none; }
.search { position: relative; flex: 1; max-width: 500px; }
.search input { width: 100%; height: 40px; padding: 0 14px 0 38px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--card); color: var(--ink); font: 450 15px/1 var(--f-text); }
.search input::placeholder { color: var(--ink-3); }
.search input:focus { outline: none; border-color: var(--ink); background: #fff; }
.search svg { position: absolute; left: 12px; top: 11px; width: 18px; height: 18px; color: var(--ink-3); pointer-events: none; }
.search kbd { position: absolute; right: 10px; top: 9px; font: 500 11px/20px var(--f-mono); padding: 0 6px; border: 1px solid var(--line-2); border-radius: 3px; color: var(--ink-3); background: var(--paper); }
.results { position: absolute; left: 0; right: 0; top: 46px; z-index: 40; max-height: 70vh; overflow: auto; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); padding: 6px; box-shadow: 0 24px 48px -28px rgba(13, 24, 33, .35); }
.results a { display: block; padding: 10px 12px; border-radius: 3px; text-decoration: none; color: var(--ink); }
.results a small { display: block; font: 500 10px/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.results a b { display: block; font: 600 15px/1.35 var(--f-text); }
.results a span { display: block; font-size: 13.5px; color: var(--ink-3); line-height: 1.4; margin-top: 2px; }
.results a[aria-selected="true"], .results a:hover { background: var(--paper-2); }
.results p { margin: 0; padding: 12px; color: var(--ink-3); font-size: 14.5px; }
.top-cta { margin-left: auto; }
main { flex: 1; width: 100%; max-width: 1160px; margin: 0 auto; padding: 10px clamp(16px, 3vw, 44px) 40px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 20px; border-radius: var(--r); font: 600 15px/1 var(--f-text); text-decoration: none; white-space: nowrap; cursor: pointer; border: 1px solid transparent; transition: background .18s, color .18s, border-color .18s, transform .18s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--night-2); color: var(--paper); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-play svg { width: 13px; height: 13px; }
.btn-play[data-state="playing"] .i-play, .btn-play:not([data-state="playing"]) .i-pause { display: none; }

/* ---------- Labels, headings ---------- */
.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 16px; font: 500 11px/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.kicker b { color: var(--ink); font-weight: 600; }
.kicker i { width: 4px; height: 4px; border-radius: 50%; background: var(--teal); display: inline-block; }
h1, h2, h3 { font-family: var(--f-display); color: var(--ink); margin: 0; }
h1 { font-weight: 500; font-size: clamp(36px, 4.4vw, 60px); line-height: 1; letter-spacing: -.042em; text-wrap: balance; }
h2 { font-weight: 500; font-size: clamp(27px, 2.7vw, 36px); line-height: 1.06; letter-spacing: -.03em; text-wrap: balance; }
h2 em.s { font-size: 1.1em; letter-spacing: -.01em; }
h3 { font-weight: 600; font-size: 19px; line-height: 1.25; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
.lead { font-size: 19.5px; line-height: 1.55; color: var(--ink-2); max-width: 60ch; }

/* ---------- Covers: typographic episode art, or a treated photo ---------- */
.cover { position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; container-type: inline-size; background: var(--ink); color: var(--paper); isolation: isolate; }
.cover::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .55; background: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px) 0 0 / 12.5% 12.5%, linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px) 0 0 / 12.5% 12.5%; }
.cover::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .2; mix-blend-mode: overlay; background-image: var(--noise); }
.cover-k { position: absolute; z-index: 3; left: 7%; top: 7%; font: 500 max(9px, 4.2cqw)/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.cover-n { position: absolute; z-index: 3; right: 7%; top: 7%; font: 500 max(9px, 4.2cqw)/1.2 var(--f-mono); letter-spacing: .06em; opacity: .85; }
.cover-w { position: absolute; z-index: 3; left: 6.5%; right: 6%; bottom: 17%; font: 500 calc(var(--fs, .25) * 100cqw)/.88 var(--f-display); letter-spacing: -.05em; overflow-wrap: anywhere; }
.cover-w em { font-style: normal; color: var(--accent, var(--cyan)); }
.cover-s { position: absolute; z-index: 3; left: 7%; right: 26%; bottom: 7%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font: 500 max(9px, 4.4cqw)/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; opacity: .82; }
.cover-mark { position: absolute; z-index: 3; right: 7%; bottom: 6.2%; width: 14%; }
.cover-crop { position: absolute; z-index: 3; width: 5%; height: 5%; border-color: currentColor; border-style: solid; opacity: .5; }
.cover-crop.tl { left: 3%; top: 3%; border-width: 1px 0 0 1px; }
.cover-crop.br { right: 3%; bottom: 3%; border-width: 0 1px 1px 0; }
.t-navy { background: var(--ink); color: var(--paper); --accent: var(--cyan); }
.t-teal { background: #0f6f74; color: var(--paper); --accent: var(--cyan); }
.t-ink { background: var(--night); color: var(--paper); --accent: var(--cyan); }
.t-paper, .t-white, .t-glow { background: var(--card); color: var(--ink); --accent: var(--teal); box-shadow: inset 0 0 0 1px var(--line); }
.t-glow { background: var(--paper-3); }
.t-paper::before, .t-white::before, .t-glow::before { background: linear-gradient(rgba(13,24,33,.06) 1px, transparent 1px) 0 0 / 12.5% 12.5%, linear-gradient(90deg, rgba(13,24,33,.06) 1px, transparent 1px) 0 0 / 12.5% 12.5%; }
.t-navy .cover-mark, .t-ink .cover-mark, .t-teal .cover-mark, .cover-photo .cover-mark { filter: brightness(0) invert(1); opacity: .9; }
.cover-photo { background: var(--night); color: #fff; }
.cover-photo::before { display: none; }
.cover-photo > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform 1.2s var(--ease); }
.cover-photo .shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,12,14,.5) 0%, rgba(10,12,14,0) 30%, rgba(10,12,14,0) 50%, rgba(10,12,14,.8) 100%); }

/* ---------- Home hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: clamp(28px, 4.5vw, 64px); align-items: end; padding: 34px 0 46px; border-bottom: 1px solid var(--line); }
.hero h1 { margin-bottom: 26px; }
.h1-pre { display: block; font: italic 400 clamp(26px, 2.6vw, 38px)/1.1 var(--f-serif); letter-spacing: -.005em; color: var(--ink-2); margin-bottom: 14px; }
.h1-big { display: block; font: 500 clamp(56px, 7.4vw, 112px)/.9 var(--f-display); letter-spacing: -.055em; }
.h1-big .w { display: block; }
.h1-big .dot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.h1-big .w::after { content: ''; display: inline-block; width: .14em; height: .14em; border-radius: 50%; background: var(--teal); margin-left: .04em; }
.hero .lead { margin-bottom: 26px; }
.hero-photo { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--night); color: #fff; }
.hero-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,10,12,.5) 0%, rgba(8,10,12,0) 26%, rgba(8,10,12,0) 55%, rgba(8,10,12,.82) 100%); }
.hero-photo figcaption { position: absolute; inset: 0; z-index: 2; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; }
.hp-row { display: flex; justify-content: space-between; font: 500 10.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.hp-row i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); margin-right: 8px; box-shadow: 0 0 0 4px rgba(99, 211, 220, .18); }
.hero-photo b { display: block; font: 500 clamp(24px, 2.4vw, 34px)/1.02 var(--f-display); letter-spacing: -.035em; }
.hero-photo b em { font: italic 400 1.08em/1 var(--f-serif); letter-spacing: -.01em; }
.hp-wave { display: flex; align-items: flex-end; gap: 3px; height: 22px; margin-top: 16px; opacity: .9; }
.hp-wave span { flex: 1; height: 100%; background: rgba(255,255,255,.5); border-radius: 1px; transform-origin: bottom; transform: scaleY(var(--h, .5)); }
.hp-wave span.on { background: var(--cyan); }

/* ---------- Inner show header ---------- */
.show { position: relative; display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: clamp(24px, 4vw, 52px); align-items: center; padding: 30px 0 34px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.show h1 { margin-bottom: 18px; }
.show .lead { margin-bottom: 22px; }
.show-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; font: 500 11px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.meta li { display: flex; align-items: center; gap: 8px; }
.meta li + li::before { content: ''; width: 3px; height: 3px; border-radius: 50%; background: var(--teal); margin-right: 10px; }
.show.is-page h1 { font-size: clamp(32px, 3.8vw, 54px); }
[data-type="answer"] .show.is-page h1 { font-size: clamp(29px, 3.1vw, 44px); line-height: 1.04; }
.byline { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; color: var(--ink-2); font-size: 15px; }
.byline img { width: 36px; height: 36px; border-radius: 50%; filter: grayscale(1); }
.byline b { color: var(--ink); font-weight: 600; }
.byline small { display: block; font: 500 11px/1.4 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-top: 2px; }

/* ---------- Shelves ---------- */
.shelf { padding: 46px 0 8px; }
.shelf-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.shelf-head .kicker { margin-bottom: 10px; }
.shelf-head a.more { font: 500 14px/1 var(--f-text); color: var(--ink-2); text-decoration: none; white-space: nowrap; border-bottom: 1px solid var(--line-2); padding-bottom: 4px; }
.shelf-head a.more:hover { color: var(--ink); border-color: var(--ink); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 18px; }
.tile { text-decoration: none; color: var(--ink); display: block; }
.tile:hover .cover-photo > img:first-child { transform: scale(1.035); }
.tile h3 { font: 600 16.5px/1.3 var(--f-display); letter-spacing: -.01em; margin: 14px 0 5px; }
.tile p { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--ink-3); }
.genres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.genre { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; text-decoration: none; color: #fff; isolation: isolate; background: var(--night); }
.genre > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.genre::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,10,12,.42) 0%, rgba(8,10,12,0) 28%, rgba(8,10,12,.12) 50%, rgba(8,10,12,.86) 100%); }
.genre:hover > img { transform: scale(1.04); }
.genre small { position: absolute; left: 20px; top: 18px; font: 500 10.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.genre .g-in { position: absolute; left: 20px; right: 20px; bottom: 20px; }
.genre b { display: block; font: 500 clamp(30px, 3.2vw, 44px)/.95 var(--f-display); letter-spacing: -.045em; }
.genre b::after { content: ''; display: inline-block; width: .14em; height: .14em; border-radius: 50%; background: var(--cyan); margin-left: .04em; }
.genre span { display: block; margin-top: 10px; font-size: 14.5px; line-height: 1.45; opacity: .86; max-width: 34ch; }

/* Episode list */
.episodes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.ep { border-bottom: 1px solid var(--line); }
.ep a { display: grid; grid-template-columns: 34px 54px 1fr auto; gap: 18px; align-items: center; padding: 14px 10px; margin: 0 -10px; border-radius: var(--r); text-decoration: none; color: var(--ink); }
.ep a:hover { background: var(--paper-2); }
.ep-n { font: 500 11.5px/1 var(--f-mono); color: var(--ink-3); text-align: right; }
.ep .cover { width: 54px; border-radius: 3px; }
.ep .cover-k, .ep .cover-n, .ep .cover-s, .ep .cover-crop, .ep .cover-w { display: none; }
.ep .cover-mark, .np .cover-mark { right: auto; bottom: auto; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 60%; }
.ep b { display: block; font: 550 17px/1.3 var(--f-display); letter-spacing: -.012em; }
.ep span { display: block; margin-top: 3px; font-size: 14.5px; line-height: 1.45; color: var(--ink-3); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.ep-t { font: 500 11.5px/1 var(--f-mono); color: var(--ink-3); white-space: nowrap; }

/* Chapters */
.chapters { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.chapters li { padding: 20px 20px 6px 0; }
.chapters li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.chapters .ch-n { display: block; font: 500 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 16px; }
.chapters h3 { margin-bottom: 8px; }
.chapters p { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }

.home-faq { margin-top: 50px; }
/* Show notes */
.why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--ink); counter-reset: why; }
.why li { counter-increment: why; display: grid; grid-template-columns: 42px 1fr; gap: 10px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.why li::before { content: counter(why, decimal-leading-zero); font: 500 11.5px/1.9 var(--f-mono); color: var(--teal-ink); }
.why b { display: block; font: 600 17.5px/1.3 var(--f-display); letter-spacing: -.012em; margin-bottom: 5px; }
.why span { display: block; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.plan { padding: 26px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--card); display: flex; flex-direction: column; }
.plan.is-feature { background: var(--night); color: var(--paper); border-color: var(--night); }
.plan.is-feature h3, .plan.is-feature .price { color: var(--paper); }
.plan h3 { font-weight: 500; font-size: 22px; letter-spacing: -.02em; }
.plan .kicker { margin-bottom: 12px; }
.plan.is-feature .kicker { color: var(--cyan); }
.plan .price { font: 500 clamp(40px, 4vw, 56px)/1 var(--f-display); letter-spacing: -.05em; margin: 16px 0 8px; color: var(--ink); opacity: 1; }
.plan .price small { font: 400 15px/1 var(--f-text); letter-spacing: 0; color: inherit; opacity: .7; margin-left: 6px; }
.plan ul { list-style: none; margin: 10px 0 22px; padding: 0; }
.plan li { position: relative; padding: 9px 0 9px 20px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.45; }
.plan.is-feature li { border-color: rgba(241,239,234,.14); }
.plan li::before { content: ''; position: absolute; left: 2px; top: 17px; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }
.plan.is-feature li::before { background: var(--cyan); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan.is-feature .btn-primary { background: var(--paper); color: var(--ink); }
.plan.is-feature .btn-primary:hover { background: #fff; }

/* ---------- Article body ---------- */
.page { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 56px; align-items: start; }
.page.is-wide { grid-template-columns: minmax(0, 1fr); }
.article { max-width: 70ch; }
.article > section { padding: 28px 0 8px; border-top: 1px solid var(--line); }
.article > section:first-child { border-top: 0; padding-top: 0; }
.article h2 { margin-bottom: 14px; }
.article h3 { margin: 22px 0 8px; }
.answer { font-size: 18px; line-height: 1.6; color: var(--ink); }
.article ul, .article ol { padding-left: 1.2em; margin: 0 0 1.1em; }
.article li { margin: .35em 0; }
.article li::marker { color: var(--teal); }
.short { margin: 0 0 28px; padding: 22px 24px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); border-left: 2px solid var(--teal); }
.short .kicker { margin-bottom: 8px; }
.short p { margin: 0; font-size: 19px; line-height: 1.58; color: var(--ink); }
.takeaways { margin: 0 0 30px; padding: 0; list-style: none; counter-reset: tk; border-top: 1px solid var(--ink); }
.takeaways li { counter-increment: tk; position: relative; padding: 13px 0 13px 42px; border-bottom: 1px solid var(--line); font-size: 16.5px; line-height: 1.5; }
.takeaways li::before { content: counter(tk, decimal-leading-zero); position: absolute; left: 0; top: 15px; font: 500 11.5px/1 var(--f-mono); color: var(--teal-ink); }
.table-wrap { overflow-x: auto; margin: 6px 0 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { font: 600 10.5px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); background: var(--paper-2); }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; color: var(--ink); }
.note { margin: 6px 0 22px; padding: 14px 16px; border: 1px dashed var(--line-2); border-radius: var(--r); font-size: 14.5px; color: var(--ink-2); }
.tracks { list-style: none; margin: 4px 0 24px; padding: 0; border-top: 1px solid var(--ink); }
.tracks li { display: grid; grid-template-columns: 36px 1fr auto; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.tracks .tn { font: 500 11.5px/1 var(--f-mono); color: var(--ink-3); }
.tracks b { display: block; font: 600 17px/1.3 var(--f-display); letter-spacing: -.01em; }
.tracks span { display: block; font-size: 15px; line-height: 1.45; color: var(--ink-2); margin-top: 3px; }
.tracks .tm { font: 500 10.5px/1 var(--f-mono); letter-spacing: .08em; color: var(--ink-3); text-transform: uppercase; white-space: nowrap; }
.faq { border-top: 1px solid var(--ink); }
.faq-item { padding: 20px 0 6px; border-bottom: 1px solid var(--line); }
.faq-item h3 { margin: 0 0 8px; font-size: 18px; }
.faq-item p { color: var(--ink-2); font-size: 16.5px; }
.sources { font-size: 14.5px; color: var(--ink-2); }
.sources li { margin: .4em 0; }
.updated { margin: 28px 0 0; font: 500 11px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.aside { position: sticky; top: calc(var(--top) + 18px); display: flex; flex-direction: column; gap: 16px; }
.toc { border-top: 1px solid var(--ink); padding: 14px 0 0; }
.toc .kicker { margin-bottom: 8px; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: c; }
.toc li { counter-increment: c; }
.toc a { display: grid; grid-template-columns: 26px 1fr; gap: 6px; padding: 8px 0; font-size: 14px; line-height: 1.35; color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--line); }
.toc a::before { content: counter(c, decimal-leading-zero); font: 500 10.5px/1.7 var(--f-mono); color: var(--ink-3); }
.toc a:hover, .toc a.is-current { color: var(--ink); }
.toc a.is-current::before { color: var(--teal-ink); }
.mini-cta { padding: 18px; border-radius: var(--r); background: var(--night); color: var(--paper); }
.mini-cta small { display: block; font: 500 10px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 10px; }
.mini-cta p { font: italic 400 21px/1.15 var(--f-serif); margin: 0 0 14px; }
.mini-cta .btn { width: 100%; background: var(--paper); color: var(--ink); height: 38px; font-size: 14px; }
.mini-cta .btn:hover { background: #fff; }
.author { display: grid; grid-template-columns: 64px 1fr; gap: 16px; margin: 30px 0 0; padding: 18px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.author img { width: 64px; height: 64px; border-radius: 50%; filter: grayscale(1); }
.author h3 { font-size: 17px; margin: 0 0 2px; }
.author .kicker { margin: 0 0 8px; }
.author p { margin: 0; font-size: 15px; color: var(--ink-2); }
.glossary { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.glossary li { padding: 18px 0 8px; border-bottom: 1px solid var(--line); }
.glossary dfn { font: 600 19px/1.25 var(--f-display); font-style: normal; letter-spacing: -.015em; color: var(--ink); }
.glossary p { margin: 6px 0 8px; color: var(--ink-2); font-size: 16.5px; }
.letters { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; }
.letters a { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 3px; font: 600 12.5px/1 var(--f-mono); color: var(--ink-2); text-decoration: none; }
.letters a:hover { border-color: var(--ink); color: var(--ink); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); margin: 6px 0 22px; }
.facts div { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.facts div:nth-child(2n) { padding-left: 16px; border-left: 1px solid var(--line); }
.facts dt { font: 500 10.5px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.facts dd { margin: 0; font-size: 16px; line-height: 1.45; color: var(--ink); }

/* End CTA */
.end-cta { position: relative; margin: 56px 0 0; border-radius: var(--r); background: var(--night); color: var(--paper); overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); min-height: 340px; }
.end-cta .ec-in { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.end-cta .kicker { color: rgba(241,239,234,.7); }
.end-cta .kicker b { color: var(--cyan); }
.end-cta h2 { color: var(--paper); max-width: 18ch; font-size: clamp(32px, 3.6vw, 50px); letter-spacing: -.045em; }
.end-cta h2 em.s { color: var(--cyan); }
.end-cta p { margin: 14px 0 0; color: rgba(241,239,234,.75); max-width: 50ch; font-size: 16.5px; }
.end-cta .btn-primary { background: var(--paper); color: var(--ink); align-self: flex-start; }
.end-cta .btn-primary:hover { background: #fff; }
.end-cta figure { position: relative; margin: 0; min-height: 220px; }
.end-cta figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.end-cta figure::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--night) 0%, rgba(14,17,20,0) 45%); }

/* Footer */
.foot { margin-top: 34px; padding: 34px clamp(16px, 3vw, 44px) 26px; border-top: 1px solid var(--line); background: var(--paper-2); }
.foot-in { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot h2 { font: 500 10.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 8px 0; }
.foot a { color: var(--ink-2); text-decoration: none; font-size: 14.5px; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot p { font-size: 14.5px; color: var(--ink-2); margin: 0 0 10px; max-width: 40ch; }
.foot-big { max-width: 1080px; margin: 0 auto 26px; padding-bottom: 22px; border-bottom: 1px solid var(--line-2); font: 500 clamp(40px, 6vw, 86px)/.95 var(--f-display); letter-spacing: -.055em; color: var(--ink); }
.foot-big em.s { letter-spacing: -.01em; }
.foot-base { max-width: 1080px; margin: 22px auto 0; padding-top: 16px; border-top: 1px solid var(--line-2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font: 500 11px/1.4 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- Player bar ---------- */
.player { position: fixed; z-index: 50; left: 0; right: 0; bottom: var(--tabs); height: var(--player); display: grid; grid-template-columns: minmax(200px, 1fr) minmax(280px, 1.4fr) minmax(200px, 1fr); align-items: center; gap: 18px; padding: 0 18px; background: rgba(233, 230, 223, .94); backdrop-filter: saturate(1.2) blur(16px); -webkit-backdrop-filter: saturate(1.2) blur(16px); border-top: 1px solid var(--line-2); }
.np { display: flex; align-items: center; gap: 12px; min-width: 0; }
.np .cover { width: 44px; flex: none; border-radius: 3px; }
.np .cover-k, .np .cover-n, .np .cover-s, .np .cover-crop, .np .cover-w { display: none; }
.np b { display: block; font: 600 14px/1.25 var(--f-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np span { display: block; font: 500 10.5px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np > div { min-width: 0; }
.ctrl { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ctrl-row { display: flex; align-items: center; gap: 16px; }
.ic { width: 34px; height: 34px; display: grid; place-items: center; border: 0; background: none; color: var(--ink-2); border-radius: 50%; cursor: pointer; padding: 0; }
.ic:hover { color: var(--ink); background: var(--paper-3); }
.ic svg { width: 17px; height: 17px; }
.ic-play { width: 38px; height: 38px; background: var(--ink); color: var(--paper); }
.ic-play:hover { background: var(--night-2); color: var(--paper); }
.ic-play svg { width: 14px; height: 14px; }
.ic-play[data-state="playing"] .i-play, .ic-play:not([data-state="playing"]) .i-pause { display: none; }
.bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; width: 100%; max-width: 560px; font: 500 10.5px/1 var(--f-mono); color: var(--ink-3); }
.track { position: relative; height: 3px; background: var(--line-2); border-radius: 2px; cursor: pointer; }
.track i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--p, 0%); background: var(--ink); border-radius: 2px; }
.track:hover i { background: var(--teal); }
.track u { position: absolute; top: -2px; width: 2px; height: 7px; background: var(--paper-2); text-decoration: none; }
.side-r { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.chap-pop { position: fixed; z-index: 60; right: 18px; bottom: calc(var(--player) + var(--tabs) + 8px); width: min(360px, calc(100vw - 36px)); max-height: 60vh; overflow: auto; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); padding: 8px; box-shadow: 0 24px 48px -28px rgba(13,24,33,.35); }
.chap-pop p { margin: 4px 8px 8px; font: 500 10px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.chap-pop a { display: grid; grid-template-columns: 28px 1fr; gap: 6px; padding: 9px 8px; border-radius: 3px; text-decoration: none; color: var(--ink-2); font-size: 14.5px; line-height: 1.35; }
.chap-pop a span { font: 500 10.5px/1.6 var(--f-mono); color: var(--ink-3); }
.chap-pop a:hover, .chap-pop a.is-current { background: var(--paper-2); color: var(--ink); }
.is-reading { background: linear-gradient(90deg, rgba(0,156,164,.16), rgba(0,156,164,.04)); box-shadow: -10px 0 0 rgba(0,156,164,.16); border-radius: 2px; transition: background .3s; }
.tabs { display: none; }

/* ---------- Motion (Rocket Settle; content visible without JS) ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(26px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(44px) scale(.97); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes wave { 0%, 100% { transform: scaleY(calc(var(--h, .5) * .45)); } 50% { transform: scaleY(var(--h, .5)); } }
@media (prefers-reduced-motion: no-preference) {
  .w { display: inline-block; animation: rise .95s var(--ease) both; animation-delay: calc(var(--i) * 46ms + 80ms); }
  .h1-big .w { display: block; }
  .hero-photo, .show-art { animation: slideUp 1.15s var(--ease) both; animation-delay: .12s; }
  .hero .lead, .show .lead, .show .byline { animation: rise .95s var(--ease) both; animation-delay: .42s; }
  .show-actions, .hero .meta, .show .meta { animation: rise .95s var(--ease) both; animation-delay: .54s; }
  .hp-wave span { animation: wave 1.8s ease-in-out infinite; animation-delay: calc(var(--d) * -1s); }
  @supports (animation-timeline: view()) {
    .reveal { animation: rise both var(--ease); animation-timeline: view(); animation-range: entry 0% entry 36%; }
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .page { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; display: none; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  :root { --tabs: 58px; --player: 62px; }
  .side { display: none; }
  .col { margin-left: 0; }
  .top-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
  .top-brand img { width: 38px; }
  .top-brand b { font: 600 15.5px/1 var(--f-display); letter-spacing: -.02em; }
  .search kbd { display: none; }
  .player { grid-template-columns: 1fr auto; gap: 10px; padding: 0 12px; }
  .player .ctrl { order: 2; }
  .player .ctrl-row .ic:not(.ic-play) { display: none; }
  .player .bar { position: absolute; left: 0; right: 0; top: -1px; max-width: none; display: block; }
  .player .bar > span { display: none; }
  .player .track { height: 2px; border-radius: 0; }
  .player .track u { display: none; }
  .player .side-r { display: none; }
  .tabs { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 51; left: 0; right: 0; bottom: 0; height: var(--tabs); background: var(--paper); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .tabs a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-decoration: none; color: var(--ink-3); font: 600 11px/1 var(--f-text); }
  .tabs a[aria-current="page"] { color: var(--ink); }
  .tabs svg { width: 20px; height: 20px; }
  .hero { grid-template-columns: 1fr; align-items: start; }
  .hero-photo { aspect-ratio: 16 / 11; }
}
@media (max-width: 860px) {
  .show, .show.is-page { grid-template-columns: 1fr; align-items: start; gap: 22px; }
  .show.is-page .show-art { width: 150px; }
  .genres { grid-template-columns: 1fr; }
  .genre { aspect-ratio: 16 / 10; }
  .chapters { grid-template-columns: 1fr 1fr; }
  .chapters li:nth-child(3) { padding-left: 0; border-left: 0; }
  .chapters li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .why { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .end-cta { grid-template-columns: 1fr; }
  .end-cta figure { order: -1; }
  .end-cta figure::after { background: linear-gradient(180deg, rgba(14,17,20,0) 40%, var(--night) 100%); }
  .facts { grid-template-columns: 1fr; }
  .facts div:nth-child(2n) { padding-left: 0; border-left: 0; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .top { gap: 10px; }
  .top-brand b, .top-cta { display: none; }
  .h1-big { font-size: clamp(50px, 15vw, 72px); }
  .ep a { grid-template-columns: 46px 1fr; gap: 12px; }
  .ep-n, .ep-t { display: none; }
  .ep .cover { width: 46px; }
  .chapters { grid-template-columns: 1fr; }
  .chapters li, .chapters li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .foot-in { grid-template-columns: 1fr; }
  .tracks li { grid-template-columns: 26px 1fr; }
  .tracks .tm { grid-column: 2; }
}
@media print { .side, .top, .player, .tabs, .aside, .end-cta, body::after { display: none !important; } .col { margin: 0; } }
