:root {
  --paper: #f8fafc;
  --accent: #f97316;
  --accent-soft: rgba(249, 115, 22, .12);
  --ink: #0f172a;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.52;
}

body::before { content: none; }

a {
  color: inherit;
  text-decoration-thickness: .07em;
  text-underline-offset: .22em;
}

img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(251, 247, 239, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(31,47,70,.18);
}

.nav {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.05rem;
  font-weight: 720;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--accent);
  color: var(--paper);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: .78rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .82rem;
}

.nav-links a {
  text-decoration: none;
  opacity: .82;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  opacity: 1;
  text-decoration: underline;
}

.listen-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.listen-button:hover,
.button:hover {
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

.menu-toggle { display: none; }

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
}

.hero {
  padding: 42px 0 30px;
  border-bottom: 1px solid rgba(31,47,70,.18);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 860px;
}

.eyebrow,
.meta,
.mono {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  text-transform: uppercase;
  font-size: .68rem;
  color: rgba(31,47,70,.64);
}

h1,
h2,
h3 {
  font-family: Fraunces, Georgia, serif;
  line-height: 1.04;
  margin: 0;
}

h1 {
  max-width: 10ch;
  margin-top: 10px;
  font-size: clamp(2rem, 4.4vw, 3.9rem);
  font-weight: 760;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 100%;
  width: min(100%, 720px);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: clamp(2.15rem, 4.2vw, 3.65rem);
  line-height: 1.02;
}

h2 {
  max-width: 18ch;
  font-size: clamp(1.28rem, 2.2vw, 1.95rem);
  font-weight: 700;
}

h3 {
  font-size: 1rem;
  font-weight: 680;
}

.ci-band {
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  background: linear-gradient(to top, var(--accent-soft) 31%, transparent 31%);
  padding: 0 .06em;
}

.lead {
  max-width: 650px;
  margin: 14px auto 0;
  color: rgba(31,47,70,.78);
  font-size: clamp(.9rem, 1.05vw, 1rem);
}

.hero .lead {
  width: min(100%, 760px);
  max-width: 760px;
}

.hero .lead + .lead {
  margin-top: 10px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.below-fold-hint {
  width: min(100%, 720px);
  max-width: 720px;
  margin: 22px auto 0;
  padding-top: 9px;
  border-top: 1px solid rgba(31,47,70,.18);
  text-align: center;
}

.section {
  padding: 38px 0;
  border-bottom: 1px solid rgba(31,47,70,.16);
}

.section.alt {
  background: var(--paper);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(180px, 330px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 18px;
}

.section-head > a {
  justify-self: end;
  align-self: end;
}

.section-head p {
  max-width: 620px;
  margin: 5px 0 0;
  color: rgba(31,47,70,.7);
}

.episode-feature {
  display: grid;
  grid-template-columns: minmax(250px, 360px) minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.player {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: var(--ink);
  color: var(--paper);
}

.player .mono { color: rgba(251,247,239,.7); }

.player-box {
  min-height: 104px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(251,247,239,.28);
  background-image:
    linear-gradient(rgba(251,247,239,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251,247,239,.08) 1px, transparent 1px);
  background-size: 26px 26px;
}

.play-dot {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--paper);
  font-weight: 800;
}

.feature-copy {
  padding: 18px 22px;
  background: rgba(251,247,239,.72);
  border-left: 1px solid var(--ink);
}

.question {
  max-width: 760px;
  margin: 12px 0;
  padding-left: 14px;
  border-left: 6px solid var(--accent);
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.02rem, 1.45vw, 1.3rem);
  line-height: 1.16;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.stat {
  min-height: 88px;
  padding: 14px 16px;
  border-right: 1px solid rgba(31,47,70,.22);
}

.stat:last-child { border-right: 0; }

.stat strong {
  display: block;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: clamp(1.32rem, 2vw, 1.9rem);
  line-height: 1;
}

.stat span {
  display: block;
  max-width: 180px;
  margin-top: 5px;
  color: rgba(31,47,70,.68);
  font-size: .82rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(31,47,70,.22);
  border-left: 1px solid rgba(31,47,70,.18);
}

.card,
.source-card,
.guest-card,
.panel,
.form-panel {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(31,47,70,.22);
}

.card,
.source-card,
.guest-card {
  min-height: 150px;
  padding: 14px 16px;
  border-right: 1px solid rgba(31,47,70,.18);
}

.grid > .form-panel {
  min-height: 150px;
  padding: 14px 16px;
  border-right: 1px solid rgba(31,47,70,.18);
}

.card:nth-child(3n),
.source-card:nth-child(3n),
.guest-card:nth-child(3n),
.grid > .form-panel:nth-child(3n) {
  border-right: 0;
}

.section.alt .grid {
  background: transparent;
}

.section.alt .card:hover,
.section.alt .source-card:hover,
.section.alt .guest-card:hover {
  background: rgba(248,250,252,.82);
}

.card {
  display: grid;
  align-content: start;
  gap: 7px;
}

.grid > .card,
.grid > .source-card,
.grid > .guest-card,
.grid > .form-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.grid > .card .button,
.grid > .form-panel .button {
  width: 100%;
  margin-top: auto;
}

.card:hover,
.source-card:hover,
.guest-card:hover {
  background: rgba(15,23,42,.035);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.episode-no {
  font-weight: 800;
  color: var(--ink);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 7px;
  border: 1px solid rgba(31,47,70,.22);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--ink);
  font-size: .74rem;
  text-decoration: none;
}

.guest-card,
.source-card {
  display: grid;
  align-content: start;
  gap: 7px;
}

.avatar {
  width: 48px;
  height: 48px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, var(--paper) 0 22%, transparent 23%),
    var(--accent);
}

.source-type {
  font-weight: 800;
  color: var(--ink);
}

.band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.controls {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(150px, auto));
  gap: 10px;
  margin-bottom: 16px;
}

