/* Whitaker Heating & Cooling — site styles */

:root {
  --ink:     #0f1114;
  --ink-2:   #171a1f;
  --ink-3:   #22262d;
  --paper:   #f3efe8;
  --paper-2: #e8e1d5;
  --white:   #ffffff;
  --text:    #15171b;
  --text-2:  #3a3d44;
  --muted:   #6c6f76;
  --line:    #dcd4c6;
  --line-d:  rgba(255,255,255,.1);
  --red:     #d62929;
  --red-dk:  #b01f1c;
  --ember:   #ff6b3d;
  --ice:     #6cb8ff;
  --green:   #2f8f5b;
  --temp:    #ff6b3d;           /* driven by the thermostat */

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body:    "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --serif:   "Instrument Serif", Georgia, serif;

  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6;
  color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* film grain */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; font-stretch: 78%; line-height: .98; letter-spacing: -0.025em; margin: 0; }
h2 em, h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; font-stretch: 100%; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #4cd28a; flex: none; animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(76,210,138,.55); } 80%,100% { box-shadow: 0 0 0 9px rgba(76,210,138,0); } }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 17px; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 30px -10px rgba(214,41,41,.7), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-red:hover { background: #e53430; box-shadow: 0 14px 36px -10px rgba(214,41,41,.85), inset 0 1px 0 rgba(255,255,255,.2); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-ghost { border-color: rgba(255,255,255,.22); color: #fff; background: rgba(255,255,255,.04); }
.btn-ghost:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.08); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--paper); }

