/* ===========================================================
   Miśka i Ptyś — wersja "Nocna" / Storybook nocturne
   Dark navy with cream paper cards, amber moon glow.
   Editorial, atmospheric, bedtime-coded.
   =========================================================== */

:root {
  --night-1: #0B1530;
  --night-2: #15244B;
  --night-3: #1E3163;
  --cream:   #F4EAD0;
  --cream-2: #EADAB0;
  --amber:   #F2B23A;
  --amber-deep: #D78B1F;
  --brick:   #C25543;
  --teal:    #5C8A86;
  --plum:    #7C4F6F;

  --ink-dark:  #0B1530;
  --ink-soft:  rgba(244, 234, 208, 0.78);
  --ink-mute:  rgba(244, 234, 208, 0.55);

  --display: "Newsreader", "Times New Roman", serif;
  --body:    "Outfit", system-ui, sans-serif;
  --hand:    "Outfit", system-ui, sans-serif;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;

  --line: rgba(244, 234, 208, 0.14);
  --line-strong: rgba(244, 234, 208, 0.3);

  --shadow-1: 0 6px 24px rgba(0,0,0,0.35);
  --shadow-2: 0 16px 48px rgba(0,0,0,0.45);
  --shadow-3: 0 30px 80px rgba(0,0,0,0.55);
  --glow:     0 0 80px rgba(242, 178, 58, 0.35);

  /* Aliases used by existing components */
  --bg: var(--night-1);
  --bg-warm: var(--night-2);
  --bg-card: var(--night-2);
  --ink: var(--cream);
  --accent: var(--amber);
  --accent-deep: var(--amber-deep);
  --accent-tint: rgba(242, 178, 58, 0.18);
  --butter: var(--amber);
  --butter-soft: rgba(242, 178, 58, 0.16);
  --sage: var(--teal);
  --sage-soft: rgba(92, 138, 134, 0.2);
  --sky: #5E7BC9;
  --sky-soft: rgba(94, 123, 201, 0.2);
  --plum-soft: rgba(124, 79, 111, 0.22);
  --display-font: var(--display);
  --body-font: var(--body);
  --hand-font: var(--hand);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--night-1);
  color: var(--cream);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-image:
    radial-gradient(ellipse 1200px 600px at 80% -100px, rgba(242, 178, 58, 0.18), transparent 60%),
    radial-gradient(ellipse 800px 400px at 0% 30%, rgba(92, 138, 134, 0.12), transparent 60%);
  background-attachment: fixed;
}

/* Star scatter */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(244,234,208,0.7), transparent 50%),
    radial-gradient(1px 1px at 28% 70%, rgba(244,234,208,0.6), transparent 50%),
    radial-gradient(2px 2px at 52% 22%, rgba(244,234,208,0.5), transparent 50%),
    radial-gradient(1px 1px at 73% 60%, rgba(244,234,208,0.7), transparent 50%),
    radial-gradient(1.5px 1.5px at 88% 12%, rgba(244,234,208,0.6), transparent 50%),
    radial-gradient(1px 1px at 41% 90%, rgba(244,234,208,0.4), transparent 50%),
    radial-gradient(1.5px 1.5px at 92% 78%, rgba(244,234,208,0.7), transparent 50%),
    radial-gradient(1px 1px at 8% 88%, rgba(244,234,208,0.5), transparent 50%);
  background-size: 100% 100%;
  opacity: 0.9;
}

#root { position: relative; z-index: 1; }

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

.shell { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

/* Section eyebrow — small caps with line */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 18px;
}
.section-eyebrow::before {
  content: "";
  display: inline-block;
  width: 32px; height: 1px;
  background: currentColor;
  opacity: 0.6;
}

/* Display headings — editorial Fraunces */
h1, h2, h3, h4, h5 { margin: 0; color: var(--cream); font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
h1 { font-size: clamp(44px, 5.4vw, 78px); font-weight: 500; }
h2 { font-size: clamp(34px, 3.8vw, 56px); font-weight: 500; }
h3 { font-size: 24px; line-height: 1.25; font-weight: 600; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--amber); font-weight: 500; }

