/* ==========================================================================
   Hero — full-viewport video/image with graceful fallback (see js/hero.js)
   ========================================================================== */

.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--color-white);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 42, 67, 0.55) 0%,
    rgba(15, 42, 67, 0.35) 45%,
    rgba(15, 42, 67, 0.65) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  padding: 0 1.5rem;
}

.hero-content .section-eyebrow {
  color: var(--color-sand);
}

.hero-content h1 {
  color: var(--color-white);
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: 1.25rem;
}

.hero-content p {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-full);
}

.hero-scroll-cue::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  background-color: var(--color-white);
  border-radius: var(--radius-full);
  transform: translateX(-50%);
  animation: scroll-cue 1.8s ease infinite;
}

@keyframes scroll-cue {
  0% {
    opacity: 1;
    top: 8px;
  }
  70% {
    opacity: 0;
    top: 20px;
  }
  100% {
    opacity: 0;
    top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue::before {
    animation: none;
  }
}
