/* Original lightweight entry: a flat sun on the divider, not a recessed photographic void. */
.inner-journey .scene-edge{padding-inline-end:70px;overflow:visible;isolation:isolate}.inner-journey .scene-edge:before{content:"";position:absolute;inset-inline-end:23px;top:50%;width:28px;height:28px;transform:translateY(-50%) scale(.92);border-radius:50%;background:linear-gradient(145deg,#f8c447,#f26735 55%,#cb2949);box-shadow:0 3px 13px rgba(232,100,44,.25);transition:transform .46s cubic-bezier(.2,.8,.2,1),filter .32s ease,box-shadow .32s ease;z-index:0}.inner-journey .scene-edge:after{content:"";position:absolute;inset-inline-end:23px;top:50%;width:28px;height:28px;transform:translateY(-50%) rotate(-22deg) scale(.45);background:url('assets/brand/g-light.svg') center/contain no-repeat;opacity:0;filter:drop-shadow(0 0 7px #ffb13d);transition:transform .56s cubic-bezier(.2,.85,.25,1),opacity .28s ease;pointer-events:none;z-index:1}.inner-journey .scene-edge .edge-arrow{display:none}.inner-journey .scene-edge:hover:before,.inner-journey .scene-edge:focus-visible:before,.inner-journey .scene-edge:active:before{transform:translateY(-50%) scale(1);filter:brightness(1.15);box-shadow:0 0 18px rgba(255,157,54,.5);opacity:0}.inner-journey .scene-edge:hover:after,.inner-journey .scene-edge:focus-visible:after,.inner-journey .scene-edge:active:after{opacity:1;transform:translateY(-50%) rotate(360deg) scale(1)}.inner-journey .scene-edge:active:after{transition-duration:.16s;transform:translateY(-50%) rotate(520deg) scale(1.03)}@media(max-width:740px){.inner-journey .scene-edge{padding-inline-end:58px}.inner-journey .scene-edge:before,.inner-journey .scene-edge:after{inset-inline-end:14px;width:24px;height:24px}}@media(prefers-reduced-motion:reduce){.inner-journey .scene-edge:before,.inner-journey .scene-edge:after{transition:none}}

/* Replay belongs to the end image; the entrance quietly signals vertical travel. */
.inner-journey .world-return .text-link{padding:0!important;border:0!important;background:none!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;text-shadow:0 1px 14px #00142b}.portal-caption:after{content:"↕";display:block;margin-top:13px;font-size:26px;line-height:1;letter-spacing:0;opacity:.76;animation:entry-scroll-pulse 1.85s ease-in-out infinite}@keyframes entry-scroll-pulse{50%{transform:translateY(7px);opacity:.35}}

/* Neyshekar: the model fills the frame before resolving into an edge pattern. */
.project-entry-hero{margin:0!important;width:100%!important;height:100svh;position:relative;overflow:hidden}.project-entry-hero img{width:100%;height:100%;max-height:none!important;aspect-ratio:auto!important;object-fit:cover;filter:saturate(.72) contrast(1.04) brightness(.8)}.project-entry-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,18,35,.54),transparent 72%);pointer-events:none}.project-entry-hero figcaption{position:absolute;z-index:1;bottom:24px;inset-inline-start:var(--gutter);color:#fff;max-width:310px}.complete-model-track{height:470vh}.complete-model-track .project-model{transform:scale(1.12);transform-origin:center}.complete-model-track .project-model-sticky{overflow:clip}.complete-model-track .model-component-labels,.complete-model-track .model-label,.complete-model-track .model-phase{z-index:4}.technical-story{margin-top:0}.document-row strong{display:block;font-size:14px;font-weight:500;letter-spacing:.04em}.document-row p{max-width:520px;margin:12px 0 6px;font-size:14px;line-height:1.8}.document-row .image-caption{display:block;margin:0!important}@media(max-width:740px){.project-entry-hero{height:76svh}.complete-model-track{height:430vh}.complete-model-track .project-model{transform:scale(1.05)}.document-row strong{font-size:13px}.document-row p{font-size:13px}}

/* Divider controls retain the HOME language: nothing on a closed edge; a dark aperture only in an opened layer. */
.inner-journey .scene-edge:before,.inner-journey .scene-edge:after,.inner-journey .scene-sheet.expanded .scene-edge:before{display:none!important}.portal-caption:after{display:none}

/* Laboratory-light entrance: a flat page that behaves optically only while light crosses it. */
.portal-scene{background:radial-gradient(ellipse at 50% 48%,#10284b 0,#07172b 39%,#020914 76%)!important}.portal-scene:after{content:none!important}.portal-assembly{z-index:5}.portal-assembly .portal-frame{background:#fbfcfd!important;border:1px solid rgba(235,244,251,.54)!important;border-radius:clamp(7px,.75vw,11px)!important;clip-path:none!important;opacity:1!important;filter:none!important;box-shadow:0 26px 68px rgba(0,5,16,.58),0 0 24px rgba(201,229,250,.2)!important;animation:portal-page-breathe 7.2s ease-in-out infinite!important}.portal-assembly .portal-tunnel,.portal-assembly .portal-horizon{inset:0!important;background:#fbfcfd!important;border-radius:inherit!important;clip-path:none!important;opacity:1!important;filter:none!important;box-shadow:inset 0 0 34px rgba(201,219,232,.08)!important}.portal-assembly .portal-frame:before,.portal-assembly .portal-frame:after{border-color:rgba(181,215,241,.15)!important;border-radius:clamp(9px,.95vw,14px)!important;filter:blur(1.6px);opacity:.38!important}.portal-assembly .portal-frame:before{inset:-20px}.portal-assembly .portal-frame:after{inset:-48px;opacity:.17!important;filter:blur(2.8px)}
.portal-optics{position:absolute;inset:0;z-index:4;overflow:hidden;pointer-events:none;mix-blend-mode:screen}.portal-beam,.portal-caustic{position:absolute;display:block;transform-origin:center}.beam-in{width:57vw;height:clamp(28px,4.5vw,72px);right:-5vw;top:35%;transform:rotate(-14deg);background:linear-gradient(180deg,transparent,rgba(197,226,248,.18) 24%,rgba(255,255,255,.97) 48%,rgba(212,235,252,.27) 71%,transparent);clip-path:polygon(0 41%,100% 0,100% 100%,0 59%);filter:blur(1.4px) drop-shadow(0 0 16px rgba(187,225,255,.4));animation:beam-in-pulse 4.8s cubic-bezier(.16,.85,.32,1) infinite}.beam-out{width:57vw;height:clamp(70px,10vw,160px);left:-7vw;top:54%;transform:rotate(11deg);background:linear-gradient(180deg,transparent 2%,rgba(232,67,58,.18) 19%,rgba(255,179,67,.24) 30%,rgba(250,246,217,.55) 43%,rgba(226,249,244,.48) 52%,rgba(70,190,214,.22) 64%,rgba(74,98,208,.19) 76%,rgba(119,64,188,.14) 86%,transparent 98%);clip-path:polygon(0 4%,100% 45%,100% 56%,0 97%);filter:blur(7px) saturate(.88);opacity:.82;animation:beam-out-flow 4.8s cubic-bezier(.2,.72,.3,1) infinite}.beam-out:after{content:"";position:absolute;inset:25% -2%;background:linear-gradient(180deg,transparent,rgba(255,255,255,.86) 46%,rgba(238,248,255,.6) 56%,transparent);filter:blur(4px);clip-path:polygon(0 14%,100% 44%,100% 58%,0 89%)}.portal-caustic{left:4%;top:50%;width:49vw;height:31vh;opacity:.27;filter:blur(20px);transform:rotate(9deg);background:radial-gradient(ellipse at 88% 50%,rgba(255,245,221,.6),transparent 24%),linear-gradient(160deg,transparent 25%,rgba(239,70,54,.26) 38%,rgba(255,189,54,.22) 45%,rgba(53,188,173,.18) 55%,rgba(52,117,219,.19) 64%,rgba(118,65,185,.16) 72%,transparent 84%);animation:caustic-drift 6.4s ease-in-out infinite}.caustic-b{top:55%;transform:rotate(13deg) scaleY(.68);opacity:.17;filter:blur(29px);animation-delay:-3.2s;animation-direction:reverse}
.portal-instruction{position:absolute;inset:50% 7% auto;transform:translateY(-50%);margin:0;color:#294b6d;text-align:center;font-size:clamp(15px,1.55vw,23px);font-weight:400;line-height:1.65;direction:rtl;white-space:normal;opacity:.94}.portal-line{display:flex!important;flex-direction:row-reverse;justify-content:center;min-height:1.65em}.portal-letter{display:inline-block;opacity:0;filter:blur(7px);transform:translate3d(34px,calc((var(--letter) % 4 - 1.5)*8px),0) scale(.75);animation:letter-breath 4.8s cubic-bezier(.16,.78,.28,1) infinite;animation-delay:calc(var(--letter)*24ms)}html[lang=en] .portal-instruction{direction:ltr;letter-spacing:.09em;font-size:clamp(12px,1.05vw,16px);line-height:1.75}html[lang=en] .portal-line{flex-direction:row}
.beam-out:before{content:"";position:absolute;inset:-8% -2%;background:linear-gradient(180deg,transparent 5%,rgba(237,58,49,.34) 22%,rgba(255,170,40,.31) 34%,rgba(255,231,128,.19) 43%,rgba(50,189,153,.2) 57%,rgba(42,137,222,.28) 68%,rgba(84,71,203,.25) 79%,rgba(132,65,187,.2) 87%,transparent 97%);filter:blur(11px);opacity:.82;clip-path:polygon(0 2%,100% 40%,100% 62%,0 99%)}
@keyframes beam-in-pulse{0%,8%{opacity:0;transform:rotate(-14deg) translateX(18%)}25%{opacity:1;transform:rotate(-14deg) translateX(0)}57%{opacity:.82}78%,100%{opacity:0;transform:rotate(-14deg) translateX(-3%)}}
@keyframes beam-out-flow{0%,28%{opacity:0;transform:rotate(11deg) translateX(6%) scaleY(.72)}48%{opacity:.76}73%{opacity:.9;transform:rotate(11deg) translateX(-1%) scaleY(1)}100%{opacity:0;transform:rotate(11deg) translateX(-14%) scaleY(1.08)}}
@keyframes caustic-drift{0%,30%,100%{opacity:0;transform:rotate(9deg) translateX(7%) scaleY(.78)}55%{opacity:.29}78%{opacity:.18;transform:rotate(12deg) translateX(-5%) scaleY(1.05)}}
@keyframes letter-breath{0%,16%{opacity:0;filter:blur(7px);transform:translate3d(34px,calc((var(--letter) % 4 - 1.5)*8px),0) scale(.75)}35%,59%{opacity:1;filter:blur(0);transform:translate3d(0,0,0) scale(1)}75%{opacity:0;filter:blur(5px);transform:translate3d(-38px,calc((var(--letter) % 5 - 2)*5px),0) scale(.82)}76%,100%{opacity:0}}
@keyframes portal-page-breathe{0%,100%{transform:translate3d(0,0,0) rotateY(-1.2deg)}50%{transform:translate3d(0,-1px,3px) rotateY(.8deg)}}
@media(max-width:740px){.beam-in{width:70vw;right:-18vw;top:36%;height:38px}.beam-out{width:73vw;left:-21vw;top:55%;height:82px;filter:blur(5px)}.portal-caustic{left:-7%;width:65vw;height:23vh}.portal-instruction{font-size:15px;line-height:1.55}.portal-assembly .portal-frame:before{inset:-13px}.portal-assembly .portal-frame:after{inset:-30px}}
@media(prefers-reduced-motion:reduce){.portal-beam,.portal-caustic,.portal-instruction span,.portal-assembly .portal-frame{animation:none!important}.beam-in{opacity:.45}.beam-out{opacity:.5}.portal-instruction span{opacity:1;filter:none;transform:none}}

/* Exactly one continuation aperture, anchored to the reading-side opposite corner. */
.scene-sheet:not(.expanded) .sheet-copy .solar-only{visibility:hidden!important;pointer-events:none!important}.scene-sheet.expanded .sheet-copy .solar-only{position:fixed!important;left:var(--gutter)!important;right:auto!important;bottom:24px!important;margin:0!important;z-index:30}.scene-sheet.expanded .sheet-copy .solar-only .solar-orb{width:34px!important;height:34px!important}html[lang=en] .scene-sheet.expanded .sheet-copy .solar-only{left:auto!important;right:var(--gutter)!important}@media(max-width:740px){.scene-sheet.expanded .sheet-copy .solar-only{bottom:22px!important}.scene-sheet.expanded .sheet-copy .solar-only .solar-orb{width:30px!important;height:30px!important}}

.inner-journey .inner-intro .journey-slogan{font-size:clamp(19px,2.15vw,31px)!important;line-height:1.55!important;max-width:620px!important;margin-bottom:12px!important}.inner-journey .inner-intro .journey-intro-copy{font-size:15px!important;line-height:2!important;max-width:470px!important;opacity:.86}@media(max-width:740px){.inner-journey .inner-intro .journey-slogan{font-size:18px!important}.inner-journey .inner-intro .journey-intro-copy{font-size:13px!important;line-height:1.85!important}}

/* Approved revision: remove all chromatic spectra and keep one neutral beam. */
.portal-spectrum,.portal-caustic{display:none!important}.beam-out{background:linear-gradient(180deg,transparent 4%,rgba(190,220,243,.08) 22%,rgba(237,247,254,.28) 38%,rgba(255,255,255,.78) 49%,rgba(224,240,251,.24) 62%,rgba(178,211,237,.07) 80%,transparent 97%)!important;filter:blur(8px)!important;opacity:.68}.beam-out:before{display:none!important}.beam-out:after{background:linear-gradient(180deg,transparent,rgba(255,255,255,.68) 47%,rgba(230,243,252,.36) 56%,transparent)!important;filter:blur(5px)!important}.portal-assembly .portal-frame:before,.portal-assembly .portal-frame:after{border-color:rgba(181,215,241,.12)!important;box-shadow:none!important}

/* The divider label itself becomes the open section title, then returns to its tab. */
.scene-edge>span:not(.edge-number):not(.edge-arrow){position:absolute;left:50%;top:0;width:max-content;max-width:72vw;line-height:43px;text-align:center;transform:translate3d(-50%,0,0);transform-origin:center;transition:left .72s cubic-bezier(.16,1,.3,1),top .72s cubic-bezier(.16,1,.3,1),transform .72s cubic-bezier(.16,1,.3,1),font-size .72s cubic-bezier(.16,1,.3,1),line-height .72s ease,color .55s ease;will-change:left,top,transform,font-size;pointer-events:none}.scene-sheet.expanded .scene-edge>span:not(.edge-number):not(.edge-arrow){left:3vw;top:clamp(110px,25vh,220px);font-size:clamp(30px,4.5vw,68px);line-height:1.08;text-align:left;transform:translate3d(0,-50%,0);z-index:20}.scene-sheet.expanded .sheet-copy h2{display:none!important}html[lang=fa] .scene-sheet.expanded .scene-edge>span:not(.edge-number):not(.edge-arrow){left:calc(100vw - 6vw);text-align:right;transform:translate3d(-100%,-50%,0);font-size:clamp(27px,3.7vw,55px);line-height:1.5}.scene-sheet.expanded .sheet-copy{padding-top:clamp(72px,12vh,120px)}@media(max-width:740px){.scene-edge>span:not(.edge-number):not(.edge-arrow){line-height:36px;max-width:76vw}.scene-sheet.expanded .scene-edge>span:not(.edge-number):not(.edge-arrow){left:16px;top:clamp(72px,15vh,120px);font-size:30px}.scene-sheet.expanded .sheet-copy{padding-top:58px}html[lang=fa] .scene-sheet.expanded .scene-edge>span:not(.edge-number):not(.edge-arrow){left:calc(100vw - 32px);font-size:27px}}
.scene-sheet.expanded .scene-edge>span:not(.edge-number):not(.edge-arrow){max-width:68%}html[lang=fa] .scene-sheet.expanded .scene-edge>span:not(.edge-number):not(.edge-arrow){left:calc(100% - 3vw)}.scene-sheet .sheet-content>.solar-only{position:absolute!important;left:var(--gutter)!important;right:auto!important;bottom:20px!important;margin:0!important;z-index:30;visibility:hidden;pointer-events:none}.scene-sheet.expanded .sheet-content>.solar-only{visibility:visible;pointer-events:auto}html[lang=en] .scene-sheet .sheet-content>.solar-only{left:auto!important;right:var(--gutter)!important}@media(max-width:740px){html[lang=fa] .scene-sheet.expanded .scene-edge>span:not(.edge-number):not(.edge-arrow){left:calc(100% - 16px)}}

/* Minimal Rumuli-inspired progressive scroll cue replaces every light beam. */
.portal-instruction{display:none!important}

/* Divider names become centered titles without changing their transform reference. */
.scene-edge>span:not(.edge-number):not(.edge-arrow){left:50%!important;top:50%!important;font-size:inherit!important;font-weight:400;line-height:1!important;text-align:center!important;transform:translate3d(-50%,-50%,0) scale(1)!important;transform-origin:50% 50%!important;transition:transform .92s cubic-bezier(.16,1,.3,1),font-weight .55s ease,color .55s ease!important;will-change:transform;backface-visibility:hidden}
.scene-sheet.expanded .scene-edge>span:not(.edge-number):not(.edge-arrow),html[lang=fa] .scene-sheet.expanded .scene-edge>span:not(.edge-number):not(.edge-arrow){left:50%!important;top:50%!important;font-size:inherit!important;font-weight:650;line-height:1!important;text-align:center!important;transform:translate3d(-50%,-50%,0) scale(2.65)!important;max-width:34vw;white-space:nowrap}
@media(max-width:740px){.scene-sheet.expanded .scene-edge>span:not(.edge-number):not(.edge-arrow),html[lang=fa] .scene-sheet.expanded .scene-edge>span:not(.edge-number):not(.edge-arrow){left:50%!important;top:50%!important;font-size:inherit!important;transform:translate3d(-50%,-50%,0) scale(2.15)!important;max-width:48vw}}
.portal-optics{display:none!important}.scroll-arrows{position:absolute;z-index:30;left:50%;bottom:clamp(24px,5vh,48px);width:34px;height:58px;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:0;pointer-events:none}.scroll-arrows i{display:block;width:15px;height:15px;margin-top:-4px;border-top:1.2px solid rgba(235,246,255,.92);border-left:1.2px solid rgba(235,246,255,.92);transform:rotate(45deg);opacity:0;filter:drop-shadow(0 0 5px rgba(170,215,248,.25));animation:scroll-chevron-up 2.25s cubic-bezier(.2,.7,.28,1) infinite}.scroll-arrows i:nth-child(1){animation-delay:0s}.scroll-arrows i:nth-child(2){animation-delay:.2s}.scroll-arrows i:nth-child(3){animation-delay:.4s}@keyframes scroll-chevron-up{0%{opacity:0;transform:translateY(12px) rotate(45deg) scale(.8)}28%{opacity:.22}52%{opacity:.92}78%,100%{opacity:0;transform:translateY(-12px) rotate(45deg) scale(1)}}@media(max-width:740px){.scroll-arrows{bottom:26px;transform:translateX(-50%) scale(.88)}}@media(prefers-reduced-motion:reduce){.scroll-arrows i{animation:none;opacity:.65}.scroll-arrows i:nth-child(2){opacity:.42}.scroll-arrows i:nth-child(3){opacity:.22}}
