/* Services hero (hub + 11 service pages), rebuilt 2026-11-08.
   One self-contained component. The photo box gets explicit size from the grid row
   (min-height) and the <img> is absolutely positioned to fill it, so its size never
   depends on percentage-height resolution. A 32px inline placeholder of the same photo
   is painted as the figure background, so the column shows the photo even before the
   full JPEG arrives. No overlay sits above the image. */
body.inner main>section.svc-xh{
  background:linear-gradient(160deg,var(--navy-900,#0b1c28) 0%,var(--navy,#0f2636) 58%,var(--navy-800,#16324a) 100%);
  padding:0;border-bottom:0;color:#fff;
}
.svc-xh-in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:600px;max-width:none;margin:0;padding:0}
.svc-xh-text{display:flex;flex-direction:column;justify-content:center;padding:96px 72px 88px max(48px,calc((100vw - 1280px)/2 + 48px))}
body.inner .svc-xh .eyebrow{color:var(--gold)}
body.inner .svc-xh h1{color:#fff;max-width:16ch}
body.inner .svc-xh .l-outcome,body.inner .svc-xh .l-sub{color:var(--on-navy,rgba(255,255,255,.82));font-size:1.2rem;max-width:38ch}
.svc-xh-photo{
  position:relative;margin:0;min-height:600px;overflow:hidden;
  background-color:#1d3a50;background-size:cover;background-repeat:no-repeat;background-position:var(--pos,50% 30%);
  border-left:3px solid var(--gold);
}
.svc-xh-photo>img{
  position:absolute;top:0;left:0;width:100%;height:100%;max-width:none;
  display:block;object-fit:cover;object-position:var(--pos,50% 30%);
}
@media (max-width:900px){
  .svc-xh-in{grid-template-columns:1fr;min-height:0}
  .svc-xh-text{padding:56px 24px 40px}
  .svc-xh-photo{min-height:0;height:320px;border-left:0;border-top:3px solid var(--gold)}
}
@media (max-width:640px){.svc-xh-photo{height:260px}}

/* Portrait variant (close-up portraits): a framed 4:5 photo centred in the navy column, so the full head
   and shoulders always show instead of a cover crop through the face. */
.svc-xh-photo.svc-xh-photo--portrait{display:flex;align-items:center;justify-content:center;padding:48px 32px;background:transparent}
.svc-xh-frame{position:relative;display:block;width:min(416px,78%);aspect-ratio:4/5;overflow:hidden;background-size:cover;background-position:var(--pos,50% 50%);box-shadow:0 30px 60px -30px rgba(0,0,0,.55)}
.svc-xh-frame>img{position:absolute;top:0;left:0;width:100%;height:100%;max-width:none;display:block;object-fit:cover;object-position:var(--pos,50% 50%)}
@media (max-width:900px){.svc-xh-photo.svc-xh-photo--portrait{height:auto;min-height:0;padding:32px 24px}.svc-xh-frame{width:min(300px,72%)}}
