/* ============================================
   SECOND OPINION / DR DEW
   Brand Design System — "Late Night Studio" Aesthetic
   Cool slate/steel/smoke + aged brass accents
   ============================================ */

/* --------------------------------------------
   Google Fonts Import
   -------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* --------------------------------------------
   CSS Custom Properties (Design Tokens)
   -------------------------------------------- */
:root {
  /* Colors — Cool Slate/Steel/Smoke Base */
  --bg-primary: #0d0f11;
  --bg-secondary: #14171a;
  --bg-card: #1a1d21;
  --bg-card-hover: #21252a;
  --bg-desk: #12151a;
  
  /* Metal Accents — Aged Brass Primary, Silver Secondary */
  --accent: #b8956c;
  --accent-hover: #d4ac7a;
  --accent-subtle: rgba(184, 149, 108, 0.10);
  --accent-glow: rgba(184, 149, 108, 0.20);
  --silver: #8a9199;
  --silver-light: #a8b0b8;
  --steel: #5a6570;
  
  /* Text — Cool Smoke White */
  --text-primary: #e8eaed;
  --text-secondary: #9aa0a8;
  --text-muted: #5c6670;
  
  /* Borders — Cool Steel */
  --border: #252a30;
  --border-accent: #363d45;
  --border-brass: rgba(184, 149, 108, 0.25);
  
  /* Confidence Badge Colors — Restrained */
  --confidence-high-bg: rgba(184, 149, 108, 0.12);
  --confidence-high-border: var(--accent);
  --confidence-high-text: var(--accent);
  --confidence-medium-bg: rgba(138, 145, 153, 0.10);
  --confidence-medium-border: var(--silver);
  --confidence-medium-text: var(--silver-light);
  --confidence-low-bg: rgba(92, 102, 112, 0.10);
  --confidence-low-border: var(--text-muted);
  --confidence-low-text: var(--text-muted);
  
  /* Typography */
  --font-headline: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Consolas, monospace;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Layout */
  --max-width: 1200px;
  --max-width-content: 800px;
  --header-height: 72px;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 400ms ease;
}

/* --------------------------------------------
   Reset & Base
   -------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Film grain texture — cinematic, atmospheric */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
  z-index: 1;
}

/* Smoky atmosphere overlay */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse 120% 80% at 50% 0%, rgba(138, 145, 153, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse 80% 50% at 80% 100%, rgba(92, 101, 112, 0.03) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

/* Subtle vignette effect */
html::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.5) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Subtle watermark pattern — atmosphere, not decoration */
html::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

/* --------------------------------------------
   Skip Link (Accessibility)
   -------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--accent);
  color: var(--bg-primary);
  padding: var(--space-sm) var(--space-md);
  text-decoration: none;
  font-weight: 600;
  z-index: 1000;
  border-radius: 0 0 4px 4px;
}

.skip-link:focus {
  top: 0;
}

/* --------------------------------------------
   Typography — Editorial, Engraved Feel
   -------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: 0.015em;
}

h3 {
  font-size: 1.375rem;
  letter-spacing: 0.01em;
}

h4 {
  font-size: 1.125rem;
  letter-spacing: 0.01em;
}

p {
  margin-bottom: var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

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

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

a:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 3px;
}

strong {
  font-weight: 600;
}

small {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--bg-secondary);
  padding: 0.15em 0.4em;
  border-radius: 2px;
  color: var(--silver-light);
  border: 1px solid var(--border);
}

blockquote {
  border-left: 1px solid var(--accent);
  padding-left: var(--space-lg);
  margin: var(--space-lg) 0;
  color: var(--text-secondary);
  font-style: italic;
  background: linear-gradient(90deg, var(--accent-subtle), transparent 50%);
  padding: var(--space-md) var(--space-lg);
  border-radius: 0 3px 3px 0;
}

/* --------------------------------------------
   Layout Containers
   -------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--narrow {
  max-width: var(--max-width-content);
}

.section {
  padding: var(--space-3xl) 0;
}

.section--alt {
  background: var(--bg-secondary);
}

/* Metallic rule divider — aged brass with subtle glow */
.brass-rule {
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--border) 15%,
    var(--accent) 50%, 
    var(--border) 85%,
    transparent 100%
  );
  border: none;
  margin: var(--space-2xl) 0;
  box-shadow: 0 0 12px rgba(184, 149, 108, 0.15);
}

