/* ============================================================
   THE BLACK PAPER — Main Stylesheet (mobile-first)
   ============================================================ */

:root {
  --ink: #0A0A0A;
  --ink-2: #1A1A1A;
  --paper: #F5F1E8;
  --paper-warm: #EDE6D3;
  --red: #D81E27;
  --red-dark: #A8141C;
  --red-text: #A8141C;      /* small red text on paper: 6:1 */
  --red-on-dark: #FF6B70;   /* small red text on ink: 7:1 */
  --ochre: #F4B233;
  --ochre-warm: #E89F1F;
  --muted: #5C5650;
  --line: rgb(10 10 10 / calc(0.12 + var(--boost, 0)));
  --line-light: rgb(245 241 232 / calc(0.16 + var(--boost, 0)));
  --shadow: 4px 4px 0 var(--ink);
  --shadow-lg: 8px 8px 0 var(--ink);
  --shadow-red: 4px 4px 0 var(--red);
  --gutter: 16px;
  --topbar: 56px;
  --player: 0px;
  --display: 'Anton', Impact, sans-serif;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Bricolage Grotesque', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}
@media (min-width: 768px) { :root { --gutter: 32px; --topbar: 64px; } }
html.has-player { --player: 76px; }
@media (max-width: 479px) { html.has-player { --player: 128px; } }

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar) + 16px); -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper); color: var(--ink);
  font-family: var(--serif); font-size: calc(17px * var(--ts, 1)); line-height: 1.6;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
  padding-bottom: var(--player);
}
body::before { /* paper grain */
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: -1; opacity: .35;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.05  0 0 0 0 0.05  0 0 0 0 0.05  0 0 0 0.18 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--red); color: var(--paper); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ochre); color: var(--ink); padding: 10px 14px; font-family: var(--sans); font-weight: 700; }
.skip-link:focus { top: 8px; }

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }

.kicker {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: calc(12px * var(--ts, 1)); font-weight: 500; letter-spacing: .18em;
  text-transform: uppercase; color: var(--red-text); margin-bottom: 12px;
}
.kicker::before { content: ''; width: 22px; height: 2px; background: currentColor; flex: none; }

/* ============ TOP BAR ============ */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: var(--ink); color: var(--paper);
  border-bottom: 3px solid var(--red);
}
.topbar-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter);
  height: var(--topbar); display: flex; align-items: center; gap: 20px;
}
.wordmark {
  display: flex; gap: 6px; align-items: baseline; text-decoration: none;
  font-family: var(--display); font-size: calc(22px * var(--ts, 1)); letter-spacing: .01em; text-transform: uppercase; line-height: 1;
  margin-right: auto; white-space: nowrap; padding: 11px 0;
}
.wordmark b { font-weight: 400; color: var(--red); }
.nav { display: none; }
.nav a {
  position: relative; text-decoration: none; padding: 6px 0;
  font-family: var(--sans); font-size: calc(13px * var(--ts, 1)); font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: rgb(245 241 232 / calc(.72 + var(--boost, 0))); transition: color .2s;
}
.nav a:hover, .nav a[aria-current] { color: var(--paper); }
.nav a[aria-current]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--ochre); }
.nav .nav-action { color: var(--ochre); }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.btn-listen {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px 0 10px;
  background: var(--red); color: var(--paper);
  font-family: var(--sans); font-weight: 700; font-size: calc(13px * var(--ts, 1)); letter-spacing: .06em; text-transform: uppercase;
  transition: background .2s, transform .2s;
}
.btn-listen svg { width: 20px; height: 20px; fill: currentColor; }
.btn-listen:hover { background: var(--red-dark); }
.menu-btn { width: 44px; height: 44px; display: grid; place-items: center; margin-right: -8px; color: var(--paper); }
.menu-btn .icon { width: 30px; height: 30px; }
.menu-btn .i-close, .menu-btn[aria-expanded="true"] .i-menu { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }

.menu {
  position: fixed; inset: var(--topbar) 0 0; z-index: 55; overflow-y: auto;
  background: var(--ink); color: var(--paper);
  padding: 12px var(--gutter) calc(32px + var(--player));
  display: flex; flex-direction: column; gap: 24px;
  animation: menu-in .25s ease;
}
.menu[hidden] { display: none; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }
.menu-links a {
  display: flex; align-items: baseline; gap: 14px; text-decoration: none;
  padding: 14px 0; border-bottom: 1px solid var(--line-light);
  font-family: var(--display); font-size: calc(34px * var(--ts, 1)); line-height: 1; text-transform: uppercase; letter-spacing: .01em;
}
.menu-links small { font-family: var(--mono); font-size: calc(12px * var(--ts, 1)); color: var(--red-on-dark); letter-spacing: .1em; }
.menu-links a[aria-current] { color: var(--ochre); }
.menu-mp {
  display: block; text-decoration: none; padding: 18px; background: var(--ochre); color: var(--ink);
  font-family: var(--display); font-size: calc(22px * var(--ts, 1)); text-transform: uppercase; box-shadow: var(--shadow-red);
}
.menu-platforms { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-family: var(--mono); font-size: calc(12px * var(--ts, 1)); text-transform: uppercase; letter-spacing: .12em; }
.menu-platforms span { width: 100%; color: rgb(245 241 232 / calc(.68 + var(--boost, 0))); }
.menu-platforms a { text-decoration: none; padding: 10px 14px; border: 1px solid var(--line-light); }
body.menu-open { overflow: hidden; }

@media (min-width: 1100px) {
  .nav { display: flex; gap: 26px; align-items: center; }
  .menu-btn { display: none; }
  .wordmark { margin-right: 24px; font-size: calc(24px * var(--ts, 1)); }
  .topbar-actions { margin-left: auto; }
}

/* ============ MASTHEAD + TICKER ============ */
.masthead { background: var(--ink); line-height: 0; }
.masthead img { width: 100%; height: auto; }
.datebar {
  display: flex; flex-direction: column; gap: 2px; padding: 8px var(--gutter);
  border-top: 1px solid var(--line); background: var(--paper);
  font-family: var(--mono); font-size: calc(12px * var(--ts, 1)); letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
@media (max-width: 767px) { .datebar { display: none; } }
@media (min-width: 768px) { .datebar { flex-direction: row; justify-content: space-between; font-size: calc(12px * var(--ts, 1)); } }

.ticker { background: var(--ochre); border-bottom: 3px solid var(--ink); padding: 11px 0; overflow: hidden; }
.ticker-track {
  display: flex; gap: 48px; width: max-content; white-space: nowrap;
  animation: scroll 60s linear infinite;
  font-family: var(--sans); font-weight: 700; font-size: calc(13px * var(--ts, 1)); letter-spacing: .05em; text-transform: uppercase;
}
.ticker-track span { display: flex; align-items: center; gap: 48px; }
.ticker-track span::after { content: '◆'; color: var(--red); font-size: calc(12px * var(--ts, 1)); }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px; text-decoration: none; text-align: center;
  font-family: var(--sans); font-weight: 700; font-size: calc(14px * var(--ts, 1)); letter-spacing: .06em; text-transform: uppercase;
  border: 2px solid var(--ink); transition: transform .15s, box-shadow .15s, background .2s, color .2s;
}
.btn:active { transform: translate(2px,2px); box-shadow: none !important; }
.btn-primary { background: var(--red); border-color: var(--red); color: var(--paper); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.btn-ghost { background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--ochre); border-color: var(--ochre); }
.btn-outline-light { border-color: rgb(245 241 232 / calc(.68 + var(--boost, 0))); color: var(--paper); }
.btn-outline-light:hover { border-color: var(--paper); background: rgba(245,241,232,.08); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: calc(12px * var(--ts, 1)); }
.link-btn { text-decoration: underline; color: var(--red-text); font-weight: 600; }

/* Play buttons: one component, several sizes */
.play-btn {
  --size: 44px;
  position: relative; z-index: 2; flex: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-width: var(--size); height: var(--size); border-radius: 999px;
  background: var(--red); color: var(--paper);
  box-shadow: 0 0 0 0 rgba(216,30,39,.5);
  transition: transform .15s, background .2s;
}
.play-btn svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.play-btn .i-pause, .is-playing .i-play { display: none; }
.is-playing .i-pause { display: block; }
.play-btn:hover { transform: scale(1.06); background: var(--red-dark); }
.play-btn.is-playing { background: var(--ink); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(216,30,39,0); } 100% { box-shadow: 0 0 0 0 rgba(216,30,39,0); } }
.play-btn--lg, .play-btn--md {
  border-radius: 0; padding: 0 22px 0 16px; --size: 54px;
  font-family: var(--sans); font-weight: 700; font-size: calc(14px * var(--ts, 1)); letter-spacing: .06em; text-transform: uppercase;
  box-shadow: var(--shadow-red);
}
.play-btn--lg { background: var(--paper); color: var(--ink); }
.play-btn--lg:hover { background: var(--ochre); transform: translate(-2px,-2px); }
.play-btn--lg.is-playing { background: var(--ochre); color: var(--ink); animation: none; }
.play-btn--md { --size: 48px; box-shadow: var(--shadow); }
.play-btn--md.is-playing { animation: none; }
.play-btn--art { position: absolute; right: 10px; bottom: 10px; --size: 48px; box-shadow: 0 6px 18px rgba(0,0,0,.35); }