.controls input,
.controls select,
.form-panel input,
.form-panel textarea {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid rgba(31,47,70,.28);
  border-radius: var(--radius);
  background: rgba(251,247,239,.78);
  color: var(--ink);
}

.page-hero {
  padding: 38px 0 26px;
  border-bottom: 1px solid rgba(31,47,70,.18);
  background: var(--paper);
  text-align: center;
}

.page-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-hero p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(31,47,70,.7);
  font-size: .92rem;
}

.page-hero h1 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.about-layout {
  width: min(900px, calc(100% - 40px));
  display: grid;
  gap: 22px;
  text-align: center;
}

.about-panel {
  max-width: 820px;
  margin: 0 auto;
  padding: 22px 0;
}

.about-panel h2,
.about-card h2 {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.about-panel p,
.about-card p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.about-card {
  min-height: 210px;
  padding: 18px;
  border: 1px solid rgba(31,47,70,.18);
  border-radius: var(--radius);
  background: rgba(249,115,22,.055);
}

.panel,
.form-panel {
  padding: 16px 0;
}

.stack {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(31,47,70,.22);
}

.list-clean {
  margin: 0;
  padding-left: 20px;
}

.list-clean li { margin: 6px 0; }

.pullquote {
  margin: 14px 0;
  padding: 14px 0 0;
  border-top: 5px solid var(--accent);
  border-left: 0;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  line-height: 1.12;
}

.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border: 0;
}

.process-step {
  min-height: 96px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 16px 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(31,47,70,.18);
  border-radius: var(--radius);
  text-align: center;
}

.process-step strong {
  display: block;
  margin-bottom: 8px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-panel label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.form-panel textarea {
  min-height: 130px;
  resize: vertical;
}

.span-2 { grid-column: 1 / -1; }

.site-footer {
  padding: 28px 0;
  background: var(--ink);
  color: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr .9fr;
  gap: 28px;
}

.site-footer a { color: var(--paper); }
.footer-links { display: grid; gap: 8px; }
.hidden { display: none !important; }

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--ink);
    border-radius: var(--radius);
    background: transparent;
    color: var(--ink);
    font-weight: 900;
  }

  .nav { width: min(100% - 28px, 1160px); }

  .nav-links {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 70px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: var(--paper);
    border: 1px solid var(--ink);
  }

  .nav-links.open { display: flex; }
  .hero-inner,
  .episode-feature,
  .detail-layout,
  .about-cards,
  .band,
  .footer-grid,
  .section-head {
    grid-template-columns: 1fr;
  }

  .hero,
  .page-hero {
    background: var(--paper);
  }

  .hero h1 {
    width: min(100%, 560px);
  }

  .feature-copy { border-left: 0; border-top: 1px solid var(--ink); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card:nth-child(3n),
  .source-card:nth-child(3n),
  .guest-card:nth-child(3n),
  .grid > .form-panel:nth-child(3n) { border-right: 1px solid rgba(31,47,70,.18); }
  .card:nth-child(2n),
  .source-card:nth-child(2n),
  .guest-card:nth-child(2n),
  .grid > .form-panel:nth-child(2n) { border-right: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(31,47,70,.22); }
  .controls { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1120px); }
  h1 { font-size: 2.15rem; }
  .hero h1 { font-size: 2.35rem; }
  .hero { padding-top: 32px; }
  .hero-actions,
  .section-head { align-items: stretch; }
  .button,
  .listen-button { width: 100%; }
  .grid,
  .stats,
  .controls,
  .form-grid,
  .about-cards,
  .process { grid-template-columns: 1fr; }
  .card,
  .source-card,
  .guest-card,
  .grid > .form-panel,
  .card:nth-child(2n),
  .source-card:nth-child(2n),
  .guest-card:nth-child(2n),
  .grid > .form-panel:nth-child(2n),
  .card:nth-child(3n),
  .source-card:nth-child(3n),
  .guest-card:nth-child(3n),
  .grid > .form-panel:nth-child(3n) { border-right: 0; }
  .grid { border-left: 0; }
  .stat,
  .stat:nth-child(2) { border-right: 0; border-bottom: 1px solid rgba(31,47,70,.22); }
  .stat:last-child { border-bottom: 0; }
  .section { padding: 32px 0; }
}
