:root {
  color-scheme: light;
  --navy: #101f30;
  --navy-deep: #0c1724;
  --ink: #122436;
  --muted: #526173;
  --line: #dce5eb;
  --surface: #f1f5f7;
  --white: #fff;
  --accent: #6cede2;
  --accent-hover: #a0f3ec;
  --link: #06655f;
  --outline: #008477;
  --measure: 1216px;
  --gutter: clamp(20px, 5vw, 72px);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  text-rendering: optimizeLegibility;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--white); line-height: 1.6; }
img { max-width: 100%; }
figure, p, ul { margin: 0; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: var(--link); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .13em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--outline); outline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.12; color: inherit; letter-spacing: -.037em; }
h1 { font-size: clamp(2.35rem, 5.3vw, 5rem); font-weight: 780; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.85rem); font-weight: 760; }
h3 { font-size: clamp(1.12rem, 1.8vw, 1.36rem); font-weight: 730; letter-spacing: -.025em; }
.wrap { max-width: calc(var(--measure) + 2 * var(--gutter)); padding-inline: var(--gutter); margin-inline: auto; }
.skip-link { position: absolute; z-index: 20; left: 12px; top: 12px; padding: 8px 14px; background: var(--white); translate: 0 -170%; }
.skip-link:focus { translate: 0; }
.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.contact-bar { background: var(--navy-deep); color: #e4edf4; }
.contact-bar-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 8px 20px; font-size: .79rem; }
.contact-bar a { color: var(--accent); text-decoration: none; font-weight: 700; }
.contact-bar a:focus-visible, .home-hero a:focus-visible, .sub-hero a:focus-visible, .action-panel a:focus-visible { outline-color: var(--accent); }
.nav-shell { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 82px; }
.brand { --brand-gap: 11px; display: inline-flex; align-items: center; gap: var(--brand-gap); text-decoration: none; color: var(--navy); font-size: 1rem; font-weight: 790; line-height: 1.12; letter-spacing: -.03em; flex: none; }
.brand-symbol { display: block; width: auto; height: clamp(44px, 5vw, 56px); flex: none; }
.brand-wordmark { display: flex; flex-direction: column; justify-content: center; align-self: stretch; padding-inline-start: var(--brand-gap); border-inline-start: 1px solid currentColor; }
.main-nav { display: flex; gap: clamp(13px, 2vw, 31px); align-items: center; }
.main-nav > a:not(.button) { color: var(--ink); text-decoration: none; font-size: .93rem; font-weight: 690; white-space: nowrap; }
.main-nav > a:not(.button):hover, .main-nav > a[aria-current] { color: var(--link); text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 11px 20px; min-height: 45px; border: 1px solid transparent; border-radius: 4px; background: var(--accent); color: var(--navy-deep); font-size: .93rem; font-weight: 770; text-align: center; text-decoration: none; line-height: 1.3; }
.button:hover { background: var(--accent-hover); }
.main-nav > .button { background: var(--navy); color: var(--white); }
.main-nav > .button:hover { background: #294254; }
.button-secondary { border-color: #a4babc; color: var(--white); background: transparent; }
.button-secondary:hover { color: var(--navy-deep); background: var(--accent-hover); border-color: var(--accent-hover); }
.menu-toggle { display: none; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.home-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: var(--white); }
.hero-image { position: absolute; z-index: -1; inset: 0 0 0 36%; }
.hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, #101f30d9 16%, #101f3073 40%, #101f301a 78%); }
.hero-photo-note { z-index: 1; }
.home-hero-inner { display: flex; align-items: center; min-height: clamp(490px, 45vw, 630px); }
.hero-copy { max-width: 660px; padding-block: 56px 66px; }
.category { display: block; color: var(--link); font-size: .77rem; font-weight: 780; letter-spacing: .075em; text-transform: uppercase; }
.hero-copy .category { color: var(--accent); margin-bottom: 16px; }
.hero-copy h1 { max-width: 12ch; }
.hero-copy > p:not(.category) { color: #e6eef4; font-size: clamp(1.03rem, 1.7vw, 1.19rem); margin-block: 18px 26px; max-width: 49ch; }
.hero-copy .hero-brands-link { margin-top: 16px; color: var(--accent); }
.service-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.service-strip-inner { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 24px; }
.service-strip-inner > div { padding: 2px 22px; border-left: 1px solid #c9d6de; }
.service-strip-inner > div:first-child { padding-left: 0; border-left: 0; }
.service-strip-inner strong, .service-strip-inner span { display: block; }
.service-strip-inner strong { font-size: 1rem; }
.service-strip-inner span { margin-top: 2px; color: var(--muted); font-size: .89rem; }
.section { padding-block: clamp(42px, 6vw, 82px); }
.section + .section:not(.section-muted):not(.action-section) { padding-top: 0; }
.section-muted { background: var(--surface); }
.section-muted + .section:not(.section-muted):not(.action-section) { padding-top: clamp(42px, 6vw, 82px); }
.section-title { margin-bottom: clamp(18px, 3vw, 32px); }
.section-title p { margin-top: 10px; max-width: 65ch; color: var(--muted); }
.split-title { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: end; gap: 10px 20px; }
.text-link { display: inline-flex; align-items: baseline; gap: 8px; font-weight: 750; }
.link-arrow { display: inline-block; font-size: 1.1em; flex: none; line-height: 1; }
.link-grid, .scope-grid, .work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.link-card { display: flex; justify-content: space-between; gap: 14px; align-items: start; text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: 5px; background: var(--white); padding: 20px; min-height: 90px; }
.link-card .link-arrow { color: var(--link); font-size: 1.4rem; }
.link-card:hover { border-color: var(--outline); background: #f7fbfb; }
.link-card:hover h3 { text-decoration: underline; text-underline-offset: .17em; }
.link-card p { margin-top: 7px; color: var(--muted); font-size: .94rem; }
.service-icon { display: block; width: 68px; height: 71px; flex: none; object-fit: contain; border-radius: 12%; }
.service-card { justify-content: start; gap: 12px; }
.service-card > div, .option-detail > div { flex: 1; min-width: 0; }
.service-card h3, .option-detail h3 { overflow-wrap: break-word; }
.service-card p { line-height: 1.45; }
#hvac-brands { scroll-margin-top: 16px; }
#hvac-brands h2 { max-width: 31ch; }
.manufacturer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr)); gap: 14px; }
.manufacturer-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  min-width: 0;
  padding: clamp(16px, 2.5vw, 25px);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
}
.manufacturer-card:hover { border-color: var(--outline); }
.manufacturer-card p { margin-top: 5px; color: var(--muted); }
.manufacturer-card-link { color: var(--link); font-weight: 750; }
.manufacturer-card:hover .manufacturer-card-link { text-decoration: underline; }
.manufacturer-logo { display: grid; place-items: center; min-width: 0; min-height: 96px; padding: 10px 12px; background: var(--white); }
.manufacturer-card .manufacturer-logo { border-bottom: 1px solid var(--line); }
.manufacturer-logo img { display: block; width: min(100%, 205px); height: 70px; object-fit: contain; }
.manufacturer-hero .manufacturer-logo { align-self: center; min-height: 190px; margin-block: 26px; padding: 24px; border-radius: 6px; }
.manufacturer-hero .manufacturer-logo img { width: min(100%, 295px); height: 105px; }
.manufacturer-detail { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(18px, 4vw, 50px); align-items: start; }
.manufacturer-detail .form-aside p + p { margin-top: 10px; }
.construction-feature { display: grid; grid-template-columns: 1.03fr 1fr; overflow: hidden; border-radius: 6px; background: var(--navy); color: var(--white); }
.construction-copy { padding: clamp(22px, 4vw, 50px); }
.construction-copy p { margin-top: 10px; color: #d9e7f1; }
.construction-photo { position: relative; min-height: 250px; }
.construction-photo img { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; }
.stack-links { display: grid; margin-top: 18px; }
.stack-links .text-link { color: var(--accent); padding-block: 8px; border-top: 1px solid #415669; align-items: center; gap: 10px; }
.stack-links .service-icon { width: 37px; height: 39px; }
.stack-links .link-arrow { margin-inline-start: auto; }
.stack-links a:focus-visible { outline-color: var(--accent); }
.work-card { overflow: hidden; border-radius: 5px; border: 1px solid var(--line); background: var(--white); }
.work-card .work-image { display: block; height: auto; aspect-ratio: 1.65; background: var(--surface); }
.work-image:focus-visible { outline-offset: -5px; }
.work-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.work-card figcaption { padding: 15px 17px 18px; }
.work-card h3 { margin-top: 5px; }
.work-card p { margin-top: 7px; color: var(--muted); font-size: .94rem; }
.service-photo-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 275px), 1fr)); }
.action-section { padding-top: 0; }
.action-panel { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 30px; background: var(--navy); color: var(--white); padding: clamp(24px, 5vw, 50px); border-radius: 6px; }
.action-panel h2 { font-size: clamp(1.6rem, 3vw, 2.45rem); }
.action-panel p { margin-top: 9px; color: #dce9f2; }
.site-footer { background: var(--surface); color: var(--ink); border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 25px; padding-block: 36px; }
.footer-inner h2 { font-size: 1rem; font-weight: 750; margin-bottom: 8px; }
.footer-inner p { margin-top: 13px; font-size: .92rem; color: var(--muted); max-width: 34ch; }
.footer-inner > div > a:not(.brand) { display: block; width: fit-content; padding: 2px 0; font-size: .9rem; }
.site-footer a:not(.brand) { color: inherit; }
.footer-bottom { display: flex; justify-content: space-between; gap: 8px 18px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-block: 14px; font-size: .83rem; color: var(--muted); }
.footer-bottom > div { display: flex; gap: 8px 18px; flex-wrap: wrap; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; padding-block: 13px; font-size: .84rem; color: var(--muted); }
.sub-hero { background: var(--navy); color: var(--white); }
.sub-hero-inner { min-height: 246px; display: flex; align-items: center; }
.sub-hero-photo { display: grid; grid-template-columns: 1.15fr 1fr; }
.sub-hero-copy { padding-block: clamp(34px, 5.3vw, 68px); }
.sub-hero-photo .sub-hero-copy { padding-right: clamp(20px, 4vw, 52px); }
.sub-hero h1 { font-size: clamp(2.05rem, 4.1vw, 3.9rem); max-width: 24ch; }
.service-hero-title { display: flex; align-items: start; gap: 14px; }
.service-hero-title .service-icon { width: 56px; height: 58px; }
.sub-hero p { color: #e0eaf3; font-size: clamp(1rem, 1.5vw, 1.11rem); margin-top: 14px; max-width: 61ch; }
.sub-hero .actions { margin-top: 20px; }
.sub-hero figure { position: relative; align-self: stretch; min-height: 230px; }
.sub-hero figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-caption, .hero-photo-note { position: absolute; bottom: 10px; right: 12px; padding: 4px 8px; background: var(--navy-deep); color: var(--white); font-size: .75rem; border-radius: 3px; }
.photo-caption a { color: inherit; }
.image-credit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr)); gap: 14px; }
.image-credit { border: 1px solid var(--line); border-radius: 5px; padding: 18px; scroll-margin-top: 16px; }
.image-credit:target { outline: 2px solid var(--outline); }
.image-credit h2 { font-size: 1.15rem; }
.image-credit p { margin-top: 6px; color: var(--muted); }
.scope-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.scope-grid article { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--outline); border-radius: 5px; padding: 21px; }
.scope-grid article > p { margin-top: 10px; color: var(--muted); }
.option-detail { display: flex; align-items: start; gap: 14px; scroll-margin-top: 18px; }
.option-detail .service-icon { width: 56px; height: 58px; }
.option-detail p { margin-top: 7px; color: var(--muted); }
.option-detail:target { outline: 2px solid var(--outline); outline-offset: 3px; }
.scope-list { padding-left: 1.3em; color: var(--muted); }
.scope-list li + li { margin-top: 6px; }
.scope-list li::marker { color: var(--link); }
.scope-grid .scope-list { margin-top: 12px; }
.section-muted .wrap > .scope-list { columns: 2; column-gap: 26px; }
.section-muted .wrap > .scope-list li { break-inside: avoid; }
.reading { max-width: 74ch; color: var(--muted); margin-bottom: 20px; }
.reading p + p { margin-top: 12px; }
.form-section { background: var(--surface); }
.form-layout { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(225px, 1fr); gap: clamp(18px, 3vw, 34px); align-items: start; }
.inquiry-form, .form-aside, .kps-weebly-form { background: var(--white); padding: clamp(18px, 3vw, 34px); border: 1px solid var(--line); border-radius: 6px; }
.form-aside h2 { margin-bottom: 10px; font-size: 1.45rem; }
.form-aside > a { display: flex; width: fit-content; margin-top: 10px; }
.form-aside p { color: var(--muted); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-bottom: 18px; }
.field-wide { grid-column: 1 / -1; }
.field label, .field-hint { display: block; }
.field label { font-weight: 700; margin-bottom: 5px; font-size: .94rem; }
.field input, .field select, .field textarea, .kps-weebly-form input:not([type='submit']), .kps-weebly-form select, .kps-weebly-form textarea { width: 100%; min-width: 0; min-height: 44px; padding: 9px 10px; background: var(--white); color: var(--ink); border: 1px solid #97a8b7; border-radius: 4px; }
.field textarea { resize: vertical; }
.field-hint, .field-key { color: var(--muted); font-size: .87rem; }
.field-hint { margin-top: 4px; }
.field-key { margin-bottom: 10px; }
.preview-notice { background: var(--surface); padding: 8px 11px; border-left: 3px solid var(--outline); margin-bottom: 14px; font-size: .9rem; }
.form-status:empty { display: none; }
.form-status { margin-top: 12px; padding: 8px 11px; background: #e8f7f4; color: #12514b; border-radius: 4px; }
.form-status[data-error] { background: #fff1ed; color: #8d291b; }
.contact-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.contact-details h2 { font-size: 1.16rem; margin-bottom: 5px; }
.contact-details a, .footer-inner a[href^='mailto:'] { overflow-wrap: anywhere; }
.legacy-content { min-height: 300px; padding-block: 32px; }
.kps-page-extra:empty { display: none; }

@media (max-width: 1100px) {
  .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nav-shell { flex-wrap: wrap; padding-block: 12px; min-height: 67px; }
  .menu-toggle { display: inline-flex; gap: 7px; align-items: center; min-height: 42px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--ink); padding: 6px 12px; font-weight: 720; }
  .menu-toggle span { width: 13px; height: 10px; border-block: 2px solid currentColor; position: relative; }
  .menu-toggle span::before { content: ''; position: absolute; height: 2px; width: 100%; background: currentColor; top: 2px; }
  .main-nav { flex: 1 0 100%; display: grid; gap: 0; padding-block: 2px; }
  .menu-toggle[aria-expanded='false'] + .main-nav[data-collapsible] { display: none; }
  .main-nav > a:not(.button) { padding: 9px 1px; border-top: 1px solid var(--line); }
  .main-nav > .button { justify-self: start; }
  .link-grid, .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-hero-inner { min-height: 470px; }
  .hero-image { left: 28%; }
}
@media (max-width: 640px) {
  .home-hero { display: flex; flex-direction: column-reverse; }
  .hero-image { position: relative; inset: auto; height: clamp(170px, 57vw, 320px); width: 100%; }
  .hero-image::after { background: linear-gradient(180deg, #101f304d, transparent 30%); }
  .home-hero-inner { min-height: auto; width: 100%; }
  .hero-copy { padding-block: 36px; }
  .hero-copy h1 { max-width: 14ch; }
  .service-strip-inner { grid-template-columns: 1fr; padding-block: 10px; }
  .service-strip-inner > div, .service-strip-inner > div:first-child { padding: 9px 0; border-left: 0; }
  .service-strip-inner > div + div { border-top: 1px solid #c9d6de; }
  .construction-feature, .sub-hero-photo, .form-layout, .footer-inner { grid-template-columns: 1fr; }
  .manufacturer-detail { grid-template-columns: 1fr; }
  .manufacturer-hero .manufacturer-logo { min-height: 135px; margin: 0 0 var(--gutter); }
  .manufacturer-hero .manufacturer-logo img { width: min(100%, 240px); height: 76px; }
  .construction-photo { min-height: clamp(180px, 55vw, 300px); }
  .sub-hero-photo .sub-hero-copy { padding-right: 0; }
  .sub-hero-photo figure { min-height: 205px; margin-bottom: var(--gutter); }
  .footer-inner { gap: 19px; }
  .section-muted .wrap > .scope-list { columns: 1; }
}
@media (max-width: 440px) {
  .link-grid, .work-grid, .fields, .contact-details { grid-template-columns: 1fr; }
  .contact-bar-inner { font-size: .73rem; }
  .brand { --brand-gap: 8px; font-size: .86rem; }
  .home-hero .actions { flex-wrap: wrap; }
  .link-card { min-height: 75px; }
  .service-card .service-icon { width: 58px; height: 60px; }
  .service-hero-title { flex-direction: column; }
}
