/* Five seconds: many spheres > growing sphere > burst > UL > full brand > website. */
.brand-intro{--unit:min(1px,.188vw);background:#fff;perspective:1100px;animation:intro-exit .55s ease 5s both}
.intro-scene{position:relative;width:min(330px,62vw);aspect-ratio:700/448;transform-style:preserve-3d}
.incoming-orbs,.intro-particles{position:absolute;inset:0}
.incoming-orb{position:absolute;left:50%;top:50%;width:var(--orb-size);height:var(--orb-size);margin:calc(var(--orb-size)/-2);border-radius:50%;background:radial-gradient(circle at 30% 23%,#ffedb0,#ffa114 24%,#ff7200 54%,#c53502 100%);box-shadow:inset -4px -5px 8px #0002,0 3px 7px #29333b10;animation:spheres-converge 5s cubic-bezier(.5,.05,.65,.4) var(--delay) both}
.incoming-orb.charcoal{background:radial-gradient(circle at 30% 23%,#bac7cd,#677985 20%,#35454f 51%,#152129 100%)}
.incoming-orb:before{content:'';position:absolute;inset:13% 45% 62% 20%;border-radius:50%;background:#ffffff70;filter:blur(2px);transform:rotate(-30deg)}
.intro-ball{position:absolute;width:calc(172 * var(--unit));height:calc(172 * var(--unit));left:50%;top:50%;margin:calc(-86 * var(--unit));border-radius:50%;background:radial-gradient(circle at 31% 24%,#fff3c5 0%,#ffcb52 9%,#ff9f0c 27%,#ff7a00 48%,#f94a00 73%,#a92505 100%);box-shadow:inset -12px -15px 25px #74200230,inset 5px 5px 15px #fff5,0 2px 2px #bd480015;animation:combined-sphere 5s ease-in-out both}
.intro-ball:before{content:'';position:absolute;width:36%;height:17%;top:12%;left:21%;border-radius:50%;background:linear-gradient(#ffffffb3,#ffffff00);transform:rotate(-31deg);filter:blur(3px)}
.intro-ball:after{content:'';position:absolute;inset:6%;border-radius:50%;border-left:2px solid #fff4;transform:rotate(-26deg)}
.intro-floor-shadow{position:absolute;top:calc(50% + 135 * var(--unit));left:50%;margin-left:calc(-115 * var(--unit));width:calc(230 * var(--unit));height:calc(17 * var(--unit));border-radius:50%;background:radial-gradient(ellipse,#27344035,transparent 72%);filter:blur(7px);animation:assembly-shadow 5s ease both}
.intro-shockwave{position:absolute;left:50%;top:50%;margin:calc(-100 * var(--unit));width:calc(200 * var(--unit));height:calc(200 * var(--unit));border-radius:50%;border:2px solid #ff8a1938;box-shadow:0 0 22px #ffac1a16,inset 0 0 18px #ff8a1912;animation:assembly-shockwave 5s ease-out both}
.intro-particles i{position:absolute;left:50%;top:50%;width:calc(var(--size) * var(--unit));height:calc(var(--size) * var(--unit));margin:calc(var(--size) * var(--unit)/-2);border-radius:50%;background:var(--particle);box-shadow:inset 1px 1px 2px #ffffff70;animation:assembly-fragments 5s cubic-bezier(.22,.61,.36,1) both}
.brand-intro .intro-mark{position:absolute;inset:0;width:100%;height:100%;opacity:0;transform-origin:center;animation:assembly-monogram 5s cubic-bezier(.45,0,.25,1) both;filter:drop-shadow(0 12px 9px #28364120)!important}
.intro-brand-lockup{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:94vw;display:flex;flex-direction:column;align-items:center;pointer-events:none}
.intro-wordmark{display:flex;justify-content:center;align-items:baseline;font-size:clamp(28px,9.2vw,142px);font-weight:800;line-height:1.06;letter-spacing:-.055em;white-space:nowrap;animation:full-brand-emerge 5s ease both}
.intro-word{display:inline-flex;align-items:baseline;flex-shrink:0}
.ultra-word{color:#252d32}
.logic-word{color:#ff7200;-webkit-text-fill-color:currentColor}
/* Paint the gradient on each text span: parent text clipping can lose OGIC while its child expands. */
.logic-word>span{background:linear-gradient(180deg,#ffa100 8%,#ff5300 95%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.word-tail{display:inline-block;flex-shrink:0;overflow:hidden;max-width:3.4em;opacity:1;animation:word-unfold 5s cubic-bezier(.25,.7,.25,1) both}
.intro-tagline{font-size:clamp(8px,1.75vw,26px);font-weight:500;color:#35414a;letter-spacing:.48em;padding-left:.48em;margin-top:clamp(13px,2.1vw,28px);line-height:1.4;white-space:nowrap;animation:tagline-unfold 5s ease both}
@keyframes spheres-converge{0%{opacity:0;transform:translate(var(--sx),var(--sy)) scale(.035)}5%{opacity:1;transform:translate(calc(var(--sx) * .87),calc(var(--sy) * .87)) scale(.16)}16%{opacity:1;transform:translate(calc(var(--sx) * .43),calc(var(--sy) * .43)) scale(.95)}23%{opacity:1;transform:translate(calc(var(--sx) * .12),calc(var(--sy) * .12)) scale(1.1)}28%{opacity:.85;transform:translate(0,0) scale(.55)}31%,100%{opacity:0;transform:translate(0,0) scale(0)}}
@keyframes combined-sphere{0%,7%{opacity:0;transform:scale(.02)}12%{opacity:1;transform:scale(.12)}20%{opacity:1;transform:scale(.35)}27%{opacity:1;transform:scale(.72)}34%{opacity:1;transform:scale(1.25)}36%{opacity:1;transform:scale(1.36)}39%,100%{opacity:0;transform:scale(1.55)}}
@keyframes assembly-shadow{0%,7%{opacity:0;transform:scale(.06)}34%{opacity:.7;transform:scale(1.15)}43%{opacity:.18;transform:scale(1.35)}48%{opacity:.4;transform:scale(1)}62%,100%{opacity:0;transform:scale(.7)}}
@keyframes assembly-shockwave{0%,35%{opacity:0;transform:scale(.5)}37%{opacity:.8;transform:scale(1)}49%,100%{opacity:0;transform:scale(3.2)}}
@keyframes assembly-fragments{0%,35%{opacity:0;transform:translate(0,0) scale(.3)}37%{opacity:1;transform:translate(0,0) scale(1)}42%{opacity:.95;transform:translate(calc(var(--bx) * var(--unit)),calc(var(--by) * var(--unit))) scale(.95)}47%{opacity:.75;transform:translate(calc(var(--tx) * var(--unit)),calc(var(--ty) * var(--unit))) scale(.6)}51%,100%{opacity:0;transform:translate(calc(var(--tx) * var(--unit)),calc(var(--ty) * var(--unit))) scale(0)}}
@keyframes assembly-monogram{0%,41%{opacity:0;transform:perspective(800px) scale(.3) rotateZ(-9deg)}47%,49%{opacity:1;transform:perspective(800px) scale(1) rotateZ(0deg)}57%{opacity:1;transform:perspective(800px) scale(1) rotateZ(360deg)}61%,100%{opacity:0;transform:perspective(800px) scale(.65) rotateZ(360deg)}}
@keyframes full-brand-emerge{0%,57%{opacity:0;transform:scale(.7)}62%,100%{opacity:1;transform:scale(1)}}
@keyframes word-unfold{0%,61%{max-width:0;opacity:0}64%{opacity:1}77%,100%{max-width:3.4em;opacity:1}}
@keyframes tagline-unfold{0%,74%{opacity:0;transform:translateY(10px)}83%,100%{opacity:1;transform:translateY(0)}}
@media(max-width:600px){.incoming-orb{width:calc(var(--orb-size) * .65);height:calc(var(--orb-size) * .65);margin:calc(var(--orb-size) * -.325)}}
@media(prefers-reduced-motion:reduce){.incoming-orbs,.intro-ball,.intro-shockwave,.intro-particles,.intro-floor-shadow{display:none}.brand-intro .intro-mark{opacity:0;animation:none!important}.intro-wordmark,.intro-tagline{opacity:1;transform:none;animation:none!important}.word-tail{max-width:3.4em;opacity:1;animation:none!important}}

/* Keep the word boundary clear; slide the white brand screen to the right. */
.intro-wordmark{column-gap:.09em;letter-spacing:0;font-size:clamp(26px,8.5vw,132px)}
.intro-word .word-tail{padding-right:.1em;margin-right:-.1em}
.intro-wordmark .logic-word{margin-left:0}
.intro-wordmark .intro-trademark{margin-left:-.7em}
.brand-intro{animation:intro-slide-open .8s cubic-bezier(.76,0,.24,1) 5s both}
.intro-brand-lockup{animation:brand-slide-right .8s cubic-bezier(.76,0,.24,1) 5s both}
.site-shell{animation:website-slide-right .8s cubic-bezier(.25,.7,.25,1) 5s both}
@keyframes intro-slide-open{0%{clip-path:inset(0 0 0 0);visibility:visible}100%{clip-path:inset(0 0 0 100%);visibility:hidden}}
@keyframes brand-slide-right{from{transform:translate(-50%,-50%)}to{transform:translate(calc(-50% + 100vw),-50%)}}
@keyframes website-slide-right{from{opacity:.3;transform:translateX(-5vw)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.intro-brand-lockup{animation:none!important;transform:translate(-50%,-50%)}.brand-intro{animation:intro-exit .01s linear 5s both!important}.site-shell{animation:site-enter .01s linear 5s both!important}}
.motion-paused .brand-intro,.motion-paused .site-shell{animation-play-state:running!important}
@media(prefers-reduced-motion:reduce){.intro-complete .brand-intro{visibility:hidden!important;opacity:0!important}.intro-complete .site-shell{visibility:visible!important;opacity:1!important;transform:none!important}}
