/* Abnia Consulting Engineers — main stylesheet (AR/RTL + EN/LTR) */
:root {
  --ink: #0b1018;
  --ink-2: #121a27;
  --paper: #f4efe7;
  --paper-2: #ebe3d6;
  --stone: #8f8676;
  --text-dark: #1b1f27;
  --muted-dark: #5b5852;
  --gold: #c3a067;
  --gold-2: #e6cd9c;
  --line-light: rgba(255, 255, 255, .18);
  --line-dark: rgba(20, 24, 33, .14);
  --serif-en: "Alexandria", "Hanken Grotesk", system-ui, sans-serif;
  --serif-ar: "Alexandria", "IBM Plex Sans Arabic", sans-serif;
  --sans-en: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --sans-ar: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --pad: clamp(20px, 4vw, 64px);
  --maxw: 1360px;
  /* strong curves: UI responds instantly, on-screen moves feel physical */
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
}
html[lang="ar"] { --serif: var(--serif-ar); --sans: var(--sans-ar); --display-lh: 1.32; --track: 0; }
html[lang="en"] { --serif: var(--serif-en); --sans: var(--sans-en); --display-lh: 1.04; --track: .14em; }
html[lang="ar"] [data-l="en"], html[lang="en"] [data-l="ar"] { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: #fff; font-family: var(--sans); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html[lang="ar"] body { font-size: 17.5px; line-height: 1.95; font-weight: 300; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--ink); }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@view-transition { navigation: auto; }

/* ---------- type ---------- */
.label { font-family: var(--mono); font-size: 11.5px; letter-spacing: var(--track); text-transform: uppercase; line-height: 1.6; font-weight: 500; opacity: .8; }
html[lang="ar"] .label { font-family: var(--sans-ar); font-size: 13.5px; letter-spacing: 0; text-transform: none; }
.display { font-family: var(--serif); font-weight: 700; line-height: var(--display-lh); font-size: clamp(3rem, 6.6vw, 7rem); letter-spacing: -.035em; margin: 0; }
html[lang="ar"] .display { font-weight: 700; font-size: clamp(2.8rem, 6.2vw, 6.4rem); letter-spacing: 0; }
.h2 { font-family: var(--serif); font-weight: 700; line-height: var(--display-lh); font-size: clamp(2.2rem, 4.2vw, 4.2rem); margin: 0; letter-spacing: -.03em; }
html[lang="ar"] .h2 { font-weight: 700; font-size: clamp(2.2rem, 4vw, 4rem); letter-spacing: 0; }
.h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.7rem, 2.4vw, 2.3rem); line-height: 1.15; margin: 0; }
html[lang="ar"] .h3 { font-weight: 700; line-height: 1.45; }
.lede { font-size: clamp(1.02rem, 1.2vw, 1.15rem); max-width: 34em; opacity: .84; margin: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { position: relative; padding-block: clamp(90px, 12vw, 170px); }
.section--paper { background: var(--paper); color: var(--text-dark); }
.section--sand { background: var(--paper-2); color: var(--text-dark); }
.section--ink { background: var(--ink); color: #fff; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.section-head .label { grid-column: 1 / -1; }
.section--paper .lede, .section--sand .lede { color: var(--muted-dark); opacity: 1; }

/* ---------- buttons: instant feedback on press ---------- */
.btn {
  --b: rgba(255, 255, 255, .38);
  display: inline-flex; align-items: center; gap: 12px; height: 50px; padding-inline: 24px;
  border: 1px solid var(--b); border-radius: 999px; font-size: 14px; font-weight: 500; letter-spacing: .01em; white-space: nowrap;
  transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out), border-color 200ms var(--ease-out), transform 160ms var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn--solid { background: var(--gold-2); color: var(--ink); border-color: var(--gold-2); }
.btn--dark { --b: rgba(20, 24, 33, .28); color: var(--text-dark); }
.btn .arrow { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
html[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: #fff; color: var(--ink); border-color: #fff; }
  .btn--dark:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
  .btn:hover .arrow { transform: translateX(3px); }
  html[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(3px); }
}

/* ---------- header ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 50; height: 84px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-inline: var(--pad);
  border-bottom: 1px solid transparent;
  transition: background-color 250ms var(--ease-out), color 250ms var(--ease-out), border-color 250ms var(--ease-out);
}
.site-header.is-solid { background: rgba(11, 16, 24, .78); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); border-bottom-color: rgba(255, 255, 255, .08); }
.site-header.is-light { background: rgba(244, 239, 231, .92); color: var(--text-dark); -webkit-backdrop-filter: blur(18px) saturate(1.15); backdrop-filter: blur(18px) saturate(1.15); border-bottom-color: var(--line-dark); }
.site-header.is-light.is-clear { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-progress { position: absolute; inset-inline: 0; bottom: 0; height: 2px; pointer-events: none; opacity: 0; transition: opacity 220ms var(--ease-out); }
.site-header.has-progress .site-progress { opacity: 1; }
.site-progress i { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transform-origin: left; transform: scaleX(0); }
html[dir="rtl"] .site-progress i { transform-origin: right; background: linear-gradient(270deg, var(--gold), var(--gold-2)); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }
.brand .logo-dark { display: none; }
.site-header.is-light .brand .logo-light { display: none; }
.site-header.is-light .brand .logo-dark { display: block; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); font-size: 14px; }
.nav a { position: relative; opacity: .84; padding-block: 6px; transition: opacity 200ms var(--ease-out); }
.nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 250ms var(--ease-out); }
html[dir="rtl"] .nav a::after { transform-origin: right; }
.nav a[aria-current="page"] { opacity: 1; }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .nav a:hover { opacity: 1; } .nav a:hover::after { transform: scaleX(1); } }
html[lang="en"] .nav a { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 500; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle { height: 40px; min-width: 40px; padding-inline: 12px; border-radius: 999px; border: 1px solid var(--line-light); font-size: 13px; font-weight: 600; transition: transform 160ms var(--ease-out), border-color 200ms var(--ease-out); }
.lang-toggle:active, .menu-btn:active { transform: scale(.95); }
.site-header.is-light .lang-toggle { border-color: var(--line-dark); }
.site-header .btn { height: 42px; font-size: 13px; padding-inline: 18px; }
.site-header.is-light .btn { --b: rgba(20, 24, 33, .3); }
@media (hover: hover) and (pointer: fine) { .site-header.is-light .btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); } }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-light); place-items: center; transition: transform 160ms var(--ease-out); }
.menu-btn span { display: block; width: 16px; height: 1.5px; background: currentColor; box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor; }

/* ---------- STORY: scroll-scrubbed film ---------- */
.story { position: relative; height: 760vh; background: #cdb89c; }
.story__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #cdb89c; }
.film-poster, .film { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.film-poster { object-fit: cover; }
.film { opacity: 0; transition: opacity 400ms var(--ease-out); will-change: transform, filter; transform-origin: 50% 55%; }
.story.is-ready .film { opacity: 1; }
.story__top { position: absolute; inset: 0 0 auto 0; height: 180px; pointer-events: none; background: linear-gradient(180deg, rgba(10, 12, 18, .48), rgba(10, 12, 18, 0)); }
.story__veil { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(90deg, rgba(11, 14, 20, .82) 0%, rgba(11, 14, 20, .58) 38%, rgba(11, 14, 20, .18) 60%, rgba(11, 14, 20, 0) 76%); }
html[dir="rtl"] .story__veil { background: linear-gradient(270deg, rgba(11, 14, 20, .82) 0%, rgba(11, 14, 20, .58) 38%, rgba(11, 14, 20, .18) 60%, rgba(11, 14, 20, 0) 76%); }
.story__shade { position: absolute; inset: auto 0 0 0; height: 26%; pointer-events: none; background: linear-gradient(0deg, rgba(10, 12, 18, .55), rgba(10, 12, 18, 0)); }

.copy { position: absolute; inset-inline-start: var(--pad); top: 50%; width: min(500px, 86vw); pointer-events: none; opacity: 0; transform: translate3d(0, calc(-50% + var(--y, 0px)), 0); }
.copy .num { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; }
.copy .num::after { content: ""; width: 56px; height: 1px; background: currentColor; opacity: .5; }
.copy .h2 { font-size: clamp(2.6rem, 4.5vw, 4.6rem); margin-bottom: 22px; text-shadow: 0 2px 32px rgba(10, 8, 6, .45); }
.copy p { margin: 0; font-size: 16.5px; max-width: 30em; opacity: .95; text-shadow: 0 1px 18px rgba(10, 8, 6, .5); }
html[lang="ar"] .copy p { font-size: 17px; }
.copy .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; padding: 6px 12px; background: rgba(12, 12, 14, .22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
html[lang="ar"] .chip { font-family: var(--sans-ar); text-transform: none; letter-spacing: 0; font-size: 12.5px; }

/* the title card, as in the reference: name only, set in a serif, over the clouds */
.hero { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding-inline: var(--pad); pointer-events: none; transform: translate3d(0, var(--y, 0px), 0); }
.hero .display { font-size: clamp(3.6rem, 8.4vw, 9rem); text-shadow: 0 2px 50px rgba(40, 28, 16, .28); }
html[lang="ar"] .hero .display { font-size: clamp(3.2rem, 7vw, 7.6rem); }
.hero .display span { display: block; }
.hero .label { margin-bottom: 26px; }
.hero .meta { position: absolute; inset-inline-end: var(--pad); bottom: 40px; text-align: end; }
.story:not(.is-ready) .hero .label,
.story:not(.is-ready) .hero .meta,
.story:not(.is-ready) .scroll-cue { opacity: 0; }
.story:not(.is-ready) .hero .display span { opacity: 0; transform: translate3d(0, 18px, 0); clip-path: inset(0 0 100% 0); }
.story.is-ready .hero .label { animation: heroFade 650ms var(--ease-out) 60ms both; }
.story.is-ready .hero .display span { animation: heroLine 820ms var(--ease-out) 140ms both; }
.story.is-ready .hero .display span:nth-of-type(2),
.story.is-ready .hero .display span:nth-of-type(4) { animation-delay: 230ms; }
.story.is-ready .hero .meta { animation: heroFade 650ms var(--ease-out) 340ms both; }
.story.is-ready .scroll-cue { animation: heroFade 650ms var(--ease-out) 420ms both; }
@keyframes heroFade { from { opacity: 0; transform: translate3d(0, 10px, 0); } to { opacity: 1; transform: none; } }
@keyframes heroLine { from { opacity: 0; transform: translate3d(0, 18px, 0); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0% 0); } }
.scroll-cue { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; }
html[lang="ar"] .scroll-cue { font-family: var(--sans-ar); letter-spacing: 0; font-size: 12px; }
.scroll-cue i { width: 1px; height: 44px; background: linear-gradient(#fff, rgba(255, 255, 255, 0)); transform-origin: top; animation: cue 2.4s var(--ease-in-out) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* instrument readout + chapter index */
.hud { position: absolute; inset: 0; z-index: 7; pointer-events: none; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; opacity: 0; transition: opacity 400ms var(--ease-out); }
.story.hud-on .hud { opacity: 1; }
.hud__index { position: absolute; inset-inline-end: var(--pad); top: 50%; transform: translateY(-50%); transition: opacity 250ms var(--ease-out); pointer-events: auto; }
.hud__index ol { margin: 0; padding: 0; display: grid; gap: 10px; }
.hud__index li { list-style: none; display: flex; align-items: center; justify-content: flex-end; }
.hud__index button { display: inline-flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 4px 2px; opacity: .52; transition: opacity 200ms var(--ease-out), color 200ms var(--ease-out); text-transform: inherit; letter-spacing: inherit; }
.hud__index button::after { content: ""; width: 18px; height: 1px; background: currentColor; transform-origin: right; transition: transform 250ms var(--ease-out), background-color 250ms var(--ease-out); }
html[dir="rtl"] .hud__index button::after { transform-origin: left; }
.hud__index li.is-on button { opacity: 1; }
.hud__index li.is-on button::after { transform: scaleX(2.2); background: var(--gold-2); }
@media (hover: hover) and (pointer: fine) { .hud__index button:hover { opacity: .95; } }
html[lang="ar"] .hud__index button span { font-family: var(--sans-ar); letter-spacing: 0; font-size: 12px; text-transform: none; }
.story.explore-on .hud__index { opacity: 0; pointer-events: none; }
.hud__readout { position: absolute; inset-inline-start: var(--pad); bottom: 30px; display: flex; gap: 26px; direction: ltr; opacity: .88; }
html[dir="rtl"] .hud__readout { flex-direction: row-reverse; }
.hud__readout b { font-weight: 500; color: var(--gold-2); }
.story.on-site .hud__alt { display: none; }
.story__progress { position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, .12); }
.story__progress i { position: absolute; inset: 0; background: var(--gold-2); transform-origin: left; transform: scaleX(0); }
html[dir="rtl"] .story__progress i { transform-origin: right; }

/* survey overlay pinned to the real ground-control targets in the footage */
.svy { position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.svy svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.svy-line { stroke: rgba(255, 236, 200, .9); stroke-width: 1.2; vector-effect: non-scaling-stroke; fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; }
.svy-ring { fill: none; stroke: var(--gold-2); stroke-width: 1.4; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; animation: ring 2.4s var(--ease-out) infinite; }
.svy-ring:nth-of-type(2n) { animation-delay: .8s; }
.svy-dot { fill: #fff; }
@keyframes ring { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.4); opacity: 0; } }
.gcp { position: absolute; left: 0; top: 0; font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; line-height: 1.5; white-space: nowrap; direction: ltr; text-align: left; }
.gcp .tag { position: absolute; left: 18px; bottom: 14px; padding: 6px 9px; border-radius: 4px; background: rgba(12, 14, 20, .66); border: 1px solid rgba(230, 205, 156, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.gcp.flip .tag { left: auto; right: 18px; }
.gcp .tag b { color: var(--gold-2); font-weight: 500; }
.gcp::before { content: ""; position: absolute; left: 4px; bottom: 4px; width: 14px; height: 1px; background: rgba(230, 205, 156, .8); transform: rotate(-38deg); transform-origin: left; }
.gcp.flip::before { left: auto; right: 4px; transform: rotate(38deg); transform-origin: right; }

/* level picker over the finished tower (the reference's "explore residences") */
.lv-layer { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.story.explore-on .lv-layer { pointer-events: auto; }
.lv-layer svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lv-band { fill: rgba(255, 226, 172, 0); stroke: rgba(255, 238, 205, 0); stroke-width: 1.2; vector-effect: non-scaling-stroke; cursor: pointer; transition: fill 200ms var(--ease-out), stroke 200ms var(--ease-out); }
.lv-band.is-on { fill: rgba(255, 222, 160, .3); stroke: rgba(255, 244, 220, 1); filter: drop-shadow(0 0 10px rgba(255, 214, 150, .55)); }
@media (hover: hover) and (pointer: fine) { .lv-band:not(.is-on):hover { fill: rgba(255, 226, 172, .1); } }
.lv-label { position: absolute; left: 0; top: 0; pointer-events: none; transition: transform 250ms var(--ease-out); }
.lv-label .ln { position: absolute; top: 0; left: 10px; width: var(--len); height: 1px; background: linear-gradient(90deg, rgba(255, 240, 210, .95), rgba(255, 240, 210, .25)); }
html[dir="rtl"] .lv-label .ln { left: calc(-10px - var(--len)); background: linear-gradient(270deg, rgba(255, 240, 210, .95), rgba(255, 240, 210, .25)); }
.lv-label .nm { position: absolute; bottom: 8px; left: 10px; width: var(--len); text-align: end; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .45); white-space: nowrap; }
html[dir="rtl"] .lv-label .nm { left: calc(-10px - var(--len)); }
html[lang="ar"] .lv-label .nm { font-family: var(--sans-ar); letter-spacing: 0; text-transform: none; font-size: 14px; font-weight: 700; }
.lv-index { position: absolute; inset-inline-end: 20px; top: 0; margin: 0; padding: 0; list-style: none; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; }
.lv-index li { position: absolute; inset-inline-end: 0; transform: translateY(-50%); opacity: .5; transition: opacity 200ms var(--ease-out), color 200ms var(--ease-out); direction: ltr; }
.lv-index li.is-on { opacity: 1; color: var(--gold-2); }

.explore { position: absolute; inset-inline-start: var(--pad); top: 50%; width: min(420px, 88vw); opacity: 0; pointer-events: none; transform: translate3d(0, calc(-50% + var(--y, 0px)), 0); }
.story.explore-on .explore { pointer-events: auto; }
.explore .h2 { font-size: clamp(2.4rem, 3.6vw, 3.7rem); margin: 14px 0 8px; }
.explore .hint { opacity: .78; font-size: 14.5px; margin: 0 0 22px; }
.levels { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .22); }
.levels button { width: 100%; display: grid; grid-template-columns: 48px 1fr 16px; align-items: center; gap: 10px; padding: 11px 4px; border-bottom: 1px solid rgba(255, 255, 255, .22); text-align: start; transition: background-color 180ms var(--ease-out); }
.levels button .lv { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; opacity: .6; direction: ltr; text-align: start; transition: opacity 180ms var(--ease-out), color 180ms var(--ease-out); }
.levels button .nm { font-size: 15.5px; transition: transform 200ms var(--ease-out); }
.levels button .go { width: 14px; height: 14px; opacity: 0; transform: translateX(-4px); transition: opacity 180ms var(--ease-out), transform 200ms var(--ease-out); }
html[dir="rtl"] .levels button .go { transform: scaleX(-1) translateX(-4px); }
.levels button:active { background-color: rgba(255, 255, 255, .08); }
.levels button.is-on { background-color: rgba(230, 205, 156, .14); }
.levels button.is-on .lv { opacity: 1; color: var(--gold-2); }
.levels button.is-on .nm { transform: translateX(6px); }
html[dir="rtl"] .levels button.is-on .nm { transform: translateX(-6px); }
.levels button.is-on .go { opacity: 1; transform: none; }
html[dir="rtl"] .levels button.is-on .go { transform: scaleX(-1); }
.level-card { margin-top: 22px; min-height: 150px; }
.level-card .t { font-family: var(--serif); font-size: 1.9rem; line-height: 1.15; margin: 0 0 8px; }
html[lang="ar"] .level-card .t { font-weight: 700; line-height: 1.5; }
.level-card p { margin: 0 0 14px; opacity: .88; font-size: 15px; }
.level-card a { font-size: 13.5px; color: var(--gold-2); border-bottom: 1px solid rgba(230, 205, 156, .4); padding-bottom: 2px; }
.chips-levels { display: none; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.chips-levels button { border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; padding: 7px 12px; font-size: 12.5px; transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), transform 160ms var(--ease-out); }
.chips-levels button:active { transform: scale(.96); }
.chips-levels button.is-on { background: var(--gold-2); color: var(--ink); border-color: var(--gold-2); }

/* ---------- numbers ---------- */
.numbers-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.stat { padding-block: 36px 24px; padding-inline: 28px; border-inline-end: 1px solid var(--line-dark); }
.stat:first-child { padding-inline-start: 0; }
.stat:last-child { border-inline-end: 0; padding-inline-end: 0; }
.stat .n { font-family: var(--serif-en); font-weight: 700; font-size: clamp(3.6rem, 6.6vw, 6.4rem); line-height: 1; letter-spacing: -.045em; display: block; font-variant-numeric: tabular-nums; }
html[dir="rtl"] .stat .n { text-align: right; }
.stat .t { display: block; margin-top: 14px; color: var(--muted-dark); font-size: 15px; max-width: 16em; }

/* ---------- work: map + list ---------- */
.work-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.map { position: sticky; top: 110px; aspect-ratio: 1000 / 824; }
.map svg { width: 100%; height: 100%; overflow: visible; }
.map .land { fill: rgba(195, 160, 103, .12); stroke: rgba(27, 31, 39, .55); stroke-width: 1.1; vector-effect: non-scaling-stroke; }
.map .grat { stroke: rgba(27, 31, 39, .08); stroke-width: 1; vector-effect: non-scaling-stroke; }
.map .pin { cursor: pointer; transition: opacity 200ms var(--ease-out); }
.map .pin circle.core { fill: var(--ink); transition: fill 200ms var(--ease-out); }
.map .pin circle.halo { fill: rgba(195, 160, 103, .28); transform-box: fill-box; transform-origin: center; animation: halo 2.8s var(--ease-out) infinite; }
.map .pin text { font-family: var(--mono); font-size: 27px; letter-spacing: .06em; fill: var(--text-dark); text-transform: uppercase; paint-order: stroke; stroke: var(--paper); stroke-width: 6px; stroke-linejoin: round; }
html[lang="ar"] .map .pin text { font-family: var(--sans-ar); letter-spacing: 0; font-size: 32px; font-weight: 700; text-transform: none; }
.map .pin.is-on circle.core { fill: #a9813f; }
.map .pin.is-dim { opacity: .3; }
.map .hq circle { fill: none; stroke: var(--ink); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
@keyframes halo { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.map-legend { display: flex; gap: 22px; margin-top: 18px; color: var(--muted-dark); font-size: 13px; }
.proj-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.proj { position: relative; display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 6px 18px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line-dark); }
.proj::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(195, 160, 103, .16), rgba(195, 160, 103, 0)); opacity: 0; transition: opacity 200ms var(--ease-out); pointer-events: none; }
html[dir="rtl"] .proj::before { background: linear-gradient(270deg, rgba(195, 160, 103, .16), rgba(195, 160, 103, 0)); }
.proj.is-on::before { opacity: 1; }
.proj .yr { font-family: var(--mono); font-size: 12px; color: var(--muted-dark); direction: ltr; text-align: start; }
.proj .nm { font-family: var(--serif); font-size: clamp(1.45rem, 2vw, 1.85rem); line-height: 1.15; transition: transform 250ms var(--ease-out); }
html[lang="ar"] .proj .nm { font-weight: 700; line-height: 1.5; }
.proj.is-on .nm { transform: translateX(8px); }
html[dir="rtl"] .proj.is-on .nm { transform: translateX(-8px); }
.proj .cl { grid-column: 2; color: var(--muted-dark); font-size: 14px; }
.proj .sv { grid-column: 3; grid-row: 1 / span 2; align-self: center; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark); text-align: end; max-width: 12em; line-height: 1.5; }
html[lang="ar"] .proj .sv { font-family: var(--sans-ar); text-transform: none; letter-spacing: 0; font-size: 12.5px; }
.work-foot { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.preview { position: fixed; left: 0; top: 0; z-index: 40; width: 300px; aspect-ratio: 4 / 3; pointer-events: none; overflow: hidden; border-radius: 6px; opacity: 0; transform: translate(-50%, -50%) scale(.96); transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); box-shadow: 0 30px 60px rgba(12, 17, 27, .25); }
.preview.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.preview img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- clients marquee (constant motion: linear) ---------- */
.clients { overflow: hidden; padding-block: clamp(80px, 9vw, 130px); }
.clients-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 48px; }
.marquee { direction: ltr; display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee + .marquee { margin-top: 22px; }
.marquee__track { display: flex; flex: none; animation: marquee 60s linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 70s; }
@media (hover: hover) and (pointer: fine) { .marquee:hover .marquee__track { animation-play-state: paused; } }
.marquee__track span { unicode-bidi: plaintext; font-family: var(--serif); font-size: clamp(1.8rem, 3.2vw, 3.1rem); white-space: nowrap; padding-inline: 28px; display: inline-flex; align-items: center; gap: 56px; }
html[lang="ar"] .marquee__track span { font-weight: 700; }
.marquee__track span::after { content: ""; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); flex: none; }
.marquee--rev .marquee__track span { font-size: clamp(1.3rem, 2vw, 1.9rem); opacity: .62; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- founder ---------- */
.founder-grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(36px, 6vw, 110px); align-items: center; }
.founder-photo { position: relative; margin: 0; max-width: 340px; }
.founder-photo img {
  width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 18%;
  filter: contrast(1.02); border-radius: 4px;
  clip-path: inset(100% 0 0 0); transform: scale(1.08);
  transition: clip-path 900ms var(--ease-out), transform 950ms var(--ease-out);
}
.founder-photo.is-in img { clip-path: inset(0% 0 0 0); transform: scale(1); }
.founder-photo::after {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--gold); z-index: -1;
  transform: translate3d(-14px, -14px, 0); opacity: 0;
  transition: transform 850ms var(--ease-out) 160ms, opacity 650ms var(--ease-out) 160ms;
}
.founder-photo.is-in::after { transform: none; opacity: 1; }
html[dir="rtl"] .founder-photo::after { inset: 14px 14px -14px -14px; transform: translate3d(14px, -14px, 0); }
html[dir="rtl"] .founder-photo.is-in::after { transform: none; }
.quote { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 2.5vw, 2.5rem); line-height: 1.32; letter-spacing: -.02em; margin: 0; }
html[lang="ar"] .quote { font-weight: 700; line-height: 1.7; font-size: clamp(1.6rem, 2.5vw, 2.45rem); }
.quote::before { content: "“"; display: block; font-size: 5rem; line-height: .6; color: var(--gold); margin-bottom: 8px; }
html[lang="ar"] .quote::before { content: "”"; }
.sign { margin-top: 30px; display: grid; gap: 2px; }
.sign b { font-weight: 600; font-size: 16px; }
.sign span { color: var(--muted-dark); font-size: 14px; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: url(../img/bg/cta-bg.webp?v=26) center / cover no-repeat;
  opacity: .86;
}
.cta .topo { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .22; pointer-events: none; z-index: 1; animation: topoDrift 18s ease-in-out infinite alternate; }
@keyframes topoDrift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-12px, -8px, 0) scale(1.03); } }
.cta-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: end; }
.cta .display { font-size: clamp(2.8rem, 6vw, 6rem); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.contact-list { display: grid; gap: 22px; border-top: 1px solid var(--line-light); padding-top: 28px; }
.contact-list div { display: grid; gap: 2px; }
@media (hover: hover) and (pointer: fine) { .contact-list a:hover { color: var(--gold-2); } }
.coords { font-family: var(--mono); font-size: 12px; color: var(--gold-2); letter-spacing: .06em; direction: ltr; display: inline-block; }

/* ---------- footer ---------- */
.site-footer { background: #080c12; color: rgba(255, 255, 255, .82); padding: 80px 0 28px; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { margin: 0 0 16px; font-weight: 500; font-size: 13px; color: #fff; }
html[lang="en"] .foot-grid h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (hover: hover) and (pointer: fine) { .foot-grid a { transition: color 200ms var(--ease-out); } .foot-grid a:hover { color: var(--gold-2); } }
.foot-brand img { height: 50px; width: auto; margin-bottom: 18px; }
.foot-brand p { max-width: 24em; opacity: .7; margin: 0; }
.foot-bar { margin-top: 60px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12.5px; opacity: .6; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); display: grid; place-items: center; transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out), transform 160ms var(--ease-out); }
.socials a:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .socials a:hover { background: #fff; color: var(--ink); } }
.socials svg { width: 15px; height: 15px; fill: currentColor; }

/* ---------- reveal: bidirectional appear & disappear, staggered by sibling (--d) ---------- */
[data-reveal] {
  opacity: 0; transform: translate3d(0, 42px, 0) scale(.97);
  transition: opacity 640ms var(--ease-out) var(--d, 0ms), transform 760ms var(--ease-out) var(--d, 0ms), clip-path 780ms var(--ease-out) var(--d, 0ms);
}
[data-reveal].is-out-bottom { opacity: 0; transform: translate3d(0, 42px, 0) scale(.97); transition-delay: 0ms; }
[data-reveal].is-out-top { opacity: 0; transform: translate3d(0, -34px, 0) scale(.97); transition-delay: 0ms; }
[data-reveal].is-in { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
.h2[data-reveal], .display[data-reveal] { clip-path: inset(0 0 28% 0); }
.h2[data-reveal].is-in, .display[data-reveal].is-in { clip-path: inset(0 0 0% 0); }
.no-js [data-reveal] { opacity: 1; transform: none; }
[data-words] .w { display: inline; opacity: .16; }

/* ---------- mobile bar ---------- */
.mobile-bar { display: none; }

/* ---------- ABOUT ---------- */
.a-hero { position: relative; height: 200vh; background: var(--ink); }
.a-hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.a-hero__media { position: absolute; inset: 0; overflow: hidden; }
.a-hero__media img { width: 100%; height: 100%; object-fit: cover; transform-origin: center; }
.a-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9, 13, 22, .7) 0%, rgba(9, 13, 22, .18) 30%, rgba(9, 13, 22, .12) 55%, rgba(9, 13, 22, .72) 100%); }
.a-hero__title { position: relative; z-index: 2; text-align: center; padding-inline: var(--pad); }
.a-hero__title .display { font-size: clamp(4rem, 12vw, 12rem); line-height: .95; }
html[lang="ar"] .a-hero__title .display { font-size: clamp(3.6rem, 10vw, 10rem); line-height: 1.2; }
.a-hero__title .label { margin-bottom: 18px; display: block; }
.a-hero__foot { position: absolute; z-index: 2; bottom: 34px; inset-inline: var(--pad); display: flex; justify-content: space-between; gap: 20px; }
.a-hero__statement { position: absolute; z-index: 2; inset-inline: 0; bottom: 6.5%; text-align: center; padding-inline: var(--pad); opacity: 0; pointer-events: none; }
.a-hero__statement .h2 { margin-top: 12px; text-shadow: 0 2px 30px rgba(10, 14, 24, .35); }
.statement { font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 3.6vw, 3.8rem); line-height: 1.16; letter-spacing: -.03em; margin: 0; max-width: 20em; }
html[lang="ar"] .statement { font-weight: 700; line-height: 1.6; font-size: clamp(1.9rem, 3.6vw, 3.7rem); }

