/* =========================================================
   LARSA — Engineering Consultation & Trade
   Design language: technical drawing → built reality.
   Brand: #003399 (L) · #0099FF (A) · ink #13294E
   ========================================================= */

:root {
  --ink: #06112b;
  --ink-2: #0b1b40;
  --ink-3: #13294e;
  --navy: #003399;
  --sky: #0099ff;
  --sky-soft: #7cc6ff;
  --paper: #f2f5f9;
  --paper-2: #e7ecf3;
  --white: #ffffff;
  --text: #13294e;
  --muted: #5d6b85;
  --line: rgba(19, 41, 78, .12);
  --line-strong: rgba(19, 41, 78, .22);
  --line-light: rgba(124, 198, 255, .14);
  --line-light-strong: rgba(124, 198, 255, .3);

  --f-display: "Archivo", system-ui, sans-serif;
  --f-body: "Archivo", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;

  --wrap: min(1320px, 100% - 2 * var(--gut));
  --gut: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 76px;
}

html[lang="ar"] {
  --f-display: "IBM Plex Sans Arabic", "Archivo", sans-serif;
  --f-body: "IBM Plex Sans Arabic", "Archivo", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--sky); color: var(--white); }

.wrap { width: var(--wrap); margin-inline: auto; position: relative; }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
html[lang="ar"] .mono { letter-spacing: 0; text-transform: none; font-family: var(--f-body); font-size: 13px; }
.muted { opacity: .55; }
.section { position: relative; padding: clamp(96px, 14vw, 180px) 0; }
.paper { background: var(--paper); color: var(--text); }

/* vertical grid lines, echoing a drawing sheet */
.gridlines { position: absolute; inset: 0; display: flex; justify-content: space-between; width: var(--wrap); margin-inline: auto; pointer-events: none; }
.gridlines i { width: 1px; height: 100%; background: var(--line); }

/* ---------- type ---------- */
.kicker { display: flex; align-items: center; gap: 14px; margin: 0 0 28px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--navy); font-weight: 500; }
html[lang="ar"] .kicker { letter-spacing: 0; font-family: var(--f-body); font-size: 14px; font-weight: 600; }
.kicker__line { width: 44px; height: 1px; background: currentColor; transform-origin: left; }
html[dir="rtl"] .kicker__line { transform-origin: right; }
.kicker--light { color: var(--sky-soft); }

.h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-variation-settings: "wdth" 112;
  font-size: clamp(34px, 5.2vw, 76px);
  line-height: 1.02;
  letter-spacing: -.025em;
  margin: 0;
  max-width: 16ch;
  text-wrap: balance;
}
html[lang="ar"] .h2 { letter-spacing: 0; line-height: 1.25; font-weight: 700; }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.65; max-width: 52ch; color: inherit; opacity: .78; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--sky); --fg: var(--white);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 28px; border-radius: 0;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 15px; letter-spacing: .01em;
  overflow: hidden; isolation: isolate;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  transition: color .4s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--white); transform: translateY(101%); transition: transform .5s var(--ease); z-index: -1; }
