/* ==========================================================================
   Another Not Guilty - Official Podcast Design System
   Pure CSS - Responsive, Accessible, Dark Legal/Courtroom Theme
   ========================================================================== */

:root {
  --bg-main: #0c0f14;
  --bg-card: #151a23;
  --bg-card-hover: #1c2330;
  --bg-elevated: #1f2737;
  --bg-header: rgba(12, 15, 20, 0.95);
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  
  --accent-gold: #f59e0b;
  --accent-gold-hover: #d97706;
  --accent-gold-light: #fef3c7;
  --accent-gold-glow: rgba(245, 158, 11, 0.2);
  
  --verdict-green: #10b981;
  --verdict-green-bg: rgba(16, 185, 129, 0.15);
  
  --danger-crimson: #ef4444;
  --danger-crimson-bg: rgba(239, 68, 68, 0.15);
  
  --border-color: #283347;
  --border-focus: #f59e0b;
  
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 24px -4px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 0 20px rgba(245, 158, 11, 0.25);
  
  --container-max: 1200px;
  --transition: all 0.2s ease-in-out;
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.episodes-grid > *,
.team-grid > *,
.quotes-grid > *,
.support-grid > *,
.contact-grid > * {
  min-width: 0;
}

/* --- Main landmark: keeps the page a flex column between header/footer --- */
main {
  display: block;
  flex: 1 0 auto;
}

/* --- Skip link: visible only on keyboard focus --- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 0.85rem 1.35rem;
  background: var(--accent-gold, #d4a24a);
  color: #12100c;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 0.5rem 0;
}
.skip-link:focus,
.skip-link:focus-visible {
  left: 0;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* --- Visible focus for keyboard users everywhere --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--accent-gold, #d4a24a);
  outline-offset: 2px;
  border-radius: 2px;
}

/* --- Never let a long title, URL, or word push the layout sideways --- */
h1, h2, h3, h4, h5, h6, p, li, a, td, th, figcaption {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* --- Media must never exceed its container on small screens --- */
img, svg, video, iframe, table {
  max-width: 100%;
}
img, video {
  height: auto;
}

/* --- Respect reduced-motion preferences --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: #ffffff;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-gold-hover);
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background-color: #080a0e;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem auto;
}

.section-subtitle {
  color: var(--accent-gold);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.contact-card h2 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.contact-card p {
  flex: 1;
  margin-bottom: 0.5rem;
}

.contact-card .btn {
  width: 100%;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-verdict {
  background-color: var(--verdict-green-bg);
  color: var(--verdict-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-crimson {
  background-color: var(--danger-crimson-bg);
  color: var(--danger-crimson);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-gold {
  background-color: var(--accent-gold-glow);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Source-backed episode topic tags */
.badge-topic {
  background: rgba(74, 144, 226, 0.12);
  border: 1px solid rgba(74, 144, 226, 0.35);
  color: #93c5fd;
  white-space: normal;
  text-align: center;
}

.episode-card-topics,
.episode-modal-tags,
.episode-topic-tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.episode-card-topics {
  justify-content: flex-end;
}

.episode-topic-tags {
  margin: 0.5rem 0 1.5rem;
}

.episode-title-link {
  color: #fff;
}

.episode-title-link:hover {
  color: var(--accent-gold);
}

.episode-insights {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.episode-insights > h2 {
  margin-bottom: 0.5rem;
}

.episode-insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.episode-insight-card,
.episode-transcript-status,
.episode-modal-guide {
  background: #0b0e14;
  border-left: 3px solid var(--accent-gold);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.episode-insight-card h3,
.episode-transcript-status h3,
.episode-modal-guide h4 {
  color: var(--accent-gold);
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
  text-transform: uppercase;
}

.episode-insight-card ul,
.episode-modal-guide ul {
  padding-left: 1.15rem;
  color: var(--text-muted);
}

.episode-insight-card li,
.episode-modal-guide li {
  margin-bottom: 0.5rem;
}

.episode-source-note,
.episode-modal-source {
  color: var(--text-dim);
  font-size: 0.82rem;
  margin-bottom: 0;
}

.episode-modal-content {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #e5e7eb;
}

.episode-modal-guide {
  margin-top: 1.5rem;
}

.episode-modal-guide h4:not(:first-child) {
  margin-top: 1.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  min-height: 48px;
  text-align: center;
  user-select: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent-gold);
  color: #0f141d;
}

.btn-primary:hover {
  background-color: #fbbf24;
  color: #0f141d;
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--bg-elevated);
  color: #ffffff;
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--accent-gold);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
}

.btn-outline:hover {
  background-color: var(--accent-gold);
  color: #0f141d;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  min-height: 38px;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-header);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  flex: 0 1 auto;
  min-width: 0;
}

.site-brand > div {
  min-width: 0;
}

.site-brand > div > span:first-child {
  white-space: nowrap;
}

.site-brand img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.brand-text-sub {
  display: block;
  font-size: 0.7rem;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  min-width: 0;
  flex: 1 1 auto;
}

.nav-list {
  display: flex;
  list-style: none;
  align-items: center;
  gap: clamp(0.6rem, 1vw, 1.15rem);
  flex-wrap: nowrap;
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 0.25rem;
  position: relative;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--accent-gold);
  border-radius: 2px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  color: #ffffff;
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  width: 44px;
  height: 44px;
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 5rem 0 4rem 0;
  background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.08) 0%, transparent 60%),
              radial-gradient(circle at bottom left, rgba(239, 68, 68, 0.05) 0%, transparent 50%),
              var(--bg-main);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.hero-copy {
  max-width: 980px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background-color: var(--accent-gold-glow);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-full);
  color: var(--accent-gold);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  margin-bottom: 1.25rem;
  font-weight: 800;
}

