/* ============================================
   SURVIVE THE Z — FULL REDESIGN
   Amber/red palette, cinematic grain, custom cursor
   Every decision research-backed
   ============================================ */

/* --- DESIGN TOKENS --- */
:root {
  --bg-primary: #0A0A0A;
  --bg-secondary: #101010;
  --bg-card: #161616;
  --bg-card-hover: #1E1E1E;

  --amber: #E8A034;
  --amber-dim: #C4872A;
  --amber-glow: rgba(232, 160, 52, 0.25);
  --red: #C62828;
  --red-dim: #A11F1F;
  --red-glow: rgba(198, 40, 40, 0.25);
  --teal: #1A4B4B;

  --text-primary: #FFFFFF;
  --text-secondary: #CCCCCC;
  --text-muted: #777777;
  --text-dark: #444444;

  --font-display: 'Clash Display', 'Impact', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.68, -0.55, 0.27, 1.55);

  --nav-height: 70px;
  --sticky-height: 42px;
}

/* --- RESET --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-padding-top: calc(var(--nav-height) + var(--sticky-height) + 20px);
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--amber);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--text-primary);
}

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: auto;
  border: none;
  background: none;
  font-family: inherit;
}

/* --- FILM GRAIN OVERLAY --- */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  pointer-events: none;
  opacity: 0.045;
  background: url('../images/noise.png');
  background-repeat: repeat;
}

/* --- UTILITIES --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-green {
  color: var(--amber);
}

.text-red {
  color: var(--red);
}

.label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.label--green {
  color: var(--amber);
}

.label--red {
  color: var(--red);
}


/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  margin-top: -6px;
  border: 2px solid var(--amber);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: width 0.2s var(--ease-out), height 0.2s var(--ease-out), margin 0.2s var(--ease-out), border-color 0.2s, background 0.2s;
  will-change: left, top;
}

.cursor--hover {
  width: 30px;
  height: 30px;
  margin-left: -15px;
  margin-top: -15px;
  border-color: var(--text-primary);
  background: rgba(232, 160, 52, 0.1);
}

.cursor__glow {
  position: fixed;
  width: 40px;
  height: 40px;
  margin-left: -20px;
  margin-top: -20px;
  background: var(--amber-glow);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  filter: blur(8px);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out);
  will-change: left, top;
}

.cursor__glow.cursor--hover {
  width: 60px;
  height: 60px;
  margin-left: -30px;
  margin-top: -30px;
}

/* Hide custom cursor on touch devices (not just small screens) */
@media (pointer: coarse) {
  .cursor,
  .cursor__glow {
    display: none !important;
  }
  body {
    cursor: auto;
  }
  button {
    cursor: pointer;
  }
}

@media (max-width: 768px) {
  .cursor,
  .cursor__glow {
    display: none;
  }
  body {
    cursor: auto;
  }
  button {
    cursor: pointer;
  }
}


/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

/* Fallback when GSAP isn't loaded — IntersectionObserver adds .visible */
.no-gsap .reveal {
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal.visible {
  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;
}


/* ============================================
   SITE HEADER — Single Fixed Wrapper
   Research: Single container prevents nav/bar overlap
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

/* ============================================
   STICKY TOP BAR — Emergency Broadcast Style
   Research: 28% more checkout starts
   ============================================ */
.sticky-bar {
  width: 100%;
  height: 0;
  overflow: hidden;
  background: repeating-linear-gradient(
    45deg,
    var(--red),
    var(--red) 10px,
    var(--red-dim) 10px,
    var(--red-dim) 20px
  );
  transition: height 0.3s var(--ease-out);
  display: flex;
  align-items: center;
}

.sticky-bar.visible {
  height: var(--sticky-height);
}

.sticky-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sticky-bar__info {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sticky-bar__sep {
  opacity: 0.5;
}

.sticky-bar__spots {
  color: var(--amber);
}

.sticky-bar__cta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: white;
  background: rgba(0, 0, 0, 0.35);
  padding: 5px 18px;
  text-transform: uppercase;
  transition: background 0.2s;
}

.sticky-bar__cta:hover {
  background: rgba(0, 0, 0, 0.6);
  color: white;
}


/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  width: 100%;
  height: var(--nav-height);
  transition: background 0.3s, border-bottom 0.3s;
  display: flex;
  align-items: center;
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(232, 160, 52, 0.08);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  text-decoration: none;
}

.nav__logo-survive {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--text-primary);
  letter-spacing: 0.1em;
}

.nav__logo-the {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.nav__logo-z {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--amber);
  text-shadow: 0 0 30px var(--amber-glow);
}

.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--amber);
}

.nav__cta {
  background: var(--red) !important;
  color: white !important;
  padding: 8px 20px !important;
  font-family: var(--font-display) !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.15em !important;
  transition: background 0.2s, transform 0.2s !important;
}

.nav__cta:hover {
  background: var(--red-dim) !important;
  transform: scale(1.05);
}

/* Mobile toggle — war-room styled hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 4px;
  position: relative;
}

.nav__toggle span {
  width: 28px;
  height: 2px;
  background: var(--amber);
  transition: transform 0.3s, opacity 0.3s, width 0.3s, box-shadow 0.3s;
  box-shadow: 0 0 6px rgba(232, 160, 52, 0.3);
}

/* Staggered bar widths — tactical/asymmetric feel */
.nav__toggle span:nth-child(1) { width: 28px; }
.nav__toggle span:nth-child(2) { width: 20px; }
.nav__toggle span:nth-child(3) { width: 24px; }

