/* site/intro.css — extracted from the prototype in original order; "Lnnn" = prototype line */
/* L1342 · (1) Intro: big WebOmega logo on a clean sakura (or cosmic) background, then it flies to it */
#intro{position:fixed;inset:0;z-index:300;pointer-events:none;display:none}
html.intro-on #intro,html.intro-logo #intro{display:block;pointer-events:auto}
html.intro-on main{opacity:0}
html.intro-on .nav .logo-w,html.intro-logo .nav .logo-w{visibility:hidden}
html.intro-out main{opacity:1;transition:opacity 1s ease .1s}
#intro .in-bg{position:absolute;inset:0;background:radial-gradient(50% 45% at 82% 18%,rgba(244,182,200,.55),rgba(244,182,200,0) 70%),radial-gradient(45% 40% at 14% 82%,rgba(188,212,240,.5),rgba(188,212,240,0) 70%),linear-gradient(180deg,#FCF5F6,#F8EEF2);transition:opacity .9s ease}
body[data-world=cosmic] #intro .in-bg{background:radial-gradient(50% 45% at 80% 20%,rgba(110,80,200,.32),rgba(110,80,200,0) 70%),radial-gradient(45% 40% at 15% 80%,rgba(60,120,210,.28),rgba(60,120,210,0) 70%),#030812}
#intro .in-c{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:clamp(18px,3vh,30px)}
#intro .in-logo{overflow:hidden;padding:.6vw 0}
#intro .in-logo svg{display:block;width:min(80vw,820px);height:auto;transform-origin:0 0;opacity:0;transform:translateY(60%)}
#intro .in-tag{font:500 clamp(11px,1.1vw,14px)/1 var(--body);letter-spacing:.32em;text-transform:uppercase;color:#336699;opacity:0;transform:translateY(8px);transition:opacity .5s,transform .7s cubic-bezier(.2,.7,.2,1)}
body[data-world=cosmic] #intro .in-tag{color:#9CC4F2}
#intro.in-play .in-logo svg{animation:inRise 1.15s cubic-bezier(.2,.75,.15,1) .15s forwards}
#intro.in-play .in-tag{opacity:1;transform:none;transition-delay:.95s}
#intro.in-fly .in-tag{opacity:0;transform:translateY(-6px);transition-delay:0s;transition-duration:.35s}
#intro.in-fly .in-logo{overflow:visible}
#intro.in-fly .in-logo svg{opacity:1;animation:none;transition:transform 1.05s cubic-bezier(.76,0,.24,1)}
#intro.in-fade .in-bg{opacity:0}
@keyframes inRise{0%{opacity:0;transform:translateY(60%)}35%{opacity:1}100%{opacity:1;transform:none}}
html.intro-out .stack>.hero .hero-in{animation:inHero 1.2s cubic-bezier(.2,.7,.2,1) both}
@keyframes inHero{from{opacity:0;transform:translateY(26px)}to{opacity:1;transform:none}}
/* L1447 · Intro v2 (home): the logo appears over the real hero background; tree, text and menu slide */
#intro.in-home .in-bg{background:linear-gradient(180deg,#DDEAF0 0%,#E8EFF1 34%,#F3EFE7 62%,#F8F5ED 100%);transition:opacity 1.1s ease}
#intro.in-home.in-ready .in-bg{opacity:0}
body[data-world=cosmic] #intro.in-home .in-bg{background:#02060f}
html.intro-home main{opacity:1}
html.intro-home .stack>.hero .hero-tree-wrap,html.intro-home .stack>.hero .hero-petals{opacity:0;translate:9% 3%}
html.intro-home .stack>.hero .hero-in>div>*{opacity:0!important;translate:-28px 0}
html.intro-home .stack>.hero .cs-logo{opacity:0;translate:0 24px}
html.intro-home .nav .links,html.intro-home .nav .lang,html.intro-home .nav .burger{opacity:0;translate:0 -10px}
html.intro-out .stack>.hero .hero-tree-wrap,html.intro-out .stack>.hero .hero-petals{transition:opacity 1.3s ease,translate 1.6s cubic-bezier(.2,.75,.15,1)}
html.intro-out .stack>.hero .hero-in>div>*{transition:opacity 1s ease,translate 1.2s cubic-bezier(.2,.75,.15,1)}
html.intro-out .stack>.hero .hero-in>div>:nth-child(2){transition-delay:.08s}
html.intro-out .stack>.hero .hero-in>div>:nth-child(3){transition-delay:.16s}
html.intro-out .stack>.hero .hero-in>div>:nth-child(4){transition-delay:.24s}
html.intro-out .stack>.hero .hero-in>div>:nth-child(5){transition-delay:.32s}
html.intro-out .stack>.hero .cs-logo{transition:opacity 1.1s ease .1s,translate 1.2s cubic-bezier(.2,.75,.15,1) .1s}
html.intro-out .nav .links,html.intro-out .nav .lang,html.intro-out .nav .burger{transition:opacity .8s ease .25s,translate .9s cubic-bezier(.2,.75,.15,1) .25s}
html.intro-out .stack>.hero .hero-in{animation:none}
#intro.in-fly .in-tag{transform:translateY(16px)}
/* L1467 · crisp big logo: centred by flex (no half-pixel transforms) */
#intro .in-c{left:0;top:0;right:0;bottom:0;transform:none;justify-content:center}
#intro .in-logo{padding:8px 0}
#intro .in-logo svg{width:min(80vw,820px);shape-rendering:geometricPrecision;backface-visibility:hidden}
#intro.in-play .in-logo svg{animation:inRise 1.35s cubic-bezier(.16,.84,.24,1) .15s forwards}
#intro.in-play .in-tag{transition:opacity .8s ease,transform 1s cubic-bezier(.16,.84,.24,1);transition-delay:1.05s}
#intro.in-fly .in-tag{opacity:0;transform:translateY(22px);transition:opacity .55s ease,transform .7s cubic-bezier(.4,0,.2,1);transition-delay:0s}
/* L1475 · no menu band while the big logo is on screen; the band fades in just before the logo and m */
html.intro-out .nav{transition:background .9s ease,border-color .9s ease,backdrop-filter .9s ease,-webkit-backdrop-filter .9s ease}
/* L1485 · page elements slide in a little longer and softer */
html.intro-out .stack>.hero .hero-tree-wrap,html.intro-out .stack>.hero .hero-petals{transition:opacity 1.6s ease,translate 2s cubic-bezier(.16,.84,.24,1)}
html.intro-out .stack>.hero .hero-in>div>*{transition:opacity 1.3s ease,translate 1.6s cubic-bezier(.16,.84,.24,1)!important}
html.intro-out .stack>.hero .hero-in>div>:nth-child(1){transition-delay:.05s!important}
html.intro-out .stack>.hero .hero-in>div>:nth-child(2){transition-delay:.15s!important}
html.intro-out .stack>.hero .hero-in>div>:nth-child(3){transition-delay:.3s!important}
html.intro-out .stack>.hero .hero-in>div>:nth-child(4){transition-delay:.42s!important}
html.intro-out .stack>.hero .hero-in>div>:nth-child(5){transition-delay:.54s!important}
html.intro-out .nav .links,html.intro-out .nav .lang,html.intro-out .nav .burger{transition:opacity 1s ease .2s,translate 1.2s cubic-bezier(.16,.84,.24,1) .2s}
/* L1497 · v49b: the page elements arrive with keyframe animations (not transitions) so every line ea */
@keyframes inSlideL{from{opacity:0;translate:-30px 0}to{opacity:1;translate:0 0}}
@keyframes inSlideR{from{opacity:0;translate:9% 3%}to{opacity:1;translate:0 0}}
@keyframes inDrop{from{opacity:0;translate:0 -10px}to{opacity:1;translate:0 0}}
@keyframes inUp{from{opacity:0;translate:0 24px}to{opacity:1;translate:0 0}}
html.intro-out .stack>.hero .hero-in>div>*{animation:inSlideL 1.5s cubic-bezier(.16,.84,.24,1) both!important;transition:none!important}
html.intro-out .stack>.hero .hero-in>div>:nth-child(1){animation-delay:.05s!important}
html.intro-out .stack>.hero .hero-in>div>:nth-child(2){animation-delay:.16s!important}
html.intro-out .stack>.hero .hero-in>div>:nth-child(3){animation-delay:.32s!important}
html.intro-out .stack>.hero .hero-in>div>:nth-child(4){animation-delay:.44s!important}
html.intro-out .stack>.hero .hero-in>div>:nth-child(5){animation-delay:.56s!important}
html.intro-out .stack>.hero .hero-tree-wrap,html.intro-out .stack>.hero .hero-petals{animation:inSlideR 2s cubic-bezier(.16,.84,.24,1) .1s both;transition:none}
html.intro-out body[data-world=cosmic] .stack>.hero .cs-logo{animation:inUp 1.4s cubic-bezier(.16,.84,.24,1) .1s both;transition:none}
html.intro-out .nav .links,html.intro-out .nav .lang,html.intro-out .nav .burger{animation:inDrop 1.1s cubic-bezier(.16,.84,.24,1) .2s both;transition:none}
/* L2061 · v84: after the logo intro, the hero text and tree stay put (their own entrance must not re */
html.intro-done .stack>.hero .hero-in>div>*,html.intro-done .stack>.hero .hero-tree-wrap,html.intro-done .stack>.hero .hero-petals,html.intro-done .nav .links,html.intro-done .nav .lang,html.intro-done .nav .burger{animation:none!important}
html.intro-done body:not([data-world=cosmic]) .stack>.hero .hero-in>div>*{opacity:1!important}