.timeline { position: relative; height: 420vh; background: var(--ink); }
.timeline__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.timeline__head { padding-inline: var(--pad); margin-bottom: 44px; display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.timeline__track { display: flex; align-items: flex-start; gap: clamp(24px, 3vw, 48px); padding-inline: var(--pad); width: max-content; }
.timeline__bar { position: absolute; inset-inline: var(--pad); bottom: 46px; height: 1px; background: var(--line-light); }
.timeline__bar i { position: absolute; inset: 0; background: var(--gold-2); transform-origin: left; transform: scaleX(0); }
html[dir="rtl"] .timeline__bar i { transform-origin: right; }
.tl { width: clamp(300px, 30vw, 430px); flex: none; position: relative; }
.tl .yr { font-family: var(--serif-en); font-weight: 700; font-size: clamp(4rem, 6.4vw, 6.8rem); line-height: .9; letter-spacing: -.045em; color: var(--gold-2); display: block; direction: ltr; text-align: start; }
html[dir="rtl"] .tl .yr { text-align: right; }
.tl .pt { width: 11px; height: 11px; border: 1px solid var(--gold-2); transform: rotate(45deg); margin: 22px 0 22px 2px; background: var(--ink); }
.tl h3 { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; line-height: 1.2; margin: 0 0 10px; }
html[lang="ar"] .tl h3 { font-weight: 700; line-height: 1.5; }
.tl p { margin: 0; opacity: .75; font-size: 15px; }
.tl figure { margin: 22px 0 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 2px; }
.tl figure img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }

