/* Cross-document enhancement; ordinary links remain the fallback. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: ec-page-out .42s cubic-bezier(.65,0,.35,1) both; }
::view-transition-new(root) { animation: ec-page-in .6s cubic-bezier(.165,.84,.44,1) both; }
@keyframes ec-page-out { to { opacity: .3; transform: translateX(-2%); } }
@keyframes ec-page-in { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
