/* FATED A.O.G. 7.7.0 — homepage hero: visible image transitions.
   Why 7.6.0 showed none: three rules set transition-duration:.01ms!important under
   prefers-reduced-motion, the script switched autoplay off, and the hidden slides were lazy-loaded
   (blank at the moment of the fade). ID selectors below out-rank those "*" rules. */
#heroBgCarousel{--faog-fade:1.3s}
#heroBgCarousel .carousel-item{transition-property:opacity!important;transition-duration:var(--faog-fade)!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;background:#080a0d}
#heroBgCarousel .carousel-item.active.carousel-item-start,
#heroBgCarousel .carousel-item.active.carousel-item-end{transition:opacity 0s var(--faog-fade)!important}

/* Slow settle on the incoming image. Uses the individual "scale" property so the theme's
   transform:none!important rules cannot cancel it. */
@media (prefers-reduced-motion:no-preference){
  #heroBgCarousel .carousel-item.active img,
  #heroBgCarousel .carousel-item-next img{animation:faog-hero-settle 9s cubic-bezier(.2,.6,.2,1) both;transform-origin:50% 45%;will-change:scale}
}
@keyframes faog-hero-settle{from{scale:1.07}to{scale:1}}

/* Reduced motion: keep a gentle cross-fade (opacity only, no scale, no parallax, no autoplay) */
@media (prefers-reduced-motion:reduce){
  #heroBgCarousel{--faog-fade:.8s}
  #heroBgCarousel .carousel-item img{animation:none!important}
}

/* Pause / play + progress (WCAG 2.2.2: moving content that lasts over 5s needs a pause control) */
.faog-hero-controls{position:absolute;left:clamp(16px,3vw,40px);bottom:clamp(16px,3vw,34px);z-index:6;display:flex;align-items:center;gap:12px}
.faog-hero-toggle{width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.35);background:rgba(18,22,28,.55);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);color:#fff;display:grid;place-items:center;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.faog-hero-toggle:hover{border-color:#4db8ff}
.faog-hero-toggle:focus-visible{outline:none;border-color:#4db8ff;box-shadow:0 0 0 1px rgba(77,184,255,.6),0 0 18px rgba(77,184,255,.35)}
.faog-hero-toggle svg{width:16px;height:16px;fill:currentColor}
.faog-hero-toggle .i-play{display:none}.faog-hero-toggle[aria-pressed=true] .i-play{display:block}.faog-hero-toggle[aria-pressed=true] .i-pause{display:none}
.faog-hero-progress{width:clamp(70px,12vw,150px);height:3px;border-radius:2px;background:rgba(255,255,255,.22);overflow:hidden}
.faog-hero-progress i{display:block;height:100%;width:100%;background:#4db8ff;transform:scaleX(0);transform-origin:0 50%;box-shadow:0 0 10px rgba(77,184,255,.7)}
.faog-hero-progress.is-running i{animation:faog-hero-progress var(--faog-dwell,6500ms) linear forwards}
@keyframes faog-hero-progress{to{transform:scaleX(1)}}
@media (prefers-reduced-motion:reduce){.faog-hero-progress.is-running i{animation:none!important;transform:scaleX(0)}}
@media(max-width:640px){.faog-hero-controls{bottom:12px}.faog-hero-progress{display:none}}
