/* ===================== page core ===================== */
/* ===================== page ===================== */
:root{
  --paper:#fcfbf9; --paper-2:#ffffff; --clay:#fdf5ef; --tint:#fef0c3;
  --ink:#232323; --muted:#666666; --rule:#d9d9d9; --rule-soft:#eeeeee;
  --flame:#e6550d; --flame-600:#c4420a; --brand-text:#a33608; --ember:#feb233;
  --on-flame:#ffffff;
  --deep:#752700; --deep-2:#5a1c00; --cream:#fffed1; --on-deep:#fdf5ef;
  --blue-tint:#eff8ff; --blue-text:#0d74c4;
  --amber-tint:#fffbeb; --amber-text:#b45309;
  --green-tint:#ecfdf5; --green-text:#047857;
  --red-text:#b91c1c; --red-line:#ef4444;
  --sans:"Noto Sans","Noto Sans Arabic",system-ui,sans-serif;
  --display:"Gayathri","Noto Sans Arabic",system-ui,sans-serif;
  --arabic:"Noto Sans Arabic","Noto Sans",system-ui,sans-serif;
  --rail:1120px; --tight:4px; --round:18px; --pill:999px;
  --w-reg:400; --w-med:500; --w-disp:700;
  --t-meta:0.75rem;   --lh-meta:1.4;
  --t-sec:0.875rem;   --lh-sec:1.55;
  --t-body:1rem;      --lh-body:1.6;
  --t-lead:1.1875rem; --lh-lead:1.65;
  --t-h3:clamp(1.375rem,3.2vw,1.875rem);
  --t-h2:clamp(2rem,6.4vw,3.625rem);
  --t-giant:clamp(5.5rem,20vw,16rem);
  --lh-tight:1.04; --lh-head:1.16;
  --ease:cubic-bezier(.22,.61,.36,1);
  color-scheme:light; /* light only, whatever the device is set to */
}

*{box-sizing:border-box}
/* scrollbar-gutter: the popups lock scrolling, and a scrollbar that vanished would shift the page */
html{scroll-behavior:smooth;scroll-padding-top:76px;scrollbar-gutter:stable}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);
  font-size:var(--t-body);font-weight:var(--w-reg);line-height:var(--lh-body);
  -webkit-font-smoothing:antialiased;overflow-x:hidden;overflow-x:clip}
/* clip, not hidden: hidden makes body its own scroll box the moment a popup sets
   overflow:hidden on html, and every sticky header and pinned section then jumps */
img,video,canvas{display:block;max-width:100%}
.rail{width:100%;max-width:var(--rail);margin-inline:auto;
  padding-left:max(20px,env(safe-area-inset-left,0px));
  padding-right:max(20px,env(safe-area-inset-right,0px))}
.micro{font-size:var(--t-meta);line-height:var(--lh-meta);font-weight:var(--w-med);
  letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin:0;overflow-wrap:break-word}