.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--text); background: none; border: 0; padding: 0; }
.arrow-link span { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .3s var(--ease); }
.arrow-link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.arrow-link:hover span { background-size: 0 1px; background-position: 100% 100%; }
.arrow-link:hover svg { transform: translateX(4px); }
.arrow-link.light { color: #fff; }

.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--muted); margin-bottom: 20px; }
.eyebrow b { font-family: var(--display); font-stretch: 75%; color: var(--red); font-size: 14px; }
.eyebrow::after { content: ""; width: 40px; height: 1px; background: currentColor; opacity: .5; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: #fff; color: var(--text); border-top: 3px solid var(--red); border-bottom: 1px solid var(--line); transition: box-shadow .3s ease; }
.header.scrolled { box-shadow: 0 10px 30px -20px rgba(15,17,20,.35); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; text-decoration: none; color: inherit; }
.brand-name { display: block; font-family: var(--display); font-weight: 900; font-stretch: 75%; font-size: 28px; line-height: .9; letter-spacing: -0.02em; }
.brand-sub { display: block; margin-top: 5px; font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--red); line-height: 1; }
.nav { display: flex; gap: 4px; font-size: 15px; font-weight: 600; }
.nav a { position: relative; text-decoration: none; color: var(--text-2); padding: 8px 14px; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover { color: var(--red); }
.nav a:hover::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 15px; color: var(--text); }
.header-phone svg { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: #fdeaea; color: var(--red); }
.header-phone:hover { color: var(--red); }
.header .btn-red { box-shadow: 0 8px 20px -10px rgba(214,41,41,.8); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--text); align-items: center; justify-content: center; }
.burger svg { width: 20px; height: 20px; }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-menu.open { display: block; }
.mobile-menu nav { display: flex; flex-direction: column; padding: 8px var(--gutter) 24px; }
.mobile-menu nav a { padding: 16px 0; text-decoration: none; font-family: var(--display); font-stretch: 80%; font-weight: 700; font-size: 26px; border-bottom: 1px solid var(--line); color: var(--text); }
.mobile-menu nav a:hover { color: var(--red); }
.footer .brand-sub { color: #ff6b5e; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.hero-glow {
  position: absolute; z-index: -1; right: -10%; top: -20%; width: 80vw; max-width: 1100px; aspect-ratio: 1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--temp) 55%, transparent), transparent 70%);
  filter: blur(20px); opacity: .55;
}
.hero-grid-lines {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: center; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 104px); }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border: 1px solid var(--line-d); border-radius: 999px; background: rgba(255,255,255,.04); font-size: 14px; font-weight: 500; color: rgba(255,255,255,.8); }
.hero h1 { margin-top: 28px; font-size: clamp(56px, 8.4vw, 124px); font-weight: 900; font-stretch: 70%; line-height: .9; letter-spacing: -0.03em; }
.hero h1 .l { display: block; }
.hero h1 .hot  { background: linear-gradient(95deg, #ff8a4c, #ff3d2e 60%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .cold { background: linear-gradient(95deg, #9fd4ff, #4f9dff 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 em { font-size: 1.04em; color: #fff; }
.hero-lede { margin-top: 28px; max-width: 40ch; font-size: clamp(18px, 1.5vw, 20px); color: rgba(255,255,255,.7); }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { list-style: none; margin: 40px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line-d); display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14px; color: rgba(255,255,255,.6); }
.hero-proof li { display: inline-flex; align-items: center; gap: 10px; }
.stars { display: inline-flex; gap: 2px; color: #ffb547; }
.stars svg { width: 15px; height: 15px; }

/* thermostat */
.thermo { justify-self: end; width: 100%; max-width: 480px; }
.thermo-ring {
  position: relative; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #2a2f37, #16191e 62%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px -30px rgba(0,0,0,.8), inset 0 2px 0 rgba(255,255,255,.08), 0 0 120px -20px color-mix(in srgb, var(--temp) 70%, transparent);
}
.dial { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: grab; border-radius: 50%; }
.dial:active { cursor: grabbing; }
.dial:focus-visible { outline: 2px solid rgba(255,255,255,.6); outline-offset: 6px; }
.dial .tick { stroke: rgba(255,255,255,.14); stroke-width: 2; stroke-linecap: round; transition: stroke .3s; }
.dial .tick.on { stroke: var(--temp); }
.dial .track { fill: none; stroke: rgba(255,255,255,.07); stroke-width: 10; stroke-linecap: round; }
.dial .arc { fill: none; stroke: var(--temp); stroke-width: 10; stroke-linecap: round; filter: drop-shadow(0 0 10px var(--temp)); }
.dial .knob { fill: #fff; stroke: var(--temp); stroke-width: 4; filter: drop-shadow(0 4px 10px rgba(0,0,0,.5)); }
.readout { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.readout small { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); font-weight: 600; }
.readout strong { font-family: var(--display); font-weight: 300; font-stretch: 70%; font-size: clamp(96px, 11vw, 150px); line-height: .9; letter-spacing: -0.04em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.readout sup { font-size: .22em; font-weight: 600; vertical-align: top; position: relative; top: .6em; margin-left: 4px; letter-spacing: 0; color: rgba(255,255,255,.6); }
.readout .mode { margin: 10px auto 0; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; background: color-mix(in srgb, var(--temp) 18%, transparent); color: color-mix(in srgb, var(--temp) 70%, #fff); }
.t-btn { position: absolute; bottom: 8%; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: #fff; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.t-btn:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
.t-btn svg { width: 18px; height: 18px; }
.t-minus { left: 26%; }
.t-plus { right: 26%; }
.thermo-panel { margin-top: 28px; padding: 22px 24px; border: 1px solid var(--line-d); border-radius: 20px; background: rgba(255,255,255,.04); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; align-items: center; }
.thermo-q { grid-column: 1 / -1; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.5); }
.thermo-q span { color: rgba(255,255,255,.35); font-weight: 500; }
.thermo-msg { color: rgba(255,255,255,.88); font-size: 16px; line-height: 1.45; }
.thermo-panel .btn { min-height: 46px; }

/* ticker */
.ticker { border-top: 1px solid var(--line-d); overflow: hidden; padding: 20px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 48s linear infinite; font-family: var(--display); font-stretch: 75%; font-weight: 700; font-size: 20px; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .02em; }
.ticker-track i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(44px, 5vw, 72px); }
.section h2 { font-size: clamp(44px, 6vw, 88px); }
.section-intro { color: var(--text-2); font-size: 18px; max-width: 40ch; justify-self: end; }

/* services bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.card { position: relative; overflow: hidden; border-radius: 28px; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(15,17,20,.35); }
.card-body { position: relative; z-index: 2; padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; align-items: flex-start; height: 100%; }
.card h3 { font-size: clamp(30px, 3vw, 42px); }
.card p { margin-top: 14px; max-width: 36ch; }
.card .arrow-link { margin-top: auto; padding-top: 28px; }
.chip { display: inline-flex; align-items: center; margin-bottom: 20px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em; background: var(--paper); color: var(--text-2); }
.chip-red { background: var(--red); color: #fff; }
.card-art { position: absolute; z-index: 1; pointer-events: none; transition: transform .7s var(--ease); }
.card:hover .card-art { transform: translateY(-8px) scale(1.02); }

.c-repair { grid-column: span 5; grid-row: span 2; min-height: 640px; background: radial-gradient(120% 80% at 100% 100%, #3a1512 0%, var(--ink) 55%); color: #fff; }
.c-repair p { color: rgba(255,255,255,.7); }
.c-repair .card-body { height: auto; }
.c-repair .arrow-link { margin-top: 0; }
.c-repair .card-art { right: -10%; bottom: -3%; width: 104%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); }
.c-install { grid-column: span 7; min-height: 340px; background: var(--white); }
.c-install .card-body { width: 58%; }
.c-install p { color: var(--text-2); }
.c-install .card-art { right: -4%; bottom: -10%; width: 50%; }
.c-tune { grid-column: span 3; background: var(--paper-2); }
.c-tune h3 { font-size: clamp(28px, 2.4vw, 34px); }
.c-tune p { color: var(--text-2); }
.checks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; font-size: 15px; font-weight: 500; }
.checks li { display: flex; gap: 10px; align-items: center; }
.checks svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--red); color: #fff; flex: none; }
.c-duct { grid-column: span 4; min-height: 300px; color: #fff; background: var(--ink); }
.c-duct .card-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .8s var(--ease); }
.c-duct::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15,17,20,.05) 10%, rgba(15,17,20,.92) 72%); }
.c-duct:hover .card-bg { transform: scale(1.05); }
.c-duct .card-body { justify-content: flex-end; }
.c-duct .card-body .arrow-link { margin-top: 0; padding-top: 20px; }
.c-duct p { color: rgba(255,255,255,.75); }
.c-emergency { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(28px, 3vw, 40px) clamp(28px, 3.5vw, 48px); background: var(--red); color: #fff; text-decoration: none; }
.c-emergency::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 140% at 100% 50%, rgba(255,140,80,.55), transparent 60%); }
.c-emergency h3 { font-size: clamp(28px, 3vw, 40px); }
.c-emergency p { margin-top: 8px; color: rgba(255,255,255,.85); max-width: 50ch; }
.em-phone { display: inline-flex; align-items: center; gap: 14px; font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: clamp(34px, 4vw, 56px); letter-spacing: -0.02em; white-space: nowrap; }
.em-phone svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: #fff; color: var(--red); flex: none; }

/* about */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 112px); align-items: center; }
.about-stage { position: relative; padding-top: 22%; }
.stage-panel { position: relative; aspect-ratio: 1 / .74; border-radius: 32px; overflow: hidden; background: radial-gradient(90% 90% at 30% 20%, #e8483f 0%, var(--red) 40%, #9c1a17 100%); }
.stage-panel::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 22px); }
.stage-year { position: absolute; right: 5%; top: 2%; font-family: var(--display); font-stretch: 62%; font-weight: 900; font-size: clamp(90px, 13vw, 190px); line-height: 1; letter-spacing: -0.04em; color: rgba(255,255,255,.13); }
.stage-art { position: absolute; left: 50%; bottom: 0; width: 112%; max-width: none; transform: translateX(-50%); filter: drop-shadow(0 30px 30px rgba(0,0,0,.28)); }
.stage-badge { position: absolute; right: -4%; top: 34%; z-index: 2; padding: 16px 20px; border-radius: 18px; background: var(--ink); color: #fff; box-shadow: 0 20px 40px -18px rgba(0,0,0,.5); transform: rotate(3deg); }
.stage-badge strong { display: block; font-family: var(--display); font-stretch: 80%; font-size: 22px; line-height: 1.1; }
.stage-badge span { font-size: 13px; color: rgba(255,255,255,.6); }
.about h2 { font-size: clamp(44px, 5.4vw, 80px); }
.about .lead { margin-top: 24px; font-size: 19px; color: var(--text-2); max-width: 46ch; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 44px; border-top: 1px solid var(--line); }
.stat { padding: 24px 20px 0 0; }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--display); font-stretch: 70%; font-weight: 800; font-size: clamp(48px, 5vw, 72px); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }
.logos { margin-top: 40px; display: flex; align-items: center; gap: clamp(20px, 3vw, 36px); flex-wrap: wrap; }
.logos img { height: 46px; width: auto; max-width: 110px; object-fit: contain; filter: grayscale(1); opacity: .65; mix-blend-mode: multiply; transition: filter .3s, opacity .3s; }
.logos img:hover { filter: none; opacity: 1; }

/* process */
.process { background: var(--ink); color: #fff; overflow: hidden; }
.process .eyebrow { color: rgba(255,255,255,.5); }
.process .section-intro { color: rgba(255,255,255,.65); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { position: relative; padding: 36px 32px 40px; border-radius: 24px; background: var(--ink-2); border: 1px solid var(--line-d); transition: border-color .3s, background-color .3s; }
.step:hover { border-color: rgba(255,255,255,.22); background: var(--ink-3); }
.step-n { display: block; font-family: var(--display); font-stretch: 65%; font-weight: 900; font-size: 96px; line-height: .8; letter-spacing: -0.04em; background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.08)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { margin-top: 32px; font-size: 30px; }
.step p { margin-top: 12px; color: rgba(255,255,255,.65); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 58px; right: -12px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); z-index: 2; box-shadow: 0 0 0 4px var(--ink); }

/* financing */
.finance-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; align-items: center; border-radius: 36px; background: var(--ink); color: #fff; min-height: 520px; isolation: isolate; }
.finance-card::before { content: ""; position: absolute; z-index: -1; left: -10%; top: -30%; width: 70%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(255,107,61,.45), transparent 70%); filter: blur(30px); }
.finance-apr { font-family: var(--display); font-stretch: 62%; font-weight: 900; font-size: clamp(200px, 30vw, 420px); line-height: .78; letter-spacing: -0.06em; text-align: center; background: linear-gradient(170deg, #ffb07a 0%, #ff5a36 45%, #b3201d 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .04em; }
.finance-apr span { font-size: .5em; letter-spacing: -0.02em; }
.finance-copy { padding: clamp(36px, 5vw, 72px) clamp(28px, 5vw, 72px) clamp(36px, 5vw, 72px) 0; }
.finance-copy .eyebrow { color: rgba(255,255,255,.5); }
.finance-copy h2 { font-size: clamp(40px, 4.4vw, 64px); }
.finance-copy p { margin-top: 20px; color: rgba(255,255,255,.72); max-width: 44ch; font-size: 18px; }
.finance-copy p strong { color: #fff; }
.finance-actions { margin-top: 32px; }
.finance-copy .fine { font-size: 13px; color: rgba(255,255,255,.45); margin-top: 20px; }

/* service area */
.area { background: var(--white); }
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 112px); align-items: center; }
.area .lead { margin-top: 24px; color: var(--text-2); font-size: 19px; max-width: 40ch; }
.zip-form { margin-top: 32px; display: flex; gap: 6px; max-width: 440px; padding: 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); transition: border-color .2s, box-shadow .2s; }
.zip-form:focus-within { border-color: var(--text); box-shadow: 0 0 0 4px rgba(15,17,20,.06); }
.zip-form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 18px; font: inherit; font-size: 17px; letter-spacing: .04em; outline: none; }
.zip-form .btn { min-height: 48px; }
.zip-result { min-height: 26px; margin-top: 14px; font-size: 15px; font-weight: 600; padding-left: 20px; }
.zip-result.ok { color: var(--green); }
.zip-result.no { color: var(--red-dk); }
.towns { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; max-width: 480px; }
.towns li { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 500; }
.towns li:first-child { background: var(--red); border-color: var(--red); color: #fff; }
.map { margin: 0; padding: clamp(20px, 3vw, 36px); border-radius: 32px; background: var(--ink); color: #fff; }
.map svg { width: 100%; height: auto; display: block; }
.map .ring { fill: none; stroke: rgba(255,255,255,.14); stroke-dasharray: 2 7; }
.map .road { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 1.5; }
.map .town circle { fill: #fff; }
.map .town text { font-family: var(--body); font-size: 13px; font-weight: 600; fill: rgba(255,255,255,.8); }
.map .home .core { fill: var(--red); stroke: #fff; stroke-width: 2.5; }
.map .home .pulse { fill: var(--red); transform-box: fill-box; transform-origin: center; animation: mpulse 2.4s var(--ease) infinite; }
.map .home text { font-size: 16px; font-weight: 700; fill: #fff; }
@keyframes mpulse { from { transform: scale(1); opacity: .6; } to { transform: scale(4.5); opacity: 0; } }
.map-caption { display: flex; justify-content: space-between; margin-top: 12px; font-size: 13px; color: rgba(255,255,255,.45); }

/* faq */
.faq-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 112px); }
.faq h2 { font-size: clamp(44px, 5.4vw, 80px); }
.faq .aside p { margin-top: 24px; color: var(--text-2); max-width: 32ch; }
.faq .aside .arrow-link { margin-top: 24px; font-size: 18px; }
.faq-list { display: grid; gap: 10px; align-content: start; }
.faq-list details { border-radius: 20px; background: var(--white); border: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.faq-list details:hover { border-color: var(--line); }
.faq-list details[open] { box-shadow: 0 20px 40px -28px rgba(15,17,20,.3); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 28px; font-family: var(--display); font-stretch: 85%; font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.faq-list summary::-webkit-details-marker { display: none; }
.pm { position: relative; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--paper); transition: background-color .2s, transform .3s var(--ease); }
.pm::before, .pm::after { content: ""; position: absolute; left: 11px; top: 16px; width: 12px; height: 2px; background: var(--text); }
.pm::after { transform: rotate(90deg); transition: transform .3s var(--ease); }
details[open] .pm { background: var(--red); transform: rotate(180deg); }
details[open] .pm::before, details[open] .pm::after { background: #fff; }
details[open] .pm::after { transform: rotate(0); }
.faq-list details p { padding: 0 72px 26px 28px; color: var(--text-2); }

/* closing */
.closing { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: clamp(96px, 12vw, 170px) 0 clamp(64px, 7vw, 96px); isolation: isolate; }
.closing-glow { position: absolute; z-index: -1; left: 50%; bottom: -60%; width: 120vw; max-width: 1600px; aspect-ratio: 2 / 1; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(214,41,41,.55), rgba(255,107,61,.15) 55%, transparent 75%); filter: blur(20px); }
.closing .eyebrow { color: rgba(255,255,255,.5); }
.closing h2 { font-size: clamp(52px, 7.6vw, 120px); font-stretch: 70%; font-weight: 900; }
.closing-phone { display: inline-block; margin-top: 24px; font-family: var(--display); font-stretch: 62%; font-weight: 900; font-size: clamp(64px, 12vw, 190px); line-height: .9; letter-spacing: -0.04em; text-decoration: none; background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,.45)); -webkit-background-clip: text; background-clip: text; color: transparent; transition: opacity .2s; }
.closing-phone:hover { opacity: .85; }
.closing-actions { margin-top: 40px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.closing-note { color: rgba(255,255,255,.6); }
.closing-info { margin: clamp(64px, 8vw, 110px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-d); }
.closing-info div { padding: 24px 20px 0 0; }
.closing-info div + div { padding-left: 20px; border-left: 1px solid var(--line-d); }
.closing-info dt { font-size: 13px; color: rgba(255,255,255,.45); }
.closing-info dd { margin: 6px 0 0; font-weight: 600; font-size: 17px; }
.closing-info a { text-decoration: none; }

/* footer */
.footer { background: var(--ink); color: rgba(255,255,255,.6); font-size: 14px; border-top: 1px solid var(--line-d); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 36px; padding-bottom: 28px; color: #fff; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-nav a { text-decoration: none; color: rgba(255,255,255,.65); }
.footer-nav a:hover { color: #fff; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 32px; border-top: 1px solid var(--line-d); }
.footer-base a { text-decoration: none; }
.footer-base a:hover { color: #fff; }

.callbar { display: none; }

/* ---------- funnel modal ---------- */
.funnel {
  width: min(640px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 28px;
  background: var(--paper); color: var(--text); box-shadow: 0 50px 120px -30px rgba(0,0,0,.7); overflow: hidden;
}
.funnel::backdrop { background: rgba(10,11,13,.66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.funnel[open] { animation: pop .3s var(--ease); display: flex; flex-direction: column; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.f-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--white); }
.f-back, .f-close { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--white); }
.f-back:hover, .f-close:hover { border-color: var(--text); }
.f-back[hidden] { display: grid; visibility: hidden; }
.f-back svg, .f-close svg { width: 18px; height: 18px; }
.f-progress { flex: 1; max-width: 280px; }
.f-progress small { display: block; text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.f-bar { height: 4px; background: var(--paper-2); border-radius: 4px; overflow: hidden; }
.f-bar i { display: block; height: 100%; width: 25%; background: linear-gradient(90deg, var(--red), var(--ember)); border-radius: 4px; transition: width .4s var(--ease); }
.f-body { padding: 30px clamp(20px, 4vw, 40px) 34px; overflow-y: auto; }
.f-step { display: none; }
.f-step.active { display: block; animation: slide .35s var(--ease); }
@keyframes slide { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.f-step h2 { font-size: clamp(32px, 5vw, 44px); font-stretch: 75%; }
.f-step h2:focus { outline: none; }
.f-step > p.f-sub { margin-top: 10px; color: var(--text-2); }
.f-options { margin-top: 24px; display: grid; gap: 10px; }
.f-options.two { grid-template-columns: 1fr 1fr; }
.f-opt { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; transition: border-color .15s, box-shadow .15s, transform .15s var(--ease); }
.f-opt:hover { border-color: var(--text); transform: translateX(2px); }
.f-opt.selected { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.f-opt .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--paper); display: grid; place-items: center; flex: none; }
.f-opt .ic svg { width: 20px; height: 20px; }
.f-opt .ic.ice { background: #e3f0ff; color: #2f7fe0; }
.f-opt .ic.ember { background: #ffe7dd; color: #e2452a; }
.f-opt strong { display: block; font-weight: 600; }
.f-opt small { display: block; color: var(--muted); font-size: 14px; line-height: 1.4; }
.f-opt.urgent .ic { background: var(--red); color: #fff; }
.f-callout { margin-top: 24px; padding: 24px; background: var(--ink); color: #fff; border-radius: 20px; }
.f-callout p { color: rgba(255,255,255,.72); font-size: 15px; margin-top: 6px; }
.f-callout .btn { margin-top: 18px; width: 100%; }
.f-callout strong { font-family: var(--display); font-stretch: 80%; font-size: 24px; }
.f-skip { margin-top: 20px; text-align: center; }
.f-fields { margin-top: 22px; display: grid; gap: 14px; }
.f-fields .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.f-field label span { font-weight: 400; color: var(--muted); }
.f-field input, .f-field textarea { width: 100%; min-height: 52px; padding: 12px 16px; font: inherit; font-size: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.f-field textarea { min-height: 90px; resize: vertical; }
.f-field input:focus, .f-field textarea:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 4px rgba(15,17,20,.06); }
.f-field.invalid input { border-color: var(--red); }
.f-zipnote { margin-top: 6px; font-size: 14px; min-height: 20px; font-weight: 600; }
.f-zipnote.ok { color: var(--green); }
.f-zipnote.no { color: var(--red-dk); }
.f-actions { margin-top: 24px; }
.f-actions .btn { width: 100%; }
.f-error { margin-top: 12px; color: var(--red-dk); font-size: 14px; font-weight: 600; min-height: 20px; }
.f-legal { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }
.f-legal a { color: var(--text-2); }
.f-summary { margin-top: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 6px 18px; }
.f-summary div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--paper-2); font-size: 15px; }
.f-summary div:last-child { border-bottom: 0; }
.f-summary dt { color: var(--muted); }
.f-summary dd { margin: 0; font-weight: 600; text-align: right; }
.f-done-icon { width: 60px; height: 60px; border-radius: 50%; background: #e3f3ea; color: var(--green); display: grid; place-items: center; margin-bottom: 20px; }
.f-done-icon svg { width: 28px; height: 28px; }
body.modal-open { overflow: hidden; }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.card.reveal.in:hover { transform: translateY(-4px); }
.bento .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: .08s; }
.bento .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: .16s; }
.bento .reveal:nth-child(4) { transition-delay: .24s; }
.hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .06s; }
.hero-copy > :nth-child(3) { animation-delay: .14s; }
.hero-copy > :nth-child(4) { animation-delay: .2s; }
.hero-copy > :nth-child(5) { animation-delay: .26s; }
.thermo { animation: rise 1.1s var(--ease) .15s both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1140px) {
  .nav a { padding: 8px 10px; }
  .header-phone { display: none; }
  .c-repair { grid-column: span 6; }
  .c-install { grid-column: span 6; }
  .c-install .card-body { width: 100%; padding-bottom: 200px; }
  .c-install .card-art { width: 56%; bottom: -8%; }
  .c-tune, .c-duct { grid-column: span 3; }
}
@media (max-width: 960px) {
  body { font-size: 16px; }
  .nav, .header-cta .btn { display: none; }
  .burger { display: inline-flex; }
  .header .wrap { height: 68px; }
  .hero-grid, .about-grid, .area-grid, .faq-grid, .finance-card { grid-template-columns: 1fr; }
  .thermo { justify-self: center; max-width: 420px; }
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .section-intro { justify-self: start; }
  .bento { grid-template-columns: 1fr 1fr; }
  .c-repair { grid-column: 1 / -1; grid-row: auto; min-height: 560px; }
  .c-repair .card-art { width: 58%; right: -4%; }
  .c-install { grid-column: 1 / -1; }
  .c-install .card-body { width: 62%; padding-bottom: clamp(28px, 3vw, 40px); }
  .c-install .card-art { width: 46%; }
  .c-tune, .c-duct { grid-column: span 1; }
  .c-emergency { flex-direction: column; align-items: flex-start; }
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
  .about-stage { max-width: 560px; }
  .finance-apr { font-size: clamp(180px, 46vw, 300px); padding-top: 40px; }
  .finance-copy { padding: 0 clamp(28px, 5vw, 56px) clamp(36px, 5vw, 56px); }
  .closing-info { grid-template-columns: 1fr 1fr; }
  .closing-info div:nth-child(3) { padding-left: 0; border-left: 0; }
  .closing-info div { padding-bottom: 20px; }
  .footer-row { flex-direction: column; align-items: flex-start; }
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgba(15,17,20,.3);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  }
  .callbar .btn { min-height: 48px; padding: 0 12px; }
  .callbar .btn-ghost { color: var(--text); border-color: var(--line); background: #fff; }
  .callbar .btn-ghost svg { color: var(--red); }
  body { padding-bottom: 76px; }
}
@media (max-width: 620px) {
  .hero h1 { font-size: clamp(56px, 17vw, 84px); }
  .hero-actions .btn { width: 100%; }
  .thermo-panel { grid-template-columns: 1fr; }
  .thermo-panel .btn { width: 100%; margin-top: 10px; }
  .bento { grid-template-columns: 1fr; }
  .c-repair { min-height: 620px; }
  .c-repair .card-art { width: 80%; }
  .c-install .card-body { width: 100%; padding-bottom: 230px; }
  .c-install .card-art { width: 78%; right: -6%; bottom: -8%; }
  .c-tune, .c-duct { grid-column: 1 / -1; }
  .c-duct { min-height: 340px; }
  .stat { padding-right: 10px; }
  .stat + .stat { padding-left: 12px; }
  .stage-badge { right: 4%; top: 6%; }
  .faq-list summary { font-size: 19px; padding: 20px; }
  .faq-list details p { padding: 0 20px 22px; }
  .closing-info { grid-template-columns: 1fr; }
  .closing-info div, .closing-info div + div { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line-d); }
  .footer-base { flex-direction: column; }
  .f-options.two, .f-fields .row { grid-template-columns: 1fr; }
  .funnel { width: 100%; max-width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
}
