/* Light/dark theme switch — 1.25s cross-fade via the View Transitions API.
   Kept outside the Tailwind/PostCSS pipeline so ::view-transition-* rules
   are not stripped. ModeToggle flips the theme class inside
   document.startViewTransition; browsers without the API (and
   reduced-motion users) switch instantly. */
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 1.25s;
}
