/* =========================================================================
   VIP General HVAC design system
   Concept: HVAC's real materials. Copper/brass + furnace ember (heat)
   against cold petrol steel + refrigerant cyan (cool). Heat<->cool is
   the signature. No emoji, no em-dash, no templated blue-gradient SaaS.
   ========================================================================= */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage.woff2") format("woff2");
  font-weight: 600 800; font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/assets/fonts/hanken.woff2") format("woff2");
  font-weight: 400 700; font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains.woff2") format("woff2");
  font-weight: 500 700; font-display: swap;
}

:root {
  /* palette */
  --ink:        #0C1A1F;   /* deep petrol, cold metal at night   */
  --ink-2:      #12262C;   /* raised petrol                       */
  --paper:      #F3F0E9;   /* warm working white                  */
  --paper-2:    #ECE7DC;   /* slightly deeper paper               */
  --line:       #DAD3C4;   /* hairline on paper                   */
  --line-dk:    #24383E;   /* hairline on ink                     */
  --ember:      #D9662B;   /* furnace heat / copper               */
  --ember-lo:   #B24E1C;
  --brass:      #C4813C;   /* brass fitting                       */
  --cool:       #2E9BB8;   /* refrigerant cyan / cold air         */
  --cool-lo:    #1E7A99;
  --steel:      #5C6E72;   /* muted secondary text on paper       */
  --steel-lt:   #9FB0B2;   /* muted text on ink                   */

  --heat-grad: linear-gradient(90deg, var(--ember) 0%, var(--brass) 100%);
  --spectrum:  linear-gradient(90deg, var(--cool) 0%, #7F9B7E 42%, var(--brass) 72%, var(--ember) 100%);

  /* type */
  --display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --body:    "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, monospace;

  --shadow-sm: 0 1px 2px rgba(12,26,31,.05), 0 4px 12px -4px rgba(12,26,31,.08);
  --shadow-md: 0 2px 6px rgba(12,26,31,.06), 0 16px 36px -14px rgba(12,26,31,.24);
  --shadow-lg: 0 4px 10px rgba(12,26,31,.08), 0 36px 70px -24px rgba(12,26,31,.38);

  --rad: 14px;
  --rad-lg: 22px;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  font-size: clamp(16px, 1.02vw + 13px, 18px);
  line-height: 1.6;
  font-weight: 420;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: -0.03em; margin: 0; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .22em;
  text-transform: uppercase; font-weight: 600; color: var(--cool-lo);
  display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--heat-grad); }
.eyebrow.on-ink { color: var(--brass); }

/* base icon size; specific contexts override with explicit px */
.ic { width: 1.05em; height: 1.05em; flex: none; display: inline-block; vertical-align: -0.15em; }

/* ---- buttons -------------------------------------------------------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--body); font-weight: 640; font-size: .98rem;
  letter-spacing: -0.01em; line-height: 1;
  padding: 1.02em 1.5em; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .2s, background .2s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn--ember { --bg: var(--ember); --fg: #fff; box-shadow: 0 8px 24px -10px rgba(217,102,43,.7); }
.btn--ember:hover { --bg: var(--ember-lo); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--ghost.on-ink { --fg: var(--paper); border-color: rgba(243,240,233,.34); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--ghost.on-ink:hover { background: var(--paper); color: var(--ink); }
.btn .ic { width: 17px; height: 17px; transition: transform .22s cubic-bezier(.2,.7,.3,1); }
.btn:hover .ic { transform: translateX(3px); }

/* ---- header --------------------------------------------------------- */
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.hdr.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.hdr__in { display: flex; align-items: center; gap: 1.4rem; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .62rem; font-family: var(--display); font-weight: 800; letter-spacing: -0.04em; font-size: 1.24rem; }
.brand__mark { height: 44px; width: auto; flex: none; filter: drop-shadow(0 1px 2px rgba(12,26,31,.18)); }
.foot .brand__mark { height: 40px; }
.brand small { display: block; font-family: var(--mono); font-weight: 500; font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: var(--steel); margin-top: 2px; }
.nav { display: flex; gap: 1.65rem; margin-left: auto; }
.nav a { font-weight: 560; font-size: .96rem; color: var(--ink); position: relative; padding: .3em 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--heat-grad); transition: width .24s ease; }
.nav a:hover::after { width: 100%; }
.hdr__cta { display: flex; align-items: center; gap: .8rem; }
.hdr__phone { display: inline-flex; align-items: center; gap: .5em; font-family: var(--mono); font-weight: 600; font-size: .96rem; letter-spacing: -0.02em; }
.hdr__phone .ic { width: 16px; height: 16px; color: var(--ember); }
.burger { display: none; }

