:root {
  --bg: #0B0708;
  --bg-2: #130A0C;
  --card: #120A0C;
  --wine: #7A1420;
  --gold: #C8A46A;
  --gold-soft: rgba(200, 164, 106, .35);
  --line: rgba(200, 164, 106, .18);
  --ivory: #EFE6D8;
  --muted: #A8998A;
  --glass: rgba(14, 8, 10, .8);
  --gutter: clamp(16px, 4vw, 64px);
  --col: min(58vw, 900px);
  --display: 'Reem Kufi', 'IBM Plex Sans Arabic', sans-serif;
  --body: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --serif: 'Cormorant Garamond', serif;
  color-scheme: dark;
}
html[lang="en"] { --body: 'Manrope', system-ui, sans-serif; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--ivory); font-family: var(--body);
  font-size: 16px; line-height: 1.8; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; height: 100svh; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--wine); color: var(--ivory); }

/* ---------- Globe layers ---------- */
#globe { position: fixed; inset: 0; z-index: 0; touch-action: pan-y; cursor: grab; }
#globe:active { cursor: grabbing; }
.vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0,0,0,.5)); }
.scrim { position: fixed; inset: 0; z-index: 1; pointer-events: none; transition: opacity .6s; }
html[dir="rtl"] .scrim { background: linear-gradient(to left, rgba(11,7,8,.9) 0%, rgba(11,7,8,.72) 45%, rgba(11,7,8,0) 66%); }
html[dir="ltr"] .scrim { background: linear-gradient(to right, rgba(11,7,8,.9) 0%, rgba(11,7,8,.72) 45%, rgba(11,7,8,0) 66%); }
main { position: relative; z-index: 2; pointer-events: none; transition: opacity .5s ease; }
main .col, main .opaque, main a, main button, main video { pointer-events: auto; }
body.exploring main, body.exploring .scrim, body.exploring .rail { opacity: 0; pointer-events: none; }
body.exploring main * { pointer-events: none; }

/* ---------- Map UI ---------- */
.map-ui { position: fixed; z-index: 4; bottom: 64px; inset-inline-end: 22vw; transform: translateX(50%); display: flex; flex-direction: column; align-items: center; gap: 10px; pointer-events: none; }
html[dir="ltr"] .map-ui { transform: translateX(-50%); }
.map-hint { font-size: 12.5px; color: var(--ivory); background: rgba(11,7,8,.8); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s; white-space: nowrap; }
.map-hint.show { opacity: 1; transform: none; }
.map-zoom { display: flex; gap: 6px; opacity: 0; transition: opacity .5s; }
body.on-stop .map-zoom, body.exploring .map-zoom { opacity: 1; pointer-events: auto; }
.map-zoom button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: rgba(11,7,8,.75); font-size: 18px; line-height: 1; color: var(--ivory); transition: border-color .3s; }
.map-zoom button:hover { border-color: var(--gold); }