/* --------------------------------------------
   Header — Studio Control Room Feel
   -------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(13, 15, 17, 0.97) 100%);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: var(--space-lg);
}

.site-brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  gap: 3px;
}

.site-brand:hover {
  text-decoration: none;
}

.site-brand:hover .site-title {
  text-shadow: 0 0 20px rgba(184, 149, 108, 0.3);
}

.site-title {
  font-family: var(--font-headline);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-transform: uppercase;
  transition: text-shadow var(--transition-normal);
}

.site-subtitle {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--silver);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Navigation — Studio Control */
.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-list {
  display: flex;
  list-style: none;
  gap: var(--space-xl);
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--transition-normal);
  position: relative;
  padding: var(--space-xs) 0;
}

.nav-link:hover,
.nav-link:focus,
.nav-link--active {
  color: var(--text-primary);
  text-decoration: none;
}

.nav-link--active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

/* Mobile menu toggle (CSS-only) */
.menu-toggle {
  display: none;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.menu-close {
  display: none;
}

/* Mobile navigation */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-xl);
    transition: right var(--transition-normal);
    border-left: 1px solid var(--border);
  }
  
  .site-nav:target {
    right: 0;
  }
  
  .site-nav:target .menu-close {
    display: block;
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    color: var(--text-secondary);
    font-size: 1.5rem;
    text-decoration: none;
    line-height: 1;
  }
  
  .nav-list {
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-2xl);
  }
  
  .nav-link {
    font-size: 1rem;
  }
}

/* --------------------------------------------
   Footer — Studio Credits, Minimal
   -------------------------------------------- */
.site-footer {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-top: 1px solid var(--border);
  padding: var(--space-2xl) 0;
  margin-top: var(--space-3xl);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--steel), transparent);
  opacity: 0.3;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-lg);
}

.footer-nav a {
  color: var(--text-secondary);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--text-primary);
}

.footer-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.footer-tagline {
  font-family: var(--font-headline);
  font-style: italic;
  color: var(--steel);
  font-size: 0.8125rem;
  margin-top: var(--space-xs);
}

/* Studio signature watermark */
.studio-signature {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.5;
}

.studio-signature::before {
  content: '◆';
  color: var(--accent);
  font-size: 0.4rem;
  opacity: 0.7;
}

@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }
}

/* --------------------------------------------
   Buttons — Premium, Aged Brass
   -------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.625rem var(--space-lg);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Primary CTA — aged brass, premium feel */
.btn--primary {
  background: linear-gradient(180deg, var(--accent) 0%, #9a7a58 100%);
  color: var(--bg-primary);
  box-shadow: 
    0 1px 2px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn--primary:hover {
  background: linear-gradient(180deg, var(--accent-hover) 0%, var(--accent) 100%);
  color: var(--bg-primary);
  box-shadow: 
    0 4px 16px rgba(184, 149, 108, 0.25),
    0 1px 2px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Secondary CTA — dark with brass/silver outline */
.btn--secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-accent);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn--secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(184, 149, 108, 0.1);
}

.btn--small {
  padding: var(--space-xs) var(--space-md);
  font-size: 0.75rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* --------------------------------------------
   Cards — Show Segment Panels
   -------------------------------------------- */
.card {
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(26, 29, 33, 0.8) 100%);
  border: 1px solid var(--border);
  border-top-color: var(--border-accent);
  border-radius: 4px;
  padding: var(--space-lg);
  transition: all var(--transition-normal);
  position: relative;
}

/* Thin metallic top rule */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--space-md);
  right: var(--space-md);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--steel), transparent);
  opacity: 0.5;
}

.card:hover {
  border-color: var(--border-accent);
  background: linear-gradient(180deg, var(--bg-card-hover) 0%, var(--bg-card) 100%);
  transform: translateY(-2px);
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(184, 149, 108, 0.05);
}

