/* The inside pages in the homepage's own type and controls (src/styles/variables.css, responsive.css): one scale and
   one style per kind of text, whichever page it is on. Loaded after each page's own styles, so it has the last word.
     display   the big question or statement a part opens with            heading face, black, capitals
     h2        a part's headline                                          heading face, black, capitals, --fs-h2
     h3        a card's or a step's title                                 heading face, black, capitals
     eyebrow   the line above a headline                                  light, spaced capitals
     label     the small line under a figure, a card's kicker             bold, spaced capitals
     stat      a figure                                                   medium, tight
     lead      the larger light paragraph a part is told in
     text      a part's intro paragraph, a card's text                    light
   Light grounds: headlines in the report's blue; dark grounds ([data-theme="dark"]): white. */
:root{
  --fs-display:clamp(34px,5.4vw,92px);
  --fs-h2:clamp(30px,3.6vw,60px);
  --fs-h3:clamp(22px,2.1vw,36px);
  --fs-h3-sm:clamp(16px,1.45vw,24px);
  --fs-stat:clamp(30px,3.8vw,66px);
  --fs-eyebrow:clamp(13px,1.3vw,20px);
  --fs-label:clamp(11px,.85vw,13px);
  --fs-lead:clamp(20px,2.1vw,32px);
  --fs-text:clamp(14px,1.15vw,18px);
  --fs-body:clamp(13px,1vw,16px);
}

/* ---- display: the big question or statement ---- */
.sx-q__row,
.ev-ask__words b{font-family:var(--head);font-weight:900;font-size:var(--fs-display);line-height:1.02;letter-spacing:-.02em;text-transform:uppercase}
.sx-q__row em{font-weight:900}
.ev-ask__words b{-webkit-text-stroke-width:1.5px}