/* Active state — X with red glow */
.nav__toggle.active span {
  background: var(--red);
  box-shadow: 0 0 8px rgba(198, 40, 40, 0.5);
  width: 28px;
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(10px);
}

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}


/* ============================================
   HERO SECTION
   Research: Video hero = 86% conversion lift
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(232, 160, 52, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(26, 75, 75, 0.15) 0%, transparent 50%),
    var(--bg-primary);
}

/* Hero background image */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.25;
  filter: saturate(0.3) contrast(1.2);
}

/* Fog canvas background */
.hero__fog {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Scanlines overlay */
@keyframes vhsFlicker {
  0% { opacity: 0.08; }
  5% { opacity: 0.06; }
  10% { opacity: 0.08; }
  15% { opacity: 0.07; }
  20% { opacity: 0.08; }
  50% { opacity: 0.08; }
  51% { opacity: 0.06; }
  52% { opacity: 0.08; }
  80% { opacity: 0.08; }
  81% { opacity: 0.07; }
  82% { opacity: 0.06; }
  83% { opacity: 0.08; }
  100% { opacity: 0.08; }
}

.hero__scanlines {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.15) 2px,
    rgba(0, 0, 0, 0.15) 4px
  );
  pointer-events: none;
  opacity: 0.08;
  animation: vhsFlicker 4s steps(1) infinite;
}

/* Vignette overlay */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: radial-gradient(
    ellipse at center,
    transparent 0%,
    transparent 40%,
    rgba(10, 10, 10, 0.4) 70%,
    var(--bg-primary) 100%
  );
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 4;
  text-align: center;
  padding: 0 24px;
}

/* --- Glitch Effect --- */
.hero__glitch-wrapper {
  position: relative;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 7vw, 6rem);
  color: var(--text-primary);
  letter-spacing: 0.08em;
  line-height: 1.1;
  position: relative;
}

.hero__title::before,
.hero__title::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.hero__title::before {
  color: var(--amber);
  z-index: -1;
  animation: glitch-1 4s infinite linear alternate-reverse;
}

.hero__title::after {
  color: var(--red);
  z-index: -2;
  animation: glitch-2 3.5s infinite linear alternate-reverse;
}

@keyframes glitch-1 {
  0%, 95% { clip-path: inset(0 0 100% 0); }
  96% { clip-path: inset(20% 0 60% 0); transform: translate(-3px, 0); }
  97% { clip-path: inset(50% 0 20% 0); transform: translate(3px, 0); }
  98% { clip-path: inset(80% 0 5% 0); transform: translate(-2px, 0); }
  99% { clip-path: inset(10% 0 70% 0); transform: translate(2px, 0); }
  100% { clip-path: inset(0 0 100% 0); }
}

@keyframes glitch-2 {
  0%, 93% { clip-path: inset(0 0 100% 0); }
  94% { clip-path: inset(40% 0 30% 0); transform: translate(3px, 0); }
  95% { clip-path: inset(10% 0 60% 0); transform: translate(-3px, 0); }
  96% { clip-path: inset(70% 0 10% 0); transform: translate(2px, 0); }
  97% { clip-path: inset(30% 0 50% 0); transform: translate(-2px, 0); }
  100% { clip-path: inset(0 0 100% 0); }
}

/* --- Typewriter + Cursor --- */
.hero__typewriter {
  display: inline;
}

.hero__cursor {
  display: inline-block;
  color: var(--amber);
  animation: blink 0.8s infinite;
  font-weight: 100;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Hero subtitle */
.hero__subtitle {
  font-family: var(--font-mono);
  font-size: clamp(0.8rem, 2vw, 1rem);
  color: var(--text-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 20px;
}

/* Scroll hint */
.hero__scroll-hint {
  margin-top: 60px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dark);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
  transform: rotate(45deg);
  margin: 12px auto 0;
  animation: scrollBounce 2s infinite;
  opacity: 0.5;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(8px); }
}


/* ============================================
   COUNTDOWN TIMER
   Research: 30-50% conversion increase
   ============================================ */
.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 40px 0;
}

.countdown__block {
  text-align: center;
}

.countdown__number {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--amber);
  text-shadow: 0 0 30px var(--amber-glow);
  display: block;
  min-width: 2.5ch;
}

.countdown__label {
  font-family: var(--font-body);
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  display: block;
  margin-top: 4px;
}

.countdown__sep {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--text-dark);
  padding-bottom: 20px;
}

.countdown--large .countdown__number {
  font-size: clamp(2.5rem, 7vw, 4rem);
}


