/* Layout concept: an LA freeway trip. Green guide signs carry the names, an amber message board
   carries the warnings, the county map is the centerpiece, prose reads like a local paper. */
:root {
  --bg: #f0f0eb;          /* e-ink paperwhite */
  --paper: #fafaf7;
  --ink: #1b2126;
  --muted: #59646a;
  --line: #d4d6cf;
  --link: #0b6b45;
  --sign: #0e6b47;        /* Caltrans guide-sign green */
  --sign-ink: #ffffff;
  --poppy: #c4500d;       /* California poppy, darkened for white text */
  --poppy-ink: #ffffff;
  --dot-both: #552583;    /* purple: both species */
  --dot-one: #fdb927;     /* gold: yellow fever mosquito only */
  --dot-edge: #2a1d3d;
  --grain: .07;
  --wnv-fill: #f8e3a6;
  --here-fill: #f6d3bd;
  --water: #dde6e8;
  --land: #fafaf7;
  --land-2: #e6e7e1;
  --fwy: #b7bfb8;
  --ok: #3b6b2c;
  --ok-bg: #e6efdf;
  --warn: #9a3d06;
  --warn-bg: #fbe8d9;
  --bug: #1f2428;         /* mosquito: fixed in both themes */
  --bug-mark: #f5f7f3;
  --specimen: #fbfbf8;    /* specimen cards stay light in both themes */
  --cms-bg: #141412;
  --cms-led: #ffb21a;
  --font-sign: "Overpass", "Highway Gothic", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --font-led: "DotGothic16", "Courier New", monospace;
  --measure: 64ch;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12171a; --paper: #1a2125; --ink: #e7ebe8; --muted: #9ca8ad; --line: #2c373d;
    --link: #62c79d; --poppy: #e46d2a; --poppy-ink: #1a0d04; --dot-both: #a77ce6; --dot-one: #fdb927; --dot-edge: #0f0b16; --grain: .05; --wnv-fill: #4a3d17; --here-fill: #4d2a18;
    --water: #16262c; --land: #1e262b; --land-2: #171d21; --fwy: #3d494f;
    --ok: #a3d18a; --ok-bg: #1d2b18; --warn: #f3a56a; --warn-bg: #36200f;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #12171a; --paper: #1a2125; --ink: #e7ebe8; --muted: #9ca8ad; --line: #2c373d;
  --link: #62c79d; --poppy: #e46d2a; --poppy-ink: #1a0d04; --dot-both: #a77ce6; --dot-one: #fdb927; --dot-edge: #0f0b16; --grain: .05; --wnv-fill: #4a3d17; --here-fill: #4d2a18;
  --water: #16262c; --land: #1e262b; --land-2: #171d21; --fwy: #3d494f;
  --ok: #a3d18a; --ok-bg: #1d2b18; --warn: #f3a56a; --warn-bg: #36200f;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; opacity: var(--grain); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
body { position: relative; isolation: isolate; margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 1.125rem; line-height: 1.6; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--poppy); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-sign); line-height: 1.1; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 700px) { .wrap { padding-inline: 32px; } }
.small, .note { font-size: 0.95rem; color: var(--muted); }
.prose { max-width: var(--measure); display: grid; gap: 14px; }
.prose ul, .prose ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.stack { display: grid; gap: 16px; }
.stack-lg { display: grid; gap: 32px; }
.section { padding-block: 56px; }
.section-tight { padding-block: 32px; }
.rule { border-top: 1px solid var(--line); }

