/* ==========================================================================
   Inspiring Arabs (2026) · Designed & developed by Riman Agency
   ========================================================================== */

/* Fonts (self-hosted) */
@font-face { font-family: "Newsreader"; src: url(../fonts/newsreader-latin-wght-normal.woff2) format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url(../fonts/newsreader-latin-wght-italic.woff2) format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Naskh Arabic"; src: url(../fonts/noto-naskh-arabic-arabic-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Noto Naskh Arabic"; src: url(../fonts/noto-naskh-arabic-arabic-600-normal.woff2) format("woff2"); font-weight: 500 600; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Noto Naskh Arabic"; src: url(../fonts/noto-naskh-arabic-arabic-700-normal.woff2) format("woff2"); font-weight: 700 900; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Aref Ruqaa"; src: url(../fonts/aref-ruqaa-arabic-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }

/* Tokens ------------------------------------------------------------------ */
:root {
	--bg: #121317;
	--bg-2: #17181d;
	--surface: #1d1e23;
	--surface-2: #25262c;
	--line: rgba(255, 255, 255, .09);
	--line-2: rgba(255, 255, 255, .16);
	--text: #e9e7ec;
	--muted: #a7a5ae;
	--soft: #c9c7cf;
	--gold: #e8b04b;
	--gold-2: #ffcd7b;
	--gold-ink: #ffcd7b;
	--on-gold: #271900;
	--plum: #2a2036;
	--glass: rgba(18, 19, 23, .62);
	--shadow: 0 30px 80px -30px rgba(0, 0, 0, .65);
	--serif: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
	--sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--calli: "Aref Ruqaa", "Noto Naskh Arabic", serif;
	--r-sm: 10px; --r: 18px; --r-lg: 28px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--header-h: 68px;
	--gutter: clamp(16px, 4vw, 40px);
	color-scheme: dark;
}
:root[data-theme="light"] {
	--bg: #f7f3ea;
	--bg-2: #efe8da;
	--surface: #ffffff;
	--surface-2: #f3eee3;
	--line: rgba(23, 20, 14, .1);
	--line-2: rgba(23, 20, 14, .18);
	--text: #18171b;
	--muted: #5f5b63;
	--soft: #3c3a40;
	--gold-ink: #87580a;
	--glass: rgba(247, 243, 234, .7);
	--shadow: 0 30px 70px -35px rgba(40, 28, 6, .35);
	color-scheme: light;
}
/* Dark sections stay dark in light mode */
.hero, .numbers, .cta-band, .site-footer, .page-hero, .story-hero, .notfound {
	--bg: #121317; --bg-2: #17181d; --surface: #1d1e23; --surface-2: #25262c;
	--line: rgba(255, 255, 255, .09); --line-2: rgba(255, 255, 255, .16);
	--text: #e9e7ec; --muted: #a7a5ae; --soft: #c9c7cf; --gold-ink: #ffcd7b;
	color-scheme: dark;
}
.lang-ar { --serif: "Noto Naskh Arabic", "Newsreader", serif; --sans: "Noto Naskh Arabic", "Inter", sans-serif; }

/* Base -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
.lang-ar h1, .lang-ar h2, .lang-ar h3, .lang-ar h4 { letter-spacing: 0; line-height: 1.35; font-weight: 600; }
p { margin: 0; }
::selection { background: var(--gold); color: var(--on-gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; inset-inline-start: 16px; top: -60px; z-index: 200; background: var(--gold); color: var(--on-gold); padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }
main:focus { outline: none; }
.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.small { font-size: .9rem; color: var(--muted); }
.flip-rtl { transition: transform .3s var(--ease); }
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }
[dir="rtl"] .chev { transform: scaleX(-1); }

/* Type scale */
.eyebrow { display: inline-block; font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.lang-ar .eyebrow { letter-spacing: 0; font-size: .95rem; text-transform: none; }
.eyebrow.gold, .gold { color: var(--gold-ink); }
.display { font-size: clamp(2.9rem, 8.2vw, 7rem); font-weight: 300; letter-spacing: -.025em; line-height: .98; }
.display-sm { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 300; letter-spacing: -.02em; }
.h-xl { font-size: clamp(2.1rem, 5vw, 4.2rem); font-weight: 300; letter-spacing: -.02em; }
.h-lg { font-size: clamp(1.8rem, 3.6vw, 3rem); font-weight: 300; }
.h-md { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.lang-ar .display, .lang-ar .display-sm, .lang-ar .h-xl, .lang-ar .h-lg { font-weight: 600; line-height: 1.3; }
h1 em, h2 em, .display em, .h-xl em, .h-lg em { font-style: italic; color: var(--gold-2); font-weight: inherit; }
:root[data-theme="light"] .section h2 em, :root[data-theme="light"] .h-xl em { color: var(--gold-ink); }
.lang-ar h1 em, .lang-ar h2 em { font-style: normal; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--soft); line-height: 1.6; max-width: 46ch; }
.lang-ar .lede { line-height: 1.9; }
.mega-label { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.lang-ar .mega-label { letter-spacing: 0; font-size: .9rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .3s; white-space: nowrap; }
.lang-ar .btn { letter-spacing: 0; font-size: .98rem; }
.btn .ico { width: 18px; height: 18px; }
.btn-gold { background: var(--gold); color: var(--on-gold); box-shadow: 0 10px 30px -12px rgba(232, 176, 75, .55); }
.btn-gold:hover { background: var(--gold-2); transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--text); background: rgba(255, 255, 255, .02); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-ink); transform: translateY(-2px); }
.btn-lg { min-height: 56px; padding: 0 32px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-ink); font-weight: 600; font-size: .9rem; }
.link-arrow .ico { width: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }
[dir="rtl"] .link-arrow:hover .ico { transform: scaleX(-1) translateX(4px); }
.link-btn { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }
.ico { width: 22px; height: 22px; flex: none; }

