/* OdomVE.com
   Layout: the site reads like a civil plan set. Left-aligned 12-column sheet,
   side-heading sections, one framed plan-view drawing in the hero, and a
   drawing title block as the footer. Utility colors follow the APWA uniform
   color code: blue for potable water, green for wastewater. */

:root {
  --paper: #EEF2F4;
  --sheet: #FAFBFC;
  --ink: #13202B;
  --ink-soft: #4A5968;
  --line: #C6D0D8;
  --line-strong: #8696A3;
  --water: #1756B5;
  --water-tint: #DCE6F6;
  --sewer: #217A46;
  --sewer-tint: #DDEEE3;
  --on-water: #FFFFFF;
  --grid: rgba(23, 86, 181, 0.075);

  --font: "Overpass", "Helvetica Neue", Arial, system-ui, sans-serif;

  --step--2: 0.75rem;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.55rem;
  --step-3: clamp(1.8rem, 3.1vw, 2.35rem);
  --step-4: clamp(2.3rem, 5.2vw, 3.9rem);

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --radius: 3px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0E161C;
    --sheet: #131E26;
    --ink: #E3EBF0;
    --ink-soft: #9DAEBB;
    --line: #263642;
    --line-strong: #4B5F6D;
    --water: #78ACFF;
    --water-tint: #172A49;
    --sewer: #5FCB8C;
    --sewer-tint: #143323;
    --on-water: #0A1420;
    --grid: rgba(120, 172, 255, 0.07);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0E161C;
  --sheet: #131E26;
  --ink: #E3EBF0;
  --ink-soft: #9DAEBB;
  --line: #263642;
  --line-strong: #4B5F6D;
  --water: #78ACFF;
  --water-tint: #172A49;
  --sewer: #5FCB8C;
  --sewer-tint: #143323;
  --on-water: #0A1420;
  --grid: rgba(120, 172, 255, 0.07);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
}
img, svg { max-width: 100%; }
h1, h2, h3 {
  margin: 0;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
h3 { font-size: var(--step-1); letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; max-width: 64ch; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--water); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--water); outline-offset: 3px; }
strong { font-weight: 800; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: var(--radius);
}
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  font: inherit; font-weight: 800; font-size: 1rem; line-height: 1.1;
  border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--water); color: var(--on-water); border-color: var(--water); }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 0.95rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; line-height: 1; }