/* ---------- Identity ---------- */
.mark { width: 100%; height: 100%; overflow: visible; }
.mark.anim .m-draw { stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 2.2s .2s cubic-bezier(.6,0,.2,1) forwards; }
.mark.anim .m-ap { animation-delay: .9s; }
.mark.anim .m-fade { opacity: 0; animation: fadeIn 1s 1.6s forwards; }
.mark.anim .m-star { transform-origin: center; transform-box: fill-box; animation: pop 1s 1.8s both; }
.wordmark { display: block; width: 100%; height: auto; overflow: visible; }
.wordmark.anim .w-body { opacity: 0; animation: fadeIn 1.2s .6s forwards; }
.wordmark.anim .w-stars, .wordmark.anim .w-dia { opacity: 0; transform-origin: center; transform-box: fill-box; animation: pop .9s 1.5s cubic-bezier(.3,1.6,.5,1) forwards; }
.wordmark.anim .w-dia { animation-delay: 1.8s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: scale(0) rotate(-45deg); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Gate (first section) ---------- */
.gate { position: relative; z-index: 3; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 45%, rgba(58,10,16,.5), rgba(11,7,8,.94) 70%); }
.gate-inner { text-align: center; padding: 24px 16px; }
.gate-mark { width: 104px; height: 104px; margin: 0 auto 26px; }
.gate-word { width: min(78vw, 440px); margin: 0 auto; }
.gate-en { font-family: var(--serif); letter-spacing: .6em; color: var(--gold); font-size: 14px; margin-top: 10px; padding-inline-start: .6em; opacity: 0; animation: rise 1.1s 1.9s forwards; }
.gate-q { margin: 44px 0 18px; color: var(--muted); font-size: 14px; display: flex; gap: 10px; justify-content: center; opacity: 0; animation: rise 1s 2.2s forwards; }
.gate-q .en { font-family: 'Manrope', sans-serif; }
.gate-btns { display: flex; gap: 12px; justify-content: center; opacity: 0; animation: rise 1s 2.4s forwards; }
.gate-btn { min-width: 150px; padding: 14px 28px; border: 1px solid var(--gold-soft); border-radius: 999px; font-size: 17px; transition: background .35s, color .35s, border-color .35s; }
.gate-btn.ar { font-family: 'IBM Plex Sans Arabic', sans-serif; }
.gate-btn.en { font-family: 'Manrope', sans-serif; letter-spacing: .04em; }
.gate-btn:hover, .gate-btn:focus-visible { background: var(--gold); color: var(--bg); border-color: var(--gold); outline: none; }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; inset-inline: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 16px var(--gutter); transition: background .5s, opacity .6s; }
.nav.solid { background: linear-gradient(to bottom, rgba(11,7,8,.94), rgba(11,7,8,0)); }
body.locked .nav, body.locked .rail, body.locked .map-ui { opacity: 0; pointer-events: none; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-name { display: block; width: 104px; }
html[lang="en"] .brand-name { width: auto; font-family: var(--serif); letter-spacing: .32em; font-size: 14px; font-weight: 600; }
.nav-links { display: flex; gap: 26px; margin-inline-start: auto; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--ivory); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); font-size: 13px; }
.lang-toggle:hover { border-color: var(--gold); }
.nav-cta { padding: 9px 20px; border-radius: 999px; background: var(--ivory); color: var(--bg); font-size: 14px; font-weight: 500; transition: background .3s; }
.nav-cta:hover { background: var(--gold); }

/* ---------- Rail ---------- */
.rail { position: fixed; z-index: 3; bottom: 26px; list-style: none; display: flex; gap: 11px; inset-inline-end: 22vw; transform: translateX(50%); transition: opacity .6s; opacity: 0; pointer-events: none; }
html[dir="ltr"] .rail { transform: translateX(-50%); }
body.on-stop .rail { opacity: 1; pointer-events: auto; }
.rail li { width: 11px; height: 11px; cursor: pointer; opacity: .3; transition: opacity .4s, transform .4s; }
.rail li svg { width: 100%; height: 100%; fill: var(--gold); }
.rail li.lit { opacity: .75; }
.rail li.on { opacity: 1; transform: scale(1.5); }

