/* Overview ⇄ project: a cross-document crossfade (HUB-13).

   Linked ONLY from index.html and project.html. A cross-document View Transition
   runs only when BOTH documents opt in, so these two pages crossfade into each
   other and every other navigation in the app stays an ordinary page load.

   Not a shared-element morph from the card into the project header: project.html
   renders its content only after the sign-in gate and the data load, so at the
   moment the browser takes the new snapshot there is no header to morph into —
   only the page shell. A morph would need the header rendered before the gate.

   Chrome / Edge 126+ and Safari 18.2+ run it; other browsers ignore the rule and
   navigate exactly as before. Off under prefers-reduced-motion. The root
   crossfade duration comes from style.css (::view-transition-*(root), .26s). */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