.btn:hover { color: var(--ink); }
.btn:hover::before { transform: none; }
.btn .arr { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
html[dir="rtl"] .btn .arr { transform: scaleX(-1); }
html[dir="rtl"] .btn:hover .arr { transform: scaleX(-1) translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--white); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.btn--light { --bg: var(--white); --fg: var(--ink); }
.btn--light::before { background: var(--sky); }
.btn--light:hover { color: var(--white); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }

/* =========================================================
   LOADER
   ========================================================= */
.loader { position: fixed; inset: 0; z-index: 1000; background: var(--ink); color: var(--white); display: grid; place-items: center; }
.loader__grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line-light) 1px, transparent 1px), linear-gradient(90deg, var(--line-light) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(circle at center, #000 0%, transparent 70%); }
.loader__inner { position: relative; width: min(340px, 80vw); display: grid; justify-items: center; gap: 18px; }
.loader__mark { width: 120px; height: auto; overflow: visible; }
.loader__mark path { fill: transparent; stroke-width: 3; stroke-linejoin: round; }
.ld-l { stroke: #4d7bff; }
.ld-a { stroke: var(--sky); }
.loader__word { font-family: "Archivo", sans-serif; font-variation-settings: "wdth" 125; font-weight: 700; letter-spacing: .5em; padding-left: .5em; font-size: 22px; }
.loader__meta { width: 100%; display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--sky-soft); }
.loader__bar { width: 100%; height: 1px; background: rgba(255,255,255,.12); }
.loader__bar i { display: block; height: 100%; width: 0; background: var(--sky); }
.loader__curtain { position: absolute; inset: 0; background: var(--sky); transform: scaleY(0); transform-origin: bottom; }

/* =========================================================
   CURSOR
   ========================================================= */
.cursor { position: fixed; left: 0; top: 0; z-index: 900; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor.is-live { opacity: 1; }
.cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor__dot { width: 6px; height: 6px; background: var(--sky); }
.cursor__ring { width: 36px; height: 36px; border: 1px solid rgba(0,153,255,.55); transition: width .35s var(--ease), height .35s var(--ease), background .35s, border-color .35s; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; background: rgba(0,153,255,.12); }
.cursor.is-view .cursor__ring { width: 96px; height: 96px; background: var(--sky); border-color: var(--sky); }
.cursor__label { position: absolute; transform: translate(-50%, -50%); color: var(--white); font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: 0; transition: opacity .3s; white-space: nowrap; }
.cursor.is-view .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 500; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-inline: var(--gut); color: var(--white);
  transition: transform .6s var(--ease), background .4s, color .4s, box-shadow .4s;
}
.nav.is-scrolled { background: rgba(6,17,43,.72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 1px 0 var(--line-light); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 38px; height: 36px; flex: none; }
.brand-mark .mark-l { fill: #2f6bff; }
.brand-mark .mark-a { fill: var(--sky); }
.nav__word { display: grid; font-family: "Archivo", sans-serif; font-variation-settings: "wdth" 125; font-weight: 700; font-size: 19px; letter-spacing: .22em; line-height: 1; }
.nav__word small { font-family: "Archivo", sans-serif; font-variation-settings: "wdth" 100; font-weight: 500; letter-spacing: .04em; font-size: 10.5px; opacity: .7; margin-top: 5px; }
html[lang="ar"] .nav__word small { font-family: var(--f-body); font-size: 11.5px; letter-spacing: 0; }
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 36px); font-size: 14.5px; font-weight: 500; }
.nav__links a { position: relative; padding: 6px 0; opacity: .82; transition: opacity .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--sky); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { opacity: 1; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__lang { height: 42px; min-width: 52px; padding: 0 12px; border: 1px solid rgba(255,255,255,.28); font-weight: 600; font-size: 14px; transition: background .3s, border-color .3s; }
.nav__lang:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }
html[lang="en"] .nav__lang { font-family: "IBM Plex Sans Arabic", sans-serif; }
.nav__burger { display: none; width: 42px; height: 42px; position: relative; }
.nav__burger i { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.nav__burger i:first-child { top: 16px; } .nav__burger i:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] i:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] i:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 450; background: var(--ink); color: var(--white); clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease); display: grid; align-items: center; padding: var(--nav-h) var(--gut) 40px; }
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu__inner { display: grid; gap: 6px; }
.menu__inner a { font-family: var(--f-display); font-variation-settings: "wdth" 115; font-weight: 600; font-size: clamp(36px, 10vw, 56px); line-height: 1.15; border-bottom: 1px solid var(--line-light); padding: 6px 0; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; color: var(--white); overflow: hidden; background: var(--ink); }
.hero__media { position: absolute; inset: -6% 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(6,17,43,.7) 0%, rgba(6,17,43,.18) 34%, rgba(6,17,43,.35) 62%, rgba(6,17,43,.96) 100%),
  linear-gradient(90deg, rgba(6,17,43,.75) 0%, rgba(6,17,43,0) 62%); }
html[dir="rtl"] .hero__shade { background:
  linear-gradient(180deg, rgba(6,17,43,.7) 0%, rgba(6,17,43,.18) 34%, rgba(6,17,43,.35) 62%, rgba(6,17,43,.96) 100%),
  linear-gradient(270deg, rgba(6,17,43,.75) 0%, rgba(6,17,43,0) 62%); }
