/* Section: hero-split */
.hero-split { padding-block: var(--space-7) var(--b-pad); }
.hero-split__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--b-gap); align-items: center; }
.hero-split__lead { margin-top: var(--space-5); max-width: 34rem; color: var(--color-text-muted); font-size: var(--b-lead); }
/* Facts in one row under the buttons, behind a thin rule: read as one group (common region). */
.hero-split__facts { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); margin-top: var(--space-7); padding: var(--space-5) 0 0; border-top: 1px solid var(--color-border); list-style: none; font-size: var(--text-sm); font-weight: 600; }
.hero-split__facts li { display: flex; align-items: center; gap: var(--space-2); }
.hero-split__facts .icon { color: var(--color-brand-text); }
.hero-split__media { height: calc(var(--b-visual) * 1.2); }
@media (max-width: 60rem) {
  .hero-split__grid { grid-template-columns: minmax(0, 1fr); }
  .hero-split__media { height: auto; aspect-ratio: 4 / 3; }
}
/* data-stacked="center": when the columns stack, drop the photo and centre the text, so the hero is one short,
   balanced screen. On a phone the lead wraps past 3 lines, so it stays left-aligned there (alignment-emphasis.md). */
@media (max-width: 60rem) {
  .hero-split[data-stacked="center"] .hero-split__media { display: none; }
}
@media (min-width: 30.01rem) and (max-width: 60rem) {
  .hero-split[data-stacked="center"] .hero-split__text { text-align: center; }
  .hero-split[data-stacked="center"] .b-h1 { text-wrap: balance; }
  .hero-split[data-stacked="center"] .hero-split__lead { margin-inline: auto; }
  .hero-split[data-stacked="center"] :is(.b-actions, .hero-split__facts) { justify-content: center; }
}
/* On a phone the facts would break 2 + 1 (one left dangling): one per line on a shared edge. */
@media (max-width: 30rem) { .hero-split__facts { flex-direction: column; gap: var(--space-2); } }
