:root{
  --green:#1F3B2D; --green-deep:#13261D; --green-line:rgba(200,172,122,.28);
  --ivory:#F3EDE0; --ivory-2:#E8DFCE; --ivory-line:#D8CFBC;
  --gold:#A8894F; --gold-light:#C8AC7A; --gold-text:#8A6E3E;
  --taupe:#8B7B68; --taupe-deep:#6B5E4E; --mute:#B9AE98; --ink:#1F3B2D;
  --serif:"Cormorant Garamond", Cambria, Georgia, "Times New Roman", serif;
  --sans:"Jost", "Gill Sans", "Segoe UI", Calibri, system-ui, sans-serif;
  --arabic:"Amiri", "Traditional Arabic", "Geeza Pro", serif;
  --lang-font:"IBM Plex Sans Arabic", "Geeza Pro", Tahoma, sans-serif;
  --pad:clamp(22px, 5vw, 88px);
  box-sizing:border-box;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){ --ivory:#ECE5D5; --ivory-2:#E2D8C6; }
}
:root[data-theme="dark"]{ --ivory:#ECE5D5; --ivory-2:#E2D8C6; }
html{ scroll-behavior:smooth; scroll-padding-top:calc(env(safe-area-inset-top, 0px) + 72px); }
*,*::before,*::after{ box-sizing:border-box; }
body{ margin:0; background:var(--green-deep); color:var(--ivory); font-family:var(--sans); font-weight:300; font-size:17px; line-height:1.65; -webkit-font-smoothing:antialiased; overflow-x:hidden; }
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; }
:focus-visible{ outline:1px solid var(--gold-light); outline-offset:4px; }
[hidden]{ display:none !important; }
.sr-only{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

/* ——— Masks (single-colour marks) ——— */
.m-mono{ -webkit-mask:url("../img/marks/m-mono.webp") center/contain no-repeat; mask:url("../img/marks/m-mono.webp") center/contain no-repeat; background:var(--gold-light); }
.m-star{ -webkit-mask:url("../img/marks/m-star.webp") center/contain no-repeat; mask:url("../img/marks/m-star.webp") center/contain no-repeat; background:var(--gold-light); display:inline-block; }
.l-tam{ -webkit-mask-image:url("../img/marks/l-tam.webp"); mask-image:url("../img/marks/l-tam.webp"); }

/* ——— Living background ——— */
.stage{ position:fixed; inset:0; z-index:0; overflow:hidden; pointer-events:none; background:var(--green-deep); }
.silk-wrap{ position:absolute; inset:-12% -6%; will-change:transform; }
.silk{ position:absolute; inset:0; background:url("../img/silk.webp") center/cover no-repeat; animation:breathe 34s ease-in-out infinite alternate; transform-origin:30% 70%; }
@keyframes breathe{ from{ transform:scale(1.02) rotate(0deg);} to{ transform:scale(1.12) rotate(-1.2deg);} }
.sweep{ position:absolute; inset:-20%; background:linear-gradient(112deg, transparent 38%, rgba(222,186,120,.20) 48%, rgba(255,226,170,.10) 52%, transparent 62%); background-size:260% 100%; mix-blend-mode:screen; animation:sweep 22s ease-in-out infinite alternate; }
@keyframes sweep{ from{ background-position:100% 0; } to{ background-position:0% 0; } }
.glow{ position:absolute; width:70vmax; height:70vmax; left:0; top:0; border-radius:50%; background:radial-gradient(circle, rgba(200,172,122,.13) 0%, rgba(200,172,122,.05) 30%, transparent 62%); transform:translate(-50%,-50%); mix-blend-mode:screen; opacity:0; transition:opacity 1.2s; }
.stage.pointer .glow{ opacity:1; }
.vignette{ position:absolute; inset:0; background:radial-gradient(ellipse at 50% 40%, transparent 40%, rgba(8,18,13,.55) 100%); }
#dust{ position:absolute; inset:0; width:100%; height:100%; }
.grain{ position:fixed; inset:-6%; z-index:60; pointer-events:none; opacity:.08; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation:grain 1.2s steps(6) infinite; }
@keyframes grain{ 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

/* ——— Intro ——— */
.intro{ position:fixed; inset:0; z-index:100; display:grid; place-items:center; background:var(--green-deep); animation:introOut .8s ease 2.6s forwards; }
.intro.done{ animation:introOut .8s ease forwards; }
.intro .m-mono{ width:92px; height:136px; opacity:0; animation:introMark 1.4s ease .2s forwards; }
@keyframes introMark{ from{ opacity:0; transform:translateY(10px) scale(.96); filter:blur(4px);} to{ opacity:1; transform:none; filter:none;} }
@keyframes introOut{ to{ opacity:0; visibility:hidden; } }

/* ——— Navigation ——— */
.nav{ position:fixed; top:0; left:0; right:0; z-index:50; padding-top:env(safe-area-inset-top, 0px); transition:background .5s, border-color .5s; border-bottom:1px solid transparent; }
.nav.scrolled{ background:rgba(19,38,29,.78); -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px); border-bottom-color:var(--green-line); }
.nav-inner{ display:flex; align-items:center; justify-content:space-between; gap:24px; padding:18px var(--pad); }
.brand{ display:flex; align-items:center; gap:14px; text-decoration:none; }
.brand .m-mono{ width:30px; height:44px; }
.brand span.name{ white-space:nowrap; font-family:var(--serif); font-size:15px; letter-spacing:.32em; text-transform:uppercase; color:var(--ivory); font-weight:500; }
.nav-links{ display:flex; gap:clamp(18px,2.4vw,38px); list-style:none; margin:0; padding:0; }
.nav-links a{ white-space:nowrap; text-decoration:none; font-size:12px; letter-spacing:.22em; text-transform:uppercase; color:var(--ivory); opacity:.78; transition:opacity .3s, color .3s; padding:8px 0; }
.nav-links a:hover, .nav-links a.active{ opacity:1; color:var(--gold-light); }
.nav.open{ -webkit-backdrop-filter:none; backdrop-filter:none; background:transparent; border-bottom-color:transparent; }
html.menu-open, html.menu-open body{ overflow:hidden; }
.menu-btn{ display:none; background:none; border:1px solid var(--green-line); color:var(--ivory); font:500 11px var(--sans); letter-spacing:.24em; text-transform:uppercase; padding:12px 16px; min-height:44px; cursor:pointer; }

/* ——— Sections ——— */
main{ position:relative; z-index:1; }
section{ position:relative; padding:clamp(88px, 12vw, 168px) var(--pad); }
.light{ background:var(--ivory) url("../img/light.webp") center/cover no-repeat; color:var(--ink); }
.light .label{ color:var(--gold-text); }
.label{ display:flex; align-items:center; gap:14px; font-size:12px; font-weight:500; letter-spacing:.3em; text-transform:uppercase; color:var(--gold-light); margin:0 0 28px; }
.label .num{ font-family:var(--serif); font-size:17px; letter-spacing:.08em; }
h2{ font-family:var(--serif); font-weight:400; font-size:clamp(36px, 4.8vw, 66px); line-height:1.06; letter-spacing:-.005em; margin:0 0 32px; max-width:18ch; }
h3{ font-family:var(--serif); font-weight:500; line-height:1.15; margin:0; }
p{ margin:0 0 1.1em; }
.wrap{ max-width:1320px; margin:0 auto; }
.reveal{ opacity:0; transform:translateY(18px); transition:opacity 1.1s ease, transform 1.1s cubic-bezier(.2,.7,.2,1); }
.reveal.in{ opacity:1; transform:none; }
html:not(.js) .reveal, html:not(.js) .fade-late, html:not(.js) .hero-photo, html:not(.js) .hero .m-star{ opacity:1; transform:none; }
html:not(.js) .hero h1 .line span{ transform:none; }
html:not(.js) .intro{ display:none; }

/* ——— Hero ——— */
.hero{ min-height:100svh; display:flex; align-items:center; padding-top:120px; padding-bottom:110px; overflow:hidden; }
.hero-photo{ position:absolute; top:0; right:0; width:66%; height:100%; object-fit:cover; object-position:60% 18%;
  -webkit-mask-image:linear-gradient(to right, transparent 0%, rgba(0,0,0,.55) 20%, #000 42%), linear-gradient(to top, transparent 0%, #000 22%);
  -webkit-mask-composite:source-in; mask-image:linear-gradient(to right, transparent 0%, rgba(0,0,0,.55) 20%, #000 42%), linear-gradient(to top, transparent 0%, #000 22%); mask-composite:intersect;
  filter:saturate(.92) contrast(1.03); opacity:0; transform:scale(1.07); transition:opacity 2.4s ease, transform 5s cubic-bezier(.2,.6,.2,1); }
.ready .hero-photo{ opacity:1; transform:scale(1); }
.hero-inner{ position:relative; max-width:720px; }
.hero .m-star{ width:26px; height:26px; margin-bottom:34px; opacity:0; transition:opacity 1.2s ease .3s, transform 1.6s ease .3s; transform:rotate(-45deg) scale(.6); }
.ready .hero .m-star{ opacity:1; transform:none; }
.hero-role{ font-size:12.5px; font-weight:500; letter-spacing:.3em; text-transform:uppercase; color:var(--gold-light); margin:0 0 26px; }
.hero h1{ font-family:var(--serif); font-weight:300; font-size:clamp(58px, 9vw, 132px); line-height:.9; letter-spacing:.01em; margin:0 0 34px; }
.hero h1 .line{ display:block; overflow:hidden; padding-bottom:.06em; white-space:nowrap; }
.hero h1 .line span{ display:inline-block; transform:translateY(110%); transition:transform 1.4s cubic-bezier(.2,.8,.2,1); }
.hero h1 .line:nth-child(2) span{ transition-delay:.14s; padding-left:.6em; font-style:italic; }
.ready .hero h1 .line span{ transform:none; }
.hero-tag{ font-family:var(--serif); font-style:italic; font-size:clamp(21px, 2vw, 27px); color:#DCD3C0; margin:0 0 44px; }
.fade-late{ opacity:0; transition:opacity 1.4s ease 1s; }
.ready .fade-late{ opacity:1; }
.btns{ display:flex; flex-wrap:wrap; gap:16px; }
.btn{ display:inline-flex; align-items:center; justify-content:center; min-height:50px; padding:0 30px; font-size:12px; font-weight:500; letter-spacing:.24em; text-transform:uppercase; text-decoration:none; border:1px solid var(--gold); color:var(--green-deep); background:var(--gold-light); transition:background .35s, color .35s; }
.btn:hover{ background:var(--ivory); }
.btn.ghost{ background:transparent; color:var(--ivory); }
.btn.ghost:hover{ background:rgba(200,172,122,.14); }
.light .btn.ghost{ color:var(--ink); }
.scroll-cue{ position:absolute; left:var(--pad); bottom:38px; display:flex; align-items:center; gap:14px; font-size:11px; letter-spacing:.3em; text-transform:uppercase; color:var(--mute); }
.scroll-cue i{ display:block; width:60px; height:1px; background:var(--gold); transform-origin:left; animation:cue 2.8s ease-in-out infinite; }
@keyframes cue{ 0%{transform:scaleX(0)} 50%{transform:scaleX(1)} 100%{transform:scaleX(0); transform-origin:right} }

/* ——— About ——— */
.about-grid{ display:grid; grid-template-columns:minmax(0,5fr) minmax(0,6fr); gap:clamp(40px,7vw,120px); align-items:center; }
.portrait{ position:relative; margin:0; }
.portrait img{ width:100%; aspect-ratio:4/5; object-fit:cover; object-position:50% 22%; }
.portrait .frame{ position:relative; }
.portrait .frame::after{ content:""; position:absolute; inset:14px; border:1px solid rgba(200,172,122,.7); pointer-events:none; }
.portrait figcaption{ margin-top:18px; font-size:12px; letter-spacing:.24em; text-transform:uppercase; color:var(--taupe-deep); }
.lede{ font-family:var(--serif); font-size:clamp(22px, 2vw, 27px); line-height:1.45; margin-bottom:1em; }
.about-text p{ max-width:62ch; color:#2E4638; }
.facts{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:28px; margin:48px 0 0; padding:34px 0 0; border-top:1px solid var(--ivory-line); }
.facts dt{ font-family:var(--serif); font-size:clamp(44px,4.6vw,64px); line-height:1; color:var(--green); font-weight:400; }
.facts dd{ margin:10px 0 0; font-size:13px; letter-spacing:.06em; color:var(--taupe-deep); }

/* ——— Enterprises ——— */
.ent-intro{ display:flex; justify-content:space-between; gap:40px; align-items:flex-end; flex-wrap:wrap; margin-bottom:64px; }
.ent-intro p{ max-width:44ch; color:#D6CDB9; margin:0 0 34px; }
.holding{ display:grid; grid-template-columns:minmax(0,4fr) minmax(0,7fr); gap:clamp(30px,5vw,80px); align-items:center; padding:48px; border:1px solid var(--green-line); background:rgba(19,38,29,.45); margin-bottom:0; }
.holding .l-tam{ width:100%; max-width:300px; aspect-ratio:900/513; background:var(--ivory); -webkit-mask-size:contain; mask-size:contain; -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat; }
.holding p{ margin:0; color:#DCD3C0; font-size:18px; max-width:58ch; }
.holding .kicker{ font-family:var(--serif); font-size:clamp(24px,2.4vw,32px); color:var(--ivory); margin-bottom:14px; line-height:1.25; }
.companies{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); border-left:1px solid var(--green-line); }
.co{ padding:40px 36px 44px; border-right:1px solid var(--green-line); border-bottom:1px solid var(--green-line); position:relative; transition:background .5s; min-height:280px; display:flex; flex-direction:column; }
.co:hover{ background:rgba(200,172,122,.06); }
.co .sector{ font-size:11.5px; letter-spacing:.2em; text-transform:uppercase; color:var(--gold-light); margin-bottom:18px; }
.co h3{ font-size:30px; letter-spacing:.02em; margin-bottom:14px; color:var(--ivory); }
.co p{ color:#C9C0AC; font-size:15.5px; margin:0 0 20px; max-width:40ch; }
.co .fig{ margin-top:auto; font-family:var(--serif); font-style:italic; font-size:21px; color:var(--gold-light); }

/* ——— Journey ——— */
.journey-head{ display:grid; grid-template-columns:minmax(0,1fr) auto; gap:40px; align-items:end; margin-bottom:70px; }
.big-num{ font-family:var(--serif); font-weight:300; font-size:clamp(120px, 18vw, 260px); line-height:.8; color:var(--gold); letter-spacing:-.02em; }
.big-num small{ display:block; font-family:var(--sans); font-size:12px; letter-spacing:.28em; text-transform:uppercase; color:var(--taupe-deep); margin-top:18px; text-align:right; }
.places{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:clamp(26px,4vw,64px); position:relative; padding-top:44px; }
.places::before{ content:""; position:absolute; top:0; left:0; right:0; height:1px; background:var(--gold); opacity:.6; }
.place{ position:relative; }
.place .m-star{ position:absolute; top:-56px; left:-2px; width:22px; height:22px; background:var(--gold); }
.place .when{ font-size:12px; letter-spacing:.24em; text-transform:uppercase; color:var(--gold-text); margin-bottom:10px; }
.place h3{ font-size:clamp(34px,3.4vw,46px); color:var(--green); margin-bottom:14px; }
.place p{ color:#3A5043; max-width:38ch; }

/* ——— Philosophy ——— */
.philosophy{ background:url("../img/philosophy.webp") center/cover no-repeat; text-align:center; overflow:hidden; }
.philosophy::before{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(19,38,29,.72), rgba(19,38,29,.38) 50%, rgba(19,38,29,.78)); }
.philosophy .wrap{ position:relative; }
.philosophy .label{ justify-content:center; }
.philosophy .m-star{ width:34px; height:34px; margin:0 auto 38px; display:block; }
.philosophy blockquote{ margin:0 auto; max-width:26ch; font-family:var(--serif); font-weight:300; font-style:italic; font-size:clamp(34px, 4.6vw, 64px); line-height:1.15; }
.principles{ display:grid; grid-template-columns:repeat(5, minmax(0,1fr)); gap:0; margin-top:96px; text-align:left; border-top:1px solid rgba(243,237,224,.22); }
.principle{ padding:34px 26px 0 0; }
.principle + .principle{ padding-left:26px; border-left:1px solid rgba(243,237,224,.14); }
.principle h3{ font-size:23px; line-height:1.2; margin-bottom:14px; color:var(--ivory); }
.principle p{ font-size:15px; color:#DCD3C0; margin:0; }

/* ——— Projects ——— */
.projects-list{ display:flex; flex-direction:column; gap:clamp(56px,7vw,112px); margin-top:48px; }
.project{ display:grid; grid-template-columns:minmax(0,7fr) minmax(0,5fr); gap:clamp(28px,4.5vw,76px); align-items:center; }
.project:nth-child(even){ grid-template-columns:minmax(0,5fr) minmax(0,7fr); }
.project:nth-child(even) .pmedia{ order:2; }
.pmedia{ position:relative; aspect-ratio:16/9; overflow:hidden; border:1px solid var(--green-line); background:var(--green-deep); }
.pmedia img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; transition:transform 1.8s cubic-bezier(.2,.7,.2,1); }
.project:hover .pmedia img{ transform:scale(1.04); }
.pmedia .inset{ position:absolute; inset:14px; border:1px solid rgba(200,172,122,.35); pointer-events:none; }
.pbody .meta{ font-size:12px; letter-spacing:.24em; text-transform:uppercase; color:var(--gold-light); margin-bottom:14px; }
.project h3{ font-size:clamp(36px,3.8vw,54px); line-height:1.02; color:var(--ivory); margin-bottom:22px; }
.pbody p{ color:#D8CFBC; font-size:16px; line-height:1.75; margin:0 0 1em; max-width:58ch; }
.pbody details{ max-width:58ch; }
.pbody summary{ list-style:none; cursor:pointer; display:inline-flex; align-items:center; gap:12px; min-height:44px; font-size:12px; font-weight:500; letter-spacing:.24em; text-transform:uppercase; color:var(--gold-light); }
.pbody summary::-webkit-details-marker{ display:none; }
.pbody summary::after{ content:""; width:34px; height:1px; background:var(--gold); transition:width .35s; }
.pbody summary:hover::after{ width:54px; }
.pbody details[open] summary .more{ display:none; }
.pbody details:not([open]) summary .less{ display:none; }
.pbody details .rest{ padding-top:10px; }

/* ——— Credentials ——— */
.issuer{ color:var(--taupe-deep); max-width:70ch; margin-bottom:70px; }
.timeline{ display:grid; grid-template-columns:repeat(5, minmax(0,1fr)); gap:clamp(18px,2.4vw,36px); position:relative; padding-top:54px; list-style:none; margin:0; padding-left:0; }
.timeline::before{ content:""; position:absolute; top:0; left:0; right:0; height:1px; background:var(--gold); opacity:.7; }
.cert{ position:relative; }
.cert .m-star{ position:absolute; top:-65px; left:-2px; width:22px; height:22px; background:var(--gold); }
.cert time{ display:block; font-size:12px; letter-spacing:.2em; color:var(--gold-text); margin-bottom:12px; font-weight:500; }
.cert h3{ font-size:22px; line-height:1.22; color:var(--green); margin-bottom:14px; }
.cert .ar{ font-family:var(--arabic); direction:rtl; text-align:right; font-size:15px; color:var(--taupe-deep); line-height:1.6; margin-bottom:14px; }
.cert .no{ font-size:11.5px; letter-spacing:.16em; color:var(--taupe-deep); }

/* ——— Note ——— */
.note{ display:grid; grid-template-columns:minmax(0,3fr) minmax(0,8fr); gap:clamp(30px,6vw,100px); }
.note .m-mono{ width:clamp(90px,10vw,150px); aspect-ratio:560/828; background:var(--gold); position:sticky; top:130px; }
.letter{ max-width:760px; }
.letter p{ font-family:var(--serif); font-size:clamp(23px, 2.1vw, 30px); line-height:1.5; color:#24402F; margin-bottom:1.1em; }
.letter p:first-of-type::first-letter{ float:left; font-size:3.6em; line-height:.82; padding:.06em .1em 0 0; color:var(--gold); }
.signature{ margin-top:40px; display:flex; flex-direction:column; gap:6px; }
.signature strong{ font-family:var(--serif); font-style:italic; font-weight:400; font-size:38px; color:var(--green); }
.signature span{ font-size:12px; letter-spacing:.24em; text-transform:uppercase; color:var(--taupe-deep); }

/* ——— Contact ——— */
.contact{ min-height:88svh; display:flex; align-items:center; }
.contact .wrap{ width:100%; }
.contact h2{ font-size:clamp(56px, 9vw, 140px); font-weight:300; max-width:none; margin-bottom:22px; }
.contact .sub{ color:#D6CDB9; font-size:19px; margin-bottom:70px; }
.contact-grid{ display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); gap:clamp(36px,6vw,96px); border-top:1px solid var(--green-line); padding-top:40px; align-items:start; }
.contact-grid .k{ font-size:12px; letter-spacing:.26em; text-transform:uppercase; color:var(--gold-light); margin-bottom:12px; }
.contact-grid a.v, .contact-grid .v{ font-family:var(--serif); font-size:clamp(24px,2.2vw,31px); line-height:1.3; text-decoration:none; }
.contact-grid a.v:hover{ color:var(--gold-light); }
footer{ position:relative; z-index:1; padding:40px var(--pad) calc(40px + env(safe-area-inset-bottom, 0px)); border-top:1px solid var(--green-line); display:flex; justify-content:space-between; align-items:center; gap:20px; flex-wrap:wrap; font-size:13px; color:var(--mute); background:rgba(19,38,29,.6); }
footer .brand .m-mono{ width:24px; height:36px; }


/* ——— Enterprise logos ——— */
.co-logo{ height:84px; width:100%; max-width:220px; margin-bottom:30px; background:var(--ivory); opacity:.92; -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat; -webkit-mask-size:contain; mask-size:contain; -webkit-mask-position:left center; mask-position:left center; transition:background .5s, opacity .5s; }
.co:hover .co-logo{ background:var(--gold-light); opacity:1; }
.co-logo.pending{ background:none; -webkit-mask:none; mask:none; border:1px dashed var(--green-line); display:flex; align-items:center; justify-content:center; font-size:12px; color:var(--mute); max-width:170px; }
.e-zayam{ -webkit-mask-image:url("../img/marks/e-zayam.webp"); mask-image:url("../img/marks/e-zayam.webp"); }
.e-cleany{ -webkit-mask-image:url("../img/marks/e-cleany.webp"); mask-image:url("../img/marks/e-cleany.webp"); max-width:170px; }
.e-saynd{ -webkit-mask-image:url("../img/marks/e-saynd.webp"); mask-image:url("../img/marks/e-saynd.webp"); }
.e-oilgas{ -webkit-mask-image:url("../img/marks/e-oilgas.webp"); mask-image:url("../img/marks/e-oilgas.webp"); }
.e-tamre{ -webkit-mask-image:url("../img/marks/e-tamre.webp"); mask-image:url("../img/marks/e-tamre.webp"); }
.e-tamcreativity{ -webkit-mask-image:url("../img/marks/e-tamcreativity.webp"); mask-image:url("../img/marks/e-tamcreativity.webp"); height:112px; max-width:240px; margin-bottom:2px; -webkit-mask-size:auto 92px; mask-size:auto 92px; -webkit-mask-position:left top; mask-position:left top; }
.nav-links a.lang{ opacity:1; border:1px solid var(--gold); padding:7px 14px; letter-spacing:0; text-transform:none; font-family:var(--lang-font); font-size:14px; color:var(--gold-light); }
.nav-links a.lang:hover{ background:rgba(200,172,122,.14); }


/* ——— Partners (logo tiles) ——— */
.logos{ display:grid; grid-template-columns:repeat(5, minmax(0,1fr)); border-top:1px solid var(--green-line); border-left:1px solid var(--green-line); margin:10px 0 0; padding:0; list-style:none; background:none; }
.logos li{ background:transparent; border-right:1px solid var(--green-line); border-bottom:1px solid var(--green-line); aspect-ratio:1.25/1; display:grid; place-items:center; padding:clamp(14px,2vw,28px); }
.plogo{ width:82%; height:56%; object-fit:contain; display:block; filter:brightness(0) invert(.93) sepia(.12); opacity:.86; transition:opacity .5s, transform .6s cubic-bezier(.2,.7,.2,1); }
.logos li:hover .plogo{ opacity:1; transform:scale(1.05); }
.plogo.sq{ width:58%; }

/* ——— Contact form ——— */
.contact-info{ display:flex; flex-direction:column; gap:40px; }
.cform{ position:relative; display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:30px 28px; }
.cform .full{ grid-column:1 / -1; }
.cform .k{ margin-bottom:6px; }
.cform .req{ color:var(--gold-light); }
.cform input, .cform textarea{ width:100%; background:rgba(19,38,29,.35); border:1px solid var(--green-line); border-bottom-color:var(--gold); color:var(--ivory); font:300 17px/1.5 var(--sans); padding:14px 16px; border-radius:0; transition:border-color .3s, background .3s; }
.cform textarea{ min-height:150px; resize:vertical; }
.cform input::placeholder, .cform textarea::placeholder{ color:var(--mute); opacity:.7; }
.cform input:focus, .cform textarea:focus{ outline:none; border-color:var(--gold-light); background:rgba(19,38,29,.6); }
.cform input:focus-visible, .cform textarea:focus-visible{ outline:1px solid var(--gold-light); outline-offset:2px; }
.cform .actions{ display:flex; align-items:center; flex-wrap:wrap; gap:20px; }
.cform button.btn{ cursor:pointer; font-family:var(--sans); }
.cform .status{ font-size:15px; color:var(--gold-light); min-height:1.5em; margin:0; }
.cform .status.err{ color:#E3A59B; }
.cform [aria-invalid="true"]{ border-color:#E3A59B; }
.cform button.btn[disabled]{ opacity:.6; cursor:progress; }
.cform .hp{ position:absolute; top:0; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); opacity:0; pointer-events:none; } /* clipped, not offset: an offset would add scroll width in RTL */
@media (max-width: 620px){ .cform{ grid-template-columns:minmax(0,1fr); } }

/* ——— Responsive ——— */
@media (max-width: 1100px){
  .nav-links{ position:fixed; inset:0; z-index:-1; flex-direction:column; justify-content:center; align-items:center; gap:clamp(18px,3.4vh,28px); background:rgba(19,38,29,.97); padding:calc(env(safe-area-inset-top, 0px) + 80px) 24px 40px; overflow-y:auto; opacity:0; visibility:hidden; transition:opacity .4s, visibility .4s; }
  .nav-links a{ font-size:15px; }
  .nav-links a.lang{ margin-top:8px; }
  .nav.open .nav-links{ opacity:1; visibility:visible; }
  .menu-btn{ display:inline-flex; align-items:center; position:relative; z-index:1; }
}
@media (max-width: 1080px){
  .companies{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .timeline{ grid-template-columns:repeat(2, minmax(0,1fr)); row-gap:80px; }
  .timeline::before{ display:none; }
  .cert{ border-top:1px solid var(--gold); padding-top:30px; }
  .cert .m-star{ top:-11px; }
  .principles{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .principle, .principle + .principle{ padding:30px 20px 30px 0; border-left:0; border-bottom:1px solid rgba(243,237,224,.14); }
  .logos{ grid-template-columns:repeat(3, minmax(0,1fr)); }
}
@media (max-width: 860px){
  .project, .project:nth-child(even){ grid-template-columns:minmax(0,1fr); gap:28px; }
  .project:nth-child(even) .pmedia{ order:0; }
  .hero{ flex-direction:column; justify-content:flex-end; align-items:flex-start; padding-top:0; }
  .hero-photo{ width:100%; height:62%; object-position:58% 12%; -webkit-mask-image:linear-gradient(to top, transparent 0%, #000 40%); mask-image:linear-gradient(to top, transparent 0%, #000 40%); }
  .hero-inner{ margin-top:52svh; }
  .hero .m-star{ margin-bottom:22px; }
  .scroll-cue{ display:none; }
  .about-grid, .holding, .note, .journey-head{ grid-template-columns:minmax(0,1fr); }
  .holding{ padding:32px 26px; }
  .facts{ gap:16px; }
  .facts dt{ font-size:40px; }
  .places{ grid-template-columns:minmax(0,1fr); gap:64px; padding-top:0; }
  .places::before{ display:none; }
  .place{ border-top:1px solid var(--gold); padding-top:34px; }
  .place .m-star{ top:-11px; }
  .big-num small{ text-align:left; }
  .note .m-mono{ position:static; }
  .contact-grid{ grid-template-columns:minmax(0,1fr); }
}
@media (max-width: 620px){
  body{ font-size:16px; }
  .brand span.name{ display:none; }
  .contact .sub{ margin-bottom:48px; }
  .letter p:first-of-type::first-letter{ font-size:3em; }
  .companies, .principles, .timeline{ grid-template-columns:minmax(0,1fr); }
  .logos{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .logos li:last-child:nth-child(odd){ grid-column:1 / -1; aspect-ratio:auto; min-height:120px; }
  .logos li:last-child:nth-child(odd) .plogo{ width:50%; }
  .co{ min-height:0; padding:32px 24px; }
  .hero h1 .line:nth-child(2) span{ padding-left:.5em; }
}
@media (hover: none), (max-width: 860px){
  .grain{ animation:none; inset:0; }
}
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ animation:none !important; transition:none !important; }
  .reveal, .hero-photo, .hero .m-star, .fade-late{ opacity:1 !important; transform:none !important; }
  .hero h1 .line span{ transform:none !important; }
  .intro{ display:none; }
  #dust{ display:none; }
}

/* ——— Arabic / RTL ——— */
:root[lang="ar"]{ --serif:"Amiri", "Traditional Arabic", "Geeza Pro", serif; --sans:"IBM Plex Sans Arabic", "Geeza Pro", Tahoma, sans-serif; --lang-font:"Jost", "Segoe UI", sans-serif; }
[dir="rtl"] body{ font-size:18px; line-height:1.9; }
[dir="rtl"] *:not([lang="en"]):not(.no){ letter-spacing:0 !important; }
[dir="rtl"] .label, [dir="rtl"] .nav-links a, [dir="rtl"] .hero-role, [dir="rtl"] .btn, [dir="rtl"] .co .sector, [dir="rtl"] .place .when, [dir="rtl"] .contact-grid .k, [dir="rtl"] .scroll-cue, [dir="rtl"] .portrait figcaption, [dir="rtl"] .signature span, [dir="rtl"] .big-num small, [dir="rtl"] .menu-btn{ text-transform:none; }
[dir="rtl"] .label{ font-size:15px; }
[dir="rtl"] .nav-links a{ font-size:15px; }
[dir="rtl"] .nav-links a.lang{ font-size:12px; letter-spacing:.14em !important; text-transform:uppercase; }
[dir="rtl"] .brand span.name{ font-size:19px; font-weight:700; }
[dir="rtl"] .menu-btn{ font-size:14px; font-family:var(--sans); }
[dir="rtl"] h2{ line-height:1.45; font-size:clamp(34px, 4.2vw, 58px); max-width:20ch; }
[dir="rtl"] .hero-role{ font-size:16px; }
[dir="rtl"] .hero h1{ font-weight:400; line-height:1.28; font-size:clamp(60px, 8.6vw, 128px); }
[dir="rtl"] .hero h1 .line:nth-child(2) span{ padding-left:0; padding-right:.7em; font-style:normal; font-weight:700; }
[dir="rtl"] .hero-tag{ font-style:normal; font-size:clamp(24px, 2.2vw, 30px); }
[dir="rtl"] .hero-photo{ right:auto; left:0;
  -webkit-mask-image:linear-gradient(to left, transparent 0%, rgba(0,0,0,.55) 20%, #000 42%), linear-gradient(to top, transparent 0%, #000 22%);
  mask-image:linear-gradient(to left, transparent 0%, rgba(0,0,0,.55) 20%, #000 42%), linear-gradient(to top, transparent 0%, #000 22%); }
[dir="rtl"] .scroll-cue{ left:auto; right:var(--pad); }
[dir="rtl"] .scroll-cue i{ transform-origin:right; }
[dir="rtl"] .btn{ font-size:15px; font-weight:500; }
[dir="rtl"] .lede{ font-size:clamp(22px, 1.9vw, 26px); line-height:1.75; }
[dir="rtl"] .facts dd{ font-size:15px; }
[dir="rtl"] .companies{ border-left:0; border-right:1px solid var(--green-line); }
[dir="rtl"] .co{ border-right:0; border-left:1px solid var(--green-line); }
[dir="rtl"] .co-logo{ -webkit-mask-position:right center; mask-position:right center; }
[dir="rtl"] .co .sector{ font-size:14px; }
[dir="rtl"] .co h3{ font-size:28px; line-height:1.4; }
[dir="rtl"] .co .fig, [dir="rtl"] .signature strong{ font-style:normal; }
[dir="rtl"] .holding .kicker{ line-height:1.5; }
[dir="rtl"] .place .m-star, [dir="rtl"] .cert .m-star{ left:auto; right:-2px; }
[dir="rtl"] .place .when{ font-size:14px; }
[dir="rtl"] .place h3{ line-height:1.4; }
[dir="rtl"] .big-num small{ text-align:left; font-size:15px; }
[dir="rtl"] .philosophy blockquote{ font-style:normal; line-height:1.55; font-size:clamp(32px, 4.2vw, 58px); }
[dir="rtl"] .principles{ text-align:right; }
[dir="rtl"] .principle{ padding:34px 0 0 26px; }
[dir="rtl"] .principle + .principle{ padding-left:26px; padding-right:26px; border-left:0; border-right:1px solid rgba(243,237,224,.14); }
[dir="rtl"] .principle h3{ line-height:1.45; }
[dir="rtl"] .project h3{ font-family:"Cormorant Garamond", Cambria, serif; }
[dir="rtl"] .project h3[lang="ar"]{ font-family:var(--arabic); font-weight:700; }
[dir="rtl"] .project .meta{ font-size:14px; }
[dir="rtl"] .project h3{ line-height:1.15; }
[dir="rtl"] .pbody p{ font-size:17px; line-height:1.95; }
[dir="rtl"] .pbody summary{ font-size:15px; text-transform:none; }
[dir="rtl"] .cert time{ font-size:14px; }
[dir="rtl"] .cert h3{ font-size:21px; line-height:1.6; }
[dir="rtl"] .cert .en{ font-family:"Jost", sans-serif; font-size:13px; line-height:1.5; color:var(--taupe-deep); margin-bottom:12px; text-align:left; direction:ltr; }
[dir="rtl"] .cert .no{ text-align:right; }
[dir="rtl"] .logos{ border-left:0; border-right:1px solid var(--green-line); }
[dir="rtl"] .logos li{ border-right:0; border-left:1px solid var(--green-line); }
[dir="rtl"] .letter p{ line-height:1.9; font-size:clamp(22px, 1.9vw, 27px); }
[dir="rtl"] .letter p:first-of-type::first-letter{ float:none; font-size:inherit; padding:0; color:inherit; }
[dir="rtl"] .contact h2{ line-height:1.3; }
[dir="rtl"] .contact-grid .k{ font-size:15px; }
[dir="rtl"] .contact-grid a.v{ line-height:1.6; }
[dir="rtl"] .contact-grid a.v[dir="ltr"]{ display:inline-block; }
@media (max-width: 1080px){
  [dir="rtl"] .principle, [dir="rtl"] .principle + .principle{ padding:30px 0 30px 20px; border-right:0; }
}
@media (max-width: 860px){
  [dir="rtl"] .hero-photo{ -webkit-mask-image:linear-gradient(to top, transparent 0%, #000 40%); mask-image:linear-gradient(to top, transparent 0%, #000 40%); }
  [dir="rtl"] .place .m-star, [dir="rtl"] .cert .m-star{ right:-2px; }
  [dir="rtl"] .big-num small{ text-align:right; }
}
@media (max-width: 620px){
  [dir="rtl"] .hero h1 .line:nth-child(2) span{ padding-right:.4em; }
}
