/*
 * MACH ONE — John Strand · Patriot for Congress
 * Cinematic Top Gun / James Bond landing page (static HTML/CSS version)
 *
 * PALETTE
 *   --navy:     #0A1428   midnight stratosphere
 *   --navy-2:   #0F1B36   elevated surface
 *   --navy-3:   #162546   hover surface
 *   --steel:    #5B6B7E   cool instrumentation gray
 *   --bone:     #F4F1EA   headline white (never pure white)
 *   --orange:   #FF6B1A   afterburner orange
 *   --ember:    #8B0000   ember red — CTAs and alerts
 *   --gold:     #D4A24C   rare ribbon / honor accent
 *
 * TYPOGRAPHY
 *   Display  — Anton (massive condensed all-caps headlines)
 *   Editorial — Playfair Display (italic narrative voice / quotes)
 *   Mono     — Space Mono (HUD readouts, mission clocks)
 *   Body     — Inter Tight (paragraph copy)
 */

/* Target card link wrapper */
.target-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.target-card-link .target-card {
  height: 100%;
}

/* ============================================================
   1. FONT FACE — Geometos Neue Bold (place file in assets/fonts/)
   Falls back to Anton if font file is not present.
   ============================================================ */
@font-face {
  font-family: "Geometos Neue Bold";
  src: url("../assets/fonts/GeometosNeueBold.woff2") format("woff2"),
       url("../assets/fonts/GeometosNeueBold.woff") format("woff"),
       url("../assets/fonts/GeometosNeueBold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   2. ROOT / TOKENS
   ============================================================ */
:root {
  --navy:    #0A1428;
  --navy-2:  #0F1B36;
  --navy-3:  #162546;
  --steel:   #5B6B7E;
  --bone:    #F4F1EA;
  --orange:  #FF6B1A;
  --ember:   #E63946;
  --gold:    #D4A24C;

  --font-display: "Anton", "Impact", system-ui, sans-serif;
  --font-editorial: "Playfair Display", Georgia, serif;
  --font-mono: "Space Mono", ui-monospace, monospace;
  --font-body: "Inter Tight", ui-sans-serif, system-ui;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--navy);
  color: var(--bone);
  color-scheme: dark;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, blockquote { margin: 0; }

::selection { background-color: var(--orange); color: #fff; }

/* Cinematic film grain over everything */
.grain::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/></svg>");
}

/* Container */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
@media (min-width: 640px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
}
@media (min-width: 1024px) {
  .container { padding-left: 3rem; padding-right: 3rem; max-width: 1440px; }
}

/* ============================================================
   3. UTILITY TYPE
   ============================================================ */
.display-h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.5vw, 5.75rem);
  line-height: 0.88;
  color: var(--bone);
  margin-top: 1.25rem;
}
.display-h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.7vw, 2.5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--bone);
}
.mono-hud {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.orange  { color: var(--orange); }
.ember   { color: var(--ember); }
.dim     { color: rgba(244,241,234,0.55); }
.bone-strong { color: var(--bone); font-weight: 600; }
.italic-editorial {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
}
.body-soft {
  color: rgba(244,241,234,0.7);
  line-height: 1.65;
}
.orange-strong {
  color: var(--orange);
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}
.orange-faint { color: rgba(255,107,26,0.7); }
.editorial-lead {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: clamp(1.15rem, 1.8vw, 1.6rem);
  line-height: 1.3;
  color: rgba(244,241,234,0.88);
}
.editorial-quote {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  color: rgba(244,241,234,0.8);
  max-width: 38rem;
  line-height: 1.4;
}
.display-inline { display: inline; }

/* Heat headline gradient — bone to orange to red at the bottom */
.heat-text {
  background: linear-gradient(180deg, #FFEFE0 0%, #FF6B1A 55%, #B31942 85%, #8B0000 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.glow-bone {
  text-shadow: 0 2px 20px rgba(0,0,0,0.6), 0 0 60px rgba(255, 107, 26, 0.15);
}

/* Section eyebrow */
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.section-eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--orange);
}

/* Decorative diagonal hairline divider */
.diag-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--orange) 50%, transparent 100%);
  opacity: 0.5;
  margin: 3.5rem 0;
}

/* Inline ink-underline interaction */
.ink-underline { position: relative; display: inline-block; }
.ink-underline::after {
  content: "";
  position: absolute;
  bottom: -4px; left: 0;
  width: 100%; height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 320ms var(--ease-out);
}
.ink-underline:hover::after { transform: scaleX(1); }

/* Star mark (5-point polygon) */
.star-mark {
  display: inline-block;
  width: 10px; height: 10px;
  background-color: currentColor;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.diamond {
  display: inline-block;
  width: 6px; height: 6px;
  background: rgba(255,107,26,0.7);
  transform: rotate(45deg);
}

/* Pulse dot */
.pulse-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  vertical-align: middle;
  animation: reticlePulse 3.2s ease-in-out infinite;
}
.pulse-dot.ember { background: var(--ember); }
@keyframes reticlePulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}
.reticle-pulse { animation: reticlePulse 3.2s ease-in-out infinite; }

/* Caution stripes */
.caution-stripes {
  height: 8px;
  background-image: repeating-linear-gradient(45deg,
    var(--orange) 0px, var(--orange) 16px,
    var(--navy)  16px, var(--navy)  32px);
  opacity: 0.85;
}