/* ---- hero ----------------------------------------------------------- */
.hero { position: relative; overflow: clip; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 104px); }
html.js .hero__copy > * { opacity: 0; }
html.js .hero.in .hero__copy > * { animation: riseIn .75s cubic-bezier(.2,.7,.3,1) forwards; }
html.js .hero.in .hero__copy > :nth-child(1) { animation-delay: .05s; }
html.js .hero.in .hero__copy > :nth-child(2) { animation-delay: .14s; }
html.js .hero.in .hero__copy > :nth-child(3) { animation-delay: .24s; }
html.js .hero.in .hero__copy > :nth-child(4) { animation-delay: .34s; }
html.js .hero.in .hero__copy > :nth-child(5) { animation-delay: .44s; }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 6.4vw, 5rem); letter-spacing: -0.045em; }
.hero h1 .warm { color: var(--ember); padding-right: .06em; }
.hero__lead { margin-top: 1.35rem; font-size: clamp(1.06rem, 1.4vw, 1.24rem); color: var(--steel); max-width: 33ch; line-height: 1.55; }
.hero__cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__trust { margin-top: 2.1rem; display: flex; flex-wrap: wrap; gap: .55rem 1.4rem; align-items: center; }
.hero__trust span { display: inline-flex; align-items: center; gap: .5em; font-size: .86rem; color: var(--steel); font-weight: 520; }
.hero__trust .ic { width: 16px; height: 16px; color: var(--cool-lo); }
.hero__loc { font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); margin-bottom: 1.1rem; display: flex; align-items: center; gap: .6em; }
.hero__loc .ic { width: 15px; height: 15px; }

/* the signature: a real thermostat -------------------------------- */
.thermo-wrap { position: relative; display: grid; justify-items: center; gap: 1.2rem; }
.thermo { position: relative; width: min(380px, 78vw); aspect-ratio: 1; }
.thermo::before { /* ambient warmth behind the unit */
  content: ""; position: absolute; inset: -14%;
  background:
    radial-gradient(50% 50% at 32% 68%, rgba(46,155,184,.16), transparent 65%),
    radial-gradient(55% 55% at 70% 30%, rgba(217,102,43,.20), transparent 65%);
  filter: blur(10px); z-index: -1; animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: .55; transform: scale(1.05); } }
