/* One edge-to-edge photo banner for service and supporting pages.
   Use one consistent photo area, with a soft fade into the text. */
.page-hero.full-bleed-hero {
  background: #081c1d;
  isolation: isolate;
  padding-top: 120px;
  padding-bottom: 72px;
}
.full-bleed-hero::before, .full-bleed-hero::after { content: none; }
.full-bleed-backdrop {
  display: block;
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.full-bleed-backdrop img {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: 65% center;
  border-radius: 0;
  box-shadow: none;
  /* Anchor both fades to the image itself: its left edge moves when the
     banner height limits the photo, so a viewport gradient alone leaves a seam. */
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0,0,0,.08) 6%, rgba(0,0,0,.4) 14%, rgba(0,0,0,.85) 24%, #000 32%),
    linear-gradient(180deg, #000 78%, transparent 100%);
  mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0,0,0,.08) 6%, rgba(0,0,0,.4) 14%, rgba(0,0,0,.85) 24%, #000 32%),
    linear-gradient(180deg, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.full-bleed-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #081c1d 0%, #081c1d 40%, rgba(8,28,29,.12) 57%, rgba(8,28,29,.12) 100%);
}
.full-bleed-hero .page-hero-content { max-width: 46%; }
.full-bleed-hero .page-hero-content p { color: rgba(255,255,255,.88); }
.full-bleed-hero .button-row { display: flex; flex-wrap: wrap; }
.full-bleed-hero .button-row .btn {
  white-space: normal;
  text-align: center;
  padding-inline: 22px;
  min-height: 56px;
}
@media (max-width: 1100px) {
  .page-hero.full-bleed-hero {
    padding-top: calc(72px + 66.6667vw - 16px);
    padding-bottom: 56px;
  }
  /* The fixed navigation must not cover the subject's face. */
  .full-bleed-backdrop { top: 72px; }
  .full-bleed-backdrop img {
    width: 100%;
    height: 66.6667vw;
    max-width: 100%;
    max-height: none;
    object-position: center;
    /* On phones the photo spans the screen; only its lower edge meets the copy. */
    -webkit-mask-image: linear-gradient(180deg, #000 65%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 65%, transparent 100%);
  }
  .full-bleed-backdrop::after {
    background: linear-gradient(180deg, rgba(8,28,29,.08) 0%, rgba(8,28,29,.08) 25vw, #081c1d 66.6667vw);
  }
  .full-bleed-hero .page-hero-content { max-width: 720px; }
}
@media (max-width: 640px) {
  .full-bleed-hero .button-row { display: grid; grid-template-columns: minmax(0, 1fr); }
}
@media print {
  .page-hero.full-bleed-hero { padding-top: 24px; }
  .full-bleed-backdrop { display: none; }
  .full-bleed-hero .page-hero-content { max-width: none; }
}