.group-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.entity { padding-block: 36px 42px; padding-inline: 32px; border-inline-end: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 14px; min-height: 320px; }
.entity:last-child { border-inline-end: 0; }
.entity .since { font-family: var(--mono); font-size: 12px; color: var(--stone); letter-spacing: .1em; margin-bottom: 6px; }
html[lang="ar"] .entity .since { font-family: var(--sans-ar); letter-spacing: 0; font-size: 13px; }
.entity .h3 { margin-top: 0; }
.entity p { margin: 0; color: var(--muted-dark); font-size: 15.5px; }
.entity a { font-size: 14px; border-bottom: 1px solid var(--line-dark); align-self: flex-start; margin-top: auto; padding-top: 14px; padding-bottom: 2px; transition: border-color 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .entity a:hover { border-color: currentColor; } }
.entity--parent { border-top: 2px solid var(--gold); margin-top: -1px; background: linear-gradient(180deg, rgba(195, 160, 103, .14), rgba(195, 160, 103, 0)); }

.traverse { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-top: 70px; }
.traverse svg { position: absolute; inset-inline: 0; top: 0; width: 100%; height: 70px; overflow: visible; }
html[dir="rtl"] .traverse svg { transform: scaleX(-1); }
.traverse svg path { fill: none; stroke: var(--gold); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.step { position: relative; }
.step .k { font-family: var(--mono); font-size: 12px; color: var(--gold-2); letter-spacing: .14em; direction: ltr; display: block; margin-bottom: 14px; }
.step h3 { font-family: var(--serif); font-weight: 600; font-size: 1.75rem; margin: 0 0 10px; line-height: 1.2; }
html[lang="ar"] .step h3 { font-weight: 700; line-height: 1.5; }
.step p { margin: 0; opacity: .75; font-size: 15px; }
.step .dot { position: absolute; inset-inline-start: 0; width: 13px; height: 13px; border: 1px solid var(--gold-2); background: var(--ink); transform: rotate(45deg) scale(var(--s, 1)); transition: transform 400ms var(--ease-out); }

.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.value { padding-block: 30px 34px; padding-inline: 26px; border-inline-end: 1px solid var(--line-dark); }
.value:first-child { padding-inline-start: 0; }
.value:last-child { border-inline-end: 0; padding-inline-end: 0; }
.value .i { font-family: var(--mono); font-size: 12px; color: var(--stone); direction: ltr; display: block; margin-bottom: 40px; }
.value h3 { font-family: var(--serif); font-weight: 600; font-size: 1.65rem; line-height: 1.2; margin: 0 0 10px; }
html[lang="ar"] .value h3 { font-weight: 700; line-height: 1.5; }
.value p { margin: 0; color: var(--muted-dark); font-size: 15px; }
.kit { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.kit > span { border: 1px solid var(--line-dark); border-radius: 999px; padding: 8px 16px; font-size: 13.5px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 100px); align-items: center; }
.split figure { margin: 0; overflow: hidden; border-radius: 2px; aspect-ratio: 16 / 10; }
.split figure img { width: 100%; height: 115%; object-fit: cover; }

/* mobile menu */
.menu { position: fixed; inset: 0; z-index: 60; background: var(--ink); display: flex; flex-direction: column; justify-content: center; padding: var(--pad); gap: 8px; opacity: 0; visibility: hidden; transition: opacity 250ms var(--ease-out), visibility 250ms; }
.menu.is-open { opacity: 1; visibility: visible; }
.menu a { font-family: var(--serif); font-size: 2.6rem; line-height: 1.4; }
.menu .close { position: absolute; top: 18px; inset-inline-end: var(--pad); width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-light); font-size: 20px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .site-header .btn { display: none; }
  .work-grid, .founder-grid, .cta-inner, .split { grid-template-columns: minmax(0, 1fr); }
  .map { position: relative; top: 0; max-width: 640px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .numbers-grid, .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2), .value:nth-child(2) { border-inline-end: 0; }
  .stat:nth-child(3), .value:nth-child(3) { padding-inline-start: 0; }
  .group-grid { grid-template-columns: minmax(0, 1fr); }
  .entity, html[dir="rtl"] .entity { padding: 30px 0; border-inline-end: 0; border-bottom: 1px solid var(--line-dark); min-height: 0; }
  .entity + .entity { padding-inline-start: 0; }
  .traverse { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; padding-top: 12px; }
  .traverse svg { display: none; }
  .traverse .step { padding-top: 22px; border-top: 1px solid rgba(195, 160, 103, .32); }
  .traverse .step .dot { top: -7px !important; }
  .founder-photo { max-width: 310px; }
  .section-head { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .site-header { height: 68px; }
  .brand img { height: 38px; }
  .story { height: 640vh; }
  .copy, .explore { top: auto; bottom: 92px; transform: translate3d(0, var(--y, 0px), 0); width: auto; inset-inline: var(--pad); }
  .story__veil, html[dir="rtl"] .story__veil { background: linear-gradient(0deg, rgba(14, 12, 10, .8) 0%, rgba(14, 12, 10, .4) 42%, rgba(14, 12, 10, 0) 68%); }
  .hero { justify-content: flex-end; padding-bottom: 140px; }
  .hero .meta, .hud__index, .lv-index { display: none; }
  .hud__readout { bottom: auto; top: 76px; gap: 14px; font-size: 9.5px; }
  .copy .h2, .explore .h2 { font-size: 2.3rem; margin-bottom: 14px; }
  .explore .levels, .explore .hint { display: none; }
  .explore .chips-levels { display: flex; }
  .level-card { min-height: 0; margin-top: 14px; }
  .lv-label { display: none; }
  .explore { bottom: 84px; inset-inline: 12px; padding: 16px 16px 14px; border-radius: 18px; background: rgba(14, 12, 10, .5); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); border: 1px solid rgba(255, 255, 255, .14); }
  .explore .h2 { font-size: 1.7rem; margin: 6px 0 4px; }
  .explore .level-card .t { font-size: 1.35rem; }
  .explore .level-card p { font-size: 13.5px; margin-bottom: 8px; }
  .gcp .tag { font-size: 9.5px; }
  .numbers-grid { grid-template-columns: minmax(0, 1fr); }
  .stat, html[dir="rtl"] .stat, .stat + .stat { padding: 26px 0; border-inline-end: 0; border-bottom: 1px solid var(--line-dark); }
  .values { grid-template-columns: minmax(0, 1fr); }
  .value, html[dir="rtl"] .value, .value + .value { padding: 26px 0; border-inline-end: 0; border-bottom: 1px solid var(--line-dark); }
  .value .i { margin-bottom: 14px; }
  .proj { grid-template-columns: 52px minmax(0, 1fr); }
  .proj .sv { grid-column: 2; grid-row: auto; text-align: start; max-width: none; }
  .traverse { grid-template-columns: minmax(0, 1fr); }
  .traverse svg, .step .dot { display: none; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .timeline { height: auto; }
  .timeline__stage { position: relative; height: auto; padding-block: 90px; }
  .timeline__track { flex-direction: column; width: auto; transform: none !important; }
  .tl { width: auto; }
  .timeline__bar { display: none; }
  .a-hero__statement { bottom: 12%; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset-inline: 12px; bottom: 12px; z-index: 45; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(12, 14, 20, .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .12); }
  .mobile-bar a { height: 46px; border-radius: 999px; display: grid; place-items: center; font-size: 14px; font-weight: 500; transition: transform 160ms var(--ease-out); }
  .mobile-bar a:active { transform: scale(.97); }
  .mobile-bar a:first-child { background: var(--gold-2); color: var(--ink); }
  .site-footer { padding-bottom: 100px; }
}

/* reduced motion: keep opacity changes that aid comprehension, drop movement */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transform: none; transition: opacity 300ms ease; }
  .story:not(.is-ready) .hero .display span { transform: none; clip-path: none; }
  .story.is-ready .hero .label,
  .story.is-ready .hero .display span,
  .story.is-ready .hero .meta,
  .story.is-ready .scroll-cue { animation: none; opacity: 1; transform: none; clip-path: none; }
  .scroll-cue i, .svy-ring, .map .pin circle.halo, .marquee__track,
  .field-breather__scan, .cta .topo { animation: none; }
  .founder-photo img, .founder-photo::after, .pcard figure, .ledger-row, .starter, .starter__pills button, .proof .stat::before { transition: none; transform: none; opacity: 1; clip-path: none; }
}