.hero-title span {
  color: var(--accent-gold);
}

.hero-lead {
  font-size: 1.2rem;
  color: #d1d5db;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-platforms {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.platform-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.9rem 0.55rem 0.55rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.platform-pill:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--accent-gold);
  color: #ffffff;
  transform: translateY(-2px);
}

.platform-pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
}

.platform-pill-icon svg {
  width: 15px;
  height: 15px;
}

/* Real per-platform brand colors, not a single flat icon treatment. */
.platform-icon-apple {
  background: linear-gradient(160deg, #fa57c1, #7c4dff, #26c6da);
  color: #ffffff;
}

.platform-icon-spotify {
  background: #1db954;
  color: #06120a;
}

.platform-icon-youtube {
  background: #ff0000;
  color: #ffffff;
}

.platform-icon-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #ffffff;
}

.platform-icon-facebook {
  background: #1877f2;
  color: #ffffff;
}

.hero-platforms-panel {
  width: 100%;
  max-width: 320px;
  justify-self: end;
}

/* Official Instagram feed embed in the hero side panel */
.hero-instagram {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.hero-instagram .hero-platforms-label {
  display: block;
  margin-bottom: 0.75rem;
}

/* Meta's embed only ships a white/light card and exposes no dark-mode hook,
   so we frame it in a dark ANG-branded card instead of leaving it bare white. */
.ig-embed-frame {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, #18202d 0%, #111620 100%);
  padding: 0.65rem;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

/* Instagram injects its own iframe; keep it inside the ANG panel width. */
.ig-embed-frame .instagram-media {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: none !important;
}

.ig-embed-frame iframe {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.hero-platforms-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.platform-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.platform-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
}

.platform-btn:hover {
  background-color: var(--bg-card-hover);
  color: #ffffff;
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.platform-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.hero-support {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-support-label {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--accent-gold);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-support-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-support-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  transition: var(--transition);
}

.hero-support-link:hover {
  color: #ffffff;
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.hero-support-patreon {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.5);
}

.hero-support-merch {
  background: var(--bg-card);
}

.hero-support-link svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.support-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: #111620;
  font-size: 0.78rem;
  font-weight: 900;
}

/* Featured Player Card */
.featured-player-card {
  background: linear-gradient(145deg, #18202d 0%, #111620 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.featured-player-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold), var(--danger-crimson));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.player-artwork {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.25rem;
  aspect-ratio: 16/9;
  background-color: #0b0e14;
}

.player-artwork img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-artwork-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12, 15, 20, 0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.player-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.player-ep-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.player-ep-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Custom Audio Player UI */
.audio-player-ui {
  background-color: #0b0e14;
  border-radius: var(--radius-md);
  padding: 1rem;
  border: 1px solid var(--border-color);
}

.player-controls-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.play-pause-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--accent-gold);
  color: #0b0e14;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.play-pause-btn:hover {
  background-color: #fbbf24;
  transform: scale(1.05);
}

.play-pause-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.timeline-container {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.progress-bar-wrap {
  position: relative;
  height: 8px;
  background-color: #232d3f;
  border-radius: 4px;
  cursor: pointer;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-gold), #fbbf24);
  width: 0%;
  border-radius: 4px;
  transition: width 0.1s linear;
}

.time-display {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

/* Quick Stats Bar */
.stats-banner {
  background-color: #111622;
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 1.8rem;
  color: var(--accent-gold);
  margin-bottom: 0.25rem;
}

.stat-item p {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin: 0;
}

/* Episode Grid & Cards */
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
}

.episode-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
}

