/* DRAFT 3: cinematic dark. Ink/charcoal base, sand type, olive as the only accent. */
:root {
  --g: clamp(16px, 4.5vw, 72px);
  --gap: 12px;
  --h2: clamp(38px, 5.4vw, 92px);
  --hdr: 84px;
  --line: rgba(228, 222, 210, .16);
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body { background: var(--acl-ink); color: var(--acl-sand); font-size: 16px; line-height: 1.5; }
html[lang="ar"] body { line-height: 1.8; }
::selection { background: var(--acl-olive); color: var(--acl-ink); }

.page-grain { position: fixed; inset: 0; z-index: 300; pointer-events: none; overflow: hidden; opacity: .5; }
.kicker { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--acl-olive); margin-bottom: 20px; }
html[lang="ar"] .kicker { font-size: 15px; }
.h2 { font-family: var(--font-title); font-weight: 400; font-size: var(--h2); line-height: .96; letter-spacing: -.035em; }
html[lang="ar"] :is(.h2, .hero__title, .news__title, .cpage__title, .svc__title, .cx__name, .phero__title, .xl__t, .next__title, .ctile__name, .values__line, .cform__title, .pillar h3, .tile h3, .person strong) { font-weight: 700; line-height: 1.3; }
.arw { width: 1em; height: 1em; flex: none; transition: transform .6s var(--ease-out); }
html[dir="rtl"] .arw { transform: scaleX(-1); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; background: var(--acl-sand); color: var(--acl-ink); font-size: 15px; border: 1px solid var(--acl-sand); transition: background-color .45s var(--ease-out), color .45s var(--ease-out), border-color .45s; }
.btn:hover { background: var(--acl-olive); border-color: var(--acl-olive); }
.btn--ghost { background: transparent; color: var(--acl-sand); border-color: rgba(228, 222, 210, .5); }
.btn--ghost:hover { background: var(--acl-sand); color: var(--acl-ink); border-color: var(--acl-sand); }
.ulink { position: relative; font-size: 15px; padding-bottom: 6px; display: inline-block; }
.ulink::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: currentColor; transform-origin: right; transition: transform .6s var(--ease-out); }
.ulink:hover::after { transform: scaleX(.3); }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: clamp(40px, 5vw, 80px); }
.sec-head > p { justify-self: end; max-width: 40ch; opacity: .75; }
.sec-more { margin-top: clamp(32px, 4vw, 56px); }

/* ---------- Page transition veil ---------- */
.veil { position: fixed; inset: 0; z-index: 250; background: var(--acl-charcoal); display: grid; place-items: center; visibility: hidden; pointer-events: none; }
html.is-arriving .veil { visibility: visible; clip-path: circle(150% at 50% 50%); }
.veil__mark { width: clamp(70px, 8vw, 110px); color: var(--acl-olive); }