.hero__grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line-light) 1px, transparent 1px), linear-gradient(90deg, var(--line-light) 1px, transparent 1px); background-size: calc(100% / 12) 96px; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); opacity: .7; }
.hero__cross { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; }
.hero:hover .hero__cross { opacity: 1; }
.hero__cross i { position: absolute; background: rgba(124,198,255,.28); }
.hero__cross .h { left: 0; right: 0; height: 1px; top: 0; }
.hero__cross .v { top: 0; bottom: 0; width: 1px; left: 0; }
.hero__cross span { position: absolute; left: 0; top: 0; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; color: var(--sky-soft); padding: 6px 8px; white-space: nowrap; }
@media (hover: none) { .hero__cross { display: none; } }

.hero__content { align-self: end; padding-top: calc(var(--nav-h) + 6vh); padding-bottom: 5vh; }
.hero__kicker { color: var(--sky-soft); }
.hero__title {
  margin: 0; font-family: var(--f-display); font-weight: 600; font-variation-settings: "wdth" 118;
  font-size: clamp(54px, 10.6vw, 176px); line-height: .9; letter-spacing: -.04em; text-transform: none;
}
html[lang="ar"] .hero__title { font-weight: 700; letter-spacing: 0; line-height: 1.12; font-size: clamp(56px, 10vw, 160px); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; }
.hero__title .line--indent { padding-inline-start: 1.1em; }
.hero__title .accent { color: transparent; -webkit-text-stroke: 1.5px var(--white); background: linear-gradient(90deg, var(--sky), #8fd3ff) text; -webkit-background-clip: text; background-size: 0% 100%; background-repeat: no-repeat; }
.hero__foot { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-top: clamp(28px, 4vw, 56px); flex-wrap: wrap; }
.hero__sub { max-width: 46ch; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; margin: 0; opacity: .85; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__rail { display: flex; justify-content: space-between; align-items: center; padding: 22px 0 26px; border-top: 1px solid var(--line-light); color: var(--sky-soft); }
.hero__scroll { display: inline-flex; align-items: center; gap: 12px; }
.hero__scroll i { width: 1px; height: 28px; background: rgba(255,255,255,.2); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; right: 0; height: 40%; background: var(--sky); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* =========================================================
   ABOUT
   ========================================================= */
.about__wrap { position: relative; }
.about__text {
  font-family: var(--f-display); font-variation-settings: "wdth" 108; font-weight: 500;
  font-size: clamp(26px, 3.5vw, 52px); line-height: 1.18; letter-spacing: -.02em; margin: 0; max-width: 24ch;
  color: var(--ink);
}
html[lang="ar"] .about__text { letter-spacing: 0; line-height: 1.55; max-width: 28ch; font-size: clamp(24px, 3vw, 44px); }
.about__text .word { opacity: .14; transition: none; }
.about__row { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 100px); margin-top: clamp(64px, 9vw, 130px); align-items: start; }
.about__fig { margin: 0; position: relative; overflow: hidden; aspect-ratio: 4 / 3.1; background: var(--paper-2); }
.about__fig img { width: 100%; height: 118%; object-fit: cover; }
.about__fig figcaption, .fig-cap { position: absolute; left: 16px; bottom: 14px; color: var(--white); background: rgba(6,17,43,.6); padding: 6px 10px; backdrop-filter: blur(6px); }
html[dir="rtl"] .about__fig figcaption { left: auto; right: 16px; }
.about__history { margin: 0 0 40px; font-size: 18px; line-height: 1.7; color: var(--muted); }
.facts { margin: 0; border-top: 1px solid var(--line-strong); }
.facts > div { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
html[lang="ar"] .facts dt { font-family: var(--f-body); letter-spacing: 0; font-size: 14px; }
.facts dd { margin: 0; font-weight: 600; font-size: 18px; color: var(--ink); }

/* =========================================================
   STATS
   ========================================================= */
.stats { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.stats__grid { display: grid; grid-template-columns: 1fr; }
.stat { padding: clamp(40px, 6vw, 72px) 0; display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stat__num { font-family: "Archivo", sans-serif; font-variation-settings: "wdth" 115; font-weight: 600; font-size: clamp(44px, 6vw, 92px); line-height: .9; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat span { font-size: clamp(17px, 1.6vw, 22px); line-height: 1.4; opacity: .82; max-width: 22ch; }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee { background: var(--ink); color: var(--white); border-bottom: 1px solid var(--line-light); overflow: hidden; padding: 26px 0; }
.marquee__track { display: flex; width: max-content; gap: 0; will-change: transform; }
.marquee__item { display: inline-flex; align-items: center; gap: 36px; padding-inline-end: 36px; font-family: var(--f-display); font-variation-settings: "wdth" 120; font-weight: 600; font-size: clamp(26px, 3.4vw, 46px); letter-spacing: -.02em; white-space: nowrap; }
html[lang="ar"] .marquee__item { letter-spacing: 0; }
.marquee__item:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(124,198,255,.6); }
.marquee__item svg { width: 26px; height: 26px; }

/* =========================================================
   EXPERTISE (horizontal pin)
   ========================================================= */
.expertise { background: var(--ink); color: var(--white); position: relative; }
.expertise__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 4vh, 56px); padding: calc(var(--nav-h) + 24px) 0 48px; overflow: hidden; }
.expertise__head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.expertise__head .h2 { max-width: 14ch; font-size: clamp(32px, 4.2vw, 62px); }
.expertise__progress { display: flex; align-items: center; gap: 16px; color: var(--sky-soft); }
.expertise__progress .bar { width: 160px; height: 1px; background: var(--line-light-strong); }
.expertise__progress .bar i { display: block; height: 100%; width: 12.5%; background: var(--sky); transform-origin: left; }
html[dir="rtl"] .expertise__progress .bar i { margin-inline-start: auto; }
.expertise__track { display: flex; gap: clamp(16px, 2vw, 28px); padding-inline: max(var(--gut), calc((100% - 1320px) / 2)); width: max-content; will-change: transform; }
.fcard { position: relative; width: clamp(300px, 30vw, 440px); height: min(58vh, 560px); min-height: 440px; flex: none; overflow: hidden; background: var(--ink-2); color: var(--white); isolation: isolate; }
.fcard__img { position: absolute; inset: 0; z-index: -2; }
.fcard__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--ease); }
.fcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,17,43,.25) 0%, rgba(6,17,43,.15) 35%, rgba(6,17,43,.92) 78%); transition: background .6s; }
.fcard:hover .fcard__img img { transform: scale(1.02); }
.fcard:hover::after { background: linear-gradient(180deg, rgba(0,51,153,.55) 0%, rgba(6,17,43,.6) 40%, rgba(6,17,43,.96) 75%); }
.fcard__top { position: absolute; inset: 22px 22px auto; display: flex; justify-content: space-between; align-items: start; }
.fcard__num { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; padding: 6px 9px; border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(8px); }
.fcard__plus { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.35); display: grid; place-items: center; transition: transform .6s var(--ease), background .4s; }
.fcard:hover .fcard__plus { transform: rotate(90deg); background: var(--sky); border-color: var(--sky); }
.fcard__body { position: absolute; inset: auto 24px 26px; }
.fcard__title { font-family: var(--f-display); font-variation-settings: "wdth" 112; font-weight: 600; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 16px; }
html[lang="ar"] .fcard__title { letter-spacing: 0; line-height: 1.3; }
.fcard__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-height: 0; overflow: hidden; transition: max-height .8s var(--ease); }
.fcard__list li { font-size: 14.5px; line-height: 1.4; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.14); opacity: .88; }
.fcard:hover .fcard__list, .fcard:focus-within .fcard__list, .fcard.is-open .fcard__list { max-height: 320px; }
.fcard__line { height: 2px; width: 40px; background: var(--sky); margin-bottom: 18px; transition: width .7s var(--ease); }
.fcard:hover .fcard__line { width: 100%; }