/* ============ SECTIONS ============ */
.section { padding: 48px 0; }
.section--tight { padding-top: 0; }
.section--warm { background: var(--paper-warm); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.section--ink { background: var(--ink); color: var(--paper); }
.section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px;
  padding-bottom: 20px; margin-bottom: 28px; border-bottom: 3px solid var(--ink);
}
.section--ink .section-head, .section-head--light { border-color: var(--paper); }
.section-title {
  font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em;
  font-size: calc(clamp(36px, 8vw, 60px) * var(--ts, 1)); line-height: .95;
}
.section-title em { font-style: normal; color: var(--red); }
.section--ink .section-title em { color: var(--ochre); }
.section--ink .kicker { color: var(--ochre); }
.section-link {
  font-family: var(--sans); font-weight: 700; font-size: calc(13px * var(--ts, 1)); letter-spacing: .06em; text-transform: uppercase;
  display: inline-flex; align-items: center; min-height: 44px;
  text-decoration: underline 3px var(--red); text-underline-offset: 7px;
}
.section-link:hover { color: var(--red); }
.lead { font-size: calc(19px * var(--ts, 1)); line-height: 1.55; color: var(--muted); margin: 16px 0 24px; }
@media (min-width: 768px) { .section { padding: 72px 0; } }

/* ============ HERO (home) ============ */
.hero { padding: 36px 0 48px; border-bottom: 3px solid var(--ink); overflow: hidden; }
.hero-grid { display: grid; gap: 36px; }
.hero-headline {
  font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em;
  font-size: calc(clamp(46px, 12vw, 92px) * var(--ts, 1)); line-height: .92; margin-bottom: 20px;
}
.hero-headline em { font-style: normal; color: var(--red); display: block; }
.hero-deck { font-size: calc(19px * var(--ts, 1)); line-height: 1.5; color: var(--muted); max-width: 620px; margin-bottom: 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-ctas .btn { flex: 1 1 200px; }
@media (min-width: 960px) {
  .hero { padding: 64px 0 72px; }
  .hero-grid { grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
  .hero-deck { font-size: calc(21px * var(--ts, 1)); }
  .hero-ctas .btn { flex: 0 0 auto; }
}

/* Latest-episode card */
.now-card {
  position: relative; background: var(--ink); color: var(--paper);
  padding: 22px; box-shadow: 8px 8px 0 var(--red); border: 2px solid var(--ink);
}
.now-label {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  font-family: var(--mono); font-size: calc(12px * var(--ts, 1)); letter-spacing: .18em; text-transform: uppercase; color: var(--ochre);
}
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(216,30,39,.7); animation: pulse 1.6s infinite; }
.now-top { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; }
.now-art img { width: 96px; height: 96px; object-fit: cover; border: 2px solid var(--paper); }
.now-meta { font-family: var(--mono); font-size: calc(12px * var(--ts, 1)); letter-spacing: .1em; text-transform: uppercase; color: rgb(245 241 232 / calc(.6 + var(--boost, 0))); margin-bottom: 6px; }
.now-title { font-family: var(--display); font-weight: 400; font-size: calc(24px * var(--ts, 1)); line-height: 1.05; text-transform: uppercase; letter-spacing: .01em; }
.now-title a { text-decoration: none; }
.now-title a:hover { color: var(--ochre); }
.now-summary { font-size: calc(16px * var(--ts, 1)); line-height: 1.55; color: rgb(245 241 232 / calc(.78 + var(--boost, 0))); margin: 16px 0; }
.now-chapters { list-style: none; counter-reset: ch; border-top: 1px solid var(--line-light); margin-bottom: 20px; }
.now-chapters li {
  counter-increment: ch; display: flex; align-items: center; gap: 12px; padding: 0; border-bottom: 1px solid var(--line-light);
  font-family: var(--sans); font-size: calc(14px * var(--ts, 1)); color: rgb(245 241 232 / calc(.85 + var(--boost, 0)));
}
.now-chapters li::before { content: counter(ch, decimal-leading-zero); font-family: var(--mono); font-size: calc(12px * var(--ts, 1)); color: var(--red-on-dark); }
.now-ch { flex: 1; text-align: left; line-height: 1.35; min-height: 44px; padding: 10px 0; }
.now-ch svg { display: none; }
.now-ch:hover { color: var(--ochre); }
.now-chapters:empty { display: none; }
.now-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.now-link { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--sans); font-weight: 700; font-size: calc(13px * var(--ts, 1)); letter-spacing: .06em; text-transform: uppercase; text-decoration: underline 2px var(--ochre); text-underline-offset: 6px; }
.now-platforms, .ep-platforms {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; margin-top: 16px; padding-top: 4px; border-top: 1px solid var(--line-light);
  font-family: var(--mono); font-size: calc(12px * var(--ts, 1)); letter-spacing: .12em; text-transform: uppercase; color: rgb(245 241 232 / calc(.68 + var(--boost, 0)));
}
.now-platforms a, .ep-platforms a { display: inline-flex; align-items: center; min-height: 44px; color: var(--paper); text-decoration: underline 1px rgb(245 241 232 / calc(.4 + var(--boost, 0))); text-underline-offset: 5px; }
.now-platforms a:hover, .ep-platforms a:hover { color: var(--ochre); text-decoration-color: var(--ochre); }
@media (min-width: 600px) {
  .now-card { padding: 30px; }
  .now-top { grid-template-columns: 132px 1fr; gap: 20px; }
  .now-art img { width: 132px; height: 132px; }
  .now-title { font-size: calc(30px * var(--ts, 1)); }
}

/* ============ EPISODE CARDS ============ */
.ep-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 2px solid var(--ink); box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
}
.ep-card:hover { transform: translate(-3px,-3px); box-shadow: var(--shadow-lg); }
.ep-art { position: relative; aspect-ratio: 1; overflow: hidden; border-bottom: 2px solid var(--ink); background: var(--ink); }
.ep-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ep-card:hover .ep-art img { transform: scale(1.04); }
.ep-body { display: flex; flex-direction: column; gap: 10px; padding: 16px 16px 18px; flex: 1; }
.ep-kicker { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ep-no { font-family: var(--display); font-size: calc(16px * var(--ts, 1)); letter-spacing: .02em; color: var(--red-text); }
.ep-topic {
  font-family: var(--mono); font-size: calc(12px * var(--ts, 1)); letter-spacing: .12em; text-transform: uppercase;
  background: var(--ink); color: var(--paper); padding: 3px 8px;
}
.ep-title { font-family: var(--display); font-weight: 400; font-size: calc(21px * var(--ts, 1)); line-height: 1.1; text-transform: uppercase; letter-spacing: .01em; }
.ep-title a { text-decoration: none; }
.ep-title a::after { content: ''; position: absolute; inset: 0; z-index: 1; } /* whole card is the link */
.ep-card:hover .ep-title a { color: var(--red); }
.ep-excerpt { font-size: calc(15px * var(--ts, 1)); line-height: 1.55; color: var(--muted); flex: 1; }
.ep-foot {
  display: flex; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: calc(12px * var(--ts, 1)); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}

/* Home + related: horizontal rail on phones, grid on larger screens */
.ep-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 14px; scroll-padding: 0 var(--gutter);
  scrollbar-width: none;
}
.ep-rail::-webkit-scrollbar { display: none; }
.ep-rail > * { scroll-snap-align: start; }
@media (min-width: 700px) { .ep-rail { grid-auto-columns: 44%; } }
@media (min-width: 1024px) {
  .ep-rail { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; }
}

