/* Northdial Heating & Cooling. Deep slate, split ice / ember palette driven by --heat (0 = cool, 1 = heat). */

@property --heat { syntax: "<number>"; inherits: true; initial-value: 0.57; }

:root {
  --bg: #0a111d;
  --bg-2: #0c1524;
  --panel: #111c2e;
  --panel-2: #16233a;
  --line: rgb(160 186 220 / 0.13);
  --line-2: rgb(160 186 220 / 0.24);
  --ink: #edf2f8;
  --ink-2: #c7d3e1;
  --muted: #9fb2c8;
  --dim: #7489a3;

  --ice: #7dd3fc;
  --ice-2: #bae6fd;
  --ember: #f97316;
  --ember-2: #fdba74;
  --neutral: #e4ebf3;

  /* accent: ice -> pale comfort white -> ember */
  --cold-w: calc(clamp(0, 1 - var(--heat) * 2, 1) * 100%);
  --hot-w: calc(clamp(0, var(--heat) * 2 - 1, 1) * 100%);
  --c-side: color-mix(in oklab, var(--ice) var(--cold-w), var(--neutral));
  --h-side: color-mix(in oklab, var(--ember) var(--hot-w), var(--neutral));
  --accent: color-mix(in oklab, var(--h-side) calc(var(--heat) * 100%), var(--c-side));
  --accent-2: color-mix(in oklab, var(--ember-2) calc(var(--heat) * 100%), var(--ice-2));
  --accent-a: color-mix(in oklab, var(--accent) 16%, transparent);
  --accent-b: color-mix(in oklab, var(--accent) 30%, transparent);
  --on-accent: #0a111d;

  --display: "Anybody", "Arial Narrow", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --r-card: 20px;
  --r-in: 12px;
  --pad: clamp(16px, 4.4vw, 64px);
  --nav-h: 68px;

  --z-nav: 40;
  --z-skip: 60;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.ic { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.ic-lg { width: 34px; height: 34px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: var(--z-skip); background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }
.sec { padding: clamp(72px, 8vw, 118px) 0; position: relative; }
.h2 {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 104%;
  font-size: clamp(2rem, 3.7vw, 3.15rem);
  line-height: 1.04;
  letter-spacing: -0.028em;
  margin: 0 0 18px;
  text-wrap: balance;
  max-width: 20ch;
}
.lede { color: var(--ink-2); font-size: clamp(1.02rem, 1.3vw, 1.18rem); max-width: 56ch; margin: 0 0 40px; text-wrap: pretty; }

/* buttons: full pill */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; background: none;
  transition: transform 160ms var(--ease), background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 30px -12px var(--accent), inset 0 1px 0 rgb(255 255 255 / 0.4); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: rgb(255 255 255 / 0.03); }
@media (hover: hover) and (pointer: fine) {
  .btn-accent:hover { box-shadow: 0 14px 40px -10px var(--accent), inset 0 1px 0 rgb(255 255 255 / 0.5); }
  .btn-ghost:hover { border-color: var(--accent); background: var(--accent-a); }
  .btn:hover .ic[aria-hidden] use[href="#i-arrow-right"] { transform: translateX(2px); }
}

/* tint: page re-temperatures photos too */
.tint { position: relative; }
.tint::after { content: ""; position: absolute; inset: 0; background: var(--accent); mix-blend-mode: soft-light; opacity: 0.28; pointer-events: none; border-radius: inherit; }

/* reveal, fail-open */
html.rv-on .rv { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
html.rv-on .rv.in { opacity: 1; transform: none; }

/* ============ NAV ============ */
.nav { position: fixed; inset: 0 0 auto; z-index: var(--z-nav); height: var(--nav-h); transition: background-color 300ms ease, border-color 300ms ease; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgb(10 17 29 / 0.88); border-bottom-color: var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav-in { height: 100%; max-width: 1440px; margin: 0 auto; padding: 0 clamp(16px, 2.8vw, 40px); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; border-radius: 50%; position: relative; flex: none;
  background: radial-gradient(circle at 50% 35%, #1d2a3d, #070c14 72%);
  box-shadow: 0 0 0 3px #3a4658, 0 0 0 4px rgb(255 255 255 / 0.18), 0 0 18px -2px var(--accent); }
.brand-mark i { position: absolute; left: 50%; top: 4px; width: 3px; height: 9px; margin-left: -1.5px; border-radius: 2px; background: var(--accent); transform-origin: 50% 11px; transform: rotate(calc((var(--heat) - 0.5) * 220deg)); }
.brand-word { font-family: var(--display); font-weight: 800; font-stretch: 122%; font-size: 21px; letter-spacing: -0.02em; line-height: 1; display: flex; flex-direction: column; }
.brand-word small { font-family: var(--body); font-weight: 600; font-size: 11.5px; letter-spacing: 0.02em; color: var(--muted); margin-top: 4px; font-stretch: normal; }
.nav-links { display: flex; gap: 26px; margin-left: 12px; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 600; padding: 8px 0; transition: color 160ms ease; }
.nav-links a:hover { color: var(--ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.chip-dial { display: inline-flex; align-items: center; gap: 2px; height: 42px; padding: 0 3px; border-radius: 999px; border: 1px solid var(--line-2); background: rgb(255 255 255 / 0.03); }
.chip-btn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: none; color: var(--ink-2); display: grid; place-items: center; transition: background-color 160ms ease, transform 160ms var(--ease); }
.chip-btn:hover { background: var(--accent-a); color: var(--ink); }
.chip-btn:active { transform: scale(0.9); }
.chip-read { font-family: var(--display); font-size: 17px; font-weight: 600; min-width: 74px; text-align: center; font-variant-numeric: tabular-nums; }
.chip-read b { font-weight: 700; }
.chip-read em { font-style: normal; font-family: var(--body); font-size: 12px; font-weight: 700; color: var(--accent); margin-left: 6px; letter-spacing: 0.02em; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 15px; color: var(--ink-2); }
.nav-phone:hover { color: var(--ink); }

/* ============ HERO ============ */
.hero {
  --dial: clamp(280px, 31vw, 470px);
  --photo-w: min(34vw, 520px);
  position: relative; isolation: isolate; overflow: clip;
  min-height: max(760px, 100svh);
  padding: calc(var(--nav-h) + 24px) clamp(20px, 2.8vw, 40px) 40px;
  display: flex; align-items: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(70% 60% at 42% 108%, color-mix(in oklab, var(--accent) 22%, transparent), transparent 70%),
    radial-gradient(50% 40% at 8% 0%, rgb(56 189 248 / 0.07), transparent 70%),
    linear-gradient(180deg, #08101b 0%, var(--bg) 60%);
}
.hero-air { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-air canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
#airflowStatic { display: none; }
html.air-static #airflowStatic { display: block; }
html.air-static #airflow { display: none; }

.hero-photo {
  position: absolute; top: calc(var(--nav-h) + 16px); right: clamp(20px, 2.8vw, 40px); bottom: 40px;
  width: var(--photo-w); margin: 0; border-radius: 30px; overflow: hidden; z-index: 0;
  background: var(--panel);
  box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.8);
}
.hero-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgb(10 17 29 / 0.55), transparent 38%), linear-gradient(0deg, rgb(10 17 29 / 0.35), transparent 30%); }
.hp { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hp-cool { object-position: 58% 30%; }
.hp-heat { object-position: 62% 70%; clip-path: circle(150% at 0% 55%); transition: clip-path 1100ms var(--ease); }
html[data-photo="cool"] .hp-heat { clip-path: circle(0% at 0% 55%); }

.hero-copy { position: relative; z-index: 2; max-width: min(600px, calc(100% - var(--photo-w) - var(--dial) * 0.62)); padding-left: clamp(0px, 2vw, 28px); }
.hero-kicker { font-size: 15px; font-weight: 600; color: var(--ink-2); margin: 0 0 22px; max-width: 40ch; text-wrap: balance; }
.glaze {
  font-family: var(--display); font-weight: 780; font-stretch: 114%;
  font-size: clamp(3rem, 6.5vw, 6rem); line-height: 0.92; letter-spacing: -0.035em;
  margin: 0 0 26px;
}
.glaze span {
  display: block; width: fit-content; padding: 0.04em 0.02em 0.12em; margin-bottom: -0.1em;
  background:
    linear-gradient(105deg, transparent 40%, rgb(255 255 255 / 0.9) 49%, transparent 58%) no-repeat,
    linear-gradient(180deg, #ffffff 6%, color-mix(in oklab, var(--accent) 30%, #ffffff) 40%, var(--accent) 74%, color-mix(in oklab, var(--accent) 55%, #0a111d) 100%);
  background-size: 260% 100%, 100% 100%;
  background-position: 140% 0, 0 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 rgb(255 255 255 / 0.12)) drop-shadow(0 16px 34px color-mix(in oklab, var(--accent) 28%, transparent));
}
.glaze.sheen span { animation: sheen 1500ms var(--ease) both; }
.glaze.sheen span + span { animation-delay: 90ms; }
@keyframes sheen { from { background-position: 140% 0, 0 0; } to { background-position: -50% 0, 0 0; } }

.hero-sub { position: relative; min-height: 5.4em; margin-bottom: 30px; max-width: 30em; }
.hero-sub p { margin: 0; position: absolute; inset: 0 0 auto; font-size: clamp(1.05rem, 1.35vw, 1.22rem); color: var(--ink-2); text-wrap: pretty;
  transition: opacity 360ms var(--ease), filter 360ms var(--ease), transform 360ms var(--ease); }
html:not([data-mode="heat"]) .hero-sub [data-show="heat"],
html:not([data-mode="cool"]) .hero-sub [data-show="cool"],
html:not([data-mode="auto"]) .hero-sub [data-show="auto"] { opacity: 0; filter: blur(3px); transform: translateY(6px); pointer-events: none; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* dial */
.dial-wrap {
  position: absolute; z-index: 3;
  right: calc(clamp(20px, 2.8vw, 40px) + var(--photo-w) - var(--dial) * 0.42);
  top: calc(50% + 18px); transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.dial { position: relative; width: var(--dial); height: var(--dial); border-radius: 50%; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; outline: none; }
.dial:focus-visible .dial-bezel { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--accent), 0 40px 70px -30px rgb(0 0 0 / 0.9); }
.dial.dragging { cursor: grabbing; }
.dial-halo { position: absolute; inset: -16%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--accent) 34%, transparent), color-mix(in oklab, var(--accent) 10%, transparent) 62%, transparent 100%); }
.dial-bezel {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    repeating-conic-gradient(from var(--rot, 0deg), rgb(255 255 255 / 0.16) 0deg 0.9deg, rgb(0 0 0 / 0.22) 0.9deg 3deg),
    conic-gradient(from 200deg, #28323f, #a6b2c1 10%, #3b4656 22%, #1b232f 40%, #77839a 58%, #252f3d 74%, #8c97a8 90%, #28323f);
  box-shadow: 0 40px 70px -30px rgb(0 0 0 / 0.9), inset 0 2px 1px rgb(255 255 255 / 0.35), inset 0 -2px 4px rgb(0 0 0 / 0.6);
  -webkit-mask: radial-gradient(circle, transparent calc(50% - var(--dial) * 0.085), #000 calc(50% - var(--dial) * 0.085 + 1px));
          mask: radial-gradient(circle, transparent calc(50% - var(--dial) * 0.085), #000 calc(50% - var(--dial) * 0.085 + 1px));
}
.dial-notch { position: absolute; left: 50%; top: 0; width: 6px; height: calc(var(--dial) * 0.085); margin-left: -3px; border-radius: 3px;
  background: var(--accent); box-shadow: 0 0 12px var(--accent); transform-origin: 50% calc(var(--dial) / 2); transform: rotate(var(--rot, 0deg)); }
.dial-face {
  position: absolute; inset: 8.5%; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background:
    radial-gradient(120% 70% at 50% -10%, rgb(255 255 255 / 0.10), transparent 52%),
    radial-gradient(80% 50% at 50% 118%, color-mix(in oklab, var(--accent) 30%, transparent), transparent 70%),
    radial-gradient(circle at 50% 42%, #142034, #060a12 74%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06), inset 0 10px 30px rgb(0 0 0 / 0.65), inset 0 -10px 30px color-mix(in oklab, var(--accent) 14%, transparent);
  pointer-events: none; z-index: 1;
}
.dial-ticks { position: absolute; inset: 8.5%; width: 83%; height: 83%; pointer-events: none; overflow: visible; z-index: 2; }
.dial-ticks line { stroke-linecap: round; transition: stroke 200ms ease, opacity 200ms ease; }
.dial-mode { display: inline-flex; align-items: center; gap: 7px; font-size: calc(var(--dial) * 0.036); font-weight: 700; color: var(--accent); letter-spacing: 0.02em; }
.dial-mode .ic { width: 1.25em; height: 1.25em; display: none; }
html[data-mode="heat"] .m-heat, html[data-mode="cool"] .m-cool, html[data-mode="auto"] .m-auto { display: block; }
.dial-num { font-family: var(--display); font-weight: 260; font-size: calc(var(--dial) * 0.31); line-height: 0.9; letter-spacing: -0.04em;
  font-stretch: calc(72% + var(--heat) * 56%); font-variant-numeric: tabular-nums; display: flex; align-items: flex-start; color: #f4f7fb; }
.dial-num i { font-style: normal; font-size: 0.4em; font-weight: 300; margin-top: 0.18em; color: var(--accent); }
.dial-inside { font-size: calc(var(--dial) * 0.034); color: var(--muted); font-weight: 600; }
.dial-inside b { color: var(--ink-2); font-weight: 700; }
.dial-end { position: absolute; width: calc(var(--dial) * 0.07); height: calc(var(--dial) * 0.07); display: grid; place-items: center; pointer-events: none; }
.dial-end .ic { width: 100%; height: 100%; }
.dial-end-cool { left: 29%; bottom: 13%; color: var(--ice); }
.dial-end-heat { right: 29%; bottom: 13%; color: var(--ember); }
.dial-controls { display: flex; align-items: center; gap: 14px; }
.dial-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: rgb(10 17 29 / 0.6); color: var(--ink); display: grid; place-items: center; transition: transform 160ms var(--ease), border-color 200ms ease, background-color 200ms ease; backdrop-filter: blur(6px); }
.dial-btn:active { transform: scale(0.92); }
@media (hover: hover) { .dial-btn:hover { border-color: var(--accent); background: var(--accent-a); } }
.dial-hint { margin: 0; font-size: 14px; color: var(--ink-2); text-align: center; max-width: 18ch; line-height: 1.35; text-shadow: 0 1px 8px rgb(0 0 0 / 0.6); }

/* ============ SEASONS ============ */
.seasons { padding-top: clamp(90px, 10vw, 140px); }
.season-pair { display: flex; gap: 16px; height: clamp(440px, 46vw, 600px); }
.season {
  position: relative; overflow: hidden; border-radius: var(--r-card); border: 0; padding: 0; text-align: left; min-width: 0;
  background: var(--panel); color: var(--ink);
  transition: flex-grow 900ms var(--ease), box-shadow 300ms ease;
}
.s-cold { flex: calc(1 + var(--heat) * 1.3) 1 0; }
.s-hot { flex: calc(1 + (1 - var(--heat)) * 1.3) 1 0; }
.season img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.s-cold img { object-position: 50% 62%; }
.s-hot img { object-position: 60% 40%; }
@media (hover: hover) { .season:hover img { transform: scale(1.03); } }
.season:active { transform: scale(0.995); }
.season-body {
  position: absolute; inset: auto 0 0; padding: 26px 26px 26px; display: grid; gap: 8px; z-index: 1;
  background: linear-gradient(0deg, rgb(8 13 22 / 0.94) 0%, rgb(8 13 22 / 0.75) 60%, transparent 100%);
  padding-top: 70px;
}
.season-t { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-stretch: 110%; font-size: clamp(1.3rem, 2vw, 1.75rem); letter-spacing: -0.02em; line-height: 1.1; }
.s-cold .season-t .ic { color: var(--ember-2); }
.s-hot .season-t .ic { color: var(--ice); }
.season-list { color: var(--ink-2); font-size: 15.5px; max-width: 42ch; }
html[data-mode="heat"] .s-cold, html[data-mode="cool"] .s-hot { box-shadow: 0 0 0 2px var(--accent); }

/* ============ SERVICES ============ */
.svc-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.svc-media { position: sticky; top: calc(var(--nav-h) + 28px); }
.svc-frame { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-card); overflow: hidden; background: var(--panel); }
.svc-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 500ms var(--ease), transform 900ms var(--ease); }
.svc-frame img.on { opacity: 1; transform: none; }
.svc-cap { margin: 14px 2px 0; color: var(--muted); font-size: 15px; min-height: 3em; }
.svc-group { margin-top: 34px; }
.svc-gh { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-stretch: 110%; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink-2); margin: 0 0 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.g-heat .ic { color: var(--ember); } .g-cool .ic { color: var(--ice); } .g-air .ic { color: var(--neutral); }
.svc-row {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; width: 100%; text-align: left;
  padding: 16px 18px; margin: 4px 0; border: 0; border-radius: 14px; background: transparent;
  transition: background-color 220ms ease, transform 160ms var(--ease);
}
.svc-row:active { transform: scale(0.99); }
.svc-name { font-family: var(--display); font-weight: 650; font-stretch: 106%; font-size: clamp(1.18rem, 1.7vw, 1.45rem); letter-spacing: -0.015em; line-height: 1.2; transition: color 200ms ease; }
.svc-price { grid-row: 1; grid-column: 2; font-weight: 700; color: var(--muted); font-size: 15px; align-self: center; font-variant-numeric: tabular-nums; }
.svc-desc { grid-column: 1 / -1; color: var(--muted); font-size: 15.5px; max-width: 58ch; transition: color 200ms ease; }
.svc-row.on, .svc-row:focus-visible { background: rgb(255 255 255 / 0.045); }
.svc-row.on .svc-name { color: var(--accent); }
.svc-row.on .svc-desc { color: var(--ink-2); }
.svc-row.on .svc-price { color: var(--ink); }
@media (hover: hover) { .svc-row:hover { background: rgb(255 255 255 / 0.035); } }

/* ============ AIR (pinned cutaway) ============ */
.air { position: relative; background: linear-gradient(180deg, var(--bg) 0%, #0b1422 50%, var(--bg) 100%); }
.air-pin { min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 10px) 0 24px; }
.air-inner { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: minmax(0, 3.6fr) minmax(0, 8.4fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.air-text .h2 { font-size: clamp(1.8rem, 2.8vw, 2.6rem); max-width: 14ch; }
.air-intro { color: var(--ink-2); margin: 0 0 26px; max-width: 40ch; }
.air-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.air-steps li { padding: 10px 14px; border-radius: 12px; opacity: 0.42; transition: opacity 300ms ease, background-color 300ms ease; }
.air-steps li b { display: block; font-family: var(--display); font-stretch: 106%; font-weight: 650; font-size: 17px; line-height: 1.3; }
.air-steps li span { display: block; color: var(--ink-2); font-size: 15px; line-height: 1.5; max-height: 0; overflow: hidden; opacity: 0; transition: max-height 450ms var(--ease), opacity 300ms ease, margin 300ms ease; }
.air-steps li.on { opacity: 1; background: rgb(255 255 255 / 0.04); }
.air-steps li.on b { color: var(--accent); }
.air-steps li.on span { max-height: 8em; opacity: 1; margin-top: 4px; }
html:not([data-mode="heat"]) .air-steps [data-show="heat"],
html:not([data-mode="cool"]) .air-steps [data-show="cool"],
html:not([data-mode="auto"]) .air-steps [data-show="auto"] { display: none !important; }
.air-figure { position: relative; }
.house { width: 100%; height: auto; max-height: calc(100svh - var(--nav-h) - 70px); overflow: hidden; }
.air-progress { height: 3px; border-radius: 3px; background: var(--line); margin: 10px auto 0; max-width: 520px; overflow: hidden; }
.air-progress span { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

.house .soil-l { stroke: rgb(120 140 170 / 0.12); stroke-width: 2; }
.house .ground { stroke: #3a4a62; stroke-width: 2; }
.house .snowbank { fill: rgb(230 240 250 / calc(clamp(0, var(--heat) * 1.6 - 0.6, 1) * 0.85)); }
.house .roof { fill: none; stroke: #4a5a74; stroke-width: 12; stroke-linejoin: round; stroke-linecap: round; }
.house .roof-snow { fill: none; stroke: rgb(236 244 252 / calc(clamp(0, var(--heat) * 1.6 - 0.6, 1) * 0.9)); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; transform: translateY(-9px); }
.house .chimney { fill: #233148; stroke: #4a5a74; stroke-width: 2; }
.house .room { fill: #131f31; stroke: none; transition: fill 600ms ease; }
.house .room-base { fill: #101a2a; }
.house .struct { fill: none; stroke: #3c4c66; stroke-width: 3; stroke-linecap: round; }
.house .furn rect, .house .furn path { fill: rgb(150 172 204 / 0.08); stroke: rgb(150 172 204 / 0.32); stroke-width: 1.5; }
.house .furn .window { fill: rgb(125 211 252 / 0.08); stroke: rgb(170 200 230 / 0.4); }
.house .tstat circle { fill: #0a111d; stroke: var(--accent); stroke-width: 3; }
.house .tstat .tstat-ring { fill: none; stroke-width: 2; opacity: 0; transform-origin: 500px 452px; }
.house .tstat.ping .tstat-ring { animation: ping 1.6s var(--ease) infinite; }
@keyframes ping { from { opacity: 0.9; transform: scale(0.6); } to { opacity: 0; transform: scale(1.8); } }
.house .condenser rect { fill: #1a2638; stroke: #50627e; stroke-width: 2; }
.house .cond-fan { fill: none; stroke: #50627e; stroke-width: 2; }
.house .cond-blade { stroke: var(--ice); stroke-width: 3; stroke-linecap: round; transform-origin: 911px 520px; opacity: 0.5; }
.house .condenser.run .cond-blade { animation: spin 0.9s linear infinite; opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }
.house .lineset { fill: none; stroke: var(--ice); stroke-width: 3; stroke-dasharray: 2 7; opacity: 0; transition: opacity 400ms ease; }
.house .lineset.on { opacity: 0.85; }
.house .duct-base path { fill: none; stroke: #22324a; stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; }
.house .duct-charge path { fill: none; stroke: var(--accent); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; opacity: 0.85; }
.house .duct-flow path { fill: none; stroke: #ffffff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 3 19; opacity: 0; transition: opacity 400ms ease; animation: flow 0.9s linear infinite; }
.house .duct-flow path.on { opacity: 0.85; }
@keyframes flow { to { stroke-dashoffset: -22; } }
.house .furnace > rect:first-child { fill: #1b283b; stroke: #5a6c88; stroke-width: 2; }
.house .coil { fill: #1d2b3f; stroke: #5a6c88; stroke-width: 2; transition: fill 400ms ease; }
.house .coil.cold { fill: rgb(125 211 252 / 0.55); }
.house .flame { fill: var(--ember); opacity: 0; transition: opacity 400ms ease; transform-origin: 264px 690px; }
.house .flame.on { opacity: 1; animation: flick 0.5s ease-in-out infinite alternate; }
@keyframes flick { to { transform: scaleY(0.86) scaleX(1.05); } }
.house .filter { fill: #26354c; stroke: #5a6c88; stroke-width: 2; transition: fill 300ms ease, stroke 300ms ease; }
.house .filter.on { fill: var(--accent-b); stroke: var(--accent); }
.house .regs rect { fill: #5a6c88; }
.house .regs .ret { fill: #3c4c66; }
.house .badge rect { fill: rgb(8 13 22 / 0.88); stroke: var(--line-2); stroke-width: 1.5; transition: stroke 300ms ease; }
.house .badge text { font-family: var(--display); font-weight: 650; font-size: 21px; fill: #e6edf5; text-anchor: middle; font-variant-numeric: tabular-nums; }
.house .badge.on rect { stroke: var(--accent); }
.house .badge.done rect { fill: color-mix(in oklab, var(--accent) 22%, #0a111d); }
.house .labels text { font-family: var(--body); font-size: 15px; font-weight: 600; fill: #8ea2bc; }
.house .wx-sun circle { fill: rgb(253 224 71 / calc(clamp(0, 1 - var(--heat) * 1.6, 1) * 0.85)); }
.house .wx-sun .sun-ring { fill: none; stroke: rgb(253 224 71 / calc(clamp(0, 1 - var(--heat) * 1.6, 1) * 0.35)); stroke-width: 2; }
.house .wx-snow circle { fill: rgb(240 246 252 / calc(clamp(0, var(--heat) * 1.6 - 0.6, 1) * 0.7)); }
.house .room-glow { transition: opacity 500ms ease; pointer-events: none; }

/* ============ NIGHT ============ */
.night { position: relative; isolation: isolate; padding: clamp(90px, 11vw, 150px) 0; overflow: clip; }
.night-media { position: absolute; inset: 0; z-index: -1; }
.night-media video { width: 100%; height: 100%; object-fit: cover; }
.night-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgb(10 17 29 / 0.94) 0%, rgb(10 17 29 / 0.82) 45%, rgb(10 17 29 / 0.7) 100%), linear-gradient(180deg, var(--bg) 0%, transparent 18%, transparent 82%, var(--bg) 100%); }
.night-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.night-head { position: sticky; top: calc(var(--nav-h) + 40px); }
.night-temp { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 6px 18px; margin-top: 10px; max-width: 420px; }
.nt-label { grid-column: 1 / -1; color: var(--muted); font-weight: 700; font-size: 14px; }
.nt-read { font-family: var(--display); font-weight: 300; font-stretch: 120%; font-size: clamp(4rem, 8vw, 6.5rem); line-height: 0.85; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.nt-read b { font-weight: 300; }
.nt-bar { height: 10px; border-radius: 10px; background: rgb(255 255 255 / 0.08); overflow: hidden; margin-bottom: 14px; }
.nt-bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--ice), var(--ember)); transform-origin: 0 50%; transform: scaleX(0.05); }
.night-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; }
.night-list li { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: baseline; }
.night-list time { font-family: var(--display); font-stretch: 118%; font-weight: 700; font-size: 18px; color: var(--accent); white-space: nowrap; }
.night-list p { margin: 0; color: var(--ink-2); max-width: 46ch; }
.night-list p b { color: var(--ink); display: block; font-size: 18.5px; }

/* ============ PROMISES ============ */
.prom-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 16px; margin-top: 40px; }
.prom { position: relative; border-radius: var(--r-card); background: var(--panel); border: 1px solid var(--line); padding: 30px; overflow: hidden; display: flex; flex-direction: column; gap: 12px; min-height: 250px; }
.prom h3 { font-family: var(--display); font-stretch: 106%; font-weight: 700; font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height: 1.12; letter-spacing: -0.02em; margin: 6px 0 0; text-wrap: balance; }
.prom p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.prom .ic-lg { color: var(--accent); }
.prom-big { grid-row: 1 / span 2; justify-content: flex-end; min-height: 520px; padding: 0; border: 0; }
.prom-big video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prom-big::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(8 13 22 / 0.95) 0%, rgb(8 13 22 / 0.6) 45%, rgb(8 13 22 / 0.05) 80%); }
.prom-big .prom-body { position: relative; z-index: 1; padding: 34px; display: grid; gap: 10px; }
.prom-big h3 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.prom-big .ic-lg { color: var(--ember-2); }
.prom-tint { background: linear-gradient(160deg, color-mix(in oklab, var(--accent) 16%, var(--panel)) 0%, var(--panel) 70%); border-color: var(--accent-b); }
.prom-photo { grid-column: 2 / span 2; padding: 0; gap: 0; display: block; min-height: 260px; }
.prom-photo img { position: absolute; left: 0; top: 0; width: 42%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.prom-photo .prom-body { margin-left: 42%; padding: 30px; display: flex; flex-direction: column; gap: 12px; justify-content: center; min-height: 100%; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 40px; margin-top: 70px; }
.quotes figure { margin: 0; }
.quotes blockquote { margin: 0 0 12px; font-size: 18px; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.quotes figcaption { color: var(--accent); font-weight: 700; font-size: 15px; }
.quotes-note { grid-column: 1 / -1; color: var(--dim); font-size: 14px; margin: 6px 0 0; }

/* ============ PRICING ============ */
.price-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 24px; align-items: start; }
.price-list { display: grid; gap: 6px; }
.pl-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 24px; padding: 18px 22px; border-radius: 16px; background: rgb(255 255 255 / 0.025); }
.pl-row:nth-child(2n) { background: transparent; }
.pl-n { font-weight: 700; font-size: 18px; }
.pl-v { font-family: var(--display); font-weight: 650; font-stretch: 112%; font-size: clamp(1.15rem, 1.8vw, 1.5rem); color: var(--accent); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pl-d { grid-column: 1 / -1; color: var(--muted); font-size: 15px; }
.plan { position: sticky; top: calc(var(--nav-h) + 24px); border-radius: var(--r-card); padding: 30px; border: 1px solid var(--accent-b);
  background: radial-gradient(120% 70% at 100% 0%, color-mix(in oklab, var(--accent) 22%, transparent), transparent 60%), var(--panel-2);
  box-shadow: 0 30px 60px -36px var(--accent); }
.plan h3 { font-family: var(--display); font-stretch: 110%; font-weight: 700; font-size: 1.5rem; margin: 0 0 6px; letter-spacing: -0.02em; }
.plan-price { margin: 0 0 20px; display: flex; align-items: baseline; gap: 10px; }
.plan-price b { font-family: var(--display); font-weight: 300; font-stretch: 120%; font-size: 4rem; line-height: 1; letter-spacing: -0.04em; }
.plan-price span { color: var(--muted); font-size: 15px; }
.plan-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.plan-list li { display: flex; gap: 12px; align-items: center; color: var(--ink-2); }
.plan-list .ic { color: var(--accent); }
.plan .btn { width: 100%; }

.rr { margin-top: 70px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--panel); padding: clamp(24px, 3.4vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 48px; }
.rr-head h3 { font-family: var(--display); font-stretch: 108%; font-weight: 700; font-size: clamp(1.35rem, 2vw, 1.75rem); margin: 0 0 10px; letter-spacing: -0.02em; }
.rr-head p { margin: 0; color: var(--ink-2); font-size: 16px; max-width: 48ch; }
.rr-controls { display: grid; gap: 22px; align-content: center; }
.rr-field { display: grid; gap: 10px; }
.rr-field > span { display: flex; justify-content: space-between; font-weight: 700; font-size: 15px; color: var(--ink-2); }
.rr-field output { color: var(--ink); font-family: var(--display); font-stretch: 110%; }
.rr-out { grid-column: 1 / -1; margin: 6px 0 0; padding: 18px 22px; border-radius: 14px; background: rgb(255 255 255 / 0.04); font-size: 17px; color: var(--ink-2); }
.rr-out b { font-family: var(--display); font-stretch: 112%; font-size: 22px; color: var(--accent); margin-right: 6px; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 40px; background: transparent; cursor: pointer; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--accent) var(--fill, 50%), rgb(255 255 255 / 0.12) var(--fill, 50%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: rgb(255 255 255 / 0.12); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--accent); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: #f4f7fb; border: 0; box-shadow: 0 0 0 5px var(--accent-b), 0 4px 10px rgb(0 0 0 / 0.5); transition: transform 160ms var(--ease); }
input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #f4f7fb; border: 0; box-shadow: 0 0 0 5px var(--accent-b); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.1); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--accent); }

/* ============ AREA ============ */
.area { position: relative; isolation: isolate; overflow: clip; padding: clamp(100px, 12vw, 170px) 0; }
.area-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.area::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(10 17 29 / 0.93) 0%, rgb(10 17 29 / 0.8) 52%, rgb(10 17 29 / 0.5) 100%), linear-gradient(180deg, var(--bg) 0%, transparent 20%, transparent 80%, var(--bg) 100%); }
.area::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); mix-blend-mode: soft-light; opacity: 0.3; }
.area-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px 64px; align-items: end; }
.area-towns { color: var(--ink-2); font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 54ch; margin: 0; }
.zip { background: rgb(12 20 33 / 0.86); border: 1px solid var(--line-2); border-radius: var(--r-card); padding: 26px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.zip label { display: block; font-family: var(--display); font-stretch: 108%; font-weight: 700; font-size: 1.3rem; margin-bottom: 14px; }
.zip-row { display: flex; gap: 10px; }
.zip-row input { flex: 1; min-width: 0; }
.zip-out { margin: 12px 0 0; color: var(--ink-2); font-size: 15px; min-height: 1.6em; }
.zip-out.ok { color: var(--ink); }
.zip-out.no { color: #fca5a5; }

/* inputs */
input:not([type="range"]):not([type="radio"]):not([type="checkbox"]), textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--r-in);
  background: #0a1220; border: 1px solid rgb(160 186 220 / 0.28); color: var(--ink); font-size: 16px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
textarea { resize: vertical; min-height: 76px; }
input::placeholder, textarea::placeholder { color: #8396ae; }
input:not([type="range"]):focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-a); }
input[aria-invalid="true"] { border-color: #f87171; }

/* ============ BOOKING ============ */
.book { background: linear-gradient(180deg, var(--bg) 0%, #0b1424 100%); }
.book-head { margin-bottom: 36px; }
.bk { max-width: 1100px; margin: 0 auto; border-radius: 28px; border: 1px solid var(--line-2); background: linear-gradient(180deg, #101b2d 0%, #0d1625 100%); box-shadow: 0 50px 100px -50px rgb(0 0 0 / 0.9), 0 0 0 1px rgb(255 255 255 / 0.02) inset; overflow: hidden; }
.bk-readout { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: #070c15; border-bottom: 1px solid var(--line); }
.ro-cell { padding: 14px 20px 16px; border-right: 1px solid var(--line); display: grid; gap: 2px; min-width: 0; }
.ro-cell:last-child { border-right: 0; }
.ro-cell i { font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.ro-cell b { font-family: var(--display); font-stretch: 104%; font-weight: 650; font-size: 17px; color: #4b5d76; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 300ms ease; }
.ro-cell.set b { color: var(--accent); }
.ro-cell.is-pri b { color: var(--ember); }
.bk-steps { list-style: none; margin: 0; padding: 18px 28px 0; display: flex; gap: 6px; }
.bk-steps li { flex: 1; font-size: 13px; font-weight: 700; color: var(--dim); padding-top: 10px; border-top: 3px solid rgb(255 255 255 / 0.08); transition: color 300ms ease, border-color 300ms ease; }
.bk-steps li.on { color: var(--ink); border-top-color: var(--accent); }
.bk-steps li.done { color: var(--ink-2); border-top-color: var(--accent-b); }
.bk-form { padding: 26px 28px 28px; }
.bk-step { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.bk-step.on { display: block; animation: stepIn 420ms var(--ease) both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.bk-q { font-family: var(--display); font-stretch: 110%; font-weight: 700; font-size: clamp(1.45rem, 2.4vw, 2rem); letter-spacing: -0.02em; padding: 0; margin: 0 0 22px; line-height: 1.15; }
.bk-err { color: #fca5a5; font-weight: 700; font-size: 15px; margin: 12px 0 0; min-height: 0; }
.bk-err:empty { display: none; }
.issues { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.issue input, .tile input, .seg input, .check input, .plan-add input, .slot input, .day input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.issue { position: relative; display: block; cursor: pointer; }
.issue-in { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 20px 18px; border-radius: 16px; border: 1px solid var(--line-2); background: rgb(255 255 255 / 0.02); transition: border-color 200ms ease, background-color 200ms ease, transform 160ms var(--ease); }
.issue-in .ic { width: 34px; height: 34px; color: var(--ink-2); transition: color 200ms ease; }
.issue-in b { font-family: var(--display); font-stretch: 108%; font-size: 1.2rem; font-weight: 700; line-height: 1.1; }
.issue-in small { color: var(--muted); font-size: 14px; line-height: 1.45; }
.issue:active .issue-in { transform: scale(0.98); }
@media (hover: hover) { .issue:hover .issue-in { border-color: rgb(160 186 220 / 0.4); background: rgb(255 255 255 / 0.04); } }
.issue input:checked + .issue-in { border-color: var(--accent); background: var(--accent-a); }
.issue input:checked + .issue-in .ic { color: var(--accent); }
.issue input:focus-visible + .issue-in, .tile input:focus-visible + span, .seg input:focus-visible + span, .check input:focus-visible + span, .slot input:focus-visible + span, .day input:focus-visible + span, .plan-add input:focus-visible ~ .pa-body { outline: 2px solid var(--accent); outline-offset: 3px; }

.urg { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 26px 40px; }
.urg-temp { grid-row: span 2; padding: 22px; border-radius: 16px; background: rgb(255 255 255 / 0.03); border: 1px solid var(--line); }
.urg-l { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 700; color: var(--ink-2); font-size: 15.5px; margin: 0 0 12px; padding: 0; }
.urg-temp output { font-family: var(--display); font-stretch: 120%; font-weight: 300; font-size: 3.4rem; line-height: 1; color: var(--ink); letter-spacing: -0.03em; }
#outT::-webkit-slider-runnable-track { background: linear-gradient(90deg, #bfe9ff 0%, var(--ice) 25%, #c9d6e3 55%, var(--ember-2) 78%, var(--ember) 100%); height: 8px; }
#outT::-moz-range-track { background: linear-gradient(90deg, #bfe9ff 0%, var(--ice) 25%, #c9d6e3 55%, var(--ember-2) 78%, var(--ember) 100%); height: 8px; }
#outT::-webkit-slider-thumb { margin-top: -9px; }
.urg-scale { display: flex; justify-content: space-between; color: var(--dim); font-size: 13px; font-weight: 700; margin-top: 2px; }
.urg-who, .urg-gas, .age { border: 0; padding: 0; margin: 0; min-width: 0; }
.urg-who { display: flex; flex-wrap: wrap; gap: 8px; }
.urg-who legend { width: 100%; }
.check { position: relative; cursor: pointer; }
.check span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 15px; font-weight: 600; color: var(--ink-2); transition: border-color 200ms ease, background-color 200ms ease, color 200ms ease; }
.check input:checked + span { border-color: var(--accent); background: var(--accent-a); color: var(--ink); }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line-2); background: #0a1220; gap: 2px; flex-wrap: wrap; }
.seg label { position: relative; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; min-width: 64px; padding: 0 16px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--ink-2); transition: background-color 200ms ease, color 200ms ease; }
.seg input:checked + span { background: var(--accent); color: var(--on-accent); }
.gas-alert { display: flex; gap: 14px; margin-top: 22px; padding: 18px 20px; border-radius: 16px; background: rgb(248 113 113 / 0.12); border: 1px solid rgb(248 113 113 / 0.5); color: #fee2e2; font-size: 15.5px; }
.gas-alert > .ic { width: 28px; height: 28px; color: #fca5a5; }
.gas-alert .check { display: flex; width: fit-content; margin-top: 12px; }
.pri { margin-top: 22px; display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 16px; border: 1px solid var(--line); background: rgb(255 255 255 / 0.02); transition: border-color 300ms ease, background-color 300ms ease; }
.pri p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.pri-badge { flex: none; font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 15px; padding: 8px 14px; border-radius: 999px; background: rgb(255 255 255 / 0.08); color: var(--ink-2); white-space: nowrap; }
.pri[data-level="same"] { border-color: var(--accent-b); }
.pri[data-level="same"] .pri-badge { background: var(--accent-a); color: var(--accent); }
.pri[data-level="priority"] { border-color: rgb(249 115 22 / 0.6); background: rgb(249 115 22 / 0.09); }
.pri[data-level="priority"] .pri-badge { background: var(--ember); color: #1a0d04; }

.sys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 26px; }
.tile { position: relative; cursor: pointer; }
.tile span { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line-2); font-weight: 700; font-size: 16px; transition: border-color 200ms ease, background-color 200ms ease, transform 160ms var(--ease); }
.tile span .ic { width: 26px; height: 26px; color: var(--muted); }
.tile:active span { transform: scale(0.98); }
.tile input:checked + span { border-color: var(--accent); background: var(--accent-a); }
.tile input:checked + span .ic { color: var(--accent); }
.age-note { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0; color: var(--ink-2); font-size: 15px; padding: 14px 16px; border-radius: 14px; background: var(--accent-a); }
.age-note .ic { color: var(--accent); margin-top: 3px; }

.tonight { margin-bottom: 22px; padding: 18px; border-radius: 16px; border: 1px solid rgb(249 115 22 / 0.55); background: rgb(249 115 22 / 0.08); }
#tonightSlots { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-top: 0; }
.tonight-h { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-weight: 700; color: var(--ember-2); }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.day { position: relative; cursor: pointer; scroll-snap-align: start; flex: none; }
.day span { display: grid; place-items: center; width: 78px; height: 76px; border-radius: 14px; border: 1px solid var(--line-2); line-height: 1.15; transition: border-color 200ms ease, background-color 200ms ease; }
.day span i { font-style: normal; font-size: 13px; font-weight: 700; color: var(--muted); }
.day span b { font-family: var(--display); font-stretch: 112%; font-size: 19px; font-weight: 700; }
.day span small { font-size: 12px; color: var(--dim); font-weight: 700; }
.day input:checked + span { border-color: var(--accent); background: var(--accent-a); }
.day input:checked + span i { color: var(--accent); }
.day input:disabled + span { opacity: 0.35; cursor: not-allowed; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 10px; }
.slot { position: relative; cursor: pointer; }
.slot span { display: flex; flex-direction: column; justify-content: center; min-height: 64px; padding: 10px 16px; border-radius: 14px; border: 1px solid var(--line-2); transition: border-color 200ms ease, background-color 200ms ease, transform 160ms var(--ease); }
.slot span b { font-family: var(--display); font-stretch: 110%; font-size: 17px; font-weight: 700; }
.slot span small { font-size: 13px; color: var(--muted); font-weight: 600; }
.slot:active span { transform: scale(0.98); }
.slot input:checked + span { border-color: var(--accent); background: var(--accent-a); }
.slot input:disabled + span { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; text-decoration-color: rgb(255 255 255 / 0.4); }
.slot.pri-slot span { border-color: rgb(249 115 22 / 0.5); }
.slot.pri-slot input:checked + span { border-color: var(--ember); background: rgb(249 115 22 / 0.16); }

.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.f { display: grid; gap: 7px; align-content: start; }
.f-wide { grid-column: 1 / -1; }
.f label { font-weight: 700; font-size: 15px; color: var(--ink-2); }
.f label small { font-weight: 600; color: var(--dim); margin-left: 6px; }
.f-err { margin: 0; color: #fca5a5; font-size: 14px; font-weight: 700; }
.f-err:empty { display: none; }
.plan-add { position: relative; display: flex; gap: 16px; align-items: flex-start; margin-top: 22px; padding: 18px 20px; border-radius: 16px; border: 1px dashed var(--accent-b); cursor: pointer; transition: background-color 200ms ease, border-color 200ms ease; }
.pa-box { flex: none; width: 28px; height: 28px; border-radius: 8px; border: 2px solid var(--line-2); display: grid; place-items: center; transition: background-color 200ms ease, border-color 200ms ease; }
.pa-box .ic { width: 18px; height: 18px; color: var(--on-accent); opacity: 0; transform: scale(0.6); transition: opacity 200ms ease, transform 200ms var(--ease); }
.pa-body { display: grid; gap: 3px; }
.pa-body b { font-size: 16.5px; }
.pa-body span { color: var(--muted); font-size: 15px; }
.plan-add:has(input:checked) { border-style: solid; border-color: var(--accent); background: var(--accent-a); }
.plan-add input:checked + .pa-box { background: var(--accent); border-color: var(--accent); }
.plan-add input:checked + .pa-box .ic { opacity: 1; transform: none; }

.review { display: grid; grid-template-columns: max-content 1fr auto; gap: 0; margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.review > div { display: contents; }
.review dt, .review dd { padding: 14px 18px; margin: 0; border-bottom: 1px solid var(--line); }
.review > div:last-child dt, .review > div:last-child dd { border-bottom: 0; }
.review dt { color: var(--muted); font-weight: 700; font-size: 14.5px; }
.review dd { color: var(--ink); }
.review .rv-edit { color: var(--accent); background: none; border: 0; font-weight: 700; font-size: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); text-decoration: underline; text-underline-offset: 3px; }
.review > div:last-child .rv-edit { border-bottom: 0; }
.sim-note { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 14.5px; margin: 16px 0 0; }
.bk-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.bk-nav #bkNext { margin-left: auto; min-width: 150px; }

.bk-done { padding: 30px 28px 32px; outline: none; }
.bk-done[hidden] { display: none; }
.done-head { display: flex; gap: 18px; align-items: center; }
.done-check { width: 60px; height: 60px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; flex: none; box-shadow: 0 0 0 8px var(--accent-a); }
.done-check .ic { width: 30px; height: 30px; }
.done-head h3 { font-family: var(--display); font-stretch: 110%; font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 0; letter-spacing: -0.02em; line-height: 1.15; }
.done-head h3 span { color: var(--accent); }
.done-head p { margin: 4px 0 0; color: var(--ink-2); }
.done-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 30px; }
.previews { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; }
.pv-l { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--muted); font-size: 14.5px; margin: 0 0 10px; }
.phone { border-radius: 30px; background: #f2f4f7; color: #111827; padding: 14px 14px 18px; border: 8px solid #1c2636; min-height: 380px; }
.phone-top { display: grid; grid-template-columns: auto 1fr; gap: 0 10px; align-items: center; padding: 4px 6px 12px; border-bottom: 1px solid #dde2e9; margin-bottom: 12px; }
.phone-av { grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; background: #0a111d; color: #fdba74; display: grid; place-items: center; font-family: var(--display); font-weight: 800; }
.phone-top b { font-size: 15px; }
.phone-top small { font-size: 12.5px; color: #4b5563; }
.bubbles { display: grid; gap: 8px; }
.bubble { max-width: 88%; padding: 10px 13px; border-radius: 18px 18px 18px 6px; background: #e3e7ee; font-size: 14.5px; line-height: 1.45; }
.bubble small { display: block; font-size: 11.5px; color: #4b5563; margin-top: 4px; }
.mail { border-radius: 18px; overflow: hidden; background: #ffffff; color: #1f2937; border: 1px solid #d6dce4; }
.mail-meta { display: flex; flex-direction: column; gap: 2px; padding: 12px 18px; background: #f3f5f8; font-size: 13.5px; color: #4b5563; border-bottom: 1px solid #e3e7ed; }
.mail-body { font-size: 15px; line-height: 1.55; }
.mail-hero { background: #0a111d; color: #edf2f8; padding: 22px 24px; }
.mail-hero .mb-brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-stretch: 120%; font-weight: 800; font-size: 18px; }
.mail-hero .mb-brand i { width: 20px; height: 20px; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #1d2a3d, #070c14 72%); box-shadow: 0 0 0 2px #3a4658, 0 0 10px #f97316; }
.mail-hero h4 { font-family: var(--display); font-stretch: 110%; font-size: 24px; margin: 16px 0 4px; line-height: 1.15; }
.mail-hero p { margin: 0; color: #c7d3e1; }
.mail-in { padding: 20px 24px 24px; }
.mail-in p { margin: 0 0 12px; }
.mail-tbl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 4px 0 16px; padding: 14px 16px; border-radius: 12px; background: #f3f5f8; font-size: 14.5px; }
.mail-tbl dt { color: #4b5563; font-weight: 700; }
.mail-tbl dd { margin: 0; }
.mail-in ul { margin: 0 0 14px; padding-left: 20px; }
.mail-btn { display: inline-block; background: #c2410c; color: #fff; padding: 11px 18px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.mail-foot { padding: 14px 24px; border-top: 1px solid #e3e7ed; font-size: 12.5px; color: #4b5563; }

/* ============ FAQ ============ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px 80px; align-items: start; }
.faq .h2 { position: sticky; top: calc(var(--nav-h) + 30px); }
.faq-list details { border-radius: 16px; background: rgb(255 255 255 / 0.025); margin-bottom: 8px; transition: background-color 200ms ease; }
.faq-list details[open] { background: rgb(255 255 255 / 0.05); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 22px; font-weight: 700; font-size: 17.5px; border-radius: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .ic { color: var(--accent); transition: transform 300ms var(--ease); }
.faq-list details[open] summary .ic { transform: rotate(180deg); }
.faq-list details > div { padding: 0 22px 20px; color: var(--ink-2); }
.faq-list details p { margin: 0; max-width: 62ch; }

/* ============ FINAL ============ */
.final { position: relative; isolation: isolate; overflow: clip; padding: clamp(110px, 14vw, 200px) 0; }
.final-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; z-index: -2; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg) 0%, rgb(10 17 29 / 0.72) 30%, rgb(10 17 29 / 0.82) 100%); }
.final::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); mix-blend-mode: soft-light; opacity: 0.35; }
.final-in { text-align: left; }
.glaze-sm { font-size: clamp(2.6rem, 5.6vw, 5rem); }
.final-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.final-read { display: inline-flex; align-items: baseline; gap: 4px; height: 56px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line-2); background: rgb(10 17 29 / 0.6); font-family: var(--display); font-size: 26px; font-weight: 300; font-stretch: 115%; align-items: center; }
.final-read b { font-weight: 400; }
.final-read em { font-style: normal; font-family: var(--body); font-size: 14px; font-weight: 700; color: var(--accent); margin-left: 10px; }

/* ============ FOOTER ============ */
.foot { border-top: 1px solid var(--line); padding: 60px 0 40px; background: #080e18; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 32px; }
.foot h3 { font-size: 14px; font-weight: 700; color: var(--muted); margin: 0 0 10px; }
.foot p { margin: 0; color: var(--ink-2); font-size: 15px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--accent); }
.foot-brand p { margin-top: 16px; max-width: 34ch; }
.foot-base { position: relative; margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-base::before { content: ""; position: absolute; top: 0; left: var(--pad); right: var(--pad); border-top: 1px solid var(--line); }
.foot-base p { color: var(--muted); font-size: 14px; max-width: 70ch; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1180px) {
  .nav-links { display: none; }
}
@media (max-width: 900px) {
  .hero { --dial: clamp(280px, 40vw, 380px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: 36px 0; padding-bottom: 56px; min-height: 0; }
  .hero-copy { grid-column: 1 / -1; max-width: 660px; padding-left: 0; margin-top: 18px; }
  .hero-photo { position: relative; inset: auto; grid-column: 2; grid-row: 2; width: auto; height: clamp(420px, 60vw, 580px); }
  .dial-wrap { position: relative; inset: auto; grid-column: 1; grid-row: 2; transform: translateX(12%); justify-self: center; }
  .hero-photo::after { background: linear-gradient(90deg, rgb(10 17 29 / 0.7), transparent 45%); }
}
@media (max-width: 960px) {
  .svc-grid, .night-grid, .faq-grid, .area-grid { grid-template-columns: 1fr; }
  .svc-media { position: relative; top: 0; }
  .svc-frame { aspect-ratio: 16 / 10; }
  .night-head { position: relative; top: 0; }
  .faq .h2 { position: static; }
  .price-grid { grid-template-columns: 1fr; }
  .plan { position: relative; top: 0; }
  .prom-grid { grid-template-columns: 1fr 1fr; }
  .prom-big { grid-row: auto; grid-column: 1 / -1; min-height: 420px; }
  .prom-photo { grid-column: 1 / -1; }
  .quotes { grid-template-columns: 1fr; gap: 26px; }
  .issues { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .air-pin { align-items: center; }
  .air-inner { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .house .bi { transform: scale(1.4); }
  .house .labels text { font-size: 21px; }
  .air-text { display: contents; }
  .air-text .h2 { order: 1; margin-bottom: 8px; }
  .air-intro { display: none; }
  .air-figure { order: 2; margin: 0 -8px; }
  .air-steps { order: 3; margin-top: 6px; }
  .air-steps li { display: none; padding: 8px 0; background: none !important; }
  .air-steps li.on { display: block; min-height: 7.6em; }
  .house { max-height: none; }
  .rr { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --nav-h: 60px; }
  body { font-size: 16.5px; }
  .nav-phone span, .nav .btn-sm { display: none; }
  .nav-phone { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); justify-content: center; }
  .nav-right { gap: 8px; }
  .brand { gap: 9px; }
  .brand-word { font-size: 18px; font-stretch: 100%; }
  .brand-word small { font-size: 10.5px; }
  .chip-btn { width: 34px; height: 34px; }
  .chip-read { min-width: 60px; font-size: 15px; }
  .chip-read em { display: none; }
  .hero { --dial: min(74vw, 290px); display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: calc(var(--nav-h) + 20px) 16px 32px; }
  .hero-copy { display: contents; }
  .hero-kicker { order: 1; font-size: 14px; margin-bottom: 14px; }
  .glaze { order: 2; font-size: clamp(2.7rem, 13vw, 3.5rem); margin-bottom: 4px; }
  .dial-wrap { order: 3; position: relative; inset: auto; transform: none; align-self: center; margin: 18px 0 22px; gap: 12px; }
  .hero-sub { order: 4; min-height: 5.1em; margin-bottom: 18px; }
  .hero-sub p { font-size: 16.5px; }
  .hero-ctas { order: 5; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .hero-photo { order: 6; position: relative; inset: auto; width: 100%; height: 280px; margin-top: 28px; border-radius: 24px; }
  .hero-photo::after { background: linear-gradient(180deg, rgb(10 17 29 / 0.5), transparent 40%); }
  .dial-controls { gap: 10px; }
  .dial-hint { font-size: 13px; }
  .season-pair { flex-direction: column; height: auto; }
  .season { flex: none !important; height: 380px; }
  .svc-row { padding: 14px 12px; }
  .svc-price { font-size: 14px; }
  .prom-grid { grid-template-columns: 1fr; }
  .prom-big { min-height: 440px; }
  .prom-photo img { position: relative; width: 100%; height: 240px; }
  .prom-photo .prom-body { margin-left: 0; min-height: 0; }
  .night-list li { grid-template-columns: 1fr; gap: 4px; }
  .bk { border-radius: 22px; }
  .bk-readout { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ro-cell { padding: 10px 12px; border-bottom: 1px solid var(--line); }
  .ro-cell:nth-child(3) { border-right: 0; }
  .ro-cell b { font-size: 14.5px; white-space: normal; overflow: visible; line-height: 1.25; margin-top: 2px; }
  .pri { flex-direction: column; align-items: flex-start; gap: 10px; }
  .done-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .bk-steps { padding: 14px 16px 0; gap: 4px; }
  .bk-steps li { font-size: 0; padding-top: 0; }
  .bk-form, .bk-done { padding: 22px 16px 22px; }
  .issues { grid-template-columns: 1fr; gap: 8px; }
  .issue-in { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 14px 16px; }
  .issue-in .ic { width: 28px; height: 28px; }
  .issue-in small { width: 100%; padding-left: 42px; margin-top: -4px; }
  .urg { grid-template-columns: 1fr; }
  .urg-temp { grid-row: auto; }
  .sys { grid-template-columns: 1fr 1fr; }
  .tile span { font-size: 15px; padding: 10px 12px; gap: 10px; }
  .seg-wide { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 18px; }
  .seg-wide span { min-width: 0; padding: 0 8px; }
  .slots { grid-template-columns: 1fr 1fr; }
  .fields { grid-template-columns: 1fr; }
  .review { grid-template-columns: 1fr auto; }
  .review dt { grid-column: 1 / -1; border-bottom: 0; padding-bottom: 0; }
  .review dd { padding-top: 4px; }
  .previews { grid-template-columns: 1fr; }
  .rr-out { font-size: 16px; }
  .pl-row { padding: 16px 16px; }
  .pl-n { font-size: 16.5px; }
  .zip-row { flex-direction: column; }
  .foot-grid { grid-template-columns: 1fr; }
  .final-read { display: none; }
  .final-row .btn { flex: 1 1 100%; }
}

/* capture + reduced motion */
html.shot *, html.shot *::before, html.shot *::after { transition: none !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .hp-heat, .season, .svc-frame img, .hero-sub p { transition-duration: 200ms !important; }
  .house .duct-flow path { animation: none; }
}
html.static-air .air-pin { min-height: 0; }
