/* Page transitions (Midnight Blue): a short cross-fade with a small rise; the header and the sidebar stay in place. Off under reduced motion, and not loaded on legal documents. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .pub-head { view-transition-name: site-head; }
  .sidebar { view-transition-name: app-sidebar; }
  ::view-transition-old(root) { animation: vt-out 140ms var(--ease-out) both; }
  ::view-transition-new(root) { animation: vt-in 260ms var(--ease-out) both; }
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }
