/* ==========================================================================
   A Soundtrack of Resistance — site styles
   Artwork-forward. Monochrome base. Acid-yellow pop. Dark mode.
   ========================================================================== */

/* --- Reset & base -------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variation-settings: 'opsz' 16, 'wdth' 100, 'wght' 400;
  transition: background-color 0.3s ease, color 0.3s ease;
}

img,
svg,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}

a:hover {
  color: var(--ink);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

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

/* --- Design tokens ------------------------------------------------------- */
:root {
  /* Light theme (default) */
  --bg: #FAFAF7;
  --bg-alt: #F0EFEA;
  --bg-card: #FFFFFF;
  --ink: #0A0907;
  --ink-soft: #26241F;
  --ink-muted: #6A675F;
  --accent: #ECFE1B;         /* acid yellow — graphic pop */
  --accent-ink: #0A0907;     /* what goes ON yellow */
  --line: #D6D3CC;
  --line-soft: #E4E2DB;

  /* Type */
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --sans: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  /* Layout */
  --max: 1400px;
  --content: 720px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

[data-theme="dark"] {
  --bg: #0A0907;
  --bg-alt: #121110;
  --bg-card: #181715;
  --ink: #F2F0EA;
  --ink-soft: #D5D2CA;
  --ink-muted: #8F8B82;
  --accent: #ECFE1B;
  --accent-ink: #0A0907;
  --line: #2A2824;
  --line-soft: #1D1B18;
}

/* --- Typography ---------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0 0 0.5em;
  font-variation-settings: 'opsz' 96, 'wdth' 100, 'wght' 600;
}

h1 {
  font-size: clamp(3rem, 10vw, 8rem);
  letter-spacing: -0.045em;
  font-weight: 500;
  line-height: 0.92;
  font-variation-settings: 'opsz' 96, 'wdth' 95, 'wght' 500;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  letter-spacing: -0.035em;
  font-weight: 500;
}

h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
  letter-spacing: -0.025em;
  font-weight: 600;
  line-height: 1.05;
}

h4 {
  font-size: 0.72rem;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-variation-settings: 'opsz' 12, 'wdth' 100, 'wght' 600;
}

p {
  margin: 0 0 1.2em;
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  line-height: 1.15;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.025em;
  font-variation-settings: 'opsz' 48, 'wdth' 100, 'wght' 400;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: inline-block;
  margin-bottom: 1.25rem;
}

.caption {
  font-size: 0.82rem;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

/* --- Layout helpers ----------------------------------------------------- */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.wrap-narrow {
  max-width: var(--content);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

section {
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* --- Header / Navigation ------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 2rem;
}

.nav-brand {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-variation-settings: 'opsz' 14, 'wdth' 100, 'wght' 600;
}

.nav-brand:hover {
  color: var(--ink);
}

.nav-brand .brand-mark {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 2px;
  color: transparent;
  margin: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s var(--ease);
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  transition: background 0.2s ease, color 0.2s ease;
}

.theme-toggle:hover {
  background: var(--bg-alt);
  color: var(--ink);
}

.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.25rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links li {
    width: 100%;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-links li:last-child {
    border-bottom: 0;
  }
  .nav-links a {
    display: block;
    padding: 0.95rem 0;
    font-size: 1rem;
  }
  .nav-links a::after { display: none; }
}

/* --- Hero --------------------------------------------------------------- */
.hero {
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 7vw, 5rem);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-art {
    order: -1;
    max-width: 520px;
    margin: 0 auto;
  }
}

.hero-title {
  font-size: clamp(3.25rem, 10vw, 8rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.88;
  margin-bottom: 1.5rem;
  color: var(--ink);
  font-variation-settings: 'opsz' 96, 'wdth' 95, 'wght' 500;
}

.hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  display: inline-block;
  padding-bottom: 0.02em;
}

.hero-title em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.05em;
  height: 0.12em;
  background: var(--accent);
  z-index: -1;
}

.hero-tagline {
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  color: var(--ink-soft);
  margin-bottom: 2rem;
  max-width: 38ch;
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 400;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
  font-weight: 500;
}

.hero-meta strong {
  color: var(--ink);
  font-weight: 600;
}

