/* Idea 6 — page changes as a warp jump (Chromium's cross-document view transitions): the page being left rushes
   past into light, and the next page emerges from depth through an arch-shaped window.
   Linked on every page. main.js turns this stylesheet off when site motion is off, so navigation stays plain.
   Kept short (2026-11-01): about a fifth of a second out and under half a second in, with light blur, so a click
   on the header feels immediate. */
@view-transition {
  navigation: auto;
}

::view-transition {
  background: #030506;
}

::view-transition-old(root) {
  animation: pt-warp-out 220ms cubic-bezier(.55, 0, .75, .3) both;
}

::view-transition-new(root) {
  animation:
    pt-arch 460ms cubic-bezier(.22, .61, .36, 1) both,
    pt-emerge 460ms cubic-bezier(.22, .61, .36, 1) both;
}

@keyframes pt-warp-out {
  0% { opacity: 1; transform: none; filter: none; }
  60% { opacity: .9; filter: blur(2px) brightness(1.6) saturate(1.3); }
  100% { opacity: 0; transform: scale(1.14); filter: blur(5px) brightness(2.1) saturate(1.5); }
}

@keyframes pt-arch {
  from { clip-path: inset(44% 38% 0 38% round 999px 999px 0 0); }
  to { clip-path: inset(0 0 0 0 round 0); }
}

@keyframes pt-emerge {
  from { transform: scale(.94); filter: brightness(1.7) blur(3px); }
  60% { filter: brightness(1.1) blur(0); }
  to { transform: none; filter: none; }
}