.proof__head .label,
.work-top .label,
.field-breather__copy .label,
.clients-head .label,
.founder-grid .label,
.cta-lead .label { display: inline-flex; align-items: center; gap: 14px; }
.proof__head .label::after,
.work-top .label::after,
.field-breather__copy .label::after,
.clients-head .label::after,
.founder-grid .label::after,
.cta-lead .label::after { content: ""; width: 48px; height: 1px; background: var(--gold); opacity: .75; }
.proof__head .label::after,
.field-breather__copy .label::after,
.clients-head .label::after,
.cta-lead .label::after { background: var(--gold-2); opacity: .65; }
/* ---------- proof: monumental architectural ledger on deep ink ---------- */
.proof { position: relative; background: var(--ink); color: #fff; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .08); }
.proof::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: url(../img/bg/proof-bg.webp?v=27) center / cover no-repeat;
  opacity: .55;
}
.proof__grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image:
    radial-gradient(62% 80% at 82% 18%, rgba(195, 160, 103, .16) 0%, rgba(11, 16, 24, 0) 68%),
    radial-gradient(48% 65% at 14% 85%, rgba(45, 90, 153, .14) 0%, rgba(11, 16, 24, 0) 70%);
  background-size: 100% 100%, 100% 100%;
}
.proof .wrap { position: relative; z-index: 2; }
.proof__bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-bottom: 18px; margin-bottom: clamp(44px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255, 255, 255, .58);
}
html[lang="ar"] .proof__bar span:not(.ltr) { font-family: var(--sans-ar); letter-spacing: 0; text-transform: none; font-size: 13px; }
.proof__head {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .75fr);
  gap: 28px clamp(32px, 5vw, 72px); align-items: end;
  margin-bottom: clamp(56px, 7vw, 96px);
}
.proof__title { max-width: 15em; margin: 16px 0 0; }
.proof__note { margin: 0; color: rgba(255, 255, 255, .7); font-size: 16px; max-width: 28em; line-height: 1.75; }
.proof__stats { position: relative; border-top: 1px solid rgba(255, 255, 255, .14); }
.proof__stats::before {
  content: ""; position: absolute; inset-inline: 0; top: -1px; height: 1px;
  background: linear-gradient(90deg, var(--gold-2), rgba(230, 205, 156, .2));
  transform: scaleX(0); transform-origin: left;
  transition: transform 1100ms var(--ease-out);
}
html[dir="rtl"] .proof__stats::before { transform-origin: right; background: linear-gradient(270deg, var(--gold-2), rgba(230, 205, 156, .2)); }
.proof__stats.is-in::before { transform: scaleX(1); }
.proof .stat { position: relative; border-inline-end-color: rgba(255, 255, 255, .16); }
.proof .stat::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold-2), rgba(230, 205, 156, 0));
  transform: scaleX(0); transform-origin: left;
  transition: transform 700ms var(--ease-out) var(--d, 0ms);
}
html[dir="rtl"] .proof .stat::before { transform-origin: right; background: linear-gradient(270deg, var(--gold-2), rgba(230, 205, 156, 0)); }
.proof .stat.is-in::before { transform: scaleX(1); }
.stat__idx { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--gold-2); margin-bottom: 18px; }
.proof .stat .n { font-size: clamp(3.8rem, 6.8vw, 6.8rem); }
.proof .stat .t { color: rgba(255, 255, 255, .82); }
.stat__sub { display: block; margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, .46); }