/* =========================================================
   PROJECTS
   ========================================================= */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(48px, 6vw, 88px); }
.projects .h2 { color: var(--ink); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 40px; padding: 0 16px; border: 1px solid var(--line-strong); font-size: 13.5px; font-weight: 500; color: var(--ink-3); display: inline-flex; align-items: center; gap: 8px; background: transparent; transition: background .35s, color .35s, border-color .35s; }
.chip sup { font-family: var(--f-mono); font-size: 10px; opacity: .6; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }

.plist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); position: relative; z-index: 1; }
.prow { border-bottom: 1px solid var(--line-strong); }
.prow button { width: 100%; display: grid; grid-template-columns: 74px 1fr 220px 150px 40px; align-items: center; gap: 24px; padding: 30px 0; text-align: start; position: relative; isolation: isolate; }
.prow button::before { content: ""; position: absolute; inset: 0 calc(-1 * clamp(8px, 1.4vw, 20px)); background: var(--white); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease); z-index: -1; box-shadow: 0 20px 50px -30px rgba(6,17,43,.35); }
.prow button:hover::before, .prow button:focus-visible::before { transform: scaleY(1); }
.prow__idx { font-family: var(--f-mono); font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.prow__idx b { color: var(--ink); font-weight: 500; }
.prow__main { display: grid; gap: 8px; }
.prow__sector { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
html[lang="ar"] .prow__sector { font-family: var(--f-body); letter-spacing: 0; font-size: 13px; font-weight: 600; }
.prow__title { font-family: var(--f-display); font-variation-settings: "wdth" 108; font-weight: 600; font-size: clamp(20px, 2.1vw, 30px); line-height: 1.15; letter-spacing: -.02em; color: var(--ink); transition: transform .55s var(--ease), color .3s; }
html[lang="ar"] .prow__title { letter-spacing: 0; line-height: 1.4; }
.prow button:hover .prow__title { transform: translateX(10px); color: var(--navy); }
html[dir="rtl"] .prow button:hover .prow__title { transform: translateX(-10px); }
.prow__loc { font-size: 14.5px; color: var(--muted); line-height: 1.4; }
.prow__right { display: grid; gap: 8px; justify-items: start; }
.prow__year { font-family: var(--f-mono); font-size: 13px; color: var(--ink); }
.badge { display: inline-block; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; padding: 5px 9px; background: var(--ink); color: var(--white); font-weight: 500; }
html[lang="ar"] .badge { font-family: var(--f-body); letter-spacing: 0; font-size: 12px; }
.badge--ongoing { background: var(--sky); }
.badge--ongoing::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--white); margin-inline-end: 7px; vertical-align: 1px; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.prow__arrow { width: 40px; height: 40px; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background .4s, border-color .4s, transform .5s var(--ease); }
.prow__arrow svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 2; transition: stroke .3s; }
html[dir="rtl"] .prow__arrow svg { transform: scaleX(-1); }
.prow button:hover .prow__arrow { background: var(--sky); border-color: var(--sky); transform: rotate(-45deg); }
html[dir="rtl"] .prow button:hover .prow__arrow { transform: rotate(45deg); }
.prow button:hover .prow__arrow svg { stroke: var(--white); }
.prow.is-hidden { display: none; }

