/* ==========================================================================
   Sitewide About reveals (v1.10.42, 2026-10-10). The tagging lives in
   motion-kit.js (sitewide()), which only runs when motion is allowed, so
   without JS or with reduced motion every element simply sits finished.
   The timings are About's own (about.css): letters 50ms apart, 550/650ms;
   words 0.2 -> 1 opacity; rise 26px. Transform and opacity only, except the
   arch card's one-time clip.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  /* Headings: letter by letter. The word wrappers keep each word on one piece,
     so lines can only break where they already did. */
  [data-mk-chars] .mk-scw { display: inline-block; white-space: nowrap; }
  [data-mk-chars] .mk-sc {
    display: inline-block;
    opacity: 0;
    transform: translateY(0.4em);
    transition: opacity 550ms cubic-bezier(0.22, 1, 0.36, 1), transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--c) * 50ms + 60ms);
  }
  [data-mk-chars].is-in .mk-sc { opacity: 1; transform: none; }

  /* The paragraph after a heading: word by word (delays are set inline). */
  [data-mk-words] .mk-sw { opacity: 0.2; transition: opacity 500ms ease; }
  [data-mk-words].is-in .mk-sw { opacity: 1; }

  /* Script lines rise. */
  [data-mk-rise] { opacity: 0; transform: translateY(26px); transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1), transform 1000ms cubic-bezier(0.22, 1, 0.36, 1); }
  [data-mk-rise].is-in { opacity: 1; transform: none; }

  /* The first photo card waits in its arch until it opens (motion-kit.js runs the 900ms open). */
  .mk-arch { clip-path: inset(12% round 140px 140px 20px 20px); }
}
