/* Lumen page head: a paper lantern beside a soroban, the Japanese abacus.
   Lumen is the Latin word for light, and the company studies how a business
   runs before it builds anything. Once the scene is painted in, the lantern
   comes alight, and three moves are made on the soroban: two beads up to the
   beam, one down to it, three up. The flame then burns a little unevenly.
   Under reduced motion the lantern is lit and the count is done.

   The drawing lives in source/heads/lumen.svg. Loaded after paint.css. */
@keyframes lumen-light { from { opacity: 0; } }
@keyframes lumen-burn { to { opacity: 0.84; } }
/* A lower bead travels 34.5 units to the beam, the upper bead 11.5. */
@keyframes lumen-up { from { transform: translateY(calc(34.5 * var(--u))); } }
@keyframes lumen-down { from { transform: translateY(calc(-11.5 * var(--u))); } }

@media (prefers-reduced-motion: no-preference) {
  .lumen-light { animation: lumen-light 1.8s ease 2.3s both, lumen-burn 3.6s ease-in-out 4.1s infinite alternate; }
  .lumen-count { animation: lumen-up 0.3s cubic-bezier(0.3, 0, 0.2, 1) both; }
  .lumen-count-a { animation-delay: 4s; }
  .lumen-count-b { animation-name: lumen-down; animation-delay: 4.6s; }
  .lumen-count-c { animation-delay: 5.2s; }
}