/* Header ------------------------------------------------------------------ */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); color: var(--text); transition: background .4s var(--ease), color .4s, border-color .4s, transform .45s var(--ease); background: var(--glass); -webkit-backdrop-filter: saturate(1.6) blur(22px); backdrop-filter: saturate(1.6) blur(22px); border-bottom: 1px solid var(--line); }
.site-header.on-dark { --text: #f1eff4; --muted: #b4b2bb; --line: rgba(255, 255, 255, .1); --gold-ink: #ffcd7b; background: rgba(14, 15, 19, .5); color: #f1eff4; }
.site-header.at-top.on-dark { background: linear-gradient(to bottom, rgba(10, 10, 14, .55), rgba(10, 10, 14, 0)); border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.is-hidden { transform: translateY(-100%); }
.bar { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; color: var(--gold); flex: none; }
.ia-logo { width: auto; height: 17px; }
.ia-logo.sm { height: 15px; color: var(--gold); }
.ia-logo.lg { height: 22px; color: var(--gold); }
.progress { position: absolute; inset-inline: 0; bottom: -1px; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transform-origin: left; transform: scaleX(var(--read, 0)); }
[dir="rtl"] .progress span { transform-origin: right; }

.primary-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: static; display: flex; align-items: center; }
.nav-link { display: block; padding: 10px 12px; font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--text); opacity: .86; border-radius: 999px; transition: opacity .2s, color .2s, background .2s; }
.lang-ar .nav-link { letter-spacing: 0; font-size: .95rem; }
.nav-link { white-space: nowrap; }
.lang-fr .nav-link, .lang-es .nav-link { letter-spacing: .08em; padding-inline: 9px; }
@media (max-width: 1320px) { .lang-fr .primary-nav, .lang-es .primary-nav { display: none; } .lang-fr .menu-btn, .lang-es .menu-btn { display: inline-flex; } }
.nav-link:hover, .nav-item.is-open .nav-link, .nav-item.is-active .nav-link { opacity: 1; color: var(--gold-ink); }
.mega-toggle { width: 22px; height: 30px; display: grid; place-items: center; margin-inline-start: -8px; opacity: .6; }
.mega-toggle .ico { width: 14px; height: 14px; transform: rotate(90deg); transition: transform .3s; }
.nav-item.is-open .mega-toggle .ico { transform: rotate(-90deg); }
.mega { position: absolute; inset-inline: 0; top: 100%; padding-top: 1px; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s .3s; }
.nav-item.is-open .mega { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.mega-inner { max-width: 1280px; margin: 0 auto; padding: 32px var(--gutter) 36px; display: grid; grid-template-columns: 1.1fr 1fr 1.2fr 1.1fr; gap: 36px; background: var(--glass); -webkit-backdrop-filter: saturate(1.6) blur(28px); backdrop-filter: saturate(1.6) blur(28px); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r-lg) var(--r-lg); box-shadow: var(--shadow); color: var(--text); }
.site-header.on-dark .mega-inner { background: rgba(16, 17, 21, .86); }
.mega-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(232, 176, 75, .12); color: var(--gold-ink); margin-bottom: 14px; }
.mega-title { font-family: var(--serif); font-size: 1.6rem; line-height: 1.1; margin-bottom: 8px; }
.mega-blurb { color: var(--muted); font-size: .92rem; margin-bottom: 16px; }
.mega-all { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-ink); font-weight: 600; font-size: .88rem; }
.mega-all .ico { width: 16px; }
.mega-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mega-chips a { display: inline-flex; gap: 6px; align-items: center; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .85rem; transition: border-color .2s, color .2s; }
.mega-chips a span { color: var(--muted); font-size: .75rem; }
.mega-chips a:hover { border-color: var(--gold); color: var(--gold-ink); }
.mega-latest { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.mega-latest a { font-family: var(--serif); font-size: 1.08rem; line-height: 1.3; display: block; transition: color .2s; }
.mega-latest a:hover { color: var(--gold-ink); }
.mega-feature { position: relative; border-radius: var(--r); overflow: hidden; min-height: 200px; display: block; }
.mega-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mega-feature:hover img { transform: scale(1.05); }
.mega-feature span { position: absolute; inset: auto 0 0 0; padding: 18px; background: linear-gradient(transparent, rgba(0, 0, 0, .82)); color: #fff; font-family: var(--serif); font-size: 1.05rem; line-height: 1.25; }
.mega-feature em { display: block; font-family: var(--sans); font-style: normal; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 6px; }

.actions { display: flex; align-items: center; gap: 4px; flex: none; margin-inline-start: auto; }
.icon-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; min-width: 40px; padding: 0 10px; border-radius: 999px; color: var(--text); transition: background .2s, color .2s; }
.icon-btn:hover { background: rgba(255, 255, 255, .08); color: var(--gold-ink); }
:root[data-theme="light"] .site-header:not(.on-dark) .icon-btn:hover { background: rgba(0, 0, 0, .05); }
.icon-btn .ico { width: 20px; height: 20px; }
.icon-btn kbd { font: 600 .68rem var(--sans); border: 1px solid var(--line-2); border-radius: 5px; padding: 1px 6px; color: var(--muted); }
.lang-btn span { font-size: .78rem; font-weight: 600; }
.lang-menu { position: relative; }
.lang-pop { position: absolute; inset-inline-end: 0; top: calc(100% + 10px); min-width: 190px; padding: 8px; border-radius: 16px; background: var(--glass); -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6); border: 1px solid var(--line); box-shadow: var(--shadow); }
.site-header.on-dark .lang-pop { background: rgba(16, 17, 21, .9); }
.lang-switch { list-style: none; margin: 0; padding: 0; }
.lang-switch a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-size: .92rem; }
.lang-switch a:hover { background: rgba(255, 255, 255, .06); }
.lang-switch a[aria-current] { color: var(--gold-ink); }
.lang-switch .ls-short { font-weight: 700; font-size: .75rem; letter-spacing: .1em; opacity: .7; min-width: 22px; }
.lang-switch.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.lang-switch.pills a { border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 14px; }
.lang-switch.pills .ls-short { display: none; }
.lang-switch.stack a { padding: 6px 0; justify-content: flex-start; }
.lang-switch.stack .ls-short { display: none; }
.mode-btn .i-sun { display: none; }
:root[data-theme="light"] .mode-btn .i-sun { display: block; }
:root[data-theme="light"] .mode-btn .i-moon { display: none; }
.menu-btn { display: none; }

