*{box-sizing:border-box}html{background:#071018;scroll-behavior:smooth}body{margin:0;color:#f0f2ec;background:#071018;font-family:var(--gn-font-sans)}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}button,a{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible{outline:2px solid #efff8b;outline-offset:6px}.skip-link{position:absolute;top:-100px;z-index:100;background:#fff;color:#111;padding:15px}.skip-link:focus{top:12px}header{height:88px;padding:15px 3.2vw;display:flex;align-items:center;gap:35px;position:relative;z-index:30;background:#071018}.brand{display:flex;align-items:center;gap:10px;flex-shrink:0}.brand img{width:59px;height:47px;object-fit:contain}.brand>span{font-size:31px;letter-spacing:-1.7px;font-weight:500}.brand-line{font-size:9px;letter-spacing:.13em;color:#a0b6b8}.header-actions{margin-left:auto;display:flex;align-items:center;gap:20px}.languages{display:flex;gap:4px}.languages button,header button{background:none;border:0;color:#b9c8c9;padding:8px 6px;font-size:11px;min-height:36px;white-space:nowrap}.languages button[aria-pressed=true]{color:white;text-decoration:underline;text-underline-offset:5px}#motion,#replay{border-bottom:1px solid #546773}#replay{color:#e0e9ec}.quick-nav{display:none}.portal-stage{display:flex;height:calc(100svh - 88px);min-height:540px;position:relative;overflow:hidden;isolation:isolate;background:#081225}.gate{flex:1 1 0;min-width:0;position:relative;overflow:hidden;isolation:isolate;transition:flex 1.1s cubic-bezier(.2,.8,.15,1);border-right:1px solid #ffffff20}.gate:last-child{border:0}.chamber{position:absolute;inset:0;z-index:-2;overflow:hidden;background:#14212b}.gate-decision .chamber{background:#071b56}.gate-soundlab .chamber{background:#210d36}.architecture{width:100%;height:100%;position:absolute;inset:0;transform:scale(1.12);transform-origin:center;transition:transform 1.4s cubic-bezier(.2,.8,.15,1),filter 1s;filter:brightness(.76) saturate(1.12)}.gate-engineering .architecture{transform:scale(1.18) translateX(-2%)}.gate-soundlab .architecture{transform:scale(1.15) translateX(-3%)}.chamber::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#07101a18 0%,transparent 23%,#040b16a6 56%,#030a16ec 100%);pointer-events:none}.depth-grid{position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0,transparent 80px,#fff03b 81px,transparent 82px);opacity:.1;transform:perspective(500px) rotateY(-25deg) scale(1.2)}.light-shaft{position:absolute;inset:-30%;background:linear-gradient(108deg,transparent 43%,#ffd48b08 45%,#ffd48b44 48%,transparent 52%);transform:translateX(-20%);animation:light-scan 14s ease-in-out infinite alternate;mix-blend-mode:screen}.gate-decision .light-shaft{background:linear-gradient(110deg,transparent 44%,#73dfff55 49%,transparent 54%);animation-delay:-5s}.gate-soundlab .light-shaft{background:linear-gradient(115deg,transparent 43%,#fc9bff66 49%,transparent 55%);animation-delay:-9s}.gate-door{position:absolute;inset:0;background:linear-gradient(110deg,#08131c88,#152a3366 45%,#8cacb91a 45.4%,#020813aa 46%);clip-path:polygon(0 0,85% 0,57% 100%,0 100%);transform:translateX(-9%);transition:transform 1.3s cubic-bezier(.2,.8,.15,1);border-left:1px solid #ffffff2e}.gate-decision .gate-door{background:linear-gradient(115deg,#081747b3,#18458f66 48%,#a9edff33 48.5%,#060d31b3 49%)}.gate-soundlab .gate-door{background:linear-gradient(107deg,#280e3c88,#71276a33 48%,#ffc1dc33 48.5%,#0b0419a6 49%)}.floor{position:absolute;bottom:-5%;left:-30%;right:-30%;height:30%;background:linear-gradient(180deg,transparent,#24435744);transform:perspective(400px) rotateX(65deg);border-top:1px solid #99c8df33}.gate-top{position:absolute;left:8%;right:8%;top:27px;display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:.15em;color:#d3e1e2;z-index:3}.gate-signal{display:block;width:7px;height:7px;border-radius:50%;background:#f8c179;box-shadow:0 0 18px #f9aa44}.gate-decision .gate-signal{background:#a6e7ff;box-shadow:0 0 18px #a6e7ff}.gate-soundlab .gate-signal{background:#efb1ff;box-shadow:0 0 18px #efb1ff}.gate-select{position:absolute;inset:0 0 150px;width:100%;border:0;background:none;color:inherit;text-align:left;padding:0 8%;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;z-index:3}.gate-title{display:flex;flex-direction:column;font-size:clamp(39px,4.7vw,76px);font-weight:430;letter-spacing:-.065em;line-height:.98;text-shadow:0 5px 30px #02050e55;transition:font-size 1s,transform 1s;clip-path:inset(0)}.gate-engineering .gate-title{font-size:clamp(31px,3.65vw,64px)}.gate-title .second-line{font-weight:350}.gate-engineering .second-line{font-size:.53em;letter-spacing:-.02em;line-height:1.7}.gate-soundlab .second-line{font-size:1.45em;font-weight:300}.select-label{font-size:10px;letter-spacing:.08em;text-transform:uppercase;margin-top:24px;color:#c9d9df}.select-symbol{position:absolute;right:8%;bottom:2px;font-size:32px;font-weight:200;color:#e0f3f5}.gate-bottom{position:absolute;bottom:25px;left:8%;right:8%;z-index:5}.gate-description{font-size:12px;line-height:1.5;color:#c1d4db;max-width:32ch;margin:0 0 20px}.enter{font-size:14px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #aec5d45e;padding-top:16px;min-height:42px;white-space:nowrap}.enter::after{content:"";display:block;width:9px;height:9px;border-top:1px solid currentColor;border-right:1px solid currentColor;transform:rotate(0deg);margin-right:3px}.next-world{display:none}.reset,.skip-opening{position:absolute;top:20px;left:50%;transform:translateX(-50%);z-index:20;background:#071018bf;border:1px solid #d6e7e45c;color:#e5f0ee;backdrop-filter:blur(10px);font-size:11px;padding:11px 17px;min-height:40px}.reset[hidden]{display:none}.skip-opening{display:none}.opening .skip-opening{display:block}.opening-curtain{position:absolute;inset:0;z-index:10;background:#142a34;display:none;overflow:hidden}.gate-decision .opening-curtain{background:#1945de}.gate-soundlab .opening-curtain{background:#5a1b78}.opening-curtain span{font-size:clamp(170px,32vw,550px);font-weight:250;letter-spacing:-.1em;position:absolute;left:-.08em;bottom:-.15em;color:#f1f1e733}.opening .opening-curtain{display:block;animation:curtain-lift 1.7s cubic-bezier(.76,0,.2,1) forwards}.opening .gate-decision .opening-curtain{animation:curtain-side 1.7s .07s cubic-bezier(.76,0,.2,1) forwards}.opening .gate-soundlab .opening-curtain{animation:curtain-drop 1.7s .13s cubic-bezier(.76,0,.2,1) forwards}.opening .gate-title{animation:type-unmask 1.7s .12s cubic-bezier(.2,.8,.2,1) both}.portal-stage.has-selection .gate{flex:.6 1 0}.portal-stage.has-selection .gate.is-selected{flex:2.2 1 0}.gate.is-selected .architecture{transform:scale(1.03);filter:brightness(1) saturate(1.15)}.gate.is-selected .gate-door{transform:translateX(-94%)}.gate.is-selected .gate-title{font-size:clamp(65px,7.8vw,126px);transform:translateY(-14px)}.gate-engineering.is-selected .gate-title{font-size:clamp(50px,6.5vw,108px)}.portal-stage.has-selection .gate:not(.is-selected) .gate-title{font-size:clamp(27px,2.5vw,43px);writing-mode:vertical-rl;transform:rotate(180deg);line-height:1.1;max-height:65%}.portal-stage.has-selection .gate:not(.is-selected) .gate-title .second-line{font-size:1em}.portal-stage.has-selection .gate:not(.is-selected) .gate-engineering .second-line{font-size:.7em}.portal-stage.has-selection .gate:not(.is-selected) .gate-description,.portal-stage.has-selection .gate:not(.is-selected) .select-label{display:none}.portal-stage.has-selection .gate:not(.is-selected) .enter{font-size:10px;white-space:normal;line-height:1.35}.portal-stage.has-selection .gate:not(.is-selected) .architecture{filter:brightness(.38) saturate(.7);transform:scale(1.3)}footer{height:46px;padding:16px 3.2vw;display:flex;justify-content:space-between;font-size:9px;color:#8a9ea8}.motion-off *,.motion-off *::before,.motion-off *::after{animation:none!important;transition:none!important}.motion-off .opening-curtain{display:none!important}.motion-off .light-shaft{transform:translateX(0)}
@media(hover:hover) and (pointer:fine){.gate:not(.is-selected):hover .gate-door,.gate:focus-within:not(.is-selected) .gate-door{transform:translateX(-26%)}.gate:not(.is-selected):hover .architecture{filter:brightness(.98) saturate(1.15);transform:scale(1.1)}}
@keyframes light-scan{to{transform:translateX(22%)}}@keyframes curtain-lift{0%,15%{transform:translateY(0)}to{transform:translateY(-105%)}}@keyframes curtain-side{0%,15%{transform:translateX(0)}to{transform:translateX(-105%)}}@keyframes curtain-drop{0%,15%{transform:translateY(0)}to{transform:translateY(105%)}}@keyframes type-unmask{0%,20%{clip-path:inset(100% 0 0);transform:translateY(30px)}to{clip-path:inset(0);transform:translateY(0)}}
@media(max-width:950px){.brand-line{display:none}header{gap:16px}.header-actions{gap:10px}.gate-title{font-size:5vw}.gate-engineering .gate-title{font-size:3.7vw}.gate-description{font-size:11px}.enter{font-size:12px}}
@media(max-width:700px){header{height:76px;padding:10px 5vw;gap:8px;position:sticky;top:0}.brand img{width:45px;height:36px}.brand>span{font-size:26px}.header-actions{gap:6px}.languages{display:none}#replay{font-size:9px;max-width:65px;white-space:normal;line-height:1.3}#motion{font-size:10px}.quick-nav{display:flex;position:sticky;top:76px;z-index:25;background:#071018;border-top:1px solid #adc3cb25}.quick-nav button{flex:1;min-height:40px;padding:8px 4px;background:none;color:#cbd8df;border:0;border-bottom:2px solid transparent;font-size:9px}.quick-nav button[aria-pressed=true]{color:#fff;border-bottom-color:#cdeaff}.portal-stage{display:block;height:auto;min-height:0;overflow:visible}.gate{height:calc(100svh - 116px);min-height:520px;border-right:0;border-bottom:1px solid #ffffff35;scroll-margin-top:116px}.gate-select{bottom:145px;padding:0 7%}.gate-title,.gate-engineering .gate-title,.gate.is-selected .gate-title,.gate-engineering.is-selected .gate-title{font-size:clamp(45px,11vw,75px);writing-mode:horizontal-tb!important;transform:none!important;max-height:none!important}.gate-engineering .gate-title,.gate-engineering.is-selected .gate-title{font-size:clamp(32px,8.8vw,62px)}.gate-soundlab .gate-title{font-size:clamp(55px,14vw,90px)}.gate-title .second-line{font-size:1em!important}.gate-engineering .second-line{font-size:.55em!important}.gate-soundlab .second-line{font-size:1.4em!important}.gate-bottom{left:7%;right:7%;bottom:20px}.gate-description,.portal-stage.has-selection .gate:not(.is-selected) .gate-description{display:block;font-size:12px}.enter,.portal-stage.has-selection .gate:not(.is-selected) .enter{font-size:14px;white-space:nowrap}.next-world{display:block;font-size:9px;color:#aabdc9;margin-top:17px}.gate:last-child .next-world{display:none}.gate-top{left:7%;right:7%;top:22px}.gate-signal{width:6px;height:6px}.select-label,.portal-stage.has-selection .gate:not(.is-selected) .select-label{display:block;font-size:9px;margin-top:17px}.architecture,.portal-stage.has-selection .gate:not(.is-selected) .architecture{filter:brightness(.85) saturate(1.1);transform:scale(1.08)}.gate.is-selected .gate-door{transform:translateX(-82%)}.gate.is-selected .architecture{filter:brightness(1)}.reset{position:fixed;top:126px;left:auto;right:12px;transform:none;font-size:10px}.skip-opening{position:fixed;top:126px;left:50%;font-size:10px}.opening-curtain span{font-size:85vw}.opening .gate:not(:first-of-type) .opening-curtain{display:none}footer{height:auto;padding:18px 5vw;gap:15px;flex-wrap:wrap;font-size:9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.opening-curtain{display:none!important}.gate-title{clip-path:none!important}.light-shaft{transform:translateX(0)}}
.light-shaft{animation-play-state:var(--scene-play,running)}
/* Explicit anchored title geometry keeps the same composition without flex-height ambiguity. */
.gate-select{inset:0;height:100%;padding:0;display:block}.gate-title{position:absolute;left:8%;right:6%;bottom:210px}.select-label{position:absolute;left:8%;bottom:171px;margin:0}.select-symbol{bottom:159px}.brand-line{white-space:nowrap;width:220px;flex:0 0 220px}.header-actions{width:370px;flex:0 0 370px;justify-content:flex-end}.languages{width:105px;flex:0 0 105px}.languages button{width:31px;flex:0 0 31px}#motion{width:85px;flex:0 0 85px}#replay{width:100px;flex:0 0 100px}.portal-stage.has-selection .gate:not(.is-selected) .gate-title{left:16%;right:auto;bottom:180px}
@media(max-width:950px){.brand-line{display:none}.header-actions{width:355px;flex-basis:355px}}
@media(max-width:700px){.header-actions{width:auto;flex:1;gap:8px}.languages{display:none}#motion{width:76px;flex:0 0 76px}#replay{width:58px;flex:0 0 58px}.gate-title,.portal-stage.has-selection .gate:not(.is-selected) .gate-title{left:7%;right:7%;bottom:210px;writing-mode:horizontal-tb}.select-label{left:7%;bottom:170px}.select-symbol{right:7%;bottom:156px}.gate-select{inset:0;padding:0}}
.portal-stage.has-selection .gate:not(.is-selected) .gate-title{writing-mode:horizontal-tb;transform:none;left:8%;right:6%;font-size:clamp(21px,2.25vw,36px);max-height:none;line-height:1.05}.portal-stage.has-selection .gate-engineering:not(.is-selected) .second-line{font-size:.62em;line-height:1.7}
@media(max-width:700px){.portal-stage.has-selection .gate:not(.is-selected) .gate-title{font-size:clamp(45px,11vw,75px);left:7%;right:7%}.portal-stage.has-selection .gate-engineering:not(.is-selected) .gate-title{font-size:clamp(32px,8.8vw,62px)}}

.enter{position:relative;padding-right:24px}.enter::after{position:absolute;right:2px;top:19px;width:10px;height:10px;margin:0}.enter::before{content:"";position:absolute;right:1px;top:24px;width:16px;height:1px;background:currentColor;transform:rotate(-45deg)}

.gate-offer{display:none;font-size:14px;line-height:1.5;max-width:46ch;margin:0 0 17px;color:#e1eaf0}.gate.is-selected .gate-description{display:none}.gate.is-selected .gate-offer{display:block}@media(max-width:700px){.gate-offer{font-size:12px;line-height:1.45;margin-bottom:14px}.gate.is-selected .gate-description{display:none}}

/* Complete localized names wrap as one string; the art and marks keep their original orientation. */
html{--portal-header-height:88px;--portal-nav-height:0px;--portal-footer-height:46px}
header{height:auto;min-height:88px;gap:20px;flex-wrap:wrap}
.brand-line{width:auto;flex:0 1 auto;white-space:normal;max-width:none;font-size:10px;line-height:1.5}
.brand-line>span{display:block;white-space:nowrap}
.header-actions{margin-left:0;margin-inline-start:auto;width:auto;flex:0 1 auto;gap:14px;max-width:100%;flex-wrap:wrap;justify-content:flex-end}
.languages{display:flex;direction:ltr;width:auto;flex:0 0 auto;gap:2px}
.languages button{width:auto;min-width:31px;flex:0 0 auto;letter-spacing:0}
#motion,#replay{width:auto;flex:0 1 auto;max-width:14ch;white-space:normal;line-height:1.35;text-align:center}
.portal-stage{height:calc(100svh - var(--portal-header-height) - var(--portal-footer-height));min-height:var(--portal-min-height,540px)}
.gate{container-type:inline-size;border-right:0;border-inline-end:1px solid #ffffff20}
.gate:last-child{border-inline-end:0}
.gate-top{left:auto;right:auto;inset-inline:8%}
.gate-select{text-align:start}
.gate-title,.gate-engineering .gate-title{display:block;left:auto;right:auto;inset-inline:8% 6%;bottom:calc(var(--gate-bottom-height,124px) + 86px);font-size:clamp(29px,10cqw,76px);font-weight:430;line-height:1.08;letter-spacing:-.045em;clip-path:none;overflow-wrap:normal;word-break:normal;hyphens:auto;text-wrap:balance;transition:transform 1s}
.gate-engineering .gate-title{font-size:clamp(28px,9.1cqw,64px)}
.gate-soundlab .gate-title{font-size:clamp(36px,12cqw,76px);white-space:nowrap;text-align:start}
.gate.is-selected .gate-title,.gate-engineering.is-selected .gate-title{font-size:clamp(40px,10.2cqw,126px);transform:translateY(-14px)}
.gate-engineering.is-selected .gate-title{font-size:clamp(36px,9.3cqw,108px)}
.portal-stage.has-selection .gate:not(.is-selected) .gate-title{left:auto;right:auto;inset-inline:8% 6%;bottom:calc(var(--gate-bottom-height,124px) + 86px);font-size:clamp(16px,10.5cqw,36px);line-height:1.12;writing-mode:horizontal-tb;transform:none;max-height:none}
.select-label{left:auto;right:auto;inset-inline-start:8%;inset-inline-end:18%;bottom:calc(var(--gate-bottom-height,124px) + 46px);line-height:1.4;letter-spacing:.055em;text-align:start}
.select-symbol{right:auto;left:auto;inset-inline-end:8%;bottom:calc(var(--gate-bottom-height,124px) + 34px)}
.gate-bottom{left:auto;right:auto;inset-inline:8%;text-align:start}
.gate-description,.gate-offer{max-width:100%;overflow-wrap:normal}
.enter,.portal-stage.has-selection .gate:not(.is-selected) .enter{white-space:normal;line-height:1.4;padding-right:0;padding-inline-end:27px;min-height:48px;overflow-wrap:normal}
.enter::after{left:auto;right:auto;inset-inline-end:2px}
.enter::before{left:auto;right:auto;inset-inline-end:1px}
html[dir=rtl] .enter::after{transform:rotate(-90deg)}
html[dir=rtl] .enter::before{transform:rotate(45deg)}
html[dir=rtl] .gate-soundlab .gate-title{text-align:right}
footer{height:auto;min-height:46px;gap:15px;flex-wrap:wrap;line-height:1.5}
html[lang=ar] .gate-title{hyphens:none;word-break:normal}
html[lang=ar] .brand-line,html[lang=ar] .select-label,html[lang=ar] .gate-top,html[lang=ar] .gate-description,html[lang=ar] .gate-offer{text-transform:none}
html[lang=zh-Hans] .gate-title{word-break:normal;line-break:strict}
html[lang=zh-Hans] .brand-line,html[lang=zh-Hans] .select-label{text-transform:none}
@media(max-width:1200px){.brand-line{display:none}.header-actions{gap:12px}}
@media(max-width:700px){
  header{min-height:76px;padding:10px 5vw;gap:8px 12px}
  .brand{margin-inline-end:auto}
  .header-actions{display:contents}
  .languages{display:flex;order:3;width:100%;flex:1 1 100%;justify-content:space-between;gap:1px}
  .languages button{min-width:29px;min-height:34px;padding:6px 4px}
  #motion,#replay{width:auto;max-width:10ch;min-height:36px;flex:0 1 auto;font-size:10px;padding-inline:4px}
  .quick-nav{top:var(--portal-header-height)}
  .quick-nav button{min-width:0;line-height:1.4;padding:8px 6px;overflow-wrap:normal;hyphens:auto}
  .quick-nav bdi{display:block;margin-bottom:2px;font-size:8px}
  .portal-stage{height:auto;min-height:0}
  .gate{height:calc(100svh - var(--portal-header-height) - var(--portal-nav-height));min-height:var(--gate-min-height,520px);border-inline-end:0;scroll-margin-top:calc(var(--portal-header-height) + var(--portal-nav-height))}
  .gate-title,.gate-engineering .gate-title,.gate.is-selected .gate-title,.gate-engineering.is-selected .gate-title,.portal-stage.has-selection .gate:not(.is-selected) .gate-title,.portal-stage.has-selection .gate-engineering:not(.is-selected) .gate-title{left:auto;right:auto;inset-inline:7%;bottom:calc(var(--gate-bottom-height,130px) + 80px);font-size:clamp(30px,10cqw,65px);line-height:1.12;transform:none!important}
  .gate-soundlab .gate-title{font-size:clamp(43px,14cqw,90px)}
  .select-label{left:auto;right:auto;inset-inline:7% 18%;bottom:calc(var(--gate-bottom-height,130px) + 40px);margin:0}
  .select-symbol{left:auto;right:auto;inset-inline-end:7%;bottom:calc(var(--gate-bottom-height,130px) + 28px)}
  .gate-bottom,.gate-top{left:auto;right:auto;inset-inline:7%}
  .enter,.portal-stage.has-selection .gate:not(.is-selected) .enter{font-size:14px;white-space:normal;line-height:1.4}
  .reset{top:calc(var(--portal-header-height) + var(--portal-nav-height) + 10px);left:auto;right:auto;inset-inline-end:12px;max-width:calc(100% - 24px);transform:none}
  .skip-opening{top:calc(var(--portal-header-height) + var(--portal-nav-height) + 10px);max-width:calc(100% - 24px)}
}
@media(max-width:700px){
  header{display:block;min-height:108px;padding:12px 5vw 10px;overflow:visible}
  .brand{position:absolute;top:14px;left:auto;right:auto;inset-inline-start:5vw;margin:0;min-height:38px;align-items:center}
  .brand img{display:block;flex:0 0 45px}
  .brand>span{line-height:1.25}
  .header-actions{display:flex;width:100%;max-width:100%;min-height:82px;margin:0;gap:8px;align-items:flex-start;align-content:flex-start;flex-wrap:wrap;justify-content:flex-end}
  .header-actions::before{content:"";display:block;flex:1 0 136px;min-height:40px}
  #motion,#replay{order:1;max-width:9ch;min-height:40px;flex:0 1 auto;margin:0}
  .languages{order:3;display:flex;flex:1 0 100%;width:100%;min-height:34px;justify-content:space-between;margin:0}
  .quick-nav{height:auto;min-height:58px;align-items:stretch;overflow:visible}
  .quick-nav button{display:block;flex:1 1 0%;width:33.333333%;min-width:0;max-width:none;height:auto;min-height:58px;padding:8px 5px;white-space:normal;overflow:visible;text-overflow:clip;line-height:1.45}
  .quick-nav button span{display:block;width:auto;max-width:none;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:break-word;word-break:normal;hyphens:none}
  .quick-nav bdi{flex:0 0 auto;line-height:1.35;margin-bottom:3px}
  html[lang=ar] .quick-nav button span{overflow-wrap:normal;word-break:normal;hyphens:none}
}
/* Full-line control boxes keep the underline below translated multiline labels. */
#motion,#replay{height:auto!important;min-height:44px;padding-block:6px 9px;align-self:flex-start;text-decoration:none}
html:lang(ar) .gate-title{left:10%;right:10%;max-width:80%}
html:lang(ar) .gate-engineering .gate-title{max-width:8em}
@media(max-width:700px){html:lang(ar) .gate-engineering .gate-title{max-width:80%}}

/* Pixel widths follow one frame clock. Frozen, inert text layers crossfade so
   wrapping never produces a visible line-height jump during panel movement. */
.portal-stage,.gate,.gate-title,.select-label,.select-symbol,.gate-copy,.gate-description,.gate-offer,.enter{transition:none}
.gate-copy{position:relative;height:0;overflow:hidden;pointer-events:none}
.gate-copy>.gate-description,.gate-copy>.gate-offer{display:block!important;position:absolute;inset:0 0 auto;opacity:0;transform:translateY(6px);pointer-events:none}
.portal-stage:not(.has-selection) .gate-description,.portal-stage .gate.is-selected .gate-offer{opacity:1;transform:translateY(0)}
.portal-stage.has-selection .gate:not(.is-selected) .select-label{display:block;opacity:0}
.gate.is-selected .select-symbol{transform:rotate(45deg)}
.architecture{transition:transform .9s cubic-bezier(.22,.72,.2,1),filter .9s cubic-bezier(.22,.72,.2,1)}
.gate-door{transition:transform .9s cubic-bezier(.22,.72,.2,1)}
.gate-engineering.is-selected .architecture{transform:scale(1.04) translateX(-1.2%)}
.gate-decision.is-selected .architecture{transform:scale(1.04) translateY(-.8%)}
.gate-soundlab.is-selected .architecture{transform:scale(1.04) translateX(1.2%)}
@media(max-width:700px){
  .portal-stage.has-selection .gate:not(.is-selected) .gate-description{opacity:1;transform:translateY(0)}
  .portal-stage.has-selection .gate:not(.is-selected) .select-label{opacity:1}
}
@media(prefers-reduced-motion:reduce){
  .gate.is-selected .architecture{transform:scale(1.03)}
}

/* With only the language selector remaining, keep the phone header compact. */
@media(max-width:700px){
  header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;min-height:76px;padding:12px 5vw;gap:12px}
  header .brand{position:static;min-height:38px;margin:0}
  header .header-actions{display:flex;flex:0 0 auto;width:auto;min-height:0;margin:0;margin-inline-start:auto;gap:0}
  header .header-actions::before{display:none}
  header .language-switcher[data-language-theme="portal"]{order:0;margin:0}
}

.portal-motion-layer{pointer-events:none!important;user-select:none;z-index:6}
.portal-motion-layer *{pointer-events:none!important}

.portal-live-link::before,.portal-live-link::after{display:none!important}

/* Selected scenes make the branch entry unmistakable without adding another control. */
.enter-action{display:none}.enter-name{min-width:0}
.gate.is-selected .enter{display:block;padding:14px 18px;padding-inline-end:82px;min-height:80px;border:1px solid #edffad;border-radius:6px;background:#edffad;color:#14221c;box-shadow:0 0 24px #dafa8540;white-space:normal;isolation:isolate}
.gate.is-selected .enter-action{display:block;font-size:20px;font-weight:750;line-height:1.2;letter-spacing:.08em;text-transform:uppercase}
.gate.is-selected .enter-name{display:block;margin-top:3px;font-size:14px;line-height:1.35;font-weight:500;opacity:.86}
.gate-decision.is-selected .enter{background:#cbeeff;border-color:#cbeeff;box-shadow:0 0 24px #8edbff40;color:#102440}
.gate-soundlab.is-selected .enter{background:#f3d4ff;border-color:#f3d4ff;box-shadow:0 0 24px #e7a9ff40;color:#30183d}
.gate.is-selected .enter:hover,.gate.is-selected .enter:focus-visible{box-shadow:0 0 0 3px #ffffff66,0 0 28px #ffffff40}
@media(max-width:700px){.gate.is-selected .enter{min-height:76px;padding:12px 16px;padding-inline-end:78px}.gate.is-selected .enter-action{font-size:19px}.gate.is-selected .enter-name{font-size:14px}}
@media(prefers-reduced-motion:reduce){.gate.is-selected .enter{transition:none}}

.portal-live-link{background:transparent!important;box-shadow:none!important;border-color:transparent!important}

.enter-icon{display:none}
.gate.is-selected .enter::before,.gate.is-selected .enter::after{display:none}
.gate.is-selected .enter-icon{display:block;position:absolute;right:18px;top:50%;transform:translateY(-50%);width:44px;height:44px}
html[dir=rtl] .gate.is-selected .enter-icon{right:auto;left:18px}
.enter-icon svg{display:block;width:44px;height:44px}
html[dir=rtl] .enter-icon svg{transform:scaleX(-1)}

/* R8: compact corporate footer. One desktop row is 43px (previously 86px).
   Keep link targets and typography; allow natural wrapping at every width. */
body:has(.portal-stage)>footer{min-height:43px;height:auto;padding-block:6.5px;row-gap:6px;}
body:has(.portal-stage)>footer .gn-corporate-links{padding-block:0;row-gap:6px;}
@media(max-width:700px){
 body:has(.portal-stage)>footer{padding-block:8px;row-gap:8px;}
}

/* R8 portal-only header trim: retain top padding and every brand/control size. */
body:has(.portal-stage)>header{min-height:84px;padding-bottom:7px;}
@media(max-width:700px){
 body:has(.portal-stage)>header{min-height:70px;padding-bottom:6px;}
}

/* R13: borderless portal footer links; motion does not change layout. */
body:has(.portal-stage)>header .language-switcher[data-language-theme="portal"]{top:-2px;}
body:has(.portal-stage)>footer .gn-corporate-links a{border-bottom:0;transition:transform 150ms ease,color 150ms ease;}
@media(hover:hover){body:has(.portal-stage)>footer .gn-corporate-links a:hover{color:#fff;transform:translateY(1px);}}
body:has(.portal-stage)>footer .gn-corporate-links a:focus-visible{color:#fff;transform:translateY(1px);}
@media(prefers-reduced-motion:reduce){body:has(.portal-stage)>footer .gn-corporate-links a{transition:none;}body:has(.portal-stage)>footer .gn-corporate-links a:hover,body:has(.portal-stage)>footer .gn-corporate-links a:focus-visible{transform:none;}}

/* Owner-requested one-pixel dark top rule; keep the compact row height. */
body:has(.portal-stage)>footer{box-sizing:border-box;border-top:1px solid #050b14;padding-top:5.5px;}
@media(max-width:700px){body:has(.portal-stage)>footer{padding-top:7px;}}

/* Matching owner-requested soft white-to-cream header/footer finish. */
body:has(.portal-stage)>header,body:has(.portal-stage)>footer{box-sizing:border-box;background:linear-gradient(180deg,#ffffff 0%,#FAFAF8 52%,#f3efe5 100%)!important;color:#0B1F3B!important;}
body:has(.portal-stage)>header{border-bottom:1px solid #050b14;padding-bottom:6px;}
body:has(.portal-stage)>footer{border-top:1px solid #050b14;}
body:has(.portal-stage)>footer a,body:has(.portal-stage)>footer .gn-corporate-links a{color:#0B1F3B!important;}
@media(hover:hover){body:has(.portal-stage)>footer a:hover,body:has(.portal-stage)>footer .gn-corporate-links a:hover{color:#205e5e!important;}}
body:has(.portal-stage)>footer a:focus-visible{color:#205e5e!important;outline:2px solid #205e5e;outline-offset:2px;}
@media(max-width:700px){body:has(.portal-stage)>header{padding-bottom:5px;}}