.hero-art {
  position: relative;
  background: transparent;
  overflow: visible;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.hero-player {
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow:
    0 50px 100px -30px rgba(10, 9, 7, 0.35),
    0 25px 50px -20px rgba(10, 9, 7, 0.2);
}

[data-theme="dark"] .hero-player {
  box-shadow:
    0 50px 100px -30px rgba(0, 0, 0, 0.7),
    0 25px 50px -20px rgba(0, 0, 0, 0.5);
}

.hero-player iframe {
  display: block;
  width: 100%;
  border: 0;
}

/* --- Subscribe buttons -------------------------------------------------- */
.subscribe-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.25rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: 2px;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  background: transparent;
  transition: all 0.15s var(--ease);
  cursor: pointer;
  font-variation-settings: 'opsz' 14, 'wdth' 100, 'wght' 600;
}

.btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--bg);
  border-color: var(--ink);
  color: var(--ink);
}

.btn-spotify {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.btn-apple {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink-soft);
}

.btn-ghost:hover {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* --- About show --------------------------------------------------------- */
.about-show {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.about-show-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 5vw, 5rem);
}

@media (max-width: 820px) {
  .about-show-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.about-show .lead p {
  margin-bottom: 1em;
}

/* --- Section header ---------------------------------------------------- */
.section-head {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.section-head h2 {
  margin: 0;
}

.section-head .section-meta {
  font-size: 0.78rem;
  color: var(--ink-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

/* --- Episode grid ------------------------------------------------------- */
.episodes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

@media (max-width: 1024px) {
  .episodes {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .episodes {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.episode-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: transform 0.2s var(--ease);
}

.episode-card:hover {
  text-decoration: none;
  color: inherit;
}

.episode-card:hover .episode-art img {
  transform: scale(1.05);
}

.episode-card:hover .episode-title {
  background-size: 100% 100%;
}

.episode-art {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-alt);
  margin-bottom: 1.25rem;
  position: relative;
}

.episode-art::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(10, 9, 7, 0.04);
  pointer-events: none;
}

[data-theme="dark"] .episode-art::after {
  border-color: rgba(255, 255, 255, 0.06);
}

.episode-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.episode-meta-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
  font-family: var(--sans);
}

.episode-number {
  color: var(--ink);
  font-weight: 700;
}

.episode-meta-top .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ink-muted);
  display: inline-block;
}

.episode-card-title-wrap {
  margin-bottom: 0.75rem;
}

.episode-title {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--ink);
  display: inline;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 100%;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.3s var(--ease);
  padding: 0 2px;
  margin-left: -2px;
  font-variation-settings: 'opsz' 36, 'wdth' 95, 'wght' 600;
}

.episode-description {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: 0.85rem;
  max-width: 54ch;
}

.episode-guests {
  font-size: 0.8rem;
  color: var(--ink-muted);
  font-weight: 500;
}

.episode-guests strong {
  color: var(--ink);
  font-weight: 600;
}

.episode-cta {
  display: none;
}

/* --- Team --------------------------------------------------------------- */
.team {
  background: var(--bg-alt);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.host-feature {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-bottom: 4rem;
}

@media (max-width: 720px) {
  .host-feature {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.host-portrait {
  aspect-ratio: 4 / 5;
  background: var(--bg-card);
  overflow: hidden;
  max-width: 380px;
  border: 1px solid var(--line-soft);
}

.host-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.host-bio h3 {
  margin-bottom: 1rem;
}

.host-bio p {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.credits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem 1.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.credit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.credit-portrait {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line-soft);
  flex-shrink: 0;
}

.credit-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.credit-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
  background: var(--bg-alt);
  text-transform: uppercase;
}

.credit-text {
  display: flex;
  flex-direction: column;
}

.credit .role {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-muted);
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-family: var(--sans);
}

.credit .name {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* About Navicula — band photo */
.about-band {
  text-align: left;
}

.about-band-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 720px) {
  .about-band-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.about-band-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-alt);
}

.about-band-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- About Navicula ----------------------------------------------------- */
.about-band p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.about-band h2 {
  margin-bottom: 1.25rem;
}

.about-band .subscribe-row {
  justify-content: flex-start;
  margin-top: 1.75rem;
}

/* --- Footer ------------------------------------------------------------- */
.site-footer {
  background: #0A0907;
  color: #F2F0EA;
  padding: 4rem 0 2.5rem;
}