/* Target cursor for donate buttons — orange crosshair, white on hover */
.donate-cursor {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><circle cx='16' cy='16' r='12' fill='none' stroke='%23FF6B1A' stroke-width='2'/><circle cx='16' cy='16' r='3' fill='%23FF6B1A'/><line x1='16' y1='2' x2='16' y2='8' stroke='%23FF6B1A' stroke-width='2'/><line x1='16' y1='24' x2='16' y2='30' stroke='%23FF6B1A' stroke-width='2'/><line x1='2' y1='16' x2='8' y2='16' stroke='%23FF6B1A' stroke-width='2'/><line x1='24' y1='16' x2='30' y2='16' stroke='%23FF6B1A' stroke-width='2'/></svg>") 16 16, crosshair;
}
.donate-cursor:hover {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><circle cx='16' cy='16' r='12' fill='none' stroke='%23FFFFFF' stroke-width='2'/><circle cx='16' cy='16' r='3' fill='%23FFFFFF'/><line x1='16' y1='2' x2='16' y2='8' stroke='%23FFFFFF' stroke-width='2'/><line x1='16' y1='24' x2='16' y2='30' stroke='%23FFFFFF' stroke-width='2'/><line x1='2' y1='16' x2='8' y2='16' stroke='%23FFFFFF' stroke-width='2'/><line x1='24' y1='16' x2='30' y2='16' stroke='%23FFFFFF' stroke-width='2'/></svg>") 16 16, crosshair;
}

/* ============================================================
   4. BUTTONS
   ============================================================ */
/* Afterburner pulsating glow animation — Mission Impossible style */
@keyframes afterburnerPulse {
  0%, 100% { box-shadow: 0 0 18px 2px rgba(255,107,26,0.6), 0 0 60px 4px rgba(255,107,26,0.25), inset 0 0 12px rgba(255,107,26,0.15); }
  50% { box-shadow: 0 0 35px 8px rgba(255,107,26,0.85), 0 0 100px 16px rgba(255,107,26,0.4), inset 0 0 20px rgba(255,107,26,0.3); }
}
@keyframes afterburnerScanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.btn-afterburner {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  color: #fff;
  padding: 1rem 2.25rem;
  background: linear-gradient(180deg, var(--orange) 0%, var(--ember) 100%);
  border: none;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  transition: transform 160ms var(--ease-out), filter 200ms var(--ease-out), background 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
  animation: afterburnerPulse 2.4s ease-in-out infinite;
  overflow: hidden;
}
/* Scanline sweep — Matrix/MI style */
.btn-afterburner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0) 100%);
  pointer-events: none;
  animation: afterburnerScanline 3s linear infinite;
  opacity: 0.6;
}
/* Hover: orange → red transition + intensified glow */
.btn-afterburner:hover {
  background: linear-gradient(180deg, #E63946 0%, #8B0000 100%);
  filter: brightness(1.1);
  box-shadow: 0 0 40px 6px rgba(230,57,70,0.55), 0 0 100px 12px rgba(139,0,0,0.35);
  transform: translateY(-2px);
  animation: none;
}
.btn-afterburner:active { transform: translateY(0) scale(0.97); animation: none; }
.btn-afterburner-sm {
  padding: 0.6rem 1.1rem;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
}
.btn-full { width: 100%; margin-top: 1rem; }

.btn-ghost-hud {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  color: var(--bone);
  padding: 0.85rem 1.75rem;
  background: rgba(15, 27, 54, 0.5);
  border: 1px solid rgba(244, 241, 234, 0.25);
  backdrop-filter: blur(8px);
  transition: all 200ms var(--ease-out);
  text-transform: uppercase;
  cursor: pointer;
}
.btn-ghost-hud:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(255, 107, 26, 0.08);
}
.btn-ghost-hud:active { transform: scale(0.97); }

/* ============================================================
   5. HUD CORNERS (used by donate/enlist/ribbon cards)
   ============================================================ */
.hud-bracket-full { position: relative; }
.hud-bracket-full > .br {
  position: absolute;
  width: 14px; height: 14px;
  border-color: var(--orange);
  border-style: solid;
  border-width: 0;
  pointer-events: none;
}
.hud-bracket-full > .br.tl  { top: -1px; left: -1px;  border-top-width: 1.5px;    border-left-width: 1.5px; }
.hud-bracket-full > .br.tr  { top: -1px; right: -1px; border-top-width: 1.5px;    border-right-width: 1.5px; }
.hud-bracket-full > .br.bl  { bottom: -1px; left: -1px;  border-bottom-width: 1.5px; border-left-width: 1.5px; }
.hud-bracket-full > .br.brc { bottom: -1px; right: -1px; border-bottom-width: 1.5px; border-right-width: 1.5px; }

/* ============================================================
   6. NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: transparent;
  overflow: visible;
  transition: background 300ms var(--ease-out), border-color 300ms var(--ease-out), backdrop-filter 300ms var(--ease-out);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(10, 20, 40, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: rgba(255,255,255,0.05);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  min-height: 72px;
  overflow: visible;
  transition: padding 400ms var(--ease-out), min-height 400ms var(--ease-out);
}
@media (min-width: 768px) { .nav-inner { padding-top: 16px; padding-bottom: 16px; min-height: 88px; } }
/* On scroll: reduce container height */
@media (min-width: 768px) {
  .navbar.scrolled .nav-inner {
    padding-top: 8px;
    padding-bottom: 8px;
    min-height: 60px;
  }
}

.brand { display: inline-flex; align-items: center; gap: 0.85rem; color: var(--bone); overflow: visible; position: relative; z-index: 100; transition: transform 400ms var(--ease-out); transform-origin: left center; }
@media (min-width: 768px) { .navbar.scrolled .brand { transform: scale(0.8); } }
.js-emblem { display: inline-flex; align-self: center; overflow: visible; transition: transform 300ms var(--ease-out); margin-top: 0; }
.js-logo-img { width: 50px; height: 50px; max-width: 50px; max-height: 50px; aspect-ratio: 1 / 1; object-fit: contain; filter: brightness(1.1); }
@media (min-width: 768px) { .js-logo-img { width: 120px; height: 120px; max-width: 120px; max-height: 120px; } }
.brand:hover .js-emblem { transform: scale(1.05); }