/* ============================================
   BUTTONS
   Research: Red CTA = 21% more conversions
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  padding: 16px 40px;
  text-decoration: none;
  min-height: 48px;
  transition: all 0.3s var(--ease-out);
}

.btn--primary {
  background: var(--red);
  color: white;
  border: 2px solid var(--red);
  position: relative;
}

.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 40px var(--red-glow), 0 0 60px rgba(198, 40, 40, 0.15);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
  pointer-events: none;
}

.btn--primary:hover {
  background: var(--red-dim);
  color: white;
  transform: scale(1.04);
  letter-spacing: 0.2em;
}

.btn--primary:hover::after {
  opacity: 1;
}

@keyframes pulseOpacity {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.btn--pulse {
  position: relative;
}

.btn--pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 40px var(--red-glow), 0 0 60px rgba(198, 40, 40, 0.15);
  animation: pulseOpacity 2s infinite;
  z-index: -1;
  pointer-events: none;
}

.btn--outline {
  background: transparent;
  color: var(--amber);
  border: 2px solid var(--amber);
}

.btn--outline:hover {
  background: var(--amber);
  color: var(--bg-primary);
}

.btn--magnetic {
  will-change: transform;
  transition: transform 0.3s var(--ease-out);
}

.btn--full {
  width: 100%;
}

.btn--whatsapp {
  background: #25D366;
  color: white;
  border: 2px solid #25D366;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  padding: 14px 28px;
}

.btn--whatsapp:hover {
  background: #1DA851;
  border-color: #1DA851;
  color: white;
  transform: scale(1.04);
}

.btn--whatsapp svg {
  flex-shrink: 0;
}


/* ============================================
   SECTIONS (Shared)
   ============================================ */
.section {
  padding: 120px 0;
  position: relative;
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

.section:nth-child(even) {
  background: var(--bg-secondary);
}

.section__label {
  margin-bottom: 16px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 3.5rem);
  color: var(--text-primary);
  letter-spacing: 0.06em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.section__subtitle {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 48px;
}


/* ============================================
   OUTBREAK SECTION
   ============================================ */
.outbreak__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 48px;
}

.infection-map {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}

.infection-map__svg {
  width: 100%;
}

.infection-map__country {
  fill: #0D1210;
  stroke: rgba(232, 160, 52, 0.15);
  stroke-width: 0.8;
  opacity: 1;
}

/* Map islands & water */
.infection-map__island {
  fill: #0D1210;
  stroke: rgba(232, 160, 52, 0.1);
  stroke-width: 0.5;
  opacity: 0.6;
}

.infection-map__water {
  fill: rgba(26, 75, 75, 0.15);
  stroke: rgba(26, 75, 75, 0.25);
  stroke-width: 0.5;
  opacity: 1;
  filter: url(#terrain-noise);
}

/* City markers — threat levels */
.infection-map__city {
  cursor: pointer;
}

.infection-map__city-dot {
  fill: rgba(232, 160, 52, 0.3);
  transition: fill 0.5s ease;
}

.infection-map__city-dot--ground-zero {
  fill: #C62828;
}

/* Status-driven styles */
.infection-map__city[data-status="ground-zero"] .infection-map__city-dot { fill: #C62828; }
.infection-map__city[data-status="overrun"] .infection-map__city-dot { fill: #C62828; }
.infection-map__city[data-status="contested"] .infection-map__city-dot { fill: #E87034; }
.infection-map__city[data-status="monitoring"] .infection-map__city-dot { fill: #E8A034; }
.infection-map__city[data-status="clear"] .infection-map__city-dot { fill: rgba(232, 160, 52, 0.2); }

.infection-map__city-label {
  font-family: var(--font-mono);
  font-size: 6px;
  fill: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.15em;
  transition: fill 0.3s ease;
}

.infection-map__city-label--ground-zero {
  fill: var(--amber);
  font-size: 10px;
  letter-spacing: 0.15em;
}

.infection-map__city-sublabel {
  font-family: var(--font-mono);
  font-size: 7px;
  fill: var(--red);
  letter-spacing: 0.2em;
}

.infection-map__city[data-status="overrun"] .infection-map__city-label,
.infection-map__city[data-status="contested"] .infection-map__city-label {
  fill: rgba(255, 255, 255, 0.7);
}

/* Glow pulse for active threat cities */
.infection-map__city[data-status="overrun"] .infection-map__city-dot {
  filter: url(#city-glow-red);
  animation: threatPulse 1s infinite;
}
.infection-map__city[data-status="contested"] .infection-map__city-dot {
  filter: url(#city-glow-amber);
  animation: threatPulse 2s infinite;
}
.infection-map__city[data-status="monitoring"] .infection-map__city-dot {
  animation: threatPulse 3s infinite;
}

@keyframes threatPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Chromatic aberration glitch */
.infection-map--glitch .infection-map__svg {
  animation: mapGlitch 0.2s ease-out;
}

@keyframes mapGlitch {
  0% { filter: none; }
  25% { filter: drop-shadow(2px 0 0 rgba(255, 0, 0, 0.4)) drop-shadow(-2px 0 0 rgba(0, 255, 255, 0.4)); }
  50% { filter: drop-shadow(-1px 1px 0 rgba(255, 0, 0, 0.3)) drop-shadow(1px -1px 0 rgba(0, 255, 255, 0.3)); }
  100% { filter: none; }
}

/* Outbreak transmissions */
.outbreak__transmission {
  margin-bottom: 24px;
  padding-left: 16px;
  border-left: 2px solid rgba(198, 40, 40, 0.25);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.outbreak__transmission.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.outbreak__timestamp {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--red);
  letter-spacing: 0.15em;
  margin-bottom: 8px;
  opacity: 0.7;
}

.outbreak__lore {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.outbreak__stats {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(232, 160, 52, 0.12);
}

.stat {
  text-align: center;
}

.stat__number {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--amber);
  display: block;
}

.stat__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  margin-top: 4px;
  display: block;
}


/* ============================================
   MISSION CARDS
   ============================================ */
.mission__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.mission__card {
  background: var(--bg-card);
  border: 1px solid rgba(232, 160, 52, 0.08);
  padding: 36px 24px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
}

.mission__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.mission__card:hover {
  border-color: rgba(232, 160, 52, 0.25);
  transform: translateY(-6px);
  background: var(--bg-card-hover);
}

.mission__card:hover::before {
  transform: scaleX(1);
}

.mission__card:last-child::before {
  background: var(--red);
}

.mission__card:last-child:hover {
  border-color: rgba(198, 40, 40, 0.35);
}

.mission__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  color: var(--amber);
}

.mission__icon--red {
  color: var(--red);
}

.mission__card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-primary);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.mission__card-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}


/* ============================================
   CLASSIFIED RULES
   ============================================ */
.classified {
  max-width: 800px;
  margin: 40px auto 0;
  background: var(--bg-card);
  border: 1px solid rgba(198, 40, 40, 0.15);
  position: relative;
}

/* Caution tape top border */
.classified::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 0;
  right: 0;
  height: 6px;
  background: repeating-linear-gradient(
    45deg,
    var(--amber) 0px,
    var(--amber) 10px,
    transparent 10px,
    transparent 20px
  );
}

.classified__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.classified__stamp {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--red);
  letter-spacing: 0.2em;
  border: 2px solid var(--red);
  padding: 4px 16px;
  transform: rotate(-3deg);
  display: inline-block;
}

.classified__id {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dark);
  letter-spacing: 0.1em;
}

