/* The POOlice — production stylesheet (port of demo /Users/josephanady/Downloads/callthepoolice.html). */

:root {
  --blue: #1e3a8a;
  --blue-bright: #3b82f6;
  --red: #b91c1c;
  --red-bright: #ef4444;
  --gold: #f59e0b;
  --gold-bright: #fbbf24;
  --tape: #facc15;
  --ink: #0a0a0a;
  --paper: #f5f0e6;
  --paper-shadow: #d6cfbe;
  --concrete: #1a1a1a;
  --static: #2a2a2a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  cursor: none;
  line-height: 1.5;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,0.06) 1px, transparent 0);
  background-size: 4px 4px;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: multiply;
}
body::after {
  content: '';
  position: fixed; inset: 0;
  background: linear-gradient(transparent 50%, rgba(0,0,0,0.04) 50%);
  background-size: 100% 3px;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: multiply;
}

/* skip link */
.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--gold-bright); color: var(--ink);
  padding: 8px 16px; text-decoration: none; font-weight: 700;
  z-index: 10001;
}
.skip-link:focus { top: 0; }

/* CURSOR */
.cursor {
  position: fixed;
  width: 40px; height: 40px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width 0.2s, height 0.2s;
}
.cursor svg { width: 100%; height: 100%; }
.cursor.hover { width: 64px; height: 64px; }
@media (hover: none) { .cursor { display: none !important; } body { cursor: auto; } }

/* DISPATCH LOADER */
.dispatch-loader {
  position: fixed; inset: 0;
  background: var(--ink);
  z-index: 10000;
  display: flex;
  align-items: center; justify-content: center; flex-direction: column;
  gap: 20px;
  font-family: 'Black Ops One', sans-serif;
  color: var(--gold-bright);
}
.dispatch-loader .static-bg { position: absolute; inset: 0; opacity: 0.15; }
.dispatch-loader .signal {
  font-size: clamp(20px, 4vw, 32px);
  letter-spacing: 0.3em;
  text-shadow: 0 0 20px var(--gold);
  position: relative; z-index: 2;
}
.dispatch-loader .signal::before {
  content: '►';
  display: inline-block;
  margin-right: 12px;
  animation: blink 0.8s infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.dispatch-loader .frequency {
  font-family: 'Special Elite', monospace;
  color: var(--paper); font-size: 14px;
  letter-spacing: 0.2em; position: relative; z-index: 2;
}

/* NAV */
nav.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--ink);
  border-bottom: 3px solid var(--gold);
  padding: 12px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
nav.site-nav.visible { transform: translateY(0); }
nav.site-nav.always-visible { transform: translateY(0); }
.nav-brand {
  font-family: 'Black Ops One', sans-serif;
  color: var(--gold-bright);
  font-size: 20px;
  letter-spacing: 0.1em;
  text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.nav-brand .badge-mini {
  width: 36px; height: 36px;
  flex-shrink: 0;
  filter: drop-shadow(2px 2px 0 rgba(239,68,68,0.5));
}
.nav-brand .badge-mini svg { width: 100%; height: 100%; display: block; }
.nav-links {
  display: flex; gap: 28px; list-style: none;
}
.nav-links a {
  color: var(--paper);
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700; font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase;
  position: relative; transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--red-bright);
  transition: width 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-bright); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  background: var(--red-bright);
  color: var(--paper);
  padding: 10px 20px;
  font-family: 'Black Ops One', sans-serif;
  font-size: 13px; letter-spacing: 0.15em;
  text-decoration: none;
  border: 2px solid var(--gold);
  position: relative; transition: all 0.2s;
}
.nav-cta:hover {
  background: var(--gold-bright);
  color: var(--ink);
  box-shadow: 0 0 20px var(--gold);
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  nav.site-nav { padding: 10px 16px; }
}

/* HERO (home) */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center; justify-content: center;
  overflow: hidden;
  padding: 60px 24px 80px;
}
.hero-lights {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 1;
}
.hero-lights .light {
  position: absolute;
  width: 100%; height: 100%;
  mix-blend-mode: screen;
}
.hero-lights .light.red {
  background: radial-gradient(circle at 0% 50%, rgba(239,68,68,0.5), transparent 40%);
  animation: lightSweep1 2s infinite;
}
.hero-lights .light.blue {
  background: radial-gradient(circle at 100% 50%, rgba(59,130,246,0.5), transparent 40%);
  animation: lightSweep2 2s infinite;
}
@keyframes lightSweep1 { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes lightSweep2 { 0%, 49% { opacity: 0; } 50%, 100% { opacity: 1; } }

.hero-badge-stage {
  position: relative;
  width: clamp(320px, 52vw, 620px);
  height: clamp(320px, 52vw, 620px);
  margin: 8px auto 28px;
  z-index: 3;
  cursor: pointer;
}
.hero-badge-stage::after {
  content: 'CLICK TO SPIN';
  position: absolute;
  bottom: -10px; left: 50%;
  transform: translateX(-50%);
  font-family: 'Special Elite', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(251,191,36,0.55);
  pointer-events: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity 0.4s, transform 0.4s;
}
.hero-badge-stage.hot::after { opacity: 0; }
#hero-canvas {
  position: absolute; inset: 0;
  width: 100% !important; height: 100% !important;
  z-index: 2;
}

