/* ==========================================================================
   HERO — Full viewport, gradient placeholder bg, Tier A entrance animation
   ========================================================================== */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Video background */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Dark overlay — heavier to ensure text readability over video */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* Content */
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 var(--space-lg);
}

/* H1 */
.hero__h1 {
  font-family: var(--font-heading);
  font-size: var(--text-hero);
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: var(--leading-tight);
}

/* Subline */
.hero__sub {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 500;
  color: var(--text-primary);
  line-height: var(--leading-normal);
  margin-top: var(--space-md);
}

/* Button row */
.hero__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}

/* ==========================================================================
   TIER A — Hero entrance animation (pure CSS, no JS)
   ========================================================================== */

.hero-h1,
.hero-sub,
.hero-cta {
  opacity: 0;
  transform: translateY(30px);
  animation: heroReveal var(--duration-hero) var(--ease-hero) forwards;
}

.hero-h1 {
  animation-delay: 0ms;
}

.hero-sub {
  animation-delay: 400ms;
}

.hero-cta {
  animation-delay: 700ms;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
  .hero__content {
    padding: 0 var(--space-md);
  }

  .hero__buttons {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .hero__buttons .btn-primary,
  .hero__buttons .btn-ghost {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero__content {
    padding: 0 var(--space-sm);
  }
}
