/* Shared non-Hero headings, based on the Home Page's Oswald/Inter system.
   Explicit selectors intentionally exclude card titles, diagrams and Hero headings.
   Important typography overrides the standalone pages' scoped legacy styles. */
:is(.section-heading-title,.pb__title,.ct__title,.options__title,.dr__title,.res__title,.rt__title,
    .ov-h,.ch-h,.ow-h,.ax-h,.dc-h,.fl-big,.cl-h,.im-h){
  font-family:var(--font-oswald,Oswald),"Arial Narrow",sans-serif!important;
  font-size:70px!important;
  font-weight:400!important;
  line-height:1.25!important;
  letter-spacing:-.025em!important;
  text-transform:none!important;
  color:#fff!important;
  white-space:normal!important;
  overflow-wrap:anywhere;
}
:is(.section-heading-eyebrow,.ov-kicker,.ch-eyebrow,.ow-eyebrow,.ax-eyebrow,
    .dc-eyebrow,.fl-eyebrow,.cl-eyebrow,.im-eyebrow){
  font-family:var(--font-inter,Inter),system-ui,sans-serif!important;
  font-size:16px!important;
  font-weight:400!important;
  line-height:28px!important;
  letter-spacing:.13em!important;
  text-transform:uppercase!important;
  color:#1DF9D4!important;
  margin-top:0!important;
  margin-bottom:0!important;
  height:auto!important;
}
.section-heading{display:flex;flex-direction:column;align-items:center;gap:8px!important}
.section-heading-title{margin-top:0!important;margin-bottom:0!important}
:is(.ow-title,.ch-title,.ax-title,.dc-title,.fl-title,.cl-title) > h2{
  margin-top:8px!important;margin-bottom:0!important;
}
/* These two legacy heading pairs are positioned independently on their design canvas. */
#ov-stage .ov-h{top:148px}
#im-stage .im-h{top:80px}
@media (max-width:1100px){
  :is(.section-heading-title,.pb__title,.ct__title,.options__title,.dr__title,.res__title,.rt__title){font-size:58px!important}
}
@media (max-width:760px){
  :is(.section-heading-title,.pb__title,.ct__title,.options__title,.dr__title,.res__title,.rt__title){font-size:clamp(32px,7vw,44px)!important}
}
/* Case study headings already resize with their existing scaled 1440px canvases. */

/* Engineering stories: add 16px below section titles, preserving existing margins.
   Hero and The Problem are deliberately excluded. */
#scope-constraint .ct__title,
#scope-options .options__title,
#scope-decision .dr__title,
#scope-result .res__title,
#scope-retrospect .rt__title{padding-bottom:16px}
