
:root {
  --bg: #FAF7F2;             /* warm off-white */
  --surface: #FFFFFF;
  --border: #E7E2D8;
  --border-strong: #D6CFC1;
  --ink: #1B1A17;
  --ink-soft: #59544A;
  --ink-mute: #8C867A;
  --accent: #D9531E;         /* muted version of cover orange, for accents only */
  --accent-soft: #FBE7DA;
  --radius: 12px;
  --radius-sm: 8px;
  --max: 960px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
}
a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--border-strong); transition: color .15s ease, text-decoration-color .15s ease; }
a:hover { color: var(--accent); text-decoration-color: var(--accent); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px; font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand-mark { width: 34px; height: 34px; border-radius: 6px; object-fit: cover; display: block; border: 1px solid var(--border); }
.nav-links { display: flex; gap: 22px; flex-wrap: wrap; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: 14px; }
.nav-links a:hover { color: var(--accent); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: center;
  padding: 56px 0 48px;
}
.hero-art {
  width: 260px; height: 260px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}
.hero-art img { width: 100%; height: 100%; display: block; object-fit: cover; }
.hero-eyebrow { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 12px; font-weight: 500; }
.hero-title { font-size: clamp(32px, 4.5vw, 46px); margin: 0 0 14px; font-weight: 500; letter-spacing: -0.02em; }
.hero-desc { color: var(--ink-soft); max-width: 60ch; font-size: 16px; }
.hero-cta { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--bg);
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--ink);
  text-decoration: none; font-weight: 500; font-family: inherit;
  font-size: 14px;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; text-decoration: none; }
.btn.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn.btn-ghost:hover { border-color: var(--ink); background: transparent; color: var(--ink); }

/* Section */
.section-title {
  font-size: clamp(22px, 3vw, 28px);
  margin: 36px 0 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
}
.section-title .count { font-family: 'Inter', sans-serif; font-size: 14px; color: var(--ink-mute); font-weight: 500; }

/* Episode list */
.episodes { display: flex; flex-direction: column; padding-bottom: 40px; }
.ep-card {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 20px;
  align-items: start;
}
.ep-card:last-child { border-bottom: none; }
.ep-num {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--ink-mute);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  padding-top: 4px;
  letter-spacing: 0.02em;
}
.ep-meta { color: var(--ink-mute); font-size: 13px; letter-spacing: 0.02em; margin-bottom: 4px; }
.ep-meta .dot { margin: 0 8px; opacity: .5; }
.ep-title { font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 22px; margin: 0 0 6px; color: var(--ink); letter-spacing: -0.01em; line-height: 1.2; }
.ep-title a { color: var(--ink); text-decoration: none; }
.ep-title a:hover { color: var(--accent); }
.ep-summary { color: var(--ink-soft); margin: 0; font-size: 15px; line-height: 1.55; }
.ep-actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; min-width: 120px; }
.link-btn {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink-soft); text-decoration: none; font-size: 13px; font-weight: 500;
  padding: 6px 10px; border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface);
  justify-content: center;
  transition: border-color .15s ease, color .15s ease;
}
.link-btn:hover { color: var(--accent); border-color: var(--accent); text-decoration: none; }

/* Episode page */
.ep-hero {
  padding: 40px 0 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.ep-hero .ep-title-lg {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--ink);
  font-size: clamp(28px, 4.5vw, 40px);
  margin: 8px 0 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.ep-hero .ep-meta-lg { color: var(--ink-mute); letter-spacing: 0.02em; font-size: 13px; }
audio { width: 100%; margin-top: 20px; border-radius: 8px; }
.ep-actions-row { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.ep-body { font-size: 17px; color: var(--ink); line-height: 1.7; padding-bottom: 40px; }
.ep-body p { margin: 0 0 16px; }
.ep-body a { color: var(--accent); text-decoration-color: var(--accent); }
.back { display: inline-flex; align-items: center; gap: 6px; margin: 24px 0 0; color: var(--ink-mute); text-decoration: none; font-size: 14px; }
.back:hover { color: var(--accent); }

.ep-nav {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 20px;
}
.ep-nav a { color: var(--ink-soft); text-decoration: none; font-size: 14px; max-width: 45%; }
.ep-nav a:hover { color: var(--accent); }
.ep-nav .label { display: block; font-size: 12px; color: var(--ink-mute); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 4px; }

/* About */
.about-body { padding: 30px 0 20px; }
.about-body p { color: var(--ink); font-size: 17px; margin: 0 0 16px; max-width: 65ch; }
.about-body dt { font-size: 13px; color: var(--ink-mute); letter-spacing: 0.05em; text-transform: uppercase; margin-top: 20px; }
.about-body dd { margin: 4px 0 0 0; color: var(--ink); font-size: 16px; }
.subscribe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-top: 16px; }

/* Footer */
footer {
  padding: 40px 0 60px;
  margin-top: 20px;
  text-align: center;
  border-top: 1px solid var(--border);
  color: var(--ink-mute);
  font-size: 13px;
}
footer a { color: var(--ink-soft); }
footer p { margin: 4px 0; }

/* Responsive */
@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; padding: 32px 0 32px; gap: 24px; text-align: left; }
  .hero-art { width: 180px; height: 180px; }
  .ep-card { grid-template-columns: 40px 1fr; gap: 14px 16px; }
  .ep-actions { grid-column: 1 / -1; flex-direction: row; margin-left: 54px; }
  .link-btn { flex: 1; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .ep-title { font-size: 19px; }
  .ep-actions { margin-left: 0; }
  .ep-nav { flex-direction: column; gap: 16px; }
  .ep-nav a { max-width: 100%; }
}
