.service-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1875em;
  margin: 0 0 30px;
  font-family: "ABC Service Zen", sans-serif;
  font-size: min(32px, 2.285715vw);
  font-weight: 500;
  line-height: 1.875;
}

.service-heading__line {
  position: relative;
  display: block;
  width: max-content;
  padding: 0 0.625em;
  color: #fff;
  white-space: nowrap;
  isolation: isolate;
}

.service-heading__line::before {
  position: absolute;
  inset: 0 10px 0 0;
  z-index: -1;
  background: #232323;
  content: "";
  transform: scaleX(var(--band-one, 1));
  transform-origin: left center;
}

.service-heading__line:nth-child(2)::before {
  transform: scaleX(var(--band-two, 1));
}

.service-heading__text {
  display: block;
  opacity: var(--title-one, 1);
  transform: translateY(calc(var(--title-one-y, 0px) - 2px));
}

.service-heading__line:nth-child(2) .service-heading__text {
  opacity: var(--title-two, 1);
  transform: translateY(calc(var(--title-two-y, 0px) - 2px));
}

html[data-motion-state=ready] :is(.hero-intro, .hero-supplies) > :is(p, button) {
  opacity: var(--service-copy, 1);
  visibility: var(--service-copy-visibility, visible);
  transform: translateY(calc((1 - var(--service-copy, 1)) * 8px));
}

@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .motion-story .hero-intro {
    left: clamp(7.14%, 14.2146% + 25svh - 250px, 14.2146%);
    top: 12.0994%;
    width: 440px;
    max-width: 32%;
  }
  .motion-story .hero-supplies {
    left: 60.7309%;
    top: min(55.5917%, 100svh - var(--service-panel-height, 370px) - 56px);
    width: 370px;
    max-width: 31%;
  }
  .motion-story .hero-intro__lead,
  .motion-story .hero-supplies__lead {
    font-size: clamp(14px, 1.571429vw, 22px);
  }
  .motion-story :is(.hero-intro, .hero-supplies) > p:not(:first-of-type) {
    font-size: clamp(12px, 1.142857vw, 16px);
  }
}
@media (max-width: 767px) {
  .mobile-opening__art {
    overflow: clip;
  }
  .service-heading {
    margin-bottom: 6.4864864865vw;
    font-size: 5.9459459459vw;
  }
}
@media (prefers-reduced-motion: reduce) {
  .service-heading {
    font-size: min(24px, 5.945946vw);
  }
}
