/* Plot & Beam. Layout concept: a drawing sheet. White paper, graphite ink, thin rules, a title block,
   one survey-orange accent for the action. Single light theme on purpose (drawings are read on white). */
@font-face { font-family: "Archivo"; src: url("/fonts/archivo.woff2") format("woff2"); font-weight: 500 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/fonts/publicsans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/fonts/publicsans-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/plexmono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --paper: #fbfcfc;
  --tint: #eef2f4;
  --ink: #14202b;
  --ink-2: #4b5966;
  --rule: #d3dbe1;
  --accent: #d9480f;
  --accent-deep: #b23a0a;
  --ok: #2b7a4b;
  --on-ink: #f2f5f7;
  --on-ink-2: #a9b6c1;
  --display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Public Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --step--1: 0.875rem; --step-0: 1.0625rem; --step-1: 1.25rem; --step-2: 1.6rem; --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem); --step-4: clamp(2.3rem, 1.5rem + 3.4vw, 3.6rem);
  --radius: 4px;
  --max: 72rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--step-0)/1.6 var(--body); text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; }
a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 46rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--on-ink); padding: .5rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; }

/* type */
.eyebrow { font: 500 var(--step--1)/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .75rem; }
.h1 { font: 760 var(--step-4)/1.04 var(--display); font-stretch: 82%; letter-spacing: -.01em; }
.h1-page { font-size: var(--step-3); }
.h2 { font: 720 var(--step-3)/1.1 var(--display); font-stretch: 85%; max-width: 30ch; }
.h3 { font: 700 var(--step-1)/1.25 var(--display); font-stretch: 92%; }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); max-width: 40rem; }
.lede-s { color: var(--ink-2); max-width: 42rem; }
.small { font-size: var(--step--1); color: var(--ink-2); }
.mono { font-family: var(--mono); font-size: var(--step--1); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .6rem 1.1rem; border-radius: var(--radius); background: var(--accent); color: #fff; font: 650 var(--step-0)/1.2 var(--body); text-decoration: none; border: 2px solid var(--accent); cursor: pointer; }
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.btn-lg { min-height: 52px; padding: .8rem 1.4rem; font-size: var(--step-1); }
.btn-sm { min-height: 40px; padding: .45rem .9rem; font-size: var(--step--1); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--paper); border-bottom: 1px solid var(--rule); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--paper); }
.head-row { display: flex; align-items: center; gap: 1rem; min-height: 4rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); font: 760 1.3rem/1 var(--display); font-stretch: 85%; letter-spacing: -.01em; }
.brand i { font-style: normal; color: var(--accent); }
.mark { width: 36px; height: 29px; stroke: none; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 1.4rem; list-style: none; }
.nav a { text-decoration: none; font-weight: 550; font-size: var(--step--1); }
.nav a[aria-current="page"], .nav a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.nav-toggle { display: none; }
.head-cta { display: flex; align-items: center; gap: 1rem; }
.head-phone { font: 500 var(--step--1) var(--mono); text-decoration: none; white-space: nowrap; }

/* hero */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem); border-bottom: 1px solid var(--rule); background-image: linear-gradient(var(--tint) 1px, transparent 1px), linear-gradient(90deg, var(--tint) 1px, transparent 1px); background-size: 24px 24px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-copy { min-width: 0; }
.hero .lede { margin-top: 1.25rem; }
.facts { display: flex; flex-wrap: wrap; gap: 0; list-style: none; margin-top: 2rem; border-top: 1px solid var(--rule); }
.facts li { flex: 1 1 9rem; padding: .9rem 1rem .2rem 0; font-size: var(--step--1); color: var(--ink-2); }
.facts b { display: block; font: 700 var(--step-1)/1.2 var(--display); font-stretch: 88%; color: var(--ink); }

