*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* Role mapping for the light theme. Values live in tokens.css. */
:root {
  --navy:        var(--c-navy);
  --navy-mid:    var(--c-navy-mid);
  --gold:        var(--c-gold);
  --gold-light:  var(--c-gold-light);
  --surface:     var(--c-white);
  --ink-on-navy: var(--c-white);
  --off-white:   var(--c-off-white);
  --slate:       var(--c-slate);
  --slate-dark:  var(--c-slate-dark);
  --border:      var(--c-border-light);
  --gold-wash:   var(--c-gold-22);
  --card-shadow: var(--c-navy-06);
  --text:        var(--c-text-dark);
}
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; line-height: 1.2; }

/* Nav */
nav {
  background: var(--navy);
  padding: 0 2rem;
  height: 68px;
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-brand {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 0.95rem;
  color: var(--ink-on-navy);
}
.nav-brand img {
  width: 36px; height: 36px;
  object-fit: cover; border-radius: 4px; flex-shrink: 0;
}
.nav-brand span { color: var(--gold-light); }
.nav-links { display: flex; gap: 0.25rem; list-style: none; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none; font-size: 0.9rem; font-weight: 400;
  padding: 0.5rem 0.85rem; border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--ink-on-navy); background: rgba(255,255,255,0.07); }
.nav-links a.active { color: var(--gold-light); }
.nav-links .nav-cta a {
  background: var(--gold); color: var(--navy);
  font-weight: 600; padding: 0.5rem 1.1rem;
}
.nav-links .nav-cta a:hover { background: var(--gold-light); }

/* Mobile nav toggle. Mirrors the homepage; app.js flips .open. */
.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  padding: 0.5rem; border-radius: 6px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--ink-on-navy); border-radius: 2px;
}
.nav-toggle span + span { margin-top: 5px; }

/* Page header */
.page-header {
  background: var(--navy);
  padding: 110px 2rem 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.page-header-inner { max-width: 820px; margin: 0 auto; }
.page-label {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.75rem;
}
.page-header h1 { font-size: 2.5rem; color: var(--ink-on-navy); margin-bottom: 0.6rem; }
.page-header .page-tagline {
  font-size: 1rem; color: var(--slate);
  font-weight: 400; letter-spacing: 0.01em;
}

/* Content */
main {
  max-width: 820px; margin: 0 auto;
  padding: 3.5rem 2rem 5rem;
}
.brief-intro {
  font-size: 1.1rem; line-height: 1.75;
  color: var(--slate-dark); font-weight: 400;
  margin-bottom: 2.75rem;
}

/* Featured episode */
.episode-featured {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 10px 30px var(--card-shadow);
}
.episode-poster {
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
  min-height: 200px;
  padding: 2rem 2rem 2.25rem;
  text-decoration: none;
  background:
    radial-gradient(120% 140% at 100% 0%, var(--gold-wash), transparent 55%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-bottom: 3px solid var(--gold);
}
.episode-poster-kicker {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 0.6rem;
}
.episode-poster-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 1.4rem; line-height: 1.25;
  color: var(--ink-on-navy); max-width: 30ch;
}
.episode-play {
  position: absolute; right: 1.75rem; bottom: 1.6rem;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--gold);
  display: block;
  transition: background 0.2s, transform 0.2s;
}
.episode-play::after {
  content: ""; position: absolute;
  top: 50%; left: 54%; transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent var(--navy);
}
.episode-poster:hover .episode-play { background: var(--gold-light); transform: scale(1.06); }
.episode-poster:focus-visible,
.watch-btn:focus-visible,
.brief-cta-btn:focus-visible,
.transcript summary:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
}

