/* =====================================================================
   Niagara Grime Stoppers — Noir Forensic design system (static port)
   Ported from the client's Lovable build. Shared by every page.
   Brand: noir black, case-file paper, logo red, caution-tape yellow.
   ===================================================================== */

:root {
  --noir: #0a0a0a;          /* deep crime black */
  --paper: #e5e0d8;         /* case file paper (off-white) */
  --brand: #d11f1f;         /* brand red (from logo) */
  --brand-deep: #8a1414;
  --caution: #ffda00;       /* caution tape yellow */
  --caution-shadow: #8a7400;
  --card: #1c1c1c;
  --muted: #a6a29b;         /* muted paper text */
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(229, 224, 216, 0.2);

  --font-display: "Stardos Stencil", system-ui, sans-serif;
  --font-typewriter: "Courier Prime", ui-monospace, monospace;
  --font-sans: "Inter", system-ui, sans-serif;

  --maxw: 72rem;            /* max-w-6xl */
}

* { box-sizing: border-box; border-color: var(--line); }

html { background: var(--noir); scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--noir);
  color: var(--paper);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty; /* avoid single-word widows in body copy */
}
/* headings balance across lines (avoids orphaned words) */
.display, .h-display-lg, .section-head h2 { text-wrap: balance; }

::selection { background: var(--caution); color: var(--noir); }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1rem; }

/* ---- typography helpers ---- */
.display { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: -0.01em; }
.eyebrow {
  font-family: var(--font-typewriter);
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--caution);
}
.text-brand { color: var(--brand); }
.text-caution { color: var(--caution); }
.text-muted { color: var(--muted); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.05em;
  font-size: 1rem; padding: 0.85rem 1.5rem; border: 0; cursor: pointer; border-radius: 4px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn:active { transform: translateY(0); }
.btn-caution { background: var(--caution); color: var(--noir); }
.btn-caution:hover { transform: translateY(-2px); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: #e0241f; transform: translateY(-2px); }
.btn-outline { border: 1.5px solid rgba(229,224,216,0.45); color: var(--paper); background: transparent; }
.btn-outline:hover { background: var(--paper); color: var(--noir); border-color: var(--paper); transform: translateY(-2px); }
.btn-noir { background: var(--noir); color: var(--paper); }
.btn-noir:hover { background: var(--brand); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---- header ---- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-top: 0.6rem; padding-bottom: 0.6rem;
}
.brand-lockup { display: flex; align-items: center; gap: 0.5rem; min-width: 0; flex-shrink: 1; }
.brand-name { font-family: var(--font-display); font-size: clamp(1.05rem, 3.2vw, 1.3rem); line-height: 1; text-transform: uppercase; letter-spacing: 0.01em; color: var(--paper); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.main-nav { display: flex; align-items: center; gap: 1.5rem; }
.main-nav a.navlink {
  font-family: var(--font-typewriter); font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.16em; color: rgba(229, 224, 216, 0.7);
}
.main-nav a.navlink:hover, .main-nav a.navlink.active { color: var(--caution); }
.nav-call {
  background: var(--caution); color: var(--noir); padding: 0.45rem 0.85rem; border-radius: 4px;
  font-family: var(--font-display); letter-spacing: 0.06em; font-size: 0.875rem;
  display: inline-flex; align-items: center; gap: 0.375rem; white-space: nowrap;
  transition: background 0.18s ease, transform 0.18s ease;
}
.nav-call:hover { background: var(--paper); transform: translateY(-1px); }
.nav-call-icon { padding: 0.5rem; } /* icon-only call button in the nav */
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 4px; color: var(--paper); padding: 0.4rem; cursor: pointer; }
.nav-toggle:hover { border-color: var(--caution); color: var(--caution); }
.nav-toggle svg { width: 1.5rem; height: 1.5rem; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--noir); }
.mobile-nav.open { display: block; }
.mobile-nav nav { display: flex; flex-direction: column; gap: 0.25rem; padding: 1rem; }
.mobile-nav a.navlink { font-size: 0.875rem; padding: 0.5rem 0; letter-spacing: 0.16em; }
.mobile-nav .nav-call { margin-top: 0.5rem; padding: 0.75rem; justify-content: center; font-size: 1rem; }
@media (max-width: 768px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
}

/* ---- sections ---- */
.section { padding: 4rem 0; }
@media (min-width: 640px) { .section { padding: 6rem 0; } }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--line-strong); }
.section-head h2 { margin: 0.25rem 0 0; font-size: clamp(2rem, 5vw, 3rem); }
.h-display-lg { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2.75rem, 9vw, 6rem); line-height: 0.85; margin: 0; }