/* Header */
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-family: var(--font-sign); font-weight: 800; font-size: 1.25rem; }
.brand svg { width: 34px; height: 34px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 20px; font-family: var(--font-sign); font-weight: 600; font-size: 0.98rem; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { text-decoration: underline; }
.nav a.go { color: var(--poppy); }

/* Freeway guide sign */
.sign { position: relative; background: var(--sign); color: var(--sign-ink); border-radius: 14px; padding: 6px; box-shadow: 0 1px 0 rgba(0,0,0,.25); }
.sign-face { border: 3px solid var(--sign-ink); border-radius: 10px; padding: 18px 22px 16px; display: grid; gap: 6px; font-family: var(--font-sign); }
.sign .shields { display: flex; gap: 8px; align-items: center; }
.sign .shields svg { width: 42px; height: 42px; }
.sign .sign-title { display: grid; gap: 4px; font-weight: 800; margin: 0; }
.sign .sign-main, .sign .sign-sub { display: block; }
.sign .sign-main { font-size: clamp(2.4rem, 1.6rem + 4vw, 4.4rem); line-height: 1; letter-spacing: -0.015em; }
.sign .sign-sub { font-size: clamp(1.1rem, 0.95rem + 0.8vw, 1.5rem); font-weight: 600; letter-spacing: 0; }
.sign .arrows { display: flex; gap: 28px; padding-top: 6px; }
.sign .arrows svg { width: 26px; height: 30px; }
.exit-tab { position: absolute; right: 26px; top: -30px; background: var(--sign); color: var(--sign-ink); font-family: var(--font-sign); font-weight: 800; font-size: 0.95rem; padding: 4px 6px 0; border-radius: 8px 8px 0 0; }
.exit-tab span { display: block; border: 2px solid var(--sign-ink); border-bottom: 0; border-radius: 6px 6px 0 0; padding: 2px 10px 6px; }
.sign.small .sign-main { font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem); }

/* Home hero */
.hero { padding-block: 48px 40px; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }
.hero .sign-wrap { position: relative; padding-top: 30px; }
.hero .flyer { position: absolute; width: clamp(120px, 22vw, 190px); right: -12px; top: -36px; transform: rotate(-24deg); filter: drop-shadow(0 6px 6px rgba(0,0,0,.18)); }
@media (prefers-reduced-motion: no-preference) {
  .hero .flyer { animation: hover 2.6s ease-in-out infinite; }
  @keyframes hover { 0%,100% { translate: 0 0; } 50% { translate: -4px -7px; } }
}
.hero-copy { display: grid; gap: 18px; }
.lede { font-size: 1.3rem; line-height: 1.5; max-width: 34ch; }
.jump { display: flex; flex-wrap: wrap; gap: 12px; }

/* Buttons */
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; font-family: var(--font-sign); font-weight: 800; font-size: 1.05rem; padding: 13px 20px; border-radius: 10px; border: 0; background: var(--poppy); color: var(--poppy-ink); text-decoration: none; cursor: pointer; }
.btn:hover { filter: brightness(1.07); }
.btn.quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }

