html,body{margin:0;height:100%;overflow:hidden;background:#0E1A2B;}
body{display:flex;align-items:center;justify-content:center;font-family:'IBM Plex Sans',Arial,sans-serif;}
.viewport{position:relative;width:min(100vw, calc(100vh * 16 / 9));aspect-ratio:16/9;overflow:hidden;background:#0E1A2B;}
.stage{position:absolute;left:0;top:0;width:1920px;height:1080px;transform-origin:0 0;}
.stage > section{position:absolute;inset:0;width:1920px;height:1080px;box-sizing:border-box;display:flex;flex-direction:column;
  visibility:hidden;opacity:0;overflow:hidden;color:#14213D;font-family:'IBM Plex Sans',Arial,sans-serif;font-size:32px;line-height:1.4;}
.stage > section.on{visibility:visible;opacity:1;animation:fadeIn .5s ease both;}
.stage *{margin:0;box-sizing:border-box;}
.stage div{display:flex;flex-direction:column;}
.stage h1{font-size:96px;font-weight:600;line-height:1.1;}
.stage h2{font-size:64px;font-weight:600;line-height:1.15;}
.stage h3{font-size:44px;font-weight:600;line-height:1.2;}
.stage p{font-size:32px;line-height:1.4;}
.stage img{display:block;}
.xs{display:block !important;}
.xs-diamond{clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);}
.xs-arrow-right{clip-path:polygon(0 30%,60% 30%,60% 0,100% 50%,60% 100%,60% 70%,0 70%);}
.xi{display:inline-flex;flex:none;} .xi svg{width:100%;height:100%;}
/* component builds (use translate/scale so they combine with existing transforms) */
[data-build-in].pending{opacity:0;}
[data-build-in].b-fade{animation:bFade .55s ease both;}
[data-build-in].b-rise{animation:bRise .6s cubic-bezier(.2,.7,.2,1) both;}
[data-build-in].b-drop{animation:bDrop .6s cubic-bezier(.2,.7,.2,1) both;}
[data-build-in].b-left{animation:bLeft .6s cubic-bezier(.2,.7,.2,1) both;}
[data-build-in].b-right{animation:bRight .6s cubic-bezier(.2,.7,.2,1) both;}
[data-build-in].b-scale{animation:bScale .55s ease both;}
[data-build-in].b-pop{animation:bPop .5s cubic-bezier(.3,1.5,.5,1) both;}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes bFade{from{opacity:0}to{opacity:1}}
@keyframes bRise{from{opacity:0;translate:0 48px}to{opacity:1;translate:0 0}}
@keyframes bDrop{from{opacity:0;translate:0 -48px}to{opacity:1;translate:0 0}}
@keyframes bLeft{from{opacity:0;translate:-72px 0}to{opacity:1;translate:0 0}}
@keyframes bRight{from{opacity:0;translate:72px 0}to{opacity:1;translate:0 0}}
@keyframes bScale{from{opacity:0;scale:.9}to{opacity:1;scale:1}}
@keyframes bPop{from{opacity:0;scale:.82}to{opacity:1;scale:1}}
@media (prefers-reduced-motion: reduce){
  .stage > section, [data-build-in]{animation:none !important;}
  [data-build-in].pending{opacity:1;}
}