/* ---------- Header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--hdr); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--g); color: var(--acl-sand); transition: transform .6s var(--ease-out), background-color .5s, height .5s var(--ease-out); }
.hdr::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(31, 31, 30, .55), rgba(31, 31, 30, 0)); transition: opacity .5s; }
.hdr.is-solid { background: rgba(31, 31, 30, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); height: 68px; }
.hdr.is-solid::before { opacity: 0; }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__logo { width: clamp(130px, 12vw, 180px); transition: width .5s var(--ease-out); }
.hdr.is-solid .hdr__logo { width: clamp(116px, 10vw, 150px); }
.hdr__nav { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 28px); font-size: 13px; text-transform: uppercase; letter-spacing: .07em; }
html[lang="ar"] .hdr__nav { font-size: 15px; }
.hdr__nav a { position: relative; padding: 4px 0; opacity: .85; transition: opacity .3s; }
.hdr__nav a:hover, .hdr__nav a[aria-current="page"] { opacity: 1; }
.hdr__nav a::before { content: ""; position: absolute; top: 50%; inset-inline-start: -12px; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--acl-olive); transform: scale(0); transition: transform .4s var(--ease-out); }
.hdr__nav a[aria-current="page"]::before, .hdr__nav a:hover::before { transform: scale(1); }
.hdr__lang { text-transform: none; letter-spacing: 0; border: 1px solid rgba(228, 222, 210, .4); padding: 6px 14px; transition: background-color .3s, color .3s; }
.hdr__lang:hover { background: var(--acl-sand); color: var(--acl-ink); }

.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 110; }
.burger span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease-out), top .5s var(--ease-out); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 95; background: var(--acl-charcoal); display: flex; flex-direction: column; justify-content: flex-end; gap: 40px; padding: var(--g); padding-bottom: 8vh; clip-path: circle(0% at calc(100% - 40px) 44px); visibility: hidden; }
html[dir="rtl"] .menu { clip-path: circle(0% at 40px 44px); }
.menu__nav { display: flex; flex-direction: column; font-family: var(--font-title); font-size: clamp(36px, 10vw, 58px); line-height: 1.14; }
.menu__nav a, .menu__nav button { overflow: hidden; text-align: start; display: block; }
.menu__nav span { display: inline-block; }
.menu__nav a[aria-current="page"] { color: var(--acl-olive); }
.menu__nav button { font-size: .45em; margin-top: 18px; color: var(--acl-olive); }
.menu__foot { display: grid; gap: 6px; font-size: 14px; opacity: .7; }
.menu-open .hdr { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* ---------- Home hero ---------- */
.hero { position: relative; }
.hero__stage { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: var(--acl-ink); }
.hero__media { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; }
.hero__slide:first-child { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31, 31, 30, .35) 0%, rgba(31, 31, 30, .1) 40%, rgba(31, 31, 30, .88) 100%); opacity: 0; }
.hero__cover { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__coverrect { fill: var(--acl-ink); }
.hero__intro { position: absolute; inset: auto 0 0; padding: 0 var(--g) clamp(24px, 4vh, 44px); display: flex; justify-content: space-between; align-items: end; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; }
html[lang="ar"] .hero__intro { font-size: 15px; }
.hero__hint { display: flex; align-items: center; gap: 12px; }
.hero__hint i { width: 1px; height: 42px; background: rgba(228, 222, 210, .3); position: relative; overflow: hidden; }
.hero__hint i::after { content: ""; position: absolute; inset: 0; background: var(--acl-sand); animation: drip 2.2s var(--ease-inout) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
.hero__copy { position: absolute; inset: auto 0 0; padding: 0 var(--g) clamp(32px, 6vh, 64px); }
.hero__title { font-family: var(--font-title); font-weight: 400; font-size: clamp(42px, 7vw, 124px); line-height: .93; letter-spacing: -.04em; max-width: 13em; }
.hero__row { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-top: clamp(22px, 3vw, 40px); }
.hero__text { max-width: 40ch; font-size: clamp(16px, 1.2vw, 18px); opacity: .88; }
.hero__ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.js .hero__copy { visibility: hidden; }

/* ---------- Inner page hero ---------- */
.phero { position: relative; height: 100svh; min-height: 560px; max-height: 1100px; }
.phero__frame { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0% 0% 0% 0%); background: var(--acl-charcoal); }
.phero--typo .phero__frame { background: var(--acl-olive); color: var(--acl-ink); }
.phero__media { position: absolute; inset: 0; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31, 31, 30, .5) 0%, rgba(31, 31, 30, .1) 35%, rgba(31, 31, 30, .86) 100%); }
.phero--typo .phero__shade { display: none; }
.phero__in { position: absolute; inset: auto 0 0; padding: 0 var(--g) clamp(32px, 7vh, 80px); display: grid; gap: 18px; }
.phero__crumb { display: flex; gap: 10px; font-size: 14px; opacity: .8; }
.phero__crumb a:hover { color: var(--acl-olive); }
.phero__title { font-family: var(--font-title); font-weight: 400; font-size: clamp(54px, 10vw, 176px); line-height: .9; letter-spacing: -.045em; }
.phero__text { max-width: 44ch; font-size: clamp(16px, 1.3vw, 20px); opacity: .9; }
.js .phero__title, .js .cpage__title { visibility: hidden; }

