/* SplitText builds spans here so it never puts a <div> inside a heading.
   An inline box ignores transform and lets two lines share one line box, so
   the masks are blocks; words still need to flow, so they stay inline-block. */
.line,
.line-mask {
  display: block;
}

.word,
.word-mask {
  display: inline-block;
}

.line,
.word {
  will-change: transform;
}
