/* Bakhurji v3 — cinematic, dark obsidian green, champagne gold, ivory interludes */
:root {
  --obs: #0b110d;
  --deep: #101913;
  --panel: #16211a;
  --panel-2: #1b281f;
  --ivory: #f2eee5;
  --ivory-2: #e9e4d8;
  --ink: #121913;
  --ink-2: #4a5249;
  --gold: #c8a96a;
  --gold-hi: #e4cf9f;
  --gold-dk: #94763f;
  --smoke: rgba(242, 238, 229, .66);
  --smoke-2: rgba(242, 238, 229, .42);
  --ln: rgba(242, 238, 229, .12);
  --ln-lt: rgba(18, 25, 19, .14);
  --gold-grad: linear-gradient(120deg, #f0dfb5 0%, #d4b679 38%, #b08d52 70%, #e2c992 100%);
  --text: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --disp: "Noto Naskh Arabic", "IBM Plex Sans Arabic", serif;
  --num: "Cormorant Garamond", "Times New Roman", serif;
  --g: clamp(20px, 4.4vw, 72px);
  --wrap: 1440px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}
:lang(en) { --text: "Inter Tight", "Helvetica Neue", Arial, sans-serif; --disp: "Cormorant Garamond", "Times New Roman", serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--obs); color: var(--ivory); font-family: var(--text); font-size: 1.0625rem; line-height: 1.85; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
:lang(en) body { line-height: 1.65; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--obs); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; top: -80px; inset-inline-start: 16px; z-index: 200; background: var(--gold); color: var(--obs); padding: .6rem 1rem; }
.skip:focus { top: 16px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--g) * 2); margin-inline: auto; padding-inline: var(--g); }
bdi { unicode-bidi: isolate; }