.thermo__bezel {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 200deg, #cfcabd, #faf8f2 12%, #b7b2a5 30%, #efeadf 52%, #c6c1b4 70%, #f4f1e8 88%, #cfcabd);
  box-shadow: var(--shadow-lg), inset 0 1px 2px rgba(255,255,255,.9), inset 0 -2px 4px rgba(12,26,31,.25);
  padding: clamp(8px, 2.6%, 12px);
}
.thermo__face {
  position: relative; width: 100%; height: 100%; border-radius: 50%;
  background: radial-gradient(130% 130% at 32% 22%, #223840 0%, #12262C 46%, #0A161B 100%);
  box-shadow: inset 0 2px 14px rgba(0,0,0,.55), inset 0 -1px 3px rgba(255,255,255,.05);
  overflow: hidden;
}
.thermo__face::after { /* glass highlight */
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(58% 34% at 50% 4%, rgba(255,255,255,.09), transparent 65%);
  pointer-events: none;
}
.thermo__dial { position: absolute; inset: 0; width: 100%; height: 100%; }
.thermo__ticks line { stroke: rgba(243,240,233,.14); stroke-width: 1.6; stroke-linecap: round; }
.thermo__ticks line.maj { stroke: rgba(243,240,233,.34); stroke-width: 2.2; }
.thermo__track { fill: none; stroke: rgba(243,240,233,.10); stroke-width: 5; stroke-linecap: round; }
.thermo__arc { fill: none; stroke: url(#arcg); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 6px rgba(217,102,43,.45)); }
.thermo__read { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: .15rem; }
.thermo__temp { font-family: var(--display); font-weight: 800; font-size: clamp(3.4rem, 9vw, 4.8rem); color: var(--paper); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.thermo__temp sup { font-size: .32em; font-weight: 600; color: var(--brass); vertical-align: 1.15em; margin-left: .06em; }
.thermo__label { font-family: var(--mono); font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: rgba(159,176,178,.85); }
.thermo__row { display: flex; gap: .45rem; margin-top: .9rem; }
.thermo__chip { font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; padding: .45em .85em; border-radius: 999px; border: 1px solid rgba(243,240,233,.16); color: rgba(159,176,178,.9); display: inline-flex; align-items: center; gap: .45em; }
.thermo__chip .d { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.thermo__chip--heat { color: #E8956A; border-color: rgba(217,102,43,.42); background: rgba(217,102,43,.10); }
.thermo__chip--cool { color: #6FC0D6; border-color: rgba(46,155,184,.42); background: rgba(46,155,184,.10); }
.thermo__shadow { position: absolute; left: 12%; right: 12%; bottom: -7%; height: 9%; border-radius: 50%;
  background: radial-gradient(50% 100% at 50% 50%, rgba(12,26,31,.32), transparent 70%); filter: blur(6px); z-index: -1; }
.thermo__cap { font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); }
html.js .thermo, html.js .thermo__cap { opacity: 0; }
html.js .in .thermo { animation: thermoIn .9s cubic-bezier(.2,.7,.3,1) .25s forwards; }
html.js .in .thermo__cap { animation: riseIn .7s cubic-bezier(.2,.7,.3,1) .7s forwards; }
@keyframes thermoIn { from { opacity: 0; transform: scale(.94) translateY(14px); } to { opacity: 1; transform: none; } }
html.js .hero.in .thermo__bezel { animation: floaty 7s 1.8s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-7px); } }
@keyframes riseIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---- area ticker ---------------------------------------------------- */
.ticker { border-block: 1px solid var(--line); background: var(--paper-2); display: flex; align-items: stretch; overflow: hidden; }
.ticker__label { flex: none; display: none; align-items: center; gap: .5em; padding: 0 1.3rem; background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; position: relative; z-index: 2; }
.ticker__label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 3px rgba(217,102,43,.28); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(217,102,43,0); } }
.ticker__viewport { flex: 1; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.ticker__track { display: flex; gap: 2.8rem; padding: 1.05rem 0; width: max-content; will-change: transform; animation: slide 34s linear infinite; }
.ticker a { font-family: var(--display); font-weight: 600; font-size: 1.02rem; color: var(--ink); display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; letter-spacing: -0.02em; opacity: .82; transition: opacity .2s, color .2s; }
.ticker a .ic { width: 15px; height: 15px; color: var(--ember); opacity: .8; }
.ticker a:hover { opacity: 1; color: var(--ember); }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker__viewport:hover .ticker__track { animation-play-state: paused; }
@media (min-width: 720px) { .ticker__label { display: inline-flex; } }

/* ---- generic section ------------------------------------------------ */
.section { padding: clamp(64px, 9vw, 118px) 0; }
.section--ink { background: var(--ink); color: var(--paper); }
.section--paper2 { background: var(--paper-2); }
.section__head { max-width: 62ch; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head h2 { font-size: clamp(2rem, 4.3vw, 3.15rem); margin-top: 1rem; }
.section__head p { margin-top: 1.1rem; color: var(--steel); font-size: 1.1rem; max-width: 52ch; }
.section--ink .section__head p { color: var(--steel-lt); }

/* ---- services ------------------------------------------------------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.svc {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--rad); padding: 1.6rem 1.5rem 1.7rem; overflow: hidden;
  transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s, border-color .22s;
  display: flex; flex-direction: column;
}
.svc::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.svc[data-mode="heat"]::before { background: var(--heat-grad); }
.svc[data-mode="cool"]::before { background: linear-gradient(90deg, var(--cool), #6FB8CB); }
.svc[data-mode="neutral"]::before { background: linear-gradient(90deg, var(--brass), var(--ember)); }
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc:hover::before { transform: scaleX(1); }
.svc__ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 1.15rem; }
.svc[data-mode="heat"] .svc__ic { background: rgba(217,102,43,.12); color: var(--ember-lo); }
.svc[data-mode="cool"] .svc__ic { background: rgba(46,155,184,.13); color: var(--cool-lo); }
.svc[data-mode="neutral"] .svc__ic { background: rgba(196,129,60,.14); color: var(--brass); }
.svc__ic svg { width: 25px; height: 25px; transition: transform .25s cubic-bezier(.2,.7,.3,1); }
.svc:hover .svc__ic svg { transform: scale(1.14) rotate(-5deg); }
/* Reserve two lines so a wrapping title (e.g. "System Upgrades & High-Efficiency")
   doesn't push its body copy below the single-line cards beside it. */
.svc h3 { font-size: 1.28rem; letter-spacing: -0.03em; min-height: 2.6rem; }
.svc p { margin-top: .6rem; color: var(--steel); font-size: .97rem; line-height: 1.55; }
.svc__more { margin-top: auto; padding-top: 1.15rem; font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: .5em; }
.svc__more .ic { width: 14px; height: 14px; transition: transform .2s; }
.svc:hover .svc__more .ic { transform: translateX(4px); }

/* ---- why (editorial offset) ---------------------------------------- */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.why__quote { font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2.05rem); line-height: 1.18; letter-spacing: -0.03em; }
.why__quote .warm { color: var(--ember); padding-right: .08em; display: inline-block; }
.why__list { display: grid; gap: 1.5rem; }
.why__item { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line-dk); }
.why__item:last-child { border-bottom: 0; padding-bottom: 0; }
.why__num { font-family: var(--mono); font-size: .8rem; color: var(--brass); padding-top: .3rem; }
.why__item h3 { font-size: 1.18rem; }
.why__item p { margin-top: .45rem; color: var(--steel-lt); font-size: .98rem; }

/* ---- process -------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; counter-reset: step; }
.step { position: relative; padding-top: 2.6rem; }
.step__n { position: absolute; top: 0; left: 0; font-family: var(--mono); font-weight: 600; font-size: .8rem; color: var(--cool-lo); }
.step::before { content: ""; position: absolute; top: 6px; left: 34px; right: -1.1rem; height: 1px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px); }
.step:last-child::before { display: none; }
.step h3 { font-size: 1.12rem; }
.step p { margin-top: .5rem; color: var(--steel); font-size: .93rem; }

/* ---- stats band ----------------------------------------------------- */
.stats-band { position: relative; overflow: clip; }
.stats-band__glow { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(56% 120% at 82% 118%, rgba(217,102,43,.20), transparent 60%),
    radial-gradient(46% 110% at 10% -18%, rgba(46,155,184,.16), transparent 58%); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; position: relative; }
.stat {
  --acc: var(--ember);
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  border: 1px solid var(--line-dk); border-radius: var(--rad-lg);
  padding: 1.9rem 1.7rem 2rem;
  transition: transform .26s cubic-bezier(.2,.7,.3,1), border-color .26s, box-shadow .26s;
}
.stat::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: var(--acc); transform: scaleX(0); transform-origin: left;
  transition: transform .4s cubic-bezier(.2,.7,.3,1); }
.stat:hover { transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--acc) 52%, var(--line-dk));
  box-shadow: 0 26px 54px -28px rgba(0,0,0,.75); }
