/* GigaAtlas — design system (v12)
   Register: a graphics desk crossed with a Gulf destination brand. Paper, ink and hairlines carry the
   structure; palm, dusk indigo and gold are accents; numerals are set large in the display serif.
   Desert-to-green palette: sand, terracotta, palm, oasis, dusk indigo, gold (brand hexes unchanged).
   Logical properties throughout so RTL (Arabic) mirrors without overrides. */

:root {
  --sand-50: #fbf7f0;
  --sand-100: #f5ecdf;
  --sand-200: #ecdcc4;
  --sand-300: #e0c9a6;
  --sand-500: #b99a6b;
  --terracotta: #c2603a;
  --terracotta-deep: #9a4527;
  --palm: #1f5d45;
  --palm-deep: #0f3b2c;
  --oasis: #3fa27a;
  --oasis-light: #8fd3b2;
  --dusk: #1b2340;
  --dusk-2: #2b3560;
  --gold: #c9a45c;
  --gold-light: #e6cf98;
  --gold-deep: #8a6a2c;

  --bg: var(--sand-50);
  --surface: #fffdfa;
  --surface-2: var(--sand-100);
  --ink: #1a1813;
  --ink-2: #39352d;
  --muted: #6b6356;
  --line: #e4d9c6;
  --rule: #1a1813;
  --link: var(--palm);
  --accent: var(--terracotta);
  --kicker: var(--terracotta-deep);
  --num: var(--palm-deep);
  --focus: #2b7fff;

  --st-planned: #8a7f6c;
  --st-design: #7a6fb0;
  --st-build: #d08a2e;
  --st-done: #2f8f63;
  --st-open: #1aa36b;
  --st-replan: #b5523a;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-1: 0 1px 1px rgba(26, 24, 19, .04), 0 6px 20px -8px rgba(26, 24, 19, .12);
  --shadow-2: 0 2px 4px rgba(15, 59, 44, .05), 0 22px 48px -18px rgba(15, 59, 44, .28);
  --shadow-pop: 0 1px 2px rgba(26, 24, 19, .08), 0 18px 44px -12px rgba(26, 24, 19, .32);
  --wrap: 1240px;
  --gutter: clamp(18px, 4vw, 44px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --najdi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Cpath d='M0 14 7 0l7 14 7-14 7 14' fill='none' stroke='%23c9a45c' stroke-width='1.4'/%3E%3C/svg%3E");
}

:root[lang="ar"] {
  --font-display: "Reem Kufi", "IBM Plex Sans Arabic", Tahoma, sans-serif;
  --font-body: "IBM Plex Sans Arabic", Tahoma, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1310;
    --surface: #121c18;
    --surface-2: #18241f;
    --ink: #f1eadc;
    --ink-2: #d9d1c1;
    --muted: #a69e8e;
    --line: #26342d;
    --rule: #f1eadc;
    --link: var(--oasis-light);
    --kicker: #e89670;
    --num: var(--gold-light);
    --gold-deep: var(--gold);
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 18px rgba(0, 0, 0, .3);
    --shadow-2: 0 2px 4px rgba(0, 0, 0, .4), 0 22px 48px -18px rgba(0, 0, 0, .7);
    --shadow-pop: 0 1px 2px rgba(0, 0, 0, .5), 0 18px 44px -12px rgba(0, 0, 0, .8);
  }
}

:root[data-theme="dark"] {
  --bg: #0b1310;
  --surface: #121c18;
  --surface-2: #18241f;
  --ink: #f1eadc;
  --ink-2: #d9d1c1;
  --muted: #a69e8e;
  --line: #26342d;
  --rule: #f1eadc;
  --link: var(--oasis-light);
  --kicker: #e89670;
  --num: var(--gold-light);
  --gold-deep: var(--gold);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 18px rgba(0, 0, 0, .3);
  --shadow-2: 0 2px 4px rgba(0, 0, 0, .4), 0 22px 48px -18px rgba(0, 0, 0, .7);
  --shadow-pop: 0 1px 2px rgba(0, 0, 0, .5), 0 18px 44px -12px rgba(0, 0, 0, .8);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--font-body);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
}
:root[lang="ar"] body { font-size: 18px; line-height: 1.8; }
img, svg, video, canvas { max-width: 100%; display: block; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); transition: color .15s, text-decoration-color .15s; }
a:hover { color: var(--accent); text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
::selection { background: color-mix(in srgb, var(--gold) 45%, transparent); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.018em; color: var(--ink); text-wrap: balance; }
:root[lang="ar"] h1, :root[lang="ar"] h2, :root[lang="ar"] h3, :root[lang="ar"] h4 { letter-spacing: 0; line-height: 1.4; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.4rem); font-weight: 600; letter-spacing: -.025em; }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.75rem); font-weight: 500; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 8px; top: -50px; background: var(--palm-deep); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 8px; }
.hp { position: absolute; inset-inline-start: -9999px; }

/* ---------- buttons, chips, badges ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em; justify-content: center; min-height: 44px;
  padding: .72em 1.35em; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--ink) 26%, transparent);
  background: var(--surface); color: var(--ink); font: 600 .92rem/1.1 var(--font-body); letter-spacing: .005em;
  text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); border-color: var(--ink); color: var(--ink); box-shadow: var(--shadow-1); }
.btn-primary { background: var(--palm-deep); border-color: var(--palm-deep); color: #fff; }
.btn-primary:hover { background: var(--palm); border-color: var(--palm); color: #fff; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #171d33; }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: #171d33; }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-small { min-height: 36px; padding: .5em 1em; font-size: .82rem; }

/* text link with a travelling arrow: the quiet alternative to a button */
.arrow-link { display: inline-flex; align-items: baseline; gap: .4em; font-weight: 600; font-size: .92rem; text-decoration: none; color: var(--link); }
.arrow-link::after { content: "→"; transition: transform .25s var(--ease); }
:root[dir="rtl"] .arrow-link::after { content: "←"; }
.arrow-link:hover::after { transform: translateX(4px); }
:root[dir="rtl"] .arrow-link:hover::after { transform: translateX(-4px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7em; text-transform: uppercase; letter-spacing: .16em;
  font: 600 .72rem/1 var(--font-body); color: var(--kicker);
}
:root[lang="ar"] .eyebrow { letter-spacing: 0; font-size: .88rem; }
.eyebrow::before { content: ""; width: 28px; height: 14px; background: var(--najdi) center/28px 14px no-repeat; }

.chip {
  display: inline-flex; align-items: center; gap: .4em; padding: .36em .85em; border-radius: 999px; min-height: 30px;
  background: transparent; border: 1px solid var(--line); color: var(--ink-2); font-size: .8rem; font-weight: 500; text-decoration: none;
  transition: border-color .15s, background .15s, color .15s;
}
a.chip:hover, button.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"], .chip.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* status: a signal light and a word, not a tag */
.status {
  display: inline-flex; align-items: center; gap: .55em; font: 600 .78rem/1.3 var(--font-body);
  color: var(--ink-2); white-space: nowrap; --st: var(--st-planned);
}
.status .dot { flex: none; width: .62em; height: .62em; border-radius: 50%; background: var(--st); box-shadow: 0 0 0 3px color-mix(in srgb, var(--st) 22%, transparent); }
.status-date { font-weight: 400; color: var(--muted); }
.status-announced, .status-planned { --st: var(--st-planned); }
.status-in_design { --st: var(--st-design); }
.status-under_construction { --st: var(--st-build); }
.status-completed, .status-handover { --st: var(--st-done); }
.status-operational { --st: var(--st-open); }
.status-replanned { --st: var(--st-replan); }
.status-preparing_opening { --st: var(--oasis); }
.status-under_construction .dot, .status-preparing_opening .dot { animation: st-pulse 2.2s ease-in-out infinite; }
@keyframes st-pulse { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--st) 0%, transparent); } }
.section-dark .status, .page-hero-dark .status { color: #fff; }
.section-dark .status-date, .page-hero-dark .status-date { color: rgba(255, 255, 255, .7); }

/* ---------- citations: every number carries its sources ----------
   {% sources obj %} renders one quiet marker (tier dots + publisher or count). It is a native <details>,
   so it works without JS and every source stays a real link in the HTML. site.js lifts the open list into
   the top layer (Popover API) so it is never clipped, and closes it on Escape or outside click. */
.cite { display: inline-block; position: relative; vertical-align: baseline; max-width: 100%; font: 500 .76rem/1.3 var(--font-body); letter-spacing: 0; text-transform: none; text-align: start; white-space: normal; color: var(--muted); }
.cite-btn { display: inline-flex; align-items: center; gap: .5em; max-width: 100%; padding-block: 5px; list-style: none; cursor: pointer; color: inherit; border-radius: 4px; transition: color .15s; }
.cite-btn::-webkit-details-marker { display: none; }
.cite-btn::after { content: ""; flex: none; width: .4em; height: .4em; margin-inline-start: .05em; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-.12em) rotate(45deg); opacity: .65; transition: transform .2s var(--ease); }
.cite[open] > .cite-btn::after { transform: translateY(.1em) rotate(-135deg); }
.cite-label { text-decoration: underline dotted color-mix(in srgb, currentColor 50%, transparent); text-underline-offset: 4px; }
.cite-more { font-variant-numeric: tabular-nums; opacity: .8; }
.cite-btn:hover, .cite[open] > .cite-btn { color: var(--ink); }
.cite-tiers { display: inline-flex; flex: none; }
.cite, .cite-one, .sheet-refs { --tc: var(--sand-500); }
.cite .t1, .cite-one.t1, .sheet-refs .t1 { --tc: var(--oasis); }
.cite .t2, .cite-one.t2, .sheet-refs .t2 { --tc: var(--gold); }
.cite .t3, .cite-one.t3, .sheet-refs .t3 { --tc: var(--sand-500); }
.cite-tiers i { width: 7px; height: 7px; border-radius: 50%; background: var(--tc); }
.cite-tiers i + i { margin-inline-start: -2px; box-shadow: -1.5px 0 0 var(--surface); }
:root[dir="rtl"] .cite-tiers i + i { box-shadow: 1.5px 0 0 var(--surface); }

.cite-pop {
  position: absolute; z-index: 45; inset-block-start: calc(100% + 4px); inset-inline-start: -10px;
  width: min(348px, calc(100vw - 24px)); max-height: min(70vh, 440px); overflow: auto; overscroll-behavior: contain;
  margin: 0; padding: 14px 16px 12px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-pop);
  font: 400 .84rem/1.45 var(--font-body); text-align: start; cursor: auto;
}
.cite-pop[popover] { position: fixed; inset: auto; top: var(--cy, 0px); left: var(--cx, 0px); }
.cite-pop::backdrop { background: transparent; }
.cite-pop .cite-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 12px; padding-bottom: 9px; border-bottom: 1px solid var(--line); font: 600 .68rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
:root[lang="ar"] .cite-head { letter-spacing: 0; font-size: .8rem; }
.cite-pop .cite-list, .cite-pop .cite-list ul { list-style: none; margin: 0; padding: 0; }
.cite-pop .cite-list li { margin: 0; padding: 0; border: 0; display: block; font-size: inherit; }
.cite-pop .cite-list { display: grid; gap: 14px; font-size: .84rem; }
.cite-pop .cite-pub { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.cite-pub i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--tc); transform: translateY(-1px); }
.cite-pub strong { font-weight: 600; font-size: .88rem; color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
.cite-tier { margin-inline-start: auto; flex: none; font: 600 .62rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 3px 6px; border: 1px solid var(--line); border-radius: 4px; }
:root[lang="ar"] .cite-tier { letter-spacing: 0; font-size: .72rem; }
.cite-pop .cite-list ul { display: grid; gap: 6px; margin-top: 6px; padding-inline-start: 16px; }
.cite .cite-pop a { color: var(--link); overflow-wrap: anywhere; }
.cite .cite-pop a:hover { color: var(--accent); }
.cite-list ul a::after { content: "\00a0↗"; font-size: .82em; text-decoration: none; display: inline-block; }
:root[dir="rtl"] .cite-list ul a::after { content: "\00a0↖"; }
.cite-list time { white-space: nowrap; font-size: .76rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.cite-list time::before { content: "· "; }
.cite-pop .cite-foot { margin: 14px 0 0; padding-top: 9px; border-top: 1px solid var(--line); font-size: .76rem; }
.cite .cite-foot a { color: var(--muted); }
.section-dark .cite, .page-hero-dark .cite, .on-dark .cite { color: rgba(255, 255, 255, .74); }
.section-dark .cite-btn:hover, .page-hero-dark .cite-btn:hover, .on-dark .cite-btn:hover,
.section-dark .cite[open] > .cite-btn, .page-hero-dark .cite[open] > .cite-btn, .on-dark .cite[open] > .cite-btn { color: #fff; }
.section-dark .cite-tiers i + i, .page-hero-dark .cite-tiers i + i, .on-dark .cite-tiers i + i { box-shadow: none; }
/* a single source named inline (change log) */
.cite-one { display: inline-flex; align-items: baseline; gap: .5em; font: 500 .78rem/1.3 var(--font-body); color: var(--muted); text-decoration: underline dotted; text-underline-offset: 4px; }
.cite-one i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--tc); transform: translateY(-1px); }
.cite-one::after { content: "↗"; font-size: .8em; }
:root[dir="rtl"] .cite-one::after { content: "↖"; }
.cite-one:hover { color: var(--ink); }

.conf { font-size: .72rem; font-weight: 600; padding: .1em .5em; border-radius: 6px; }
.conf-high { color: var(--st-done); background: color-mix(in srgb, var(--st-done) 12%, transparent); }
.conf-medium { color: var(--st-build); background: color-mix(in srgb, var(--st-build) 12%, transparent); }
.conf-low { color: var(--st-replan); background: color-mix(in srgb, var(--st-replan) 12%, transparent); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 36px; height: 36px; }
.logo-text { font: 500 1.05rem/1.15 var(--font-display); letter-spacing: -.01em; color: inherit; margin: 0; }
:root[lang="ar"] .logo-text { letter-spacing: 0; }
.logo-text strong { color: var(--kicker); font-weight: 600; font-style: italic; }
:root[lang="ar"] .logo-text strong { font-style: normal; }
.main-nav { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.main-nav > a, .more > summary {
  position: relative; padding: .6em .7em; border-radius: 8px; text-decoration: none; color: var(--ink-2); font: 500 .9rem/1 var(--font-body); cursor: pointer; list-style: none; transition: color .15s;
}
.more > summary::-webkit-details-marker { display: none; }
.more > summary::after { content: " ▾"; font-size: .7em; }
.main-nav > a:hover, .more > summary:hover { color: var(--ink); }
.main-nav > a::after { content: ""; position: absolute; inset-inline: .7em; bottom: .12em; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--ease); }
:root[dir="rtl"] .main-nav > a::after { transform-origin: 100% 50%; }
.main-nav > a:hover::after, .main-nav > a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav > a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.more { position: relative; }
.more-panel {
  position: absolute; inset-inline-end: 0; top: calc(100% + 10px); min-width: 240px; padding: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-pop);
  display: grid;
}
.more-panel a { padding: .6em .8em; border-radius: 6px; text-decoration: none; color: var(--ink-2); font-size: .92rem; }
.more-panel a:hover { background: var(--surface-2); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-switch { font: 600 .88rem/1 var(--font-body); text-decoration: none; padding: .6em .95em; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); color: var(--ink); transition: border-color .15s; }
.lang-switch:hover { border-color: var(--ink); color: var(--ink); }
.lang-switch[lang="ar"] { font-family: "IBM Plex Sans Arabic", Tahoma, sans-serif; }
.nav-toggle { display: none; background: none; border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); border-radius: 50%; width: 42px; height: 42px; cursor: pointer; color: var(--ink); }
.burger, .burger::before, .burger::after { display: block; width: 16px; height: 1.5px; background: currentColor; margin: auto; position: relative; transition: .2s; }
.burger::before, .burger::after { content: ""; position: absolute; inset-inline-start: 0; }
.burger::before { top: -5px; } .burger::after { top: 5px; }
.status-strip { background: var(--palm-deep); color: var(--sand-100); font-size: .8rem; letter-spacing: .005em; }
.status-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 34px; padding-block: 6px; }
.status-strip strong { font-weight: 600; }
.status-strip .muted { color: var(--sand-300); }
.status-strip a { color: var(--gold-light); margin-inline-start: auto; text-decoration: none; font-weight: 500; }
.status-strip a:hover { color: #fff; }
.pulse { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--oasis-light); box-shadow: 0 0 0 0 rgba(143, 211, 178, .7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(143, 211, 178, .6); } 70% { box-shadow: 0 0 0 9px rgba(143, 211, 178, 0); } 100% { box-shadow: 0 0 0 0 rgba(143, 211, 178, 0); } }