/* film grain over everything, very fine */
body::after { content: ""; position: fixed; inset: 0; z-index: 150; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .035 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- headings & word masks ---------- */
.h2 { font-family: var(--disp); font-weight: 500; font-size: clamp(2.3rem, 1.2rem + 4.2vw, 5.6rem); line-height: 1.3; letter-spacing: 0; text-wrap: balance; }
:lang(en) .h2 { font-weight: 400; line-height: 1.02; letter-spacing: -.02em; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-block: .08em .18em; margin-block: -.08em -.18em; }
.w > span { display: inline-block; }
.js .w > span { transform: translateY(115%); transition: transform 1.3s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
.js .in .w > span, .js .w.in > span { transform: none; }
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.eyebrow { display: flex; align-items: center; gap: .9rem; font-family: var(--text); font-size: 1rem; font-weight: 500; color: var(--gold-dk); max-width: 30ch; line-height: 1.6; }
.eyebrow::before { content: ""; width: 44px; height: 1px; background: currentColor; flex: none; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .7em; min-height: 58px; padding: 0 2em; border-radius: 999px; border: 1px solid transparent; font-weight: 500; font-size: 1rem; text-decoration: none; cursor: pointer; isolation: isolate; overflow: hidden; white-space: nowrap; transition: color .5s var(--ease), border-color .5s, transform .5s var(--ease); will-change: transform; }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; flex: none; transition: transform .5s var(--ease); }
[dir="rtl"] .arr { transform: scaleX(-1); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: scale(0); transition: transform .7s var(--ease); }
.btn:hover::before { transform: scale(1.02); }
.btn--gold { background: var(--gold-grad); background-size: 160% 100%; color: #17120a; box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 18px 40px -18px rgba(200, 169, 106, .75); }
.btn--gold::before { background: var(--ivory); }
.btn--ghost { border-color: rgba(242, 238, 229, .3); color: var(--ivory); }
.btn--ghost::before { background: var(--ivory); }
.btn--ghost:hover { color: var(--obs); border-color: var(--ivory); }
.btn--ghost-dk { border-color: var(--ln-lt); color: var(--ink); }
.btn--ghost-dk::before { background: var(--ink); }
.btn--ghost-dk:hover { color: var(--ivory); }
.btn--sm { min-height: 46px; padding: 0 1.4em; font-size: .95rem; }
.btn--block { width: 100%; }

/* ---------- intro curtain ---------- */
.intro { position: fixed; inset: 0; z-index: 180; display: grid; place-items: center; align-content: center; gap: 28px; background: var(--obs); }
.intro img { width: min(340px, 64vw); height: auto; opacity: 0; transform: translateY(14px); animation: intro-logo 1.2s .15s var(--ease) forwards; }
.intro-line { width: min(340px, 64vw); height: 1px; background: var(--gold); transform: scaleX(0); animation: intro-line 1.1s .55s var(--ease-io) forwards; }
.js .intro { animation: intro-out 1.1s 1.75s var(--ease-io) forwards; }
html:not(.js) .intro, .seen .intro { display: none; }
@keyframes intro-logo { to { opacity: 1; transform: none; } }
@keyframes intro-line { to { transform: scaleX(1); } }
@keyframes intro-out { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
.intro { clip-path: inset(0 0 0 0); }

/* ---------- progress & cursor ---------- */
.progress { position: fixed; inset-inline: 0; top: 0; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--gold-grad); transform-origin: var(--po, right); transform: scaleX(0); }
:lang(en) .progress span { --po: left; }
.cursor { position: fixed; left: 0; top: 0; z-index: 170; pointer-events: none; display: none; }
.cursor span { position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid var(--gold); border-radius: 50%; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .45s, border-color .45s, opacity .3s; }
.cursor.is-hover span { width: 76px; height: 76px; margin: -38px 0 0 -38px; background: rgba(200, 169, 106, .12); border-color: rgba(200,169,106,.6); }
.cursor.is-ivory span { border-color: var(--gold-dk); }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }

/* ---------- header ---------- */
.hdr { position: fixed; inset-inline: 0; top: 0; z-index: 100; display: flex; align-items: center; gap: 2rem; padding: 26px var(--g); transition: padding .6s var(--ease), background-color .6s, backdrop-filter .6s, transform .7s var(--ease); }
.hdr.solid { padding-block: 12px; background: rgba(11, 17, 13, .82); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 1px 0 rgba(200, 169, 106, .16); }
.hdr.hide { transform: translateY(-110%); }
.brand img { height: 92px; width: auto; transition: height .6s var(--ease); }
.hdr.solid .brand img { height: 64px; }
.nav { margin-inline-start: auto; }
.nav ul { display: flex; gap: clamp(1.2rem, 2.2vw, 2.4rem); }
.nav a { position: relative; text-decoration: none; font-size: 1rem; color: var(--smoke); transition: color .3s; padding-block: .4em; }
.nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .6s var(--ease); }
.nav a:hover, .nav a.on { color: var(--ivory); }
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }
.hdr-act { display: flex; align-items: center; gap: 1.4rem; }
.lang { text-decoration: none; color: var(--smoke); font-size: .95rem; }
.lang:hover { color: var(--gold-hi); }
.burger { display: none; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(242,238,229,.3); background: none; cursor: pointer; position: relative; }
.burger span:not(.sr) { position: absolute; inset-inline: 15px; height: 1px; background: var(--ivory); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:nth-child(1) { top: 21px; } .burger span:nth-child(2) { top: 30px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 25.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 25.5px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 98; background: var(--obs); display: flex; flex-direction: column; justify-content: center; padding: 120px var(--g) 40px; clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease-io); }
.menu[hidden] { display: flex; visibility: hidden; }
.menu.open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu ol li a { display: flex; align-items: baseline; gap: 1rem; text-decoration: none; font-family: var(--disp); font-size: clamp(2.2rem, 9vw, 3.6rem); line-height: 1.5; color: var(--ivory); }
.menu small { font-family: var(--num); font-size: 1rem; color: var(--gold); }
.menu-foot { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--ln); color: var(--gold-hi); }
.menu-foot a { text-decoration: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 170px; overflow: hidden; isolation: isolate;
  background: radial-gradient(70% 60% at 85% 0%, rgba(200,169,106,.10), transparent 60%), radial-gradient(100% 80% at 10% 100%, #18251c 0%, transparent 60%), var(--obs); }
.hero-glow { position: absolute; z-index: -1; width: 900px; height: 900px; left: 0; top: 0; margin: -450px 0 0 -450px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(200,169,106,.16), rgba(200,169,106,0) 62%); transform: translate3d(var(--gx, 70vw), var(--gy, 30vh), 0); transition: transform 1.2s var(--ease); }
.hero-in { width: 100%; max-width: calc(var(--wrap) + var(--g) * 2); margin-inline: auto; padding-inline: var(--g); }
.hero-title { font-family: var(--disp); font-weight: 500; font-size: clamp(2.9rem, 1rem + 7.4vw, 9.6rem); line-height: 1.32; letter-spacing: 0; }
:lang(en) .hero-title { font-weight: 400; line-height: .98; letter-spacing: -.03em; }
.hero-title .line { display: block; }
.line--gold .w > span { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-inline: .02em; }
.hero-foot { display: grid; grid-template-columns: minmax(0, 6fr) auto; gap: 2rem 4rem; align-items: end; margin-top: clamp(28px, 4vh, 56px); padding-bottom: clamp(36px, 5vh, 64px); }
.hero-lead { max-width: 54ch; color: var(--smoke); font-size: clamp(1.02rem, .95rem + .35vw, 1.25rem); line-height: 1.95; }
.hero-cta { display: flex; gap: .9rem; flex-wrap: wrap; }
.js .hero-lead, .js .hero-cta, .js .marquee, .js .scroll-cue { opacity: 0; transform: translateY(20px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.ready .hero-lead, .ready .hero-cta, .ready .marquee, .ready .scroll-cue { opacity: 1; transform: none; }
.ready .hero-lead { transition-delay: .55s; } .ready .hero-cta { transition-delay: .7s; } .ready .marquee { transition-delay: .9s; } .ready .scroll-cue { transition-delay: 1.1s; }

.marquee { border-block: 1px solid var(--ln); padding-block: 20px; overflow: hidden; direction: ltr; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee-set { display: flex; align-items: center; flex: none; }
.marquee span { font-family: var(--disp); font-size: clamp(1.4rem, 1rem + 1.2vw, 2.2rem); color: var(--smoke-2); padding-inline: 2.2rem; white-space: nowrap; transition: color .4s; }
.marquee:hover span { color: var(--smoke); }
.marquee i { width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); flex: none; }
.marquee:hover .marquee-track { animation-play-state: paused; }
[dir="rtl"] .marquee-track { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-50%); } }
.scroll-cue { position: absolute; inset-inline-end: var(--g); bottom: 120px; display: none; }

/* ---------- about (ivory) ---------- */
.about { background: var(--ivory); color: var(--ink); padding-block: clamp(110px, 14vw, 220px) clamp(90px, 10vw, 160px); position: relative; }
.about-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(48px, 7vw, 140px); }
.about-side { position: sticky; top: 140px; align-self: start; }
.stats { margin-top: 3rem; display: grid; gap: 0; border-top: 1px solid var(--ln-lt); }
.stats > div { padding-block: 1.4rem; border-bottom: 1px solid var(--ln-lt); display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.stats dt { font-family: var(--num); font-weight: 500; font-size: clamp(3rem, 2rem + 2.4vw, 4.6rem); line-height: 1; color: var(--gold-dk); font-variant-numeric: lining-nums tabular-nums; }
.stats dd { color: var(--ink-2); font-size: .98rem; text-align: end; }
.statement { font-family: var(--disp); font-weight: 500; font-size: clamp(1.7rem, 1rem + 2.3vw, 3.35rem); line-height: 1.7; text-wrap: pretty; }
:lang(en) .statement { font-weight: 400; line-height: 1.25; letter-spacing: -.01em; }
.js .statement .sw { color: rgba(18, 25, 19, .14); transition: color .4s linear; }
.js .statement .sw.lit { color: var(--ink); }
.impacts { margin-top: clamp(56px, 7vw, 110px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 2rem 4rem; }
.impacts h3 { font-family: var(--disp); font-weight: 600; font-size: clamp(1.3rem, 1rem + .9vw, 1.9rem); line-height: 1.5; color: var(--gold-dk); }
.impacts li { padding-block: 1.15rem; border-top: 1px solid var(--ln-lt); font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem); }
.impacts li:last-child { border-bottom: 1px solid var(--ln-lt); }
.values { margin-top: clamp(90px, 10vw, 160px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.values .value { border-block: 1px solid var(--ln-lt); }
.values .value + .value { border-inline-start: 1px solid var(--ln-lt); }
.value { background: var(--ivory); padding: clamp(28px, 3vw, 48px) clamp(20px, 2.4vw, 40px); transition: background-color .6s var(--ease); }
.value:hover { background: var(--ivory-2); }
.value h3 { font-family: var(--disp); font-weight: 600; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); color: var(--gold-dk); line-height: 1.3; margin-bottom: .9rem; }
.value p { color: var(--ink-2); }
.values .value:nth-child(2) { transition-delay: .1s; } .values .value:nth-child(3) { transition-delay: .2s; }

/* ---------- services: pinned horizontal gallery ---------- */
.services { background: var(--deep); position: relative; }
.svc-pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: 130px 56px; overflow: hidden; }
.svc-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30ch) auto; gap: 1.2rem 3rem; align-items: end; margin-bottom: clamp(32px, 4vh, 56px); }
.svc-head p { color: var(--smoke); font-size: 1rem; }
.svc-count { font-family: var(--num); font-size: 1.4rem; color: var(--smoke-2); direction: ltr; white-space: nowrap; }
.svc-count b { font-weight: 500; color: var(--gold); font-size: 2.2rem; }
.svc-track { display: flex; gap: clamp(16px, 1.6vw, 28px); padding-inline: var(--g); will-change: transform; }
.svc-card { position: relative; flex: none; width: clamp(300px, 29vw, 460px); min-height: clamp(380px, 52vh, 520px); display: flex; flex-direction: column; padding: clamp(26px, 2.4vw, 40px); background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--ln); overflow: hidden; isolation: isolate; transition: border-color .6s var(--ease), transform .8s var(--ease); }
.svc-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 70% at 100% 0%, rgba(200,169,106,.18), transparent 60%); opacity: 0; transition: opacity .8s var(--ease); }
.svc-card:hover { border-color: rgba(200, 169, 106, .55); }
.svc-card:hover::before { opacity: 1; }
.svc-n { font-family: var(--num); font-weight: 400; font-size: clamp(4rem, 3rem + 2.6vw, 6.4rem); line-height: .9; color: transparent; -webkit-text-stroke: 1px rgba(200, 169, 106, .55); direction: ltr; text-align: end; transition: color .6s var(--ease); }
[dir="ltr"] .svc-n { text-align: start; }
.svc-card:hover .svc-n { color: rgba(200,169,106,.2); }
.svc-card h3 { margin-top: auto; font-family: var(--disp); font-weight: 600; font-size: clamp(1.6rem, 1.2rem + 1.1vw, 2.4rem); line-height: 1.35; }
:lang(en) .svc-card h3 { font-weight: 500; line-height: 1.05; }
.svc-card p { margin-top: .8rem; color: var(--smoke); font-size: .98rem; line-height: 1.85; }
.svc-more { margin-top: 1.6rem; align-self: flex-start; display: inline-flex; align-items: center; gap: .8rem; background: none; border: 0; padding: 0; cursor: pointer; color: var(--gold-hi); font-weight: 500; }
.svc-more svg { width: 38px; height: 38px; padding: 10px; border: 1px solid rgba(200,169,106,.5); border-radius: 50%; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .6s var(--ease), background-color .4s, color .4s; }
.svc-more:hover svg { transform: rotate(90deg); background: var(--gold); color: var(--obs); }
.svc-card .svc-more::after { content: ""; position: absolute; inset: 0; }
.svc-bar { margin: clamp(28px, 4vh, 48px) var(--g) 0; height: 1px; background: var(--ln); }
.svc-bar span { display: block; height: 100%; background: var(--gold); transform-origin: var(--po, right); transform: scaleX(.1); }
:lang(en) .svc-bar span { --po: left; }

