/* OSSI website V5 | canonical responsive typography and spacing layer.
   Load LAST on every full document; never change brand artwork here.
   Keep all V4 behavior, colors, content and asset URLs unless expressly revised. */
:root {
  --ossi-v5-body: clamp(17px, 1.25vw, 18px);
  --ossi-v5-h1: clamp(34px, 4.2vw, 56px);
  --ossi-v5-h2: clamp(27px, 3vw, 42px);
  --ossi-v5-h3: clamp(21px, 1.8vw, 26px);
  --ossi-v5-label: clamp(14px, 1.1vw, 16px);
  --ossi-v5-nav: 15px;
  --ossi-v5-btn: 16px;
  --ossi-v5-section: clamp(52px, 6vw, 88px);
}
/* Primary corporate and FORGE/Consulting templates. */
body.vb, body.forge-relaunch {font-size:var(--ossi-v5-body);line-height:1.6}
body.vb main h1, body.forge-relaunch main h1 {font-size:var(--ossi-v5-h1)!important;line-height:1.12}
body.vb main h2, body.forge-relaunch main h2 {font-size:var(--ossi-v5-h2);line-height:1.18}
body.vb main h3, body.forge-relaunch main h3 {font-size:var(--ossi-v5-h3);line-height:1.25}
body.vb main .phb .hb-copy h1 {font-size:var(--ossi-v5-h1)!important}
body.vb main .phb .hb-copy .sub {font-size:clamp(17px,1.5vw,20px)!important;line-height:1.5}
body.vb main .sec {padding-block:var(--ossi-v5-section)}
body.vb main .phb + section.sec {padding-top:var(--ossi-v5-section)!important}
body.vb main .sec-head {margin-bottom:clamp(26px,3.6vw,52px);gap:clamp(20px,3vw,36px)}
body.vb main :is(.eyebrow,.kick,.note,.bro-k), body.forge-relaunch main .flabel {font-size:var(--ossi-v5-label);letter-spacing:.06em}
body.vb main :is(.lead,.nh-letter-b p) {font-size:clamp(18px,1.45vw,20px);line-height:1.6}
body.vb main :is(.card,.route,.pd,.bro,.fbro,.nom-b,.spk,.nh-mile,.ins-card) p,
body.forge-relaunch main :is(.fcard,.fbenefit,.fcase,.fservice,.fvideo-card,.fflow-item) p {font-size:var(--ossi-v5-body);line-height:1.55}
body.vb main .bro-tx p {display:block;-webkit-line-clamp:unset;overflow:visible}
body.vb main figcaption, body.vb main .nh-stats dd {font-size:14px;line-height:1.45}
body.vb main .nh-stats {grid-template-columns:repeat(2,minmax(0,1fr))}
body.vb main .nh-stats div {min-width:0;overflow-wrap:anywhere}
body.vb main .btn, body.vb footer .btn, body.forge-relaunch .fbtn {font-size:var(--ossi-v5-btn);line-height:1.3;min-height:44px;max-width:100%;white-space:normal;text-align:center;justify-content:center}
/* Home hero: eliminate the inherited large grid gap on the flex wrapper. */
html body.vb main .nh-hero {min-height:0!important;padding:clamp(58px,6vw,88px) 0 clamp(76px,7vw,104px)!important;align-items:center}
html body.vb main .nh-hero .wrap {display:flex;flex-direction:column;align-items:center;gap:0;text-align:center}
html body.vb main .nh-hero h1 {font-size:clamp(36px,4.5vw,64px)!important;line-height:1.08;max-width:25ch;margin:18px auto 0}
html body.vb main .nh-hero .eyebrow {font-size:clamp(16px,1.2vw,18px);line-height:1.4;letter-spacing:.08em}
html body.vb main .nh-hero .nh-line2 {font-size:clamp(20px,2.1vw,30px);line-height:1.3;max-width:44ch;margin:18px auto 0}
html body.vb main .nh-hero .nh-sub {font-size:clamp(18px,1.55vw,22px);line-height:1.45;letter-spacing:0;text-transform:none;margin:12px auto 0}
html body.vb main .nh-hero .acts {margin:24px auto 0;gap:12px;max-width:100%}
html body.vb main .nh-hero .ossi-v5-pathways {display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 12px;margin:24px auto 0;max-width:100%;font-size:16px;line-height:1.35}
html body.vb main .nh-hero .ossi-v5-pathways a {display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 14px;border:1px solid rgba(10,26,51,.28);border-radius:999px;background:rgba(255,255,255,.34);font-weight:700;text-align:center}
html body.vb main .nh-hero .ossi-v5-pathways a:hover {background:rgba(255,255,255,.8)}
/* Readable navigation without sacrificing logo or CTA. Compact earlier when needed. */
html body header.nav .links a, html body.forge-relaunch .fnav-menu a {font-size:var(--ossi-v5-nav);padding:6px 5px;line-height:1.25}
html body header.nav .links, html body.forge-relaunch .fnav-menu {flex-wrap:nowrap}
html body header.nav .nav-r .btn, html body.forge-relaunch .fnav-cta {font-size:15px;min-height:44px;padding:10px 13px;line-height:1.3}
html body header.nav .lang.tg a, html body.forge-relaunch .flang {font-size:14px}
html body .mnav a, html body.forge-relaunch .fmobile-nav a {font-size:20px;line-height:1.4}
html body.forge-relaunch .fnav-toggle {min-height:44px;min-width:44px;font-size:20px;line-height:1}
@media(max-width:1399px) {
  html body header.nav .links, html body.forge-relaunch .fnav-menu {display:none}
  html body header.nav .burger, html body.forge-relaunch .fnav-toggle {display:block}
  html body header.nav .nav-in, html body.forge-relaunch .fnav-in {justify-content:space-between}
  html body.forge-relaunch .fmobile-nav.open {display:flex;flex-direction:column;padding:12px 20px 24px;gap:12px;background:#092a44;max-height:75vh;overflow:auto;overscroll-behavior:contain}
  html body.forge-relaunch .fmobile-nav a {text-decoration:none;color:#dbf8fc;font-weight:750}
}
@media(max-width:1599px) {
  html[dir=rtl] body header.nav .links, html[dir=rtl] body.forge-relaunch .fnav-menu {display:none}
  html[dir=rtl] body header.nav .burger, html[dir=rtl] body.forge-relaunch .fnav-toggle {display:block}
  html[dir=rtl] body.forge-relaunch .fmobile-nav.open {display:flex;flex-direction:column;padding:12px 20px 24px;gap:12px;background:#092a44;max-height:75vh;overflow:auto;overscroll-behavior:contain}
  html[dir=rtl] body.forge-relaunch .fmobile-nav a {text-decoration:none;color:#dbf8fc;font-weight:750}
}
@media(max-width:640px) {
  html body header.nav .nav-r .btn, html body.forge-relaunch .fnav-cta {display:none}
  html body .mnav .mobile-demo, html body.forge-relaunch .fmobile-nav .fmobile-demo {display:block}
  html body.vb main .nh-hero {padding:48px 0 74px!important}
  html body.vb main .nh-hero .ossi-v5-pathways {font-size:15px;gap:8px}
  html body.vb main .nh-hero .ossi-v5-pathways a {min-height:44px;padding:8px 11px}
  html body.vb main .nh-hero .acts {width:100%}
  html body.vb main .nh-hero .acts .btn {flex:1 1 220px}
}
/* FORGE / Consulting: preserve approved image and palette, align scale. */
body.forge-relaunch .fhero-grid {min-height:0;gap:clamp(16px,2vw,30px)}
body.forge-relaunch .fhero-left {padding:clamp(36px,5vw,72px) 0}
body.forge-relaunch .fhero h2 {font-size:clamp(25px,2.7vw,36px);line-height:1.2}
body.forge-relaunch .fhero p {font-size:var(--ossi-v5-body);line-height:1.6}
body.forge-relaunch .fhero .fnotice {font-size:14px;line-height:1.5}
body.forge-relaunch .fsection {padding-block:var(--ossi-v5-section)}
body.forge-relaunch .fsection h2 {font-size:var(--ossi-v5-h2)}
body.forge-relaunch .fsection h3 {font-size:var(--ossi-v5-h3)}
@media(max-width:1080px) {body.forge-relaunch .fhero-left {padding-bottom:12px}}
/* Resource Center: editorial readability, not a redesign of historical exhibits. */
html[data-ossi-template="library"] body {font-size:var(--ossi-v5-body);line-height:1.6}
html[data-ossi-template="library"] main h1 {font-size:var(--ossi-v5-h1);line-height:1.15}
html[data-ossi-template="library"] main h2 {font-size:var(--ossi-v5-h2);line-height:1.2}
html[data-ossi-template="library"] main :is(.lead,.hub-intro,.v32-intro,.v33m-lead,.hero-primary,.hero-secondary) {font-size:var(--ossi-v5-body);line-height:1.6}
html[data-ossi-template="library"] main :is(.card,.v29-card,.hub-card,.audience-content) p {font-size:var(--ossi-v5-body);line-height:1.55}
html[data-ossi-template="library"] main figcaption {font-size:14px;line-height:1.45}
/* Arabic: use native reading rhythm and existing Arabic fonts, with no letter spacing. */
html[dir=rtl] body.vb main :is(h1,h2,h3), html[dir=rtl] body.forge-relaunch main :is(h1,h2,h3) {line-height:1.3;letter-spacing:0}
html[dir=rtl] body.vb main .nh-hero h1 {line-height:1.25}
html[dir=rtl] body.vb main .nh-hero :is(.eyebrow,.nh-sub), html[dir=rtl] body.forge-relaunch .flabel {letter-spacing:0;text-transform:none}
/* V5 responsive correction: product cards must remain readable at narrow phone widths. */
body.vb main .prodg {grid-template-columns:repeat(5,minmax(0,1fr))}
body.vb main .prodg .pd {min-width:0;overflow-wrap:anywhere}
@media(max-width:1100px) {body.vb main .prodg {grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px) {body.vb main .prodg {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px) {body.vb main .prodg {grid-template-columns:minmax(0,1fr)}}
