/* ==========================================================================
   Altadena Talks — cinematic navy / charcoal / gold design system
   Fonts: Barlow Condensed (display), Inter (body), Kalam (accent script)
   Sections:
     1. Tokens & reset        6. Spotlight (featured + on air)
     2. Typography & utils    7. Episodes / news / events
     3. Buttons & links       8. Quick links & callout
     4. Header & navigation   9. Inner pages
     5. Hero                 10. Footer · 11. Animations · 12. Responsive
   ========================================================================== */

/* 1. Tokens & reset -------------------------------------------------------- */
:root {
  --navy: #0e1928;
  --navy2: #182533;
  --navy3: #22303f;
  --ink: #0b121c;
  --charcoal: #111821;
  --gold: #ffbc43;
  --gold-deep: #f5a623;
  --gold-soft: #ffd98a;
  --orange: #f08a24;
  --orange-aa: #8b5200; /* accessible amber: 5.7:1 contrast on white */
  --white: #ffffff;
  --text: #16202c;
  --muted: #5c6773;
  --muted-light: #b9c2cd;
  --line: #e3e7ec;
  --line-dark: rgba(255, 255, 255, 0.14);
  --paper: #f6f7f9;
  --green: #2f9e5b;
  --font-display: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-script: 'Kalam', 'Segoe Print', cursive;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 8px rgba(10, 18, 30, 0.08);
  --shadow: 0 10px 30px rgba(10, 18, 30, 0.12);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.35);
  --glow: 0 0 0 3px rgba(255, 188, 67, 0.25), 0 10px 30px rgba(255, 188, 67, 0.25);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 84px;
  --shell: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; margin: -1px; padding: 0; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  padding: 10px 16px; border-radius: var(--radius-sm);
  background: var(--gold); color: var(--ink); font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

.shell { width: min(100% - 48px, var(--shell)); margin-inline: auto; }

/* 2. Typography & utilities ----------------------------------------------- */
.overline {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #e9edf2;
}

.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  margin-bottom: 14px;
}
.section-head h2 {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 26px; font-weight: 700;
  letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--ink);
}
.head-ico { display: inline-grid; width: 30px; color: var(--gold-deep); }

.meta, time { font-size: 13px; color: var(--muted); }

.notice {
  margin: 28px 0 0;
  padding: 14px 18px;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  background: #fff8ea;
  color: #4b3b17;
  font-size: 14px;
}
.notice a { text-decoration: underline; font-weight: 600; }

.placeholder-tag {
  display: inline-block; padding: 3px 10px; border-radius: 99px;
  border: 1px dashed rgba(255, 188, 67, 0.6);
  color: var(--gold-soft) !important; font-size: 12px !important;
}

/* 3. Buttons & links -------------------------------------------------------- */
.btn {
  --btn-pad: 12px 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--btn-pad);
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px; font-weight: 700; line-height: 1.1;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 6px 18px rgba(255, 188, 67, 0.28); }
.btn-gold:hover { background: #ffc85f; box-shadow: var(--glow); }

.btn-outline { border-color: rgba(255, 255, 255, 0.85); color: var(--white); background: rgba(10, 18, 30, 0.25); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); background: rgba(10, 18, 30, 0.5); }

.btn-outline-dark { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }

.btn-sm { --btn-pad: 9px 22px; font-size: 14px; }
.btn-md { --btn-pad: 10px 22px; }
.btn-lg { --btn-pad: 14px 26px; font-size: 16px; }
.btn.stretch, .stretch { width: 100%; }

.btn-play {
  display: grid; place-items: center;
  width: 30px; height: 30px; margin-left: -8px;
  border-radius: 50%; background: var(--ink); color: var(--gold);
}
.btn-play svg { width: 14px; height: 14px; margin-left: 2px; }

.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.actions-center { justify-content: center; }