.hover-img { position: fixed; left: 0; top: 0; z-index: 40; width: 340px; aspect-ratio: 4/3; pointer-events: none; overflow: hidden; clip-path: inset(50% 50% 50% 50%); transition: clip-path .55s var(--ease); }
.hover-img.is-on { clip-path: inset(0 0 0 0); }
.hover-img__in { position: absolute; inset: -10%; background-size: cover; background-position: center; transition: background-image .2s; }
@media (hover: none) { .hover-img { display: none; } }

/* =========================================================
   TIMELINE
   ========================================================= */
.timeline { background: var(--ink); color: var(--white); overflow: hidden; }
.timeline::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line-light) 1px, transparent 1px), linear-gradient(90deg, var(--line-light) 1px, transparent 1px); background-size: 80px 80px; mask-image: radial-gradient(ellipse at 50% 60%, #000, transparent 75%); opacity: .6; }
.tl { position: relative; margin-top: clamp(56px, 8vw, 110px); }
.tl__line { position: absolute; left: 0; right: 0; top: 11px; width: 100%; height: 4px; overflow: visible; }
.tl__line path { stroke: var(--sky); stroke-width: 2; fill: none; vector-effect: non-scaling-stroke; }
.tl__items { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; position: relative; }
.tli { padding-top: 46px; position: relative; }
.tli::before { content: ""; position: absolute; top: 4px; inset-inline-start: 0; width: 16px; height: 16px; border: 2px solid var(--sky); background: var(--ink); transform: rotate(45deg); }
.tli.is-now::before { background: var(--sky); box-shadow: 0 0 0 8px rgba(0,153,255,.18); }
.tli__y { font-family: "Archivo", sans-serif; font-variation-settings: "wdth" 120; font-weight: 600; font-size: clamp(30px, 3.2vw, 48px); letter-spacing: -.03em; line-height: 1; margin-bottom: 14px; }
html[lang="ar"] .tli.is-now .tli__y { font-family: var(--f-body); letter-spacing: 0; }
.tli p { margin: 0; font-size: 14.5px; line-height: 1.55; opacity: .72; max-width: 26ch; }

/* =========================================================
   SUPPLY
   ========================================================= */
.supply { background: var(--ink-2); color: var(--white); overflow: hidden; }
.supply__bg { position: absolute; inset: 0; }
.supply__bg img { width: 100%; height: 120%; object-fit: cover; opacity: .32; filter: saturate(.8); }
.supply::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,27,64,.96) 0%, rgba(11,27,64,.82) 45%, rgba(11,27,64,.6) 100%); }
html[dir="rtl"] .supply::after { background: linear-gradient(270deg, rgba(11,27,64,.96) 0%, rgba(11,27,64,.82) 45%, rgba(11,27,64,.6) 100%); }
.supply__wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.supply__intro .h2 { max-width: 13ch; margin-bottom: 28px; }
.supply__list { list-style: none; margin: 0; padding: 0; counter-reset: s; border-top: 1px solid var(--line-light-strong); }
.supply__list li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-light); font-size: 17px; font-weight: 500; transition: padding .45s var(--ease), color .3s; }
.supply__list li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-mono); font-size: 12px; color: var(--sky-soft); letter-spacing: .1em; }
.supply__list li::after { content: ""; width: 8px; height: 8px; border-top: 1.5px solid var(--sky); border-right: 1.5px solid var(--sky); transform: rotate(45deg); opacity: 0; transition: opacity .3s, transform .45s var(--ease); }
html[dir="rtl"] .supply__list li::after { transform: rotate(-135deg); }
.supply__list li:hover { padding-inline-start: 14px; color: var(--sky-soft); }
.supply__list li:hover::after { opacity: 1; }

