@font-face { font-family: "Barlow Condensed"; src: url(assets/fonts/barlowcond-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow"; src: url(assets/fonts/barlow-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url(assets/fonts/barlow-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }

/* Utility-room section sheet: concrete grey paper, graphite line work, copper, one water blue */
:root {
  --paper: #d5d4cf; --paper-2: #e2e1dc; --paper-3: #ecebe6; --card: #f3f2ee;
  --ink: #212527; --ink-2: #444a4e; --ink-3: #52585c; --cu-text: #8a4520; --rule: #a9a8a2;
  --cu: #a8572a; --cu-hi: #bc6633; --cu-line: #b8652f; --cu-ink: #ffffff;
  --water: #2a78b6; --water-a: rgba(42, 120, 182, .42); --water-l: #6fb0dc;
  --soil: #c4bcae; --gravel: #cfcbc2; --conc: #c9c8c2; --wood: #d9cdb6;
  --room: #e8e7e2; --room-up: #dfddd6; --wall: #e6e4dd; --sky0: #9aa6ae; --sky1: #c3c8c8;
  --glass: #f0d47e; --led-g: #3fd27a; --led-r: #ff4d3a;
  --fd: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --ft: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fm: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --toph: 58px;
  color-scheme: light;
}
/* the power cut: the whole sheet goes dark */
html.off {
  --paper: #111416; --paper-2: #171b1e; --paper-3: #1b1f22; --card: #1d2125;
  --ink: #a7b0b5; --ink-2: #8d969b; --ink-3: #7d868b; --rule: #353b40;
  --soil: #23211e; --gravel: #2a2a28; --conc: #2b2d2e; --wood: #2c2a25;
  --room: #16191b; --room-up: #14171a; --wall: #1d2023; --sky0: #0d1114; --sky1: #1a2025;
  --glass: #232a30; --water-a: rgba(64, 150, 220, .55);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--toph) + 8px); background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--ft); overflow-x: clip;
  background-image: radial-gradient(rgba(0,0,0,.05) .7px, transparent .8px), radial-gradient(rgba(255,255,255,.18) .6px, transparent .7px);
  background-size: 7px 7px, 11px 11px; background-position: 0 0, 3px 5px; transition: background-color .5s ease, color .5s ease; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--fd); font-weight: 700; line-height: 1; margin: 0; letter-spacing: 0; text-wrap: balance; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--water); outline-offset: 2px; }
