/* Homepage hero only: restore the operational clip carousel without touching
   the product story or any later section. */
html body.home-page .hero {
  position: relative !important;
  width: 100% !important;
  max-width: none !important;
  min-height: max(700px, calc(100svh - 82px)) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  color: #fff !important;
  background: #080b0d !important;
}

html body.home-page .hero-video,
html body.home-page .hero-video.is-active,
html body.home-page .hero-video.is-static,
html body.home-page .hero-video-next {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  background: #080b0d !important;
  opacity: 0 !important;
  transform: scale(1.018) !important;
  transition: opacity 900ms ease, transform 1200ms ease !important;
  z-index: 1 !important;
}

html body.home-page .hero-video.is-active {
  opacity: 1 !important;
  transform: scale(1) !important;
}

html body.home-page .hero-overlay {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  background:
    linear-gradient(90deg, rgba(4, 7, 9, 0.9) 0%, rgba(4, 7, 9, 0.72) 34%, rgba(4, 7, 9, 0.18) 66%, rgba(4, 7, 9, 0.18) 100%),
    linear-gradient(180deg, rgba(4, 7, 9, 0.18) 0%, rgba(4, 7, 9, 0.04) 52%, rgba(4, 7, 9, 0.52) 100%) !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

html body.home-page .hero-grid {
  position: relative !important;
  z-index: 3 !important;
  display: grid !important;
  align-items: center !important;
  width: min(100% - 96px, 1440px) !important;
  min-height: max(700px, calc(100svh - 82px)) !important;
  margin: 0 auto !important;
  padding: 46px 0 !important;
}

html body.home-page .hero-copy {
  width: min(620px, 48vw) !important;
  max-width: 620px !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  color: #fff !important;
}

html body.home-page .hero-copy h1 {
  max-width: 620px !important;
  margin: 0 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: clamp(46px, 4.25vw, 68px) !important;
  line-height: 1.02 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  text-wrap: balance;
}

html body.home-page .hero-copy > p.hero-result:not(.eyebrow) {
  max-width: 590px !important;
  margin: 24px 0 0 !important;
  color: rgba(255, 255, 255, 0.92) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.92) !important;
  font-size: 19px !important;
  line-height: 1.55 !important;
  text-align: left !important;
}

html body.home-page .hero-copy > p.hero-audience:not(.eyebrow) {
  max-width: 560px !important;
  margin: 12px 0 0 !important;
  color: rgba(255, 255, 255, 0.7) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.7) !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
  text-align: left !important;
}

html body.home-page .hero-actions {
  display: flex !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  margin: 28px 0 0 !important;
}

html body.home-page .hero-actions .button {
  min-width: 166px !important;
  min-height: 50px !important;
  padding: 14px 22px !important;
  border-radius: 0 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}

html body.home-page .hero-actions .button.primary {
  border-color: #fff !important;
  color: #0a1016 !important;
  -webkit-text-fill-color: #0a1016 !important;
  background: #fff !important;
}

html body.home-page .hero-actions .button.ghost {
  border-color: rgba(255, 255, 255, 0.68) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: rgba(5, 8, 10, 0.14) !important;
  backdrop-filter: blur(6px);
}

@media (max-width: 760px) {
  html body.home-page .hero {
    min-height: calc(100svh - 64px) !important;
  }

  html body.home-page .hero-video,
  html body.home-page .hero-video.is-active,
  html body.home-page .hero-video.is-static,
  html body.home-page .hero-video-next {
    object-position: center center !important;
  }

  html body.home-page .hero-overlay {
    background:
      linear-gradient(180deg, rgba(4, 7, 9, 0.12) 0%, rgba(4, 7, 9, 0.28) 38%, rgba(4, 7, 9, 0.92) 76%, rgba(4, 7, 9, 0.98) 100%) !important;
  }

  html body.home-page .hero-grid {
    align-items: end !important;
    width: 100% !important;
    min-height: calc(100svh - 64px) !important;
    padding: 56px 20px 30px !important;
  }

  html body.home-page .hero-copy {
    width: 100% !important;
    max-width: 360px !important;
  }

  html body.home-page .hero-copy h1 {
    max-width: 350px !important;
    font-size: clamp(29px, 8.8vw, 36px) !important;
    line-height: 1.04 !important;
  }

  html body.home-page .hero-copy > p.hero-result:not(.eyebrow) {
    max-width: 350px !important;
    margin-top: 14px !important;
    font-size: 14px !important;
    line-height: 1.48 !important;
  }

  html body.home-page .hero-copy > p.hero-audience:not(.eyebrow) {
    max-width: 340px !important;
    margin-top: 7px !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
  }

  html body.home-page .hero-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin-top: 16px !important;
  }

  html body.home-page .hero-actions .button {
    min-width: 0 !important;
    min-height: 46px !important;
    padding: 12px 8px !important;
    font-size: 13px !important;
    white-space: normal !important;
  }
}

@media (max-width: 350px) {
  html body.home-page .hero-grid {
    padding-right: 16px !important;
    padding-bottom: 22px !important;
    padding-left: 16px !important;
  }

  html body.home-page .hero-copy h1 {
    font-size: 28px !important;
  }

  html body.home-page .hero-copy > p.hero-result:not(.eyebrow) {
    font-size: 13px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.home-page .hero-video,
  html body.home-page .hero-video-next {
    transition: opacity 160ms linear !important;
    transform: none !important;
  }
}
