:root {
  --bg: #000;
  --panel: #0e0e0e;
  --panel-2: #161616;
  --line: #222;
  --line-2: #333;
  --text: #fff;
  --soft: #c9c9c9;
  --dim: #8a8a8a;
  --red: #ff1a1a;
  --red-2: #d40000;
  --display: 'Saira Condensed', 'Arial Narrow', sans-serif;
  --label: 'Saira', 'Arial', sans-serif;
  --sans: 'Manrope', system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1120px;
  --player-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--sans); overflow-x: hidden; }
body.has-player { padding-bottom: var(--player-h); }
a { color: inherit; }
a:hover { color: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
img { max-width: 100%; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 200; background: var(--red); color: #fff; padding: 8px 14px; }
.sep { display: inline-block; width: 5px; height: 5px; background: var(--red); vertical-align: middle; margin: 0 .7em; transform: rotate(45deg); }

main, .top, .foot-grid, .foot-legal { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Play / pause icon, shared */
.ico { display: inline-block; width: 0; height: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 2px; }
.is-playing > .ico { width: 11px; height: 13px; border: 0; border-left: 4px solid currentColor; border-right: 4px solid currentColor; margin-left: 0; }
.is-loading > .ico { width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; margin: 0; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- header ---------- */

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.brand, .foot-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin: 0; }
.brand:hover { color: inherit; }
.logo-img { height: 50px; width: auto; display: block; }
.nav { display: flex; gap: 4px 26px; flex-wrap: wrap; font: 600 13px/1 var(--label); text-transform: uppercase; letter-spacing: .14em; }
.nav a { text-decoration: none; color: var(--soft); padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: #fff; border-bottom-color: var(--red); }

/* ---------- type ---------- */

h1, h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; margin: 0; line-height: .92; letter-spacing: .005em; }
h1 { font-size: clamp(56px, 10vw, 120px); }
h1 em { font-style: normal; color: var(--red); }
h2 { font-size: clamp(34px, 5vw, 54px); }
.kicker { display: block; font: 600 12.5px/1.4 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--soft); margin: 0 0 12px; }
.lede { font-size: clamp(17px, 1.8vw, 19px); color: var(--soft); max-width: 58ch; margin: 18px 0 0; }

/* ---------- hero ---------- */

.hero { display: grid; grid-template-columns: 1fr minmax(220px, 340px); gap: clamp(24px, 5vw, 56px); align-items: center; padding: clamp(20px, 5vw, 56px) 0 clamp(28px, 5vw, 48px); }
.hero-latest { display: flex; flex-direction: column; gap: 8px; text-decoration: none; padding: 14px; border: 1px solid var(--line); background: var(--panel); transition: border-color .2s; }
.hero-latest:hover { border-color: var(--red); color: #fff; }
.hero-latest img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; margin-bottom: 6px; }
.hero-latest-label { font: 600 11.5px/1 var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--soft); }
.hero-latest strong { font: 900 30px/1 var(--display); text-transform: uppercase; }
/* The wordmark is the headline; the heartbeat gets a faint red glow. */
.hero-logo { margin: 0 0 26px; line-height: 0; }
.hero-logo img { width: min(640px, 100%); height: auto; filter: drop-shadow(0 0 28px rgba(255,26,26,.22)); }
.hero-404 { grid-template-columns: 1fr; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 13.5px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  padding: 15px 22px; border: 2px solid #3a3a3a; background: transparent; color: #fff;
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { border-color: #fff; color: #fff; }
.btn-hot { background: var(--red); border-color: var(--red); }
.btn-hot:hover { background: #fff; border-color: #fff; color: #000; }
.btn-line { padding: 11px 16px; font-size: 12px; }

/* ---------- episodes ---------- */

.takeaways {
  padding: 20px 24px 22px; border: 1px solid var(--line); border-left: 3px solid var(--red); background: var(--panel);
}
.takeaways h2 { margin: 0; font: 600 12px/1 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.takeaways ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; margin: 16px 0 0; padding: 0; list-style: none; }
.takeaways li { position: relative; padding-left: 16px; color: var(--soft); font-size: 14px; line-height: 1.45; }
.takeaways li::before { content: '•'; position: absolute; left: 0; color: var(--red); }

.episodes, .listen, .about, .faq, .partners { padding-top: clamp(40px, 6vw, 64px); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 3px solid var(--red); }
.search input {
  font: 500 15px/1 var(--sans); color: #fff; background: var(--panel); border: 1px solid var(--line-2);
  padding: 12px 14px; width: min(320px, 80vw);
}
.search input:focus { border-color: var(--red); outline: none; }

.ep-list { list-style: none; margin: 0; padding: 0; }
.ep {
  display: grid; grid-template-columns: 44px 56px 1fr auto auto; gap: 16px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.ep[hidden] { display: none; }
.ep:hover { background: linear-gradient(90deg, rgba(255,26,26,.06), transparent 60%); }
.ep-play {
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--line-2); background: none; color: #fff;
  display: grid; place-items: center; transition: border-color .15s, background .15s;
}
.ep-play:hover, .ep-play.is-playing, .ep-play.is-loading { border-color: var(--red); background: var(--red); }
.ep-art { width: 56px; height: 56px; object-fit: cover; background: var(--panel-2); }
.ep-main { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ep-title { font: 800 21px/1.05 var(--display); text-transform: uppercase; text-decoration: none; letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ep-sub { font: 600 11.5px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); display: flex; align-items: center; gap: 10px; }
.ep-no { color: #fff; background: var(--red); padding: 3px 6px 2px; letter-spacing: .06em; }
.ep-no-mix { background: #2a2a2a; }
.ep-no-show { background: #fff; color: #000; }
.ep-date, .ep-dur { font: 500 13px/1 var(--label); color: var(--dim); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ep-dur { min-width: 64px; text-align: right; }
.empty { color: var(--dim); padding: 20px 0; }

/* ---------- episode page ---------- */

.crumbs { font: 600 12px/1.4 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); padding-top: 12px; }
.crumbs a { color: var(--soft); text-decoration: none; }
.episode { display: grid; grid-template-columns: minmax(200px, 360px) 1fr; gap: clamp(24px, 5vw, 56px); align-items: start; padding: 28px 0 10px; }
.episode-art { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; box-shadow: 0 30px 80px -30px rgba(255,26,26,.35); }
.episode h1 { font-size: clamp(48px, 7.5vw, 96px); }
.episode h1 em { display: block; font-size: .5em; margin-top: .2em; }
.notes { color: var(--soft); max-width: 62ch; }
.also { margin: 26px 0 0; font: 600 12px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 36px; }
.pager a { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid var(--line); text-decoration: none; font: 800 19px/1.1 var(--display); text-transform: uppercase; }
.pager a:hover { border-color: var(--red); color: #fff; }
.pager span { font: 600 11px/1 var(--label); letter-spacing: .16em; color: var(--red); }
.pager-r { text-align: right; }

/* ---------- listen / about / faq ---------- */

.listen p { color: var(--soft); margin: 14px 0 0; }
.platforms { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.platforms a {
  display: inline-block; text-decoration: none; font: 700 13px/1 var(--label); letter-spacing: .12em; text-transform: uppercase;
  padding: 14px 18px; border: 2px solid var(--line-2);
}
.platforms a:hover { border-color: var(--red); color: #fff; background: rgba(255,26,26,.1); }
.platforms-lg { margin-top: 22px; }
.platforms-sm a { padding: 8px 11px; font-size: 11px; border-width: 1px; }

.about h2 { max-width: 18ch; }
.about-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; margin-top: 22px; align-items: start; }
.prose p { color: var(--soft); max-width: 62ch; margin: 0 0 14px; }
.prose strong { color: #fff; }
.prose a { color: #fff; text-decoration-color: var(--red); text-underline-offset: 3px; }
.facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.facts div { background: var(--bg); padding: 18px; }
.facts dt { font: 600 11px/1 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.facts dd { margin: 8px 0 0; font: 900 44px/1 var(--display); color: var(--red); }

.faq dl { margin: 18px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 40px; }
.faq dl > div { border-top: 1px solid var(--line); padding: 18px 0; }
.faq dt { font: 800 21px/1.1 var(--display); text-transform: uppercase; }
.faq dd { margin: 8px 0 0; color: var(--soft); }

/* ---------- partners ---------- */

.partner-grid { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.partner { display: flex; flex-direction: column; gap: 10px; height: 100%; padding-bottom: 20px; text-decoration: none; border: 1px solid var(--line); background: var(--panel); transition: border-color .2s, transform .2s; }
.partner:hover { border-color: var(--red); color: #fff; transform: translateY(-3px); }
.partner-logo { display: grid; place-items: center; height: 130px; background: radial-gradient(ellipse at 50% 100%, rgba(255,26,26,.1), transparent 70%), #050505; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.partner-logo img { max-width: 60%; max-height: 84px; mix-blend-mode: screen; }
.partner-name { padding: 0 18px; font: 800 22px/1.05 var(--display); text-transform: uppercase; }
.partner-blurb { padding: 0 18px; color: var(--soft); font-size: 14.5px; flex: 1; }
.partner-host { padding: 0 18px; font: 600 12px/1 var(--label); letter-spacing: .06em; color: var(--red); }

/* ---------- footer ---------- */

.foot { margin-top: 80px; border-top: 1px solid var(--line); padding: 40px 0 24px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot-note { color: var(--dim); font-size: 14px; max-width: 36ch; }
.foot-h { font: 600 12px/1 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin: 6px 0 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.foot ul a { text-decoration: none; color: var(--soft); }
.foot-legal { margin-top: 32px; font-size: 12.5px; color: var(--dim); }
.foot-legal a { color: var(--dim); }

/* ---------- player ---------- */

.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; height: var(--player-h);
  display: flex; align-items: center; gap: 14px;
  padding: 0 max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  background: rgba(8,8,8,.95); backdrop-filter: blur(12px); border-top: 2px solid var(--red);
}
.player[hidden] { display: none; }
.pl-art { width: 48px; height: 48px; object-fit: cover; flex: none; }
.pl-btn { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--red); color: #fff; display: grid; place-items: center; flex: none; }
.pl-btn:hover { background: #fff; color: #000; }
.pl-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.pl-title { font: 800 18px/1 var(--display); text-transform: uppercase; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-seek { display: flex; align-items: center; gap: 10px; font: 500 12px/1 var(--label); color: var(--dim); font-variant-numeric: tabular-nums; }
.pl-seek input { flex: 1; accent-color: var(--red); min-width: 0; }
.pl-skip { flex: none; background: none; border: 1px solid var(--line-2); color: var(--soft); font: 700 12px/1 var(--label); padding: 9px 10px; }
.pl-skip:hover { border-color: var(--red); color: #fff; }

/* ---------- small screens ---------- */

@media (max-width: 760px) {
  .logo-img { height: 40px; }
  .hero { grid-template-columns: 1fr; }
  .hero-latest { display: none; }
  .ep { grid-template-columns: 40px 48px 1fr auto; gap: 12px; }
  .ep-play { width: 40px; height: 40px; }
  .ep-art { width: 48px; height: 48px; }
  .ep-title { font-size: 18px; }
  .ep-date { display: none; }
  .ep-dur { min-width: 0; }
  .episode { grid-template-columns: 1fr; }
  .episode-art { max-width: 280px; }
  .takeaways ul { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .pager { grid-template-columns: 1fr; }
  .pager-r { text-align: left; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .pl-skip, .pl-art { display: none; }
  .nav { gap: 4px 16px; font-size: 11.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
