/* Static area pages. Mirrors brand tokens from src/index.css. No JS required. */
:root {
  --bg: hsl(45 12% 94%); --fg: hsl(212 16% 12%); --card: hsl(45 16% 97%);
  --border: hsl(210 8% 80%); --muted: hsl(40 9% 89%); --muted-fg: hsl(212 8% 36%);
  --primary: hsl(21 90% 50%); --primary-fg: hsl(212 16% 8%); --accent: hsl(210 9% 74%);
  --navy: hsl(212 14% 11%); --navy-2: hsl(212 12% 16%); --cream: hsl(45 12% 94%);
  --display: 'Archivo', system-ui, sans-serif;
  --sans: 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --r: 2px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; padding-bottom: 4.5rem; }
@media (min-width: 768px) { body { padding-bottom: 0; } }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-stretch: 112%; letter-spacing: -.03em; text-wrap: balance; line-height: 1.08; margin: 0; }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin-top: .9rem; }
h3 { font-size: 1.25rem; }
p { margin: .9rem 0 0; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 80rem; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 1024px) { .wrap { padding: 0 2rem; } }

.skip { position: absolute; left: -999px; top: 1rem; z-index: 99; background: var(--primary); color: var(--primary-fg); padding: .6rem 1rem; border-radius: var(--r); font-weight: 600; }
.skip:focus { left: 1rem; }

.tag { font: 500 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin: 0; }
.tag .num { color: var(--muted-fg); margin-right: .6rem; }
.tag .dim { color: var(--muted-fg); }
.tag-light { color: var(--accent); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; background: var(--primary); color: var(--primary-fg); font-weight: 600; text-decoration: none; padding: .9rem 1.5rem; border-radius: var(--r); transition: transform .2s, filter .2s; border: 1px solid transparent; }
.btn::after { content: "\2192"; transition: transform .2s; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.07); }
.btn:hover::after { transform: translateX(3px); }
.btn-ghost { background: hsl(0 0% 100% / .05); color: var(--cream); border-color: hsl(0 0% 100% / .25); }
.btn-sm { padding: .55rem 1rem; font-size: .9rem; }

/* Header: full logo, proportional, never cropped */
.site-head { background: var(--navy); color: var(--cream); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid hsl(0 0% 100% / .08); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .6rem; padding-bottom: .6rem; flex-wrap: wrap; }
.brand { display: block; flex-shrink: 0; border-radius: 2px; overflow: hidden; }
.brand img { width: 8.5rem; height: auto; aspect-ratio: 2 / 1; object-fit: contain; }
@media (min-width: 1024px) { .brand img { width: 10.5rem; } }
.nav { list-style: none; display: flex; align-items: center; gap: .25rem 1.25rem; margin: 0; padding: 0; flex-wrap: wrap; font-size: .95rem; }
.nav a:not(.btn) { color: hsl(40 33% 97% / .8); text-decoration: none; padding: .4rem 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--cream); border-bottom-color: var(--primary); }
@media (max-width: 560px) { .nav .btn { display: none; } .nav { gap: .25rem .9rem; } }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 1rem 0 0; margin: 0; font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-fg); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--primary); }
.crumbs [aria-current] { color: var(--fg); }

/* Hero */
.hero { background: var(--navy); color: var(--cream); margin-top: 1rem; position: relative; overflow: hidden;
  background-image: linear-gradient(hsl(210 9% 74% / .07) 1px, transparent 1px), linear-gradient(90deg, hsl(210 9% 74% / .07) 1px, transparent 1px); background-size: 96px 96px; }