/* Map */
.map-grid { display: grid; gap: 28px; }
@media (min-width: 980px) { .map-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; } }
.map-box { position: relative; background: var(--water); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.map-box svg { display: block; width: 100%; height: auto; }
.m-neighbor { fill: var(--land-2); stroke: var(--line); stroke-width: 1; }
.m-county { fill: var(--land); stroke: var(--muted); stroke-width: 1.4; }
.m-fwy { fill: none; stroke: var(--fwy); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.m-label { font-family: var(--font-sign); fill: var(--muted); font-size: 19px; font-weight: 600; font-style: italic; }
.m-label.water { font-size: 22px; letter-spacing: .04em; }
.m-label.terrain { font-size: 17px; opacity: .8; }
.m-town { font-family: var(--font-sign); fill: var(--ink); font-size: 15px; font-weight: 700; paint-order: stroke; stroke: var(--land); stroke-width: 4px; stroke-linejoin: round; pointer-events: none; }
.m-dot { stroke: var(--dot-edge); stroke-width: 1.6; transition: r .12s ease; }
.m-dot.both { fill: var(--dot-both); }
.m-dot.one { fill: var(--dot-one); }
.m-link:hover .m-dot, .m-link:focus .m-dot { r: 11; }
.m-link:focus { outline: none; }
.m-link:focus-visible .m-dot { stroke: var(--poppy); stroke-width: 4; }
.m-shield text { font-family: var(--font-sign); font-weight: 800; font-size: 13px; text-anchor: middle; }
.map-tip { position: absolute; pointer-events: none; background: var(--ink); color: var(--bg); font-family: var(--font-sign); font-weight: 700; font-size: 0.95rem; padding: 6px 10px; border-radius: 8px; transform: translate(-50%, calc(-100% - 12px)); white-space: nowrap; }
.map-key { display: flex; flex-wrap: wrap; gap: 6px 20px; font-family: var(--font-sign); font-size: 0.95rem; color: var(--muted); padding: 10px 14px; border-top: 1px solid var(--line); background: var(--paper); }
.key-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.key-dot.both { background: var(--dot-both); box-shadow: 0 0 0 1.5px var(--dot-edge); }
.key-dot.one { background: var(--dot-one); box-shadow: 0 0 0 1.5px var(--dot-edge); }

/* Mini map on community pages */
.mini { background: var(--water); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.mini svg { display: block; width: 100%; height: auto; }
.mini .m-dot { r: 4; opacity: .45; stroke-width: 1; }
.mini .m-here { fill: var(--poppy); stroke: var(--land); stroke-width: 4; }
.mini .m-ring { fill: none; stroke: var(--poppy); stroke-width: 3; opacity: .5; }
.mini .m-town { font-size: 30px; }
.mini .m-fwy { stroke-width: 6; }

/* Finder list */
.finder { display: grid; gap: 8px; }
.finder label { font-family: var(--font-sign); font-weight: 700; }
.finder input { font: inherit; font-family: var(--font-sign); font-size: 1.1rem; padding: 12px 14px; border-radius: 10px; border: 2px solid var(--line); background: var(--paper); color: var(--ink); width: 100%; }
.finder input:focus { border-color: var(--sign); outline: none; }
.regions { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); max-height: 560px; overflow: auto; padding-right: 6px; }
.regions.open { max-height: none; overflow: visible; }
.region h3 { font-size: 1rem; color: var(--muted); margin-bottom: 4px; }
.region ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-family: var(--font-sign); font-size: 1rem; }
.region li a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.region li a:hover { text-decoration: underline; }

/* Changeable message sign */
.cms-wrap { display: grid; gap: 18px; }
@media (min-width: 900px) { .cms-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; } }
.cms { background: var(--cms-bg); border-radius: 8px; padding: 22px 18px; box-shadow: inset 0 0 0 6px #2a2a27, 0 2px 0 rgba(0,0,0,.3); }
.cms p { font-family: var(--font-led); color: var(--cms-led); text-align: center; font-size: clamp(1.25rem, 0.9rem + 1.6vw, 2rem); line-height: 1.35; letter-spacing: .08em; text-shadow: 0 0 8px rgba(255,178,26,.45); }

/* Specimen cards */
.specimens { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.specimen { background: var(--specimen); color: #1b2126; border-radius: 6px; padding: 18px 20px 20px; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: start; box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.06); }
.specimen svg { width: 112px; height: 112px; }
.specimen h3 { color: #1b2126; }
.specimen .sci { font-style: italic; color: #59646a; }
.specimen p { font-size: 1rem; }
.specimen .status { justify-self: start; font-family: var(--font-sign); font-weight: 800; font-size: 0.9rem; padding: 3px 10px; border-radius: 999px; margin-top: 4px; display: inline-block; }
.status.found { background: #fbe8d9; color: #9a3d06; }
.status.clear { background: #e6efdf; color: #3b6b2c; }
.specimen .past { font-size: 0.92rem; color: #59646a; }

/* Ways to help */
.ways { display: grid; gap: 28px; }
@media (min-width: 820px) { .ways { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; } .ways > div { padding-inline: 24px; } .ways > div + div { border-left: 1px solid var(--line); } .ways > div:first-child { padding-left: 0; } }
.ways > div { display: grid; gap: 8px; align-content: start; }
.ways .cost { font-family: var(--font-sign); font-weight: 700; color: var(--muted); }

/* Page body with aside */
.cols { display: grid; gap: 36px; }
@media (min-width: 940px) { .cols { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; } .cols aside { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 16px); display: grid; gap: 18px; } }
.crumbs { font-family: var(--font-sign); font-size: 0.95rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }
.page-hero { padding-block: 36px 8px; display: grid; gap: 20px; }

/* Conversion panel (call box, quote form, waitlist) */
.quote { background: var(--paper); border-radius: 12px; border-top: 6px solid var(--poppy); padding: 20px; display: grid; gap: 14px; box-shadow: 0 0 0 1px var(--line); }
.quote h2 { font-size: 1.45rem; }
.field { display: grid; gap: 4px; }
.field label { font-family: var(--font-sign); font-size: 0.95rem; font-weight: 700; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; width: 100%; }
.field textarea { min-height: 80px; resize: vertical; }
.row2 { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.consent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; font-size: 0.85rem; color: var(--muted); align-items: start; line-height: 1.45; }
.consent input { margin-top: 3px; width: 18px; height: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-size: 0.95rem; padding: 10px 12px; border-radius: 8px; }
.form-msg.ok { background: var(--ok-bg); color: var(--ok); }
.form-msg.err { background: var(--warn-bg); color: var(--warn); }
.callbar { font-size: 0.95rem; color: var(--muted); }
.callbar .num { font-family: var(--font-sign); font-weight: 700; user-select: all; }
.callbox .btn.big { font-size: 1.2rem; padding: 16px 20px; width: 100%; }
.callbox .num-plain { font-family: var(--font-sign); font-weight: 800; font-size: 1.3rem; text-align: center; user-select: all; font-variant-numeric: tabular-nums; }
.callbox .tips { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; }

/* Agencies, checklists, tables */
.agency { display: grid; gap: 2px; padding: 12px 0 12px 16px; border-left: 4px solid var(--sign); }
.agency b { font-family: var(--font-sign); }
.agency .phone { font-family: var(--font-sign); font-weight: 800; font-size: 1.15rem; user-select: all; }
.agency .links { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 1rem; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; }
.checks li::before { content: ""; width: 16px; height: 16px; border: 2px solid var(--sign); border-radius: 3px; margin-top: 6px; }
.products { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.products > div { display: grid; gap: 6px; align-content: start; padding-top: 12px; border-top: 3px solid var(--sign); }
.products .where { font-family: var(--font-sign); font-size: 0.9rem; font-weight: 700; color: var(--muted); }
table.simple { border-collapse: collapse; width: 100%; font-size: 1rem; }
table.simple th, table.simple td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.simple th { font-family: var(--font-sign); font-weight: 700; color: var(--muted); }
.table-scroll { overflow-x: auto; }
.related { display: flex; flex-wrap: wrap; gap: 4px 16px; font-family: var(--font-sign); }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding-block: 32px 48px; font-size: 0.95rem; color: var(--muted); }
.site-foot .wrap { display: grid; gap: 12px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; font-family: var(--font-sign); }
.site-foot a { color: var(--muted); }
.lede.wide { max-width: 60ch; font-size: 1.2rem; }
.page-title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); font-weight: 800; }

/* City of LA neighborhood map */
.h-poly { fill: var(--land); stroke: var(--line); stroke-width: 1.2; }
.h-poly.wnv { fill: var(--wnv-fill); }
.h-poly.here { fill: var(--here-fill); stroke: var(--poppy); stroke-width: 2.5; }
.m-label.la { font-size: 24px; paint-order: stroke; stroke: var(--land); stroke-width: 4px; stroke-linejoin: round; }
.mini .m-town.big { font-size: 40px; }
.key-swatch { display: inline-block; width: 14px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; background: var(--land); box-shadow: inset 0 0 0 1px var(--line); }
.key-swatch.wnv { background: var(--wnv-fill); box-shadow: inset 0 0 0 1px var(--dot-one); }

/* Private numbers page */
.adm-chart { width: 100%; height: auto; display: block; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
.adm-bar { fill: var(--sign); }
.adm-bar:hover { fill: var(--poppy); }
#adm-board .cms p { font-size: clamp(0.9rem, 2.6vw, 1.25rem); }

/* What's-biting-me quiz */
.qz fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.qz legend { font-family: var(--font-sign); font-weight: 800; font-size: 1.1rem; margin-bottom: 6px; }
.qz-opt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); cursor: pointer; font-size: 1rem; line-height: 1.4; }
.qz-opt:has(input:checked) { border-color: var(--sign); box-shadow: inset 0 0 0 1px var(--sign); }
.qz-opt input { margin-top: 4px; accent-color: var(--sign); }
.qz-result { border-top: 6px solid var(--sign); background: var(--paper); border-radius: 10px; padding: 14px 16px; }
.qz-result h3 { margin: 0 0 6px; font-family: var(--font-sign); }
.qz-result p { margin: 6px 0; font-size: 1rem; }
