@font-face{font-family:Barlow Display;src:url(assets/display.woff2) format('woff2');font-weight:800;font-display:swap}
@font-face{font-family:Inter;src:url(assets/inter.woff2) format('woff2');font-weight:400 800;font-display:swap}
@font-face{font-family:Plex Mono;src:url(assets/mono.woff2) format('woff2');font-weight:500;font-display:swap}
:root{--paper:#f5f8fa;--ink:#183749;--strong:#143244;--red:#e3302f;--rule:#c9d5dc;--muted:#465e6b;--mono:'Plex Mono',monospace;--display:'Barlow Display','Arial Narrow',Impact,sans-serif;--gutter:clamp(22px,4.8vw,76px)}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:20px}
body{margin:0;color:var(--ink);background:var(--paper);font-family:Inter,Arial,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit}
a:focus-visible,button:focus-visible{outline:3px solid #0172a3;outline-offset:4px}
button{cursor:pointer}
img{display:block;max-width:100%}
.symbols{position:absolute;width:0;height:0;overflow:hidden}
.icon{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.wrap{width:min(calc(100% - 2 * var(--gutter)),1550px);margin-inline:auto}
.skip{position:fixed;top:10px;left:10px;padding:14px 18px;z-index:20;transform:translateY(-160%);background:var(--ink);color:white}
.skip:focus{transform:none}
.masthead{background:var(--paper);border-bottom:1px solid var(--rule);position:relative;z-index:5}
.mast-inner{height:79px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.brand{display:inline-flex;align-items:center;gap:9px;white-space:nowrap}
.brand img{width:39px;height:39px;object-fit:contain;mix-blend-mode:multiply}
.brand span{font:800 35px/.9 var(--display);letter-spacing:-.018em}
.main-nav,.header-actions{display:flex;align-items:center}
.main-nav{gap:clamp(18px,2.5vw,42px)}
.main-nav a,.phone{font-size:13px;font-weight:650;display:inline-flex;align-items:center;min-height:44px}
.masthead .phone{min-width:44px;justify-content:center}
.main-nav a:hover,.phone:hover,.back-top:hover{color:#ae232c}
.header-actions{gap:clamp(18px,2.5vw,42px)}
.phone{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.phone .icon{width:15px;height:15px}
.btn,.text-link{display:inline-flex;align-items:center;justify-content:center;gap:16px;font-size:14px;font-weight:700;line-height:1.3}
.btn{min-height:52px;padding:0 21px;transition:background .2s,color .2s;white-space:nowrap}
.btn .icon,.text-link .icon{width:17px;height:17px;transition:transform .2s}
.btn:hover .icon,.text-link:hover .icon{transform:translate(2px,-2px)}
.btn-red{background:var(--red);color:#ffffff}
.btn-red:hover{background:#c6262c}
.header-quote{min-height:43px;padding-inline:17px;font-size:13px}
.header-quote .icon{width:15px;height:15px}
.text-link{border-bottom:1px solid currentColor;padding:3px 0 5px;gap:10px}
.nav-toggle,#mobile-menu{display:none}
.eyebrow{font:500 10px/1.4 var(--mono);letter-spacing:.075em;text-transform:uppercase}
.eyebrow{display:flex;align-items:center;gap:11px}
.brand-rule{width:25px;height:4px;background:var(--red);display:inline-block;flex:none}
h1,h2,h3,p,figure{margin:0}
h1,h2,h3{font-family:var(--display);font-weight:800}
.accent{color:var(--red)}
.area-layout>div>p{font-size:clamp(15px,1.2vw,19px);line-height:1.61;letter-spacing:-.018em;color:var(--muted)}
.services{background:#e9f3f8;border-top:1px solid #bfd4dd}
.section-space{padding:clamp(58px,6.2vw,103px) 0}
.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:12px 0 28px}
h2{font-size:clamp(49px,5.4vw,90px);line-height:.94;letter-spacing:-.035em}
.section-heading .text-link{margin-bottom:5px;font-size:13px}
.service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,2vw,32px)}
.service-card{display:block;min-width:0}
.photo{overflow:hidden;background:#bdced7;aspect-ratio:1.9}
.photo img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.service-card:hover img{transform:scale(1.035)}
.card-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:16px 0 6px}
.card-title h3{font-size:clamp(29px,2.8vw,46px);line-height:1;letter-spacing:-.022em}
.card-title .icon{width:21px;height:21px}
.service-card p,.maintenance,.callout p{font-size:14px;line-height:1.5;color:var(--muted)}
.maintenance{border-top:1px solid #b7ccd5;margin-top:35px;padding-top:20px;display:flex;align-items:center;gap:15px}
.maintenance .text-link{color:var(--ink);font-size:13px}
.area h2{margin:22px 0}
.area-layout{display:grid;grid-template-columns:1.12fr .88fr;align-items:center;gap:8vw}
.area-layout>div>p{max-width:570px}
.area-layout .text-link{margin-top:20px}
.callout{border-left:3px solid var(--red);padding:7px 0 8px clamp(20px,3vw,45px);display:flex;flex-direction:column;align-items:flex-start}
.callout>.icon{width:24px;height:24px;margin-bottom:12px}
.area-layout .callout p{font-size:14px;color:var(--muted)}
.call-number{font:800 clamp(35px,3.3vw,60px)/1.1 var(--display);letter-spacing:-.022em}
.callout .text-link{margin-top:13px;font-size:13px}
footer{border-top:1px solid var(--rule)}
.foot-inner{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.foot-inner .brand img{width:30px;height:30px}
.foot-inner .brand span{font-size:27px}
.foot-inner>span,.foot-inner>a:not(.brand){font-size:13px;color:var(--muted)}
@media(max-width:780px){
  :root{--gutter:clamp(18px,5vw,36px)}
  .mast-inner{height:66px;gap:12px}.brand{gap:6px}.brand img{width:31px;height:31px}.brand span{font-size:29px}
  .main-nav,.header-quote{display:none}.header-actions{gap:17px}
  .nav-toggle{display:grid;place-items:center;background:none;border:1px solid #cbcbbf;width:38px;height:38px}
  #mobile-menu:not([hidden]){display:grid;position:absolute;right:0;left:0;top:100%;background:var(--paper);padding:5px var(--gutter) 14px;border-bottom:1px solid var(--rule);box-shadow:0 10px 12px #24231e10}
  #mobile-menu a{font-size:15px;font-weight:650;padding:12px 0;border-top:1px solid var(--rule)}
  .phone{min-width:36px;min-height:38px;justify-content:center}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.001ms!important;transition-duration:.001ms!important}
}

/* Jobsite photographs */
.work {
  background: #142f40;
  color: var(--paper);
  scroll-margin-top: -20px;
}
.work-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: clamp(24px, 2.8vw, 42px);
}
.work-heading h2 {
  font-size: clamp(68px, 7.5vw, 120px);
  line-height: .88;
}
.work-intro {
  max-width: 405px;
}
.work-intro p {
  color: #cbdee7;
  font-size: 15px;
  line-height: 1.55;
}
.job-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr .9fr;
  gap: clamp(14px, 1.7vw, 30px);
}
.gallery-photo { display: block; min-width: 0; }
.job-image {
  position: relative;
  height: clamp(245px, 26vw, 440px);
  overflow: hidden;
  background: #304957;
}
.job-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.gallery-photo:hover .job-image img { transform: scale(1.025); }
.gallery-photo:first-child img { object-position: 54% 80%; }
.gallery-photo:nth-child(2) img { object-position: 50% 41%; }
.gallery-photo:nth-child(3) img { object-position: 50% 48%; }
.job-expand {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: #142f40e8;
  color: #fff;
}
.job-expand .icon { width: 16px; height: 16px; }
.gallery-photo:hover .job-expand { background: var(--red); color: var(--ink); }
.job-caption { padding-top: 14px; }
.job-caption span, #viewer-count {
  font: 500 10px/1.4 var(--mono);
  letter-spacing: .075em;
  text-transform: uppercase;
  color: #c4dce8;
}
.job-caption h3 {
  margin-top: 5px;
  font-size: clamp(27px, 2.6vw, 44px);
  line-height: 1;
  letter-spacing: -.012em;
}
.photo-heating img { object-position: 60% 77%; }

body:has(#photo-viewer[open]) { overflow: hidden; }
#photo-viewer {
  padding: 0;
  border: 1px solid #547382;
  width: min(1030px, calc(100vw - 56px));
  max-width: none;
  max-height: calc(100dvh - 40px);
  background: #193747;
  color: var(--paper);
}
#photo-viewer::backdrop { background: #071a25ee; }
.viewer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(235px, 1fr);
  position: relative;
}
.viewer-stage {
  height: min(720px, calc(100dvh - 44px));
  min-height: 190px;
  min-width: 0;
  background: #0c2330;
  position: relative;
}
#viewer-image { width: 100%; height: 100%; object-fit: contain; }
.viewer-control {
  display: grid;
  place-items: center;
  background: #f5f8fa;
  color: var(--ink);
  border: 1px solid #7e8077;
  width: 44px;
  height: 44px;
  position: absolute;
  z-index: 1;
}
.viewer-control:hover { background: #72c9fa; }
.viewer-close { right: 12px; top: 12px; }
.viewer-prev, .viewer-next { top: 50%; transform: translateY(-50%); }
.viewer-prev { left: 12px; }
.viewer-prev .icon { transform: rotate(180deg); }
.viewer-next { right: 12px; }
.viewer-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  gap: clamp(20px, 3vw, 46px);
  padding: 68px clamp(16px, 2.8vw, 36px) 26px;
}
#viewer-count { color: #72c9fa; }
#viewer-title { font-size: clamp(32px, 3.3vw, 54px); line-height: 1; margin: 10px 0; }
#viewer-description { font-size: 15px; line-height: 1.55; color: #d2e3eb; }
.viewer-thumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: auto;
  padding: 4px 2px 8px;
  scrollbar-width: thin;
  scrollbar-color: #aaa99d #193647;
}
.viewer-thumb {
  padding: 2px;
  border: 1px solid #70736a;
  background: transparent;
  flex: 0 0 46px;
  height: 52px;
}
.viewer-thumb img { width: 100%; height: 100%; object-fit: cover; }
.viewer-thumb[aria-pressed=true] { border: 2px solid var(--red); padding: 1px; }
.viewer-thumb:focus-visible { outline-offset: 0; }

@media (max-width: 780px) {
  .work-heading { align-items: flex-start; }
  .work-heading h2 { font-size: clamp(57px, 8vw, 68px); white-space: nowrap; }
  .work-intro { max-width: 325px; }
  .job-grid { gap: 12px; grid-template-columns: 1.12fr 1fr 1fr; }
  .job-image { height: 230px; }
}
@media (max-width: 620px) {
  .work-heading { flex-direction: column; gap: 17px; }
  .work-heading h2 { font-size: clamp(62px, 13vw, 78px); }
  .work-intro { max-width: 420px; }
  .job-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .gallery-photo:first-child { grid-column: 1 / -1; }
  .job-image { height: auto; aspect-ratio: 1; }
  .gallery-photo:first-child .job-image { aspect-ratio: 1.6; }
  .job-caption { padding-top: 8px; }
  .job-caption h3 { font-size: clamp(23px, 5.8vw, 30px); }
  .job-caption span { font-size: 8px; }
  .job-expand { right: 8px; top: 8px; width: 27px; height: 27px; }
  #photo-viewer { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); }
  .viewer-layout { grid-template-columns: minmax(0, 1fr); }
  .viewer-stage { height: min(56dvh, 580px); }
  .viewer-info { padding: 15px 16px 10px; gap: 12px; }
  #viewer-title { font-size: 30px; margin: 4px 0 8px; }
  #viewer-description { font-size: 13px; line-height: 1.45; }
  .viewer-close { top: 8px; right: 8px; }
  .viewer-prev { left: 6px; }
  .viewer-next { right: 6px; }
}
:root {
  --navy: #1f4354;
  --ice: #159cea;
  --red: #e3302f;
  --head: 66px;
}
html { scroll-padding-top: var(--head); }
.masthead { position: sticky; top: 0; background: #f5f8fa; z-index: 6; }
.mast-inner { height: var(--head); }
.masthead .brand img { mix-blend-mode: normal; width: 42px; height: 42px; }
.masthead .brand span { color: var(--navy); }
.btn-red { background: #c6292e; color: #fff; }
.btn-red:hover { background: #ae2028; }
.header-quote { border-radius: 24px; }
.brand-rule, .brand-dash {
  display: inline-block;
  width: 29px;
  height: 4px;
  background: linear-gradient(110deg, var(--red) 0 49%, transparent 49% 54%, var(--ice) 54%);
}
.work { scroll-margin: 0; }
.gallery-photo:not(:first-child) .job-image img,
.site-photo img { filter: brightness(1.055) saturate(.91); }
.gallery-photo:first-child .job-image img { filter: url('assets/services/card-color.svg#heating'); }
.photo-heating img { filter: url('assets/services/card-color.svg#heating'); }
.photo-cooling img { filter: url('assets/services/card-color.svg#cooling'); }
.photo-rough img { filter: url('assets/services/card-color.svg#rough-in'); }
.service-card .photo { aspect-ratio: 1.9; border-bottom: 4px solid var(--red); }
.service-card:nth-child(2) .photo { border-color: var(--ice); }
.service-card:nth-child(3) .photo { border-color: var(--navy); }
.service-card .photo img { object-position: center; }
.services .accent, .area .accent { color: var(--red); }
.work .accent { color: var(--ice); }
.maintenance { justify-content: flex-start; flex-wrap: wrap; gap: 12px 26px; }
.maintenance a { color: var(--navy); }
.work-heading h2 { color: white; }
#photo-viewer .viewer-thumb[aria-pressed=true] { border-color: var(--ice); }
.foot-inner .brand { color: var(--navy); }
@media (max-width: 1050px) { .phone span { display: none; } }
@media (max-width: 780px) {
  :root { --head: 62px; }
  .masthead .brand img { width: 32px; height: 32px; }
}
@media (max-width: 620px) {
  .section-space { padding: 48px 0; }
  .section-heading { gap: 12px; align-items: flex-start; flex-wrap: wrap; }
  h2 { font-size: clamp(44px, 10.5vw, 64px); }
  .service-grid,.area-layout { grid-template-columns: 1fr; gap: 28px; }
  .card-title { margin: 10px 0 5px; }
  .area h2 { margin: 16px 0; }
  .foot-inner { flex-wrap: wrap; gap: 10px; padding-block: 18px; }
  .foot-inner>span { order: 3; width: 100%; }
}
.services { background-color: #d8edf8; }

/* Existing-home system replacement */
.replacements {
  padding-block: clamp(40px, 4.8vw, 76px);
  background: #123346;
  color: #fff;
}
.replacement-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(34px, 6vw, 108px);
}
.replacement-copy .eyebrow { color: #bfdfed; }
.replacement-copy h2 {
  margin-block: 17px 19px;
  font-size: clamp(48px, 5.7vw, 91px);
}
.replacement-copy h2 .accent { color: #54c1ff; }
.replacement-copy > p {
  max-width: 49ch;
  color: #dfebf0;
  font-size: clamp(15px, 1.12vw, 18px);
  line-height: 1.6;
}
.replacement-quote {
  margin-top: 23px;
  min-height: 46px;
  border-radius: 25px;
}
.replacement-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 21px;
  margin-top: 17px;
}
.replacement-links .text-link {
  min-height: 35px;
  color: #bfe6fa;
  font-size: 12px;
  border-color: #7193a4;
}
.replacement-photo {
  position: relative;
  overflow: hidden;
  border-block-end: 4px solid var(--ice);
  background: #0b2431;
}
.replacement-photo img {
  width: 100%;
  aspect-ratio: 1.4;
  height: auto;
  object-fit: cover;
}
.replacement-photo figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 30px 16px 13px;
  background: linear-gradient(transparent, rgb(5 22 31 / 82%));
  color: #fff;
  font: 500 10px/1.4 var(--mono);
  letter-spacing: .045em;
}
@media (min-width: 781px) and (max-width: 1150px) {
  .mast-inner { gap: 16px; }
  .main-nav { gap: clamp(9px, 1.4vw, 16px); }
  .main-nav a { white-space: nowrap; }
  .header-actions { gap: 14px; }
}
@media (min-width: 781px) and (max-width: 900px) {
  .masthead .brand span { font-size: 30px; }
  .main-nav a { font-size: 12px; }
}
@media (max-width: 779px) {
  .replacement-layout { gap: 27px; }
}
@media (max-width: 620px) {
  .replacement-layout { grid-template-columns: 1fr; }
  .replacement-copy h2 { font-size: clamp(47px, 10vw, 63px); }
  .replacement-photo img { aspect-ratio: 1.65; object-position: 50% 45%; }
}

#photo-viewer {
  overscroll-behavior: contain;
}
#photo-viewer [hidden] {
  display: none;
}
.viewer-back {
  position: absolute;
  z-index: 2;
  left: 12px;
  top: 12px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #b0c4cf;
  border-radius: 24px;
  background: #f5f8fa;
  color: #123346;
  font-size: 13px;
  font-weight: 700;
}
.viewer-back:hover {
  background: #d7efff;
}
@media (max-width: 620px) {
  .viewer-back { left: 8px; top: 8px; }
}
@media (orientation: landscape) and (max-height: 540px) {
  .viewer-layout { grid-template-columns: minmax(0, 1.15fr) minmax(225px, 1fr); }
  .viewer-stage { min-height: 0; height: calc(100dvh - 46px); }
  .viewer-info {
    max-height: calc(100dvh - 46px);
    overflow-y: auto;
    justify-content: flex-start;
    padding: 58px 14px 10px;
    gap: 12px;
  }
  #viewer-title { font-size: 28px; margin-block: 5px; }
  #viewer-description { font-size: 13px; line-height: 1.4; }
  .viewer-thumbs { flex-shrink: 0; }
}

@media(max-width: 780px) {
  .header-actions { gap: 10px; }
  .header-quote { display: inline-flex; font-size: 12px; min-height: 40px; padding-inline: 14px; }
  .header-quote .icon { display: none; }
  .phone,.nav-toggle { min-width: 42px; min-height: 44px; }
}
@media(max-width: 390px) {
  .mast-inner { gap: 4px; }
  .header-actions { gap: 3px; }
  .header-quote { padding-inline: 9px; font-size: 11px; }
  .masthead .brand span { font-size: 25px; }
  .masthead .brand img { width: 27px; height: 27px; }
}
@media(max-width: 350px) {
  .masthead .brand span { font-size: 21px; }
}

.main-nav a[aria-current="page"], #mobile-menu a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }

/* Homepage review strip */
.proof { padding: clamp(48px, 5vw, 84px) 0; background: var(--paper); border-bottom: 1px solid var(--rule); }
.proof-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(22px, 2.4vw, 36px); }
.proof-head h2 { margin-top: 12px; font-size: clamp(44px, 4.6vw, 76px); color: var(--strong); }
.proof-head .text-link { font-size: 13px; margin-bottom: 6px; }
.proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 32px); }
.proof-card { margin: 0; padding: 22px 24px 20px; background: #fff; border: 1px solid var(--rule); border-top: 4px solid var(--red); display: flex; flex-direction: column; gap: 12px; }
.proof-card:nth-child(2) { border-top-color: var(--ice); }
.proof-card:nth-child(3) { border-top-color: var(--navy); }
.proof-stars { color: #e0a21b; letter-spacing: .14em; font-size: 15px; }
.proof-card blockquote { margin: 0; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.45; color: var(--ink); flex: 1; }
.proof-card figcaption { font: 500 10px/1.4 var(--mono); letter-spacing: .075em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 780px) {
  .proof-grid { grid-template-columns: 1fr; gap: 12px; }
  .proof-head { flex-direction: column; align-items: flex-start; gap: 10px; }
}

.masthead .mobile-call { display: none; }
@media (max-width: 780px) {
  .masthead .phone { min-height: 44px; padding-inline: 10px; gap: 5px; border: 1px solid var(--rule); border-radius: 24px; color: var(--navy); }
  .masthead .phone .icon { width: 15px; height: 15px; }
  .masthead .phone .mobile-call { display: inline; font-size: 12px; }
}
@media (max-width: 430px) {
  .masthead .brand span { font-size: 26px; }
  .masthead .brand img { width: 29px; height: 29px; }
}

@media (max-width: 390px) {
  .masthead .header-quote { display: none; }
}
