/* Title-safe composition: copy can never occupy the headline's visual column. */
:root {
  --v10-heading-gap: clamp(46px, 4vw, 78px);
}

.section-heading--editorial.v9-section-heading,
.services__intro.v9-section-heading,
.workplace__intro.v9-section-heading {
  grid-template-columns: minmax(0, 1.24fr) minmax(330px, .76fr);
  column-gap: var(--v10-heading-gap);
  row-gap: 28px;
}

.section-heading--editorial.v9-section-heading > .v9-section-heading__title,
.services__intro.v9-section-heading > .v9-section-heading__title,
.workplace__intro.v9-section-heading > .v9-section-heading__title,
.v9-section-heading > .v9-section-heading__lead {
  min-width: 0;
}

.section-heading--editorial.v9-section-heading > .v9-section-heading__title { max-width: none; }

.v9-section-heading h2 {
  max-width: 100%;
  margin: 0;
  font-size: clamp(44px, 3.05vw, 60px);
  line-height: 1.28;
  letter-spacing: .01em;
  white-space: nowrap;
}

.v9-section-heading > .v9-section-heading__lead {
  max-width: 34rem;
  padding-bottom: 4px;
  line-height: 1.88;
}

/* When two columns no longer have enough room, content changes level before it can collide. */
@media (max-width: 1640px) and (min-width: 901px) {
  .section-heading--editorial.v9-section-heading,
  .services__intro.v9-section-heading,
  .workplace__intro.v9-section-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .v9-section-heading > .v9-section-heading__lead {
    max-width: 40rem;
    padding-bottom: 0;
  }
}

@media (max-width: 1200px) and (min-width: 901px) {
  .v9-section-heading h2 { font-size: clamp(40px, 4vw, 50px); }
}

@media (max-width: 900px) {
  .v9-section-heading h2 {
    white-space: normal;
    text-wrap: balance;
  }
}
