.av-page-wave {
  position: fixed;
  inset: var(--av-header-height, 88px) 0 0;
  z-index: 1000;
  pointer-events: none;
  display: grid;
  place-items: center;
  visibility: hidden;
}
.av-page-wave svg { width: min(72vw, 900px); height: auto; overflow: visible; }
.av-page-wave path { fill: none; stroke: url(#av-loading-spectrum); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linecap: round; }
@media (prefers-reduced-motion: no-preference) {
  .av-page-wave { animation: av-reveal 760ms ease-out both; }
  .av-page-wave path { stroke-dasharray: 1; animation: av-ink 760ms cubic-bezier(.3,.02,.2,1) both; }
  .av-page-wave.is-leaving { animation: av-cover 240ms ease-out both; }
  .av-page-wave.is-leaving path { animation: av-sketch 240ms ease-out both; }
}
@keyframes av-reveal {
  0%, 22% { visibility: visible; background: rgb(250 253 252 / 65%); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px); }
  99% { visibility: visible; }
  100% { visibility: hidden; background: transparent; backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0); }
}
@keyframes av-cover {
  from { visibility: visible; background: transparent; backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0); }
  to { visibility: visible; background: rgb(250 253 252 / 65%); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px); }
}
@keyframes av-ink {
  0% { stroke-dashoffset: .75; opacity: .75; }
  48% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -1; opacity: 0; }
}
@keyframes av-sketch { from { stroke-dashoffset: 1; opacity: 0; } to { stroke-dashoffset: .75; opacity: .75; } }
