/* ---- Consumer strip: a navy band above the floating bar, the mirror of the consumer site's
   black strip and red rule. It sits in the page flow, so scrolling carries it away while the bar
   stays sticky. Phones skip it; their menu panel has the "Switch site" card. ---- */
.site-strip{position:relative;height:34px;display:flex;align-items:center;background:#0a2a5c;}
.site-strip::after{content:"";position:absolute;left:0;right:0;bottom:0;height:14px;pointer-events:none;
  background:linear-gradient(to bottom,rgba(111,154,219,0),rgba(111,154,219,.28) 70%,rgba(140,180,240,.75));}
.site-strip .wrap{width:100%;display:flex;align-items:center;padding:0;}
.site-strip a{position:relative;z-index:1;display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:500;
  letter-spacing:.04em;color:rgba(255,255,255,.62);padding:4px 10px;margin-left:54px;border-radius:999px;
  transition:color .2s var(--ease),background-color .2s var(--ease);}
.site-strip a .ar{font-size:11px;transition:transform .25s var(--ease);}
.site-strip a:hover{color:#fff;background:rgba(255,255,255,.08);}
.site-strip a:hover .ar{transform:translate(2px,-2px);}
.site-strip a:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px var(--navy);}
.site-strip + header{margin-top:12px;}
@media (max-width:860px){.site-strip{display:none;} .site-strip + header{margin-top:0;}}

/* ---- Mega menu: the lit column follows the pointer, not only the top-level
   item that opened the menu. Between columns it falls back to that item. ---- */
@media (hover:hover) and (pointer:fine){
  .mega-col:hover,.mega-col:focus-within{opacity:1;}
  .mega-col:hover .mega-title,.mega-col:focus-within .mega-title{color:var(--navy);}
  .mega-map:has(.mega-col:hover) .mega-col:not(:hover),
  .mega-map:has(.mega-col:focus-within) .mega-col:not(:focus-within){opacity:.55;}
  .mega-map:has(.mega-col:hover) .mega-col:not(:hover) .mega-title,
  .mega-map:has(.mega-col:focus-within) .mega-col:not(:focus-within) .mega-title{color:var(--text-mute);}
}

/* The menu sits on the bar's true centre whatever the two ends hold: the
   wordmark + picker and the language control are different widths (and the bar's
   own padding is uneven), so flex space-between would push it off-centre. */
@media (min-width:861px){
  header .navbar > nav{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);}
}

/* ---- Language: the button and its menu share the header's chevron, hover pill, glass card and check. ---- */
.ss-check{width:14px;height:10px;flex:0 0 14px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M1 5l4 4 8-8' fill='none' stroke='%230b418c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;}
@media (min-width:861px){
  header .lang-toggle{font-size:14px;letter-spacing:.02em;padding:6px 10px 6px 12px;gap:6px;
    transition:background-color .2s var(--ease), color .2s var(--ease);}
  header .lang-toggle:hover,header .lang-toggle[aria-expanded="true"]{background:rgba(11,65,140,.07);}
  header .lang-toggle .lt-chev{width:12px;height:12px;transition:transform .3s var(--ease);}
  header .lang-menu{display:block;visibility:hidden;opacity:0;transform:translateY(-6px) scale(.98);
    transform-origin:80% 0;min-width:200px;padding:8px;border-radius:20px;
    background:rgba(255,255,255,.94);backdrop-filter:blur(18px) saturate(180%);
    -webkit-backdrop-filter:blur(18px) saturate(180%);
    border:1px solid rgba(20,20,30,.07);box-shadow:0 18px 50px rgba(20,30,50,.16);
    transition:opacity .2s var(--ease), transform .3s cubic-bezier(.22,1.3,.36,1), visibility 0s .3s;}
  header .lang-menu.open{visibility:visible;opacity:1;transform:none;
    transition:opacity .2s var(--ease), transform .3s cubic-bezier(.22,1.3,.36,1), visibility 0s;}
  header .lang-menu button{min-height:44px;padding:12px;border-radius:14px;}
  header .lang-menu button + button{margin-top:2px;}
  header .lang-menu button:hover,header .lang-menu button:focus-visible{background:rgba(11,65,140,.06);}
  header .lang-menu button[aria-checked="true"]{background:rgba(11,65,140,.06);}
}
@media (prefers-reduced-motion:reduce){header .lang-menu,header .lang-menu.open,header .lang-toggle .lt-chev{transition:none;}}
/* An open header menu rises above the floating inquiry button (the sticky
   header's own stacking level, 20, otherwise caps both menus beneath it). */
header:has(.lang-menu.open){z-index:60;}