.stat:hover::before { transform: scaleX(1); }
.stat__ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  margin-bottom: 1.4rem; color: var(--acc);
  background: color-mix(in srgb, var(--acc) 15%, transparent);
  transition: transform .28s cubic-bezier(.2,.7,.3,1); }
.stat__ic svg { width: 23px; height: 23px; }
.stat:hover .stat__ic { transform: scale(1.08) rotate(-4deg); }
.stat b { display: block; font-family: var(--display); font-weight: 800;
  font-size: clamp(2.4rem, 4.2vw, 3.3rem); letter-spacing: -0.045em; line-height: 1;
  color: var(--paper); font-variant-numeric: tabular-nums; }
.stat__u { color: var(--acc); }
/* Fixed height so every card's label sits on the same baseline, whether or
   not it carries a star row. */
.stat__stars { display: flex; gap: 3px; margin-top: .7rem; height: 14px; color: var(--brass); }
.stat__stars svg { width: 14px; height: 14px; }
.stat__label { display: block; margin-top: .8rem; font-family: var(--mono); font-weight: 600;
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--paper); }
.stat__note { display: block; margin-top: .4rem; font-size: .88rem; color: var(--steel-lt); line-height: 1.4; }

/* ---- testimonials --------------------------------------------------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.review { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--rad); padding: 1.7rem 1.6rem; display: flex; flex-direction: column; transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s, border-color .22s; }
.review::after { content: "\201D"; position: absolute; top: .35rem; right: 1.15rem; font-family: var(--display); font-weight: 800; font-size: 5.4rem; line-height: 1; color: rgba(217,102,43,.09); pointer-events: none; }
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.review__stars { display: flex; gap: 3px; color: var(--ember); margin-bottom: 1rem; }
.review__stars svg { width: 17px; height: 17px; }
.review blockquote { margin: 0; flex: 1; } /* reset UA 40px indent; push caption to card bottom */
.review p { font-size: 1rem; line-height: 1.6; color: var(--ink); }
/* Stack label over location so every card's footer is identical regardless of
   place-name length (e.g. "Northern Virginia" no longer wraps into a ragged block). */
