/* Cinematic background: three existing photographs, one seamless 24s cycle. */
.hero{overflow:hidden}
.hero-background{position:absolute;inset:0;z-index:-3;overflow:hidden;pointer-events:none;background:#101114}
.hero-background .hero-slide{position:absolute;inset:0;width:100%;height:100%;opacity:0;object-fit:cover;transform:scale(1.025);transform-origin:70% 50%}
.hero-background .hero-slide:first-child{opacity:1}
.hero-motion-ready .hero-slide{animation:hero-scene 24s linear infinite both}
.hero-motion-ready .hero-slide:nth-child(1){animation-delay:-2s}
.hero-motion-ready .hero-slide:nth-child(2){animation-delay:-18s}
.hero-motion-ready .hero-slide:nth-child(3){animation-delay:-10s}
.hero-glow{position:absolute;inset:-12%;z-index:-1;pointer-events:none;opacity:.45;background:radial-gradient(ellipse at 82% 65%,#ef24472b,transparent 48%),radial-gradient(ellipse at 26% 18%,#446e9b24,transparent 50%)}
.hero-motion-ready .hero-glow{animation:hero-light 12s ease-in-out infinite alternate}
.hero-motion-paused .hero-slide,.hero-motion-paused .hero-glow{animation-play-state:paused}
.motion-toggle{position:absolute;top:22px;right:48px;z-index:2;display:inline-flex;align-items:center;gap:9px;min-height:36px;padding:7px 12px;border:1px solid #ffffff38;border-radius:2px;background:#101114b8;color:#dedee5;font-size:10px;letter-spacing:.4px;cursor:pointer;transition:background .25s,border-color .25s}
.motion-toggle[hidden]{display:none}
.motion-toggle:hover{background:#202127;border-color:#ef2447}
.motion-toggle>span:first-child{font-size:14px;line-height:1}
@keyframes hero-scene{0%{opacity:0;transform:scale(1.025) translate3d(0,0,0)}8.333%{opacity:1}33.333%{opacity:1}41.667%{opacity:0;transform:scale(1.105) translate3d(-.8%,0,0)}100%{opacity:0;transform:scale(1.105) translate3d(-.8%,0,0)}}
@keyframes hero-light{from{opacity:.3;transform:translate3d(-2%,1%,0) scale(1)}to{opacity:.65;transform:translate3d(3%,-2%,0) scale(1.08)}}
@media(max-width:1000px){.motion-toggle{right:24px}}
@media(max-width:760px){.motion-toggle{top:16px;font-size:9px}.hero-background .hero-slide{transform-origin:75% center}}
@media(prefers-reduced-motion:reduce){.hero-motion-ready .hero-slide,.hero-motion-ready .hero-glow{animation:none!important}.hero-background .hero-slide{opacity:0;transform:none}.hero-background .hero-slide:first-child{opacity:1}.motion-toggle{display:none}}

/* Keep the existing mobile photo above the original text and calls to action. */
.hero-background .hero-slide{object-position:center 63%}
@media(max-width:760px){.hero-background{position:relative;inset:auto;width:100%;height:290px;flex:none;z-index:0}.hero-background .hero-slide{object-position:75% 65%}.hero-shade{z-index:1}.hero-glow{inset:0 0 auto;height:290px;z-index:1}.hero-content{z-index:2}.motion-toggle{z-index:3}}
