/* AIM 3D layer for the subpages: added on top of style.css / v2.css / aim.css, no branding changes */
:root{--aim-orange:#F26522;--aim-expo:cubic-bezier(.16,1,.3,1)}

/* WebGL hero scene sits behind all content; sections with a background cover it */
.aim3d-stage{position:fixed;inset:0;width:100vw;height:100vh;z-index:-1;pointer-events:none}
.page-hero{min-height:clamp(480px,68vh,720px);display:flex;align-items:center}

/* headline letters flip in */
.aim-w{display:inline-block;white-space:nowrap;perspective:600px}
.aim-ch{display:inline-block;transform-origin:50% 100%;animation:aimCh 1.1s var(--aim-expo) both;animation-delay:calc(var(--i) * 24ms + .12s)}
@keyframes aimCh{from{opacity:0;transform:translateY(.55em) rotateX(-80deg)}}
.page-hero .eyebrow,.page-hero .intro,.page-hero .button{animation:aimUp 1.1s var(--aim-expo) both}
.page-hero .intro{animation-delay:.35s}
.page-hero .button{animation-delay:.5s}
@keyframes aimUp{from{opacity:0;transform:translateY(22px)}}

/* card tilt + glare (uses the individual rotate property so it never fights the site's reveal transform) */
.business-rows,.ecosystem-list,.application-grid,.role-grid,.team-grid,.contact-layout,.cooperation-list{perspective:1200px}
.aim-tilt{position:relative;transition:rotate .6s var(--aim-expo),box-shadow .6s var(--aim-expo)}
.aim-tilt::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity .4s;
  background:radial-gradient(420px circle at var(--mx,50%) var(--my,50%),rgba(242,101,34,.13),transparent 45%)}
.aim-tilt:hover{box-shadow:0 50px 80px -45px rgba(23,23,23,.35)}
.aim-tilt:hover::after{opacity:1}
.cooperation-row.aim-tilt:hover{box-shadow:none}

/* magnetic buttons */
.button{transition:translate .5s var(--aim-expo)}

/* orange wave in the dark contact band */
.contact-band{position:relative;overflow:hidden;isolation:isolate}
.aim3d-wave{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none;display:block}

.aim-cursor{position:fixed;left:0;top:0;width:34px;height:34px;margin:-17px 0 0 -17px;border:1.5px solid var(--aim-orange);border-radius:50%;
  pointer-events:none;z-index:9999;opacity:0;transition:width .35s var(--aim-expo),height .35s var(--aim-expo),margin .35s var(--aim-expo),background .35s,opacity .3s}
.aim-cursor.big{width:70px;height:70px;margin:-35px 0 0 -35px;background:rgba(242,101,34,.12)}

@media (prefers-reduced-motion:reduce){
  .aim-ch,.page-hero .eyebrow,.page-hero .intro,.page-hero .button{animation:none}
}
@media (max-width:760px){
  .page-hero{min-height:clamp(420px,62vh,560px)}
}
