/* Editorial heading system. A named important layer supersedes legacy page-specific
   heading declarations without increasingly specific selectors. Body and UI remain sans. */
@layer editorial-headings {
 :root{--editorial-h2:clamp(26px,2.35vw,34px);--editorial-h3:clamp(22px,1.8vw,24px)}
 body[data-page] #main :is(h1,h2,h3){font-family:'Collabera Head',Georgia,serif!important;font-weight:400!important;font-style:normal!important;letter-spacing:-.025em!important}
 body[data-page] #main h2{font-size:var(--editorial-h2)!important;line-height:1.16!important;text-wrap:pretty}
 body[data-page] #main h3{font-size:var(--editorial-h3)!important;line-height:1.25!important;text-wrap:pretty}
 body[data-page] #main :is(h1,h2,h3) :is(em,.serif,.editorial-accent){font-family:inherit!important;font-size:inherit!important;font-weight:inherit!important;line-height:inherit!important;letter-spacing:inherit!important;font-style:italic!important}
 /* Diagram labels and micro-headings serve navigation, not editorial sections. */
 body[data-page] #main :is(.partner-pathway-nodes,.art-stack) h2{font-family:var(--type-ui-family,'Cognixia Display',sans-serif)!important;font-size:18px!important;font-weight:600!important;line-height:1.3!important;letter-spacing:-.015em!important}
}
/* Tighter supporting rhythm, retaining comfortable long-form reading and UI targets. */
:root{--copy-body-size:17px;--copy-body-color:#0B4048;--copy-muted-color:#495D5B}
@layer editorial-copy {
 body[data-page]{font-family:var(--type-ui-family,'Cognixia Display',sans-serif)!important}
 body[data-page] #main :is(.home-why-grid,.method-grid,.aiq-lenses,.aiq-archetypes,.partner-working-steps,.partner-connected-grid,.about-offers,.about-approach) p{font-size:16.5px!important;line-height:1.55!important}
 body[data-page] #main :is(.section,.section-sm,.industry-section) li{font-size:17px!important;line-height:1.55!important}
 @media(max-width:680px){
  :root{--copy-body-size:16px}
  body[data-page] #main :is(.home-why-grid,.method-grid,.aiq-lenses,.aiq-archetypes,.partner-working-steps,.partner-connected-grid,.about-offers,.about-approach) p{font-size:16px!important}
  body[data-page] #main :is(.section,.section-sm,.industry-section) li{font-size:16px!important}
 }
}
@media(max-width:680px){:root{--copy-body-size:16px}}

@layer editorial-card-rhythm {
 body[data-page="index.html"] #main #pathways .buyer-card h3{min-height:0!important;margin:0!important}
 @supports(grid-template-rows:subgrid){@media(min-width:761px){
 body[data-page="index.html"] #main #pathways .buyer-pathways{grid-template-rows:auto auto auto 1fr auto!important;row-gap:16px!important}
 body[data-page="index.html"] #main #pathways .buyer-card{display:grid!important;grid-template-rows:subgrid!important;grid-row:1 / span 5!important;row-gap:16px!important}
 body[data-page="index.html"] #main #pathways .buyer-card :is(.impact-card-masthead,p,.impact-service-details){margin-block:0!important}
 }}
}
/* Newsreader has a smaller x-height than Red Hat Display. Balance inline emphasis
   optically; independent display payoffs retain their own established scale. */
@layer editorial-inline-balance {
 body:is([data-page="enterprise-ai-enablement.html"],[data-page="build-embed-ai-talent.html"]) #main .page-hero .hero-subtitle em{font-size:1.1em!important;line-height:inherit!important}
 body[data-page="index.html"] #main .art-copy .art-ambition strong.subline-accent{font-size:1.1em!important;line-height:inherit!important}
}

/* Homepage editorial hierarchy: retain hero, proof numerals and quieter card titles. */
@layer editorial-headings {
 body[data-page="index.html"] #main :is(#pathways,#collabera-advantage,#home-case-examples,#why-cognixia) h2{font-size:clamp(34px,3.4vw,46px)!important;line-height:1.08!important;letter-spacing:-.025em!important;max-width:23ch}
 body[data-page="index.html"] #main #adoption-value #adoption-value-title{font-size:clamp(36px,3.65vw,50px)!important;line-height:1.08!important;max-width:26ch}
 body[data-page="index.html"] #main #adoption-value .curve-introduction h3{font-size:clamp(28px,2.6vw,36px)!important;line-height:1.12!important;max-width:27ch;letter-spacing:-.02em!important}
 @media(max-width:680px){
 body[data-page="index.html"] #main :is(#pathways,#collabera-advantage,#home-case-examples,#why-cognixia) h2{font-size:34px!important}
 body[data-page="index.html"] #main #adoption-value #adoption-value-title{font-size:36px!important}
 body[data-page="index.html"] #main #adoption-value .curve-introduction h3{font-size:29px!important}
 }
}
@layer main-page-rhythm {
 body[data-page="index.html"] #main #adoption-value .section-heading{margin-bottom:0!important}
 body[data-page="index.html"] #main #pathways .section-heading{margin-bottom:18px!important}
}

body[data-page="index.html"] #adoption-value .curve-introduction p+p{margin-top:10px}

/* Requested two-phrase headline; each phrase starts on its own row. */
body[data-page="index.html"] #main #adoption-value .curve-introduction h3{max-width:none}
.curve-headline-row{display:block}
@media(min-width:900px){.hybrid-curve{container-type:inline-size}.curve-headline-row{white-space:nowrap;font-size:min(1em,5.2cqw)}}