/* ---------- Home: intro ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px clamp(32px, 6vw, 110px); padding: clamp(90px, 11vw, 180px) var(--g) 0; align-items: end; }
.intro__side { display: grid; gap: 26px; justify-items: start; }
.intro__side p { max-width: 46ch; opacity: .85; }
.intro__img { grid-column: 1 / -1; height: clamp(320px, 80vh, 860px); overflow: hidden; margin: clamp(30px, 4vw, 60px) calc(-1 * var(--g)) 0; }
.intro__imgin { height: 120%; margin-top: -10%; }
.intro__imgin img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Stats ---------- */
.stats { padding: clamp(60px, 8vw, 130px) var(--g); }
.stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: 28px 20px 0; border-inline-end: 1px solid var(--line); }
.stat:first-child { padding-inline-start: 0; }
.stat:last-child { border: 0; }
.stat__n { font-family: var(--font-title); font-size: clamp(54px, 7vw, 120px); line-height: .9; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.stat__l { margin-top: 14px; font-size: 14px; opacity: .65; max-width: 22ch; }

/* ---------- Home: services list ---------- */
.xl { padding: clamp(60px, 8vw, 120px) var(--g) clamp(90px, 11vw, 160px); background: var(--acl-charcoal); }
.xl__list { border-top: 1px solid var(--line); }
.xl__list li { border-bottom: 1px solid var(--line); }
.xl__row { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: clamp(18px, 2vw, 30px) 0; }
.xl__n { font-size: 13px; color: var(--acl-olive); font-variant-numeric: tabular-nums; }
.xl__t { font-family: var(--font-title); font-size: clamp(30px, 4.6vw, 78px); line-height: 1; letter-spacing: -.035em; transition: transform .7s var(--ease-out); }
.xl__row .arw { width: clamp(24px, 2.4vw, 36px); height: auto; opacity: .5; }
.xl__list:hover .xl__row, .cx__list:hover .cx__btn { opacity: .28; }
.xl__list:hover .xl__row:hover, .cx__list:hover .cx__btn:hover, .xl__row:focus-visible, .cx__btn:focus-visible { opacity: 1; }
.xl__row, .cx__btn { transition: opacity .5s var(--ease-out); }
.xl__row:hover .xl__t, .cx__btn:hover .cx__name { transform: translateX(22px); }
html[dir="rtl"] .xl__row:hover .xl__t, html[dir="rtl"] .cx__btn:hover .cx__name { transform: translateX(-22px); }
.xl__row:hover .arw { opacity: 1; transform: translateX(6px); }
html[dir="rtl"] .xl__row:hover .arw { transform: scaleX(-1) translateX(6px); }

/* ---------- Concepts list ---------- */
.cx { padding: clamp(90px, 11vw, 180px) var(--g); position: relative; }
.cx__list { border-top: 1px solid var(--line); }
.cx__row { border-bottom: 1px solid var(--line); }
.cx__btn { width: 100%; display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: clamp(14px, 1.6vw, 24px) 0; text-align: start; }
.cx__idx { font-size: 13px; color: var(--acl-olive); font-variant-numeric: tabular-nums; }
.cx__name { font-family: var(--font-title); font-weight: 400; font-size: clamp(30px, 4.4vw, 74px); line-height: 1; letter-spacing: -.035em; transition: transform .7s var(--ease-out); }
.cx__cat { font-size: 14px; opacity: .6; text-align: end; }
.cx__thumb { display: none; }
.cx__float { position: fixed; left: 0; top: 0; z-index: 40; width: clamp(240px, 22vw, 340px); aspect-ratio: 4 / 5; pointer-events: none; }
.cx__floatin { position: relative; width: 100%; height: 100%; overflow: hidden; transform: scale(0); }
.cx__floatin img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.typo { position: absolute; inset: 0; display: grid; place-items: center; background: var(--acl-olive); color: var(--acl-ink); font-family: var(--font-title); font-size: clamp(34px, 4vw, 72px); line-height: .95; letter-spacing: -.03em; text-align: center; padding: 24px; }
@media (hover: none) { .cx__float { display: none; } }

/* ---------- Team strip (home) + team page ---------- */
.tstrip, .tgrid { padding: clamp(90px, 11vw, 180px) var(--g); background: var(--acl-charcoal); }
.tstrip .sec-head .kicker { margin-bottom: 14px; }
.tstrip__row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); }
.tgrid__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.person { display: grid; gap: 14px; align-content: start; }
.person__img { aspect-ratio: 3 / 4; overflow: hidden; background: var(--acl-ink); }
.person__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: grayscale(1) brightness(.9); transition: filter .8s, transform 1.4s var(--ease-out); }
.person:hover .person__img img { filter: grayscale(0) brightness(1); transform: scale(1.04); }
.person figcaption { display: grid; gap: 2px; font-size: 13px; }
.person strong { font-family: var(--font-title); font-weight: 400; font-size: clamp(17px, 1.4vw, 22px); line-height: 1.15; }
.person figcaption span { color: var(--acl-olive); }
.tfounder { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 110px); padding: clamp(90px, 11vw, 180px) var(--g); align-items: center; }
.tfounder__img { aspect-ratio: 4 / 5; overflow: hidden; }
.tfounder__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.tfounder__text { display: grid; gap: 22px; }
.tfounder__text .kicker { margin: 0; }
.tfounder__role { color: var(--acl-olive); }
.tfounder__text > p:last-child { max-width: 56ch; opacity: .8; }

