/* Shared homepage rhythm. Keep portrait movement inside a real layout buffer. */
.home-page {
  --home-section-gap: clamp(96px, 7vw, 144px);
  --home-body-size: clamp(16px, 1.05vw, 18px);
  --home-caption-size: clamp(13px, .8vw, 14px);
}
body.page-rhythm.home-page main > leadpilots-founder-section {
  padding-top: var(--home-section-gap);
  /* The upper portrait travels up to 7cqw and rotates. Its previous zero
     inset cut the card at the section edge. Include that travel in layout. */
  --founder-top-space: max(64px, 6.25cqw);
  --founder-bottom-space: max(32px, 4cqw);
  --founder-body-size: var(--home-body-size);
  --founder-note-width: clamp(168px, 14cqw, 280px);
}
body.page-rhythm.home-page .footer-conversation-grid {
  padding-top: var(--home-section-gap);
  padding-bottom: var(--home-section-gap);
}
/* The image CTA needs its gap outside the image, not inside its overlay. */
body.page-rhythm.home-page main > .cta-section {
  margin-top: var(--home-section-gap);
}
@media (max-width: 1023.98px) {
  .home-page { --home-section-gap: 72px; }
}
@media (max-width: 639.98px) {
  .home-page { --home-section-gap: 56px; }
}
/* Keep the longer free-consultation label on one line where space permits. */
.home-page .footer-cta-button { width: min(100%, 24rem); line-height: 1.2; }