.review__who { margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: .86rem; color: var(--steel); font-weight: 560; display: flex; flex-direction: column; align-items: flex-start; gap: .15em; }
.review__who .g { font-family: var(--mono); font-weight: 700; color: var(--ink); }

/* ---- service area --------------------------------------------------- */
.area { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.area__list { columns: 2; column-gap: 2rem; }
.area__list a { display: block; padding: .55rem 0; border-bottom: 1px solid var(--line); font-weight: 560; font-size: 1rem; transition: color .18s, padding .18s; break-inside: avoid; }
.area__list a:hover { color: var(--ember); padding-left: .4rem; }
.area__list a span { font-family: var(--mono); font-size: .72rem; color: var(--steel); margin-left: .5em; }

/* ---- CTA band ------------------------------------------------------- */
.cta-band { position: relative; overflow: clip; background: var(--ink); color: var(--paper); border-radius: var(--rad-lg); padding: clamp(44px, 6vw, 76px) clamp(28px, 5vw, 68px); text-align: center; }
.cta-band__glow { position: absolute; inset: 0; background: radial-gradient(60% 120% at 50% 0%, rgba(217,102,43,.28), transparent 60%); pointer-events: none; }
.cta-band h2 { position: relative; font-size: clamp(2rem, 4.5vw, 3.3rem); }
.cta-band p { position: relative; margin: 1.1rem auto 0; color: var(--steel-lt); max-width: 48ch; font-size: 1.1rem; }
.cta-band__row { position: relative; margin-top: 2.1rem; display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

/* ---- footer --------------------------------------------------------- */
.foot { background: var(--ink); color: var(--steel-lt); padding: clamp(56px,7vw,84px) 0 2.4rem; border-top: 1px solid var(--line-dk); }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 2.2rem; }
.foot h4 { color: var(--paper); font-family: var(--mono); font-weight: 600; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1.15rem; }
.foot a { display: block; padding: .3rem 0; font-size: .95rem; transition: color .18s; }
.foot a:hover { color: var(--ember); }
.foot__brand .brand { color: var(--paper); }
.foot__brand p { margin-top: 1rem; font-size: .93rem; max-width: 34ch; line-height: 1.6; }
.foot__contact div { margin-bottom: .7rem; font-size: .95rem; }
.foot__contact b { color: var(--paper); font-family: var(--mono); font-weight: 600; letter-spacing: -0.02em; }
.foot__bot { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line-dk); display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; justify-content: space-between; font-size: .82rem; }