/* ---------- About page ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); padding: clamp(80px, 10vw, 160px) var(--g) 0; }
.about__frame { position: sticky; top: calc(var(--hdr) + 12px); height: calc(100svh - var(--hdr) - 48px); align-self: start; overflow: hidden; }
.about__img { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); }
.about__img.is-on:first-child { clip-path: inset(0 0 0 0); }
.about__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.about__count { position: absolute; bottom: 16px; inset-inline-start: 16px; z-index: 3; font-size: 13px; padding: 6px 10px; background: rgba(31, 31, 30, .6); font-variant-numeric: tabular-nums; }
.about__chapters { display: grid; }
.chapter { min-height: 82svh; display: flex; flex-direction: column; justify-content: center; gap: 26px; padding: 6vh 0; }
.chapter:first-child { justify-content: flex-start; padding-top: 0; }
.chapter > p:not(.kicker) { max-width: 48ch; font-size: clamp(16px, 1.15vw, 18px); opacity: .85; }
.chapter__big { font-family: var(--font-title); font-size: clamp(26px, 2.7vw, 44px) !important; line-height: 1.15; letter-spacing: -.02em; opacity: 1 !important; max-width: 24ch !important; }
.chapter__quote { font-family: var(--font-title); font-size: clamp(26px, 2.8vw, 46px); line-height: 1.12; letter-spacing: -.025em; }
html[lang="ar"] .chapter__big, html[lang="ar"] .chapter__quote { line-height: 1.6; }
.chapter__by { display: grid; gap: 2px; font-size: 15px !important; opacity: 1 !important; }
.chapter__by span { color: var(--acl-olive); }
.pillars { padding: clamp(90px, 11vw, 180px) var(--g); }
.pillar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 90px); align-items: center; padding: clamp(28px, 4vw, 60px) 0; border-top: 1px solid var(--line); }
.pillar:nth-of-type(even) .pillar__img { order: 2; }
.pillar__img { aspect-ratio: 4 / 3; overflow: hidden; }
.pillar__imgin { height: 116%; margin-top: -8%; }
.pillar__imgin img { width: 100%; height: 100%; object-fit: cover; }
.pillar__text { display: grid; gap: 18px; align-content: center; }
.pillar__n { color: var(--acl-olive); font-size: 13px; }
.pillar h3 { font-family: var(--font-title); font-weight: 400; font-size: clamp(32px, 3.6vw, 60px); line-height: 1; letter-spacing: -.03em; }
.pillar p { max-width: 46ch; opacity: .82; }

/* ---------- Services page (pinned chapters) ---------- */
.svc { background: var(--acl-charcoal); }
.svc__pin { position: relative; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding: calc(var(--hdr) + 16px) var(--g) clamp(24px, 4vh, 44px); }
.svc__head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; }
.svc__head p { justify-self: end; max-width: 40ch; opacity: .75; }
.svc__stage { position: relative; margin-top: clamp(24px, 4vh, 48px); }
.svc__item { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr) minmax(0, .8fr); gap: clamp(24px, 3.5vw, 60px); align-items: stretch; visibility: hidden; }
.svc__item.is-on { visibility: visible; }
.svc__num { font-family: var(--font-title); font-size: clamp(90px, 13vw, 220px); line-height: .8; letter-spacing: -.06em; color: var(--acl-olive); overflow: hidden; }
.svc__num span, .svc__title span { display: inline-block; }
.svc__title { font-family: var(--font-title); font-weight: 400; font-size: clamp(34px, 3.8vw, 64px); line-height: 1; letter-spacing: -.03em; margin-top: 20px; overflow: hidden; padding-bottom: .08em; }
.svc__body { display: flex; flex-direction: column; justify-content: flex-end; gap: 20px; }
.svc__body p { opacity: .85; max-width: 44ch; }
.svc__steps { display: grid; counter-reset: s; font-size: 14px; }
.svc__steps li { counter-increment: s; display: flex; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.svc__steps li::before { content: counter(s, decimal-leading-zero); color: var(--acl-olive); }
.svc__img { overflow: hidden; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; }
.svc__nav { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 20px; }
.svc__nav li { display: grid; gap: 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; opacity: .45; transition: opacity .4s; }
html[lang="ar"] .svc__nav li { font-size: 14px; }
.svc__nav li.is-on { opacity: 1; }
.svc__nav i { height: 2px; background: rgba(228, 222, 210, .2); position: relative; overflow: hidden; }
.svc__nav i b { position: absolute; inset: 0; background: var(--acl-olive); transform: scaleX(0); transform-origin: left; }
html[dir="rtl"] .svc__nav i b { transform-origin: right; }

/* ---------- Concepts page tiles ---------- */
.ctiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 6vw, 100px) var(--gap); padding: clamp(90px, 11vw, 180px) var(--g); }
.ctile { display: grid; gap: 16px; }
.ctile:nth-child(even) { margin-top: clamp(60px, 10vw, 180px); }
.ctile__img { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--acl-charcoal); }
.ctile__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease-out), filter 1s; filter: brightness(.92); }
.ctile:hover .ctile__img img { transform: scale(1); filter: brightness(1.02); }
.ctile__meta { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: baseline; }
.ctile__idx { font-size: 13px; color: var(--acl-olive); }
.ctile__name { font-family: var(--font-title); font-size: clamp(26px, 2.6vw, 42px); line-height: 1; letter-spacing: -.02em; }
.ctile__cat { font-size: 14px; opacity: .6; text-align: end; }