/* ---- caution tape ---- */
.caution-tape { position: relative; z-index: 10; transform: rotate(-1.4deg); }
.caution-tape.right { transform: rotate(1.4deg); }
.caution-tape .strip {
  background: var(--caution); color: var(--noir);
  border-top: 2px solid var(--noir); border-bottom: 2px solid var(--noir);
  padding: 0.5rem 0; overflow: hidden;
}
.caution-tape .track {
  display: flex; white-space: nowrap; animation: tape-scroll 45s linear infinite;
  font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.06em;
}
.caution-tape .track span { flex-shrink: 0; padding-right: 1rem; }
@keyframes tape-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- service cards ---- */
.service-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  position: relative; background: var(--card); border: 1px solid var(--line);
  display: flex; flex-direction: column; overflow: hidden; transition: border-color 0.2s ease;
}
.service-card:hover { border-color: var(--caution); }
.service-card .thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--noir); }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: transform 0.5s ease, opacity 0.5s ease; }
.service-card:hover .thumb img { opacity: 1; transform: scale(1.05); }
.service-card .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--noir), rgba(10,10,10,0.3) 50%, transparent); }
.tag {
  font-family: var(--font-typewriter); font-size: 0.625rem; text-transform: uppercase;
  letter-spacing: 0.18em; padding: 0.1rem 0.4rem; position: absolute; z-index: 1;
}
.tag-case { top: 0.5rem; left: 0.5rem; background: rgba(10,10,10,0.8); border: 1px solid rgba(255,218,0,0.3); color: var(--caution); }
.service-card .body { padding: 1rem; flex: 1; display: flex; flex-direction: column; }
.service-card .subject { font-family: var(--font-typewriter); font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); margin-bottom: 0.25rem; }
.service-card h3 { font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; line-height: 1; margin: 0 0 0.5rem; }
.service-card .charge { font-family: var(--font-sans); font-size: 0.85rem; color: rgba(229,224,216,0.72); line-height: 1.55; flex: 1; }
.service-card .open { margin-top: 1rem; font-family: var(--font-typewriter); font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--caution); display: inline-flex; align-items: center; gap: 0.375rem; transition: gap 0.2s ease; }
.service-card:hover .open { gap: 0.75rem; }

/* ---- stamp ---- */
.stamp { animation: stamp-thud 0.5s cubic-bezier(0.19, 1, 0.22, 1) both; }
@keyframes stamp-thud { 0% { transform: scale(2.5) rotate(-20deg); opacity: 0; } 100% { transform: scale(1) rotate(-10deg); opacity: 1; } }

/* ---- footer ---- */
.site-footer { background: var(--noir); border-top: 1px solid var(--line); }
.footer-cta { background: var(--card); border-bottom: 1px solid var(--line); text-align: center; padding: 3rem 0; }
.footer-cta h3 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.875rem, 5vw, 3rem); margin: 0.75rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding: 3rem 0; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr 1.5fr 1.2fr; } }
.footer-grid h4 { font-family: var(--font-display); letter-spacing: 0.08em; color: var(--caution); margin: 0 0 0.75rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; font-family: var(--font-typewriter); font-size: 0.75rem; }
.footer-grid li { margin-bottom: 0.375rem; }
.footer-grid a:hover { color: var(--caution); }
.footer-cities { display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem 0.5rem; }
.footer-contact a { display: flex; align-items: center; gap: 0.5rem; color: rgba(229,224,216,0.7); margin-bottom: 0.5rem; }
.footer-contact svg { width: 0.875rem; height: 0.875rem; }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom .container { display: flex; flex-direction: column; gap: 0.5rem; padding: 1rem; font-family: var(--font-typewriter); font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); }
@media (min-width: 640px) { .footer-bottom .container { flex-direction: row; justify-content: space-between; } }
.footer-brand img { height: 12rem; width: auto; margin-bottom: 0.75rem; }
.footer-brand p { font-family: var(--font-typewriter); font-size: 0.75rem; color: var(--muted); margin-top: 0.5rem; }