/* ---- reveal animation ---------------------------------------------- */
.rise { transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
html.js .rise { opacity: 0; transform: translateY(22px); }
html.js .rise.in { opacity: 1; transform: none; }
[data-stagger] > * { transition-delay: calc(var(--i, 0) * 70ms); }

/* ---- sub-page hero (service / location / combo) -------------------- */
.phero { padding: clamp(40px, 6vw, 74px) 0 clamp(28px, 4vw, 44px); }
.crumbs { font-family: var(--mono); font-size: .74rem; letter-spacing: .04em; color: var(--steel); display: flex; flex-wrap: wrap; gap: .5em; margin-bottom: 1.4rem; }
.crumbs a:hover { color: var(--ember); }
.crumbs span { color: var(--brass); }
.phero h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); max-width: 18ch; }
.phero__lead { margin-top: 1.2rem; font-size: clamp(1.05rem,1.4vw,1.2rem); color: var(--steel); max-width: 56ch; }
.phero__cta { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .8rem; }

.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 2.4rem 0 .9rem; }
.prose h3 { font-size: 1.2rem; margin: 1.8rem 0 .5rem; }
.prose p { margin-top: 1rem; color: var(--ink); }
.prose p.muted { color: var(--steel); }
.checks { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .7rem; }
.checks li { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; font-size: 1rem; }
.checks .ic { width: 20px; height: 20px; color: var(--cool-lo); margin-top: .15rem; }
.split { display: grid; grid-template-columns: 1fr 320px; gap: clamp(28px,4vw,56px); align-items: start; }
.aside { position: sticky; top: 92px; background: #fff; border: 1px solid var(--line); border-radius: var(--rad); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.aside h4 { font-family: var(--display); font-size: 1.2rem; letter-spacing: -0.02em; margin-bottom: .3rem; }
.aside p { font-size: .92rem; color: var(--steel); margin-bottom: 1.1rem; }
.aside__phone { font-family: var(--mono); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.03em; display: block; margin-bottom: 1rem; color: var(--ink); }
.aside .btn { width: 100%; justify-content: center; }
.aside__hours { margin-top: 1.3rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.aside__hours div { display: flex; justify-content: space-between; font-size: .86rem; padding: .28rem 0; color: var(--steel); }
.aside__hours b { color: var(--ink); font-weight: 560; }
.faq { margin-top: 1rem; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq summary { font-family: var(--display); font-weight: 600; font-size: 1.1rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ember); font-family: var(--mono); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin-top: .8rem; color: var(--steel); }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.2rem; }
.chip { font-size: .84rem; font-weight: 540; padding: .5em 1em; border: 1px solid var(--line); border-radius: 999px; background: #fff; transition: border-color .18s, color .18s, transform .18s; }
.chip:hover { color: var(--ember); border-color: var(--ember); transform: translateY(-1px); }

/* ---- recent work ----------------------------------------------------- */
.work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.work figure { margin: 0; }
.work__pair { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.work__pair figcaption { grid-column: 1 / -1; }
.work__shot { position: relative; border-radius: var(--rad); overflow: hidden; background: var(--paper-2); }
.work__shot img { width: 100%; height: 100%; object-fit: cover; object-position: center; aspect-ratio: 4 / 5; transition: transform .4s cubic-bezier(.2,.7,.3,1); }
/* The before/after shots are tall portraits of full-height water heaters.
   Match their native ~3:4 ratio so the whole unit shows, never a cropped band. */
.work__pair .work__shot img { aspect-ratio: 3 / 4; }
.work__item .work__shot img { aspect-ratio: 4 / 5; }
.work figure:hover img { transform: scale(1.03); }
.work__tag { position: absolute; top: 12px; left: 12px; font-family: var(--mono); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: .45em .9em; border-radius: 999px; background: var(--ink); color: var(--paper); }
.work__tag--after { background: var(--ember); color: #fff; }
.work figcaption { margin-top: .7rem; font-size: .9rem; color: var(--steel); font-weight: 540; }

/* ---- quote form (crafted, not a pizza order) ------------------------- */
.contact { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.qform { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--rad-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-md); overflow: hidden; }
.qform::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--spectrum); }
.qform__head h3 { font-size: 1.5rem; letter-spacing: -0.03em; }
.qform__head p { margin: .45rem 0 1.5rem; color: var(--steel); font-size: .94rem; }
.qform label, .qsvc legend { display: block; font-size: .8rem; font-weight: 640; margin-bottom: .5rem; color: var(--ink); }
.qsvc { border: 0; padding: 0; margin: 0 0 1.25rem; }
.qsvc__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; }
.qopt { position: relative; }
.qopt input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.qopt label { display: flex; flex-direction: column; gap: .5rem; align-items: flex-start; margin: 0; padding: .85rem .9rem; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-size: .86rem; font-weight: 600; line-height: 1.25; color: var(--ink); background: var(--paper); transition: border-color .16s, background .16s, transform .16s, box-shadow .16s; }
.qopt svg { width: 21px; height: 21px; color: var(--steel); transition: color .16s, transform .22s cubic-bezier(.2,.7,.3,1); }
.qopt:hover label { border-color: var(--brass); transform: translateY(-1px); }
.qopt input:checked + label { border-color: var(--ember); background: rgba(217,102,43,.07); box-shadow: 0 0 0 3px rgba(217,102,43,.13); }
.qopt input:checked + label svg { color: var(--ember); transform: scale(1.15) rotate(-4deg); }
.qopt input:focus-visible + label { outline: 3px solid var(--cool); outline-offset: 2px; }
.qform .frow { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.qform .field { margin-bottom: 1rem; }
.inp { position: relative; }
.inp > .ic { position: absolute; left: .95em; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--steel); pointer-events: none; }
.qform input, .qform select, .qform textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink);
  padding: .82em .9em; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--paper); transition: border-color .16s, box-shadow .16s, background .16s;
}
.inp input, .inp select { padding-left: 2.6em; }
.qform input:hover, .qform select:hover, .qform textarea:hover { border-color: #C8C0AE; }
.qform input:focus, .qform select:focus, .qform textarea:focus {
  outline: none; border-color: var(--cool-lo); background: #fff; box-shadow: 0 0 0 3px rgba(46,155,184,.16);
}
.qform select { appearance: none; -webkit-appearance: none; padding-right: 2.4em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C6E72' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .85em center; background-size: 16px; }
.qform textarea { resize: vertical; min-height: 84px; }
.qform button[type="submit"] { width: 100%; justify-content: center; margin-top: .35rem; font-size: 1.02rem; padding-block: 1.08em; }
.qform .fnote { margin-top: .9rem; font-size: .8rem; color: var(--steel); text-align: center; display: flex; align-items: center; justify-content: center; gap: .5em; }
.qform .fnote .ic { width: 14px; height: 14px; color: var(--cool-lo); }
.qform .honey { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.qform.sent .qhide { display: none; }
.qform__done { display: none; text-align: center; padding: 2.6rem 1rem; }
.qform.sent .qform__done { display: block; }
.qform__done h3 { margin: 1.1rem 0 .5rem; }
.qform__done p { color: var(--steel); }
.qcheck { width: 72px; height: 72px; margin-inline: auto; display: block; }
.qcheck circle { fill: none; stroke: var(--cool); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.qcheck path { fill: none; stroke: var(--ember); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.qform.sent .qcheck circle { animation: draw .6s cubic-bezier(.3,.7,.3,1) forwards; }
.qform.sent .qcheck path { animation: draw .45s .4s cubic-bezier(.3,.7,.3,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.contact__side { display: grid; gap: 1rem; }
.ccard { background: var(--ink); color: var(--paper); border-radius: var(--rad); padding: 1.6rem; }
.ccard h4 { font-family: var(--mono); font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); margin-bottom: .8rem; }
.ccard a.big { font-family: var(--mono); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.03em; display: block; margin-bottom: .3rem; }
.ccard p { font-size: .9rem; color: var(--steel-lt); }
.ccard--paper { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.ccard--paper h4 { color: var(--cool-lo); }
.ccard--paper div { display: flex; justify-content: space-between; padding: .3rem 0; font-size: .9rem; color: var(--steel); }
.ccard--paper b { color: var(--ink); font-weight: 560; }
.ccard__proof { list-style: none; padding: 0; margin: 0; display: grid; gap: .68rem; }
.ccard__proof li { display: grid; grid-template-columns: auto 1fr; gap: .65rem; align-items: center; font-size: .93rem; color: var(--ink); font-weight: 520; }
.ccard__proof .ic { width: 18px; height: 18px; color: var(--cool-lo); }

/* modal */
.qmodal { position: fixed; inset: 0; z-index: 90; display: none; }
.qmodal.open { display: grid; place-items: center; padding: 20px; }
.qmodal__bg { position: absolute; inset: 0; background: rgba(12,26,31,.62); backdrop-filter: blur(5px); }
.qmodal .qform { position: relative; width: min(560px, 100%); max-height: min(90vh, 820px); overflow: auto; animation: pop .3s cubic-bezier(.2,.9,.3,1.15); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.qmodal__x { position: absolute; top: 14px; right: 14px; z-index: 2; background: var(--paper); border: 1px solid var(--line); width: 36px; height: 36px; border-radius: 50%; font-size: 1.15rem; line-height: 1; cursor: pointer; color: var(--ink); transition: background .15s, transform .15s; }
.qmodal__x:hover { background: var(--line); transform: rotate(90deg); }

/* ---- responsive ----------------------------------------------------- */
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; }
  .thermo-wrap { order: -1; }
  .thermo { width: min(300px, 72vw); }
  .topbar__in > span:first-child { display: none; }
  .svc-grid, .reviews, .steps { grid-template-columns: repeat(2, 1fr); }
  .work { grid-template-columns: repeat(2, 1fr); }
  .work__item:last-child { display: none; }
  .why, .area, .split, .contact { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .aside { position: static; }
  .nav, .hdr__phone { display: none; }
  .burger { display: inline-grid; }
}
@media (max-width: 560px) {
  .svc-grid, .reviews, .steps, .area__list { grid-template-columns: 1fr; columns: 1; }
  .work, .work__pair { grid-template-columns: 1fr; }
  .work__item:last-child { display: block; }
  .qsvc__grid { grid-template-columns: repeat(2, 1fr); }
  .qform .frow { grid-template-columns: 1fr; }
  .mbar { display: grid; }
  body { padding-bottom: 58px; }
  .topbar { display: none; }
  .hdr__cta .btn { display: none; } /* sticky bottom bar covers the quote CTA */
  .hdr__cta .btn span { display: none; }
  .foot__grid { grid-template-columns: 1fr; gap: 1.8rem; }
  /* Process steps: stacked on mobile, so swap the horizontal connector for a
     vertical dotted rail with a node dot per step — the sequence still reads. */
  .steps { gap: 0; }
  .step { padding: 0 0 1.9rem 1.75rem; }
  .step:last-child { padding-bottom: 0; }
  .step__n { position: static; margin-bottom: .3rem; }
  .step::before { display: block; content: ""; left: 5px; top: 1.5rem; bottom: -.1rem; right: auto;
    width: 1px; height: auto; background: repeating-linear-gradient(180deg, var(--brass) 0 4px, transparent 4px 9px); opacity: .55; }
  .step:last-child::before { display: none; }
  .step::after { content: ""; position: absolute; left: 0; top: .35rem; width: 11px; height: 11px; border-radius: 50%;
    background: var(--paper-2); border: 2px solid var(--cool-lo); }
}

/* ---- mobile nav sheet ---------------------------------------------- */
.burger { background: none; border: 0; padding: 8px; margin-left: auto; cursor: pointer; }
.burger svg { width: 26px; height: 26px; }
.sheet { position: fixed; inset: 0; z-index: 80; background: var(--ink); color: var(--paper); display: grid; align-content: center; gap: 1.2rem; padding: var(--gutter); transform: translateY(-100%); transition: transform .35s cubic-bezier(.4,0,.2,1); }
.sheet.open { transform: none; }
.sheet a { font-family: var(--display); font-weight: 700; font-size: 2rem; letter-spacing: -0.03em; }
.sheet__close { position: absolute; top: 22px; right: var(--gutter); background: none; border: 0; color: var(--paper); font-size: 2rem; cursor: pointer; }
.sheet .btn { margin-top: 1rem; justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .rise { opacity: 1; transform: none; transition: none; }
  /* The location marquee is a calm, continuous, brand-essential motion the
     owner asked for by name. Keep it running even when the OS requests
     reduced motion, but slow it down so it stays gentle. */
  .ticker__track { animation: slide 48s linear infinite !important; }
  .ticker__viewport:hover .ticker__track { animation-play-state: paused !important; }
}
:focus-visible { outline: 3px solid var(--cool); outline-offset: 3px; border-radius: 4px; }
