/* Scroll Blur Reveal — original. A flowing statement paragraph whose words sit
   faint and out of focus until scroll scrubs them sharp, one after another,
   while the block levels out from a slight tilt. GSAP + ScrollTrigger.
   Every selector is scoped to .byq-gem--scroll-blur-reveal-01. */

.byq-gem--scroll-blur-reveal-01 {
  display: flex;
  justify-content: center;
  padding-inline: 6vw;
  color: var(--byq-fg);
  font-family: var(--byq-font-sans);
  -webkit-font-smoothing: antialiased;
}

.byq-gem--scroll-blur-reveal-01__text {
  margin: 0;
  /* Wide enough that a long continuous passage doesn't tower, still a
     dramatic column. */
  max-width: 30ch;
  font-family: var(--byq-font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 1rem + 2.8vw, 3.4rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
  /* The whole block starts on a slight tilt (set by JS from the left edge)
     and levels out as it enters — will-change keeps the scrub smooth. */
  will-change: transform;
}

/* The sparing accent pop — kept as a real element so it survives the JS
   word split. */
.byq-gem--scroll-blur-reveal-01__text em {
  font-style: normal;
  color: var(--byq-accent-lime);
}

/* Words animate filter/opacity/transform, so each needs its own box. */
.byq-gem--scroll-blur-reveal-01__word {
  display: inline-block;
  will-change: opacity, filter, transform;
}
