/* layout.css - container system + spatial primitives.
   Shared by the homepage and episode pages. No component styling here. */

/* Container scale. Desktop uses the wide track; copy-heavy blocks step down. */
.container-wide { max-width: 1280px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }
.container       { max-width: 960px;  margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2rem); }
.container-sm    { max-width: 640px;  margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 1.5rem); }

/* Break an element out of its container to span the full viewport width. */
.full-bleed {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* Section rhythm. Wider screens breathe more. */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-24);
}
.section-title-center { text-align: center; margin-bottom: var(--space-48); }

/* Mono kicker - the small uppercase label that tags each section like a
   broadcast channel slug. Part of the production-console language. */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: var(--space-16);
}
.kicker::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: var(--violet);
  opacity: 0.6;
}
.kicker-center { justify-content: center; }
.kicker-center::after {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: var(--violet);
  opacity: 0.6;
}

/* Faint atmospheric glow you can drop behind a section for depth. */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.glow--ember  { background: radial-gradient(circle, rgba(224,90,43,0.55), transparent 70%); }
.glow--violet { background: radial-gradient(circle, rgba(139,92,246,0.45), transparent 70%); }

/* Hairline divider used between major bands. */
.rule {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
  margin: 0;
}

/* ── Shared site nav (homepage + episode pages) ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  padding: 0.85rem clamp(1.25rem, 4vw, 2.5rem);
  background: rgba(18, 17, 24, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-nav__brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
}
.site-nav__brand b { color: var(--ember); }
.site-nav__brand span { color: var(--muted); font-weight: 400; font-size: 0.8125rem; }
.site-nav__links { display: flex; gap: var(--space-24); font-size: 0.8125rem; }
.site-nav__links a { color: var(--muted); transition: color var(--transition-base); }
.site-nav__links a:hover { color: var(--white); }
@media (max-width: 560px) { .site-nav__links { gap: var(--space-16); } }