/* Episodes page: compact rows on phones, grid on larger screens */
.ep-grid { display: grid; gap: 16px; }
@media (max-width: 599px) {
  .ep-grid .ep-card { flex-direction: row; box-shadow: 3px 3px 0 var(--ink); }
  .ep-grid .ep-card:hover { transform: none; box-shadow: 3px 3px 0 var(--ink); }
  .ep-grid .ep-art { width: 108px; flex: none; align-self: flex-start; margin: 12px 0 12px 12px; border: 2px solid var(--ink); }
  .ep-grid .play-btn--art { right: 6px; bottom: 6px; --size: 44px; }
  .ep-grid .play-btn--art svg { width: 18px; height: 18px; }
  .ep-grid .ep-body { padding: 12px 12px 12px 14px; gap: 6px; min-width: 0; }
  .ep-grid .ep-title { font-size: calc(17px * var(--ts, 1)); }
  .ep-grid .ep-excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: calc(14px * var(--ts, 1)); }
  .ep-grid .ep-foot { padding-top: 6px; border: 0; }
}
@media (min-width: 600px) { .ep-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (min-width: 1024px) { .ep-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
@media (min-width: 1280px) { .ep-grid { grid-template-columns: repeat(4, 1fr); } }

/* Filters */
.filters {
  position: sticky; top: var(--topbar); z-index: 20;
  background: var(--paper); border-bottom: 3px solid var(--ink); padding: 14px 0; margin-bottom: 20px;
}
.filters-inner { display: flex; flex-direction: column; gap: 12px; }
.search { position: relative; display: block; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; fill: var(--muted); pointer-events: none; }
.search input {
  width: 100%; height: 50px; padding: 0 16px 0 44px;
  background: #fff; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--serif); font-size: calc(16px * var(--ts, 1)); color: var(--ink); outline: none; border-radius: 0; -webkit-appearance: none;
}
.search input:focus { border-color: var(--red); box-shadow: 3px 3px 0 var(--red); }
.search input::placeholder { color: var(--muted); font-style: italic; }
.pills {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter);
}
.pills::-webkit-scrollbar { display: none; }
.pill {
  flex: none; height: 44px; padding: 0 16px; border: 2px solid var(--ink); background: var(--paper);
  font-family: var(--sans); font-size: calc(12px * var(--ts, 1)); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
  transition: background .15s, color .15s;
}
.pill:hover { background: var(--paper-warm); }
.pill[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.results { font-family: var(--mono); font-size: calc(12px * var(--ts, 1)); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.empty { padding: 48px 0; text-align: center; font-size: calc(18px * var(--ts, 1)); }
.more-wrap { display: flex; justify-content: center; margin-top: 36px; }
@media (min-width: 900px) {
  .filters-inner { flex-direction: row; align-items: center; }
  .search { flex: 0 0 340px; }
  .pills { margin: 0; padding: 2px 4px; flex-wrap: wrap; overflow: visible; }
}

/* ============ PAGE HERO (inner pages) ============ */
.page-hero { background: var(--ink); color: var(--paper); padding: 28px 0 40px; border-bottom: 3px solid var(--red); }
.page-hero .kicker { color: var(--ochre); }
.page-hero h1 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em;
  font-size: calc(clamp(44px, 11vw, 84px) * var(--ts, 1)); line-height: .93; margin-bottom: 16px; max-width: 16ch;
}
.page-hero h1 em { font-style: normal; color: var(--red); }
.page-hero p { font-size: calc(18px * var(--ts, 1)); line-height: 1.55; color: rgb(245 241 232 / calc(.72 + var(--boost, 0))); max-width: 680px; font-style: italic; }
@media (min-width: 768px) { .page-hero { padding: 40px 0 64px; } .page-hero p { font-size: calc(20px * var(--ts, 1)); } }

.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -12px 0 10px;
  font-family: var(--mono); font-size: calc(12px * var(--ts, 1)); letter-spacing: .1em; text-transform: uppercase; color: rgb(245 241 232 / calc(.68 + var(--boost, 0)));
}
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: rgb(245 241 232 / calc(.8 + var(--boost, 0))); }
.crumbs a:hover { color: var(--ochre); }
.article .crumbs { color: var(--muted); }
.article .crumbs a { color: var(--ink); }
.article .crumbs a:hover { color: var(--red); }

/* ============ EPISODE PAGE ============ */
.ep-hero { background: var(--ink); color: var(--paper); padding: 24px 0 36px; border-bottom: 3px solid var(--red); }
.ep-hero-grid { display: grid; gap: 24px; }
.ep-hero-art { max-width: 280px; }
.ep-hero-art img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 2px solid var(--paper); box-shadow: 8px 8px 0 var(--red); }
.ep-hero-kicker { font-family: var(--mono); font-size: calc(12px * var(--ts, 1)); letter-spacing: .16em; text-transform: uppercase; color: var(--ochre); margin-bottom: 12px; }
.ep-hero-title { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; font-size: calc(clamp(34px, 8vw, 64px) * var(--ts, 1)); line-height: .98; margin-bottom: 16px; }
.ep-hero-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--mono); font-size: calc(12px * var(--ts, 1)); letter-spacing: .1em; text-transform: uppercase; color: rgb(245 241 232 / calc(.65 + var(--boost, 0))); margin-bottom: 24px; }
.ep-hero-meta > * + *::before { content: '·'; content: '·' / ''; margin-right: 18px; color: var(--red); }
.ep-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
@media (min-width: 768px) {
  .ep-hero { padding: 40px 0 56px; }
  .ep-hero-grid { grid-template-columns: 300px 1fr; gap: 48px; align-items: end; }
  .ep-hero-art { max-width: none; }
}
@media (max-width: 767px) {
  .ep-hero-grid { grid-template-columns: 1fr; }
  .ep-hero-text { order: -1; }
  .ep-hero-art { order: 1; max-width: 200px; }
}

.ep-layout { display: grid; gap: 40px; padding-top: 40px; padding-bottom: 48px; }
.ep-notes .kicker { margin-bottom: 18px; }
@media (max-width: 1023px) { .ep-aside { order: -1; } .chapters ol { max-height: 300px; } }
@media (min-width: 1024px) {
  .ep-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; padding-top: 56px; }
  .ep-aside { position: sticky; top: calc(var(--topbar) + 24px); align-self: start; }
}
.chapters { background: var(--paper); border: 2px solid var(--ink); box-shadow: var(--shadow); margin-bottom: 28px; }
.chapters h2 { font-family: var(--display); font-weight: 400; font-size: calc(22px * var(--ts, 1)); text-transform: uppercase; padding: 14px 18px; background: var(--ink); color: var(--paper); letter-spacing: .02em; }
.chapters ol { list-style: none; max-height: 460px; overflow-y: auto; }
.chapter {
  display: flex; gap: 14px; width: 100%; text-align: left; padding: 13px 18px; min-height: 48px;
  border-bottom: 1px solid var(--line); font-family: var(--sans); font-size: calc(15px * var(--ts, 1)); line-height: 1.35; align-items: baseline;
  transition: background .15s;
}
.chapter svg { display: none; }
.chapter b { font-family: var(--mono); font-size: calc(12px * var(--ts, 1)); font-weight: 500; color: var(--red-text); flex: none; min-width: 44px; }
.chapter:hover { background: var(--paper-warm); }
.chapter.is-current { background: var(--ochre); }
.chapter.is-current b { color: var(--ink); }
.ep-related h2 { font-family: var(--mono); font-size: calc(12px * var(--ts, 1)); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--red-text); margin-bottom: 12px; }

.pager { display: grid; gap: 16px; padding-bottom: 56px; }
.pager a {
  display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; text-decoration: none;
  border: 2px solid var(--ink); background: var(--paper); box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s;
}
.pager a:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow-lg); }
.pager small { font-family: var(--mono); font-size: calc(12px * var(--ts, 1)); letter-spacing: .12em; text-transform: uppercase; color: var(--red-text); }
.pager span { font-family: var(--display); font-size: calc(19px * var(--ts, 1)); line-height: 1.1; text-transform: uppercase; }
.pager-next { text-align: right; }
@media (min-width: 768px) { .pager { grid-template-columns: 1fr 1fr; } .pager-next:only-child { grid-column: 2; } }

/* ============ PROSE (show notes, privacy, about) ============ */
.prose { font-size: calc(18px * var(--ts, 1)); line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  font-family: var(--display); font-weight: 400; font-size: calc(26px * var(--ts, 1)); line-height: 1.1; text-transform: uppercase; letter-spacing: .01em;
  margin-top: 1.8em; padding-top: 18px; border-top: 3px solid var(--ink);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--sans); font-size: calc(19px * var(--ts, 1)); font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; padding-left: .2em; }
