/* ============================================================
   hero.css — Hero Section
   Full-bleed looping video background, single centered headline.
   ============================================================ */

.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 600px;
  background-color: var(--color-off-black);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background video */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 0;
}

/* Dark overlay so text is always legible */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.55) 50%,
    rgba(0, 0, 0, 0.65) 100%
  );
  pointer-events: none;
}

/* Remove the old ::before overlay since we now use .hero__overlay */
.hero::before { display: none; }

/* Content */
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--spacing-container-max);
  margin-inline: auto;
  padding-inline: var(--spacing-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
}

@media (min-width: 768px) {
  .hero__inner {
    padding-inline: var(--spacing-lg);
  }
}

/* Headline — the only text in the opening frame */
.hero__headline {
  font-size: var(--type-display-size);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--color-text-white);
  max-width: 22ch;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.25);
}

/* Scroll-down arrow — bottom right, matches reference */
.hero__scroll-arrow {
  z-index: 2;
  position: absolute;
  bottom: var(--spacing-lg);
  right: var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: rgba(255, 255, 255, 0.7);
  animation: arrow-bob 2s ease-in-out infinite;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.hero__scroll-arrow:hover {
  color: var(--color-text-white);
}

.hero__scroll-arrow svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: currentColor;
}

@keyframes arrow-bob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* Subheadline — appears below the main headline */
.hero__sub {
  display: block;
  margin-top: 1.5rem;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 52ch;
  text-align: center;
  letter-spacing: 0.01em;
}

/* Keep old classes as no-ops so no HTML errors */
.hero__label   { display: none; }
.hero__cta     { display: none; }
.hero__tagline { display: none; }
