@font-face { font-family: "Anton"; src: url("/fonts/anton-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Cairo"; src: url("/fonts/cairo-arabic.woff2") format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E, U+2010-2011, U+204F, U+2E41; }

:root {
  --bg: #000;
  --fg: #f4f4f2;
  --mute: #9a9a96;
  --line: #2a2a28;
  --accent: #FACC15;
  --pad: clamp(20px, 5vw, 80px);
  --col: min(520px, 36vw);
  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
html[lang="ar"] {
  --display: "Cairo", "Inter", system-ui, sans-serif;
  --text: "Cairo", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--bg); color: var(--fg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--text); font-size: 16px; line-height: 1.6; background: var(--bg); overflow-x: hidden; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

#stage { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; display: block; z-index: 0; background: var(--bg); }

/* loader */
.loader { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; gap: 14px; background: var(--bg); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); transition: opacity .5s ease, visibility .5s; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__bar { width: 140px; height: 1px; background: var(--line); overflow: hidden; }
.loader__fill { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform .2s linear; }
.loader__pct { min-width: 3.5ch; font-variant-numeric: tabular-nums; color: var(--fg); }
html[lang="ar"] .loader { letter-spacing: 0; }

/* top bar */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 18px var(--pad); }
.top { transition: background .3s; }
.top.is-scrolled { background: rgba(0,0,0,.82); border-bottom: 1px solid #141413; }
.top__brand { display: inline-flex; align-items: center; min-height: 32px; font-family: var(--display); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; margin-inline-end: auto; }
.top__nav { display: flex; gap: 14px; }
.top__nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; min-width: 32px; padding: 0 4px; font-size: 13px; color: var(--mute); text-decoration: none; transition: color .2s; }
.top__nav a:hover, .top__nav a.is-active { color: var(--fg); }
.top__nav a.is-active::before { content: ""; display: inline-block; width: 5px; height: 5px; background: var(--accent); margin-inline-end: 7px; vertical-align: middle; }
.top__lang { font: inherit; font-size: 13px; color: var(--fg); background: transparent; border: 1px solid var(--line); min-height: 32px; min-width: 44px; padding: 5px 12px; cursor: pointer; font-family: "Cairo", "Inter", sans-serif; }
.top__lang:hover { border-color: var(--accent); }

/* sections */
main { position: relative; z-index: 10; }
.sec { position: relative; min-height: 130vh; padding: 0 var(--pad); display: flex; align-items: center; }
.sec--hero { min-height: 100vh; min-height: 100svh; }
.sec--long { min-height: 170vh; padding-top: 14vh; padding-bottom: 14vh; }
.sec--last { min-height: 150vh; flex-direction: column; justify-content: center; align-items: stretch; }
.sec--last .panel { margin-top: auto; margin-bottom: auto; }

/* panel always sits on the left (where the video is empty), in both languages */
.panel { width: var(--col); position: sticky; top: 18vh; opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.sec--long .panel { position: relative; top: auto; }
.sec.is-in .panel { opacity: 1; transform: none; }
html[dir="rtl"] .panel { text-align: right; }
/* keep the column on the physical left in Arabic too; the right side belongs to the figure */
html[dir="rtl"] .sec { justify-content: flex-end; }
html[dir="rtl"] .sec--last { align-items: flex-end; }

.kicker { margin: 0 0 18px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.hero__name { margin: 0; font-family: "Anton", Impact, sans-serif; font-weight: 400; line-height: .92; text-transform: uppercase; }
.hero__en { display: block; white-space: nowrap; direction: ltr; unicode-bidi: isolate; font-size: clamp(52px, 6.6vw, 108px); letter-spacing: .005em; }
html[dir="rtl"] .hero__en { text-align: right; }
.hero__ar { display: block; margin-top: 14px; font-family: "Cairo", sans-serif; font-weight: 800; font-size: clamp(30px, 3.6vw, 60px); line-height: 1.2; color: var(--mute); }
.hero__tag { margin: 26px 0 0; max-width: 440px; font-size: 15px; color: var(--fg); }
.hint { position: absolute; bottom: 28px; left: var(--pad); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--mute); }
.hint::after { content: ""; display: block; width: 1px; height: 36px; margin-top: 10px; background: var(--accent); animation: drop 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes drop { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.label { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.label .num { color: var(--accent); font-variant-numeric: tabular-nums; }
.label .num::after { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--line); margin-inline-start: 12px; vertical-align: middle; }
.title { margin: 0 0 22px; font-family: var(--display); font-weight: 400; font-size: clamp(38px, 4.4vw, 78px); line-height: .98; text-transform: uppercase; letter-spacing: .005em; }
.title--xl { font-size: clamp(42px, 5vw, 90px); }
html[lang="ar"] .title { font-weight: 900; line-height: 1.25; letter-spacing: 0; }
html[lang="ar"] .label, html[lang="ar"] .kicker, html[lang="ar"] .hint { letter-spacing: 0; }
.body { margin: 0; max-width: 470px; color: #d6d6d2; font-size: 16px; }

.stats { display: flex; gap: 40px; margin: 34px 0 0; }
.stats div { border-top: 1px solid var(--line); padding-top: 12px; min-width: 110px; }
.stats dt { font-family: "Anton", Impact, sans-serif; font-size: 46px; line-height: 1; color: var(--fg); }
.stats dd { margin: 6px 0 0; font-size: 13px; color: var(--mute); }

/* ventures */
.ventures { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line); }
.venture { display: grid; grid-template-columns: 34px 1fr auto; gap: 4px 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.venture__n { font-size: 12px; color: var(--mute); padding-top: 5px; font-variant-numeric: tabular-nums; }
.venture__name { margin: 0; font-family: "Anton", Impact, sans-serif; font-weight: 400; font-size: 26px; line-height: 1.1; text-transform: uppercase; letter-spacing: .01em; }
.venture__role { grid-column: 2; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
html[lang="ar"] .venture__role { letter-spacing: 0; }
.venture__desc { grid-column: 2 / 4; margin: 4px 0 0; font-size: 14px; color: #c9c9c5; }
.venture__link { grid-column: 3; grid-row: 1; align-self: start; display: inline-flex; align-items: center; min-height: 24px; margin-top: -2px; font-size: 12px; color: var(--mute); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; white-space: nowrap; }
.venture__link:hover { color: var(--fg); text-decoration-color: var(--accent); }

/* group companies */
.group { margin-top: 56px; scroll-margin-top: 90px; }
.group__title { margin: 0 0 8px; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.3vw, 38px); line-height: 1.05; text-transform: uppercase; letter-spacing: .01em; }
html[lang="ar"] .group__title { font-weight: 800; line-height: 1.35; letter-spacing: 0; }
.group__intro { margin: 0 0 6px; font-size: 14px; color: var(--mute); }
.region { margin-top: 26px; }
.region__name { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.region__name::before { content: ""; width: 6px; height: 6px; background: var(--accent); flex: none; }
html[lang="ar"] .region__name { letter-spacing: 0; font-size: 12px; }
.entities { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.entity { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); background: rgba(0,0,0,.35); }
.entity__main { min-width: 0; }
.entity__name { margin: 0; font-family: "Anton", Impact, sans-serif; font-size: 19px; line-height: 1.15; text-transform: uppercase; letter-spacing: .01em; }
html[lang="ar"] .entity__name { font-family: "Cairo", sans-serif; font-weight: 700; font-size: 17px; line-height: 1.5; letter-spacing: 0; }
.entity__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 4px 0 0; font-size: 13px; color: #c9c9c5; }
.entity__link { display: inline-flex; align-items: center; min-height: 24px; font-size: 12px; color: var(--mute); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.entity__link:hover { color: var(--fg); text-decoration-color: var(--accent); }
.entity__tag { flex: none; max-width: 46%; margin-top: 2px; padding: 4px 9px; border: 1px solid #3a3a37; font-size: 11px; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; color: var(--fg); text-align: center; }
html[lang="ar"] .entity__tag { letter-spacing: 0; font-size: 12px; }

.exp { margin-top: 40px; }
.exp__label, .sub { margin: 36px 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
html[lang="ar"] .exp__label, html[lang="ar"] .sub { letter-spacing: 0; }
.exp__list { list-style: none; margin: 0; padding: 0; }
.exp__item { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.exp__period { font-size: 12px; color: var(--accent); }
.exp__title { margin: 0; font-weight: 600; }
.exp__org { font-size: 13px; color: var(--mute); }
.exp__desc { margin: 4px 0 0; font-size: 14px; color: #c9c9c5; }

/* chips */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; }
.chips li { font-size: 13px; padding: 7px 13px; border: 1px solid var(--line); background: rgba(0,0,0,.6); }
.chips li:nth-child(4n+1) { border-color: #4a4a46; }
.press { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; }
.press li { font-family: "Anton", Impact, sans-serif; font-size: 19px; text-transform: uppercase; letter-spacing: .02em; color: #bdbdb8; }

/* contact */
.links { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; padding: 0; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; background: var(--accent); color: #0a0a0a; font-weight: 700; font-size: 14px; text-decoration: none; letter-spacing: .04em; transition: background .2s; }
.btn:hover { background: #fff; }
.btn--ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.btn svg { width: 16px; height: 16px; fill: currentColor; }
.foot { display: flex; flex-direction: column; gap: 6px; padding: 24px 0 30px; font-size: 12px; color: var(--mute); border-top: 1px solid var(--line); width: var(--col); }
.foot p { margin: 0; }
.foot a { color: var(--mute); text-decoration: none; display: inline-flex; align-items: center; min-height: 24px; }
.foot a:hover { color: var(--fg); }
.foot__mail a { color: var(--fg); font-size: 13px; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.foot__legal { display: flex; flex-wrap: wrap; gap: 0 18px; }
html[dir="rtl"] .foot__mail { text-align: right; }

.nojs { position: relative; z-index: 60; padding: 24px; }

/* 404 */
.nf__main { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 100px var(--pad) 60px; max-width: 760px; }
.nf__ar { margin-top: 10px; font-family: "Cairo", sans-serif; text-align: left; }

/* tablet / mobile: frame sits in the top, text in a solid panel below */
@media (max-width: 860px), (orientation: portrait) and (max-width: 1100px) {
  :root { --col: 100%; }
  .top { padding: 6px 12px 6px 18px; background: rgba(0,0,0,.92); }
  .top.is-scrolled { background: rgba(0,0,0,.92); }
  .top__brand, .top__lang { min-height: 44px; }
  .top__lang { padding: 0 14px; }
  .venture__link, .entity__link { min-height: 44px; }
  .venture__link { margin-top: -12px; margin-bottom: -10px; }
  .entity__meta { row-gap: 0; }
  .top__nav { display: none; }
  .sec { align-items: flex-end; min-height: 120vh; padding: 0 0 6vh; }
  .sec--hero { min-height: 100svh; padding-bottom: 12vh; }
  .sec--long { min-height: 0; padding-top: 55vh; }
  .sec--last { min-height: 120vh; justify-content: flex-end; }
  .sec--last .panel { margin: 0; }
  .panel { position: relative; top: auto; padding: 24px 20px 26px; background: rgba(0,0,0,.84); border-top: 1px solid var(--line); }
  .sec--hero .panel { background: rgba(0,0,0,.6); border-top: 0; }
  .hero__en { font-size: clamp(46px, 13.5vw, 96px); }
  html[dir="rtl"] .sec { justify-content: flex-start; }
  html[dir="rtl"] .sec--last { align-items: stretch; }
  .hint { display: none; }
  .title { font-size: clamp(36px, 10.5vw, 64px); }
  .venture__name { font-size: 22px; }
  .stats dt { font-size: 38px; }
  .foot { width: 100%; padding: 20px; background: rgba(0,0,0,.92); }
  .foot a { min-height: 44px; min-width: 44px; }
}
@media (max-width: 420px) {
  .venture { grid-template-columns: 26px 1fr; }
  .venture__link { grid-column: 2; grid-row: auto; justify-self: start; margin-top: -10px; margin-bottom: -8px; }
  .venture__desc { grid-column: 2; }
  .exp__item { grid-template-columns: 1fr; gap: 2px; }
  .entity { flex-direction: column; gap: 8px; }
  .entity__tag { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .panel { transition: none; transform: none; }
  .hint::after { animation: none; }
}

/* legal pages */
.legal-page { min-height: 100vh; }
.legal { position: relative; z-index: 1; max-width: 760px; padding: 120px var(--pad) 40px; }
.legal .title { font-size: clamp(36px, 4vw, 64px); }
.legal__updated { margin: 0 0 32px; font-size: 13px; color: var(--mute); }
.legal h2 { margin: 34px 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--fg); }
html[lang="ar"] .legal h2 { letter-spacing: 0; font-size: 16px; font-weight: 700; }
.legal p, .legal li { margin: 0 0 12px; color: #d6d6d2; font-size: 15px; line-height: 1.75; }
.legal ul { margin: 0 0 12px; padding-inline-start: 20px; }
.legal a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.legal [hidden] { display: none; }
.legal-page .foot { width: auto; max-width: 760px; margin: 40px var(--pad) 0; }
.legal-page .top { background: rgba(0,0,0,.92); border-bottom: 1px solid #141413; }
@media (max-width: 860px), (orientation: portrait) and (max-width: 1100px) {
  .legal { padding: 96px 20px 32px; }
  .legal-page .foot { margin: 32px 20px 0; padding: 20px 0; }
}
