/* =====================================================================
   AiQbiT — shared site styles (linked by every page)
   Page-to-page transitions are drawn by the browser itself
   (CSS View Transitions): nothing covers the page, so nothing can
   ever stay stuck — the back button always works.
   Chrome / Edge 126+, Safari 18.2+. Other browsers: instant navigation.
   ===================================================================== */

@view-transition { navigation: auto; }

/* Outgoing page: brief cyan flare, blur and shrink */
::view-transition-old(root) {
  animation: aq-vt-out .26s cubic-bezier(.4, 0, 1, 1) both;
}
/* Incoming page: resolves out of the glow */
::view-transition-new(root) {
  animation: aq-vt-in .44s cubic-bezier(0, 0, .2, 1) both;
}
html::view-transition {
  background: #010305;
}

@keyframes aq-vt-out {
  to { opacity: 0; transform: scale(.985); filter: blur(6px) brightness(1.35) saturate(1.3); }
}
@keyframes aq-vt-in {
  from { opacity: 0; transform: scale(1.012); filter: blur(8px) brightness(1.5) hue-rotate(-12deg); }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}
