.heroSunlight{position:absolute;inset:0;z-index:1;overflow:hidden;pointer-events:none!important;contain:layout paint;opacity:0;transition:opacity 1.8s ease;isolation:isolate;--sun-fade:1;}
.heroSunlight.isActive{opacity:var(--sun-fade)}
.heroSunbeam{position:absolute;left:-16%;top:-22%;height:155%;width:54%;transform:rotate(-40deg);transform-origin:50% 0;background:linear-gradient(180deg,#ffe4a921,#ffd28a0d 55%,#ffd28a00),linear-gradient(90deg,transparent,#ffdf981a 37%,#ffdfa82b 50%,#ffdf9812 64%,transparent);filter:blur(12px);animation:heroRayBreathe 13s ease-in-out infinite alternate;animation-delay:calc(var(--ray)*-3s);mix-blend-mode:screen}
.heroSunbeam:nth-child(2){left:0%;width:24%;opacity:.65}.heroSunbeam:nth-child(3){left:19%;width:13%;opacity:.45}.heroSunbeam:nth-child(4){left:-25%;width:86%;opacity:.35}
.heroDust{position:absolute;left:var(--x);top:var(--y);width:var(--size);height:var(--size);border-radius:50%;background:#ffe7b5;box-shadow:0 0 4px #ffe9b366;opacity:0;animation:heroDustFloat var(--duration) var(--delay) ease-in-out infinite;}
.heroSunlight:not(.isActive) *{animation-play-state:paused}
@keyframes heroRayBreathe{from{transform:rotate(-40deg) translateX(-.5%);opacity:.38}to{transform:rotate(-38.5deg) translateX(1%);opacity:.72}}
@keyframes heroDustFloat{0%,100%{transform:translate3d(0,20px,0);opacity:0}18%{opacity:var(--alpha)}50%{transform:translate3d(var(--drift),-24px,0);opacity:calc(var(--alpha)*.65)}78%{opacity:var(--alpha)}98%{transform:translate3d(15px,-65px,0);opacity:0}}
@media(max-width:760px){.heroSunbeam{filter:blur(8px)}}
@media(prefers-reduced-motion:reduce){.heroSunlight{transition:none}.heroSunbeam{animation:none;opacity:.4}.heroDust{display:none}}

.heroSunbeam{mask-image:linear-gradient(to bottom,#000,#000a 55%,transparent)}.heroDustCentral{background:#ffe5ae;box-shadow:0 0 3px #ffdc9b66}

/* Safari touch: separate the overlay from the camera/shade compositing layer. */
@supports (-webkit-touch-callout:none){
 .heroSunlight{z-index:3;contain:none;isolation:auto;-webkit-transform:translateZ(0);transform:translateZ(0)}
 .heroSunbeam{-webkit-mask-image:linear-gradient(to bottom,#000,#000a 55%,transparent)}
}
