:root {
  --bg: #0c0b0f;
  --bg-elevated: #16151b;
  --bg-card: #1c1b22;
  --fg: #e8e6ed;
  --fg-muted: #9490a0;
  --fg-dim: #6b6780;
  --accent: #f0c040;
  --accent-glow: rgba(240, 192, 64, 0.12);
  --border: rgba(255,255,255,0.06);
  --radius: 12px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 28px 40px;
  position: relative;
  z-index: 2;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--accent);
  letter-spacing: -0.5px;
}
.nav-tagline {
  font-size: 14px;
  color: var(--fg-muted);
  font-weight: 500;
}

/* HERO */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: radial-gradient(ellipse 70% 50% at 30% 60%, rgba(240,192,64,0.05) 0%, transparent 70%),
              radial-gradient(ellipse 50% 40% at 80% 30%, rgba(120,80,200,0.04) 0%, transparent 70%),
              var(--bg);
}
.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-content {
  padding: 0 40px;
  max-width: 820px;
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--accent);
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 6.5vw, 76px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--fg);
  margin-bottom: 28px;
}
.hero-sub {
  max-width: 520px;
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
}
.hero-platforms {
  display: flex;
  gap: 10px;
  padding: 32px 40px;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}
.platform-pill {
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
  background: var(--bg-elevated);
  letter-spacing: 0.3px;
}

/* MANIFESTO */
.manifesto {
  padding: 120px 40px;
  border-top: 1px solid var(--border);
}
.manifesto-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 40px;
}
.manifesto-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.manifesto-col h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.manifesto-col p {
  color: var(--fg-muted);
  font-size: 17px;
  margin-bottom: 16px;
}
.manifesto-highlight {
  color: var(--fg) !important;
  font-size: 20px !important;
  font-weight: 500;
  line-height: 1.55;
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin-bottom: 20px;
}

/* EPISODES */
.episodes {
  padding: 100px 40px;
  border-top: 1px solid var(--border);
  max-width: 1100px;
  margin: 0 auto;
}
.episode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 10px;
}
.episode-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.2s;
}
.episode-card:hover {
  border-color: rgba(240,192,64,0.2);
}
.ep-number {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  display: block;
  margin-bottom: 14px;
}
.episode-card h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
  line-height: 1.25;
}
.ep-guest {
  font-size: 14px;
  color: var(--fg-dim);
  margin-bottom: 12px;
  font-style: italic;
}
.ep-desc {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ABOUT */
.about {
  padding: 120px 40px;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}
.about-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-text h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 8px;
}
.about-role {
  color: var(--fg-dim);
  font-size: 15px;
  margin-bottom: 24px;
  font-style: italic;
}
.about-text p {
  color: var(--fg-muted);
  margin-bottom: 16px;
}
.about-stats {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 50px;
}
.stat {
  border-left: 2px solid var(--accent);
  padding-left: 20px;
}
.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--fg);
  margin-bottom: 4px;
}
.stat-label {
  font-size: 14px;
  color: var(--fg-muted);
}

/* CLOSING */
.closing {
  padding: 140px 40px;
  text-align: center;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, var(--accent-glow) 0%, transparent 70%);
}
.closing-inner {
  max-width: 700px;
  margin: 0 auto;
}
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.closing-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* FOOTER */
.footer {
  padding: 40px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--fg-dim);
}
.footer-copy {
  font-size: 13px;
  color: var(--fg-dim);
}

/* MOBILE */
@media (max-width: 768px) {
  .nav { padding: 20px 24px; }
  .hero-content { padding: 0 24px; }
  .hero-platforms { padding: 24px; }
  .hero-title { letter-spacing: -1px; }
  .manifesto { padding: 80px 24px; }
  .manifesto-columns { grid-template-columns: 1fr; gap: 32px; }
  .episodes { padding: 80px 24px; }
  .episode-grid { grid-template-columns: 1fr; }
  .about { padding: 80px 24px; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-stats { padding-top: 0; }
  .closing { padding: 100px 24px; }
  .footer { padding: 30px 24px; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}

/* =====================================================
   NAV LINKS (landing page + hub pages)
   ===================================================== */
.nav-logo {
  text-decoration: none;
  color: var(--accent);
}
.nav-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-link:hover,
.nav-link--active {
  color: var(--fg);
}

/* HERO CTA */
.hero-cta {
  display: inline-block;
  margin-top: 32px;
  padding: 12px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  background: var(--accent-glow);
  transition: border-color 0.2s, background 0.2s;
}
.hero-cta:hover {
  border-color: rgba(240,192,64,0.35);
  background: rgba(240,192,64,0.18);
}

/* PLATFORM PILLS — now anchor tags */
.platform-pill {
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}
.platform-pill:hover {
  border-color: rgba(240,192,64,0.3);
  color: var(--fg);
}

/* EPISODE CARDS — now anchor tags on landing page */
.episode-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* EPISODES MORE LINK */
.episodes-more {
  margin-top: 32px;
  text-align: right;
}
.episodes-more-link {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: opacity 0.15s;
}
.episodes-more-link:hover { opacity: 0.75; }

/* =====================================================
   EPISODE HUB — /episodes directory
   ===================================================== */
.hub-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 40px 120px;
}
.hub-header {
  margin-bottom: 60px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 48px;
}
.hub-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  margin: 16px 0 16px;
}
.hub-subtitle {
  color: var(--fg-muted);
  font-size: 18px;
  max-width: 520px;
}
.hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.ep-hub-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.15s;
}
.ep-hub-card:hover {
  border-color: rgba(240,192,64,0.25);
  transform: translateY(-2px);
}
.ep-hub-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ep-badge {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
}
.ep-duration {
  font-size: 12px;
  color: var(--fg-dim);
  margin-left: auto;
}
.ep-hub-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.2;
}
.ep-hub-guest {
  font-size: 14px;
  color: var(--fg-dim);
  font-style: italic;
}
.ep-hub-company {
  color: var(--fg-muted);
  font-style: normal;
}
.ep-hub-desc {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.6;
  flex: 1;
}
.ep-hub-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.ep-hub-date {
  font-size: 13px;
  color: var(--fg-dim);
}
.ep-hub-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  font-family: var(--font-display);
}
.hub-empty {
  text-align: center;
  padding: 80px 0;
  color: var(--fg-muted);
}