/* ---------- Common ---------- */
.col { width: var(--col); margin-inline-start: var(--gutter); }
.eyebrow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--gold); }
html[lang="en"] .eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 11.5px; }
.eyebrow .dot { opacity: .5; }
.eyebrow .idx { font-family: var(--serif); font-size: 15px; }
.w { display: inline-block; }
.display { font-family: var(--display); font-weight: 600; line-height: 1.35; }
html[lang="en"] .display { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 110px 0 80px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 250px 1fr; gap: 52px; align-items: center; }
.portrait { position: relative; width: 250px; aspect-ratio: 1; }
.portrait .ring { position: absolute; inset: -14%; width: 128%; height: 128%; animation: spin 80s linear infinite; }
.portrait .ring path { fill: none; stroke: var(--gold); stroke-width: .8; opacity: .8; }
.portrait .ring .dots { fill: none; stroke: var(--gold); stroke-width: .6; stroke-dasharray: .5 3.5; opacity: .6; }
.portrait .ph { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px var(--gold-soft), 0 30px 70px rgba(0,0,0,.6); }
.portrait .ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
@keyframes spin { to { transform: rotate(360deg); } }
.kicker { color: var(--gold); font-size: 14px; }
html[lang="en"] .kicker { text-transform: uppercase; letter-spacing: .22em; font-size: 12px; }
.hero-word { width: clamp(260px, 30vw, 460px); margin: 10px 0 4px; }
.hero-name { font-size: clamp(64px, 8.5vw, 132px); margin-top: 4px; }
.hero-alt { width: 150px; margin-top: 8px; }
.hero-real { color: var(--muted); font-size: 15px; margin-top: 6px; }
.hero-line { font-size: clamp(21px, 2.2vw, 30px); line-height: 1.55; margin-top: 22px; font-weight: 300; max-width: 30ch; }
html[lang="en"] .hero-line { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(25px, 2.5vw, 36px); line-height: 1.25; }
.hero-sub { color: var(--muted); margin-top: 10px; max-width: 46ch; }
.stats { display: flex; gap: clamp(20px, 4vw, 52px); margin-top: 36px; flex-wrap: wrap; }
.stat b { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 3.8vw, 54px); line-height: 1; direction: ltr; }
html[dir="rtl"] .stat b { text-align: right; }
.stat span { color: var(--muted); font-size: 13px; }
.scroll-cue { position: absolute; bottom: 28px; inset-inline-start: var(--gutter); display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); }
.scroll-cue i { width: 1px; height: 44px; background: linear-gradient(var(--gold), transparent); animation: cue 2s infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Manifesto ---------- */
.manifesto { position: relative; min-height: 100vh; display: grid; place-items: center; overflow: hidden; background: var(--bg); padding: 80px 0; }
.film { direction: ltr; position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 18px; opacity: .55; }
.film-row { display: flex; gap: 18px; width: max-content; animation: slide 70s linear infinite; will-change: transform; }
.film-row.rev { animation-direction: reverse; }
.film-row img { width: 220px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; }
@keyframes slide { to { transform: translateX(-50%); } }
.manifesto::after { content: ''; position: absolute; inset: 0; background: radial-gradient(55% 60% at 50% 50%, rgba(11,7,8,.92), rgba(11,7,8,.55) 70%, rgba(11,7,8,.9)); }
.manifesto-text { position: relative; z-index: 2; text-align: center; font-size: clamp(34px, 5.2vw, 84px); max-width: 16ch; padding: 0 16px; }
.marquee { position: absolute; bottom: 36px; inset-inline: 0; z-index: 2; overflow: hidden; white-space: nowrap; color: var(--gold); font-size: 14px; letter-spacing: .1em; opacity: .8; direction: ltr; }
.marquee div { display: inline-flex; gap: 36px; animation: slide 45s linear infinite; }

/* ---------- Chapter ---------- */
.chapter { position: relative; min-height: 110vh; display: grid; place-items: center; overflow: hidden; background: var(--bg); padding: 110px 0; }
.collage { position: absolute; inset: 0; }
.collage figure { position: absolute; width: clamp(200px, 26vw, 380px); aspect-ratio: 3 / 4; }
/* حواف الصورة تذوب في لون الصفحة */
.collage figure img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) brightness(.85);
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, rgba(0,0,0,.5) 78%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 55%, rgba(0,0,0,.5) 78%, transparent 100%); }
.collage figure:nth-child(1) { top: 10%; inset-inline-start: 2%; }
.collage figure:nth-child(2) { bottom: 2%; inset-inline-end: 3%; }
.collage figure:nth-child(3) { top: 12%; inset-inline-end: 24%; width: clamp(150px, 17vw, 250px); opacity: .7; }
.chapter::after { content: ''; position: absolute; inset: 0; background: radial-gradient(48% 52% at 50% 50%, rgba(11,7,8,.92), rgba(11,7,8,.4) 80%); pointer-events: none; }
.chapter-text { position: relative; z-index: 2; text-align: center; padding: 0 16px; }
.chapter-num { font-family: var(--serif); color: var(--gold); letter-spacing: .3em; font-size: 14px; }
html[lang="ar"] .chapter-num { font-family: var(--body); letter-spacing: .08em; }
.chapter-title { font-size: clamp(52px, 9vw, 150px); margin: 6px 0 12px; }
.chapter-sub { color: var(--muted); font-size: clamp(16px, 1.5vw, 20px); max-width: 38ch; margin: 0 auto; }
.race-title .first { color: var(--gold); display: inline-block; }
.race-title .rest { display: inline-block; }
.race { position: relative; width: min(340px, 78vw); height: 26px; margin: 4px auto 22px; }
.race .track { position: absolute; top: 50%; inset-inline: 0; height: 1px; background: var(--line); }
.race .finish { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: 2px; background: var(--gold); transform-origin: center; }
.race .dot, .race .runner { position: absolute; top: 50%; inset-inline-start: calc(var(--p, 0) * (100% - 18px)); transform: translateY(-50%); }
.race .dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(239,230,216,.35); }
.race .dot:nth-of-type(2) { margin-top: -7px; } .race .dot:nth-of-type(3) { margin-top: 7px; } .race .dot:nth-of-type(5) { margin-top: -5px; }
.race .runner { width: 18px; height: 18px; }
.race .runner svg { width: 100%; height: 100%; fill: var(--gold); filter: drop-shadow(0 0 6px rgba(200,164,106,.9)); }