.episode-card:hover {
  border-color: rgba(245, 158, 11, 0.4);
  background-color: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.ep-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.ep-card-title {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.ep-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ep-card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.ep-date-duration {
  font-size: 0.8rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Filter & Search Bar */
.archive-controls {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.search-box-wrap {
  position: relative;
  flex: 1 1 300px;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  background-color: #0b0e14;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.95rem;
  transition: var(--transition);
}

.search-input:focus {
  border-color: var(--accent-gold);
}

.search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}

.season-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-pill {
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  background-color: #0b0e14;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-pill:hover, .filter-pill.active {
  background-color: var(--accent-gold);
  color: #0b0e14;
  border-color: var(--accent-gold);
  font-weight: 700;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.team-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-lg);
}

.team-avatar-wrap {
  position: relative;
  aspect-ratio: 1/1;
  background-color: #0f141d;
  overflow: hidden;
}

.team-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1b2333 0%, #111622 100%);
  color: var(--accent-gold);
  padding: 1.5rem;
  text-align: center;
}

.team-avatar-placeholder svg {
  width: 48px;
  height: 48px;
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.team-info {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.team-name {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  display: block;
}

.team-bio {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  flex-grow: 1;
}

.legal-motion-box {
  background-color: #0b0e14;
  border-left: 3px solid var(--accent-gold);
  padding: 0.85rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: #d1d5db;
  font-size: 0.9rem;
}

/* Call to Action Section ("Got a Not Guilty?") */
.cta-banner {
  background: linear-gradient(135deg, #1e2838 0%, #121824 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-banner::after {
  content: "NOT GUILTY";
  position: absolute;
  right: -20px;
  bottom: -20px;
  font-size: 6rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.02);
  letter-spacing: 0.1em;
  pointer-events: none;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2.5rem;
  align-items: center;
}

/* Story Intake Form */
.form-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: #e5e7eb;
}

.form-label span.req {
  color: var(--danger-crimson);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  background-color: #0b0e14;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--accent-gold);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 0.35rem;
}

.disclaimer-box {
  background-color: rgba(245, 158, 11, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-sm);
  padding: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Social Proof & Quotes */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 1.75rem;
}

.quote-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-text {
  font-size: 1.05rem;
  font-style: italic;
  color: #e5e7eb;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  position: relative;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
}

.quote-author-name {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.95rem;
}

.quote-author-title {
  font-size: 0.8rem;
  color: var(--accent-gold);
}

/* Support & Merch */
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.support-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.support-box:hover {
  border-color: var(--accent-gold);
  transform: translateY(-3px);
}

.support-perks-list {
  list-style: none;
  margin: 1.5rem 0;
}

.support-perks-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.support-perks-list svg {
  color: var(--verdict-green);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Home support and merch showcase */
.home-support-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 2rem;
}

.home-support-grid .support-box {
  min-width: 0;
}

.home-support-title {
  color: #fff;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  margin-bottom: 0.85rem;
}

.home-patreon-box {
  border-top: 3px solid var(--accent-gold);
}

.home-patreon-box .btn,
.home-merch-box > .btn {
  width: 100%;
  margin-top: 1.5rem;
}

.merch-teaser-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.merch-teaser-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
}

.merch-teaser-item:hover {
  color: var(--accent-gold);
}

.merch-teaser-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #0b0e14;
}