.card:hover::before {
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.6;
}

.card--link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card--link:hover {
  text-decoration: none;
}

.card--featured {
  border-left: 2px solid var(--accent);
  padding-left: calc(var(--space-lg) - 1px);
}

.card--featured::before {
  left: var(--space-lg);
}

.card__label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: var(--space-xs);
}

.card__title {
  font-family: var(--font-headline);
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.card__meta {
  font-size: 0.8125rem;
  color: var(--silver);
  margin-bottom: var(--space-sm);
}

.card__description {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Audit summary line — segment footer */
.card__audit-summary {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--steel);
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border);
  letter-spacing: 0.02em;
}

/* --------------------------------------------
   Tags / Topic Pills — Small Nameplates
   -------------------------------------------- */
.tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  padding: 0.1875rem var(--space-sm);
  border-radius: 2px;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.tag:hover {
  color: var(--text-primary);
  background: var(--bg-card);
  border-color: var(--border-accent);
  text-decoration: none;
}

.tag--accent {
  color: var(--accent);
  background: var(--accent-subtle);
  border-color: rgba(184, 149, 108, 0.2);
}

.tag--accent:hover {
  color: var(--accent-hover);
  border-color: var(--accent);
  background: rgba(184, 149, 108, 0.15);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

/* Topic chips — Metallic nameplate style */
.topic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding-bottom: var(--space-sm);
}

.topic-chip {
  flex-shrink: 0;
  padding: 0.4375rem var(--space-md);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
  border: 1px solid var(--border);
  border-top-color: var(--border-accent);
  border-radius: 3px;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition-normal);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.topic-chip:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--bg-card-hover) 0%, var(--accent-subtle) 100%);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(184, 149, 108, 0.1);
}

/* --------------------------------------------
   Hero Section — Stage Spotlight Cold Open
   Studio haze background from YouTube banner
   -------------------------------------------- */
.hero {
  position: relative;
  padding: var(--space-3xl) 0 calc(var(--space-3xl) + 2rem);
  overflow: hidden;
  
  /* Studio haze background — layered gradients over blurred set photo */
  background-image:
    /* Soft key light bloom — centered, high */
    radial-gradient(ellipse 70% 45% at 50% 25%, rgba(255, 255, 255, 0.06) 0%, transparent 55%),
    /* Warm brass accent bloom — slightly lower, wider */
    radial-gradient(ellipse 60% 50% at 50% 35%, rgba(184, 149, 108, 0.08) 0%, transparent 55%),
    /* Cool fill light — from top corners */
    radial-gradient(ellipse 100% 60% at 20% 0%, rgba(138, 145, 153, 0.04) 0%, transparent 40%),
    radial-gradient(ellipse 100% 60% at 80% 0%, rgba(138, 145, 153, 0.04) 0%, transparent 40%),
    /* Vignette — dark edges, especially bottom */
    radial-gradient(ellipse 100% 100% at 50% 40%, transparent 30%, rgba(13, 15, 17, 0.7) 100%),
    /* The studio haze image */
    url("/assets/img/second_opinion_bg_2560x1440.webp");
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
}

/* High-res displays get the larger image */
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
  .hero {
    background-image:
      radial-gradient(ellipse 70% 45% at 50% 25%, rgba(255, 255, 255, 0.06) 0%, transparent 55%),
      radial-gradient(ellipse 60% 50% at 50% 35%, rgba(184, 149, 108, 0.08) 0%, transparent 55%),
      radial-gradient(ellipse 100% 60% at 20% 0%, rgba(138, 145, 153, 0.04) 0%, transparent 40%),
      radial-gradient(ellipse 100% 60% at 80% 0%, rgba(138, 145, 153, 0.04) 0%, transparent 40%),
      radial-gradient(ellipse 100% 100% at 50% 40%, transparent 30%, rgba(13, 15, 17, 0.7) 100%),
      url("/assets/img/second_opinion_bg_3840x1600.webp");
  }
}