@media (max-width: 1060px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .main-nav {
    position: fixed; inset: 100px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line); padding: 10px var(--gutter) 18px; box-shadow: var(--shadow-2);
    max-height: calc(100dvh - 100px); overflow-y: auto; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .2s;
  }
  .main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav > a, .more > summary { padding: .9em .2em; font: 500 1.15rem/1.2 var(--font-display); border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav > a::after { display: none; }
  .more[open] .more-panel, .more-panel { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; }
  .status-strip a { margin-inline-start: 0; }
}

/* ---------- layout primitives ---------- */
.section { padding-block: clamp(56px, 8vw, 110px); }
.section-tight { padding-block: clamp(36px, 5vw, 64px); }
.section-alt { background: var(--surface-2); }
.section-dark { background: radial-gradient(1200px 600px at 80% -10%, var(--dusk-2), var(--dusk) 60%); color: var(--sand-100); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .muted { color: var(--sand-300); }
.section-dark a { color: var(--gold-light); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(24px, 3vw, 40px); }
.section-head p { max-width: 640px; margin: 0; color: var(--muted); }
.section-dark .section-head p { color: var(--sand-300); }
.grid { display: grid; gap: clamp(14px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 960px) { .with-aside { grid-template-columns: 1fr; } }
.sticky-aside { position: sticky; top: 120px; display: grid; gap: 18px; }

.page-hero { position: relative; padding-block: clamp(48px, 7vw, 96px) clamp(32px, 4vw, 56px); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 14px; background: var(--najdi) repeat-x center/28px 14px; opacity: .45; }
.page-hero .lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 760px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .84rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs span[aria-hidden] { opacity: .5; }

/* ---------- cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; color: inherit; text-decoration: none;
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); color: inherit; }
.card-media { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--palm-deep), var(--palm)); position: relative; overflow: hidden; }
.card-media img, .card-media svg { width: 100%; height: 100%; object-fit: cover; }
.card-media .impression { position: absolute; inset-inline-start: 10px; bottom: 10px; font-size: .66rem; padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { margin: 0; }
.card-body p { margin: 0; color: var(--muted); font-size: .95rem; }
.card-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: auto; padding-top: 6px; font-size: .82rem; color: var(--muted); }
.card-kicker { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--terracotta); font-weight: 600; }
:root[lang="ar"] .card-kicker { letter-spacing: 0; }
.cat-art { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .9); }
.cat-art svg { width: 46%; height: auto; opacity: .9; }
.cat-culture { background: linear-gradient(140deg, #3a2a52, #a0563a); }
.cat-nature { background: linear-gradient(140deg, #0f3b2c, #3fa27a); }
.cat-sport { background: linear-gradient(140deg, #1b2340, #2f8f63); }
.cat-entertainment { background: linear-gradient(140deg, #6b2d4d, #d08a2e); }
.cat-civic { background: linear-gradient(140deg, #2b3560, #6e8fb5); }
.cat-religious { background: linear-gradient(140deg, #1f4d5d, #c9a45c); }
.cat-mixed_use { background: linear-gradient(140deg, #5a3b25, #c2603a); }
.cat-infrastructure { background: linear-gradient(140deg, #2d3436, #7f8c8d); }
.cat-transport { background: linear-gradient(140deg, #1b2340, #2b7fff); }

/* ---------- facts ---------- */
.fact-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fact-table th, .fact-table td { text-align: start; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.fact-table tr:last-child > * { border-bottom: 0; }
.fact-table th { font: 600 .85rem/1.4 var(--font-body); color: var(--muted); width: 34%; }
.fact-value { font: 600 1.15rem/1.3 var(--font-display); color: var(--ink); }
.fact-measure { display: block; font-size: .8rem; color: var(--muted); margin-top: 2px; }
.fact-rival { margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); font-size: .86rem; }
.fact-rival .fact-value { font-size: .98rem; }
.fact-actions { display: flex; gap: 10px; margin-top: 6px; font-size: .78rem; }
.fact-actions button, .linklike { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; }
.fact-actions button:hover, .linklike:hover { color: var(--accent); }
@media (max-width: 640px) {
  .fact-table th, .fact-table td { display: block; width: auto; }
  .fact-table th { border-bottom: 0; padding-bottom: 0; }
}

.stat-ribbon { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: var(--surface); padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 4px; }
.stat-value { font: 700 clamp(1.9rem, 3.6vw, 2.8rem)/1 var(--font-display); color: var(--palm); letter-spacing: -.02em; }
.section-dark .stat { background: rgba(255, 255, 255, .04); }
.section-dark .stat-ribbon { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .1); }
.section-dark .stat-value { color: var(--gold-light); }
.stat-label { font-weight: 600; font-size: .92rem; }
.stat-measure { font-size: .78rem; color: var(--muted); }
.section-dark .stat-measure { color: var(--sand-300); }

.callout { border-radius: var(--radius); padding: 18px 20px; background: color-mix(in srgb, var(--gold) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); }
.callout h3 { font-size: 1.05rem; margin-bottom: .3em; }
.callout p:last-child { margin: 0; }
.callout-why::before { content: "⚖"; margin-inline-end: 8px; }
.note { font-size: .86rem; color: var(--muted); border-inline-start: 3px solid var(--line); padding-inline-start: 12px; }

.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.4em 0; padding: 4px 20px; border-inline-start: 4px solid var(--gold); font-family: var(--font-display); font-size: 1.15em; color: var(--ink-2); }
.prose table { width: 100%; border-collapse: collapse; font-size: .94rem; margin: 1.2em 0; }
.prose th, .prose td { padding: 10px; border-bottom: 1px solid var(--line); text-align: start; }
.prose a.ext::after, a.ext-icon::after { content: "↗"; font-size: .75em; margin-inline-start: 2px; }
:root[dir="rtl"] .prose a.ext::after { content: "↖"; }

/* ---------- timeline list ---------- */
.tl { position: relative; display: grid; gap: 14px; padding-inline-start: 28px; }
.tl::before { content: ""; position: absolute; inset-inline-start: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--oasis), var(--gold), var(--terracotta)); border-radius: 2px; }
.tl-item { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.tl-item::before { content: ""; position: absolute; inset-inline-start: -26px; top: 18px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 3px solid var(--tc, var(--palm)); }
.tl-item.target { border-style: dashed; }
.tl-item.target::before { background: var(--bg); border-style: dashed; }
.tl-date { font: 600 .82rem/1 var(--font-body); color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tl-item h3 { font-size: 1.05rem; margin: 6px 0 4px; font-family: var(--font-body); font-weight: 600; }
.tl-item p { margin: 0; font-size: .92rem; color: var(--ink-2); }
.track-governance { --tc: var(--dusk-2); } .track-design { --tc: #7a6fb0; } .track-construction { --tc: var(--st-build); }
.track-culture { --tc: var(--terracotta); } .track-investment { --tc: var(--gold); } .track-transport { --tc: #2b7fff; } .track-opening { --tc: var(--oasis); }
.track-tag { font-size: .7rem; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--tc) 16%, transparent); color: var(--tc); font-weight: 700; }

/* ---------- progress bars ---------- */
.bar { position: relative; height: 14px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; }
.bar > span { position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--w, 0%); background: linear-gradient(90deg, var(--palm), var(--oasis)); border-radius: inherit; transition: width 1.2s cubic-bezier(.2, .8, .2, 1); }
.bar.gap > span { background: repeating-linear-gradient(45deg, var(--gold), var(--gold) 6px, var(--gold-light) 6px, var(--gold-light) 12px); }

/* ---------- ads ---------- */
.ad-slot { position: relative; display: grid; place-items: center; margin-inline: auto; border-radius: var(--radius); background: var(--surface-2); border: 1px dashed var(--sand-300); overflow: hidden; }
.ad-leaderboard { width: min(100%, 970px); min-height: 90px; }
.ad-billboard { width: min(100%, 970px); min-height: 250px; }
.ad-mpu { width: min(100%, 300px); min-height: 250px; }
.ad-native { width: 100%; min-height: 160px; }
.ad-label { position: absolute; top: 6px; inset-inline-end: 10px; font-size: .62rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.ad-house, .ad-creative { display: flex; flex-direction: column; gap: 6px; align-items: center; text-align: center; padding: 22px; text-decoration: none; color: var(--ink); }
.ad-house strong { font-family: var(--font-display); font-size: 1.1rem; }
.ad-house span { font-size: .86rem; color: var(--muted); }
.ad-leaderboard .ad-house { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 6px 16px; padding: 14px 22px; }

/* ---------- newsletter + footer ---------- */
.newsletter-band { background: linear-gradient(120deg, var(--palm-deep), var(--palm)); color: var(--sand-100); padding-block: 48px; position: relative; overflow: hidden; }
.newsletter-band::before { content: ""; position: absolute; inset: 0; background: var(--najdi) repeat center/28px 14px; opacity: .08; }
.nl-grid { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 48px; align-items: center; }
.nl-title { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.nl-form { display: flex; gap: 10px; flex-wrap: wrap; }
.nl-form input { flex: 1 1 220px; padding: .85em 1.1em; border-radius: 999px; border: 0; font: inherit; font-size: .95rem; }
.form-done { font-weight: 600; color: var(--gold-light); }
@media (max-width: 800px) { .nl-grid { grid-template-columns: 1fr; } }
.site-footer { background: var(--dusk); color: var(--sand-200); padding-block: 56px 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; }
.footer-grid h3 { color: #fff; font: 600 .82rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
:root[lang="ar"] .footer-grid h3 { letter-spacing: 0; font-size: .95rem; }
.footer-grid nav { display: grid; gap: 8px; align-content: start; }
.footer-grid a { color: var(--sand-200); text-decoration: none; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-brand .logo-text { font-size: 1.25rem; color: #fff; }
.disclaimer { font-size: .8rem; color: var(--sand-300); max-width: 46ch; }
.footer-base { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8rem; color: var(--sand-300); }
.footer-base a { color: var(--gold-light); margin-inline-start: auto; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1/-1; } }

/* ---------- forms + dialog ---------- */
label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
input, textarea, select { font: inherit; font-weight: 400; padding: .7em .9em; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.correction-dialog { border: 0; border-radius: var(--radius-lg); padding: 0; width: min(560px, calc(100% - 32px)); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-2); }
.correction-dialog::backdrop { background: rgba(12, 20, 17, .55); backdrop-filter: blur(3px); }
.correction-dialog form { display: grid; gap: 12px; padding: 26px; }
.correction-dialog h2 { font-size: 1.5rem; margin: 0; }
.dialog-actions { display: flex; gap: 10px; justify-content: flex-end; }
.form-stack { display: grid; gap: 14px; }

/* ---------- filters ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 26px; }
.filter-bar .label { font-size: .82rem; color: var(--muted); margin-inline-end: 4px; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- embed box ---------- */
.embed-box { margin-top: 14px; font-size: .84rem; }
.embed-box textarea { width: 100%; font-family: ui-monospace, Consolas, monospace; font-size: .76rem; direction: ltr; }

/* ---------- utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.flex { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.between { justify-content: space-between; }
.center { text-align: center; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.divider { height: 14px; background: var(--najdi) repeat-x center/28px 14px; opacity: .5; border: 0; margin: 40px 0; }
.kbd-num { font-variant-numeric: tabular-nums; }

/* ---------- asset page ---------- */
.asset-hero { position: relative; padding-block: clamp(40px, 6vw, 80px) 32px; }
.asset-hero.has-media { padding-top: 0; }
.asset-hero-media { position: relative; margin: 0; height: clamp(260px, 52vh, 560px); overflow: hidden; background: var(--palm-deep); }
.asset-hero-media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 24s ease-out both; }
.asset-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 20, 17, 0) 45%, var(--bg) 100%); }
.asset-hero-media .impression { position: absolute; inset-inline-end: 16px; top: 16px; z-index: 2; font-size: .7rem; padding: 3px 10px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; }
.asset-hero.has-media .asset-hero-text { position: relative; margin-top: -120px; z-index: 2; }
.asset-hero .lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 760px; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.lead-prose { font-size: 1.12rem; color: var(--ink-2); }
.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; }
.aside-card h3 { font-size: 1.05rem; }
.role-list, .source-list, .news-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.role-list li { display: grid; gap: 2px; font-size: .92rem; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.role-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.role-list a { font-weight: 600; text-decoration: none; }
.role-list .muted { font-size: .84rem; }
.source-list { list-style: decimal; padding-inline-start: 1.4em; gap: 8px; font-size: .9rem; }
.news-mini li { font-size: .95rem; }
.gallery img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.mini-map { min-height: 380px; }

/* ---------- home ---------- */
.hero { position: relative; min-height: min(92vh, 900px); display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--dusk); isolation: isolate; }
.hero-stage { position: absolute; inset: 0; z-index: -2; }
.hero-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 30s ease-out both; }
.graphic-ready .hero-poster { opacity: 0; transition: opacity 1.2s ease; }
.hero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(12, 18, 32, .15) 0%, rgba(12, 18, 32, 0) 30%, rgba(12, 18, 32, .55) 70%, rgba(12, 18, 32, .9) 100%),
              linear-gradient(90deg, rgba(12, 18, 32, .55) 0%, rgba(12, 18, 32, 0) 60%); }