/* ---------- selected work: asymmetric editorial showcase ---------- */
#work { position: relative; overflow: hidden; }
#work::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: url(../img/bg/work-bg.webp?v=26) top center / cover no-repeat;
  opacity: .65;
}
#work .wrap { position: relative; z-index: 1; }
.work-top { margin-bottom: clamp(44px, 5vw, 72px); }
.work-filters { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.wfilter__slider {
  position: absolute; left: 0; top: 0; z-index: 0; border-radius: 999px;
  background: var(--ink); pointer-events: none;
  transition: transform 280ms var(--ease-out), width 280ms var(--ease-out), height 280ms var(--ease-out);
}
.wfilter {
  position: relative; z-index: 1;
  border: 1px solid var(--line-dark); border-radius: 999px; padding: 9px 16px;
  font-size: 13.5px; color: var(--text-dark);
  display: inline-flex; align-items: center; gap: 8px;
  transition: color 200ms var(--ease-out), border-color 200ms var(--ease-out), background-color 200ms var(--ease-out), transform 140ms var(--ease-out);
}
.wfilter b { font-family: var(--mono); font-size: 11px; font-weight: 500; opacity: .55; }
.wfilter:active { transform: scale(.96); }
.wfilter.is-on { color: #fff; border-color: transparent; background: transparent; }
.wfilter.is-on b { opacity: .82; color: var(--gold-2); }
@media (hover: hover) and (pointer: fine) {
  .wfilter:not(.is-on):hover { border-color: var(--ink); background: rgba(20, 24, 33, .05); }
}

.editorial-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 76px) clamp(20px, 2.6vw, 36px); align-items: start;
}
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 60px) clamp(20px, 2.2vw, 32px); }
.pcard { position: relative; cursor: pointer; }
.pcard--wide { grid-column: span 7; }
.pcard--tall { grid-column: span 5; }
.editorial-grid > .pcard--tall:nth-child(2) { margin-top: clamp(28px, 4vw, 64px); }
.pcard--half { grid-column: span 6; }
.pcard--drop { margin-top: clamp(24px, 3.5vw, 52px); }
.pcard.is-filtered-out { display: none; }
.pcard.is-filter-enter { animation: cardIn 280ms var(--ease-out) var(--fd, 0ms) both; }
@keyframes cardIn { from { opacity: 0; transform: translate3d(0, 10px, 0); } to { opacity: 1; transform: none; } }
.editorial-grid.is-filtered .pcard { grid-column: span 6; margin-top: 0; }
.editorial-grid.is-filtered .pcard figure { aspect-ratio: 16 / 10; }

