/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  background: var(--color-obsidian);
  padding-block: var(--space-24) var(--space-30);
  display: flex;
  align-items: center;
  position: relative;
}

.hero__inner {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-6);
  width: 100%;
  align-items: center;
}

.hero__content {
  grid-column: 1 / span 6;
  max-width: 520px;
}

.hero__eyebrow {
  margin-bottom: var(--space-6);
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 56px;
  line-height: 60px;
  letter-spacing: -0.01em;
  color: var(--color-white);
  max-width: 520px;
  margin-bottom: var(--space-6);
}

.hero__subhead {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  color: var(--color-graphite-300);
  max-width: 440px;
  margin-bottom: var(--space-10);
}

.hero__cta-row {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.hero__cta-row .text-link {
  color: var(--color-white);
}

/* ---- Visual block ---- */

.hero__visual {
  grid-column: 7 / span 6;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.hero__visual--photo {
  border-radius: var(--radius-lg, 20px);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.hero__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: #000000;
}

@media (prefers-reduced-motion: reduce) {
  .hero__visual {
    opacity: 1;
  }
}

/* ---- Load-in stagger (pure CSS — no JS dependency for visibility).
   Content is visible immediately; the animation is a progressive
   enhancement layered on top via animation-fill-mode, not a gate. ---- */

@keyframes hero-fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__eyebrow,
.hero__headline,
.hero__subhead,
.hero__cta-row {
  animation: hero-fade-in 500ms var(--ease-out-expo) both;
}

.hero__eyebrow { animation-delay: 0ms; }
.hero__headline { animation-delay: 80ms; }
.hero__subhead { animation-delay: 160ms; }
.hero__cta-row { animation-delay: 240ms; }

.hero__visual {
  animation: hero-fade-in 700ms var(--ease-out-expo) both;
  animation-delay: 120ms;
}

@media (prefers-reduced-motion: reduce) {
  .hero__eyebrow,
  .hero__headline,
  .hero__subhead,
  .hero__cta-row,
  .hero__visual {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ---- Scroll-lag fade (applied via JS, inline transform/opacity) ---- */
.hero__scroll-fade {
  will-change: opacity, transform;
}

/* ---------------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------------- */

@media (max-width: 1023px) {
  .hero__headline {
    font-size: 52px;
    line-height: 56px;
  }
}

@media (max-width: 767px) {
  .hero {
    height: auto;
    min-height: 0;
    padding-block: var(--space-16);
  }

  .hero__inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
  }

  .hero__content {
    max-width: none;
  }

  .hero__visual {
    order: 2;
  }

  .hero__eyebrow {
    font-size: 12px;
  }

  .hero__headline {
    font-size: 36px;
    line-height: 40px;
    max-width: none;
  }

  .hero__subhead {
    font-size: 16px;
    line-height: 26px;
    max-width: none;
  }

  .hero__cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-4);
  }

  .hero__cta-row .btn {
    width: 100%;
    text-align: center;
  }

  .hero__cta-row .text-link {
    justify-content: center;
  }
}