.brand-mark { font-weight: 900; font-size: 1.5rem; letter-spacing: -0.035em; }
.brand-sub { margin-top: 5px; font-size: var(--step--2); font-weight: 600; color: var(--ink-soft); letter-spacing: 0.02em; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.nav a:not(.btn) {
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 0.96rem;
  padding-block: 6px;
}
.nav a:not(.btn):hover { color: var(--water); }
.nav a[aria-current="page"] { color: var(--water); box-shadow: inset 0 -2px 0 var(--water); }
.nav .nav-phone { font-variant-numeric: tabular-nums; color: var(--ink-soft); font-weight: 600; }
.menu-btn {
  display: none; margin-left: auto;
  font: inherit; font-weight: 800; font-size: 0.95rem;
  background: transparent; color: var(--ink);
  border: 2px solid var(--ink); border-radius: var(--radius);
  min-height: 40px; padding: 6px 14px; cursor: pointer;
}
@media (max-width: 980px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding-block: 14px; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { box-shadow: none; }
  .nav .btn { margin-top: 16px; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(36px, 6vw, 80px) clamp(40px, 6vw, 72px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: start;
}
.hero-copy { padding-top: clamp(0px, 2vw, 24px); }
.hero h1 { font-size: var(--step-4); }
.lead { margin-top: 22px; font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-fee {
  margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--ink-soft); font-size: var(--step--1);
}
.hero-fee strong { color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Drawing sheet ---------- */
.sheet { background: var(--sheet); border: 1px solid var(--line-strong); min-width: 0; }
.sheet-drawing {
  padding: clamp(6px, 1.5vw, 14px);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
}
.dwg { display: block; width: 100%; height: auto; }
.dwg .t {
  font-family: var(--font); font-size: 10.5px; font-weight: 700; letter-spacing: 0.07em;
  fill: var(--ink-soft);
  paint-order: stroke; stroke: var(--sheet); stroke-width: 4px; stroke-linejoin: round;
}
.dwg .t-strong { fill: var(--ink); font-size: 11.5px; }
.dwg .pl { stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: 18 4 3 4; fill: none; }
.dwg .row { stroke: var(--line-strong); stroke-width: 1.2; stroke-dasharray: 18 4 3 4; fill: none; }
.dwg .curb { stroke: var(--line-strong); stroke-width: 1.2; fill: none; }
.dwg .gutter { stroke: var(--line); stroke-width: 1; fill: none; }
.dwg .cl { stroke: var(--line-strong); stroke-width: 0.9; stroke-dasharray: 26 6 4 6; fill: none; }
.dwg .ex-bldg { stroke: var(--line-strong); stroke-width: 1; fill: none; }
.dwg .bldg { stroke: var(--ink); stroke-width: 1.6; }
.dwg .hatch-line { stroke: var(--line); stroke-width: 1; }
.dwg .ex-w { stroke: var(--water); stroke-width: 1.4; opacity: 0.55; fill: none; }
.dwg .ex-ww { stroke: var(--sewer); stroke-width: 1.4; opacity: 0.6; fill: none; }
.dwg .svc-w { stroke: var(--water); stroke-width: 3.4; fill: none; stroke-linecap: round; }
.dwg .svc-ww { stroke: var(--sewer); stroke-width: 3.4; fill: none; stroke-linecap: round; }
.dwg .priv { stroke: var(--ink-soft); stroke-width: 1.4; stroke-dasharray: 5 4; fill: none; }
.dwg .node-w { fill: var(--water); }
.dwg .node-ww { fill: var(--sewer); }
.dwg .meter { fill: var(--sheet); stroke: var(--water); stroke-width: 2; }
.dwg .co { fill: var(--sheet); stroke: var(--sewer); stroke-width: 2; }
.dwg .dim { stroke: var(--ink-soft); stroke-width: 1; fill: none; }
.dwg .na-ring { stroke: var(--line-strong); stroke-width: 1; fill: none; }
.dwg .na-fill { fill: var(--ink); }
.dwg .na-open { fill: var(--sheet); stroke: var(--ink); stroke-width: 1; }
.dwg .bar-fill { fill: var(--ink); }
.dwg .bar-open { fill: var(--sheet); stroke: var(--ink); stroke-width: 1; }
.dwg .leader { stroke: var(--ink-soft); stroke-width: 1; fill: none; }
.dwg .kn polygon { stroke: var(--sheet); stroke-width: 1.5; transition: transform .15s ease; transform-box: fill-box; transform-origin: center; }
.dwg .kn-w polygon { fill: var(--water); }
.dwg .kn-ww polygon { fill: var(--sewer); }
.dwg .kn-i polygon { fill: var(--ink); }
.dwg .kn text { fill: var(--sheet); font-family: var(--font); font-size: 11px; font-weight: 900; }
.dwg .kn { cursor: default; }
.dwg .kn.is-hot polygon { transform: scale(1.25); }
.dwg path.is-hot { stroke-width: 5.5; }
.dwg rect.is-hot, .dwg circle.is-hot { stroke-width: 3.2; }

.draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .75s cubic-bezier(.55, 0, .2, 1) forwards; }
.draw-1 { animation-delay: .25s; }
.draw-2 { animation-delay: .85s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .draw { animation: none; stroke-dashoffset: 0; }
}

.keyed-notes {
  list-style: none;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: column;
  grid-template-rows: repeat(3, auto);
  border-top: 1px solid var(--line-strong);
}
.keyed-notes li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 9px 14px; font-size: var(--step--1); line-height: 1.4;
  border-bottom: 1px solid var(--line);
  transition: background-color .15s ease;
}
.keyed-notes li:nth-child(n+4) { border-left: 1px solid var(--line); }
.keyed-notes li:nth-child(3), .keyed-notes li:nth-child(6) { border-bottom: 0; }
.keyed-notes li.is-hot, .keyed-notes li:hover { background: var(--water-tint); }
.keyed-notes li[data-k="5"].is-hot, .keyed-notes li[data-k="6"].is-hot,
.keyed-notes li[data-k="5"]:hover, .keyed-notes li[data-k="6"]:hover { background: var(--sewer-tint); }
.keyed-notes li:focus-visible { outline-offset: -2px; }
.badge {
  flex: none; display: inline-grid; place-items: center;
  width: 24px; height: 21px; margin-top: -1px;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  color: var(--sheet); font-size: 0.72rem; font-weight: 900;
}
.badge-w { background: var(--water); }
.badge-ww { background: var(--sewer); }
.badge-i { background: var(--ink); }
.sheet-strip {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 18px;
  padding: 9px 14px; border-top: 1px solid var(--line-strong);
  font-size: var(--step--2); color: var(--ink-soft); font-weight: 600;
}
.sheet-strip strong { color: var(--ink); }
@media (max-width: 560px) {
  .keyed-notes { grid-template-columns: minmax(0, 1fr); grid-auto-flow: row; grid-template-rows: none; }
  .keyed-notes li:nth-child(n+4) { border-left: 0; }
  .keyed-notes li:nth-child(3) { border-bottom: 1px solid var(--line); }
}

/* ---------- Credentials strip ---------- */
.creds { border-block: 1px solid var(--line); background: var(--sheet); }
.creds-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cred { padding: 20px 24px 20px 0; display: grid; gap: 2px; min-width: 0; }
.cred + .cred { padding-left: 24px; border-left: 1px solid var(--line); }
.cred-label { font-size: var(--step--1); color: var(--ink-soft); }
.cred-value { font-weight: 800; font-size: var(--step-1); line-height: 1.3; }
@media (max-width: 760px) {
  .creds-grid { grid-template-columns: minmax(0, 1fr); }
  .cred { padding: 16px 0; }
  .cred + .cred { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section + .section { border-top: 1px solid var(--line); }
.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(24px, 5vw, 72px);
}
.section-head h2 { font-size: var(--step-3); }
.section-head p { margin-top: 16px; color: var(--ink-soft); }
@media (min-width: 901px) {
  .section-head.is-sticky { position: sticky; top: 100px; align-self: start; }
}
@media (max-width: 900px) {
  .section-grid { grid-template-columns: minmax(0, 1fr); }
}
.prose { display: grid; gap: 18px; min-width: 0; }
.prose > h3 { margin-top: 14px; }
.muted { color: var(--ink-soft); }

.pipe-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.pipe-list li {
  position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line);
}
.pipe-list li::before {
  content: ""; position: absolute; left: 0; top: 1.45em; width: 16px; height: 3px;
  background: var(--water); border-radius: 2px;
}
.pipe-list.is-ww li::before { background: var(--sewer); }

.callout {
  border: 1px solid var(--line-strong); background: var(--sheet);
  padding: 18px 20px; display: grid; gap: 6px;
}
.callout p { color: var(--ink-soft); }
.callout strong { color: var(--ink); }

/* ---------- Fee schedule ---------- */
.schedule-wrap { overflow-x: auto; min-width: 0; }
.schedule {
  width: 100%; border-collapse: collapse; background: var(--sheet);
  border: 2px solid var(--ink); font-variant-numeric: tabular-nums;
}
.schedule caption {
  caption-side: top; text-align: left; font-weight: 800; padding-bottom: 10px; font-size: var(--step-0);
}
.schedule th, .schedule td { border: 1px solid var(--line-strong); padding: 15px 18px; text-align: left; vertical-align: middle; }
.schedule thead th { font-size: var(--step--1); font-weight: 700; color: var(--ink-soft); background: var(--paper); }
.schedule .fee { text-align: right; font-weight: 900; font-size: var(--step-2); white-space: nowrap; letter-spacing: -0.02em; }
.schedule .svc { display: flex; align-items: center; gap: 14px; font-weight: 700; }
.legend { flex: none; display: inline-grid; gap: 4px; width: 34px; }
.legend i { display: block; height: 3px; border-radius: 2px; }
.legend .lw { background: var(--water); }
.legend .lww { background: var(--sewer); }
.schedule-note { margin-top: 14px; font-size: var(--step--1); color: var(--ink-soft); }

/* ---------- Process ---------- */
.process-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); }
.process-head h2 { font-size: var(--step-3); }
.process-head p { color: var(--ink-soft); }
.steps { list-style: none; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.steps::before {
  content: ""; position: absolute; left: 17px; right: 17px; top: 17px; height: 4px;
  background: var(--water); border-radius: 2px;
}
.step { position: relative; display: grid; gap: 10px; align-content: start; min-width: 0; }
.step-num {
  position: relative; z-index: 1;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sheet); border: 4px solid var(--water);
  font-weight: 900; font-variant-numeric: tabular-nums;
}
.step h3 { font-size: var(--step-0); margin-top: 6px; }
.step p { font-size: var(--step--1); color: var(--ink-soft); }
.steps.is-spe::before { background: var(--ink); }
.steps.is-spe .step-num { border-color: var(--ink); }
@media (max-width: 860px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .steps::before { left: 17px; right: auto; top: 17px; bottom: 17px; width: 4px; height: auto; }
  .step { grid-template-columns: 38px minmax(0, 1fr); column-gap: 18px; }
  .step-num { grid-row: span 2; }
  .step h3 { margin-top: 7px; }
}