.classified__declassified {
  padding: 16px 28px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dark);
  letter-spacing: 0.1em;
  line-height: 1.8;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.classified__body {
  padding: 12px 28px 28px;
}

.classified__rule {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  align-items: flex-start;
}

.classified__rule:last-child {
  border-bottom: none;
}

.classified__number {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--amber);
  font-weight: 700;
  min-width: 28px;
  padding-top: 2px;
}

.classified__rule h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-primary);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.classified__rule p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.redacted {
  filter: blur(4px);
  background: rgba(232, 160, 52, 0.1);
  padding: 0 6px;
  transition: filter 0.4s, color 0.4s, background 0.4s;
  cursor: pointer;
  color: var(--text-muted);
}

.redacted:hover {
  filter: blur(0);
  background: transparent;
  color: var(--red);
}

.classified__footer {
  padding: 12px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-dark);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}


/* ============================================
   TESTIMONIALS
   Research: 92% trust UGC
   ============================================ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.testimonial {
  background: var(--bg-card);
  border: 1px solid rgba(232, 160, 52, 0.06);
  padding: 32px;
  transition: border-color 0.3s, transform 0.4s;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.testimonial:hover {
  border-color: rgba(232, 160, 52, 0.18);
  transform: perspective(1000px) rotateY(1deg) rotateX(1deg) translateY(-2px);
}

.testimonial__stars {
  color: var(--amber);
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial__text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.testimonial__name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  display: block;
}

.testimonial__event,
.testimonial__status {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  display: block;
  margin-top: 2px;
}


/* --- Stats Bar --- */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 60px;
  padding: 32px;
  border-top: 1px solid rgba(232, 160, 52, 0.1);
  border-bottom: 1px solid rgba(232, 160, 52, 0.1);
  background: var(--bg-card);
}

.stats-bar__item {
  text-align: center;
}

.stats-bar__number {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--amber);
  display: block;
}

.stats-bar__label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
  display: block;
}


/* ============================================
   EVIDENCE GALLERY (Masonry)
   ============================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
  gap: 12px;
  margin-top: 20px;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(232, 160, 52, 0.06);
}

.gallery__item--tall {
  grid-row: span 2;
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s var(--ease-out);
}

.gallery__item:hover .gallery__img {
  transform: scale(1.05);
}

.gallery__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, transparent 100%);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
  display: flex;
  align-items: flex-end;
}

.gallery__overlay span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--amber);
  letter-spacing: 0.1em;
}

.gallery__item:hover .gallery__overlay {
  transform: translateY(0);
}

/* Scanline effect on gallery items */
.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.1) 3px,
    rgba(0, 0, 0, 0.1) 6px
  );
  pointer-events: none;
  opacity: 0.5;
}


/* ============================================
   SURVIVAL QUIZ
   Research: 3-5x engagement
   ============================================ */
.quiz-section {
  background: var(--bg-primary);
}

.quiz {
  max-width: 700px;
  margin: 40px auto 0;
  background: var(--bg-card);
  border: 1px solid rgba(232, 160, 52, 0.12);
  padding: 48px;
  min-height: 400px;
}

/* Quiz start screen */
.quiz__start {
  text-align: center;
}

.quiz__start-icon {
  font-size: 4rem;
  color: var(--amber);
  opacity: 0.5;
  margin-bottom: 20px;
}

