/* Engineering Horizon — keynote edition.
   Dark "night" chapters alternate with cool concrete-white chapters.
   Brand: navy + gold; Montserrat display, Lato body, Cairo for Arabic.
   RTL through logical properties. Every scroll effect has a static fallback
   under prefers-reduced-motion (html.rm). */

:root {
  --night: #020B18;
  --night-2: #061528;
  --navy: #011C3D;
  --navy-mid: #1E3461;
  --gold: #C49328;
  --gold-light: #D4A840;
  --gold-text: #8A6414;
  --blue: #7DB4E8;
  --white: #F4F6FA;
  --paper: #F3F4F6;
  --paper-2: #E7E9ED;
  --ink: #0B1626;
  --ink-2: #3A4556;
  --mute-d: #93A0B4;      /* muted text on dark */
  --mute-l: #5A6474;      /* muted text on light */
  --line-d: rgba(255,255,255,.12);
  --line-l: rgba(11,22,38,.12);
  --font-head: "Montserrat", "Cairo", system-ui, sans-serif;
  --font-body: "Lato", "Cairo", system-ui, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 44px);
  --ease: cubic-bezier(.2,.7,.1,1);
}
html[lang="ar"] {
  --font-head: "Cairo", "Montserrat", system-ui, sans-serif;
  --font-body: "Cairo", "Lato", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-anchor: none; }
html.rm { scroll-behavior: auto; }
body {
  margin: 0; background: var(--night); color: var(--white);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
html[lang="ar"] body { font-size: 17.5px; line-height: 1.8; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); margin: 0; line-height: 1.08; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 1040px; }
.small { font-size: .95rem; color: var(--mute-d); max-width: 46ch; }
.note { font-size: .82rem; color: var(--mute-d); margin-top: 28px; max-width: 70ch; }
.tag { font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--gold-light); margin-bottom: 14px; }
.kicker { font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 700; color: var(--gold-light); margin-bottom: 22px; letter-spacing: -.005em; }
.sec-h { font-size: clamp(2.2rem, 5.4vw, 4.4rem); font-weight: 800; letter-spacing: -.03em; max-width: 18ch; text-wrap: balance; }
html[lang="ar"] .sec-h { letter-spacing: 0; font-weight: 700; line-height: 1.25; }
.sec-lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--mute-d); max-width: 62ch; margin-top: 22px; }

.skip { position: absolute; inset-inline-start: -9999px; top: 8px; z-index: 200; background: var(--gold); color: var(--night); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { inset-inline-start: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em; padding: 13px 26px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, transform .2s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-gold { background: var(--gold-light); color: var(--night); }
.btn-gold:hover { background: #E2B952; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); text-decoration: none; font-weight: 700; margin-top: 20px; font-size: 1.02rem; }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }
.i-chev { width: 12px; height: 12px; }
html[dir="rtl"] .i-chev, html[dir="rtl"] .g-btn svg, html[dir="rtl"] .lb-nav svg, html[dir="rtl"] .crumb svg { transform: scaleX(-1); }

/* ---------- nav ---------- */
.nav { position: fixed; inset-inline: 0; top: 0; z-index: 100; }
.nav-in {
  height: 64px; display: flex; align-items: center; gap: 28px;
  padding-inline: var(--gutter); max-width: var(--wrap); margin-inline: auto;
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(2,11,24,.62); backdrop-filter: saturate(170%) blur(18px); -webkit-backdrop-filter: saturate(170%) blur(18px);
  border-bottom: 1px solid var(--line-d); transition: background .3s;
}
.nav.scrolled::before { background: rgba(2,11,24,.82); }
.brand img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 26px; margin-inline-start: auto; }
.nav-links a, .nav .lang { font-size: .86rem; text-decoration: none; color: rgba(244,246,250,.78); transition: color .2s; }
.nav-links a:hover, .nav .lang:hover, .nav-links a[aria-current] { color: var(--white); }
.nav-links a[aria-current] { box-shadow: inset 0 -2px 0 var(--gold-light); padding-bottom: 4px; }
.nav-in > .lang { border: 1px solid var(--line-d); padding: 5px 12px; border-radius: 999px; }
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; margin-inline-start: auto; cursor: pointer; position: relative; }
.burger span { position: absolute; inset-inline: 10px; height: 1.6px; background: var(--white); transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 23px; }
.burger[aria-expanded="true"] span:first-child { top: 19.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 19.5px; transform: rotate(-45deg); }
.sheet { background: rgba(2,11,24,.96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); height: calc(100dvh - 56px); padding: 24px var(--gutter); }
.sheet nav { display: flex; flex-direction: column; }
.sheet a { font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line-d); }
.sheet .lang { font-size: 1.1rem; color: var(--gold-light); border: 0; margin-top: 12px; }
@media (max-width: 820px) {
  .nav-links, .nav-in > .lang { display: none; }
  .burger { display: block; }
}

