.multi-header {gap:20px}
.main-nav {gap:clamp(12px,2vw,28px)}
.main-nav a {padding-block:9px;border-bottom:2px solid transparent}
.main-nav a:hover,.main-nav a[aria-current="page"] {color:#ffb363;border-bottom-color:#ffb363}
.header-call {font-size:14px;font-weight:800;text-decoration:none;white-space:nowrap}
.page-hero {padding:clamp(35px,6vw,85px) 0;border-bottom:1px solid #ffffff30}
.page-hero h1 {font-size:clamp(42px,7.6vw,86px);max-width:1000px;line-height:.98}
.page-hero .intro {max-width:620px}
.page-cta p:not(.label) {margin-top:12px;color:#dbe4e9;max-width:660px}
.gateways {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.gateway {overflow:hidden;border:1px solid var(--line);background:var(--white);border-radius:7px}
.gateway>a {display:flex;flex-direction:column;height:100%;text-decoration:none}
.gateway>a:focus-visible {outline-offset:-4px}
.gateway img {width:100%;aspect-ratio:1.87;object-fit:cover}
.gateway-copy {padding:20px;flex:1;display:flex;flex-direction:column;align-items:flex-start}
.gateway-copy h3 {font-size:clamp(23px,3vw,34px);margin-bottom:9px}
.gateway-copy p:not(.index),.info-tile p:not(.index) {color:var(--muted);margin-bottom:14px}
.gateway-copy strong {color:#8b3d0e;margin-top:auto}
.gateway>a:hover strong {text-decoration:underline;text-underline-offset:4px}
.info-tile {padding:clamp(18px,4vw,32px);background:var(--white);border-radius:7px;border:1px solid var(--line)}
.info-tile h2 {font-size:clamp(26px,3.5vw,41px)}
.info-tile p:not(.index) {margin:10px 0 0}
.service-scope {padding-bottom:0}
.footer a {text-underline-offset:4px}
@media(max-width:840px){
  .multi-header {display:grid;grid-template-columns:1fr auto;gap:0 10px;padding-top:8px}
  .multi-header .main-nav {grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;margin-top:6px;border-top:1px solid #ffffff30}
  .multi-header .main-nav a {display:block;text-align:center;white-space:normal;font-size:13px;line-height:1.2;padding:12px 2px}
  .multi-header .header-call {justify-self:end}
}
@media(max-width:620px){
  .gateways {grid-template-columns:1fr;gap:12px}
  .gateway img {aspect-ratio:2.15}
  .page-hero h1 {letter-spacing:-.055em}
}
.refrigeration-grid {display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:center;gap:clamp(20px,4vw,55px)}
.refrigeration-hero h1 {font-size:clamp(39px,5.8vw,76px)}
.refrigeration-photo {background:#152a39;border:1px solid #ffffff40;border-radius:7px;overflow:hidden}
.refrigeration-photo img {width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:50% 50%}
.refrigeration-photo figcaption {border-top:1px solid #ffffff40;padding:9px 12px;font-size:13px;color:#dbe4e9}
.gateway img.refrigeration-thumbnail {height:auto}
@media(max-width:800px) {
  .refrigeration-grid {grid-template-columns:1fr}
  .refrigeration-photo {max-width:570px}
}
.site-header {background:#fff;color:var(--ink);border-bottom:1px solid #d4dde2}
.site-header .multi-header {min-height:94px}
.site-header .brand-art {display:block;position:relative;width:179px;max-width:100%;aspect-ratio:800/325;overflow:hidden;flex:none}
.site-header .brand-art img {width:100%;height:auto}
.site-header .header-call {background:#142637;color:#fff;border-color:#142637}
.site-header .header-call:hover {background:#274053}
.site-header .main-nav a:hover,.site-header .main-nav a[aria-current="page"] {color:#944713;border-bottom-color:#db7828}
@media(max-width:840px) {
  .site-header .multi-header {min-height:0}
  .site-header .brand-art {width:158px}
  .site-header .multi-header .main-nav {border-top-color:#d4dde2}
}
@media(min-width:621px) {.hero .ribbon {grid-template-columns:repeat(4,minmax(0,1fr))}}
.mini-splits {margin-top:clamp(28px,5vw,60px);background:#e6eceb;border-block:1px solid #bacac9}
.mini-grid {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,4vw,54px);align-items:center}
.mini-copy>p:not(.label) {max-width:520px;margin-top:13px;color:var(--muted)}
.mini-contact {font-weight:750;text-underline-offset:3px}
.mini-photos {display:grid;grid-template-columns:1fr 1fr;gap:10px}
.mini-photos figure {border:1px solid #b1bebd;border-radius:7px;overflow:hidden;background:#fffdf8}
.mini-photos img {aspect-ratio:1.18;height:auto;object-fit:cover;object-position:50% 36%}
.mini-photos figcaption {padding:8px 10px;font-size:14px;font-weight:700}
@media(max-width:760px) {.mini-grid {grid-template-columns:1fr}}
/* Keep the uncropped project photo available when visitors open a gallery tile. */
.photos figure img {aspect-ratio:1.38;object-fit:cover;object-position:center 51%}
.mini-photos img {object-position:50% 46%}
.site-header .brand-art img {object-fit:contain}
.photos figure img,.pair img,.gateway img {height:auto}

/* These frames preserve the wide job photos and give phone users room to inspect them. */
.hero .hero-photo img {height:auto;aspect-ratio:4/3;object-position:center}
.hero .refrigeration-photo img,.gateway img.refrigeration-thumbnail {aspect-ratio:4/3;object-position:center}
.lightbox {width:max-content;max-width:min(94vw,920px);margin:auto}
.lightbox img {max-height:76svh}
@media(max-width:620px) {
  .gateway img {aspect-ratio:4/3;object-position:center}
  .mini-photos img {aspect-ratio:4/3;object-position:center 43%}
  .pair img {aspect-ratio:4/3}
  .photos figure img {aspect-ratio:4/3}
  .photos figcaption {min-height:0}
  .lightbox {max-width:96vw;padding:8px}
  .lightbox button {min-height:44px}
  .lightbox img {max-height:72svh}
}
@media(max-width:460px) {
  .photos {grid-template-columns:minmax(0,1fr);gap:14px}
  .photo-open span {right:10px;bottom:10px;width:34px;height:34px}
  .photos figcaption {padding:11px 12px}
}

/* MCS roof blue, with deeper tones from the same hue behind text. */
:root {--mcs-blue:#0894d1;--mcs-blue-deep:#07517a;--mcs-blue-mid:#09638d}
.hero:not(.page-hero) {background:linear-gradient(108deg,var(--mcs-blue-deep) 0 44%,#087aaf 74%,var(--mcs-blue) 100%)}
.page-hero {background:linear-gradient(115deg,var(--mcs-blue-deep),var(--mcs-blue-mid))}
.contact,.commercial {background:linear-gradient(115deg,#084b72,var(--mcs-blue-mid))}
.hero .ribbon {background:var(--mcs-blue-deep);padding-inline:12px;border-top-color:#a8d9ef}
.hero-visual .photo-index {color:#f4fbff}
.hero-photo figcaption,.refrigeration-photo {background:#06456a}
.hero-note {color:#e0f1fa}
.hero :focus-visible,.contact :focus-visible,.commercial :focus-visible {outline-color:#ffce8c}
.service .pair {background:#d8e4eb;gap:3px}
.service .pair .photo-open {min-width:0}
.service .pair img {aspect-ratio:4/3;object-fit:cover;object-position:center 47%}
.service .pair img[src$="project-indoor-service-call.webp"] {object-position:center 37%}
.photo-open:focus-visible {outline-offset:-4px}
@media(max-width:800px) {
  .hero:not(.page-hero) {background:linear-gradient(142deg,var(--mcs-blue-deep) 0 49%,#0878ac 76%,var(--mcs-blue) 100%)}
}
@media(max-width:620px) {
  .hero:not(.page-hero) {background:linear-gradient(165deg,var(--mcs-blue-deep) 0 48%,#0878ac 77%,var(--mcs-blue) 100%)}
  .service .pair,.mini-photos {grid-template-columns:minmax(0,1fr)}
  .service .pair .photo-open + .photo-open {border-top:1px solid #fff}
  .service .pair .photo-open span,.mini-photos .photo-open span {width:34px;height:34px}
}

/* Industrial HVAC: large project photos with full frames in the photo viewer. */
.industrial-hvac {scroll-margin-top:110px;padding-block-end:0}
.industrial-photos {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(12px,2vw,24px)}
.industrial-photos figure {margin:0;border:1px solid var(--line);border-radius:7px;overflow:hidden;background:var(--white)}
.industrial-photos img {display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:center}
.industrial-photos figcaption {padding:10px 14px;font-size:14px;font-weight:700}
.industrial-hvac .actions {margin-top:20px}
@media(max-width:620px) {
  .industrial-hvac {scroll-margin-top:145px}
  .industrial-photos {grid-template-columns:minmax(0,1fr)}
  .industrial-photos .photo-open span {width:34px;height:34px}
}

/* Use the logo's warm red-orange on blue and a deeper burnt orange on light surfaces. */
:root {--mcs-logo-orange:#ffab58;--mcs-logo-orange-ink:#a83e13}
.hero h1 em {color:var(--mcs-logo-orange);text-shadow:0 1px 2px #062c45}
.hero-photo figcaption span,.ribbon b,.identity b {color:var(--mcs-logo-orange)}
.index,.brand-grid span,.gateway-copy strong,
.site-header .main-nav a:hover,.site-header .main-nav a[aria-current="page"] {color:var(--mcs-logo-orange-ink)}

#residential .industrial-photos img {object-position:center 34%}
