/* PagePop WOW core (M1). Scoped under html.wow; anything that moves sits in prefers-reduced-motion:no-preference. */

/* progress line under the header */
html.wow .wow-prog{position:absolute;inset-inline:0;bottom:-1px;height:2px;pointer-events:none;
 background:linear-gradient(270deg,#BFAEF4,#9C86F0 45%,#7B2FFF);transform-origin:100% 50%;
 transform:scaleX(var(--p,0));box-shadow:0 0 12px rgba(123,47,255,.55)}
/* reduced motion: the line stays static, so it is not shown at all */
html.wow-rm .wow-prog{display:none}
@keyframes wow-prog{from{transform:scaleX(0)}to{transform:scaleX(1)}}

/* kinetic h2 lines (static by default) */
html.wow h2.wow-k .wl{display:block;position:relative}
/* the inner span hugs its words (inline-block keeps the h2 text-align) */
html.wow h2.wow-k .wl>span{display:inline-block;max-width:100%;vertical-align:top;position:relative}

/* one decorative layer per section: light pool plus backdrop word */
html.wow .wow-fx{position:absolute;inset:0;overflow:clip;pointer-events:none;z-index:-1}
html.wow .wow-fx::before{content:"";position:absolute;inset:0;opacity:0;transition:opacity .9s ease;
 background:radial-gradient(70% 62% at 60% 0%,var(--wow-pool),transparent 72%)}
html.wow .wow-violet{--wow-pool:rgba(123,47,255,.18)}
html.wow .wow-blue{--wow-pool:rgba(67,97,238,.18)}
html.wow .wow-mint{--wow-pool:rgba(16,185,129,.12)}
html.wow .wow-lit>.wow-fx::before,html.wow-rm .wow-fx::before{opacity:1}
html.wow-rm .wow-fx::before{transition:none}

html.wow .wow-bgw{position:absolute;top:3%;inset-inline-start:-1vw;white-space:nowrap;user-select:none;
 font:800 clamp(90px,26vw,360px)/1 Rubik,sans-serif;letter-spacing:-.02em;
 color:transparent;-webkit-text-stroke:1px rgba(191,174,244,.10)}
@media (max-width:860px){html.wow .wow-bgw{display:none}}
html.wow-lite .wow-bgw{display:none}

@media (prefers-reduced-motion:no-preference){
 @supports (animation-timeline: scroll(root)){
  html.wow:not(.wow-rm) .wow-prog{animation:wow-prog linear both;animation-timeline:scroll(root)}
 }

 /* the h2 keeps its fade; the rise now comes from the lines */
 html.wow:not(.wow-rm) h2.wow-k.rv{transform:none}
 html.wow:not(.wow-rm) h2.wow-k .wl{overflow:clip;padding-block:.09em;margin-block:-.09em}
 html.wow:not(.wow-rm) h2.wow-k .wl>span{transform:translate3d(0,105%,0);
  transition:transform .7s cubic-bezier(.2,.7,.2,1) calc(var(--i,0)*90ms + 60ms)}
 html.wow:not(.wow-rm) h2.wow-k.in .wl>span,html.wow:not(.wow-rm) h2.wow-k.on .wl>span{transform:none}

 /* one light streak through the gradient words, 200ms after their line lands.
    The band is an extra background layer on .grad/.lil itself (JS copies the page's own gradient into --wow-gbg
    and marks the element .wow-gs), so background-clip:text keeps the light on the glyphs and nothing shows beside them. */
 html.wow:not(.wow-rm):not(.wow-lite) h2.wow-k .wl-g .wow-gs{
  background-image:linear-gradient(90deg,rgba(255,255,255,0) 42%,rgba(255,250,255,.7) 50%,rgba(255,255,255,0) 58%),var(--wow-gbg);
  background-size:220% 100%,100% 100%;background-repeat:no-repeat;background-position:-20% 0,0 0}
 html.wow:not(.wow-rm):not(.wow-lite) h2.wow-k.in .wl-g .wow-gs,
 html.wow:not(.wow-rm):not(.wow-lite) h2.wow-k.on .wl-g .wow-gs{animation:wow-streak .9s cubic-bezier(.45,.05,.3,1) calc(var(--i,0)*90ms + 960ms) both}

 @supports (animation-timeline: view()){
  html.wow:not(.wow-rm) .wow-bgw{animation:wow-bgw linear both;animation-timeline:view();animation-range:cover}
 }
}
@keyframes wow-streak{from{background-position:-20% 0,0 0}to{background-position:120% 0,0 0}}
@keyframes wow-bgw{from{transform:translate3d(0,12%,0)}to{transform:translate3d(0,-12%,0)}}
/* 08.11.2026: decorative layers (bg word, spot, beam) must never widen the page; clip, unlike hidden, also blocks anchor jumps from scrolling sideways */
html.wow .sec,html.wow #top,html.wow footer{overflow-x:clip}