@media (max-width: 1024px) {
  .home-support-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .merch-teaser-grid {
    gap: 0.65rem;
  }

  .merch-teaser-item {
    font-size: 0.75rem;
  }
}

/* Footer */
.site-footer {
  background-color: #07090d;
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-top: 1rem;
  line-height: 1.6;
  max-width: 340px;
}

.footer-heading {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-social-icons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.social-icon-btn:hover {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-disclaimer {
  line-height: 1.6;
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.5rem;
}

.modal-close:hover {
  color: #ffffff;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-platforms-panel {
    max-width: none;
    justify-self: stretch;
  }

  /* Below the desktop split the feed is supporting content, so cap its height. */
  .hero-instagram {
    max-width: 420px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1100px) {
  .nav-list, .nav-cta {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .main-nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background-color: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
    gap: 1.25rem;
    box-shadow: var(--shadow-lg);
  }
  
  .main-nav.mobile-open .nav-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
  }
  
  .main-nav.mobile-open .nav-cta {
    display: flex;
    width: 100%;
  }
  
  .main-nav.mobile-open .nav-cta .btn {
    width: 100%;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cta-grid {
    grid-template-columns: 1fr;
  }
  
  .support-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .nav-container {
    height: 68px;
  }

  .site-brand {
    gap: 0.55rem;
    font-size: 1rem;
  }

  .site-brand img {
    height: 40px;
  }

  .brand-text-sub {
    font-size: 0.58rem;
    letter-spacing: 0.06em;
  }

  .main-nav.mobile-open {
    top: 68px;
  }

  .hero {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 100%;
  }

  .platform-badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .platform-badges > * {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    justify-content: center;
    text-align: center;
  }

  .platform-badges > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc((100% - 0.75rem) / 2);
    justify-self: center;
  }

  .episode-insight-grid {
    grid-template-columns: 1fr;
  }

  .episode-card-topics {
    justify-content: flex-start;
  }

  .episodes-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    white-space: normal;
    max-width: 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .platform-badges {
    grid-template-columns: 1fr;
  }

  .platform-badges > :last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
  }

  .platform-row {
    flex-direction: column;
  }

  .platform-pill {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .brand-text-sub {
    display: none;
  }
}

/* Indexable episode detail pages */
.episode-detail {
  padding-top: 1rem;
}

.episode-detail .section-title {
  max-width: 850px;
  margin-bottom: 1rem;
}

.episode-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.episode-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow-md);
}

.episode-detail-card > p {
  color: #e5e7eb;
  font-size: 1.1rem;
  line-height: 1.85;
}

.episode-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.episode-detail-note {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--accent-gold);
  background: rgba(245, 158, 11, 0.08);
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 480px) {
  .episode-detail-actions .btn {
    width: 100%;
  }
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
  border: 1px solid var(--border-color, rgba(255,255,255,.12));
  border-radius: 0.75rem;
  background: var(--surface, rgba(255,255,255,.04));
}

.blog-card h2 { margin: 0; font-size: 1.25rem; }
.blog-card p { margin: 0; color: var(--text-muted); }
.blog-card a:last-child { margin-top: auto; color: var(--accent-gold); font-weight: 700; }
.blog-article h2 { margin-top: 2.25rem; }
.blog-article details { margin-top: 1.5rem; padding: 1rem; border: 1px solid var(--border-color, rgba(255,255,255,.12)); border-radius: .5rem; }
.blog-article summary { cursor: pointer; font-weight: 700; }
.blog-article dt { margin-top: .75rem; color: var(--text-muted); font-weight: 700; }
.blog-article dd { margin: .15rem 0 0; overflow-wrap: anywhere; }
