/* Fade the scrims into the photograph around the text. */
.hero-shade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 12%, rgb(10 16 20 / 40%) 42%,
    rgb(10 16 20 / 40%) 55%, transparent 82%);
}

.hero:not(.services-hero) .hero-shade::after {
  background:
    linear-gradient(rgb(10 16 20 / 32%), transparent 16%),
    linear-gradient(0deg, rgb(10 16 20 / 48%), transparent 15%),
    linear-gradient(180deg, transparent 12%, rgb(10 16 20 / 38%) 42%,
      rgb(10 16 20 / 38%) 55%, transparent 82%);
}

/* Blend extra contrast into the homepage photograph, away from the text box. */
.closing:not(.services-closing) .closing-shade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 12%, rgb(10 16 20 / 40%) 44%,
    rgb(10 16 20 / 40%) 58%, transparent 92%);
}

.site-header:not(.scrolled):not(.menu-open) :is(a, button):focus-visible,
.closing a:focus-visible {
  outline: 2px solid white;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #101418, 0 0 0 6px #101418;
}

.services-page .journey-card::after {
  background: linear-gradient(180deg, transparent 27%, #10201c76 48%, #10201ce8);
}

.journey-card:focus-visible::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 4px;
  border: 2px solid white;
  box-shadow: 0 0 0 2px #101418, inset 0 0 0 2px #101418;
  pointer-events: none;
}
