/* Homepage-only introduction. The photograph is an ordinary grid item rather
   than a background or an absolute layer behind the navigation. Keeping this
   layout separate prevents legacy full-screen hero rules reaching the image. */
.page-home .home-intro {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
  width: calc(100% - 96px);
  max-width: 1320px;
  margin: clamp(48px, 5vw, 80px) auto clamp(56px, 5vw, 80px);
}

.page-home .home-intro .hero-copy { min-width: 0; max-width: 540px; }
.page-home .home-intro .hero-copy h1 {
  max-width: 10ch;
  font-size: clamp(3.25rem, 5.2vw, 5.6rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.page-home .home-intro .hero-lede {
  max-width: 43ch;
  margin: 24px 0 28px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.3vw, 1.16rem);
}
.page-home .home-intro-visual { min-width: 0; }
.page-home .home-intro-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: 62% 58%;
  border-radius: 14px;
}

/* Match DOM and reading order: copy first, photograph second. The section has
   no viewport-based minimum height, so content determines the mobile length. */
@media (max-width: 800px) {
  .page-home .home-intro {
    grid-template-columns: minmax(0, 1fr);
    width: calc(100% - 48px);
    gap: 32px;
    margin: 44px auto 48px;
  }
  .page-home .home-intro .hero-copy { max-width: 600px; }
  .page-home .home-intro .hero-copy h1 { max-width: 12ch; font-size: clamp(2.9rem, 8vw, 4.4rem); }
  .page-home .home-intro .hero-lede { max-width: 48ch; margin: 20px 0 24px; }
  .page-home .home-intro-photo { aspect-ratio: 3 / 2; }
}

@media (max-width: 400px) {
  .page-home .home-intro { width: calc(100% - 40px); }
}

@media print {
  .page-home .home-intro { display: block; width: 100%; margin: 0; }
  .page-home .home-intro-visual { display: none; }
}
