/* CommercialGarageDoorRepairHouston.net — "Work order" design system
   Concrete + charcoal + safety yellow. Barlow Condensed / Barlow / Red Hat Mono. Square corners, 2px rules. */
:root {
  --concrete: #ECEEEF;
  --card: #FFFFFF;
  --steel: #D3D7DB;
  --steel-2: #B9BEC4;
  --ink: #1A1C1E;
  --ink-2: #2A2D31;
  --ink-line: #3A3E43;
  --text: #1A1C1E;
  --muted: #4E555C;      /* 7.3:1 on white, 6.4:1 on concrete */
  --yellow: #FFC629;
  --yellow-deep: #E8AE00;
  --yellow-tint: #FFF4D1;
  --blue: #1D4ED8;       /* links on light */
  --blue-light: #93B4FF; /* links on charcoal */
  --red: #C21D1D;
  --red-tint: #FDECEC;
  --green: #17703A;
  --r: 2px;
  --wrap: 1180px;
  --head: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Barlow", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "Red Hat Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --hazard: repeating-linear-gradient(-45deg, var(--yellow) 0 12px, var(--ink) 12px 24px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--concrete); color: var(--text); font: 400 18px/1.6 var(--body); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.08; margin: 0 0 .5em; color: var(--ink); letter-spacing: .005em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.25rem); font-weight: 700; margin-top: 1.9em; }