.prose li::marker { color: var(--red); }
.prose a { color: var(--red-text); text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose a:hover { color: var(--red-dark); }
.prose strong { font-weight: 700; }

/* ============ BRIEFINGS ============ */
.brief-grid { display: grid; gap: 24px; }
@media (min-width: 700px) { .brief-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .brief-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.brief-grid--index > .brief-card:first-child { grid-column: 1 / -1; }
@media (min-width: 1024px) {
  .brief-grid--index > .brief-card:first-child { flex-direction: row; }
  .brief-grid--index > .brief-card:first-child .brief-art { flex: 0 0 58%; border-bottom: 0; border-right: 2px solid var(--ink); }
  .brief-grid--index > .brief-card:first-child .brief-body { padding: 36px; justify-content: center; }
  .brief-grid--index > .brief-card:first-child .brief-title { font-size: calc(44px * var(--ts, 1)); }
}
.brief-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 2px solid var(--ink); box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
}
.brief-card:hover { transform: translate(-3px,-3px); box-shadow: var(--shadow-lg); }
.brief-art { aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 2px solid var(--ink); background: var(--ink); }
.brief-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.brief-card:hover .brief-art img { transform: scale(1.03); }
.brief-tile {
  height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 24px;
  background: var(--ochre); background-image: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(10,10,10,.05) 14px 16px);
}
.brief-tile b { font-family: var(--display); font-weight: 400; font-size: calc(clamp(56px, 10vw, 96px) * var(--ts, 1)); line-height: .9; color: var(--ink); }
.brief-tile span { font-family: var(--mono); font-size: calc(12px * var(--ts, 1)); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.brief-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 20px; flex: 1; }
.brief-kicker { font-family: var(--mono); font-size: calc(12px * var(--ts, 1)); letter-spacing: .16em; text-transform: uppercase; color: var(--red-text); }
.brief-title { font-family: var(--display); font-weight: 400; font-size: calc(28px * var(--ts, 1)); line-height: 1; text-transform: uppercase; letter-spacing: .01em; }
.brief-title a { text-decoration: none; }
.brief-title a::after { content: ''; position: absolute; inset: 0; }
.brief-card:hover .brief-title a { color: var(--red); }
.brief-dek { font-size: calc(16px * var(--ts, 1)); line-height: 1.5; color: var(--muted); font-style: italic; flex: 1; }
.brief-meta { display: flex; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: calc(12px * var(--ts, 1)); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ============ ARTICLE ============ */
.article { padding-bottom: 56px; }
.article-head, .article-body, .article-end { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.article-head { padding-top: 28px; }
.article-kicker { font-family: var(--mono); font-size: calc(12px * var(--ts, 1)); letter-spacing: .2em; text-transform: uppercase; color: var(--red-text); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.article-kicker::before { content: ''; width: 24px; height: 2px; background: var(--red); }
.article-title { font-family: var(--display); font-weight: 400; font-size: calc(clamp(46px, 12vw, 92px) * var(--ts, 1)); line-height: .93; letter-spacing: .01em; text-transform: uppercase; margin-bottom: 16px; }
.article-dek { font-size: calc(21px * var(--ts, 1)); font-style: italic; line-height: 1.4; color: var(--muted); margin-bottom: 22px; }
.article-meta {
  display: flex; flex-wrap: wrap; gap: 6px 20px; padding: 14px 0; margin-bottom: 28px;
  border-top: 1px solid var(--line); border-bottom: 3px solid var(--ink);
  font-family: var(--mono); font-size: calc(12px * var(--ts, 1)); letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.article-cover { max-width: 1040px; margin: 0 auto 36px; padding: 0 var(--gutter); }
.article-cover img { width: 100%; height: auto; border: 2px solid var(--ink); box-shadow: var(--shadow-lg); }
.article-body { font-size: calc(19px * var(--ts, 1)); line-height: 1.75; }
.article-body p { margin-bottom: 1.4em; }
.article-body > p:first-child::first-letter {
  font-family: var(--display); font-size: 4.4em; line-height: .8; float: left; margin: .06em .1em 0 0; color: var(--red);
}
.article-body strong { font-weight: 700; }
.article-body h2 { font-family: var(--display); font-weight: 400; font-size: calc(30px * var(--ts, 1)); line-height: 1.1; text-transform: uppercase; letter-spacing: .01em; margin: 1.8em 0 .7em; }
.article-body blockquote { margin: 0 0 1.6em; padding: 6px 0 6px 22px; border-left: 4px solid var(--red); }
.article-body blockquote p { margin-bottom: .4em; font-style: italic; font-size: 1.1em; }
.article-body blockquote cite { font-family: var(--mono); font-style: normal; font-size: calc(12px * var(--ts, 1)); letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.article-body blockquote cite::before { content: '— '; content: '— ' / ''; }
.article-body .article-stat {
  font-family: var(--display); font-size: calc(28px * var(--ts, 1)); line-height: 1.15; text-transform: uppercase; color: var(--red);
  padding: 22px 0; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--line);
}
.article-rule { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.article-end { margin-top: 40px; display: grid; gap: 20px; }
.listen-box {
  display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center;
  padding: 16px; background: var(--ink); color: var(--paper); box-shadow: var(--shadow-red);
}
.listen-box img { width: 72px; height: 72px; object-fit: cover; }
.listen-box .kicker { color: var(--ochre); margin-bottom: 4px; }
.listen-title { font-family: var(--display); font-size: calc(20px * var(--ts, 1)); line-height: 1.1; text-transform: uppercase; text-decoration: none; display: block; }
.listen-title:hover { color: var(--ochre); }
.listen-meta { font-family: var(--mono); font-size: calc(12px * var(--ts, 1)); letter-spacing: .1em; text-transform: uppercase; color: rgb(245 241 232 / calc(.6 + var(--boost, 0))); margin-top: 4px; }
.listen-box .play-btn { grid-column: 1 / -1; justify-self: start; background: var(--red); color: var(--paper); box-shadow: 4px 4px 0 var(--paper); }
@media (min-width: 600px) {
  .listen-box { grid-template-columns: 88px 1fr auto; padding: 20px; gap: 18px; }
  .listen-box img { width: 88px; height: 88px; }
  .listen-box .play-btn { grid-column: auto; }
}
.share-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 3px solid var(--ink); font-family: var(--mono); font-size: calc(12px * var(--ts, 1)); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ============ HOME: ACTIONS, HOSTS, LISTEN ============ */
.action-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .action-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.action-tile {
  display: flex; flex-direction: column; gap: 10px; padding: 24px; min-height: 230px; text-decoration: none;
  border: 2px solid var(--paper); transition: transform .15s, box-shadow .15s;
}
.action-tile:hover { transform: translate(-3px,-3px); box-shadow: 7px 7px 0 var(--paper); }
.action-tile--ochre { background: var(--ochre); color: var(--ink); }
.action-tile--red { background: var(--red); color: var(--paper); }
.action-tile--paper { background: var(--paper); color: var(--ink); }
.action-k { font-family: var(--mono); font-size: calc(12px * var(--ts, 1)); letter-spacing: .16em; text-transform: uppercase; opacity: .75; }
.action-t { font-family: var(--display); font-size: calc(36px * var(--ts, 1)); line-height: .95; text-transform: uppercase; }
.action-d { font-size: calc(16px * var(--ts, 1)); line-height: 1.5; flex: 1; }
.action-go { font-family: var(--sans); font-weight: 700; font-size: calc(13px * var(--ts, 1)); letter-spacing: .06em; text-transform: uppercase; }

.hosts-band { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .hosts-band { grid-template-columns: 1fr 1.2fr; gap: 64px; } }
.hosts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.host { position: relative; border: 2px solid var(--ink); box-shadow: var(--shadow); background: var(--ink); }
.host:nth-child(2) { margin-top: 32px; box-shadow: var(--shadow-red); }
.host img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .3s; }
.host:hover img { filter: none; }
.host figcaption { display: flex; flex-direction: column; padding: 12px 14px; background: var(--ink); color: var(--paper); }
.host b { font-family: var(--display); font-weight: 400; font-size: calc(20px * var(--ts, 1)); text-transform: uppercase; line-height: 1.05; }
.host span { font-family: var(--mono); font-size: calc(12px * var(--ts, 1)); letter-spacing: .14em; text-transform: uppercase; color: var(--ochre); }
.hosts--stack .host:nth-child(2) { margin-top: 32px; }

.listen-band { background: var(--red); color: var(--paper); padding: 44px 0; border-top: 3px solid var(--ink); }
.listen-band-inner { display: flex; flex-direction: column; gap: 22px; }
.listen-band h2 { font-family: var(--display); font-weight: 400; font-size: calc(clamp(38px, 9vw, 60px) * var(--ts, 1)); line-height: .95; text-transform: uppercase; }
.listen-band h2 em { font-style: normal; color: var(--ink); }
.listen-links { display: flex; flex-wrap: wrap; gap: 12px; }
.listen-links .btn { flex: 1 1 150px; }
.listen-band .btn-primary { background: var(--ink); border-color: var(--ink); box-shadow: 4px 4px 0 var(--paper); }
@media (min-width: 900px) {
  .listen-band-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .listen-links .btn { flex: 0 0 auto; }
}

/* ============ ABOUT ============ */
.about-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.3fr 1fr; gap: 72px; align-items: start; } }
.faq-wrap { display: grid; gap: 28px; }
@media (min-width: 900px) { .faq-wrap { grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; } }
.faq { border-top: 3px solid var(--ink); }
.faq-item { border-bottom: 1px solid rgb(10 10 10 / calc(.2 + var(--boost, 0))); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  padding: 18px 0; font-family: var(--sans); font-weight: 700; font-size: calc(18px * var(--ts, 1)); line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ''; width: 28px; height: 28px; background: var(--red-text); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960' fill='black'%3E%3Cpath d='M445.93-445.93H228.09q-14.43 0-24.25-9.88-9.82-9.87-9.82-24.37 0-14.49 9.82-24.19 9.82-9.7 24.25-9.7h217.84v-217.84q0-14.43 9.88-24.37 9.87-9.94 24.37-9.94 14.49 0 24.19 9.94 9.7 9.94 9.7 24.37v217.84h217.84q14.43 0 24.37 9.88 9.94 9.87 9.94 24.37 0 14.49-9.94 24.19-9.94 9.7-24.37 9.7H514.07v217.84q0 14.43-9.88 24.25-9.87 9.82-24.37 9.82-14.49 0-24.19-9.82-9.7-9.82-9.7-24.25v-217.84Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960' fill='black'%3E%3Cpath d='M445.93-445.93H228.09q-14.43 0-24.25-9.88-9.82-9.87-9.82-24.37 0-14.49 9.82-24.19 9.82-9.7 24.25-9.7h217.84v-217.84q0-14.43 9.88-24.37 9.87-9.94 24.37-9.94 14.49 0 24.19 9.94 9.7 9.94 9.7 24.37v217.84h217.84q14.43 0 24.37 9.88 9.94 9.87 9.94 24.37 0 14.49-9.94 24.19-9.94 9.7-24.37 9.7H514.07v217.84q0 14.43-9.88 24.25-9.87 9.82-24.37 9.82-14.49 0-24.19-9.82-9.7-9.82-9.7-24.25v-217.84Z'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s; flex: none; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 0 20px; font-size: calc(17px * var(--ts, 1)); line-height: 1.65; color: var(--muted); max-width: 62ch; }

/* ============ FORMS (partners, contact) ============ */
.split { display: grid; gap: 36px; align-items: start; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } }
.split-copy p { font-size: calc(18px * var(--ts, 1)); line-height: 1.7; margin-top: 18px; }
.section--ink .split-copy p { color: rgb(245 241 232 / calc(.78 + var(--boost, 0))); }
.split-copy .section-title { margin-bottom: 8px; }
.tick-list { list-style: none; margin-top: 24px; display: grid; gap: 10px; }
.tick-list li { display: flex; gap: 12px; align-items: center; font-family: var(--sans); font-weight: 600; font-size: calc(16px * var(--ts, 1)); }
.tick-list li::before { content: ''; width: 26px; height: 26px; flex: none; background: var(--ochre) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960' fill='%230A0A0A'%3E%3Cpath d='m378-338.22 359.89-359.65q10.2-10.2 24.49-10.2t24.49 10.2q10.2 10.2 10.2 24.49t-10.2 24.49L402.11-264.37q-10.2 10.2-24.11 10.2t-24.11-10.2L172.37-445.89q-10.2-10.2-9.82-24.49.38-14.29 10.58-24.49t24.49-10.2q14.29 0 24.49 10.2L378-338.22Z'/%3E%3C/svg%3E") center / 20px no-repeat; }
.contact-list { display: grid; gap: 22px; padding-top: 24px; border-top: 3px solid var(--ink); }
.contact-list > div { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.contact-list .kicker { color: var(--muted); margin-bottom: 0; }
.contact-email { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--display); font-size: calc(clamp(22px, 6vw, 30px) * var(--ts, 1)); color: var(--red); text-decoration: none; overflow-wrap: anywhere; }

.form-card { background: var(--ink); color: var(--paper); padding: 24px 20px; border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--red); }
.section--ink .form-card { background: var(--ink-2); border-color: var(--line-light); }
.form-card .kicker { color: var(--ochre); }
.form-title { font-family: var(--display); font-weight: 400; font-size: calc(30px * var(--ts, 1)); line-height: 1.05; text-transform: uppercase; margin-bottom: 22px; }
@media (min-width: 600px) { .form-card { padding: 36px; } }
.pf-grid { display: grid; gap: 0 16px; }
@media (min-width: 600px) { .pf-grid { grid-template-columns: 1fr 1fr; } }
.pf-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.pf-row label { font-family: var(--mono); font-size: calc(12px * var(--ts, 1)); letter-spacing: .12em; text-transform: uppercase; color: rgb(245 241 232 / calc(.65 + var(--boost, 0))); }
.pf-row input, .pf-row select, .pf-row textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 0; -webkit-appearance: none; appearance: none;
  background: rgba(255,255,255,.07); border: 2px solid rgb(245 241 232 / calc(.2 + var(--boost, 0))); color: var(--paper);
  font-family: var(--serif); font-size: calc(16px * var(--ts, 1)); outline: none; transition: border-color .2s, background .2s;
}
.pf-row select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960' fill='%23F4B233'%3E%3Cpath d='M467.33-354.41q-5.96-2.48-11.44-7.96L258.13-560.13q-10.2-10.2-9.7-24.37.5-14.17 10.7-24.37 10.2-10.2 24.37-10.2 14.17 0 24.37 10.2L480-435.74l173.13-173.13q10.2-10.2 23.87-9.7 13.67.5 23.87 10.7 10.2 10.2 10.2 24.37 0 14.17-10.2 24.37L504.11-362.37q-5.48 5.48-11.44 7.96-5.95 2.48-12.67 2.48t-12.67-2.48Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 22px; padding-right: 40px; cursor: pointer;
}
.pf-row select option { background: var(--ink); color: var(--paper); }
.pf-row textarea { min-height: 130px; resize: vertical; }
.pf-row input:focus, .pf-row select:focus, .pf-row textarea:focus { border-color: var(--ochre); background: rgba(255,255,255,.1); }
.pf-row input::placeholder, .pf-row textarea::placeholder { color: rgb(245 241 232 / calc(.38 + var(--boost, 0))); font-style: italic; }
.pf-submit {
  width: 100%; min-height: 56px; margin-top: 6px; background: var(--red); color: var(--paper);
  font-family: var(--display); font-size: calc(20px * var(--ts, 1)); letter-spacing: .05em; text-transform: uppercase;
  box-shadow: 4px 4px 0 var(--paper); transition: background .2s, transform .15s, box-shadow .15s;
}
.pf-submit:hover { background: var(--red-dark); }
.pf-submit:active { transform: translate(2px,2px); box-shadow: none; }
.pf-submit:disabled { opacity: .6; cursor: not-allowed; }
.field-invalid { border-color: var(--red) !important; background: rgba(216,30,39,.1) !important; }
.field-error { display: block; font-family: var(--mono); font-size: calc(12px * var(--ts, 1)); letter-spacing: .08em; text-transform: uppercase; color: #ff6b70; margin-top: 4px; }
.form-done { padding: 28px; border: 2px solid var(--ochre); font-size: calc(18px * var(--ts, 1)); line-height: 1.6; }
.form-done strong { display: block; font-family: var(--display); font-weight: 400; font-size: calc(28px * var(--ts, 1)); text-transform: uppercase; color: var(--ochre); margin-bottom: 10px; }
.form-error { margin-top: 14px; padding: 12px 16px; background: rgba(216,30,39,.18); border: 2px solid var(--red); font-size: calc(15px * var(--ts, 1)); }

/* ============ FOOTER ============ */
.footer { background: var(--ink); color: var(--paper); padding: 48px 0 28px; border-top: 3px solid var(--red); }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-bottom: 36px; border-bottom: 1px solid var(--line-light); }
.footer-brand { grid-column: 1 / -1; }
.footer-logo { display: inline-flex; flex-direction: column; text-decoration: none; font-family: var(--display); font-size: calc(56px * var(--ts, 1)); line-height: .9; text-transform: uppercase; margin-bottom: 16px; }
.footer-logo b { font-weight: 400; color: var(--red); }
.footer-brand p { font-size: calc(16px * var(--ts, 1)); color: rgb(245 241 232 / calc(.65 + var(--boost, 0))); max-width: 380px; line-height: 1.55; }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer-social a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; justify-content: center; padding: 0 14px; border: 1px solid var(--line-light); text-decoration: none; font-family: var(--mono); font-size: calc(12px * var(--ts, 1)); letter-spacing: .1em; text-transform: uppercase; }
.footer-social a:hover { border-color: var(--ochre); color: var(--ochre); }
.footer-col h2 { font-family: var(--mono); font-size: calc(12px * var(--ts, 1)); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ochre); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: grid; gap: 0; }
.footer-col a { display: inline-block; padding: 10px 0; text-decoration: none; font-size: calc(15px * var(--ts, 1)); color: rgb(245 241 232 / calc(.75 + var(--boost, 0))); }
.footer-col a:hover { color: var(--paper); }
.footer-col .footer-mp { color: var(--ochre); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 22px; font-family: var(--mono); font-size: calc(12px * var(--ts, 1)); letter-spacing: .1em; text-transform: uppercase; color: rgb(245 241 232 / calc(.68 + var(--boost, 0))); }
@media (min-width: 900px) {
  .footer { padding-top: 64px; }
  .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
  .footer-brand { grid-column: auto; }
  .footer-logo { font-size: calc(72px * var(--ts, 1)); }
}

