:root {
  --accent: #FF4500;
  --accent-hot: #FF7A3D;
  --gold: #F5C842;
  --bg: #0A0A0A;
  --card: #161616;
  --raised: #202020;
  --border: #2A2A2A;
  --text: #FAFAFA;
  --muted: #A3A3A3;
  --dim: #6B6B6B;
  --radius: 12px;
  --radius-lg: 16px;
  --player-height: 84px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; background: var(--bg); }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--player-height);
  min-height: 100vh;
}
body.no-player { padding-bottom: 0; }

a { color: var(--accent); text-decoration: none; transition: color .15s; }
a:hover { color: var(--accent-hot); }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--accent); color: #fff; }

/* Skip link for accessibility */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--accent); color: #fff; padding: 10px 16px; z-index: 9999; }
.skip-link:focus { left: 0; }

/* ── Layout ─────────────────────────────────────────────── */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) {
  .wrap, .wrap-narrow { padding: 0 16px; }
}

/* ── Site nav ───────────────────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,10,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.nav-logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em; }
.nav-logo:hover { color: var(--accent); }
.nav-logo svg { width: 36px; height: 33px; }
.nav-links { display: flex; gap: 4px; flex: 1 1 auto; margin-left: 12px; }
.nav-links a { color: var(--muted); padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: .92rem; transition: background .15s, color .15s; }
.nav-links a:hover { color: var(--text); background: var(--raised); }
.nav-links a.active { color: var(--text); background: var(--raised); }
.nav-cta { background: var(--accent); color: #fff !important; padding: 8px 18px; border-radius: 999px; font-weight: 600; font-size: .9rem; }
.nav-cta:hover { background: var(--accent-hot); color: #fff !important; }
.nav-menu-btn { display: none; background: transparent; border: 0; color: var(--text); font-size: 1.5rem; padding: 4px 8px; }
@media (max-width: 720px) {
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: var(--card); border-bottom: 1px solid var(--border); padding: 12px; gap: 2px; }
  .nav-links.open { display: flex; }
  .nav-menu-btn { display: block; margin-left: auto; }
  .nav-cta { display: none; }
  .nav-links.open .nav-cta { display: inline-block; margin-top: 6px; text-align: center; }
}

/* ── Hero (home) ────────────────────────────────────────── */
.hero {
  background: radial-gradient(1100px 600px at 20% 0%, rgba(255,69,0,.18), transparent 60%),
              radial-gradient(900px 500px at 90% 30%, rgba(245,200,66,.10), transparent 60%),
              linear-gradient(180deg, #121212 0%, var(--bg) 80%);
  padding: 60px 0 48px;
  border-bottom: 1px solid var(--border);
}
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 900px) { .hero-inner { grid-template-columns: 320px 1fr; gap: 48px; } }
.hero-art { width: 100%; max-width: 320px; aspect-ratio: 1/1; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.5), 0 10px 20px rgba(255,69,0,.15); border: 1px solid var(--border); }
.hero-art img, .hero-art svg { width: 100%; height: 100%; object-fit: cover; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; background: rgba(255,69,0,.12); border: 1px solid rgba(255,69,0,.3); color: var(--accent); border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero-eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 4px rgba(255,69,0,.25); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(255,69,0,.25); } 50% { box-shadow: 0 0 0 8px rgba(255,69,0,.05); } }
.hero-tag { display: inline-block; padding: 4px 10px; background: var(--raised); color: var(--muted); border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: .04em; }
.hero h1 { font-size: clamp(1.7rem, 4.2vw, 2.8rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; margin-bottom: 12px; }
.hero .summary { color: var(--muted); font-size: 1.05rem; line-height: 1.55; max-width: 60ch; margin-bottom: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ── Buttons ────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 999px; font-weight: 600; font-size: .92rem; transition: transform .12s, background .15s; border: 0; }
.btn:active { transform: translateY(1px); }
.btn-play { background: var(--accent); color: #fff; padding: 12px 24px 12px 20px; }
.btn-play:hover { background: var(--accent-hot); color: #fff; }
.btn-play svg { width: 18px; height: 18px; fill: currentColor; }
.btn-ghost { background: rgba(255,255,255,.06); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--raised); color: var(--text); }
.btn svg { flex: 0 0 auto; }

/* ── Section heading ────────────────────────────────────── */
.section { padding: 56px 0 16px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 24px; gap: 16px; }
.section-head h2 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.section-head .more { color: var(--muted); font-size: .9rem; font-weight: 500; }
.section-head .more:hover { color: var(--accent); }

/* ── Episode grid ───────────────────────────────────────── */
.ep-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.ep-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .15s, border-color .15s, background .15s; display: flex; flex-direction: column; }
.ep-card:hover { transform: translateY(-3px); border-color: #3a3a3a; background: #1a1a1a; }
.ep-card-art { position: relative; aspect-ratio: 1/1; background: var(--raised); overflow: hidden; }
.ep-card-art img, .ep-card-art svg { width: 100%; height: 100%; object-fit: cover; }
.ep-card-art .ep-num { position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,.65); backdrop-filter: blur(8px); color: var(--text); padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; }
.ep-card-art .ep-badge { position: absolute; top: 10px; right: 10px; background: var(--accent); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ep-card-art .ep-play { position: absolute; bottom: 12px; right: 12px; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(0,0,0,.5); transform: translateY(8px); opacity: 0; transition: transform .2s, opacity .2s, background .15s; border: 0; }
.ep-card-art .ep-play svg { width: 20px; height: 20px; fill: #fff; margin-left: 2px; }
.ep-card:hover .ep-play { opacity: 1; transform: translateY(0); }
.ep-card-art .ep-play:hover { background: var(--accent-hot); }
.ep-card-body { padding: 16px 18px 18px; flex: 1 1 auto; display: flex; flex-direction: column; }
.ep-card-meta { display: flex; gap: 10px; font-size: .72rem; color: var(--dim); margin-bottom: 8px; letter-spacing: .04em; }
.ep-card-meta .dot { color: var(--dim); }
.ep-card h3 { color: var(--text); font-size: 1rem; font-weight: 700; line-height: 1.3; margin-bottom: 8px; letter-spacing: -.01em; }
.ep-card h3 a { color: inherit; }
.ep-card h3 a:hover { color: var(--accent); }
.ep-card p { color: var(--muted); font-size: .85rem; line-height: 1.5; flex: 1 1 auto; }

/* ── Episode landing page ──────────────────────────────── */
.ep-page { padding: 40px 0; }
.ep-header { display: grid; grid-template-columns: 1fr; gap: 28px; margin-bottom: 36px; }
@media (min-width: 900px) { .ep-header { grid-template-columns: 280px 1fr; gap: 36px; } }
.ep-art { width: 100%; max-width: 280px; aspect-ratio: 1/1; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.ep-art.is-short { aspect-ratio: 9/16; max-width: 220px; }
.ep-art img, .ep-art svg, .ep-art video { width: 100%; height: 100%; object-fit: cover; }
.ep-meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; font-size: .78rem; color: var(--muted); letter-spacing: .04em; }
.ep-meta-row .badge { background: rgba(255,69,0,.15); color: var(--accent); padding: 3px 10px; border-radius: 999px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .68rem; }
.ep-meta-row .badge.short { background: rgba(245,200,66,.15); color: var(--gold); }
.ep-meta-row .badge.explicit { background: #b83232; color: #fff; }
.ep-title { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 14px; }
.ep-summary { color: var(--muted); font-size: 1.05rem; line-height: 1.6; max-width: 60ch; margin-bottom: 22px; }
.ep-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* Media player (inline on episode page) */
.player-wrap { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 36px; }
.player-media { background: #000; }
.player-media video { display: block; width: 100%; max-height: 70vh; background: #000; margin: 0 auto; }
.player-media video.vertical { max-height: 80vh; width: auto; max-width: 100%; }
.player-media audio { width: 100%; }
.player-controls { padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.player-controls .left { display: flex; align-items: center; gap: 12px; font-size: .85rem; color: var(--muted); }
.player-controls .right { display: flex; align-items: center; gap: 10px; }
.dl-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .85rem; padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; transition: background .15s, color .15s; }
.dl-link:hover { background: var(--raised); color: var(--text); }

/* Episode body content */
.ep-body { max-width: 720px; }
.ep-body h2 { font-size: 1.4rem; font-weight: 700; margin: 32px 0 14px; letter-spacing: -.01em; }
.ep-body h3 { font-size: 1.1rem; font-weight: 700; margin: 24px 0 10px; }
.ep-body p { margin-bottom: 16px; color: var(--text); font-size: 1.02rem; line-height: 1.7; }
.ep-body ul, .ep-body ol { margin: 0 0 18px 22px; color: var(--text); }
.ep-body li { margin-bottom: 8px; line-height: 1.6; }
.ep-body blockquote { border-left: 3px solid var(--accent); padding-left: 18px; margin: 22px 0; color: var(--muted); font-style: italic; }
.ep-body a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ep-body code { background: var(--raised); padding: 2px 6px; border-radius: 4px; font-size: .9em; }

.show-notes { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 26px; margin: 28px 0; }
.show-notes h3 { margin-top: 0; color: var(--accent); }
.show-notes ul { margin-bottom: 0; }

/* Sources / citations block — proof every claim */
.sources { background: var(--card); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 22px 26px; margin: 28px 0; }
.sources h3 { margin-top: 0; color: var(--accent); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; margin-bottom: 14px; }
.sources ol { margin: 0 0 0 22px; color: var(--muted); font-size: .92rem; line-height: 1.65; padding-left: 4px; }
.sources li { margin-bottom: 10px; word-break: break-word; padding-left: 4px; }
.sources li:last-child { margin-bottom: 0; }
.sources a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(255,69,0,.45); text-underline-offset: 2px; }
.sources a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.sources em { color: var(--muted); font-style: normal; opacity: .82; }

/* Email signup form */
.email-form { display: flex; gap: 10px; max-width: 460px; }
.email-form input[type="email"] { flex: 1 1 auto; background: var(--bg); border: 1px solid var(--border); border-radius: 999px; color: var(--text); padding: 11px 18px; font: inherit; font-size: .92rem; transition: border-color .15s; min-width: 0; }
.email-form input[type="email"]:focus { outline: none; border-color: var(--accent); }
.email-form input[type="email"]::placeholder { color: var(--dim); }
.email-form button { background: var(--accent); color: #fff; border: 0; border-radius: 999px; padding: 11px 22px; font-weight: 700; font-size: .92rem; cursor: pointer; transition: background .15s; white-space: nowrap; }
.email-form button:hover { background: var(--accent-hot); }
.email-form-note { font-size: .78rem; color: var(--dim); margin-top: 10px; }
.footer-email-form { margin-top: 8px; }
.footer-email-form input[type="email"] { padding: 9px 14px; font-size: .85rem; }
.footer-email-form button { padding: 9px 18px; font-size: .85rem; }

/* Transcript */
.transcript-toggle { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--text); }
.transcript-toggle::after { content: "+"; font-size: 1.4rem; color: var(--muted); }
details[open] .transcript-toggle::after { content: "−"; }
.transcript-body { background: var(--card); border: 1px solid var(--border); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); padding: 22px 24px; max-height: 480px; overflow-y: auto; color: var(--muted); font-size: .95rem; line-height: 1.7; }
.transcript-body p { margin-bottom: 14px; }

/* ── Persistent bottom player ──────────────────────────── */
.bottom-player {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--player-height);
  background: var(--raised);
  border-top: 1px solid var(--border);
  display: none;
  align-items: center;
  padding: 0 18px;
  gap: 16px;
  z-index: 100;
  box-shadow: 0 -10px 30px rgba(0,0,0,.4);
}
.bottom-player.active { display: flex; }
.bp-art { width: 56px; height: 56px; border-radius: 6px; background: var(--card); overflow: hidden; flex: 0 0 auto; }
.bp-art img { width: 100%; height: 100%; object-fit: cover; }
.bp-info { flex: 0 0 auto; min-width: 0; max-width: 240px; }
.bp-info .title { color: var(--text); font-size: .88rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bp-info .sub { color: var(--muted); font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bp-info a { color: inherit; }
.bp-controls { flex: 1 1 auto; display: flex; flex-direction: column; gap: 6px; max-width: 600px; margin: 0 auto; }
.bp-controls .buttons { display: flex; align-items: center; justify-content: center; gap: 14px; }
.bp-btn { background: transparent; border: 0; color: var(--muted); padding: 4px; transition: color .15s; display: flex; align-items: center; }
.bp-btn:hover { color: var(--text); }
.bp-btn svg { width: 18px; height: 18px; fill: currentColor; }
.bp-btn.play { background: var(--text); color: var(--bg); width: 34px; height: 34px; border-radius: 50%; justify-content: center; }
.bp-btn.play:hover { background: #fff; transform: scale(1.05); }
.bp-btn.play svg { width: 14px; height: 14px; margin-left: 1px; }
.bp-progress { display: flex; align-items: center; gap: 10px; font-size: .72rem; color: var(--dim); }
.bp-scrub { flex: 1 1 auto; appearance: none; -webkit-appearance: none; background: transparent; cursor: pointer; height: 16px; }
.bp-scrub::-webkit-slider-runnable-track { height: 4px; background: linear-gradient(to right, var(--accent) var(--p, 0%), #404040 var(--p, 0%)); border-radius: 2px; }
.bp-scrub::-moz-range-track { height: 4px; background: #404040; border-radius: 2px; }
.bp-scrub::-moz-range-progress { height: 4px; background: var(--accent); border-radius: 2px; }
.bp-scrub::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; background: var(--text); border-radius: 50%; margin-top: -4px; opacity: 0; transition: opacity .15s; }
.bp-scrub:hover::-webkit-slider-thumb { opacity: 1; }
.bp-right { display: flex; align-items: center; gap: 12px; }
.bp-speed { background: transparent; border: 1px solid var(--border); color: var(--muted); border-radius: 6px; padding: 3px 8px; font-size: .75rem; font-weight: 600; }
.bp-close { background: transparent; border: 0; color: var(--dim); padding: 4px; }
.bp-close:hover { color: var(--text); }
@media (max-width: 720px) {
  .bottom-player { padding: 0 12px; gap: 10px; height: 70px; }
  :root { --player-height: 70px; }
  .bp-info { max-width: none; flex: 1 1 auto; }
  .bp-controls .bp-progress { display: none; }
  .bp-right { display: none; }
  .bp-art { width: 44px; height: 44px; }
}

/* ── Subscribe page tiles ──────────────────────────────── */
.sub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 28px 0; }
.sub-tile { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 20px; display: flex; align-items: center; gap: 14px; transition: border-color .15s, background .15s; color: var(--text); }
.sub-tile:hover { border-color: var(--accent); background: #1a1a1a; color: var(--text); }
.sub-tile .icon { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.sub-tile .name { font-weight: 700; font-size: 1rem; }
.sub-tile .desc { font-size: .78rem; color: var(--muted); }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { margin-top: 80px; padding: 40px 0 32px; border-top: 1px solid var(--border); color: var(--muted); font-size: .85rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 28px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-grid h4 { color: var(--text); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; font-weight: 700; }
.footer-grid a { display: block; color: var(--muted); padding: 4px 0; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom { padding-top: 20px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