:root[dir="rtl"] .hero-shade { background: linear-gradient(180deg, rgba(12, 18, 32, .15) 0%, rgba(12, 18, 32, 0) 30%, rgba(12, 18, 32, .55) 70%, rgba(12, 18, 32, .9) 100%), linear-gradient(-90deg, rgba(12, 18, 32, .55) 0%, rgba(12, 18, 32, 0) 60%); }
.hero-content { padding-block: 140px clamp(56px, 9vh, 110px); pointer-events: none; }
.hero-content a, .hero-content button { pointer-events: auto; }
.hero-title { color: #fff; font-size: clamp(2.6rem, 7.4vw, 6.4rem); line-height: .98; max-width: 14ch; margin-bottom: .35em; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
:root[lang="ar"] .hero-title { line-height: 1.25; max-width: 16ch; }
.hero-title em { font-style: italic; color: var(--gold-light); font-weight: 600; }
:root[lang="ar"] .hero-title em { font-style: normal; }
.hero-lede { font-size: clamp(1.05rem, 1.7vw, 1.3rem); max-width: 600px; color: rgba(255, 255, 255, .88); }
.eyebrow-light { color: var(--gold-light); }
.btn-light { color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.hero-ctas { margin-top: 26px; }
.hero-status { display: inline-flex; align-items: center; gap: 12px; margin-top: 34px; padding: 12px 18px; border-radius: 16px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(12px); font-size: .9rem; }
.hero-status div { display: grid; }
.hero-status span:not(.pulse) { color: rgba(255, 255, 255, .75); font-size: .82rem; }
.hero-scroll { position: absolute; bottom: 22px; inset-inline-end: var(--gutter); width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 14px; }
.hero-scroll span { position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }


.featured-grid .card:first-child { grid-column: span 2; }
.featured-grid .card:first-child .card-media { aspect-ratio: 21/10; }
@media (max-width: 700px) { .featured-grid .card:first-child { grid-column: auto; } .featured-grid .card:first-child .card-media { aspect-ratio: 16/10; } }

.scale-band { overflow: hidden; }
.scale-teaser { min-height: 340px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.timeline-teaser { min-height: 260px; }
.timeline-teaser:not(.graphic-ready) .tl { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); padding: 0; }
.timeline-teaser:not(.graphic-ready) .tl::before { display: none; }
.timeline-teaser:not(.graphic-ready) .tl-item::before { display: none; }
.timeline-teaser.graphic-ready > .tl { display: none; }
.pkg-mini { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.changes-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 0; }
.changes-list li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.changes-list time { color: var(--muted); font-size: .84rem; font-variant-numeric: tabular-nums; }
.changes-list a { color: var(--ink); text-decoration: none; }
.changes-list a:hover { color: var(--accent); }
.story-media { aspect-ratio: 16/9; }
.story-water-loop { background: linear-gradient(140deg, #0f3b2c, #2b7fff); }
.story-wadi-section { background: linear-gradient(140deg, #5a3b25, #3fa27a); }
.story-shade-cooling { background: linear-gradient(140deg, #c2603a, #1b2340); }
.story-rac-lineart { background: url("/static/img/art/royal-arts-complex.svg") center/cover, linear-gradient(140deg, #3a2a52, #a0563a); }
.story-mini-timeline { background: url("/static/img/art/wadi.svg") center/cover, linear-gradient(140deg, #1b2340, #c9a45c); }


/* ---------- map ---------- */
.page-map .site-footer, .page-map .newsletter-band { display: none; }
.map-wrap { position: relative; }
.map-shell { position: relative; height: calc(100dvh - 100px); min-height: 480px; background: var(--surface-2); overflow: hidden; }
.map-fallback { height: 100%; overflow: auto; padding-block: 120px 40px; }
.map-fallback-inner { display: grid; gap: 22px; }
.map-loading { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .92rem; margin: 0; }
.map-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.map-list a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.map-list a:hover { border-color: var(--oasis); }
.map-dot { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.map-title-panel { position: absolute; inset-block-start: 16px; inset-inline-start: 16px; z-index: 5; max-width: min(340px, calc(100% - 32px)); padding: 14px 18px; border-radius: var(--radius); background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(12px); border: 1px solid var(--line); box-shadow: var(--shadow-1); pointer-events: none; }
.map-title-panel h1 { font-size: 1.25rem; margin: 2px 0 4px; }
.map-title-panel p { margin: 0; font-size: .78rem; }

/* ---------- timeline ---------- */
.tl-legend { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; padding: 14px 18px; margin-bottom: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.tl-legend-kinds, .tl-legend-tracks { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.tl-key { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; }
.tl-swatch { width: 22px; height: 12px; border-radius: 4px; border: 2px solid var(--palm); background: var(--surface); }
.tl-swatch.dashed { border-style: dashed; }
.tl-year { display: grid; grid-template-columns: 90px 1fr; gap: 8px 24px; margin-bottom: 28px; }
.tl-year-label { font: 700 clamp(1.6rem, 3vw, 2.4rem)/1 var(--font-display); color: var(--palm); margin: 0; position: sticky; top: 90px; align-self: start; }
.tl-assets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px !important; }
@media (max-width: 640px) { .tl-year { grid-template-columns: 1fr; } .tl-year-label { position: static; } }

/* ---------- compare ---------- */
.compare-stage { min-height: 420px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); padding: clamp(14px, 3vw, 28px); }
.compare-fallback .fact-table { margin-top: 12px; }

/* ---------- design & stories ---------- */
.story-card-lg .card-media { aspect-ratio: 16 / 10; position: relative; }
.story-n { position: absolute; inset-block-end: 10px; inset-inline-start: 16px; font: 700 2.6rem/1 var(--font-display); color: rgba(255, 255, 255, .85); }
.read-on { display: inline-block; margin-top: 10px; font-weight: 600; font-size: .9rem; color: var(--link); }
.story-hero { position: relative; isolation: isolate; color: #fff; background: linear-gradient(140deg, var(--palm-deep), var(--dusk)); padding-block: clamp(70px, 12vw, 150px) clamp(40px, 6vw, 80px); overflow: hidden; }
.story-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 18, 32, .35), rgba(12, 18, 32, .8)); }
.story-hero h1 { color: #fff; font-size: clamp(2.1rem, 5.4vw, 4rem); line-height: 1.05; max-width: 20ch; }
.story-dek { font-size: clamp(1.1rem, 2vw, 1.4rem); color: rgba(255, 255, 255, .88); max-width: 46ch; margin-top: 14px; }
.story-byline { font-size: .84rem; color: rgba(255, 255, 255, .7); margin-top: 22px; }
.crumbs-light, .crumbs-light a { color: rgba(255, 255, 255, .75); }
.story-graphic-wrap { margin-block: -36px 24px; position: relative; z-index: 2; }
.story-graphic { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-2); min-height: 280px; overflow: hidden; }
.story-body { padding-block: 24px 56px; }
.story-prose { font-size: 1.08rem; line-height: 1.75; }
.story-prose > p:first-of-type::first-letter { font: 700 3.4em/.9 var(--font-display); float: inline-start; padding-inline-end: .12em; color: var(--palm); }
:root[lang="ar"] .story-prose > p:first-of-type::first-letter { font: inherit; float: none; padding: 0; color: inherit; }
.story-sources-h { margin-top: 2.4rem; font-size: 1.2rem; }

/* ---------- visit ---------- */
.visit-status { display: flex; gap: 18px; align-items: flex-start; margin-top: 26px; padding: clamp(20px, 3vw, 32px); border-radius: var(--radius-lg); border: 2px solid var(--st-build); background: color-mix(in srgb, var(--st-build) 10%, var(--surface)); box-shadow: var(--shadow-1); }
.visit-status h2 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); margin: 0 0 6px; }
.visit-asof { font: 500 .5em var(--font-body); color: var(--muted); }
.visit-status p { margin: 0; max-width: 66ch; }
.visit-status-icon { padding-top: 14px; }
.visit-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 24px; }
.visit-fact { padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.visit-fact h3 { margin-top: 0; }
.visit-update { border-color: var(--gold); }

/* ---------- faq ---------- */
.faq-cat { margin-bottom: 40px; scroll-margin-top: 110px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.faq-item[open] { border-color: var(--oasis); box-shadow: var(--shadow-1); }
.faq-item > summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after { content: "+"; font: 400 1.5rem/1 var(--font-body); color: var(--terracotta); flex: none; transition: transform .2s; }
.faq-item[open] > summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 20px 18px; }
.faq-answer .prose { max-width: none; }
.unconfirmed { display: inline-block; margin-bottom: 8px; padding: 2px 10px; border-radius: 999px; font-size: .72rem; font-weight: 600; color: var(--muted); border: 1px dashed var(--sand-500); }

/* ---------- changes ---------- */
.changelog { list-style: none; margin: 0 0 28px; padding: 0; border-inline-start: 2px solid var(--line); }
.changelog-item { position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 6px 20px; padding: 14px 0; padding-inline: 22px 0; }
.changelog-item::before { content: ""; position: absolute; inset-inline-start: -7px; top: 20px; width: 12px; height: 12px; border-radius: 50%; background: var(--oasis); border: 3px solid var(--bg); }
.changelog-date { font-size: .84rem; font-weight: 600; color: var(--muted); padding-top: 2px; }
.changelog-body p { margin: 0 0 6px; }
@media (max-width: 560px) { .changelog-item { grid-template-columns: 1fr; } }

/* ---------- press ---------- */
.media-card { margin: 0; }
.media-credit { font-size: .78rem; margin: 4px 0 10px; }
.correct-card { border-color: var(--terracotta); }
.brand-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 0; }
.brand-facts > div { padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.brand-facts dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 4px; }
.brand-facts dd { margin: 0; font-weight: 500; }
.swatches { display: flex; gap: 6px; }
.swatches i { width: 28px; height: 28px; border-radius: 8px; background: var(--c); border: 1px solid var(--line); }

/* ---------- about ---------- */
.about-principles .ft-n { margin-bottom: 8px; }

/* ---------- advertise ---------- */
.audience-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.audience-card h3 { margin-top: .4em; }
.audience-card p { margin: 0; color: var(--muted); }
.aud-mark { font: 700 1.1rem var(--font-display); color: var(--gold); }
.placements { display: grid; gap: 28px; justify-items: center; }
.placement { margin: 0; width: 100%; display: grid; gap: 10px; justify-items: center; text-align: center; }
.placement figcaption { display: flex; flex-wrap: wrap; gap: 6px 10px; justify-content: center; align-items: center; font-size: .9rem; }
.placement-row { display: flex; flex-wrap: wrap; gap: 28px 40px; justify-content: center; width: 100%; }
.placement-row .placement { width: auto; }
.mock { display: grid; place-items: center; max-width: 100%; border-radius: var(--radius); border: 1px dashed var(--sand-500); background: repeating-linear-gradient(135deg, var(--surface), var(--surface) 12px, var(--surface-2) 12px, var(--surface-2) 24px); color: var(--muted); font: 600 .9rem var(--font-body); }
.mock-leaderboard { width: 970px; aspect-ratio: 970 / 90; }
.mock-billboard { width: 970px; aspect-ratio: 970 / 250; }
.mock-mpu { width: 300px; aspect-ratio: 300 / 250; }
.mock-native { width: 300px; aspect-ratio: 300 / 160; }
.adv-form { max-width: 560px; }
.adv-thanks { max-width: 560px; }
.adv-rules { padding-inline-start: 1.1em; }

/* ---------- graphics fallbacks ---------- */
[data-graphic="timeline-tracks"].graphic-ready > .tl, [data-graphic="stat-explorer"].graphic-ready > .g-fallback, [data-graphic="known-vs-gap"].graphic-ready > .g-fallback, [data-graphic="park-compare"].graphic-ready > .g-fallback { display: none; }

/* ---------- atlas pages: shared ---------- */
[data-tags][hidden], [data-group][hidden] { display: none !important; }
.page-hero-dark { background: radial-gradient(1200px 600px at 80% -10%, var(--dusk-2), var(--dusk) 60%); color: var(--sand-100); }
.page-hero-dark h1, .page-hero-dark h2 { color: #fff; }
.page-hero-dark .lede { color: var(--sand-200); }
.page-hero-dark .crumbs, .page-hero-dark .crumbs a { color: var(--sand-300); }
.page-hero-dark .hero-note { color: var(--sand-300); font-size: .88rem; margin: 0; }
.empty-state { grid-column: 1 / -1; text-align: center; padding: clamp(32px, 6vw, 64px) 20px; border: 1px dashed var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.data-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 640px; }
.data-table th, .data-table td { text-align: start; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { font: 600 .76rem/1.3 var(--font-body); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--surface-2); }
:root[lang="ar"] .data-table thead th { letter-spacing: 0; font-size: .85rem; }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.data-table .num { text-align: end; white-space: nowrap; }
.data-table tbody th { font-weight: 600; }

/* ---------- explore ---------- */
.filter-panel { position: sticky; top: 102px; z-index: 5; margin-bottom: 36px; padding: 16px 20px 10px; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.filter-panel .filter-bar { margin-bottom: 12px; }
.filter-panel button.chip { cursor: pointer; font-family: inherit; }
.filter-panel button.chip:hover { border-color: var(--oasis); }
.filter-count { margin: 0 0 6px; font-size: .86rem; color: var(--muted); }
.filter-none { text-align: center; padding: 40px 0; color: var(--muted); }
.explore-group { margin-bottom: clamp(36px, 5vw, 64px); }
.group-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.group-head h2 { margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.9rem); }
.group-swatch { width: 14px; height: 38px; border-radius: 6px; }
@media (max-width: 700px) { .filter-panel { position: static; } }

/* ---------- districts ---------- */
.district-card { min-height: 260px; }
.district-top { display: flex; justify-content: space-between; align-items: flex-start; padding: 20px 20px 26px; background: var(--surface-2) var(--najdi) repeat-x bottom/28px 14px; }
.district-n { font: 700 3rem/1 var(--font-display); color: var(--terracotta); opacity: .85; }
.district-alt { font-size: .9rem; color: var(--muted); margin-top: -4px; }
.district-go { margin-inline-start: auto; color: var(--palm); font-weight: 600; }
.district-card:hover .district-go { color: var(--accent); }

/* ---------- progress ---------- */
.stack-bar { display: flex; gap: 3px; height: 46px; border-radius: 999px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); padding: 3px; }
.stack-bar > span { display: grid; place-items: center; min-width: 30px; background: var(--st, var(--st-planned)); color: #fff; font-size: .8rem; border-radius: 999px; }
.stack-legend { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .9rem; color: var(--ink-2); }
.stack-legend .sw { display: inline-block; width: 12px; height: 12px; border-radius: 4px; background: var(--st, var(--st-planned)); margin-inline-end: 8px; }
.phase-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(14px, 2vw, 24px); }
.phase-col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.phase-col header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.phase-col h3 { margin: 0; }
.phase-col header .chip { margin-inline-start: auto; }
.phase-n { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--palm); color: var(--gold-light); font: 700 1.15rem/1 var(--font-display); }
.phase-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.phase-list li { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.phase-list li:last-child { border-bottom: 0; }
.phase-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.phase-list a:hover { color: var(--accent); }

/* ---------- investment ---------- */
.hero-kpis { display: flex; flex-wrap: wrap; gap: 14px 44px; margin-top: 30px; }
.hero-kpis div { display: grid; gap: 4px; }
.hero-kpis span { font: 700 clamp(2rem, 4.4vw, 3.4rem)/1 var(--font-display); color: var(--gold-light); }
.hero-kpis small { color: var(--sand-300); font-size: .88rem; }
.kvg-wrap { min-height: 220px; }
.kvg-fb-row { padding: 18px 0; border-top: 1px solid var(--line); }
.kvg-fb-row:first-child { border-top: 0; padding-top: 0; }
.kvg-fb-list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; color: var(--ink-2); }
.kvg-fb-src { font-size: .82rem; margin-top: 10px; }
.pkg-card .pkg-top { display: flex; gap: 16px; align-items: flex-start; padding: 20px 20px 0; }
.pkg-card .pkg-top h3 { margin: 2px 0 0; }
.pkg-card .pkg-top .status { margin-inline-start: auto; }
.pkg-n { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--palm); color: var(--gold-light); font: 700 1.3rem/1 var(--font-display); }
.pkg-stats { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 4px 0 0; }
.pkg-stats div { display: grid; gap: 0; }
.pkg-stats dt { font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
:root[lang="ar"] .pkg-stats dt { letter-spacing: 0; font-size: .82rem; }
.pkg-stats dd { margin: 0; font: 700 1.2rem/1.2 var(--font-display); color: var(--palm); }

/* ---------- builders / org ---------- */
.org-head { display: flex; gap: 14px; align-items: center; }
.org-head h3 { margin: 0; font-size: 1.15rem; }
.org-mono { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--dusk-2); color: var(--gold-light); font: 700 1rem/1 var(--font-display); }
.org-where { font-size: .82rem; }
.org-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.org-card a.stretched { color: var(--ink); text-decoration: none; }
.org-card a.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.org-card .chip { position: relative; z-index: 2; }
.org-assets .label { font-size: .76rem; color: var(--muted); display: block; margin-bottom: 6px; }

/* ---------- news ---------- */
.news-feed { display: grid; gap: 0; }
.news-item { display: grid; grid-template-columns: 120px 1fr; gap: 12px 28px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.news-item time { font-size: .86rem; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: .6em; }
.news-item h2 { font-size: clamp(1.25rem, 2.2vw, 1.7rem); }
.news-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }
@media (max-width: 640px) { .news-item { grid-template-columns: 1fr; } }

/* ---------- figures explained ---------- */
.fc-card .fc-q { color: var(--ink-2); font-size: 1.02rem; }
.fc-values { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fc-values li { display: grid; padding: 8px 12px; border-radius: 10px; background: var(--surface-2); min-width: 90px; }
.fc-values li span { font: 700 1.1rem/1.2 var(--font-display); color: var(--palm); }
.fc-values small { font-size: .72rem; color: var(--muted); }
.fc-state { display: inline-block; padding: .2em .7em; border-radius: 999px; font: 600 .74rem/1.4 var(--font-body); background: color-mix(in srgb, var(--gold) 20%, transparent); color: var(--terracotta-deep); }
.fc-state-resolved { background: color-mix(in srgb, var(--st-done) 16%, transparent); color: var(--st-done); }
.fc-state-open { background: color-mix(in srgb, var(--st-build) 16%, transparent); color: var(--st-build); }
.claim-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); border-block-start: 4px solid var(--sand-300); }
.claim-card.is-primary { border-block-start-color: var(--palm); box-shadow: var(--shadow-1); }
.claim-label { font-size: .8rem; color: var(--muted); font-weight: 600; }
.claim-value { font: 700 clamp(1.8rem, 3.4vw, 2.5rem)/1.05 var(--font-display); color: var(--palm); }
.claim-card dl { display: grid; gap: 10px; margin: 0; }
.claim-card dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
:root[lang="ar"] .claim-card dt { letter-spacing: 0; font-size: .82rem; }
.claim-card dd { margin: 0; font-size: .92rem; }
.claim-card .conf { align-self: flex-start; margin-top: auto; }
.explain-grid { display: grid; gap: clamp(20px, 3vw, 36px); margin-top: clamp(32px, 5vw, 56px); }
.explain-block { position: relative; padding: clamp(22px, 3vw, 34px); padding-inline-start: clamp(70px, 9vw, 110px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.explain-block h2 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); }
.explain-n { position: absolute; inset-inline-start: clamp(18px, 3vw, 34px); top: clamp(16px, 2.6vw, 30px); font: 700 clamp(2.4rem, 5vw, 4rem)/1 var(--font-display); color: var(--gold); opacity: .8; }

/* ---------- numbers ---------- */
.stat-explorer { min-height: 320px; }
.topic-block { margin-bottom: clamp(28px, 4vw, 52px); }
.topic-block h2 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); }

/* ---------- sources ---------- */
.tier-card { position: relative; border-block-start: 4px solid var(--sand-500); }
.tier-card.tier-1 { border-block-start-color: var(--oasis); }
.tier-card.tier-2 { border-block-start-color: var(--gold); }
.tier-n { font: 700 2.4rem/1 var(--font-display); color: var(--gold); display: block; margin-bottom: 8px; }
.method-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: clamp(32px, 4vw, 52px); }
.method-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: .94rem; }
.method-list .conf { margin-inline-end: 6px; }
.source-index { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.source-index li { display: grid; grid-template-columns: minmax(150px, 240px) 1fr; gap: 6px 24px; padding: 14px 18px; border-bottom: 1px solid var(--line); border-inline-start: 4px solid var(--sand-500); }
.source-index li.tier-1 { border-inline-start-color: var(--oasis); }
.source-index li.tier-2 { border-inline-start-color: var(--gold); }
.source-index li:last-child { border-bottom: 0; }
.source-index .si-meta { display: grid; font-size: .9rem; }
.source-index time { font-size: .78rem; color: var(--muted); }
.source-index a { overflow-wrap: anywhere; }
@media (max-width: 640px) { .source-index li { grid-template-columns: 1fr; } }

/* ---------- story graphics ---------- */
.story-graphic[data-graphic="water-loop"], .story-graphic[data-graphic="wadi-section"], .story-graphic[data-graphic="shade-cooling"] { min-height: 320px; aspect-ratio: 16/9; }
.story-graphic.graphic-ready { aspect-ratio: auto; }

.stat-sub{display:block;font-size:.85rem;color:var(--muted);margin-top:-2px;margin-bottom:4px}

/* park-map module injects .g-park-map{height:100%}; keep the viewport height */
.map-shell.g-park-map { height: calc(100dvh - 100px); min-height: 480px; }
@media (max-width: 720px) { .map-shell.g-park-map { height: calc(100dvh - 90px); } }
.map-shell.graphic-ready ~ .map-title-panel { inset-block-start: auto; inset-block-end: 34px; inset-inline-start: auto; inset-inline-end: 356px; max-width: 300px; }
@media (max-width: 820px) {
  .map-shell.graphic-ready ~ .map-title-panel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); padding: 0; border: 0; }
}