.pcard figure {
  position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: var(--paper-2);
  clip-path: inset(12% 0 0 0 round 6px);
  transition: clip-path 820ms var(--ease-out) var(--d, 0ms);
}
.pcard.is-in figure { clip-path: inset(0% 0 0 0 round 6px); }
.pcard--wide figure { aspect-ratio: 16 / 10; }
.pcard--tall figure { aspect-ratio: 4 / 3.4; }
.pcard--half figure { aspect-ratio: 16 / 10.5; }
.pcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.pcard figure img[data-parallax] { height: 116%; margin-top: -4%; }
.pcard__num {
  position: absolute; inset-inline-start: 14px; top: 14px; z-index: 2;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(11, 16, 24, .64); color: var(--gold-2);
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .14);
}
.pcard__badge {
  position: absolute; inset-inline-end: 12px; bottom: 12px; z-index: 2;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(11, 16, 24, .76); color: #fff; font-size: 12px; font-weight: 500;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .16);
  opacity: 0; transform: translateY(4px);
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
}
.pcard:focus-visible .pcard__badge { opacity: 1; transform: none; }
.pcard__meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark); }
html[lang="ar"] .pcard__meta { font-family: var(--sans-ar); letter-spacing: 0; text-transform: none; font-size: 13px; }
.pcard h3 { position: relative; display: inline-block; font-family: var(--serif); font-weight: 600; font-size: clamp(1.45rem, 1.9vw, 1.9rem); line-height: 1.2; margin: 8px 0 6px; transition: color 200ms var(--ease-out); }
.pcard h3::after { content: ""; position: absolute; inset-inline: 0; bottom: -2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 280ms var(--ease-out); }
html[dir="rtl"] .pcard h3::after { transform-origin: right; }
html[lang="ar"] .pcard h3 { font-weight: 700; line-height: 1.5; }
.pcard p { margin: 0; color: var(--muted-dark); font-size: 14.5px; }
@media (hover: hover) and (pointer: fine) {
  .pcard:hover img { transform: scale(1.045); }
  .pcard:hover h3 { color: #7d5d2b; }
  .pcard:hover h3::after { transform: scaleX(1); }
  .pcard:hover .pcard__badge { opacity: 1; transform: none; }
}
@media (hover: none) { .pcard__badge { opacity: .92; transform: none; } }

/* project case-study modal */
.pmodal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: clamp(16px, 3vw, 40px); }
.pmodal[hidden] { display: none; }
.pmodal__backdrop {
  position: absolute; inset: 0; background: rgba(8, 12, 18, .76);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transition: opacity 220ms var(--ease-out);
}
.pmodal.is-open .pmodal__backdrop { opacity: 1; }
.pmodal__dialog {
  position: relative; z-index: 2; width: min(920px, 100%); max-height: 90svh; overflow-y: auto;
  border-radius: 12px; background: var(--paper); color: var(--text-dark);
  box-shadow: 0 36px 90px rgba(0, 0, 0, .45);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  opacity: 0; transform: scale(.95) translate3d(0, 12px, 0);
  transition: opacity 240ms var(--ease-out), transform 280ms var(--ease-out);
}
.pmodal.is-open .pmodal__dialog { opacity: 1; transform: scale(1) translate3d(0, 0, 0); }
.pmodal__media { position: relative; background: var(--ink); min-height: 280px; }
.pmodal__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity 180ms var(--ease-out); }
.pmodal__media img.is-switching { opacity: .35; }
.pmodal__body { padding: clamp(24px, 3.2vw, 40px); display: flex; flex-direction: column; gap: 16px; }
.pmodal__close {
  position: absolute; top: 14px; inset-inline-end: 14px; z-index: 4;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(11, 16, 24, .75); color: #fff; font-size: 20px; line-height: 1;
  display: grid; place-items: center; transition: background-color 180ms var(--ease-out), transform 160ms var(--ease-out);
}
.pmodal__close:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .pmodal__close:hover { background: var(--ink); } }
.pmodal__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark); }
html[lang="ar"] .pmodal__meta { font-family: var(--sans-ar); letter-spacing: 0; text-transform: none; font-size: 13px; }
.pmodal__title { margin: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(1.6rem, 2.5vw, 2.2rem); line-height: 1.25; }
.pmodal__facts { display: grid; gap: 10px; padding-block: 14px; border-block: 1px solid var(--line-dark); font-size: 14.5px; }
.pmodal__facts div { display: flex; justify-content: space-between; gap: 16px; }
.pmodal__facts dt { color: var(--muted-dark); }
.pmodal__facts dd { margin: 0; font-weight: 600; text-align: end; }
.pmodal__desc { margin: 0; color: var(--muted-dark); font-size: 15px; line-height: 1.75; }
.pmodal__foot { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.pmodal__nav { display: inline-flex; gap: 8px; }
.pmodal__nav button {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark);
  display: grid; place-items: center; font-size: 16px; transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .pmodal__nav button:hover { background: var(--ink); color: #fff; border-color: var(--ink); } }
@media (max-width: 760px) {
  .pmodal__dialog { grid-template-columns: minmax(0, 1fr); }
  .pmodal__media { aspect-ratio: 16 / 10; min-height: 0; }
}

/* ---------- where we have worked: GNSS triangulation panel ---------- */
.where { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; margin-top: clamp(90px, 10vw, 150px); padding-top: clamp(56px, 6vw, 80px); border-top: 1px solid var(--line-dark); }
.where--panel {
  background: var(--paper-2); border: 1px solid var(--line-dark); border-radius: 12px;
  padding: clamp(24px, 4vw, 56px); margin-top: clamp(72px, 8vw, 120px);
  transform: translate3d(0, 44px, 0) scale(.94);
}
.where--panel.is-in { transform: translate3d(0, 0, 0) scale(1); }
.where .map { position: relative; top: auto; width: 100%; max-width: 620px; }
.map svg { direction: ltr; }
.map-hud {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px;
  padding-bottom: 16px; margin-bottom: 14px; border-bottom: 1px solid var(--line-dark); font-size: 12.5px;
}
.map-hud__tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text-dark); }
.map-hud__dot { width: 8px; height: 8px; border-radius: 50%; background: #a9813f; box-shadow: 0 0 0 4px rgba(169, 129, 63, .22); }
.map-hud__coord { font-family: var(--mono); font-size: 11.5px; color: var(--muted-dark); letter-spacing: .06em; }
.map .baseline {
  fill: none; stroke: rgba(169, 129, 63, .40); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1;
  vector-effect: non-scaling-stroke;
  transition: stroke-dashoffset 850ms var(--ease-out) var(--bd, 0ms), stroke 220ms var(--ease-out), stroke-width 220ms var(--ease-out), opacity 220ms var(--ease-out);
}
.where--panel.is-in .map .baseline { stroke-dashoffset: 0; }
.map .baseline.is-on { stroke: #a9813f; stroke-width: 2.4; opacity: 1; }
.map .baseline.is-dim { opacity: .14; }
.places { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line-dark); }
.place {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line-dark); cursor: pointer;
  transition: transform 140ms var(--ease-out);
}
.place:active { transform: scale(.99); }
.place > div { display: grid; gap: 2px; }
.place b { font-family: var(--serif); font-weight: 600; font-size: 1.55rem; line-height: 1.2; transition: transform 250ms var(--ease-out), color 200ms var(--ease-out); }
html[lang="ar"] .place b { font-weight: 700; line-height: 1.5; }
.place > div > span { color: var(--muted-dark); font-size: 14px; }
.place__count {
  font-style: normal; font-family: var(--mono); font-size: 13px; color: var(--muted-dark);
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-dark); flex: none;
  transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
