/* FORTEX intro v4 (preview: ?preview=claw4). Luxury/clean. Compositor-only motion: transform + opacity.
   Glows are static gradients (painted once); nothing animates blur, filter or box-shadow.
   Full (load/refresh) ~2.5s: .00-.71 claw lines draw | .60-.94 lines fade | .60-1.60 panther glides in
   | 1.25 eyes ignite + soft bloom (held) | 1.50-2.00 chrome sweep | 2.10-2.50 crossfade to page.
   Short (after an in-site page switch) ~1.5s. */
#fx-c4{position:fixed;inset:0;z-index:2147483000;pointer-events:none;overflow:hidden;contain:strict;
  background:radial-gradient(70% 60% at 50% 48%,#0a1420 0%,#04070b 55%,#000 100%);will-change:opacity}
#fx-c4 .k-box{position:absolute;left:50%;top:50%;width:min(760px,88vw);aspect-ratio:1592/816;translate:-50% -50%}
#fx-c4 .k-glide{position:absolute;inset:0;opacity:0;will-change:transform,opacity;transform:translate3d(0,26px,0) scale(.86)}
#fx-c4 .k-glide img{position:absolute;inset:0;width:100%;height:100%;display:block}
#fx-c4 .k-eye{position:absolute;width:6%;aspect-ratio:1;margin:-3% 0 0 -3%;border-radius:50%;opacity:0;will-change:transform,opacity;transform:scale(.4);
  background:radial-gradient(circle,rgba(235,247,255,1) 0 10%,rgba(46,168,255,.95) 26%,rgba(0,110,255,.35) 50%,transparent 70%)}
#fx-c4 .k-eye.l{left:78.3%;top:46.8%} #fx-c4 .k-eye.r{left:84.1%;top:47.5%;width:4.8%;margin:-2.4% 0 0 -2.4%}
#fx-c4 .k-bloom{position:absolute;left:81%;top:47%;width:34%;aspect-ratio:1;margin:-17% 0 0 -17%;border-radius:50%;opacity:0;will-change:transform,opacity;transform:scale(.6);
  background:radial-gradient(circle,rgba(46,168,255,.42) 0,rgba(0,110,255,.16) 38%,transparent 70%)}
#fx-c4 .k-sweepmask{position:absolute;inset:0;overflow:hidden;
  -webkit-mask:var(--k-img) center/100% 100% no-repeat;mask:var(--k-img) center/100% 100% no-repeat}
#fx-c4 .k-sweep{position:absolute;top:-10%;bottom:-10%;left:0;width:38%;opacity:.0;will-change:transform,opacity;transform:translate3d(-120%,0,0) skewX(-18deg);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.10) 30%,rgba(255,255,255,.75) 50%,rgba(255,255,255,.10) 70%,transparent)}
#fx-c4 svg.k-claws{position:absolute;inset:0;width:100%;height:100%;overflow:visible;will-change:opacity}
#fx-c4 .k-claws path{fill:none;stroke-linecap:round}
#fx-c4 .k-claws .halo{stroke:rgba(46,168,255,.28);stroke-width:10}
#fx-c4 .k-claws .core{stroke:url(#k-grad);stroke-width:3.2}

/* full */
#fx-c4.full .k-claws path{animation:k-draw .55s cubic-bezier(.65,0,.35,1) both}
#fx-c4.full .k-claws .c2{animation-delay:.08s} #fx-c4.full .k-claws .c3{animation-delay:.16s}
#fx-c4.full svg.k-claws{animation:k-fade .34s ease-out .6s both}
#fx-c4.full .k-glide{animation:k-glide 1s cubic-bezier(.16,1,.3,1) .6s both}
#fx-c4.full .k-eye{animation:k-ignite .6s cubic-bezier(.2,.8,.2,1) 1.25s both}
#fx-c4.full .k-bloom{animation:k-bloom 1s ease-out 1.23s both}
#fx-c4.full .k-sweep{animation:k-sweep .5s cubic-bezier(.45,0,.25,1) 1.5s both}
#fx-c4.full{animation:k-out .4s cubic-bezier(.4,0,.2,1) 2.1s both}
/* short (after page switch) */
#fx-c4.short .k-claws{display:none}
#fx-c4.short .k-glide{animation:k-glide .81s cubic-bezier(.16,1,.3,1) both}
#fx-c4.short .k-eye{animation:k-ignite .5s cubic-bezier(.2,.8,.2,1) .48s both}
#fx-c4.short .k-bloom{animation:k-bloom .94s ease-out .48s both}
#fx-c4.short .k-sweep{animation:k-sweep .45s cubic-bezier(.45,0,.25,1) .65s both}
#fx-c4.short{animation:k-out .4s cubic-bezier(.4,0,.2,1) 1.1s both}
/* outgoing cover on link click (~.35s, then navigate) */
#fx-c4.cover{animation:k-in .22s ease-out both}
#fx-c4.cover .k-glide{display:none}
#fx-c4.cover .k-claws path{animation:k-draw .3s cubic-bezier(.65,0,.35,1) both}
#fx-c4.cover .k-claws .c2{animation-delay:.04s} #fx-c4.cover .k-claws .c3{animation-delay:.08s}

@keyframes k-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes k-fade{to{opacity:0}}
@keyframes k-glide{0%{opacity:0;transform:translate3d(0,26px,0) scale(.86)}35%{opacity:1}100%{opacity:1;transform:translate3d(0,0,0) scale(1)}}
@keyframes k-ignite{0%{opacity:0;transform:scale(.4)}55%{opacity:1;transform:scale(1.15)}100%{opacity:.92;transform:scale(1)}}
@keyframes k-bloom{0%{opacity:0;transform:scale(.6)}35%{opacity:1;transform:scale(1)}100%{opacity:.45;transform:scale(1.08)}}
@keyframes k-sweep{0%{opacity:1;transform:translate3d(-120%,0,0) skewX(-18deg)}100%{opacity:1;transform:translate3d(300%,0,0) skewX(-18deg)}}
@keyframes k-out{to{opacity:0;visibility:hidden}}
@keyframes k-in{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){
  #fx-c4 *{animation:none!important}
  #fx-c4 .k-glide{opacity:1;transform:none} #fx-c4 .k-eye{opacity:.9;transform:none} #fx-c4 svg.k-claws{display:none}
  #fx-c4.full,#fx-c4.short{animation:k-out .3s ease-in .3s both!important}
}

/* video intro (default on load): fit the viewport on black, crossfade to the page at the end */
#fx-c4.video{background:#000;transition:opacity .45s cubic-bezier(.4,0,.2,1)}
#fx-c4.video .k-box,#fx-c4.video svg.k-claws{display:none}
#fx-c4 .k-video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#000;display:block}
#fx-c4.video.vout{opacity:0}