/* narrow phones: keep logo + language + menu on one row without overflow */
@media (max-width: 420px) {
  .header-row { gap: 10px; }
  .header-row .logo { flex-shrink: 1; min-width: 0; gap: 8px; }
  .header-row .logo svg { width: 30px; height: 30px; flex: none; }
  .header-row .logo-text { font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .header-actions { margin-inline-start: auto; gap: 6px; flex: none; }
  .lang-switch { padding: .5em .7em; font-size: .82rem; }
  .nav-toggle { width: 40px; height: 40px; }
}

/* round-2 graphics: reserve space to avoid layout shift */
.model-3d { aspect-ratio: 16/10; min-height: 340px; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-2); position: relative; }
.model-3d .g-fallback-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.model-3d.graphic-ready { aspect-ratio: auto; min-height: 0; background: none; overflow: visible; }
.heights-block { min-height: 360px; }
.transit-block { min-height: 420px; margin: 8px 0 24px; }
.heights-block.graphic-ready, .transit-block.graphic-ready { min-height: 0; }
.progress-board-block { min-height: 480px; }
.progress-board-block.graphic-ready { min-height: 0; }
/* hide the map title card while the timeline dock or tour is open */
.map-wrap:has(.pm-dock:not([hidden])) .map-title-panel,
.map-wrap:has(.pm-tour:not([hidden])) .map-title-panel { opacity: 0; visibility: hidden; transition: opacity .2s; }
/* scrollytelling story: sticky stage needs no clipping container */
.story-graphic[data-graphic="airbase-to-park"] { overflow: visible; background: none; border: 0; box-shadow: none; border-radius: 0; min-height: 100vh; }
.story-graphic[data-graphic="airbase-to-park"].graphic-ready { min-height: 0; }
.story-airbase-to-park + .story-graphic-wrap { margin-block: 0; }