.quiz__start h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-primary);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.quiz__start p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* Quiz progress bar */
.quiz__progress {
  height: 3px;
  background: rgba(232, 160, 52, 0.1);
  margin-bottom: 32px;
  overflow: hidden;
}

.quiz__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--amber), var(--amber-dim));
  transition: width 0.5s var(--ease-out);
  box-shadow: 0 0 10px var(--amber-glow);
}

.quiz__question-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dark);
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}

.quiz__question-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  margin-bottom: 32px;
  line-height: 1.3;
}

.quiz__options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz__option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  background: rgba(232, 160, 52, 0.03);
  border: 1px solid rgba(232, 160, 52, 0.1);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
}

.quiz__option:hover {
  background: rgba(232, 160, 52, 0.08);
  border-color: var(--amber);
  color: var(--text-primary);
  transform: translateX(6px);
}

/* Quiz result */
.quiz__result {
  text-align: center;
}

.quiz__result-card {
  padding: 40px;
  border: 2px solid var(--amber);
  background: rgba(232, 160, 52, 0.03);
  margin-bottom: 32px;
}

.quiz__result-type {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--amber);
  letter-spacing: 0.3em;
  margin-bottom: 12px;
}

.quiz__result-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--amber);
  letter-spacing: 0.1em;
  text-shadow: 0 0 30px var(--amber-glow);
  margin-bottom: 16px;
}

.quiz__result-desc {
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto;
}

.quiz__result-stats {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.quiz__result-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}


/* ============================================
   TICKETS SECTION
   Research: Scarcity = 17.8% lift
   ============================================ */
.tickets {
  background: var(--bg-primary);
}

/* Social proof ticker */
.proof-ticker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.proof-ticker__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  position: relative;
}

.proof-ticker__dot::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--amber-glow);
  animation: pulseOpacity 2s infinite;
  pointer-events: none;
}

/* Scarcity bar */
.scarcity {
  max-width: 500px;
  margin: 0 auto 48px;
}

.scarcity__bar {
  height: 6px;
  background: rgba(232, 160, 52, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 12px;
}

.scarcity__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--amber), var(--red));
  border-radius: 3px;
  transition: width 1s var(--ease-out);
}

.scarcity__text {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.1em;
}

.scarcity__number {
  color: var(--amber);
  font-weight: 700;
  font-size: 1rem;
}

/* Pricing tiers */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.pricing__tier {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.pricing__tier--past {
  opacity: 0.4;
}

.pricing__tier--active {
  border-color: var(--amber);
  box-shadow: 0 0 30px rgba(232, 160, 52, 0.1);
  transform: scale(1.03);
}

.pricing__tier--future {
  opacity: 0.5;
}

.pricing__badge {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--text-dark);
  margin-bottom: 16px;
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing__badge--active {
  color: var(--amber);
  border-color: var(--amber);
  position: relative;
}

.pricing__badge--active::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 4px rgba(232, 160, 52, 0.1);
  animation: pulseOpacity 2s infinite;
  pointer-events: none;
}

.pricing__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text-primary);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.pricing__price {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.pricing__tier--active .pricing__price {
  color: var(--amber);
}

.pricing__tier--past .pricing__price {
  text-decoration: line-through;
  color: var(--text-dark);
}

.pricing__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.pricing__status {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dark);
  letter-spacing: 0.15em;
}

.pricing__timer {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.pricing__countdown {
  color: var(--red);
  font-weight: 700;
}

.tickets__countdown {
  text-align: center;
  margin-bottom: 60px;
}

.tickets__countdown p {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* Group CTA */
.group-cta {
  text-align: center;
  padding: 40px;
  border: 1px solid rgba(232, 160, 52, 0.08);
  background: var(--bg-card);
}

.group-cta h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text-primary);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.group-cta p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 0.9rem;
}


/* Volunteer CTA */
.volunteer-cta {
  border-top: 1px solid rgba(232, 160, 52, 0.08);
  border-bottom: 1px solid rgba(232, 160, 52, 0.08);
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  background: var(--bg-secondary);
}

.faq__list {
  max-width: 800px;
  margin: 40px auto 0;
  padding: 0 16px;
}

.faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.faq__question {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::marker {
  content: '';
}

.faq__question::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--amber);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq__item[open] .faq__question::after {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.faq__item[open] .faq__answer {
  max-height: 800px;
  padding: 0 0 20px;
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid rgba(232, 160, 52, 0.08);
  padding: 60px 0 30px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 12px;
}

.footer__links h4,
.footer__social h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-primary);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer__links a {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--amber);
}

.footer__hours {
  font-size: 0.75rem;
  color: var(--text-dark);
  margin-top: 8px;
}

.footer__social-links {
  display: flex;
  gap: 16px;
}

.footer__social-links a {
  color: var(--text-muted);
  transition: color 0.2s, transform 0.2s;
}

.footer__social-links a:hover {
  color: var(--amber);
  transform: scale(1.15);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.75rem;
  color: var(--text-dark);
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a {
  color: var(--text-dark);
}

.footer__legal a:hover {
  color: var(--text-muted);
}


/* ============================================
   MOBILE STICKY CTA
   Research: 15-40% conversion lift on mobile
   ============================================ */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--red);
  transform: translateY(100%);
  transition: transform 0.3s var(--ease-out);
}

.mobile-cta.visible {
  transform: translateY(0);
}