/* ---- investigation process ---- */
@media (min-width: 640px) { .process-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (min-width: 1024px) { .process-grid { grid-template-columns: repeat(4, 1fr) !important; } }
.proc { position: relative; background: var(--noir); border: 1px solid var(--line); padding: 1.25rem; }
.proc .num { position: absolute; top: -0.75rem; left: -0.75rem; background: var(--brand); color: #fff; font-family: var(--font-display); font-size: 1.5rem; padding: 0.05rem 0.75rem; border: 2px solid var(--noir); }
.proc h3 { font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; margin: 0.75rem 0 0.5rem; }
.proc p { font-family: var(--font-sans); font-size: 0.82rem; color: rgba(229,224,216,0.75); line-height: 1.6; margin: 0; }

/* ---- evidence cards ---- */
@media (min-width: 768px) { .evidence-grid { grid-template-columns: repeat(2, 1fr) !important; } }
.evidence-card { position: relative; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.ev-stamp { display: inline-block; background: rgba(209,31,31,0.9); color: var(--paper); font-family: var(--font-display); font-size: 0.875rem; padding: 0.05rem 0.75rem; border: 2px solid rgba(229,224,216,0.4); letter-spacing: 0.18em; text-transform: uppercase; transform: rotate(-10deg); }

/* ---- about ---- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .about-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .about-grid { grid-template-columns: repeat(4, 1fr); } }
.about-card { background: var(--card); border: 1px solid var(--line); padding: 1.5rem; }
.about-card svg { width: 1.75rem; height: 1.75rem; margin-bottom: 0.75rem; }
.about-card h3 { font-family: var(--font-display); font-size: 1.25rem; text-transform: uppercase; margin: 0 0 0.5rem; }
.about-card p { font-family: var(--font-sans); font-size: 0.82rem; color: rgba(229,224,216,0.75); line-height: 1.6; margin: 0; }

/* ---- patrol map ---- */
.patrol-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: stretch; }
@media (min-width: 768px) { .patrol-grid { grid-template-columns: 1fr 1fr; } }
.patrol-map-wrap { border: 2px solid var(--noir); box-shadow: 0 16px 34px -20px rgba(0,0,0,0.45); line-height: 0; }
.patrol-map { width: 100%; aspect-ratio: 4 / 3; border: 0; display: block; }
@media (min-width: 768px) {
  .patrol-map-wrap { height: 100%; }
  .patrol-map { height: 100%; aspect-ratio: auto; min-height: 340px; }
}
.patrol-towns { margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px solid rgba(10,10,10,0.16); }
.patrol-towns .lbl { font-family: var(--font-typewriter); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--brand); display: block; margin-bottom: 1rem; }
.patrol-towns ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.patrol-towns li { display: inline-flex; align-items: center; gap: 0.4rem; background: rgba(10,10,10,0.03); border: 1px solid rgba(10,10,10,0.16); border-radius: 999px; padding: 0.45rem 0.9rem; font-family: var(--font-display); text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.02em; color: var(--noir); line-height: 1; }
.patrol-towns li svg { width: 13px; height: 13px; color: var(--brand); flex: none; }
.patrol-towns li span { transform: translateY(1px); }

/* ---- report form ---- */
.report-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .report-grid { grid-template-columns: 1fr 320px; } }
.report-form { background: var(--paper); color: var(--noir); padding: 1.5rem; border-top: 8px solid var(--caution); display: flex; flex-direction: column; gap: 1.25rem; }
@media (min-width: 640px) { .report-form { padding: 2rem; } }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.report-form .field { display: flex; flex-direction: column; }
.report-form label { font-family: var(--font-typewriter); font-size: 0.625rem; text-transform: uppercase; font-weight: 700; letter-spacing: 0.18em; margin-bottom: 0.375rem; }
.report-form input, .report-form select, .report-form textarea {
  width: 100%; background: #fff; border: 2px solid rgba(10,10,10,0.2); padding: 0.625rem 0.75rem;
  font-family: var(--font-typewriter); font-size: 0.875rem; color: var(--noir);
}
.report-form input:focus, .report-form select:focus, .report-form textarea:focus { outline: none; border-color: var(--brand); }
.report-form textarea { resize: vertical; }
.dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border: 2px dashed rgba(10,10,10,0.3); padding: 2rem; cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease; }
.dropzone:hover { border-color: var(--brand); background: rgba(255,255,255,0.4); }
.dropzone svg { color: rgba(10,10,10,0.5); margin-bottom: 0.5rem; }
.dz-title { font-family: var(--font-display); font-size: 1.125rem; text-transform: uppercase; letter-spacing: 0.04em; }
.dz-sub { font-family: var(--font-typewriter); font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(10,10,10,0.5); margin-top: 0.25rem; }
.photo-previews { list-style: none; margin: 0.75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
@media (min-width: 640px) { .photo-previews { grid-template-columns: repeat(6, 1fr); } }
.photo-previews li { aspect-ratio: 1; background: #fff; border: 1px solid rgba(10,10,10,0.2); overflow: hidden; }
.photo-previews img { width: 100%; height: 100%; object-fit: cover; }
.report-aside { display: flex; flex-direction: column; gap: 1.5rem; }
.aside-card { background: var(--card); border: 1px solid var(--line); padding: 1.5rem; }
#form-response:not(:empty) { background: var(--paper); color: var(--noir); padding: 2rem; border-top: 8px solid var(--caution); }
#form-response h3 { font-family: var(--font-display); text-transform: uppercase; color: var(--brand); margin: 0 0 0.5rem; }
#form-response p { font-family: var(--font-typewriter); font-size: 0.875rem; margin: 0; }

/* ---- report CTA panel + modal ---- */
.report-cta { background: var(--paper); color: var(--noir); padding: 2rem; border-top: 8px solid var(--caution); display: flex; flex-direction: column; }
.report-cta h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.9rem; line-height: 1; margin: 0.4rem 0 0.7rem; }
.report-cta > p { font-size: 0.95rem; line-height: 1.6; color: rgba(10,10,10,0.75); margin: 0 0 1.6rem; }
.report-cta .btn { margin-top: auto; }
.report-cta-fine { font-family: var(--font-typewriter); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(10,10,10,0.55); text-align: center; margin: 0.9rem 0 0; }
.report-cta-fine a { font-weight: 700; }

.report-form-head { margin-bottom: 0.25rem; }
.report-form-head h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.7rem; line-height: 1; margin: 0.25rem 0 0; }