.text-link {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600;
  color: var(--orange-aa); /* #8b5200 – 5.7:1 on white, WCAG AA */
}
.text-link .ico, .pill-btn .ico, .quick-copy em .ico { display: inline-grid; width: 16px; transition: transform 0.25s var(--ease); }
.text-link::after {
  content: ""; position: absolute; left: 0; right: 22px; bottom: -3px;
  height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.text-link:hover::after { transform: scaleX(1); }
.text-link:hover .ico { transform: translateX(4px); }
.text-link-light { color: var(--white); font-size: 13px; font-weight: 500; }

/* 4. Header & navigation ------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  overflow-x: clip; /* prevent sticky header from contributing to horizontal scrollWidth */
  background: linear-gradient(180deg, rgba(8, 14, 23, 0.92), rgba(8, 14, 23, 0.72));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, box-shadow 0.3s, height 0.3s var(--ease), border-color 0.3s;
}
body:not(.page-light) .site-header { position: fixed; left: 0; right: 0; background: linear-gradient(180deg, rgba(8, 14, 23, 0.75), rgba(8, 14, 23, 0)); backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-scrolled,
body:not(.page-light) .site-header.is-scrolled {
  --header-h: 68px;
  background: rgba(10, 17, 27, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line-dark);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; flex: none; text-decoration: none; }
.site-header .brand, .site-header .brand:hover { color: inherit; opacity: 1; }
.logo-img { height: 60px; width: auto; display: block; transition: height 0.3s var(--ease); }
.is-scrolled .logo-img { height: 50px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font: 800 26px/1 'Barlow Condensed', sans-serif; color: #fff; white-space: nowrap; }
.brand-name span { color: #ffbc43; margin-left: 5px; }
.brand-tagline { font: 600 8px Inter, sans-serif; color: #c8cdd6; letter-spacing: 0.8px; margin-top: 3px; white-space: nowrap; }
.footer-logo-img { height: 90px; width: auto; display: block; }
.logo-mark { transition: filter 0.3s; }

.primary-nav { display: flex; align-items: center; gap: 6px; }
.primary-nav a {
  position: relative;
  padding: 10px 16px;
  font-size: 15px; font-weight: 500;
  color: #e8ecf1;
  transition: color 0.2s;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 0;
  height: 3px; border-radius: 3px; background: var(--gold);
  transform: scaleX(0); transition: transform 0.3s var(--ease);
}
.primary-nav a:hover { color: var(--white); }
.primary-nav a:hover::after { transform: scaleX(0.6); }
.primary-nav a.active { color: var(--gold); }
.primary-nav a.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.icon-btn {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border: 0; border-radius: 50%;
  background: transparent; color: var(--white);
  transition: background-color 0.2s, color 0.2s;
}
.icon-btn svg { width: 24px; height: 24px; }
.icon-btn:hover { background: rgba(255, 255, 255, 0.1); color: var(--gold); }
.menu-toggle .when-open { display: none; }
.menu-open .menu-toggle .when-open { display: block; }
.menu-open .menu-toggle .when-closed { display: none; }
.menu-toggle { display: none; }

.mobile-nav {
  position: absolute; top: 100%; left: 0; right: 0;
  max-height: 0; overflow: hidden;
  background: rgba(10, 17, 27, 0.98);
  border-bottom: 1px solid var(--line-dark);
  transition: max-height 0.4s var(--ease);
}
.mobile-nav .shell { display: flex; flex-direction: column; padding: 8px 0 22px; }
.mobile-nav a:not(.btn) {
  padding: 14px 4px;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--white);
}
.mobile-nav a.active { color: var(--gold); }
.mobile-nav-cta { display: grid; gap: 10px; margin-top: 18px; }
.menu-open .mobile-nav { max-height: 640px; }

/* 5. Hero ---------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 600px;
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 50px) 0 54px;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background: var(--navy);
}
.hero-sky {
  position: absolute; inset: 0; z-index: -4;
  background:
    radial-gradient(120% 70% at 62% 78%, rgba(255, 150, 60, 0.75) 0%, rgba(240, 110, 50, 0.45) 22%, rgba(120, 70, 90, 0.35) 42%, transparent 65%),
    radial-gradient(80% 50% at 15% 85%, rgba(255, 170, 80, 0.35), transparent 60%),
    linear-gradient(180deg, #0b1626 0%, #1b2740 34%, #4b3c58 58%, #9b5a4a 76%, #2a2333 100%);
}
.hero-lights {
  position: absolute; left: 0; right: 0; bottom: 0; height: 26%; z-index: -2;
  background-image:
    radial-gradient(1.6px 1.6px at 10% 40%, #ffd98a 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 22% 70%, #ffcf7a 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 35% 55%, #fff1c9 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 48% 80%, #ffcf7a 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 58% 45%, #ffe2a8 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 72% 75%, #ffd98a 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 85% 60%, #fff1c9 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 93% 82%, #ffcf7a 50%, transparent 51%);
  background-size: 180px 60px;
  opacity: 0.8;
  -webkit-mask-image: linear-gradient(transparent, #000 35%);
  mask-image: linear-gradient(transparent, #000 35%);
}
.mtn-layers { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; pointer-events: none; contain: strict; }
.hero-mtn { height: 62%; z-index: -3; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(8, 14, 23, 0.82) 0%, rgba(8, 14, 23, 0.5) 42%, rgba(8, 14, 23, 0) 70%), linear-gradient(0deg, rgba(8, 14, 23, 0.7), transparent 30%);
}
.hero-mic {
  position: absolute; z-index: 0;
  right: max(0px, calc((100vw - var(--shell)) / 2 + 120px));
  bottom: 0;
  width: min(48vw, 560px); aspect-ratio: 810 / 574;
  background: url('/assets/hero-microphone.webp') center bottom / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%, #000 80%, transparent 100%), linear-gradient(0deg, #000 70%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 26%, #000 80%, transparent 100%), linear-gradient(0deg, #000 70%, transparent 100%);
  mask-composite: intersect;
  opacity: var(--mic-opacity, 0.95);
  animation: mic-in 1.4s var(--ease) both;
}
.hero-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.hero-copy { max-width: 640px; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 7.4vw, 88px);
  font-weight: 800; line-height: 0.92;
  letter-spacing: 0.005em; text-transform: uppercase;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { max-width: 500px; margin-top: 20px; font-size: 18px; line-height: 1.45; color: #edf0f4; }
.hero-words {
  align-self: flex-start;
  margin-top: 10px;
  font-family: var(--font-script);
  font-size: 25px; line-height: 1.38;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  transform: rotate(-3deg);
}
.hero-words li { opacity: 0; animation: word-in 0.6s var(--ease) forwards; }
.hero-words li:nth-child(1) { animation-delay: 0.3s; }
.hero-words li:nth-child(2) { animation-delay: 0.45s; }
.hero-words li:nth-child(3) { animation-delay: 0.6s; }
.hero-words li:nth-child(4) { animation-delay: 0.75s; }
.hero-words li:nth-child(5) { animation-delay: 0.9s; }
.hero-words::after {
  content: ""; display: block; width: 84px; height: 3px; margin-top: 10px;
  border-radius: 3px; background: var(--gold);
  transform: rotate(-4deg);
}

/* 6. Spotlight ------------------------------------------------------------------ */
.spotlight { padding: 16px 0 14px; background: linear-gradient(180deg, #0a121d, var(--navy)); }
.spotlight-grid { display: grid; grid-template-columns: minmax(0, 2.65fr) minmax(280px, 1fr); gap: 14px; }

.featured {
  position: relative;
  min-height: 236px;
  display: flex; align-items: center;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.featured-media {
  position: absolute; top: 0; right: 0; bottom: 0; width: 64%;
  background: var(--feature-img) center / cover no-repeat;
  transition: transform 0.8s var(--ease);
}
.featured::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--ink) 34%, rgba(11, 18, 28, 0.85) 46%, rgba(11, 18, 28, 0) 66%);
}
.featured:hover .featured-media { transform: scale(1.04); }
.featured-copy { position: relative; z-index: 2; width: 46%; padding: 20px 26px; }
.ribbon {
  display: inline-block; margin-bottom: 14px;
  padding: 4px 11px; border-radius: 3px;
  background: var(--gold); color: var(--ink);
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
}
.featured h2 { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 32px); font-weight: 700; line-height: 1.02; }
.featured h2 a:hover { color: var(--gold-soft); }
.featured p { margin: 14px 0 0; font-size: 14px; line-height: 1.4; color: #dfe4ea; }
.featured-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin-top: 16px; font-size: 13px; color: #dfe4ea; }
.featured-meta > span:not(.placeholder-tag) { padding: 0 10px; border-left: 2px solid var(--gold); line-height: 1; }
.featured-meta .btn { margin-right: 10px; }
.featured-meta .placeholder-tag { margin-left: 4px; }
.play-big {
  position: absolute; z-index: 3; left: 68%; top: 50%;
  display: grid; place-items: center;
  width: 62px; height: 62px;
  border: 2px solid rgba(255, 255, 255, 0.9); border-radius: 50%;
  background: rgba(8, 14, 23, 0.65); color: var(--white);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), background-color 0.3s, box-shadow 0.3s, color 0.3s;
}
.play-big svg { width: 28px; height: 28px; margin-left: 4px; }
.play-big:hover, .featured:hover .play-big { transform: translate(-50%, -50%) scale(1.12); background: var(--gold); color: var(--ink); box-shadow: 0 0 0 10px rgba(255, 188, 67, 0.2); }

.on-air {
  display: flex; flex-direction: column;
  padding: 16px 18px 18px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: linear-gradient(160deg, #182637, #0f1a28);
  color: var(--white);
}
.on-air-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 10px; margin-bottom: 14px; border-bottom: 1px solid var(--line-dark); }
.on-air-head h2 { font-family: var(--font-body); font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.on-air-type { display: flex; align-items: center; gap: 12px; margin: 0 0 6px; font-size: 14px; color: #e6eaef; }
.cal-ico { display: grid; width: 32px; color: var(--gold); }
.on-air h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1.1; }
.on-air-time { margin: 12px 0 18px; font-size: 14px; color: #dfe4ea; }
.on-air-time span { color: var(--gold); padding: 0 4px; }
.on-air .btn { margin-top: auto; border-color: var(--gold); border-radius: var(--radius); }

/* 7. Episodes / news / events -------------------------------------------------------- */
.section-light { background: var(--white); }
.home-light { padding: 18px 0 26px; }

.episodes-row { display: grid; grid-template-columns: minmax(0, 2.65fr) minmax(250px, 1fr); gap: 24px; align-items: stretch; }
.episode-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px 18px; }
.episode-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }

.episode-card { display: flex; flex-direction: column; gap: 4px; }
.episode-thumb {
  position: relative; display: block;
  aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--navy2) center / cover no-repeat;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.episode-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.episode-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0, 0, 0, 0.55)); }