/* ---------- Concept page ---------- */
.cpage { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); min-height: 100svh; }
.cpage__media { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--acl-charcoal); }
.cpage__slides, .cpage__slides figure { position: absolute; inset: 0; }
.cpage__slides figure { opacity: 0; transition: opacity .8s ease; }
.cpage__slides figure.is-on { opacity: 1; }
.cpage__slides img { width: 100%; height: 100%; object-fit: cover; }
.cpage__slides .typo { font-size: clamp(48px, 7vw, 120px); }
.cpage__ctrl { position: absolute; bottom: 20px; inset-inline-start: 20px; display: flex; align-items: center; gap: 14px; padding: 6px; background: rgba(31, 31, 30, .65); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 13px; }
.cpage__ctrl button { width: 44px; height: 44px; display: grid; place-items: center; transition: background-color .3s; }
.cpage__ctrl button .arw { width: 20px; height: 20px; }
.cpage__prev .arw { transform: scaleX(-1); }
html[dir="rtl"] .cpage__prev .arw { transform: none; }
.cpage__ctrl button:hover { background: rgba(228, 222, 210, .12); }
.cpage__body { display: flex; flex-direction: column; gap: 14px; padding: calc(var(--hdr) + clamp(40px, 8vh, 100px)) clamp(24px, 4vw, 64px) 40px; }
.cpage__cat { color: var(--acl-olive); font-size: 14px; margin-top: 18px; }
.cpage__title { font-family: var(--font-title); font-weight: 400; font-size: clamp(48px, 5.4vw, 96px); line-height: .94; letter-spacing: -.04em; margin-bottom: 14px; }
.cpage__label { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; opacity: .5; margin-top: 10px; }
.cpage__p { max-width: 54ch; opacity: .88; }
.cpage__body .btn { margin-top: 18px; }
.cpage__pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: auto; padding-top: 32px; border-top: 1px solid var(--line); font-family: var(--font-title); font-size: clamp(20px, 1.8vw, 28px); line-height: 1.1; }
.cpage__pager a { display: grid; gap: 6px; transition: color .3s; }
.cpage__pager a:last-child { text-align: end; }
.cpage__pager a:hover { color: var(--acl-olive); }
.cpage__pager small { font-family: var(--font-text); font-size: 13px; opacity: .6; }