body.modal-open { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }
.report-dialog { position: relative; border: 0; padding: 0; background: transparent; width: min(560px, 92vw); max-height: 92vh; margin: auto; overflow: visible; }
.report-dialog::backdrop { background: rgba(5,5,6,0.72); backdrop-filter: blur(3px); }
.report-dialog .report-form { max-height: 92vh; overflow-y: auto; }
.report-dialog-close { position: absolute; top: 0.65rem; right: 0.65rem; z-index: 3; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--noir); color: var(--paper); border: 0; display: grid; place-items: center; cursor: pointer; transition: background 0.15s ease; }
.report-dialog-close:hover { background: var(--brand); }
.report-dialog-close svg { width: 1rem; height: 1rem; }
.report-dialog[open] .report-form { animation: modalpop 0.24s cubic-bezier(0.2,0.8,0.25,1); }
@keyframes modalpop { from { transform: translateY(10px) scale(0.985); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .report-dialog[open] .report-form { animation: none; } }

/* ===================== Stage 1 — UX refinements ===================== */

/* readable body copy (Inter); monospace reserved for labels/stamps */
.lede { font-family: var(--font-sans); }

/* keyboard focus visibility (a11y) */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible, .ba-range:focus-visible {
  outline: 3px solid var(--caution); outline-offset: 2px;
}

/* skip link */
.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--caution); color: var(--noir); padding: 0.6rem 1rem; font-family: var(--font-display); }
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* ---- sticky mobile call/quote bar ---- */
.mobile-cta { display: none; }
@media (max-width: 640px) {
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 0.5rem; background: rgba(10,10,10,0.97);
    border-top: 1px solid var(--line); backdrop-filter: blur(8px);
  }
  .mobile-cta .btn { font-size: 1rem; padding: 0.7rem; box-shadow: none; }
  body { padding-bottom: 4.25rem; }
}