.episode-card:hover .episode-thumb { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(10, 18, 30, 0.25); }
.episode-card:hover .episode-thumb img { transform: scale(1.07); }
.play-badge {
  position: absolute; z-index: 1; left: 10px; bottom: 10px;
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border: 2px solid var(--white); border-radius: 50%;
  background: rgba(0, 0, 0, 0.45); color: var(--white);
  transition: background-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.play-badge svg { width: 15px; height: 15px; margin-left: 2px; }
.episode-card:hover .play-badge { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: scale(1.1); }
.duration {
  position: absolute; z-index: 1; right: 8px; bottom: 9px;
  padding: 2px 7px; border-radius: 4px;
  background: rgba(0, 0, 0, 0.75); color: var(--white);
  font-size: 12px; font-weight: 600;
}
.episode-title { margin-top: 8px; font-family: var(--font-body); font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.episode-title a { display: block; padding: 6px 0; min-height: 44px; display: flex; align-items: flex-start; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size 0.3s var(--ease), color 0.2s; }
.episode-card:hover .episode-title a { background-size: 100% 1.5px; color: #000; }

/* Placeholder thumbnails until YouTube sync provides real thumbnails */
.ph-1 { background-image: linear-gradient(135deg, rgba(14, 25, 40, 0.15), rgba(14, 25, 40, 0.55)), url('/assets/featured-studio.webp'); background-position: 30% center; }
.ph-2 { background-image: linear-gradient(135deg, rgba(14, 25, 40, 0.1), rgba(14, 25, 40, 0.5)), url('/assets/hero-microphone.webp'); background-position: center 40%; }
.ph-3 { background-image: linear-gradient(135deg, rgba(14, 25, 40, 0.1), rgba(14, 25, 40, 0.5)), url('/assets/featured-studio.webp'); background-position: 80% center; }
.ph-4 { background-image: linear-gradient(135deg, rgba(14, 25, 40, 0.1), rgba(14, 25, 40, 0.5)), url('/assets/news-community.webp'); }
.ph-5 { background-image: linear-gradient(135deg, rgba(14, 25, 40, 0.1), rgba(14, 25, 40, 0.5)), url('/assets/news-recovery.webp'); }

.stories-promo {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 190px; padding: 22px 18px 20px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: url('/assets/stories-promo.webp') right center / cover no-repeat, var(--navy2);
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.stories-promo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(240, 236, 228, 0.97) 0%, rgba(240, 236, 228, 0.9) 42%, rgba(240, 236, 228, 0.15) 75%, transparent);
}
.stories-promo > * { position: relative; }
.stories-promo:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10, 18, 30, 0.25); }
.stories-title { font-family: var(--font-display); font-size: 31px; font-weight: 800; line-height: 0.95; text-transform: uppercase; color: var(--navy); }
.pill-btn {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px; padding: 9px 18px; border-radius: 999px;
  background: var(--white); color: var(--ink);
  font-size: 14px; font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.25s, color 0.25s;
}
.pill-btn .ico { color: var(--orange); }
.stories-promo:hover .pill-btn { background: var(--gold); }
.stories-promo:hover .pill-btn .ico { transform: translateX(4px); color: var(--ink); }