/* =========================================================
   APPROACH
   ========================================================= */
.approach__wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); }
.approach .h2 { color: var(--ink); max-width: 15ch; margin-bottom: 26px; font-size: clamp(32px, 4.2vw, 60px); }
.approach .lead { color: var(--muted); opacity: 1; }
.approach__sticky { position: sticky; top: calc(var(--nav-h) + 40px); }
.approach__fig { margin: 40px 0 0; overflow: hidden; aspect-ratio: 16/10; }
.approach__fig img { width: 100%; height: 115%; object-fit: cover; }
.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; inset-inline-start: 27px; top: 0; bottom: 0; width: 1px; background: var(--line-strong); }
.steps__fill { position: absolute; inset-inline-start: 27px; top: 0; width: 1px; height: 100%; background: var(--sky); transform-origin: top; transform: scaleY(0); }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 28px; padding: 0 0 clamp(56px, 7vw, 96px); }
.step__n { width: 56px; height: 56px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line-strong); font-family: var(--f-mono); font-size: 13px; color: var(--ink); position: relative; z-index: 1; transition: background .5s, color .5s, border-color .5s; }
.step.is-active .step__n { background: var(--navy); border-color: var(--navy); color: var(--white); }
.step h3 { margin: 10px 0 12px; font-family: var(--f-display); font-variation-settings: "wdth" 115; font-weight: 600; font-size: clamp(28px, 3vw, 44px); letter-spacing: -.025em; line-height: 1; color: var(--ink); }
html[lang="ar"] .step h3 { letter-spacing: 0; line-height: 1.3; }
.step p { margin: 0; color: var(--muted); font-size: 17px; max-width: 40ch; }
.quote { margin: 0; padding: 36px 36px 36px 40px; background: var(--ink); color: var(--white); position: relative; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); }
.quote__mark { position: absolute; top: -6px; inset-inline-end: 26px; font-family: "Archivo", serif; font-size: 120px; line-height: 1; color: var(--sky); opacity: .9; }
.quote p { margin: 0; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; position: relative; max-width: 38ch; }

/* =========================================================
   GROUP
   ========================================================= */