.mobile-cta__btn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--bg-primary);
  color: white;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.15em;
  padding: 16px;
  min-height: 52px;
}

.mobile-cta__btn:hover {
  color: white;
}


/* ============================================
   RESPONSIVE — 1024px
   ============================================ */
@media (max-width: 1024px) {
  .mission__cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing__tier--active {
    transform: none;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}


/* ============================================
   RESPONSIVE — 768px
   ============================================ */
@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
  }

  .section {
    padding: 80px 0;
  }

  /* Disable SVG displacement filter on mobile for performance */
  #infection-blob {
    filter: none !important;
  }

  /* Mobile nav bar — solid black, no transparency */
  .nav {
    background: #0A0A0A;
  }

  .nav.scrolled {
    background: #0A0A0A;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* Nav overlay — full screen, solid background */
  .nav__links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0A0A0A;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 999;
  }

  .nav__links.open {
    display: flex;
  }

  /* Nav links — large, bold, readable */
  .nav__links a {
    padding: 16px 24px;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.1em;
    min-height: 52px;
    display: flex;
    align-items: center;
  }

  .nav__links a:hover {
    color: var(--amber);
  }

  .nav__links .nav__cta {
    margin-top: 16px;
    font-size: 1.1rem;
    padding: 14px 32px;
    background: var(--red) !important;
    color: white !important;
    border: none;
  }

  /* Lock body scroll when nav is open */
  body.nav-open {
    overflow: hidden;
  }

  /* Hamburger touch target — 44x44 minimum */
  .nav__toggle {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  /* Layouts collapse */
  .outbreak__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mission__cards {
    grid-template-columns: 1fr;
  }

  .testimonials {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }

  .gallery__item--wide {
    grid-column: span 1;
  }

  .stats-bar {
    flex-wrap: wrap;
    gap: 24px;
  }

  .stats-bar__item {
    flex: 1 1 40%;
  }

  .quiz {
    padding: 32px 20px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Show mobile CTA */
  .mobile-cta {
    display: block;
  }

  body {
    padding-bottom: 80px;
  }
}


/* ============================================
   RESPONSIVE — 480px
   ============================================ */
@media (max-width: 480px) {
  .section {
    padding: 60px 0;
  }

  .container {
    padding: 0 16px;
  }

  .sticky-bar__inner {
    padding: 0 12px;
    gap: 8px;
  }

  .hero__scroll-hint {
    margin-top: 40px;
    font-size: 0.65rem;
  }

  .countdown__number {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
  }

  .countdown__sep {
    font-size: 1rem;
  }

  .btn {
    padding: 14px 24px;
    font-size: 0.95rem;
  }

  .outbreak__stats {
    flex-direction: column;
    gap: 20px;
  }

  .infection-map {
    max-width: 100%;
    padding: 0;
  }

  .mission__icon {
    width: 48px;
    height: 48px;
  }

  .stats-bar {
    flex-direction: column;
  }

  .stats-bar__number {
    font-size: 1.4rem;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .gallery__item {
    aspect-ratio: 4 / 3;
  }

  .gallery__item--tall {
    aspect-ratio: 3 / 4;
  }

  .gallery__overlay {
    padding: 12px;
  }

  .testimonial {
    padding: 20px 16px;
  }

  .quiz {
    padding: 20px 16px;
  }

  .quiz__question-text {
    font-size: 1.1rem;
  }

  .classified__rule {
    gap: 12px;
  }

  .footer__grid {
    gap: 24px;
  }

  .redacted {
    padding: 4px 8px;
    display: inline-block;
  }
}


/* ============================================
   RESPONSIVE — 360px (small phones)
   ============================================ */
@media (max-width: 360px) {
  .gallery__item {
    aspect-ratio: 4 / 3;
  }

  .stats-bar__number {
    font-size: 1.2rem;
  }

  .countdown__number {
    font-size: 1.1rem;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.85rem;
  }

  .pricing__tier {
    padding: 24px 16px;
  }

  .faq__list {
    padding: 0 12px;
  }
}


/* ============================================
   TOUCH DEVICE FIXES
   Gallery overlay, redacted text, social icons
   ============================================ */
@media (hover: none) {
  /* Gallery: always show caption on touch since no hover */
  .gallery__overlay {
    transform: translateY(0);
  }

  /* Redacted text: tap to reveal (no hover on touch) */
  .redacted {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  /* Social icon touch targets — 44x44 minimum */
  .footer__social-links a {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Mission cards don't need hover translateY on touch */
  .mission__card:hover {
    transform: none;
  }

  /* Testimonial hover not needed on touch */
  .testimonial:hover {
    transform: none;
  }
}


/* ============================================
   VOLUNTEER PAGE
   Nav, hero, role cards, form, confirmation
   ============================================ */

/* --- VOLUNTEER NAV --- */
.vol-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(232, 160, 52, 0.08);
}

.vol-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vol-nav__back {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}

.vol-nav__back:hover {
  color: var(--amber);
}

/* --- VOLUNTEER HERO --- */
.vol-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 70px;
  overflow: hidden;
}

.vol-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.vol-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3) saturate(0.7);
}

.vol-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.6) 0%,
    rgba(10, 10, 10, 0.4) 50%,
    rgba(10, 10, 10, 0.95) 100%
  );
}

