/*
 * The glow on "story", adapted for light surfaces (owner asked to keep it, 2026-11-15).
 * The word itself stays solid accent-500 text. Behind it, a decorative copy carries the #glow-light
 * SVG filter (index.html): soft Ultraviolet, orchid and lilac halos, no dark layer. The halo fades in
 * once after the letters settle. Nothing loops; reduced motion shows the finished glow.
 * Values in styles/site-tokens.css.
 */
.glow-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.hero__title .hf-accent.hero__glow { position: relative; display: inline-block; isolation: isolate; }
.hero__title .hf-accent.hero__glow::before {
  content: attr(data-text); content: attr(data-text) / ""; /* decorative copy: kept out of the heading's accessible name */
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  color: var(--accent-500); filter: var(--glow-filter);
  opacity: 0; animation: glow-in var(--glow-duration) var(--ease-out) var(--glow-delay) forwards;
}
@keyframes glow-in { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .hero__title .hf-accent.hero__glow::before { animation: none; opacity: 1; }
}
