@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }

  /* Keep the destination opaque as the previous page fades away. */
  ::view-transition-old(root) { z-index: 1; mix-blend-mode: normal; animation: site-fade 380ms cubic-bezier(.22, 1, .36, 1) both; }
  ::view-transition-new(root) { mix-blend-mode: normal; animation: none; }
}

@keyframes site-fade { to { opacity: 0; } }