.vol-hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.vol-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5rem);
  color: var(--text-primary);
  letter-spacing: 0.06em;
  line-height: 1;
  margin: 16px 0 24px;
}

.vol-hero__text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.vol-hero__cta {
  margin-top: 32px;
}

/* --- ROLE CARDS --- */
.vol-roles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.vol-role {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}

.vol-role:hover {
  border-color: rgba(232, 160, 52, 0.2);
  transform: translateY(-4px);
}

.vol-role__img-wrap {
  height: 280px;
  overflow: hidden;
}

.vol-role__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.8);
  transition: filter 0.3s, transform 0.4s var(--ease-out);
}

.vol-role:hover .vol-role__img {
  filter: saturate(1) brightness(0.9);
  transform: scale(1.05);
}

.vol-role__content {
  padding: 24px;
}

.vol-role__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text-primary);
  letter-spacing: 0.04em;
  margin: 12px 0;
}

.vol-role__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.vol-role__req {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  line-height: 1.5;
}

.vol-role__req-label {
  color: var(--amber);
  text-transform: uppercase;
}

.vol-roles__cta {
  text-align: center;
  margin-top: 16px;
}

@media (max-width: 900px) {
  .vol-roles__grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* --- FORM STYLES --- */
.vol-form__form {
  max-width: 640px;
  margin: 0 auto;
}

.vol-progress {
  max-width: 640px;
  margin: 0 auto 40px;
}

.vol-progress__bar {
  height: 3px;
  background: var(--bg-card);
  border-radius: 2px;
  overflow: hidden;
}

.vol-progress__fill {
  height: 100%;
  background: var(--amber);
  transition: width 0.4s var(--ease-out);
  box-shadow: 0 0 12px var(--amber-glow);
}

.vol-progress__text {
  display: block;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-top: 8px;
}

/* Step header */
.vol-step__header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.vol-step__number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: rgba(232, 160, 52, 0.15);
  letter-spacing: 0.1em;
  line-height: 1;
}

.vol-step__title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--text-primary);
  letter-spacing: 0.06em;
  margin-top: -8px;
}

.vol-step__subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* BTS photo between steps */
.vol-step__photo {
  margin-bottom: 32px;
  border-radius: 4px;
  overflow: hidden;
  max-height: 200px;
}

.vol-step__photo img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.7);
}

/* Fields */
.vol-field {
  margin-bottom: 24px;
}

.vol-field__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 32px 0;
}

.vol-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.vol-label__hint {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.vol-input,
.vol-select,
.vol-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.vol-input:focus,
.vol-select:focus,
.vol-textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px var(--amber-glow);
}

.vol-input::placeholder,
.vol-textarea::placeholder {
  color: var(--text-dark);
}

.vol-input--short {
  max-width: 160px;
}

.vol-input--inline {
  max-width: 300px;
  margin-top: 8px;
}

.vol-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23777' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.vol-textarea {
  resize: vertical;
  min-height: 80px;
}

/* Radio & checkbox groups */
.vol-radio-group,
.vol-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vol-radio,
.vol-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: border-color 0.2s, background 0.2s;
  line-height: 1.4;
}

.vol-radio:hover,
.vol-checkbox:hover {
  border-color: rgba(232, 160, 52, 0.2);
  background: var(--bg-card-hover);
}

.vol-radio input,
.vol-checkbox input {
  display: none;
}

