/* ECW Plumbing preview
   Concept: a misty Pacific Northwest morning in Eatonville. Light mist sections, deep forest sections,
   copper for anything you press (and the pipe that draws itself), icy blue only for freezing nights.
   Colors nod to his logo: forest-green roof, warm brass house. Type: Young Serif / Onest / Spline Sans Mono. */

/* Fonts are self-hosted (latin subset from Google Fonts, OFL) so no page waits on a third-party server */
@font-face { font-family: 'Young Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/young-serif.woff2) format('woff2'); }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/onest.woff2) format('woff2'); }
@font-face { font-family: 'Spline Sans Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(/fonts/spline-mono.woff2) format('woff2'); }

:root {
  --mist: #e9efea;
  --mist-2: #dfe7e1;
  --card: #ffffff;
  --ink: #15211a;
  --ink-2: #4a584f;
  --ink-3: #5a675e;
  --line: #d3ddd6;
  --forest: #15251c;
  --forest-2: #1e3428;
  --forest-3: #2d4335;
  --line-f: #2f4739;
  --text-f: #edf2ee;
  --text-f2: #a9bcb0;
  --copper: #c47a45;
  --copper-2: #e3a46e;
  --copper-3: #8c4f27;
  --brass: #d8c26a;
  --ice: #7cc4ff;
  --ice-2: #d9efff;
  --ok: #2f8f5b;
  --error: #c0392b;

  --display: 'Young Serif', Georgia, serif;
  --text: 'Onest', system-ui, sans-serif;
  --mono: 'Spline Sans Mono', ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: 16px;
  --max: 1240px;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--mist); color: var(--ink); font-family: var(--text); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-wrap: balance; letter-spacing: -0.01em; }
p, li { text-wrap: pretty; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--forest); color: #fff; padding: 8px 12px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.preview-bar { padding: 8px var(--gutter); background: var(--forest); color: var(--text-f2); font-size: 0.75rem; text-align: center; }
.preview-bar strong { color: var(--copper-2); }
.eyebrow { font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--copper-3); }

