/* Keep the vertical reel mask while allowing negatively tracked edge glyphs to paint. */
.home .hero-form h1 > span {
  overflow: visible;
  clip-path: inset(0 -.12em);
}

/* Applied only after mount; the original headline remains a usable static fallback. */
.home .hero-form h1 > .home-service-window.home-services-ready {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  isolation: isolate;
}

.home .hero-form h1 > .home-service-window > .home-service-line {
  grid-area: 1 / 1;
  display: block;
  min-width: 0;
  width: 100%;
  white-space: nowrap;
  font: inherit;
  letter-spacing: inherit;
  word-spacing: inherit;
  text-transform: inherit;
  transform-origin: left center;
  scale: var(--service-fit, 1) 1;
}

.home .home-service-incoming {
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .home .home-service-window > .home-service-line {
    translate: none !important;
    filter: none !important;
    opacity: 1 !important;
  }

  .home .home-service-window > .home-service-incoming {
    display: none;
  }
}