/* ---- DONATE BUTTON TARGETING RETICLE ---- */
.donate-reticle-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
}
/* Corner brackets — targeting system */
.reticle-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--orange);
  border-style: solid;
  opacity: 1;
  transition: border-color 300ms;
  animation: cornerLock 1.8s ease-in-out infinite;
}
@keyframes cornerLock {
  0%, 100% { opacity: 0.8; transform: translate(0, 0); }
  25% { opacity: 1; transform: translate(-1px, -1px); }
  50% { opacity: 0.6; transform: translate(0, 0); }
  75% { opacity: 1; transform: translate(1px, 1px); }
}
.rc-tl { top: 0; left: 0; border-width: 2px 0 0 2px; }
.rc-tr { top: 0; right: 0; border-width: 2px 2px 0 0; }
.rc-bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.rc-br { bottom: 0; right: 0; border-width: 0 2px 2px 0; }
/* Pulsing dashed ring around the donate button */
.reticle-ring {
  position: absolute;
  inset: -4px;
  border: 1.5px dashed var(--orange);
  border-radius: 6px;
  opacity: 0.6;
  animation: reticleRingPulse 1.6s ease-in-out infinite;
}
@keyframes reticleRingPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); border-color: var(--orange); }
  25% { opacity: 0.9; transform: scale(1.08); border-color: #E63946; }
  50% { opacity: 0.6; transform: scale(1.03); border-color: var(--orange); }
  75% { opacity: 1; transform: scale(1.1); border-color: #ff4444; }
}
/* Large variant for hero/enlist donate buttons */
.donate-reticle-wrap--lg {
  padding: 12px 18px;
}
.donate-reticle-wrap--lg .btn-full {
  width: 100%;
  margin-top: 0;
}
.donate-reticle-wrap--lg .reticle-corner {
  width: 14px;
  height: 14px;
  border-width: 2.5px;
}
.donate-reticle-wrap--lg .reticle-ring {
  inset: -6px;
  border-width: 1.5px;
}
/* Hover: corners and ring go red */
.donate-reticle-wrap:hover .reticle-corner { border-color: #E63946; }
.donate-reticle-wrap:hover .reticle-ring { border-color: #E63946; opacity: 0.9; }

/* Pulsating orange glow on ALL donate buttons — AGGRESSIVE */
.donate-reticle-wrap .btn-afterburner {
  animation: navDonatePulse 1.4s ease-in-out infinite;
}
/* Glow on donate amount tiles */
.donate-amt {
  animation: navDonatePulse 2s ease-in-out infinite;
}
@keyframes navDonatePulse {
  0%, 100% { box-shadow: 0 0 12px 3px rgba(255,107,26,0.5), 0 0 30px 6px rgba(255,107,26,0.2); }
  30% { box-shadow: 0 0 25px 8px rgba(255,107,26,0.8), 0 0 60px 16px rgba(255,107,26,0.4); }
  60% { box-shadow: 0 0 18px 5px rgba(230,57,70,0.6), 0 0 45px 10px rgba(230,57,70,0.25); }
}

/* Crosshair sweep — rotating targeting line */
.donate-reticle-wrap::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 6px;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(255,107,26,0.4) 15deg, transparent 30deg);
  animation: targetingSweep 3s linear infinite;
  pointer-events: none;
  opacity: 0.7;
}
@keyframes targetingSweep {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.brand-lockup { display: none; flex-direction: column; line-height: 1; align-self: center; }
@media (min-width: 640px) { .brand-lockup { display: flex; } }
.brand-name {
  font-family: "Geometos Neue Bold", "Geometos Neue", var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.08em;
  color: var(--bone);
}
@media (min-width: 768px) { .brand-name { font-size: 2.6rem; } }
.brand-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--orange);
  margin-top: 4px;
}
@media (min-width: 768px) { .brand-tag { font-size: 13px; } }

.nav-desktop { display: none; align-items: center; gap: 2.25rem; transition: transform 400ms var(--ease-out); transform-origin: center center; }
@media (min-width: 1024px) { .nav-desktop { display: inline-flex; } }
@media (min-width: 768px) { .navbar.scrolled .nav-desktop { transform: scale(0.8); } }
.nav-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(244,241,234,0.75);
  transition: color 200ms var(--ease-out);
}
.nav-link:hover { color: var(--orange); }

.nav-right { display: inline-flex; align-items: center; gap: 0.75rem; transition: transform 400ms var(--ease-out); transform-origin: right center; }
@media (min-width: 768px) { .navbar.scrolled .nav-right { transform: scale(0.8); } }
.nav-toggle { color: var(--bone); padding: 8px; margin-right: -8px; }
@media (min-width: 1024px) { .nav-toggle { display: none; } }

.nav-drawer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 300ms var(--ease-out), opacity 300ms var(--ease-out);
  background: rgba(10, 20, 40, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.nav-drawer.open { max-height: 400px; opacity: 1; }
.nav-drawer-inner { display: flex; flex-direction: column; padding: 1.25rem 1.5rem; gap: 0.25rem; }
.nav-drawer-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(244,241,234,0.8);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-drawer-link:hover { color: var(--orange); }
@media (min-width: 1024px) { .nav-drawer { display: none; } }

/* ============================================================
   7. HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero-sky {
  position: absolute; inset: 0; z-index: 0;
  background-image: url("../assets/img/hero_sky_v2.webp");
  background-size: cover;
  background-position: center 55%;
}
@keyframes horizonShift {
  0%   { background-position: 50% 55%; }
  50%  { background-position: 52% 53%; }
  100% { background-position: 50% 55%; }
}
.horizon-shift { animation: horizonShift 18s ease-in-out infinite; }

.hero-overlay-1 {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(10,20,40,0.65) 0%, rgba(10,20,40,0.15) 18%,
    rgba(10,20,40,0.0)  40%, rgba(10,20,40,0.0)  60%,
    rgba(10,20,40,0.55) 92%, rgba(10,20,40,0.85) 100%);
}
.hero-overlay-2 {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(ellipse 75% 65% at 35% 55%, rgba(10,20,40,0.55) 0%, rgba(10,20,40,0) 70%);
}
.hero-overlay-3 {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  mix-blend-mode: overlay;
  background: radial-gradient(ellipse 70% 60% at 75% 35%, rgba(255,107,26,0.35) 0%, transparent 65%);
}
.hero-scanlines {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  opacity: 0.4;
  background-image: repeating-linear-gradient(to bottom,
    transparent 0px, transparent 3px,
    rgba(255,255,255,0.022) 4px, transparent 5px);
}

.hud {
  position: absolute;
  top: 96px;
  z-index: 10;
  display: none;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
}
@media (min-width: 768px) { .hud { display: flex; top: 112px; } }
.hud-tl { left: 1rem; color: rgba(255,107,26,0.7); }
.hud-tr { right: 1rem; align-items: flex-end; color: rgba(244,241,234,0.7); }
@media (min-width: 768px) { .hud-tl { left: 2rem; } .hud-tr { right: 2rem; } }
.hud-status { display: inline-flex; align-items: center; gap: 0.5rem; }
.hud-status .pulse-dot { width: 6px; height: 6px; }

.hero-inner {
  position: relative;
  z-index: 10;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: end;
  padding-top: 8rem;
  padding-bottom: 10rem; /* extra space so CTAs don't overlap countdown */
}
@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 7fr 5fr;
    padding-top: 10rem;
    padding-bottom: 7.5rem;
    gap: 2rem;
  }
}