.news-events-row { display: grid; grid-template-columns: minmax(0, 1.47fr) minmax(0, 1fr); gap: 28px; margin-top: 26px; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.news-card {
  position: relative; display: flex; flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: 0 2px 10px rgba(10, 18, 30, 0.1);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(10, 18, 30, 0.18); }
.news-media { display: block; aspect-ratio: 187 / 100; overflow: hidden; }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.news-card:hover .news-media img { transform: scale(1.06); }
.badge {
  display: inline-block;
  padding: 3px 12px; border-radius: 99px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.news-card .badge { position: relative; z-index: 1; align-self: flex-start; margin: -12px 0 0 10px; }
.badge-recovery { background: var(--gold); color: var(--ink); }
.badge-community { background: var(--white); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.badge-education { background: var(--green); color: var(--white); }
.news-body { padding: 10px 12px 16px; }
.news-card h3, .news-card h2 { margin-top: 6px; font-family: var(--font-display); font-size: 19px; font-weight: 600; line-height: 1.1; color: var(--ink); }
.news-card h3 a:hover, .news-card h2 a:hover { color: var(--orange); }

.event-list { display: grid; gap: 10px; }
.event-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: 0 2px 10px rgba(10, 18, 30, 0.08);
  border-left: 3px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.event-item:hover { transform: translateX(4px); border-left-color: var(--orange); box-shadow: 0 10px 24px rgba(10, 18, 30, 0.14); }
.date-badge {
  flex: none; display: grid; place-items: center; align-content: center;
  width: 52px; height: 56px; border-radius: var(--radius-sm);
  background: #fff4e3; color: var(--orange);
  font-family: var(--font-display); text-transform: uppercase; line-height: 1;
}
.date-badge span { font-size: 14px; font-weight: 600; letter-spacing: 0.06em; }
.date-badge b { font-size: 22px; font-weight: 700; margin-top: 3px; }
.date-badge b svg { width: 24px; height: 24px; }
.event-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.event-title { font-family: var(--font-body); font-size: 14.5px; font-weight: 700; line-height: 1.25; color: var(--ink); }
.event-text { font-size: 13px; color: var(--muted); }
.event-meta { font-size: 12.5px; color: var(--muted); }
.event-meta i { font-style: normal; padding: 0 4px; }

/* 8. Quick links & callout --------------------------------------------------------- */
.quicklinks { position: relative; overflow: hidden; padding: 20px 0; background: linear-gradient(180deg, #1c2533, #222c3a); color: var(--white); isolation: isolate; }
.quick-mtn { height: 100%; opacity: 0.35; z-index: -1; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.quick-item {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 6px 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  transition: transform 0.3s var(--ease);
}
.quick-item:first-child { border-left: 0; padding-left: 0; }
.quick-item:hover { transform: translateY(-3px); }
.quick-icon { flex: none; display: grid; width: 52px; color: var(--gold); transition: transform 0.3s var(--ease), filter 0.3s; }
.quick-item:hover .quick-icon { transform: scale(1.1); filter: drop-shadow(0 0 10px rgba(255, 188, 67, 0.6)); }
.quick-copy { display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; line-height: 1.35; color: #e1e6ec; }
.quick-copy b { font-family: var(--font-display); font-size: 21px; font-weight: 600; color: var(--white); }
.quick-copy em { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-style: normal; font-weight: 600; color: var(--gold); }
.quick-item:hover .quick-copy em .ico { transform: translateX(4px); }

.callout { position: relative; overflow: hidden; padding: 24px 0 26px; text-align: center; color: var(--white); isolation: isolate;
  background: linear-gradient(180deg, rgba(14, 25, 40, 0.35), rgba(14, 25, 40, 0.75)), radial-gradient(90% 120% at 50% 100%, #c0703f 0%, #5b4256 45%, #1f2a3d 80%); }
.callout-mtn { height: 70%; z-index: -1; opacity: 0.9; }
.callout h2 { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 38px); font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; text-shadow: 0 3px 18px rgba(0, 0, 0, 0.4); }
.callout p { margin: 6px 0 0; font-size: 15px; color: #f0f2f5; }
.callout .actions { margin-top: 14px; }

/* 9. Inner pages -------------------------------------------------------------------- */
.page-light { background: var(--white); }
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 70px 0 84px;
  color: var(--white);
  background: radial-gradient(80% 90% at 70% 100%, rgba(240, 130, 60, 0.6), transparent 60%), linear-gradient(180deg, #0b1626, #1f2a42 60%, #40354e);
}
.page-hero-mtn { height: 70%; z-index: -1; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(42px, 6vw, 72px); font-weight: 800; line-height: 0.95; text-transform: uppercase; text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4); }
.page-hero h1 em { font-style: normal; color: var(--gold); }
.page-hero .lead { max-width: 620px; margin: 16px 0 0; font-size: 18px; color: #e9edf2; }
.section { padding: 52px 0 64px; }

.episode-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 4px 0 26px; }
.search-field {
  flex: 1 1 320px; display: flex; align-items: center; gap: 10px;
  padding: 0 16px; border: 2px solid var(--line); border-radius: 999px;
  background: var(--paper);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.search-field:focus-within { border-color: var(--gold); background: var(--white); box-shadow: var(--glow); }
.search-field svg { width: 20px; color: var(--muted); flex: none; }
.search-field input { flex: 1; min-width: 0; height: 48px; border: 0; outline: 0; background: transparent; font: inherit; color: var(--text); }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: 14px; font-weight: 600; color: var(--muted); transition: all 0.2s; }
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: var(--gold); }
.result-count { margin: 0; font-size: 14px; color: var(--muted); }
.empty-state { margin-top: 24px; padding: 28px; border-radius: var(--radius); background: var(--paper); text-align: center; color: var(--muted); }
.empty-state a { color: var(--orange); font-weight: 600; text-decoration: underline; }
[data-episode][hidden] { display: none; }

.notice-card { margin-bottom: 28px; padding: 28px; border-radius: var(--radius-lg); background: var(--navy); color: var(--white); }
.notice-card h2 { font-family: var(--font-display); font-size: 30px; text-transform: uppercase; margin-bottom: 10px; }
.notice-card p { color: var(--muted-light); max-width: 720px; }
.notice-card .btn-outline-dark { border-color: var(--white); color: var(--white); }

.news-grid-lg { gap: 24px; }
.news-grid-lg .news-card h2 { font-size: 24px; }

.split-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; padding: 32px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); }
.split-panel h2, .side-card h2, .resource-group h3 { font-family: var(--font-display); font-size: 26px; font-weight: 700; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }
.split-panel p { color: var(--muted); }

.events-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: 36px; align-items: start; }
.event-list-lg .event-item { padding: 16px 18px; }
.event-list-lg .event-title { font-size: 17px; }
.events-side { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 20px); }
.side-card { padding: 22px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.side-card p { color: var(--muted); }

.crisis-banner { margin-bottom: 36px; padding: 16px 22px; border-radius: var(--radius); background: var(--navy); color: var(--white); font-size: 17px; }
.crisis-banner strong { color: var(--gold); margin-right: 6px; }
.crisis-banner a { color: var(--gold); font-weight: 700; text-decoration: underline; }
.resource-group { margin-bottom: 40px; }
.resource-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.resource-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 22px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.resource-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow); }
.resource-card h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--ink); }
.resource-card p { margin: 0; flex: 1; font-size: 14.5px; color: var(--muted); }
.resource-card:hover .text-link::after { transform: scaleX(1); }