.group { position: relative; min-height: 92vh; display: grid; align-items: center; color: var(--white); overflow: hidden; }
.group__media { position: absolute; inset: 0; }
.group__media img { width: 100%; height: 125%; object-fit: cover; }
.group__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,17,43,.88) 0%, rgba(6,17,43,.35) 50%, rgba(6,17,43,.88) 100%); }
.group__wrap { position: relative; padding: 120px 0; text-align: center; display: grid; justify-items: center; }
.group__wrap .kicker { justify-content: center; }
.group__title { margin: 0 0 24px; font-family: var(--f-display); font-variation-settings: "wdth" 120; font-weight: 600; font-size: clamp(42px, 8vw, 132px); line-height: .95; letter-spacing: -.04em; max-width: 12ch; }
html[lang="ar"] .group__title { letter-spacing: 0; line-height: 1.25; }
.group .lead { text-align: center; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { color: var(--white); overflow: hidden; background: var(--ink); }
.contact__bg { position: absolute; inset: 0; }
.contact__bg img { width: 100%; height: 120%; object-fit: cover; opacity: .38; }
.contact__shade { position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(6,17,43,.82) 40%, rgba(6,17,43,.94) 100%); }
.contact__wrap { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.contact .h2 { max-width: 13ch; margin-bottom: 48px; }
.cinfo { margin: 0; border-top: 1px solid var(--line-light-strong); }
.cinfo > div { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line-light); }
.cinfo dt { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--sky-soft); padding-top: 3px; }
html[lang="ar"] .cinfo dt { font-family: var(--f-body); letter-spacing: 0; font-size: 14px; }
.cinfo dd { margin: 0; font-size: 17px; font-weight: 500; }
.cinfo dd.pre { white-space: pre-line; }
.cinfo a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease), color .3s; }
.cinfo a:hover { background-size: 100% 1px; color: var(--sky-soft); }
html[dir="rtl"] .cinfo a[dir="ltr"] { display: inline-block; }

