.studio-hero__media.hero-carousel::after { display: none; }
.hero-carousel__slide { position: absolute; inset: 0; margin: 0; opacity: 0; pointer-events: none; transition: opacity .7s ease; }
.hero-carousel__slide.is-active { z-index: 1; opacity: 1; pointer-events: auto; }
.hero-carousel__slide::after { content: ""; position: absolute; inset: 34% 0 0; background: linear-gradient(0deg, rgba(7,31,52,.77), transparent); pointer-events: none; }
.studio-hero__media .hero-carousel__slide > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-carousel.is-ready .hero-carousel__slide figcaption { opacity: 0; transition: opacity .16s ease; }
.hero-carousel.is-ready .hero-carousel__slide.is-active figcaption { opacity: 1; transition-delay: .42s; }
.hero-carousel.is-ready .hero-carousel__slide.is-active > img { animation: hero-carousel-zoom 4.8s ease-out both; }
.hero-carousel.is-paused .hero-carousel__slide.is-active > img { animation-play-state: paused; }
@keyframes hero-carousel-zoom { from { transform: scale(1); } to { transform: scale(1.035); } }
.studio-hero__media .hero-carousel__slide figcaption { right: 240px; }
.hero-carousel__controls { position: absolute; z-index: 3; right: 25px; bottom: 17px; display: flex; align-items: center; gap: 11px; }
.hero-carousel__controls[hidden] { display: none; }
.hero-carousel__dots { display: flex; align-items: center; gap: 2px; }
.hero-carousel__dot { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.hero-carousel__dot > span { position: relative; display: block; width: 25px; height: 3px; overflow: hidden; border-radius: 3px; background: rgba(255,255,255,.48); }
.hero-carousel__dot > span::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left center; }
.hero-carousel.is-ready .hero-carousel__dot.is-active > span::after { animation: hero-carousel-progress 4s linear forwards; }
.hero-carousel.is-paused .hero-carousel__dot.is-active > span::after { animation-play-state: paused; }
@keyframes hero-carousel-progress { to { transform: scaleX(1); } }
.hero-carousel__toggle { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid rgba(255,255,255,.57); border-radius: 50%; background: rgba(9,31,52,.2); color: #fff; cursor: pointer; backdrop-filter: blur(5px); }
.hero-carousel__toggle::before { content: "Ⅱ"; font-size: 16px; font-weight: 700; line-height: 1; transform: translateY(-1px); }
.hero-carousel__toggle.is-paused::before { content: "▶"; font-size: 12px; transform: translateX(1px); }
.hero-carousel__dot:focus-visible, .hero-carousel__toggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 767px) {
  .studio-hero__media .hero-carousel__slide figcaption { left: 20px; right: 18px; bottom: 57px; display: block; }
  .studio-hero__media .hero-carousel__slide figcaption strong { display: block; width: auto; font-size: 15px; }
  .studio-hero__media .hero-carousel__slide figcaption span { display: block; margin-top: 7px; font-size: 10px; }
  .hero-carousel__controls { right: 13px; bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-carousel__slide { transition: none; }
  .hero-carousel.is-ready .hero-carousel__slide figcaption { transition: none; }
  .hero-carousel.is-ready .hero-carousel__slide.is-active > img,
  .hero-carousel.is-ready .hero-carousel__dot.is-active > span::after { animation: none; }
  .hero-carousel__dot.is-active > span { background: #fff; }
}