/* design index cards: artwork */
.story-media.has-img { position: relative; overflow: hidden; background: var(--dusk); }
.story-media.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.story-media.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,18,30,.62), rgba(20,18,30,0) 55%); pointer-events: none; }
.story-media.has-img .story-n { z-index: 1; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.story-ai { position: absolute; z-index: 1; inset-block-start: 10px; inset-inline-end: 10px; font: 600 .68rem/1 var(--font-body); letter-spacing: .02em; color: #fff; background: rgba(20,18,30,.55); backdrop-filter: blur(6px); padding: 5px 8px; border-radius: 999px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .story-card:hover .story-media.has-img img { transform: scale(1.05); } }
.story-media.has-img .story-n { inset-block-end: auto; inset-block-start: 12px; }
.story-media.has-img::after { background: linear-gradient(to bottom, rgba(20,18,30,.5), rgba(20,18,30,0) 40%, rgba(20,18,30,0) 75%, rgba(20,18,30,.35)); }

/* =====================================================================
   v11 editorial layer: homepage story flow, page centrepieces, press kit.
   Server-rendered charts (no JS): status-board, source-board, range-strip.
   Logical properties throughout, so everything mirrors in RTL.
   ===================================================================== */

/* ---------- hero: hotspots above the shade (the shade used to dim them) ---------- */
.hero-stage { z-index: auto; }
.hero-stage canvas, .hero-poster, .hero-stage .g-hero-3d__vig { z-index: -2; }
.hero-content { position: relative; z-index: 1; }
.hero-scroll { z-index: 2; }

/* ---------- home: chapter rhythm ---------- */
.page-home main { counter-reset: ch; }
.page-home .ch { counter-increment: ch; }
.page-home .ch .eyebrow::after { content: counter(ch, decimal-leading-zero); order: -2; font: 600 .8rem/1 var(--font-display); letter-spacing: .04em; color: var(--muted); font-variant-numeric: tabular-nums; }
.page-home .ch .eyebrow-light::after { color: rgba(255, 255, 255, .6); }
.page-home .section-head h2, .page-home .runway-text h2 { text-wrap: balance; }
.page-home .section-dark .section-head { border-color: rgba(255, 255, 255, .14); }

/* Najdi sawtooth edge on full-bleed dark bands (echoes the triangle motif) */
.runway-band, .page-home .scale-band {
  --saw: 22px;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% 100% / var(--saw) 51% repeat-x,
                conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% 0 / var(--saw) 51% repeat-x;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% 100% / var(--saw) 51% repeat-x,
                conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% 0 / var(--saw) 51% repeat-x;
}

/* ---------- home: runway band ---------- */
.runway-band { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: end; min-height: clamp(440px, 74vh, 680px); background: var(--dusk); color: #fff; margin-block: clamp(24px, 4vw, 56px); }
.runway-media { position: absolute; inset: 0; z-index: -2; }
.runway-media img { width: 100%; height: 100%; object-fit: cover; }
.runway-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 18, 32, .1) 0%, rgba(12, 18, 32, .2) 35%, rgba(12, 18, 32, .86) 100%); }
.runway-text { width: 100%; padding-block: clamp(48px, 8vw, 96px) clamp(56px, 8vw, 100px); }
.runway-text h2 { color: #fff; font-size: clamp(2.2rem, 6vw, 4.6rem); line-height: 1; max-width: 14ch; margin-block: .25em .3em; text-shadow: 0 2px 30px rgba(0, 0, 0, .3); }
:root[lang="ar"] .runway-text h2 { line-height: 1.3; }
.runway-text p { max-width: 560px; font-size: clamp(1rem, 1.5vw, 1.2rem); color: rgba(255, 255, 255, .9); margin-bottom: 1.4em; }
.runway-media img { transform: scale(1.14) translate3d(0, var(--drift, 0%), 0); will-change: transform; }
.runway-band .impression { position: absolute; inset-inline-end: var(--gutter); top: 34px; font-size: .7rem; padding: 3px 10px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; }
@media (prefers-reduced-motion: reduce) { .runway-media img { transform: none; } }

/* ---------- shared chart cards ---------- */
.status-board, .source-board, .range-hero { margin: 0 0 clamp(24px, 3vw, 40px); padding: clamp(18px, 3vw, 34px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); }
.status-board figcaption h2, .source-board figcaption h2, .range-hero figcaption h2 { font-size: clamp(1.35rem, 2.6vw, 2rem); margin-bottom: .25em; }
.status-board figcaption p, .source-board figcaption p { margin: 0; max-width: 70ch; }
.sb-asof { white-space: nowrap; font-weight: 600; color: var(--ink-2); }
.sb-bar { display: flex; gap: 3px; height: 60px; margin-top: 18px; border-radius: 14px; overflow: hidden; }
.sb-seg { flex: var(--w) 1 0; min-width: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 0; padding: 0 4px; margin: 0;
  background: var(--st, var(--sand-500)); color: #14110c; font: 700 1.05rem/1 var(--font-body); cursor: pointer; text-decoration: none; transition: opacity .25s, filter .2s; }
.sb-seg:hover { filter: brightness(1.08); color: #14110c; }
.sb-seg:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; border-radius: 0; }
.sb-seg span { font: 600 .7rem/1 var(--font-body); white-space: nowrap; overflow: hidden; max-width: 100%; }
.sb-seg.status-announced, .sb-legend .status-announced i { background: repeating-linear-gradient(135deg, var(--st), var(--st) 6px, color-mix(in srgb, var(--st) 62%, #fff) 6px 12px); }
.sb-bar:has([aria-pressed="true"]) .sb-seg[aria-pressed="false"] { opacity: .3; }
.sb-seg[aria-pressed="true"] { box-shadow: inset 0 -5px 0 rgba(20, 17, 12, .55); }
.sb-legend { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .88rem; }
.sb-legend li { display: inline-flex; align-items: center; gap: 8px; }
.sb-legend i { width: 12px; height: 12px; border-radius: 3px; background: var(--st); flex: none; }
.sb-legend b { color: var(--muted); font-weight: 600; }
.sb-note { margin: 14px 0 0; font-size: .82rem; }
.sb-bar.tiers .sb-seg.tier-1 { background: var(--oasis); }
.sb-bar.tiers .sb-seg.tier-2 { background: var(--gold); }
.sb-bar.tiers .sb-seg.tier-3 { background: var(--sand-500); }
.sb-sub { margin: 28px 0 10px; font-size: 1.05rem; }
.pub-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.pub-bars li { display: grid; grid-template-columns: minmax(120px, 280px) minmax(0, 1fr) 2.2em; gap: 12px; align-items: center; font-size: .9rem; }
.pub-bars .pb-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pub-bars .pb-track { height: 12px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.pub-bars .pb-track i { display: block; height: 100%; width: calc(var(--w) * 1%); border-radius: inherit; background: var(--sand-500); }
.pub-bars .tier-1 .pb-track i { background: var(--oasis); }
.pub-bars .tier-2 .pb-track i { background: var(--gold); }
.pub-bars b { text-align: end; }
@media (max-width: 560px) { .pub-bars li { grid-template-columns: minmax(0, 1fr) 2.2em; } .pub-bars .pb-name { grid-column: 1 / -1; margin-bottom: -4px; white-space: normal; } }

/* ---------- figures explained: range strips ---------- */
.range-strip { margin: 14px 0 4px; padding-inline: 10px; }
.rs-track { position: relative; height: 26px; }
.rs-track::before { content: ""; position: absolute; inset-inline: -10px; top: 50%; height: 2px; margin-top: -1px; background: var(--line); border-radius: 2px; }
.rs-span { position: absolute; top: 50%; height: 8px; margin-top: -4px; inset-inline-start: calc(var(--from) * 1%); width: calc(var(--w) * 1%); border-radius: 99px; background: color-mix(in srgb, var(--gold) 50%, transparent); }
.rs-dot { position: absolute; top: 50%; inset-inline-start: calc(var(--p) * 1%); width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: var(--surface); border: 2.5px solid var(--terracotta); box-sizing: border-box; }
.rs-dot.primary { width: 16px; height: 16px; margin: -8px; background: var(--link); border-color: var(--link); z-index: 1; }
.rs-axis { display: flex; justify-content: space-between; gap: 12px; margin-inline: -10px; font-size: .72rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.rs-axis span:last-child { text-align: end; }
.range-lg { margin-top: 26px; padding-inline: 16px; }
.range-lg .rs-track { height: 92px; }
.range-lg .rs-track::before, .range-lg .rs-span { top: 50%; }
.range-lg .rs-dot { width: 28px; height: 28px; margin: -14px; display: grid; place-items: center; font-style: normal; background: var(--surface); }
.range-lg .rs-dot b { font: 700 .8rem/1 var(--font-body); color: var(--terracotta-deep); }
.range-lg .rs-dot.primary { width: 34px; height: 34px; margin: -17px; background: var(--link); }
.range-lg .rs-dot.primary b { color: var(--surface); }
.range-lg .rs-dot:nth-child(3n+2) { top: 18%; }
.range-lg .rs-dot:nth-child(3n+1) { top: 82%; }
.range-lg .rs-dot::after { content: ""; position: absolute; inset-inline-start: 50%; width: 1px; background: var(--line); z-index: -1; }
.range-lg .rs-dot:nth-child(3n+2)::after { top: 100%; height: 18px; }
.range-lg .rs-dot:nth-child(3n+1)::after { bottom: 100%; height: 18px; }
.range-lg .rs-axis { margin-inline: -16px; font-size: .8rem; }
.range-key { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 10px 28px; }
.range-key li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; padding-block: 10px; border-block-start: 1px solid var(--line); }
.rk-n { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--terracotta); font: 700 .78rem/1 var(--font-body); color: var(--terracotta-deep); }
.range-key .primary .rk-n { background: var(--link); border-color: var(--link); color: var(--surface); }
.range-key strong { font: 700 1.1rem/1.25 var(--font-display); }
.range-key small { display: block; font-size: .8rem; color: var(--muted); margin-block: 2px 4px; }
.rk-lead { font-size: .72rem; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: color-mix(in srgb, var(--link) 14%, transparent); color: var(--link); white-space: nowrap; }
.range-note { margin: 16px 0 0; font-size: .85rem; }

/* ---------- builders: network ---------- */
.org-network-block { min-height: 1000px; }
.org-network-block.graphic-failed { min-height: 0; }
@media (max-width: 760px) { .org-network-block { min-height: 1400px; } }
.org-network-block > .g-fallback-note { margin: 0; padding: 24px; color: var(--muted); }
.kind-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.kind-jump .chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--k, var(--sand-500)); }
.kind-jump .chip b { color: var(--muted); }
.kind-jump .chip:hover { border-color: var(--oasis); color: var(--ink); }
.kind-owner { --k: #c9a45c; } .kind-government { --k: #5b6aa8; } .kind-pmo { --k: #8d6bb3; } .kind-designer { --k: #c2603a; } .kind-engineer { --k: #2b7fff; }
.kind-contractor { --k: #d08a2e; } .kind-developer { --k: #3fa27a; } .kind-investor { --k: #1f8f8a; } .kind-operator { --k: #b5523a; } .kind-other { --k: #8a7f6c; }

/* ---------- asset page: location not yet mapped ---------- */
.unmapped-card { position: relative; overflow: hidden; border-style: dashed; }
.unmapped-card svg { width: 100%; height: auto; margin-bottom: 10px; border-radius: 12px; background: var(--surface-2); }
.unmapped-card .um-park { fill: color-mix(in srgb, var(--oasis) 16%, transparent); stroke: var(--oasis); stroke-width: 1.5; stroke-dasharray: 5 4; stroke-linejoin: round; }
.unmapped-card .um-ring { fill: none; stroke: var(--gold); stroke-width: 1.5; opacity: .9; }
.unmapped-card .um-ring2 { opacity: .4; stroke-dasharray: 2 5; }
.unmapped-card text { font: 700 22px var(--font-display); fill: var(--gold); }
.unmapped-card p { font-size: .88rem; margin-bottom: .7em; }
.unmapped-card .um-foot { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; font-size: .86rem; }
.unmapped-card .um-tag { position: absolute; inset-inline-end: 28px; top: 28px; font-size: .64rem; padding: 2px 8px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .unmapped-card .um-ring { transform-origin: 112px 62px; animation: um-ping 3.2s ease-out infinite; }
  .unmapped-card .um-ring2 { animation-delay: 1.1s; }
  @keyframes um-ping { 0% { transform: scale(.55); opacity: 0; } 30% { opacity: .9; } 100% { transform: scale(1.25); opacity: 0; } }
}

/* ---------- press kit ---------- */
.press-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .press-hero-grid { grid-template-columns: 1fr; } }
.press-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.embed-live { margin-bottom: clamp(24px, 4vw, 44px); }
.embed-live-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; font-size: .88rem; }
.embed-live .heights-block { min-height: 560px; }
.embed-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.embed-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.embed-thumb { position: relative; aspect-ratio: 16/8; background: var(--dusk); overflow: hidden; }
.embed-thumb img { width: 100%; height: 100%; object-fit: cover; }
.embed-thumb .impression { position: absolute; inset-inline-start: 10px; bottom: 10px; font-size: .66rem; padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; }
.embed-thumb-compare { display: grid; place-items: center; color: var(--gold-light); background: radial-gradient(600px 300px at 80% -10%, var(--dusk-2), var(--dusk) 60%); }
.embed-thumb-compare svg { width: 62%; height: auto; }
.embed-body { display: flex; flex-direction: column; gap: 8px; padding: 18px; flex: 1; }
.embed-body h3 { margin: 0; font-size: 1.12rem; }
.embed-body p { margin: 0; font-size: .9rem; color: var(--muted); flex: 1; }
.embed-body textarea { width: 100%; resize: none; padding: 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink-2); font: .72rem/1.45 ui-monospace, Consolas, monospace; text-align: left; }
.embed-terms { margin: 18px 0 0; font-size: .85rem; }

/* ---------- focus + small polish ---------- */
.section-dark :focus-visible, .page-hero-dark :focus-visible, .hero :focus-visible, .runway-band :focus-visible { outline-color: var(--gold-light); }
html { scroll-padding-top: 110px; }

/* ---------- dark mode for the new pieces ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .rs-dot:not(.primary), :root:not([data-theme="light"]) .rk-n { border-color: #e07a52; }
  :root:not([data-theme="light"]) .range-lg .rs-dot b, :root:not([data-theme="light"]) .rk-n { color: #f0a283; }
  :root:not([data-theme="light"]) .range-key .primary .rk-n { color: var(--surface); border-color: var(--link); }
  :root:not([data-theme="light"]) .stat-value { color: var(--link); }
}
:root[data-theme="dark"] .rs-dot:not(.primary), :root[data-theme="dark"] .rk-n { border-color: #e07a52; }
:root[data-theme="dark"] .range-lg .rs-dot b, :root[data-theme="dark"] .rk-n { color: #f0a283; }
:root[data-theme="dark"] .range-key .primary .rk-n { color: var(--surface); border-color: var(--link); }
:root[data-theme="dark"] .stat-value { color: var(--link); }


/* the hidden attribute must win over display set by component classes (chips, buttons) */
[hidden] { display: none !important; }

/* =====================================================================
   v12 editorial system: component refinements, homepage story, fact sheet, print.
   Hairlines and type do the structural work; colour is reserved for meaning.
   ===================================================================== */

/* ---------- section heads, cards, small labels ---------- */
.section-head h2 { margin-bottom: 0; margin-top: .45em; }
.section-head > div > .eyebrow + h2 { margin-top: .5em; }
.page-home .section-head, .page-press .section-head { border-block-start: 1px solid var(--line); padding-block-start: 22px; }
.card { border-radius: var(--radius-lg); box-shadow: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .2s; }
a.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--ink) 22%, var(--line)); }
.card-kicker, .brand-facts dt, .pkg-stats dt, .claim-card dt { color: var(--kicker); font: 600 .68rem/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.brand-facts dt, .pkg-stats dt, .claim-card dt { color: var(--muted); }
.card-media .impression, .asset-hero-media .impression, .runway-band .impression, .embed-thumb .impression, .story-ai {
  font: 500 .62rem/1 var(--font-body); letter-spacing: .06em; padding: 5px 9px; border-radius: 999px;
  background: rgba(14, 18, 34, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: rgba(255, 255, 255, .94);
}
.aside-card { border-radius: var(--radius-lg); padding: 22px; }
.aside-card h3 { font: 600 .72rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.aside-card.correct-card h2 { font-size: 1.5rem; }
.callout { border-radius: var(--radius); border: 0; border-inline-start: 3px solid var(--gold); background: color-mix(in srgb, var(--gold) 10%, var(--surface)); }
.callout h3 { font: 600 .72rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.callout-why::before { content: none; }
.page-hero .lede, .asset-hero .lede { line-height: 1.5; }
.page-hero::after { opacity: .6; }
.stat-value, .claim-value, .fc-values li span, .pkg-stats dd, .tl-year-label, .fact-value { color: var(--num); font-weight: 500; letter-spacing: -.02em; }
.hero-kpis span { font-weight: 400; letter-spacing: -.03em; }
.source-list { font-size: .88rem; color: var(--ink-2); }
.source-list li::marker { color: var(--muted); font-variant-numeric: tabular-nums; }
.track-tag { font: 600 .66rem/1 var(--font-body); letter-spacing: .04em; padding: 3px 8px; }
.tl-item { border-radius: var(--radius); }
.tl-item .cite { margin-top: 4px; }
.news-meta { gap: 8px 14px; }
.faq-answer > .cite { margin-top: 4px; }
.changelog-body .cite-one { margin-top: 2px; }
.range-key .cite { display: block; }

/* ---------- tables: ruled, not boxed ---------- */
.fact-table { background: transparent; border: 0; border-radius: 0; overflow: visible; border-block-start: 1.5px solid var(--rule); }
.fact-table th, .fact-table td { padding: 16px 0; padding-inline-end: 20px; border-bottom: 1px solid var(--line); }
.fact-table td { padding-inline-end: 0; }
.fact-table tr:last-child > * { border-bottom: 1px solid var(--line); }
.fact-table th { font: 600 .9rem/1.4 var(--font-body); color: var(--ink); }
.fact-value { font-size: 1.35rem; line-height: 1.2; margin-inline-end: 10px; }
.fact-measure { font-size: .84rem; line-height: 1.5; margin-top: 4px; max-width: 70ch; }
.fact-rival { margin-top: 10px; padding: 10px 14px; border-radius: 8px; background: color-mix(in srgb, var(--surface-2) 70%, transparent); }
.fact-rival .fact-value { font-size: 1.05rem; }
.fact-actions { margin-top: 8px; gap: 6px 16px; flex-wrap: wrap; align-items: center; }
.section-alt .fact-rival { background: var(--surface); }
@media (max-width: 640px) { .fact-table th { padding-bottom: 2px; } .fact-table td { padding-top: 4px; } }
.table-wrap { border-radius: var(--radius); }
.data-table thead th { background: transparent; color: var(--ink); border-bottom: 1.5px solid var(--rule); font: 600 .68rem/1.3 var(--font-body); letter-spacing: .14em; }
.data-table tbody tr { transition: background .15s; }
.data-table tbody tr:hover { background: color-mix(in srgb, var(--surface-2) 55%, transparent); }

/* ---------- ad positions: framed like a magazine page, clearly labelled ---------- */
.ad-slot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 14px 0 18px; border: 0; border-block: 1px solid var(--line); border-radius: 0; background: transparent; overflow: visible; }
.ad-label { position: static; font: 600 .6rem/1 var(--font-body); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.ad-house, .ad-creative { position: relative; isolation: isolate; flex: 1; width: 100%; justify-content: center; gap: 8px; padding: 26px 28px; border-radius: var(--radius); }
.ad-house { background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .2s; }
.ad-house::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--najdi) repeat center/56px 28px; opacity: .1;
  -webkit-mask: linear-gradient(90deg, #000, transparent 32%, transparent 68%, #000); mask: linear-gradient(90deg, #000, transparent 32%, transparent 68%, #000); }
.ad-house:hover { border-color: var(--gold); color: var(--ink); }
.ad-house strong { font: 500 clamp(1.2rem, 2.2vw, 1.7rem)/1.15 var(--font-display); letter-spacing: -.01em; }
.ad-house span { font-size: .88rem; max-width: 52ch; }
.ad-house .btn { margin-top: 6px; min-height: 0; padding: 0 0 3px; border: 0; border-bottom: 1px solid var(--gold); border-radius: 0; background: none; color: var(--gold-deep); font-weight: 600; box-shadow: none; }
.ad-leaderboard .ad-house { padding: 14px 22px; }
.ad-leaderboard .ad-house .btn { margin-top: 0; }
.ad-mpu { padding-inline: 0; }
.mock { border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface) var(--najdi) repeat center/56px 28px; background-blend-mode: normal; color: var(--ink-2); font: 500 1rem var(--font-display); }

/* ---------- newsletter + footer ---------- */
.newsletter-band { padding-block: clamp(44px, 6vw, 72px); background: radial-gradient(1000px 500px at 85% -30%, var(--palm), var(--palm-deep) 62%); }
.nl-title { font-weight: 500; }
.nl-form input { min-height: 48px; background: #fff; color: #1a1813; }
.site-footer { padding-block: clamp(48px, 6vw, 80px) 28px; font-size: .9rem; }
.footer-brand .logo-text { font-size: 1.5rem; margin-bottom: 10px; }
.footer-brand .logo-text strong { color: var(--gold-light); }
.footer-grid h3 { font: 600 .68rem/1 var(--font-body); letter-spacing: .16em; color: var(--gold-light); margin-bottom: 16px; }
.footer-grid nav { gap: 10px; }
.footer-base { border-top-color: rgba(255, 255, 255, .14); }

/* ---------- home 01: the park in figures ---------- */
.figures { position: relative; padding-block: clamp(56px, 8vw, 116px) clamp(36px, 5vw, 64px); }
.figures-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 104px); align-items: start; }
.fig-lead { position: sticky; top: 132px; }
.fig-lead h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); margin: .55em 0 0; }
.fig-hero { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .1em; margin: clamp(18px, 3vw, 36px) 0 0; font-family: var(--font-display); color: var(--num); line-height: .82; }
.fig-hero small { flex-basis: 100%; margin-bottom: .5em; font: 500 1.05rem/1.2 var(--font-body); color: var(--muted); }
.fig-hero b { font-weight: 400; font-size: clamp(8.5rem, 21vw, 17.5rem); letter-spacing: -.06em; margin-inline-start: -.04em; }
.fig-hero span { font-size: clamp(2.2rem, 4.8vw, 4.2rem); font-style: italic; font-weight: 400; color: var(--gold-deep); }
.fig-hero-label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 20px; margin: clamp(18px, 2vw, 26px) 0 0; padding-top: 16px; border-top: 1.5px solid var(--rule); font-size: .98rem; }
.fig-hero-label span { color: var(--muted); font-variant-numeric: tabular-nums; }
.fig-hero-measure { margin: 10px 0 8px; max-width: 48ch; font-size: .9rem; line-height: 1.55; color: var(--ink-2); }
.fig-hero-meta, .fig-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; }
.fig-asof { font-size: .76rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.fig-links { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 22px 0 0; }
.fig-ledger { list-style: none; margin: 0; padding: 0; border-block-start: 1.5px solid var(--rule); }
.fig-row { display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 1fr); gap: 8px clamp(16px, 3vw, 44px); align-items: start; padding-block: clamp(20px, 2.6vw, 34px); border-block-end: 1px solid var(--line); }
.fig-val { margin: 0; font-family: var(--font-display); color: var(--num); line-height: 1; }
.fig-val small { font: 500 .9rem/1.2 var(--font-body); color: var(--muted); }
.fig-val b { font-weight: 400; font-size: clamp(2.7rem, 5.2vw, 4.6rem); letter-spacing: -.04em; }
.fig-val span { display: inline-block; font: italic 400 clamp(1.05rem, 1.5vw, 1.3rem)/1.25 var(--font-display); color: var(--gold-deep); }
.fig-kicker { margin: .5em 0 0; font: 600 .7rem/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--kicker); }
.fig-kicker a { color: inherit; text-decoration: none; }
.fig-kicker a:hover { text-decoration: underline; }
.fig-measure { margin: 7px 0 4px; font-size: .9rem; line-height: 1.5; color: var(--ink-2); }
.fig-measure strong { color: var(--ink); font-weight: 600; }
.fig-foot { margin-block: 22px 0; font-size: .86rem; color: var(--muted); }
:root[lang="ar"] .fig-hero b, :root[lang="ar"] .fig-val b { letter-spacing: -.02em; }
:root[lang="ar"] .fig-hero span, :root[lang="ar"] .fig-val span, :root[lang="ar"] .stand-big span, :root[lang="ar"] .sf-val span, :root[lang="ar"] .gn-val i, :root[lang="ar"] .ft-n, :root[lang="ar"] .rail-n, :root[lang="ar"] .lede-sm { font-style: normal; }
@media (max-width: 900px) {
  .figures-grid { grid-template-columns: 1fr; }
  .fig-lead { position: static; }
}
@media (max-width: 520px) {
  .fig-row { grid-template-columns: 1fr; gap: 2px; }
  .fig-kicker { margin-top: .9em; }
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .fig-row { animation: fig-row linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
    @keyframes fig-row { from { opacity: .12; transform: translateY(30px); } }
    .fig-row .fig-val b { display: inline-block; transform-origin: 0 100%; animation: fig-num linear both; animation-timeline: view(); animation-range: entry 0% cover 34%; }
    :root[dir="rtl"] .fig-row .fig-val b { transform-origin: 100% 100%; }
    @keyframes fig-num { from { transform: scale(.82); } }
  }
}