/* ---------- approach: stacking cards ---------- */
.approach { background: var(--obs); padding-block: clamp(110px, 13vw, 200px); }
.ap-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 36ch); gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(48px, 6vw, 96px); }
.ap-head p { color: var(--smoke); }
.stack-card { position: sticky; top: calc(120px + var(--k) * 26px); display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); gap: 2rem 4rem; min-height: clamp(300px, 46vh, 440px); margin-bottom: 6vh; padding: clamp(28px, 4vw, 64px); background: linear-gradient(160deg, #1d2b22 0%, #142018 100%); border: 1px solid rgba(200, 169, 106, .22); box-shadow: 0 -30px 60px -30px rgba(0,0,0,.6); }
.stack-card:last-child { margin-bottom: 0; }
.stack-n { display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; }
.stack-n small { font-size: .9rem; color: var(--smoke-2); }
.stack-n b { font-family: var(--num); font-weight: 400; font-size: clamp(5rem, 3rem + 6vw, 10rem); line-height: .85; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; direction: ltr; }
.stack-body { align-self: end; }
.stack-body h3 { font-family: var(--disp); font-weight: 600; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 3rem); line-height: 1.35; margin-bottom: 1rem; }
:lang(en) .stack-body h3 { font-weight: 500; line-height: 1.05; }
.stack-body p { color: var(--smoke); max-width: 58ch; font-size: 1.05rem; }