.hero-h1 {
  font-family: var(--font-display);
  line-height: 0.85;
  color: var(--bone);
  margin-top: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.005em;
}
.hero-h1 > span {
  display: block;
  font-size: clamp(3.5rem, 12vw, 11rem);
}
.hero-sub {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.hero-dash { display: block; height: 1px; width: 48px; background: var(--orange); }
.hero-sub p {
  font-family: var(--font-display);
  color: var(--bone);
  letter-spacing: 0.18em;
  font-size: 1.125rem;
}
@media (min-width: 768px) { .hero-sub p { font-size: 1.5rem; } }

.hero-couplet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 36rem;
  gap: 1rem 2.5rem;
  margin-top: 2rem;
}
.couplet-item {
  position: relative;
  padding-left: 1rem;
  border-left: 2px solid var(--orange);
}
.couplet-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--orange);
  opacity: 0.7;
}
.couplet-word {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--bone);
  letter-spacing: 0.05em;
  line-height: 1;
  margin-top: 0.15rem;
}
.couplet-sub {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  color: rgba(244,241,234,0.7);
  margin-top: 0.25rem;
}
@media (min-width: 768px) {
  .couplet-word { font-size: 2.75rem; }
  .couplet-sub { font-size: 1.35rem; }
  .couplet-num { font-size: 12px; }
}

.hero-quote {
  font-family: var(--font-editorial);
  font-style: italic;
  color: rgba(244,241,234,0.9);
  font-size: 1.125rem;
  line-height: 1.35;
  max-width: 36rem;
  margin-top: 2rem;
}
@media (min-width: 768px) { .hero-quote { font-size: 1.25rem; } }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  align-items: center;
}

/* MOBILE-FIRST: portrait visible at every breakpoint.
   On small screens it sits between the eyebrow and the headline area
   (we lift it via flex order on .hero-inner). On desktop it returns to
   the right column. */
.hero-right {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 360px;
  margin: 0.5rem auto 0;
  aspect-ratio: 4 / 5;
  align-items: end;
  justify-content: center;
  order: 0;
}
@media (min-width: 640px) {
  .hero-right { max-width: 420px; }
}
@media (min-width: 768px) {
  .hero-right { max-width: 480px; }
}
@media (min-width: 1024px) {
  .hero-right {
    max-width: none;
    margin: 0;
    justify-self: end;
    order: initial;
  }
}

/* Re-order on mobile so portrait sits visually between the headline and couplet */
@media (max-width: 1023.98px) {
  .hero-inner { display: flex; flex-direction: column; }
  .hero-left  { display: contents; }
  .hero-left > .section-eyebrow { order: 1; }
  .hero-left > .hero-h1         { order: 2; }
  .hero-left > .hero-sub        { order: 3; }
  .hero-right                   { order: 4; }
  .hero-left > .hero-couplet    { order: 5; }
  .hero-left > .hero-quote      { order: 6; }
  .hero-left > .hero-ctas       { order: 7; }
}

.reticle {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.reticle svg { width: 100%; height: 100%; }

.portrait {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 70vh;
  object-fit: contain;
  object-position: bottom;
  /* Aggressive fade so legs disappear into horizon haze.
     We split mask + soft drop-shadow that matches the fade. */
  -webkit-mask-image: linear-gradient(to bottom,
    #000 0%,
    #000 55%,
    rgba(0,0,0,0.85) 70%,
    rgba(0,0,0,0.45) 82%,
    rgba(0,0,0,0.15) 92%,
    rgba(0,0,0,0) 100%);
          mask-image: linear-gradient(to bottom,
    #000 0%,
    #000 55%,
    rgba(0,0,0,0.85) 70%,
    rgba(0,0,0,0.45) 82%,
    rgba(0,0,0,0.15) 92%,
    rgba(0,0,0,0) 100%);
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  /* drop-shadow removed because it draws the un-masked silhouette
     and recreates a hard edge under the fade. */
}
@media (min-width: 1024px) {
  .portrait { width: auto; max-height: 80vh; }
}

/* ---- PORTRAIT GLITCH SWAP ---- */
.portrait-glitch-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.portrait-glitch-wrap .portrait {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.05s linear;
}
.portrait-glitch-wrap .portrait.active {
  opacity: 1;
}

/* Glitch overlay — fires during transition */
.glitch-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
}
.glitch-overlay.glitching {
  animation: glitch-fire 800ms steps(6) forwards;
}