p { color: var(--ink-soft); line-height: 1.65; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--cream);
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); border-color: var(--cream); }
.btn.lg { padding: 16px 26px; font-size: 16px; }
.btn.primary {
  background: var(--cream);
  color: var(--night-1);
  border-color: var(--cream);
}
.btn.primary:hover { transform: translateY(-1px); background: #fff; }
.btn.ghost { background: rgba(244, 234, 208, 0.06); }
.btn.spotify {
  background: #1DB954; color: #fff; border-color: #1DB954;
}
.btn.spotify:hover { background: #1ed760; }
.btn.youtube {
  background: var(--brick); color: #fff; border-color: var(--brick);
}
.btn.youtube:hover { background: #d6604d; }

.logo-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-grid; place-items: center;
  color: white;
  flex: none;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 21, 48, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px;
  gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  color: var(--cream);
}
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--amber);
  color: var(--night-1);
}
.nav-links {
  display: flex; gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav-links a:hover { color: var(--amber); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
@media (max-width: 900px) { .nav-links { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: 80px 28px 100px; position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(242, 178, 58, 0.12);
  border: 1px solid rgba(242, 178, 58, 0.3);
  color: var(--amber);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 28px;
}
.hero-eyebrow .dot { display: inline-grid; place-items: center; }

.hero h1 {
  letter-spacing: -0.035em;
  font-weight: 400;
}
.hero-lead {
  margin-top: 28px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 520px;
}
.hero-ctas {
  margin-top: 36px;
  display: flex; gap: 12px;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 56px;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-meta div { font-size: 13px; color: var(--ink-mute); }
.hero-meta strong {
  display: block;
  font-family: var(--display);
  font-size: 36px;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 2px;
}

/* Hero scene — moon-frame card */
.hero-scene {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  overflow: visible;
  isolation: isolate;
}
.hero-scene::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(242, 178, 58, 0.45), transparent 65%);
  z-index: -1;
  border-radius: 50%;
}
.hero-scene .hero-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 25%;
  display: block;
  border-radius: var(--r-xl);
  background: var(--cream);
  box-shadow: var(--shadow-3);
  border: 6px solid var(--cream);
}
.hero-scene-tag {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--cream);
  color: var(--night-1);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-2);
  white-space: nowrap;
  z-index: 5;
}
.hero-scene-tag .play {
  width: 26px; height: 26px;
  background: var(--brick);
  color: white;
  border-radius: 50%;
  display: grid; place-items: center;
}
.sticky-note {
  position: absolute;
  top: -10px;
  right: -28px;
  background: var(--amber);
  color: var(--night-1);
  padding: 18px 22px;
  font-family: var(--hand);
  font-size: 22px;
  line-height: 1.25;
  max-width: 230px;
  border-radius: 4px;
  transform: rotate(4deg);
  box-shadow: 0 12px 28px rgba(0,0,0,0.4);
  z-index: 6;
}
@media (max-width: 980px) {
  .sticky-note { right: 8px; top: -20px; }
}

/* Decorative moon */
.hero::before {
  content: "";
  position: absolute;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--cream) 0%, var(--cream-2) 60%, var(--amber-deep) 100%);
  top: 60px; left: -60px;
  opacity: 0.18;
  filter: blur(2px);
  pointer-events: none;
}

/* ---------- Platforms ---------- */
.platforms { padding: 32px 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.platforms-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.platforms-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-right: 16px;
}
.platform-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: border-color .2s ease, transform .15s ease;
}
.platform-pill:hover { border-color: var(--amber); transform: translateY(-1px); }
.platform-pill .logo {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: white;
}

/* ---------- Section ---------- */
.section { padding: 110px 28px; }
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 56px;
}
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; gap: 24px; } }
.section-lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 480px;
  line-height: 1.6;
}

