.vm-photo-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  justify-items: center;
  box-sizing: border-box;
  width: 100%;
  min-height: clamp(390px, 80vh, 780px);
  min-height: clamp(390px, 80svh, 780px);
  margin: 0;
  padding: 108px clamp(16px, 5vw, 76px) clamp(30px, 7vh, 70px);
  overflow: hidden;
  background: #151918;
  color: #fff;
  text-align: center;
}
.vm-photo-hero > .vm-photo-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.vm-photo-hero-caption {
  position: relative;
  z-index: 1;
  max-width: 100%;
  padding: 15px clamp(14px, 3vw, 32px) 18px;
  border-radius: 14px;
  background: #101514d9;
}
.vm-photo-hero .vm-photo-hero-caption > h1 {
  margin: 0 auto 14px !important;
  max-width: 22ch;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-family: Geist, Inter, system-ui, sans-serif;
  font-size: clamp(1.9rem, 5.8vw, 4.7rem);
  font-weight: 740;
  line-height: 1.04;
  letter-spacing: -.05em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.vm-photo-hero a.vm-photo-hero-action {
  display: inline-grid;
  place-items: center;
  min-height: 46px;
  max-width: 100%;
  padding: 8px 20px;
  border-radius: 999px;
  background: #fff;
  color: #14211e !important;
  -webkit-text-fill-color: #14211e !important;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
}
.vm-photo-hero-action:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.vm-photo-hero-action:hover { background: #e0f3ea !important; }
.vm-service-landing:has(> .vm-photo-hero) { padding-top: 0; }
@media (min-width: 701px) {
  .vm-photo-hero { min-height: clamp(520px, 89svh, 980px); }
}

.vm-photo-hero[data-photo-only]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #080d0bea 0%, #080d0b64 36%, transparent 65%);
  pointer-events: none;
}
.vm-photo-hero[data-photo-only] .vm-photo-hero-caption {
  padding: 0;
  background: transparent;
  border-radius: 0;
}
.vm-photo-hero[data-photo-only] .vm-photo-hero-caption > h1 {
  margin-bottom: 0 !important;
  text-shadow: 0 2px 16px #0008;
}
.vm-service-contact-copy.vm-contact-photo {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: 230px;
  overflow: hidden;
}
.vm-contact-photo > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.vm-contact-photo::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, #080d0bef, #080d0b20 72%, transparent);
}
.vm-service-contact-copy.vm-contact-photo > h2 { color: #fff !important; }