.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; margin-bottom: 48px; align-items: start; }
.prose h2 { font-family: var(--font-display); font-size: 30px; font-weight: 700; text-transform: uppercase; color: var(--ink); margin: 28px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 17px; color: #34404d; }
.prose a { color: var(--orange); font-weight: 600; text-decoration: underline; }
.prose-narrow { max-width: 760px; }
.values { display: grid; gap: 12px; }
.values li { padding: 18px 20px; border-left: 4px solid var(--gold); border-radius: var(--radius-sm); background: var(--navy); color: var(--white); transition: transform 0.3s var(--ease); }
.values li:hover { transform: translateX(6px); }
.values b { display: block; font-family: var(--font-display); font-size: 22px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold); }
.values span { font-size: 14.5px; color: var(--muted-light); }
.host-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.host-card { padding: 28px 22px; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--navy2), var(--navy)); color: var(--white); text-align: center; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.host-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.host-avatar { display: grid; place-items: center; width: 88px; height: 88px; margin: 0 auto 16px; border: 3px solid var(--gold); border-radius: 50%; font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--gold); background: rgba(255, 188, 67, 0.08); }
.host-card h3 { font-family: var(--font-display); font-size: 24px; font-weight: 700; }
.host-card p { margin: 6px 0 0; color: var(--muted-light); font-size: 14px; }

