/* Faded Scrolls: warm archive palette (parchment, ink, deep red, aged gold, Scribe teal) */
:root {
  --parchment: #f4ead5;
  --parchment-2: #eadcbd;
  --ink: #2a1d14;
  --ink-soft: #5a4636;
  --red: #8e2a1e;
  --red-deep: #6d1f16;
  --gold: #c08a2d;
  --teal: #1f6b6a;
  --night: #1b120c;
  --line: rgba(42, 29, 20, .14);
  --radius: 14px;
  --display: "Fraunces", Georgia, serif;
  --body: "Source Serif 4", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font: 400 1.125rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-deep); }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
.muted { color: var(--ink-soft); font-weight: 400; }

/* header */
.top {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px clamp(16px, 4vw, 48px);
}
.brand { font-family: var(--display); font-weight: 800; font-size: 1.35rem; color: var(--parchment); text-decoration: none; letter-spacing: .01em; }
.top nav { display: flex; align-items: center; gap: clamp(10px, 2.5vw, 28px); }
.top nav a { color: var(--parchment); text-decoration: none; font-size: 1rem; }
.top nav a:hover { color: #fff; text-decoration: underline; }

/* buttons */
.btn {
  display: inline-block; padding: .8em 1.4em; border-radius: 999px;
  background: var(--red); color: #fff !important; text-decoration: none !important;
  font: 600 1rem/1 var(--body); border: 2px solid var(--red);
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--red-deep); border-color: var(--red-deep); transform: translateY(-1px); }
.btn.ghost { background: transparent; border-color: rgba(255,255,255,.7); }
.btn.ghost:hover { background: rgba(255,255,255,.12); }
.btn.small { padding: .55em 1em; font-size: .95rem; }

/* hero */
.hero {
  position: relative; min-height: min(88vh, 820px);
  display: flex; align-items: flex-end;
  background: var(--night);
  color: var(--parchment);
  overflow: hidden;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(27,18,12,.55) 0%, rgba(27,18,12,0) 22%),
    linear-gradient(0deg, rgba(27,18,12,.92) 0%, rgba(27,18,12,.55) 38%, rgba(27,18,12,0) 70%);
}
.hero.ep { min-height: min(70vh, 640px); }
.hero-inner { position: relative; z-index: 2; padding: 0 clamp(16px, 5vw, 64px) clamp(36px, 7vh, 72px); max-width: 900px; }
.hero h1 { font-size: clamp(2.6rem, 4.6vw, 4.4rem); font-weight: 800; text-shadow: 0 2px 24px rgba(0,0,0,.4); }
.kicker { text-transform: uppercase; letter-spacing: .16em; font-size: .85rem; color: var(--gold); margin: 0 0 .8em; font-weight: 600; }
.lede { font-size: clamp(1.15rem, 2.2vw, 1.45rem); margin: 0 0 1.4em; max-width: 36ch; }

/* layout */
main { display: block; }
.wrap { padding: clamp(48px, 8vw, 96px) clamp(16px, 5vw, 64px); max-width: 1240px; margin: 0 auto; }
.wrap.narrow { max-width: 780px; }
.section-lede { color: var(--ink-soft); margin: -.2em 0 2em; max-width: 60ch; }

/* episode cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 22px; }
.card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fbf5e8; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 8px 24px -16px rgba(42,29,20,.45);
  transition: transform .18s, box-shadow .18s;
}
a.card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px -18px rgba(42,29,20,.6); color: var(--ink); }
.card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.card-body { padding: 18px 20px 22px; }
.card-body p { margin: 0; font-size: 1rem; color: var(--ink-soft); }
.card-body .when { font-size: .9rem; color: var(--red); margin-bottom: .6em; font-weight: 600; }
.card h3 { margin: .45em 0 .15em; font-size: 1.4rem; }
.badge {
  display: inline-block; font: 600 .72rem/1 var(--body); text-transform: uppercase; letter-spacing: .12em;
  padding: .45em .7em; border-radius: 999px; background: var(--teal); color: #fff;
}
.card.text-only { background: var(--parchment-2); }
.card.text-only .badge { background: transparent; color: var(--ink-soft); border: 1px solid var(--line); }
.scroll-mark {
  aspect-ratio: 16 / 9; display: grid; place-items: center;
  font-size: 2.4rem; color: var(--gold);
  background: repeating-linear-gradient(45deg, rgba(192,138,45,.08) 0 10px, transparent 10px 20px), #e4d3ae;
}

/* hosts */
.hosts { border-top: 1px solid var(--line); }
.host-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.host { display: flex; gap: 20px; align-items: center; }
.host img { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; flex: none; border: 4px solid #fbf5e8; box-shadow: 0 8px 22px -12px rgba(42,29,20,.6); }
.host p { margin: 0; color: var(--ink-soft); }
.promise { border-top: 1px solid var(--line); }
.promise p { max-width: 64ch; }

/* episode page */
.video { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; margin: 0 0 2.4em; background: var(--night); box-shadow: 0 18px 40px -24px rgba(0,0,0,.7); }
.video iframe { width: 100%; height: 100%; border: 0; }
.video.soon { background-size: cover; background-position: center; display: grid; place-items: center; position: relative; }
.video.soon::before { content: ""; position: absolute; inset: 0; background: rgba(27,18,12,.45); }
.video.soon span { position: relative; color: var(--parchment); font: 800 clamp(1.3rem, 3.5vw, 2rem) var(--display); }
.confidence { margin: 2em 0; padding: 20px 24px; background: #fbf5e8; border-left: 4px solid var(--teal); border-radius: 0 var(--radius) var(--radius) 0; }
.confidence p { margin: 0; }
.sources { margin-top: 3em; padding-top: 2em; border-top: 1px solid var(--line); }
.sources h3 { margin-top: 1.6em; font-size: 1.1rem; }
.sources ul { padding-left: 1.1em; margin: .4em 0; }
.sources li { font-size: .95rem; margin: .25em 0; overflow-wrap: anywhere; }
.sources p { font-size: .95rem; }

/* footer */
footer { background: var(--night); color: var(--parchment); padding: 48px clamp(16px, 5vw, 64px); text-align: center; }
footer p { margin: .3em 0; }
footer a { color: var(--gold); }
footer .muted { color: rgba(244,234,213,.55); font-size: .9rem; max-width: 60ch; margin: 1em auto 0; }

/* narrower screens: picture on top, words underneath, so nothing covers a face */
@media (max-width: 1280px) {
  .hero, .hero.ep { display: block; min-height: 0; padding-top: 0; }
  .hero-img { position: static; aspect-ratio: 16 / 9; height: auto; }
  .hero::before { inset: 0 0 auto 0; height: 90px; background: linear-gradient(180deg, rgba(27,18,12,.7), rgba(27,18,12,0)); }
  .hero-inner { padding-top: 28px; }
  .hero h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
  .hero h1 br { display: none; }
}
@media (max-width: 640px) {
  .top nav a:not(.btn) { display: none; }
  .card.text-only .scroll-mark { aspect-ratio: auto; height: 56px; font-size: 1.6rem; }
  .host { flex-direction: column; align-items: flex-start; }
  .hero { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