.sheet { margin: 0; background: #fff; border: 1.5px solid var(--ink); box-shadow: 8px 8px 0 var(--tint); min-width: 0; }
.sheet-svg { display: block; width: 100%; height: auto; padding: 12px; }
.wall { fill: none; stroke: var(--ink); stroke-width: 6; }
.wall-fill { fill: #fff; }
.wall-new { stroke: var(--accent); stroke-width: 4; }
.wall-thin { stroke: var(--ink); stroke-width: 2.5; }
.hatch-line { stroke: var(--accent); stroke-width: 1; opacity: .35; }
.ext { stroke: none; }
.door { fill: #fff; stroke: var(--ink); stroke-width: 1.5; }
.dim { stroke: var(--ink-2); stroke-width: 1; }
.dim-t { font: 500 11px var(--mono); fill: var(--ink-2); }
.room { font: 600 9px var(--mono); fill: var(--ink-2); letter-spacing: .06em; }
.room-new { fill: var(--accent-deep); }
.north circle { fill: none; stroke: var(--ink-2); }
.north path { fill: var(--ink); }
.scale { stroke: var(--ink); stroke-width: 5; }
.scale-fill { stroke: var(--accent); }
.title-block { display: grid; grid-template-columns: 2fr 1fr 1fr .6fr; border-top: 1.5px solid var(--ink); font: 500 .72rem/1.3 var(--mono); }
.title-block span { padding: .5rem .6rem; border-left: 1px solid var(--rule); color: var(--ink); min-width: 0; }
.title-block span:first-child { border-left: 0; }
.title-block b { display: block; font-weight: 500; color: var(--ink-2); text-transform: uppercase; font-size: .62rem; letter-spacing: .05em; }

/* bands */
.band { padding-block: clamp(3rem, 7vw, 5.5rem); }
.band-tint { background: var(--tint); }
.band-ink { background: var(--ink); color: var(--on-ink); }
.band-ink .eyebrow { color: var(--on-ink-2); }
.band .h2 + p, .band .h2 + .lede-s { margin-top: 1rem; }

/* routes */
.routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 2.5rem; border: 1.5px solid var(--ink); background: #fff; }
.route { padding: 1.5rem; border-left: 1px solid var(--rule); display: flex; flex-direction: column; gap: .7rem; }
.route:first-child { border-left: 0; }
.route h3 { font: 720 var(--step-2)/1.1 var(--display); font-stretch: 85%; }
.route-tag { font: 500 var(--step--1) var(--mono); color: var(--accent-deep); }
.route-eg { font-size: var(--step--1); color: var(--ink-2); border-top: 1px dashed var(--rule); padding-top: .7rem; margin-top: auto; }
.route a { font-weight: 650; }

/* register */
.register { margin-top: 2rem; border-top: 1.5px solid var(--ink); }
.reg-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr) 8.5rem; gap: 1.5rem; align-items: baseline; padding: 1rem .25rem; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); }
a.reg-row:hover { background: var(--paper); }
a.reg-row:hover .reg-name { text-decoration: underline; text-decoration-color: var(--accent); }
.reg-head { font: 500 var(--step--1) var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); padding-block: .6rem; }
.reg-name { font: 700 var(--step-1)/1.25 var(--display); font-stretch: 92%; }
.reg-for { color: var(--ink-2); font-size: var(--step--1); }
.reg-price { font: 700 var(--step-1) var(--display); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.reg-price small, .pc-price small { font: 500 .75rem var(--mono); color: var(--ink-2); margin-right: .2rem; }
.register + .small { margin-top: 1rem; }

/* steps */
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.steps li { counter-increment: s; border-top: 3px solid var(--ink); padding-top: 1rem; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font: 500 var(--step--1) var(--mono); color: var(--accent-deep); margin-bottom: .5rem; }
.steps h3 { font: 700 var(--step-1)/1.2 var(--display); font-stretch: 90%; margin-bottom: .4rem; }
.steps p { font-size: var(--step--1); color: var(--ink-2); }

/* why */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); }
.why > div > p { margin-top: 1rem; color: var(--on-ink-2); }
.why .h2 { max-width: 24ch; }
.promises { list-style: none; display: grid; gap: 0; border-top: 1px solid #334250; }
.promises li { padding: 1.1rem 0; border-bottom: 1px solid #334250; }
.promises h3 { font: 700 var(--step-1)/1.25 var(--display); font-stretch: 92%; color: var(--on-ink); }
.promises p { color: var(--on-ink-2); margin-top: .3rem; }
.link-light { color: var(--on-ink); }
.link-light:hover { color: #fff; }

/* local */
.local { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.local > div > p { margin-top: 1rem; }
.areas-box { border: 1.5px solid var(--ink); background: #fff; }
.areas-box h3 { font: 500 var(--step--1) var(--mono); text-transform: uppercase; letter-spacing: .04em; padding: .8rem 1rem; border-bottom: 1px solid var(--rule); }
.area-list { list-style: none; }
.area-list a { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 1rem; border-bottom: 1px solid var(--rule); text-decoration: none; }
.area-list li:last-child a { border-bottom: 0; }
.area-list b { font-weight: 650; }
.area-list span { color: var(--ink-2); font-size: var(--step--1); text-align: right; }
.area-list a:hover b { text-decoration: underline; text-decoration-color: var(--accent); }

/* lists */
.ticks { list-style: none; display: grid; gap: .7rem; margin-top: 1rem; }
.ticks li { position: relative; padding-left: 1.6rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: .8rem; height: 2px; background: var(--accent); }
.ticks-ok li::before { width: .55rem; height: .9rem; top: .25em; left: .15rem; background: none; border: solid var(--ok); border-width: 0 2.5px 2.5px 0; transform: rotate(40deg); }

/* ask */
.ask { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); }
.ask > div > p:last-child { margin-top: 1rem; color: var(--ink-2); }
.ask-list { list-style: none; counter-reset: q; border-top: 1.5px solid var(--ink); }
.ask-list li { counter-increment: q; display: grid; grid-template-columns: 2.2rem 1fr; padding: .9rem 0; border-bottom: 1px solid var(--rule); font-weight: 550; }
.ask-list li::before { content: "Q" counter(q); font: 500 var(--step--1) var(--mono); color: var(--accent-deep); padding-top: .15rem; }

/* faq */
.faq { margin-top: 1.5rem; border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 2rem 1rem 0; font: 700 var(--step-1)/1.3 var(--display); font-stretch: 92%; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: .9rem; font: 500 1.3rem var(--mono); color: var(--accent-deep); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 1.1rem; color: var(--ink-2); max-width: 62ch; }

/* closer + form */
.closer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.closer > div > p { margin-top: 1rem; color: var(--ink-2); }
.contact-lines { list-style: none; margin-top: 1.5rem; border-top: 1px solid var(--rule); }
.contact-lines li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--rule); min-width: 0; overflow-wrap: anywhere; }
.contact-lines span { font: 500 var(--step--1) var(--mono); color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; padding-top: .15rem; }
.quote { background: #fff; border: 1.5px solid var(--ink); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1rem; box-shadow: 8px 8px 0 var(--rule); min-width: 0; }
.quote-h { font: 720 var(--step-2)/1.1 var(--display); font-stretch: 85%; }
.quote-sub { color: var(--ink-2); font-size: var(--step--1); margin-top: -.5rem; }
.field { display: grid; gap: .35rem; min-width: 0; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.field label { font-weight: 600; font-size: var(--step--1); }
.opt { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; font: 400 var(--step-0)/1.4 var(--body); color: var(--ink); background: var(--paper); border: 1.5px solid #9aa8b4; border-radius: var(--radius); padding: .65rem .75rem; min-height: 48px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 3px solid rgba(217, 72, 15, .25); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--accent-deep); }
.quote .btn { width: 100%; }
.form-note { font-size: var(--step--1); color: var(--ink-2); }
.form-note.is-error { color: var(--accent-deep); font-weight: 600; }
.form-note.is-done { color: var(--ok); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* page heads */
.crumbs { padding-top: 1rem; font: 500 var(--step--1) var(--mono); color: var(--ink-2); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--rule); }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.page-head { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--rule); }
.page-head .lede { margin-top: 1.1rem; }
.ph-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.price-card { border: 1.5px solid var(--ink); background: #fff; padding: 1.5rem; display: grid; gap: .5rem; box-shadow: 8px 8px 0 var(--tint); }
.pc-label { font: 500 var(--step--1) var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); }
.pc-price { font: 760 var(--step-3)/1 var(--display); font-stretch: 85%; font-variant-numeric: tabular-nums; }
.pc-note { color: var(--ink-2); font-size: var(--step--1); }
.pc-ex { list-style: none; border-top: 1px solid var(--rule); padding-top: .7rem; margin-top: .3rem; font-size: var(--step--1); color: var(--ink-2); display: grid; gap: .35rem; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); }
.two > div > p { margin-top: 1rem; }
.rel { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.rel a { display: grid; gap: .3rem; padding: 1rem; background: #fff; border: 1px solid var(--rule); text-decoration: none; height: 100%; }
.rel a:hover { border-color: var(--ink); }
.rel span { font: 500 var(--step--1) var(--mono); color: var(--ink-2); }

/* pricing */
.bundle { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.5rem; border: 1.5px solid var(--ink); background: #fff; box-shadow: 8px 8px 0 var(--tint); margin-bottom: 2.5rem; }
.bundle > div { min-width: 0; max-width: 40rem; }
.bundle p:not(.eyebrow) { color: var(--ink-2); margin-top: .4rem; }
.price-table-wrap { overflow-x: auto; margin-bottom: 2.5rem; }
.price-table { width: 100%; border-collapse: collapse; min-width: 36rem; }
.price-table th, .price-table td { text-align: left; padding: .9rem .75rem .9rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.price-table thead th { font: 500 var(--step--1) var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); border-bottom: 1.5px solid var(--ink); }
.price-table tbody th { font: 700 var(--step-0) var(--display); font-stretch: 92%; }
.price-table td { font-size: var(--step--1); color: var(--ink-2); }
.price-table td.num { font: 700 var(--step-0) var(--display); color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* areas */
.area-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; }
.area-card { border: 1px solid var(--rule); background: #fff; padding: 1.25rem; display: grid; gap: .5rem; align-content: start; }
.area-card:target { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }

/* guides + prose */
.guide-list { list-style: none; display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.guide-list a { display: grid; gap: .4rem; padding: 1.25rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.guide-list p { color: var(--ink-2); }
.guide-list a:hover .h3 { text-decoration: underline; text-decoration-color: var(--accent); }
.prose h2 { font: 720 var(--step-2)/1.15 var(--display); font-stretch: 88%; margin: 2.25rem 0 .75rem; }
.prose h2:first-child { margin-top: 0; }
.prose p + p { margin-top: 1rem; }
.prose .small { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.todo { margin-top: 1.25rem; padding: .75rem 1rem; border: 1.5px dashed var(--accent); color: var(--accent-deep); font: 500 var(--step--1) var(--mono); }

/* footer */
.site-foot { background: var(--ink); color: var(--on-ink-2); padding-block: 3.5rem 2rem; font-size: var(--step--1); }
.site-foot a { color: var(--on-ink); text-decoration-color: #556574; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.foot-grid ul { list-style: none; display: grid; gap: .45rem; }
.foot-grid p { margin-top: .9rem; }
.foot-h { font: 500 var(--step--1) var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--on-ink-2); margin-bottom: .8rem; }
.brand-foot { color: var(--on-ink); }
.brand-foot .mark rect { stroke: var(--on-ink-2); stroke-width: 1; }
.legal { border-top: 1px solid #334250; margin-top: 2.5rem; padding-top: 1.25rem; }
.legal p { max-width: 60rem; }
.float-cta { display: none; }

/* responsive */
@media (max-width: 64rem) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .head-phone { display: none; }
}
@media (max-width: 52rem) {
  .hero-grid, .why, .local, .ask, .closer, .ph-grid, .two { grid-template-columns: minmax(0, 1fr); }
  .routes { grid-template-columns: minmax(0, 1fr); }
  .route { border-left: 0; border-top: 1px solid var(--rule); }
  .route:first-child { border-top: 0; }
  .reg-row { grid-template-columns: minmax(0, 1fr) auto; gap: .3rem 1rem; }
  .reg-for { grid-column: 1 / -1; grid-row: 2; }
  .reg-head .reg-for, .reg-head span:nth-child(2) { display: none; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .nav-toggle { display: inline-flex; min-height: 40px; padding: .4rem .8rem; font: 600 var(--step--1) var(--body); background: none; border: 1.5px solid var(--ink); border-radius: var(--radius); color: var(--ink); cursor: pointer; }
  .nav ul { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--rule); padding: .5rem max(16px, env(safe-area-inset-right, 0px)) 1rem max(16px, env(safe-area-inset-left, 0px)); }
  .nav ul.is-open { display: flex; }
  .nav ul a { display: block; padding: .8rem 0; font-size: var(--step-0); border-bottom: 1px solid var(--rule); }
  .head-row { position: relative; }
  .head-cta .btn { display: none; }
  .float-cta { display: flex; position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 30; justify-content: center; align-items: center; min-height: 52px; border-radius: var(--radius); background: var(--accent); color: #fff; font: 650 var(--step-0) var(--body); text-decoration: none; box-shadow: 0 6px 18px rgba(20, 32, 43, .25); }
  .site-foot { padding-bottom: 6rem; }
}
@media (max-width: 34rem) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .rel { grid-template-columns: minmax(0, 1fr); }
  .title-block { grid-template-columns: 1fr 1fr; }
  .title-block span:nth-child(3) { border-left: 0; }
  .title-block span:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .area-list span { display: none; }
  .contact-lines li { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* Coverage map (drawn from Natural Earth; see scripts/coverage_map.py) */
.map { margin: 0; border: 1.5px solid var(--ink); background: #fff; }
.map svg { display: block; width: 100%; height: auto; }
.map figcaption { padding: .6rem .8rem; border-top: 1px solid var(--rule); }
.m-sea { fill: #d4e3ee; }
.m-land { fill: var(--paper); stroke: #9aa9b5; stroke-width: .8; stroke-linejoin: round; }
.m-fr { fill: #f1f3f4; }
.m-ring { fill: rgba(217, 72, 15, .045); stroke: var(--accent); stroke-width: 1.4; stroke-dasharray: 6 5; }
.md { fill: var(--ink-2); }
.md-on { fill: var(--accent); stroke: #fff; stroke-width: 1.2; }
.m-home { fill: var(--ink); stroke: var(--accent); stroke-width: 3; }
.ml { font: 500 11px var(--mono); fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round; }
.ml-home { font-weight: 500; font-size: 12px; }
.local .area-list { margin-top: 1.25rem; border: 1.5px solid var(--ink); background: #fff; columns: 2; column-gap: 0; }
.local .area-list li { break-inside: avoid; }
.local .area-list a { flex-direction: column; gap: 0; }
.local .area-list span { font-size: var(--step--1); color: var(--ink-2); }
.reg-group { margin-top: 2.25rem; font: 700 var(--step-1)/1.2 var(--display); }
.reg-group + .register { margin-top: .75rem; }
.ph-grid .map { align-self: start; }
@media (max-width: 52rem) { .local .area-list { columns: 1; } }
.stat-list { list-style: none; margin: .5rem 0 1rem; }
.stat-list li { padding: .6rem 0; border-bottom: 1px solid var(--rule); font-size: var(--step--1); color: var(--ink-2); }
.stat-list b { display: block; font: 700 var(--step-2)/1.1 var(--display); color: var(--ink); }

/* estimator */
.est { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; margin-top: 2rem; }
.est-form { display: grid; gap: 1.5rem; min-width: 0; }
.est-step { border: 0; border-top: 1.5px solid var(--ink); margin: 0; padding: 1rem 0 0; min-width: 0; display: grid; gap: 1rem; }
.est-step > legend { float: left; width: 100%; padding: 0; margin-bottom: .25rem; font: 700 var(--step-1)/1.25 var(--display); font-stretch: 92%; }
.est-step > legend span { font: 500 var(--step--1) var(--mono); color: var(--accent-deep); margin-right: .5rem; }
.est-jobs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .5rem; }
.est-opt { position: relative; display: flex; align-items: center; gap: .6rem; min-height: 48px; padding: .55rem .75rem; background: #fff; border: 1.5px solid var(--rule); border-radius: var(--radius); cursor: pointer; font-size: var(--step--1); font-weight: 550; line-height: 1.3; }
.est-opt input { flex: none; width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--accent); }
.est-opt:hover { border-color: #9aa8b4; }
.est-opt:has(input:checked) { border-color: var(--ink); box-shadow: inset 3px 0 0 var(--accent); }
.est-opt:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.est-q { border: 0; margin: 0; padding: 0; min-width: 0; }
.est-q legend { padding: 0; margin-bottom: .35rem; font-weight: 600; font-size: var(--step--1); }
.est-seg { display: flex; gap: .5rem; }
.est-seg .est-opt { flex: 1 1 0; justify-content: center; }
.est-step [hidden] { display: none; }
.est-out { background: #fff; border: 1.5px solid var(--ink); box-shadow: 8px 8px 0 var(--rule); padding: clamp(1.1rem, 3vw, 1.5rem); display: grid; gap: .75rem; min-width: 0; min-height: 30rem; align-content: start; position: sticky; top: 5rem; }
.est-route { font: 760 var(--step-2)/1.1 var(--display); font-stretch: 85%; margin-top: -.4rem; }
.est-table { width: 100%; border-collapse: collapse; font-size: var(--step--1); margin-top: .25rem; }
.est-table caption { text-align: left; font: 500 var(--step--1) var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); padding-bottom: .35rem; border-bottom: 1.5px solid var(--ink); }
.est-table th, .est-table td { text-align: left; padding: .5rem .5rem .5rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; font-weight: 600; }
.est-table td { text-align: right; padding-right: 0; white-space: nowrap; font: 700 var(--step-0) var(--display); font-variant-numeric: tabular-nums; }
.est-table th small { display: block; font-weight: 400; color: var(--ink-2); }
.est-table td small { font: 500 .75rem var(--mono); color: var(--ink-2); margin-right: .2rem; }
.est-table tfoot th, .est-table tfoot td { border-bottom: 0; font-size: var(--step-0); }
.est-table tfoot td { font-size: var(--step-1); color: var(--accent-deep); }
.est-council thead th { font: 500 .72rem var(--mono); text-transform: uppercase; color: var(--ink-2); padding-block: .35rem; }
.est-council thead th + th { text-align: right; }
.est-council td { font-size: var(--step--1); }
.est-council td[colspan] { white-space: normal; font: 400 var(--step--1) var(--body); color: var(--ink-2); }
.est-notes { list-style: none; display: grid; gap: .3rem; font-size: var(--step--1); color: var(--ink-2); border-top: 1px dashed var(--rule); padding-top: .6rem; }
.est-out .btn { width: 100%; }
.est-src { font-size: .78rem; color: var(--ink-2); overflow-wrap: anywhere; }
@media (max-width: 52rem) {
  .est { grid-template-columns: minmax(0, 1fr); }
  .est-out { position: static; min-height: 0; }
}
@media (max-width: 34rem) { .est-jobs { grid-template-columns: minmax(0, 1fr); } }