.place.is-on b, .place.is-locked b { color: #7d5d2b; transform: translateX(6px); }
html[dir="rtl"] .place.is-on b, html[dir="rtl"] .place.is-locked b { transform: translateX(-6px); }
.place.is-on .place__count, .place.is-locked .place__count { background: var(--ink); color: var(--gold-2); border-color: var(--ink); }

/* ---------- architectural field breather ---------- */
.field-breather {
  position: relative; min-height: clamp(440px, 64vh, 660px);
  display: flex; align-items: stretch; overflow: hidden;
  background: var(--ink); color: #fff;
}
.field-breather__media { position: absolute; inset: 0; margin: 0; overflow: hidden; }
.field-breather__media img { width: 100%; height: 118%; object-fit: cover; object-position: 50% 42%; }
.field-breather__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 16, 24, .56) 0%, rgba(11, 16, 24, .18) 38%, rgba(11, 16, 24, .78) 100%);
}
.field-breather__scan {
  position: absolute; inset-block: 0; left: 0; width: 48px; pointer-events: none; z-index: 1;
  background: linear-gradient(90deg, rgba(230, 205, 156, 0), rgba(230, 205, 156, .22) 96%, rgba(255, 244, 214, .72) 100%);
  animation: laserSweep 7.5s linear infinite;
}
@keyframes laserSweep {
  0% { transform: translate3d(-48px, 0, 0); opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { transform: translate3d(100vw, 0, 0); opacity: 0; }
}
.field-breather__inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: space-between;
  padding-block: clamp(32px, 5vw, 56px);
}
.field-breather__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; opacity: .78; }
.field-breather__copy { max-width: 44rem; }
.field-breather__copy .h2 { margin-top: 12px; text-shadow: 0 2px 32px rgba(0, 0, 0, .35); }