/* ---------- founder (ivory-2) ---------- */
.founder { background: var(--ivory-2); color: var(--ink); padding-block: clamp(110px, 14vw, 220px); overflow: hidden; }
.quote { position: relative; margin-bottom: clamp(64px, 8vw, 128px); }
.qmark { position: absolute; inset-inline-start: -.08em; top: -.42em; font-family: var(--num); font-size: clamp(12rem, 8rem + 14vw, 26rem); line-height: 1; color: rgba(148, 118, 63, .18); pointer-events: none; }
.quote p { position: relative; font-family: var(--disp); font-weight: 500; font-size: clamp(2.6rem, 1.2rem + 5.4vw, 7.4rem); line-height: 1.3; max-width: 16ch; text-wrap: balance; }
:lang(en) .quote p { font-weight: 400; line-height: 1; letter-spacing: -.02em; }
.founder-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: clamp(32px, 5vw, 88px); padding-top: 2.4rem; border-top: 1px solid rgba(148, 118, 63, .4); }
.founder-id { display: flex; align-items: center; gap: 1.4rem; align-self: start; }
.mono-xl { flex: none; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--gold-dk); font-family: var(--disp); font-weight: 600; font-size: 2.4rem; color: var(--gold-dk); }
.founder-id h2 { font-family: var(--disp); font-weight: 600; font-size: clamp(1.4rem, 1.1rem + .8vw, 2rem); line-height: 1.4; }
.founder-id p { color: var(--gold-dk); font-weight: 500; }
.founder-copy p { color: var(--ink-2); }
.founder-copy p + p { margin-top: 1rem; }
.creds li { position: relative; padding-block: .95rem; padding-inline-start: 1.4rem; border-bottom: 1px solid rgba(18,25,19,.12); font-weight: 500; }
.creds li::before { content: ""; position: absolute; inset-inline-start: 2px; top: calc(.95rem + .8em); width: 6px; height: 6px; background: var(--gold-dk); transform: rotate(45deg); }
.creds li:first-child::before { top: .8em; }
.creds li:first-child { padding-top: 0; }

