/* Lumae Consulting: headings and opening lines rise into place as they come into view (rise.js).
   Each word is a small window: a heading's letters rise through it one after another, and a line
   of text rises word by word, a line at a time. Nothing fades or slides across the paper; the
   words come up from just below where they stand. Without JavaScript, with reduced motion, or in
   print, the text simply stands. */
@media (prefers-reduced-motion: no-preference) {
  /* held until rise.js has set them, and shown regardless after three seconds */
  .js :is(main h1, main h2:not(.label), main .label, main .lede, .overview .sec-head + p, .numbers dt):not(.rise) { visibility: hidden; animation: rise-safe 0s 3s forwards; }
  /* room above and below for the tallest letters and the descenders, given back by the margins */
  .rw { display: inline-block; overflow: clip; padding: 0.16em 0.06em 0.26em; margin: -0.16em -0.06em -0.26em; }
  /* each piece carries the same room, so its own gradient reaches the tails of g, j, p and y */
  .rr { display: inline-block; padding: 0.16em 0 0.26em; margin: -0.16em 0 -0.26em; transform: translateY(100%); }
  .rise.is-in .rr { transform: none; transition: transform 1.15s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0s); }
  .rise.is-done .rw { overflow: visible; }
}
@media print { .rr { transform: none !important; } }
@keyframes rise-safe { to { visibility: visible; } }
