/*
 * Homepage hero presentation inspired by the wide, immersive Feetures masthead.
 * Kept separate from the global bundle so non-home banners and headers retain
 * their existing behaviour.
 */

body.home {
  --home-header-ink: #ffffff;
  --home-hero-height: clamp(620px, 35.2vw, 920px);
}

body.home header.main-header .announcement-bar {
  position: relative;
  isolation: isolate;
}

body.home header.main-header .announcement-bar::before,
body.home header.main-header .announcement-bar::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.72);
  border-right: 1px solid rgba(255, 255, 255, 0.72);
}

body.home header.main-header .announcement-bar::before {
  left: 22%;
  transform: translateY(-50%) rotate(-135deg);
}

body.home header.main-header .announcement-bar::after {
  right: 22%;
  transform: translateY(-50%) rotate(45deg);
}

body.home .hero-section {
  position: relative;
  width: 100%;
  margin: 0 0 clamp(36px, 3vw, 56px);
  overflow: hidden;
  background: #090b0f;
}

body.home .hero-section .slide_hero_banner,
body.home .hero-section .swiper-wrapper,
body.home .hero-section .swiper-slide,
body.home .hero-section .hero-image,
body.home .hero-section .hero-image picture {
  display: block;
  width: 100%;
  height: var(--home-hero-height);
}

/* Swiper lays slides out horizontally; do not let the generic block rule stack them. */
body.home .hero-section .swiper-wrapper {
  display: flex;
}

body.home .hero-section .swiper-slide {
  position: relative;
  overflow: hidden;
  background: #090b0f;
}

body.home .hero-section .swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.18) 0%,
    rgba(0, 0, 0, 0.25) 100%
  );
}

body.home .hero-section .hero-image {
  border-radius: 0;
}

body.home .hero-section .hero-slide-image {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.001);
  transition: transform 8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

body.home .hero-section .swiper-slide-active .hero-slide-image {
  transform: scale(1.035);
}

body.home .hero-section .hero-slide-link {
  z-index: 3;
}

body.home .hero-section .hero-content-wrapper {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 96px clamp(24px, 5vw, 96px) 36px;
  text-align: center;
  pointer-events: none;
}

body.home .hero-section .hero-content {
  width: min(100%, 930px);
}

body.home .hero-section .hero-title {
  max-width: 900px;
  margin: 0 auto 16px;
  color: #ffffff;
  font-family: "Montserrat", "SVN-Futura", sans-serif !important;
  font-size: clamp(64px, 5.8vw, 112px) !important;
  font-weight: 700 !important;
  line-height: 0.88 !important;
  letter-spacing: -0.045em !important;
  white-space: normal !important;
  text-wrap: balance;
  text-shadow: none;
}

body.home .hero-section .hero-description {
  max-width: 680px;
  margin: 0 auto 24px;
  color: #ffffff;
  font-family: "Montserrat", "SVN-Futura", sans-serif !important;
  font-size: clamp(15px, 1vw, 18px) !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  text-shadow: none;
}

body.home .hero-section .hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  pointer-events: auto;
}

body.home .hero-section .hero-cta-button,
body.home .hero-section .hero-cta-button.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(180px, 14vw, 224px);
  min-height: 44px;
  padding: 10px 28px;
  border: 1px solid #ffffff;
  border-radius: 999px;
  background: #ffffff;
  color: #0a0a0a;
  font-family: "Montserrat", "SVN-Futura", sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

body.home .hero-section .hero-cta-button:hover,
body.home .hero-section .hero-cta-button:focus-visible {
  background: #0a0a0a;
  border-color: #0a0a0a;
  color: #ffffff;
  transform: translateY(-2px);
}

body.home .hero-section .hero-banner-arrow {
  display: none;
}

body.home .hero-section .hero-banner-pagination {
  position: absolute;
  left: 50%;
  bottom: 20px !important;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: auto;
  transform: translateX(-50%);
}

body.home .hero-section .hero-banner-pagination .swiper-pagination-bullet {
  width: 36px;
  height: 3px;
  margin: 0 !important;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  opacity: 1;
  transition: width 180ms ease, background-color 180ms ease;
}

body.home .hero-section .hero-banner-pagination .swiper-pagination-bullet-active {
  width: 58px;
  background: #ffffff !important;
}

@media (max-width: 1024px) {
  body.home {
    --home-hero-height: clamp(620px, 72vw, 760px);
  }

  body.home .hero-section .hero-content-wrapper {
    padding-top: 96px;
  }
}

@media (max-width: 768px) {
  body.home {
    /* Preserve the 672 × 981 artwork and reserve room for the overlay header. */
    --home-hero-height: clamp(540px, calc(145.98vw + 72px), 752px);
  }

  body.home .hero-section {
    margin-bottom: 34px;
  }

  body.home .hero-section .swiper-slide {
    background: #073aa2;
  }

  body.home .hero-section .hero-image picture {
    height: calc(var(--home-hero-height) - 72px);
    transform: translateY(72px);
  }

  body.home .hero-section .hero-content-wrapper {
    align-items: flex-end;
    padding: 120px 20px 62px;
  }

  body.home .hero-section .hero-title {
    margin-bottom: 10px;
    font-size: clamp(42px, 12vw, 62px) !important;
    line-height: 0.98 !important;
  }

  body.home .hero-section .hero-description {
    margin-bottom: 20px;
    font-size: 15px !important;
  }

  body.home .hero-section .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  body.home .hero-section .hero-cta-button,
  body.home .hero-section .hero-cta-button.button-primary {
    width: min(100%, 330px);
    min-height: 46px;
    font-size: 14px !important;
  }

  body.home .hero-section .hero-banner-pagination {
    bottom: 16px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home .hero-section .hero-slide-image,
  body.home .hero-section .hero-cta-button,
  body.home header.main-header,
  body.home header.main-header .header-container {
    transition: none !important;
  }

  body.home .hero-section .swiper-slide-active .hero-slide-image {
    transform: none;
  }
}