/* ============ AUDIO PLAYER ============ */
.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: var(--ink); color: var(--paper); border-top: 3px solid var(--red);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -10px 30px rgba(0,0,0,.25);
  animation: player-in .3s ease;
}
.player[hidden] { display: none; }
@keyframes player-in { from { transform: translateY(100%); } }
.pl-seek-wrap { position: absolute; left: 0; right: 0; top: -13px; height: 24px; }
.pl-seek {
  --p: 0%;
  width: 100%; height: 24px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none;
}
.pl-seek::-webkit-slider-runnable-track { height: 4px; background: linear-gradient(to right, var(--ochre) var(--p), rgba(245,241,232,.25) var(--p)); }
.pl-seek::-moz-range-track { height: 4px; background: linear-gradient(to right, var(--ochre) var(--p), rgba(245,241,232,.25) var(--p)); }
.pl-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6px; border-radius: 50%; background: var(--ochre); border: 2px solid var(--ink); }
.pl-seek::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--ochre); border: 2px solid var(--ink); }
.pl-inner { max-width: 1320px; margin: 0 auto; padding: 12px var(--gutter) 10px; display: flex; align-items: center; gap: 12px; }
.pl-art { width: 48px; height: 48px; object-fit: cover; flex: none; border: 1px solid var(--line-light); }
.pl-info { min-width: 0; flex: 1; }
.pl-title {
  display: block; text-decoration: none; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font-family: var(--sans); font-weight: 700; font-size: calc(14px * var(--ts, 1)); line-height: 1.3;
}
.pl-title:hover { color: var(--ochre); }
.pl-time { font-family: var(--mono); font-size: calc(12px * var(--ts, 1)); color: rgb(245 241 232 / calc(.6 + var(--boost, 0))); letter-spacing: .04em; margin-top: 2px; }
.pl-time i { font-style: normal; opacity: .5; }
.pl-controls { display: flex; align-items: center; gap: 2px; }
.pl-btn { width: 44px; height: 44px; display: grid; place-items: center; color: var(--paper); flex: none; }
.pl-btn svg { width: 26px; height: 26px; fill: currentColor; }
.pl-btn:hover { color: var(--ochre); }
.pl-toggle { width: 48px; height: 48px; border-radius: 50%; background: var(--red); margin: 0 4px; }
.pl-toggle:hover { background: var(--red-dark); color: var(--paper); }
.pl-toggle svg { width: 24px; height: 24px; }
.pl-toggle .i-pause, .player.is-playing .pl-toggle .i-play { display: none; }
.player.is-playing .pl-toggle .i-pause { display: block; }
.player.is-loading .pl-toggle { animation: spin-ring 1s linear infinite; box-shadow: inset 0 0 0 3px var(--ochre); }
@keyframes spin-ring { 50% { box-shadow: inset 0 0 0 3px transparent; } }
.pl-rate { font-family: var(--mono); font-size: calc(13px * var(--ts, 1)); font-weight: 500; width: 48px; height: 44px; box-shadow: inset 0 0 0 1px var(--line-light); }
.pl-close svg { width: 20px; height: 20px; }
@media (max-width: 479px) {
  .pl-inner { flex-wrap: wrap; row-gap: 6px; padding: 16px var(--gutter) 8px; }
  .pl-controls { order: 3; width: 100%; justify-content: space-between; }
  .pl-close { margin-right: -10px; }
  .pl-art { width: 44px; height: 44px; }
}
@media (min-width: 768px) {
  .pl-inner { gap: 18px; padding: 14px var(--gutter) 12px; }
  .pl-art { width: 52px; height: 52px; }
  .pl-title { font-size: calc(15px * var(--ts, 1)); }
}