/* Drawer (mobile menu) */
.drawer { position: fixed; inset: 0; z-index: 150; background: rgba(8, 8, 10, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.drawer-inner { position: absolute; inset-block: 0; inset-inline-end: 0; width: min(420px, 100%); background: var(--bg); padding: 18px var(--gutter) 40px; overflow-y: auto; transform: translateX(100%); transition: transform .5s var(--ease-out); }
[dir="rtl"] .drawer-inner { transform: translateX(-100%); }
.drawer.is-open .drawer-inner { transform: none; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; height: 48px; margin-bottom: 18px; }
.drawer-list { list-style: none; margin: 0 0 28px; padding: 0; }
.drawer-list a { display: flex; align-items: center; gap: 14px; padding: 16px 4px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.45rem; }
.drawer-list .ico { color: var(--gold-ink); }

.partial-note { position: relative; z-index: 5; margin-top: var(--header-h); background: rgba(232, 176, 75, .12); border-bottom: 1px solid rgba(232, 176, 75, .3); font-size: .9rem; padding: 10px 0; }
.partial-note a { color: var(--gold-ink); text-decoration: underline; }
.partial-note + main .page-hero, .partial-note + main .story-hero { margin-top: 0; }

/* Decorative Arabic calligraphy */
.calli { position: absolute; z-index: 0; pointer-events: none; font-family: var(--calli); font-weight: 700; font-size: clamp(7rem, 22vw, 20rem); line-height: 1; color: var(--text); opacity: .035; white-space: nowrap; inset-inline-end: -2vw; top: 4%; transform: translateY(var(--cy, 0)); direction: rtl; user-select: none; }
.calli.big { font-size: clamp(9rem, 30vw, 26rem); inset-inline: 0; text-align: center; top: 10%; opacity: .05; }

/* Sections */
.section { position: relative; padding-block: clamp(72px, 11vw, 150px); overflow: hidden; }
.section > .wrap { position: relative; z-index: 1; }
.sec-head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 860px; }
.sec-head .eyebrow { margin-bottom: 18px; }
.sec-head.row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* Hero -------------------------------------------------------------------- */
.hero { position: relative; height: 175vh; background: #0c0c0f; }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.hero-frame { position: absolute; inset: 0; overflow: hidden; clip-path: inset(calc(var(--p, 0) * 7vh) calc(var(--p, 0) * 6vw) round calc(var(--p, 0) * 36px)); will-change: clip-path; }
.hero-img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.02 + var(--p, 0) * .08)); transform-origin: 60% 60%; will-change: transform; }
.hero-shade { position: absolute; inset: 0; background:
	radial-gradient(60% 50% at 50% 42%, rgba(232, 176, 75, .14), transparent 70%),
	linear-gradient(90deg, rgba(42, 32, 54, .55), transparent 40%),
	linear-gradient(to bottom, rgba(10, 10, 14, .55) 0%, rgba(10, 10, 14, .35) 40%, rgba(10, 10, 14, .85) 100%); }
.hero-copy { position: relative; z-index: 2; text-align: center; color: #f1eff4; display: flex; flex-direction: column; align-items: center; gap: 22px; padding-top: var(--header-h); opacity: calc(1 - var(--p, 0) * 1.6); transform: translateY(calc(var(--p, 0) * -60px)); }
.hero-copy .lede { margin-inline: auto; max-width: 52ch; color: rgba(241, 239, 244, .82); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 8px; }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; width: 22px; height: 36px; margin-left: -11px; border: 1.5px solid rgba(255, 255, 255, .4); border-radius: 12px; z-index: 2; opacity: calc(1 - var(--p, 0) * 4); }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; background: var(--gold-2); border-radius: 2px; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* Mask-rise headings */
.rise .w { display: inline-block; overflow: hidden; vertical-align: top; padding-block: .06em; margin-block: -.06em; }
.rise .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 45ms); }
.rise.is-in .w > span { transform: none; }
.rise:not(.is-split) { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rise:not(.is-split).is-in { opacity: 1; transform: none; }
.no-js .rise, .no-js .rise .w > span { opacity: 1 !important; transform: none !important; }

/* Reveal (blur in / blur out, both directions) */
.reveal { opacity: 0; filter: blur(6px); transform: translateY(28px) scale(.985); transition: opacity .9s var(--ease), filter .9s var(--ease), transform 1s var(--ease-out); transition-delay: calc(var(--d, 0) * 70ms); }
.reveal.is-in { opacity: 1; filter: none; transform: none; }
.reveal.is-out-up { transform: translateY(-24px) scale(.985); }
.no-js .reveal { opacity: 1; filter: none; transform: none; }

/* Pillars ------------------------------------------------------------------ */
.pillar-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.tile { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; min-height: 360px; background: var(--surface); color: #fff; transform: scale(var(--g, 1)); transform-origin: center bottom; border-radius: calc(var(--r-lg) + (1 - var(--g, 1)) * 60px); isolation: isolate; }
.tile-1 { grid-column: span 7; min-height: 480px; }
.tile-2 { grid-column: span 5; min-height: 480px; }
.tile-3 { grid-column: span 5; }
.tile-4 { grid-column: span 7; }
.tile-media { position: absolute; inset: 0; overflow: hidden; }
.tile-media img, .card-media img, .region-media img, .spot-media img, .ph-media img, .sh-media img, .hcard-media img { width: 100%; height: 100%; object-fit: cover; transform: translate3d(0, var(--py, 0), 0) scale(1.06); will-change: transform; transition: filter .6s; image-rendering: auto; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 8, 11, .92) 0%, rgba(8, 8, 11, .45) 45%, rgba(8, 8, 11, .1) 100%); z-index: 0; transition: opacity .5s; }
.tile-body { position: absolute; inset: auto 0 0 0; z-index: 1; padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 10px; }
.tile-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--gold-2); }
.tile-title { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.05; }
.lang-ar .tile-title { font-weight: 600; line-height: 1.3; }
.tile-text { color: rgba(255, 255, 255, .78); max-width: 44ch; font-size: .98rem; }
.tile-count { display: inline-flex; gap: 8px; align-items: center; color: var(--gold-2); font-weight: 600; font-size: .85rem; }
.tile-count .ico { width: 16px; transition: transform .35s var(--ease); }
.tile:hover .tile-count .ico { transform: translateX(5px); }
.tile:hover img { filter: brightness(1.08); }