.hero-content {
  position: relative; z-index: 3;
  text-align: center; max-width: 1200px; width: 100%;
  display: flex; flex-direction: column; align-items: center;
}
.hero-content > * { width: 100%; }
.hero h1 .word { white-space: nowrap; }
.hero-tag {
  display: inline-block;
  font-family: 'Special Elite', monospace;
  color: var(--gold-bright);
  font-size: 14px; letter-spacing: 0.3em;
  margin-bottom: 24px;
  padding: 8px 16px;
  border: 1px solid var(--gold);
  background: rgba(0,0,0,0.4);
  opacity: 0; transform: translateY(20px);
}
.hero h1 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(56px, 11vw, 160px);
  line-height: 0.9; letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--paper);
  text-shadow: 4px 4px 0 var(--red), 8px 8px 0 var(--blue);
  margin: 8px 0 16px;
}
.hero h1 .word { display: inline-block; opacity: 0; transform: translateY(60px) rotateX(60deg); }
.hero h1 .accent {
  color: var(--gold-bright);
  text-shadow: 4px 4px 0 var(--red);
}
.hero-sub {
  font-family: 'Black Ops One', sans-serif;
  font-size: clamp(16px, 2.4vw, 28px);
  letter-spacing: 0.1em;
  margin-bottom: 16px; color: var(--paper); opacity: 0;
}
.hero-sub .red { color: var(--red-bright); }
.hero-mission {
  font-family: 'Special Elite', monospace;
  font-size: clamp(14px, 1.4vw, 18px);
  max-width: 640px; margin: 0 auto 48px;
  color: rgba(245, 240, 230, 0.85);
  letter-spacing: 0.05em; opacity: 0;
}
.hero-cta-row {
  display: flex; gap: 20px;
  justify-content: center; flex-wrap: wrap;
  opacity: 0;
}
.hero-trust {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex; gap: 24px;
  font-family: 'Special Elite', monospace;
  font-size: 12px; color: rgba(245, 240, 230, 0.7);
  letter-spacing: 0.15em; text-transform: uppercase;
  flex-wrap: wrap; justify-content: center;
}
.hero-trust span { display: flex; align-items: center; gap: 6px; }
.hero-trust .dot { width: 8px; height: 8px; background: var(--red-bright); border-radius: 50%; animation: pulse 1.5s infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

/* BUTTONS */
.btn-primary, .btn-secondary {
  font-family: 'Black Ops One', sans-serif;
  letter-spacing: 0.15em;
  padding: 18px 36px; font-size: 16px;
  border: none; text-decoration: none;
  position: relative; cursor: none;
  display: inline-flex; align-items: center; gap: 12px;
  transition: transform 0.2s; text-transform: uppercase;
}
.btn-primary {
  background: var(--red-bright); color: var(--paper);
  border: 3px solid var(--gold);
  box-shadow: 6px 6px 0 var(--ink), 6px 6px 0 1px var(--gold);
}
.btn-primary:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink), 9px 9px 0 1px var(--gold); }
.btn-primary:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.btn-secondary {
  background: transparent; color: var(--gold-bright);
  border: 3px solid var(--gold-bright);
}
.btn-secondary:hover { background: var(--gold-bright); color: var(--ink); }
.magnet { display: inline-block; }
@media (hover: none) {
  .btn-primary, .btn-secondary, .nav-cta, .tier-cta, .form-submit, .float-cta, .wanted-q, .suspect-card, .case-step { cursor: pointer !important; }
}

/* TICKER */
.ticker {
  background: var(--red-bright);
  color: var(--paper);
  padding: 12px 0;
  border-top: 4px solid var(--gold);
  border-bottom: 4px solid var(--ink);
  position: relative; overflow: hidden;
}
.ticker::before {
  content: 'BREAKING';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: var(--ink);
  color: var(--gold-bright);
  font-family: 'Black Ops One', sans-serif;
  padding: 0 24px;
  display: flex; align-items: center;
  font-size: 14px; letter-spacing: 0.2em;
  z-index: 2;
  border-right: 4px solid var(--gold);
}
.ticker-track {
  display: flex; gap: 60px; white-space: nowrap;
  font-family: 'Black Ops One', sans-serif;
  font-size: 16px; letter-spacing: 0.1em;
  animation: tickerScroll 40s linear infinite;
  padding-left: 140px;
}
.ticker-track span::before {
  content: '◆';
  color: var(--gold-bright);
  margin-right: 24px;
}
@keyframes tickerScroll { to { transform: translateX(-50%); } }

/* SECTIONS */
section.demo-section {
  padding: 120px 32px;
  position: relative; z-index: 5;
}
.container { max-width: 1280px; margin: 0 auto; }
.container--narrow { max-width: 760px; margin: 0 auto; }

.section-eyebrow {
  font-family: 'Special Elite', monospace;
  color: var(--red);
  font-size: 14px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.section-eyebrow::before { content: ''; width: 40px; height: 2px; background: var(--red); }
.section-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.9; letter-spacing: -0.01em;
  text-transform: uppercase; margin-bottom: 24px;
}
.section-title .stamp {
  display: inline-block;
  color: var(--red);
  border: 6px solid var(--red);
  padding: 4px 16px;
  transform: rotate(-3deg);
  font-size: 0.7em; margin: 0 8px;
}
.section-lead {
  font-size: clamp(16px, 1.4vw, 20px);
  max-width: 640px; margin-bottom: 64px;
  color: rgba(10,10,10,0.75);
}

