/* PoC 7.8 · pages/discover.css · from poc76b.html lines 60–143 */
/* page 0 · Discover FlowiTech: the whole world from far above, the portal small in the distance (7.3) */
#sc0 .wwk{position:absolute;inset:0;transform-origin:50.05% 50.6%;animation:wkb 48s ease-in-out infinite alternate}
#sc0 .wwk>img,#sc0 .wwk>canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
/* 7.7: the slow breath only scales around the doorway, so the portal never drifts off the dive line */
@keyframes wkb{to{transform:scale(1.035)}}
/* 7.4 · five painted depths: sky, haze, islands, portal island, foreground clouds; each leans with the pointer by its own factor and dives at its own speed on the scroll camera */
/* 7.7 · the dive flies straight at the doorway: every depth scales around the doorway itself, the portal depth (d 20) keeps its size so the gate painting grows out of it exactly,
   farther depths fall behind and nearer ones rush past; the pointer lean fades out as the dive starts */
#sc0 .wl{position:absolute;inset:0;pointer-events:none;will-change:transform;transform-origin:50.05% 50.6%;transform:translate(calc(var(--mx,0) * var(--d,10) * -1px * (1 - var(--dv,0)) * var(--edge,1)),calc(var(--my,0) * var(--d,10) * -.5px * (1 - var(--dv,0)) * var(--edge,1))) scale(calc(var(--ls,1) * 1.06 * (1 + var(--dv,0) * (var(--d,10) - 20) * .012)))}
#sc0 .wl img{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover}
/* 7.7: the doorway of the portal island is centred on DW (50.05% 50.6%), under the beam, the glow and the gate light */
#sc0 .wl3 img{inset:auto;left:28.37%;top:40.27%;width:44%;height:auto}
#sc0 .wl1 img{filter:blur(1.5px)}
#sc0 .wcld img{animation:cldrift 38s ease-in-out infinite alternate}
@keyframes cldrift{from{transform:translateX(-1.5%)}to{transform:translateX(1.5%)}}
#sc0 .dstars{opacity:var(--sa,1);animation:twink 7s ease-in-out infinite alternate}
#sc0 .wwk.travel .wl{transition:transform .9s cubic-bezier(.4,0,.2,1);transform-origin:var(--tox,50%) var(--toy,50%)}
#sc0 .wwk.travel{--ls:1.22}
#sc0 .wgrey{position:absolute;inset:-5%;pointer-events:none;background:#8a8a96;mix-blend-mode:saturation;opacity:var(--dg,0)}
#sc0 .wveil{position:absolute;inset:-5%;pointer-events:none;background:#04030f;opacity:var(--ov,0);z-index:3}
#sc0 .wwk.op{-webkit-mask-image:radial-gradient(circle at 50.05% 50.6%,#000 calc(var(--rv,0%) - 12%),transparent var(--rv,0%));mask-image:radial-gradient(circle at 50.05% 50.6%,#000 calc(var(--rv,0%) - 12%),transparent var(--rv,0%))}
#sc0 .wwk.op .wbeam{transform-origin:50% 100%;transform:scaleY(var(--bm,1))}
body.dsc-op .copy,body.dsc-op .rail,body.dsc-op .label,body.dsc-op #hintS,body.dsc-op .hots,body.dsc-op .wlite{opacity:0!important;visibility:hidden!important;transition:none!important}
/* the headline is typed word by word by the opening; the text is in the DOM from the start */
.copy .hw{opacity:0;transition:opacity .5s}.copy .hw.on{opacity:1}
/* the headline in the world (D5): centred under the open sky, soft bloom, slow breathing, rising sparks from the word worlds */
.copy[data-c="0"]:has(h2.hero.on){left:50%;right:auto;top:clamp(64px,8.5vh,104px);bottom:auto;translate:-50% 0;text-align:center;width:calc(100vw - 32px);max-width:820px;text-shadow:0 0 26px rgba(170,240,255,.38),0 0 70px rgba(120,200,255,.22),0 2px 24px rgba(5,3,20,.9)}
.copy[data-c="0"]:has(h2.hero.on)::before{content:none}
.copy[data-c="0"] .k{display:none}
.copy[data-c="0"] h2.hero{animation:hbreath 6s ease-in-out infinite alternate;margin-top:0;margin-bottom:.25em}
.copy[data-c="0"]:has(h2.hero.on) p.ln{margin:0 auto .6em}
@keyframes hbreath{to{transform:scale(1.01)}}
.copy[data-c="0"]:has(h2.hero.on) p{margin-left:auto;margin-right:auto}
.copy[data-c="0"]:has(h2.hero.on) .acts,.copy[data-c="0"]:has(h2.hero.on) .hints{justify-content:center}
.copy .wv{position:relative;display:inline-block}
.copy .wv .rs{position:absolute;left:calc(8% + var(--i,0) * 20%);bottom:55%;width:3px;height:3px;border-radius:50%;background:#dffcff;box-shadow:0 0 6px rgba(150,255,250,.9);opacity:0;pointer-events:none;animation:rise 4.2s linear infinite;animation-delay:calc(var(--i,0) * -.85s)}
.copy .wv .rs:nth-child(2){--i:1}.copy .wv .rs:nth-child(3){--i:2}.copy .wv .rs:nth-child(4){--i:3}.copy .wv .rs:nth-child(5){--i:4}.copy .wv .rs:nth-child(6){--i:5}
@keyframes rise{0%{opacity:0;transform:translate(0,0)}12%{opacity:.9}100%{opacity:0;transform:translate(8px,-72px)}}
body.frozen .copy h2.hero,body.frozen .copy .rs,body.frozen .dstars{animation-play-state:paused}
#labK{display:none;color:var(--teal);letter-spacing:.14em;text-transform:uppercase}
body.c0f0:not(.dsc-op) #labK{display:inline}
#sc0 .wpar{position:absolute;inset:-4%;pointer-events:none;transform:translate(calc(var(--mx,0) * var(--d,10) * -1px * (1 - var(--dv,0)) * var(--edge,1)),calc(var(--my,0) * var(--d,10) * -.5px * (1 - var(--dv,0)) * var(--edge,1)))}
.wsky{inset:0 0 55% 0;background:radial-gradient(ellipse 40% 60% at 70% 0,rgba(214,150,255,.14),transparent 70%),radial-gradient(ellipse 30% 40% at 30% 10%,rgba(150,190,255,.1),transparent 70%);animation:wsky 22s ease-in-out infinite alternate}
@keyframes wsky{to{opacity:.45;transform:translateX(2%)}}
.wbeam{left:49.35%;width:1.3%;top:0;height:50%;background:linear-gradient(180deg,transparent,rgba(170,240,255,.22) 40%,rgba(190,250,255,.5) 92%,rgba(220,255,255,.75));filter:blur(3px);mix-blend-mode:screen;animation:wbeam 4.6s ease-in-out infinite;overflow:hidden}
.wbeam i{position:absolute;left:0;right:0;height:14%;bottom:-14%;background:linear-gradient(0deg,transparent,rgba(240,255,255,.95),transparent);animation:wpulse 3.8s cubic-bezier(.4,0,.7,1) infinite}
@keyframes wbeam{0%,100%{opacity:.55}50%{opacity:1}}
@keyframes wpulse{0%{transform:translateY(0);opacity:0}12%{opacity:1}100%{transform:translateY(-820%);opacity:0}}
.wport{left:50.05%;top:50.4%;width:7%;aspect-ratio:1;background:radial-gradient(circle,rgba(190,255,252,.75),rgba(95,243,230,.22) 32%,transparent 66%);animation:pulse 3.6s ease-in-out infinite}
.wring{left:50.05%;top:50.4%;width:2%;aspect-ratio:1;border:1.5px solid rgba(190,255,250,.8);box-shadow:0 0 12px rgba(95,243,230,.8);animation:ring 3.6s ease-out infinite}
.wsun{left:67.4%;top:27%;width:12%;aspect-ratio:2;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(ellipse,rgba(255,170,140,.32),rgba(255,120,170,.1) 45%,transparent 70%);mix-blend-mode:screen;animation:twink 9s ease-in-out infinite}
.shoot{width:9%;height:2px;opacity:0;transform-origin:0 50%;transform:rotate(18deg);background:linear-gradient(90deg,rgba(255,255,255,0),rgba(230,245,255,.95));border-radius:2px;filter:drop-shadow(0 0 4px rgba(200,230,255,.9));animation:shoot 11s linear infinite}
.shoot.b{animation-duration:15s;animation-delay:-6s;transform:rotate(24deg)}.shoot.c{animation-duration:19s;animation-delay:-12s;transform:rotate(14deg)}
@keyframes shoot{0%,90%{opacity:0;translate:0 0}91%{opacity:1}97%{opacity:0;translate:-9vw -3vw}100%{opacity:0}}
.wfall{width:1.1%;overflow:hidden;transform:translateX(-50%);mix-blend-mode:screen;opacity:.8}
.wfall::before{content:"";position:absolute;left:0;right:0;top:-50%;height:50%;background:linear-gradient(180deg,transparent,rgba(235,250,255,.45),transparent);animation:wfall 2.4s linear infinite}
.wfall:nth-of-type(2n)::before{animation-duration:2.9s;animation-delay:-1.1s}.wfall:nth-of-type(3n)::before{animation-duration:2.1s;animation-delay:-.5s}
@keyframes wfall{to{transform:translateY(300%)}}
#sc0 .win{width:.9%}
/* 7.4: the window lights and waterfall shimmers were placed on the single painting; the layered world has its own painted waterfalls, so they rest */
#sc0 .win,#sc0 .wfall{display:none}
#sc0 .wcl .fog{filter:blur(12px)}
.wlite{position:absolute;inset:0;pointer-events:none;opacity:var(--lo,0);transition:opacity .6s;mix-blend-mode:screen;background:radial-gradient(circle 16vmax at var(--lx,50%) var(--ly,50%),rgba(255,226,190,.2),rgba(200,170,255,.08) 45%,transparent 70%)}
/* the story map: six quiet lights on the world, each a chapter; they wake as the pointer comes near */
.hots{position:absolute;inset:0;pointer-events:none}
.wh{position:absolute;width:44px;height:44px;margin:-22px 0 0 -22px;padding:0;border:0;background:none;color:#fff;cursor:pointer;pointer-events:auto;--pr:0}
.wh>i{position:absolute;left:50%;top:50%;width:12px;height:12px;margin:-6px 0 0 -6px;border-radius:50%;background:radial-gradient(circle,#fff 0 30%,rgba(140,255,245,.9) 45%,rgba(95,243,230,0) 72%);box-shadow:0 0 calc(8px + var(--pr) * 14px) rgba(120,255,245,calc(.35 + var(--pr) * .5));opacity:calc(.78 + var(--pr) * .22);transform:scale(calc(.9 + var(--pr) * .4));transition:opacity .3s,transform .3s}
.wh>i::before{content:"";position:absolute;inset:-16px;border-radius:50%;background:radial-gradient(circle,rgba(150,255,245,.38),rgba(120,200,255,.12) 45%,transparent 70%);animation:hbeat var(--rt,2.6s) ease-in-out infinite}
.wh>u{position:absolute;left:50%;top:50%;width:1px;height:var(--gl,42px);margin-left:-.5px;pointer-events:none;background:linear-gradient(rgba(170,255,250,calc(.45 + var(--pr) * .4)),transparent);transition:opacity .3s}
.wh:hover{--pr:1}
@keyframes hbeat{0%,100%{opacity:.55;transform:scale(.8)}50%{opacity:1;transform:scale(1.1)}}
.wh>i::after{content:"";position:absolute;inset:-9px;border-radius:50%;border:1.5px solid rgba(170,255,250,.75);opacity:0;animation:hring 3.2s ease-out infinite}
.wh:nth-child(2n)>i::after{animation-delay:-1.1s}.wh:nth-child(3n)>i::after{animation-delay:-2.2s}
@keyframes hring{0%{opacity:.8;transform:scale(.4)}100%{opacity:0;transform:scale(1.9)}}
.wh>span{position:absolute;left:50%;bottom:calc(100% - 2px);width:max-content;max-width:230px;transform:translate(-50%,6px);opacity:0;visibility:hidden;text-align:left;padding:9px 13px 10px;border-radius:12px;background:rgba(9,8,30,.8);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border:1px solid rgba(160,255,245,.35);box-shadow:0 10px 30px rgba(0,0,0,.45);transition:opacity .25s,transform .25s,visibility 0s .25s;pointer-events:none}
.wh>span b{display:block;font-size:13px;letter-spacing:.06em;color:var(--teal)}
.wh>span small{display:block;font-size:12.5px;line-height:1.35;color:#eef;margin-top:2px}
.wh>span em{display:block;font-style:normal;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:rgba(220,230,255,.7);margin-top:6px}
.wh.dn>span{bottom:auto;top:calc(100% - 2px);transform:translate(-50%,-6px)}
.wh.lf>span{left:auto;right:50%;transform:translate(14px,6px)}.wh.rt>span{left:50%;transform:translate(-14px,6px)}
.wh:hover>span,.wh:focus-visible>span,.wh.open>span,.wh.demo>span{opacity:1;visibility:visible;transform:translate(-50%,0);transition:opacity .25s,transform .25s}
.wh.lf:hover>span,.wh.lf:focus-visible>span,.wh.lf.open>span,.wh.lf.demo>span{transform:translate(14px,0)}.wh.rt:hover>span,.wh.rt:focus-visible>span,.wh.rt.open>span,.wh.rt.demo>span{transform:translate(-14px,0)}
.wh:hover>i,.wh:focus-visible>i,.wh.open>i,.wh.demo>i{opacity:1;transform:scale(1.35)}
.wh:focus-visible{outline:none}.wh:focus-visible>i{outline:2px solid var(--teal);outline-offset:6px}
.wh.go>i{animation:hgo .5s ease-out}
@keyframes hgo{50%{transform:scale(2.2)}}
@media (hover:none){.wh{--pr:.55}}
#dvc{position:absolute;inset:-20%;opacity:0;pointer-events:none;z-index:2;transform-origin:var(--wx,50%) var(--wy,50%);transform:scale(var(--dk,1));filter:blur(14px);background:radial-gradient(ellipse 22% 14% at 18% 30%,rgba(214,200,245,.55),transparent 70%),radial-gradient(ellipse 26% 16% at 82% 26%,rgba(220,205,250,.5),transparent 70%),radial-gradient(ellipse 30% 18% at 22% 78%,rgba(200,190,240,.55),transparent 70%),radial-gradient(ellipse 28% 16% at 80% 80%,rgba(214,200,245,.5),transparent 70%),radial-gradient(ellipse 18% 10% at 50% 92%,rgba(230,220,255,.4),transparent 70%),radial-gradient(ellipse 18% 10% at 50% 8%,rgba(230,220,255,.35),transparent 70%)}
/* V9.2 · the D film takes off from this page's picture at rest (v82-sidflyg/keys/p0-seam-nv.jpg). Near the take-off engine.js runs --edge
   from 1 to 0 on the frame: the world's breath, the cloud and fog drift and the pointer lean (above) ease to rest from whatever phase they
   are in, the beam, the portal glow and the stars settle at a fixed strength, and the passing lights (shooting stars, sky shimmer, sun,
   ring, beam pulse, motes) and the map lights fade, so at the edge the page is exactly the film's first frame. The loops animate
   registered numbers instead of the transform or opacity, so they can be scaled toward rest */
@property --br{syntax:"<number>";inherits:false;initial-value:0}
@property --cd{syntax:"<number>";inherits:false;initial-value:0}
@property --fg{syntax:"<number>";inherits:false;initial-value:0}
@property --bo{syntax:"<number>";inherits:false;initial-value:.78}
@property --bs{syntax:"<number>";inherits:false;initial-value:1}
@property --tw{syntax:"<number>";inherits:false;initial-value:.6}
#sc0 .wwk{animation-name:wkbv;transform:scale(calc(1 + .035 * var(--br) * var(--edge,1)))}
@keyframes wkbv{to{--br:1}}
#sc0 .wcld img{animation-name:cldriftv;transform:translateX(calc(var(--cd) * 1.5% * var(--edge,1)))}
@keyframes cldriftv{from{--cd:-1}to{--cd:1}}
#sc0 .fog.cl{animation-name:cloudv;transform:translateX(calc(var(--fg) * 30px * var(--edge,1)))}
@keyframes cloudv{to{--fg:1}}
#sc0 .dstars{animation-name:twinkv;opacity:calc(var(--sa,1) * (.6 + (var(--tw) - .6) * var(--edge,1)))}
@keyframes twinkv{0%,100%{--tw:.35}50%{--tw:.85}}
#sc0 .wbeam{animation-name:wbeamv;opacity:calc(.78 + (var(--bo) - .78) * var(--edge,1))}
@keyframes wbeamv{0%,100%{--bo:.55}50%{--bo:1}}
#sc0 .wport{animation-name:pulsev;opacity:calc(.78 + (var(--bo) - .78) * var(--edge,1));transform:translate(-50%,-50%) scale(calc(1 + (var(--bs) - 1) * var(--edge,1)))}
@keyframes pulsev{0%,100%{--bo:.55;--bs:.94}50%{--bo:1;--bs:1.06}}
#sc0 .wbeam i,#sc0 .wring,#sc0 .wsun,#sc0 .wsky,#sc0 canvas.motes,#sc0 .hots{filter:opacity(var(--edge,1))}
#sc0 .shoot{filter:drop-shadow(0 0 4px rgba(200,230,255,.9)) opacity(var(--edge,1))}