h3 { font-size: 1.4rem; font-weight: 700; margin-top: 1.5em; }
h4 { font-size: 1.15rem; font-weight: 700; }
p, ul, ol, dl, table, figure { margin: 0 0 1.1em; }
small, .small { font-size: .88rem; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--ink); padding: 8px 14px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.hazard { height: 6px; background: var(--hazard); }
.ico { width: 1.05em; height: 1.05em; vertical-align: -.15em; }
code, .mono { font-family: var(--mono); font-size: .9em; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45em; min-height: 48px; padding: 10px 20px; border: 2px solid transparent; border-radius: var(--r); font: 700 1.12rem/1.1 var(--head); text-transform: uppercase; letter-spacing: .04em; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-sm { min-height: 42px; padding: 8px 14px; font-size: 1rem; }
.btn-yellow { background: var(--yellow); color: var(--ink); border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.btn-yellow:hover { background: var(--yellow-deep); }
.btn-call { background: var(--red); color: #fff; border-color: var(--red); }
.btn-call:hover { background: #A11616; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-line-light { background: transparent; color: #fff; border-color: #fff; }
.btn-line-light:hover { background: #fff; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--steel-2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.2em 0 .6em; }
.phone-hours { font-size: .9rem; color: var(--muted); margin: 0 0 .8em; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: #fff; border-bottom: 4px solid var(--yellow); }
.header-in { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; margin-right: auto; }
.logo-mark { width: 38px; height: 38px; flex: none; }
.wordmark { display: flex; flex-direction: column; font-family: var(--head); text-transform: uppercase; line-height: 1; }
.wm-top { font-weight: 700; font-size: .98rem; letter-spacing: .03em; }
.wm-city { font-weight: 800; font-size: 1.32rem; color: var(--yellow); letter-spacing: .14em; }
.main-nav { display: none; }
.nav-list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-btn, .nav-link { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: #fff; font: 600 1.08rem/1 var(--head); text-transform: uppercase; letter-spacing: .05em; padding: 12px 10px; cursor: pointer; text-decoration: none; }
.nav-btn svg { width: 12px; }
.nav-btn:hover, .nav-link:hover, .nav-group.open .nav-btn { color: var(--yellow); }
.nav-group { position: relative; }
.nav-panel { display: none; position: absolute; top: 100%; left: 0; background: var(--card); color: var(--text); border: 2px solid var(--ink); box-shadow: 6px 6px 0 rgba(26,28,30,.25); padding: 10px; }
.nav-group.open .nav-panel { display: block; }
.nav-panel ul { list-style: none; margin: 0; padding: 0; }
.nav-panel-svc { width: 640px; }
.nav-panel-svc ul { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.nav-panel-svc a { display: flex; gap: 10px; padding: 10px; text-decoration: none; color: var(--text); }
.nav-panel-svc a:hover { background: var(--yellow-tint); }
.nav-panel-svc strong { display: block; font-family: var(--head); font-size: 1.08rem; text-transform: uppercase; letter-spacing: .02em; }
.nav-panel-svc small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.35; }
.nav-panel-areas { width: 760px; left: -160px; display: none; }
.nav-group.open .nav-panel-areas { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.np-head { font: 700 .95rem var(--head); text-transform: uppercase; letter-spacing: .06em; margin: 4px 6px 6px; color: var(--muted); }
.nav-panel-areas a { display: block; padding: 6px; color: var(--text); text-decoration: none; font-size: .95rem; line-height: 1.3; }
.nav-panel-areas a:hover { background: var(--yellow-tint); }
.np-all { grid-column: 1 / -1; margin: 6px; border-top: 2px solid var(--steel); padding-top: 8px; }
.np-all a { color: var(--blue); font-weight: 600; }
.tag-code { font: 600 .74rem/1 var(--mono); background: var(--yellow); color: var(--ink); padding: 4px 5px; height: fit-content; flex: none; letter-spacing: .02em; }
.header-cta { display: none; }
.menu-btn { width: 48px; height: 48px; background: none; border: 2px solid var(--ink-line); border-radius: var(--r); display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.menu-btn i { display: block; width: 22px; height: 2px; background: #fff; }
.mobile-nav { background: var(--ink); padding: 8px 20px 24px; max-height: calc(100vh - 72px); overflow: auto; }
.mobile-nav ul { list-style: none; margin: 0 0 10px; padding: 0; }
.mobile-nav a:not(.btn) { display: block; color: #fff; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--ink-line); }
.m-head { color: var(--yellow); font: 700 .95rem var(--head); text-transform: uppercase; letter-spacing: .08em; margin: 16px 0 2px; }
.m-areas { columns: 2; column-gap: 16px; }
.m-extra { margin-top: 12px !important; }
@media (min-width: 1060px) {
  .main-nav { display: block; }
  .menu-btn { display: none; }
  .header-cta { display: inline-flex; }
  .mobile-nav { display: none !important; }
}
@media (max-width: 1059px) { .has-phone .header-cta { display: inline-flex; } .has-phone .header-cta .hide-s { display: none; } }
@media (max-width: 420px) { .wm-top { font-size: .8rem; } .wm-city { font-size: 1.1rem; } .logo-mark { width: 32px; height: 32px; } }

/* ---------- Page hero ---------- */
.page-hero { background: var(--card); border-bottom: 2px solid var(--ink); padding: 18px 0 32px; position: relative; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 6px; background: var(--hazard); opacity: .9; }
.page-hero-plain::after { display: none; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0 0 14px; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 4px; color: var(--steel-2); }
.crumbs a { color: var(--muted); }
.kicker { font: 600 .82rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink); background: var(--yellow); display: inline-block; padding: 6px 8px; margin-bottom: 14px; }
.hero-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); align-items: start; } }
.bluf { font-size: 1.16rem; line-height: 1.55; }
.bluf p { margin-bottom: .7em; }
.bluf strong { background: linear-gradient(transparent 62%, var(--yellow-tint) 62%); }
.meta { font-size: .88rem; color: var(--muted); margin: 6px 0 0; }
.meta a { color: var(--muted); }

/* ---------- Door tag / area card ---------- */
.door-tag, .area-card { background: var(--card); border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); font-size: .95rem; }
.dt-strip { display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px 12px; background: var(--yellow); border-bottom: 2px solid var(--ink); font: 700 1.05rem/1.1 var(--head); text-transform: uppercase; letter-spacing: .04em; }
.dt-code { font: 600 .78rem var(--mono); background: var(--ink); color: var(--yellow); padding: 4px 6px; }
.door-tag dl, .area-card dl { margin: 0; padding: 4px 14px 8px; }
.door-tag dl div, .area-card dl div { display: grid; grid-template-columns: 112px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--steel-2); }
.door-tag dl div:last-child, .area-card dl div:last-child { border-bottom: 0; }
.door-tag dt, .area-card dt { font: 600 .74rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding-top: 2px; }
.door-tag dd, .area-card dd { margin: 0; line-height: 1.45; }
.ac-zh { font: 600 .74rem var(--mono); text-transform: uppercase; color: var(--muted); margin: 0; padding: 8px 14px 0; border-top: 2px solid var(--ink); }
.area-card .zips { padding: 8px 14px 14px; margin: 0; }

/* ---------- Body grid ---------- */
.body-grid { display: grid; gap: 32px; padding-top: 34px; padding-bottom: 56px; }
@media (min-width: 1000px) {
  .body-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; }
  .side-sticky { position: sticky; top: 92px; }
}
.prose { min-width: 0; }
.prose > h2:first-child, .prose > .toc + h2 { margin-top: .4em; }
.prose h2 { border-top: 2px solid var(--ink); padding-top: .6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose-wide { max-width: none; }
.l-article .prose, .l-raw .prose { padding: 34px 0 56px; }
.toc { background: var(--card); border: 2px solid var(--steel); padding: 14px 18px; margin-bottom: 1.6em; }
.toc p { font: 700 1rem var(--head); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 6px; }
.toc ol { margin: 0; padding-left: 1.3em; columns: 2 260px; column-gap: 28px; font-size: .95rem; }
.cite { font-size: .7em; line-height: 0; margin-left: 1px; }
.cite a { text-decoration: none; font-weight: 600; padding: 0 1px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; margin: 0 0 1.3em; border: 2px solid var(--ink); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 0; }
caption { text-align: left; padding: 10px 12px; font-weight: 600; background: var(--concrete); border-bottom: 2px solid var(--ink); caption-side: top; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--steel); }
thead th { background: var(--ink); color: #fff; font: 700 .98rem var(--head); text-transform: uppercase; letter-spacing: .04em; }
tbody th { font-weight: 600; }
tbody tr:nth-child(even) { background: #F7F8F8; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table-note { font-size: .86rem; color: var(--muted); margin-top: -.6em; }

/* ---------- Callouts ---------- */
.callout { background: var(--card); border: 2px solid var(--ink); padding: 16px 18px 6px; margin: 0 0 1.4em; position: relative; }
.callout-title { font: 700 1.15rem var(--head); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 .4em; }
.callout-hazard { border-color: var(--ink); padding-top: 22px; }
.callout-hazard::before { content: ""; position: absolute; left: -2px; right: -2px; top: -2px; height: 8px; background: var(--hazard); }
.callout-hazard .callout-title { color: var(--red); }
.callout-note { border-color: var(--steel-2); background: #F7F8F8; }
.callout-tip { border-left: 8px solid var(--yellow); }
.callout-houston { background: var(--ink); color: #fff; border-color: var(--ink); }
.callout-houston .callout-title { color: var(--yellow); }
.callout-houston a { color: var(--blue-light); }

/* ---------- Steps / checks ---------- */
.steps { list-style: none; padding: 0 !important; counter-reset: s; margin-bottom: 1.4em; }
.steps > li { counter-increment: s; position: relative; padding: 2px 0 10px 56px; margin: 0 0 8px; border-bottom: 1px dashed var(--steel-2); }
.steps > li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 42px; height: 36px; display: grid; place-items: center; background: var(--ink); color: var(--yellow); font: 600 .9rem var(--mono); }
.step-t { font-weight: 700; margin: 0 0 .25em; }
.steps > li > div p:last-child { margin-bottom: .3em; }
.checks { list-style: none; padding: 0 !important; }
.checks li { position: relative; padding-left: 32px; margin-bottom: .55em; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; background: var(--yellow); border: 2px solid var(--ink); }
.checks li::after { content: ""; position: absolute; left: 6px; top: calc(.3em + 3px); width: 6px; height: 10px; border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* ---------- Cards ---------- */
.tag-grid { list-style: none; padding: 0 !important; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); margin: 0 0 1.4em; }
.tag-grid li { margin: 0; }
.tag-card { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 14px 16px 16px; background: var(--card); border: 2px solid var(--ink); color: var(--text); text-decoration: none; transition: transform .12s, box-shadow .12s; }
.tag-card:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--yellow-deep); }
.tag-card .tag-code { align-self: flex-start; }
.tag-card strong { font: 700 1.25rem/1.1 var(--head); text-transform: uppercase; letter-spacing: .02em; }
.tag-card span:not(.tag-code) { color: var(--muted); font-size: .95rem; line-height: 1.45; }

/* ---------- ZIP chips ---------- */
.zips { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 6px; }
.zips li { font: 600 .82rem/1 var(--mono); border: 1.5px solid var(--ink); background: var(--card); padding: 6px 7px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { display: grid; gap: 8px 24px; align-items: center; background: var(--ink); color: #fff; padding: 20px 22px; margin: 1.8em 0; border-left: 10px solid var(--yellow); }
.cta-band .cta-h { font: 800 1.5rem/1.1 var(--head); text-transform: uppercase; margin: 0 0 .25em; color: var(--yellow); }
.cta-band p { margin: 0; }
.cta-band .actions { margin: 6px 0 0; }
.cta-band .phone-hours { color: #C9CED3; }
@media (min-width: 760px) { .cta-band { grid-template-columns: 1fr auto; } .cta-band .actions { margin: 0; } }

/* ---------- Work-order form ---------- */
.wo { color: var(--text); background: var(--card); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); position: relative; font-size: 1rem; }
.wo::before { content: ""; position: absolute; left: 10px; right: 10px; top: -2px; height: 2px; background: radial-gradient(circle, var(--concrete) 3px, transparent 3.5px) 0 0 / 14px 2px; }
.wo-head { background: var(--yellow); border-bottom: 2px solid var(--ink); padding: 12px 16px 12px; }
.wo-kicker { display: flex; justify-content: space-between; font: 600 .76rem var(--mono); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 4px; }
.wo-no { border: 1.5px solid var(--ink); padding: 1px 5px; }
.wo-title { font: 800 1.6rem/1.05 var(--head); text-transform: uppercase; margin: 0 0 4px; color: var(--ink); }
.wo-sub { font-size: .92rem; margin: 0 0 8px; line-height: 1.4; }
.wo-steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0; }
.wo-steps li { flex: 1; font: 600 .74rem var(--mono); text-transform: uppercase; padding: 4px 6px; border: 1.5px solid var(--ink); background: rgba(255,255,255,.4); margin: 0; }
.wo-steps li.on { background: var(--ink); color: var(--yellow); }
.wo-step { border: 0; margin: 0; padding: 14px 16px 6px; min-width: 0; }
.wo label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 12px; }
.wo input:not([type=checkbox]):not([type=radio]), .wo select, .wo textarea { display: block; width: 100%; margin-top: 4px; min-height: 46px; padding: 10px 11px; font: 400 1rem var(--body); color: var(--text); background: #fff; border: 2px solid var(--steel-2); border-radius: var(--r); }
.wo textarea { min-height: 84px; resize: vertical; }
.wo input:focus, .wo select:focus, .wo textarea:focus { border-color: var(--ink); outline: 3px solid var(--yellow); outline-offset: 0; }
.wo [aria-invalid=true] { border-color: var(--red) !important; }
.wo .opt { font-weight: 400; color: var(--muted); font-size: .86rem; }
.row2 { display: grid; gap: 0 12px; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } .side .row2 { grid-template-columns: 1fr; } }
.chips { border: 0; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; }
.chips legend { font-weight: 600; font-size: .95rem; margin-bottom: 4px; padding: 0; }
.chip { margin: 0 !important; position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 10px 12px; border: 2px solid var(--steel-2); background: #fff; }
.chip b { font-weight: 700; }
.chip small { color: var(--muted); font-weight: 400; font-size: .84rem; text-align: right; }
.chip input:checked + span { border-color: var(--ink); background: var(--yellow-tint); box-shadow: inset 6px 0 0 var(--yellow); }
.chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 1px; }
.chip input[value=now]:checked + span { box-shadow: inset 6px 0 0 var(--red); }
.wo .check { display: flex; gap: 10px; font-weight: 400; font-size: .8rem; line-height: 1.45; color: var(--muted); }
.wo .check input { flex: none; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--ink); }
.hp { position: absolute !important; left: -9999px; }
.wo-next { width: 100%; margin: 4px 0 10px; }
.wo-actions { display: flex; gap: 10px; margin: 6px 0 10px; }
.wo-actions .wo-submit { flex: 1; }
.wo .wo-step[data-step="2"] { display: none; }
.wo.step2 .wo-step[data-step="1"] { display: none; }
.wo.step2 .wo-step[data-step="2"] { display: block; }
.no-js .wo .wo-step[data-step="2"] { display: block; }
.wo-error { margin: 0 16px 12px; padding: 10px 12px; background: var(--red-tint); border-left: 5px solid var(--red); color: #7A1010; font-size: .92rem; }
.wo-done { padding: 16px; }
.wo-done .wo-title { color: var(--green); }
.wo.done .wo-step, .wo.done .wo-head .wo-steps { display: none !important; }
.wo-fine { font-size: .78rem; color: var(--muted); margin: 0; padding: 10px 16px 12px; border-top: 1px dashed var(--steel-2); }
.wo-fine a { color: var(--muted); }
.cf-turnstile { margin-bottom: 10px; }

/* ---------- Tools ---------- */
.tool { color: var(--text); background: var(--card); border: 2px solid var(--ink); margin: 0 0 1.6em; }
.tool .btn { margin: 0 14px 14px; }
.tool .tool-out .btn { margin: 8px 0 0; }
.tool .opt { font-weight: 400; color: var(--muted); font-size: .86rem; }
.tool tr.sel, .tool tr.is-sel { background: var(--yellow-tint) !important; font-weight: 600; }
.wo a { color: var(--blue); }
.wo-fine a { color: var(--muted); }
.tool-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; background: var(--ink); color: #fff; }
.tool-head h3, .tool-head .tool-h { margin: 0; color: #fff; font: 700 1.3rem/1.1 var(--head); text-transform: uppercase; }
.tool-tag { font: 600 .72rem var(--mono); background: var(--yellow); color: var(--ink); padding: 3px 6px; text-transform: uppercase; }
.tool-grid { display: grid; gap: 12px; padding: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.tool-grid label { font-weight: 600; font-size: .92rem; }
.tool input, .tool select { display: block; width: 100%; margin-top: 4px; min-height: 44px; padding: 8px 10px; font: 400 1rem var(--body); border: 2px solid var(--steel-2); border-radius: var(--r); background: #fff; }
.tool-out { padding: 14px; border-top: 2px solid var(--ink); background: var(--yellow-tint); }
.tool-out .big { font: 800 2rem/1 var(--head); margin: 0 0 6px; }
.tool-out p:last-child { margin-bottom: 0; }
.tool-foot { padding: 10px 14px; font-size: .86rem; color: var(--muted); border-top: 1px solid var(--steel); margin: 0; }
.verdict { display: inline-block; font: 700 .95rem var(--head); text-transform: uppercase; letter-spacing: .05em; padding: 4px 8px; margin-bottom: 8px; }
.verdict-stop { background: var(--red); color: #fff; }
.verdict-soon { background: var(--yellow); color: var(--ink); }
.verdict-ok { background: var(--green); color: #fff; }

/* ---------- Diagrams / figures ---------- */
.diagram { background: var(--card); border: 2px solid var(--ink); padding: 14px; margin: 0 0 1.4em; }
.diagram svg { display: block; margin: 0 auto; width: 100%; height: auto; }
figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; line-height: 1.45; }
.map { background: var(--card); border: 2px solid var(--ink); padding: 10px; margin: 0 0 1.4em; }
.map svg { display: block; width: 100%; height: auto; font-family: var(--body); }
.m-bg { fill: #F4F5F6; }
.m-bay { fill: #D6E4F0; }
.m-water { font: italic 13px var(--body); fill: #4A6A86; }
.m-ring { fill: none; stroke: var(--steel-2); stroke-width: 2; stroke-dasharray: 6 4; }
.m-ring-l { font: 600 11px var(--mono); fill: var(--muted); }
.m-dt { fill: var(--ink); }
.m-pin circle { fill: var(--yellow); stroke: var(--ink); stroke-width: 2; }
.m-pin text { font: 600 12.5px var(--body); fill: var(--ink); paint-order: stroke; stroke: #F4F5F6; stroke-width: 3px; }
.m-pin:hover circle, .m-pin:focus circle { fill: var(--red); }
.m-pin.on circle { fill: var(--red); }
.m-pin.on text { font-weight: 700; }

/* ---------- Area index (hub) ---------- */
.ai-ring h3 { border-bottom: 2px solid var(--ink); padding-bottom: 4px; }
.ai-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.ai-item { background: var(--card); border: 2px solid var(--steel); padding: 12px 14px; }
.ai-item:target { border-color: var(--ink); box-shadow: 5px 5px 0 var(--yellow); }
.ai-name { font: 700 1.25rem var(--head); text-transform: uppercase; margin: 0 0 2px; }
.ai-covers { font-size: .9rem; color: var(--muted); margin: 0 0 8px; }
.ai-item .zips { margin: 0; }
.zipfind { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.zipfind label { font-weight: 600; flex: 1 1 200px; }
.zipfind input { display: block; width: 100%; min-height: 48px; margin-top: 4px; padding: 8px 12px; font: 600 1.2rem var(--mono); border: 2px solid var(--ink); border-radius: var(--r); }

/* ---------- Home ---------- */
.home-hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.home-hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, transparent 0 34px, rgba(255,255,255,.035) 34px 36px); pointer-events: none; }
.home-hero .wrap { position: relative; display: grid; gap: 30px; padding-top: 34px; padding-bottom: 44px; }
@media (min-width: 980px) { .home-hero .wrap { grid-template-columns: minmax(0, 1.25fr) minmax(340px, 410px); align-items: start; padding-top: 52px; padding-bottom: 60px; } }
.home-hero h1 { color: #fff; }
.home-hero h1 .y { color: var(--yellow); display: block; }
.home-hero .bluf { color: #E6E8EA; }
.home-hero .bluf strong { background: none; color: #fff; }
.home-hero a:not(.btn) { color: var(--blue-light); }
.home-hero .kicker { background: var(--yellow); }
.home-hero .meta, .home-hero .meta a { color: #B5BBC1; }
.home-hero + .hazard { height: 10px; }
.band { padding: 48px 0; }
.band-white { background: var(--card); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.band-ink { background: var(--ink); color: #fff; }
.band-ink h2, .band-ink h3 { color: #fff; }
.band-ink a:not(.btn) { color: var(--blue-light); }
.band h2:first-child { margin-top: 0; }
.section-lede { font-size: 1.1rem; max-width: 760px; }
.two-col { display: grid; gap: 28px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } }

/* ---------- Sources ---------- */
.sources { margin-top: 2.6em; padding-top: 1em; border-top: 2px solid var(--ink); font-size: .88rem; color: var(--muted); }
.sources h2 { font-size: 1.4rem; border: 0; padding: 0; margin-top: 0; }
.sources ol { padding-left: 1.4em; }
.sources li { margin-bottom: .55em; overflow-wrap: anywhere; }
.sources .accessed { white-space: nowrap; }

/* ---------- FAQ (details) ---------- */
.faq details { background: var(--card); border: 2px solid var(--steel); margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 12px 14px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::after { content: "+"; font: 700 1.3rem/1 var(--mono); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 14px 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #D5D9DD; margin-top: 0; font-size: .95rem; }
.site-footer .wrap { padding-top: 40px; padding-bottom: 28px; }
.f-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .f-grid { grid-template-columns: 1.4fr 1fr 1.3fr .9fr; } }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.f-areas ul { columns: 2; column-gap: 16px; }
.f-head { font: 700 1.05rem var(--head); text-transform: uppercase; letter-spacing: .08em; color: var(--yellow); margin-bottom: 10px; }
.f-brand p { margin-top: 14px; }
.f-disclose { font-size: .84rem; color: #B5BBC1; }
.f-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid var(--ink-line); margin-top: 26px; padding-top: 16px; font-size: .86rem; }
.logo-light { color: #fff; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--ink); border-top: 4px solid var(--yellow); transform: translateY(110%); transition: transform .2s; }
.sticky-cta.show { transform: none; }
.sticky-cta .btn { flex: 1; box-shadow: none; }
@media (min-width: 1000px) { .sticky-cta { display: none; } }
@media (max-width: 999px) { body { padding-bottom: 76px; } }

/* ---------- Print ---------- */
@media print { .site-header, .sticky-cta, .side, .site-footer, .cta-band { display: none !important; } body { background: #fff; } }

/* Long emails/URLs never force horizontal scroll */
.prose, .bluf, .site-footer { overflow-wrap: break-word; }
a[href^="mailto:"] { overflow-wrap: anywhere; }