/* CASE — How it works */
.case { background: var(--paper); position: relative; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 880px) { .case-grid { grid-template-columns: 1fr; } }
.case-step {
  position: relative;
  background: var(--paper);
  border: 4px solid var(--ink);
  padding: 40px 32px 32px;
  box-shadow: 12px 12px 0 var(--ink);
  transition: transform 0.3s, box-shadow 0.3s;
}
.case-step:hover { transform: translate(-4px, -4px); box-shadow: 16px 16px 0 var(--ink), 16px 16px 0 4px var(--gold); }
.case-step .num {
  position: absolute;
  top: -32px; left: -16px;
  width: 80px; height: 80px;
  background: var(--red-bright);
  color: var(--paper);
  font-family: 'Anton', sans-serif;
  font-size: 56px;
  display: flex; align-items: center; justify-content: center;
  border: 4px solid var(--ink);
  transform: rotate(-6deg);
  box-shadow: 4px 4px 0 var(--ink);
}
.case-step h3 {
  font-family: 'Black Ops One', sans-serif;
  font-size: 24px; letter-spacing: 0.05em;
  margin: 16px 0 12px;
  text-transform: uppercase;
}
.case-step p {
  font-family: 'Special Elite', monospace;
  font-size: 15px; line-height: 1.7;
}
.case-step .icon {
  width: 100%; height: 120px;
  margin-top: 16px;
  display: flex; align-items: center; justify-content: center;
}

/* SUSPECTS */
.suspects { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.suspects::before {
  content: '';
  position: absolute;
  top: 60px; left: 0; right: 0;
  height: 28px;
  background: repeating-linear-gradient(-8deg,
    var(--tape) 0, var(--tape) 60px,
    var(--ink) 60px, var(--ink) 80px,
    var(--tape) 80px, var(--tape) 140px,
    var(--ink) 140px, var(--ink) 160px);
  background-size: 200px 28px;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}
.suspects::after {
  content: 'CRIME SCENE  ◆  DO NOT CROSS  ◆  CRIME SCENE  ◆  DO NOT CROSS  ◆  CRIME SCENE  ◆  DO NOT CROSS  ◆';
  position: absolute;
  top: 60px; left: 0; right: 0;
  height: 28px;
  font-family: 'Black Ops One', sans-serif;
  font-size: 16px; color: var(--ink);
  display: flex; align-items: center;
  white-space: nowrap;
  letter-spacing: 0.1em; overflow: hidden;
  transform: rotate(-2deg);
}
.suspects .section-title { color: var(--paper); }
.suspects .section-eyebrow { color: var(--gold-bright); }
.suspects .section-eyebrow::before { background: var(--gold-bright); }
.suspects .section-lead { color: rgba(245,240,230,0.75); }
.suspect-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1024px) { .suspect-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .suspect-grid { grid-template-columns: 1fr; } }
.suspect-card {
  background: var(--paper); color: var(--ink);
  border: 3px solid var(--gold);
  padding: 0; position: relative;
  perspective: 1000px;
  height: 380px;
  transition: transform 0.3s;
  cursor: none;
}
.suspect-card:hover { transform: translateY(-8px); }
.suspect-inner {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.suspect-card:hover .suspect-inner { transform: rotateY(180deg); }
.suspect-front, .suspect-back {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  display: flex; flex-direction: column;
}
.suspect-back { transform: rotateY(180deg); padding: 24px; background: var(--ink); color: var(--paper); }
.suspect-mug {
  flex: 1;
  background: var(--paper-shadow);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.suspect-mug svg { width: 80%; height: 80%; }
.suspect-mug::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0, transparent 6px, rgba(0,0,0,0.04) 6px, rgba(0,0,0,0.04) 8px);
  pointer-events: none;
}
.suspect-mug .height-marks {
  position: absolute;
  left: 4px; top: 0; bottom: 0;
  width: 20px;
  display: flex; flex-direction: column; justify-content: space-around;
  font-family: 'Special Elite', monospace;
  font-size: 9px; color: rgba(0,0,0,0.5);
}
.suspect-info { padding: 16px; background: var(--paper); border-top: 3px solid var(--ink); }
.suspect-id {
  font-family: 'Special Elite', monospace;
  font-size: 11px; color: var(--red);
  letter-spacing: 0.1em; margin-bottom: 4px;
}
.suspect-name {
  font-family: 'Black Ops One', sans-serif;
  font-size: 18px; text-transform: uppercase;
}
.suspect-back h4 {
  font-family: 'Black Ops One', sans-serif;
  font-size: 16px; color: var(--gold-bright);
  margin-bottom: 12px; letter-spacing: 0.1em;
}
.suspect-back p {
  font-family: 'Special Elite', monospace;
  font-size: 13px; line-height: 1.6; color: rgba(245,240,230,0.85);
}
.suspect-back .charge {
  margin-top: auto; padding-top: 12px;
  border-top: 2px dashed var(--gold);
  font-family: 'Black Ops One', sans-serif;
  font-size: 11px; letter-spacing: 0.15em;
  color: var(--red-bright);
}

