/* Page-to-page cross-fade (cross-document View Transitions; Steps 36, 38).
   Linked in the <head> of every page: the opt-in must be in place before the new page's first frame,
   otherwise the browser aborts the cross-fade ("ViewTransition opt-in disabled"). From preloader.css,
   which loads further down the page, it was sometimes too late.
   Browsers without View Transitions change pages as before. Off with "reduce motion" (below) and with the
   accessibility widget's "Stop animations" and on Back / Forward (assets/components/preloader/preloader.js). */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: .3s; animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}
