/* WEAVER v9.5 — Cinematic optical hero layer.
   Scope: visual asset inside .hero-art only. v9.0 copy, grid, captions, stage timeline, CTA untouched. */

.hero-cine{position:absolute;left:50%;top:50%;height:104%;aspect-ratio:1/1;width:auto;transform:translate(-50%,-50%);
  z-index:1;pointer-events:none;opacity:0;transition:opacity 1.2s cubic-bezier(.2,.7,.2,1);
  -webkit-mask-image:radial-gradient(circle closest-side at 50% 50%,#000 76%,rgba(0,0,0,.55) 89%,transparent 100%);
          mask-image:radial-gradient(circle closest-side at 50% 50%,#000 76%,rgba(0,0,0,.55) 89%,transparent 100%)}
.hero-cine.is-ready{opacity:1}
.hero-cine-canvas,.hero-cine-loop{position:absolute;inset:0;width:100%;height:100%;display:block}
.hero-cine-canvas{animation:weaverCineFloat 13s ease-in-out infinite;will-change:transform}
.hero-cine-loop{object-fit:cover;opacity:0;transition:opacity .95s ease;background:transparent}
.hero-cine.is-looping .hero-cine-loop{opacity:1}
@keyframes weaverCineFloat{0%,100%{transform:translate3d(0,0,0) rotate(0deg) scale(1)}
  50%{transform:translate3d(0,-5px,0) rotate(.35deg) scale(1.008)}}

/* The approved v9.0 Canvas sculpture and SVG remain in the DOM as fallback; hidden while the film runs. */
html.weaver-v95-cine .hero-art .weaver-living-3d,
html.weaver-v95-cine .hero-art .sculpt-svg,
html.weaver-v95-cine .hero-art .hero-lightplate,
html.weaver-v95-cine .hero-art .hero-refraction,
html.weaver-v95-cine .hero-art .art-orbit{opacity:0!important;visibility:hidden!important}
html.weaver-v95-cine .hero-art{opacity:1!important;visibility:visible!important;filter:none!important}
html.weaver-v95-cine .hero-art::before{opacity:.42!important;filter:blur(56px)!important;animation:none!important}
html.weaver-v95-cine .hero-art .art-caption{z-index:6}

/* Mobile / tablet portrait: the sphere sits in the upper-right field, fading toward the copy. */
@media(max-width:850px){
  html.weaver-v95-cine .hero-art{position:absolute!important;left:auto!important;right:-24vw!important;top:56px!important;
    width:min(104vw,560px)!important;height:min(104vw,560px)!important;min-height:0!important;margin:0!important;
    opacity:.9!important;transform:none!important;z-index:0;
    -webkit-mask-image:linear-gradient(200deg,#000 38%,rgba(0,0,0,.62) 62%,rgba(0,0,0,.18) 86%)!important;
            mask-image:linear-gradient(200deg,#000 38%,rgba(0,0,0,.62) 62%,rgba(0,0,0,.18) 86%)!important}
  html.weaver-v95-cine .hero-cine{height:100%}
  html.weaver-v95-cine .hero-copy{position:relative;z-index:2}
  html.weaver-v95-cine .hero h1,html.weaver-v95-cine .hero-lead,html.weaver-v95-cine .hero-index{text-shadow:0 1px 22px rgba(4,22,18,.62)}
}
@media(max-width:540px){
  html.weaver-v95-cine .hero-art{right:-27vw!important;top:-2px!important;width:98vw!important;height:98vw!important}
}
@media(max-width:540px) and (max-height:700px){
  html.weaver-v95-cine .hero-art{top:-26px!important;width:88vw!important;height:88vw!important;right:-25vw!important}
}

/* Accessibility: no ambient float, no loop; the scrubbed frame follows scroll directly. */
@media(prefers-reduced-motion:reduce){.hero-cine-canvas{animation:none}.hero-cine-loop{display:none}}
html.weaver-motion-off .hero-cine-canvas{animation:none}
html.weaver-motion-off .hero-cine-loop{opacity:0!important}
/* v9.6.1 — the core-less sphere keeps turning after the orb has left */
.hero-cine-loop--released{opacity:0;transition:opacity .95s ease}
.hero-cine.is-looping-released .hero-cine-loop--released{opacity:1}
html.weaver-motion-off .hero-cine-loop--released{opacity:0!important}
@media(prefers-reduced-motion:reduce){.hero-cine-loop--released{display:none}}
.hero-cine:not(.is-looping-released) .hero-cine-loop--released{opacity:0!important}
/* v9.7.6 floating idle (before the first scroll) */
.hero-cine-loop--start{opacity:0;transition:opacity .55s ease}
.hero-cine.is-floating .hero-cine-loop--start{opacity:1}
.hero-cine:not(.is-floating) .hero-cine-loop--start{opacity:0!important}
html.weaver-motion-off .hero-cine-loop--start{opacity:0!important}
@media(prefers-reduced-motion:reduce){.hero-cine-loop--start{display:none}}
