/* ---------- A stroke brushed on as it comes into view ----------
   spine.js adds spine-wait to each painted section once the page can animate,
   so a reader without script or with Reduce Motion simply sees the paint. */
.section:nth-of-type(3n + 1) { --m: url(/img/opening/mask-1.png); }
.section:nth-of-type(3n + 2) { --m: url(/img/opening/mask-2.png); }
.section:nth-of-type(3n) { --m: url(/img/opening/mask-3.png); }
.spine-wait::before, .spine-brush::before { -webkit-mask: var(--m) 0 0 / 100% 300% no-repeat; mask: var(--m) 0 0 / 100% 300% no-repeat; }
.spine-brush::before { animation: spine-brush 1150ms cubic-bezier(.42, .08, .24, 1) both; }
@keyframes spine-brush {
  from { -webkit-mask-position: 0 0; mask-position: 0 0; }
  to { -webkit-mask-position: 0 100%; mask-position: 0 100%; }
}
