/* Interior routes only: align shared chrome and editorial hierarchy to homepage. */
:root{--rab-page-width:1240px;--rab-page-ink:#11100e;--rab-page-paper:#f3f3f3;--rab-page-copper:#c98a55;--rab-display:'Onest',Georgia,serif;--rab-text:'Roboto Flex',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif}footer.rab-reference-footer,.rab-brand,.rab-footer-brand{--rab-page-paper:#f3efe7;--rab-display:'Fraunces',Georgia,serif;--rab-text:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif}
body{min-width:320px;overflow-x:clip;font-family:var(--rab-text)}
/* Heroes sit behind the fixed nav, as on /. Plain informational pages keep clearance. */
.rab-nav-spacer{display:none!important}
body.rab-needs-nav-space .rab-nav-spacer{display:block!important;height:100px!important}
.rab-site-nav{top:18px!important;padding:0 28px!important}
.rab-site-nav-inner{display:flex!important;width:min(var(--rab-page-width),100%)!important;min-height:72px!important;padding:10px 12px 10px 18px!important;gap:18px!important;background:rgba(17,16,14,.91)!important;border:1px solid rgba(243,243,243,.15)!important}
.rab-brand-with-mark{gap:10px!important}
.rab-brand-with-mark img{width:34px!important;height:34px!important}
.rab-brand{font:700 25px/1 var(--rab-display)!important;letter-spacing:0!important}
.rab-nav-links{gap:2px!important;margin-left:auto!important}
.rab-nav-link{min-height:42px!important;padding:11px!important;font:900 10px/1 var(--rab-text)!important;letter-spacing:0!important}
.rab-nav-languages{gap:2px!important;margin-left:8px!important;padding-left:10px!important}
.rab-nav-language{min-width:30px!important;height:30px!important;font:900 10px/1 var(--rab-text)!important}
/* Only first-level page containers use the 1240px grid. Do not widen nested cards, reports or forms. */
body > main > .wrap,body > main > section > .wrap,body > main > header > .wrap,
body > header > .wrap,body > section > .wrap,
.blog-main > .wrap,.archive > .wrap,.blog-about > .wrap{
  width:min(var(--rab-page-width),calc(100% - 56px))!important;
  max-width:var(--rab-page-width)!important;margin-inline:auto!important
}
.article-shell{width:min(1080px,calc(100% - 56px))!important;margin-inline:auto!important}
/* Headings: Onest. Decks under headings: Georgia. Logo and footer keep Fraunces/Inter. */
:is(h1,h2,h3):not(.rab-reference-footer *){font-weight:600;letter-spacing:-.02em}
/* Homepage editorial type scale: hero 50–82, major section 38–54, feature 27–36. */
.rab-primary-heading{font-family:var(--rab-display)!important;font-size:clamp(50px,5.8vw,82px)!important;font-weight:600!important;line-height:.98!important;letter-spacing:-.02em!important;overflow-wrap:break-word}
:is(.section-head,.blog-about,.author-copy,.contact-copy,.section-heading) h2,
main > .wrap > h2,main > section > .wrap > h2,
.rab-section-title{font-family:var(--rab-display)!important;font-size:clamp(38px,3.5vw,54px)!important;font-weight:600!important;line-height:1.08!important;letter-spacing:-.02em!important;overflow-wrap:break-word}
:is(.entry,.post-card,.research-card,.case-card,.intel-card,.article-feature) :is(h2,h3,.post-title),
.rab-feature-title{font-family:var(--rab-display)!important;font-size:clamp(27px,2.3vw,36px)!important;line-height:1.16!important;letter-spacing:-.02em!important;overflow-wrap:break-word}
:is(.article-hero,.blog-hero,.contact-hero,.author-hero,.hero) :is(.lede,.article-deck,.hero-lede,.author-intro),
.section-head > p,.section-head > div > p,.playbook-lead,
.rab-section-deck{font-family:Georgia,"Times New Roman",serif!important;font-size:clamp(16px,1.18vw,18px)!important;line-height:1.65!important}
:is(.entry,.post-card,.research-card,.case-card,.intel-card,.article-feature) :is(p,.post-excerpt){font-size:16px!important;line-height:1.6!important}
/* Consistent first-screen and section rhythm; long-form article prose keeps its reading width. */
body > header:is(.blog-hero,.article-hero,.author-hero,.contact-hero,.hero),
body > main > header:is(.blog-hero,.article-hero,.hero){padding-top:clamp(165px,12vw,190px)!important;padding-bottom:clamp(64px,5vw,82px)!important}
body > main > section.hero{padding-top:clamp(165px,12vw,190px)!important}
:is(.blog-main,.archive,.author-main,.contact-main){padding-top:clamp(65px,6vw,95px)!important;padding-bottom:clamp(80px,7vw,110px)!important}
/* Homepage footer source CSS is loaded independently. Keep market-selector buttons identical to links. */
footer.rab-reference-footer .rab-footer-group .rab-footer-selector{display:block;width:fit-content;max-width:100%;padding:0;border:0;background:none;color:var(--rab-page-paper);font:600 clamp(13px,1.12vw,16px)/1.45 var(--rab-text);letter-spacing:-.01em;text-transform:uppercase;text-align:left;cursor:pointer}
footer.rab-reference-footer .rab-footer-group .rab-footer-selector:is(:hover,:focus-visible){color:var(--rab-page-copper);text-decoration:underline;text-underline-offset:5px}
footer.rab-reference-footer .rab-footer-group .rab-footer-selector:focus-visible{outline:1px solid var(--rab-page-copper);outline-offset:4px}
@media(max-width:1100px){.rab-site-nav{top:10px!important;padding:0 12px!important}.rab-site-nav-inner{min-height:62px!important;display:block!important;padding:8px 9px 8px 14px!important}.rab-brand{font-size:21px!important}.rab-nav-links{gap:0!important;margin-left:0!important}.rab-nav-link{width:100%!important;min-height:48px!important;padding:13px 14px!important;font-size:11px!important;line-height:1.2!important}.rab-nav-languages{margin:8px 0 0!important;padding:10px 6px 2px!important}}
@media(max-width:767px){body > main > .wrap,body > main > section > .wrap,body > main > header > .wrap,body > header > .wrap,body > section > .wrap,.blog-main > .wrap,.archive > .wrap,.blog-about > .wrap{width:calc(100% - 48px)!important}.article-shell{width:calc(100% - 48px)!important}.rab-primary-heading{font-size:clamp(38px,10vw,44px)!important;line-height:1.06!important}:is(.section-head,.blog-about,.author-copy,.contact-copy,.section-heading) h2,main > .wrap > h2,main > section > .wrap > h2,.rab-section-title{font-size:clamp(30px,8vw,40px)!important;line-height:1.13!important}:is(.entry,.post-card,.research-card,.case-card,.intel-card,.article-feature) :is(h2,h3,.post-title),.rab-feature-title{font-size:clamp(25px,6.9vw,32px)!important;line-height:1.18!important}:is(.article-hero,.blog-hero,.contact-hero,.author-hero,.hero) :is(.lede,.article-deck,.hero-lede,.author-intro),.section-head > p,.section-head > div > p,.rab-section-deck{font-size:16px!important;line-height:1.6!important}:is(.entry,.post-card,.research-card,.case-card,.intel-card,.article-feature) :is(p,.post-excerpt){font-size:15px!important;line-height:1.62!important}body > header:is(.blog-hero,.article-hero,.author-hero,.contact-hero,.hero),body > main > header:is(.blog-hero,.article-hero,.hero),body > main > section.hero{padding-top:130px!important;padding-bottom:55px!important}:is(.blog-main,.archive,.author-main,.contact-main){padding-top:60px!important;padding-bottom:80px!important}footer.rab-reference-footer .rab-footer-group .rab-footer-selector{font-size:13px}}
@media(max-width:420px){.rab-site-nav{padding:0 8px!important}.rab-site-nav-inner{padding-left:12px!important}.rab-brand{font-size:20px!important}}