[hidden] { display: none !important; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.demo { background: #1b1f21; color: #c9cdcf; font-size: 12.5px; line-height: 1.35; padding: 7px 16px; }
.exr { text-align: center; }
.exr a { color: inherit; text-decoration: none; }
.exr u { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 560px) { .exr__sep { display: none; } .exr__b { display: block; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 20px; border-radius: 6px; border: 2px solid transparent; font: 600 16.5px/1.1 var(--ft); text-decoration: none; cursor: pointer; text-align: center; transition: background-color .15s ease, transform .15s ease; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--cu { background: var(--cu); color: var(--cu-ink); }
.btn--dark { background: #212527; color: #fff; }
.btn--line { border-color: var(--ink); background: transparent; color: var(--ink); }
@media (hover: hover) { .btn--cu:hover { background: #9a4d22; } .btn--dark:hover { background: #33393c; } .btn--line:hover { background: rgba(0,0,0,.05); } }

/* ---------- top bar */
.top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 12px; min-height: var(--toph); padding: 7px 16px; padding-top: calc(7px + env(safe-area-inset-top, 0px)); background: color-mix(in srgb, var(--paper) 93%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1.5px solid var(--ink); transition: background-color .5s ease, border-color .5s ease; }
.logo { display: flex; align-items: center; gap: 9px; margin-right: auto; text-decoration: none; min-height: 44px; }
.logo svg { width: 30px; height: 30px; color: var(--cu-line); flex: none; }
.logo span { display: grid; line-height: 1.02; }
.logo b { font: 700 21px/1 var(--fd); letter-spacing: .01em; }
.logo small { font-size: 11.5px; color: var(--ink-3); }
.nav { display: none; }
.top__call { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 12px; border-radius: 6px; background: var(--cu); color: #fff; text-decoration: none; font-weight: 600; }
.top__call svg { width: 17px; height: 17px; }
.top__num { display: none; }
.top__call em { font-style: normal; font: 700 15px/1 var(--fd); letter-spacing: .03em; }

/* ---------- sight-glass nav (laptop) */
.gauge { display: none; }

/* ---------- drawing primitives (shared by all SVGs) */
.ln { stroke: var(--ink); stroke-width: 1.4; fill: none; }
.ln--b { stroke-width: 2.2; }
.ln--t { stroke-width: 1; }
.ln--flue { stroke-width: 7; stroke: var(--ink-3); opacity: .6; }
.hatch { stroke: var(--ink); stroke-width: .8; opacity: .28; }
.hatch--w { opacity: .22; }
.dot { fill: var(--ink); opacity: .4; }
.tri { fill: none; stroke: var(--ink); stroke-width: .7; opacity: .4; }
.grav { fill: none; stroke: var(--ink); stroke-width: .8; opacity: .45; }
.siding { stroke: var(--ink); stroke-width: .6; opacity: .3; }
.shing { stroke: var(--ink); stroke-width: .6; fill: none; opacity: .35; }
.rustl { stroke: #5b3a22; stroke-width: 1.2; opacity: .5; }
.silt { fill: #7b6a52; opacity: .7; }
.rain { stroke: #45637a; stroke-width: 1.3; stroke-linecap: round; opacity: .7; }
html.off .rain { stroke: #7fa7c6; }
.sky0 { stop-color: var(--sky0); } .sky1 { stop-color: var(--sky1); }
.arrow { fill: var(--ink); }
.soil { fill: var(--soil); } .gravbg { fill: var(--gravel); } .conc { fill: var(--conc); } .wood { fill: var(--wood); }
.room { fill: var(--room); } .room--up { fill: var(--room-up); } .wall { fill: var(--wall); }
.roof { fill: #8b9196; } html.off .roof { fill: #202427; }
.gutter { stroke: var(--ink); stroke-width: 3; }
.door { fill: #8a6a4e; stroke: var(--ink); stroke-width: 1.4; }
.win rect { fill: var(--glass); stroke: var(--ink); stroke-width: 1.4; transition: fill .4s ease; }
.glass { fill: #d9e3e6; transition: fill .4s ease; }
.appl { fill: var(--card); stroke: var(--ink); stroke-width: 1.4; }
.copper { stroke: var(--cu-line); stroke-width: 4; fill: none; stroke-linejoin: round; }
.copper--t { stroke-width: 2.4; }
.valvebow { fill: var(--cu-line); stroke: var(--ink); stroke-width: .8; }
.pit { fill: var(--paper-3); stroke: var(--ink); stroke-width: 2.4; }
.water { fill: var(--water-a); }
.water--floor { opacity: 0; }
.surf { stroke: var(--water); stroke-width: 2; }
.pump { fill: var(--card); stroke: var(--ink); stroke-width: 1.6; }
.pump--bk { fill: #dfe7ec; }
html.off .pump--bk { fill: #22303a; }
.pump-old { fill: #8a8174; stroke: var(--ink); stroke-width: 1.6; }
.block { fill: var(--conc); stroke: var(--ink); stroke-width: 1; }
.pipe-o { stroke: var(--ink); stroke-width: 8.5; fill: none; stroke-linejoin: round; }
.pipe-i { stroke: var(--card); stroke-width: 5.5; fill: none; stroke-linejoin: round; }
.pipe-old { stroke: #6c6a66; stroke-width: 6; fill: none; stroke-linejoin: round; }
.valve { fill: var(--card); stroke: var(--ink); stroke-width: 1.5; }
.float { fill: #f2b544; stroke: var(--ink); stroke-width: 1; }
.flow { stroke: var(--water); stroke-width: 3; fill: none; stroke-dasharray: 5 9; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.flow--in { stroke-width: 2.2; stroke-dasharray: 3 7; }
.run .flow, .flow.on { opacity: 1; animation: flow .7s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.tile { fill: var(--card); stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: 2 2; }
.wt { stroke: var(--water); stroke-width: 1.4; stroke-dasharray: 8 5; fill: none; }
.wt-sym { fill: none; stroke: var(--water); stroke-width: 1.2; }
.grass { stroke: #61724e; stroke-width: 4; stroke-dasharray: 1 3; }
html.off .grass { stroke: #2e3a28; }
.shrub { fill: #8c9a7a; stroke: var(--ink); stroke-width: 1.2; }
html.off .shrub { fill: #232a20; }
.splashblk { fill: var(--conc); }
.splash path { stroke: var(--water); stroke-width: 2; stroke-linecap: round; fill: none; }
.splash { opacity: 0; transition: opacity .2s ease; }
.splash.on { opacity: 1; }
.lead { stroke: var(--ink); stroke-width: 1; fill: none; }
.t-call { font: 600 13px var(--fm); fill: var(--ink); letter-spacing: .04em; }
.t-tiny { font: 600 9px var(--fm); fill: var(--ink-2); letter-spacing: .05em; }
.t-tiny--inv { fill: #f3f1ea; }
.t-lcd { font: 700 9.5px var(--fm); fill: #19361f; }
.lcd { fill: #a9d9b0; stroke: var(--ink); stroke-width: .8; }
html.off .lcd { fill: #6ff59a; } html.off .t-lcd { fill: #06210f; }
.t-dim { font: 600 11px var(--fm); fill: var(--ink); }
.t-sheet { font: 600 10px var(--fm); fill: var(--ink-3); letter-spacing: .08em; }
.dim path { stroke: var(--ink); stroke-width: 1; fill: none; }
.battbox { fill: #39424a; stroke: var(--ink); stroke-width: 1.4; }
.battbox + path { stroke: #9aa6ae; }
[data-batt] .t-tiny { fill: #e5e8ea; }
.ctrl { fill: var(--card); stroke: var(--ink); stroke-width: 1.4; }
.led { fill: #7b8a80; }
.led.on { fill: var(--led-g); filter: drop-shadow(0 0 4px var(--led-g)); }
.led--red.on { fill: var(--led-r); filter: drop-shadow(0 0 5px var(--led-r)); }
.cable { stroke: #2f3436; stroke-width: 1.6; fill: none; }
.cord { stroke: #2f3436; stroke-width: 1.6; fill: none; }
html.off .cable, html.off .cord { stroke: #4f575c; }
.outlet { fill: var(--card); stroke: var(--ink); stroke-width: 1.2; }
.lid { fill: #5a6268; stroke: var(--ink); stroke-width: 1.2; }
.wifi path { stroke: var(--water); stroke-width: 1.6; fill: none; stroke-linecap: round; }
.bulb { fill: #fff3c8; stroke: var(--ink); stroke-width: 1.2; }
.bulb.dark { fill: #3b4044; }
.balloons path { stroke: var(--ink); stroke-width: 1; fill: none; }
.balloons circle { fill: var(--card); stroke: var(--ink); stroke-width: 1.4; }
.balloons text { font: 700 11px var(--fm); fill: var(--ink); text-anchor: middle; }
.balloons g { opacity: 0; transition: opacity .3s ease; }
.balloons g.on { opacity: 1; }
html.off .bg-appl { opacity: .5; }

.hose { stroke: #3f6b3a; stroke-width: 4.5; fill: none; stroke-linecap: round; }
.hosew { stroke-width: 3; }
.t-state { font: 700 10.5px var(--fm); fill: var(--ink-2); letter-spacing: .06em; }
.t-state.run { fill: var(--water); }
html.off .t-state.run { fill: #7fc4ff; }
.t-state.alarm { fill: #c62d1f; }
.night { fill: #2a3540; opacity: 0; transition: opacity .4s ease; }
.badge { justify-self: start; font: 600 12px/1 var(--fm); text-transform: uppercase; letter-spacing: .07em; color: var(--cu-text); border: 1.5px solid var(--cu-text); border-radius: 4px; padding: 5px 7px 4px; }
.est__rot { font-size: 13.5px; color: var(--ink-2); font-weight: 600; margin-top: -4px; }
.job__ticks { display: flex; gap: 3px; margin: 2px 0 1px; }
.job__ticks i { flex: 1; height: 4px; background: var(--rule); border-radius: 1px; }
.job__ticks i.d { background: var(--ink-3); }
.job__ticks i.n { background: var(--cu); }
html.off body { background-image: radial-gradient(rgba(255,255,255,.035) .7px, transparent .8px); }

/* ---------- hero */
.hero { position: relative; display: grid; grid-template-rows: auto auto; }
.hero__art { position: relative; height: clamp(220px, 43svh, 420px); overflow: hidden; border-bottom: 1.5px solid var(--ink); background: var(--sky1); }
.hero__svg { width: 100%; height: 100%; }
.hero__svg [data-plane] { will-change: transform; }
.hero__text { padding: 16px 16px 26px; display: grid; gap: 11px; align-content: start; }
.hero h1 { font-size: clamp(33px, 9.3vw, 40px); line-height: .98; }
.hero__lead { color: var(--ink-2); font-size: 16.5px; line-height: 1.45; }
.hero__cta { display: grid; gap: 9px; margin-top: 3px; }
.hero__cta .btn { width: 100%; min-height: 50px; }
.hero__note { font-size: 13.5px; color: var(--ink-3); }

/* ---------- two short lines before the job */
.ask { padding: 54px 16px 58px; background: var(--paper-2); border-bottom: 1.5px solid var(--ink); border-top: 0; display: grid; gap: 22px; }
.ask h2 { font-size: clamp(46px, 13.5vw, 120px); line-height: .92; display: grid; }
.ask h2 span:nth-child(2) { color: var(--water); }
.ask__row { display: grid; gap: 14px; max-width: 640px; font-size: 18px; color: var(--ink-2); }
.ask__row .btn { justify-self: start; }
[data-rise] { transform: translateY(26px); opacity: 0; transition: transform .7s cubic-bezier(.2,.7,.2,1), opacity .7s ease; }
[data-rise].in { transform: none; opacity: 1; }

/* ---------- PEAK */
.job { position: relative; height: 760svh; }
.job__pin { position: sticky; top: var(--toph); height: calc(100svh - var(--toph)); display: grid; grid-template-rows: 56% 44%; overflow: hidden; }
.job__art { position: relative; min-height: 0; border-bottom: 1.5px solid var(--ink); background: var(--paper-3); transition: background-color .5s ease; }
.job__svg { width: 100%; height: 100%; }
.job__panel { padding: 12px 16px 12px; display: grid; align-content: start; gap: 7px; min-height: 0; overflow: hidden; }
.job__k { font: 600 11.5px/1.3 var(--fm); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.job__clock { font: 600 15px var(--fm); color: var(--ink-2); display: flex; gap: 8px; align-items: baseline; }
.job__clock b { font: 700 26px/1 var(--fm); color: var(--ink); }
.job h2 { font-size: clamp(25px, 7vw, 32px); line-height: 1; }
.job__x { font-size: 15.5px; line-height: 1.42; color: var(--ink-2); min-height: 3.6em; }
.job__meters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 2px 0 0; }
.job__meters div { border-top: 1.5px solid var(--ink); padding-top: 5px; min-width: 0; }
.job__meters dt { font: 600 10.5px/1.2 var(--fm); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); }
.job__meters dd { margin: 2px 0 0; font: 700 20px/1.1 var(--fm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.job__steps { display: none; }
@media (min-width: 1024px) { .job__ticks { display: none; } }
.job__sample { font-size: 12.5px; color: var(--ink-3); }
.job__skip { justify-self: start; font-size: 14.5px; color: var(--ink-2); min-height: 32px; display: inline-flex; align-items: center; }
html.off .job__meters dd[data-m3], html.off [data-m2] { color: #7fc4ff; }
html.off .job__clock b { color: #e8eef1; }
html.off .job h2 { color: #e8eef1; }
.job__art .flood-note { display: none; }

/* ---------- section heads */
.head { display: grid; gap: 10px; padding: 0 16px; max-width: 1180px; margin: 0 auto 22px; }
.head h2 { font-size: clamp(34px, 9.5vw, 58px); }
.head p { color: var(--ink-2); max-width: 680px; }

/* ---------- estimator */
.est { padding: 60px 0 56px; background: var(--paper); }
.est__grid { display: grid; gap: 18px; padding: 0 16px; max-width: 1180px; margin: 0 auto; }
.est__in { display: grid; gap: 18px; }
.q { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.q legend, .seg legend { font: 700 21px/1.1 var(--fd); padding: 0; margin-bottom: 8px; }
.opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--rule); border-radius: 6px; background: var(--card); cursor: pointer; min-height: 56px; }
.opt input, .chk input { width: 24px; height: 24px; margin: 0; accent-color: var(--cu); flex: none; }
.opt span { display: grid; line-height: 1.25; }
.opt small { color: var(--ink-3); font-size: 14px; }
.opt:has(input:checked) { border-color: var(--ink); box-shadow: inset 4px 0 0 var(--cu); }
.seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 6px; border: 0; padding: 0; margin: 0; }
.seg label { flex: 1 1 auto; position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 12px; border: 1.5px solid var(--rule); border-radius: 6px; background: var(--card); font-weight: 600; font-size: 15.5px; text-align: center; line-height: 1.15; }
.seg input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper-3); }
.seg input:focus-visible + span { outline: 3px solid var(--water); outline-offset: 2px; }
.seg input:disabled + span { opacity: .4; text-decoration: line-through; }
.q--checks { grid-template-columns: 1fr; }
.chk { display: flex; gap: 11px; align-items: flex-start; min-height: 44px; padding: 10px 0; cursor: pointer; border-bottom: 1px solid var(--rule); }
.chk span { display: grid; line-height: 1.3; }
.chk small { color: var(--ink-3); font-size: 14px; }
.est__mini { position: sticky; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 5; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 10px; padding: 9px 14px; border-radius: 6px; background: var(--ink); color: var(--paper-3); text-decoration: none; box-shadow: 0 8px 20px rgba(0,0,0,.25); min-height: 56px; }
.est__mini span { font: 600 11px var(--fm); text-transform: uppercase; letter-spacing: .06em; opacity: .8; grid-column: 1; }
.est__mini b { font: 700 19px var(--fm); grid-column: 1; }
.est__mini em { font-style: normal; font-weight: 600; font-size: 14.5px; grid-column: 2; grid-row: 1 / span 2; text-decoration: underline; }
.est__out { background: var(--card); border: 1.5px solid var(--ink); border-radius: 6px; padding: 16px; display: grid; gap: 12px; align-content: start; }
.est__k { font: 600 12px var(--fm); text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); }
.est__range { font: 700 clamp(26px, 7.6vw, 34px)/1 var(--fm); letter-spacing: -.02em; white-space: nowrap; }
.bom { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.bom th { text-align: left; font: 600 11px var(--fm); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); padding: 6px 0; border-bottom: 1.5px solid var(--ink); }
.bom td { padding: 7px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.bom th:nth-child(n+2), .bom td:nth-child(n+2) { text-align: right; font-family: var(--fm); font-size: 13.5px; white-space: nowrap; padding-left: 10px; }
.bom tfoot td { border-bottom: 0; font-weight: 600; }
.bom tfoot tr.tot td { border-top: 1.5px solid var(--ink); font-size: 16px; }
.est__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 14.5px; color: var(--ink-2); }
.est__facts li { padding-left: 16px; position: relative; }
.est__facts li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 2px; background: var(--water); }
.est__facts b { color: var(--ink); }
.sample { font-size: 13px; color: var(--ink-3); border-left: 3px solid var(--cu-line); padding-left: 10px; }
.est__cta { display: grid; gap: 9px; }

/* ---------- water heaters */
.wh { padding: 60px 0 56px; background: var(--paper-2); border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
.wh__tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px; max-width: 1180px; margin: 0 auto 16px; }
.wh__tabs button { min-height: 44px; padding: 0 14px; border-radius: 6px; border: 1.5px solid var(--rule); background: var(--card); font-weight: 600; font-size: 15px; cursor: pointer; }
.wh__tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper-3); border-color: var(--ink); }
.wh__stage { max-width: 1180px; margin: 0 auto; padding: 0 16px; display: grid; gap: 14px; }
.wh__row { display: flex; align-items: flex-end; gap: 14px; padding: 16px 6px 0; border-bottom: 2px solid var(--ink); background: linear-gradient(var(--rule), var(--rule)) 0 100%/100% 1px no-repeat; overflow: hidden; }
.tank { display: grid; justify-items: center; gap: 6px; flex: 1 1 0; min-width: 0; }
.tank svg { width: 100%; max-width: 110px; height: auto; overflow: visible; }
.tank b { font: 700 19px var(--fd); }
.tank code { font: 600 11.5px var(--fm); color: var(--ink-2); overflow-wrap: anywhere; text-align: center; }
.wh__note { font-size: 15px; color: var(--ink-2); }
.wh__foot { max-width: 1180px; margin: 20px auto 0; padding: 0 16px; }
.sv__wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* ---------- services schedule */
.sv { padding: 60px 0 56px; }
.sched { width: 100%; border-collapse: collapse; }
.sched thead { display: none; }
.sched tr { display: grid; grid-template-columns: 40px 1fr auto; column-gap: 10px; padding: 14px 0; border-top: 1.5px solid var(--ink); }
.sched tbody tr:last-child { border-bottom: 1.5px solid var(--ink); }
.sched td:first-child { font: 600 13px var(--fm); color: var(--ink-3); padding-top: 4px; grid-row: span 2; }
.sched th[scope=row] { text-align: left; font: 700 23px/1.05 var(--fd); }
.sched td:nth-child(3) { grid-column: 2; color: var(--ink-2); font-size: 15.5px; margin-top: 4px; }
.sched td:last-child { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
.sched td:last-child a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--ink); border-radius: 6px; font-weight: 600; text-decoration: none; font-size: 15px; }
.about { max-width: 1180px; margin: 26px auto 0; padding: 0 16px; display: grid; gap: 14px; }
.about p { color: var(--ink-2); }
.about b { color: var(--ink); }
.slot { background: var(--card); border: 1.5px solid var(--ink); border-radius: 6px; padding: 14px 16px; box-shadow: inset 5px 0 0 var(--cu); }

/* ---------- request */
.rq { padding: 60px 0 60px; background: var(--paper-2); border-top: 1.5px solid var(--ink); }
.rq__grid { display: grid; gap: 22px; padding: 0 16px; max-width: 1180px; margin: 0 auto; }
.form { display: grid; gap: 14px; }
.fld { display: grid; gap: 6px; min-width: 0; }
.fld > span { font-weight: 600; font-size: 15px; }
.fld small { font-weight: 400; color: var(--ink-3); }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 50px; border: 1.5px solid var(--ink-3); border-radius: 6px; background: var(--card); padding: 10px 12px; font-size: 16.5px; }
.fld textarea { min-height: 90px; resize: vertical; }
.fld[data-bad] input { border-color: #b3261e; box-shadow: 0 0 0 2px rgba(179, 38, 30, .2); }
.seg--wide legend { font: 600 15px var(--ft); margin-bottom: 6px; }
.form .chk { border: 0; }
.form__err { color: #9c1f17; font-weight: 600; }
.form__priv { font-size: 13.5px; color: var(--ink-3); grid-column: 1 / -1; }
.form .btn { width: 100%; }
.tag { margin: 0; position: relative; display: grid; justify-items: center; align-content: start; min-height: 500px; }
.tag__pipe { position: absolute; top: 0; bottom: 0; left: 50%; width: 46px; margin-left: -23px; background: var(--card); border-left: 2px solid var(--ink); border-right: 2px solid var(--ink); }
.tag__zip { position: absolute; left: -10px; right: -10px; top: 62px; height: 8px; border-radius: 4px; background: #1c1f21; }
.tag__string { position: absolute; left: 50%; top: 68px; width: 2px; height: 30px; margin-left: -1px; background: #6a6255; }
.tag__card { position: relative; margin-top: 92px; width: min(290px, 100%); background: #e9d9a6; color: #2b2410; border-radius: 10px 10px 6px 6px; padding: 30px 18px 18px; box-shadow: 0 10px 24px rgba(0,0,0,.18); transform-origin: 50% 0; transform: rotate(-2.5deg); display: grid; gap: 6px; }
.tag__hole { position: absolute; top: 9px; left: 50%; width: 15px; height: 15px; margin-left: -7.5px; border-radius: 50%; background: var(--paper-2); box-shadow: 0 0 0 4px #b07a3c; }
.tag__h { font: 700 15px var(--fd); letter-spacing: .06em; text-transform: uppercase; text-align: center; }
.tag__no { font: 700 25px var(--fm); text-align: center; border-top: 1.5px dashed #6f5f30; border-bottom: 1.5px dashed #6f5f30; padding: 4px 0; }
.tag__no.stamped { color: #8b1e14; }
.tag dl { margin: 4px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; font-size: 14px; }
.tag dt { font: 600 11px/1.6 var(--fm); text-transform: uppercase; color: #6a5a2e; }
.tag dd { margin: 0; font-weight: 600; }
.tag__s { font-size: 12.5px; color: #6a5a2e; text-align: center; margin-top: 4px; }
.thanks { border: 1.5px solid var(--ink); border-radius: 6px; padding: 16px; background: var(--card); display: grid; gap: 8px; }
.thanks h3 { font-size: 28px; }
.thanks__demo { font-size: 14.5px; color: var(--ink-2); }

.area { padding: 46px 16px 50px; max-width: 1180px; margin: 0 auto; display: grid; gap: 14px; }
.area h2 { font-size: clamp(30px, 8vw, 44px); }
.towns { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.towns li { border-bottom: 1px solid var(--rule); padding: 8px 0; font-weight: 600; font-size: 16px; }
.towns li:first-child { color: var(--cu-text); }
.area > p { color: var(--ink-2); }

.foot { background: #1b1f21; color: #d4d8da; padding: 34px 16px calc(92px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 18px; }
.foot h2 { font-size: 25px; color: #fff; }
.foot p { color: #b3babd; font-size: 15px; }
.foot__c { display: grid; gap: 6px; }
.foot__c a { overflow-wrap: anywhere; }
.foot__tel { font: 700 30px var(--fd); color: #fff; text-decoration: none; }
.foot .foot__fic { font-size: 13px; color: #9aa1a5; }
.credit { font-size: 13px; }
.credit a { color: #b3babd; }

/* ---------- bottom bar (phones) */
.bar { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--paper) 94%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 1.5px solid var(--ink); transition: transform .3s ease; }
.bar .btn { min-height: 48px; }
.bar[data-hide] { transform: translateY(110%); }

@media (max-height: 700px) and (max-width: 700px) {
  .hero__art { height: 35svh; }
  .hero h1 { font-size: 31px; }
  .hero__lead { font-size: 15.5px; }
  .hero__text { gap: 8px; padding-top: 12px; }
  .job__pin { grid-template-rows: 50% 50%; }
  .job__sample { display: none; }
  .job__x { font-size: 14.5px; min-height: 0; }
  .job h2 { font-size: 23px; }
}

/* ---------- laptop */
@media (min-width: 760px) {
  .top { padding-left: 28px; padding-right: 28px; }
  .top__num { display: inline; }
  .top__call em { background: rgba(255,255,255,.18); border-radius: 4px; padding: 3px 6px 2px; }
  .hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
  .hero__cta .btn { width: auto; white-space: nowrap; }
  .ask { padding: 90px 40px; grid-template-columns: 1.4fr 1fr; align-items: end; }
  .est__cta { grid-template-columns: 1fr 1fr; }
  .sched td:nth-child(3) { font-size: 16.5px; }
  .towns { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bar { display: none; }
  .foot { grid-template-columns: 1.2fr 1fr; padding: 48px 40px; }
  .credit { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  :root { --toph: 64px; }
  .nav { display: flex; gap: 4px; margin-right: 10px; }
  .nav a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 11px; border-radius: 5px; }
  .nav a:hover { background: rgba(0,0,0,.06); }
  .hero { grid-template-rows: none; grid-template-columns: minmax(440px, 45%) 1fr; min-height: calc(100svh - var(--toph) - 30px); }
  .hero__art { order: 2; height: auto; border-bottom: 0; border-left: 1.5px solid var(--ink); }
  .hero__text { order: 1; align-content: center; padding: 40px 48px 56px 96px; gap: 18px; }
  .hero h1 { font-size: clamp(52px, 4.4vw, 80px); }
  .hero__lead { font-size: 19.5px; max-width: 30em; }
  .hero__note { font-size: 14.5px; }
  .job { height: 700vh; }
  .job__pin { grid-template-rows: none; grid-template-columns: 1fr minmax(360px, 34%); padding-left: 72px; }
  .job__art { border-left: 1.5px solid var(--ink); }
  .job__art { border-bottom: 0; border-right: 1.5px solid var(--ink); }
  .job__panel { padding: 30px 36px; align-content: center; gap: 12px; }
  .job__clock b { font-size: 34px; }
  .job h2 { font-size: 36px; }
  .job__x { font-size: 17px; min-height: 4.4em; }
  .job__meters dd { font-size: clamp(18px, 1.45vw, 25px); }
  .job__steps { display: grid; list-style: none; margin: 6px 0 0; padding: 0; gap: 0; counter-reset: s; }
  .job__steps li { display: grid; grid-template-columns: 76px 1fr; gap: 8px; font-size: 14px; color: var(--ink-2); padding: 4px 0; border-top: 1px solid var(--rule); line-height: 1.25; }
  .job__steps li span { font: 600 12px/1.5 var(--fm); }
  .job__steps li[data-done] { color: var(--ink); }
  .job__steps li[data-now] { color: var(--ink); font-weight: 600; }
  .job__steps li[data-now] span { color: var(--cu-text); }
  html.off .job__steps li[data-now] span { color: #e39a66; }
  html.off .job__steps li[data-now] { color: #e8eef1; }
  .head { padding: 0 40px 0 96px; margin-bottom: 30px; }
  .ask { padding: 96px 48px 96px 96px; }
  .est__grid { grid-template-columns: 1fr minmax(380px, 44%); gap: 40px; padding: 0 40px 0 96px; align-items: start; }
  .est__mini { display: none; }
  .est__out { position: sticky; top: calc(var(--toph) + 16px); padding: 22px; }
  .est__range { font-size: 44px; }
  .q--checks { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .wh__tabs, .wh__stage { padding: 0 40px 0 96px; }
  .wh__row { gap: 40px; padding: 26px 40px 0; justify-content: flex-start; }
  .tank { flex: 0 1 170px; }
  .wh__row { justify-content: space-evenly; }
  .tank svg { max-width: 150px; }
  .wh__foot, .sv__wrap { padding: 0 40px 0 96px; }
  .sched thead { display: table-header-group; }
  .sched thead tr { display: grid; grid-template-columns: 70px 330px 1fr 100px; border-top: 0; padding: 0 0 8px; }
  .sched thead th { text-align: left; font: 600 11.5px var(--fm); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
  .sched tbody tr { grid-template-columns: 70px 330px 1fr 100px; align-items: baseline; padding: 18px 0; }
  .sched td:first-child { grid-row: auto; }
  .sched td:nth-child(3) { grid-column: auto; margin: 0; }
  .sched td:last-child { grid-column: auto; grid-row: auto; justify-self: end; }
  .about { grid-template-columns: 1.3fr 1fr; padding: 0 40px 0 96px; gap: 30px; align-items: start; }
  .rq__grid { grid-template-columns: 1fr 380px; gap: 56px; padding: 0 40px 0 96px; align-items: start; }
  .form { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .fld--wide, .seg--wide, .form__err, .form .btn, .form .chk { grid-column: 1 / -1; }
  .form .btn { width: auto; justify-self: start; padding: 0 32px; }
  .tag { position: sticky; top: calc(var(--toph) + 10px); }
  .thanks { grid-column: 1; }
  .area { padding: 64px 40px 70px 96px; max-width: none; }
  .foot { padding: 56px 40px 56px 96px; }
  /* sight-glass nav */
  .gauge { display: block; position: fixed; z-index: 35; left: 26px; top: calc(var(--toph) + 40px); bottom: 40px; width: 14px; }
  .gauge__tube { position: absolute; inset: 0; border: 1.5px solid var(--ink); border-radius: 8px; background: color-mix(in srgb, var(--card) 70%, transparent); overflow: hidden; }
  .gauge__water { position: absolute; left: 0; right: 0; bottom: 0; height: 100%; background: var(--water-a); border-top: 2px solid var(--water); }
  .gauge__float { position: absolute; left: 1px; right: 1px; height: 6px; top: 0; background: #f2b544; border: 1px solid var(--ink); border-radius: 2px; }
  .gauge ol { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
  .gauge li { position: absolute; left: -6px; width: 26px; height: 2px; }
  .gauge li::before { content: ""; position: absolute; left: 0; top: 0; width: 26px; height: 1.5px; background: var(--ink); }
  .gauge a { position: absolute; left: -6px; top: -13px; width: 38px; height: 28px; display: block; }
  .gauge a span { position: absolute; left: 42px; top: 4px; white-space: nowrap; font: 600 11.5px var(--fm); text-transform: uppercase; letter-spacing: .05em; background: var(--ink); color: var(--paper-3); padding: 3px 7px; border-radius: 3px; opacity: 0; transform: translateX(-4px); transition: opacity .15s ease, transform .15s ease; pointer-events: none; }
  .gauge a:hover span, .gauge a:focus-visible span, .gauge li[data-now] a span { opacity: 1; transform: none; }
}
@media (min-width: 1500px) {
  .hero__text { padding-left: 120px; }
  .job__panel { padding: 40px 56px; }
  .job__art { display: grid; place-items: center; padding: 26px 30px; }
  .job__svg { max-width: 1060px; max-height: 880px; border: 1.5px solid var(--ink); box-shadow: 0 0 0 6px var(--paper-3), 0 0 0 7.5px var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  [data-rise] { transform: none; opacity: 1; }
  .run .flow, .flow.on { animation: none; opacity: 1; }
}