@keyframes glitch-fire {
  0% {
    opacity: 1;
    background: repeating-linear-gradient(
      0deg,
      transparent 0px,
      rgba(255,107,26,0.15) 2px,
      transparent 4px
    );
    clip-path: inset(10% 0 30% 0);
    transform: translate(0, 0);
  }
  20% {
    opacity: 1;
    background: repeating-linear-gradient(
      0deg,
      transparent 0px,
      rgba(0,255,200,0.2) 1px,
      transparent 3px
    );
    clip-path: inset(40% 0 10% 0);
    transform: translate(-8px, 2px);
  }
  40% {
    opacity: 1;
    background: repeating-linear-gradient(
      0deg,
      transparent 0px,
      rgba(255,0,100,0.2) 2px,
      transparent 4px
    );
    clip-path: inset(5% 0 60% 0);
    transform: translate(12px, -3px);
  }
  60% {
    opacity: 1;
    background: repeating-linear-gradient(
      0deg,
      transparent 0px,
      rgba(255,107,26,0.25) 1px,
      transparent 2px
    );
    clip-path: inset(55% 0 5% 0);
    transform: translate(-5px, 4px);
  }
  80% {
    opacity: 1;
    background: repeating-linear-gradient(
      0deg,
      transparent 0px,
      rgba(0,200,255,0.15) 2px,
      transparent 3px
    );
    clip-path: inset(20% 0 40% 0);
    transform: translate(6px, -1px);
  }
  100% {
    opacity: 0;
    transform: translate(0, 0);
    clip-path: inset(0);
  }
}

/* RGB split on the images during glitch */
.portrait-glitch-wrap.glitching .portrait.active {
  animation: rgb-split 800ms steps(5) forwards;
}
@keyframes rgb-split {
  0% { filter: none; transform: translate(0); }
  25% { filter: hue-rotate(90deg) saturate(2); transform: translate(4px, -2px); }
  50% { filter: hue-rotate(-60deg) saturate(3) brightness(1.3); transform: translate(-6px, 3px); }
  75% { filter: hue-rotate(45deg) saturate(1.5); transform: translate(3px, 1px); }
  100% { filter: none; transform: translate(0); }
}

/* Horizon haze — strong enough to actually hide the legs.
   Sits ABOVE the portrait so it covers any residual edge. */
.hero-right::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 36%;
  pointer-events: none;
  z-index: 11;  /* above .portrait (z:10) */
  background:
    linear-gradient(to top,
      #0A1428 0%,
      rgba(10, 20, 40, 0.92) 18%,
      rgba(20, 14, 32, 0.7) 38%,
      rgba(255, 107, 26, 0.18) 65%,
      rgba(10, 20, 40, 0) 100%);
}
.hero-right::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 110%;
  height: 22%;
  pointer-events: none;
  z-index: 12;
  background:
    radial-gradient(ellipse at 50% 100%,
      rgba(255,107,26,0.55) 0%,
      rgba(200,60,0,0.25) 30%,
      rgba(10,20,40,0) 70%);
  filter: blur(14px);
  mix-blend-mode: screen;
}

.hud-card {
  position: absolute;
  left: 0; bottom: 3rem;
  z-index: 20;
  background: rgba(10, 20, 40, 0.65);
  backdrop-filter: blur(4px);
  padding: 0.5rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(244,241,234,0.85);
}
.hud-card .small { font-size: 10px; margin-bottom: 2px; }

.mission-clock {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 10;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(10, 20, 40, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.clock-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  width: 100%;
  text-align: center;
}
@media (min-width: 768px) {
  .clock-inner { justify-content: space-between; gap: 1.5rem; }
}
@media (max-width: 767px) {
  .clock-inner { flex-direction: column; align-items: center; }
}
.clock-label {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(244,241,234,0.8);
  white-space: nowrap;
}
@media (min-width: 768px) { .clock-label { font-size: 11px; } }
.clock-units { display: flex; align-items: end; gap: 0.75rem; }
@media (min-width: 768px) { .clock-units { gap: 1.5rem; } }
.clock-unit { display: flex; flex-direction: column; align-items: center; min-width: 40px; }
.cu-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--bone);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
@media (min-width: 768px) { .cu-value { font-size: 2.25rem; } }
.cu-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--orange);
  margin-top: 4px;
}
.cu-sep {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1;
  color: rgba(244,241,234,0.3);
  transform: translateY(-6px);
}
@media (min-width: 768px) { .cu-sep { font-size: 1.875rem; } }

.scroll-for-orders {
  display: none;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--orange);
  transition: color 200ms var(--ease-out);
  align-items: center;
  gap: 0.5rem;
}
@media (min-width: 768px) { .scroll-for-orders { display: inline-flex; } }
.scroll-for-orders:hover { color: var(--bone); }

/* ============================================================
   8. MARQUEE (urgency band)
   ============================================================ */
.marquee {
  position: relative;
  width: 100%;
  background: var(--orange);
  color: var(--navy);
  overflow: hidden;
  border-top: 1px solid rgba(10,20,40,0.3);
  border-bottom: 1px solid rgba(10,20,40,0.3);
}
.marquee-track {
  display: flex;
  width: max-content;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  animation: marquee 38s linear infinite;
  will-change: transform;
}
@media (min-width: 768px) {
  .marquee-track { padding-top: 1rem; padding-bottom: 1rem; }
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: 1.125rem;
  letter-spacing: 0.18em;
  margin: 0 1.5rem;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .marquee-track span { font-size: 1.5rem; margin: 0 2.25rem; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   9. MISSION SECTION
   ============================================================ */
.mission-section { position: relative; overflow: hidden; background: var(--navy); }
.constitution-bg {
  position: absolute; inset: 0;
  z-index: 0;
  opacity: 0.09;
  mix-blend-mode: screen;
  background-image: url("../assets/img/constitution_texture.webp");
  background-size: cover;
  background-position: center;
  pointer-events: none;
}
.orange-glow-tr {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 88% 10%, rgba(255,107,26,0.12) 0%, transparent 65%);
}
.mission-inner {
  position: relative;
  z-index: 2;
  padding-top: 6rem;
  padding-bottom: 6rem;
}
@media (min-width: 768px) {
  .mission-inner { padding-top: 9rem; padding-bottom: 9rem; }
}

.mission-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 3.5rem;
}
@media (min-width: 768px) {
  .mission-header { grid-template-columns: 7fr 5fr; gap: 3rem; }
}