/* Buttons */
.btn {
  --bg: var(--forest); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 22px; border: 0; border-radius: 12px;
  background: var(--bg); color: var(--fg); font-family: var(--text); font-weight: 650; font-size: 1rem;
  text-decoration: none; cursor: pointer; touch-action: manipulation;
  transition: transform 160ms var(--ease), background-color 200ms ease, box-shadow 200ms ease;
}
.btn i { font-size: 1.15rem; }
.btn:active { transform: scale(0.97); }
.btn-copper { --bg: linear-gradient(180deg, #d58a54, var(--copper) 55%, #a8612f); background: var(--bg); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 24px -12px rgba(140, 79, 39, 0.8); }
@media (hover: hover) and (pointer: fine) { .btn-copper:hover { filter: brightness(1.06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 14px 30px -12px rgba(140, 79, 39, 0.9); } }
.btn-forest { --bg: var(--forest); }
@media (hover: hover) and (pointer: fine) { .btn-forest:hover { --bg: var(--forest-3); } }
.btn-line { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); background: rgba(255, 255, 255, 0.5); }
@media (hover: hover) and (pointer: fine) { .btn-line:hover { background: #fff; } }
.btn-line-light { --bg: transparent; box-shadow: inset 0 0 0 1.5px rgba(237, 242, 238, 0.35); }
@media (hover: hover) and (pointer: fine) { .btn-line-light:hover { --bg: rgba(255, 255, 255, 0.07); } }
.btn-sm { min-height: 42px; padding: 8px 16px; font-size: 0.9375rem; }
.btn-block { width: 100%; }
.btn.is-loading { color: transparent; pointer-events: none; }
.btn.is-loading::after { content: ''; position: absolute; width: 18px; height: 18px; border: 2px solid #fff; border-right-color: transparent; border-radius: 50%; animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link-btn { min-height: 44px; border: 0; background: none; cursor: pointer; color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 60; background: rgba(233, 239, 234, 0.82); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid transparent; transition: border-color 250ms ease; }
.topbar.is-scrolled { border-bottom-color: var(--line); }
.topbar-inner { display: flex; align-items: center; gap: 20px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; color: var(--forest); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: grid; line-height: 1; }
.brand-name { font-family: var(--display); font-size: 1.55rem; letter-spacing: 0.04em; }
.brand-sub { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }
.topnav { display: none; gap: 2px; }
.topnav a { padding: 8px 12px; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-weight: 550; font-size: 0.9375rem; transition: color 160ms ease, background-color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .topnav a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.7); } }
.phone { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; font-weight: 650; text-decoration: none; font-variant-numeric: tabular-nums; color: var(--forest); }
.phone i { color: var(--copper); font-size: 1.15rem; }
.phone span, .topbar-cta { display: none; }
@media (min-width: 640px) { .phone span { display: inline; } .topbar-cta { display: inline-flex; } }
@media (min-width: 1080px) { .topnav { display: flex; } }

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; padding-block: 56px 0; background: linear-gradient(180deg, #f3f6f3 0%, var(--mist) 60%); }
.scene { position: absolute; left: 0; right: 0; bottom: 64px; width: 100%; height: 330px; z-index: -1; pointer-events: none; }
@media (min-width: 1000px) { .scene { height: 520px; } }
.js .rainier { opacity: 0; transform: translateY(14px); transition: opacity 1600ms ease 200ms, transform 1800ms var(--ease) 200ms; }
.js .hero.is-in .rainier { opacity: 1; transform: none; }
.hero-grid { display: grid; gap: 36px; padding-bottom: 224px; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: start; gap: 56px; padding-bottom: 318px; } .freeze-card { margin-top: 64px; } }
.hero-title { margin-top: 16px; font-size: clamp(2.7rem, 6.4vw, 5.2rem); line-height: 1.02; color: var(--forest); letter-spacing: -0.02em; }
.hero-title em { font-style: normal; color: var(--copper-3); position: relative; white-space: nowrap; }
.lede { max-width: 560px; margin-top: 22px; color: var(--ink-2); font-size: 1.1875rem; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; padding: 0; list-style: none; color: var(--ink-2); font-weight: 550; font-size: 0.9375rem; }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof i { color: var(--ok); font-size: 1.2rem; }
.js .h-in { opacity: 0; transform: translateY(14px); transition: opacity 900ms var(--ease), transform 900ms var(--ease); }
.js .hero.is-in .h-in { opacity: 1; transform: none; }

.freeze-card {
  display: grid; gap: 6px; padding: 22px; border-radius: 20px; text-decoration: none; color: var(--text-f);
  background: linear-gradient(160deg, #1f3a52, #13263a); box-shadow: 0 30px 60px -30px rgba(19, 38, 58, 0.7), inset 0 0 0 1px rgba(124, 196, 255, 0.18);
  transition: transform 300ms var(--ease);
}
@media (hover: hover) and (pointer: fine) { .freeze-card:hover { transform: translateY(-3px); } .freeze-card:hover .fc-link i { transform: translateX(4px); } }
.fc-head { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: #a8cdea; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ice); position: relative; }
.live-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 2s var(--ease) infinite; }
@keyframes ping { to { transform: scale(3); opacity: 0; } }
.fc-temp { font-family: var(--display); font-size: 3.6rem; line-height: 1; margin-top: 6px; }
.fc-deg { font-size: 1.4rem; margin-left: 2px; color: #a8cdea; vertical-align: top; }
.freeze-card.is-freeze .fc-temp { color: var(--ice-2); text-shadow: 0 0 24px rgba(124, 196, 255, 0.55); }
.fc-when { font-weight: 600; }
.fc-tip { color: #b7cfe2; font-size: 0.9375rem; }
.fc-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 650; color: #fff; }
.fc-link i { transition: transform 220ms var(--ease); }
.js .freeze-card { opacity: 0; transform: translateY(16px); transition: opacity 900ms var(--ease) 600ms, transform 900ms var(--ease) 600ms; }
.js .hero.is-in .freeze-card { opacity: 1; transform: none; }

/* The copper pipe */
.pipe { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 120px; z-index: 1; overflow: visible; }
.ground { fill: var(--forest); }
.pipe-run { fill: none; stroke: url(#cu); stroke-width: 14; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 0; filter: drop-shadow(0 3px 2px rgba(60, 30, 10, 0.25)); }
.js .pipe-run { stroke-dashoffset: 1.02; }
.js .hero.is-drawn .pipe-run { stroke-dashoffset: 0; transition: stroke-dashoffset 2200ms cubic-bezier(0.65, 0, 0.35, 1); }
.valve, .tap { opacity: 0; transition: opacity 400ms ease; }
.hero.is-drawn .valve { opacity: 1; transition-delay: 1300ms; }
.hero.is-drawn .tap { opacity: 1; transition-delay: 2000ms; }
.drop { fill: #8fd0ff; opacity: 0; }
.hero.is-dripping .drop { animation: drip 2.6s cubic-bezier(0.5, 0, 0.9, 0.5) infinite; }
@keyframes drip { 0% { opacity: 0; transform: translateY(-6px) scale(0.4); } 15% { opacity: 1; transform: translateY(0) scale(1); } 40% { transform: translateY(0) scale(1.1, 0.95); } 70% { opacity: 1; transform: translateY(14px) scale(0.9, 1.15); } 72%, 100% { opacity: 0; transform: translateY(18px); } }
.drop { transform-box: fill-box; transform-origin: center; }

/* Sections */
.section { padding-block: 88px; }
@media (min-width: 960px) { .section { padding-block: 120px; } }
.sec-head { display: grid; gap: 14px; max-width: 720px; }
.sec-head h2, .faq h2 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); line-height: 1.06; color: var(--forest); }
.sec-head > p:not(.eyebrow) { color: var(--ink-2); font-size: 1.125rem; }
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
.js [data-reveal="1"] { transition-delay: 90ms; }
.js [data-reveal="2"] { transition-delay: 180ms; }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Dark (forest) sections */
.freeze, .license, .final, .footer { background: var(--forest); color: var(--text-f); }
.freeze .sec-head h2, .license .sec-head h2 { color: #fff; }
.freeze .sec-head > p:not(.eyebrow), .license .sec-head > p:not(.eyebrow) { color: var(--text-f2); }
.freeze .eyebrow, .license .eyebrow, .final .eyebrow { color: var(--copper-2); }

/* Freeze watch */
.fw { margin-top: 44px; padding: 24px; border-radius: 22px; background: var(--forest-2); box-shadow: inset 0 0 0 1px var(--line-f); }
.fw-chart { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; align-items: end; min-height: 240px; }
.fw-loading { grid-column: 1 / -1; align-self: center; text-align: center; color: var(--text-f2); }
.night { display: grid; grid-template-rows: minmax(0, 1fr) auto auto; justify-items: center; gap: 8px; height: 240px; min-width: 0; }
.n-bar-wrap { width: 100%; max-width: 56px; height: 100%; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 6px; }
.n-temp { display: inline-flex; align-items: center; justify-content: center; gap: 2px; font-family: var(--mono); font-size: 0.95rem; color: #fff; white-space: nowrap; }
.n-temp i { font-size: 0.9em; }
.n-bar { display: block; width: 100%; border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, #4d6b58, #2d4335); height: var(--h); transform-origin: bottom; }
.js .fw .n-bar { transform: scaleY(0); transition: transform 900ms var(--ease); transition-delay: var(--d, 0ms); }
.js .fw.is-in.has-data .n-bar { transform: none; }
.night.is-freeze .n-bar { background: linear-gradient(180deg, var(--ice-2), var(--ice)); box-shadow: 0 0 18px rgba(124, 196, 255, 0.45); }
.night.is-freeze .n-temp { color: var(--ice-2); }
.n-day { font-weight: 650; font-size: 0.85rem; }
.n-sky { font-size: 0.72rem; color: var(--text-f2); text-align: center; line-height: 1.2; min-height: 2.4em; }
.fw-src { margin-top: 16px; font-size: 0.75rem; color: #7f9688; }
@media (max-width: 639px) {
  .fw { padding: 16px; }
  .fw-chart { gap: 6px; }
  .n-sky { display: none; }
  .n-temp { font-size: 0.8rem; }
  .night { height: 210px; }
}

.prep-grid { display: grid; gap: 16px; margin-top: 16px; }
@media (min-width: 900px) { .prep-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
.prep, .burst { padding: 26px; border-radius: 22px; }
.prep { background: var(--forest-2); box-shadow: inset 0 0 0 1px var(--line-f); }
.prep h3, .burst h3 { font-size: 1.6rem; color: #fff; }
.prep-list { list-style: none; padding: 0; margin-top: 14px; display: grid; gap: 2px; }
.prep-list label { display: flex; align-items: center; gap: 14px; min-height: 48px; padding: 6px 8px; border-radius: 12px; cursor: pointer; transition: background-color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .prep-list label:hover { background: rgba(255, 255, 255, 0.04); } }
.prep-list input { appearance: none; -webkit-appearance: none; margin: 0; width: 24px; height: 24px; flex: none; border-radius: 7px; border: 2px solid #5a7464; display: grid; place-items: center; cursor: pointer; transition: background-color 180ms ease, border-color 180ms ease; }
.prep-list input::after { content: ''; width: 11px; height: 6px; border-left: 2.5px solid var(--forest); border-bottom: 2.5px solid var(--forest); transform: rotate(-45deg) scale(0); margin-top: -3px; transition: transform 200ms var(--ease); }
.prep-list input:checked { background: var(--ice); border-color: var(--ice); }
.prep-list input:checked::after { transform: rotate(-45deg) scale(1); }
.prep-list input:checked + span { color: var(--text-f2); text-decoration: line-through; text-decoration-color: rgba(169, 188, 176, 0.6); }
.prep-progress { margin-top: 12px; font-family: var(--mono); font-size: 0.8rem; color: var(--text-f2); }
.prep-progress.is-done { color: var(--ice); }
.burst { background: linear-gradient(160deg, #3a2417, #24170f); box-shadow: inset 0 0 0 1px rgba(227, 164, 110, 0.25); display: grid; gap: 12px; align-content: start; }
.burst > i { font-size: 2rem; color: var(--copper-2); }
.burst ol { padding-left: 20px; display: grid; gap: 6px; color: #f0e2d6; }

/* Water heater */
.heater { background: var(--mist); }
.wh-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .wh-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; } }
.wh-tip { display: flex; gap: 8px; align-items: flex-start; font-size: 0.9375rem !important; color: var(--ink-3) !important; }
.wh-tip i { margin-top: 3px; color: var(--copper); }
.wh { padding: 28px; border-radius: 24px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(21, 37, 28, 0.4); display: grid; gap: 22px; }
@media (max-width: 559px) { .wh { padding: 20px; } }
#wh-form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field legend, .field > label { font-weight: 650; font-size: 0.9rem; padding: 0; }
.field legend { margin-bottom: 8px; }
.brands { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.brand-opt { position: relative; cursor: pointer; }
.brand-opt input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.brand-opt span { display: flex; align-items: center; min-height: 52px; padding: 10px 14px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; font-size: 0.95rem; transition: box-shadow 160ms ease, background-color 160ms ease; }
.brand-opt input:checked + span { background: #f6efe8; box-shadow: inset 0 0 0 2px var(--copper); }
.brand-opt input:focus-visible + span { outline: 2px solid var(--copper); outline-offset: 2px; }
.input { width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); font: inherit; transition: border-color 160ms ease, box-shadow 160ms ease; }
.input:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 4px rgba(196, 122, 69, 0.18); }
.input[aria-invalid="true"] { border-color: var(--error); }
.serial-row { display: flex; gap: 8px; }
.serial-row .input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: 0.06em; }
.serial-row .input::placeholder { text-transform: none; letter-spacing: 0; }
.wh-hint { font-size: 0.85rem; color: var(--ink-3); }
.wh-error { color: var(--error); font-weight: 600; font-size: 0.9375rem; }
.wh-error.is-info { color: var(--ink-2); font-weight: 500; padding: 14px 16px; border-radius: 14px; background: var(--mist); }
.wh-result { display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: center; padding: 20px; border-radius: 18px; background: var(--mist); animation: rise 500ms var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.tank { display: grid; justify-items: center; }
.tank-body { position: relative; width: 70px; height: 128px; border-radius: 22px 22px 14px 14px; background: linear-gradient(90deg, #cfd8d2, #fff 40%, #c3cdc7); box-shadow: inset 0 0 0 2px #b7c3bb; overflow: hidden; }
.tank-body::before { content: ''; position: absolute; left: 50%; top: -4px; width: 18px; height: 14px; margin-left: -9px; border-radius: 4px; background: #b7c3bb; }
.tank-fill { position: absolute; left: 0; right: 0; bottom: 0; height: var(--fill, 0%); background: var(--tank-c, #2f8f5b); opacity: 0.85; transition: height 900ms var(--ease), background-color 400ms ease; }
.wh-made { font-family: var(--mono); font-size: 0.85rem; color: var(--ink-3); }
.wh-age { font-family: var(--display); font-size: 2.6rem; line-height: 1.05; color: var(--forest); }
.wh-age #wh-age-unit { font-size: 1.2rem; color: var(--ink-2); }
.wh-advice { color: var(--ink-2); margin: 6px 0 14px; }
.wh-result.is-old .wh-age { color: #a8442a; }

/* Services */
.services { background: #f5f8f5; }
.svc-list { list-style: none; padding: 0; display: grid; gap: 14px; margin-top: 44px; }
@media (min-width: 700px) { .svc-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .svc-list { grid-template-columns: repeat(3, 1fr); } }
.svc { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 24px; border-radius: 20px; background: var(--card); box-shadow: 0 0 0 1px var(--line); transition: transform 300ms var(--ease), box-shadow 300ms ease; }
@media (hover: hover) and (pointer: fine) { .svc:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line), 0 24px 40px -30px rgba(21, 37, 28, 0.45); } }
.svc > i { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: #f6efe8; color: var(--copper-3); font-size: 1.5rem; }
.svc h3 { font-size: 1.3rem; color: var(--forest); }
.svc p { margin-top: 4px; color: var(--ink-2); }

/* License */
.lic-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .lic-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; } }
.lic-link { display: inline-flex; align-items: center; gap: 6px; justify-self: start; min-height: 44px; color: #fff; font-weight: 650; text-decoration: none; border-bottom: 1.5px solid rgba(227, 164, 110, 0.55); }
.cert { position: relative; padding: 28px; border-radius: 22px; background: #f8f5ee; color: var(--ink); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6); background-image: repeating-linear-gradient(135deg, rgba(21, 37, 28, 0.025) 0 2px, transparent 2px 8px); }
.cert::before { content: ''; position: absolute; inset: 10px; border-radius: 16px; border: 1.5px solid rgba(140, 79, 39, 0.35); pointer-events: none; }
.cert-top { display: flex; gap: 14px; align-items: center; padding-bottom: 16px; border-bottom: 1px dashed rgba(140, 79, 39, 0.35); }
.cert-seal { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--forest); color: var(--brass); font-size: 1.7rem; flex: none; }
.cert-k { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--copper-3); }
.cert-name { font-family: var(--display); font-size: 1.6rem; color: var(--forest); }
.cert-rows { display: grid; margin-top: 6px; }
.cert-rows div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(21, 37, 28, 0.08); }
.cert-rows div:last-child { border-bottom: 0; }
.cert-rows dt { color: var(--ink-2); font-size: 0.9375rem; }
.cert-rows dd { display: flex; align-items: center; gap: 10px; font-weight: 600; text-align: right; }
.ok { padding: 2px 10px; border-radius: 999px; background: #e1f2e8; color: #1f6b43; font-size: 0.78rem; font-weight: 700; }

/* Quote */
.quote { background: var(--mist); }
.q-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .q-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; } }
.q-call { display: inline-flex; align-items: center; gap: 8px; justify-self: start; min-height: 44px; font-family: var(--display); font-size: 1.8rem; color: var(--forest); text-decoration: none; }
.q-call i { color: var(--copper); font-size: 1.4rem; }
.q-card { padding: 28px; border-radius: 24px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(21, 37, 28, 0.4); }
@media (max-width: 559px) { .q-card { padding: 20px; } }
#q-form { display: grid; gap: 20px; }
.two { display: grid; gap: 14px; }
@media (min-width: 560px) { .two { grid-template-columns: 1fr 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; font-size: 0.9375rem; transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease; }
.chip input:checked + span { background: var(--forest); color: #fff; box-shadow: none; }
.chip input:focus-visible + span, .seg input:focus-visible + span { outline: 2px solid var(--copper); outline-offset: 2px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; padding: 4px; border-radius: 16px; background: var(--mist); box-shadow: inset 0 0 0 1px var(--line); }
.seg label { position: relative; cursor: pointer; display: flex; }
.seg input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.seg span { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 46px; padding: 8px 10px; border-radius: 12px; text-align: center; font-weight: 600; font-size: 0.92rem; color: var(--ink-2); transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease; }
.seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(21, 37, 28, 0.08), 0 4px 12px -4px rgba(21, 37, 28, 0.2); }
.wh-summary { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: #f6efe8; color: var(--copper-3); font-weight: 600; font-size: 0.9375rem; }
.wh-summary i { font-size: 1.2rem; margin-top: 1px; }
.err { color: var(--error); font-size: 0.85rem; font-weight: 600; }
.fine { color: var(--ink-3); font-size: 0.8rem; text-align: center; margin-top: -8px; }
.done { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 8px 0; }
.done:focus { outline: none; }
.done h3 { font-size: 1.7rem; color: var(--forest); }
.done p { color: var(--ink-2); }
.done-mark { width: 72px; height: 72px; overflow: visible; }
.done-mark path { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 1.02; }
.done-mark path:first-child { stroke: var(--ice); stroke-width: 3.5; }
.dm-check { stroke: var(--forest); stroke-width: 4.5; }
.done:not([hidden]) .done-mark path:first-child { animation: draw 800ms var(--ease) forwards; }
.done:not([hidden]) .dm-check { animation: draw 500ms var(--ease) 600ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.preview-note { padding: 12px 14px; border-radius: 12px; background: var(--mist); font-size: 0.875rem; text-align: left; }

/* FAQ */
.faq { background: #f5f8f5; }
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; } }
.faq h2 { margin-top: 14px; }
.towns { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.towns li { padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); background: #fff; color: var(--ink-2); font-weight: 600; font-size: 0.9375rem; }
.towns li.home { background: var(--forest); color: #fff; box-shadow: none; }
.towns li.has-page { padding: 0; box-shadow: inset 0 0 0 1.5px var(--copper-2); }
.towns li.has-page a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px; color: var(--forest); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .towns li.has-page a:hover { color: var(--copper-3); } }
.svc-more { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; margin-top: 6px; color: var(--copper-3); font-weight: 650; font-size: 0.9375rem; text-decoration: none; }
.svc-more i { transition: transform 220ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .svc-more:hover i { transform: translateX(4px); } }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 66px; padding: 16px 0; cursor: pointer; list-style: none; font-family: var(--display); font-size: 1.25rem; color: var(--forest); }
.faq-list summary::-webkit-details-marker { display: none; }
.pm { position: relative; width: 20px; height: 20px; flex: none; }
.pm::before, .pm::after { content: ''; position: absolute; left: 0; right: 0; top: 9px; height: 2px; border-radius: 2px; background: var(--copper); transition: transform 300ms var(--ease); }
.pm::after { transform: rotate(90deg); }
details[open] .pm::after { transform: rotate(0); }
.ans { padding: 0 32px 20px 0; color: var(--ink-2); }
details[open] .ans { animation: rise 300ms var(--ease); }

/* Final */
.final { padding-block: 96px; }
.final-card { position: relative; overflow: hidden; padding: 64px 28px; border-radius: 28px; text-align: center; display: grid; justify-items: center; gap: 28px; background: radial-gradient(90% 120% at 50% 0%, rgba(196, 122, 69, 0.28), transparent 60%), var(--forest-2); box-shadow: inset 0 0 0 1px var(--line-f); }
@media (min-width: 768px) { .final-card { padding: 96px 48px; } }
.final-card h2 { max-width: 760px; font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.08; color: #fff; }
.final-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Footer */
.footer { padding-block: 0 112px; color: var(--text-f2); }
@media (min-width: 768px) { .footer { padding-bottom: 40px; } }
.footer-grid { display: grid; gap: 28px; padding-top: 48px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
@media (min-width: 768px) { .footer-grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .footer-grid-4 { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.f-name { font-family: var(--display); font-size: 1.4rem; color: #fff; }
.f-text { margin-top: 8px; max-width: 360px; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.footer ul a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .footer ul a:hover { color: #fff; } }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 40px; padding-top: 20px; font-size: 0.85rem; }
.footer-grid, .footer-bottom { background: linear-gradient(var(--line-f), var(--line-f)) center top / calc(100% - 2 * var(--gutter)) 1px no-repeat; }

/* Mobile bar */
.sticky-bar { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 50; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-radius: 18px; background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 0 0 1px var(--line), 0 16px 40px -10px rgba(21, 37, 28, 0.35); transform: translateY(150%); transition: transform 450ms var(--ease); }
.sticky-bar.is-visible { transform: none; }
.sticky-bar .btn { min-height: 46px; padding-inline: 10px; white-space: nowrap; }
@media (min-width: 768px) { .sticky-bar { display: none; } }

/* Scrollbars */
html { scrollbar-color: #9fb0a5 var(--mist); }
html::-webkit-scrollbar { width: 12px; }
html::-webkit-scrollbar-track { background: var(--mist); }
html::-webkit-scrollbar-thumb { background: #a9b9ae; border-radius: 999px; border: 3px solid var(--mist); }
html::-webkit-scrollbar-thumb:hover { background: var(--copper); }

/* Simple pages */
.simple { min-height: 100vh; display: grid; align-content: center; padding-block: 64px; }
.simple h1 { margin-top: 32px; font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.05; color: var(--forest); }
.simple p { margin-top: 16px; color: var(--ink-2); font-size: 1.125rem; max-width: 560px; }
.simple .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
}

/* Live license check (data.wa.gov, the state's open copy of L&I records) */
.lic-search { margin-top: 10px; font-size: 0.9rem; color: var(--text-f2); }
.lic-search .mono { color: var(--text-f); }
.cert-live { margin-top: 14px; display: flex; align-items: center; gap: 8px; font-size: 0.74rem; letter-spacing: 0.04em; color: var(--ink-3); }
.cert-live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(47, 143, 91, 0.15); flex: none; }

/* Inline icon sprite (replaces the Phosphor icon font) */
.i { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }
i.ico { display: inline-flex; align-items: center; justify-content: center; font-style: normal; line-height: 1; }
i.ico > .i { width: 1em; height: 1em; }

/* Form: honeypot (hidden from people) + send error */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.q-send-err { text-align: center; margin-top: -6px; }
.q-send-err a { color: inherit; }