/* Icons draw themselves */
.draw path, .draw circle { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s var(--ease); transition-delay: .2s; }
.is-drawn .draw path, .is-drawn .draw circle, .draw.is-drawn path, .draw.is-drawn circle, .nav-item.is-open .draw path, .nav-item.is-open .draw circle { stroke-dashoffset: 0; }
.no-js .draw path, .no-js .draw circle { stroke-dashoffset: 0; }

/* Horizontal pinned carousel --------------------------------------------- */
.hscroll { position: relative; background: var(--bg-2); }
.hscroll-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 4vh, 48px); padding-top: var(--header-h); }
.hscroll-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.hscroll-head .eyebrow { margin-bottom: 14px; }
.hscroll-meta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.counter { font-family: var(--serif); font-size: 1.3rem; font-variant-numeric: tabular-nums; color: var(--muted); }
.counter [data-hcur] { color: var(--text); }
.hbar { width: 140px; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.hbar span { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(var(--hp, 0)); }
[dir="rtl"] .hbar span { transform-origin: right; }
.hscroll-track { display: flex; gap: 20px; padding-inline: var(--gutter); width: max-content; transform: translate3d(var(--hx, 0), 0, 0); will-change: transform; }
@media (min-width: 1280px) { .hscroll-track { padding-inline: calc((100vw - 1280px) / 2 + var(--gutter)); } }
.hcard { position: relative; flex: none; width: clamp(260px, 30vw, 400px); aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); color: #fff; transition: transform .5s var(--ease); }
.hcard:hover { transform: translateY(-6px); }
.hcard-media { position: absolute; inset: 0; overflow: hidden; }
.hcard-media img { transform: translate3d(var(--px, 0), 0, 0) scale(1.08); }
.hcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 6, 9, .95), rgba(6, 6, 9, .2) 60%, rgba(6, 6, 9, .05)); }
.hcard-num { position: absolute; z-index: 1; top: 20px; inset-inline-start: 22px; font-family: var(--serif); font-style: italic; font-size: 2.4rem; color: var(--gold-2); line-height: 1; }
.hcard-body { position: absolute; z-index: 1; inset: auto 0 0 0; padding: 24px; display: grid; gap: 8px; }
.hcard-title { font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.12; }
.lang-ar .hcard-title { font-weight: 600; line-height: 1.4; }
.hcard-tags { font-size: .8rem; color: rgba(255, 255, 255, .7); }

/* Cards ------------------------------------------------------------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card { position: relative; }
.card-link { display: flex; flex-direction: column; height: 100%; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .5s var(--ease), border-color .3s, box-shadow .5s var(--ease); }
.card-link:hover { transform: translateY(-6px); border-color: rgba(232, 176, 75, .45); box-shadow: var(--shadow); }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.card-link:hover .card-media img { filter: brightness(1.06) saturate(1.05); }
.thumb-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold); background: radial-gradient(circle at 30% 30%, rgba(232, 176, 75, .15), transparent 60%), var(--surface-2); }
.thumb-fallback .ico { width: 44px; height: 44px; }
.card-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; flex: 1; }
.card-title { font-family: var(--serif); font-size: 1.32rem; line-height: 1.2; font-weight: 400; }
.lang-ar .card-title { font-weight: 600; line-height: 1.5; font-size: 1.2rem; }
.card-excerpt { color: var(--muted); font-size: .94rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { margin-top: auto; padding-top: 6px; font-size: .78rem; color: var(--muted); }
.card .eyebrow { color: var(--gold-ink); font-size: .68rem; }
.lang-ar .card .eyebrow { font-size: .85rem; }

.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.bento .card-lead { grid-column: span 2; grid-row: span 2; }
.bento .card-lead .card-media { aspect-ratio: auto; flex: 1; min-height: 300px; }
.bento .card-lead .card-title { font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.1; }
.bento .card:nth-child(2), .bento .card:nth-child(3) { grid-column: span 2; }
.bento .card:nth-child(2) .card-link, .bento .card:nth-child(3) .card-link { flex-direction: row; }
.bento .card:nth-child(2) .card-media, .bento .card:nth-child(3) .card-media { width: 42%; aspect-ratio: auto; flex: none; }
.bento .card:nth-child(n+4) .card-excerpt { display: none; }

/* Numbers band */
.numbers { position: relative; overflow: hidden; background: radial-gradient(80% 120% at 0% 0%, var(--plum), transparent 60%), #0e0f12; padding-block: clamp(70px, 10vw, 130px); color: var(--text); }
.numbers .eyebrow { display: block; margin-bottom: 36px; font-family: var(--sans); }
.num-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.num-grid li { padding: 28px 24px 8px 0; border-inline-end: 1px solid var(--line); display: grid; gap: 8px; }
.num-grid li:last-child { border-inline-end: 0; }
.num { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 7vw, 5.6rem); line-height: 1; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.num-label { color: var(--muted); font-size: .95rem; }
.num-grid.mini { border: 0; grid-template-columns: 1fr; }
.num-grid.mini li { border: 0; border-bottom: 1px solid var(--line); padding: 18px 0; }
.num-grid.mini .num { font-size: 3rem; color: var(--gold-ink); }

/* Spotlight */
.spotlight { padding-block: clamp(72px, 10vw, 140px); }
.spot-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.spot-media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; background: var(--surface-2); }
.spot-copy { display: grid; gap: 22px; justify-items: start; }
.spot-copy h2 a:hover { color: var(--gold-ink); }
.spot-more { list-style: none; margin: 10px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; width: 100%; }
.spot-more a { font-family: var(--serif); font-size: 1.12rem; }
.spot-more a:hover { color: var(--gold-ink); }