.hero-grid { display: grid; gap: 2.5rem; padding-top: 3.5rem; padding-bottom: 3.5rem; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 7fr 5fr; padding-top: 5rem; padding-bottom: 5rem; } }
.hero h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 800; margin-top: 1.2rem; }
.lede { color: hsl(40 33% 97% / .75); font-size: 1.12rem; max-width: 38rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-logo { margin: 0; }
.hero-logo img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: contain; background: #0b0f17; border-radius: 0; border: 1px solid hsl(0 0% 100% / .3); box-shadow: 10px 10px 0 -1px var(--navy), 10px 10px 0 0 hsl(0 0% 100% / .18); }
.hero-logo figcaption { margin-top: .7rem; color: hsl(40 33% 97% / .5); font-size: 10px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-grid > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .hero-grid > :last-child { animation-delay: .12s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Jump nav */
.jump { padding-top: 2.5rem; padding-bottom: 1rem; }
.jump ul { list-style: none; padding: 0; margin: .9rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.jump a { display: inline-block; text-decoration: none; padding: .45rem .9rem; border: 1px solid var(--border); border-radius: 2px; background: var(--card); font-size: .92rem; font-weight: 500; transition: border-color .2s, transform .2s; }
.jump a:hover { border-color: var(--primary); transform: translateY(-1px); }
.jump a.is-county { background: var(--navy); color: var(--cream); border-color: var(--navy); }

/* Directory */
.county { padding: 4rem 0 1rem; border-top: 1px solid var(--border); margin-top: 2rem; display: grid; gap: 2rem; }
@media (min-width: 1024px) { .county { grid-template-columns: 4fr 8fr; } .county-head { position: sticky; top: 7rem; align-self: start; } }
.county-head p:last-child { color: var(--muted-fg); }
.groups { display: grid; gap: 1.25rem; }
.group { background: var(--card); border: 1px solid var(--border); border-radius: 2px; padding: 1.5rem; }
.group h3 { font-size: 1.5rem; margin-top: .4rem; }
.group-feature { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.group-feature > p { color: hsl(40 33% 97% / .75); }
.group-feature .places li { background: hsl(0 0% 100% / .06); border-color: hsl(0 0% 100% / .12); }
.places { list-style: none; padding: 0; margin: 1.1rem 0 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.places li { font-size: .9rem; padding: .3rem .7rem; border: 1px solid var(--border); border-radius: 2px; background: var(--bg); }
.places li::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); margin-right: .5rem; vertical-align: middle; }

/* Sections */
section.wrap, .split { padding-top: 4.5rem; padding-bottom: 4.5rem; }
.split { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .split { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.prose p:first-child { margin-top: 0; }
.ticks, .crosses { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .6rem; }
.ticks li, .crosses li { padding-left: 1.6rem; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: .75rem; height: .4rem; border-left: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(-45deg); }
.crosses li::before, .crosses li::after { content: ""; position: absolute; left: .1rem; top: .75em; width: .8rem; height: 2px; background: var(--muted-fg); transform: rotate(45deg); }
.crosses li::after { transform: rotate(-45deg); }
.lede-dark { color: var(--muted-fg); max-width: 44rem; font-size: 1.08rem; }
.aside { color: var(--muted-fg); font-size: .95rem; }
.aside a { color: var(--fg); text-decoration-color: var(--primary); text-underline-offset: 3px; }
.sub { margin-top: 3rem; }

.navy-band { background: var(--navy); color: var(--cream); padding: 5rem 0; }
.svc-grid { display: grid; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 768px) { .svc-grid { grid-template-columns: repeat(6, 1fr); } .svc-lead { grid-column: span 3; } .svc-accent { grid-column: span 3; } .svc { grid-column: span 3; } }
@media (min-width: 1100px) { .svc-lead { grid-column: span 4; } .svc-accent { grid-column: span 2; } }
.svc { border: 1px solid hsl(0 0% 100% / .1); background: hsl(0 0% 100% / .03); border-radius: 2px; padding: 1.75rem; }
.svc p { color: hsl(40 33% 97% / .72); }
.svc-accent { background: var(--primary); color: var(--primary-fg); border-color: var(--primary); }
.svc-accent p { color: var(--primary-fg); opacity: .85; }
.svc-more a { color: var(--accent); text-underline-offset: 3px; }

.hoods { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 2px; overflow: hidden; margin-top: 2rem; }
@media (min-width: 768px) { .hoods { grid-template-columns: 1fr 1fr; } }
.hood { background: var(--card); padding: 1.6rem; }
.hood p { color: var(--muted-fg); }

.muted-band { background: var(--muted); }
.muted-band .btn { margin-top: 1.5rem; }
.checklist { counter-reset: c; list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.checklist li { counter-increment: c; background: var(--card); border: 1px solid var(--border); border-radius: 2px; padding: 1rem 1.1rem 1rem 3.4rem; position: relative; }
.checklist li::before { content: counter(c, decimal-leading-zero); position: absolute; left: 1.1rem; top: 1rem; font: 500 12px/1.9 var(--mono); color: var(--primary); }

.scope { display: grid; gap: 1rem; }
@media (min-width: 640px) { .scope { grid-template-columns: 1fr 1fr; } .scope .aside { grid-column: 1 / -1; } }
.scope-col { border: 1px solid var(--border); border-radius: 2px; padding: 1.5rem; background: var(--card); }
.scope-no { background: var(--muted); }

.faq-list { margin-top: 2rem; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; padding: 1.4rem 2.5rem 1.4rem 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 1.1rem; font: 500 1.6rem var(--display); color: var(--primary); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary h3 { font-size: 1.15rem; display: inline; }
.faq summary:hover h3 { color: var(--primary); }
.faq details p { margin: 0 0 1.4rem; color: var(--muted-fg); max-width: 50rem; }

.band { background: var(--navy); color: var(--cream); padding: 4.5rem 0; margin-top: 4rem; }
.band p:not(.tag) { color: hsl(40 33% 97% / .72); max-width: 40rem; }
.band-grid { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 960px) { .band-grid { grid-template-columns: 8fr 4fr; } }
.band-cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.navy-band + section, .muted-band + section { }

/* Footer */
.site-foot { background: hsl(212 16% 7%); border-top: 3px solid var(--primary); color: hsl(40 33% 97% / .7); padding-top: 3.5rem; font-size: .95rem; }
.foot-grid { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .foot-grid { grid-template-columns: 2fr 1fr; } }
.brand-foot img { width: 14rem; }
.foot-name { font: 700 1.25rem var(--display); color: var(--cream); }
.site-foot ul { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .45rem; }
.site-foot a { text-decoration: none; } .site-foot a:hover { color: var(--primary); }
.foot-contact a { text-decoration: underline; text-underline-offset: 3px; }
.site-foot .tag { color: hsl(40 33% 97% / .4); }
.foot-legal { border-top: 1px solid hsl(0 0% 100% / .1); margin-top: 3rem; padding-top: 1.4rem; padding-bottom: 1.4rem; font-size: .78rem; color: hsl(40 33% 97% / .5); }

.mobile-bar { position: fixed; inset: auto 0 0 0; z-index: 40; background: hsl(212 14% 11% / .97); padding: .6rem; padding-bottom: max(.6rem, env(safe-area-inset-bottom)); border-top: 1px solid hsl(0 0% 100% / .1); }
.mobile-bar .btn { width: 100%; }
@media (min-width: 768px) { .mobile-bar { display: none; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

/* Survey-sheet identity: ruled sheets instead of rounded cards */
.btn { border-radius: 0; }
.hero h1 { font-stretch: 118%; letter-spacing: -.035em; }
.group { border-top: 1px solid var(--fg); }
.group-feature { border-top: 3px solid var(--primary); }
.svc { border-width: 1px 0 0; background: transparent; padding: 1.5rem 0 .5rem; border-color: hsl(0 0% 100% / .2); }
.svc-accent { background: var(--primary); color: var(--primary-fg); padding: 1.75rem; border-top: 0; position: relative; }
.svc-accent::after { content: ""; position: absolute; right: 0; top: 0; width: 24px; height: 24px; background: linear-gradient(225deg, var(--navy) 50%, transparent 50%); }
.hoods { border-top-color: var(--fg); }
.checklist { gap: 0; border-top: 1px solid var(--fg); }
.checklist li { border-width: 0 0 1px; background: transparent; }
.scope-col { border-top: 1px solid var(--fg); }
.places li::before { border-radius: 0; }
.faq-list { border-top-color: var(--fg); }
.jump a.is-county { border-left: 3px solid var(--primary); }