/* Ultrawide / 4K displays */
@media (min-width: 2560px) {
  .hero {
    background-image:
      radial-gradient(ellipse 70% 45% at 50% 25%, rgba(255, 255, 255, 0.06) 0%, transparent 55%),
      radial-gradient(ellipse 60% 50% at 50% 35%, rgba(184, 149, 108, 0.08) 0%, transparent 55%),
      radial-gradient(ellipse 100% 60% at 20% 0%, rgba(138, 145, 153, 0.04) 0%, transparent 40%),
      radial-gradient(ellipse 100% 60% at 80% 0%, rgba(138, 145, 153, 0.04) 0%, transparent 40%),
      radial-gradient(ellipse 100% 100% at 50% 40%, transparent 30%, rgba(13, 15, 17, 0.7) 100%),
      url("/assets/img/second_opinion_bg_3840x1600.webp");
  }
}

/* Fallback for browsers that don't support WebP */
@supports not (background-image: url("test.webp")) {
  .hero {
    background-image:
      radial-gradient(ellipse 70% 45% at 50% 25%, rgba(255, 255, 255, 0.06) 0%, transparent 55%),
      radial-gradient(ellipse 60% 50% at 50% 35%, rgba(184, 149, 108, 0.08) 0%, transparent 55%),
      radial-gradient(ellipse 100% 60% at 20% 0%, rgba(138, 145, 153, 0.04) 0%, transparent 40%),
      radial-gradient(ellipse 100% 60% at 80% 0%, rgba(138, 145, 153, 0.04) 0%, transparent 40%),
      radial-gradient(ellipse 100% 100% at 50% 40%, transparent 30%, rgba(13, 15, 17, 0.7) 100%),
      url("/assets/img/second_opinion_bg_2560x1440.png");
  }
}

/* Extra film grain on hero for cinematic depth */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}

/* Bottom fade to blend into next section */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, transparent 0%, var(--bg-primary) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.hero__headline {
  font-family: var(--font-headline);
  font-size: clamp(2.75rem, 8vw, 5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: 0.03em;
  margin-bottom: var(--space-sm);
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.4),
    0 4px 24px rgba(0, 0, 0, 0.2);
}

.hero__subheadline {
  font-family: var(--font-headline);
  font-size: clamp(1rem, 2.5vw, 1.375rem);
  font-weight: 400;
  font-style: italic;
  color: var(--silver-light);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.02em;
}

.hero__tagline {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-xl);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------
   Desk Band — Tonight's Rundown
   -------------------------------------------- */
.desk-band {
  background: linear-gradient(180deg, var(--bg-desk) 0%, var(--bg-primary) 100%);
  border-top: 1px solid var(--accent);
  padding: var(--space-xl) 0;
  margin: var(--space-xl) 0;
  position: relative;
}

.desk-band::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 20px rgba(184, 149, 108, 0.2);
}

.desk-band__label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

/* Featured Episode Panel — Segment Spotlight */
.featured-episode {
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(26, 29, 33, 0.9) 100%);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.featured-episode::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: radial-gradient(ellipse 80% 60% at 20% 0%, rgba(184, 149, 108, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.featured-episode__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  padding: var(--space-xl);
  position: relative;
  z-index: 1;
}

.featured-episode__label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.featured-episode__number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--steel);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.05em;
}