/* Episode detail page */
.episode-detail { padding: 34px 0 64px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; font-size: 14px; color: var(--muted); }
.breadcrumbs a:hover { color: var(--orange); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; max-width: 50ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.episode-detail-grid { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(260px, 1fr); gap: 40px; }
.player { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: #000; box-shadow: var(--shadow-lg); }
.player iframe, .player img { width: 100%; height: 100%; border: 0; object-fit: cover; }
.player-fallback .play-big { left: 50%; }
.episode-detail h1 { margin-top: 22px; font-family: var(--font-display); font-size: clamp(32px, 4vw, 46px); font-weight: 800; color: var(--ink); }
.episode-meta { margin: 10px 0 0; color: var(--muted); }
.episode-detail h2 { margin: 30px 0 12px; font-family: var(--font-display); font-size: 26px; text-transform: uppercase; color: var(--ink); }
.episode-description { white-space: pre-line; overflow-wrap: anywhere; color: #34404d; }
.episode-description a { color: var(--orange); text-decoration: underline; }
.source-note { margin-top: 24px; font-size: 13px; color: var(--muted); }
.related { display: grid; gap: 18px; align-content: start; }
.related h2 { margin-top: 0; }
.related { position: sticky; top: calc(var(--header-h) + 20px); }
/* Aliases used by episode detail markup variants */
.episode-detail-page { padding: calc(var(--header-h) + 34px) 0 64px; background: var(--white); color: var(--ink); }
.video-embed { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: #000; box-shadow: var(--shadow-lg); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; font-size: 14px; color: var(--muted); }
.breadcrumb a:hover { color: var(--orange); }
.episode-description pre { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; color: #34404d; }

/* Watch page: latest six + archive entry points */
.episode-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 20px; }
.archive-search { display: flex; gap: 12px; margin: 34px 0 18px; }
.archive-search .search-field { flex: 1; }
.archive-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px; border-radius: var(--radius); background: var(--navy); color: var(--white); box-shadow: var(--shadow); }
.archive-cta h3 { font-family: var(--font-display); font-size: 28px; font-weight: 800; text-transform: uppercase; }
.archive-cta p { margin: 4px 0 0; color: #c9d1db; }
.archive-cta .btn-outline-dark { border-color: var(--gold); color: var(--gold); white-space: nowrap; }
.archive-cta .btn-outline-dark:hover { background: var(--gold); color: var(--ink); }
.archive-cta .ico { display: inline-flex; width: 16px; margin-left: 8px; }

/* 10. Footer --------------------------------------------------------------------------- */
.site-footer { background: var(--navy); color: #d7dde5; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 0.8fr 0.9fr 1.4fr 1.6fr; gap: 32px; padding: 30px 0 22px; align-items: start; }
.footer-brand p { margin: 14px 0 0; max-width: 260px; font-size: 13px; color: var(--muted-light); }
.footer-col { display: flex; flex-direction: column; gap: 0; }
.footer-col h2 { margin-bottom: 4px; font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); }
.footer-col a { width: fit-content; padding: 10px 4px; font-size: 13px; color: #c9d0d9; transition: color 0.2s, transform 0.2s; display: flex; align-items: center; min-height: 44px; line-height: 1; }
.footer-col a:hover { color: var(--gold); transform: translateX(3px); }
.socials { display: flex; gap: 12px; margin-bottom: 14px; }
.social { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--white); transition: color 0.2s, background-color 0.2s, transform 0.2s; }
.social svg { width: 22px; height: 22px; }
a.social:hover { color: var(--ink); background: var(--gold); transform: translateY(-3px); }
.social-pending { opacity: 0.4; cursor: help; }
.newsletter { display: grid; gap: 8px; max-width: 260px; }
.newsletter input { height: 40px; padding: 0 16px; border: 1px solid var(--line-dark); border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: var(--white); font: inherit; font-size: 14px; transition: border-color 0.2s, box-shadow 0.2s; }
.newsletter input::placeholder { color: #8d99a7; }
.newsletter input:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 188, 67, 0.25); }
.newsletter input[aria-invalid="true"] { border-color: #ff7a6b; }
.newsletter .btn { border-color: rgba(255, 255, 255, 0.85); color: var(--white); background: transparent; }
.newsletter .btn:hover { border-color: var(--gold); color: var(--gold); }
.form-msg { min-height: 1.2em; margin: 0; font-size: 13px; }
.form-msg.is-success { color: #8fe0a9; }
.form-msg.is-error { color: #ff9c8f; }
.footer-foundation { display: flex; align-items: center; gap: 16px; padding-left: 28px; border-left: 1px solid var(--line-dark); }
.atf-badge { width: 92px; height: 92px; flex: none; transition: transform 0.4s var(--ease); }
.footer-foundation a:hover .atf-badge { transform: rotate(-8deg) scale(1.05); }
.footer-foundation p { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--muted-light); }
.footer-foundation p a { color: var(--white); }
.footer-foundation p a:hover { color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 16px 0 20px; border-top: 1px solid var(--line-dark); font-size: 12.5px; color: var(--muted-light); }
.footer-bottom nav { display: flex; gap: 22px; }
.footer-bottom a:hover { color: var(--gold); }

/* 11. Animations ------------------------------------------------------------------------- */
@keyframes word-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@keyframes mic-in { from { opacity: 0; transform: translateY(30px) scale(0.97); } to { opacity: var(--mic-opacity, 0.95); transform: none; } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: hero-rise 0.8s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: 0.1s; }
.hero-copy > :nth-child(3) { animation-delay: 0.2s; }
.hero-copy > :nth-child(4) { animation-delay: 0.3s; }

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-words li { opacity: 1; }
}

/* 12. Responsive ---------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .primary-nav a { padding: 10px 11px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; }
  .footer-foundation { grid-column: 1 / -1; padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  .hero-mic { right: 150px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 74px; }
  .primary-nav { display: none; }
  .menu-toggle { display: grid; }
  .hero { min-height: 560px; }
  .hero-mic { right: -30px; width: 60vw; --mic-opacity: 0.55; }
  .spotlight-grid, .episodes-row, .news-events-row, .events-layout, .episode-detail-grid { grid-template-columns: 1fr; }
  .episode-grid-4, .episode-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .related { position: static; }
  .stories-promo { min-height: 170px; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
  .quick-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .events-side { position: static; }
}

@media (max-width: 768px) {
  .shell { width: min(100% - 32px, var(--shell)); }
  .header-actions .btn-sm { display: none; }
  .logo-img { height: 50px; }
  .brand-name { font-size: 22px; }
  .brand-tagline { font-size: 7px; letter-spacing: 0.5px; }
  .hero { min-height: 0; padding: calc(var(--header-h) + 40px) 0 40px; }
  .hero-inner { flex-direction: column; align-items: flex-start; }
  .hero-words { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 18px; transform: none; margin: 0; }
  .hero-words::after { display: none; }
  .hero-mic { width: 100vw; right: -20vw; --mic-opacity: 0.35; }
  .overline { font-size: 12px; letter-spacing: 0.22em; }
  .hero .lead { font-size: 16px; }
  .featured { min-height: 0; flex-direction: column; align-items: stretch; }
  .featured-media { position: relative; width: 100%; aspect-ratio: 16 / 9; }
  .featured::before { background: linear-gradient(0deg, var(--ink) 40%, transparent 62%); }
  .featured-copy { width: 100%; padding: 6px 20px 22px; }
  .play-big { left: 50%; top: 0; transform: translate(-50%, calc(28.125vw - 16px - 31px)); }
  .play-big:hover, .featured:hover .play-big { transform: translate(-50%, calc(28.125vw - 16px - 31px)) scale(1.1); }
  .news-grid { grid-template-columns: 1fr; }
  .news-card { flex-direction: row; flex-wrap: wrap; }
  .news-media { width: 100%; }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-item { border-left: 0; padding: 0; }
  .split-panel, .about-grid, .host-grid { grid-template-columns: 1fr; }
  .split-panel { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-connect { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .section-head { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .brand-tagline { display: none; }
  .episode-grid-4, .episode-grid-3 { grid-template-columns: 1fr; }
  .archive-search, .archive-cta { flex-direction: column; align-items: stretch; }
  .actions .btn { width: 100%; }
  .hero h1 { font-size: 46px; }
  .featured-meta .btn { width: 100%; margin: 0 0 10px; }
  .footer-foundation { flex-direction: column; align-items: flex-start; }
}

/* ≤360px: very small phones — hide brand text to prevent header overflow */
@media (max-width: 360px) {
  .brand-text { display: none; }
  .logo-img { height: 44px; }
  .header-inner { gap: 12px; }
}

@media print {
  .site-header, .site-footer, .quicklinks, .callout, .hero-mic { display: none; }
  body { background: #fff; }
}
