/* Shared display hierarchy for the animated homepage and static pages. */
:root{
 --ba-heading-hero:clamp(42px,5.125vw,82px);
 --ba-heading-section:clamp(32px,3.4vw,52px);
 --ba-heading-card:clamp(24px,2vw,30px);
 --ba-heading-small:20px;
}
body.ba-theme main :is(h1,h2,h3,h4),.scene-copy :is(h1,h2),.home-founder h2,.flow-enquiry h3{
 font-family:Georgia,serif;font-weight:400;
}
body.ba-theme main :is(h2,.rf-h2),.home-founder h2{
 font-size:var(--ba-heading-section)!important;line-height:1.1;letter-spacing:-.04em;
}
body.ba-theme main h3,.flow-enquiry h3{
 font-size:var(--ba-heading-card)!important;line-height:1.15;letter-spacing:-.025em;
}
body.ba-theme main h4{font-size:var(--ba-heading-small)!important;line-height:1.25;letter-spacing:-.02em}
body.ba-theme main h1:not(.text-size-small),
body.ba-theme main :is(.hero-subtitle,.rf-hero-title),
.scene-copy :is(h1,h2){
 font-size:var(--ba-heading-hero)!important;line-height:1.05;letter-spacing:-.055em;
}
/* Supporting introductions and contents lists retain their smaller roles. */
body.ba-theme main :is(.ind-subhead,.blog-subhead){font-size:var(--ba-heading-card)!important;line-height:1.3;letter-spacing:-.02em}
body.ba-theme main :is(.toc,.blog-toc,[data-toc]) :is(h2,h3){font-size:18px!important;line-height:1.3;letter-spacing:0}
.scene-intro .hero-title>span{color:#244dff}
@media(max-width:760px){.scene-intro .hero-title{max-width:none}.scene-copy h2{max-width:100%}}