.featured-episode__title {
  font-family: var(--font-headline);
  font-size: 1.625rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.featured-episode__summary {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.featured-episode__changes {
  margin-bottom: var(--space-lg);
}

.featured-episode__changes-title {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--steel);
  margin-bottom: var(--space-sm);
}

.featured-episode__changes-list {
  list-style: none;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.featured-episode__changes-list li {
  margin-bottom: var(--space-xs);
  padding-left: var(--space-md);
  position: relative;
}

.featured-episode__changes-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.featured-episode__footer {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--steel);
  margin-top: var(--space-md);
  letter-spacing: 0.03em;
}

@media (max-width: 768px) {
  .featured-episode__inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* --------------------------------------------
   Grid Layouts
   -------------------------------------------- */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--auto {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

@media (max-width: 900px) {
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------
   The Lens — Process Pipeline Strip
   -------------------------------------------- */
.lens-strip {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  padding: var(--space-lg) 0;
}

/* Connecting line — studio pipeline */
.lens-strip::before {
  content: '';
  position: absolute;
  top: calc(var(--space-lg) + 1.25rem);
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    var(--border) 10%, 
    var(--steel) 30%,
    var(--accent) 50%, 
    var(--steel) 70%,
    var(--border) 90%,
    transparent
  );
  z-index: 0;
}

.lens-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-normal);
}

.lens-step:hover {
  text-decoration: none;
}

.lens-step:hover .lens-step__number {
  background: var(--accent);
  color: var(--bg-primary);
  transform: scale(1.1);
  box-shadow: 0 0 16px rgba(184, 149, 108, 0.3);
}

.lens-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  font-family: var(--font-headline);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--bg-card);
  border: 1px solid var(--accent);
  border-radius: 50%;
  margin-bottom: var(--space-sm);
  transition: all var(--transition-normal);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.lens-step__label {
  font-family: var(--font-headline);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  letter-spacing: 0.01em;
}

.lens-step__description {
  font-size: 0.6875rem;
  color: var(--text-secondary);
  max-width: 110px;
  margin: 0 auto;
  line-height: 1.4;
}

/* Fallback grid for older lens-steps class */
.lens-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
}

.lens-steps .lens-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: var(--space-lg);
  text-align: center;
}

.lens-steps .lens-step__number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: var(--space-sm);
  width: auto;
  height: auto;
  background: none;
  border: none;
}

@media (max-width: 900px) {
  .lens-strip {
    flex-wrap: wrap;
    gap: var(--space-lg);
  }
  
  .lens-strip::before {
    display: none;
  }
  
  .lens-step {
    flex: 0 0 calc(33.333% - var(--space-md));
  }
  
  .lens-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .lens-step {
    flex: 0 0 calc(50% - var(--space-sm));
  }
  
  .lens-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 400px) {
  .lens-steps {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------
   Subscribe Section — Channel Options
   -------------------------------------------- */
.subscribe-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.subscribe-option {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: var(--space-lg);
  transition: all var(--transition-normal);
}

.subscribe-option:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.subscribe-option--primary {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--accent-subtle) 100%);
}

.subscribe-option--primary:hover {
  border-color: var(--accent-hover);
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(184, 149, 108, 0.1);
}

.subscribe-option__title {
  font-family: var(--font-headline);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  letter-spacing: 0.01em;
}

.subscribe-option__description {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.subscribe-option__path {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: var(--bg-primary);
  padding: var(--space-sm) var(--space-md);
  border-radius: 2px;
  color: var(--accent);
  border: 1px solid var(--border);
}

/* --------------------------------------------
   Episode Page Components
   -------------------------------------------- */
.episode-header {
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border);
}

.episode-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--silver);
  margin-bottom: var(--space-md);
}

.episode-header__title {
  font-family: var(--font-headline);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-lg);
}

/* Cold Open — Opening Statement */
.cold-open {
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(26, 29, 33, 0.7) 100%);
  border-left: 2px solid var(--accent);
  border-radius: 0 3px 3px 0;
  padding: var(--space-lg) var(--space-xl);
  margin-bottom: var(--space-xl);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-secondary);
  position: relative;
}

.cold-open::before {
  content: '"';
  position: absolute;
  top: var(--space-sm);
  left: var(--space-md);
  font-family: var(--font-headline);
  font-size: 2.5rem;
  color: var(--accent);
  opacity: 0.2;
  line-height: 1;
}

.episode-section {
  margin-bottom: var(--space-2xl);
}

.episode-section__title {
  font-family: var(--font-headline);
  font-size: 1.375rem;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  letter-spacing: 0.015em;
}

.episode-section__title::before {
  content: '◆';
  color: var(--accent);
  font-size: 0.4rem;
  opacity: 0.7;
}

/* --------------------------------------------
   Claims Table — Audit Ledger
   -------------------------------------------- */
