.homepage-hero {
  position: relative;
  height: 200vh;
  background-color: var(--color-brand-navy-deep);
}

.homepage-hero.homepage-hero--static {
  height: auto;
  min-height: 100dvh;
}

.homepage-hero.homepage-hero--static .homepage-hero__sticky {
  position: relative;
  height: auto;
  min-height: 100dvh;
  overflow: visible;
}

.homepage-hero.homepage-hero--static .homepage-hero__content {
  will-change: auto;
}

.homepage-hero__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: visible;
}

@media (hover: none), (pointer: coarse) {
  .homepage-hero {
    height: auto;
    min-height: 100dvh;
  }

  .homepage-hero__sticky {
    position: relative;
    height: auto;
    min-height: 100dvh;
    overflow: visible;
  }

  .homepage-hero__content {
    will-change: auto;
  }
}

.homepage-hero__video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.homepage-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.homepage-hero__fallback-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.homepage-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(7, 11, 16, 0.7) 0%,
    rgba(7, 11, 16, 0.35) 25%,
    rgba(7, 11, 16, 0.35) 70%,
    rgba(7, 11, 16, 0.98) 100%
  );
  z-index: 2;
}

.homepage-hero__bottom-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(
    to top,
    #070B10 0%,
    transparent 100%
  );
  z-index: 3;
  pointer-events: none;
}

.homepage-hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 100px var(--section-padding-x) 80px;

}

.homepage-hero__content {
  max-width: 1290px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
  transform-origin: center center;
  will-change: transform, opacity;
}

.homepage-hero__eyebrow {
  color: var(--color-brand-primary);
  font-weight: 700;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  margin-bottom: var(--space-2xs);
}

.homepage-hero__logo {
  margin-bottom: var(--space-xs);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.homepage-hero__logo-img {
  max-width: clamp(200px, 40vw, 340px);
  height: auto;
  display: block;
}

.homepage-hero__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3xs);
  margin: 0;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
  line-height: 1.05;
}

.homepage-hero__title-highlight {
  color: var(--color-brand-primary);
  display: block;
  font-size: var(--fs-h1);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
}

.homepage-hero__title-rest {
  color: var(--color-text-primary);
  display: block;
}

.homepage-hero__subtitle {
  max-width: 640px;
  color: var(--color-text-secondary);
  margin: 0 auto;
  line-height: 1.6;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.homepage-hero__cta {
  margin-top: var(--space-md);
}

/* Scroll indicator */
.homepage-hero__scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--color-text-secondary);
  opacity: 0.85;
  transition: opacity var(--duration-normal) var(--ease-out);
  z-index: 4;
}

.homepage-hero__scroll-text {
  font-family: var(--font-secondary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
}

.homepage-hero__scroll-chevron {
  width: 16px;
  height: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-text-secondary);
  animation: bounceChevron 2.2s infinite ease-in-out;
}

@keyframes bounceChevron {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .homepage-hero {
    height: auto;
    min-height: 100dvh;
  }

  .homepage-hero__sticky {
    position: relative;
    height: auto;
    min-height: 100dvh;
    overflow: visible;
  }

  .homepage-hero__content {
    will-change: auto;
  }

  .homepage-hero__inner {
    padding: 160px var(--section-padding-x) 100px;
  }
  
  .homepage-hero__subtitle {
    font-size: 16px;
  }

  .homepage-hero__scroll-indicator {
    bottom: 24px;
  }
}