/* ---------- team directory ---------- */
.team { background: var(--deep); padding-block: clamp(110px, 13vw, 200px); }
.team-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 40ch); gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(48px, 6vw, 96px); }
.team-head p { color: var(--smoke); }
.dir { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 120px); align-items: start; }
.dir-group + .dir-group { margin-top: 3.4rem; }
.dir-group h3 { display: flex; justify-content: space-between; align-items: baseline; font-size: 1rem; font-weight: 500; color: var(--gold); padding-bottom: .9rem; border-bottom: 1px solid rgba(200,169,106,.4); }
.dir-group h3 span { font-family: var(--num); font-size: 1.2rem; color: var(--smoke-2); }
.dir-item { position: relative; width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; padding: 1.05rem 0; background: none; border: 0; border-bottom: 1px solid var(--ln); cursor: pointer; text-align: start; transition: padding .6s var(--ease); }
.dir-name { font-family: var(--disp); font-weight: 500; font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem); line-height: 1.5; transition: color .4s; }
:lang(en) .dir-name { font-family: var(--text); font-weight: 400; }
.dir-role { font-size: .92rem; color: var(--smoke-2); text-align: end; transition: color .4s; }
.dir-item::before { content: ""; position: absolute; inset-inline-start: 0; top: 50%; width: 0; height: 1px; background: var(--gold); transition: width .6s var(--ease); }
@media (hover: hover) {
  .dir-item:hover { padding-inline-start: 34px; }
  .dir-item:hover::before { width: 22px; }
  .dir-item:hover .dir-name { color: var(--gold-hi); }
  .dir-item:hover .dir-role { color: var(--smoke); }
}
.dir-item.on .dir-name { color: var(--gold-hi); }
.dir-preview { position: sticky; top: 130px; }
.pv-card { position: relative; padding: clamp(32px, 3.4vw, 56px); min-height: 440px; display: flex; flex-direction: column; background: linear-gradient(165deg, #1f2e24, #121b15); border: 1px solid rgba(200,169,106,.28); overflow: hidden; }
.pv-card::after { content: ""; position: absolute; width: 380px; height: 380px; inset-inline-end: -140px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(200,169,106,.18), transparent 65%); }
.pv-mono { width: 128px; height: 128px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(200,169,106,.6); font-family: var(--disp); font-weight: 600; font-size: 3.6rem; color: var(--gold-hi); margin-bottom: auto; }
.pv-rule { width: 56px; height: 1px; background: var(--gold); margin-bottom: auto; }
.pv-role { margin-top: 2.4rem; color: var(--gold); font-weight: 500; }
.pv-name { font-family: var(--disp); font-weight: 600; font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.8rem); line-height: 1.35; }
:lang(en) .pv-name { font-weight: 500; line-height: 1.1; }
.pv-bio { margin-top: 1rem; color: var(--smoke); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.pv-hint { margin-top: 1.6rem; padding-top: 1rem; border-top: 1px solid var(--ln); font-size: .88rem; color: var(--smoke-2); }
.pv-card.swap .pv-role, .pv-card.swap .pv-name, .pv-card.swap .pv-bio { opacity: 0; transform: translateY(10px); }
.pv-role, .pv-name, .pv-bio { transition: opacity .35s var(--ease), transform .5s var(--ease); }

/* ---------- FAQ (ivory) ---------- */
.faq { background: var(--ivory); color: var(--ink); padding-block: clamp(110px, 13vw, 200px); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 140px); align-items: start; }
.faq-head { position: sticky; top: 130px; }
.faq-head p { margin: 1.4rem 0 2rem; color: var(--ink-2); }
.qa { border-top: 1px solid var(--ink); }
.qa-item { border-bottom: 1px solid var(--ln-lt); }
.qa-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 3rem 1fr 44px; gap: 1rem; align-items: center; padding: 1.5rem 0; }
.qa-item summary::-webkit-details-marker { display: none; }
.qa-n { font-family: var(--num); font-size: 1.3rem; color: var(--gold-dk); }
.qa-q { font-family: var(--disp); font-weight: 600; font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); line-height: 1.6; transition: color .3s; }
:lang(en) .qa-q { font-family: var(--text); font-weight: 500; }
.qa-item summary:hover .qa-q { color: var(--gold-dk); }
.qa-ico { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ln-lt); display: grid; place-items: center; transition: transform .6s var(--ease), background-color .4s, color .4s; }
.qa-ico svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.qa-item[open] .qa-ico { transform: rotate(135deg); background: var(--ink); color: var(--ivory); }
.qa-a { padding: 0 4rem 1.6rem 0; color: var(--ink-2); max-width: 62ch; }
[dir="rtl"] .qa-a { padding: 0 0 1.6rem 4rem; padding-inline-start: 4rem; padding-inline-end: 0; }
.qa-a { padding-inline-start: 4rem; padding-inline-end: 0; }