/* ---------- About series cards ---------- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

.about-card {
  padding: 40px 36px;
  border-right: 1px solid var(--line);
  position: relative;
}
.about-card:last-child { border-right: none; }
@media (max-width: 900px) { .about-card { border-right: none; border-bottom: 1px solid var(--line); } }
.about-card .glyph {
  width: 56px; height: 56px;
  background: var(--amber);
  color: var(--night-1);
  border-radius: 50%;
  display: grid; place-items: center;
  margin-bottom: 24px;
}
.about-card h3 { color: var(--cream); margin-bottom: 12px; font-size: 26px; }
.about-card p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Characters ---------- */
.chars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) { .chars { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .chars { grid-template-columns: repeat(2, 1fr); } }

.char-card {
  text-align: center;
  background: var(--night-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px 20px 28px;
  transition: transform .2s ease, border-color .2s ease;
}
.char-card:hover { transform: translateY(-4px); border-color: var(--amber); }
.char-portrait {
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid; place-items: center;
  margin-bottom: 18px;
  background: var(--night-3);
  border: 2px solid var(--amber);
}
.char-role {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 6px;
  font-weight: 600;
}
.char-name { font-size: 28px; margin-bottom: 8px; }
.char-blurb { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }

/* ---------- Episodes ---------- */
.eps-tabs {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  background: var(--night-2);
  border-radius: 999px;
  border: 1px solid var(--line);
}
.eps-tabs button {
  border: none;
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
}
.eps-tabs button.active { background: var(--cream); color: var(--night-1); }

.eps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 1000px) { .eps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .eps-grid { grid-template-columns: 1fr; } }

.ep-card {
  position: relative;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  transition: transform .2s ease;
}
.ep-card:hover { transform: translateY(-6px); }

.ep-art {
  display: block;
  aspect-ratio: 1;
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
}
.ep-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ep-art::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(11,21,48,0.55));
  pointer-events: none;
}
.ep-num {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--cream);
  color: var(--night-1);
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 999px;
  z-index: 2;
}
.ep-num.right { left: auto; right: 14px; background: var(--amber); }

.ep-body { padding: 22px 4px 0; }
.ep-title {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin: 0 0 10px;
  line-height: 1.15;
}
.ep-meta {
  display: flex; gap: 8px; align-items: center;
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-mute);
  font-weight: 500;
}
.ep-tag {
  background: var(--amber);
  color: var(--night-1);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
}
.ep-actions { display: flex; gap: 8px; margin-top: 16px; }
.ep-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  background: rgba(244, 234, 208, 0.08);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--cream);
  transition: background .2s ease, transform .15s ease;
}
.ep-link:hover { background: rgba(244, 234, 208, 0.16); transform: translateY(-1px); }

/* ---------- About Me ---------- */
.aboutme {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
  background: var(--cream);
  color: var(--night-1);
  border-radius: var(--r-lg);
  padding: 64px;
  position: relative;
  box-shadow: var(--shadow-3);
}
@media (max-width: 900px) { .aboutme { grid-template-columns: 1fr; padding: 36px; gap: 32px; } }
.aboutme::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--r-lg);
  border: 1px solid var(--cream-2);
  pointer-events: none;
}
.aboutme-photo {
  position: relative;
  aspect-ratio: 4/5;
  transform: rotate(-2.5deg);
  filter: drop-shadow(0 14px 30px rgba(0,0,0,0.25));
}
.photo-slot {
  width: 100%; height: 100%;
  border-radius: 6px;
  background:
    repeating-linear-gradient(45deg, rgba(11,21,48,0.06) 0 12px, rgba(11,21,48,0.02) 12px 24px),
    var(--cream-2);
  border: 2px dashed var(--night-2);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px;
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  color: var(--night-2);
}
.photo-slot small {
  font-family: var(--body); font-style: normal;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(11,21,48,0.55);
}
.aboutme-tape {
  position: absolute;
  width: 110px; height: 30px;
  background: rgba(242, 178, 58, 0.65);
  top: -16px; left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  border-radius: 2px;
  z-index: 4;
}