/* ---------- Two-column compare ---------- */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line-strong); background: var(--sheet); }
.compare > div { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.compare > div + div { border-left: 1px solid var(--line-strong); }
.compare h3 { display: flex; align-items: center; gap: 12px; }
.compare ul { list-style: none; display: grid; gap: 10px; }
.compare li { padding-left: 18px; position: relative; font-size: var(--step--1); line-height: 1.5; }
.compare li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 2px; background: var(--ink-soft); }
.compare .compare-fee { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 800; font-variant-numeric: tabular-nums; }
@media (max-width: 720px) {
  .compare { grid-template-columns: minmax(0, 1fr); }
  .compare > div + div { border-left: 0; border-top: 1px solid var(--line-strong); }
}

/* ---------- Pairing (tap + SPE) ---------- */
.pair { display: grid; gap: 22px; }
.stat-line {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px;
  padding-block: 16px; border-block: 1px solid var(--line);
}
.stat-line strong { font-size: var(--step-2); letter-spacing: -0.02em; }
.stat-line span { color: var(--ink-soft); }
.text-link { font-weight: 800; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: baseline; gap: 18px;
  padding-block: 18px; font-weight: 800; font-size: var(--step-1); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; color: var(--water); font-weight: 600; font-size: 1.6rem; line-height: 1;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding-bottom: 20px; display: grid; gap: 12px; color: var(--ink-soft); }