/* DUTY (Pricing) */
.duty { background: var(--paper); position: relative; }
.duty::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100%;
  background-image: linear-gradient(45deg, transparent 49%, rgba(245,158,11,0.08) 49%, rgba(245,158,11,0.08) 51%, transparent 51%);
  background-size: 60px 60px;
  pointer-events: none;
}
.duty-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; z-index: 2; }
@media (max-width: 980px) { .duty-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.tier {
  background: var(--paper);
  border: 4px solid var(--ink);
  padding: 40px 32px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column;
  box-shadow: 8px 8px 0 var(--ink);
}
.tier:hover { transform: translate(-4px, -4px); box-shadow: 12px 12px 0 var(--ink); }
.tier.featured {
  background: var(--ink); color: var(--paper);
  border-color: var(--gold);
  transform: scale(1.04);
  box-shadow: 8px 8px 0 var(--red);
}
.tier.featured:hover { transform: scale(1.04) translate(-4px, -4px); box-shadow: 12px 12px 0 var(--red); }
.tier .ribbon {
  position: absolute;
  top: -16px; right: -16px;
  background: var(--red-bright); color: var(--paper);
  font-family: 'Black Ops One', sans-serif;
  font-size: 13px; letter-spacing: 0.15em;
  padding: 8px 20px;
  border: 3px solid var(--gold);
  transform: rotate(8deg);
  box-shadow: 4px 4px 0 var(--ink);
}
.tier-rank {
  font-family: 'Special Elite', monospace;
  font-size: 12px; letter-spacing: 0.3em;
  color: var(--red);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.tier.featured .tier-rank { color: var(--gold-bright); }
.tier-name {
  font-family: 'Anton', sans-serif;
  font-size: 56px; line-height: 0.9;
  text-transform: uppercase; margin-bottom: 16px;
}
.tier-badge {
  width: 100%; height: 120px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.tier-price {
  font-family: 'Anton', sans-serif;
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: 8px;
}
.tier-price .currency { font-size: 32px; opacity: 0.7; }
.tier-price .amount { font-size: 84px; line-height: 1; }
.tier-price .period {
  font-family: 'Special Elite', monospace;
  font-size: 16px; margin-left: 8px; opacity: 0.7;
}
.tier-frequency {
  font-family: 'Special Elite', monospace;
  font-size: 14px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 2px dashed currentColor;
  opacity: 0.8;
}
.tier-features { list-style: none; flex: 1; margin-bottom: 32px; }
.tier-features li {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  padding: 10px 0;
  display: flex; align-items: flex-start; gap: 12px;
  border-bottom: 1px dotted rgba(0,0,0,0.15);
}
.tier.featured .tier-features li { border-bottom-color: rgba(245,240,230,0.15); }
.tier-features li::before {
  content: '★'; color: var(--gold);
  font-size: 14px; flex-shrink: 0;
}
.tier.featured .tier-features li::before { color: var(--gold-bright); }
.tier-cta {
  display: block; text-align: center;
  background: var(--ink); color: var(--paper);
  padding: 16px;
  font-family: 'Black Ops One', sans-serif;
  letter-spacing: 0.15em; font-size: 14px;
  text-decoration: none;
  border: 3px solid var(--ink);
  transition: all 0.2s;
}
.tier-cta:hover { background: var(--red-bright); border-color: var(--gold); }
.tier.featured .tier-cta { background: var(--gold-bright); color: var(--ink); border-color: var(--gold-bright); }
.tier.featured .tier-cta:hover { background: var(--paper); color: var(--ink); }

.duty-guarantee {
  margin-top: 64px;
  text-align: center;
  background: var(--ink); color: var(--paper);
  padding: 40px 32px;
  border: 4px solid var(--gold);
  position: relative;
  max-width: 720px;
  margin-left: auto; margin-right: auto;
}
.duty-guarantee .seal {
  position: absolute;
  top: 50%; right: -40px;
  transform: translateY(-50%) rotate(-12deg);
  width: 100px; height: 100px;
  background: var(--red-bright);
  border: 4px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Black Ops One', sans-serif;
  font-size: 11px; text-align: center;
  line-height: 1; letter-spacing: 0.05em;
  color: var(--paper);
  box-shadow: 4px 4px 0 var(--ink);
}
.duty-guarantee h3 {
  font-family: 'Black Ops One', sans-serif;
  font-size: 24px; letter-spacing: 0.1em;
  margin-bottom: 12px; color: var(--gold-bright);
}
.duty-guarantee p {
  font-family: 'Special Elite', monospace;
  font-size: 16px; line-height: 1.7;
}

/* ROUTES */
.routes { background: var(--ink); color: var(--paper); position: relative; }
.routes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 980px) { .routes-grid { grid-template-columns: 1fr; } }
.routes .section-title { color: var(--paper); }
.routes .section-eyebrow { color: var(--gold-bright); }
.routes .section-eyebrow::before { background: var(--gold-bright); }
.routes .section-lead { color: rgba(245,240,230,0.75); }
.routes-cities {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px; margin-top: 32px;
}
.routes-cities li {
  font-family: 'Black Ops One', sans-serif;
  font-size: 15px; letter-spacing: 0.1em;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border-left: 4px solid var(--gold);
  display: flex; align-items: center; gap: 12px;
  transition: all 0.2s;
}
.routes-cities li:hover { background: rgba(245,158,11,0.1); transform: translateX(4px); }
.routes-cities li::before {
  content: '◉';
  color: var(--red-bright);
  animation: pulse 2s infinite;
}
.routes-cities a {
  color: inherit; text-decoration: none;
  display: flex; align-items: center; gap: 12px;
  width: 100%;
}
#radar-canvas {
  width: 100%; height: 480px;
  background: radial-gradient(circle at center, #001a0a, #000);
  border: 3px solid var(--gold);
  position: relative;
}

/* CASES (testimonials) */
.cases { background: var(--paper); position: relative; }
.cases::before {
  content: 'CONFIDENTIAL';
  position: absolute;
  top: 80px; right: 40px;
  font-family: 'Black Ops One', sans-serif;
  font-size: 64px; color: var(--red);
  opacity: 0.08; letter-spacing: 0.1em;
  transform: rotate(-12deg);
  pointer-events: none;
}
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 980px) { .cases-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.case-file {
  background: var(--paper); border: 2px solid var(--ink);
  padding: 32px 28px;
  position: relative;
  font-family: 'Special Elite', monospace;
  box-shadow: 6px 6px 0 var(--paper-shadow);
  transition: transform 0.3s;
}
.case-file:hover { transform: rotate(-1deg) translate(-2px, -2px); }
.case-file:nth-child(2) { transform: rotate(1deg); }
.case-file:nth-child(2):hover { transform: rotate(0deg) translate(-2px, -2px); }
.case-file:nth-child(3) { transform: rotate(-1deg); }
.case-file:nth-child(3):hover { transform: rotate(0deg) translate(-2px, -2px); }
.case-file-stamp {
  position: absolute;
  top: 20px; right: 20px;
  font-family: 'Black Ops One', sans-serif;
  color: var(--red);
  border: 3px solid var(--red);
  padding: 4px 10px;
  font-size: 11px; letter-spacing: 0.15em;
  transform: rotate(8deg); opacity: 0.85;
}
.case-file-id {
  font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.6); margin-bottom: 8px;
}
.case-file-quote {
  font-size: 16px; line-height: 1.7;
  margin: 16px 0 24px;
  padding-left: 16px; border-left: 4px solid var(--gold);
}
.case-file-meta {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 16px;
  border-top: 1px dashed rgba(0,0,0,0.3);
  font-size: 13px;
}
.case-file-meta strong {
  font-family: 'Black Ops One', sans-serif;
  font-size: 14px; letter-spacing: 0.05em;
}
.case-file-stars { color: var(--gold); letter-spacing: 0.1em; }

/* WANTED (FAQ) */
.wanted { background: var(--ink); color: var(--paper); position: relative; }
.wanted .section-title { color: var(--paper); }
.wanted .section-eyebrow { color: var(--gold-bright); }
.wanted .section-eyebrow::before { background: var(--gold-bright); }
.wanted .section-lead { color: rgba(245,240,230,0.75); }
.wanted-list { max-width: 880px; margin: 0 auto; }
.wanted-item {
  background: var(--paper); color: var(--ink);
  border: 3px solid var(--gold);
  margin-bottom: 16px;
  position: relative;
  transition: all 0.3s;
}
.wanted-item:hover { box-shadow: 6px 6px 0 var(--red); transform: translate(-3px, -3px); }
.wanted-q {
  padding: 24px 64px 24px 28px;
  font-family: 'Black Ops One', sans-serif;
  font-size: 18px; letter-spacing: 0.05em;
  cursor: none;
  position: relative;
  text-transform: uppercase;
}
.wanted-q::after {
  content: '+';
  position: absolute;
  right: 28px; top: 50%;
  transform: translateY(-50%);
  font-size: 36px;
  color: var(--red);
  transition: transform 0.3s;
  line-height: 1;
}
.wanted-item.open .wanted-q::after { transform: translateY(-50%) rotate(45deg); }
.wanted-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  font-family: 'Special Elite', monospace;
  font-size: 15px; line-height: 1.7;
}
.wanted-item.open .wanted-a { max-height: 800px; }
.wanted-a-inner {
  padding: 0 28px 24px;
  border-top: 2px dashed rgba(0,0,0,0.2);
  padding-top: 20px;
}