.aboutme-body { color: var(--night-1); }
.aboutme-body .section-eyebrow { color: var(--brick); }
.aboutme-body .section-eyebrow::before { background: var(--brick); }
.aboutme-body h2 { color: var(--night-1); margin-bottom: 22px; }
.aboutme-body h2 em { color: var(--brick); }
.aboutme-body p {
  color: rgba(11,21,48,0.78);
  font-size: 17px; line-height: 1.65;
  margin: 0 0 16px;
  max-width: 540px;
}
.aboutme-sig {
  font-family: var(--hand) !important;
  font-size: 24px !important;
  color: var(--night-1) !important;
  line-height: 1.35 !important;
  padding: 18px 22px;
  background: rgba(242, 178, 58, 0.35);
  border-radius: var(--r-sm);
  margin-top: 8px !important;
}
.aboutme-meta {
  display: flex; gap: 36px; flex-wrap: wrap;
  margin-top: 32px; padding-top: 24px;
  border-top: 1px dashed rgba(11,21,48,0.2);
}
.aboutme-meta div { font-size: 13px; color: rgba(11,21,48,0.6); }
.aboutme-meta strong {
  display: block;
  font-family: var(--display);
  font-size: 32px; font-weight: 400;
  color: var(--brick);
}

/* ---------- Parents ---------- */
.parents {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) { .parents { grid-template-columns: 1fr; gap: 40px; } }
.pillars { display: grid; gap: 22px; margin-top: 32px; max-width: 520px; }
.pillar {
  display: flex; gap: 16px;
  padding: 20px;
  background: rgba(244, 234, 208, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.pillar:hover { border-color: var(--amber); }
.pillar .check {
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--night-1);
  display: grid; place-items: center;
}
.pillar h4 { font-family: var(--display); font-size: 19px; font-weight: 500; color: var(--cream); margin: 0 0 6px; }
.pillar p { font-size: 14px; color: var(--ink-soft); margin: 0; }
.parents-art {
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  background: var(--night-2);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.parents-art svg { width: 100%; height: 100%; display: block; }

/* ---------- Newsletter ---------- */
.newsletter {
  margin: 60px auto 80px;
  max-width: 900px;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(242,178,58,0.18), transparent 70%),
    var(--night-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 64px 32px;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: "";
  position: absolute;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--cream), var(--amber-deep));
  top: -50px; right: -40px;
  opacity: 0.5;
  filter: blur(2px);
}
.newsletter h2 em { color: var(--amber); }
.newsletter p { max-width: 560px; margin: 18px auto 0; color: var(--ink-soft); }
.newsletter-form {
  display: flex; gap: 10px; max-width: 480px;
  margin: 32px auto 16px;
  flex-wrap: wrap;
}
.newsletter-form input {
  flex: 1; min-width: 200px;
  padding: 16px 20px;
  background: var(--night-1);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--body);
  font-size: 15px;
  color: var(--cream);
}
.newsletter-form input::placeholder { color: var(--ink-mute); }
.newsletter-form input:focus { outline: none; border-color: var(--amber); }
.newsletter .small { font-size: 12px; color: var(--ink-mute); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq-item {
  border-top: 1px solid var(--line);
  padding: 4px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  background: transparent;
  border: none;
  padding: 24px 4px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--cream);
  text-align: left;
  cursor: pointer;
}
.faq-q .plus {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--night-2);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--amber);
  transition: transform .2s ease;
}
.faq-item.open .plus { transform: rotate(45deg); background: var(--amber); color: var(--night-1); border-color: var(--amber); }
.faq-a {
  max-height: 0; overflow: hidden;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
  transition: max-height .3s ease, padding .3s ease;
  padding: 0 4px;
}
.faq-item.open .faq-a { max-height: 400px; padding: 0 4px 24px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--night-2);
  border-top: 1px solid var(--line);
  padding: 64px 0 40px;
  margin-top: 40px;
}
.footer-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 800px) { .footer-row { grid-template-columns: repeat(2, 1fr); } }
.footer-col h5 {
  font-family: var(--body);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 14px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.footer-col a:hover { color: var(--amber); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px;
  margin-top: 40px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-mute);
  flex-wrap: wrap; gap: 12px;
}

