/* Relevel toolkit · line-reveal */

/* Pre-hide a heading until it is split, so unsplit text never flashes. Only with JS (the rt-js class from the <head>
   snippet) and only with motion; the snippet drops rt-js after 3 s, so text can never stay hidden. */
@media (prefers-reduced-motion: no-preference) {
  .rt-js [data-line-reveal]:not(.rt-lr-ready) { visibility: hidden; }
}

/* Each line rises inside its own mask. SplitText clips masks with overflow:clip, which cuts descenders, accents and
   italic overhangs on tight display leading; this clip reaches just past the line box instead. */
.rtline-mask { overflow: visible !important; clip-path: inset(-0.16em -0.5em -0.2em); }