/* ---------- Stop ---------- */
.stop { min-height: 100vh; padding: 14vh 0 10vh; display: flex; align-items: center; }
.stop-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); grid-template-areas: "head media" "body media"; column-gap: clamp(28px, 3.5vw, 56px); align-items: start; }
.stop-head { grid-area: head; }
.stop-media { grid-area: media; position: sticky; top: 13vh; }
.stop-body { grid-area: body; }
.stop-title { font-size: clamp(38px, 4.4vw, 70px); margin: 8px 0 8px; }
.stage { position: relative; aspect-ratio: 4 / 5.6; border-radius: 26px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); box-shadow: 0 40px 90px rgba(0,0,0,.55); }
.stage-bg { position: absolute; inset: -6% 0 0; width: 100%; height: 112%; object-fit: cover; filter: saturate(.85) brightness(.55); }
.stage::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(11,7,8,.55), rgba(11,7,8,0) 28%, rgba(11,7,8,0) 60%, rgba(11,7,8,.75)); pointer-events: none; }
.stage-word { position: absolute; z-index: 2; top: 4%; inset-inline: 0; text-align: center; font-family: var(--display); font-weight: 600; font-size: clamp(34px, 3.6vw, 56px); line-height: 1.2; color: var(--ivory); text-shadow: 0 6px 30px rgba(0,0,0,.7); padding: 0 12px; }
html[lang="en"] .stage-word { font-family: var(--serif); font-style: italic; font-weight: 500; }
.phone { position: absolute; z-index: 3; left: 50%; bottom: 4%; width: 60%; transform: translateX(-50%); aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: #000; border: 1px solid var(--gold-soft); box-shadow: 0 30px 60px rgba(0,0,0,.7), 0 0 0 5px rgba(11,7,8,.85); }
.phone video { width: 100%; height: 100%; object-fit: cover; }
.phone .sound { position: absolute; bottom: 10px; inset-inline-end: 10px; width: 36px; height: 36px; border-radius: 50%; background: rgba(11,7,8,.72); display: grid; place-items: center; border: 1px solid var(--line); }
.phone .sound svg { width: 17px; height: 17px; fill: none; stroke: var(--ivory); stroke-width: 1.6; }
.phone .progress { position: absolute; top: 0; inset-inline: 0; height: 2px; background: rgba(255,255,255,.12); z-index: 2; }
.phone .progress i { display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.tabs { display: flex; gap: 6px; margin-top: 12px; }
.tabs button { flex: 1; padding: 8px 6px; font-size: 12.5px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); transition: all .3s; }
.tabs button.on { background: var(--ivory); color: var(--bg); border-color: var(--ivory); }
.quote { margin-top: 16px; font-size: 19px; color: var(--gold); border-inline-start: 2px solid var(--gold); padding-inline-start: 14px; }
.story { margin-top: 18px; font-size: 17px; color: rgba(239,230,216,.92); max-width: 60ch; }
html[lang="en"] .story { font-size: 16.5px; line-height: 1.75; }
.secret { display: flex; gap: 14px; margin-top: 20px; padding: 16px 18px; border-radius: 14px; background: rgba(200,164,106,.07); border: 1px solid var(--line); }
.secret svg { width: 18px; height: 18px; flex: none; fill: var(--gold); margin-top: 5px; }
.secret h4 { font-size: 13px; color: var(--gold); font-weight: 500; }
html[lang="en"] .secret h4 { text-transform: uppercase; letter-spacing: .16em; font-size: 11px; }
.secret p { font-size: 15.5px; margin-top: 2px; }
.results { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.results li { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; background: rgba(11,7,8,.5); }
.credit, .badge { margin-top: 14px; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.credit svg { width: 12px; height: 12px; fill: var(--gold); }
.badge a, .story a { color: var(--gold); border-bottom: 1px solid var(--gold-soft); }
.badge-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(122,20,32,.35); border: 1px solid rgba(200,164,106,.3); color: var(--ivory); }
.watch { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; color: var(--muted); transition: color .3s; }
.watch:hover { color: var(--gold); }

/* ---------- Numbers ---------- */
.numbers { min-height: 115vh; padding: 16vh 0; display: flex; align-items: center; }
.big-title { font-size: clamp(42px, 5.6vw, 92px); margin: 10px 0 14px; }
.lead { color: var(--muted); font-size: 18px; max-width: 46ch; }
.num-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 40px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.num { background: rgba(11,7,8,.88); padding: 26px 24px; }
.num b { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(44px, 4.8vw, 72px); line-height: 1; direction: ltr; }
html[dir="rtl"] .num b { text-align: right; }
.num span { display: block; margin-top: 10px; font-size: 15px; }
.num small { display: block; color: var(--gold); font-size: 12px; margin-top: 6px; }
.num.proof { cursor: zoom-in; transition: background .3s; }
.num.proof:hover { background: rgba(58,10,16,.9); }

.btn { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin-top: 22px; padding: 12px 24px; border-radius: 999px; background: var(--ivory); color: var(--bg); font-weight: 500; font-size: 15px; transition: background .3s; }
.btn:hover { background: var(--gold); }

/* ---------- Services ---------- */
.services { padding: 12vh 0; }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.svc { padding: 26px 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--glass); transition: border-color .4s, transform .5s; }
.svc:hover { border-color: var(--gold-soft); transform: translateY(-4px); }
.svc svg { width: 28px; height: 28px; fill: none; stroke: var(--gold); stroke-width: 1.2; }
.svc h3 { font-size: 19px; font-weight: 500; margin-top: 16px; }
html[lang="en"] .svc h3 { font-family: var(--serif); font-size: 25px; font-weight: 600; }
.svc p { color: var(--muted); font-size: 15px; margin-top: 8px; }

/* ---------- Contact ---------- */
.contact { min-height: 100vh; padding: 14vh 0 0; display: flex; flex-direction: column; justify-content: center; }
.contact .big-title { max-width: 15ch; }
.mail { display: inline-block; margin-top: 26px; font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4.4vw, 66px); line-height: 1.15; direction: ltr; border-bottom: 1px solid var(--gold-soft); padding-bottom: 6px; transition: color .4s, border-color .4s; }
.mail:hover { color: var(--gold); border-color: var(--gold); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.socials a { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); font-family: 'Manrope', sans-serif; font-size: 14px; transition: all .3s; background: rgba(11,7,8,.5); }
.socials a:hover { background: var(--ivory); color: var(--bg); border-color: var(--ivory); }
.handle { margin-top: 14px; color: var(--muted); font-size: 14px; }
.handle b { color: var(--gold); font-weight: 500; font-family: 'Manrope', sans-serif; }
footer { margin-top: 12vh; padding: 26px 0 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
footer .brand-mark { width: 28px; height: 28px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.9); display: grid; place-items: center; padding: 20px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; border-radius: 14px; }