/* ---------- home 02: five things, as an index not a row of boxes ---------- */
.five-things { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-block-start: 1.5px solid var(--rule); }
.five-things li + li { border-inline-start: 1px solid var(--line); }
.five-things a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 24px 22px 26px; text-decoration: none; color: inherit; transition: background .3s; }
.five-things li:first-child a { padding-inline-start: 0; }
.five-things a::after { content: "→"; margin-top: auto; padding-top: 10px; color: var(--link); font-weight: 600; transition: transform .3s var(--ease); align-self: flex-start; }
:root[dir="rtl"] .five-things a::after { content: "←"; }
.five-things a:hover::after { transform: translateX(6px); }
:root[dir="rtl"] .five-things a:hover::after { transform: translateX(-6px); }
.five-things a:hover h3 { color: var(--link); }
.five-things h3 { margin: 0; font-size: 1.28rem; transition: color .2s; }
.five-things p { margin: 0; font-size: .92rem; line-height: 1.5; color: var(--muted); }
.ft-n { display: block; font: italic 300 3.6rem/1 var(--font-display); color: var(--gold-deep); font-variant-numeric: lining-nums; }
.about-principles .ft-n { margin-bottom: 8px; }
@media (max-width: 1100px) {
  .five-things { grid-template-columns: 1fr; }
  .five-things li + li { border-inline-start: 0; border-block-start: 1px solid var(--line); }
  .five-things a, .five-things li:first-child a { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) auto; gap: 4px 12px; align-items: start; padding: 20px 0; }
  .five-things .ft-n { grid-row: span 2; font-size: 3rem; }
  .five-things h3, .five-things p { grid-column: 2; }
  .five-things a::after { grid-column: 3; grid-row: 1 / span 2; align-self: center; margin: 0; padding: 0; }
}