/* CONTACT */
.contact { background: var(--paper); position: relative; }
.contact-grid { display: grid; grid-template-columns: 5fr 4fr; gap: 64px; align-items: start; }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-aside h2 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.9; text-transform: uppercase;
  margin-bottom: 24px;
}
.contact-aside h2 span { color: var(--red); display: block; }
.contact-aside .lead {
  font-family: 'Special Elite', monospace;
  font-size: 17px; line-height: 1.7;
  margin-bottom: 32px;
}
.contact-channels { list-style: none; margin-bottom: 32px; }
.contact-channels li {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 0;
  border-bottom: 2px dashed rgba(0,0,0,0.2);
}
.contact-channels .ch-icon {
  width: 48px; height: 48px;
  background: var(--ink); color: var(--gold-bright);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-family: 'Black Ops One', sans-serif;
  font-size: 18px;
}
.contact-channels .ch-label {
  font-family: 'Special Elite', monospace;
  font-size: 12px; letter-spacing: 0.2em;
  color: rgba(0,0,0,0.6); text-transform: uppercase;
}
.contact-channels .ch-value {
  font-family: 'Black Ops One', sans-serif;
  font-size: 20px; text-decoration: none; color: var(--ink);
}
.contact-channels .ch-value:hover { color: var(--red); }
.contact-form {
  background: var(--paper);
  border: 3px solid var(--ink);
  padding: 32px;
  position: relative;
  box-shadow: 12px 12px 0 var(--ink);
}
.contact-form::before {
  content: 'INCIDENT REPORT';
  position: absolute;
  top: -18px; left: 24px;
  background: var(--red-bright); color: var(--paper);
  font-family: 'Black Ops One', sans-serif;
  font-size: 14px; letter-spacing: 0.2em;
  padding: 6px 16px;
  border: 2px solid var(--ink);
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-family: 'Special Elite', monospace;
  font-size: 12px; letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px; color: var(--ink);
}
.form-row label span { color: var(--red); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 14px 16px;
  font-family: 'Special Elite', monospace;
  font-size: 15px;
  background: var(--paper);
  border: 2px solid var(--ink);
  color: var(--ink);
  transition: all 0.2s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--red);
  box-shadow: 4px 4px 0 var(--gold);
}
.form-row textarea { resize: vertical; min-height: 100px; }
.form-row.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit {
  width: 100%;
  background: var(--red-bright); color: var(--paper);
  padding: 18px;
  border: 3px solid var(--ink);
  font-family: 'Black Ops One', sans-serif;
  font-size: 16px; letter-spacing: 0.2em;
  cursor: none;
  transition: all 0.2s;
  position: relative; overflow: hidden;
}
.form-submit:hover { background: var(--ink); color: var(--gold-bright); }
.form-microcopy {
  font-family: 'Special Elite', monospace;
  font-size: 12px; text-align: center;
  margin-top: 12px; color: rgba(0,0,0,0.7);
}
.form-status {
  font-family: 'Special Elite', monospace;
  font-size: 14px; margin-top: 12px;
  min-height: 1.4em;
}
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.show { display: block; animation: fadeUp 0.6s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } }
.form-success h3 {
  font-family: 'Black Ops One', sans-serif;
  font-size: 28px; margin-bottom: 12px; color: var(--red);
}
.form-success p { font-family: 'Special Elite', monospace; font-size: 16px; }

