:root {
  --ink: #15191c;
  --muted: #5d666c;
  --line: #d9dddf;
  --paper: #f6f7f6;
  --white: #ffffff;
  --red: #d83a2e;
  --red-dark: #a72921;
  --cyan: #0c7f92;
  --yellow: #f1bf3c;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { display: block; max-width: 100%; }

.site-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 12px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: var(--ink);
  border-bottom: 4px solid var(--red);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand img { width: 48px; height: 48px; object-fit: cover; }
.brand span { display: grid; }
.brand b { font-size: 17px; line-height: 1.2; }
.brand small { color: #bbc2c5; }

nav { display: flex; align-items: center; gap: 26px; }
nav a { color: #e8ebec; text-decoration: none; font-size: 14px; font-weight: 700; }
nav a:hover, nav a[aria-current="page"] { color: var(--yellow); }

main { min-height: 70vh; }

.latest {
  display: grid;
  grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
  max-width: var(--max);
  min-height: min(720px, calc(100vh - 78px));
  margin: 0 auto;
  padding: 52px 24px 72px;
}

.latest-art { position: relative; }
.latest-art::before {
  content: "";
  position: absolute;
  inset: 20px -18px -18px 20px;
  z-index: -1;
  background: var(--cyan);
}
.latest-art img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid #aeb5b8; }

.kicker {
  margin: 0 0 10px;
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1, h2 { margin: 0; line-height: 1.08; font-family: Georgia, "Times New Roman", serif; }
h1 { max-width: 820px; font-size: clamp(38px, 5vw, 66px); }
h2 { font-size: clamp(28px, 3vw, 42px); }

.dek { max-width: 760px; margin: 22px 0; color: #394146; font-size: 18px; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 20px 0; color: var(--muted); font-size: 13px; font-weight: 700; }
.byline span { width: 4px; height: 4px; border-radius: 50%; background: var(--red); }

iframe { display: block; max-width: 650px; margin: 24px 0 18px; border: 0; }

.listen-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 18px; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 10px 17px; border: 1px solid var(--ink); font-size: 14px; font-weight: 800; text-decoration: none; }
.button.primary { color: var(--white); background: var(--ink); }
.button.secondary { background: var(--white); }
.button.disabled { opacity: .58; cursor: default; }
.text-link { color: var(--red-dark); font-weight: 800; }

.mission { padding: 72px max(24px, calc((100vw - 900px) / 2)); color: var(--white); background: var(--ink); border-top: 8px solid var(--yellow); }
.mission .kicker { color: var(--yellow); }
.mission p:last-child { max-width: 740px; margin: 22px 0 0; color: #cbd0d2; font-size: 18px; }

.recent, .archive-list { max-width: var(--max); margin: 0 auto; padding: 72px 24px 90px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 30px; }
.episode-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.episode-card { padding: 24px 24px 26px 0; border-bottom: 1px solid var(--line); }
.episode-grid .episode-card + .episode-card { padding-left: 24px; border-left: 1px solid var(--line); }
.episode-card h2 { margin: 7px 0 14px; font-size: 25px; }
.episode-card h2 a { text-decoration: none; }
.episode-card h2 a:hover { color: var(--red-dark); }
.episode-card p { color: var(--muted); }
.episode-date { color: var(--cyan); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.episode-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; font-weight: 700; }
.episode-meta a { color: var(--red-dark); }

.page-header, .episode-hero { padding: 76px max(24px, calc((100vw - 980px) / 2)); background: var(--white); border-bottom: 1px solid var(--line); }
.page-header > p:not(.kicker) { max-width: 720px; color: var(--muted); font-size: 19px; }
.archive-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }

.back-link { display: inline-block; margin-bottom: 34px; color: var(--muted); font-size: 13px; font-weight: 800; }
.episode-hero h1 { font-size: clamp(38px, 5vw, 62px); }
.article-layout { display: grid; grid-template-columns: 230px minmax(0, 720px); gap: 64px; justify-content: center; padding: 70px 24px 100px; }
.fact-box { position: sticky; top: 24px; padding-top: 15px; border-top: 4px solid var(--yellow); color: var(--muted); font-size: 14px; }
.fact-box b { color: var(--ink); }
.article-body > h2 { margin-bottom: 30px; }
.article-body > p { margin: 0 0 22px; font-family: Georgia, "Times New Roman", serif; font-size: 20px; line-height: 1.68; }
.sources { margin-top: 64px; padding-top: 38px; border-top: 1px solid var(--line); }
.sources > p { color: var(--muted); }
.sources ol { padding-left: 22px; }
.sources li { margin: 12px 0; padding-left: 8px; }
.sources a { color: var(--cyan); overflow-wrap: anywhere; }

.prose-page { max-width: 760px; padding: 64px 24px 100px; margin: 0 auto; }
.prose-page h2 { margin: 38px 0 16px; font-size: 32px; }
.prose-page p { color: #343b3f; font-family: Georgia, "Times New Roman", serif; font-size: 20px; line-height: 1.7; }

.mark-bio {
  margin: 64px 0;
  padding: 38px 40px 34px;
  color: var(--white);
  background: var(--ink);
  border-top: 8px solid var(--yellow);
}
.mark-bio h2 { margin-top: 0; }
.mark-bio p { color: #d5dadd; }
.mark-bio .bio-label {
  margin: 0 0 8px;
  color: var(--yellow);
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.mark-bio .bio-note {
  margin: 30px 0 0;
  padding-top: 18px;
  color: #aeb7bb;
  border-top: 1px solid #424a4e;
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

footer { display: grid; grid-template-columns: 1.4fr 1fr; gap: 38px; padding: 52px max(24px, calc((100vw - var(--max)) / 2)); color: #d6dadd; background: #202529; border-top: 4px solid var(--cyan); }
footer p { max-width: 520px; color: #aeb6ba; }
.footer-links { display: grid; align-content: start; justify-content: end; gap: 8px; }
.copyright { grid-column: 1 / -1; margin: 20px 0 0; padding-top: 20px; border-top: 1px solid #3c4448; font-size: 12px; }

@media (max-width: 800px) {
  .site-header { align-items: flex-start; padding: 12px 18px; }
  .brand b { font-size: 14px; }
  .brand small { font-size: 11px; }
  nav { gap: 14px; padding-top: 14px; }
  nav a { font-size: 12px; }
  .latest { grid-template-columns: 1fr; min-height: 0; padding: 34px 20px 60px; }
  .latest-art { width: min(78vw, 380px); }
  .latest-art::before { inset: 12px -10px -10px 12px; }
  h1 { font-size: 39px; }
  .episode-grid, .archive-list { grid-template-columns: 1fr; }
  .episode-grid .episode-card + .episode-card { padding-left: 0; border-left: 0; }
  .article-layout { grid-template-columns: 1fr; gap: 36px; padding-top: 45px; }
  .fact-box { position: static; }
  .article-body > p { font-size: 18px; }
  .mark-bio { padding: 30px 24px 26px; }
  footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: start; }
  .copyright { grid-column: 1; }
}

@media (max-width: 540px) {
  .site-header { flex-direction: column; gap: 7px; }
  nav { width: 100%; justify-content: space-between; padding: 7px 2px 0 60px; }
  .latest { padding-top: 28px; }
  .latest-copy h1 { font-size: 35px; }
  .dek { font-size: 16px; }
  .page-header, .episode-hero { padding-top: 54px; padding-bottom: 54px; }
  .page-header h1, .episode-hero h1 { font-size: 36px; }
  .listen-actions { display: grid; }
  .button { width: 100%; }
}