.claims-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.claims-table th {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--steel);
  text-align: left;
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--accent);
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.claims-table td {
  padding: var(--space-md);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.claims-table tr:nth-child(even) {
  background: rgba(26, 29, 33, 0.4);
}

.claims-table tr:hover {
  background: var(--bg-card);
}

.claims-table__claim {
  font-weight: 600;
  color: var(--text-primary);
}

.claims-table__evidence {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Claims & Checks Cards (fallback) */
.claim-check {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
}

.claim-check__claim {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.claim-check__row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--space-sm);
  font-size: 0.875rem;
  margin-bottom: var(--space-sm);
}

.claim-check__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--silver);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.claim-check__value {
  color: var(--text-secondary);
}

/* --------------------------------------------
   Confidence Badges — Restrained, Premium
   -------------------------------------------- */
.confidence {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.1875rem var(--space-sm);
  border-radius: 2px;
  border: 1px solid;
}

.confidence--high {
  background: var(--confidence-high-bg);
  border-color: var(--confidence-high-border);
  color: var(--confidence-high-text);
  box-shadow: 0 0 8px rgba(184, 149, 108, 0.1);
}

.confidence--medium {
  background: var(--confidence-medium-bg);
  border-color: var(--confidence-medium-border);
  color: var(--confidence-medium-text);
}

.confidence--low {
  background: var(--confidence-low-bg);
  border-color: var(--confidence-low-border);
  color: var(--confidence-low-text);
  border-style: dashed;
}

/* --------------------------------------------
   Verdict Stamp — Editorial Authority
   -------------------------------------------- */
.verdict-stamp {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  padding: var(--space-sm) var(--space-lg);
  border: 1px solid var(--accent);
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: linear-gradient(180deg, var(--accent-subtle) 0%, transparent 100%);
  box-shadow: 
    0 2px 8px rgba(184, 149, 108, 0.15),
    inset 0 1px 0 rgba(184, 149, 108, 0.1);
}

.verdict-stamp::before {
  content: '✓';
  font-size: 0.75rem;
  opacity: 0.8;
}

/* --------------------------------------------
   Key Receipts / Sources — Exhibits
   -------------------------------------------- */
.key-receipts {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
  border: 1px solid var(--border);
  border-left: 2px solid var(--steel);
  border-radius: 3px;
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.key-receipts__title {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.key-receipts__list {
  list-style: none;
}

.key-receipts__list li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.key-receipts__list li:last-child {
  border-bottom: none;
}

/* Full sources list */
.sources-list {
  list-style: none;
}

.sources-list li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.sources-list li:last-child {
  border-bottom: none;
}

.source-type {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--silver);
  margin-right: var(--space-sm);
}

/* --------------------------------------------
   Takeaway Box — The Verdict
   -------------------------------------------- */
.takeaway-box {
  background: linear-gradient(135deg, var(--accent-subtle) 0%, rgba(184, 149, 108, 0.05) 100%);
  border: 1px solid rgba(184, 149, 108, 0.3);
  border-radius: 3px;
  padding: var(--space-lg);
  margin: var(--space-xl) 0;
  position: relative;
}

.takeaway-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 3px 3px 0 0;
}

.takeaway-box__title {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.takeaway-box__content {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.5;
}

/* --------------------------------------------
   Update Log — Revision History
   -------------------------------------------- */
.update-log {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-radius: 3px;
  border: 1px solid var(--border);
  padding: var(--space-lg);
  font-size: 0.875rem;
}

.update-log__title {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
  color: var(--steel);
}

.update-log__entry {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.update-log__date {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--steel);
}

/* --------------------------------------------
   TL;DW / Quick Verdict — Executive Summary
   -------------------------------------------- */
.tldw {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
  border: 1px solid var(--border);
  border-top-color: var(--border-accent);
  border-radius: 3px;
  padding: var(--space-lg);
}

.tldw__list {
  list-style: none;
}

.tldw__list li {
  padding: var(--space-sm) 0;
  padding-left: var(--space-lg);
  position: relative;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.tldw__list li:last-child {
  border-bottom: none;
}

.tldw__list li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.125rem;
}

/* --------------------------------------------
   Glossary
   -------------------------------------------- */
.glossary-entry {
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border);
}