/* ---------- home 03: landmarks rail ---------- */
.rail-band { position: relative; overflow: clip; padding-block: clamp(56px, 8vw, 108px) clamp(40px, 6vw, 76px); background: radial-gradient(1200px 620px at 88% -12%, var(--dusk-2), var(--dusk) 62%); color: #fff; }
.rail-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 22px 40px; margin-bottom: clamp(22px, 3vw, 40px); }
.rail-head h2 { color: #fff; margin: .5em 0 .35em; }
.rail-head p { margin: 0; max-width: 58ch; font-size: .94rem; color: var(--sand-300); }
.rail-ctrl { display: flex; align-items: center; gap: 10px; }
.rail-btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .38); background: transparent; color: #fff; cursor: pointer; transition: background .2s, border-color .2s, opacity .2s; }
.rail-btn svg { width: 20px; height: 20px; }
:root[dir="rtl"] .rail-btn svg { transform: scaleX(-1); }
.rail-btn:hover:not(:disabled) { background: rgba(255, 255, 255, .14); border-color: #fff; }
.rail-btn:disabled { opacity: .32; cursor: default; }
.rail-track { --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  list-style: none; margin: 0; padding: 6px var(--edge) 30px; display: flex; gap: clamp(12px, 1.6vw, 22px);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); scrollbar-width: none; }
.rail-track::-webkit-scrollbar { display: none; }
.rail-track:focus-visible { outline-offset: -4px; }
.rail-track > li { flex: 0 0 clamp(250px, 27vw, 372px); scroll-snap-align: start; }
@media (min-width: 900px) { .rail-track > li:nth-child(even) { margin-top: 44px; } }
.rail-card { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; background: var(--dusk-2); color: #fff; text-decoration: none; }
.rail-card:hover { color: #fff; }
.rail-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.rail-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 18, 34, .5) 0%, rgba(14, 18, 34, 0) 24%, rgba(14, 18, 34, 0) 42%, rgba(14, 18, 34, .92) 100%); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .rail-card:hover img { transform: scale(1.06); } }
.rail-n { position: absolute; top: 16px; inset-inline-start: 18px; font: italic 400 1.5rem/1 var(--font-display); color: var(--gold-light); }
.rail-card .impression { position: absolute; top: 15px; inset-inline-end: 14px; font: 500 .6rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: rgba(14, 18, 34, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: rgba(255, 255, 255, .94); }
.rail-body { position: absolute; inset-inline: 0; bottom: 0; display: grid; gap: 6px; padding: 20px 20px 22px; }
.rail-kicker { font: 600 .66rem/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); }
.rail-name { font: 500 clamp(1.4rem, 2vw, 1.8rem)/1.1 var(--font-display); letter-spacing: -.012em; }
:root[lang="ar"] .rail-name { letter-spacing: 0; line-height: 1.35; }
.rail-tag { font-size: .86rem; line-height: 1.45; color: rgba(255, 255, 255, .84); }
.rail-card .status { color: #fff; margin-top: 6px; white-space: normal; }
.rail-card .status-date { color: rgba(255, 255, 255, .72); }
.rail-end { display: flex; }
.rail-more { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; aspect-ratio: 4 / 5; padding: 24px; border: 1px solid rgba(255, 255, 255, .24); border-radius: var(--radius-lg); color: #fff; text-decoration: none; transition: border-color .2s, background .2s; }
.rail-more:hover { border-color: var(--gold-light); background: rgba(255, 255, 255, .04); color: #fff; }
.rail-more > .kbd-num { font: 400 clamp(4.4rem, 7vw, 6.4rem)/.9 var(--font-display); letter-spacing: -.04em; color: var(--gold-light); }
.rail-more strong { font-weight: 500; font-size: 1rem; line-height: 1.4; color: var(--sand-200); }
.rail-more .arrow-link { color: var(--gold-light); }
.rail-progress { height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.rail-progress i { display: block; height: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(var(--p, .2)); transition: transform .2s linear; }
:root[dir="rtl"] .rail-progress i { transform-origin: 100% 50%; }

/* ---------- home 04: where it stands ---------- */
.standing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); align-items: stretch; }
.stand-card { display: flex; flex-direction: column; padding: clamp(22px, 3.2vw, 44px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.stand-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; padding-bottom: 14px; margin-bottom: clamp(18px, 2.4vw, 30px); border-bottom: 1px solid var(--line); }
.stand-head h3 { margin: 0; font: 600 .72rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--kicker); }
.stand-big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px .3em; margin: 0; font-family: var(--font-display); color: var(--num); line-height: .9; }
.stand-big small { font: 500 1.05rem/1.2 var(--font-body); color: var(--muted); }
.stand-big b { font-weight: 400; font-size: clamp(4.4rem, 8.6vw, 7.4rem); letter-spacing: -.05em; }
.stand-big span { font: italic 400 clamp(1.15rem, 1.9vw, 1.6rem)/1.2 var(--font-display); color: var(--gold-deep); }
.stand-card .sb-bar { height: 52px; margin-top: clamp(20px, 3vw, 34px); border-radius: 10px; }
.stand-card .sb-seg { min-width: 30px; }
.stand-card .sb-legend { gap: 8px 20px; font-size: .86rem; }
.stand-note { margin: auto 0 0; padding-top: 20px; font-size: .82rem; line-height: 1.5; color: var(--muted); }
.stand-invest { border-color: transparent; color: #fff; background: radial-gradient(900px 520px at 92% -24%, var(--dusk-2), var(--dusk) 64%); position: relative; isolation: isolate; overflow: hidden; }
.stand-invest::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--najdi) repeat center/56px 28px; opacity: .07; -webkit-mask: linear-gradient(200deg, #000, transparent 46%); mask: linear-gradient(200deg, #000, transparent 46%); }
.stand-invest .stand-head { border-color: rgba(255, 255, 255, .18); }
.stand-invest .stand-head h3, .stand-invest .stand-meters dt { color: var(--gold-light); }
.stand-invest .arrow-link { color: var(--gold-light); }
.stand-invest .stand-big { color: var(--gold-light); }
.stand-invest .stand-big small { color: rgba(255, 255, 255, .78); }
.stand-invest .stand-big span { color: #fff; }
.stand-sub { margin: 14px 0 0; font-size: .95rem; line-height: 1.5; color: rgba(255, 255, 255, .86); }
.stand-sub strong { color: #fff; font-weight: 600; }
.meter { position: relative; height: 8px; margin-block: 10px 8px; border-radius: 99px; background: rgba(255, 255, 255, .16); }
.meter > span { position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--w, 0%); border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--gold-light)); transform-origin: 0 50%; transition: transform 1.3s var(--ease) .25s; }
:root[dir="rtl"] .meter > span { transform-origin: 100% 50%; background: linear-gradient(270deg, var(--gold), var(--gold-light)); }
.reveal:not(.in) .meter > span { transform: scaleX(0); }
.meter-lg { height: 14px; margin-block: 20px 12px; }
.meter-lg b { position: absolute; inset-inline-start: calc(var(--w) + 12px); top: 50%; transform: translateY(-50%); font: 600 .82rem/1 var(--font-body); color: var(--gold-light); }
.stand-cites { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; font-size: .76rem; line-height: 1.3; color: rgba(255, 255, 255, .66); }
.sc-pair { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 8px; margin-inline-end: 14px; }
.stand-meters .sc-pair { display: flex; justify-content: space-between; margin-inline-end: 0; flex-basis: 100%; }
.stand-cites .cite { color: rgba(255, 255, 255, .86); }
.stand-cites .cite-btn:hover, .stand-cites .cite[open] > .cite-btn { color: #fff; }
.stand-meters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px clamp(20px, 3vw, 40px); margin: clamp(22px, 3vw, 34px) 0 0; padding-top: clamp(20px, 2.6vw, 28px); border-top: 1px solid rgba(255, 255, 255, .18); }
.stand-meters dt { font: 600 .68rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; }
.stand-meters dd { margin: 10px 0 0; }
.stand-frac { font-size: 1rem; color: rgba(255, 255, 255, .74); }
.stand-frac b { font: 400 clamp(2rem, 3.4vw, 2.7rem)/1 var(--font-display); letter-spacing: -.03em; color: #fff; }
.stand-pkgs { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: auto 0 0; padding-top: 24px; font-size: .82rem; }
.stand-pkgs a { color: rgba(255, 255, 255, .84); text-decoration: underline dotted rgba(255, 255, 255, .5); text-underline-offset: 4px; }
.stand-pkgs a:hover { color: var(--gold-light); }
.stand-invest :focus-visible { outline-color: var(--gold-light); }
@media (max-width: 900px) { .standing-grid { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .stand-meters { grid-template-columns: 1fr; } }

/* ---------- home 08: the desk (fact check + change log) ---------- */
.desk-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .desk-grid { grid-template-columns: 1fr; } }
.desk-grid h2 { margin-top: .5em; }
.fc-feature { padding: 0; border: 0; border-radius: 0; background: none; }
.fc-feature h2 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); }
.lede-sm { font: italic 400 clamp(1.15rem, 1.8vw, 1.4rem)/1.4 var(--font-display); color: var(--ink-2); }
:root[lang="ar"] .lede-sm { font-family: var(--font-body); line-height: 1.8; }
.changes-list { border-block-start: 1.5px solid var(--rule); margin-top: 18px; }
.changes-list li { grid-template-columns: 104px 1fr; padding: 14px 0; }
.changes-list time { padding-top: .15em; }
@media (max-width: 460px) { .changes-list li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- press band (home, by the numbers) ---------- */
.press-band { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: center; padding: clamp(28px, 5vw, 68px); border-radius: var(--radius-lg); color: var(--sand-100); background: radial-gradient(900px 520px at 10% -30%, var(--palm), var(--palm-deep) 62%); }
.press-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--najdi) repeat center/56px 28px; opacity: .08; -webkit-mask: linear-gradient(120deg, transparent 40%, #000); mask: linear-gradient(120deg, transparent 40%, #000); }
.press-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.5rem); margin-top: .5em; }
.press-band p { max-width: 58ch; color: var(--sand-200); }
.press-band p.muted { color: var(--sand-200); }
.press-band .flex { margin-top: 6px; }
.press-band > .flex { justify-content: flex-end; }
.press-band :focus-visible { outline-color: var(--gold-light); }
.press-band .btn-primary { background: var(--gold); border-color: var(--gold); color: #171d33; }
.press-band .btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); }
.pb-stats { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
.pb-stats > div { display: flex; flex-direction: column-reverse; padding-block: 16px; border-top: 1px solid rgba(255, 255, 255, .2); }
.pb-stats dd { margin: 0; font: 400 clamp(2.3rem, 4.2vw, 3.6rem)/1 var(--font-display); letter-spacing: -.03em; color: var(--gold-light); }
.pb-stats dt { margin-top: 6px; font-size: .84rem; color: var(--sand-200); }
@media (max-width: 860px) { .press-band { grid-template-columns: 1fr; } .press-band > .flex { justify-content: flex-start; } }

/* ---------- press: at a glance ---------- */
.glance-card { position: relative; padding: 26px 28px 18px; border-radius: var(--radius-lg); background: var(--surface); color: var(--ink); box-shadow: 0 34px 70px -34px rgba(0, 0, 0, .7); }
.glance-card::before { content: ""; position: absolute; inset-inline: 28px; top: -7px; height: 14px; background: var(--najdi) repeat-x center/28px 14px; }
.glance-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding-bottom: 12px; border-bottom: 1.5px solid var(--rule); font: 600 .68rem/1.3 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--kicker); }
.glance-head span + span { color: var(--muted); }
.glance-status { display: flex; align-items: center; gap: 10px; margin: 14px 0 4px; font-weight: 600; font-size: .98rem; }
.glance-status .pulse, .sheet-status .pulse { background: var(--oasis); }
.glance-nums { margin: 0; display: grid; }
.glance-nums > div { padding-block: 14px 10px; border-block-start: 1px solid var(--line); }
.glance-nums dt { font-size: .8rem; color: var(--muted); }
.glance-nums dd { margin: 4px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 16px; }
.gn-val { font-family: var(--font-display); color: var(--num); line-height: 1; }
.gn-val small { font: 500 .88rem/1 var(--font-body); color: var(--muted); }
.gn-val b { font-weight: 400; font-size: clamp(2.4rem, 4vw, 3.1rem); letter-spacing: -.035em; }
.gn-val i { font: italic 400 1.15rem/1.2 var(--font-display); color: var(--gold-deep); }
.glance-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; margin: 0; padding-top: 12px; border-block-start: 1px solid var(--line); font-size: .76rem; color: var(--muted); }
.page-hero-dark .glance-card .cite { color: var(--muted); }
.page-hero-dark .glance-card .cite-btn:hover, .page-hero-dark .glance-card .cite[open] > .cite-btn { color: var(--ink); }
.page-hero-dark .glance-card :focus-visible { outline-color: var(--focus); }

