/* One scroll passage. The original readable two-scene layout is the fallback. */
#entrance-art{display:none}
.entrance-stage>.opening-work{width:calc(100% - 2*var(--gutter));max-width:1260px;margin:0 auto;padding:60px 0 42px;min-height:calc(100svh - 58px);height:auto;display:flex;flex-direction:column;justify-content:center}
.entrance-enabled .opening{overflow:clip}
.entrance-enabled .entrance-run{height:calc(var(--stage-height) + var(--passage-length));position:relative}
.entrance-enabled .entrance-stage{height:var(--stage-height);position:sticky;top:var(--header-height);isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 52% 60%,#132b5738,transparent 68%)}
.entrance-enabled #entrance-art{display:block;position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none}
.entrance-enabled .arrival{height:100%;min-height:0;max-height:none;padding:0;display:block;position:absolute;inset:0;z-index:4;pointer-events:none}
.entrance-enabled .arrival .opening-copy{position:absolute;inset:0;max-width:none;transform:none;opacity:1;pointer-events:none}
.entrance-enabled .arrival-name{position:absolute;top:30%;left:50%;transform:translateX(-50%);font-size:clamp(72px,12vw,184px);margin:0;line-height:1.2;letter-spacing:-.065em;opacity:0!important;animation:none}
.entrance-enabled .arrival .opening-copy h1{position:absolute;top:55%;left:var(--gutter);right:var(--gutter);font-size:clamp(29px,3.15vw,47px);transform:translateY(calc(var(--copy-exit,0)*-25px));opacity:calc(1 - var(--copy-exit,0));pointer-events:none}
.entrance-enabled .arrival .principal{position:absolute;top:66%;left:50%;transform:translateX(-50%);width:max-content;max-width:90%;margin:0;opacity:calc(1 - var(--copy-exit,0));pointer-events:auto}
.entrance-enabled .arrival-footer{bottom:32px;opacity:calc(1 - var(--hint-exit,0));pointer-events:auto}
.entrance-enabled .arrival-enter:after{display:none}
.entrance-enabled .arrival-trace,.entrance-enabled .arrival-sheen{display:none}
.entrance-enabled .arrival-probe{top:15%;left:76%;width:clamp(100px,10vw,160px);height:135px;transform:translate3d(calc(var(--entry-progress,0)*-55vw),calc(var(--entry-progress,0)*18vh),0) rotate(calc(var(--entry-progress,0)*-35deg));opacity:calc(1 - var(--probe-exit,0))}
.entrance-enabled .arrival-spark{top:64%;opacity:calc(.7*(1 - var(--copy-exit,0)))}
.entrance-enabled .entrance-stage>.opening-work{position:absolute;inset:0;min-height:0;height:100%;padding:22px 0 16px;margin:auto;justify-content:center;z-index:2;transform-origin:50% 65%;transform:perspective(1200px) translateY(calc((1 - var(--scene-enter,0))*90px)) rotateX(calc((1 - var(--scene-enter,0))*12deg)) scale(calc(.78 + var(--scene-enter,0)*.22));opacity:var(--scene-enter,0);visibility:var(--scene-visibility,hidden);will-change:transform,opacity}
.entrance-enabled .opening-work .prompt-head{font-size:18px;flex-shrink:0}
.entrance-enabled .opening-work .prompt-line{font-size:clamp(25px,2.85vw,38px);height:82px;min-height:82px;margin:22px auto 0;flex-shrink:0}
.entrance-enabled .opening-work .thought-field{height:clamp(310px,43svh,410px);min-height:0;flex-shrink:0}
.entrance-enabled .opening-work .opening-foot{margin-top:55px;flex-shrink:0}
.entrance-enabled .opening-work .thought-tracks path{stroke-dashoffset:calc((1 - var(--connections-enter,0))*100)}
.entrance-enabled .opening-work .orbit-note{opacity:1;scale:1}
.entrance-enabled .opening-work .thought-signals{opacity:var(--connections-enter,0)}
.entrance-enabled .opening-light{display:none}
.entrance-enabled .entrance-stage:after{content:'';position:absolute;z-index:0;inset:0;pointer-events:none;background:radial-gradient(ellipse at 50% 50%,#366fc72b,transparent 60%);opacity:var(--field-light,0)}
.entrance-enabled .arrival.is-passed{visibility:hidden}
@media(max-width:850px){
 .entrance-enabled .arrival .opening-copy h1{font-size:34px;top:52%}
 .entrance-enabled .arrival .principal{top:69%}
 .entrance-enabled .arrival-probe{top:12%;left:70%;width:110px;height:115px}
 .entrance-enabled .opening-work .thought-field{height:350px}
 .entrance-enabled .opening-work .prompt-line{height:90px;min-height:90px}
}
@media(max-width:540px){
 .entrance-enabled .arrival-name{top:29%;font-size:14vw}
 .entrance-enabled .arrival .opening-copy h1{font-size:30px;top:48%;left:16px;right:16px;line-height:1.22}
 .entrance-enabled .arrival .principal{top:64%}
 .entrance-enabled .arrival-probe{top:10%;left:57%;width:95px;height:95px}
 .entrance-enabled .arrival-footer{bottom:30px}
 .entrance-enabled .arrival-enter{font-size:16px}
 .entrance-enabled .entrance-stage>.opening-work{width:calc(100% - 36px);padding:18px 0 12px}
 .entrance-enabled .opening-work .prompt-head{font-size:16px;padding-left:0}
 .entrance-enabled .opening-work .prompt-line{font-size:24px;line-height:1.23;height:90px;min-height:90px;padding:0 2% 0 7%;margin-top:20px;text-align:left}
 .entrance-enabled .opening-work .thought-field{height:360px}
 .entrance-enabled .opening-work .opening-foot{margin-top:38px;font-size:12px}
}
@media(max-width:360px){.entrance-enabled .arrival .opening-copy h1{font-size:27px}.entrance-enabled .opening-work .prompt-line{font-size:22px}.entrance-enabled .opening-work .thought-field{height:350px}}
/* Pause or reduced motion returns to two readable scenes, never a half-dissolved title. */
.passage-friend{position:absolute;pointer-events:none;z-index:5;filter:drop-shadow(0 7px 16px #02081766);will-change:transform,left,top}
.passage-friend svg{width:100%;height:100%;overflow:visible}
.passage-ufo{width:112px;height:94px;left:15%;top:65%}
.passage-astro{width:86px;height:112px;left:87%;top:70%}
.visitor-wave{transform-origin:69px 67px;animation:visitor-wave 6s ease-in-out infinite}
.visitor-eyes{transform-box:fill-box;transform-origin:center;animation:visitor-blink 7.5s infinite}
.visitor-lamp{animation:visitor-lamp 3s ease-in-out infinite alternate}
.visitor-lamp:nth-child(2){animation-delay:-1s}.visitor-lamp:nth-child(3){animation-delay:-2s}
@keyframes visitor-wave{0%,62%,100%{transform:rotate(0)}68%,80%{transform:rotate(-22deg)}74%,86%{transform:rotate(12deg)}}
@keyframes visitor-blink{0%,44%,47%,100%{scale:1 1}45%,46%{scale:1 .1}}
@keyframes visitor-lamp{to{opacity:.3}}
.entrance-enabled .arrival-probe{width:clamp(125px,12vw,178px);height:150px;opacity:calc(1 - var(--probe-exit,0)*.9)}
.entrance-enabled .opening-work .prompt-head #motion{right:auto;left:0;top:-5px}
@media(max-width:600px){
 .passage-ufo{width:83px;height:70px}.passage-astro{width:65px;height:85px}
 .entrance-enabled .arrival-probe{width:124px;height:115px;left:55%;top:9%}
 .entrance-enabled .entrance-stage>.opening-work{width:calc(100% - 30px);padding:84px 0 14px;justify-content:center}
 .entrance-enabled .opening-work .prompt-line{font-size:24px;height:90px;min-height:90px;margin-top:14px;margin-bottom:8px}
 .entrance-enabled .opening-work .thought-field{height:clamp(328px,46svh,400px)}
 .entrance-enabled .opening-work .orbit-note{width:42%;max-width:none;padding:10px 8px}
 .entrance-enabled .opening-work .orbit-note strong{font-size:16px;line-height:1.2}
 .entrance-enabled .opening-work .note-detail{font-size:12px;line-height:1.4;margin-top:6px}
 .entrance-enabled .opening-work .note-number{font-size:10px}
 .entrance-enabled .opening-work .note-growth{left:0;top:5%}
 .entrance-enabled .opening-work .note-finance{right:0;top:4%}
 .entrance-enabled .opening-work .note-team{left:0;top:52%}
 .entrance-enabled .opening-work .note-tools{right:0;top:52%}
 .entrance-enabled .opening-work .thought-hub{top:43%;width:68px;height:68px;margin:-34px;padding:17px}
 .entrance-enabled .opening-work .hub-word{font-size:12px;top:57px}
 .entrance-enabled .opening-work .sprite-satellite{width:87px;height:80px;left:38%;top:-8%}
 .entrance-enabled .opening-work .hero-decision{top:90%}
 .entrance-enabled .opening-work .hero-decision strong{font-size:23px}
 .entrance-enabled .opening-work .decision-kicker{font-size:14px}
 .entrance-enabled .opening-work .opening-foot{margin-top:70px;font-size:13px}
 .entrance-enabled .opening-work .thought-tracks{stroke:#86b0ff80}
 .entrance-enabled .opening-work .thought-paths path{stroke-width:1.25}
}
@media(max-width:600px) and (max-height:740px){
 .entrance-enabled .entrance-stage>.opening-work{padding-top:68px}
 .entrance-enabled .opening-work .prompt-line{font-size:22px;height:78px;min-height:78px;margin-top:12px}
 .entrance-enabled .opening-work .thought-field{height:305px}
 .entrance-enabled .opening-work .opening-foot{margin-top:60px}
 .entrance-enabled .opening-work .hero-decision{top:94%}
 .entrance-enabled .opening-work .note-detail{font-size:11px}
 .entrance-enabled .opening-work .hero-decision strong{font-size:21px}
 .passage-ufo{width:74px;height:63px}.passage-astro{width:57px;height:74px}
}
.motion-paused .passage-friend{display:none}
.motion-paused .entrance-run{height:auto}
.motion-paused .entrance-stage{position:relative;height:auto;overflow:visible;top:0}
.motion-paused #entrance-art{display:none}
.motion-paused .arrival{position:relative;height:calc(100svh - 58px);min-height:590px;visibility:visible;pointer-events:auto}
.motion-paused .arrival-name{opacity:1!important}
.motion-paused .arrival .opening-copy h1,.motion-paused .arrival .principal,.motion-paused .arrival-footer{opacity:1;visibility:visible}
.motion-paused .arrival .opening-copy h1{transform:none}
.motion-paused .arrival-probe{opacity:.8;transform:none}
.motion-paused .entrance-stage>.opening-work{position:relative;inset:auto;min-height:660px;transform:none;opacity:1;visibility:visible}
.motion-paused .opening-work .thought-tracks path{stroke-dashoffset:0}
.motion-paused .opening-work .thought-signals{opacity:0}