.glossary-entry:last-child {
  border-bottom: none;
}

.glossary-entry__term {
  font-family: var(--font-headline);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.glossary-entry__definition {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.glossary-entry__misuse {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
}

.glossary-entry__example {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: var(--space-sm);
}

/* --------------------------------------------
   Reading List
   -------------------------------------------- */
.reading-entry {
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border);
}

.reading-entry:last-child {
  border-bottom: none;
}

.reading-entry__title {
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.reading-entry__why {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* --------------------------------------------
   Page Headers — Segment Titles
   -------------------------------------------- */
.page-header {
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-2xl);
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.page-header__title {
  font-family: var(--font-headline);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.02em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.page-header__description {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 620px;
  line-height: 1.6;
}

/* --------------------------------------------
   Section Headers
   -------------------------------------------- */
.section-header {
  margin-bottom: var(--space-xl);
}

.section-header__title {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.section-header__description {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

/* --------------------------------------------
   Prose (Article Content)
   -------------------------------------------- */
.prose {
  max-width: var(--max-width-content);
}

.prose h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.prose h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.prose p {
  margin-bottom: var(--space-md);
}

.prose ul,
.prose ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
}

.prose li {
  margin-bottom: var(--space-sm);
}

.prose hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--space-2xl) 0;
}

/* --------------------------------------------
   Utility Classes
   -------------------------------------------- */
.text-center {
  text-align: center;
}

.text-muted {
  color: var(--text-secondary);
}

.text-small {
  font-size: 0.875rem;
}

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

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

/* --------------------------------------------
   404 Page — Off Air
   -------------------------------------------- */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.error-page::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(ellipse at center, rgba(184, 149, 108, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.error-page__title {
  font-family: var(--font-headline);
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: var(--space-md);
  letter-spacing: 0.03em;
  position: relative;
  z-index: 1;
}

.error-page__message {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 1;
}

/* --------------------------------------------
   Transcript — Full Recording
   -------------------------------------------- */
.transcript {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: var(--space-xl);
  font-size: 0.9375rem;
  line-height: 1.85;
}

.transcript p {
  margin-bottom: var(--space-md);
}

.transcript .timestamp {
  color: var(--steel);
  font-size: 0.6875rem;
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
}

/* --------------------------------------------
   Producer's Cut Toggle
   -------------------------------------------- */
.producers-cut {
  margin: var(--space-lg) 0;
}

.producers-cut__toggle {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.producers-cut__btn {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: var(--space-xs) var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: 3px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.producers-cut__btn:hover,
.producers-cut__btn--active {
  background: var(--accent-subtle);
  border-color: var(--accent);
  color: var(--accent);
}

.producers-cut__content--full {
  display: none;
}

.producers-cut--expanded .producers-cut__content--summary {
  display: none;
}

.producers-cut--expanded .producers-cut__content--full {
  display: block;
}

/* CSS-only details/summary alternative */
details.producers-cut-details {
  margin: var(--space-lg) 0;
}

details.producers-cut-details summary {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  cursor: pointer;
  padding: var(--space-sm) 0;
  list-style: none;
}

details.producers-cut-details summary::-webkit-details-marker {
  display: none;
}

details.producers-cut-details summary::before {
  content: '▶ ';
  font-size: 0.625rem;
  margin-right: var(--space-xs);
}

details.producers-cut-details[open] summary::before {
  content: '▼ ';
}

/* --------------------------------------------
   Hall of Claims — Archive Index
   -------------------------------------------- */
.claims-index {
  display: grid;
  gap: var(--space-md);
}

.claim-archetype {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: var(--space-lg);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-md);
  align-items: center;
  transition: all var(--transition-normal);
}

.claim-archetype:hover {
  border-color: var(--border-accent);
  transform: translateX(4px);
  box-shadow: -4px 0 0 var(--accent);
}

.claim-archetype__title {
  font-family: var(--font-headline);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.claim-archetype__verdict {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