.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.05);
}
@media (min-width: 768px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar {
  position: relative;
  background: var(--navy);
  padding: 2rem;
  transition: background 300ms var(--ease-out);
}
@media (min-width: 768px) { .pillar { padding: 2.5rem; } }
.pillar:hover { background: var(--navy-2); }
.pillar-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.pillar-bar {
  height: 2px;
  width: 40px;
  background: var(--orange);
  margin: 1.25rem 0;
  transition: width 300ms var(--ease-out);
}
.pillar:hover .pillar-bar { width: 80px; }
.pillar p {
  color: rgba(244,241,234,0.7);
  line-height: 1.65;
  font-size: 15px;
}

.values-strip {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .values-strip { flex-direction: row; align-items: center; justify-content: space-between; }
}
.values {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 2rem;
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  font-size: 1.5rem;
  color: var(--bone);
}
@media (min-width: 768px) { .values { font-size: 1.875rem; } }

/* ============================================================
   10. STORY SECTION
   ============================================================ */
.story-section { position: relative; overflow: hidden; background: var(--navy); }
.story-bg-1 {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(135deg, #0A1428 0%, #0F1B36 50%, #0A1428 100%);
}
.story-bg-flag {
  position: absolute; top: 0; right: 0; height: 100%;
  width: 100%;
  z-index: 0;
  opacity: 0.3;
  background-image: url("../assets/img/flag_macro.webp");
  background-size: cover;
  background-position: center right;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 35%, black 100%);
          mask-image: linear-gradient(90deg, transparent 0%, black 35%, black 100%);
  pointer-events: none;
}
@media (min-width: 768px) { .story-bg-flag { width: 66.6667%; } }
.story-bg-vignette {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,20,40,0.6) 0%, transparent 30%, transparent 70%, rgba(10,20,40,0.8) 100%);
}

.story-inner {
  position: relative;
  z-index: 2;
  padding-top: 6rem;
  padding-bottom: 6rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 768px) { .story-inner { padding-top: 9rem; padding-bottom: 9rem; gap: 3rem; } }
@media (min-width: 1024px) { .story-inner { grid-template-columns: 5fr 7fr; } }

.story-left { position: relative; }
.story-numeral-wrap { position: relative; margin-top: 2rem; }
.story-numeral {
  font-family: var(--font-display);
  font-size: clamp(8rem, 22vw, 18rem);
  line-height: 0.78;
  color: var(--bone);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.story-numeral-label { margin-top: 0.5rem; }

.exonerated-stamp {
  position: absolute;
  top: -1rem;
  right: 0.5rem;
  opacity: 0;
  transform-origin: center;
  pointer-events: none;
}
@media (min-width: 768px) { .exonerated-stamp { right: 3rem; } }
.exonerated-stamp.show { animation: stampIn 600ms var(--ease-out) both; }
@keyframes stampIn {
  0%   { opacity: 0; transform: scale(1.6) rotate(-12deg); filter: blur(4px); }
  60%  { opacity: 1; transform: scale(0.96) rotate(-5deg); filter: blur(0); }
  100% { opacity: 0.95; transform: scale(1) rotate(-6deg); filter: blur(0); }
}
.stamp-frame {
  border: 3px solid var(--ember);
  color: var(--ember);
  background: rgba(10, 20, 40, 0.55);
  padding: 0.5rem 1rem;
}
.stamp-frame .stamp-title,
.stamp-frame .stamp-sub { color: var(--ember); }
.stamp-title { letter-spacing: 0.18em; }
.stamp-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.32em;
  margin-top: 4px;
  opacity: 0.9;
}

.story-stats {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  max-width: 28rem;
}
.stat-block { background: var(--navy); padding: 1rem 1.25rem; }
.stat-block .stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--bone);
  margin-top: 6px;
}

.story-right { padding-left: 0; }
@media (min-width: 1024px) { .story-right { padding-left: 2rem; } }

.story-headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.6vw, 5rem);
  line-height: 0.92;
  color: var(--bone);
}

.story-body {
  margin-top: 2rem;
  max-width: 38rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  color: rgba(244,241,234,0.8);
  font-size: 17px;
  line-height: 1.65;
}
.story-refused {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 1.5rem !important;
  line-height: 1.3;
  color: var(--bone) !important;
}
@media (min-width: 768px) { .story-refused { font-size: 1.875rem !important; } }
.story-kicker {
  font-family: var(--font-display);
  font-size: 1.5rem !important;
  letter-spacing: 0.04em;
  color: var(--bone) !important;
  line-height: 1.2;
  padding-top: 0.5rem;
}
@media (min-width: 768px) { .story-kicker { font-size: 1.875rem !important; } }

.story-ctas {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ============================================================
   11. DISTRICT SECTION
   ============================================================ */
.district-section {
  position: relative;
  height: 72vh;
  min-height: 560px;
  width: 100%;
  overflow: hidden;
  background: var(--navy);
}
.district-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url("../assets/img/florida_aerial.webp");
  background-size: cover;
  background-position: center;
}
.district-overlay-x {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg,
    rgba(10,20,40,0.92) 0%, rgba(10,20,40,0.65) 38%,
    rgba(10,20,40,0.15) 70%, rgba(10,20,40,0.55) 100%);
}
.district-overlay-y {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(10,20,40,0.85) 0%, rgba(10,20,40,0.1) 18%,
    rgba(10,20,40,0.1) 82%, rgba(10,20,40,0.95) 100%);
}
.district-glow {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  mix-blend-mode: overlay; opacity: 0.6;
  background: radial-gradient(ellipse 60% 60% at 75% 55%, rgba(255,107,26,0.30) 0%, transparent 70%);
}

.district-inner {
  position: relative;
  z-index: 5;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 768px) { .district-inner { grid-template-columns: 7fr 5fr; } }

.district-h2 { line-height: 0.92; }
.district-blurb {
  margin-top: 1.5rem;
  max-width: 36rem;
  color: rgba(244,241,234,0.85);
  font-size: 1.125rem;
  line-height: 1.65;
}

.district-stats {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 28rem;
  gap: 1px;
  background: rgba(255,255,255,0.1);
}
.stat-block-tinted {
  background: rgba(10,20,40,0.7);
  backdrop-filter: blur(4px);
  padding: 0.75rem 1rem;
}
.stat-block-tinted .stat-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--bone);
  letter-spacing: 0.04em;
  line-height: 1;
  margin-top: 4px;
}
@media (min-width: 768px) { .stat-block-tinted .stat-value { font-size: 1.5rem; } }

