/* ============================================================
   Missing Persons — Shared Stylesheet
   Apple-inspired premium cinematic design
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
  --bg-deep:      #0b0a08;
  --bg-dark:      #111008;
  --bg-card:      #181510;
  --sand:         #c9a870;
  --amber:        #c4773a;
  --slate:        #6b8494;
  --text-primary: #f0ece4;
  --text-muted:   #a09890;
  --text-dim:     #504840;
  --white:        #ffffff;

  --border-subtle: rgba(201, 168, 112, 0.14);
  --border-dim:    rgba(255, 255, 255, 0.07);

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  32px;
  --space-lg:  64px;
  --space-xl:  96px;
  --space-2xl: 128px;
  --space-3xl: 192px;

  --max-width: 1200px;
  --nav-height: 52px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-main); }

/* ============================================================
   Reading Progress Bar
   ============================================================ */
#progress-bar {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--amber);
  z-index: 9999;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(11, 10, 8, 0.72);
  border-bottom: 1px solid var(--border-dim);
}

.nav-inner {
  max-width: var(--max-width);
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--white); }

.btn-nav {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--white) !important;
  background: var(--amber);
  padding: 6px 15px;
  border-radius: var(--radius-sm);
  transition: opacity 0.2s ease !important;
}

.btn-nav:hover { opacity: 0.85; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: rgba(11, 10, 8, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--border-dim);
  z-index: 999;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-dim);
  transition: color 0.2s ease;
}

.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--white); }

/* ============================================================
   Buttons
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--amber);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  letter-spacing: -0.01em;
  transition: opacity 0.2s ease, transform 0.2s var(--ease-out);
}

.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--sand);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--sand);
  letter-spacing: -0.01em;
  transition: background 0.2s ease, transform 0.2s var(--ease-out);
}

.btn-secondary:hover { background: rgba(201, 168, 112, 0.1); transform: translateY(-1px); }

.btn-group {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================================
   Layout
   ============================================================ */
.section { padding: var(--space-3xl) var(--space-md); position: relative; }
.section-sm { padding: var(--space-xl) var(--space-md); position: relative; }

.section-full {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--space-3xl) var(--space-md);
  position: relative;
}

.container { max-width: var(--max-width); width: 100%; margin: 0 auto; }
.container-narrow { max-width: 800px; width: 100%; margin: 0 auto; }
.text-center { text-align: center; }

/* ============================================================
   Typography
   ============================================================ */
.label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--space-sm);
}

.label-amber { color: var(--amber); }
.label-sand  { color: var(--sand); }
.label-slate { color: var(--slate); }
.label-muted { color: var(--text-muted); }

.display-headline {
  font-size: clamp(64px, 9vw, 120px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--white);
}

.section-headline {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--white);
}

.sub-headline {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--white);
}

.body-text    { font-size: 17px; line-height: 1.7; color: var(--text-muted); }
.body-text-lg { font-size: 19px; line-height: 1.7; color: var(--text-muted); }

/* ============================================================
   Scroll Reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================================
   Cards
   ============================================================ */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-dim);
  padding: var(--space-md);
  transition: border-color 0.3s ease;
}

.card:hover { border-color: var(--border-subtle); }

.card-pullquote {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--amber);
  padding: var(--space-md) var(--space-md) var(--space-md) calc(var(--space-md) + 4px);
  height: 100%;
}

.card-pullquote blockquote {
  font-size: clamp(18px, 2vw, 24px);
  font-style: italic;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 20px;
}

.card-pullquote cite {
  font-size: 13px;
  color: var(--amber);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ============================================================
   Stats Strip
   ============================================================ */
.stats-strip {
  background: var(--bg-card);
  border-top: 1px solid var(--border-dim);
  border-bottom: 1px solid var(--border-dim);
  padding: var(--space-lg) var(--space-md);
}

.stats-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  text-align: center;
}

.stat-item {
  padding: var(--space-md) var(--space-sm);
  border-right: 1px solid var(--border-dim);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-size: 56px;
  font-weight: 800;
  color: var(--sand);
  letter-spacing: -0.04em;
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
  font-weight: 500;
}

/* ============================================================
   Feature Rows
   ============================================================ */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--border-dim);
}

.feature-row:last-child { border-bottom: none; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-text { padding: var(--space-sm) 0; }

.feature-text h3 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 12px;
}

.feature-text .researcher {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 16px;
  display: block;
}

.feature-text p { font-size: 17px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }

.finding-box {
  background: rgba(196, 119, 58, 0.07);
  border-left: 2px solid var(--amber);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.6;
}

.finding-box strong {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 6px;
}

.feature-visual {
  aspect-ratio: 4/3;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.feature-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg, transparent, transparent 20px,
    rgba(255,255,255,0.016) 20px, rgba(255,255,255,0.016) 21px
  );
}

.feature-visual-num {
  font-size: 160px;
  font-weight: 900;
  color: var(--text-dim);
  opacity: 0.35;
  letter-spacing: -0.06em;
  line-height: 1;
  user-select: none;
  position: relative;
  z-index: 1;
}

/* ============================================================
   Director Section
   ============================================================ */
