/* ============================================================
   Hero shell
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--nav-text);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.25);
  will-change: transform;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* ============================================================
   Headline
   ============================================================ */
.hero__body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 18px;
  padding: 100px;
}

.hero__eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nav-text-soft);
}

.hero__title {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 5.5rem;
  line-height: 1.03;
  letter-spacing: -1px;
}

.hero__subtitle {
  width:100%;
  margin-top: 6px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--nav-text);
  text-wrap: balance;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 640px) 
{
  .hero__title 
  {
    font-size: 2.2rem;
  }
  .hero__subtitle 
  {
    font-size:0.9rem;
  }
  .hero__body {
    padding-inline: 24px;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 860px;
  }
}

@media (min-width: 641px) {
  .hero__title {
    letter-spacing: -3px;
  }
}