/* ---------- Series tiles (landing) ---------- */
.series-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 1000px) { .series-tiles { grid-template-columns: 1fr; } }

.series-tile {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--night-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--cream);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.series-tile:hover { transform: translateY(-6px); border-color: var(--amber); box-shadow: var(--shadow-3); }
.series-tile .tile-art {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}
.series-tile .tile-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.series-tile .tile-art svg { width: 100%; height: 100%; display: block; }
.series-tile .tile-num {
  position: absolute; top: 16px; left: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--night-1);
  display: grid; place-items: center;
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  z-index: 2;
}
.series-tile .tile-body { padding: 28px 28px 32px; flex: 1; display: flex; flex-direction: column; }
.series-tile .tile-eyebrow {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--amber); font-weight: 700;
  margin-bottom: 10px;
}
.series-tile h3 {
  font-size: 32px;
  margin-bottom: 12px;
  color: var(--cream);
  letter-spacing: -0.025em;
}
.series-tile p { font-size: 15px; color: var(--ink-soft); margin: 0; flex: 1; }
.series-tile .tile-cta {
  margin-top: 22px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.02em;
}
.series-tile:hover .tile-cta { gap: 14px; }

/* ---------- Series detail block ---------- */
.series-block { padding: 100px 28px; border-top: 1px solid var(--line); position: relative; }
.series-block + .series-block { border-top: 1px solid var(--line); }
.series-block.warm { background: var(--cream); color: var(--night-1); }
.series-block.warm h1, .series-block.warm h2, .series-block.warm h3 { color: var(--night-1); }
.series-block.warm p { color: rgba(11,21,48,0.78); }
.series-block.warm .section-eyebrow { color: var(--brick); }
.series-block.warm .section-eyebrow::before { background: var(--brick); }
.series-block.warm h2 em { color: var(--brick); }
.series-block.forest { background: linear-gradient(180deg, #102a26 0%, #0f1f1c 100%); }
.series-block.forest .section-eyebrow { color: #93c5a8; }
.series-block.forest h2 em { color: #93c5a8; }
.series-block.midnight { background: linear-gradient(180deg, #0a0820 0%, #1a1240 100%); }
.series-block.midnight .section-eyebrow { color: #c89df0; }
.series-block.midnight h2 em { color: #c89df0; }

.series-block-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 980px) { .series-block-grid { grid-template-columns: 1fr; } }
.series-block-grid.reverse > :first-child { order: 2; }
@media (max-width: 980px) { .series-block-grid.reverse > :first-child { order: 0; } }

.series-cover {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-3);
  border: 6px solid currentColor;
  background: var(--cream);
  position: relative;
}
.series-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.series-cover svg { width: 100%; height: 100%; display: block; }

.series-block .lead {
  font-size: 19px;
  margin-top: 24px;
  max-width: 540px;
  line-height: 1.6;
}
.series-meta {
  display: flex; gap: 32px; flex-wrap: wrap;
  margin: 28px 0 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.series-block.warm .series-meta { border-top-color: rgba(11,21,48,0.15); }
.series-meta div { font-size: 13px; opacity: 0.7; }
.series-meta strong {
  display: block;
  font-family: var(--display);
  font-size: 28px; font-weight: 400;
  margin-bottom: 2px;
  opacity: 1;
}
.series-block.warm .series-meta strong { color: var(--brick); }
.series-block.forest .series-meta strong { color: #93c5a8; }
.series-block.midnight .series-meta strong { color: #c89df0; }

.series-cast {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin: 24px 0 32px;
}
.cast-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: rgba(244, 234, 208, 0.08);
  border: 1px solid var(--line-strong);
  font-size: 13px;
  font-weight: 600;
}
.series-block.warm .cast-pill { background: rgba(11,21,48,0.06); border-color: rgba(11,21,48,0.18); color: var(--night-1); }
.cast-pill .av {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--night-1);
  display: grid; place-items: center;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
}

.series-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.series-block.warm .btn { border-color: rgba(11,21,48,0.2); color: var(--night-1); }
.series-block.warm .btn.primary { background: var(--night-1); color: var(--cream); border-color: var(--night-1); }

/* ---------- Episode list (subpage) ---------- */
.page-hero {
  padding: 80px 28px 60px;
  text-align: center;
  position: relative;
}
.page-hero .back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.page-hero .back:hover { color: var(--amber); }
.page-hero h1 {
  font-size: clamp(48px, 6vw, 88px);
  letter-spacing: -0.035em;
}
.page-hero .lead {
  margin: 24px auto 0;
  max-width: 600px;
  font-size: 18px;
  color: var(--ink-soft);
}
.page-hero .platforms-row { margin-top: 32px; }

.ep-list {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
  padding: 40px 28px 100px;
}
.ep-row {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 16px;
  background: var(--night-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform .15s ease, border-color .2s ease;
}
.ep-row:hover { transform: translateX(2px); border-color: var(--amber); }
.ep-row .row-art {
  width: 96px; height: 96px;
  border-radius: var(--r-sm);
  overflow: hidden;
  flex: none;
  background: var(--night-3);
}
.ep-row .row-art img, .ep-row .row-art svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.ep-row .row-meta {
  display: flex; gap: 10px; align-items: center;
  font-size: 12px;
  color: var(--ink-mute);
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.ep-row .row-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  color: var(--amber);
}
.ep-row h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 6px;
}
.ep-row p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  max-width: 560px;
}
.ep-row .row-actions { display: flex; gap: 8px; flex: none; }
.ep-row .row-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  color: white;
  transition: transform .15s ease;
}
.ep-row .row-icon.spotify { background: #1DB954; border-color: #1DB954; }
.ep-row .row-icon.youtube { background: var(--brick); border-color: var(--brick); }
.ep-row .row-icon:hover { transform: scale(1.08); }

@media (max-width: 720px) {
  .ep-row { grid-template-columns: 72px 1fr; }
  .ep-row .row-art { width: 72px; height: 72px; }
  .ep-row .row-actions { grid-column: 1 / -1; justify-self: end; }
}

/* ---------- Mini player ---------- */
.player {
  position: fixed;
  left: 50%; bottom: 20px;
  transform: translateX(-50%);
  width: min(960px, calc(100% - 40px));
  background: var(--cream);
  color: var(--night-1);
  border-radius: 999px;
  padding: 10px 14px 10px 10px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow-3);
  z-index: 60;
  transition: transform .3s ease, opacity .3s ease;
}
.player.hidden { transform: translate(-50%, 200%); opacity: 0; pointer-events: none; }
.player-art {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--amber);
  display: grid; place-items: center;
  flex: none;
  overflow: hidden;
}
.player-art svg { width: 70%; height: 70%; }
.player-meta { min-width: 0; flex: 1; }
.player-title { font-family: var(--display); font-size: 16px; font-weight: 500; color: var(--night-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-sub { font-size: 11px; color: rgba(11,21,48,0.55); }
.player-controls { display: flex; gap: 4px; flex: none; }
.player-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--night-1);
  display: grid; place-items: center;
  cursor: pointer;
}
.player-btn:hover { background: rgba(11,21,48,0.08); }
.player-btn.play { background: var(--night-1); color: var(--cream); }
.player-progress {
  flex: 1.2;
  height: 4px;
  background: rgba(11,21,48,0.15);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
  min-width: 100px;
}
.player-progress .fill { height: 100%; background: var(--brick); border-radius: 2px; }
.player-progress .knob {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--brick);
  position: absolute; top: 50%;
  transform: translate(-50%, -50%);
}
.player-time { font-size: 12px; color: rgba(11,21,48,0.6); flex: none; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) {
  .player-progress, .player-time { display: none; }
}