.micro b{color:var(--brand-text);font-weight:var(--w-med)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* the Saudi riyal sign (sprite #riyal), sized to the text around it */
.riyal{display:inline-block;height:.92em;width:calc(.92em * 12 / 13.2);vertical-align:-.08em;fill:currentColor;flex:none}
.ltr{direction:ltr;unicode-bidi:isolate}
[dir="rtl"] body,[dir="rtl"] input,[dir="rtl"] select,[dir="rtl"] button{font-family:var(--arabic)}
[dir="rtl"] body{line-height:1.9}
[dir="rtl"] h2,[dir="rtl"] h3,[dir="rtl"] h4,[dir="rtl"] .prod-h,[dir="rtl"] .step-v,
[dir="rtl"] .closer,[dir="rtl"] .pack-fig,[dir="rtl"] .rec-total{font-family:var(--arabic)}
[dir="rtl"] .micro{letter-spacing:0;font-size:var(--t-sec)}

/* ---------- reveal: nothing is hidden without JS, and anything already on screen shows at once --- */
.js .rv{opacity:0;transform:translateY(22px);
  transition:opacity .7s var(--ease),transform .9s var(--ease)}
.js .rv.in{opacity:1;transform:none}
.js .rv-d1{transition-delay:.08s}.js .rv-d2{transition-delay:.16s}.js .rv-d3{transition-delay:.24s}
@media (prefers-reduced-motion:reduce){.js .rv{opacity:1;transform:none;transition:none}}

/* ---------- site header: slides in once the hero is behind you ---------- */
header.site{position:fixed;inset-inline:0;top:0;z-index:40;background:var(--paper);
  border-bottom:1px solid var(--rule-soft);transform:translateY(-105%);
  transition:transform .5s var(--ease);padding-top:env(safe-area-inset-top,0px)}
header.site.on{transform:none}
header.site .bar{display:flex;align-items:center;gap:16px;padding-block:12px}
header.site .brand{display:flex;align-items:center;flex:none;padding-block:8px}
header.site .brand img{height:24px;width:auto}
nav.site-nav{margin-inline-start:auto;display:none;gap:22px}
nav.site-nav a{font-size:var(--t-meta);line-height:var(--lh-meta);font-weight:var(--w-med);
  letter-spacing:.12em;text-transform:uppercase;color:var(--muted);text-decoration:none;
  padding-block:4px;border-bottom:1px solid transparent}
[dir="rtl"] nav.site-nav a{letter-spacing:0;font-size:var(--t-sec)}
nav.site-nav a:hover,nav.site-nav a:focus-visible{color:var(--ink);border-bottom-color:var(--flame)}
header.site .lang{margin-inline-start:auto;display:inline-flex;border:1px solid var(--rule);
  border-radius:var(--pill);padding:3px;gap:2px;flex:none}
header.site .lang button{border:0;background:transparent;cursor:pointer;color:var(--muted);
  font:var(--w-med) var(--t-meta)/1 var(--sans);padding:9px 13px;border-radius:var(--pill);min-height:36px}
header.site .lang button:nth-child(2){font-family:var(--arabic);font-size:var(--t-sec)}
header.site .lang button[aria-pressed="true"]{background:var(--deep);color:var(--cream)}
@media (min-width:880px){nav.site-nav{display:flex}header.site .lang{margin-inline-start:0}}
header.site .prog{position:absolute;inset-inline:0;bottom:-1px;height:2px;overflow:hidden}
header.site .prog i{display:block;height:100%;background:var(--flame);transform-origin:0 50%;transform:scaleX(0)}
[dir="rtl"] header.site .prog i{transform-origin:100% 50%}

/* ---------- buttons: one radius, the design system's pill; the wipe sits behind the label ------- */
.btn{position:relative;z-index:0;overflow:hidden;display:inline-flex;align-items:center;
  justify-content:center;gap:9px;border:0;cursor:pointer;text-decoration:none;
  background:var(--flame);color:var(--on-flame);font-family:inherit;
  font-size:var(--t-sec);line-height:var(--lh-sec);font-weight:var(--w-med);
  padding:15px 26px;min-height:48px;border-radius:var(--pill);
  transition:background-color .25s linear,transform .25s var(--ease)}
.btn::before{content:"";position:absolute;z-index:-1;left:50%;top:50%;width:0;aspect-ratio:1;
  border-radius:50%;background:var(--brand-text);transform:translate(-50%,-50%);
  transition:width .5s var(--ease)}
.btn:hover::before,.btn:focus-visible::before{width:260%}
.btn:active{transform:scale(.985)}
.btn-line{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1px var(--rule)}
.btn-line::before{background:var(--flame)}
.btn-line:hover,.btn-line:focus-visible{color:var(--on-flame);box-shadow:inset 0 0 0 1px var(--flame)}
.btn-ink{background:var(--ink);color:var(--paper)}
.btn-ink::before{background:var(--brand-text)}
.btn-cream{background:var(--cream);color:var(--deep-2)}
.btn-cream::before{background:#fff}
.btn-cream:hover,.btn-cream:focus-visible{color:var(--deep-2)}
.btn-wide{width:100%}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{
  outline:2px solid var(--flame);outline-offset:3px}

/* ---------- editorial grid ---------- */
.ed{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0 20px}
.c-label,.c-main{grid-column:1/-1}
.c-label{margin-bottom:20px}
@media (min-width:900px){
  .ed{grid-template-columns:repeat(12,minmax(0,1fr));gap:0 24px}
  .c-label{grid-column:1/3;margin-bottom:0}
  .c-main{grid-column:3/10}
}
section.sec{border-top:1px solid var(--rule)}
section.sec>.rail{padding-block:clamp(76px,13vw,168px)}
h2{font-family:var(--display);font-weight:var(--w-disp);margin:0;
  font-size:var(--t-h2);line-height:var(--lh-tight);letter-spacing:-.025em;text-wrap:balance;max-width:15ch}
[dir="rtl"] h2{letter-spacing:0;line-height:1.3}
h3.sub,h4.sub{font-family:var(--display);font-weight:var(--w-disp);
  font-size:var(--t-h3);line-height:var(--lh-head);margin:0;letter-spacing:-.015em}
.lede{font-size:var(--t-lead);line-height:var(--lh-lead);color:var(--muted);margin:28px 0 0;
  max-width:46ch;min-width:0}
[dir="rtl"] .lede{line-height:1.95}
.badge{display:inline-flex;align-items:center;gap:8px;font-size:var(--t-meta);line-height:var(--lh-meta);
  font-weight:var(--w-med);letter-spacing:.14em;text-transform:uppercase;color:var(--brand-text);
  box-shadow:inset 0 0 0 1px var(--flame);padding:6px 13px;border-radius:var(--pill)}
[dir="rtl"] .badge{letter-spacing:0;font-size:var(--t-sec)}
.c-label .num-rule{display:block;height:1px;background:var(--flame);margin-bottom:12px;max-width:40px}
.c-label .n{font-family:var(--display);font-weight:var(--w-disp);font-size:var(--t-sec);
  line-height:1.3;color:var(--flame);font-variant-numeric:tabular-nums;display:block;margin-bottom:5px}

/* ---------- full-bleed break ---------- */
.break{position:relative;width:100%;overflow:hidden;background:var(--ink);line-height:0;margin:0}
.break img{width:100%;height:clamp(220px,40vh,400px);object-fit:cover}

/* ---------- symbols: one style, single colour ---------- */
.sprite{position:absolute;width:0;height:0;overflow:hidden}
.sym{width:48px;height:48px;color:var(--ink);flex:none;overflow:visible}
.sym-sm{width:30px;height:30px}
@media (min-width:880px){.sym{width:56px;height:56px}}
/* the dialogs and panels below use the hidden attribute while also setting display,
   so hidden has to win. The artifact runtime supplied this; a standalone page must too. */
[hidden]:not([hidden="until-found"]){display:none!important}
.vh{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;
  clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
