/* ---------------------------------------------------------------------------------------------------
   HEADER 01 — one floating bar: the logo, the six chapters with their pages on hover, the language and
   the Impact Report, and the full menu behind a button on a narrow screen. The site's own header stays
   underneath, hidden, so the menu and the language switch keep working as they did.
   Lifted out of the page it was designed on so every page shares one copy.
   --------------------------------------------------------------------------------------------------- */
/* ===== HEADER OPTION 01 ===== */
.nav .nav__start,.nav .nav__report{visibility:hidden!important;pointer-events:none!important}
.nav .nav__logo{display:none!important}
.nav.is-menu-open{z-index:200}
.hb{position:fixed;z-index:120;top:clamp(6px,.7vw,10px);left:0;right:0;display:flex;justify-content:center;padding:0 clamp(12px,2vw,28px);pointer-events:none;transition:transform .6s cubic-bezier(.2,.8,.2,1),opacity .4s}
.hb.is-hidden{transform:translateY(-140%);opacity:0}
/* with the menu open the bar steps aside. The bar itself takes pointer-events:auto below, which outweighs
   pointer-events:none on the wrapper — so it is turned off here too, or the bar goes on swallowing taps at the
   top of the screen, which on a phone is exactly where the menu's close button sits. */
.hb.is-under,.hb.is-under .hb__bar{opacity:0;pointer-events:none}
.hb__bar{pointer-events:auto;width:min(1360px,100%);height:clamp(58px,4.6vw,70px);display:flex;align-items:center;gap:clamp(12px,2vw,32px);padding:0 clamp(14px,1.6vw,22px) 0 clamp(18px,2vw,30px);border-radius:0;
  background:linear-gradient(135deg,rgba(255,255,255,.14),rgba(255,255,255,.05));-webkit-backdrop-filter:blur(22px) saturate(1.5);backdrop-filter:blur(22px) saturate(1.5);
  border:1px solid rgba(255,255,255,.18);box-shadow:0 18px 40px rgba(0,8,30,.28),inset 0 1px 0 rgba(255,255,255,.18);color:#fff;transition:background .45s,color .45s,border-color .45s,box-shadow .45s}
.hb.is-light .hb__bar{background:rgba(255,255,255,.92);border-color:rgba(0,21,46,.06);box-shadow:0 14px 36px rgba(0,21,46,.12);color:#00152e}
.hb__logo{position:relative;flex:none;display:block;height:clamp(36px,2.9vw,44px)}
.hb__logo img{height:100%;width:auto;display:block;transition:opacity .45s}
.hb__logo--b{position:absolute;inset:0;opacity:0}
.hb.is-light .hb__logo--w{opacity:0}.hb.is-light .hb__logo--b{opacity:1}
.hb__nav{flex:1;display:flex;justify-content:center;min-width:0}
.hb__nav>ul{display:flex;align-items:center;gap:clamp(2px,.5vw,8px);margin:0;padding:0;list-style:none}
.hb__item{position:relative}
.hb__link{display:inline-flex;align-items:center;gap:6px;padding:10px clamp(8px,.9vw,14px);border-radius:0;font-family:var(--font,"museo-sans",sans-serif);font-size:clamp(13px,1.02vw,16px);font-weight:500;letter-spacing:.01em;color:inherit;text-decoration:none;white-space:nowrap;transition:background .25s}
.hb__link:hover,.hb__item:focus-within .hb__link,.hb__item.is-open .hb__link{background:rgba(255,255,255,.12)}
.hb.is-light .hb__link:hover,.hb.is-light .hb__item:focus-within .hb__link,.hb.is-light .hb__item.is-open .hb__link{background:rgba(0,91,170,.07)}
.hb__item.is-here .hb__link{color:#cec1b0}.hb.is-light .hb__item.is-here .hb__link{color:#005baa}
.hb__chev{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;opacity:.7;transition:transform .3s}
.hb__item:hover .hb__chev,.hb__item:focus-within .hb__chev{transform:rotate(180deg)}
/* dropdown: a navy glass panel like the bar, each page numbered, hairlines between them */
.hb__drop{position:absolute;left:50%;top:100%;padding-top:16px;transform:translate(-50%,10px);opacity:0;visibility:hidden;transition:opacity .25s,transform .35s cubic-bezier(.2,.8,.2,1),visibility 0s .35s}
.hb__item:hover .hb__drop,.hb__item:focus-within .hb__drop{opacity:1;visibility:visible;transform:translate(-50%,0);transition:opacity .25s,transform .35s cubic-bezier(.2,.8,.2,1)}
.hb__drop-in{position:relative;min-width:340px;max-width:420px;padding:20px 8px 8px;border-radius:0;background:linear-gradient(160deg,var(--c1,#12285a),var(--c2,#00152e));-webkit-backdrop-filter:blur(22px) saturate(1.4);backdrop-filter:blur(22px) saturate(1.4);border:1px solid rgba(255,255,255,.12);box-shadow:0 30px 60px rgba(0,8,30,.45),inset 0 1px 0 rgba(255,255,255,.1);color:#fff;overflow:hidden}
.hb__drop-in::before{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:linear-gradient(90deg,rgba(255,255,255,.7),rgba(255,255,255,0))}
.hb__drop-eye{display:flex;align-items:center;gap:10px;margin:0 16px 10px;font-size:11px;font-weight:700;letter-spacing:.24em;text-transform:uppercase;color:rgba(255,255,255,.72)}
.hb__drop ul{margin:0;padding:0;list-style:none}
.hb__drop li + li{border-top:1px solid rgba(255,255,255,.14)}
.hb__drop a{display:grid;grid-template-columns:1fr auto;align-items:center;gap:14px;padding:13px 16px;border-radius:0;font-size:15px;font-weight:300;line-height:1.3;color:#fff;text-decoration:none;transition:background .25s,color .25s}
.hb__num{font-size:11px;font-weight:700;letter-spacing:.08em;color:rgba(206,193,176,.7);font-variant-numeric:tabular-nums;transition:color .25s}
.hb__drop a svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;opacity:.35;transition:opacity .25s,transform .3s}
.hb__drop a:hover,.hb__drop a:focus-visible{background:rgba(255,255,255,.12);color:#fff}
.hb__drop a:hover .hb__num,.hb__drop a:focus-visible .hb__num{color:#cec1b0}
.hb__drop a:hover svg,.hb__drop a:focus-visible svg{opacity:1;transform:translateX(4px)}
.hb__end{flex:none;display:flex;align-items:center;gap:clamp(10px,1.2vw,18px)}
.hb__cta{display:inline-flex;align-items:center;gap:12px;height:44px;padding:0 4px;border:0;background:none;color:#fff;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;text-decoration:none;white-space:nowrap;transition:color .3s}
.hb__cta svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .3s}
.hb__cta:hover,.hb__cta:focus-visible{color:#cec1b0}
.hb__cta:hover svg,.hb__cta:focus-visible svg{transform:translateY(2px)}
.hb.is-light .hb__cta{color:#00152e}
.hb.is-light .hb__cta:hover,.hb.is-light .hb__cta:focus-visible{color:#005baa}
.hb__lang{display:flex;align-items:center;gap:8px;font-size:14px}
.hb__lang button{padding:4px 2px;border:0;background:none;color:inherit;font:inherit;font-weight:500;opacity:.6;cursor:pointer}
.hb__lang button.is-on{opacity:1;font-weight:700;color:#cec1b0}.hb.is-light .hb__lang button.is-on{color:#005baa}
.hb__lang button{display:inline-flex;align-items:center;justify-content:center;height:24px;line-height:1}
.hb__lang button[lang=ar]{font-size:17px;line-height:1;transform:translateY(-3px)}
/* a gap and a thin upright line between the language and the Impact Report */
.hb__lang + .hb__cta{position:relative;margin-left:clamp(10px,1.4vw,22px);padding-left:clamp(22px,2vw,32px)}
.hb__lang + .hb__cta::before{content:"";position:absolute;left:0;top:50%;width:1px;height:24px;transform:translateY(-50%);background:currentColor;opacity:.3}
.hb__lang span{width:1px;height:14px;background:currentColor;opacity:.35}
.hb__menu{display:none;justify-items:end;gap:6px;width:40px;height:40px;padding:12px 6px;border:0;border-radius:0;background:none;color:inherit;cursor:pointer;transition:background .25s}
.hb__menu i{display:block;height:2px;border-radius:2px;background:currentColor}
.hb__menu i:nth-child(1){width:26px}.hb__menu i:nth-child(2){width:20px}.hb__menu i:nth-child(3){width:14px}
.hb__menu:hover{background:rgba(255,255,255,.12)}.hb.is-light .hb__menu:hover{background:rgba(0,91,170,.07)}
@media (max-width:1180px){.hb__nav{display:none}.hb__bar{justify-content:space-between}.hb__menu{display:grid}}
@media (max-width:640px){.hb__cta{width:44px;padding:0;justify-content:center;font-size:0;gap:0;letter-spacing:0}.hb__bar{border-radius:0}}

/* ---------------------------------------------------------------------------------------------------
   THE MENU · the list must not ride up under the close button
   The list is centred in the panel, and when it is taller than the panel — open a chapter on a phone and it
   is — centring pushes it past the top of its own padding, straight under the close button, which is pinned
   to the menu outside the scroll. Worse, the part above the padding cannot be scrolled to.
   "safe" centres it only while it fits and falls back to the top when it does not, so the list starts below
   the button and the panel scrolls honestly. The button is given its own ground besides, for the moment
   mid-scroll when a line does pass behind it.
   --------------------------------------------------------------------------------------------------- */
/* the row holding the list may shrink to nothing (minmax(0,1fr)), so a list too tall for it simply spilled
   over the panel instead of making the panel scroll. Floored at min-content it grows instead, the panel's
   scroll height grows with it, and the list can be reached by scrolling. */
.menu__panel{grid-template-rows:minmax(min-content,1fr) auto}
.menu__chapters{align-self:safe center}
.menu__close{top:calc(var(--nav-tab,30px) / 2);background:rgba(0,21,46,.82)}