/* ---------- Impact (sand break in the dark page) ---------- */
.impact { background: var(--acl-sand); color: var(--acl-ink); padding: clamp(90px, 11vw, 180px) var(--g); }
.impact .kicker { color: #6d6738; }
.impact__head { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 48px; align-items: end; margin-bottom: clamp(48px, 6vw, 96px); }
.impact__head .kicker { grid-column: 1 / -1; margin: 0; justify-self: start; }
.impact__head p { max-width: 48ch; justify-self: end; }
.impact__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.tile { position: relative; display: flex; flex-direction: column; gap: 16px; min-height: 360px; padding: 28px; background: var(--acl-white); overflow: hidden; isolation: isolate; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 120%), rgba(147, 140, 84, .38), transparent 60%); opacity: 0; transition: opacity .5s; }
.tile:hover::before { opacity: 1; }
.tile img { width: 44px; height: 44px; filter: brightness(0); }
.tile h3 { font-family: var(--font-title); font-weight: 400; font-size: clamp(22px, 1.9vw, 30px); line-height: 1.08; letter-spacing: -.02em; margin-top: auto; padding-top: clamp(30px, 4vw, 70px); }
.tile p { font-size: 14px; opacity: .8; }
.impact--dark { background: var(--acl-ink); color: var(--acl-sand); }
.impact--dark .tile { background: var(--acl-charcoal); }
.values { padding: clamp(90px, 11vw, 180px) var(--g); background: var(--acl-olive); color: var(--acl-ink); text-align: center; }
.values .kicker { color: var(--acl-ink); opacity: .7; }
.values__line { font-family: var(--font-title); font-size: clamp(30px, 4.6vw, 78px); line-height: 1.08; letter-spacing: -.03em; max-width: 18em; margin: 0 auto; }

/* ---------- Next page link ---------- */
.next { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 12px clamp(32px, 6vw, 110px); padding: clamp(70px, 9vw, 150px) var(--g); border-top: 1px solid var(--line); align-items: end; }
.next__img { grid-row: 1 / 3; aspect-ratio: 16 / 10; overflow: hidden; display: block; }
.next__img img { width: 100%; height: 116%; object-fit: cover; filter: brightness(.85); transition: filter .8s; }
.next:hover .next__img img { filter: brightness(1); }
.next__label { align-self: end; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--acl-olive); }
.next__title { display: flex; align-items: center; gap: .25em; font-family: var(--font-title); font-size: clamp(44px, 7vw, 120px); line-height: .95; letter-spacing: -.04em; align-self: start; }
.next__title .arw { width: .55em; height: .55em; }
.next:hover .next__title .arw { transform: translateX(12px); }
html[dir="rtl"] .next:hover .next__title .arw { transform: scaleX(-1) translateX(12px); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); padding: clamp(90px, 11vw, 180px) var(--g); }
.contact__info div { display: grid; gap: 6px; padding: 22px 0; border-top: 1px solid var(--line); }
.contact__info dt { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--acl-olive); }
.contact__info dd { margin: 0; font-family: var(--font-title); font-size: clamp(22px, 2.4vw, 38px); line-height: 1.15; overflow-wrap: anywhere; }
.contact__info a:hover { color: var(--acl-olive); }
.cform { display: grid; gap: 22px; align-content: start; }
.cform__title { font-family: var(--font-title); font-weight: 400; font-size: clamp(30px, 3vw, 50px); line-height: 1; letter-spacing: -.02em; margin-bottom: 8px; }
.cform label { display: grid; gap: 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .9; }
html[lang="ar"] .cform label { font-size: 15px; }
.cform input, .cform textarea { background: transparent; border: 0; border-bottom: 1px solid rgba(228, 222, 210, .35); padding: 12px 0; font-size: 18px; color: var(--acl-sand); text-transform: none; letter-spacing: 0; resize: vertical; transition: border-color .3s; }
.cform input:focus, .cform textarea:focus { outline: none; border-bottom-color: var(--acl-olive); }
.cform .btn { justify-self: start; }
.cform__msg, .news__msg { min-height: 1.5em; font-size: 14px; }
.cform__msg[data-state="err"], .news__msg[data-state="err"] { color: #e3a58c; }

/* ---------- Newsletter ---------- */
.news { position: relative; overflow: hidden; padding: clamp(110px, 14vw, 220px) var(--g); text-align: center; isolation: isolate; }
.news__bg { position: absolute; inset: -15% 0; z-index: -1; }
.news__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.38) saturate(.9); }
.news__in { max-width: 860px; margin: 0 auto; display: grid; justify-items: center; gap: 22px; }
.news__title { font-family: var(--font-title); font-weight: 400; font-size: var(--h2); line-height: .96; letter-spacing: -.035em; }
.news__form { display: flex; width: min(560px, 100%); margin-top: 12px; background: rgba(31, 31, 30, .55); border: 1px solid rgba(228, 222, 210, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.news__form input { flex: 1; min-width: 0; background: transparent; border: 0; padding: 0 22px; color: var(--acl-sand); font-size: 16px; }
.news__form input:focus { outline: none; }
.news__form:focus-within { border-color: var(--acl-sand); }
.news__form input::placeholder { color: rgba(228, 222, 210, .55); }

/* ---------- Footer ---------- */
.ftr { padding: 0 0 28px; border-top: 1px solid rgba(228, 222, 210, .12); overflow: hidden; }
.ftr__marquee { padding: clamp(36px, 5vw, 80px) 0; white-space: nowrap; }
.ftr__track { display: inline-flex; font-family: var(--font-title); font-size: clamp(64px, 11vw, 190px); line-height: 1.1; letter-spacing: -.045em; color: transparent; -webkit-text-stroke: 1px rgba(228, 222, 210, .4); }
.ftr__track > div { display: inline-flex; }
.ftr__track span { padding-inline-end: .4em; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 0 var(--g); }
.ftr__brand { display: grid; gap: 18px; align-content: start; }
.ftr__brand > span { width: 70px; }
.ftr__brand p { max-width: 30ch; opacity: .75; }
.ftr__col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 15px; }
.ftr__col a { opacity: .8; transition: opacity .3s, color .3s; }
.ftr__col a:hover { opacity: 1; color: var(--acl-olive); }
.ftr__h { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--acl-olive); margin-bottom: 4px; }
.ftr__bottom { display: flex; justify-content: space-between; gap: 20px; margin: 48px var(--g) 0; padding-top: 20px; border-top: 1px solid rgba(228, 222, 210, .12); font-size: 13px; opacity: .6; }