/* =========================================================
   Mobile — تصميم مستقل للهاتف
   ========================================================= */
@media (max-width: 860px) {
  :root { --col: auto; }
  body { font-size: 15.5px; }
  .col { margin-inline: 16px; }
  .scrim { background: linear-gradient(to bottom, rgba(11,7,8,0) 0, rgba(11,7,8,0) 34vh, rgba(11,7,8,.55) 48vh) !important; }
  .nav { padding: 12px 16px; gap: 10px; }
  .nav.solid { background: linear-gradient(to bottom, rgba(11,7,8,.96) 60%, rgba(11,7,8,0)); }
  .nav-links { display: none; }
  .nav-actions { margin-inline-start: auto; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-name { width: 92px; }
  .nav-cta { padding: 8px 16px; font-size: 13.5px; }
  .lang-toggle { width: 36px; height: 36px; }
  .rail { display: none; }
  .map-ui, html[dir="ltr"] .map-ui { top: calc(21vh + min(17vh, 36vw) + 10px); bottom: auto; left: 50%; right: auto; transform: translateX(-50%); }
  .map-zoom { display: none; }

  /* hero: الصورة داخل الكرة الأرضية */
  .hero { padding: 0 0 70px; align-items: flex-start; }
  .hero-grid { grid-template-columns: 1fr; gap: 18px; justify-items: center; text-align: center; }
  .portrait { width: min(40vw, 150px); margin-top: calc(21vh - min(20vw, 75px)); }
  .hero-text { display: flex; flex-direction: column; align-items: center; margin-top: calc(min(17vh, 36vw) - min(20vw, 75px) + 6px); }
  .hero-word { width: min(74vw, 320px); }
  .hero-name { font-size: 58px; }
  .hero-line { font-size: 21px; max-width: 24ch; }
  .hero-sub { font-size: 15px; }
  .stats { justify-content: center; gap: 22px; margin-top: 26px; }
  .stat b { font-size: 34px; text-align: center !important; }
  .scroll-cue { display: none; }

  .manifesto { min-height: 80vh; }
  .manifesto-text { font-size: 34px; }
  .film-row img { width: 130px; border-radius: 10px; }

  .chapter { min-height: 86vh; padding: 90px 0; }
  .collage figure { width: 190px; }
  .collage figure:nth-child(3) { display: none; }
  .chapter-title { font-size: clamp(44px, 13vw, 64px); }

  /* stop: الكرة في الأعلى، ثم بطاقة المحطة */
  .stop { min-height: 0; padding: 40vh 0 6vh; display: block; }
  .stop > .col { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 20px 16px 22px; box-shadow: 0 -20px 50px rgba(0,0,0,.45); }
  .stop-grid { grid-template-columns: 1fr; grid-template-areas: "head" "media" "body"; }
  .stop-media { position: static; margin-top: 12px; }
  .stop-title { font-size: 34px; margin-bottom: 0; }
  .stage { aspect-ratio: 4 / 5.5; border-radius: 20px; }
  .stage-word { font-size: 34px; top: 3%; }
  .phone { width: 56%; border-radius: 18px; }
  .story { font-size: 16px; }
  .secret p { font-size: 15px; }

  .numbers { padding: 40vh 0 8vh; min-height: 0; display: block; }
  .numbers > .col, .services > .col { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 22px 16px; }
  .num-grid { grid-template-columns: 1fr 1fr; margin-top: 24px; }
  .num { padding: 18px 14px; }
  .num b { font-size: 38px; }
  .num span { font-size: 13px; }
  .big-title { font-size: 40px; }
  .lead { font-size: 16px; }
  .services { padding: 4vh 0; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc { background: rgba(11,7,8,.5); }
  .contact { padding-top: 44vh; min-height: 0; }
  .mail { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
