/* Opening Soon — site styles (warm / light theme) */

:root {
  --bg: #fbf6ef;          /* cream */
  --bg-soft: #f4ece0;     /* warm surface for bands/footer */
  --bg-peach: #f7ebe0;    /* soft peach accent surface */
  --bg-card: #ffffff;     /* white cards */
  --line: #e7ddd0;        /* warm border */
  --line-strong: #d9c9b6; /* stronger warm border */
  --text: #2f2a25;        /* warm ink */
  --muted: #7a7066;       /* warm muted */
  --accent: #c0603f;      /* terracotta (matches cover) */
  --accent-deep: #9a4e36; /* darker terracotta for text/links on light */
  --accent-2: #b07a4e;    /* warm caramel for meta */
  --gold: #d3902f;        /* review stars */
  --accent-soft: rgba(192, 96, 63, 0.10);
  --ink-on-accent: #fcf3ec; /* cream text on terracotta */
  --radius: 16px;
  --radius-sm: 10px;
  --wrap: 1120px;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(192, 96, 63, 0.06), transparent 60%),
    radial-gradient(900px 500px at 0% 0%, rgba(176, 122, 78, 0.05), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0; letter-spacing: -0.01em; }

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

.kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 14px;
}

.lead { color: var(--muted); font-size: 1.12rem; max-width: 60ch; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 239, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; }
.brand-dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--muted); font-weight: 500; font-size: 0.96rem; transition: color 0.15s; }
.nav a:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 20px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  cursor: pointer; transition: transform 0.12s, background 0.15s, border-color 0.15s, color 0.15s;
  border: 1px solid transparent;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--ink-on-accent); }
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn-row.center { justify-content: center; }

/* ---------- hero ---------- */

.hero { padding: 72px 0 56px; }
.hero-inner { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; margin-bottom: 18px; }
.hero .lead { font-size: 1.2rem; }
.hero-art { position: relative; }
.hero-art img {
  width: 100%; border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 56px rgba(47, 42, 37, 0.14);
  transform: rotate(2deg);
}

/* ---------- sections ---------- */

.section { padding: 56px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 28px; gap: 16px; }
.section-head h2 { font-size: 1.7rem; font-weight: 600; }
.see-all { color: var(--accent-deep); font-weight: 600; font-family: var(--font-body); font-size: 0.95rem; white-space: nowrap; }
.see-all:hover { text-decoration: underline; }

.page-head { padding: 56px 0 8px; }
.page-head h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; }

/* ---------- episode cards ---------- */

.ep-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.ep-list { display: flex; flex-direction: column; gap: 14px; }