.district-hud {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  display: none;
  flex-direction: column;
  align-items: end;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange);
  z-index: 6;
}
@media (min-width: 768px) { .district-hud { display: flex; right: 2.5rem; } }
.district-hud > span:first-child { display: inline-flex; align-items: center; gap: 0.5rem; }
.district-hud-dim { color: rgba(244,241,234,0.7); }
.district-hud .pulse-dot { width: 8px; height: 8px; }

/* ============================================================
   12. TARGETS SECTION
   ============================================================ */
.targets-section { position: relative; overflow: hidden; background: #070E1F; }
.targets-grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.07;
  background-image:
    linear-gradient(rgba(255,107,26,0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,107,26,0.6) 1px, transparent 1px);
  background-size: 60px 60px;
}
.targets-glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(255,107,26,0.13) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 90%, rgba(200,60,0,0.10) 0%, transparent 50%);
}
.targets-inner {
  position: relative; z-index: 2;
  padding-top: 6rem; padding-bottom: 6rem;
}
@media (min-width: 768px) { .targets-inner { padding-top: 9rem; padding-bottom: 9rem; } }

.targets-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 4rem;
}
@media (min-width: 768px) { .targets-header { grid-template-columns: 8fr 4fr; } }

.targets-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.05);
}
@media (min-width: 768px) { .targets-grid { grid-template-columns: 1fr 1fr; } }

.target-card {
  position: relative;
  background: var(--navy);
  padding: 1.5rem;
  transition: background 300ms var(--ease-out);
  height: 100%;
}
@media (min-width: 768px) { .target-card { padding: 2rem; } }
.target-card:hover { background: var(--navy-2); box-shadow: inset 0 0 0 1px rgba(255,107,26,0.4); }
.target-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.target-cat {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.target-card .arrow {
  color: rgba(244,241,234,0.3);
  transition: color 300ms var(--ease-out), transform 300ms var(--ease-out);
}
.target-card:hover .arrow { color: var(--orange); transform: translateX(4px); }
.target-bar {
  height: 1.5px;
  width: 32px;
  background: var(--accent, var(--orange));
  margin: 0.75rem 0 1rem;
  transition: width 300ms var(--ease-out);
}
.target-card:hover .target-bar { width: 64px; }
.target-card p {
  color: rgba(244,241,234,0.65);
  font-size: 14.5px;
  line-height: 1.65;
}

.targets-footer {
  margin-top: 3.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* ============================================================
   13. ENDORSEMENTS SECTION
   ============================================================ */
.endorsements-section { position: relative; overflow: hidden; background: var(--navy); }
.endorsements-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, #070E1F 0%, #0A1428 50%, #070E1F 100%);
}
.endorsements-inner {
  position: relative; z-index: 2;
  padding-top: 6rem; padding-bottom: 8rem;
}
@media (min-width: 768px) { .endorsements-inner { padding-top: 9rem; padding-bottom: 8rem; } }

.endorsements-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 3.5rem;
}
@media (min-width: 768px) { .endorsements-header { grid-template-columns: 7fr 5fr; } }

.ribbon-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .ribbon-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; } }
@media (min-width: 1024px) { .ribbon-grid { grid-template-columns: repeat(3, 1fr); } }

.ribbon {
  position: relative;
  background: var(--navy-2);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 300ms var(--ease-out);
}
@media (min-width: 768px) { .ribbon { padding: 1.5rem; } }
.ribbon:hover {
  border-color: rgba(212,162,76,0.4);
  background: var(--navy-3);
}
.ribbon-medal {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212,162,76,0.4);
  color: var(--gold);
  transform: rotate(45deg);
  transition: transform 300ms var(--ease-out);
}
.ribbon:hover .ribbon-medal { transform: rotate(55deg); }
.ribbon-medal .star-mark {
  transform: rotate(-45deg) scale(1.4);
  color: var(--gold);
  transition: transform 300ms var(--ease-out);
}
.ribbon:hover .ribbon-medal .star-mark { transform: rotate(-55deg) scale(1.4); }
.ribbon-text { min-width: 0; }
.ribbon-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--bone);
  letter-spacing: 0.04em;
  line-height: 1.2;
}
@media (min-width: 768px) { .ribbon-name { font-size: 1.25rem; } }
.ribbon-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(244,241,234,0.55);
  margin-top: 4px;
  text-transform: uppercase;
}
.ribbon-footnote {
  margin-top: 2.5rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(244,241,234,0.4);
}

/* ============================================================
   14. ENLIST SECTION
   ============================================================ */
.enlist-section { position: relative; overflow: hidden; background: var(--navy); }
.enlist-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,107,26,0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(200,60,0,0.14) 0%, transparent 50%),
    #0A1428;
}
.enlist-stars {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
}
.enlist-stars .star-mark {
  position: absolute;
  color: var(--bone);
}

.enlist-inner {
  position: relative; z-index: 3;
  padding-top: 6rem; padding-bottom: 6rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) { .enlist-inner { padding-top: 9rem; padding-bottom: 9rem; gap: 3rem; } }
@media (min-width: 1024px) { .enlist-inner { grid-template-columns: 7fr 5fr; } }

.enlist-blurb {
  margin-top: 1.75rem;
  max-width: 36rem;
  color: rgba(244,241,234,0.8);
  font-size: 1.125rem;
  line-height: 1.65;
}

.donate-card {
  margin-top: 2.25rem;
  background: rgba(15,27,54,0.7);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem;
}
@media (min-width: 768px) { .donate-card { padding: 1.75rem; } }
.donate-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.donate-amounts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) { .donate-amounts { grid-template-columns: repeat(4, 1fr); } }
.donate-amt {
  padding: 0.75rem 0.5rem !important;
  font-size: 1rem !important;
}
.donate-amt:hover { border-color: var(--orange) !important; color: var(--orange) !important; }
.paid-for {
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: rgba(244,241,234,0.4);
  text-align: center;
}