/* ---------- home hero ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; display: grid; place-items: end center; --p: 0; }
.hero-media { position: absolute; inset: 0; overflow: hidden; background: #020B18; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%;
  transform: scale(calc(1.06 + .08 * var(--p))) translateY(calc(var(--p) * 40px)); transform-origin: 20% 30%; }
.js:not(.rm) .hero-img { animation: push 9s cubic-bezier(.2,.6,.2,1) both; }
@keyframes push { from { scale: 1.16; filter: brightness(.55); } to { scale: 1; filter: brightness(1); } }
/* the floodlight breathes, very slightly */
.flare { position: absolute; left: 10.5%; top: 13%; width: 46vmax; height: 46vmax; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,236,190,.42), rgba(255,214,140,.12) 45%, transparent 70%); mix-blend-mode: screen; pointer-events: none; }
.js:not(.rm) .flare { animation: breathe 5.5s ease-in-out 1.2s infinite alternate; }
@keyframes breathe { from { opacity: .55; } to { opacity: 1; } }
.hero-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(90% 62% at 50% 62%, rgba(2,11,24,.82) 0%, rgba(2,11,24,.45) 55%, rgba(2,11,24,.1) 100%),
    linear-gradient(180deg, rgba(2,11,24,.5) 0%, rgba(2,11,24,0) 22%, rgba(2,11,24,.15) 55%, var(--night) 100%);
}
.hero-copy { position: relative; text-align: center; padding-bottom: clamp(64px, 12vh, 130px); opacity: calc(1 - var(--p) * 1.6); transform: translateY(calc(var(--p) * -60px)); }
.hero-kicker { font-size: .92rem; color: rgba(244,246,250,.8); margin-bottom: 18px; font-weight: 700; }
.hero-kicker { font-family: var(--font-head); font-weight: 600; font-size: .95rem; letter-spacing: .02em; color: var(--gold-light); margin-bottom: 22px; text-shadow: 0 1px 14px rgba(2,11,24,.9); }
.hero-sub { text-shadow: 0 1px 16px rgba(2,11,24,.85); }
.hero-h {
  font-family: var(--font-head); font-weight: 600; font-size: clamp(2.9rem, 7.4vw, 7rem);
  letter-spacing: -.045em; line-height: .98; margin-inline: auto; padding-bottom: .06em;
}
.hero-h .ln { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-h .ln-in {
  display: inline-block;
  background: linear-gradient(180deg, #FFFFFF 0%, #F4EEE2 45%, #D9B66A 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.js:not(.rm) .hero-h .ln-in { animation: lineup 1.25s cubic-bezier(.16,.84,.24,1) both; }
.js:not(.rm) .hero-h .ln:nth-child(2) .ln-in { animation-delay: .14s; }
@keyframes lineup { from { transform: translateY(105%); } to { transform: none; } }
html[lang="ar"] .hero-h { font-weight: 600; letter-spacing: 0; line-height: 1.25; font-size: clamp(3rem, 8vw, 7.4rem); }
.horizon { display: block; height: 2px; width: min(560px, 70vw); margin: 34px auto 30px; background: linear-gradient(90deg, transparent, var(--gold-light) 20%, var(--gold-light) 80%, transparent); transform-origin: center; }
.hero-sub { font-weight: 300; font-size: clamp(1.08rem, 1.7vw, 1.32rem); max-width: 50ch; margin-inline: auto; color: rgba(244,246,250,.88); }
html[lang="ar"] .hero-sub { font-weight: 400; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
/* the one load sequence */
.js:not(.rm) .hero-kicker, .js:not(.rm) .hero-sub, .js:not(.rm) .hero-cta { animation: rise 1.1s var(--ease) both; }
.js:not(.rm) .horizon { animation: span 1.4s var(--ease) .55s both; }
.js:not(.rm) .hero-sub { animation-delay: .8s; }
.js:not(.rm) .hero-cta { animation-delay: .95s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes span { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }

/* ---------- stats ---------- */
.stats { padding: clamp(60px, 10vw, 120px) 0; }
.stats-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat { border-top: 1px solid var(--line-d); padding-top: 22px; }
.stat-v { display: block; font-family: var(--font-head); font-weight: 900; font-size: clamp(3.4rem, 9vw, 7.5rem); line-height: 1; letter-spacing: -.04em; color: var(--gold-light); font-variant-numeric: tabular-nums; }
.stat-l { display: block; margin-top: 12px; color: var(--mute-d); max-width: 22ch; }
@media (max-width: 700px) { .stats-in { grid-template-columns: 1fr; } }

/* ---------- words lighting up ---------- */
.who, .intro { padding: clamp(80px, 14vw, 180px) 0; }
.words { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.6rem, 3.6vw, 3.2rem); line-height: 1.22; letter-spacing: -.02em; }
html[lang="ar"] .words { letter-spacing: 0; line-height: 1.6; font-weight: 600; }
.js:not(.rm) .words .w { color: rgba(244,246,250,.16); transition: color .35s; }
.js:not(.rm) .words .w.on { color: var(--white); }

/* ---------- the building ---------- */
.bld { width: 100%; height: auto; overflow: visible; }
.bld g { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.bld .ghost { stroke: rgba(255,255,255,.075); stroke-width: 1.2; }
.bld .ly path, .bld .ly rect, .bld .ly circle { stroke-dasharray: 1 1; }
.bld .ly-civil { stroke: var(--gold-light); stroke-width: 2.2; }
.bld .ly-civil > * { stroke-dashoffset: calc(1 - var(--civ, 1)); }
.bld .ly-fine { stroke: rgba(212,168,64,.45); stroke-width: 1; }
.bld .ly-fine > * { stroke-dashoffset: calc(1 - var(--civ, 1)); }
.bld .ly-mep { stroke: var(--blue); stroke-width: 2; }
.bld .ly-mep > * { stroke-dashoffset: calc(1 - var(--mep, 1)); }
.bld .ly-elv { stroke: #FFFFFF; stroke-width: 1.7; }
.bld .ly-elv > * { stroke-dashoffset: calc(1 - var(--elv, 1)); }
.bld .ly { transition: opacity .6s, filter .6s; }
.bld.done .ly-civil, .bld.done .ly-mep, .bld.done .ly-elv { filter: drop-shadow(0 0 5px currentColor); }
.bld.done .ly-civil { color: rgba(212,168,64,.55); } .bld.done .ly-mep { color: rgba(125,180,232,.55); } .bld.done .ly-elv { color: rgba(255,255,255,.45); }

/* division heroes: own layer draws in, the others sit dimmed */
.bld[data-focus] .ly { opacity: .16; }
.bld[data-focus="civil"] .ly-civil, .bld[data-focus="civil"] .ly-fine,
.bld[data-focus="mep"] .ly-mep, .bld[data-focus="elv"] .ly-elv { opacity: 1; }
.js:not(.rm) .bld[data-focus="civil"] .ly-civil > *, .js:not(.rm) .bld[data-focus="civil"] .ly-fine > *,
.js:not(.rm) .bld[data-focus="mep"] .ly-mep > *, .js:not(.rm) .bld[data-focus="elv"] .ly-elv > * { animation: draw 2.6s var(--ease) .2s both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.bld[data-focus="civil"] .ly-civil, .bld[data-focus="mep"] .ly-mep, .bld[data-focus="elv"] .ly-elv { filter: drop-shadow(0 0 6px currentColor); }
.bld[data-focus="civil"] .ly-civil { color: rgba(212,168,64,.45); } .bld[data-focus="mep"] .ly-mep { color: rgba(125,180,232,.5); } .bld[data-focus="elv"] .ly-elv { color: rgba(255,255,255,.4); }

/* ---------- build scene (home) ---------- */
.build { position: relative; height: 520vh; background: radial-gradient(120% 70% at 30% 40%, #0A2347 0%, var(--night) 60%); }
.build-stick { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: hidden; padding-top: 64px; }
.build-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: center; width: 100%; }
.build-art { max-height: calc(100svh - 110px); display: grid; place-items: center; }
.build-art .bld { width: 100%; max-height: calc(100svh - 120px); }
.build-copy { position: relative; min-height: 440px; display: flex; flex-direction: column; }
.build-intro { margin-bottom: 26px; }
.build-intro .kicker { margin-bottom: 8px; }
.steps { display: grid; align-items: start; }
.step { grid-area: 1 / 1; opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none; }
.step.on { opacity: 1; transform: none; pointer-events: auto; }
.step-tag { font-family: var(--font-head); font-weight: 700; font-size: .9rem; margin-bottom: 12px; }
.step-civil .step-tag { color: var(--gold-light); } .step-mep .step-tag { color: var(--blue); } .step-elv .step-tag { color: #fff; }
.step-h { font-size: clamp(2rem, 4.2vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.04; }
html[lang="ar"] .step-h { letter-spacing: 0; line-height: 1.3; font-weight: 700; font-size: clamp(1.9rem, 3.4vw, 3rem); }
.step-p { margin-top: 18px; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--mute-d); max-width: 40ch; }
.rail { list-style: none; margin: 24px 0 0; padding: 0; display: flex; gap: 8px; }
.rail li { flex: 1; }
.rail a { display: block; font-size: .78rem; color: var(--mute-d); text-decoration: none; padding-top: 10px; position: relative; line-height: 1.3; }
.rail a::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px; border-radius: 3px; background: var(--line-d); }
.rail a::after { content: ""; position: absolute; inset-inline-start: 0; top: 0; height: 3px; border-radius: 3px; width: calc(var(--f, 0) * 100%); }
.rail-civil a::after { background: var(--gold-light); } .rail-mep a::after { background: var(--blue); } .rail-elv a::after { background: #fff; }
@media (max-width: 860px) {
  .build-grid { grid-template-columns: 1fr; gap: 6px; align-content: start; }
  .build-stick { align-items: flex-start; padding-top: 64px; }
  .build-art .bld { max-height: 44svh; }
  .build-intro { display: none; }
  .build-copy { min-height: 0; }
  .step-h { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .step-p { margin-top: 10px; font-size: .98rem; }
  .more { margin-top: 10px; }
  .rail { margin-top: 8px; }
}
/* reduced motion / no-js: unpinned, every step listed, drawing complete */
html.rm .build, html:not(.js) .build { height: auto; padding: 100px 0; }
html.rm .build-stick, html:not(.js) .build-stick { position: static; height: auto; }
html.rm .steps, html:not(.js) .steps { display: block; }
html.rm .step, html:not(.js) .step { position: static; opacity: 1; transform: none; margin-bottom: 40px; pointer-events: auto; }
html.rm .rail, html:not(.js) .rail { display: none; }

/* ---------- zoom scene ---------- */
.zoom { position: relative; height: 260vh; --p: 0; background: var(--night); }
.zoom-stick { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.zoom-frame { position: absolute; inset: 0; clip-path: inset(calc(20svh * (1 - var(--p))) calc(24vw * (1 - var(--p))) round calc(32px * (1 - var(--p)))); }
.zoom-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.25 - .25 * var(--p))); }
.zoom-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(2,11,24,.82) 100%); opacity: var(--p); }
.zoom-copy { position: absolute; inset-inline: 0; bottom: clamp(40px, 9vh, 100px); opacity: clamp(0, calc((var(--p) - .55) * 3), 1); transform: translateY(calc((1 - var(--p)) * 40px)); }
.zoom-h { font-size: clamp(2.4rem, 7vw, 6rem); font-weight: 900; letter-spacing: -.04em; max-width: 14ch; }
html[lang="ar"] .zoom-h { letter-spacing: 0; font-weight: 700; line-height: 1.25; }
.zoom-p { margin-top: 16px; max-width: 52ch; color: rgba(244,246,250,.86); font-size: 1.1rem; }
html.rm .zoom, html:not(.js) .zoom { height: 90svh; --p: 1; }
html.rm .zoom-stick, html:not(.js) .zoom-stick { position: relative; height: 90svh; }

/* ---------- gallery ---------- */
.work { padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 10vw, 130px); }
.gallery { position: relative; }
.g-track {
  --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  list-style: none; margin: 0 calc(50% - 50vw); padding: 8px var(--edge) 6px;
  display: grid; grid-auto-flow: column; grid-auto-columns: min(80vw, 660px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); scrollbar-width: none; overscroll-behavior-x: contain;
}
.g-track::-webkit-scrollbar { display: none; }
.g-item { scroll-snap-align: start; }
.g-open { display: block; width: 100%; padding: 0; border: 0; background: var(--night-2); border-radius: 22px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; }
.g-open img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.g-open:hover img { transform: scale(1.04); }
.g-cap { margin-top: 14px; display: flex; flex-direction: column; gap: 2px; }
.g-div { font-size: .82rem; color: var(--gold-light); font-weight: 700; }
.g-name { font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; }
.g-ctrl { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; }
.g-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); display: grid; place-items: center; cursor: pointer; transition: background .2s, opacity .2s; }
.g-btn:hover { background: rgba(255,255,255,.22); }
.g-btn:disabled { opacity: .3; cursor: default; }
.g-btn svg, .lb-nav svg, .lb-close svg { width: 22px; height: 22px; }

/* ---------- lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; color: var(--white); }
.lightbox::backdrop { background: rgba(2,11,24,.92); backdrop-filter: blur(8px); }
.lightbox figure { margin: 0; height: 100%; display: grid; place-items: center; align-content: center; gap: 14px; padding: 64px 70px; }
.lightbox img { max-height: calc(100vh - 170px); width: auto; border-radius: 14px; }
.lightbox figcaption { font-family: var(--font-head); font-weight: 700; text-align: center; }
.lb-close, .lb-nav { position: fixed; border: 0; background: rgba(255,255,255,.14); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.lb-close { top: 16px; inset-inline-end: 16px; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-prev { inset-inline-start: 14px; } .lb-next { inset-inline-end: 14px; }
.lightbox[open] img { animation: pop .45s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) { .lightbox figure { padding: 64px 12px; } .lb-nav { top: auto; bottom: 18px; transform: none; } }

/* ---------- bento (light chapter) ---------- */
.bento-sec, .stack-sec, .fm-sec, .brands-sec, .contact-sec { background: var(--paper); color: var(--ink); padding: clamp(80px, 11vw, 150px) 0; }
.bento-sec .sec-lead, .stack-sec .sec-lead, .fm-sec .sec-lead, .brands-sec .sec-lead { color: var(--mute-l); }
.bento-sec .note, .stack-sec .note, .fm-sec .note, .brands-sec .note { color: var(--mute-l); }
.fm-sec .tag, .brands-sec .tag { color: var(--gold-text); }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 48px; }
.tile { border-radius: 28px; padding: clamp(26px, 3vw, 40px); background: #fff; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 340px; }
.tile h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 10px; }
html[lang="ar"] .tile h3 { letter-spacing: 0; line-height: 1.4; }
.tile p { color: var(--ink-2); max-width: 48ch; }
.t-team { grid-column: span 4; background: var(--navy); color: var(--white); }
.t-team p { color: rgba(244,246,250,.78); }
.t-code { grid-column: span 2; }
.t-proto { grid-column: span 3; }
.t-test { grid-column: span 3; background: var(--ink); color: var(--white); }
.t-test p { color: rgba(244,246,250,.75); }
.t-big { font-family: "Montserrat", sans-serif; font-weight: 900; line-height: .8; letter-spacing: -.06em; position: absolute; inset-block-start: 22px; inset-inline-end: 30px; }
.t-team .t-big { font-size: clamp(9rem, 18vw, 16rem); color: var(--gold-light); }
.t-code .t-big { position: static; font-size: clamp(3.5rem, 6vw, 5rem); color: var(--gold-text); margin-bottom: auto; }
.protos { list-style: none; margin: 0 0 auto; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.protos li { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 2rem); padding: 6px 18px; border-radius: 999px; background: var(--paper); letter-spacing: -.02em; }
.protos li:nth-child(odd) { background: var(--navy); color: var(--white); }
.ticks { display: flex; gap: 10px; margin-bottom: auto; }
.ticks svg { width: 46px; height: 46px; padding: 9px; border-radius: 50%; background: rgba(125,180,232,.16); color: var(--blue); }
@media (max-width: 900px) { .t-team, .t-code, .t-proto, .t-test { grid-column: span 6; } .tile { min-height: 280px; } .protos { margin-bottom: 40px; } .ticks { margin-bottom: 40px; } }

/* small reveal — used on tiles and facts only */
.js:not(.rm) .reveal { opacity: 0; transform: translateY(26px) scale(.985); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js:not(.rm) .reveal.in { opacity: 1; transform: none; }

/* ---------- CTA ---------- */
.cta { padding: clamp(110px, 16vw, 200px) 0; text-align: center; background: radial-gradient(70% 60% at 50% 100%, rgba(196,147,40,.22), transparent 70%), var(--night); }
.cta-h { font-size: clamp(2.2rem, 6vw, 5rem); font-weight: 900; letter-spacing: -.04em; max-width: 17ch; margin-inline: auto; text-wrap: balance; }
html[lang="ar"] .cta-h { letter-spacing: 0; font-weight: 700; line-height: 1.3; }
.cta-p { margin: 22px auto 36px; font-size: 1.2rem; color: var(--mute-d); }

/* ---------- division hero ---------- */
.dhero { min-height: 100svh; padding-top: 64px; display: flex; align-items: center; background: radial-gradient(90% 70% at 75% 50%, #0A2347 0%, var(--night) 65%); }
.dhero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(20px, 5vw, 70px); align-items: center; width: 100%; padding-block: 40px; }
.crumb { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; color: var(--mute-d); font-size: .92rem; margin-bottom: 34px; }
.crumb svg { width: 18px; height: 18px; }
.crumb:hover { color: var(--white); }
.dhero-tag { font-family: var(--font-head); font-weight: 700; color: var(--gold-light); margin-bottom: 14px; }
.pg-mep .dhero-tag { color: var(--blue); } .pg-elv .dhero-tag { color: #fff; }
.dhero-h { font-size: clamp(3rem, 8.4vw, 7.6rem); font-weight: 900; letter-spacing: -.045em; line-height: .95; text-wrap: balance; }
html[lang="ar"] .dhero-h { letter-spacing: 0; font-weight: 700; line-height: 1.2; }
.dhero-sub { margin-top: 26px; font-size: clamp(1.1rem, 1.8vw, 1.4rem); color: rgba(244,246,250,.8); max-width: 34ch; }
.dhero-art .bld { width: 100%; max-height: 76svh; margin-inline: auto; }
.chero .dhero-h { font-size: clamp(2.6rem, 6.2vw, 5.6rem); }
.js:not(.rm) .dhero-copy > * { animation: rise 1s var(--ease) both; }
.js:not(.rm) .dhero-copy > :nth-child(2) { animation-delay: .08s; } .js:not(.rm) .dhero-copy > :nth-child(3) { animation-delay: .16s; } .js:not(.rm) .dhero-copy > :nth-child(4) { animation-delay: .3s; }
@media (max-width: 860px) { .dhero-grid { grid-template-columns: 1fr; } .dhero-art { order: -1; } .dhero-art .bld { max-height: 40svh; } .crumb { margin-bottom: 18px; } }

/* ---------- division intro ---------- */
.cols { columns: 2 340px; column-gap: 48px; margin-top: 56px; color: var(--mute-d); font-size: 1.06rem; }
.cols p { break-inside: avoid; margin-bottom: 1em; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.fact { border-top: 2px solid var(--gold-light); padding-top: 22px; }
.pg-mep .fact { border-color: var(--blue); } .pg-elv .fact { border-color: #fff; }
.fact h3 { font-size: clamp(1.5rem, 2.8vw, 2.3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
html[lang="ar"] .fact h3 { letter-spacing: 0; line-height: 1.4; }
.fact p { margin-top: 12px; color: var(--mute-d); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }

/* ---------- stacking cards ---------- */
.stack { margin-top: 56px; display: grid; gap: 22px; }
.scard {
  position: sticky; top: calc(84px + var(--i) * 18px);
  background: #fff; border-radius: 30px; padding: clamp(28px, 4vw, 56px);
  display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 4vw, 64px);
  box-shadow: 0 -1px 0 var(--line-l), 0 30px 60px -40px rgba(2,11,24,.35);
  min-height: min(560px, 72svh);
}
.scard:nth-child(even) { background: var(--navy); color: var(--white); }
.scard h3 { font-size: clamp(1.9rem, 3.6vw, 3.1rem); font-weight: 800; letter-spacing: -.035em; }
html[lang="ar"] .scard h3 { letter-spacing: 0; line-height: 1.3; }
.sc-body { margin-top: 18px; font-size: 1.1rem; color: var(--ink-2); max-width: 40ch; }
.scard:nth-child(even) .sc-body { color: rgba(244,246,250,.8); }
.chip { display: inline-block; margin-top: 22px; font-size: .84rem; font-weight: 700; padding: 6px 14px; border-radius: 999px; background: var(--paper-2); color: var(--ink); max-width: 100%; }
.scard:nth-child(even) .chip { background: rgba(255,255,255,.12); color: var(--white); }
.sc-list { list-style: none; margin: 0; padding: 0; align-self: center; }
.sc-list li { padding: 14px 0; border-top: 1px solid var(--line-l); padding-inline-start: 28px; position: relative; }
.scard:nth-child(even) .sc-list li { border-color: var(--line-d); }
.sc-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 1.35em; width: 12px; height: 2px; background: var(--gold); }
.pg-mep .sc-list li::before { background: #3D7FC0; } .pg-elv .sc-list li::before { background: var(--navy-mid); }
.pg-elv .scard:nth-child(even) .sc-list li::before, .pg-mep .scard:nth-child(even) .sc-list li::before { background: var(--blue); }
@media (max-width: 860px) { .scard { position: relative; top: auto; grid-template-columns: 1fr; min-height: 0; } }
html.rm .scard { position: relative; top: auto; }

/* ---------- scope ---------- */
.scope-sec { padding: clamp(90px, 12vw, 160px) 0; }
.scope-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.scope-h { position: sticky; top: 100px; font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; }
html[lang="ar"] .scope-h { letter-spacing: 0; line-height: 1.35; }
.scope > p { color: rgba(244,246,250,.82); font-size: 1.08rem; margin-bottom: 1.2em; max-width: 64ch; }
.scope > p:first-child { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.35; color: var(--white); }
.scope h3.sub { font-size: 1.3rem; margin: 36px 0 12px; color: var(--gold-light); }
.pg-elv .scope h3.sub { color: var(--blue); }
.scope .chip { background: rgba(125,180,232,.16); color: var(--blue); margin: 0 0 16px; }
.scope-list { margin: 0 0 1.6em; padding: 0; list-style: none; }
.scope-list li { padding: 16px 0 16px 0; border-top: 1px solid var(--line-d); color: rgba(244,246,250,.82); }
.atable { width: 100%; border-collapse: collapse; margin: 10px 0 30px; font-size: .98rem; }
.atable th { text-align: start; font-family: var(--font-head); color: var(--mute-d); font-size: .82rem; padding: 10px 0; border-bottom: 1px solid var(--line-d); }
.atable td { padding: 12px 0; border-bottom: 1px solid var(--line-d); }
.atable td:first-child { font-family: "Montserrat", sans-serif; font-weight: 700; color: var(--gold-light); width: 110px; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .scope-grid { grid-template-columns: 1fr; } .scope-h { position: static; } }

/* ---------- facility management / AI tiles ---------- */
.btiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 48px; }
.btile { background: #fff; border-radius: 26px; padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 6px; }
.btile h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); font-weight: 800; letter-spacing: -.02em; }
html[lang="ar"] .btile h3 { letter-spacing: 0; line-height: 1.4; }
.btile .sc-body { margin-top: 8px; font-size: 1.02rem; }
.btile .chip { align-self: flex-start; margin-top: 14px; }
.btile .sc-list { margin-top: 18px; align-self: stretch; }
.btile .sc-list li { padding-block: 10px; }
.fm-sec .btile:first-child { background: var(--navy); color: var(--white); }
.fm-sec .btile:first-child .sc-body { color: rgba(244,246,250,.8); }
.fm-sec .btile:first-child .chip { background: rgba(255,255,255,.12); color: #fff; }
.fm-sec .btile:first-child .sc-list li { border-color: var(--line-d); }
.fm-sec .note { font-size: 1.08rem; color: var(--ink); font-weight: 700; font-family: var(--font-head); margin-top: 40px; }
.ai-sec { padding: clamp(90px, 12vw, 160px) 0; background: radial-gradient(60% 50% at 20% 0%, rgba(125,180,232,.18), transparent 70%), var(--night); }
.ai-sec .tag { color: var(--blue); }
.ai-sec .btile { background: rgba(255,255,255,.05); border: 1px solid var(--line-d); }
.ai-sec .btile h3 { color: var(--white); }
.ai-sec .sc-list li { border-color: var(--line-d); color: rgba(244,246,250,.84); }
.ai-sec .sc-list li::before { background: var(--blue) !important; }
@media (max-width: 760px) { .btiles { grid-template-columns: 1fr; } }

/* ---------- brands ---------- */
.brows { margin-top: 48px; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 48px; }
.brow { padding: 22px 0; border-top: 1px solid var(--line-l); }
.brow h3 { font-size: .95rem; font-weight: 700; color: var(--gold-text); margin-bottom: 6px; }
.brow p { font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; line-height: 1.5; }
@media (max-width: 760px) { .brows { grid-template-columns: 1fr; } }

.plain { padding: clamp(80px, 10vw, 130px) 0; }

/* ---------- contact ---------- */
.chero { min-height: 88svh; padding-top: 64px; display: flex; align-items: center; background: radial-gradient(80% 70% at 75% 50%, #0A2347 0%, var(--night) 65%); }
.chero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 5vw, 70px); align-items: center; width: 100%; padding-block: 50px; }
.chero .dhero-copy, .chero-grid > div > * { animation: rise 1s var(--ease) both; }
html.rm .chero-grid > div > * { animation: none; }
.c-quick { margin-top: 34px; display: grid; gap: 10px; }
.c-line { display: flex; align-items: center; gap: 12px; }
.c-line svg { width: 22px; height: 22px; color: var(--gold-light); flex: none; }
.c-quick .c-line a { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.2rem, 2.4vw, 1.7rem); text-decoration: none; }
.c-quick .c-line a:hover { color: var(--gold-light); }
.c-line a[href^="tel"] { direction: ltr; unicode-bidi: isolate; }
.c-map { position: relative; margin: 0; }
.ksa { width: 100%; height: auto; display: block; color: rgba(244,246,250,.55); fill: rgba(125,180,232,.06); }
.ksa path { stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.pin { position: absolute; left: 55%; top: 46.5%; translate: -50% -50%; width: 16px; height: 16px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 0 6px rgba(212,168,64,.25); }
.pin::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--gold-light); animation: ping 2.4s var(--ease) infinite; }
html.rm .pin::after { animation: none; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(3.2); opacity: 0; } }
@media (max-width: 860px) { .chero-grid { grid-template-columns: 1fr; } .c-map { max-width: 420px; } }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; align-items: start; }
.enq, .c-card { background: #fff; border-radius: 28px; padding: clamp(26px, 3.4vw, 48px); }
.enq h2, .c-card h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 800; letter-spacing: -.025em; margin-bottom: 10px; }
html[lang="ar"] .enq h2, html[lang="ar"] .c-card h2 { letter-spacing: 0; line-height: 1.4; }
.enq .small { color: var(--mute-l); margin-bottom: 26px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.enq label { display: grid; gap: 6px; font-size: .88rem; font-weight: 700; color: var(--ink-2); margin-bottom: 14px; }
.enq input, .enq select, .enq textarea {
  font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1px solid transparent; border-radius: 14px; padding: 13px 15px; width: 100%;
  transition: border-color .2s, background .2s;
}
.enq input:focus, .enq select:focus, .enq textarea:focus { outline: none; border-color: var(--gold); background: #fff; }
.enq textarea { resize: vertical; min-height: 130px; }
.enq .btn { margin-top: 8px; }
@media (max-width: 560px) { .f-row { grid-template-columns: 1fr; gap: 0; } }
.c-side { display: grid; gap: 22px; }
.c-card { background: var(--navy); color: var(--white); }
.c-card + .c-card { background: #fff; color: var(--ink); }
.addr { font-size: 1.08rem; margin-bottom: 18px; color: rgba(244,246,250,.85); }
.c-card .c-line { padding: 10px 0; border-top: 1px solid var(--line-d); }
.c-card .c-line a { text-decoration: none; }
.regs { width: 100%; border-collapse: collapse; font-size: .95rem; }
.regs th, .regs td { text-align: start; padding: 12px 0; border-top: 1px solid var(--line-l); vertical-align: top; }
.regs th { color: var(--mute-l); font-weight: 700; font-size: .84rem; padding-inline-end: 16px; width: 40%; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { background: #01070F; color: var(--mute-d); padding: 70px 0 30px; font-size: .92rem; }
.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-d); }
.f-brand img { height: 54px; width: auto; margin-bottom: 16px; }
.f-nav { display: grid; gap: 8px; align-content: start; }
.f-nav a, .f-contact { text-decoration: none; }
.f-nav a:hover, .f-contact:hover { color: var(--white); }
.f-contact-col { display: grid; gap: 12px; align-content: start; }
.f-contact { display: inline-flex; align-items: center; gap: 10px; }
.f-contact svg { width: 18px; height: 18px; color: var(--gold-light); }
.f-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; font-size: .8rem; }
@media (max-width: 760px) { .f-grid { grid-template-columns: 1fr; } }
html.rm .build-grid, html:not(.js) .build-grid { align-items: start; }
html.rm .build-art, html:not(.js) .build-art { position: sticky; top: 90px; }

/* ---------- gallery "see all" ---------- */
.g-ctrl { align-items: center; }
.see-all { margin: 0 auto 0 0; margin-inline: 0 auto; }
.plain .see-all { margin-top: 28px; }

/* ---------- projects page ---------- */
.phero { padding: calc(64px + clamp(60px, 12vh, 130px)) 0 clamp(30px, 5vw, 60px); background: radial-gradient(80% 90% at 80% 0%, #0A2347 0%, var(--night) 60%); }
.phero .dhero-sub { max-width: 52ch; }
.js:not(.rm) .phero .wrap > * { animation: rise 1s var(--ease) both; }
.js:not(.rm) .phero .wrap > :nth-child(2) { animation-delay: .1s; } .js:not(.rm) .phero .wrap > :nth-child(3) { animation-delay: .2s; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.filters button {
  border: 1px solid var(--line-d); background: transparent; border-radius: 999px; padding: 10px 18px; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: rgba(244,246,250,.8); transition: background .2s, color .2s, border-color .2s;
}
.filters button span { opacity: .55; font-weight: 600; margin-inline-start: 4px; }
.filters button:hover { border-color: rgba(255,255,255,.4); color: #fff; }
.filters button[aria-pressed="true"] { background: var(--gold-light); border-color: var(--gold-light); color: var(--night); }
.pgrid-sec { padding: 20px 0 clamp(80px, 10vw, 130px); }
.pgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 34px 20px; }
.pgrid .p-item[hidden] { display: none; }
.js:not(.rm) .pgrid .p-item { animation: rise .6s var(--ease) both; }
.pgrid .g-div { text-decoration: none; }
.pgrid .g-div:hover { text-decoration: underline; }


/* ---------- project sets ---------- */
.g-open { position: relative; }
.g-count { position: absolute; inset-block-end: 12px; inset-inline-end: 12px; font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  background: rgba(2,11,24,.62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; padding: 6px 11px; border-radius: 999px; }
.lightbox.single .lb-nav { display: none; }
.lightbox figcaption { font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .hero-img { object-position: 22% 40%; } .flare { left: 6%; width: 70vmax; height: 70vmax; } }

/* ---------- live 3D hero ---------- */
.hero-3d { background: radial-gradient(120% 80% at 70% 100%, #8a5a34 0%, #1a2a4a 38%, #050c19 70%); }
.hero-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.js:not(.rm) .hero-gl { animation: fadein 1.6s ease both; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.hero-3d::after {
  background:
    linear-gradient(90deg, rgba(2,11,24,.82) 0%, rgba(2,11,24,.45) 34%, rgba(2,11,24,0) 60%),
    linear-gradient(180deg, rgba(2,11,24,.35) 0%, rgba(2,11,24,0) 18%, rgba(2,11,24,0) 72%, var(--night) 100%);
}
html[dir="rtl"] .hero-3d::after {
  background:
    linear-gradient(270deg, rgba(2,11,24,.82) 0%, rgba(2,11,24,.45) 34%, rgba(2,11,24,0) 60%),
    linear-gradient(180deg, rgba(2,11,24,.35) 0%, rgba(2,11,24,0) 18%, rgba(2,11,24,0) 72%, var(--night) 100%);
}
@media (min-aspect-ratio: 11/10) {
  .hero { place-items: center start; }
  .hero-copy { text-align: start; padding-bottom: 0; padding-top: 64px; max-width: var(--wrap); width: 100%; }
  .hero-copy > * { max-width: 540px; }
  .hero-h { font-size: clamp(2.6rem, 5.3vw, 5.4rem); }
  html[lang="ar"] .hero-h { font-size: clamp(2.8rem, 5.6vw, 5.8rem); }
  .hero-h { margin-inline: 0; }
  .horizon { margin-inline: 0; transform-origin: left; }
  html[dir="rtl"] .horizon { transform-origin: right; }
  .hero-sub { margin-inline: 0; }
  .hero-cta { justify-content: flex-start; }
}
@media (max-aspect-ratio: 11/10) {
  .hero-3d::after { background: linear-gradient(180deg, rgba(2,11,24,.2) 0%, rgba(2,11,24,0) 30%, rgba(2,11,24,.7) 58%, var(--night) 100%); }
}
.legend { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .86rem; color: rgba(244,246,250,.82); }
@media (max-aspect-ratio: 11/10) { .legend { justify-content: center; } }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend span { width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 12px currentColor; }
.lg-civil span { background: var(--gold-light); color: var(--gold-light); }
.lg-mep span { background: var(--blue); color: var(--blue); }
.lg-elv span { background: #c8fbff; color: #c8fbff; }
/* the key lights up in step with the scene: frame, then services, then data */
.js:not(.rm) .legend li { animation: rise .8s var(--ease) both; }
.js:not(.rm) .lg-civil { animation-delay: .6s; } .js:not(.rm) .lg-mep { animation-delay: 2.7s; } .js:not(.rm) .lg-elv { animation-delay: 3.9s; }

/* ---------- vision & mission ---------- */
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 64px; }
.vm-i { border-top: 2px solid var(--gold-light); padding-top: 20px; }
.vm-i h3 { font-size: 1rem; color: var(--gold-light); margin-bottom: 10px; }
.vm-i p { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.4; }
@media (max-width: 700px) { .vm { grid-template-columns: 1fr; } }

/* ---------- three stages ---------- */
.phases { padding: clamp(90px, 12vw, 160px) 0; background: radial-gradient(70% 60% at 0% 0%, rgba(212,168,64,.12), transparent 70%), var(--night); }
.ph-row { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 18px; counter-reset: ph; }
.ph { border-radius: 26px; padding: clamp(24px, 3vw, 38px); background: rgba(255,255,255,.04); border: 1px solid var(--line-d); position: relative; }
.ph::before { content: ""; position: absolute; inset-inline: 38px; top: 0; height: 2px; background: linear-gradient(90deg, var(--gold-light), transparent); }
.ph-n { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 2.6rem; color: rgba(212,168,64,.35); line-height: 1; margin-bottom: 14px; }
.ph-h { font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; }
html[lang="ar"] .ph-h { letter-spacing: 0; }
.ph-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ph-list li { padding: 12px 0; border-top: 1px solid var(--line-d); display: grid; gap: 2px; }
.ph-list strong { font-family: var(--font-head); font-weight: 700; font-size: .98rem; }
.ph-list span { color: var(--mute-d); font-size: .94rem; }
.ph:first-child .ph-list { grid-template-columns: 1fr 1fr; column-gap: 22px; }
@media (max-width: 1000px) { .ph-row { grid-template-columns: 1fr; } .ph:first-child .ph-list { grid-template-columns: 1fr; } }

/* ---------- projects page: current works + descriptions ---------- */
.current-sec { padding: 10px 0 clamp(70px, 9vw, 120px); }
.cur-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 44px; }
.cur { border-radius: 26px; padding: clamp(24px, 3vw, 38px); background: rgba(255,255,255,.04); border: 1px solid var(--line-d); }
.cur[data-div="elv"] { background: linear-gradient(160deg, rgba(125,180,232,.12), rgba(255,255,255,.03)); }
.cur h3 { font-size: clamp(1.3rem, 2.1vw, 1.7rem); font-weight: 800; letter-spacing: -.02em; margin: 6px 0 16px; }
html[lang="ar"] .cur h3 { letter-spacing: 0; line-height: 1.4; }
.cur dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0 0 14px; font-size: .92rem; }
.cur dt { color: var(--mute-d); } .cur dd { margin: 0; }
.cur-d { color: rgba(244,246,250,.82); margin-bottom: 8px; }
.cur .sc-list li { border-color: var(--line-d); padding-block: 10px; }
@media (max-width: 800px) { .cur-grid { grid-template-columns: 1fr; } }
.pgrid-sec .filters { margin: 28px 0 40px; }
.g-desc { color: var(--mute-d); font-size: .92rem; margin-top: 4px; max-width: 46ch; }
.lightbox figcaption::after { content: attr(data-desc); display: block; font-family: var(--font-body); font-weight: 400; font-size: .92rem; color: var(--mute-d); margin-top: 6px; max-width: 70ch; }

/* ---------- logo lockup: gold mark + HORIZON + tagline, as in the company logo ----------
   Both parts keep the artwork's own proportions (mark 392×459, wordmark 303×62 / 303×44),
   so nothing is ever stretched; --lk sets the wordmark height. */
.lockup { --lk: 26px; display: inline-flex; align-items: center; gap: calc(var(--lk) * .3); color: #fff; direction: ltr; text-decoration: none; }
.lk-mark { height: calc(var(--lk) * 1.95); width: auto; aspect-ratio: 392 / 459; display: block; flex: none; }
.lk-word { height: var(--lk); width: auto; aspect-ratio: 303 / 62; display: block; overflow: visible; }
.lk-word .lk-tag { fill: rgba(244,246,250,.82); }
.lk-nav { --lk: 20px; }
.lk-nav .lk-word { aspect-ratio: 303 / 44; height: calc(var(--lk) * .9); }
.lk-nav .lk-mark { height: calc(var(--lk) * 2); }
.brand { display: inline-flex; text-decoration: none; }
.lk-hero { --lk: clamp(44px, 4.3vw, 60px); }
.lk-foot { --lk: 48px; }
.f-brand .lockup { margin-bottom: 20px; }
.hero-brand { margin: 0 0 30px; display: block; }
.hero-brand .lockup { filter: drop-shadow(0 2px 14px rgba(2,11,24,.7)); }
@media (max-aspect-ratio: 11/10) { .hero-brand { display: flex; justify-content: center; } .lk-hero { --lk: 38px; } }
.js:not(.rm) .lk-hero .lk-mark { animation: markin 1.4s cubic-bezier(.16,.84,.24,1) .1s both; }
@keyframes markin { from { clip-path: inset(100% 0 0 0); transform: translateY(14px); } to { clip-path: inset(0); transform: none; } }
.js:not(.rm) .lk-hero .lk-word { animation: rise 1s var(--ease) .35s both; }
.nav-in { height: 64px; }
.sheet { height: calc(100dvh - 64px); }