.ep-card {
  display: flex; gap: 18px; align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 1px 2px rgba(47, 42, 37, 0.04);
  transition: border-color 0.15s, transform 0.12s, box-shadow 0.15s;
}
.ep-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(47, 42, 37, 0.10); }
.ep-card-art { position: relative; flex: 0 0 auto; }
.ep-card-art img { width: 92px; height: 92px; border-radius: var(--radius-sm); object-fit: cover; background: var(--bg-soft); }
.ep-play {
  position: absolute; inset: 0; margin: auto;
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--ink-on-accent); font-size: 0.8rem;
  opacity: 0; transition: opacity 0.15s; padding-left: 2px;
}
.ep-card:hover .ep-play { opacity: 1; }
.ep-card-body { min-width: 0; }
.ep-meta { font-size: 0.8rem; color: var(--accent-2); font-weight: 600; letter-spacing: 0.01em; }
.ep-card-title { font-size: 1.12rem; font-weight: 600; margin: 6px 0; }
.ep-card-excerpt { color: var(--muted); font-size: 0.92rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- cta band (the deep terracotta "premium moment") ---------- */

.cta-band {
  background: var(--accent);
  text-align: center;
  color: var(--ink-on-accent);
}
.cta-band h2 { color: var(--ink-on-accent); }
.cta-inner h2 { font-size: 2rem; font-weight: 600; margin-bottom: 10px; }
.cta-inner p { color: rgba(252, 243, 236, 0.86); margin: 0; }
.cta-band .btn-primary { background: var(--ink-on-accent); color: var(--accent-deep); }
.cta-band .btn-primary:hover { background: #ffffff; }
.cta-band .btn-ghost { border-color: rgba(252, 243, 236, 0.5); color: var(--ink-on-accent); }
.cta-band .btn-ghost:hover { border-color: #ffffff; color: #ffffff; background: rgba(255, 255, 255, 0.10); }

/* ---------- episode page ---------- */

.episode-top { padding-top: 32px; }
.back-link { color: var(--muted); font-weight: 500; font-size: 0.92rem; }
.back-link:hover { color: var(--accent-deep); }
.episode-head { display: flex; gap: 28px; margin-top: 22px; align-items: flex-start; }
.episode-art { width: 180px; height: 180px; border-radius: var(--radius); border: 1px solid var(--line); flex: 0 0 auto; box-shadow: 0 10px 30px rgba(47, 42, 37, 0.10); }
.episode-head-copy { min-width: 0; flex: 1; }
.episode-head h1 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; margin: 10px 0 18px; }
.player { margin: 16px 0; }
.player audio { width: 100%; height: 44px; border-radius: 999px; }

.episode-body { margin-top: 40px; }
.show-notes h2 { font-size: 1.3rem; margin-bottom: 14px; }

.prose, .show-notes { color: #4a4239; font-size: 1.02rem; }
.prose.narrow, .narrow { max-width: 720px; }
.show-notes p, .prose p { margin: 0 0 16px; }
.show-notes a:not(.btn), .prose a:not(.btn), .contact-alt a:not(.btn) { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }
.show-notes a:not(.btn):hover, .prose a:not(.btn):hover { color: var(--accent); }

.episode-nav { display: flex; justify-content: space-between; gap: 16px; margin: 48px auto; }
.epnav { display: flex; flex-direction: column; gap: 4px; max-width: 46%; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-card); box-shadow: 0 1px 2px rgba(47, 42, 37, 0.04); transition: border-color 0.15s; }
.epnav:hover { border-color: var(--accent); }
.epnav.next { text-align: right; margin-left: auto; }
.epnav span { font-size: 0.8rem; color: var(--muted); }
.epnav strong { font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; }

/* ---------- contact form ---------- */

.contact-form { display: flex; flex-direction: column; gap: 16px; max-width: 520px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 0.92rem; }
.contact-form input, .contact-form textarea {
  background: var(--bg-card); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 12px 14px; color: var(--text); font: inherit; font-weight: 400;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form button { align-self: flex-start; margin-top: 6px; }
.contact-alt { color: var(--muted); margin-top: 20px; }

/* ---------- transcript ---------- */

.transcript {
  margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: 0 1px 2px rgba(47, 42, 37, 0.04);
  overflow: hidden;
}
.transcript > summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; cursor: pointer; list-style: none;
  padding: 18px 22px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.15rem;
}
.transcript > summary::-webkit-details-marker { display: none; }
.transcript > summary::after {
  content: "+"; font-weight: 400; font-size: 1.6rem; color: var(--accent);
  transition: transform 0.2s;
}
.transcript[open] > summary::after { content: "−"; }
.transcript-hint { font-family: var(--font-body); font-size: 0.82rem; font-weight: 500; color: var(--muted); margin-left: auto; margin-right: 6px; }
.transcript-body {
  padding: 4px 22px 8px;
  max-height: 640px; overflow-y: auto;
  border-top: 1px solid var(--line);
}
.ts-line { margin: 0 0 14px; color: #4a4239; font-size: 0.97rem; line-height: 1.7; }
.ts-line.ts-cont { padding-left: 0; color: #6a6258; }
.ts-speaker { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.88rem; color: var(--accent-deep); margin-bottom: 2px; }
.transcript-source { padding: 8px 22px 18px; margin: 0; font-size: 0.8rem; color: var(--muted); }
.transcript-link { margin-top: 32px; }
.transcript-link a { color: var(--accent-deep); text-decoration: underline; }

/* ---------- reviews ---------- */

.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 48px; }
.review-card {
  margin: 0; padding: 22px;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(47, 42, 37, 0.04);
}
.stars { color: var(--gold); font-size: 1.05rem; letter-spacing: 2px; }
.stars-empty { color: var(--line-strong); }
.review-title { font-size: 1.12rem; font-weight: 600; margin: 12px 0 8px; }
.review-card blockquote { margin: 0; color: #4a4239; font-size: 0.98rem; line-height: 1.6; }
.review-card figcaption { margin-top: 14px; color: var(--muted); font-size: 0.88rem; font-weight: 600; }
.leave-review {
  text-align: center; padding: 40px 24px;
  background: var(--bg-peach);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.leave-review h2 { font-size: 1.6rem; font-weight: 600; margin-bottom: 8px; }
.leave-review p { color: var(--muted); margin: 0 auto; max-width: 46ch; }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--line); margin-top: 40px; background: var(--bg-soft); }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; padding: 44px 0 28px; flex-wrap: wrap; }
.footer-brand strong { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; display: inline-block; margin-left: 8px; }
.footer-brand p { color: var(--muted); margin: 8px 0 0; font-size: 0.92rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; }
.footer-nav a { color: var(--muted); font-size: 0.9rem; font-weight: 500; }
.footer-nav a:hover { color: var(--accent-deep); }
.footer-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-weight: 600; }
.social-row { display: flex; gap: 12px; margin-top: 12px; }
.social-icon {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); color: var(--muted);
  transition: all 0.15s;
}
.social-icon svg { width: 18px; height: 18px; fill: currentColor; }
.social-icon:hover { border-color: var(--accent); color: var(--accent-deep); transform: translateY(-2px); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding: 20px 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; flex-wrap: wrap; }
.footer-bottom a { color: var(--accent-deep); }

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { max-width: 280px; }
  .ep-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .nav {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; gap: 0;
    background: var(--bg-soft); border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px; transform: translateY(-120%); transition: transform 0.22s;
  }
  body.nav-open .nav { transform: translateY(0); }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; }
  .episode-head { flex-direction: column; }
  .episode-art { width: 140px; height: 140px; }
  .epnav { max-width: 48%; }
}