/* ============ MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ============ SMALL ADDITIONS ============ */
.btn-icon { width: 20px; height: 20px; fill: currentColor; flex: none; }
.notfound { display: grid; gap: 28px; max-width: 760px; }
.notfound .hero-ctas .btn { flex: 1 1 160px; }
.notfound .hero-ctas .btn-primary { flex-basis: 100%; }

/* ============ READING PREFERENCES (accessibility panel) ============ */
:root { --ts: 1; --boost: 0; }
html[data-text="115"] { --ts: 1.15; }
html[data-text="130"] { --ts: 1.3; }
html[data-text="150"] { --ts: 1.5; }
h1, h2, h3, .ep-title, .brief-title, .now-title { overflow-wrap: break-word; hyphens: manual; }

/* High contrast */
html[data-contrast="high"] {
  --boost: 1;
  --muted: #2A2622;
  --red-text: #7D0C12;
  --paper-warm: #F5F1E8;
}
html[data-contrast="high"] body::before { display: none; }
html[data-contrast="high"] :focus-visible { outline-width: 4px; outline-offset: 3px; }
html[data-contrast="high"] a:not(.btn):not(.wordmark):not(.footer-logo):not(.action-tile) { text-decoration-line: underline; }
html[data-contrast="high"] .host img { filter: none; }
html[data-contrast="high"] .search input, html[data-contrast="high"] .pill { border-width: 3px; }

/* Readable font: Atkinson Hyperlegible, sentence case, no italics */
html[data-font="readable"] {
  --display: 'Atkinson Hyperlegible', Verdana, sans-serif;
  --serif: 'Atkinson Hyperlegible', Verdana, sans-serif;
  --sans: 'Atkinson Hyperlegible', Verdana, sans-serif;
  --mono: 'Atkinson Hyperlegible', Verdana, sans-serif;
}
html[data-font="readable"] body * { text-transform: none !important; font-style: normal !important; }
html[data-font="readable"] :is(h1, h2, h3, .hero-headline, .section-title, .article-title, .ep-hero-title, .ep-title,
  .brief-title, .now-title, .action-t, .listen-title, .pager span, .menu-links a, .form-title, .footer-logo, .wordmark,
  .brief-tile b, .article-stat, .pf-submit, .mp-send-btn) { font-weight: 700; line-height: 1.2 !important; letter-spacing: 0 !important; }
html[data-font="readable"] .article-body > p:first-child::first-letter { float: none; font-size: inherit; color: inherit; margin: 0; }

/* Extra text spacing (WCAG 1.4.12) */
html[data-spacing="wide"] body :is(p, li, blockquote, label, summary, .ep-excerpt, .brief-dek, .now-summary, .lead, .hero-deck) {
  line-height: 1.9 !important; letter-spacing: .12em !important; word-spacing: .16em !important;
}
html[data-spacing="wide"] :is(.prose, .article-body) > * + *, html[data-spacing="wide"] .article-body p { margin-top: 0; margin-bottom: 2em; }
html[data-spacing="wide"] :is(h1, h2, h3) { letter-spacing: .06em !important; word-spacing: .16em; }

/* Underline links */
html[data-links="underline"] a:not(.btn):not(.action-tile):not(.wordmark):not(.footer-logo) {
  text-decoration-line: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 4px !important;
}

/* Stop animations */
html[data-motion="reduce"] *, html[data-motion="reduce"] *::before, html[data-motion="reduce"] *::after {
  animation: none !important; transition: none !important; scroll-behavior: auto !important;
}
html[data-motion="reduce"] .ticker-track { transform: none; }

/* Accessibility button + panel */
.a11y-btn { width: 44px; height: 44px; display: grid; place-items: center; color: var(--paper); border: 1px solid var(--line-light); }
.a11y-btn svg { width: 24px; height: 24px; fill: currentColor; }
.a11y-btn:hover { color: var(--ochre); border-color: var(--ochre); }
@media (max-width: 400px) { .btn-listen span { display: none; } .btn-listen { padding: 0 12px; } }
.menu-a11y {
  display: block; width: 100%; min-height: 52px; padding: 12px 16px; text-align: left;
  border: 1px solid var(--line-light); color: var(--paper);
  font-family: var(--sans); font-weight: 700; font-size: calc(15px * var(--ts, 1));
}
.a11y {
  margin: auto; width: min(480px, calc(100% - 24px)); max-height: calc(100% - 24px);
  padding: 0; border: 3px solid var(--ink); background: var(--paper); color: var(--ink); box-shadow: 10px 10px 0 var(--red);
}
.a11y::backdrop { background: rgba(10,10,10,.7); }
.a11y-inner { padding: 22px; display: grid; gap: 18px; }
.a11y-head { display: flex; align-items: center; justify-content: space-between; }
.a11y-head h2 { font-family: var(--display); font-weight: 400; font-size: calc(34px * var(--ts, 1)); text-transform: uppercase; line-height: 1; }
.a11y-close { width: 44px; height: 44px; display: grid; place-items: center; margin-right: -8px; }
.a11y-close svg { width: 26px; height: 26px; fill: currentColor; }
.a11y-intro { color: var(--muted); font-size: calc(16px * var(--ts, 1)); }
.a11y-size { border: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.a11y-size legend { font-family: var(--sans); font-weight: 700; font-size: calc(16px * var(--ts, 1)); margin-bottom: 10px; }
.a11y-size label {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 72px; border: 2px solid var(--ink); background: var(--paper); cursor: pointer;
  font-family: var(--display); line-height: 1;
}
.a11y-size input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.a11y-size small { font-family: var(--mono); font-size: calc(12px * var(--ts, 1)); }
.a11y-size label:has(input:checked) { background: var(--ink); color: var(--paper); box-shadow: 3px 3px 0 var(--red); }
.a11y-size label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.a11y-toggles { display: grid; border-top: 2px solid var(--ink); }
.a11y-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer;
}
.a11y-toggle span { display: grid; gap: 2px; }
.a11y-toggle b { font-family: var(--sans); font-size: calc(17px * var(--ts, 1)); }
.a11y-toggle small { color: var(--muted); font-size: calc(14px * var(--ts, 1)); line-height: 1.4; }
.a11y-toggle input {
  -webkit-appearance: none; appearance: none; flex: none; position: relative; cursor: pointer;
  width: 56px; height: 32px; border-radius: 99px; background: #CFC8B8; border: 2px solid var(--ink); transition: background .2s;
}
.a11y-toggle input::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--ink); transition: transform .2s;
}
.a11y-toggle input:checked { background: var(--red); }
.a11y-toggle input:checked::after { transform: translateX(24px); }
.a11y-actions { display: flex; gap: 12px; }
.a11y-actions .btn { flex: 1; }
.a11y-more { font-size: calc(14px * var(--ts, 1)); color: var(--muted); line-height: 1.5; }
.a11y-more a { color: var(--red-text); font-weight: 600; }

/* Read aloud */
.notes-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 18px; }
.notes-head .kicker { margin-bottom: 0; }
.article-tools { max-width: 760px; margin: 0 auto 24px; padding: 0 var(--gutter); display: flex; flex-wrap: wrap; gap: 10px; }
.read-aloud, .read-stop {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 2px solid var(--ink); background: var(--paper); box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--sans); font-weight: 700; font-size: calc(14px * var(--ts, 1));
}
.read-aloud svg { width: 20px; height: 20px; fill: currentColor; }
.read-aloud[aria-pressed="true"] { background: var(--ochre); }
.is-reading { background: rgba(244,178,51,.35); box-shadow: 0 0 0 6px rgba(244,178,51,.35); }

/* Transcript card */
.transcript-link {
  display: grid; gap: 2px; padding: 16px 18px; margin-bottom: 24px; text-decoration: none;
  background: var(--ochre); border: 2px solid var(--ink); box-shadow: var(--shadow);
}
.transcript-link b { font-family: var(--display); font-weight: 400; font-size: calc(22px * var(--ts, 1)); text-transform: uppercase; }
.transcript-link span { font-size: calc(15px * var(--ts, 1)); }

