/* The IVY BookHouse: per-book "wow" layer (scenes from _build/scenes.py, driven by assets/js/wow.js).
   Only transform / opacity are animated. Static (reduced-motion / no-JS) state = the finished picture. */

/* ---------- layers inside every themed hero / spotlight ---------- */
.wow-fx{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0;display:block}
.wow-ov{position:absolute;inset:0;pointer-events:none;z-index:0;overflow:hidden}
.cross-layer{z-index:0}
.stage{position:relative;z-index:0;pointer-events:none;width:100%;margin:26px auto 0;aspect-ratio:400/240;color:var(--tm-ink,#333)}
.spotlight.tm.dark .stage{color:#fff}
.stage svg{display:block;width:100%;height:100%;overflow:hidden}
.home-spot .stage{display:none}
@media (max-width:860px){
  .stage{margin-top:18px}
  .cross-layer .cross:nth-child(n+3){display:none}
}

/* ---------- 3D cover: spine-open intro, float, ambient sway (wow.js drifts --px/--py on a timer, never from the pointer) ---------- */
.wow.book-hero .book-cover-col{perspective:1400px}
.wow.book-hero .book-cover-col .tilt-wrap{position:relative;transform-origin:0 50%;transform-style:preserve-3d;
  transform:rotateY(calc(var(--px,0) * 9deg)) rotateX(calc(var(--py,0) * -7deg)) translate3d(calc(var(--px,0) * 10px),calc(var(--py,0) * 8px),0);transition:transform .2s linear}
.wow.book-hero .book-cover-col .tilt-wrap::before{content:"";position:absolute;z-index:-1;top:7px;bottom:7px;left:12px;right:-9px;border-radius:4px 12px 12px 4px;
  background:repeating-linear-gradient(90deg,#fffdf7 0 2px,#e9e2d3 2px 3px);box-shadow:0 14px 28px rgba(40,30,20,.22);transform:translateZ(-14px)}
html.js .wow.book-hero .book-cover-col .tilt-wrap{animation:spineOpen 1.35s cubic-bezier(.2,.85,.25,1) .1s backwards}
html.js .wow.book-hero .book-cover-col .cover-btn{animation:coverFloat 6s ease-in-out 1.6s infinite alternate}
@keyframes spineOpen{0%{rotate:y -86deg;opacity:0;scale:.9}55%{opacity:1}100%{rotate:y 0deg;scale:1}}
@keyframes coverFloat{from{translate:0 0}to{translate:0 -10px}}
.wow.book-hero .cover-btn::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:linear-gradient(115deg,transparent 35%,rgba(255,255,255,.55) 48%,transparent 60%);background-size:250% 100%;background-position:120% 0;opacity:0}
html.js .wow.book-hero .cover-btn::after{animation:coverShine 1.4s ease-out 1.4s 1}
@keyframes coverShine{0%{opacity:1;background-position:120% 0}100%{opacity:1;background-position:-30% 0}}

/* ---------- title: letters fall in one by one, then a slow ripple wave runs through them ---------- */
html.js .wow.book-hero h1 .w{animation:none;opacity:1}
.wow.book-hero h1 .ch{display:inline-block}
html.js .wow.book-hero h1 .ch{animation:chIn .75s cubic-bezier(.3,1.6,.5,1) calc(.45s + var(--j) * .035s) both,chWig .7s ease-in-out calc(4s + var(--j) * .07s) 1}
@keyframes chIn{0%{opacity:0;translate:0 .7em;rotate:-14deg;scale:.5}60%{opacity:1}100%{opacity:1;translate:0 0;rotate:0deg;scale:1}}
@keyframes chWig{0%,100%{rotate:0deg;translate:0 0}30%{rotate:-12deg;translate:0 -.18em}65%{rotate:9deg}}
.tick{display:inline-block;text-align:right;font-variant-numeric:tabular-nums}

/* ---------- crossers (fish, birds, butterflies, clouds, balloons…) ---------- */
.cross{position:absolute;left:0;top:var(--y,4%);width:var(--s);height:var(--s);will-change:transform}
.cross i{display:block;width:100%;height:100%}
.cross svg{width:100%;height:100%;display:block;overflow:visible}
.c-swim,.c-fly,.c-loop,.c-cloud{translate:-14vw 0}
html.js .c-swim,html.js .c-fly,html.js .c-loop,html.js .c-cloud{animation:crossLR var(--t) linear var(--d) infinite}
html.js .c-swimr,html.js .c-flyr,html.js .c-loopr{animation:crossRL var(--t) linear var(--d) infinite}
.c-swimr,.c-flyr,.c-loopr{translate:110vw 0}
.c-swim svg,.c-flyr svg,.c-loopr svg{scale:-1 1}
html.js .c-swim i,html.js .c-swimr i{animation:swimWave 3.2s ease-in-out infinite alternate}
html.js .c-fly i,html.js .c-flyr i{animation:flyArc 5s ease-in-out infinite alternate}
html.js .c-fly svg,html.js .c-flyr svg{animation:flapS .38s ease-in-out infinite alternate}
html.js .c-loop i,html.js .c-loopr i{animation:loopPath 7s ease-in-out infinite}
html.js .c-loop svg,html.js .c-loopr svg{animation:flutter .3s ease-in-out infinite alternate}
.c-cloud{opacity:.85}
.c-float{left:var(--x);top:var(--y);margin-left:calc(var(--s) / -2)}
html.js .c-float{animation:lanternBob var(--t) ease-in-out var(--d) infinite alternate}
.c-float svg{filter:drop-shadow(0 0 10px rgba(255,200,90,.65))}
.c-up{left:var(--x);top:auto;bottom:-70px;margin-left:calc(var(--s) / -2);opacity:0}
html.js .c-up{animation:riseUp var(--t) linear var(--d) infinite}
@keyframes crossLR{from{translate:-14vw 0}to{translate:112vw 0}}
@keyframes crossRL{from{translate:110vw 0}to{translate:-16vw 0}}
@keyframes swimWave{from{translate:0 -6px;rotate:-4deg}to{translate:0 8px;rotate:4deg}}
@keyframes flyArc{from{translate:0 -10px}to{translate:0 26px}}
@keyframes flapS{from{scale:1 1}to{scale:1 .78}}
.c-flyr svg{animation-name:flapR!important}@keyframes flapR{from{scale:-1 1}to{scale:-1 .78}}
.c-loopr svg{animation-name:flutR!important}@keyframes flutR{from{scale:-1 1}to{scale:-.8 1}}
@keyframes flutter{from{scale:1 1}to{scale:.8 1}}
@keyframes loopPath{0%,100%{translate:0 0;rotate:0deg}25%{translate:20px -34px;rotate:14deg}50%{translate:0 -58px;rotate:-8deg}75%{translate:-22px -24px;rotate:-14deg}}
@keyframes lanternBob{from{translate:0 0;rotate:-5deg}to{translate:0 -16px;rotate:5deg}}
@keyframes riseUp{0%{translate:0 0;opacity:0}6%{opacity:.95}50%{translate:22px calc(var(--wh,1100px) * -.5)}90%{opacity:.9}100%{translate:-10px calc(var(--wh,1100px) * -1 - 80px);opacity:0}}

/* ---------- overlays ---------- */
.ov-rays i{position:absolute;top:-12%;height:95%;width:9%;left:calc(8% + var(--k,0) * 21%);rotate:16deg;transform-origin:50% 0;
  background:linear-gradient(180deg,rgba(255,255,255,.55),rgba(255,255,255,0) 85%);filter:blur(5px);opacity:.25}
.ov-rays i:nth-child(1){--k:0}.ov-rays i:nth-child(2){--k:1;width:6%}.ov-rays i:nth-child(3){--k:2.6;width:11%}.ov-rays i:nth-child(4){--k:3.6;width:5%}
html.js .ov-rays i{animation:rayShim 6s ease-in-out infinite alternate}
.ov-rays i:nth-child(2){animation-delay:-2s!important}.ov-rays i:nth-child(3){animation-delay:-4s!important}.ov-rays i:nth-child(4){animation-delay:-1s!important}
@keyframes rayShim{from{opacity:.12;translate:-14px 0;scale:.95 1}to{opacity:.42;translate:16px 0;scale:1.08 1}}
.ov-glow::before,.ov-breath::before,.ov-aurora::before{content:"";position:absolute;pointer-events:none}
.ov-glow::before{width:70vmax;height:70vmax;left:-14vmax;top:-20vmax;background:radial-gradient(circle,rgba(255,206,110,.42),rgba(255,206,110,0) 62%);opacity:.6}
html.js .ov-glow::before{animation:glowPulse 3.6s ease-in-out infinite alternate}
@keyframes glowPulse{from{opacity:.35;scale:.94}to{opacity:.9;scale:1.06}}
.ov-breath::before{width:min(90vw,900px);aspect-ratio:1;left:50%;top:44%;margin:calc(min(90vw,900px) / -2) 0 0 calc(min(90vw,900px) / -2);
  background:radial-gradient(circle,rgba(255,255,255,.6),rgba(255,236,214,.25) 40%,rgba(255,255,255,0) 66%)}
html.js .ov-breath::before{animation:breathe 8s ease-in-out infinite}
@keyframes breathe{0%,100%{scale:.8;opacity:.55}50%{scale:1.08;opacity:1}}
.ov-aurora::before{inset:-20% -40% 55% -40%;background:linear-gradient(100deg,transparent 10%,rgba(140,220,190,.28) 30%,rgba(190,160,255,.22) 50%,rgba(255,200,200,.18) 68%,transparent 85%);filter:blur(18px)}
html.js .ov-aurora::before{animation:aurora 14s ease-in-out infinite alternate}
@keyframes aurora{from{translate:-12% 0;rotate:-3deg}to{translate:12% 4%;rotate:3deg}}
.ov-seasons i{position:absolute;inset:0;opacity:0;transition:opacity 1.6s ease}
.ov-seasons i:nth-child(1){background:radial-gradient(circle at 20% 20%,rgba(248,187,208,.55),transparent 60%)}
.ov-seasons i:nth-child(2){background:radial-gradient(circle at 80% 10%,rgba(255,214,90,.5),transparent 60%)}
.ov-seasons i:nth-child(3){background:linear-gradient(180deg,rgba(120,160,200,.35),transparent 70%)}
.ov-seasons i:nth-child(4){background:radial-gradient(circle at 30% 30%,rgba(232,145,58,.42),transparent 62%)}
.ov-seasons i:nth-child(5){background:linear-gradient(180deg,rgba(225,238,250,.6),transparent 75%)}
.wow[data-season="0"] .ov-seasons i:nth-child(1),.wow[data-season="1"] .ov-seasons i:nth-child(2),.wow[data-season="2"] .ov-seasons i:nth-child(3),
.wow[data-season="3"] .ov-seasons i:nth-child(4),.wow[data-season="4"] .ov-seasons i:nth-child(5){opacity:1}
.wow:not([data-season]) .ov-seasons i:nth-child(2){opacity:1}

/* ---------- stage element animations (SVG) ---------- */
.stage .s-sway,.stage .s-spin,.stage .s-pulse,.stage .s-breath,.stage .s-flap,.stage .s-tail,.stage .s-shadow,.stage .s-ripple,.stage .s-smoke,.stage .s-flag,.stage .s-dangle,.stage .lid,.stage .s-tw,.stage .s-flick,.stage .s-rise,.stage .s-steam{transform-box:fill-box}
.stage .s-sway,.stage .s-flick{transform-origin:50% 100%}
.stage .s-dangle{transform-origin:50% 0}
.stage .s-spin,.stage .s-pulse,.stage .s-breath,.stage .s-shadow,.stage .s-ripple,.stage .s-smoke,.stage .s-tw{transform-origin:50% 50%}
.stage .s-flap{transform-origin:50% 100%}
.stage .s-tail{transform-origin:0 100%}
.stage .s-flag{transform-origin:0 50%}
.stage .lid{transform-origin:0 100%}
.stage .s-draw{stroke-dasharray:1 1}
html.js .stage .s-draw{animation:sDraw 3.4s cubic-bezier(.4,.1,.3,1) calc(var(--d,0s) + .5s) both}
@keyframes sDraw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
html.js .stage .s-bob{animation:sBob 3.2s ease-in-out var(--d,0s) infinite alternate}
html.js .stage .s-sway{animation:sSway 3.6s ease-in-out var(--d,0s) infinite alternate}
html.js .stage .s-dangle{animation:sSway 2.4s ease-in-out var(--d,0s) infinite alternate}
html.js .stage .s-swing{animation:sSwing 3s ease-in-out var(--d,0s) infinite alternate}
html.js .stage .s-flick{animation:sFlick .8s ease-in-out var(--d,0s) infinite alternate}
html.js .stage .s-glow{animation:sGlow 2.2s ease-in-out var(--d,0s) infinite alternate}
html.js .stage .s-tw{animation:sTw 2.4s ease-in-out var(--d,0s) infinite}
html.js .stage .s-spin{animation:sSpin 8s linear var(--d,0s) infinite}
html.js .stage .s-spin.s-slow{animation-duration:50s}
html.js .stage .s-spin.s-rev{animation-duration:32s;animation-direction:reverse}
html.js .stage .s-pop{animation:sPop 2.8s ease-in-out var(--d,0s) infinite alternate}
html.js .stage .s-pulse{animation:sPulse 1.8s ease-in-out var(--d,0s) infinite alternate}
html.js .stage .s-hand{animation:sSpin 6s linear infinite}
html.js .stage .s-hand2{animation:sSpin 72s linear infinite}
html.js .stage .s-blink{animation:sBlink 4.2s ease-in-out var(--d,0s) infinite}
html.js .stage .s-side{animation:sSide 2.6s ease-in-out var(--d,0s) infinite alternate}
html.js .stage .s-stomp{animation:sStomp 1.3s cubic-bezier(.5,0,.6,1) infinite}
html.js .stage .s-shake{animation:sShake 1.3s linear infinite}
html.js .stage .s-smoke{animation:sSmoke 3.6s ease-out var(--d,0s) infinite}
html.js .stage .s-peek{animation:sPeek 6s cubic-bezier(.4,1.4,.5,1) var(--d,0s) infinite}
html.js .stage .s-squash{animation:sSquash 1.15s ease-in-out var(--d,0s) infinite}
html.js .stage .s-shadow{animation:sShadow 1.15s ease-in-out var(--d,0s) infinite}
html.js .stage .s-flap{animation:sFlap .34s ease-in-out var(--d,0s) infinite alternate}
html.js .stage .s-fan{animation:sFan 7s cubic-bezier(.4,1.3,.5,1) var(--d,0s) infinite}
html.js .stage .s-drive{animation:sDrive 11s linear infinite}
html.js .stage .s-kite{animation:sKite 3.4s ease-in-out infinite alternate}
html.js .stage .s-boatdrift{animation:sBoat 10s ease-in-out infinite alternate}
html.js .stage .s-wave{animation:sWave 3s linear var(--d,0s) infinite}
html.js .stage .s-wave2{animation:sWaveR 4.2s linear infinite}
html.js .stage .s-rise{animation:sRise 4.5s ease-out var(--d,0s) infinite}
html.js .stage .s-drift{animation:sDrift 11s ease-in-out var(--d,0s) infinite alternate}
html.js .stage .s-float{animation:sFloat 5s ease-in-out var(--d,0s) infinite alternate}
html.js .stage .s-bloom{animation:sBloom 6.5s cubic-bezier(.4,1.4,.5,1) var(--d,0s) infinite}
html.js .stage .s-buzz{animation:sBuzz 9s ease-in-out infinite}
html.js .stage .s-fly8{animation:sFly8 9s ease-in-out infinite}
html.js .stage .s-flag{animation:sFlag .7s ease-in-out var(--d,0s) infinite alternate}
html.js .stage .s-glide{animation:sGlide 14s ease-in-out infinite alternate}
html.js .stage .s-tail{animation:sTail 1.6s ease-in-out var(--d,0s) infinite alternate}
html.js .stage .s-open{animation:sOpen 4.5s ease-in-out var(--d,0s) infinite alternate}
html.js .stage .s-ripple{animation:sRipple 4s ease-out var(--d,0s) infinite}
html.js .stage .s-rain{animation:sRain 1.1s linear var(--d,0s) infinite}
html.js .stage .s-steam{animation:sSteam 2.8s ease-out var(--d,0s) infinite}
html.js .stage .s-breath{animation:sBreath 8s ease-in-out infinite}
html.js .stage .s-say1{animation:sSay1 8s linear infinite}
html.js .stage .s-say2{animation:sSay2 8s linear infinite}
html.js .stage .s-rock{animation:sRock 3.2s ease-in-out infinite alternate}
.stage .s-say2{opacity:0}
@keyframes sBob{from{translate:0 0}to{translate:0 -8px}}
@keyframes sSway{from{rotate:-5deg}to{rotate:5deg}}
@keyframes sSwing{from{rotate:-8deg}to{rotate:8deg}}
@keyframes sFlick{0%{scale:1 1;opacity:1}50%{scale:.88 1.14}100%{scale:1.06 .9;opacity:.82}}
@keyframes sGlow{from{opacity:.45}to{opacity:1}}
@keyframes sTw{0%,100%{opacity:.3;scale:.6}50%{opacity:1;scale:1.12}}
@keyframes sSpin{to{rotate:360deg}}
@keyframes sPop{from{scale:.86}to{scale:1.08}}
@keyframes sPulse{from{scale:1}to{scale:1.1}}
@keyframes sBlink{0%,88%,100%{scale:1 1}93%{scale:1 .08}}
@keyframes sSide{from{translate:0 0}to{translate:44px 0}}
@keyframes sStomp{0%,100%{translate:0 0}38%{translate:0 -12px}50%{translate:0 2px}58%{translate:0 0}}
@keyframes sShake{0%,48%,64%,100%{translate:0 0}52%{translate:2.5px 1.5px}56%{translate:-2.5px -1px}60%{translate:1.5px 0}}
@keyframes sSmoke{0%{translate:0 0;scale:.5;opacity:0}20%{opacity:.9}100%{translate:12px -54px;scale:1.7;opacity:0}}
@keyframes sPeek{0%,100%{translate:0 44px}14%,68%{translate:0 0}80%{translate:0 44px}}
@keyframes sSquash{0%,100%{translate:0 0;scale:1.14 .84}28%{translate:0 -36px;scale:.9 1.12}50%{translate:0 -46px;scale:1 1}72%{translate:0 -36px;scale:.92 1.08}}
@keyframes sShadow{0%,100%{scale:1.1 1;opacity:.95}50%{scale:.55 1;opacity:.35}}
@keyframes sFlap{from{scale:1 1}to{scale:1 .3}}
@keyframes sFan{0%,12%{scale:.12}40%,82%{scale:1}100%{scale:.12}}
@keyframes sDrive{from{translate:-110px 0}to{translate:420px 0}}
@keyframes sKite{from{rotate:-12deg;translate:-8px 4px}to{rotate:12deg;translate:8px -8px}}
@keyframes sBoat{from{translate:-34px 0}to{translate:70px 0}}
@keyframes sWave{from{translate:0 0}to{translate:80px 0}}
@keyframes sWaveR{from{translate:0 0}to{translate:-80px 0}}
@keyframes sRise{0%{translate:0 20px;opacity:0;scale:.6}25%{opacity:1;scale:1}100%{translate:0 -80px;opacity:0;scale:1.1}}
@keyframes sDrift{from{translate:-24px 0}to{translate:34px 0}}
@keyframes sFloat{from{translate:0 0}to{translate:10px -14px}}
@keyframes sBloom{0%{scale:.15;rotate:-50deg}22%,82%{scale:1;rotate:0deg}100%{scale:.15;rotate:-50deg}}
@keyframes sBuzz{0%,100%{translate:0 0}20%{translate:110px 34px}40%{translate:60px 90px}60%{translate:-90px 60px}80%{translate:-60px 10px}}
@keyframes sFly8{0%,100%{translate:0 0}25%{translate:-70px -30px}50%{translate:-140px 6px}75%{translate:-70px 34px}}
@keyframes sFlag{from{scale:1 1}to{scale:.78 1.12}}
@keyframes sGlide{from{translate:0 0}to{translate:250px 0}}
@keyframes sTail{from{rotate:-10deg}to{rotate:12deg}}
@keyframes sOpen{from{rotate:calc(var(--a) * -2.4)}to{rotate:0deg}}
@keyframes sRipple{0%{scale:.3;opacity:.95}100%{scale:1.7;opacity:0}}
@keyframes sRain{0%{translate:0 -6px;opacity:0}20%{opacity:1}100%{translate:-6px 44px;opacity:0}}
@keyframes sSteam{0%{translate:0 6px;opacity:0;scale:.8}30%{opacity:.85}100%{translate:0 -30px;opacity:0;scale:1.2}}
@keyframes sBreath{0%,100%{scale:.86;opacity:.7}50%{scale:1.08;opacity:1}}
@keyframes sSay1{0%,44%{opacity:1}50%,94%{opacity:0}100%{opacity:1}}
@keyframes sSay2{0%,44%{opacity:0}50%,94%{opacity:1}100%{opacity:0}}
@keyframes sRock{from{rotate:-6deg}to{rotate:6deg}}

/* JS sequencers: paws / footprints / jars / shop lights / house build / seasons */
.seq-on>.sq{opacity:0;transition:opacity .45s ease,translate .5s cubic-bezier(.3,1.6,.5,1)}
.seq-on>.sq.bld{translate:0 -26px}
.seq-on>.sq.on{opacity:1;translate:0 0}
.seq-on>.sq.jar{opacity:1;translate:none}
html.js .sq.jar.on .lid{animation:lidPop .9s cubic-bezier(.3,1.5,.5,1)}
@keyframes lidPop{0%{translate:0 0;rotate:0deg}35%{translate:6px -26px;rotate:-28deg}100%{translate:0 0;rotate:0deg}}
.seq-one>.sq{opacity:0;transition:opacity 1.2s ease}
.seq-one>.sq.on{opacity:1}

/* sparse parallax motifs at the edges of later sections */
.flip-section,.related,.colour-sec{position:relative}
.flip-section>.wrap,.related>.wrap,.colour-sec>.wrap{position:relative;z-index:1}
.motifs.par{opacity:.55}
.motifs.par .mo{opacity:.75}
@media (max-width:860px){.motifs.par{display:none}}
.colour-sec .colorin{max-width:420px;margin:0 auto}

/* ---------- catalogue + home cards: resting tilt, ambient shine sweep, motif bursts on scroll-in (wow.js) ---------- */
.sc-cover{overflow:hidden;perspective:800px}
.sc-cover img{transform:rotate(-1.5deg)}
html.js .sc-cover img{animation:cardSway 7s ease-in-out var(--sd,0s) infinite alternate}
@keyframes cardSway{from{rotate:-1deg;translate:0 0}to{rotate:1deg;translate:0 -4px}}
.sc-cover::after,.book-card .tilt-wrap::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:3;
  background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.6) 47%,rgba(255,255,255,0) 60%);translate:-110% 0;opacity:0}
html.js .sc-cover::after,html.js .book-card .tilt-wrap::after{animation:shineLoop 9s ease-out calc(var(--d,0s) + 1.2s) infinite}
@keyframes shineLoop{0%{translate:-110% 0;opacity:1}12%{translate:110% 0;opacity:1}12.1%,100%{translate:110% 0;opacity:0}}
@keyframes shine{0%{translate:-110% 0;opacity:1}100%{translate:110% 0;opacity:1}}
.mburst{position:absolute;left:0;top:0;width:30px;height:30px;margin:-15px 0 0 -15px;pointer-events:none;z-index:4}
.mburst svg{width:100%;height:100%;display:block;overflow:visible}
.mburst .a{fill:var(--m1)}.mburst .b{fill:var(--m2)}.mburst .c{fill:var(--m3)}.mburst .d{fill:var(--m4)}.mburst .w{fill:#fff}.mburst .k{fill:#3a2e2a}
.buy-pop{position:fixed;left:0;top:0;width:12px;height:12px;margin:-6px 0 0 -6px;box-shadow:0 1px 2px rgba(0,0,0,.18);border-radius:2px;pointer-events:none;z-index:300}
.trail-cv{position:fixed;inset:0;width:100vw;height:100vh;pointer-events:none;z-index:198}

/* ---------- reduced motion: finished picture, nothing moving ---------- */
/* batch 4 stages: rocket launch, cricket shot, traffic lights, falling blossom (self-running, static under reduced motion) */
.stage .s-launch,.stage .s-arc,.stage .s-bails,.stage .s-fall,.stage .s-lamp{transform-box:fill-box;transform-origin:center}
html.js .stage .s-launch{animation:sLaunch 7s cubic-bezier(.5,0,.8,.4) var(--d,0s) infinite}
html.js .stage .s-arc{animation:sArc 3.2s linear var(--d,0s) infinite}
html.js .stage .s-bat{animation:sBat 3.2s ease-in-out var(--d,0s) infinite}
html.js .stage .s-bails{animation:sBails 3.2s ease-out var(--d,0s) infinite}
html.js .stage .s-lamp{animation:sLamp 6s steps(1) var(--d,0s) infinite}
html.js .stage .s-fall{animation:sFall 6.5s linear var(--d,0s) infinite}
@keyframes sLaunch{0%,30%{translate:0 0}31%{translate:-1px 0}33%{translate:1px 0}35%{translate:0 0}80%{translate:0 -260px;opacity:1}81%{opacity:0}82%{translate:0 40px;opacity:0}100%{translate:0 0;opacity:1}}
@keyframes sArc{0%,18%{translate:0 0;opacity:0}20%{opacity:1}45%{translate:90px -110px}70%{translate:180px -40px;rotate:540deg;opacity:1}78%{translate:205px -10px;opacity:0}100%{opacity:0}}
@keyframes sBat{0%,10%{rotate:-50deg}20%{rotate:30deg}32%,100%{rotate:-50deg}}
@keyframes sBails{0%,70%{translate:0 0;rotate:0deg}78%{translate:6px -18px;rotate:40deg}86%,92%{translate:10px -4px;rotate:70deg}100%{translate:0 0;rotate:0deg}}
@keyframes sLamp{0%{opacity:1}33.3%,100%{opacity:.18}}
@keyframes sFall{0%{translate:0 0;rotate:0deg;opacity:0}10%{opacity:1}90%{opacity:1}100%{translate:40px 180px;rotate:320deg;opacity:0}}
@media (prefers-reduced-motion:reduce){
  .wow-fx,.cross-layer,.trail-cv,.mburst,.buy-pop{display:none!important}
  .wow.book-hero .book-cover-col .tilt-wrap{transform:none!important}
  .stage *,.wow-ov,.wow-ov *,.wow-ov::before{animation:none!important}
  .stage .s-draw{stroke-dashoffset:0!important}
  .stage .s-say2{opacity:0!important}
  .seq-on>.sq{opacity:1!important;translate:none!important}
  .sc-cover::after,.book-card .tilt-wrap::after{display:none}
  .sc-cover img,.wow.book-hero h1 .ch{animation:none!important}
}