[data-theme="dark"] .site-footer {
  background: #050403;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.site-footer h4 {
  color: #F2F0EA;
  opacity: 0.5;
  margin-bottom: 1rem;
  font-size: 0.72rem;
}

.site-footer a {
  color: #F2F0EA;
  opacity: 0.85;
}

.site-footer a:hover {
  opacity: 1;
  color: var(--accent);
}

.footer-tagline {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  opacity: 1;
  margin-bottom: 1.75rem;
  max-width: 20ch;
  font-weight: 500;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(242, 240, 234, 0.14);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  opacity: 0.6;
}

.site-footer .btn {
  border-color: rgba(242, 240, 234, 0.35);
  color: #F2F0EA;
  background: transparent;
}

.site-footer .btn:hover {
  background: #F2F0EA;
  border-color: #F2F0EA;
  color: #0A0907;
}

/* ==========================================================================
   EPISODE PAGE STYLES
   ========================================================================== */

.episode-hero {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 5vw, 4rem);
}

.episode-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

@media (max-width: 820px) {
  .episode-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .episode-hero-art {
    max-width: 420px;
    margin: 0;
    order: -1;
  }
}

.episode-hero-art {
  aspect-ratio: 1 / 1;
  background: var(--bg-alt);
  overflow: hidden;
  box-shadow:
    0 50px 100px -30px rgba(10, 9, 7, 0.35),
    0 25px 50px -20px rgba(10, 9, 7, 0.2);
}

[data-theme="dark"] .episode-hero-art {
  box-shadow:
    0 50px 100px -30px rgba(0, 0, 0, 0.7),
    0 25px 50px -20px rgba(0, 0, 0, 0.5);
}

.episode-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.episode-hero-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
  font-family: var(--sans);
  flex-wrap: wrap;
}

.episode-hero-meta .episode-number {
  color: var(--ink);
  font-weight: 700;
}

.episode-hero-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ink-muted);
  display: inline-block;
}

.episode-hero h1 {
  margin-bottom: 1.5rem;
  font-weight: 500;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  letter-spacing: -0.045em;
  line-height: 0.92;
  font-variation-settings: 'opsz' 96, 'wdth' 95, 'wght' 500;
}

.content-warning {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  background: transparent;
  color: var(--ink-muted);
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 0.74rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.player-card {
  background: var(--bg-alt);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 2.25rem 0;
}

.player-card .wrap {
  max-width: 820px;
}

.player-card iframe {
  width: 100%;
  border-radius: 8px;
  border: 0;
}

.episode-body {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.episode-body article {
  max-width: var(--content);
  margin: 0 auto;
}

.episode-body h2 {
  margin-top: 3rem;
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--ink);
  letter-spacing: -0.03em;
  font-weight: 600;
  display: inline-block;
}

.episode-body h2:first-child {
  margin-top: 0;
}

.episode-body p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.episode-body p:first-of-type {
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.02em;
}

/* Guest list */
.guests-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0;
}

.guest-item {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.guest-item:last-child {
  border-bottom: 0;
}

.guest-name {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.2rem;
  letter-spacing: -0.025em;
}

.guest-name a {
  color: var(--ink);
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 100%;
  background-repeat: no-repeat;
  background-position: left bottom;
  padding: 0 2px;
  margin-left: -2px;
  transition: background-size 0.25s var(--ease);
}

.guest-name a:hover {
  background-size: 100% 100%;
}

.guest-role {
  font-size: 0.88rem;
  color: var(--ink-muted);
}

/* Show notes */
.notes-group {
  margin: 1.5rem 0;
}

.notes-group h3 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 1.75rem 0 0.75rem;
}

.notes-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.notes-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.98rem;
  line-height: 1.5;
}

.notes-list li:last-child {
  border-bottom: 0;
}

.notes-list a {
  color: var(--ink);
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 100%;
  background-repeat: no-repeat;
  background-position: left bottom;
  padding: 0 2px;
  margin-left: -2px;
  transition: background-size 0.25s var(--ease);
}

.notes-list a:hover {
  background-size: 100% 100%;
}

.notes-list .source {
  display: block;
  font-size: 0.76rem;
  color: var(--ink-muted);
  margin-top: 0.15rem;
}