/* ---------- contact ---------- */
.contact { position: relative; background: radial-gradient(80% 60% at 0% 0%, rgba(200,169,106,.12), transparent 60%), var(--obs); padding-block: clamp(110px, 13vw, 200px); overflow: hidden; }
.contact-title { font-family: var(--disp); font-weight: 500; font-size: clamp(2.6rem, 1rem + 6.4vw, 8.4rem); line-height: 1.25; max-width: 14ch; margin-bottom: clamp(48px, 6vw, 96px); }
:lang(en) .contact-title { font-weight: 400; line-height: 1; letter-spacing: -.03em; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 120px); align-items: start; }
.contact-lead { color: var(--smoke); max-width: 48ch; }
.channels { margin-top: 2.4rem; border-top: 1px solid var(--ln); }
.channels a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--ln); text-decoration: none; transition: color .4s, padding .6s var(--ease); }
.channels small { font-size: .95rem; color: var(--smoke-2); }
.channels bdi { font-family: var(--num); font-size: clamp(1.4rem, 1.1rem + .9vw, 2.1rem); }
@media (hover: hover) { .channels a:hover { color: var(--gold-hi); padding-inline: 14px; } }
.offices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 2rem; margin-top: 2.6rem; }
.offices h3 { font-size: 1rem; font-weight: 500; color: var(--ivory); }
.offices em { font-style: normal; font-size: .8rem; color: var(--gold); margin-inline-start: .3em; }
.offices p { color: var(--smoke); font-size: .95rem; line-height: 1.7; }
.form { display: grid; gap: 1.3rem; padding: clamp(26px, 3.4vw, 52px); background: linear-gradient(170deg, rgba(31,46,36,.9), rgba(18,27,21,.9)); border: 1px solid rgba(200,169,106,.25); }
.fld { display: grid; gap: .45rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.fld > label, .fld legend { font-size: .95rem; color: var(--smoke); padding: 0; }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 56px; padding: .8rem 1.05rem; font: inherit; color: var(--ivory); background: rgba(242,238,229,.04); border: 1px solid rgba(242,238,229,.16); border-radius: 0; transition: border-color .3s, background-color .3s; -webkit-appearance: none; appearance: none; }
.fld select { background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-size: 6px 6px; background-repeat: no-repeat; background-position: 1.1rem 50%, calc(1.1rem + 6px) 50%; }
[dir="ltr"] .fld select { background-position: calc(100% - 1.4rem) 50%, calc(100% - 1.4rem + 6px) 50%; }
.fld select option { color: var(--ink); }
.fld textarea { min-height: 120px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--gold); background: rgba(242,238,229,.07); }
.fld [aria-invalid="true"] { border-color: #e6a98f; }
.fld-err { font-size: .88rem; color: #f0bba6; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.seg-opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.seg-opts label { position: relative; }
.seg-opts input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.seg-opts span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.2rem; border: 1px solid rgba(242,238,229,.2); border-radius: 999px; font-size: .95rem; transition: all .35s; }
.seg-opts input:checked + span { background: var(--gold); color: var(--obs); border-color: var(--gold); }
.seg-opts input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.form-note { font-size: .9rem; color: var(--smoke-2); }
.form-status { color: var(--gold-hi); }

/* ---------- careers & footer ---------- */
.careers { background: var(--panel); padding-block: clamp(64px, 8vw, 110px); border-top: 1px solid var(--ln); }
.careers-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 2rem 6rem; align-items: center; }
.careers h2 { font-family: var(--disp); font-weight: 600; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); margin-bottom: .6rem; }
.careers p { color: var(--smoke); }
.careers li { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1rem 0; border-bottom: 1px solid var(--ln); }
.careers li:first-child { border-top: 1px solid var(--ln); }
.careers li a { color: var(--gold-hi); text-underline-offset: 5px; }
.ftr { background: var(--obs); padding-top: clamp(80px, 9vw, 140px); color: var(--smoke); border-top: 1px solid rgba(200,169,106,.18); }
.ftr-top { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--ln); }
.ftr-top img { height: clamp(96px, 9vw, 150px); width: auto; }
.ftr-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; padding-block: clamp(40px, 5vw, 64px); }
.ftr-grid h2 { font-size: .95rem; font-weight: 500; color: var(--gold); margin-bottom: 1rem; }
.ftr-grid li { padding-block: .25rem; font-size: .98rem; }
.ftr-grid a { text-decoration: none; transition: color .3s; }
.ftr-grid a:hover { color: var(--gold-hi); }
.ftr-base { display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding-block: 1.6rem; border-top: 1px solid var(--ln); font-size: .9rem; color: var(--smoke-2); }
.ftr-base p:last-child { max-width: 70ch; }

