/* ═══════════════════════════════════════════════════════════════
   HEAD — House of Experience & Admin Development · site styles v7.1
   Photo-led, layered compositions on the profile's navy + hexagon identity.
   Colours/fonts come from theme settings (generate_theme_css).
   Logical properties throughout: Arabic (RTL) and English share one sheet.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --navy: var(--primary, #1D2C66);
  --navy-2: #23387F;
  --navy-2: color-mix(in oklab, var(--primary, #1D2C66), var(--accent, #3A63D8) 22%);
  --deep: var(--primary-xd, #0E1638);
  --mist: var(--bg-alt, #EEF1F8);
  --line: var(--border, #DCE1EE);
  --silver: #A3A6B4;
  --wrap: 1240px;
  --gutter: 28px;
  --sec: clamp(72px, 9vw, 128px);
  --r: var(--radius, 4px);
  --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  --font: var(--font-en);
  --font-d: var(--font-display-en);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --header: 84px;
  --shade-dir: 90deg;
}
html[lang="ar"] { --font: var(--font-ar); --font-d: var(--font-display-ar); }
html[dir="rtl"] { --shade-dir: 270deg; }
@media (max-width: 640px) { :root { --gutter: 18px; --header: 72px; } }

/* ── base ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 72px); }
body {
  margin: 0; background: var(--bg, #fff); color: var(--text, #18203F);
  font-family: var(--font), system-ui, sans-serif; font-size: 17px; font-weight: var(--fw-body, 400);
  line-height: 1.7; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
  padding-top: var(--header);
}
html[lang="ar"] body { line-height: 1.85; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-d), var(--font), sans-serif; font-weight: var(--fw-display, 700); color: var(--navy); line-height: 1.2; letter-spacing: -.01em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.45; letter-spacing: 0; }
svg { flex: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: #fff; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.dir-icon { width: 16px; height: 16px; }
html[dir="rtl"] .dir-icon { transform: scaleX(-1); }
html[dir="ltr"] .dir-icon.flip { transform: scaleX(-1); }
html[dir="rtl"] .dir-icon.flip { transform: none; }
.center-row { display: flex; justify-content: center; }
[data-depth] { will-change: translate; translate: 0 var(--py, 0px); }

/* ── motion primitives ────────────────────────────────────────── */
.js .rv { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .rv.is-in { opacity: 1; transform: none; }
.js .rv-img img { clip-path: inset(100% 0 0 0); transform: scale(1.16); transition: clip-path 1.25s var(--ease-io), transform 1.9s var(--ease); transition-delay: calc(var(--d, 0) * 110ms); }
.js .rv-img.is-in img { clip-path: inset(0 0 0 0); transform: none; }
.draw svg { width: 100%; height: 100%; overflow: visible; }
.draw polygon { fill: none; stroke: var(--accent-l, #7E9BEA); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.js .draw svg { opacity: 0; transform: scale(.88) rotate(-5deg); transition: opacity 1.4s var(--ease) .3s, transform 1.9s var(--ease) .3s; }
.js .draw.is-in svg { opacity: 1; transform: none; }
.load-in { animation: loadUp 1s var(--ease) both; animation-delay: calc(.15s + var(--d, 0) * .12s); }
@keyframes loadUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes kenburns { from { transform: scale(1.16); } to { transform: scale(1.02); } }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
@keyframes revealEnd { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes revealEndRtl { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes floatY { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

/* ── buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border: 1.5px solid transparent; border-radius: 2px;
  font: 600 15px/1.2 var(--font), sans-serif; cursor: pointer; white-space: nowrap; position: relative; overflow: hidden; isolation: isolate;
  transition: color .3s, border-color .3s, background-color .3s;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-io); }
html[dir="rtl"] .btn::before { transform-origin: left; }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
html[dir="rtl"] .btn:hover::before { transform-origin: right; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 17px 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary::before { background: var(--accent); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent::before { background: #fff; }
.btn--accent:hover { color: var(--navy); }
.btn--ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn--ghost::before { background: #fff; }
.btn--ghost:hover { color: var(--navy); border-color: #fff; }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline::before { background: var(--navy); }
.btn--outline:hover { color: #fff; }
.btn:disabled { opacity: .6; cursor: progress; }

/* ── header (transparent over the hero, solid on scroll) ──────── */
.site-header { position: fixed; top: 0; inset-inline: 0; z-index: 60; background: var(--nav-bg, #fff); border-bottom: 1px solid var(--line); transition: box-shadow .35s; }
.site-header.is-scrolled { box-shadow: 0 10px 34px rgba(14, 22, 56, .1); }
.header-in { display: flex; align-items: center; gap: 20px; height: var(--header); }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-logo { height: 46px; width: auto; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 46px; background: var(--navy); color: #fff; clip-path: var(--hex); }
.brand-mark svg { width: 20px; }
.brand-text b { display: block; font: 700 20px/1 var(--font-d); color: var(--navy); }
.brand-text small { display: block; margin-top: 4px; font-size: 11px; color: var(--text-m); }

.main-nav { margin-inline-start: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a { position: relative; display: flex; align-items: center; gap: 6px; padding: 30px 13px; font-size: 15px; font-weight: 500; color: var(--nav-text, var(--text)); transition: color .25s; }
.main-nav > ul > li > a:hover, .main-nav > ul > li > a.is-active { color: var(--navy); }
.main-nav > ul > li > a::after { content: ""; position: absolute; inset-inline: 13px; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .35s var(--ease-io); }
.main-nav > ul > li > a:hover::after, .main-nav > ul > li > a.is-active::after { transform: scaleX(1); }
.main-nav > ul > li > a.is-active { font-weight: 600; }
.caret { width: 14px; height: 14px; opacity: .7; }
.menu {
  position: absolute; top: 100%; inset-inline-start: -10px; min-width: 340px; padding: 12px;
  background: #fff; border-top: 2px solid var(--accent); box-shadow: 0 24px 60px rgba(14, 22, 56, .18);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.has-menu:hover .menu, .has-menu:focus-within .menu, .has-menu.is-open .menu { opacity: 1; visibility: visible; transform: none; }
.menu--services { width: 680px; inset-inline-start: -240px; }
.menu-link, .menu-intro { display: block; padding: 12px 14px; transition: background-color .2s; }
.menu-link:hover, .menu-intro:hover, .menu-svc:hover { background: var(--mist); }
.menu-title { display: block; font-weight: 600; font-size: 15px; color: var(--navy); }
.menu-desc { display: block; margin-top: 2px; font-size: 13px; line-height: 1.5; color: var(--text-m); }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line); }
.menu-svc { display: flex; align-items: center; gap: 14px; padding: 8px 10px; font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--text); transition: background-color .2s; }
.menu-thumb { flex: none; width: 54px; height: 62px; overflow: hidden; clip-path: var(--hex); background: var(--navy); }
.menu-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.menu-svc:hover .menu-thumb img { transform: scale(1.12); }
.menu-svc-text { display: grid; gap: 1px; }
.menu-num { font: 700 12px var(--font-d); color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.main-nav + .header-actions { margin-inline-start: 8px; }
.lang-switch { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.lang-btn { padding: 5px 12px; border: 0; border-radius: 999px; background: none; font-size: 13px; font-weight: 600; color: var(--text-m); cursor: pointer; }
.lang-btn.is-on { background: var(--navy); color: #fff; }
.header-cta { background: var(--accent); }
.burger { display: none; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); background: none; color: var(--navy); cursor: pointer; }
.burger svg { width: 22px; height: 22px; }
@media (max-width: 1180px) {
  .main-nav, .header-cta { display: none; }
  .burger { display: grid; }
  .header-actions { margin-inline-start: auto; }
}

.drawer { position: fixed; inset: 0; z-index: 90; background: rgba(14, 22, 56, .55); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer-panel { position: absolute; inset-block: 0; inset-inline-end: 0; width: min(400px, 90vw); display: flex; flex-direction: column; gap: 20px; padding: 22px; overflow-y: auto; background: #fff; transform: translateX(100%); transition: transform .45s var(--ease-io); }
html[dir="rtl"] .drawer-panel { transform: translateX(-100%); }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; }
.drawer-title { font: 700 18px var(--font-d); color: var(--navy); }
.drawer-close { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
.drawer-close svg { width: 20px; }
.drawer-nav { display: grid; }
.drawer-nav > a { padding: 14px 4px; border-bottom: 1px solid var(--line); font: 600 17px var(--font-d); color: var(--navy); }
.drawer-sub { display: grid; padding: 6px 0; border-bottom: 1px solid var(--line); }
.drawer-sub a { padding: 7px 14px; font-size: 14px; color: var(--text-m); }

/* ── in-page navigation (long pages) ─────────────────────────── */
.subnav { position: sticky; top: var(--header); z-index: 40; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.subnav-in { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.subnav-in::-webkit-scrollbar { display: none; }
.subnav a { position: relative; flex: none; padding: 18px 14px; font-size: 14.5px; font-weight: 500; color: var(--text-m); white-space: nowrap; transition: color .25s; }
.subnav a::after { content: ""; position: absolute; inset-inline: 14px; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .35s var(--ease-io); }
.subnav a:hover { color: var(--navy); }
.subnav a.is-active { color: var(--navy); font-weight: 600; }
.subnav a.is-active::after { transform: scaleX(1); }

/* ── back to top ──────────────────────────────────────────────── */
.to-top { position: fixed; inset-inline-end: 22px; bottom: 22px; z-index: 55; display: grid; place-items: center; width: 50px; height: 56px; background: var(--navy); color: #fff; clip-path: var(--hex); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s var(--ease), visibility .3s, background-color .25s; }
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); }
.to-top-icon { width: 20px; height: 20px; transform: rotate(-90deg); }

/* ── sections & headings ──────────────────────────────────────── */
.sec { position: relative; padding-block: var(--sec); }
.sec--tight { padding-block: calc(var(--sec) * .7); }
.sec--mist { background: var(--mist); }
.sec--deep { background: var(--deep); color: #fff; overflow: hidden; }
.sec--deep h2, .sec--deep h3, .sec--photo h2, .sec--photo h3 { color: #fff; }
.sh { max-width: 820px; margin-bottom: 52px; }
.sh-label { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 14.5px; font-weight: 600; color: var(--accent); }
.sh-label::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.sec--deep .sh-label, .sec--photo .sh-label, .capacity-band .sh-label, .cta .sh-label { color: var(--accent-l); }
.sh-title { font-size: clamp(30px, 3.8vw, 50px); line-height: 1.14; }
html[lang="ar"] .sh-title { line-height: 1.38; }
.sh-lead { margin-top: 18px; max-width: 68ch; font-size: 18.5px; color: var(--text-m); }
.sec--deep .sh-lead, .sec--photo .sh-lead { color: rgba(255, 255, 255, .78); }
.block-title { margin: 8px 0 22px; font-size: 19px; color: var(--navy); }
.block-title:not(:first-child) { margin-top: 56px; }
.sec--deep .block-title { color: #fff; }
.prose { display: grid; gap: 18px; max-width: 66ch; font-size: 17.5px; color: var(--text-m); }
.prose--lg { font-size: 18.5px; }
.note-lead { position: relative; max-width: 52ch; padding-inline-start: 22px; border-inline-start: 3px solid var(--accent); font: 600 18px/1.6 var(--font-d); color: var(--navy); }
.note-lead--wide { max-width: 80ch; margin-top: 36px; }
.note { margin-top: 30px; padding: 20px 26px; background: var(--mist); font-weight: 500; }
.note--navy { background: var(--navy); color: #fff; }

/* splits */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--head { align-items: end; margin-bottom: 52px; }
.split--head .sh { margin-bottom: 0; }
.split--head > :last-child { justify-self: end; }
.split--rev > .split-media { order: 2; }
.split-main > .btn { margin-top: 34px; }
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .split--rev > .split-media { order: 0; }
  .split--head > :last-child { justify-self: start; }
}

/* ── layered photo composition ────────────────────────────────── */
.stack { position: relative; width: 100%; max-width: 620px; aspect-ratio: 1 / 1.02; margin-inline: auto; }
.stack--tall { aspect-ratio: 1 / 1.12; }
.stack > * { position: absolute; margin: 0; }
.stack-ghost { z-index: 0; top: -9%; inset-inline-start: -4%; font: 800 clamp(96px, 13vw, 200px)/1 var(--font-display-en), sans-serif; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(29, 44, 102, .14); pointer-events: none; white-space: nowrap; }
.stack-block { z-index: 1; inset-inline-start: 0; bottom: 0; width: 56%; height: 58%; background: var(--navy); }
.stack-main { z-index: 2; top: 0; inset-inline-end: 0; width: 84%; height: 80%; overflow: hidden; background: var(--navy-2); }
.stack-main img { width: 100%; height: 100%; object-fit: cover; }
.stack-sec { z-index: 3; bottom: 0; inset-inline-start: 5%; width: 44%; aspect-ratio: .866; clip-path: var(--hex); background: var(--navy-2); }
.stack-sec img { width: 100%; height: 100%; object-fit: cover; }
.stack--hexsec .stack-sec { clip-path: none; background: none; filter: drop-shadow(0 22px 34px rgba(14, 22, 56, .35)); }
.stack--hexsec .stack-sec img { object-fit: contain; }
.stack-outline { z-index: 4; bottom: 10%; inset-inline-end: -5%; width: 34%; aspect-ratio: .866; }
.stack-badge { z-index: 5; inset-inline-end: -3%; bottom: 4%; display: grid; gap: 4px; min-width: 170px; padding: 22px 26px; background: var(--accent); color: #fff; box-shadow: 0 24px 40px rgba(14, 22, 56, .25); }
.stack-badge b { font: 700 44px/1 var(--font-d); }
.stack-badge span { font-size: 14px; line-height: 1.4; max-width: 18ch; }
.stack--dark .stack-block { background: var(--navy-2); }
.stack--dark .stack-ghost { -webkit-text-stroke-color: rgba(255, 255, 255, .12); }
@media (max-width: 640px) { .stack-badge { min-width: 0; padding: 16px 18px; } .stack-badge b { font-size: 32px; } }

.portrait { position: relative; width: 100%; max-width: 480px; aspect-ratio: .92; margin-inline: auto; }
.portrait > * { position: absolute; margin: 0; }
.portrait-block { inset: 16% 0 0 22%; background: var(--navy); }
html[dir="rtl"] .portrait-block { inset: 16% 22% 0 0; }
.portrait-img { inset: 0 8% 4% 0; z-index: 2; }
html[dir="rtl"] .portrait-img { inset: 0 0 4% 8%; }
.portrait-img img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; }
.portrait-outline { z-index: 3; width: 46%; aspect-ratio: .866; top: -4%; inset-inline-end: -4%; }
.portrait-caption { display: grid; gap: 2px; margin-top: 22px; text-align: center; }
.portrait-caption b { font: 700 22px var(--font-d); color: var(--navy); }
.portrait-caption span { font-size: 14.5px; color: var(--text-m); }

/* ── home hero ────────────────────────────────────────────────── */
.hero { position: relative; display: flex; min-height: min(calc(100svh - var(--header)), 880px); overflow: hidden; background: var(--deep); color: #fff; }
.hero-photo { position: absolute; inset-block: 0; inset-inline-end: 0; width: 47%; background: var(--navy-2); animation: revealEnd 1.6s var(--ease-io) backwards .1s; }
html[dir="rtl"] .hero-photo { animation-name: revealEndRtl; }
.hero-img { position: absolute; inset: 0; margin: 0; overflow: hidden; opacity: 0; transition: opacity 1.4s ease; }
.hero-img.is-active { opacity: 1; z-index: 1; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img.is-active img { animation: kenburns 11s ease-out both; }
.hero-photo-shade { position: absolute; inset-block: 0; inset-inline-end: 0; inset-inline-start: -3px; z-index: 2; background: linear-gradient(var(--shade-dir), var(--deep) 0, rgba(14, 22, 56, .55) 3px, rgba(14, 22, 56, .1) 45%, rgba(14, 22, 56, .25) 100%); }
.hero-deco { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hero-deco > * { position: absolute; }
.hero-outline--a { width: 340px; aspect-ratio: .866; top: 11%; inset-inline-end: calc(47% - 250px); }
.hero-outline--b { width: 150px; aspect-ratio: .866; bottom: 9%; inset-inline-end: 6%; }
.hero-hexfig { width: 280px; aspect-ratio: .866; bottom: 13%; inset-inline-end: calc(47% - 140px); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); animation: loadUp 1.2s var(--ease) both .9s; }
.hero-hexfig img { width: 100%; height: 100%; object-fit: contain; animation: floatY 9s ease-in-out infinite 2s; }
.hero-gem { width: 46px; aspect-ratio: .866; top: 13%; inset-inline-end: calc(47% - 23px); background: var(--accent); clip-path: var(--hex); animation: loadUp 1s var(--ease) both 1.2s; }
.hero-in { position: relative; z-index: 4; display: flex; flex-direction: column; justify-content: center; padding-block: 72px 0; }
.hero-slides { display: grid; max-width: 47%; }
.hero-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-badge { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 26px; font-size: 15px; font-weight: 600; color: var(--accent-l); }
.hero-badge::before { content: ""; width: 34px; height: 2px; background: var(--accent); }
.hero-title { font-family: var(--font-d), sans-serif; font-weight: var(--fw-display, 700); font-size: clamp(36px, 4.4vw, 66px); line-height: 1.08; letter-spacing: -.02em; color: #fff; }
html[lang="ar"] .hero-title { line-height: 1.32; letter-spacing: 0; font-size: clamp(34px, 4.2vw, 62px); }
.ht-line { display: block; overflow: hidden; padding-bottom: .06em; }
.ht-line > span { display: inline-block; }
.hero-slide.is-active .ht-line > span { animation: lineUp 1.1s var(--ease) both; }
.hero-slide.is-active .ht-line + .ht-line > span { animation-delay: .12s; }
.hero-sub { margin-top: 26px; max-width: 52ch; font-size: 18.5px; color: rgba(255, 255, 255, .78); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.hero-slide.is-active .hero-sub, .hero-slide.is-active .hero-actions, .hero-slide.is-active .hero-badge { animation: loadUp 1s var(--ease) both .35s; }
.hero-controls { display: flex; align-items: center; gap: 14px; margin-top: 48px; }
.hero-arrow { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; background: none; color: #fff; cursor: pointer; transition: background-color .25s, color .25s; }
.hero-arrow:hover { background: #fff; color: var(--navy); }
.hero-dots { display: flex; gap: 8px; }
.hero-dot { position: relative; width: 44px; height: 3px; padding: 0; border: 0; background: rgba(255, 255, 255, .25); cursor: pointer; overflow: hidden; }
.hero-dot span { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
html[dir="rtl"] .hero-dot span { transform-origin: right; }
.hero-dot.is-on span { animation: dotFill var(--slide-ms, 7000ms) linear forwards; }
.hero.is-paused .hero-dot.is-on span { animation-play-state: paused; }
@keyframes dotFill { to { transform: scaleX(1); } }

.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.figure { display: flex; flex-direction: column-reverse; justify-content: flex-end; margin: 0; }
.figure dd { margin: 0; font: 700 clamp(32px, 3.6vw, 52px)/1 var(--font-d); letter-spacing: -.02em; }
.figure dt { margin-top: 10px; font-size: 14.5px; line-height: 1.45; }
.figures--hero { max-width: 47%; margin-top: auto; padding-block: 70px 0; }
.figures--hero .figure { padding: 24px 18px 40px 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.figures--hero dd { font-size: clamp(28px, 2.7vw, 42px); }
.figures--hero dt { font-size: 13.5px; }
html[dir="rtl"] .figures--hero .figure { padding: 26px 0 40px 22px; }
.figures--hero dd { color: #fff; }
.figures--hero dt { color: rgba(255, 255, 255, .64); }
.figures--line { margin-top: 80px; border-top: 2px solid var(--navy); }
.figures--line .figure { padding: 30px 24px 0 0; }
html[dir="rtl"] .figures--line .figure { padding: 30px 0 0 24px; }
.figures--line dd { color: var(--navy); font-size: clamp(40px, 4.6vw, 64px); }
.figures--line dt { color: var(--text-m); }
@media (max-width: 960px) {
  .hero { min-height: 0; }
  .hero-photo { width: 100%; animation: none; }
  .hero-photo-shade { background: linear-gradient(180deg, rgba(14, 22, 56, .78) 0%, rgba(14, 22, 56, .9) 60%, var(--deep) 100%); }
  .hero-deco { display: none; }
  .hero-slides, .figures--hero { max-width: none; }
}
@media (max-width: 760px) {
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── page hero ────────────────────────────────────────────────── */
.page-hero { position: relative; display: flex; align-items: flex-end; min-height: 500px; overflow: hidden; background: var(--deep); color: #fff; }
.page-hero-photo { position: absolute; inset-block: 0; inset-inline-end: 0; width: 54%; }
.page-hero-photo::after { content: ""; position: absolute; z-index: 1; inset-block: 0; inset-inline-end: 0; inset-inline-start: -3px; pointer-events: none; background: linear-gradient(var(--shade-dir), var(--deep) 0, var(--deep) 3px, rgba(14, 22, 56, .45) 38%, rgba(14, 22, 56, .2) 100%); }
.ph-img { position: absolute; inset: 0; margin: 0; overflow: hidden; background: var(--navy-2); animation: revealEnd 1.4s var(--ease-io) backwards; }
html[dir="rtl"] .ph-img { animation-name: revealEndRtl; }
.ph-img img { width: 100%; height: 100%; object-fit: cover; transform-origin: 70% 50%; animation: kenburns 9s ease-out both; backface-visibility: hidden; }
.ph-hex { position: absolute; z-index: 2; width: 170px; aspect-ratio: .866; bottom: -40px; inset-inline-start: -60px; background: var(--accent); clip-path: var(--hex); animation: loadUp 1.1s var(--ease) both .6s; }
.ph-outline { position: absolute; z-index: 2; width: 300px; aspect-ratio: .866; top: 18%; inset-inline-start: -150px; }
.page-hero-in { position: relative; z-index: 3; padding-block: 90px 84px; }
.page-hero-text { max-width: 640px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 26px; font-size: 14px; color: rgba(255, 255, 255, .62); }
.crumbs a:hover { color: #fff; }
.crumb-sep { opacity: .5; }
.page-hero-label { margin-bottom: 14px; font-size: 15px; font-weight: 600; color: var(--accent-l); }
.page-hero h1 { font-size: clamp(36px, 5vw, 66px); line-height: 1.1; letter-spacing: -.02em; color: #fff; }
html[lang="ar"] .page-hero h1 { line-height: 1.35; letter-spacing: 0; }
.page-hero-sub { margin-top: 20px; max-width: 58ch; font-size: 19px; color: rgba(255, 255, 255, .8); }
.page-hero .hero-actions { margin-top: 30px; }
@media (max-width: 960px) {
  .page-hero { min-height: 0; }
  .page-hero-photo { width: 100%; }
  .page-hero-photo::after { inset-inline-start: 0; background: linear-gradient(180deg, rgba(14, 22, 56, .75), rgba(14, 22, 56, .92)); }
  .ph-hex, .ph-outline { display: none; }
  .page-hero-in { padding-block: 56px 60px; }
}

/* ── text-led blocks ──────────────────────────────────────────── */
.grid { display: grid; gap: 44px 36px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.g-odd > :last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 1024px) {
  .g-3, .g-4, .g-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-5 > :last-child:nth-child(odd), .g-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 640px) { .g-2, .g-3, .g-4, .g-5 { grid-template-columns: 1fr; } }

.fact { display: flex; flex-direction: column; gap: 12px; padding-top: 26px; border-top: 2px solid var(--navy); }
.fact-title { font-size: 20px; line-height: 1.35; }
.fact p { font-size: 16px; color: var(--text-m); }
.fact-num { font: 700 14px var(--font-d); color: var(--accent); }
.fact--lg .fact-title { font-size: 22px; }
.fact--lg p { font-size: 16.5px; }
.facts:has(.fact--white), .facts:has(.fact--navy) { gap: 18px; }
.fact--white { padding: 32px; background: #fff; border-top-width: 3px; }
.fact--navy { padding: 32px; background: var(--navy); border-top: 3px solid var(--accent); color: #fff; }
.fact--navy .fact-title { color: #fff; }
.fact--navy p { color: rgba(255, 255, 255, .8); }
.fact--dark { border-top-color: rgba(255, 255, 255, .28); }
.fact--dark .fact-title { color: #fff; }
.fact--dark p { color: rgba(255, 255, 255, .74); }
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-inline-start: 22px; font-size: 16px; color: var(--text-m); }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .7em; width: 8px; height: 9.2px; background: var(--accent); clip-path: var(--hex); }
.fact--navy .ticks li { color: rgba(255, 255, 255, .86); }
.fact--navy .ticks li::before { background: var(--accent-l); }

/* ── home about extras ────────────────────────────────────────── */
.sec--about .split { align-items: center; }
.vision { margin-top: 34px; padding: 26px 30px; background: var(--mist); border-inline-start: 3px solid var(--accent); }
.vision-label { margin-bottom: 8px; font-size: 14px; font-weight: 700; color: var(--accent); }
.vision p:last-child { font: 600 18.5px/1.6 var(--font-d); color: var(--navy); }

/* ── service lines ────────────────────────────────────────────── */
.lines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--navy); }
.line { position: relative; display: grid; align-content: start; gap: 18px; padding: 40px 34px 44px; border-inline-start: 1px solid var(--line); background: #fff; }
.line:first-child { border-inline-start: 0; }
.line--anchor { background: var(--navy); color: #fff; }
.line-num { font: 800 clamp(70px, 8vw, 120px)/.9 var(--font-display-en), sans-serif; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--navy); opacity: .5; }
.line--anchor .line-num { -webkit-text-stroke-color: var(--accent-l); opacity: 1; }
.line h3 { font-size: 26px; }
.line--anchor h3 { color: #fff; }
.line li { padding-block: 11px; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--text-m); }
.line--anchor li { border-color: rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .85); }
@media (max-width: 960px) { .lines { grid-template-columns: 1fr; } .line { border-inline-start: 0; border-top: 1px solid var(--line); } }

/* ── practices (photo cards) ──────────────────────────────────── */
.sec--practices { padding-top: calc(var(--sec) * .8); }
.practices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.practice { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--navy); color: #fff; isolation: isolate; }
.practice-img { position: absolute; inset: 0; margin: 0; }
.practice-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.js .practice.is-in .practice-img img { transition: transform 1.4s var(--ease); }
.practice:hover .practice-img img, .practice:focus-visible .practice-img img { transform: scale(1.08); }
.practice-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 22, 56, .1) 0%, rgba(14, 22, 56, .35) 40%, rgba(14, 22, 56, .94) 100%); transition: background-color .5s; }
.practice:hover .practice-shade, .practice:focus-visible .practice-shade { background-color: rgba(29, 44, 102, .45); }
.practice-num { position: absolute; top: 22px; inset-inline-start: 24px; display: flex; align-items: center; gap: 10px; font: 700 15px var(--font-d); }
.practice-num::before { content: ""; width: 12px; height: 14px; background: var(--accent); clip-path: var(--hex); }
.practice-text { position: absolute; inset-inline: 24px; bottom: 24px; display: grid; gap: 8px; }
.practice-label { font-size: 13px; color: var(--accent-l); }
.practice-title { font: 700 21px/1.3 var(--font-d); }
.practice-desc { max-height: 0; overflow: hidden; opacity: 0; font-size: 14.5px; line-height: 1.55; color: rgba(255, 255, 255, .82); transition: max-height .6s var(--ease), opacity .5s; }
.practice:hover .practice-desc, .practice:focus-visible .practice-desc { max-height: 140px; opacity: 1; }
@media (hover: none) { .practice-desc { max-height: none; opacity: 1; } }
@media (max-width: 1100px) { .practices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .practices { grid-template-columns: 1fr; } .practice { aspect-ratio: 4 / 3.4; } }

/* ── methodology ──────────────────────────────────────────────── */
.sec--method .split { align-items: start; }
.sec--method .split-media { position: sticky; top: calc(var(--header) + 40px); }
.steps { display: grid; }
.step { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 20px; padding-block: 26px; border-top: 1px solid rgba(255, 255, 255, .14); }
.step:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.step-num { font: 700 30px/1.1 var(--font-d); color: var(--accent-l); }
.step h3 { margin-bottom: 6px; font-size: 21px; color: #fff; }
.step p { font-size: 16px; color: rgba(255, 255, 255, .74); }
.delivered { margin-top: 34px; font-weight: 600; color: #fff; }
@media (max-width: 960px) { .sec--method .split-media { position: static; } }

/* ── photo bands (numbers, outlook, banners) ──────────────────── */
.capacity-band, .sec--photo, .banner-photo, .proof-band, .quote-band { position: relative; overflow: hidden; color: #fff; background: var(--deep); }
.band-bg { position: absolute; inset: -14% 0; margin: 0; }
.band-bg img { width: 100%; height: 100%; object-fit: cover; }
.band-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 22, 56, .9), rgba(14, 22, 56, .82) 50%, rgba(14, 22, 56, .94)); }
.band-in { position: relative; z-index: 1; }
.capacity-band { padding-block: var(--sec); }
.capacity-band .sh-title, .sec--photo .sh-title { color: #fff; }
.capacity { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .16); }
.stat { grid-column: span 4; display: flex; flex-direction: column; gap: 10px; padding: 32px 26px; background: rgba(14, 22, 56, .62); backdrop-filter: blur(3px); }
.stat:nth-child(n+6) { grid-column: span 5; }
.stat-num { font: 700 clamp(34px, 3.6vw, 54px)/1 var(--font-d); letter-spacing: -.02em; color: #fff; }
html[dir="rtl"] .stat-num { text-align: end; }
.stat--lead .stat-num { color: var(--accent-l); }
.stat-label { font-size: 14.5px; line-height: 1.45; color: rgba(255, 255, 255, .74); }
@media (max-width: 1024px) { .capacity { grid-template-columns: repeat(3, minmax(0, 1fr)); } .stat, .stat:nth-child(n+6) { grid-column: auto; } }
@media (max-width: 560px) { .capacity { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:last-child { grid-column: 1 / -1; } .stat { padding: 24px 18px; } }

.outlook { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.outlook-item { padding-top: 26px; border-top: 2px solid rgba(255, 255, 255, .35); }
.outlook-item h3 { margin-bottom: 10px; font-size: 24px; }
.outlook-item p { font-size: 16.5px; color: rgba(255, 255, 255, .78); }
.outlook-closing { margin-top: 48px; font: 500 italic 19px/1.6 var(--font); color: rgba(255, 255, 255, .85); }
@media (max-width: 900px) { .outlook { grid-template-columns: 1fr; } }

.banner-photo { padding-block: clamp(100px, 14vw, 190px); text-align: center; }
.banner-photo .band-bg::after { background: linear-gradient(180deg, rgba(14, 22, 56, .72), rgba(29, 44, 102, .82)); }
.banner-text { position: relative; z-index: 1; font: 700 clamp(36px, 6.4vw, 92px)/1.1 var(--font-d); letter-spacing: -.02em; }
html[lang="ar"] .banner-text { line-height: 1.35; letter-spacing: 0; }

/* ── why ──────────────────────────────────────────────────────── */
.why-list { display: grid; }
.why-list li { padding-block: 24px; border-top: 1px solid var(--line); }
.why-list li:last-child { border-bottom: 1px solid var(--line); }
.why-list h3 { margin-bottom: 8px; font-size: 22px; }
.why-list p { color: var(--text-m); }
.statement { margin-top: clamp(56px, 7vw, 96px); max-width: 26ch; font: 700 clamp(28px, 3.6vw, 50px)/1.25 var(--font-d); letter-spacing: -.01em; color: var(--navy); }
.statement::before { content: "“"; display: block; height: .55em; font-size: 2.2em; line-height: 1; color: var(--accent); }
html[lang="ar"] .statement { line-height: 1.5; letter-spacing: 0; }
html[lang="ar"] .statement::before { content: "”"; }

/* ── CEO ──────────────────────────────────────────────────────── */
.ceo-quote { display: grid; gap: 18px; }
.ceo-closing { font: 700 clamp(26px, 3vw, 40px)/1.3 var(--font-d); color: var(--navy); }
.ceo-quote > p:not(.ceo-closing) { font-size: 17.5px; color: var(--text-m); max-width: 62ch; }
.ceo-quote footer { display: grid; gap: 2px; margin-top: 6px; }
.ceo-quote footer b { font: 700 19px var(--font-d); color: var(--navy); }
.ceo-quote footer span { font-size: 14.5px; color: var(--text-m); }
.ceo .ceo-closing { margin-top: 30px; }

/* ── clients ──────────────────────────────────────────────────── */
.chips-title { margin-bottom: 14px; font-weight: 600; color: var(--navy); }
.chips, .filter { display: flex; flex-wrap: wrap; gap: 8px; }
.split--head .split-side { max-width: 520px; }
.filter { margin-bottom: 20px; }
.chip { display: inline-flex; align-items: center; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 500; color: var(--text); cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.chip:hover { border-color: var(--navy); }
.chip.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.marquee { direction: ltr; display: grid; gap: 14px; margin-block: 56px 44px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-row { display: flex; width: max-content; animation: marquee 90s linear infinite; }
.marquee-row--rev { animation-direction: reverse; animation-duration: 100s; }
.marquee:hover .marquee-row, .marquee:focus-within .marquee-row { animation-play-state: paused; }
.marquee-track { display: flex; gap: 14px; padding-inline-end: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-tile { flex: none; display: grid; place-items: center; width: 176px; height: 100px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); transition: border-color .25s; }
.logo-tile:hover { border-color: var(--navy); }
.logo-tile img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .35s, opacity .35s; }
.logo-tile:hover img { filter: none; opacity: 1; }
@media (hover: none) { .logo-tile img { filter: none; opacity: 1; } }
.logo-tile--text span { font-size: 13px; font-weight: 600; text-align: center; color: var(--navy); }
.sectors { display: grid; }
.sector { padding-block: 34px; border-top: 1px solid var(--line); }
.sector[hidden] { display: none; }
.sector-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; }
.sector-head h3 { font-size: 24px; }
.sector-count { font: 700 14px var(--font-d); color: var(--accent); }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(156px, 1fr)); gap: 12px; }
.logo-grid .logo-tile { width: auto; height: 108px; }
.logo-grid .logo-tile img { max-height: 72px; }
.partners { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.partner { display: grid; place-items: center; min-height: 170px; padding: 26px; background: #fff; border: 1px solid var(--line); transition: border-color .25s; }
.partner:hover { border-color: var(--navy); }
.partner img { width: 100%; height: 110px; object-fit: contain; }
.partner-initials { display: grid; place-items: center; width: 90px; height: 104px; clip-path: var(--hex); background: var(--navy); color: #fff; font: 700 26px var(--font-d); }
.partner-name { font-size: 13.5px; color: var(--text-m); }
@media (max-width: 900px) { .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── CTA ──────────────────────────────────────────────────────── */
.cta { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.cta-photo { position: absolute; inset-block: 0; inset-inline-end: 0; width: 46%; }
.cta-photo figure { position: absolute; inset: 0; margin: 0; overflow: hidden; }
.cta-photo img { width: 100%; height: 100%; object-fit: cover; }
.cta-photo figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--shade-dir), var(--navy) 0%, rgba(29, 44, 102, .35) 40%, rgba(29, 44, 102, .2) 100%); }
.cta-hex { position: absolute; z-index: 2; width: 150px; aspect-ratio: .866; top: 18%; inset-inline-start: -75px; background: var(--accent); clip-path: var(--hex); }
.cta-in { position: relative; z-index: 3; padding-block: clamp(80px, 10vw, 140px); }
.cta-text { max-width: 560px; }
.cta h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1.15; color: #fff; }
html[lang="ar"] .cta h2 { line-height: 1.4; }
.cta-text > p:not(.sh-label) { margin-top: 18px; font-size: 18.5px; color: rgba(255, 255, 255, .8); }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 36px; }
.cta-line { font-weight: 600; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .35); padding-bottom: 2px; transition: border-color .2s; }
.cta-line:hover { border-color: #fff; }
@media (max-width: 960px) {
  .cta-photo { width: 100%; opacity: .35; }
  .cta-hex { display: none; }
}

/* ── about page ───────────────────────────────────────────────── */
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.timeline::before { content: ""; position: absolute; top: 78px; inset-inline: 0; height: 2px; background: var(--navy); transform-origin: left; }
html[dir="rtl"] .timeline::before { transform-origin: right; }
.js .timeline::before { transform: scaleX(0); transition: transform 2.2s var(--ease-io) .2s; }
.js .timeline.is-in::before { transform: scaleX(1); }
.tl-year { display: block; font: 700 clamp(30px, 3vw, 42px)/1.2 var(--font-d); color: var(--navy); }
.tl-marker { position: relative; display: block; width: 26px; height: 30px; margin-block: 12px 22px; background: var(--navy); clip-path: var(--hex); }
.tl-item--future .tl-marker { clip-path: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 34'%3E%3Cpolygon points='15,1.5 28.5,9 28.5,25 15,32.5 1.5,25 1.5,9' fill='%23EEF1F8' stroke='%233A63D8' stroke-width='1.6' stroke-dasharray='3 2.4'/%3E%3C/svg%3E") no-repeat center / contain; }
.tl-item--future .tl-year { color: var(--accent); }
.tl-body h3 { margin-bottom: 10px; font-size: 20px; }
.tl-body p { font-size: 15px; color: var(--text-m); }
@media (max-width: 1024px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { top: 0; bottom: 0; width: 2px; height: auto; inset-inline: 12px auto; transform-origin: top !important; }
  .js .timeline::before { transform: scaleY(0); }
  .js .timeline.is-in::before { transform: scaleY(1); }
  .tl-item { display: grid; grid-template-columns: 26px 1fr; column-gap: 22px; padding-bottom: 28px; }
  .tl-marker { grid-row: 1 / span 2; margin: 6px 0 0; }
  .tl-body { margin-top: 6px; }
}
.direction { display: grid; }
.dir-row { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; padding-block: 36px; border-top: 1px solid var(--line); }
.dir-row:last-child { border-bottom: 1px solid var(--line); }
.dir-row h3 { font-size: 26px; }
.dir-row p { font-size: 18px; color: var(--text-m); max-width: 70ch; }
.dir-row--lead p { font: 600 clamp(21px, 2.3vw, 30px)/1.5 var(--font-d); color: var(--navy); }
@media (max-width: 820px) { .dir-row { grid-template-columns: 1fr; gap: 12px; padding-block: 26px; } }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 36px; }
.principle { display: grid; align-content: start; gap: 12px; padding-top: 24px; border-top: 2px solid var(--navy); }
.principle-num { font: 800 56px/1 var(--font-display-en), sans-serif; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.4px var(--accent); }
.principle h3 { font-size: 21px; }
.principle p { color: var(--text-m); }
@media (max-width: 1024px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .principles { grid-template-columns: 1fr; } }

/* ── why page ─────────────────────────────────────────────────── */
.compare { overflow: hidden; border: 1px solid var(--line); }
.compare-row { display: grid; grid-template-columns: minmax(150px, .7fr) minmax(0, 1fr) minmax(0, 1.25fr); }
.compare-row > span { padding: 20px 24px; border-top: 1px solid var(--line); }
.compare-row--head > span { border-top: 0; background: var(--mist); font-size: 14px; font-weight: 600; color: var(--text-m); }
.compare-crit { background: var(--mist); font-weight: 600; color: var(--navy); }
.compare-market { color: var(--text-m); }
.compare-head { display: flex; align-items: flex-start; gap: 10px; background: var(--navy) !important; border-top-color: rgba(255, 255, 255, .12) !important; color: #fff !important; font-weight: 500; }
.compare-head svg { width: 18px; height: 18px; margin-top: 5px; color: var(--accent-l); }
@media (max-width: 760px) {
  .compare-row { grid-template-columns: 1fr; border-top: 1px solid var(--line); }
  .compare-row--head { display: none; }
  .compare-row > span { border-top: 0; padding: 12px 18px; }
  .compare-crit { padding-top: 18px !important; }
  .compare-market::before, .compare-head::before { content: attr(data-label); display: block; margin-bottom: 4px; font-size: 12px; font-weight: 600; opacity: .7; }
  .compare-head { display: block; }
  .compare-head svg { display: none; }
}
.value-groups { display: grid; }
.value-group { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 48px; padding-block: 34px; border-top: 1px solid var(--line); }
.value-group:last-child { border-bottom: 1px solid var(--line); }
.value-group h3 { font-size: 24px; }
@media (max-width: 820px) { .value-group { grid-template-columns: 1fr; gap: 18px; } }
.reach { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.reach-item { width: 100%; max-width: 240px; justify-self: center; }
.reach-hex { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; aspect-ratio: .866; padding: 20px; text-align: center; clip-path: var(--hex); background: var(--navy-2); }
.reach-item:nth-child(even) .reach-hex { background: var(--accent); }
.reach-num { font: 700 clamp(32px, 3.6vw, 50px)/1 var(--font-d); color: #fff; }
.reach-label { font-size: 15px; color: rgba(255, 255, 255, .86); }
.reach-note { margin-top: 44px; text-align: center; font-size: 19px; color: rgba(255, 255, 255, .86); }
@media (max-width: 820px) { .reach { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── services page ────────────────────────────────────────────── */
.laws { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.law { display: flex; flex-direction: column; padding: 28px 22px; background: #fff; transition: background-color .3s, color .3s; }
.law:hover { background: var(--navy); color: #fff; }
.law-no { font: 700 clamp(40px, 4vw, 58px)/1 var(--font-d); letter-spacing: -.02em; color: var(--navy); transition: color .3s; }
.law:hover .law-no { color: #fff; }
html[dir="rtl"] .law-no { text-align: end; }
.law-year { margin-top: 6px; font-size: 13.5px; color: var(--text-m); }
.law:hover .law-year { color: rgba(255, 255, 255, .7); }
.law-name { margin-top: 18px; font-size: 15.5px; font-weight: 600; line-height: 1.45; }
@media (max-width: 1024px) { .laws { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .laws { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── practice pages ───────────────────────────────────────────── */
.highlight { margin-top: 18px; padding: 34px 38px; background: var(--navy); color: #fff; border-inline-start: 4px solid var(--accent); }
.highlight h3 { margin-bottom: 8px; font-size: 22px; color: #fff; }
.highlight p { color: rgba(255, 255, 255, .84); }
.areas { background: #fff; border-top: 2px solid var(--navy); }
.area { display: grid; grid-template-columns: 54px minmax(180px, 290px) minmax(0, 1fr); gap: 22px; align-items: baseline; padding: 20px 26px; border-bottom: 1px solid var(--line); }
.area-num { font: 700 22px var(--font-d); color: var(--accent); }
.area h3 { font-size: 17px; }
.area p { font-size: 15.5px; color: var(--text-m); }
@media (max-width: 820px) { .area { grid-template-columns: 40px minmax(0, 1fr); row-gap: 4px; } .area p { grid-column: 2; } }
.risk-wrap { margin-top: 56px; }
.mini-steps, .risk { display: grid; gap: 1px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .14); }
.mini-steps li { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: var(--deep); color: #fff; }
.mini-steps span { font: 700 18px var(--font-d); color: var(--accent-l); }
.risk li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px 20px; background: var(--deep); color: rgba(255, 255, 255, .86); }
.risk b { display: flex; align-items: center; gap: 10px; color: #fff; }
.risk b::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.risk-high { --c: #E5484D; } .risk-medium { --c: #F5A524; } .risk-low { --c: #30A46C; }
.tracks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.track { position: relative; padding: 38px 34px; background: #fff; border-top: 3px solid var(--navy); overflow: hidden; }
.track-num { position: absolute; top: -10px; inset-inline-end: 18px; font: 800 120px/1 var(--font-display-en), sans-serif; color: transparent; -webkit-text-stroke: 1.4px rgba(29, 44, 102, .14); }
.track h3 { position: relative; margin-bottom: 20px; font-size: 21px; }
@media (max-width: 820px) { .tracks { grid-template-columns: 1fr; } }
.other-practices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.other-practices a { position: relative; display: grid; align-content: end; gap: 4px; min-height: 150px; padding: 18px 20px; overflow: hidden; background: var(--navy); color: #fff; isolation: isolate; }
.op-img { position: absolute; inset: 0; z-index: -1; }
.op-img img { width: 100%; height: 100%; object-fit: cover; opacity: .35; transition: opacity .4s, transform 1s var(--ease); }
.other-practices a:hover .op-img img { opacity: .55; transform: scale(1.06); }
.other-practices a.is-current { outline: 3px solid var(--accent); outline-offset: -3px; }
.other-practices a.is-current .op-img img { opacity: .15; }
.op-num { font: 700 13px var(--font-d); color: var(--accent-l); }
.op-title { font: 600 16px/1.35 var(--font-d); }
@media (max-width: 1024px) { .other-practices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .other-practices { grid-template-columns: 1fr; } }

/* ── quality & team ───────────────────────────────────────────── */
.stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.stage { position: relative; padding: 40px 34px; background: var(--mist); overflow: hidden; }
.stage-num { position: absolute; top: -18px; inset-inline-end: 14px; font: 800 150px/1 var(--font-display-en), sans-serif; color: transparent; -webkit-text-stroke: 1.5px rgba(29, 44, 102, .16); }
.stage h3 { position: relative; margin-bottom: 22px; font-size: 26px; }
.stage .ticks { position: relative; }
@media (max-width: 900px) { .stages { grid-template-columns: 1fr; } }
.proof-band { padding-block: clamp(90px, 12vw, 160px); }
.proof { position: relative; z-index: 1; display: flex; align-items: center; gap: clamp(28px, 5vw, 70px); }
.proof-num { font: 800 clamp(80px, 13vw, 190px)/.9 var(--font-d); letter-spacing: -.04em; color: #fff; }
.proof p { max-width: 36ch; font: 600 clamp(20px, 2.2vw, 28px)/1.5 var(--font-d); color: rgba(255, 255, 255, .9); }
@media (max-width: 760px) { .proof { flex-direction: column; align-items: flex-start; } }
.ladder { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; align-items: end; margin-bottom: 56px; }
.ladder li { display: flex; align-items: flex-end; justify-content: center; min-height: calc(64px + var(--i, 0) * 16px); padding: 16px 10px; background: #fff; border-top: 3px solid var(--navy); text-align: center; font-weight: 600; color: var(--navy); transform-origin: bottom; }
.js .ladder li { transform: scaleY(0); transition: transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
.js .ladder.is-in li { transform: none; }
.ladder li.is-senior { background: var(--navy); border-top-color: var(--accent); color: #fff; }
@media (max-width: 820px) { .ladder { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ladder li { min-height: 0; align-items: center; } }

/* ── social responsibility ────────────────────────────────────── */
.quote-band { margin-bottom: clamp(56px, 7vw, 96px); padding-block: clamp(80px, 11vw, 150px); }
.quote { position: relative; z-index: 1; max-width: 30ch; font: 700 clamp(26px, 3.4vw, 46px)/1.35 var(--font-d); color: #fff; }
.quote::before { content: "“"; display: block; height: .55em; font-size: 2.2em; line-height: 1; color: var(--accent-l); }
html[lang="ar"] .quote { line-height: 1.6; }
html[lang="ar"] .quote::before { content: "”"; }
.goals { display: grid; margin-bottom: 64px; }
.goals li { position: relative; padding-block: 20px; padding-inline-start: 34px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 18px; color: #fff; }
.goals li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.goals li::before { content: ""; position: absolute; inset-inline-start: 0; top: calc(20px + .55em); width: 13px; height: 15px; background: var(--accent); clip-path: var(--hex); }
.sdgs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.sdgs li { display: flex; flex-direction: column; gap: 12px; min-height: 170px; padding: 20px 18px; background: var(--sdg); color: #fff; transition: transform .35s var(--ease); }
.sdgs li:hover { transform: translateY(-6px); }
.sdg-num { font: 800 40px/1 var(--font-display-en), sans-serif; }
html[dir="rtl"] .sdg-num { text-align: end; }
.sdg-name { font-size: 15px; font-weight: 600; line-height: 1.4; }
@media (max-width: 1024px) { .sdgs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sdgs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── contact ──────────────────────────────────────────────────── */
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-card { display: grid; gap: 8px; height: 100%; padding: 34px 30px; background: #fff; transition: background-color .3s, color .3s; }
.contact-card:hover { background: var(--navy); }
.cc-label { font-size: 14px; color: var(--text-m); transition: color .3s; }
.cc-value { font: 700 clamp(20px, 2vw, 26px) var(--font-d); color: var(--navy); transition: color .3s; }
.contact-card:hover .cc-label { color: rgba(255, 255, 255, .7); }
.contact-card:hover .cc-value { color: #fff; }
.address-bar { margin-top: 1px; padding: 22px 30px; background: var(--navy); color: #fff; font-size: 17px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; margin-top: 56px; }
.form-card { padding: 38px; border: 1px solid var(--line); border-top: 3px solid var(--navy); }
.form-title { font-size: 26px; }
.form-sub { margin-top: 6px; color: var(--text-m); }
#contactForm { display: grid; gap: 16px; margin-top: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 2px; background: #fff; color: var(--text); font: 400 15.5px/1.5 var(--font), sans-serif; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(58, 99, 216, .18); }
.map-card { min-height: 460px; overflow: hidden; background: var(--mist); }
.map-card iframe { display: block; width: 100%; height: 100%; min-height: 460px; border: 0; filter: grayscale(.4) contrast(1.05); }
@media (max-width: 900px) { .contact-grid, .form-row, .contact-cards { grid-template-columns: 1fr; } .form-card { padding: 26px; } }

/* ── footer ───────────────────────────────────────────────────── */
.site-footer { background: var(--deep); color: rgba(255, 255, 255, .72); font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.35fr .9fr 1.3fr 1.25fr; gap: 44px; padding-block: 84px 52px; }
.footer-logo { display: inline-flex; padding: 16px 22px; background: #fff; }
.footer-logo img { height: 44px; width: auto; }
.footer-logo b { font: 700 28px var(--font-d); color: #fff; }
.footer-name { margin-top: 22px; font-weight: 600; color: #fff; }
.footer-tagline { margin-top: 6px; }
.footer-strap { margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, .5); }
.footer-col h2 { margin-bottom: 20px; font-size: 15.5px; color: #fff; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact svg { width: 17px; height: 17px; margin-top: 4px; color: var(--accent-l); }
.footer-social { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.social-link { font-size: 14px; font-weight: 600; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; color: rgba(255, 255, 255, .5); }
@media (max-width: 1024px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-top { grid-template-columns: 1fr; gap: 34px; padding-block: 60px 36px; } }

/* ── toast ────────────────────────────────────────────────────── */
.toast { position: fixed; inset-inline-start: 50%; bottom: 24px; z-index: 120; padding: 14px 22px; background: var(--navy); color: #fff; font-weight: 600; box-shadow: 0 20px 40px rgba(14, 22, 56, .25); transform: translate(-50%, 140%); opacity: 0; visibility: hidden; transition: transform .3s, opacity .3s, visibility .3s; pointer-events: none; }
html[dir="rtl"] .toast { transform: translate(50%, 140%); }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
html[dir="rtl"] .toast.show { transform: translate(50%, 0); }

/* ── reduced motion & print ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv, .js .rv-img img { opacity: 1; transform: none; clip-path: none; }
  .js .draw svg { opacity: 1; transform: none; }
  .js .timeline::before, .js .ladder li { transform: none; }
  [data-depth] { translate: none; }
  .marquee { overflow-x: auto; padding-inline: var(--gutter); -webkit-mask-image: none; mask-image: none; }
  .marquee-track[aria-hidden="true"] { display: none; }
}
@media print {
  .site-header, .drawer, .hero-controls, .cta, .site-footer, .map-card, .form-card, .hero-deco, .hero-photo, .page-hero-photo, .band-bg { display: none !important; }
  .hero, .page-hero, .sec--deep, .sec--photo, .capacity-band { background: #fff !important; color: #000 !important; }
}