/* Transcript callout */
.transcript-callout {
  margin-top: 3rem;
  padding: 1.75rem 2rem;
  background: var(--ink);
  color: var(--bg);
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.transcript-callout p {
  margin: 0;
  font-size: 1rem;
  flex: 1;
  min-width: 200px;
  color: var(--bg);
}

.transcript-callout strong {
  color: var(--accent);
  font-weight: 700;
}

.transcript-callout .btn {
  border-color: var(--bg);
  color: var(--bg);
  background: transparent;
}

.transcript-callout .btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.transcript-callout .btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.transcript-callout .btn-primary:hover {
  background: var(--bg);
  border-color: var(--bg);
  color: var(--ink);
}

.transcript-callout .btn-ghost {
  border-color: var(--bg);
  color: var(--bg);
  opacity: 0.9;
}

/* Episode nav (prev/next) */
.episode-nav {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 3rem 0;
}

.episode-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 640px) {
  .episode-nav-grid {
    grid-template-columns: 1fr;
  }
}

.episode-nav-item {
  display: block;
  padding: 1.75rem;
  background: var(--bg);
  border: 1px solid var(--line-soft);
  text-decoration: none;
  color: inherit;
  transition: all 0.15s var(--ease);
}

.episode-nav-item:hover {
  border-color: var(--ink);
  text-decoration: none;
  transform: translateY(-2px);
}

.episode-nav-item.next {
  text-align: right;
}

.episode-nav-item .label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-family: var(--sans);
}

.episode-nav-item:hover .label {
  color: var(--ink-muted);
}

.episode-nav-item .ep-title {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.episode-nav-item:hover .ep-title {
  color: var(--ink);
}

.episode-nav-item.disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* Back to all episodes */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 2rem;
  font-family: var(--sans);
}

.back-link:hover {
  color: var(--ink);
  text-decoration: none;
}

/* --- Cinematic anchor --------------------------------------------------- */
.cinematic {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  max-height: 70vh;
  background: #0A0907;
}

.cinematic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.cinematic::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,9,7,0) 40%, rgba(10,9,7,0.55) 100%);
  pointer-events: none;
}

.cinematic-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(1.5rem, 4vw, 3rem);
  color: #F2F0EA;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.75;
  z-index: 2;
}

@media (max-width: 720px) {
  .cinematic { aspect-ratio: 4 / 3; }
}

/* --- Voices / pull-quote strip ----------------------------------------- */
.voices {
  background: #0A0907;
  color: #F2F0EA;
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.voices .eyebrow {
  color: #ECFE1B;
  opacity: 1;
  margin-bottom: 2.5rem;
  display: block;
}

.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
}

@media (max-width: 820px) {
  .voices-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.voice {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-top: 1px solid rgba(242, 240, 234, 0.15);
  padding-top: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s var(--ease);
}

.voice:hover {
  transform: translateY(-4px);
  text-decoration: none;
  color: inherit;
}

.voice-quote {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: #F2F0EA;
  margin: 0;
}

.voice-quote::before {
  content: "\201C";
  margin-right: 0.05em;
  color: #ECFE1B;
}

.voice-quote::after {
  content: "\201D";
  color: #ECFE1B;
}

.voice-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 240, 234, 0.65);
  font-weight: 600;
  margin-top: auto;
}

.voice-meta .arrow {
  color: #ECFE1B;
  transition: transform 0.2s var(--ease);
}

.voice:hover .arrow {
  transform: translateX(4px);
}

/* --- Featured episode card --------------------------------------------- */
.featured-episode {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--line);
  background: var(--bg-card);
  margin-bottom: clamp(3rem, 5vw, 4rem);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s var(--ease), transform 0.25s var(--ease);
}

.featured-episode:hover {
  border-color: var(--ink);
  text-decoration: none;
  color: inherit;
}

@media (max-width: 820px) {
  .featured-episode { grid-template-columns: 1fr; }
}

.featured-art {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-alt);
}

.featured-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-body .eyebrow {
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.featured-body h3 {
  font-family: var(--display);
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 1rem 0;
  font-weight: 600;
}

.featured-body p {
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  max-width: 56ch;
}

.featured-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 700;
}

.featured-episode:hover .featured-cta .arrow {
  transform: translateX(4px);
}

.featured-cta .arrow { transition: transform 0.2s var(--ease); }

/* --- Utilities ---------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