/* ---------- monumental 4-tier architectural client ledger ---------- */
.clients { position: relative; }
.clients::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: url(../img/bg/clients-bg.webp?v=26) center / cover no-repeat;
  opacity: .82;
}
.clients .wrap { position: relative; z-index: 1; }
.clients-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: clamp(48px, 6vw, 76px); }
.client-ledger { border-top: 1px solid var(--line-light); }
.ledger-row {
  display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 20px clamp(24px, 4vw, 64px);
  padding-block: clamp(26px, 3.2vw, 40px); border-bottom: 1px solid var(--line-light); align-items: baseline;
  transform: translate3d(-44px, 0, 0);
  transition: opacity 580ms var(--ease-out) var(--d, 0ms), transform 700ms var(--ease-out) var(--d, 0ms);
}
.ledger-row.is-out-top { transform: translate3d(34px, 0, 0); transition-delay: 0ms; }
.ledger-row.is-out-bottom { transform: translate3d(-44px, 0, 0); transition-delay: 0ms; }
html[dir="rtl"] .ledger-row,
html[dir="rtl"] .ledger-row.is-out-bottom { transform: translate3d(44px, 0, 0); }
html[dir="rtl"] .ledger-row.is-out-top { transform: translate3d(-34px, 0, 0); }
.ledger-row.is-in, html[dir="rtl"] .ledger-row.is-in { transform: translate3d(0, 0, 0); }
@media (hover: hover) and (pointer: fine) {
  .client-ledger:hover .ledger-row:not(:hover) { opacity: .45; }
  .ledger-row:hover { transform: translateX(4px); }
  html[dir="rtl"] .ledger-row:hover { transform: translateX(-4px); }
}
.ledger-cat { display: flex; align-items: baseline; gap: 14px; }
.ledger-cat span { font-family: var(--mono); font-size: 12px; color: var(--gold-2); }
.ledger-cat h3 { margin: 0; font-family: var(--sans); font-size: 14.5px; font-weight: 500; color: rgba(255, 255, 255, .68); }
.ledger-names { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.ledger-names li {
  font-family: var(--serif); font-size: clamp(1.2rem, 1.9vw, 1.65rem); font-weight: 600;
  color: rgba(255, 255, 255, .92); display: inline-flex; align-items: center; gap: 18px;
  transition: color 200ms var(--ease-out);
}
html[lang="ar"] .ledger-names li { font-weight: 700; }
.ledger-names li:not(:last-child)::after {
  content: ""; width: 5px; height: 5px; background: rgba(195, 160, 103, .55); transform: rotate(45deg); flex: none;
}
@media (hover: hover) and (pointer: fine) { .ledger-names li:hover { color: var(--gold-2); } }

/* ---------- tactile 2-step project starter CTA ---------- */
.cta-inner--starter { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; }
.contact-inline { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.starter {
  padding: clamp(24px, 3vw, 38px); border-radius: 12px;
  background: rgba(18, 26, 39, .78); border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  display: grid; gap: 24px;
}
.starter__group { display: grid; gap: 12px; }
.starter__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.starter__pills button {
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; padding: 8px 15px;
  font-size: 13.5px; color: rgba(255, 255, 255, .86); background: rgba(255, 255, 255, .04);
  opacity: 0; transform: translate3d(0, 10px, 0);
  transition: opacity 420ms var(--ease-out) 160ms, background-color 180ms var(--ease-out), color 180ms var(--ease-out), border-color 180ms var(--ease-out), transform 420ms var(--ease-out) 160ms;
}
.starter.is-in .starter__pills button { opacity: 1; transform: none; }
.starter__pills button:active { transform: scale(.96); }
.starter__pills button.is-on { background: var(--gold-2); color: var(--ink); border-color: var(--gold-2); font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .starter__pills button:not(.is-on):hover { border-color: rgba(255, 255, 255, .55); color: #fff; }
}
.starter__summary { padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 4px; }
.starter__preview { margin: 0; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--gold-2); transition: transform 180ms var(--ease-out), color 180ms var(--ease-out); }
.starter__preview.is-pulse { animation: starterPulse 200ms var(--ease-out); }
@keyframes starterPulse { 0% { opacity: .55; transform: translate3d(0, 3px, 0); } 100% { opacity: 1; transform: none; } }

@media (max-width: 1024px) {
  .proof__head, .ledger-row, .cta-inner--starter { grid-template-columns: minmax(0, 1fr); }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcard--wide, .pcard--tall, .pcard--half { grid-column: span 6; margin-top: 0 !important; }
  .where { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .proof__bar { flex-direction: column; gap: 4px; }
  .pgrid { grid-template-columns: minmax(0, 1fr); }
  .editorial-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .pcard--wide, .pcard--tall, .pcard--half, .editorial-grid.is-filtered .pcard { grid-column: auto; }
  .where { margin-top: 64px; padding-top: 36px; gap: 28px; }
  .where--panel { padding: 20px; }
  .field-breather { min-height: 380px; }
  .contact-inline { grid-template-columns: minmax(0, 1fr); }
  .proof .numbers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof .stat, html[dir="rtl"] .proof .stat, .proof .stat + .stat { padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
}

/* ================= 3 Dec 2026 review fixes ================= */
/* ---------- header legibility over bright film frames (clear state) ---------- */
.story__top { height: 240px; background: linear-gradient(180deg, rgba(10, 12, 18, .62) 0%, rgba(10, 12, 18, .3) 48%, rgba(10, 12, 18, 0) 100%); }
.brand img { height: 52px; }
.nav { font-size: 15.5px; font-weight: 500; padding: 7px 24px; border-radius: 999px; border: 1px solid transparent; transition: background-color 250ms var(--ease-out), border-color 250ms var(--ease-out); }
.nav a { opacity: .9; }
.site-header:not(.is-light):not(.is-solid) .nav {
  background: rgba(10, 14, 22, .32); border-color: rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
}
.site-header:not(.is-light):not(.is-solid) .lang-toggle,
.site-header:not(.is-light):not(.is-solid) .btn {
  background: rgba(10, 14, 22, .28); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.site-header:not(.is-light):not(.is-solid) .nav a,
.site-header:not(.is-light):not(.is-solid) .header-actions { text-shadow: 0 1px 10px rgba(0, 0, 0, .35); }
.site-header:not(.is-light):not(.is-solid) .brand img { filter: drop-shadow(0 2px 12px rgba(0, 0, 0, .45)); }
html[lang="en"] .nav a { font-size: 12.5px; }
.brand { position: relative; }
.brand::before {
  content: ""; position: absolute; inset: -26px -44px; z-index: -1; pointer-events: none; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(10, 12, 18, .5), rgba(10, 12, 18, 0));
  opacity: 0; transition: opacity 250ms var(--ease-out);
}
.site-header:not(.is-light):not(.is-solid) .brand::before { opacity: 1; }

/* ---------- client wall (replaces the text ledger) ---------- */
.client-wall { border-top: 1px solid var(--line-light); padding-top: clamp(22px, 2.4vw, 30px); }
.cw-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(20px, 2.4vw, 30px); }
.cw-key {
  display: inline-flex; align-items: center; gap: 10px; height: 38px; padding-inline: 14px; border-radius: 999px;
  border: 1px solid var(--line-light); color: rgba(255, 255, 255, .74); font-size: 13.5px; font-weight: 500;
  transition: color 200ms var(--ease-out), border-color 200ms var(--ease-out), background-color 200ms var(--ease-out), transform 160ms var(--ease-out);
}
.cw-key .ltr { font-family: var(--mono); font-size: 11px; color: var(--gold-2); transition: color 200ms var(--ease-out); }
.cw-key:active { transform: scale(.97); }
.cw-key[aria-pressed="true"] { background: var(--gold-2); border-color: var(--gold-2); color: var(--ink); }
.cw-key[aria-pressed="true"] .ltr { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .cw-key:hover:not([aria-pressed="true"]) { color: #fff; border-color: rgba(230, 205, 156, .6); } }

.cw-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.cw-tile {
  position: relative; min-height: clamp(132px, 11vw, 168px); padding: 26px 18px 18px; border-radius: 12px;
  background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 6px;
  transition: opacity 580ms var(--ease-out) var(--d, 0ms), transform 700ms var(--ease-out) var(--d, 0ms), border-color 200ms var(--ease-out), background-color 200ms var(--ease-out);
}
.cw-tile > * { transition: opacity 220ms var(--ease-out), color 200ms var(--ease-out); }
.cw-tile b { font-family: var(--serif); font-weight: 700; font-size: clamp(1rem, 1.15vw, 1.15rem); line-height: 1.4; color: rgba(255, 255, 255, .9); }
.cw-tile--word b { font-size: clamp(1.55rem, 2.1vw, 2.1rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.cw-tile--xl { grid-column: span 2; background: linear-gradient(135deg, rgba(195, 160, 103, .18), rgba(255, 255, 255, .03) 70%); border-color: rgba(230, 205, 156, .3); }
.cw-tile--xl b { font-size: clamp(1.2rem, 1.55vw, 1.55rem); max-width: 17em; }
.cw-tile small { font-size: 12px; line-height: 1.4; color: rgba(255, 255, 255, .55); }
.cw-tile i { position: absolute; top: 12px; inset-inline-start: 14px; font-style: normal; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; color: rgba(230, 205, 156, .6); }
.cw-logo:empty { display: none; }
.cw-logo img, .cw-logo svg { display: block; height: 44px; width: auto; filter: grayscale(1) brightness(1.8); opacity: .85; }
@media (hover: hover) and (pointer: fine) {
  .cw-tile:hover { border-color: rgba(230, 205, 156, .45); background: rgba(255, 255, 255, .065); }
  .cw-tile:hover b { color: #fff; }
}
.client-wall[data-cat="1"] .cw-tile:not([data-cat="1"]) > *,
.client-wall[data-cat="2"] .cw-tile:not([data-cat="2"]) > *,
.client-wall[data-cat="3"] .cw-tile:not([data-cat="3"]) > *,
.client-wall[data-cat="4"] .cw-tile:not([data-cat="4"]) > *,
.client-wall:not([data-cat]):has(.cw-key[data-cat="1"]:hover) .cw-tile:not([data-cat="1"]) > *,
.client-wall:not([data-cat]):has(.cw-key[data-cat="2"]:hover) .cw-tile:not([data-cat="2"]) > *,
.client-wall:not([data-cat]):has(.cw-key[data-cat="3"]:hover) .cw-tile:not([data-cat="3"]) > *,
.client-wall:not([data-cat]):has(.cw-key[data-cat="4"]:hover) .cw-tile:not([data-cat="4"]) > * { opacity: .22; }
.client-wall[data-cat="1"] .cw-tile[data-cat="1"],
.client-wall[data-cat="2"] .cw-tile[data-cat="2"],
.client-wall[data-cat="3"] .cw-tile[data-cat="3"],
.client-wall[data-cat="4"] .cw-tile[data-cat="4"] { border-color: rgba(230, 205, 156, .55); background: rgba(195, 160, 103, .1); }
html[lang="en"] .cw-tile--word b { font-size: clamp(1.3rem, 1.6vw, 1.65rem); }
@media (max-width: 1024px) { .cw-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .cw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .cw-tile { min-height: 112px; padding: 24px 12px 14px; }
  .cw-legend { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); }
  .cw-legend::-webkit-scrollbar { display: none; }
  .cw-key { flex: none; }
  html[lang="en"] .cw-tile--word b { font-size: 1.2rem; }
}

/* ---------- project photos: one grade across mixed field shots ---------- */
.pcard figure::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 16, 24, .16) 0%, rgba(11, 16, 24, 0) 26%, rgba(11, 16, 24, 0) 58%, rgba(11, 16, 24, .4) 100%);
}
.pcard img { filter: saturate(.8) contrast(1.07) brightness(.97) sepia(.1); transition: transform 700ms var(--ease-out), filter 500ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .pcard:hover img { filter: saturate(1.02) contrast(1.04) brightness(1) sepia(0); } }
.editorial-grid:not(.is-filtered) > .pcard:nth-child(2) { margin-top: clamp(28px, 4vw, 64px); }
@media (max-width: 1024px) { .editorial-grid:not(.is-filtered) > .pcard:nth-child(2) { margin-top: 0; } }
