/* ÆSIR / Kinetic universe – public presentation only
 * Decorative effects. Never modifies protected dashboards, CRM data, or backend authority.
 */
:root{--ae-orbit-glow:rgba(140,241,176,.23);--ae-pointer-x:50%;--ae-pointer-y:25%}
html{scroll-behavior:smooth;overflow-x:clip}
body.aesir-ux-enhanced{overflow-x:clip;-webkit-font-smoothing:antialiased}
body.aesir-ux-enhanced::after{content:"";position:fixed;inset:0;pointer-events:none;z-index:0;background:radial-gradient(ellipse 420px 320px at var(--ae-pointer-x) var(--ae-pointer-y),var(--ae-orbit-glow),transparent 88%);opacity:.22;transition:opacity .3s ease}
body.aesir-ux-enhanced :is(header,main,footer){isolation:isolate}
body.aesir-ux-enhanced :is(a,button,input,select,textarea):focus-visible{outline:2px solid #c1f6af;outline-offset:3px}
body.aesir-ux-enhanced :is(a,button){-webkit-tap-highlight-color:transparent}
body.aesir-ux-enhanced :is(.node,.tile,.book,.cash-proof__grid>a,.ae-universe-card,.creative-storyboard__grid>div,.course-card,.aesir-course-card){transition:transform .5s cubic-bezier(.2,.8,.2,1),box-shadow .5s ease,border-color .4s ease,filter .5s ease}
@media(hover:hover){body.aesir-ux-enhanced :is(.node,.tile,.book,.ae-universe-card,.creative-storyboard__grid>div,.aesir-course-card):hover{transform:translateY(-7px);box-shadow:0 24px 80px #0008,0 0 38px var(--ae-orbit-glow);filter:saturate(1.06)}}
html[data-aesir-kinetic="on"] body.aesir-ux-enhanced [data-aesir-reveal]:not(.ae-reveal-on){opacity:0;transform:translate3d(0,26px,0)}
body.aesir-ux-enhanced [data-aesir-reveal]{transition:opacity .7s ease,transform .8s cubic-bezier(.17,.8,.2,1)}
body.aesir-ux-enhanced [data-aesir-reveal].ae-reveal-on{opacity:1;transform:translate3d(0,0,0)}
/* One direct route through all publicly described divisions */
.ae-universe-direct{border-top:1px solid #91dbaa38;border-bottom:1px solid #91dbaa38;margin:34px 0 48px;padding:25px 0 27px;position:relative;z-index:1}
.ae-universe-direct__eyebrow{display:flex;align-items:center;gap:12px;font:800 10px/1.6 ui-monospace,Consolas,monospace;letter-spacing:.16em;color:#b7f5bb;margin-bottom:16px}
.ae-universe-direct__eyebrow::before{content:"";width:19px;height:1px;background:#b7f5bb}
.ae-universe-direct__grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.ae-universe-card{position:relative;min-width:0;min-height:160px;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;gap:12px;border:1px solid #b4e0bf35;background:linear-gradient(135deg,#11251b,#07100c);padding:19px 16px;border-radius:17px;color:#f3fff8;text-decoration:none}
.ae-universe-card:nth-child(2){background:linear-gradient(135deg,#261930,#0f0c1c);border-color:#bc94ea40}
.ae-universe-card:nth-child(3){background:linear-gradient(135deg,#372519,#151008);border-color:#e8bd8a48}
.ae-universe-card:nth-child(4){background:linear-gradient(135deg,#1a2a1b,#071509);border-color:#a3e5a940}
.ae-universe-card:nth-child(5){background:linear-gradient(135deg,#1a243a,#0d1221);border-color:#8ab4ff42}
.ae-universe-card::before{content:"";position:absolute;right:-62px;top:-64px;width:155px;height:155px;border-radius:50%;border:1px solid currentColor;opacity:.14;box-shadow:0 0 0 18px #ffffff05,0 0 0 40px #ffffff05}
.ae-universe-card small{position:relative;z-index:1;color:#b6ddc7;font:800 9px ui-monospace,monospace;letter-spacing:.13em}
.ae-universe-card strong{position:relative;z-index:1;display:block;font-size:clamp(15px,1.5vw,21px);letter-spacing:-.04em}
.ae-universe-card span{position:relative;z-index:1;display:block;font-size:11px;line-height:1.55;color:#bed0c2}
.ae-universe-card b{position:absolute;right:12px;bottom:10px;font-size:18px;color:#d4f8da}
@media(max-width:1080px){.ae-universe-direct__grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.ae-universe-direct__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ae-universe-card{min-height:155px;padding:15px}.ae-universe-card strong{font-size:18px}.ae-universe-card:nth-child(5){grid-column:span 2}.ae-universe-direct{margin-top:25px}}
/* Social.IA gets its own creative-storyboard console, not a duplicate Cash visual */
body.social{--ae-orbit-glow:rgba(182,130,255,.32)}
body.social .hero h1{font-size:clamp(51px,7vw,109px)}
body.social .hero h1 em{color:#d8b3ff;font-style:normal}
body.social .ae-studio{position:relative;min-height:405px;padding:22px;border:1px solid #b68fff72;border-radius:26px;background:radial-gradient(ellipse at 72% 19%,#8b47ca50,#151022 43%,#080914 85%);box-shadow:0 30px 95px #000a,0 0 75px #7f4acc17;isolation:isolate;overflow:hidden}
.ae-studio-orbit{position:absolute;width:75%;aspect-ratio:1;top:50%;left:56%;border:1px solid #d1a8fb69;border-radius:50%;transform:translate(-50%,-50%) rotateX(65deg) rotateZ(-20deg);box-shadow:0 0 0 35px #bb76fd0b,0 0 0 85px #bb76fd07;animation:ae-spin-studio 21s linear infinite;pointer-events:none}
@keyframes ae-spin-studio{to{transform:translate(-50%,-50%) rotateX(65deg) rotateZ(340deg)}}
.ae-studio-head,.ae-studio-foot{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;font:800 10px ui-monospace,monospace;letter-spacing:.1em;color:#cbb8e8}
.ae-studio-head span:first-child{color:#dfc3fc}
.ae-studio-stepper{position:relative;z-index:2;margin:35px auto 15px;max-width:560px;padding:25px;border:1px solid #d0a9ff66;border-radius:21px;background:linear-gradient(150deg,#20142edc,#0b0c18e8);backdrop-filter:blur(14px);box-shadow:0 15px 55px #0008}
.ae-studio-stepper small{display:block;font:800 10px ui-monospace,monospace;letter-spacing:.12em;color:#ba9be5}
.ae-studio-stepper strong{display:block;margin:17px 0 12px;font-size:clamp(37px,4vw,60px);letter-spacing:-.07em;color:#f7f1ff}
.ae-studio-stepper p{font-size:13px;line-height:1.8;color:#b4aac5;min-height:47px;margin:0}
.ae-studio-steps{position:relative;z-index:2;display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:18px}
.ae-studio-steps button{min-height:41px;padding:10px 4px;background:#ad7aff0e;border:1px solid #cb94ff45;border-radius:10px;color:#c9b4dc;font:800 10px ui-monospace,monospace;cursor:pointer}
.ae-studio-steps button[aria-pressed="true"]{background:#d5b2ff;color:#1f092e;border-color:#d5b2ff;box-shadow:0 0 24px #9d65d653}
.ae-studio-foot{margin-top:20px;line-height:1.4;font-size:8px;color:#b8a5cb}
body.social .ae-studio a{color:#e0c9fa}
@media(max-width:650px){body.social .ae-studio{min-height:440px;padding:14px}.ae-studio-stepper{margin-top:30px;padding:19px}.ae-studio-steps{grid-template-columns:repeat(2,1fr)}}
/* Public catalogue, editorials and devices each retain original technology and controls */
body.aesir-ux-enhanced .visual,
body.aesir-ux-enhanced .knowledge-hero,
body.aesir-ux-enhanced .knowledge-banner{transform-style:preserve-3d}
body.aesir-ux-enhanced .knowledge-hero{box-shadow:0 30px 110px #0009,0 0 56px rgba(220,178,104,.09)}
body.aesir-ux-enhanced .heroStats{position:relative;z-index:1}
body.aesir-ux-enhanced .heroStats:before{content:"";position:absolute;inset:-15px;z-index:-1;pointer-events:none;border-radius:20px;background:radial-gradient(ellipse at 80% 50%,rgba(117,240,159,.13),transparent 68%)}
body.aesir-ux-enhanced :is(.hero h1,.intro h1,.display){text-wrap:balance}
body.aesir-ux-enhanced .navlinks a,
body.aesir-ux-enhanced .links a{transition:color .2s,background .25s,transform .25s}
body.aesir-ux-enhanced .navlinks a:hover,
body.aesir-ux-enhanced .links a:hover{color:#e9ffdf;transform:translateY(-2px)}
/* Smarter public support / builder hero typography, no fake status widgets */
body[data-aesir-page="builder"].aesir-ux-enhanced .builder h1,
body[data-aesir-page="support"].aesir-ux-enhanced .hero h1{letter-spacing:-.075em}
body[data-aesir-page="builder"].aesir-ux-enhanced .builder{isolation:isolate}
body[data-aesir-page="builder"].aesir-ux-enhanced .brief{box-shadow:0 35px 110px #0008,0 0 70px rgba(155,244,111,.08)}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto}
 body.aesir-ux-enhanced [data-aesir-reveal]{opacity:1!important;transform:none!important;transition:none!important}
 body.aesir-ux-enhanced .ae-studio-orbit{animation:none}
 body.aesir-ux-enhanced :is(.node,.tile,.book,.ae-universe-card){transition:none}
 body.aesir-ux-enhanced::after{display:none}
}