.cform { position: relative; padding: clamp(28px, 4vw, 48px); background: rgba(11,27,64,.62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-light-strong); display: grid; gap: 22px; }
.cform__corner { position: absolute; width: 18px; height: 18px; border-color: var(--sky); border-style: solid; }
.cform__corner.tl { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.cform__corner.br { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.field { position: relative; display: block; }
.field input, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-light-strong); color: var(--white); font: inherit; font-size: 17px; padding: 26px 0 10px; outline: none; resize: vertical; transition: border-color .3s; }
.field span { position: absolute; inset-inline-start: 0; top: 24px; color: rgba(255,255,255,.55); font-size: 16px; pointer-events: none; transition: transform .35s var(--ease), color .3s, font-size .35s; transform-origin: left top; }
.field input:focus, .field textarea:focus { border-color: var(--sky); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-22px); font-size: 12px; color: var(--sky-soft); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff6b6b; }
.cform .btn { justify-self: start; margin-top: 8px; }
.cform__note { margin: 0; color: rgba(255,255,255,.45); font-size: 11px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink); color: var(--white); padding: 72px 0 28px; border-top: 1px solid var(--line-light); overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__links { display: flex; gap: 28px; flex-wrap: wrap; font-size: 14.5px; opacity: .8; }
.footer__links a:hover { color: var(--sky-soft); }
.footer__top-link { color: var(--sky-soft); }
.footer__big { font-family: "Archivo", sans-serif; font-variation-settings: "wdth" 125; font-weight: 700; font-size: clamp(80px, 19.5vw, 320px); line-height: .8; letter-spacing: -.03em; text-align: center; margin: 56px 0 36px; color: transparent; -webkit-text-stroke: 1px rgba(124,198,255,.28); user-select: none; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: rgba(255,255,255,.5); border-top: 1px solid var(--line-light); padding-top: 22px; }
.linkish { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.linkish:hover, .footer__bottom a:hover { color: var(--sky-soft); }

/* =========================================================
   DRAWER
   ========================================================= */
.drawer { position: fixed; inset: 0; z-index: 800; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(6,17,43,.6); backdrop-filter: blur(4px); opacity: 0; transition: opacity .5s; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(720px, 100%); background: var(--paper); color: var(--text); overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); transition: transform .75s var(--ease); }
html[dir="rtl"] .drawer__panel { transform: translateX(-100%); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__close { position: absolute; top: 18px; inset-inline-end: 18px; z-index: 2; height: 40px; padding: 0 16px; background: var(--ink); color: var(--white); font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
html[lang="ar"] .drawer__close { font-family: var(--f-body); letter-spacing: 0; font-size: 13px; }
.drawer__media { aspect-ratio: 16/9; overflow: hidden; background: var(--ink); }
.drawer__media img { width: 100%; height: 100%; object-fit: cover; }
.drawer__body { padding: clamp(28px, 4vw, 52px); }
.drawer--credits .drawer__body { padding-top: 80px; }
.drawer__meta { display: flex; justify-content: space-between; align-items: center; color: var(--muted); padding-bottom: 18px; border-bottom: 1px solid var(--line-strong); }
.drawer__sector { color: var(--navy); margin: 22px 0 10px; }
.drawer__title { margin: 0 0 18px; font-family: var(--f-display); font-variation-settings: "wdth" 110; font-weight: 600; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.05; letter-spacing: -.025em; color: var(--ink); }
html[lang="ar"] .drawer__title { letter-spacing: 0; line-height: 1.35; }
.drawer__desc { font-size: 17px; line-height: 1.7; color: var(--muted); margin: 0 0 30px; }
.drawer__specs { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-strong); }
.drawer__specs > div { padding: 16px 0; border-bottom: 1px solid var(--line); padding-inline-end: 16px; }
.drawer__specs > div.wide { grid-column: 1 / -1; }
.drawer__specs dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
html[lang="ar"] .drawer__specs dt { font-family: var(--f-body); letter-spacing: 0; font-size: 13px; }
.drawer__specs dd { margin: 0; font-weight: 600; color: var(--ink); }
.credits { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.credits li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.45; }
.credits img { width: 64px; height: 48px; object-fit: cover; }
.credits a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.credits small { display: block; color: var(--muted); }

/* =========================================================
   REVEAL HELPERS (JS sets initial state; no-JS shows all)
   ========================================================= */
.split .sline { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.clip-reveal { clip-path: inset(0 0 0 0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .prow button { grid-template-columns: 54px 1fr 150px 40px; }
  .prow__loc-col { display: none; }
}
@media (max-width: 900px) {
  .about__row, .supply__wrap, .approach__wrap, .contact__wrap { grid-template-columns: 1fr; }
  .approach__sticky { position: static; }
  .tl__items { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .tl__line { display: none; }
  .tli::after { content: ""; position: absolute; top: 11px; inset-inline-start: 24px; inset-inline-end: 0; height: 1px; background: var(--line-light-strong); }
}
@media (max-width: 720px) {
  :root { --nav-h: 64px; }
  body { font-size: 16px; }
  .nav .btn--sm { display: none; }
  .nav__word small { display: none; }
  .hero__title .line--indent { padding-inline-start: .5em; }
  .hero__rail .mono:first-child, .hero__rail .mono:last-child { display: none; }
  .hero__rail { justify-content: center; }
  .facts > div, .cinfo > div { grid-template-columns: 1fr; gap: 4px; }
  .prow button { grid-template-columns: 1fr 40px; gap: 14px; padding: 24px 0; }
  .prow__idx { display: none; }
  .prow__right { grid-column: 1; grid-row: 2; display: flex; gap: 12px; align-items: center; }
  .prow__arrow { grid-column: 2; grid-row: 1 / span 2; }
  .drawer__specs { grid-template-columns: 1fr; }
  .tl__items { grid-template-columns: 1fr; }
  .step { grid-template-columns: 44px 1fr; gap: 18px; }
  .step__n { width: 44px; height: 44px; }
  .steps::before, .steps__fill { inset-inline-start: 21px; }
  .quote { padding: 28px 24px; }
  .footer__links { display: none; }
}

/* mobile: expertise becomes a vertical stack (no pin) */
@media (max-width: 900px) {
  .expertise__pin { min-height: 0; padding: 96px 0; }
  .expertise__track { flex-direction: column; width: auto; padding-inline: var(--gut); }
  .fcard { width: 100%; height: auto; min-height: 420px; }
  .fcard__list { max-height: 320px; }
  .fcard__line { width: 100%; }
  .expertise__progress { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .about__text .word { opacity: 1 !important; }
}

/* location shown inside the title block once the location column collapses */
.prow__loc--inline { display: none; }
@media (max-width: 1100px) { .prow__loc--inline { display: block; } }
@media (max-width: 720px) {
  .hero__kicker { letter-spacing: .08em; font-size: 10.5px; gap: 10px; }
  .hero__kicker .kicker__line { width: 24px; }
}
