:root {
  --slate: #25323b;
  --slate-deep: #1a242b;
  --smoke: #dfe5e8;
  --steel: #f4f6f7;
  --ink: #1c2429;
  --scan: #58d68d;
  --go: #17794a;
  --clay: #c9a47e;
  --display: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --body: 'Source Serif 4', Georgia, serif;
  --osd: 'VT323', 'Courier New', monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--smoke); color: var(--ink); font: 400 1.125rem/1.6 var(--body); padding-bottom: 0; }
img, svg, iframe { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.05; }
:focus-visible { outline: 3px solid var(--scan); outline-offset: 3px; }
.light :focus-visible, .steel :focus-visible { outline-color: var(--go); }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--scan); color: var(--ink); padding: 10px 14px; z-index: 50; font-family: var(--display); font-weight: 700; }
.skip:focus { left: 8px; top: 8px; }
.note { font-size: 0.9rem; opacity: 0.75; margin: 0; }

/* top bar */
.top { background: var(--slate-deep); color: #fff; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 1.15rem; line-height: 1.05; }
.brand svg { width: 36px; height: 36px; flex: none; }
.brand small { display: block; font-stretch: 100%; font-weight: 500; font-size: 0.78rem; opacity: 0.8; letter-spacing: 0.02em; }
.top-calls { margin: 0; display: flex; gap: 22px; font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
.top-calls a { text-decoration: none; white-space: nowrap; }
.top-calls a:hover { color: var(--scan); }

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn { display: inline-block; font: 700 1.05rem/1.2 var(--display); font-stretch: 105%; padding: 15px 22px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer; transition: transform 0.15s ease, background-color 0.15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-scan { background: var(--scan); color: var(--slate-deep); }
.btn-ghost { background: rgba(255, 255, 255, 0.12); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.2); }
.btn-go { background: var(--go); color: #fff; }
.btn-go:hover { background: #0f5f39; }

/* hero */
.hero { background: var(--slate); color: #fff; padding: 44px 0 0; }
.hero-in { display: grid; gap: 34px; align-items: center; }
.kicker { font: 600 0.95rem/1.3 var(--display); color: var(--scan); margin-bottom: 14px; letter-spacing: 0.01em; }
.hero h1 { font-stretch: 118%; font-weight: 850; font-size: clamp(2.3rem, 9.4vw, 4.5rem); letter-spacing: -0.025em; line-height: 0.98; }
.lead { font-size: 1.2rem; margin: 20px 0 0; max-width: 34em; }
.hero-note { margin: 16px 0 0; font-size: 0.98rem; opacity: 0.85; }
.towns { list-style: none; margin: 40px 0 0; padding: 16px 0 18px; display: flex; flex-wrap: wrap; gap: 6px 26px; font: 600 1rem/1.3 var(--display); box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.16); }
.towns li:last-child { opacity: 0.7; font-weight: 500; }

/* wipe-to-clean picture */
.wipe { margin: 0; }
.wipe-stage { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 18px; background: #000; user-select: none; -webkit-user-select: none; }
.wipe-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wipe-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; transition: opacity 0.9s ease; }
.wipe.done canvas { opacity: 0; pointer-events: none; }
.wipe-hint { position: absolute; left: 12px; bottom: 12px; right: 12px; width: fit-content; background: rgba(26, 36, 43, 0.86); color: #fff; padding: 8px 14px; border-radius: 999px; font: 600 0.92rem/1.3 var(--display); pointer-events: none; transition: opacity 0.4s ease; }
.wipe.touched .wipe-hint, .wipe.done .wipe-hint { opacity: 0; }
.wipe-stamp { position: absolute; right: 14px; top: 14px; background: var(--scan); color: var(--slate-deep); font: 850 1.35rem/1 var(--display); font-stretch: 118%; padding: 9px 16px; border-radius: 999px; transform: rotate(-5deg) scale(0.6); opacity: 0; transition: opacity 0.4s ease 0.5s, transform 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) 0.5s; pointer-events: none; }
.wipe.done .wipe-stamp { opacity: 1; transform: rotate(-5deg) scale(1); }
.wipe figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; margin-top: 10px; font-size: 0.92rem; }
.wipe figcaption button { font: 700 0.98rem/1.2 var(--display); background: none; border: 0; padding: 6px 0; color: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* bands */
.band { padding: 64px 0; }
.band.light { background: var(--smoke); }
.band.steel { background: var(--steel); }
.band.dark { background: var(--slate); color: #fff; }
.band.scan { background: var(--slate-deep); }
.band h2 { font-stretch: 114%; font-weight: 800; font-size: clamp(1.75rem, 6vw, 2.9rem); letter-spacing: -0.02em; max-width: 18em; }
.intro { font-size: 1.15rem; margin: 16px 0 0; max-width: 38em; }
.two { display: grid; gap: 36px; align-items: start; }

/* services */
.services { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 10px; }
.services li { background: var(--steel); border-radius: 14px; padding: 18px 20px 18px 54px; position: relative; }
.services li::before { content: ''; position: absolute; left: 20px; top: 24px; width: 18px; height: 18px; border-radius: 50%; background: var(--go); box-shadow: 0 0 0 5px rgba(23, 121, 74, 0.18); }
.services h3 { font-weight: 700; font-stretch: 105%; font-size: 1.2rem; }
.services p { margin: 6px 0 0; font-size: 1.02rem; }

/* chim-scan */
.scan-rig { margin-top: 34px; display: grid; grid-template-columns: 78px 1fr; gap: 20px 18px; align-items: center; }
.stack { width: 100%; height: auto; }
.stack .cam { transition: transform 0.12s linear; }
.monitor { position: relative; background: #05080a; border-radius: 22px; padding: 12px; box-shadow: 0 0 0 2px #33434e, 0 18px 40px rgba(0, 0, 0, 0.4); max-width: 420px; width: 100%; justify-self: center; }
.monitor svg { width: 100%; height: auto; border-radius: 14px; }
.find { opacity: 0; transition: opacity 0.45s ease; }
.monitor[data-zone="creosote"] .find-creosote, .monitor[data-zone="crack"] .find-crack, .monitor[data-zone="nest"] .find-nest { opacity: 1; }
.osd { position: absolute; margin: 0; font: 400 1.3rem/1 var(--osd); color: var(--scan); background: rgba(5, 8, 10, 0.78); padding: 4px 9px 3px; border-radius: 6px; letter-spacing: 0.04em; }
.osd-a { left: 26px; top: 24px; }
.osd-b { right: 26px; bottom: 24px; }
.rec { color: #ff6b5e; animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.scan-side { grid-column: 1 / -1; }
.scan-slide { display: block; font: 700 1rem/1.3 var(--display); }
.scan-slide input { display: block; width: 100%; margin: 12px 0 6px; accent-color: var(--scan); height: 34px; }
.scan-ends { display: flex; justify-content: space-between; font-weight: 500; font-size: 0.85rem; opacity: 0.75; }
.readout { background: var(--slate); border-radius: 16px; padding: 20px 22px; margin: 20px 0 14px; min-height: 11.5em; }
.readout h3 { font-weight: 800; font-stretch: 110%; font-size: 1.35rem; color: var(--scan); }
.readout p { margin: 10px 0 0; }

/* dryer */
.why { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.why li { background: var(--steel); border-radius: 14px; padding: 14px 18px; }

/* fireplace types */
.types { margin-top: 28px; display: grid; gap: 14px; }
.type-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.type-tabs button { font: 700 0.98rem/1.2 var(--display); color: var(--ink); background: var(--smoke); border: 0; border-radius: 16px; padding: 14px 8px 14px; cursor: pointer; display: grid; justify-items: center; gap: 8px; transition: background-color 0.2s ease, color 0.2s ease; }
.type-tabs svg { width: 64px; height: 64px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.type-tabs button[aria-selected="true"] { background: var(--slate); color: #fff; }
.type-tabs button[aria-selected="true"] svg { stroke: var(--scan); }
.type-panel { background: var(--slate); color: #fff; border-radius: 16px; padding: 24px; }
.type-panel h3 { font-weight: 800; font-stretch: 110%; font-size: 1.4rem; }
.type-panel p { margin: 10px 0 0; }

/* about */
.creds { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.creds li { background: var(--slate-deep); border-radius: 16px; padding: 20px 22px; }
.creds h3 { font-weight: 800; font-stretch: 108%; font-size: 1.25rem; color: var(--scan); }
.creds p { margin: 8px 0 0; }

/* facebook */
.news-frame { background: var(--steel); border-radius: 16px; padding: 10px; max-width: 520px; width: 100%; }
.news-frame iframe { width: 100%; height: 720px; border: 0; }

/* contact */
.reach { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.reach span { display: block; font: 600 0.85rem/1.2 var(--display); opacity: 0.7; }
.reach a { font: 800 1.45rem/1.25 var(--display); font-stretch: 108%; text-decoration: none; overflow-wrap: anywhere; }
.reach a[href^="mailto"] { font-size: 1.1rem; font-weight: 700; }
.reach a:hover { color: var(--go); }
.reach address { font-style: normal; line-height: 1.45; }
.map { margin: 24px 0 10px; border-radius: 16px; overflow: hidden; background: var(--smoke); }
.map iframe { width: 100%; height: 260px; border: 0; }
.ask { background: var(--slate); color: #fff; border-radius: 20px; padding: 26px 22px; display: grid; gap: 16px; }
.ask h3 { font-weight: 800; font-stretch: 110%; font-size: 1.45rem; }
.ask label { display: grid; gap: 6px; font: 700 0.98rem/1.3 var(--display); }
.ask label > span:not(.err) { font-weight: 400; opacity: 0.75; font-size: 0.88rem; }
.ask input[type="text"], .ask input[type="tel"], .ask textarea { font: 400 1.05rem/1.4 var(--body); color: var(--ink); background: #fff; border: 0; border-radius: 10px; padding: 13px 14px; width: 100%; }
.ask textarea { min-height: 110px; resize: vertical; }
.ask .bad { box-shadow: 0 0 0 3px #ff8f85; }
.ask .err { color: #ffb3ab; font-weight: 500; font-size: 0.9rem; }
.ask .hp { position: absolute; left: -9999px; }
.ask .btn-go { background: var(--scan); color: var(--slate-deep); justify-self: start; }
.ask .btn-go:hover { background: #7be3a6; }
.ask .btn-go:disabled { opacity: 0.6; }
.ask-status { margin: 0; min-height: 1.4em; font-size: 0.98rem; }
.ask :focus-visible { outline-color: var(--scan); }

/* footer */
.foot { background: var(--slate-deep); color: #fff; padding: 36px 0 110px; font-size: 0.95rem; }
.foot-name { font: 700 1rem/1.3 var(--display); }
.foot-links { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-links a { opacity: 0.85; }
.draft { margin: 0; opacity: 0.75; }

/* phone call bar */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(26, 36, 43, 0.96); }
.callbar a { background: var(--scan); color: var(--slate-deep); text-align: center; text-decoration: none; font: 800 1rem/1.2 var(--display); padding: 13px 6px; border-radius: 999px; white-space: nowrap; }

/* motion, several kinds */
.js-motion .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; }
.js-motion .w > span { display: inline-block; transform: translateY(110%); transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js-motion .words-in .w > span { transform: none; }
.js-motion .rv-drop { clip-path: inset(0 0 100% 0); transform: translateY(-14px); transition: clip-path 0.7s cubic-bezier(0.6, 0, 0.2, 1), transform 0.7s cubic-bezier(0.6, 0, 0.2, 1); }
.js-motion .rv-drop.in { clip-path: inset(0 0 -10% 0); transform: none; }
.js-motion .rv-side { opacity: 0; transform: translateX(-34px); transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js-motion .rv-side:nth-child(even) { transform: translateX(34px); }
.js-motion .rv-side.in { opacity: 1; transform: none; }
.js-motion .rv-draw svg path { stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.3s ease; }
.js-motion .rv-draw.in svg path { stroke-dashoffset: 0; }

@media (min-width: 620px) {
  .services { grid-template-columns: 1fr 1fr; }
  .type-tabs { grid-template-columns: repeat(4, 1fr); }
  .scan-rig { grid-template-columns: 96px minmax(0, 420px) 1fr; gap: 28px; }
  .scan-side { grid-column: auto; }
}
@media (min-width: 900px) {
  body { font-size: 1.18rem; }
  .hero { padding-top: 64px; }
  .hero-in { grid-template-columns: 1.05fr 1fr; gap: 48px; }
  .two { grid-template-columns: 1fr 1fr; gap: 56px; }
  .band { padding: 92px 0; }
  .callbar { display: none; }
  .foot { padding-bottom: 40px; }
  .types { grid-template-columns: 1.2fr 1fr; align-items: stretch; }
  .type-tabs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 619px) {
  .top-calls { display: none; }
  .scan-rig { align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .find, .stack .cam, .wipe-stage canvas, .wipe-stamp, .type-tabs button { transition: none; }
  .rec { animation: none; }
}