/* ---- h2: a part's headline ---- */
:is(.sx-nation__big,.sx-fund__head h2,.ev-pil__head h2,.ro-big,.ro-verbs__head h2,.ro-trio__top h2,.ro-sec__text h2,
    .pw-ask__q,.pw-paths__head h2,.pw-bold__h,.pd-vis__head h2,.pd-ten__head h2,.pd-imp__arrow h2,.ex-ask__q,.ex-com__head h2,.ic-ask__q,.ic-com__words h2,.cs-intro__words h2,.ss-intro h2){
  font-family:var(--head);font-weight:900;font-size:var(--fs-h2);line-height:1;letter-spacing:-.02em;text-transform:uppercase;text-wrap:balance;color:var(--head-on-light,#005baa)}
:is(.sx-nation__big,.sx-fund__head h2,.ev-pil__head h2,.ro-big,.ro-verbs__head h2,.ro-trio__top h2,.ro-sec__text h2,
    .pw-ask__q,.pw-paths__head h2,.pw-bold__h,.pd-vis__head h2,.pd-ten__head h2,.pd-imp__arrow h2,.ex-ask__q,.ex-com__head h2,.ic-ask__q,.ic-com__words h2,.cs-intro__words h2,.ss-intro h2) :is(b,span,em){font-weight:900}
/* the softer second half of a headline ("— 2016", "a sustainable future" …) */
:is(.sx-fund__head h2,.ev-pil__head h2,.ro-trio__top h2) span,.sx-nation__soft{color:rgba(0,91,170,.45)}
[data-theme="dark"] :is(.sx-nation__big,.sx-fund__head h2,.ev-pil__head h2,.ro-trio__top h2,.ro-sec__text h2,.pw-bold__h,.pd-imp__arrow h2,.ic-ask__q){color:#fff}
[data-theme="dark"] :is(.sx-fund__head h2,.ev-pil__head h2,.ro-trio__top h2) span{color:rgba(255,255,255,.55)}
.sx-nation__soft{display:block;margin-top:.3em;font-size:.42em;letter-spacing:.04em}
.sx-hinge .sx-hinge__h{font-family:var(--head);font-weight:900;font-size:clamp(20px,1.9vw,30px);line-height:1.05;letter-spacing:-.01em;text-transform:uppercase} /* (inside the MBRIF frame) */
.sx-hinge__yr{font-family:var(--head);font-weight:900}

/* ---- h3: a card's or a step's title ---- */
:is(.sx-stack__text h3,.ev-pan h3,.ro-prog h3,.ro-verb h3,.pw-path__for,.pw-path__text h4,.pd-step h3){
  font-family:var(--head);font-weight:900;font-size:var(--fs-h3);line-height:1.05;letter-spacing:.01em;text-transform:uppercase;text-wrap:balance}
.pd-step h3 b{font-weight:900}
:is(.sx-card__h,.sx-cell__h){font-family:var(--head);font-weight:900;font-size:var(--fs-h3-sm);line-height:1.15;letter-spacing:.01em;text-transform:uppercase;text-wrap:balance}
.pw-path__text h4{font-size:var(--fs-h3-sm)}

/* ---- eyebrow: the line above a headline ---- */
:is(.sx-para small,.sx-fund__head small,.ev-pil__head small,.ev-brief__text small,.ro-trio__top small,.ro-sec__text small,
    .pd-imp__arrow h2 small,.tp-era__head small,.ex-com__head small){
  font-family:var(--font);font-size:var(--fs-eyebrow);font-weight:300;letter-spacing:.12em;text-transform:uppercase}

/* ---- label: the kicker on a card, the line under a figure ---- */
:is(.sx-stack__text small,.ro-prog__for,.pw-path__for small,.pd-tab small,.pd-step__eye,.ro-facts small,.ev-pan__n,
    .pd-stat > span,.ev-pan__stats p > span,.sx-stats span,.pd-step__num > span,.pd-imp__arrow li > span,.ev-date span,.ro-prog__yr small){
  font-family:var(--font);font-size:var(--fs-label);font-weight:700;letter-spacing:.14em;line-height:1.45;text-transform:uppercase}
.pd-step > p.pd-step__eye{font-size:var(--fs-label)}

/* ---- stat: a figure ---- */
:is(.ev-pan__stats b,.sx-stats b,.pd-stat b,.pd-imp__arrow li b,.ev-date b,.ro-prog__yr,.ro-verb__n,.sx-stack__text .tp-yr){
  font-family:var(--font);font-size:var(--fs-stat);font-weight:500;line-height:1;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.pd-step .pd-step__num b{font-size:var(--fs-stat)!important;font-weight:500!important;letter-spacing:-.02em!important}

/* ---- lead: the larger light paragraph ---- */
:is(.sx-para p,.ev-brief__text p,.ev-photo__line){font-size:var(--fs-lead);font-weight:300;line-height:1.35;letter-spacing:0}
.ev-photo__line em{font-weight:700}

/* ---- text: intro paragraphs and card text, light ---- */
:is(.ic-ask__t,.ic-com__t,.pw-ask__t,.pw-paths__head p,.pd-vis__head p,.pd-ten__head p,.ro-intro__t,.ro-sec__t,.pw-bold__t,.sx-hinge__t,.ro-paths__head p,
    .pw-bold__to){font-size:var(--fs-text);font-weight:300;line-height:1.55}
.pw-bold__to{text-transform:uppercase;letter-spacing:.04em}
.pw-bold__to b,.pd-ten__head p b{font-weight:700}
:is(.sx-stack__text p:not(.tp-yr),.sx-card__t,.sx-cell__t,.ev-pan p.ev-pan__t,.ro-prog__text > p:not(.ro-prog__yr),.pw-path__text p,.pd-step > p:not(.pd-step__eye):not(.pd-step__num),.ev-ask__lead){
  font-weight:300}
.ev-ask__lead{font-size:var(--fs-text);text-transform:uppercase;letter-spacing:.12em}

/* ---- the buttons: the homepage's call-to-action (an outlined glass rectangle, spaced capitals, an arrow); on the
   dark cards they sit on, white, filling white under the pointer ---- */
.sx-btn{display:inline-flex;align-items:center;gap:12px;width:max-content;max-width:100%;padding:clamp(11px,1vw,15px) clamp(16px,1.6vw,24px);
  border:1px solid rgba(255,255,255,.55);border-radius:0;background:linear-gradient(135deg,rgba(255,255,255,.2),rgba(255,255,255,.05));
  backdrop-filter:blur(14px) saturate(140%);-webkit-backdrop-filter:blur(14px) saturate(140%);box-shadow:inset 0 1px 0 rgba(255,255,255,.35);
  font-family:var(--font);font-size:var(--fs-label);font-weight:700;letter-spacing:.14em;line-height:1.2;text-transform:uppercase;color:#fff;
  transition:background .3s,color .3s,border-color .3s}
.sx-btn svg{width:16px;height:16px;transition:transform .3s}
.sx-btn:hover,.sx-btn:focus-visible{background:#fff;border-color:#fff;color:var(--navy)}
.sx-btn:hover svg,.sx-btn:focus-visible svg{transform:translateX(3px)}

/* ---- the ways to the parts either side: square, as the homepage's controls ---- */
.sx-pn__a{border-radius:0}
.sx-pn__a b{font-weight:500}

/* ---- phones ---- */
@media (max-width:767px){
  :root{--fs-display:clamp(30px,9vw,46px);--fs-h2:clamp(26px,7.4vw,36px);--fs-h3:clamp(20px,5.6vw,26px);--fs-stat:clamp(32px,9vw,44px);--fs-lead:clamp(19px,5.2vw,24px)}
  .sx-q__row{white-space:normal;flex-wrap:wrap;padding:0 var(--gutter)}
  .ev-ask__words b{-webkit-text-stroke-width:1px}
  .sx-nation__soft{font-size:.5em}
  .sx-word{font-size:clamp(34px,11vw,60px)}
  /* (readable and easy to tap on a phone: the breadcrumb, the small labels, the buttons) */
  .sx-crumbs ol{font-size:10.5px;letter-spacing:.08em}
  .sx-crumbs a{display:inline-block;padding:14px 0}
  .sx-pn__a small,.ro-facts small,.ro-intro__side .ro-facts small{font-size:11px}
  .sx-btn{min-height:44px}
}

/* ---- the opener: a photograph across the whole screen, the chapter's name on its left on a navy that falls away
   before the photograph's subject. Each page sets where the picture starts (--bg-x, the subject then stands to the
   right of the words) and what part of it shows (--bg-pos; on phones --bg-mpos) on its .sx-hero__bg ---- */
.sx-hero--full{--hero:#00152e;overflow:hidden;justify-items:start;align-content:center;padding:clamp(96px,14svh,150px) var(--gutter) clamp(70px,11svh,110px);text-align:left;background:var(--hero)}
.sx-hero__bg{position:absolute;inset:0;z-index:0;margin:0;overflow:hidden}
/* a shade along the top of every banner, so the header's white words (menu, logo, impact report) read on light photographs */
.sx-hero__bg::before{content:"";position:absolute;left:0;right:0;top:0;height:min(34vh,280px);z-index:1;background:linear-gradient(180deg,rgba(0,21,46,.62) 0%,rgba(0,21,46,.3) 45%,rgba(0,21,46,0) 100%);pointer-events:none}
.sx-hero__bg img{position:absolute;left:var(--bg-x,18%);top:0;width:100%;max-width:none;height:100%;object-fit:cover;object-position:var(--bg-pos,50% 12%);will-change:transform}
.sx-hero__bg::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--hero) 0%,var(--hero) 18%,color-mix(in srgb,var(--hero) 82%,transparent) 34%,color-mix(in srgb,var(--hero) 30%,transparent) 50%,transparent 60%),linear-gradient(0deg,color-mix(in srgb,var(--hero) 55%,transparent) 0%,transparent 26%)}
.sx-hero--full :is(.sx-hero__title,.sx-hero__sub,.sx-hero__cue,.sx-crumbs){z-index:1}
.sx-hero--full .sx-hero__title{max-width:9em;font-size:var(--fs-display);line-height:1;color:#fff;text-align:left}
.sx-hero--full .sx-hero__title--three{max-width:none;font-size:clamp(28px,4.1vw,64px)} /* (the Impact pages' three lines keep their own breaks) */
.sx-hero--full .sx-hero__title :is(span,b,em){color:inherit}
.sx-hero--full .sx-hero__ghost{display:none}
.sx-hero--full .sx-hero__sub{max-width:36rem;margin-top:clamp(12px,2svh,20px);padding:0;color:#fff;text-align:left}
@media (min-width:768px){.sx-hero--full .sx-hero__sub{max-width:none;white-space:nowrap}} /* (the line under the name on one line; phones let it wrap) */
.sx-hero--full .sx-hero__cue{color:rgba(255,255,255,.8)}
.sx-hero--full .sx-crumbs a{color:rgba(255,255,255,.75)}
.sx-hero--full .sx-crumbs a:hover,.sx-hero--full .sx-crumbs a:focus-visible{color:#fff}
.sx-hero--full .sx-crumbs [aria-current]{color:#fff}
.sx-hero--full .sx-crumbs li + li::before{border-color:#fff}
@media (max-width:767px){
  .sx-hero--full{align-content:end;padding-bottom:clamp(64px,10svh,90px)}
  .sx-hero__bg img{left:0;object-position:var(--bg-mpos,50% 10%)}
  .sx-hero__bg::after{background:linear-gradient(0deg,color-mix(in srgb,var(--hero) 94%,transparent) 0%,color-mix(in srgb,var(--hero) 76%,transparent) 26%,transparent 52%)}
}

/* (the banner's breadcrumb on the same line as its Scroll cue: the trail's middle on the cue's middle — the cue sits
   clamp(18px,4svh,36px) up and is 13px high, the trail ~10px) */
html .sx-hero .sx-crumbs{bottom:calc(clamp(18px,4svh,36px) + 1.5px)}

/* the big question keeps one size across the inside pages, the one the Impact chapter sets */
.mi-q .sx-q__row{font-size:clamp(28px,4.9vw,80px)}

/* the breadcrumb: a tab at the foot of the window, bottom right as the Impact Report tab is top right, and in the
   same glass — chrome.js moves it out of the banner and marks it when it sits over a light part */
.sx-crumbs--fixed{position:fixed;z-index:45;inset:auto 0 0 auto;max-width:calc(100vw - var(--gutter));
  padding:0 clamp(18px,1.9vw,30px);height:clamp(42px,5.2svh,54px);display:flex;align-items:center;
  background:rgba(0,91,170,.82);
  backdrop-filter:blur(20px) saturate(1.6);-webkit-backdrop-filter:blur(20px) saturate(1.6);
  border:1px solid rgba(255,255,255,.24);border-right:0;border-bottom:0;border-radius:22px 0 0 0;
  box-shadow:0 -10px 34px rgba(0,0,0,.26),inset 0 1px 0 rgba(255,255,255,.1);
  pointer-events:auto}
/* on the fund's blue the trail is white, over a light part of the page as over a dark one */
.sx-crumbs--fixed a{padding:0;color:rgba(255,255,255,.78)}
.sx-crumbs--fixed a:hover,.sx-crumbs--fixed a:focus-visible{color:#fff}
.sx-crumbs--fixed [aria-current]{color:#fff}
.sx-crumbs--fixed li + li::before{border-color:#fff}
.sx-crumbs--fixed{transition:opacity .35s,transform .35s}
.sx-crumbs--fixed.is-away{opacity:0;transform:translateY(100%);pointer-events:none}
/* the trail is written into the banner and only becomes the tab once chrome.js (deferred) has moved it; until then
   it is kept out of sight, or it shows in the banner for a moment as the page loads and then jumps to the foot */
.sx-crumbs:not(.sx-crumbs--fixed){visibility:hidden}
/* phones: the tab keeps to the bottom right, as on a wider screen. The pages' own phone rules centre the trail
   (left:50% and a translate) or stretch it across the banner (left and right at the gutter); this outranks both */
@media (max-width:767px){
  html body .sx-crumbs.sx-crumbs--fixed{left:auto;right:0;translate:none;margin:0;max-width:calc(100vw - var(--gutter))}
}

/* the dirham mark, as the printed report sets it: the official symbol drawn in the colour of the words around it
   (Unicode U+20C3 is still too new to rely on a reader's fonts having the glyph) */
.dh{display:inline-block;width:.69em;height:.72em;margin-right:.1em;vertical-align:baseline;background:currentColor;
  -webkit-mask:url(../images/d.svg) center/contain no-repeat;mask:url(../images/d.svg) center/contain no-repeat}