/* ---- before/after slider ---- */
.ba-slider { position: relative; aspect-ratio: 5 / 4; overflow: hidden; --pos: 50%; background: var(--noir); user-select: none; touch-action: pan-y; }
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-slider .ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
.ba-divider { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: var(--caution); transform: translateX(-1.5px); pointer-events: none; z-index: 4; }
.ba-handle { position: absolute; top: 50%; left: var(--pos); transform: translate(-50%, -50%); width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--caution); color: var(--noir); display: grid; place-items: center; pointer-events: none; z-index: 4; box-shadow: 0 2px 10px rgba(0,0,0,0.55); }
.ba-handle svg { width: 1.1rem; height: 1.1rem; }
.ba-tag { position: absolute; bottom: 0.6rem; font-family: var(--font-typewriter); font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.16em; background: rgba(10,10,10,0.78); color: var(--paper); padding: 0.15rem 0.5rem; pointer-events: none; z-index: 4; }
.ba-tag-before { left: 0.6rem; }
.ba-tag-after { right: 0.6rem; color: var(--caution); }
.ev-caption { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.8rem 0.9rem; }
.ev-caption .case { font-family: var(--font-typewriter); font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--caution); }
.ev-caption .title { font-family: var(--font-display); font-size: 1.05rem; text-transform: uppercase; }

/* ---- testimonials (witness statements) ---- */
.testimonial-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--brand); padding: 1.5rem; display: flex; flex-direction: column; margin: 0; }
.testimonial .stars { color: var(--caution); letter-spacing: 0.15em; font-size: 0.9rem; margin-bottom: 0.75rem; }
.testimonial blockquote { margin: 0 0 1rem; font-size: 0.95rem; line-height: 1.6; color: var(--paper); flex: 1; }
.testimonial .who { font-family: var(--font-typewriter); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.testimonial .who b { color: var(--caution); font-weight: 700; display: block; }

/* ---- FAQ ---- */
.faq { display: grid; gap: 0.75rem; max-width: 52rem; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 1.25rem; font-family: var(--font-display); text-transform: uppercase; font-size: 1.05rem; letter-spacing: 0.02em; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--caution); font-size: 1.4rem; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { color: var(--caution); }
.faq .answer { padding: 0 1.25rem 1.25rem; color: rgba(229,224,216,0.8); font-size: 0.95rem; line-height: 1.65; }
/* animate the whole details box open (modern browsers); degrades to snap */
:root { interpolate-size: allow-keywords; }
.faq details::details-content {
  height: 0; overflow: hidden;
  transition: height 0.3s ease, content-visibility 0.3s;
  transition-behavior: allow-discrete;
}
.faq details[open]::details-content { height: auto; }
.faq details[open] .answer { animation: faqReveal 0.32s ease; }
@keyframes faqReveal { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .faq details::details-content { transition: none; }
  .faq details[open] .answer { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  .caution-tape .track, .stamp { animation: none; }
}

/* ---- hero background ---- */
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 45%;
  transform: scaleX(-1); opacity: 0.85;
}
.hero-bg-fade {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, var(--noir) 24%, rgba(10,10,10,0.55) 52%, rgba(10,10,10,0.25) 100%),
    linear-gradient(to bottom, transparent 58%, var(--noir));
}
/* desktop: anchor the whole image as a panel on the right so the nozzle/spray reads */
@media (min-width: 900px) {
  .hero-bg-img {
    left: auto; right: 0; top: 50%; bottom: auto;
    width: auto; height: 120%; max-width: 72%;
    object-fit: cover; opacity: 0.95;
    transform: translateY(-50%) scaleX(-1);
  }
  .hero-bg-fade {
    background:
      linear-gradient(100deg, var(--noir) 40%, rgba(10,10,10,0.55) 60%, rgba(10,10,10,0) 84%),
      linear-gradient(to bottom, transparent 74%, var(--noir));
  }
}