/* The logo is a logotype: fixed size and brand font whatever the reading settings (WCAG 1.4.4 exempts logos). */
.wordmark { font-size: 22px; }
html[data-font="readable"] .wordmark { font-family: 'Anton', Impact, sans-serif; font-weight: 400; text-transform: uppercase !important; }
/* Grid columns may shrink below their longest word, so large text wraps instead of widening the page. */
:is(.hero-grid, .ep-hero-grid, .ep-layout, .split, .about-grid, .faq-wrap, .hosts-band, .now-top, .listen-box) > * { min-width: 0; }
/* Labelled play buttons wrap their text rather than overflow at large text sizes. */
.play-btn--lg, .play-btn--md { height: auto; min-height: var(--size); max-width: 100%; padding-top: 8px; padding-bottom: 8px; text-align: left; }
.crumbs a { min-width: 44px; justify-content: center; }

/* ============ ICONS & BRAND LOGOS ============ */
.icon, .logo { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: -.25em; }
.icon { fill: currentColor; }
.btn-icon { width: 22px; height: 22px; }
.pl-btn .icon { width: 28px; height: 28px; }
.pl-toggle .icon { width: 30px; height: 30px; }
.pl-close .icon, .a11y-close .icon { width: 24px; height: 24px; }
.a11y-btn .icon { width: 26px; height: 26px; }
.btn-listen .icon { width: 24px; height: 24px; }
.play-btn .icon { width: 26px; height: 26px; }
.play-btn--art .icon { width: 28px; height: 28px; }
.read-aloud .icon, .read-stop .icon { width: 22px; height: 22px; }
.read-stop { display: inline-flex; align-items: center; gap: 8px; }
.search .icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; fill: var(--muted); pointer-events: none; }
.section-link .icon, .now-link .icon { margin-left: 6px; width: 1.2em; height: 1.2em; }
.action-go, .pf-submit, .mp-send-btn, .menu-mp, .pager small { display: inline-flex; align-items: center; gap: 8px; }
.pf-submit, .mp-send-btn { justify-content: center; }
.menu-mp { display: flex; justify-content: space-between; }
.menu-a11y { display: flex; align-items: center; gap: 12px; }
.menu-a11y .icon { width: 26px; height: 26px; color: var(--ochre); }
.contact-email { gap: 10px; }
.contact-email .icon { width: .9em; height: .9em; }
.transcript-link { grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
.transcript-link .icon { grid-row: span 2; width: 36px; height: 36px; }
.btn .icon { width: 20px; height: 20px; }

/* Platform links with their logos */
.now-platforms a, .ep-platforms a, .menu-platforms a, .footer-col .with-logo, .footer-social a { gap: 8px; }
.now-platforms .logo, .ep-platforms .logo, .ep-platforms .icon { width: 20px; height: 20px; }
.menu-platforms a { display: inline-flex; align-items: center; min-height: 44px; }
.menu-platforms .logo { width: 22px; height: 22px; }
.footer-col .with-logo { display: inline-flex; align-items: center; }
.footer-col .logo, .footer-social .logo { width: 22px; height: 22px; }
.footer-social a { text-transform: none; letter-spacing: .02em; }

/* Official-style listen badges (black, like Apple's and Spotify's own) */
.badge {
  display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 20px 8px 14px;
  background: #000; color: #fff; text-decoration: none; border: 1px solid #A6A6A6; border-radius: 10px;
  transition: transform .15s, box-shadow .15s;
}
.badge:hover { transform: translate(-2px,-2px); box-shadow: 4px 4px 0 var(--ink); }
.badge:active { transform: none; box-shadow: none; }
.badge .logo { width: 36px; height: 36px; }
.badge span { display: grid; line-height: 1.05; text-align: left; }
.badge small { font-family: var(--sans); font-size: calc(12px * var(--ts, 1)); font-weight: 600; letter-spacing: .02em; opacity: .9; }
.badge b { font-family: var(--sans); font-size: calc(20px * var(--ts, 1)); font-weight: 700; letter-spacing: -.01em; }
.listen-links .badge { flex: 1 1 210px; }
@media (min-width: 900px) { .listen-links .badge { flex: 0 0 auto; } }
html[data-font="readable"] .badge * { letter-spacing: 0 !important; }

/* Player error state (audio host unreachable): message, Retry, Spotify fallback */
html.has-player.player-error { --player: 136px; }
@media (max-width: 479px) { html.has-player.player-error { --player: 196px; } }
.pl-error {
  max-width: 1320px; margin: 0 auto; padding: 14px var(--gutter) 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
}
.pl-error p { flex: 1 1 260px; font-family: var(--sans); font-weight: 600; font-size: calc(14px * var(--ts, 1)); line-height: 1.35; color: var(--ochre); }
.pl-error-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.pl-retry, .pl-spotify {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; text-decoration: none;
  font-family: var(--sans); font-weight: 700; font-size: calc(13px * var(--ts, 1)); letter-spacing: .04em; text-transform: uppercase;
}
.pl-retry { background: var(--ochre); color: var(--ink); }
.pl-retry .icon { width: 20px; height: 20px; }
.pl-spotify { color: var(--paper); box-shadow: inset 0 0 0 1px var(--line-light); }
.pl-spotify .logo { width: 20px; height: 20px; }
.pl-retry:hover { background: var(--paper); }
.pl-spotify:hover { box-shadow: inset 0 0 0 1px var(--paper); }

.menu-mp[aria-current="page"] { box-shadow: var(--shadow-red), inset 0 0 0 3px var(--ink); }

/* ============ ARCHIVE FILTERS: active state, counts, chips, reset, empty ============ */
.pill { position: relative; display: inline-flex; align-items: center; gap: 8px; } /* keeps its screen-reader text inside the scrolling row */
.pill[aria-pressed="true"][data-topic]:not([data-topic=""])::before {
  content: ''; width: 16px; height: 16px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath d='m378-338.22 359.89-359.65q10.2-10.2 24.49-10.2t24.49 10.2q10.2 10.2 10.2 24.49t-10.2 24.49L402.11-264.37q-10.2 10.2-24.11 10.2t-24.11-10.2L172.37-445.89q-10.2-10.2-9.82-24.49.38-14.29 10.58-24.49t24.49-10.2q14.29 0 24.49 10.2L378-338.22Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath d='m378-338.22 359.89-359.65q10.2-10.2 24.49-10.2t24.49 10.2q10.2 10.2 10.2 24.49t-10.2 24.49L402.11-264.37q-10.2 10.2-24.11 10.2t-24.11-10.2L172.37-445.89q-10.2-10.2-9.82-24.49.38-14.29 10.58-24.49t24.49-10.2q14.29 0 24.49 10.2L378-338.22Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pill-count {
  min-width: 22px; padding: 1px 6px; border-radius: 99px; text-align: center;
  font-family: var(--mono); font-size: calc(12px * var(--ts, 1)); font-weight: 500; background: var(--paper-warm); color: var(--ink);
}
.pill[aria-pressed="true"] .pill-count { background: var(--ochre); }
.pill.is-empty { border-style: dashed; color: var(--muted); }
.pill:disabled, .search input:disabled { opacity: .55; cursor: not-allowed; }
.results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; margin-bottom: 16px; }
.results-bar .results { margin-bottom: 0; }
.results-note { width: 100%; margin: -8px 0 16px; font-size: calc(15px * var(--ts, 1)); color: var(--muted); }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.active-label { font-family: var(--mono); font-size: calc(12px * var(--ts, 1)); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.active-chips { display: contents; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px;
  background: var(--ink); color: var(--paper); font-family: var(--sans); font-weight: 700; font-size: calc(13px * var(--ts, 1));
}
.chip-x { font-size: 1.3em; line-height: 1; color: var(--ochre); }
.chip:hover { background: var(--red-dark); }
.reset-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 2px solid var(--ink); background: var(--paper);
  font-family: var(--sans); font-weight: 700; font-size: calc(13px * var(--ts, 1));
}
.reset-btn .icon { width: 18px; height: 18px; }
.reset-btn:hover { background: var(--paper-warm); }
.empty { padding: 32px 24px; text-align: left; border: 2px dashed var(--ink); background: var(--paper); max-width: 680px; }
.empty h3 { font-family: var(--display); font-weight: 400; font-size: calc(28px * var(--ts, 1)); text-transform: uppercase; margin-bottom: 8px; }
.empty p { font-size: calc(17px * var(--ts, 1)); margin-bottom: 8px; }
.empty-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
/* Long unbroken text in feed descriptions (e.g. a pasted URL) wraps instead of widening the list. */
.ep-excerpt, .ep-title, .brief-dek { overflow-wrap: anywhere; }
@media (max-width: 599px) { .ep-grid { grid-template-columns: minmax(0, 1fr); } }

/* Homepage: hero copy aligns to the top of the latest-episode card instead of being pushed down beside it */
@media (min-width: 960px) { .hero-grid { align-items: start; } }
.now-actions { margin: 18px 0 4px; }
/* Masthead: capped on large screens; the bands either side match the banner (black over gold, split at 50%) */
.masthead { background: linear-gradient(#000 0 50%, #FEBD59 50% 100%); }
@media (min-width: 1100px) { .masthead img { width: auto; max-height: 230px; margin: 0 auto; } }
@media (min-width: 960px) { .hero { padding-top: 40px; } }

/* ============ BRIEFING READABILITY ============ */
/* Comfortable measure on wide screens; on phones a slightly smaller size gives ~40 characters a line instead of ~35 */
.article-body > :is(p, ul, ol, blockquote) { max-width: 32em; } /* ≈ 70 characters a line in Fraunces ('ch' is a wide '0' here) */
@media (max-width: 599px) { .article-body { font-size: calc(17.5px * var(--ts, 1)); line-height: 1.7; } }
.article-body h2 { scroll-margin-top: calc(var(--topbar) + 16px); }
/* Highlighted lines stay in the display face but in sentence case: whole sentences in capitals are slower to read */
.article-body .article-stat { text-transform: none; letter-spacing: 0; font-size: calc(30px * var(--ts, 1)); line-height: 1.2; }
@media (max-width: 599px) { .article-body .article-stat { font-size: calc(24px * var(--ts, 1)); } }
.article-body a, .article-resources a { color: var(--red-text); text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.article-body ul, .article-body ol, .article-resources ul { padding-left: 1.2em; margin-bottom: 1.4em; }
.article-body li, .article-resources li { margin-bottom: .5em; padding-left: .2em; }
.article-body li::marker, .article-resources li::marker { color: var(--red); }
.article-meta a { color: inherit; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; margin: -14px 0; }
.article-meta a:hover { color: var(--red-text); }
.article-resources { padding-top: 20px; border-top: 3px solid var(--ink); font-size: calc(17px * var(--ts, 1)); line-height: 1.65; }
.article-resources h2 { font-family: var(--display); font-weight: 400; font-size: calc(26px * var(--ts, 1)); text-transform: uppercase; letter-spacing: .01em; }
.article-resources .resources-note { color: var(--muted); font-size: calc(15px * var(--ts, 1)); margin: 2px 0 14px; }
.article-resources h3 { font-family: var(--sans); font-weight: 700; font-size: calc(18px * var(--ts, 1)); margin: 18px 0 8px; }

/* Text links that leave the site show a small "opens in a new tab" icon (screen readers get the words) */
:is(.prose, .article-body, .article-resources, .mp-hint, .faq-item) a[target="_blank"]::after {
  content: ''; display: inline-block; width: .8em; height: .8em; margin-left: .2em; vertical-align: -.05em;
  background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath d='M182.15-114.02q-27.6 0-47.86-20.27-20.27-20.26-20.27-47.86v-595.7q0-27.7 20.27-48.03 20.26-20.34 47.86-20.34h242.78q14.43 0 24.25 10.01 9.82 10.02 9.82 24.49 0 14.48-9.82 24.18-9.82 9.69-24.25 9.69H182.15v595.7h595.7v-242.78q0-14.43 9.87-24.25t24.35-9.82q14.48 0 24.31 9.82 9.84 9.82 9.84 24.25v242.78q0 27.6-20.34 47.86-20.33 20.27-48.03 20.27h-595.7Zm595.7-615.33L411.37-362.63q-10.38 10.2-23.84 9.58-13.46-.62-23.66-10.82-10.2-10.2-10.2-23.75t10.2-23.75l366.48-366.48H553.07q-14.43 0-24.25-9.87T519-812.07q0-14.48 9.82-24.31 9.82-9.84 24.25-9.84h258.84q14.4 0 24.35 9.96 9.96 9.95 9.96 24.35v258.84q0 14.43-10.01 24.25-10.02 9.82-24.49 9.82-14.48 0-24.18-9.82-9.69-9.82-9.69-24.25v-176.28Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath d='M182.15-114.02q-27.6 0-47.86-20.27-20.27-20.26-20.27-47.86v-595.7q0-27.7 20.27-48.03 20.26-20.34 47.86-20.34h242.78q14.43 0 24.25 10.01 9.82 10.02 9.82 24.49 0 14.48-9.82 24.18-9.82 9.69-24.25 9.69H182.15v595.7h595.7v-242.78q0-14.43 9.87-24.25t24.35-9.82q14.48 0 24.31 9.82 9.84 9.82 9.84 24.25v242.78q0 27.6-20.34 47.86-20.33 20.27-48.03 20.27h-595.7Zm595.7-615.33L411.37-362.63q-10.38 10.2-23.84 9.58-13.46-.62-23.66-10.82-10.2-10.2-10.2-23.75t10.2-23.75l366.48-366.48H553.07q-14.43 0-24.25-9.87T519-812.07q0-14.48 9.82-24.31 9.82-9.84 24.25-9.84h258.84q14.4 0 24.35 9.96 9.96 9.95 9.96 24.35v258.84q0 14.43-10.01 24.25-10.02 9.82-24.49 9.82-14.48 0-24.18-9.82-9.69-9.82-9.69-24.25v-176.28Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ============ TYPOGRAPHY CONSISTENCY ============ */
/* Eyebrow labels above titles share one style (some were weight 400, others 500; spacing .16–.2em) */
:is(.kicker, .article-kicker, .brief-kicker, .ep-hero-kicker, .now-label, .action-k) { font-weight: 500; letter-spacing: .18em; }
/* Headings inside boxes were inheriting body line height (1.6–1.65) */
.chapters h2, .article-resources h2 { line-height: 1.1; }
.article-resources h3 { line-height: 1.3; }
/* Intro paragraphs: one size everywhere (Contact/Partners were 18px/1.7 via .split-copy p) */
.split-copy .lead { font-size: calc(19px * var(--ts, 1)); line-height: 1.55; }
/* Long-form text on phones: show notes and policy pages match briefings */
@media (max-width: 599px) { .prose { font-size: calc(17.5px * var(--ts, 1)); line-height: 1.7; } }

/* ============ SPACING CONSISTENCY ============ */
/* The archive's search bar sits directly under the page header at every width
   (the desktop .section padding rule was overriding .section--tight) */
.section.section--tight { padding-top: 0; }
/* Card grids share one gap, the existing --gutter token (16px phones, 32px from tablet), matching page margins */
.ep-rail, .ep-grid, .brief-grid, .action-grid { gap: var(--gutter); }
/* Episode and briefing cards use the same inner padding (they sit side by side on Home and episode pages) */
.ep-body, .brief-body { padding: 18px 18px 20px; }
@media (max-width: 599px) { .ep-grid .ep-body { padding: 12px 12px 12px 14px; } } /* compact archive rows keep their size */
/* Episode headers follow the same vertical rhythm as every other page header */
.ep-hero { padding: 28px 0 40px; }
@media (min-width: 768px) { .ep-hero { padding: 40px 0 64px; } }

/* ============ FOCUS, STATES & TARGETS (WCAG 2.2 AA) ============ */
/* Focus ring: black on light backgrounds (18:1 on paper, 3.9:1 on red), gold inside dark areas (10:1 on ink).
   The gold-only ring measured 1.5–1.9:1 on paper, below the 3:1 needed to see it. */
:root { --focus: var(--ink); }
:is(.topbar, .menu, .footer, .player, .page-hero, .ep-hero, .section--ink, .now-card, .form-card, .listen-box, #mp-status, .chip, .pill[aria-pressed="true"]) { --focus: var(--ochre); }
.chip:focus-visible, .pill[aria-pressed="true"]:focus-visible { outline-color: var(--ink); } /* dark chip on a light page: ring sits on the page */
/* Fields that removed their outline get the ring back; dark-form field edges reach 3:1 (were ~1.7:1) */
:is(.pf-row, .search, .mp-field, .mp-find-row) :is(input, select, textarea):focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.pf-row input, .pf-row select, .pf-row textarea { border-color: rgb(245 241 232 / calc(.5 + var(--boost, 0))); }
/* Focus not hidden behind the player bar or the sticky top bar when tabbing (WCAG 2.4.11) */
html { scroll-padding-bottom: calc(var(--player) + 16px); }
/* Selected states that relied on colour alone */
.menu-links a[aria-current] { text-decoration: underline 3px; text-underline-offset: 8px; }
.chapter.is-current { box-shadow: inset 5px 0 0 var(--ink); font-weight: 700; }
/* Buttons that sit on artwork: two-tone ring (gold with a black edge) shows on any image */
.ep-art .play-btn:focus-visible { outline: 3px solid var(--ochre); outline-offset: 2px; box-shadow: 0 0 0 5px var(--ink); }
/* White label on the red tile needs full opacity to reach 4.5:1 (was 75%) */
.action-tile--red .action-k { opacity: 1; }
/* Player title link: at least 24px tall (WCAG 2.5.8) */
.pl-title { display: block; line-height: 24px; }

/* ============ RESPONSIVE FIXES ============ */
/* Under 360px (e.g. 320px phones) the logo and top-bar spacing tighten; the bar was 13px wider than the screen */
@media (max-width: 359px) {
  .topbar-inner { gap: 10px; }
  .wordmark { font-size: 18px; gap: 4px; }
  .topbar-actions { gap: 4px; }
}
/* One-line episode titles in the "Listen to the episode" box still give a 24px target */
.listen-title { line-height: 1.2; min-height: 24px; }
/* On short screens (landscape phones, small phones) the archive filters scroll away instead of staying pinned:
   pinned, they left only ~104px of a 390px-tall screen for episodes */
@media (max-height: 700px) { .filters { position: static; } }