/* ---------- Reveal helpers ---------- */
.js .rise { opacity: 0; transform: translateY(26px); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .impact__grid { grid-template-columns: 1fr 1fr; }
  .svc__item { grid-template-columns: 1fr 1fr; }
  .svc__img { display: none; }
  .tstrip__row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tgrid__row { grid-template-columns: 1fr 1fr; }
  .hdr__nav { gap: 12px; font-size: 12px; }
}
@media (max-width: 860px) {
  :root { --hdr: 68px; }
  .hdr__nav { display: none; }
  .burger { display: block; }
  .hero__row { flex-direction: column; align-items: flex-start; }
  .sec-head, .svc__head, .impact__head, .intro { grid-template-columns: 1fr; }
  .sec-head > p, .svc__head p, .impact__head p { justify-self: start; }
  .about { grid-template-columns: 1fr; padding-top: 70px; }
  .about__frame { position: relative; top: 0; height: 110vw; max-height: 560px; }
  .chapter, .chapter:first-child { min-height: 0; padding: 36px 0; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat, .stat:first-child { padding: 24px 12px 24px 0; border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .svc__pin { min-height: 0; display: block; padding-top: 80px; }
  .svc__stage { display: grid; gap: 48px; }
  .svc__item { position: relative; visibility: visible; grid-template-columns: 1fr; gap: 16px; padding-top: 28px; border-top: 1px solid var(--line); }
  .svc__img { display: block; aspect-ratio: 4 / 3; }
  .svc__num { font-size: 64px; }
  .svc__nav { display: none; }
  .xl__row, .cx__btn { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; }
  .cx__btn { grid-template-columns: 64px minmax(0, 1fr); gap: 4px 16px; }
  .cx__thumb { display: block; grid-row: span 2; width: 64px; height: 80px; overflow: hidden; background: var(--acl-olive); }
  .cx__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .cx__idx { display: none; }
  .cx__cat { text-align: start; }
  .tstrip__row, .tgrid__row { grid-template-columns: 1fr 1fr; }
  .tstrip__row .person:first-child { grid-column: 1 / -1; }
  .tstrip__row .person:first-child .person__img { aspect-ratio: 4 / 3; }
  .tfounder { grid-template-columns: 1fr; }
  .pillar { grid-template-columns: 1fr; }
  .pillar:nth-of-type(even) .pillar__img { order: 0; }
  .impact__grid { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
  .ctiles { grid-template-columns: 1fr; }
  .ctile:nth-child(even) { margin-top: 0; }
  .cpage { grid-template-columns: 1fr; }
  .cpage__media { position: relative; height: 62svh; }
  .cpage__body { padding-top: 32px; }
  .next { grid-template-columns: 1fr; }
  .next__img { grid-row: auto; }
  .contact { grid-template-columns: 1fr; }
  .ftr__grid { grid-template-columns: 1fr; }
  .phero { height: 86svh; }
}