.director-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.director-portrait {
  aspect-ratio: 3/4;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.director-portrait::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg, transparent, transparent 20px,
    rgba(255,255,255,0.015) 20px, rgba(255,255,255,0.015) 21px
  );
}

.director-portrait-initials {
  font-size: 80px;
  font-weight: 900;
  color: var(--text-dim);
  letter-spacing: -0.04em;
  position: relative;
  z-index: 1;
}

.director-text .label { margin-bottom: 14px; }

.director-text h2 {
  font-size: clamp(48px, 5.5vw, 72px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: var(--space-md);
}

.director-text p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
  max-width: 580px;
}

.director-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--space-md); }

.tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-dim);
  border-radius: 20px;
  padding: 6px 14px;
}

/* ============================================================
   Scope Cards
   ============================================================ */
.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.scope-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-md);
  transition: border-color 0.3s ease, transform 0.3s var(--ease-out);
}

.scope-card:hover { border-color: var(--border-subtle); transform: translateY(-4px); }

.scope-icon { width: 44px; height: 44px; margin-bottom: var(--space-md); color: var(--amber); }

.scope-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.scope-card p { font-size: 15px; color: var(--text-muted); line-height: 1.6; }

.scope-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sand);
  transition: gap 0.2s ease;
}

.scope-card .card-link:hover { gap: 10px; }

/* ============================================================
   Contributors Grid
   ============================================================ */
.contributors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.contributor-item {
  padding: 20px 24px;
  border-right: 1px solid var(--border-dim);
  border-bottom: 1px solid var(--border-dim);
  transition: background 0.2s ease;
}

.contributor-item:hover { background: rgba(255,255,255,0.025); }
.contributor-item:nth-child(3n) { border-right: none; }

.contributor-name { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.contributor-role { font-size: 13px; color: var(--text-muted); }

/* ============================================================
   Podcast CTA Band
   ============================================================ */
.cta-band {
  background: var(--bg-card);
  border-top: 1px solid var(--border-dim);
  border-bottom: 1px solid var(--border-dim);
}

.cta-band-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-lg);
}

.cta-band h3 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.cta-band p { font-size: 17px; color: var(--text-muted); max-width: 480px; }

/* ============================================================
   Tables
   ============================================================ */
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }

.data-table th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-dim);
  background: rgba(255,255,255,0.02);
}

.data-table td {
  padding: 15px 16px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-dim);
  vertical-align: top;
  line-height: 1.5;
}

.data-table td:first-child { color: var(--text-primary); font-weight: 500; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ============================================================
   Timeline
   ============================================================ */
.timeline { position: relative; padding-left: 48px; }

.timeline::before {
  content: '';
  position: absolute;
  left: 6px; top: 0; bottom: 0;
  width: 1px;
  background: var(--border-dim);
}

.timeline-item { position: relative; padding-bottom: var(--space-lg); }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -42px; top: 5px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px var(--bg-deep), 0 0 0 4px var(--amber);
}

.timeline-year {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.timeline-title { font-size: 18px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.timeline-body { font-size: 15px; color: var(--text-muted); line-height: 1.65; }

/* ============================================================
   Cover Art
   ============================================================ */
.cover-art {
  aspect-ratio: 1;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.cover-art-accent { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(to right, var(--slate), transparent); }

.cover-art-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(107, 132, 148, 0.12) 0%, transparent 65%);
}

.cover-art-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  text-align: center;
  z-index: 1;
  padding: var(--space-md);
  line-height: 1.1;
}

.cover-art-sub {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  z-index: 1;
}

/* ============================================================
   Episode List
   ============================================================ */
.episode-list { display: flex; flex-direction: column; gap: 2px; }

.episode-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: start;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}

.episode-item:hover { background: rgba(255,255,255,0.03); }

.episode-num {
  font-size: 44px;
  font-weight: 900;
  color: var(--text-dim);
  letter-spacing: -0.04em;
  line-height: 1;
  text-align: right;
  padding-top: 4px;
}

.episode-content h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 5px;
  letter-spacing: -0.02em;
}

.episode-guest { font-size: 13px; color: var(--sand); font-weight: 500; margin-bottom: 8px; display: block; }
.episode-content p { font-size: 15px; color: var(--text-muted); line-height: 1.5; }

.episode-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 20px;
  white-space: nowrap;
  margin-top: 2px;
}

.badge-soon { background: rgba(107, 132, 148, 0.12); color: var(--slate); border: 1px solid rgba(107, 132, 148, 0.25); }
.badge-listen { background: rgba(196, 119, 58, 0.12); color: var(--amber); border: 1px solid rgba(196, 119, 58, 0.3); }

/* ============================================================
   Topics Grid
   ============================================================ */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.topic-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: border-color 0.3s ease;
}

.topic-card:hover { border-color: var(--border-subtle); }

.topic-num {
  font-size: 48px;
  font-weight: 900;
  color: var(--text-dim);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 16px;
}