.enlist-form {
  position: relative;
  background: rgba(15,27,54,0.85);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem;
}
@media (min-width: 768px) { .enlist-form { padding: 2rem; } }
@media (min-width: 1024px) { .enlist-form { position: sticky; top: 112px; } }

.enlist-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.enlist-form-header .pulse-dot { width: 8px; height: 8px; }
.enlist-form-h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--bone);
  line-height: 1.05;
  letter-spacing: 0.04em;
}
@media (min-width: 768px) { .enlist-form-h3 { font-size: 2.5rem; } }
.enlist-form-blurb {
  margin-top: 0.75rem;
  color: rgba(244,241,234,0.65);
  font-size: 0.875rem;
  line-height: 1.65;
}
.enlist-field { display: block; margin-top: 1.25rem; }
.field-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(244,241,234,0.55);
}
.enlist-field input {
  margin-top: 0.5rem;
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  outline: none;
  padding: 0.75rem 0.25rem;
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 200ms var(--ease-out);
}
.enlist-field input::placeholder { color: rgba(244,241,234,0.3); }
.enlist-field input:focus { border-bottom-color: var(--orange); }
.enlist-form-fine {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: rgba(244,241,234,0.4);
  line-height: 1.65;
}

/* ============================================================
   15. FOOTER
   ============================================================ */
.site-footer,
.footer {
  position: relative;
  background: #060B19;
  color: var(--bone);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-inner { padding-top: 10rem; padding-bottom: 8rem; }
.footer > .container { padding-top: 10rem; padding-bottom: 8rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 5fr 3fr 2fr 2fr; gap: 2rem; }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 4fr 3fr 2fr 3fr; }
}
.footer-brand-row { display: flex; align-items: center; gap: 1rem; }
.footer-logo-img { width: 64px; height: 64px; aspect-ratio: 1 / 1; object-fit: contain; filter: brightness(1.1); }
.footer-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--bone);
}
.footer-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--orange);
  margin-top: 2px;
}
.footer-blurb {
  margin-top: 1.25rem;
  color: rgba(244,241,234,0.65);
  line-height: 1.65;
  max-width: 24rem;
}
.footer-socials {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-socials a {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(244,241,234,0.8);
  transition: all 200ms var(--ease-out);
}
.footer-socials a:hover { border-color: var(--orange); color: var(--orange); }

.footer-col h4 { margin: 0 0 1.25rem; font-weight: 400; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; font-size: 0.875rem; }
.footer-col a { color: var(--bone); transition: color 200ms var(--ease-out); }
.footer-col a:hover { color: var(--orange); }
.footer-email {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--bone);
  display: inline-block;
}
.footer-col-contact p {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: rgba(244,241,234,0.65);
  line-height: 1.65;
}
.footer-col-contact p + p { margin-top: 0.75rem; }

.footer-legal {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: center;
}
@media (min-width: 768px) { .footer-legal { grid-template-columns: 2fr 1fr; } }
.footer-copy {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: rgba(244,241,234,0.55);
  line-height: 1.85;
}
.footer-legal-links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.75rem;
  justify-content: start;
}
@media (min-width: 768px) { .footer-legal-links { justify-content: end; } }
.footer-legal-links a { color: rgba(244,241,234,0.6); transition: color 200ms var(--ease-out); }
.footer-legal-links a:hover { color: var(--orange); }

/* Footer credit */
.footer-credit {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(244,241,234,0.4);
  margin-top: 0.5rem;
  text-align: left;
}
.footer-credit a {
  color: rgba(244,241,234,0.55);
  text-decoration: none;
  transition: color 200ms var(--ease-out);
}
.footer-credit a:hover {
  color: var(--orange);
}

/* ============================================================
   16. REVEAL ON SCROLL & WORD RISE
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes wordRise {
  0%   { opacity: 0; transform: translateY(40px); filter: blur(8px); }
  100% { opacity: 1; transform: translateY(0);    filter: blur(0); }
}
.word-rise { animation: wordRise 800ms var(--ease-out) both; display: block; }
.hero-h1 > .word-rise { display: block; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .word-rise { animation: none; opacity: 1; transform: none; filter: none; }
  .marquee-track { animation: none; }
  .horizon-shift { animation: none; }
  .reticle-pulse, .pulse-dot { animation: none; }
  .exonerated-stamp.show { animation: none; opacity: 0.95; transform: rotate(-6deg); }
}

/* ========== PATRIOT PLEA BOOK SECTION ========== */
.book-section {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(10,20,40,0.98), rgba(20,10,5,0.95));
}
.book-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(255,107,26,0.06), transparent 50%),
    url('../assets/img/constitution_texture.webp') center/cover no-repeat;
  opacity: 0.08;
  pointer-events: none;
}
.book-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.book-cover {
  position: relative;
  display: flex;
  justify-content: center;
}
.book-cover-img {
  width: 100%;
  max-width: 380px;
  box-shadow:
    0 25px 60px rgba(0,0,0,0.6),
    0 0 80px rgba(255,107,26,0.08);
  transition: transform 500ms cubic-bezier(0.23, 1, 0.32, 1);
}
.book-cover:hover .book-cover-img {
  transform: scale(1.03) rotateY(-3deg);
}
.book-cover-glow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 40px;
  background: radial-gradient(ellipse, rgba(255,107,26,0.2), transparent 70%);
  filter: blur(15px);
}
.book-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.book-subtitle {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(244,241,234,0.7);
  line-height: 1.6;
}
.book-quote {
  border-left: 3px solid var(--orange);
  padding: 1.25rem 1.5rem;
  margin: 1rem 0;
  background: rgba(255,107,26,0.03);
}
.book-quote p {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--bone);
  line-height: 1.6;
  margin: 0 0 0.5rem;
}
.book-quote cite {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--orange);
  font-style: normal;
}
.book-cta {
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .book-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .book-cover-img {
    max-width: 280px;
  }
  .book-quote {
    text-align: left;
  }
}