.vol-radio__box,
.vol-checkbox__box {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 2px solid var(--text-dark);
  border-radius: 50%;
  margin-top: 1px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.vol-checkbox__box {
  border-radius: 3px;
}

.vol-radio input:checked ~ .vol-radio__box {
  border-color: var(--amber);
  background: var(--amber);
  box-shadow: 0 0 8px var(--amber-glow);
}

.vol-checkbox input:checked ~ .vol-checkbox__box {
  border-color: var(--amber);
  background: var(--amber);
  box-shadow: 0 0 8px var(--amber-glow);
}

.vol-radio input:checked ~ .vol-radio__box::after {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: var(--bg-primary);
  border-radius: 50%;
  margin: 4px auto;
}

.vol-checkbox input:checked ~ .vol-checkbox__box::after {
  content: '\2713';
  display: block;
  font-size: 12px;
  color: var(--bg-primary);
  text-align: center;
  line-height: 14px;
  font-weight: 700;
}

/* Contact comfort color hints */
.vol-radio--green input:checked ~ .vol-radio__box {
  border-color: #4CAF50;
  background: #4CAF50;
  box-shadow: 0 0 8px rgba(76, 175, 80, 0.3);
}

.vol-radio--yellow input:checked ~ .vol-radio__box {
  border-color: #FFC107;
  background: #FFC107;
  box-shadow: 0 0 8px rgba(255, 193, 7, 0.3);
}

.vol-radio--red input:checked ~ .vol-radio__box {
  border-color: var(--red);
  background: var(--red);
  box-shadow: 0 0 8px var(--red-glow);
}

/* Time range */
.vol-time-range {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vol-time-range__sep {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Conditional fields */
.vol-conditional {
  padding-left: 16px;
  border-left: 2px solid var(--amber-glow);
  margin-bottom: 24px;
}

/* The Pact */
.vol-pact {
  background: var(--bg-card);
  border: 1px solid rgba(198, 40, 40, 0.2);
  padding: 24px;
  margin: 32px 0;
  border-radius: 4px;
}

.vol-pact__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--red);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.vol-pact__text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.vol-pact__text ul {
  list-style: none;
  padding: 0;
}

.vol-pact__text li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

.vol-pact__text li::before {
  content: '\25B8';
  position: absolute;
  left: 0;
  color: var(--red);
}

.vol-pact__agree {
  background: transparent;
  border-color: var(--red);
}

/* Form nav buttons */
.vol-form__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.vol-form__next,
.vol-form__submit {
  margin-left: auto;
}

/* Confirmation */
.vol-confirm__text {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-top: 16px;
}

.vol-confirm__paula {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--amber);
  margin-top: 12px;
}

/* Dossier readout — terminal-style returning volunteer recognition */
.vol-dossier {
  font-family: var(--font-mono);
  background: rgba(232, 160, 52, 0.04);
  border-left: 3px solid var(--amber);
  border-radius: 0 6px 6px 0;
  padding: 16px 20px;
  margin-bottom: 24px;
  animation: volDossierFade 0.5s ease-out;
}

@keyframes volDossierFade {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}

.vol-dossier__line {
  font-size: 0.82rem;
  color: var(--amber);
  line-height: 1.6;
  letter-spacing: 0.03em;
}

.vol-dossier__line--cmd {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.vol-dossier__line--dim {
  color: var(--text-secondary);
  font-size: 0.75rem;
  margin-top: 4px;
}

/* Validation error */
.vol-input--error,
.vol-select--error {
  border-color: var(--red) !important;
  box-shadow: 0 0 0 3px var(--red-glow) !important;
}

.vol-field__error {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--red);
  margin-top: 6px;
  letter-spacing: 0.05em;
}

/* ---- MOBILE: TABLET ---- */
@media (max-width: 768px) {
  .vol-hero {
    min-height: 70vh;
  }

  .vol-hero__text {
    font-size: 1rem;
  }

  .vol-hero__cta {
    margin-top: 24px;
  }

  .vol-role__img-wrap {
    height: 220px;
  }

  .vol-role__content {
    padding: 20px;
  }
}

/* ---- MOBILE: PHONE ---- */
@media (max-width: 600px) {
  /* Nav */
  .vol-nav {
    height: 56px;
    padding: 0 16px;
  }

  .vol-nav__back {
    font-size: 0.65rem;
  }

  /* Hero */
  .vol-hero {
    min-height: 60vh;
    padding-top: 56px;
  }

  .vol-hero__text {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* Step header */
  .vol-step__number {
    font-size: 2rem;
  }

  .vol-step__title {
    font-size: 1.4rem;
  }

  .vol-step__subtitle {
    font-size: 0.85rem;
  }

  /* BTS photos */
  .vol-step__photo,
  .vol-step__photo img {
    height: 150px;
  }

  /* Inputs — 16px prevents iOS auto-zoom */
  .vol-input,
  .vol-select,
  .vol-textarea {
    font-size: 16px;
    padding: 14px 16px;
  }

  .vol-input--short {
    max-width: 120px;
  }

  .vol-input--inline {
    max-width: 100%;
  }

  /* Radio/checkbox — ensure 44px min touch target */
  .vol-radio,
  .vol-checkbox {
    padding: 14px 16px;
    font-size: 0.88rem;
  }

  /* Dossier readout */
  .vol-dossier {
    padding: 14px 16px;
  }

  .vol-dossier__line {
    font-size: 0.78rem;
  }

  .vol-dossier__line--cmd,
  .vol-dossier__line--dim {
    font-size: 0.7rem;
  }

  /* The Pact */
  .vol-pact {
    padding: 20px 16px;
  }

  .vol-pact__title {
    font-size: 1.1rem;
  }

  .vol-pact__text {
    font-size: 0.8rem;
  }

  /* Form nav — stack buttons full width */
  .vol-form__nav {
    flex-direction: column;
    gap: 12px;
  }

  .vol-form__nav .btn {
    width: 100%;
  }

  .vol-form__next,
  .vol-form__submit {
    margin-left: 0;
  }

  /* Confirmation */
  .vol-confirm__text {
    font-size: 1rem;
  }

  /* Progress */
  .vol-progress {
    margin-bottom: 28px;
  }
}

/* ---- MOBILE: SMALL PHONE ---- */
@media (max-width: 360px) {
  .vol-hero__title {
    font-size: 2.2rem;
  }

  .vol-role__title {
    font-size: 1.05rem;
  }

  .vol-role__desc {
    font-size: 0.82rem;
  }

  .vol-step__number {
    font-size: 1.6rem;
  }

  .vol-step__title {
    font-size: 1.2rem;
  }

  .vol-label {
    font-size: 0.85rem;
  }
}

/* ---- DESKTOP: WIDE SCREEN ---- */
@media (min-width: 1440px) {
  .vol-hero__content {
    max-width: 800px;
  }

  .vol-hero__text {
    font-size: 1.2rem;
  }

  .vol-role__img-wrap {
    height: 320px;
  }

  .vol-form__form,
  .vol-progress {
    max-width: 700px;
  }
}