.topic-card h4 { font-size: 19px; font-weight: 700; color: var(--white); margin-bottom: 10px; letter-spacing: -0.02em; }
.topic-card p { font-size: 15px; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   Platform Buttons / Subscribe
   ============================================================ */
.platform-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.platform-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.platform-btn:hover { border-color: var(--border-subtle); background: rgba(255,255,255,0.04); }

.email-form { display: flex; gap: 8px; max-width: 460px; margin: 0 auto; }

.email-form input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 15px;
  color: var(--text-primary);
  font-family: var(--font-main);
  outline: none;
  transition: border-color 0.2s ease;
}

.email-form input::placeholder { color: var(--text-dim); }
.email-form input:focus { border-color: var(--sand); }

/* ============================================================
   Filter Bar
   ============================================================ */
.filter-bar {
  position: sticky;
  top: var(--nav-height);
  z-index: 100;
  background: rgba(11, 10, 8, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-dim);
  padding: 12px var(--space-md);
}

.filter-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.filter-bar-inner::-webkit-scrollbar { display: none; }

.filter-btn {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-dim);
  padding: 7px 16px;
  border-radius: 20px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--amber);
  color: var(--white);
  border-color: var(--amber);
}

/* ============================================================
   Study Cards
   ============================================================ */
.study-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }

.study-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.study-card .source-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
  display: block;
}

.study-card h4 { font-size: 17px; font-weight: 600; color: var(--white); margin-bottom: 6px; line-height: 1.3; letter-spacing: -0.01em; }
.study-card .researchers { font-size: 13px; font-style: italic; color: var(--sand); margin-bottom: 14px; display: block; }
.study-card p { font-size: 15px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }

.study-finding {
  background: rgba(196, 119, 58, 0.06);
  border-left: 2px solid var(--amber);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.5;
}

.study-finding strong {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 5px;
}

/* ============================================================
   Download Cards
   ============================================================ */
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.3s ease;
}

.download-card:hover { border-color: var(--border-subtle); }

.download-card .card-type {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
}

.download-card h4 { font-size: 16px; font-weight: 600; color: var(--white); line-height: 1.3; }
.download-card p { font-size: 14px; color: var(--text-muted); line-height: 1.5; flex: 1; }

.btn-download {
  font-size: 13px;
  font-weight: 600;
  color: var(--sand);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  border-top: 1px solid var(--border-dim);
  margin-top: auto;
  transition: color 0.2s ease;
}

.btn-download:hover { color: var(--white); }

/* ============================================================
   Hero
   ============================================================ */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + var(--space-2xl)) var(--space-md) var(--space-2xl);
  position: relative;
  /* Background image — place hero-bg.jpg in the site folder */
  background-image: url('hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Dark overlay so text stays legible over the image */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(11,10,8,0.55) 0%,
      rgba(11,10,8,0.45) 40%,
      rgba(11,10,8,0.80) 80%,
      rgba(11,10,8,1.00) 100%
    );
  z-index: 0;
}

/* Ensure content sits above the overlay */
.hero-section > * { position: relative; z-index: 1; }

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--border-dim);
}

.hero-divider {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg-deep));
  pointer-events: none;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dim);
  padding: var(--space-xl) var(--space-md) var(--space-md);
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-dim);
}

.footer-logo { font-size: 16px; font-weight: 700; color: var(--white); }
.footer-tagline { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin-top: 10px; max-width: 230px; }

.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  max-width: var(--max-width);
  margin: var(--space-md) auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p { font-size: 12px; color: var(--text-dim); }

/* ============================================================
   Responsive 1024px
   ============================================================ */
@media (max-width: 1024px) {
  :root { --space-3xl: 128px; --space-2xl: 96px; --space-xl: 72px; }

  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid .stat-item:nth-child(3) { border-right: none; }
  .stats-grid .stat-item:nth-child(n+4) { border-top: 1px solid var(--border-dim); }

  .director-grid { grid-template-columns: 250px 1fr; }
  .scope-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-md); }
  .download-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Responsive 640px
   ============================================================ */
@media (max-width: 640px) {
  :root {
    --space-3xl: 80px;
    --space-2xl: 64px;
    --space-xl: 48px;
    --space-lg: 40px;
  }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid .stat-item:nth-child(2n) { border-right: none; }
  .stats-grid .stat-item:nth-child(n+3) { border-top: 1px solid var(--border-dim); }
  .stat-number { font-size: 40px; }

  .feature-row { grid-template-columns: 1fr; gap: var(--space-md); }
  .feature-row.reverse { direction: ltr; }

  .director-grid { grid-template-columns: 1fr; }
  .director-portrait { max-width: 240px; margin: 0 auto; }

  .scope-grid { grid-template-columns: 1fr; }
  .contributors-grid { grid-template-columns: 1fr 1fr; }
  .contributors-grid .contributor-item:nth-child(2n) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band-inner { grid-template-columns: 1fr; text-align: center; }
  .cta-band p { max-width: 100%; }
  .download-grid { grid-template-columns: 1fr; }
  .study-grid { grid-template-columns: 1fr; }
  .topics-grid { grid-template-columns: 1fr; }
  .episode-item { grid-template-columns: 52px 1fr; }
  .episode-badge { display: none; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .btn-group { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 280px; }
  .email-form { flex-direction: column; }
}