/* ---- hero trust chips ---- */
.trust { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.trust .chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px; padding: 0.5rem 0.95rem;
  font-family: var(--font-typewriter); font-size: 0.78rem; line-height: 1; text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(229,224,216,0.92);
  backdrop-filter: blur(4px);
}
.trust .chip svg { width: 18px; height: 18px; flex: none; }
.trust .chip .chip-t { display: inline-block; transform: translateY(1.5px); } /* optically center uppercase caps */

/* ---- hero headline entrance ---- */
.hl-1, .hl-2 { display: inline-block; transform-origin: left center; }
.hl-1 { opacity: 0; will-change: transform, filter, opacity; animation: slam-in 0.55s cubic-bezier(0.2, 0.85, 0.25, 1) 0.15s forwards; }
@keyframes slam-in {
  0%   { opacity: 0; transform: scale(1.28); filter: blur(9px); }
  55%  { opacity: 1; }
  78%  { transform: scale(0.98); filter: blur(0); }
  100% { opacity: 1; transform: scale(1); filter: blur(0); }
}
/* line 2 types out, with a blinking caret */
.hl-2.typing::after, .hl-2.typed::after {
  content: ''; display: inline-block; width: 0.04em; height: 0.78em;
  background: var(--brand); margin-left: 0.06em; vertical-align: -0.02em;
  transition: opacity 0.5s ease;
  animation: caret-blink 0.8s step-end infinite;
}
/* fade the caret out but keep its box so the line doesn't shift */
.hl-2.caret-off::after { animation: none; opacity: 0; }
@keyframes caret-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .hl-1 { opacity: 1; animation: none; }
  .hl-2.typing::after, .hl-2.typed::after { display: none; }
}

/* ===================== section/typography classes (migrated from inline styles) ===================== */
.hero-section { position: relative; overflow: hidden; background: var(--noir); }
.hero-inner { position: relative; padding: 3rem 0 5rem; }
.hero-title { max-width: 56rem; font-size: clamp(2.3rem, 8.5vw, 6rem); }
.hero-lede { font-size: 0.95rem; color: rgba(229,224,216,0.8); margin-top: 1.5rem; max-width: 36rem; line-height: 1.7; }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

.sec-card { background: rgba(28,28,28,0.4); }
.sec-paper { background: var(--paper); color: var(--noir); }
.sec-intro { font-size: 0.875rem; color: rgba(229,224,216,0.7); max-width: 36rem; margin: 0 0 2rem; }
.center-head { text-align: center; margin-bottom: 3rem; }
.center-head h2 { font-size: clamp(2rem, 5vw, 3rem); margin-top: 0.5rem; }

.about-copy { max-width: 48rem; }
.about-title { font-size: clamp(2.25rem, 6vw, 3.75rem); line-height: 0.9; margin: 0.5rem 0 0; }
.about-lede { font-size: 0.95rem; color: rgba(229,224,216,0.8); margin-top: 1.25rem; max-width: 42rem; line-height: 1.7; }

.patrol-title { font-size: clamp(2rem, 5vw, 3rem); line-height: 1; margin: 0.5rem 0 1rem; }
.patrol-lede { font-size: 0.875rem; color: rgba(10,10,10,0.7); line-height: 1.7; max-width: 28rem; }

.invest-title { font-size: clamp(2rem, 5vw, 3rem); margin-top: 0.5rem; }
.process-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.evidence-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }

.report-head { margin-bottom: 2.5rem; }
.report-title { font-size: clamp(2.5rem, 7vw, 4.5rem); margin-top: 0.25rem; }
.report-lede { font-size: 0.95rem; color: rgba(229,224,216,0.8); margin-top: 1rem; max-width: 36rem; line-height: 1.7; }
.form-fineprint { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(10,10,10,0.5); text-align: center; margin: 0; }
.form-fineprint a { font-weight: 700; }
.form-err { color: var(--brand); }

.aside-text { font-size: 0.875rem; color: rgba(229,224,216,0.85); line-height: 1.7; margin: 0.5rem 0 0; }
.aside-text .dim { color: rgba(229,224,216,0.6); }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.dispatch-hours { font-size: 0.75rem; color: var(--muted); margin-top: 0.75rem; }

.btn-lg { padding: 1rem; font-size: 1.15rem; letter-spacing: 0.1em; }
.btn-xl { padding: 1rem; font-size: 1.25rem; letter-spacing: 0.18em; }