/* Regions */
.region-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.region { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; color: #fff; background: var(--surface-2); }
.region-media { position: absolute; inset: 0; overflow: hidden; }
.region::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .85), rgba(0, 0, 0, .05) 65%); transition: opacity .4s; }
.region-name { position: absolute; z-index: 1; inset: auto 16px 40px 16px; display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-size: 1.35rem; line-height: 1.1; }
.region-name .ico { color: var(--gold-2); width: 20px; }
.region-n { position: absolute; z-index: 1; inset: auto 16px 16px 16px; font-size: .78rem; color: rgba(255, 255, 255, .72); }
.region:hover img { filter: brightness(1.12); }
.region-type { background: radial-gradient(120% 90% at 100% 0%, rgba(232, 176, 75, .22), transparent 55%), linear-gradient(160deg, #2a2036, #15161b 70%); border: 1px solid rgba(255, 255, 255, .08); }
.region-calli { position: absolute; inset: 14% 10% auto; font-family: var(--calli); font-weight: 700; font-size: clamp(2.6rem, 4.6vw, 4rem); line-height: 1.1; color: var(--gold-2); opacity: .55; text-align: center; direction: rtl; transition: transform .8s var(--ease), opacity .5s; }
.region-type:hover .region-calli { transform: scale(1.06); opacity: .8; }

.hcard.is-graphic::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(90% 70% at 0% 0%, rgba(42, 32, 54, .8), transparent 60%); }

/* CTA band */
.cta-band { position: relative; background: linear-gradient(120deg, #1a1420, #121317 55%); padding-block: clamp(70px, 9vw, 120px); overflow: hidden; color: var(--text); }
.cta-band::before { content: ""; position: absolute; width: 60vw; height: 60vw; inset-inline-end: -20vw; top: -30vw; background: radial-gradient(circle, rgba(232, 176, 75, .18), transparent 60%); pointer-events: none; }
.cta-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.cta-grid .lede { margin-top: 18px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }

/* Page heroes -------------------------------------------------------------- */
.page-hero, .story-hero { position: relative; overflow: hidden; background: #0e0f12; color: var(--text); padding: calc(var(--header-h) + clamp(56px, 9vw, 120px)) 0 clamp(48px, 7vw, 90px); }
.page-hero.compact { padding-bottom: clamp(40px, 5vw, 64px); }
.page-hero.has-img, .story-hero.has-img { min-height: min(86vh, 820px); display: flex; align-items: flex-end; }
.ph-media, .sh-media { position: absolute; inset: 0; overflow: hidden; }
.ph-media::after, .sh-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 10, 13, .96) 0%, rgba(10, 10, 13, .55) 50%, rgba(10, 10, 13, .3) 100%), linear-gradient(90deg, rgba(42, 32, 54, .5), transparent 50%); }
.ph-copy, .sh-copy { position: relative; z-index: 1; display: grid; gap: 18px; justify-items: start; }
.ph-copy.center { justify-items: center; text-align: center; }
.page-hero:not(.has-img)::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 10% 0%, var(--plum), transparent 60%), radial-gradient(50% 70% at 90% 100%, rgba(232, 176, 75, .08), transparent 70%); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; font-size: .8rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-inline-end: 8px; opacity: .5; }
.crumbs a:hover { color: var(--gold-ink); }
.crumbs [aria-current] { color: var(--soft); display: inline-block; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }

