.service-stroke__accessible {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.services__copy.service-stroke { overflow-wrap: normal; word-break: normal; }
.service-stroke__word {
  display: inline-block; height: 1.3em; vertical-align: -.25em; overflow: visible;
}
.service-stroke__outline tspan { stroke-dasharray: 700; stroke-dashoffset: 700; }
.service-stroke__wipe { transform: scaleX(0); transform-origin: 0 0; }
.is-drawn .service-stroke__outline tspan {
  animation: service-stroke-draw 1.6s cubic-bezier(.22,1,.36,1) both;
  animation-delay: calc(var(--word-delay) + var(--char-delay));
}
.is-drawn .service-stroke__wipe {
  animation: service-stroke-fill .8s ease-in-out both;
  animation-delay: calc(1.8s + var(--word-delay));
}
@keyframes service-stroke-draw { to { stroke-dashoffset: 0; } }
@keyframes service-stroke-fill { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .service-stroke__outline tspan { animation: none !important; stroke-dashoffset: 0; }
  .service-stroke__wipe { animation: none !important; transform: none; }
}

/* Longer editorial title sequence: outline first, then a deliberate fill. */
.stroke-heading .service-stroke__word { height: 1.15em; vertical-align: -.16em; max-width: 100%; }
.stroke-heading.is-drawn .service-stroke__outline tspan { animation-duration: 2s; }
.stroke-heading.is-drawn .service-stroke__wipe { animation-delay: calc(2.15s + var(--word-delay)); animation-duration: 1s; }
.works__heading:has(.stroke-heading),
.services__heading:has(.stroke-heading),
.partners__heading:has(.stroke-heading) { opacity: 1; transform: none; transition: none; }