/* ---------- Resources ---------- */
.resources { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.resources li { border-bottom: 1px solid var(--line); }
.resources a { display: flex; justify-content: space-between; gap: 16px; padding-block: 13px; font-weight: 700; text-decoration: none; }
.resources a span { color: var(--ink-soft); font-weight: 600; font-size: var(--step--1); white-space: nowrap; }
.resources a:hover { text-decoration: underline; }

/* ---------- CTA box ---------- */
.cta-box {
  border: 2px solid var(--ink); background: var(--sheet);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center;
  padding: clamp(24px, 4vw, 44px);
}
.cta-box h2 { font-size: var(--step-3); }
.cta-box p { margin-top: 12px; color: var(--ink-soft); }
.cta-box .actions { margin-top: 0; }
@media (max-width: 860px) { .cta-box { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding-block: clamp(36px, 6vw, 72px) clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: end; }
.page-head h1 { font-size: var(--step-4); }
.page-head .code-ref { margin-top: 12px; font-weight: 700; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .page-head-grid { grid-template-columns: minmax(0, 1fr); align-items: start; } }
.fee-card { border: 2px solid var(--ink); background: var(--sheet); }
.fee-card-head { padding: 12px 18px; border-bottom: 1px solid var(--line-strong); font-weight: 800; }
.fee-card dl { margin: 0; display: grid; }
.fee-card .row-item { display: flex; justify-content: space-between; gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.fee-card dt { font-weight: 600; }
.fee-card dd { margin: 0; font-weight: 900; font-variant-numeric: tabular-nums; }
.fee-card .fee-card-foot { padding: 14px 18px; display: grid; gap: 12px; font-size: var(--step--1); color: var(--ink-soft); }

/* ---------- Form ---------- */
.form { display: grid; gap: 20px; min-width: 0; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 640px) { .form-row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 7px; min-width: 0; }
.field > label, .field > legend { font-weight: 800; font-size: 0.97rem; padding: 0; }
.field .hint { font-size: var(--step--1); color: var(--ink-soft); }
.req { color: var(--water); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--sheet); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 12px 13px; min-height: 48px;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--water); outline-offset: 0; border-color: var(--water); }
fieldset.field { border: 0; margin: 0; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--sheet);
  padding: 10px 14px; cursor: pointer; font-weight: 600;
}
.choice:has(input:checked) { border-color: var(--water); background: var(--water-tint); }
.choice input { accent-color: var(--water); width: 18px; height: 18px; margin: 0; }
.drop {
  display: grid; gap: 4px; justify-items: start;
  border: 1.5px dashed var(--line-strong); border-radius: var(--radius); background: var(--sheet);
  padding: 18px; cursor: pointer;
}
.drop:hover, .drop:focus-within { border-color: var(--water); }
.drop strong { font-size: 1rem; }
.drop span { font-size: var(--step--1); color: var(--ink-soft); }
.drop input { font: inherit; font-size: var(--step--1); margin-top: 8px; max-width: 100%; }
.file-list { list-style: none; display: grid; gap: 4px; font-size: var(--step--1); color: var(--ink-soft); }
.form-status { min-height: 1.5em; font-weight: 700; }
.form-status[data-state="ok"] { color: var(--sewer); }
.form-status[data-state="error"], .form-status[data-state="info"] { color: var(--ink); }
.form-status[data-state="info"] { border-left: 3px solid var(--water); padding-left: 12px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.aside-block { display: grid; gap: 14px; padding-block: 4px 22px; border-bottom: 1px solid var(--line); }
.aside-block + .aside-block { padding-top: 22px; }
.aside-block h2 { font-size: var(--step-1); letter-spacing: -0.01em; }
.big-contact { font-size: var(--step-2); font-weight: 900; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.big-contact:hover { color: var(--water); }

/* ---------- Footer title block ---------- */
.site-footer { padding-block: clamp(48px, 7vw, 88px) 36px; border-top: 1px solid var(--line); }
.titleblock {
  display: grid; grid-template-columns: 1.4fr 1.25fr 1.1fr 1.25fr 1.3fr;
  border: 2px solid var(--ink); background: var(--sheet);
}
.tb-cell { padding: 14px 16px 16px; display: grid; gap: 3px; align-content: start; min-width: 0; }
.tb-cell + .tb-cell { border-left: 1px solid var(--line-strong); }
.tb-label { font-size: var(--step--2); color: var(--ink-soft); font-weight: 600; letter-spacing: 0.03em; margin-bottom: 4px; }
.tb-name { font-weight: 900; font-size: var(--step-1); line-height: 1.2; letter-spacing: -0.015em; }
.tb-value { font-weight: 800; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.tb-small { font-size: var(--step--1); color: var(--ink-soft); text-decoration: none; overflow-wrap: anywhere; }
a.tb-value:hover, a.tb-small:hover { color: var(--water); }
.sheet-index { list-style: none; display: grid; gap: 3px; }
.sheet-index a { display: flex; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: var(--step--1); }
.sheet-index a:hover { color: var(--water); }
.sheet-index span { width: 22px; flex: none; color: var(--ink-soft); font-weight: 800; font-variant-numeric: tabular-nums; }
.footer-meta {
  display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px;
  font-size: var(--step--1); color: var(--ink-soft);
}
.footer-meta a { color: var(--ink-soft); }
@media (max-width: 980px) {
  .titleblock { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tb-cell + .tb-cell { border-left: 0; }
  .tb-cell { border-top: 1px solid var(--line-strong); }
  .tb-cell:nth-child(1) { grid-column: 1 / -1; border-top: 0; }
  .tb-cell:nth-child(odd):not(:first-child) { border-left: 1px solid var(--line-strong); }
}
@media (max-width: 520px) {
  .titleblock { grid-template-columns: minmax(0, 1fr); }
  .tb-cell:nth-child(odd):not(:first-child) { border-left: 0; }
}

/* ---------- 404 ---------- */
.notfound { padding-block: clamp(64px, 10vw, 140px); display: grid; gap: 20px; }
.notfound h1 { font-size: var(--step-4); }

/* ---------- Small modifiers ---------- */
figure.sheet { margin: 0; }
.lead.flush { margin-top: 0; }
.schedule thead th.num { text-align: right; }
.pipe-list.is-ink li::before { background: var(--ink); }
.drop span { font-weight: 400; }
.keyed-notes.n4 { grid-template-rows: repeat(2, auto); }
.keyed-notes.n4 li:nth-child(3) { border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.keyed-notes.n4 li:nth-child(2), .keyed-notes.n4 li:nth-child(4) { border-bottom: 0; }
@media (max-width: 560px) {
  .keyed-notes.n4 li:nth-child(3) { border-left: 0; }
  .keyed-notes.n4 li:nth-child(2) { border-bottom: 1px solid var(--line); }
}
.dwg .loc { stroke: var(--ink-soft); stroke-width: 1.4; stroke-dasharray: 9 4; fill: none; }
.dwg .stall { stroke: var(--line-strong); stroke-width: 1; fill: none; }
.dwg .new-ic { stroke: var(--ink); stroke-width: 1.6; }
.dwg rect.is-hot.loc, .dwg rect.is-hot.new-ic, .dwg rect.is-hot.bldg { stroke-width: 3; }
.legal { display: grid; gap: 14px; }
.legal h2 { font-size: var(--step-1); letter-spacing: -0.01em; margin-top: 18px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 1.2em; display: grid; gap: 6px; }
@media (min-width: 861px) { .steps.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.process-head .stat-line { max-width: 640px; }
.stat-pair { margin: 4px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 0; border-block: 1px solid var(--line); }
.stat-pair > div { padding: 14px 36px 14px 0; display: grid; gap: 2px; }
.stat-pair > div + div { padding-left: 36px; border-left: 1px solid var(--line); }
.stat-pair dt { font-size: var(--step--1); color: var(--ink-soft); }
.stat-pair dd { margin: 0; font-weight: 900; font-size: var(--step-3); letter-spacing: -0.025em; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--water); }
.fee-card-foot strong { color: var(--ink); }
@media (max-width: 420px) { .stat-pair > div { padding-right: 20px; } .stat-pair > div + div { padding-left: 20px; } }
