/* Keep service imagery consistent with the homepage. */
.ref-card-img{position:relative}
.ref-card-img:has(>.service-photo){height:auto;aspect-ratio:5/4}
.ref-card-img .service-photo{object-position:center}
.ref-card-img .service-panel-image,.service-detail-photo .service-panel-image{position:absolute;max-width:none;width:var(--panel-width);height:auto;left:var(--panel-left);top:0;margin-top:var(--panel-top);object-fit:fill;transform:none}
.ref-card:hover .service-panel-image{transform:none;filter:brightness(1.06)}
.service-ref-hero{background:#080e23}
.service-detail-photo{position:absolute;inset:0 0 0 auto;width:55%;overflow:hidden}
.service-detail-photo>img:not(.service-panel-image){width:100%;height:100%;object-fit:cover}
.service-ref-hero .shade{background:linear-gradient(90deg,#060631 20%,#060631cc 48%,#06063120)}
.service-ref-hero h1{max-width:900px;text-shadow:0 2px 15px #0007}
@media(max-width:820px){.service-detail-photo{width:100%}.service-ref-hero .shade{background:linear-gradient(0deg,#060631eb, #06063135 90%)}.service-ref-hero h1{font-size:clamp(34px,7vw,52px)}}
