
/* Homepage hero uses the original vertical composition, not the horizontal masthead. */
.bec-original-hero{background-image:url('assets/becfusion-vertical-original.png')!important;background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important;aspect-ratio:4/3!important;min-height:0!important;width:100%!important}


/* BECFusion shared design tokens and header shell. Loaded after page styles. */
:root{--bec-ink:#18303a;--bec-teal:#087f83;--bec-wood:#b7803b;--bec-paper:#fff;--bec-border:#dfe8e4;--bec-muted:#536b70}
body>header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.97);color:var(--bec-ink);border-bottom:1px solid var(--bec-border);backdrop-filter:blur(12px);padding:0}
body>header .nav,body>header .bec-header-inner{max-width:1180px;width:100%;margin:0 auto;padding:12px 20px;display:flex;align-items:center;gap:16px;justify-content:space-between;min-height:76px}
body>header>.brand{margin-left:max(20px,calc((100vw - 1180px)/2));}
body>header>.site-nav{margin-left:auto}
body>header .brand{display:flex;align-items:center;flex:0 0 auto;width:clamp(175px,27vw,220px);height:54px;min-width:0;white-space:nowrap;text-decoration:none}
body>header .brand img{display:block;width:100%;height:100%;object-fit:contain;object-position:left center}
body>header .site-nav,body>header .navlinks{display:flex;align-items:center;gap:15px;margin-left:auto}
body>header .site-nav a,body>header .navlinks a{color:var(--bec-ink);font-size:13px;font-weight:750;text-decoration:none;white-space:nowrap}
body>header .site-nav a:hover,body>header .navlinks a:hover{color:var(--bec-teal)}
body>header .site-nav a[aria-current="page"]{color:var(--bec-teal);text-decoration:underline;text-underline-offset:5px}
body>header .site-nav a:last-child{background:var(--bec-ink);color:white;border-radius:9px;padding:10px 14px}
body>header .lang{display:flex;align-items:center;gap:4px;flex:0 0 auto}
body>header .lang button,body>header #language{background:#edf3f0;color:var(--bec-ink);border:0;border-radius:9px;padding:9px 12px;font-size:14px;font-weight:800;cursor:pointer}
body>header .lang button[aria-pressed="true"]{background:var(--bec-ink);color:#fff}
body>header .bec-menu-toggle{background:#fff;color:var(--bec-ink);border:1px solid #d4dfdc;border-radius:12px;cursor:pointer}
body>header a:focus-visible,body>header button:focus-visible{outline:3px solid var(--bec-teal);outline-offset:2px}
@media(max-width:950px){
 body>header .nav,body>header .bec-header-inner{flex-wrap:wrap;padding:12px 18px;min-height:76px}
 body>header .brand{width:clamp(170px,43vw,220px);height:48px}
 body>header .bec-menu-toggle{display:inline-flex;order:2;align-items:center;justify-content:center;width:46px;height:46px;flex:0 0 46px;font-size:26px}
 body>header .lang,body>header #language{order:1;margin-left:auto}
 body>header .site-nav,body>header .navlinks{display:none!important;order:3;flex:0 0 100%;width:100%;margin:0;padding:12px 0 4px;flex-direction:column;align-items:stretch;gap:0;overflow:visible}
 body>header .site-nav.bec-menu-open,body>header .navlinks.bec-menu-open{display:flex!important}
 body>header .site-nav a,body>header .navlinks a{display:block;color:var(--bec-ink)!important;font-size:16px;padding:14px 16px;border-top:1px solid var(--bec-border);background:transparent}
 body>header .site-nav a[aria-current="page"]{color:var(--bec-teal)!important}
 body>header .site-nav a:last-child{background:var(--bec-ink);color:white!important;border:0;border-radius:11px;text-align:center;margin-top:10px}
 body>header>.brand{margin:12px 0 12px 18px}
 body>header>.site-nav{padding:12px 18px 16px}
 body>header:has(>.brand){display:flex;flex-wrap:wrap;align-items:center;gap:10px}
 body>header:has(>.brand) #language{margin-left:auto}
 body>header:has(>.brand) .bec-menu-toggle{margin-right:18px}
}
@media(max-width:390px){body>header .nav,body>header .bec-header-inner{padding:10px 12px;gap:8px}body>header .brand{width:160px}body>header .lang button{padding:8px 9px}body>header .bec-menu-toggle{width:42px;height:42px;flex-basis:42px}}

/* Keep desktop header concise; resource links remain in every footer and mobile menu. */
@media(min-width:951px){body>header .site-nav a[data-site-key="roi"],body>header .site-nav a[data-site-key="usecases"]{display:none}}