/* Story */
.sh-split { display: grid; }
.sh-split .wrap.sh-copy { grid-row: 1; }
.sh-card { margin: 0; justify-self: center; width: min(1280px - 2 * var(--gutter), 100% - 2 * var(--gutter)); margin-top: 44px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 16 / 7; background: #000; }
.sh-card img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1101px) {
	.sh-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; padding-inline: max(var(--gutter), (100vw - 1280px) / 2 + var(--gutter)); gap: 56px; }
	.sh-split .wrap.sh-copy { padding: 0; max-width: none; }
	.sh-split .story-title { font-size: clamp(2.3rem, 4.2vw, 4rem); }
	.sh-card { width: 100%; margin: 0; aspect-ratio: 16 / 10; }
}
.story-title { font-size: clamp(2.3rem, 5.6vw, 4.8rem); font-weight: 300; letter-spacing: -.02em; max-width: 20ch; }
.lang-ar .story-title { font-weight: 600; line-height: 1.3; }
.dek { font-family: var(--serif); font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.5; color: var(--soft); max-width: 60ch; font-style: italic; }
.lang-ar .dek { font-style: normal; line-height: 1.9; }
.story-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .85rem; color: var(--muted); }
.story-meta span { display: inline-flex; align-items: center; gap: 6px; }
.story-meta .ico { width: 16px; height: 16px; }
.story-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); padding-block: clamp(48px, 7vw, 96px); align-items: start; }
.story-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 22px; max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; scrollbar-width: thin; }
.facts { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; background: var(--surface); }
.facts table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.facts th, .facts td { text-align: start; padding: 9px 0; border-top: 1px solid var(--line); vertical-align: top; }
.facts tr:first-child th, .facts tr:first-child td { border-top: 0; }
.facts th { color: var(--muted); font-weight: 500; width: 42%; padding-inline-end: 10px; }
.facts a { color: var(--gold-ink); }
.toc { border-inline-start: 1px solid var(--line); padding-inline-start: 18px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: t; }
.toc a { display: block; padding: 5px 0; font-size: .9rem; color: var(--muted); line-height: 1.35; transition: color .2s; position: relative; }
.toc a:hover, .toc a.is-current { color: var(--text); }
.toc a.is-current::before { content: ""; position: absolute; inset-inline-start: -19px; top: 6px; bottom: 6px; width: 2px; background: var(--gold); border-radius: 2px; }