.episode-body { padding: 2rem 2.25rem 2.25rem; }
.episode-tag {
  display: inline-block;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.8rem;
}
.episode-body h2 {
  font-size: 1.55rem; color: var(--navy);
  margin-bottom: 0.9rem; line-height: 1.2;
}
.episode-body > p {
  color: var(--slate-dark); font-weight: 400;
  font-size: 1rem; line-height: 1.75; margin-bottom: 1.5rem;
}
.watch-btn {
  display: inline-block;
  background: var(--gold); color: var(--navy);
  font-weight: 600; font-size: 0.95rem;
  text-decoration: none;
  padding: 0.75rem 1.6rem; border-radius: 8px;
  transition: background 0.2s;
}
.watch-btn:hover { background: var(--gold-light); }
.watch-meta {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.82rem; color: var(--slate);
}

/* What to do today */
.action-callout {
  margin-top: 1.75rem;
  background: var(--off-white);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.5rem;
}
.action-callout-label {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 0.5rem;
}
.action-callout p {
  color: var(--slate-dark); font-weight: 400;
  font-size: 0.97rem; line-height: 1.75; margin: 0;
}

/* Transcript. Open by default so the text is indexed and citable. */
.transcript {
  margin-top: 1.75rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}
.transcript summary {
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 1.05rem;
  color: var(--navy);
  list-style: none;
  display: flex; align-items: center; gap: 0.5rem;
}
.transcript summary::-webkit-details-marker { display: none; }
.transcript summary::before {
  content: ""; flex-shrink: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent var(--gold);
  transition: transform 0.2s;
}
.transcript[open] summary::before { transform: rotate(90deg); }
.transcript-note {
  font-size: 0.85rem; color: var(--slate);
  margin: 0.75rem 0 1.25rem;
}
.transcript-body p {
  color: var(--slate-dark); font-weight: 400;
  font-size: 0.97rem; line-height: 1.8;
  margin-bottom: 1.1rem;
}
.transcript-body p:last-child { margin-bottom: 0; }

.episodes-note {
  text-align: center;
  color: var(--slate-dark); font-weight: 400;
  font-size: 0.95rem; margin: 2.5rem 0 0;
}
.episodes-note a { color: var(--gold); text-decoration: none; font-weight: 500; }
.episodes-note a:hover { text-decoration: underline; }

/* CTA */
.brief-cta {
  margin-top: 3.5rem;
  background: var(--navy);
  border-radius: 14px;
  padding: 2.75rem 2rem;
  text-align: center;
}
.brief-cta h2 { color: var(--ink-on-navy); font-size: 1.6rem; margin-bottom: 0.75rem; }
.brief-cta p {
  color: var(--slate); font-weight: 400;
  font-size: 1rem; line-height: 1.7;
  max-width: 46ch; margin: 0 auto 1.6rem;
}
.brief-cta-btn {
  display: inline-block;
  background: var(--gold); color: var(--navy);
  font-weight: 600; font-size: 0.95rem;
  text-decoration: none;
  padding: 0.85rem 1.8rem; border-radius: 8px;
  transition: background 0.2s;
}
.brief-cta-btn:hover { background: var(--gold-light); }

/* Footer */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 2.5rem 2rem;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.4); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  font-size: 0.82rem; color: rgba(255,255,255,0.4);
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-mission {
  flex-basis: 100%;
  font-size: 0.82rem; line-height: 1.7;
  color: rgba(255,255,255,0.4);
}
.footer-mission a { color: var(--gold); text-decoration: none; }
.footer-mission a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  nav { padding: 0 1.25rem; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column; align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 0.7rem 0.5rem; }
  .nav-links .nav-cta a { text-align: center; margin-top: 0.5rem; }
  .page-header { padding: 95px 1.25rem 2.5rem; }
  .page-header h1 { font-size: 1.85rem; }
  main { padding: 2.5rem 1.25rem 4rem; }
  .brief-intro { font-size: 1rem; }
  .episode-poster-title { font-size: 1.15rem; }
  .episode-play { width: 44px; height: 44px; right: 1.25rem; bottom: 1.25rem; }
  .episode-body { padding: 1.5rem 1.4rem 1.75rem; }
  .episode-body h2 { font-size: 1.3rem; }
  .brief-cta { padding: 2.25rem 1.4rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; }
}