/* =====================================================
   EPISODE SHOW PAGE — /episodes/:slug
   ===================================================== */
.ep-main {
  max-width: 100%;
}
.ep-header {
  background: radial-gradient(ellipse 70% 50% at 30% 60%, rgba(240,192,64,0.05) 0%, transparent 70%), var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 80px 40px 60px;
}
.ep-header-inner {
  max-width: 800px;
  margin: 0 auto;
}
.ep-back {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  margin-bottom: 32px;
  transition: color 0.15s;
}
.ep-back:hover { color: var(--fg); }
.ep-header-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.ep-header-date {
  font-size: 13px;
  color: var(--fg-dim);
}
.ep-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
}
.ep-description {
  font-size: 20px;
  color: var(--fg-muted);
  line-height: 1.6;
  max-width: 680px;
  margin-bottom: 36px;
}
.ep-listen {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.ep-listen-label {
  font-size: 13px;
  color: var(--fg-dim);
  font-weight: 500;
}
.ep-listen-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.listen-btn {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
  background: var(--bg-elevated);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.listen-btn:hover {
  border-color: rgba(240,192,64,0.3);
  color: var(--fg);
}
.listen-btn--primary {
  background: var(--accent-glow);
  border-color: rgba(240,192,64,0.25);
  color: var(--accent);
}
.listen-btn--primary:hover {
  background: rgba(240,192,64,0.2);
  border-color: rgba(240,192,64,0.5);
  color: var(--accent);
}

/* Episode body content */
.ep-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px 100px;
}
.ep-section {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.ep-section:last-of-type { border-bottom: none; }

/* Guests */
.ep-guest-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 24px;
}
.ep-guest-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.ep-guest-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--accent);
  flex-shrink: 0;
}
.ep-guest-info {
  flex: 1;
}
.ep-guest-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 4px;
}
.ep-guest-role {
  display: block;
  font-size: 14px;
  color: var(--fg-dim);
  font-style: italic;
  margin-bottom: 10px;
}
.ep-guest-bio {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* Show notes */
.ep-prose {
  margin-top: 24px;
}
.ep-prose p {
  color: var(--fg-muted);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 20px;
}
.ep-prose p:last-child { margin-bottom: 0; }

/* Takeaways */
.takeaway-list {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  counter-reset: takeaway;
}
.takeaway-item {
  counter-increment: takeaway;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.6;
}
.takeaway-item::before {
  content: counter(takeaway);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--accent);
  background: var(--accent-glow);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Episode CTA */
.ep-cta-inner {
  text-align: center;
  padding: 20px 0;
}
.ep-cta-headline {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.ep-cta-sub {
  color: var(--fg-muted);
  margin-bottom: 24px;
}
.ep-listen-links--cta {
  justify-content: center;
}

/* Back nav */
.ep-nav-row {
  padding: 40px 0 0;
  display: flex;
  justify-content: flex-start;
}
.ep-nav-back {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.ep-nav-back:hover { color: var(--fg); }

/* =====================================================
   HUB MOBILE
   ===================================================== */
@media (max-width: 768px) {
  .hub-main { padding: 40px 24px 80px; }
  .hub-grid { grid-template-columns: 1fr; }
  .ep-header { padding: 60px 24px 40px; }
  .ep-body { padding: 0 24px 80px; }
  .nav-links { gap: 16px; }
  .ep-listen { flex-direction: column; align-items: flex-start; }
  .ep-guest-card { flex-direction: column; gap: 12px; }
}