/* Quick answer (AEO) */
.quick-answer { margin: 0 0 40px; padding: clamp(20px, 2.6vw, 30px); border-radius: var(--r); background: linear-gradient(135deg, rgba(232, 176, 75, .1), rgba(232, 176, 75, .02) 60%), var(--surface); border: 1px solid rgba(232, 176, 75, .28); max-width: 72ch; }
.quick-answer .mega-label { color: var(--gold-ink); margin-bottom: 10px; }
.quick-answer > p:not(.mega-label) { font-family: var(--serif); font-size: clamp(1.12rem, 1.4vw, 1.3rem); line-height: 1.6; color: var(--text); }
.lang-ar .quick-answer > p:not(.mega-label) { line-height: 1.95; }
.quick-answer .kt-h { margin: 22px 0 10px; font-family: var(--sans); }
.takeaways { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.takeaways li { position: relative; padding-inline-start: 26px; font-size: .97rem; color: var(--soft); line-height: 1.55; }
.takeaways li::before { content: ""; position: absolute; inset-inline-start: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(232, 176, 75, .15); }

/* Prose */
.prose { font-family: var(--serif); font-size: clamp(1.1rem, 1.25vw, 1.22rem); line-height: 1.75; color: var(--text); max-width: 72ch; overflow-wrap: break-word; }
.lang-ar .prose { line-height: 2; font-size: clamp(1.12rem, 1.3vw, 1.25rem); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(1.7rem, 2.6vw, 2.35rem); margin-top: 2.2em; line-height: 1.15; font-weight: 400; }
.prose h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); margin-top: 1.8em; line-height: 1.25; }
.prose h4 { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin-top: 1.6em; }
.prose a { color: var(--gold-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose strong { font-weight: 600; }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--gold-ink); }
.prose hr { border: 0; height: 1px; background: var(--line-2); margin-block: 2.4em; }
.prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 1.2em; border-inline-start: 3px solid var(--gold); font-style: italic; font-size: 1.12em; color: var(--soft); }
[dir="rtl"] .prose blockquote { padding: 4px 1.2em 4px 0; font-style: normal; }
.prose img { border-radius: var(--r); }
.prose figure { margin: 2em 0; }
.prose figcaption { font-family: var(--sans); font-size: .85rem; color: var(--muted); margin-top: 10px; }
.prose code { font-size: .85em; background: var(--surface-2) !important; color: var(--text) !important; padding: 2px 6px; border-radius: 6px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); margin-block: 1.8em; -webkit-overflow-scrolling: touch; }
.prose table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: .9rem; line-height: 1.5; min-width: 520px; }
.prose th, .prose td { padding: 12px 14px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { background: var(--surface-2); font-weight: 600; }
.prose tr:last-child td { border-bottom: 0; }
.prose details, .faq details { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 18px; background: var(--surface); margin-top: 10px; }
.prose summary, .faq summary { cursor: pointer; padding: 16px 30px 16px 0; font-family: var(--sans); font-weight: 600; font-size: 1rem; list-style: none; display: block; position: relative; overflow-wrap: anywhere; }
html[dir="rtl"] .prose summary, html[dir="rtl"] .faq summary { padding: 16px 0 16px 30px; }
.prose summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.prose summary::after, .faq summary::after { content: "+"; position: absolute; inset-inline-end: 0; top: 16px; color: var(--gold-ink); font-size: 1.3rem; line-height: 1; transition: transform .3s; }
.prose details[open] summary::after, .faq details[open] summary::after { transform: rotate(45deg); }
.prose details > :not(summary), .faq details > p { padding-bottom: 16px; font-size: .98rem; }
.prose sup.ia-cite { font-size: .62em; margin-inline-start: 3px; }
.prose sup.ia-cite a { text-decoration: none; font-family: var(--sans); border: 1px solid var(--line-2); padding: 1px 6px; border-radius: 999px; color: var(--muted); }
.prose [style*="background"] { color: inherit; }
.prose .aeo-article { color: var(--text); }
.prose-lead > p:first-child { font-size: 1.15em; }
.faq { margin-top: 48px; }
.faq h2 { font-size: 1.8rem; margin-bottom: 14px; }
.sources { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.sources ol { margin: 0; padding-inline-start: 1.4em; display: grid; gap: 8px; font-size: .88rem; columns: 2; column-gap: 32px; }
.sources li { break-inside: avoid; color: var(--muted); }
.sources a { color: var(--text); }
.sources a:hover .src-host { color: var(--gold-ink); }
.src-host { font-weight: 600; }
.src-label { color: var(--muted); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.share .mega-label { margin: 0 8px 0 0; }
.share a, .share button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .85rem; transition: border-color .2s, color .2s; }
.share a:hover, .share button:hover { border-color: var(--gold); color: var(--gold-ink); }
.share .ico { width: 16px; height: 16px; }
.note-box { margin-top: 32px; padding: 18px 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.note-box a { color: var(--gold-ink); }
.related { background: var(--bg-2); }
.related h2 { margin-bottom: 36px; }

/* Hubs / filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 40px; }
.chip { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .88rem; transition: background .25s, border-color .25s, color .25s; }
.chip span { color: var(--muted); font-size: .76rem; }
.chip .ico { width: 15px; height: 15px; }
.chip:hover { border-color: var(--gold); }
.chip.is-on { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.chip.is-on span { color: rgba(39, 25, 0, .7); }
.filter-count { width: 100%; font-size: .85rem; color: var(--muted); min-height: 1.4em; }
.card.is-hidden { display: none; }
.chips-row { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.empty { color: var(--muted); font-size: 1.05rem; }
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 56px; flex-wrap: wrap; }
.nav-links .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); }
.nav-links .current { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }

/* Archive + A-Z */
.year-block { margin-top: 40px; }
.year { font-size: clamp(2.4rem, 6vw, 4.4rem); color: var(--gold-ink); font-weight: 300; margin-bottom: 12px; }
.archive-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.arow a { display: grid; grid-template-columns: 180px 1fr 200px; gap: 20px; padding: 18px 4px; border-bottom: 1px solid var(--line); align-items: baseline; transition: background .2s; }
.arow a:hover { background: var(--surface); }
.arow a > span { transition: transform .35s var(--ease); }
.arow a:hover > span { transform: translateX(10px); }
[dir="rtl"] .arow a:hover > span { transform: translateX(-10px); }
.arow-date { font-size: .82rem; color: var(--muted); }
.arow-title { font-family: var(--serif); font-size: 1.25rem; line-height: 1.3; }
.arow-cat { font-size: .78rem; color: var(--gold-ink); text-align: end; }
.year-block.is-empty { display: none; }
.az-jump { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 40px; position: sticky; top: calc(var(--header-h) + 8px); z-index: 4; padding: 10px; border-radius: 16px; background: var(--glass); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid var(--line); }
.az-jump a { display: grid; place-items: center; min-width: 38px; height: 38px; border-radius: 10px; font-weight: 600; font-size: .9rem; }
.az-jump a:hover { background: var(--gold); color: var(--on-gold); }
.az { columns: 2; column-gap: 56px; }
.az-group { break-inside: avoid; margin-bottom: 36px; }
.az-letter { font-size: 2.6rem; color: var(--gold-ink); border-bottom: 1px solid var(--line); padding-bottom: 6px; margin-bottom: 10px; }
.az-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.az-group a { font-family: var(--serif); font-size: 1.12rem; }
.az-group a:hover { color: var(--gold-ink); }
.az-group li span { font-size: .75rem; color: var(--muted); margin-inline-start: 6px; }

/* Pages + forms */
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: clamp(32px, 6vw, 90px); align-items: start; }
.form-card { position: sticky; top: calc(var(--header-h) + 24px); padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 10px; }
.about-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 22px; }
.ia-form { display: grid; gap: 14px; margin-top: 8px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .84rem; font-weight: 500; color: var(--soft); }
.field input, .field select, .field textarea, .nl-row input, .inline-search input { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .nl-row input:focus, .inline-search input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232, 176, 75, .2); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #ff8a7a; }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .8rem; color: var(--muted); }
.form-status { font-size: .92rem; min-height: 1.4em; color: var(--gold-ink); }
.form-status.is-error { color: #ff9b8c; }
.nl-row { display: flex; gap: 8px; }
.nl-row .btn { flex: none; }
.inline-search { display: flex; gap: 10px; width: min(560px, 100%); }
.steps { counter-reset: s; list-style: none; padding: 0 !important; }
.steps li { counter-increment: s; position: relative; padding-inline-start: 52px; min-height: 40px; }
.steps li::before { content: counter(s); position: absolute; inset-inline-start: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(232, 176, 75, .14); color: var(--gold-ink); font-family: var(--sans); font-weight: 700; font-size: .9rem; }

/* Footer -------------------------------------------------------------------- */
.site-footer { position: relative; overflow: hidden; background: #0b0b0e; color: var(--text); padding: clamp(64px, 8vw, 110px) 0 32px; border-top: 1px solid var(--line); }
.site-footer .calli { top: auto; bottom: -4%; opacity: .04; }
.site-footer .wrap { position: relative; z-index: 1; }
.foot-top { display: grid; grid-template-columns: 1.1fr 1.6fr; gap: clamp(36px, 6vw, 90px); padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.foot-brand { display: grid; gap: 18px; align-content: start; }
.foot-brand > p { color: var(--muted); max-width: 40ch; }
.foot-news { margin-top: 10px; padding: 22px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(255, 255, 255, .02); display: grid; gap: 8px; }
.foot-news .mega-label { margin: 0; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .92rem; }
.foot-cols a { color: var(--soft); transition: color .2s; }
.foot-cols a:hover { color: var(--gold-ink); }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; padding-top: 24px; font-size: .84rem; color: var(--muted); }
.legal { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; }
.legal a:hover, .credit a:hover { color: var(--gold-ink); }
.credit a { color: var(--soft); text-decoration: underline; text-underline-offset: 3px; }

/* Search overlay */
.search-overlay { position: fixed; inset: 0; z-index: 180; background: rgba(8, 8, 11, .55); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); display: flex; justify-content: center; align-items: flex-start; padding: clamp(60px, 12vh, 140px) var(--gutter) 24px; opacity: 0; transition: opacity .3s; }
.search-overlay.is-open { opacity: 1; }
.search-panel { width: min(760px, 100%); max-height: 100%; display: flex; flex-direction: column; border-radius: 22px; background: var(--bg); border: 1px solid var(--line-2); box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .7); overflow: hidden; transform: translateY(12px) scale(.98); transition: transform .45s var(--ease-out); }
.search-overlay.is-open .search-panel { transform: none; }
.search-bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.search-bar .ico { color: var(--gold-ink); }
.search-bar input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 1.2rem; padding: 10px 0; outline: none; }
.search-bar input::-webkit-search-cancel-button { display: none; }
.esc { display: inline-flex; gap: 8px; align-items: center; font-size: .8rem; color: var(--muted); }
.esc kbd { font: 600 .68rem var(--sans); border: 1px solid var(--line-2); border-radius: 5px; padding: 1px 6px; }
.search-results { overflow-y: auto; padding: 10px; }
.search-hint { padding: 18px 12px; color: var(--muted); font-size: .92rem; }
.sr-item { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 12px; }
.sr-item:hover, .sr-item.is-active { background: var(--surface); }
.sr-item img, .sr-item .sr-ph { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--surface-2); }
.sr-t { font-family: var(--serif); font-size: 1.08rem; line-height: 1.25; }
.sr-t mark { background: none; color: var(--gold-ink); }
.sr-s { font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.lang-ar .sr-s { letter-spacing: 0; }
.sr-count { padding: 6px 12px 10px; font-size: .78rem; color: var(--muted); }

/* 404 */
.notfound { min-height: 88vh; display: flex; align-items: center; }

/* Responsive ------------------------------------------------------------------ */
@media (max-width: 1100px) {
	.primary-nav { display: none; }
	.menu-btn { display: inline-flex; }
	.icon-btn kbd { display: none; }
	.grid-4 { grid-template-columns: repeat(2, 1fr); }
	.region-row { grid-template-columns: repeat(3, 1fr); }
	.story-grid { grid-template-columns: 1fr; }
	.story-aside { position: static; max-height: none; overflow: visible; grid-template-columns: 1fr 1fr; }
	.page-grid { grid-template-columns: 1fr; }
	.form-card, .about-side { position: static; }
	.foot-top { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
	.pillar-grid { grid-template-columns: 1fr; }
	.tile-1, .tile-2, .tile-3, .tile-4 { grid-column: auto; min-height: 380px; }
	.grid-3 { grid-template-columns: repeat(2, 1fr); }
	.bento { grid-template-columns: 1fr 1fr; }
	.bento .card-lead, .bento .card:nth-child(2), .bento .card:nth-child(3) { grid-column: span 2; }
	.spot-grid, .cta-grid { grid-template-columns: 1fr; }
	.cta-actions { justify-content: flex-start; }
	.foot-cols { grid-template-columns: 1fr 1fr; }
	.arow a { grid-template-columns: 1fr; gap: 4px; }
	.arow-cat { text-align: start; }
	.az { columns: 1; }
	.story-aside { grid-template-columns: 1fr; }
	.sources ol { columns: 1; }
}
@media (max-width: 600px) {
	:root { --header-h: 60px; }
	.ia-logo { height: 14px; }
	.actions { gap: 0; }
	.icon-btn { padding: 0 8px; min-width: 38px; }
	.lang-btn span:not(.sr-only) { display: none; }
	.grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
	.bento { grid-template-columns: 1fr; }
	.bento .card-lead, .bento .card:nth-child(2), .bento .card:nth-child(3) { grid-column: auto; }
	.bento .card:nth-child(2) .card-link, .bento .card:nth-child(3) .card-link { flex-direction: column; }
	.bento .card:nth-child(2) .card-media, .bento .card:nth-child(3) .card-media { width: 100%; aspect-ratio: 4 / 3; }
	.region-row { grid-template-columns: 1fr 1fr; }
	.num-grid { grid-template-columns: 1fr 1fr; }
	.num-grid li:nth-child(2n) { border-inline-end: 0; }
	.hero { height: 180vh; }
	.hcard { width: 78vw; }
	.cta-row .btn, .cta-actions .btn { flex: 1 1 auto; }
	.nl-row { flex-direction: column; }
	.page-hero.has-img, .story-hero.has-img { min-height: 78vh; }
	.foot-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
	.crumbs [aria-current] { max-width: 22ch; }
}

/* Reduced motion ------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.reveal, .rise, .rise .w > span { opacity: 1 !important; filter: none !important; transform: none !important; }
	.hero { height: auto; }
	.hero-sticky { position: relative; }
	.hero-frame { clip-path: none; }
	.hero-copy { opacity: 1; transform: none; }
	.hero-img, .tile-media img, .card-media img, .region-media img, .spot-media img, .ph-media img, .sh-media img, .hcard-media img { transform: none !important; }
	.tile { transform: none !important; }
	.draw path, .draw circle { stroke-dashoffset: 0; }
	.hscroll { height: auto !important; }
	.hscroll-sticky { position: relative; height: auto; padding-block: 90px; }
	.hscroll-track { transform: none !important; overflow-x: auto; width: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
	.hcard { scroll-snap-align: start; }
}
@media print {
	.site-header, .site-footer, .story-aside, .share, .related, .search-overlay, .drawer { display: none !important; }
	body { background: #fff; color: #000; }
}