.wa-float { position: fixed; z-index: 95; inset-inline-end: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: #17120a; box-shadow: 0 16px 40px -14px rgba(200,169,106,.8); opacity: 0; transform: scale(.6); pointer-events: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.wa-float svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.wa-float.on { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- drawer ---------- */
.drawer { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(680px, 100%); max-width: 100%; height: 100%; max-height: 100%; padding: 0; border: 0; background: var(--ivory); color: var(--ink); overflow-y: auto; overscroll-behavior: contain; }
[dir="rtl"] .drawer { inset: 0 auto 0 0; }
.drawer::backdrop { background: rgba(5, 9, 6, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.drawer[open] { animation: drawer-in .8s var(--ease); }
@keyframes drawer-in { from { transform: translateX(var(--dx, 40px)); opacity: 0; } }
[dir="rtl"] .drawer { --dx: -40px; }
.drawer-in { position: relative; padding: clamp(80px, 9vw, 120px) clamp(24px, 5vw, 72px) 64px; }
.drawer-x { position: absolute; top: 24px; inset-inline-end: 24px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: none; border: 1px solid var(--ln-lt); cursor: pointer; transition: transform .6s var(--ease), background-color .3s, color .3s; }
.drawer-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.drawer-x:hover { transform: rotate(90deg); background: var(--ink); color: var(--ivory); }
.d-kicker { color: var(--gold-dk); font-weight: 500; margin-bottom: .6rem; }
.d-title { font-family: var(--disp); font-weight: 600; font-size: clamp(2rem, 1.4rem + 1.8vw, 3.2rem); line-height: 1.3; margin-bottom: 1.4rem; }
:lang(en) .d-title { font-weight: 500; line-height: 1.05; }
.d-lead { font-size: 1.2rem; color: var(--ink); padding-bottom: 1.4rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--ln-lt); }
.drawer-body p + p { margin-top: 1rem; }
.drawer-body p:not(.d-lead):not(.d-kicker) { color: var(--ink-2); }
.drawer-body .btn { margin-top: 2rem; }
.d-mail { display: inline-block; margin-top: 1.4rem; color: var(--gold-dk); }
.locked { overflow: hidden; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
  .hdr-act { margin-inline-start: auto; }
  .hdr-act .lang { display: none; }
}
@media (max-width: 960px) {
  .about-grid, .impacts, .faq-grid, .contact-grid, .careers-grid, .dir, .team-head, .ap-head { grid-template-columns: 1fr; }
  .about-side, .faq-head { position: static; }
  .values { grid-template-columns: 1fr; }
  .values .value + .value { border-inline-start: 0; border-top: 0; }
  .value { padding-inline: 0; }
  .founder-grid { grid-template-columns: 1fr; }
  .dir-preview { display: none; }
  .svc-head { grid-template-columns: 1fr auto; }
  .svc-head p { grid-column: 1 / -1; grid-row: 2; }
  .svc-pin { min-height: 0; padding-block: 110px 64px; }
  .svc-track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
  .svc-track::-webkit-scrollbar { display: none; }
  .svc-card { width: 82vw; min-height: 420px; scroll-snap-align: center; }
  .stack-card { grid-template-columns: 1fr; top: calc(96px + var(--k) * 14px); min-height: 0; }
  .ftr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hdr { padding: 16px var(--g); }
  .brand img { height: 66px; }
  .hdr.solid .brand img { height: 52px; }
  .hdr-act .btn--sm { display: none; }
  .hero { padding-top: 130px; }
  .hero-foot { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1; }
  .row2, .offices { grid-template-columns: 1fr; }
  .stack-n { flex-direction: row; align-items: baseline; justify-content: flex-start; }
  .stack-n small:last-child { margin-inline-start: auto; }
  .stack-n b { font-size: 4.2rem; order: -1; }
  .stack-card { padding: 26px; }
  .qa-item summary { grid-template-columns: 2.2rem 1fr 40px; }
  .qa-a { padding-inline-start: 0; }
  .dir-item { flex-direction: column; align-items: stretch; gap: .15rem; padding: .85rem 0; }
  .dir-name { font-size: 1.15rem; line-height: 1.55; text-align: start; }
  .dir-role { font-size: .9rem; line-height: 1.5; text-align: start; }
  .dir-group + .dir-group { margin-top: 2.4rem; }
  .dir-group h3 { font-size: .95rem; }
  .ftr-grid { grid-template-columns: 1fr; }
  .channels bdi { font-size: 1.35rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .intro { display: none; }
  .marquee-track { animation: none; }
}