/* ---------- press: the fact sheet (a forwardable one-pager; prints to A4) ---------- */
.fs-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-bottom: clamp(18px, 2.4vw, 28px); }
.sheet { position: relative; max-width: 1060px; margin-inline: auto; padding: clamp(22px, 4.4vw, 60px); padding-top: calc(clamp(22px, 4.4vw, 60px) + 6px); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow-2); }
.sheet::before { content: ""; position: absolute; inset-inline: -1px; top: -1px; height: 7px; border-radius: 6px 6px 0 0; background: linear-gradient(90deg, var(--palm-deep), var(--palm) 45%, var(--gold)); }
:root[dir="rtl"] .sheet::before { background: linear-gradient(270deg, var(--palm-deep), var(--palm) 45%, var(--gold)); }
.sheet-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 40px; align-items: end; padding-bottom: clamp(16px, 2.4vw, 26px); border-bottom: 2px solid var(--rule); }
.sheet-brand { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin: 0 0 clamp(8px, 2vw, 22px); font: 500 .98rem/1 var(--font-display); }
.sheet-brand svg { width: 28px; height: 28px; flex: none; }
.sheet-kicker { margin: 0 0 8px; font: 600 .72rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--kicker); }
.sheet-title h3 { margin: 0; font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 500; letter-spacing: -.028em; line-height: 1; }
:root[lang="ar"] .sheet-title h3 { letter-spacing: 0; line-height: 1.3; }
.sheet-meta { margin: 0; display: grid; gap: 10px; text-align: end; font-size: .82rem; }
.sheet-meta dt { font: 600 .62rem/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.sheet-meta dd { margin: 2px 0 0; max-width: 28ch; font-weight: 500; line-height: 1.35; }
.sheet-status { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: clamp(14px, 2vw, 22px) 0 0; padding: 13px 18px; border-radius: 4px; background: var(--palm-deep); color: #fff; font-size: .98rem; }
.sheet-status .pulse { background: var(--oasis-light); }
.ss-k { font: 600 .64rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); }
.sheet-status strong { font-weight: 600; }
.sheet-figs { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4.4vw, 64px); }
.sheet-fig { display: flex; flex-direction: column; gap: 4px; padding-block: clamp(18px, 2.2vw, 26px) clamp(14px, 1.8vw, 20px); border-bottom: 1px solid var(--line); break-inside: avoid; }
.sf-label { margin: 0; font: 600 .7rem/1.35 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--kicker); }
.sf-label a { color: inherit; text-decoration: none; }
.sf-label a:hover { text-decoration: underline; }
.sf-val { margin: 6px 0 0; font-family: var(--font-display); color: var(--num); line-height: .95; }
.sf-val small { font: 500 .9rem/1 var(--font-body); color: var(--muted); }
.sf-val b { font-weight: 400; font-size: clamp(2.7rem, 5vw, 3.9rem); letter-spacing: -.04em; }
.sf-val span { display: inline-block; font: italic 400 clamp(1.05rem, 1.5vw, 1.25rem)/1.25 var(--font-display); color: var(--gold-deep); }
.sf-refs { display: none; }
.sf-aside { margin: 2px 0 0; font-size: .92rem; font-weight: 500; color: var(--ink-2); }
.sf-measure { margin: 6px 0 0; font-size: .88rem; line-height: 1.5; color: var(--ink-2); }
.sf-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; margin-top: auto; padding-top: 6px; }
.sf-date { font-size: .76rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.sheet-fig-lead { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "label label" "val measure" "aside foot"; column-gap: clamp(24px, 4.4vw, 64px); align-items: end; }
.sheet-fig-lead .sf-label { grid-area: label; }
.sheet-fig-lead .sf-val { grid-area: val; line-height: .82; }
.sheet-fig-lead .sf-val b { font-size: clamp(5.4rem, 12vw, 9.4rem); letter-spacing: -.055em; }
.sheet-fig-lead .sf-val span { font-size: clamp(1.6rem, 3vw, 2.5rem); }
.sheet-fig-lead .sf-aside { grid-area: aside; margin-top: 10px; }
.sheet-fig-lead .sf-measure { grid-area: measure; max-width: 62ch; }
.sheet-fig-lead .sf-foot { grid-area: foot; margin-top: 4px; }
.sheet-foot { margin-top: clamp(20px, 3vw, 32px); }
.sheet-refs h4 { margin: 0 0 12px; font: 600 .68rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.sheet-refs ol { list-style: none; margin: 0; padding: 0; counter-reset: ref; columns: 2; column-gap: clamp(24px, 4.4vw, 64px); font-size: .8rem; line-height: 1.45; color: var(--ink-2); }
.sheet-refs li { counter-increment: ref; position: relative; margin-bottom: 8px; padding-inline-start: 2.3em; break-inside: avoid; overflow-wrap: anywhere; }
.sheet-refs li::before { content: counter(ref); position: absolute; inset-inline-start: 0; top: 0; width: 1.65em; height: 1.65em; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--tc); font: 600 .64rem/1 var(--font-body); color: var(--ink); font-variant-numeric: tabular-nums; }
.sheet-refs strong { font-weight: 600; color: var(--ink); }
.sheet-refs time { color: var(--muted); white-space: nowrap; }
.sr-url { display: none; }
.sheet-legal { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .76rem; line-height: 1.5; color: var(--muted); }
@media (max-width: 720px) {
  .sheet-head { grid-template-columns: 1fr; }
  .sheet-meta { text-align: start; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sheet-figs { grid-template-columns: 1fr; }
  .sheet-fig-lead { display: flex; }
  .sheet-refs ol { columns: 1; }
}

/* Arabic: tracking breaks joined letters, so every tracked small-cap label is reset */
:root[lang="ar"] :is(.fig-kicker, .rail-kicker, .rail-card .impression, .stand-head h3, .stand-meters dt, .sf-label, .sheet-kicker, .sheet-meta dt, .ss-k, .sheet-refs h4, .glance-head, .ad-label, .card-kicker, .brand-facts dt, .pkg-stats dt, .claim-card dt, .aside-card h3, .callout h3, .footer-grid h3, .data-table thead th, .card-media .impression, .asset-hero-media .impression, .runway-band .impression, .embed-thumb .impression, .story-ai, .track-tag) { letter-spacing: 0; font-size: .82rem; }
:root[lang="ar"] :is(.rail-card .impression, .card-media .impression, .asset-hero-media .impression, .runway-band .impression, .embed-thumb .impression, .story-ai, .track-tag) { font-size: .72rem; }

/* dark theme: components that set their own surfaces */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .glance-card { box-shadow: 0 0 0 1px var(--line), 0 34px 70px -34px #000; }
  :root:not([data-theme="light"]) .stand-invest { background: radial-gradient(900px 520px at 92% -24%, #26305a, #141a33 64%); border-color: var(--line); }
  :root:not([data-theme="light"]) .sb-seg { color: #14110c; }
}
:root[data-theme="dark"] .glance-card { box-shadow: 0 0 0 1px var(--line), 0 34px 70px -34px #000; }
:root[data-theme="dark"] .stand-invest { background: radial-gradient(900px 520px at 92% -24%, #26305a, #141a33 64%); border-color: var(--line); }

/* ---------- print: any page prints clean; the press page prints the fact sheet alone on A4 ---------- */
@media print {
  @page { size: A4; margin: 11mm 12mm 12mm; }
  :root, :root:not([data-theme="light"]), :root[data-theme="dark"] {
    --bg: #fff; --surface: #fff; --surface-2: #f5ecdf; --ink: #1a1813; --ink-2: #39352d; --muted: #5d564b; --line: #d9cdb8; --rule: #1a1813;
    --link: #1f5d45; --kicker: #9a4527; --num: #0f3b2c; --gold-deep: #8a6a2c; --shadow-1: none; --shadow-2: none;
  }
  html { scroll-behavior: auto; }
  body { background: #fff; font-size: 10pt; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .site-header, .newsletter-band, .site-footer, .ad-slot, .skip, dialog, .mo-progress, .hero-scroll, .fs-actions, .press-jump, .rail-ctrl, .rail-progress, [data-correct], [data-copy], .cite-pop { display: none !important; }
  .cite-btn::after { display: none; }
  .cite-label { text-decoration: none; }
  a { color: inherit; }
  .page-press main > section:not(#fact-sheet), .page-press #fact-sheet .section-head { display: none; }
  .page-press #fact-sheet { padding: 0; }
  .page-press #fact-sheet .wrap { max-width: none; padding: 0; }
  .sheet { max-width: none; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
  .sheet::before { position: static; display: block; height: 3mm; margin-bottom: 5mm; border-radius: 0; }
  .sheet::before, .sheet-status, .sheet-refs li::before { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .sheet-brand { margin-bottom: 5mm; font-size: 10pt; }
  .sheet-brand svg { width: 6mm; height: 6mm; }
  .sheet-head { padding-bottom: 4mm; gap: 2mm 10mm; }
  .sheet-title h3 { font-size: 25pt; }
  .sheet-kicker { font-size: 6.5pt; margin-bottom: 1.5mm; }
  .sheet-meta { font-size: 7.5pt; gap: 1.5mm; }
  .sheet-meta dt { font-size: 5.5pt; }
  .sheet-status { margin-top: 4mm; padding: 2.4mm 4mm; font-size: 9pt; }
  .ss-k { font-size: 5.5pt; }
  .sheet-figs { margin-top: 1mm; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 10mm; }
  .sheet-fig { padding-block: 3.4mm 2.8mm; gap: .6mm; }
  .sf-label { font-size: 6pt; }
  .sf-val { margin-top: 1mm; }
  .sf-val small { font-size: 7.5pt; }
  .sf-val b { font-size: 23pt; }
  .sf-val span { font-size: 10pt; }
  .sheet-fig-lead { display: grid; column-gap: 10mm; }
  .sheet-fig-lead .sf-val b { font-size: 52pt; }
  .sheet-fig-lead .sf-val span { font-size: 17pt; }
  .sf-aside { font-size: 8pt; }
  .sf-measure { margin-top: 1mm; font-size: 7.3pt; line-height: 1.4; }
  .sf-date { font-size: 6.5pt; }
  .sf-foot { padding-top: .6mm; }
  .sheet .cite { display: none; }
  .sf-refs { display: inline; margin-inline-start: 1.2mm; font: 600 6pt/1 var(--font-body); letter-spacing: 0; color: var(--muted); vertical-align: super; }
  .sheet-foot { margin-top: 4mm; }
  .sheet-refs h4 { font-size: 5.5pt; margin-bottom: 2mm; }
  .sheet-refs ol { columns: 2; column-gap: 10mm; font-size: 6.6pt; line-height: 1.35; }
  .sheet-refs li { margin-bottom: 1.3mm; }
  .sheet-refs li::before { font-size: 5pt; }
  .sheet-refs a { text-decoration: none; }
  .sr-url { display: block; font-size: 5.4pt; line-height: 1.25; color: #6b6356; overflow-wrap: anywhere; }
  .sheet-legal { margin-top: 3mm; padding-top: 2.4mm; font-size: 6.2pt; }
}

/* ---------- v12 follow-ups ---------- */
.page-home .desk-changes .eyebrow::after { content: none; }
.press-band { background: radial-gradient(900px 520px at 10% -30%, var(--dusk-2), var(--dusk) 62%); }
.sheet-fig:last-child:nth-child(even) { grid-column: 1 / -1; }
:root[lang="ar"] :is(.fig-hero span, .fig-val span, .sf-val span, .stand-big span, .gn-val i) { font-family: var(--font-body); font-weight: 500; }
@media print {
  .sheet-figs { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 7mm; }
  .sheet-fig:last-child:nth-child(even) { grid-column: auto; }
  .sheet-fig-lead { grid-column: span 2; column-gap: 6mm; }
  .sheet-fig-lead .sf-measure { font-size: 7pt; }
  .sheet-legal { break-inside: avoid; }
  .sheet-refs ol { columns: 3; column-gap: 7mm; }
  .sf-val b { font-size: 21pt; }
  .sheet-fig-lead .sf-val b { font-size: 48pt; }
}
.rail-card .status { flex-wrap: wrap; row-gap: 2px; }
.cite-compact .cite-label { white-space: nowrap; }
.mock { position: relative; isolation: isolate; overflow: hidden; background: var(--surface); }
.mock::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--najdi) repeat center/56px 28px; opacity: .12; }
.mock span { padding: 4px 12px; background: var(--surface); border-radius: 99px; font-variant-numeric: tabular-nums; }

/* ---------- cinematic 3D stages (static/js/graphics/landmark-cine.js) ---------- */
.asset-hero-media.has-stage { height: clamp(460px, 76vh, 820px); background: var(--dusk); }
.asset-hero-media.has-stage::after { pointer-events: none; background: linear-gradient(180deg, rgba(12, 20, 17, 0) 74%, var(--bg) 100%); }
.asset-stage, .asset-hero-media .asset-stage.g-cine { position: absolute; inset: 0; --cine-dock-bottom: 104px; } /* beats the module's injected .g-cine{position:relative} */
.asset-stage > img { width: 100%; height: 100%; object-fit: cover; animation: none; }
.asset-hero.has-media:has(.has-stage) .asset-hero-text { margin-top: -76px; }
.x3d-band { background: radial-gradient(1200px 620px at 88% -12%, var(--dusk-2), var(--dusk) 62%); color: #fff; padding-block: clamp(36px, 5vw, 64px); }
.x3d-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 16px 40px; align-items: end; margin-bottom: 22px; }
.x3d-head h2 { color: #fff; margin: 6px 0 0; }
.x3d-head p { margin: 0; color: rgba(255, 255, 255, .8); max-width: 560px; }
.x3d-stage { position: relative; height: clamp(380px, 62vh, 680px); border-radius: var(--radius-lg); overflow: hidden; background: var(--dusk-2); --cine-dock-bottom: 14px; }
.x3d-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.x3d-open { position: absolute; z-index: 4; top: 14px; inset-inline-start: 14px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--gold); color: var(--dusk); font-weight: 600; font-size: .86rem; text-decoration: none; box-shadow: 0 8px 26px rgba(0, 0, 0, .35); }
.x3d-open:hover { color: var(--dusk); transform: translateY(-1px); }
.x3d-stage .g-cine__hint { top: 68px; }
.x3d-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.x3d-list a { position: relative; display: grid; gap: 4px; padding-bottom: 10px; border-radius: 16px; overflow: hidden; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: #fff; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.x3d-list a:hover { background: rgba(255, 255, 255, .13); transform: translateY(-2px); color: #fff; }
.x3d-list img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.x3d-list strong { padding: 6px 12px 0; font-size: .92rem; line-height: 1.25; }
.x3d-list .status { padding-inline: 12px; color: rgba(255, 255, 255, .85); font-size: .76rem; }
.x3d-list .status-date { color: rgba(255, 255, 255, .6); }
.x3d-tag { position: absolute; top: 8px; inset-inline-end: 8px; padding: 3px 8px; border-radius: 999px; font: 700 .64rem/1 var(--font-body); letter-spacing: .06em; background: rgba(12, 17, 32, .7); border: 1px solid rgba(255, 255, 255, .25); }
@media (max-width: 900px) { .x3d-head { grid-template-columns: 1fr; } .x3d-list { grid-auto-flow: column; grid-auto-columns: minmax(180px, 62vw); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; } .x3d-list li { scroll-snap-align: start; } }
@media (max-width: 720px) { .asset-hero-media.has-stage { height: clamp(420px, 68vh, 620px); } .asset-stage { --cine-dock-bottom: 92px; } .x3d-stage { height: clamp(400px, 66vh, 560px); } }

/* ---------- newsletter topics (footer pills + /newsletter/ cards) ---------- */
.nl-form { flex-direction: column; align-items: stretch; }
.nl-row { display: flex; gap: 10px; flex-wrap: wrap; }
.nl-row input { flex: 1 1 220px; padding: .85em 1.1em; border-radius: 999px; border: 1px solid var(--line); font: inherit; font-size: .95rem; min-height: 48px; background: #fff; color: #1a1813; }
.nl-form .nl-row input { border: 0; }
.nl-topics { border: 0; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nl-topics legend { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 8px; padding: 0; }
.nl-pill { position: relative; cursor: pointer; }
.nl-pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.nl-pill span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); font-size: .84rem; color: var(--sand-100); transition: background .15s, border-color .15s; }
.nl-pill span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid currentColor; flex: none; }
.nl-pill input:checked + span { background: rgba(255,255,255,.14); border-color: var(--gold-light); color: #fff; }
.nl-pill input:checked + span::before { background: var(--gold-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230F3B2C' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/100% no-repeat; border-color: var(--gold-light); }
.nl-pill input:focus-visible + span { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.nl-fine { font-size: .8rem; opacity: .8; margin: 2px 0 0; }
.nl-fine a { color: var(--gold-light); }
.nl-cards { border: 0; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.nl-cards legend { font: 600 1.15rem var(--font-display); margin-bottom: 12px; padding: 0; }
.nl-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.nl-card:hover { border-color: var(--gold); }
.nl-card:has(input:checked) { border-color: var(--palm); box-shadow: inset 4px 0 0 var(--palm); }
[dir="rtl"] .nl-card:has(input:checked) { box-shadow: inset -4px 0 0 var(--palm); }
.nl-card input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--palm); flex: none; }
.nl-card-body { display: grid; gap: 3px; }
.nl-card-body span { color: var(--muted); font-size: .92rem; }
.nl-small { font-size: .85rem; margin-top: 10px; }
.nl-privacy { margin-top: 40px; }
.nl-sent, .nl-alert, .nl-saved { padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); margin-bottom: 20px; }
.nl-sent h2 { margin: 0 0 6px; font-size: 1.4rem; }
.nl-alert { border-color: #b4532a; color: #b4532a; }
.nl-saved { border-color: var(--palm); }
.nl-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.page-newsletter .form-done { color: var(--palm); padding: 18px 20px; border: 1px solid var(--palm); border-radius: var(--radius); }
.page-newsletter .newsletter-band { display: none; } /* the page has its own, fuller form */
