/* Copy / SEO refinement ---------------------------------------------------
   Keep line breaks responsive instead of hard-coding visual wraps in HTML. */
.page-title,
.page-lead,
.section-title,
.cta-band h2,
.case-consult h2,
.home-page .hero-lead,
.home-page .services h2,
.home-page .projects-head h2,
.home-page .projects-head > p:last-child,
.home-page .about-copy h2,
.home-page .contact h2 {
  text-wrap: balance;
}

.page-lead,
.section-body,
.home-page .services-intro,
.home-page .contact-copy {
  text-wrap: pretty;
}

/* Keep secondary copy readable at intermediate widths without forced breaks. */
@media (min-width: 901px) and (max-width: 1199px) {
  .page-lead { max-width: 34em; }
  .section-body { max-width: 42em; }
}

@media (max-width: 900px) {
  .page-title,
  .page-lead,
  .section-title,
  .cta-band h2,
  .case-consult h2 {
    max-width: 100%;
  }
}


/* TOP contact heading: keep phrase-level line breaks natural. */
.home-page .contact .contact-heading{
  text-wrap:initial;
  max-width:min(100%, 19em);
}
.home-page .contact .contact-heading span{
  display:inline-block;
  white-space:nowrap;
}
@media (max-width:520px){
  .home-page .contact .contact-heading{max-width:100%;}
  .home-page .contact .contact-heading span{white-space:normal;}
}
