/* Home-only composition override
   Title stays near the header while the introduction and CTA settle lower
   Intrinsic grid sizing lets short screens grow without clipping content */
body[data-page="home"] .hero {
  --home-hero-minimum: 720px;
  --home-hero-viewport: 96svh;
  min-height: max(var(--home-hero-minimum), var(--home-hero-viewport));
  height: auto;
  max-height: none;
}

body[data-page="home"] .hero .hero-content {
  display: grid;
  grid-template-rows: max-content max-content minmax(min-content, 1fr);
  align-content: stretch;
  min-height: inherit;
  width: 100%;
  margin-inline: auto;
  padding: clamp(153px, 15svh, 185px) 7% clamp(105px, 11.5svh, 160px);
}

body[data-page="home"] .hero .hero-content > .eyebrow {
  align-self: start;
}

body[data-page="home"] .hero .hero-bottom {
  align-self: end;
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.2vw, 50px);
  width: 100%;
  min-width: 0;
  margin-top: 0;
  padding-top: clamp(36px, 6svh, 90px);
}

body[data-page="home"] .hero .hero-bottom > p {
  min-width: 0;
  max-width: 38rem;
}

body[data-page="home"] .hero .hero-bottom > .button {
  flex-shrink: 0;
  margin-top: 0;
}

@media (min-width: 1500px) {
  body[data-page="home"] .hero .hero-content {
    padding-inline: 40px;
  }
}

@media (max-width: 760px) {
  body[data-page="home"] .hero {
    --home-hero-minimum: 710px;
    --home-hero-viewport: 90svh;
  }

  body[data-page="home"] .hero .hero-content {
    padding-top: 153px;
  }

  body[data-page="home"] .hero .hero-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  body[data-page="home"] .hero .hero-bottom > p {
    max-width: 32rem;
  }

  body[data-page="home"] .hero .hero-bottom > .button {
    justify-self: start;
  }
}
