/* Softmatic v1.1.8 — Section titles: fix old system typography overrides.
   Only content-section H2; do not change hero H1, card H3, or approved FAQ. */
:root{--sm-section-heading-font:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
body main section:not(.sm-svc-hero):not(.sm-global-faq) h2{
  font-family:var(--sm-section-heading-font)!important;
  font-size:clamp(30px,2.85vw,41px)!important;
  font-weight:650!important;
  line-height:1.17!important;
  letter-spacing:-.038em!important;
  text-wrap:balance;
  overflow-wrap:break-word;
  word-break:normal;
  max-width:100%;
}
/* Avoid imposing the section-title scale on embedded grids and testimonial cards. */
body main :is(.sm-service-slide,.sm-services-page__card,.service-tile,.project-card,.blog-card,.sm-insights__card,.value-card,.sm-process__item) h2{
  font-size:clamp(18px,1.55vw,22px)!important;
  line-height:1.3!important;
}
@media(max-width:767px){
 body main section:not(.sm-svc-hero):not(.sm-global-faq) h2{font-size:clamp(27px,7.6vw,32px)!important;line-height:1.19!important;letter-spacing:-.034em!important}
}
@media(max-width:360px){body main section:not(.sm-svc-hero):not(.sm-global-faq) h2{font-size:27px!important}}
/* Service listing section labels were styled as solid CTA-like badges.
   Make them quiet, consistent editorial eyebrows above each section title. */
body main.sm-services-page .sm-services-page__section .sm-services-page__eyebrow{
  display:inline-flex!important;
  align-items:center;
  min-height:0!important;
  width:auto!important;
  padding:0!important;
  margin:0 0 17px!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  color:#225FC6!important;
  font-family:var(--sm-section-heading-font)!important;
  font-size:11px!important;
  font-weight:750!important;
  line-height:1.45!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
}
body main.sm-services-page .sm-services-page__section .sm-services-page__eyebrow--light{
  color:#d6e3ff!important;
}
/* Global editorial eyebrow above section headings.
   Old styles made these labels look like filled blue buttons across About,
   Portfolio, Contact, Blog and certain service sections. Constrain this to
   labels directly before H2 (not card tags, metadata or hero labels). */
body main section:not(.sm-global-faq):not(.sm-svc-hero) span[class*="eyebrow"]:has(+ h2){
  display:inline-flex!important;
  align-items:center!important;
  width:auto!important;
  min-width:0!important;
  min-height:0!important;
  padding:0!important;
  margin:0 0 15px!important;
  border:none!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#225FC6!important;
  font-family:var(--sm-section-heading-font)!important;
  font-size:11px!important;
  font-weight:750!important;
  line-height:1.45!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
}
/* Explicit light-on-dark styles for sections that have dark surfaces. */
body main :is(.sm-services-page__reach,.sm-workpage__cta,.sm-aboutpage__reach,.sm-aboutpage__cta,.sm-insights__cta) span[class*="eyebrow"]:has(+ h2),
body main section:not(.sm-svc-hero):not(.sm-global-faq) span[class*="eyebrow--light"]:has(+ h2){
  color:#dbe7ff!important;
}
/* Some editorial headings sit inside a dark inner panel, not a dark section.
   Keep their label contrast readable after removing the old blue badge. */
body main .sm-workflow__frame span[class*="eyebrow"]:has(+ h2),
body main .sm-webdev__closing-inner span[class*="eyebrow"]:has(+ h2),
body main .sm-gd__process span[class*="eyebrow"]:has(+ h2),
body main .sm-gd__cta span[class*="eyebrow"]:has(+ h2){
  color:#dbe7ff!important;
}
