/* RASAS ONE page: the R ONE orb in the hero, the same way the RASAS AI page shows its orb (2026-11-09 preview).
   Builds on styles.css + one5.css; loaded only by one.html. The screens scene (laptop, window, phone) stays in the hero, under the copy and the orb. */
.one-stage{position:relative;width:100%;max-width:540px;aspect-ratio:1;justify-self:center;isolation:isolate;touch-action:pan-y;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
.one-stage::before{content:"";position:absolute;inset:12%;border-radius:50%;background:radial-gradient(closest-side,rgba(230,199,122,.24),rgba(201,162,77,.08) 60%,transparent);z-index:-1}
.one-orb{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;transition:opacity .8s ease;-webkit-user-drag:none;pointer-events:none}
.fx-on .one-stage:not(.rai-live) .one-orb{animation:oneOrbFloat 7s ease-in-out infinite}
/* live 3D orb (rai3d.js, the same engine as /rasas-ai, with the R ONE mark): canvas fades in, the still picture fades out */
.one-stage .rai-canvas{position:absolute;inset:0;width:100%;height:100%;opacity:0;transition:opacity .9s ease}
.one-stage.rai-live .rai-canvas{opacity:1}.one-stage.rai-live .one-orb{opacity:0}
@media (pointer:fine){.one-stage.rai-live{cursor:grab}.one-stage.rai-live:active{cursor:grabbing}}
.fx-on .one-stage::before{animation:oneOrbGlow 7s ease-in-out infinite}
@keyframes oneOrbFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@keyframes oneOrbGlow{0%,100%{opacity:.85}50%{opacity:1}}
.one-hero-grid>.one-hero-media{grid-column:1/-1}
@media (max-width:999px){.one5 .one-hero{padding-top:18px}.one-hero-grid:has(.one-stage){gap:8px}.one-stage{order:-1;max-width:min(290px,76vw);margin-bottom:-6px}.one-hero-grid>.one-hero-media{margin-top:28px}}
@media (min-width:1000px){.one-hero-grid:has(.one-stage){grid-template-columns:1fr 1fr}.one-hero-grid:has(.one-stage) .one-title{white-space:nowrap;font-size:clamp(52px,5vw,76px)}html[lang="ar"] .one-hero-grid:has(.one-stage) .one-title{font-size:clamp(48px,4.6vw,70px)}.one-hero-grid>.one-hero-media{max-width:820px;margin-top:8px}}
@media (prefers-reduced-motion:reduce){.one-orb,.one-stage::before{animation:none!important}}
