.service-hero.service-hero--image {
  align-items: flex-start;
  padding: 200px max(80px, calc((100% - var(--content-width)) / 2)) 160px;
  text-align: left;
}
.service-hero--image .service-hero__copy { width: 100%; max-width: 600px; text-align: left; }
.service-hero--image h1 { font-size: 48px; line-height: 58px; letter-spacing: normal; }
.service-hero--image .service-hero__description {
  margin: 24px 0 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}
.service-hero--image .button-row { justify-content: flex-start; margin-top: 44px; }
.service-hero--image .service-hero__image-background {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: #dcecfb;
}
.service-hero--image .service-hero__image-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-hero--image .service-hero__image-background::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 72%, #f2f5fc 100%);
}
@media (max-width: 800px) {
  .service-hero.service-hero--image { padding: 160px 40px 180px; }
  .service-hero--image .service-hero__image-background img {
    position: absolute;
    bottom: 0;
    height: auto;
    mask-image: linear-gradient(180deg, transparent, #000 30%);
  }
}
@media (max-width: 720px) {
  .service-hero.service-hero--image { padding: 144px 20px 160px; }
  .service-hero--image h1 { font-size: clamp(28px, 7.7vw, 40px); line-height: 1.3; }
  .service-hero--image .button-row { margin-top: 32px; }
}

.service-hero--compact.service-hero--image .service-hero__copy { max-width: 500px; }
.service-hero--compact .service-hero__image-background { background: #edf5ff; }
.service-hero__image-background[data-custom-hero] { --hero-edge-left: none; --hero-edge-right: none; }
.service-hero--compact .service-hero__image-background img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
@media (min-width: 1201px) {
  .service-hero--compact.service-hero--image { background: #edf5ff; }
  .service-hero--compact .service-hero__image-background {
    top: 50%;
    bottom: auto;
    height: 563px;
    transform: translateY(-50%);
    background:
      var(--hero-edge-left) left / 50% 100% no-repeat,
      var(--hero-edge-right) right / 50% 100% no-repeat;
    mask-image: linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent);
  }
  .service-hero--compact .service-hero__image-background img {
    right: max(80px, calc((100% - var(--content-width)) / 2));
    width: 1000px;
    max-width: none;
    height: 100%;
    object-fit: fill;
  }
}
@media (min-width: 801px) and (max-width: 1200px) {
  .service-hero--compact.service-hero--image {
    padding: 152px 40px 40px;
    background: linear-gradient(180deg, #edf5ff 90%, #f2f5fc);
  }
  .service-hero--compact .service-hero__image-background {
    position: relative;
    inset: auto;
    order: 2;
    align-self: center;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1.25;
    margin-top: 16px;
    background: transparent;
  }
  .service-hero--compact .service-hero__image-background img {
    right: 0;
    width: 155%;
    max-width: none;
    height: auto;
    mask-image: linear-gradient(180deg, transparent, #000 14%);
  }
}
@media (max-width: 800px) {
  .service-hero--compact.service-hero--image { padding-bottom: 330px; }
  .service-hero--compact .service-hero__image-background img {
    right: 0;
    width: 155%;
    max-width: none;
    height: auto;
    object-fit: initial;
    mask-image: linear-gradient(180deg, transparent, #000 14%);
  }
}

.service-hero--management {
  --hero-edge-left: url('../images/hero-management-four-modules-edge-left.webp');
  --hero-edge-right: url('../images/hero-management-four-modules-edge-right.webp');
}

.service-hero--iso {
  --hero-edge-left: url('../images/hero-iso-system-cycle-edge-left.webp');
  --hero-edge-right: url('../images/hero-iso-system-cycle-edge-right.webp');
}

.service-hero--ce {
  --hero-edge-left: url('../images/hero-ce-product-passage-edge-left.webp');
  --hero-edge-right: url('../images/hero-ce-product-passage-edge-right.webp');
}

.service-hero--talent {
  --hero-edge-left: url('../images/hero-talent-shared-growth-edge-left.webp');
  --hero-edge-right: url('../images/hero-talent-shared-growth-edge-right.webp');
}
