/* VS-aligned section typography + compact equipment/info grids */

main .section {
  padding: 61px 0;
}

main .section-heading {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 0.55rem;
  max-width: 46rem;
  margin-bottom: 1.8rem;
}

/* In-page section titles — always below page hero size */
main h2 {
  font-size: clamp(1.25rem, 1.85vw, 1.75rem);
  font-weight: 560;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

/* Page hero titles */
main .simple-hero h1,
main .simple-hero h2 {
  font-size: clamp(1.61rem, 2.78vw, 2.96rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

main .section-heading h2,
main .centred-heading h2,
main .split-copy h2,
main .why-choose__header h2,
main .service-split__content h2,
main .cta-band h2 {
  font-size: clamp(1.25rem, 1.85vw, 1.75rem);
  font-weight: 560;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

/* Home hero sizes — see temp-overrides .hero.hero--home (matches futurevending VS) */
main .hero:not(.hero--home) .hero-copy h1 {
  font-size: clamp(2.2rem, 3.6vw, 3.75rem);
}

main .section-heading .eyebrow,
main .centred-heading .eyebrow,
main .simple-hero .eyebrow,
main .split-copy .eyebrow {
  margin-bottom: 0.2rem;
}

main .section-heading > p,
main .centred-heading > p {
  max-width: 38rem;
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

main .centred-heading {
  max-width: 46rem;
  margin: 0 auto 1.8rem;
  text-align: center;
}

main .centred-heading > p {
  margin-inline: auto;
}

main .simple-hero {
  padding: 2.25rem 0 2.75rem;
}

main .simple-hero .breadcrumbs {
  margin-bottom: 1.75rem;
}

main .simple-hero h1,
main .simple-hero h2 {
  max-width: 42rem;
  margin-bottom: 0.85rem;
}

main .simple-hero .lead {
  max-width: 38rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

main .split-copy h2 {
  max-width: 36rem;
  margin-bottom: 0.85rem;
}

main .split-copy p {
  font-size: 1rem;
  line-height: 1.55;
}

main .split-copy--balanced {
  align-items: center;
}

main .cta-band {
  padding: 61px 0;
}

main .cta-band h2 {
  max-width: 36rem;
  margin: 0 0 0.75rem;
}

main .cta-band--on-light > .container {
  padding-inline: max(1rem, env(safe-area-inset-left)) max(1rem, env(safe-area-inset-right));
}

main .cta-band p {
  max-width: 38rem;
  font-size: 1rem;
  line-height: 1.5;
}

main .cta-band:not(.cta-band--on-light) p {
  color: var(--ink-soft);
}

main .cta-band--on-light .cta-band-inner p {
  color: rgba(255, 255, 255, 0.64);
}

/* Compact equipment / info boxes — same pattern site-wide */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.equipment-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.equipment-grid--principles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.equipment-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  text-align: center;
}

.equipment-chip h3 {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.equipment-chip--detail {
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.65rem;
  padding: 1rem 1.1rem;
  text-align: left;
}

.equipment-chip--detail > div {
  min-width: 0;
}

.equipment-chip--detail h3 {
  margin-bottom: 0.2rem;
}

.equipment-chip--detail p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.equipment-chip__icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
}

@media (max-width: 1100px) {
  main .section {
    padding: 50px 0;
  }
}

@media (max-width: 980px) {
  .equipment-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  main .section {
    padding: 40px 0;
  }

  main .section-heading {
    margin-bottom: 1.35rem;
    gap: 0.9rem;
  }

  main .centred-heading {
    margin-bottom: 1.35rem;
  }
}

@media (max-width: 640px) {
  .equipment-grid,
  .equipment-grid--principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .equipment-grid,
  .equipment-grid--four,
  .equipment-grid--principles {
    grid-template-columns: 1fr;
  }

  main .section {
    padding: 36px 0;
  }

  main .simple-hero {
    padding: 1.75rem 0 2rem;
  }
}

/* Beat legacy global h1 clamp on inner pages only (home hero uses temp-overrides) */
@media (max-width: 640px) {
  main .simple-hero h1,
  main .simple-hero h2 {
    font-size: clamp(1.55rem, 7vw, 2.15rem);
    overflow-wrap: anywhere;
  }
}