/* honeypot */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}

/* FOOTER */
footer.site-footer {
  background: var(--ink); color: var(--paper);
  padding: 80px 32px 40px;
  position: relative;
  border-top: 6px solid var(--gold);
}
.footer-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand h3 {
  font-family: 'Anton', sans-serif;
  font-size: 56px; line-height: 0.9;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--gold-bright);
}
.footer-brand .footer-badge {
  width: 96px; height: 96px;
  margin-bottom: 20px;
  filter: drop-shadow(4px 4px 0 var(--red));
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.footer-brand .footer-badge:hover { transform: rotate(360deg); }
.footer-brand .footer-badge svg { width: 100%; height: 100%; display: block; }
.footer-brand p {
  font-family: 'Special Elite', monospace;
  font-size: 14px; line-height: 1.7;
  color: rgba(245,240,230,0.7);
}
footer.site-footer h4 {
  font-family: 'Black Ops One', sans-serif;
  font-size: 14px; letter-spacing: 0.2em;
  margin-bottom: 16px;
  color: var(--gold-bright);
}
footer.site-footer ul { list-style: none; }
footer.site-footer ul li { margin-bottom: 10px; }
footer.site-footer ul a, footer.site-footer ul span {
  color: rgba(245,240,230,0.7);
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  transition: color 0.2s;
}
footer.site-footer ul a:hover { color: var(--gold-bright); }
.footer-base {
  max-width: 1280px; margin: 0 auto;
  padding-top: 32px;
  border-top: 2px solid rgba(245,240,230,0.15);
  display: flex;
  justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-base p {
  font-family: 'Special Elite', monospace;
  font-size: 12px;
  color: rgba(245,240,230,0.5);
  letter-spacing: 0.1em;
}
.footer-badges {
  display: flex; gap: 12px;
  font-family: 'Black Ops One', sans-serif;
  font-size: 11px; letter-spacing: 0.15em;
}
.footer-badges span {
  padding: 6px 12px;
  border: 2px solid var(--gold);
  color: var(--gold-bright);
}

/* FLOATING PHONE CTA */
.float-cta {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 99;
  background: var(--red-bright); color: var(--paper);
  padding: 16px 24px;
  font-family: 'Black Ops One', sans-serif;
  font-size: 14px; letter-spacing: 0.15em;
  border: 3px solid var(--gold);
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink);
  display: flex; align-items: center; gap: 10px;
  transform: translateY(120%);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.float-cta.visible { transform: translateY(0); }
.float-cta::before { content: '☎'; font-size: 20px; }
.float-cta:hover { background: var(--gold-bright); color: var(--ink); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(40px); }

/* PHONE PROTECTED */
.phone-protected {
  font-family: 'Black Ops One', sans-serif;
  cursor: none; text-decoration: underline; text-decoration-style: dotted;
}

/* INNER PAGE HERO (for non-home pages) */
.inner-hero {
  background: var(--ink); color: var(--paper);
  padding: 140px 32px 80px;
  position: relative; overflow: hidden;
  border-bottom: 6px solid var(--gold);
}
.inner-hero .hero-lights .light { opacity: 0.6; }
.inner-hero .container { position: relative; z-index: 3; }
.inner-hero h1 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(40px, 8vw, 88px);
  line-height: 0.95; letter-spacing: -0.01em;
  text-transform: uppercase;
  text-shadow: 4px 4px 0 var(--red);
  margin: 16px 0 16px;
}
.inner-hero h1 .accent { color: var(--gold-bright); }
.inner-hero .tagline {
  font-family: 'Special Elite', monospace;
  color: rgba(245,240,230,0.85);
  font-size: 17px; line-height: 1.6;
  max-width: 700px;
}
.inner-hero .answer-capsule {
  max-width: 760px;
  margin-top: 24px;
  padding: 18px 22px;
  background: rgba(255,255,255,0.06);
  border-left: 4px solid var(--gold-bright);
  font-family: 'Special Elite', monospace;
  font-size: 14px; line-height: 1.6;
  color: rgba(245,240,230,0.9);
}

/* breadcrumb */
.breadcrumb {
  background: var(--paper-shadow);
  font-family: 'Special Elite', monospace;
  font-size: 12px;
  padding: 10px 32px;
  position: relative; z-index: 5;
  letter-spacing: 0.1em;
}
.breadcrumb a { color: var(--ink); text-decoration: none; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .sep { color: var(--muted); margin: 0 8px; opacity: 0.6; }

/* POST BODY */
.post-body {
  background: var(--paper);
  padding: 80px 32px 100px;
  position: relative; z-index: 5;
}
.post-body .container { max-width: 760px; }
.post-body h2 {
  font-family: 'Black Ops One', sans-serif;
  font-size: clamp(24px, 3.4vw, 32px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 48px 0 16px;
  color: var(--ink);
}
.post-body h3 {
  font-family: 'Black Ops One', sans-serif;
  font-size: 20px; text-transform: uppercase;
  margin: 28px 0 10px;
}
.post-body p {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px; line-height: 1.75;
  margin-bottom: 16px;
  color: rgba(10,10,10,0.85);
}
.post-body ul, .post-body ol { margin: 0 0 24px 24px; }
.post-body li { font-family: 'DM Sans', sans-serif; line-height: 1.7; margin-bottom: 8px; }
.post-body a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.post-body .lead {
  font-family: 'Special Elite', monospace;
  font-size: 19px; line-height: 1.7;
  margin-bottom: 32px;
  color: rgba(10,10,10,0.85);
}

/* CITY CARDS */
.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.city-card {
  background: var(--paper);
  border: 3px solid var(--ink);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  font-family: 'DM Sans', sans-serif;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 0.2s, box-shadow 0.2s;
}
.city-card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.city-card .pre {
  font-family: 'Special Elite', monospace;
  font-size: 11px; letter-spacing: 0.2em;
  color: var(--red); text-transform: uppercase;
  margin-bottom: 6px;
}
.city-card h3 {
  font-family: 'Black Ops One', sans-serif;
  font-size: 22px; text-transform: uppercase;
  margin: 0 0 8px;
}
.city-card p { font-size: 14px; color: rgba(10,10,10,0.7); }
.city-card .arrow {
  display: inline-block;
  margin-top: 10px;
  font-family: 'Black Ops One', sans-serif;
  font-size: 13px; letter-spacing: 0.15em;
  color: var(--red);
}

/* INSIGHTS LIST */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 32px;
}
.insight-card {
  background: var(--paper);
  border: 3px solid var(--ink);
  padding: 28px;
  text-decoration: none;
  color: inherit;
  font-family: 'DM Sans', sans-serif;
  box-shadow: 8px 8px 0 var(--paper-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.insight-card:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--paper-shadow), 11px 11px 0 4px var(--gold); }
.insight-card .pre {
  font-family: 'Special Elite', monospace;
  font-size: 11px; letter-spacing: 0.2em;
  color: var(--red); text-transform: uppercase;
}
.insight-card h3 {
  font-family: 'Black Ops One', sans-serif;
  font-size: 20px; text-transform: uppercase;
  margin: 8px 0 10px;
}
.insight-card p {
  font-size: 14px; line-height: 1.6;
  color: rgba(10,10,10,0.75);
}
.insight-card .arrow {
  display: inline-block;
  margin-top: 12px;
  font-family: 'Black Ops One', sans-serif;
  font-size: 13px; letter-spacing: 0.15em;
  color: var(--red);
}

/* SELECTION */
::selection { background: var(--gold-bright); color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ============================================================
   POLISH PASS — added animations + humor
   ============================================================ */

/* GLITCH on .hero h1 .accent */
.hero h1 .accent {
  position: relative;
  display: inline-block;
}
.hero h1 .accent::before, .hero h1 .accent::after {
  content: 'ARE';
  position: absolute;
  inset: 0;
  color: var(--gold-bright);
  pointer-events: none;
  opacity: 0;
}
.hero h1 .accent::before {
  text-shadow: 2px 0 0 var(--red-bright);
  animation: glitchA 6s infinite;
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}
.hero h1 .accent::after {
  text-shadow: -2px 0 0 var(--blue-bright);
  animation: glitchB 6s infinite;
  clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}
@keyframes glitchA {
  0%, 90%, 100% { opacity: 0; transform: translate(0); }
  92% { opacity: 1; transform: translate(-2px, -2px); }
  94% { opacity: 1; transform: translate(2px, 1px); }
  96% { opacity: 1; transform: translate(-1px, 2px); }
  98% { opacity: 0; }
}
@keyframes glitchB {
  0%, 90%, 100% { opacity: 0; transform: translate(0); }
  92% { opacity: 1; transform: translate(2px, 2px); }
  94% { opacity: 1; transform: translate(-2px, -1px); }
  96% { opacity: 1; transform: translate(1px, -2px); }
  98% { opacity: 0; }
}

/* DISPATCH CONSOLE (live radio chatter widget) */
.dispatch-console {
  max-width: 760px;
  margin: 0 auto var(--s-4);
  padding: 12px 18px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(251,191,36,0.4);
  border-radius: 4px;
  font-family: 'Special Elite', monospace;
  font-size: 13px;
  color: var(--paper);
  display: flex; align-items: center; gap: 14px;
  position: relative; z-index: 3;
  box-shadow: 0 0 32px rgba(239,68,68,0.18);
}
.dispatch-console .pulse-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--red-bright);
  flex-shrink: 0;
  box-shadow: 0 0 12px var(--red-bright);
  animation: pulse 1.4s infinite;
}
.dispatch-console .label {
  font-family: 'Black Ops One', sans-serif;
  letter-spacing: 0.15em;
  color: var(--gold-bright);
  font-size: 10px;
}
.dispatch-console .feed {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  height: 1.4em;
}
.dispatch-console .feed-line {
  position: absolute;
  left: 0; top: 0;
  white-space: nowrap;
}
.dispatch-console .clock {
  font-family: 'Black Ops One', sans-serif;
  color: var(--gold-bright);
  font-size: 11px;
  letter-spacing: 0.1em;
  flex-shrink: 0;
}

/* ANIMATED ODOMETER for hero-trust counters */
.hero-trust .num {
  font-family: 'Black Ops One', sans-serif;
  color: var(--gold-bright);
  font-size: 14px;
  margin-right: 4px;
}

/* RANDOM STAMP overlays on cases section */
.cases .random-stamp {
  position: absolute;
  font-family: 'Black Ops One', sans-serif;
  font-size: 22px;
  letter-spacing: 0.1em;
  color: var(--red);
  border: 4px solid var(--red);
  padding: 4px 14px;
  pointer-events: none;
  opacity: 0;
  transform: rotate(-12deg);
  z-index: 1;
  text-transform: uppercase;
}
.cases .random-stamp.show { animation: stampDrop 3.6s ease forwards; }
@keyframes stampDrop {
  0% { opacity: 0; transform: scale(2) rotate(-12deg); }
  20% { opacity: 1; transform: scale(1) rotate(-12deg); }
  85% { opacity: 1; transform: scale(1) rotate(-12deg); }
  100% { opacity: 0; transform: scale(0.9) rotate(-12deg); }
}

/* RECENT ARRESTS strip */
.arrests-strip {
  background: var(--ink);
  color: var(--gold-bright);
  border-top: 2px solid var(--gold);
  padding: 14px 0;
  font-family: 'Special Elite', monospace;
  font-size: 13px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}
.arrests-strip::before {
  content: 'RECENT ARRESTS';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: var(--red-bright);
  color: var(--ink);
  padding: 0 18px;
  display: flex; align-items: center;
  font-family: 'Black Ops One', sans-serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  z-index: 2;
  border-right: 3px solid var(--gold);
}
.arrests-track {
  display: inline-flex;
  gap: 48px;
  padding-left: 180px;
  animation: arrestsScroll 60s linear infinite;
}
@keyframes arrestsScroll { to { transform: translateX(-50%); } }

/* SUSPECT CARD parallax tilt enhancement */
.suspect-card { transition: transform 0.3s; will-change: transform; }

/* "10-CODE" easter egg hint */
.easter-hint {
  position: fixed;
  bottom: 18px; left: 18px;
  font-family: 'Special Elite', monospace;
  font-size: 10px;
  color: rgba(0,0,0,0.35);
  letter-spacing: 0.18em;
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 768px) { .easter-hint { display: none; } }

/* DISPATCH RADIO toast (popup when 10-code typed) */
.code-toast {
  position: fixed;
  top: 90px; left: 50%;
  transform: translateX(-50%) translateY(-200%);
  background: var(--ink);
  color: var(--gold-bright);
  border: 3px solid var(--gold);
  padding: 14px 22px;
  font-family: 'Black Ops One', sans-serif;
  letter-spacing: 0.15em;
  font-size: 14px;
  z-index: 200;
  box-shadow: 0 0 24px rgba(251,191,36,0.4);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.code-toast.show { transform: translateX(-50%) translateY(0); }

/* Wobble for crime scene tape */
.suspects::before {
  animation: tapeWobble 18s ease-in-out infinite;
}
@keyframes tapeWobble {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(0.4deg); }
}

/* Suspect badge tilts subtly on idle */
.suspect-card { animation: floaty 8s ease-in-out infinite; }
.suspect-card:nth-child(2) { animation-delay: 1s; }
.suspect-card:nth-child(3) { animation-delay: 2s; }
.suspect-card:nth-child(4) { animation-delay: 3s; }
.suspect-card:nth-child(5) { animation-delay: 0.5s; }
.suspect-card:nth-child(6) { animation-delay: 1.5s; }
.suspect-card:nth-child(7) { animation-delay: 2.5s; }
.suspect-card:nth-child(8) { animation-delay: 3.5s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.suspect-card:hover { animation: none; }

/* ============================================================
   YARD BACKGROUND (behind the badge canvas)
   ============================================================ */
.hero-yard {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.yard-svg { width: 100%; height: 100%; display: block; }

/* Lift the badge above the yard */
#hero-canvas { z-index: 3 !important; }
.hero-content { z-index: 4 !important; }
.hero-lights { z-index: 0 !important; }

/* Tree sway — outer <g> handles position via SVG transform attribute,
   inner <g class="*-anim"> rotates via CSS keyframes around its base. */
.tree-bg-anim, .tree-fg-anim {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: treeSway 7s ease-in-out infinite;
  will-change: transform;
}
.tree-fg-anim { animation: treeSwayBig 7.5s ease-in-out infinite; }
@keyframes treeSway {
  0%, 100% { transform: rotate(-1.5deg); }
  50% { transform: rotate(1.5deg); }
}
@keyframes treeSwayBig {
  0%, 100% { transform: rotate(-2.4deg); }
  50% { transform: rotate(2.4deg); }
}

/* Stars twinkle */
.star { animation: twinkle 3.2s ease-in-out infinite; opacity: 0.6; }
@keyframes twinkle {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 1; }
}

/* Fireflies float */
.firefly {
  animation: firefly 11s ease-in-out infinite;
  filter: drop-shadow(0 0 4px #fbbf24);
}
@keyframes firefly {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: 1; }
  50% { transform: translate(40px, -30px); opacity: 1; }
  90% { opacity: 0.6; }
  100% { transform: translate(80px, -10px); opacity: 0; }
}

/* Stink rises */
.stink {
  animation: stinkRise 3s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: 50% 100%;
}
@keyframes stinkRise {
  0% { transform: translateY(0) scaleY(0.4); opacity: 0; }
  20% { opacity: 0.7; }
  60% { opacity: 0.7; }
  100% { transform: translateY(-24px) scaleY(1.2); opacity: 0; }
}

/* Grass blades wave */
.blade {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: bladeWave 2.5s ease-in-out infinite;
}
@keyframes bladeWave {
  0%, 100% { rotate: -8deg; }
  50% { rotate: 8deg; }
}

/* Crime tape gentle drift */
.crime-tape { animation: tapeDrift 28s linear infinite; }
@keyframes tapeDrift {
  0% { transform: translate(-100px, 460px) rotate(-2deg); }
  100% { transform: translate(-220px, 460px) rotate(-2deg); }
}

/* Reduced motion: kill all yard animations */
@media (prefers-reduced-motion: reduce) {
  .star, .firefly, .stink, .blade, .crime-tape, .tree-bg-anim, .tree-fg-anim { animation: none !important; }
}

