/*  1. SECTION — 4-row grid layout */
.hero {
  position: relative;
  height: 100dvh;
  display: grid;
  grid-template-rows:
    56px  /* [nav-offset]  */
    1fr   /* [space-above] */
    auto  /* [content]     */
    1fr;  /* [space-below] */
  justify-items: center;
  overflow: hidden;
}


/*  2. RADIAL VIGNETTE BACKGROUND */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 70% at 50% 45%,
    transparent 0%,
    rgba(0, 0, 0, 0.04) 100%
  );
  pointer-events: none;
  z-index: 0;
}

html.dark .hero::before {
  background: radial-gradient(
    ellipse 80% 70% at 50% 45%,
    transparent 0%,
    rgba(0, 0, 0, 0.35) 100%
  );
}


/*  3. INNER CONTENT WRAPPER — sits in grid row 3 (content) */
.hero__inner {
  grid-row: 3;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 720px;
  padding-inline: var(--gutter);
}


/*  4. TITLE — fluid heading */
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6.5vw, 4.4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-s);
  margin-bottom: 1.5rem;
}

.hero__title-name {
  font-size: 1.15em;
  font-weight: 500;
  display: block; /* Stacking for mobile-first impact */
}

.hero__title-role {
  font-family: var(--font-serif-alt);
  font-style: italic;
  font-size: 0.9em;
  color: var(--muted);
  display: block;
}


/*  6. DESCRIPTION — Inter · 15px */
.hero__description {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.9375rem; /* 15px */
  line-height: 1.75;
  color: var(--muted);
  max-width: 42ch;
  text-align: center;
  margin-bottom: 2rem;
}


/*  7. CTA BUTTONS — height capped at 35px */
.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
}

.hero__actions .btn {
  /* Dimensions now handled by .btn--compact */
}


/*  8. RESPONSIVE */
@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 260px;
  }

  .hero__actions .btn {
    justify-content: center;
  }
}

/* Short viewports (landscape mobile) */
@media (max-height: 600px) {
  .hero {
    grid-template-rows:
      56px
      0.5fr
      auto
      0.5fr;
  }
}
