/* ==========================================================================
   VOYARX — public site
   Dark ink canvas · bone type · gold accent · hairlines · editorial serif
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --ink: #0A0A0B; --ink-2: #111113; --ink-3: #17171A; --ink-4: #1F1F23;
  --bone: #F2EEE6; --bone-2: #D9D4CA; --muted: #8C877E; --muted-2: #5E5A54;
  --gold: #C9A96E; --gold-2: #E4CD9C; --gold-3: #8E7444;
  --line: rgba(242, 238, 230, .10); --line-2: rgba(242, 238, 230, .18);

  /* contextual (switch inside light sections) */
  --bg: var(--ink); --fg: var(--bone); --fg-2: var(--bone-2); --fg-m: var(--muted); --rule: var(--line); --rule-2: var(--line-2); --acc: var(--gold);

  --f-display: "Instrument Serif", "Times New Roman", serif;
  --f-ui: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-word: "Italiana", "Instrument Serif", serif;

  --gutter: clamp(20px, 4.2vw, 72px);
  --gap: clamp(16px, 2vw, 32px);
  --maxw: 1720px;
  --hdr-h: 84px;
  --sec-y: clamp(96px, 13vw, 210px);

  --fs-hero: clamp(3.2rem, 9vw, 9.5rem);
  --fs-h1: clamp(3rem, 7.6vw, 8.4rem);
  --fs-h2: clamp(2.5rem, 5.4vw, 5.6rem);
  --fs-h3: clamp(1.5rem, 2.3vw, 2.3rem);
  --fs-lead: clamp(1.08rem, 1.3vw, 1.32rem);
  --fs-body: clamp(1rem, .96rem + .12vw, 1.0625rem);
  --fs-sm: .8125rem;
  --lh-body: 1.62;
  --lh-display: .96;
  --ls-display: -.018em;
  --ls-cap: .16em;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --dirx: 1;
  --r: 14px;
}
[dir="rtl"] { --dirx: -1; }
:lang(ar) {
  --f-display: "Alexandria", "IBM Plex Sans Arabic", sans-serif;
  --f-ui: "IBM Plex Sans Arabic", "Alexandria", system-ui, sans-serif;
  --fs-hero: clamp(2.6rem, 7.2vw, 7.6rem);
  --fs-h1: clamp(2.5rem, 6vw, 6.6rem);
  --fs-h2: clamp(2.1rem, 4.3vw, 4.5rem);
  --fs-h3: clamp(1.35rem, 2vw, 2rem);
  --fs-lead: clamp(1.12rem, 1.35vw, 1.38rem);
  --fs-body: clamp(1.05rem, 1rem + .15vw, 1.125rem);
  --lh-body: 1.9;
  --lh-display: 1.28;
  --ls-display: 0;
  --ls-cap: 0;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
html, body { overflow-x: clip; }
body {
  background: var(--ink); color: var(--bone);
  font: 400 var(--fs-body)/var(--lh-body) var(--f-ui);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  min-height: 100vh;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; background: none; border: 0; }
button { cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 4px; border-radius: 4px; }
main:focus { outline: none; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.muted { color: var(--fg-m); }
.skip { position: fixed; top: 12px; inset-inline-start: 12px; z-index: 200; padding: .7rem 1.1rem; border-radius: 999px; background: var(--bone); color: var(--ink); font-weight: 500; transform: translateY(-160%); transition: transform .3s var(--ease); }
.skip:focus { transform: none; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sec { position: relative; padding-block: var(--sec-y); }
.sec + .sec:not(.sec--light) { padding-top: calc(var(--sec-y) * .72); }
.sec--light {
  --bg: var(--bone); --fg: var(--ink); --fg-2: #2b2a28; --fg-m: #6d685f; --rule: rgba(10,10,11,.12); --rule-2: rgba(10,10,11,.22); --acc: var(--gold-3);
  background: var(--bone); color: var(--ink);
  border-radius: clamp(20px, 3vw, 40px);
  margin-inline: clamp(8px, 1vw, 16px);
}
.sec--light ::selection { background: var(--ink); color: var(--bone); }

/* ---------- type ---------- */
.display { font-family: var(--f-display); font-weight: 400; line-height: var(--lh-display); letter-spacing: var(--ls-display); color: var(--fg); text-wrap: balance; }
.display em, .sh-title em, .manifesto em { font-style: italic; color: var(--acc); }
:lang(ar) .display, :lang(ar) .manifesto { font-weight: 300; }
:lang(ar) .display em, :lang(ar) .sh-title em, :lang(ar) .manifesto em, :lang(ar) em { font-style: normal; font-weight: 200; color: var(--acc); }
.sec--light .display em { color: var(--gold-3); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font: 500 .75rem/1.2 var(--f-ui); letter-spacing: var(--ls-cap); text-transform: uppercase; color: var(--fg-m);
}
:lang(ar) .eyebrow { font-size: .9rem; text-transform: none; font-weight: 400; }
.eb-n { color: var(--acc); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }
.dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--gold); opacity: 0; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }

/* section heading */
.sh { display: grid; gap: clamp(1.2rem, 2vw, 1.8rem); margin-bottom: clamp(3rem, 6vw, 6rem); }
.sh-title { font-size: var(--fs-h2); max-width: 17ch; }
:lang(ar) .sh-title { max-width: 18ch; }
.sh-foot { display: grid; gap: 1.5rem; }
.sh-body { max-width: 46ch; color: var(--fg-2); font-size: var(--fs-lead); line-height: 1.55; }
:lang(ar) .sh-body { line-height: 1.85; }
.sh--split { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; }
.sh--split > .eyebrow { grid-column: 1 / -1; }
.sh--split .sh-title { grid-column: 1 / span 8; }
.sh--split .sh-foot { grid-column: 9 / -1; align-self: end; justify-items: start; }
.sh--split .sh-body { font-size: var(--fs-body); color: var(--fg-m); line-height: var(--lh-body); }

/* ---------- buttons & links ---------- */
.btn {
  --h: 54px; --ic: 40px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: .9rem;
  height: var(--h); padding-inline: 1.5rem calc((var(--h) - var(--ic)) / 2);
  border-radius: 999px; font: 500 .95rem/1 var(--f-ui); white-space: nowrap;
  transition: color .5s var(--ease), background-color .5s var(--ease), border-color .5s var(--ease);
  will-change: transform;
}
:lang(ar) .btn { font-size: 1rem; font-weight: 500; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--gold); transform: translateY(101%); transition: transform .6s var(--ease); }
.btn:hover::before { transform: none; }
.btn--solid { background: var(--bone); color: var(--ink); }
.btn--ghost { color: var(--fg); box-shadow: inset 0 0 0 1px var(--rule-2); }
.btn--ghost:hover { color: var(--ink); }
.btn--sm { --h: 44px; --ic: 32px; font-size: .875rem; padding-inline-start: 1.15rem; gap: .7rem; }
.btn--lg { --h: 62px; --ic: 46px; padding-inline-start: 1.8rem; font-size: 1rem; }
.btn-roll { display: block; overflow: hidden; line-height: 1.3; height: 1.3em; }
.btn-roll > span { display: block; position: relative; transition: transform .6s var(--ease); }
.btn-roll > span::after { content: attr(data-text); position: absolute; top: 100%; inset-inline-start: 0; }
.btn:hover .btn-roll > span { transform: translateY(-100%); }
.btn-ic { width: var(--ic); height: var(--ic); border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bone); flex: none; transition: transform .6s var(--ease), background-color .5s; }
.btn--ghost .btn-ic { background: var(--rule); color: var(--fg); }
.btn:hover .btn-ic { background: var(--ink); color: var(--gold-2); }
.btn-ic svg { transition: transform .6s var(--ease); }
.btn:hover .btn-ic svg { transform: rotate(calc(45deg * var(--dirx))) scaleX(var(--dirx)); }
[dir="rtl"] .ic-arrow, [dir="rtl"] .ic-arrow-ne { transform: scaleX(-1); }

.tlink { display: inline-flex; align-items: center; gap: .6rem; color: var(--fg); font-weight: 500; }
.tlink span { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .6s var(--ease); }
[dir="rtl"] .tlink span { background-position: 100% 100%; }
.tlink:hover span { background-size: 0 1px; }
.tlink svg { color: var(--acc); transition: transform .5s var(--ease); }
.tlink:hover svg { transform: translateX(calc(5px * var(--dirx))) scaleX(var(--dirx)); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li, .chip { display: inline-flex; align-items: center; min-height: 36px; padding: .45rem 1rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--rule-2); font-size: .85rem; line-height: 1.2; color: var(--fg-2); }
.chips--sm li { min-height: 30px; padding: .35rem .8rem; font-size: .78rem; }
:lang(ar) .chips li { font-size: .9rem; }
.badge { position: absolute; top: 1rem; inset-inline-start: 1rem; z-index: 2; display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .8rem; border-radius: 999px; background: rgba(10,10,11,.5); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(242,238,230,.18); color: var(--bone); font: 500 .68rem/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; }
.badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
:lang(ar) .badge { letter-spacing: 0; font-size: .8rem; text-transform: none; }
.icon-btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--rule-2); color: var(--fg); transition: background-color .4s, color .4s; }
.icon-btn:hover { background: var(--bone); color: var(--ink); }
.icon-btn[data-prev] svg { transform: scaleX(calc(-1 * var(--dirx))); }

/* ---------- reveal system (only with JS) ---------- */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 32px, 0); transition: opacity 1.1s var(--ease) var(--d, 0s), transform 1.3s var(--ease) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .08em .06em .16em; margin: -.08em -.06em -.16em; }
:lang(ar) .w { padding-block: .22em .26em; margin-block: -.22em -.26em; }
.wi { display: inline-block; }
.js [data-split] .wi { transform: translate3d(0, 115%, 0); transition: transform 1.25s var(--ease) var(--d, 0s); }
.js [data-split].is-in .wi { transform: none; }
.js [data-stagger] > * { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--si, 0) * 90ms); }
.js [data-stagger].is-in > * { opacity: 1; transform: none; }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 70; transition: transform .7s var(--ease), background-color .5s, box-shadow .5s; }
.hdr::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10,10,11,.62); -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%); box-shadow: 0 1px 0 var(--line); opacity: 0; transition: opacity .5s; }
.hdr.is-scrolled::before { opacity: 1; }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr-in { height: var(--hdr-h); display: flex; align-items: center; gap: 2rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; color: var(--bone); flex: none; }
.logo-mark { width: 30px; height: 34px; transition: transform .8s var(--ease); }
.logo:hover .logo-mark { transform: rotate(-8deg); }
.logo:hover .vx-star { animation: twinkle 1s var(--ease); }
@keyframes twinkle { 50% { transform: scale(1.5) rotate(45deg); } }
.vx-star { transform-box: fill-box; transform-origin: center; }
.logo-word { font: 400 1.32rem/1 var(--f-word); letter-spacing: .32em; margin-inline-end: -.32em; padding-top: 3px; }
.nav { margin-inline: auto; }
.nav ul { display: flex; gap: clamp(1.2rem, 2.4vw, 2.6rem); }
.nav-a { position: relative; display: block; padding-block: .5rem; font-size: .92rem; font-weight: 500; color: var(--bone-2); transition: color .3s; }
:lang(ar) .nav-a { font-size: 1rem; }
.nav-a:hover, .nav-a.is-active { color: var(--bone); }
.nav-a.is-active::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 50%; width: 4px; height: 4px; margin-inline-start: -2px; border-radius: 50%; background: var(--gold); }
.roll { display: block; overflow: hidden; height: 1.4em; line-height: 1.4; }
.roll > span { display: block; position: relative; transition: transform .6s var(--ease); }
.roll > span::after { content: attr(data-text); position: absolute; top: 100%; inset-inline-start: 0; }
.nav-a:hover .roll > span { transform: translateY(-100%); }
.hdr-act { display: flex; align-items: center; gap: 1.25rem; flex: none; }
.lang-sw { display: inline-flex; align-items: center; gap: .45rem; font-size: .9rem; color: var(--bone-2); transition: color .3s; }
/* Gulf / International edition switch — a quiet two-way pill */
.rgn-sw { display: inline-flex; align-items: center; padding: 3px; border: 1px solid var(--line-2, rgba(242,238,230,.18)); border-radius: 999px; gap: 2px; flex: none; }
.rgn-sw a { position: relative; display: inline-flex; align-items: center; height: 26px; padding: 0 .75rem; border-radius: 999px; font: 500 .74rem/1 var(--f-ui, "Instrument Sans", system-ui, sans-serif); letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #8C877E); transition: color .3s, background-color .3s; white-space: nowrap; }
.rgn-sw a:lang(ar), :lang(ar) .rgn-sw a[data-rgn="gulf"] { font-family: "IBM Plex Sans Arabic", "Alexandria", sans-serif; letter-spacing: 0; text-transform: none; font-size: .86rem; }
.rgn-sw a:hover { color: var(--bone, #F2EEE6); }
.rgn-sw a.is-on { color: var(--ink, #0A0A0B); background: var(--gold, #C9A96E); }
.rgn-sw a:focus-visible { outline: 1px solid var(--gold-2, #E4CD9C); outline-offset: 2px; }
.rgn-sw--ftr a, .rgn-sw--menu a { height: 30px; padding: 0 .95rem; }
.menu-rgn { display: grid; gap: .8rem; justify-items: start; }
.lang-sw:hover { color: var(--gold-2); }
.lang-sw span:lang(ar) { font-family: "IBM Plex Sans Arabic", "Alexandria", sans-serif; font-size: .98rem; }
.lang-sw span:lang(en) { font-family: "Instrument Sans", system-ui, sans-serif; }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); position: relative; }
.burger span { position: absolute; inset-inline-start: 15px; width: 18px; height: 1.5px; background: var(--bone); border-radius: 2px; transition: transform .6s var(--ease), top .6s var(--ease); }
.burger span:first-child { top: 20px; }
.burger span:last-child { top: 27px; }
.menu-open .burger span:first-child { top: 23.5px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 23.5px; transform: rotate(-45deg); }
.ann { display: flex; justify-content: center; align-items: center; gap: .7rem; min-height: 38px; padding: .45rem var(--gutter); background: var(--gold); color: var(--ink); font-size: .82rem; font-weight: 500; text-align: center; }
.ann .dot { background: var(--ink); }
.ann .dot::after { border-color: var(--ink); }
:lang(ar) .ann { font-size: .92rem; }
.hdr.has-ann.is-scrolled .ann { display: none; }

/* ---------- mobile menu ---------- */
.menu { position: fixed; inset: 0; z-index: 60; visibility: hidden; pointer-events: none; }
.menu-bg { position: absolute; inset: 0; background: var(--ink-2); clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease-io); }
.menu-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 50% at 100% 0%, rgba(201,169,110,.18), transparent 70%); }
.menu-in { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding-top: calc(var(--hdr-h) + 4vh); padding-bottom: max(2rem, env(safe-area-inset-bottom)); overflow-y: auto; }
.menu-nav li { overflow: hidden; border-bottom: 1px solid var(--line); }
.menu-nav a { display: flex; align-items: baseline; gap: 1rem; padding-block: .6rem; transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: calc(.08s * var(--i) + .2s); }
.menu-n { font: 500 .75rem var(--f-ui); color: var(--gold); min-width: 2rem; }
.menu-t { font: 400 clamp(2.6rem, 11vw, 5rem)/1.05 var(--f-display); letter-spacing: var(--ls-display); }
:lang(ar) .menu-t { font-weight: 300; font-size: clamp(2.1rem, 9vw, 4rem); line-height: 1.35; }
.menu-nav a[aria-current] .menu-t { font-style: italic; color: var(--gold-2); }
:lang(ar) .menu-nav a[aria-current] .menu-t { font-style: normal; }
.menu-foot { display: grid; gap: 1.5rem; padding-top: 2.5rem; opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease) .5s, transform .8s var(--ease) .5s; }
.menu-contact { display: grid; gap: .3rem; color: var(--bone-2); }
.menu-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.menu-open .menu { visibility: visible; pointer-events: auto; }
.menu-open .menu-bg { clip-path: inset(0 0 0 0); }
.menu-open .menu-nav a { transform: none; }
.menu-open .menu-foot { opacity: 1; transform: none; }
.menu-open .hdr::before { opacity: 0; }
.menu-open .hdr { transform: none; }
.menu-open .hdr-cta { opacity: 0; pointer-events: none; }
.socials { display: flex; gap: .5rem; flex-wrap: wrap; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--bone-2); transition: background-color .3s, color .3s; }
.socials a:hover { background: var(--bone); color: var(--ink); }

/* ---------- intro / preloader ---------- */
.preload { display: none; }
.is-intro .preload { display: grid; place-items: center; position: fixed; inset: 0; z-index: 90; background: var(--ink); }
.is-intro body { overflow: hidden; }
.preload-in { display: grid; justify-items: center; gap: 1.4rem; }
.preload-mark { width: 74px; height: 84px; overflow: visible; }
.preload-mark path { fill: transparent; stroke: var(--bone); stroke-width: .5; stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1s var(--ease-io) forwards, fillin .5s var(--ease) .75s forwards; }
.preload-mark .im-r { animation-delay: .15s, .85s; }
.preload-mark .im-s { stroke: var(--gold); animation: draw .6s var(--ease) .55s forwards, fillgold .4s var(--ease) .95s forwards, spark 1s var(--ease) .9s; transform-box: fill-box; transform-origin: center; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fillin { to { fill: var(--bone); stroke-width: 0; } }
@keyframes fillgold { to { fill: var(--gold); } }
@keyframes spark { 40% { transform: scale(1.9) rotate(90deg); } 100% { transform: scale(1) rotate(90deg); } }
.preload-word { font: 400 1.05rem/1 var(--f-word); letter-spacing: .6em; margin-inline-end: -.6em; color: var(--bone); opacity: 0; animation: fadeup .8s var(--ease) .5s forwards; }
.preload-count { position: absolute; bottom: 5vh; inset-inline-end: var(--gutter); font: 400 clamp(3rem, 8vw, 7rem)/1 var(--f-display); color: var(--bone); font-variant-numeric: tabular-nums; }
.preload-tag { position: absolute; bottom: 6vh; inset-inline-start: var(--gutter); font-size: .8rem; color: var(--muted); max-width: 28ch; }
@keyframes fadeup { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.preload.is-leaving { clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease-io); }

/* ---------- cursor, grain, floating ---------- */
.cursor { display: none; }
.has-cursor .cursor { display: block; position: fixed; inset: 0 auto auto 0; z-index: 100; pointer-events: none; }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold); transition: opacity .3s, scale .3s; }
.cursor-ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; box-shadow: inset 0 0 0 1px rgba(242,238,230,.35); display: grid; place-items: center; transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background-color .4s, box-shadow .4s, opacity .3s; }
.cursor.is-link .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(201,169,110,.12); box-shadow: inset 0 0 0 1px rgba(201,169,110,.6); }
.cursor.is-link .cursor-dot { scale: 0; }
.cursor.is-view .cursor-ring { width: 104px; height: 104px; margin: -52px 0 0 -52px; background: var(--bone); box-shadow: none; }
.cursor.is-view .cursor-dot { scale: 0; }
.cursor-label { font: 500 .8rem/1 var(--f-ui); color: var(--ink); letter-spacing: .08em; text-transform: uppercase; opacity: 0; transition: opacity .3s; }
:lang(ar) .cursor-label { letter-spacing: 0; font-size: .95rem; }
.cursor.is-view .cursor-label { opacity: 1; }
.cursor.is-hidden .cursor-dot, .cursor.is-hidden .cursor-ring, .cursor.is-native .cursor-dot, .cursor.is-native .cursor-ring { opacity: 0; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.has-cursor input, .has-cursor textarea, .has-cursor select { cursor: auto; }

.grain { position: fixed; inset: -50%; z-index: 95; pointer-events: none; background: url(../img/site/grain.png) repeat; background-size: 128px; opacity: .055; animation: grain 1s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-5%, 3%); } 40% { transform: translate(3%, -6%); } 60% { transform: translate(-7%, -2%); } 80% { transform: translate(6%, 5%); } 100% { transform: translate(-2%, 7%); } }

.wa-float { position: fixed; bottom: max(20px, env(safe-area-inset-bottom)); inset-inline-end: 20px; z-index: 55; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); box-shadow: 0 14px 40px rgba(0,0,0,.45); transition: transform .5s var(--ease), background-color .3s; }
.wa-float:hover { transform: scale(1.06); background: var(--gold-2); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--gold); animation: pulse 2.6s var(--ease) infinite; }
.wa-tip { position: absolute; inset-inline-end: calc(100% + 12px); white-space: nowrap; padding: .5rem .85rem; border-radius: 999px; background: var(--bone); color: var(--ink); font-size: .8rem; font-weight: 500; opacity: 0; transform: translateX(calc(8px * var(--dirx))); transition: opacity .3s, transform .4s var(--ease); pointer-events: none; }
.wa-float:hover .wa-tip { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: flex; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-fallback { position: absolute; inset: 0; background:
  radial-gradient(55% 60% at 78% 28%, rgba(201,169,110,.30), transparent 70%),
  radial-gradient(45% 45% at 12% 85%, rgba(142,116,68,.26), transparent 70%),
  radial-gradient(90% 60% at 50% 115%, rgba(228,205,156,.12), transparent 70%),
  linear-gradient(160deg, #141210 0%, var(--ink) 55%); }
[dir="rtl"] .hero-fallback { transform: scaleX(-1); }
.hero-gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 2s var(--ease); }
.hero-gl.is-live { opacity: 1; }
.hero-mark { position: absolute; top: 25vh; inset-inline-end: 6vw; height: min(78vh, 70vw); aspect-ratio: 78 / 88; pointer-events: none; }
.hero-mark svg { width: 100%; height: 100%; overflow: visible; }
.hero-mark path { fill: none; stroke: var(--gold-2); stroke-width: .12; opacity: .32; }
.hero-mark .vx-star { stroke: var(--gold); opacity: .7; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,11,.92) 0%, rgba(10,10,11,.35) 45%, rgba(10,10,11,0) 70%), linear-gradient(to bottom, rgba(10,10,11,.55), rgba(10,10,11,0) 22%); }
.hero-in { position: relative; display: flex; flex-direction: column; min-height: 100%; width: 100%; padding-top: calc(var(--hdr-h) + clamp(1.5rem, 4vh, 3rem)); padding-bottom: clamp(1.6rem, 4vh, 3rem); }
.hero-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; margin-bottom: auto; padding-bottom: 8vh; }
.hero-status { display: grid; justify-items: end; gap: .5rem; font-size: .82rem; color: var(--bone-2); }
.avail { display: inline-flex; align-items: center; gap: .65rem; padding: .5rem .95rem .5rem .8rem; border-radius: 999px; background: rgba(10,10,11,.35); box-shadow: inset 0 0 0 1px var(--line-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero-clock { color: var(--muted); font-variant-numeric: tabular-nums; }
.hero-clock time { color: var(--bone-2); margin-inline-start: .4rem; }
.hero-title { font-size: var(--fs-hero); line-height: .92; max-width: 12.5em; color: var(--bone); }
:lang(ar) .hero-title { line-height: 1.2; max-width: 11em; }
.hero-foot { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: end; margin-top: clamp(2rem, 5vh, 3.5rem); padding-top: clamp(1.4rem, 3vh, 2rem); border-top: 1px solid var(--line); }
.hero-body { grid-column: 1 / span 4; color: var(--bone-2); max-width: 40ch; font-size: .98rem; }
:lang(ar) .hero-body { font-size: 1.05rem; }
.hero-ctas { grid-column: 6 / span 5; display: flex; gap: .8rem; flex-wrap: wrap; }
.scroll-cue { grid-column: 12; justify-self: end; display: grid; justify-items: center; gap: .7rem; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
:lang(ar) .scroll-cue { letter-spacing: 0; font-size: .85rem; }
.scroll-cue i { position: relative; width: 1px; height: 54px; background: var(--line-2); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: translateY(-100%); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 55% { transform: none; } 100% { transform: translateY(100%); } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: clamp(1.4rem, 2.8vw, 2.6rem); background: var(--ink); }
.mq-track { display: flex; width: max-content; animation: mq 70s linear infinite; will-change: transform; }
[dir="rtl"] .mq-track { animation-name: mq-rtl; }
@keyframes mq { to { transform: translate3d(-50%, 0, 0); } }
@keyframes mq-rtl { to { transform: translate3d(50%, 0, 0); } }
.mq-group { display: flex; align-items: center; flex: none; }
.mq-item { padding-inline: clamp(1.1rem, 2.4vw, 2.6rem); font: italic 400 clamp(2.4rem, 5.6vw, 5.4rem)/1.1 var(--f-display); white-space: nowrap; color: var(--bone); letter-spacing: -.01em; }
.mq-item:nth-of-type(even) { font-style: normal; color: transparent; -webkit-text-stroke: 1px rgba(242,238,230,.55); }
:lang(ar) .mq-item { font-style: normal; font-weight: 300; font-size: clamp(2rem, 4.6vw, 4.4rem); line-height: 1.5; letter-spacing: 0; }
:lang(ar) .mq-item:nth-of-type(even) { -webkit-text-stroke: 0; color: var(--muted); font-weight: 200; }
.mq-sep { flex: none; display: grid; place-items: center; }
.mq-sep svg { width: clamp(16px, 1.8vw, 28px); height: auto; fill: var(--gold); animation: spin 10s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- manifesto / intro ---------- */
.intro-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.intro-eb { grid-column: 1 / span 3; align-self: start; padding-top: .9em; }
.manifesto { grid-column: 4 / -1; font: 400 clamp(2rem, 4.2vw, 4.5rem)/1.1 var(--f-display); letter-spacing: -.012em; color: var(--fg); text-wrap: pretty; }
:lang(ar) .manifesto { font-size: clamp(1.7rem, 3.4vw, 3.6rem); line-height: 1.55; letter-spacing: 0; }
.sw { transition: opacity .25s linear, color .25s; }
.js [data-scrub] .sw { opacity: .14; }
.js [data-scrub] .sw.on { opacity: 1; }
.intro-aside { grid-column: 7 / span 5; display: grid; gap: 1.75rem; margin-top: clamp(2.5rem, 5vw, 4.5rem); color: var(--fg-2); max-width: 52ch; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(4rem, 9vw, 9rem); border-top: 1px solid var(--rule); }
.stat { padding: clamp(1.5rem, 2.4vw, 2.4rem) clamp(1rem, 2vw, 2rem) 0; border-inline-start: 1px solid var(--rule); }
.stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stat-v { font: 400 clamp(3.6rem, 7.4vw, 8rem)/1 var(--f-display); letter-spacing: -.03em; color: var(--fg); font-variant-numeric: tabular-nums; }
:lang(ar) .stat-v { font-family: "Instrument Serif", serif; }
.stat-suf { font-style: italic; color: var(--acc); margin-inline-start: .04em; }
.stat-l { margin-top: 1rem; color: var(--fg-m); font-size: .92rem; max-width: 20ch; line-height: 1.45; }
:lang(ar) .stat-l { font-size: 1rem; line-height: 1.7; }

/* ---------- services list ---------- */
.svc-list { border-top: 1px solid var(--rule); }
.svc-row { position: relative; border-bottom: 1px solid var(--rule); }
.svc-row::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(201,169,110,.08), rgba(201,169,110,0) 70%); opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; }
[dir="rtl"] .svc-row::before { background: linear-gradient(270deg, rgba(201,169,110,.08), rgba(201,169,110,0) 70%); }
.svc-row:hover::before { opacity: 1; }
.svc-link { position: relative; display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 20rem) 3.2rem; align-items: center; gap: clamp(1rem, 2vw, 2rem); padding-block: clamp(1.4rem, 2.5vw, 2.3rem); }
.svc-num { font: 500 .8rem var(--f-ui); color: var(--fg-m); font-variant-numeric: tabular-nums; letter-spacing: .08em; transition: color .4s; }
.svc-title { font: 400 clamp(1.75rem, 3.5vw, 3.5rem)/1.05 var(--f-display); letter-spacing: -.012em; transition: transform .8s var(--ease), color .5s; }
:lang(ar) .svc-title { font-weight: 300; font-size: clamp(1.5rem, 2.8vw, 2.8rem); line-height: 1.4; letter-spacing: 0; }
.svc-tag { color: var(--fg-m); font-size: .95rem; transition: color .4s; }
.svc-go { width: 3.2rem; height: 3.2rem; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--rule-2); transition: background-color .5s var(--ease), color .5s, transform .6s var(--ease); }
.svc-go svg { transition: transform .6s var(--ease); }
.svc-row:hover .svc-title { transform: translateX(calc(1.2rem * var(--dirx))); color: var(--gold-2); }
.svc-row:hover .svc-num, .svc-row:hover .svc-tag { color: var(--fg-2); }
.svc-row:hover .svc-go { background: var(--gold); color: var(--ink); box-shadow: none; }
.svc-row:hover .svc-go svg { transform: rotate(calc(45deg * var(--dirx))) scaleX(var(--dirx)); }
.svc-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s var(--ease); }
.svc-more-in { overflow: hidden; min-height: 0; display: flex; align-items: flex-start; gap: 2rem 3rem; padding-inline-start: calc(4.5rem + clamp(1rem, 2vw, 2rem)); flex-wrap: wrap; }
.svc-more-in p { max-width: 46ch; color: var(--fg-2); padding-bottom: 2.2rem; }
.svc-more-in .chips { max-width: 36rem; padding-bottom: 2.2rem; }
.svc-row:hover .svc-more, .svc-row:focus-within .svc-more { grid-template-rows: 1fr; }
.svc-preview { position: fixed; top: 0; left: 0; z-index: 40; width: clamp(280px, 24vw, 400px); aspect-ratio: 4 / 3; pointer-events: none; display: none; }
.svc-preview-in { position: absolute; inset: 0; border-radius: 12px; overflow: hidden; opacity: 0; transform: scale(.7) rotate(-4deg); transition: opacity .45s var(--ease), transform .7s var(--ease); box-shadow: 0 30px 80px rgba(0,0,0,.55); background: var(--ink-3); }
.svc-preview.is-on .svc-preview-in { opacity: 1; transform: none; }
.svc-pv { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); transition: clip-path .75s var(--ease-io); }
.svc-pv.is-on { clip-path: inset(0 0 0 0); z-index: 1; }
.svc-pv .art { width: 100%; height: 100%; object-fit: cover; }

/* ---------- art ---------- */
.art { width: 100%; height: 100%; object-fit: cover; direction: ltr; }
.art-glyph { font-family: var(--f-display); }
:lang(ar) .art-glyph { font-weight: 300; }
.art-ui { font-family: "Instrument Sans", system-ui, sans-serif; font-weight: 500; }

/* ---------- work cards ---------- */
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: clamp(4rem, 8vw, 9rem); align-items: start; }
.wcard-a { display: block; }
.wcard-media { position: relative; overflow: hidden; border-radius: 8px; aspect-ratio: 16 / 11; background: var(--c, var(--ink-3)); transform: translateZ(0); }
.wcard-zoom { position: absolute; inset: 0; transition: transform 1.6s var(--ease); }
.wcard-zoom .art { transition: transform 1.8s var(--ease); }
.wcard-a:hover .wcard-zoom { transform: scale(1.06); }
.js .wcard[data-reveal] { transform: none; opacity: 1; }
.js .wcard[data-reveal] .wcard-media { clip-path: inset(18% 0 0 0 round 8px); transition: clip-path 1.5s var(--ease-io); }
.js .wcard[data-reveal] .wcard-zoom .art { transform: scale(1.25); }
.js .wcard[data-reveal].is-in .wcard-media { clip-path: inset(0 0 0 0 round 8px); }
.js .wcard[data-reveal].is-in .wcard-zoom .art { transform: none; }
.js .wcard[data-reveal] .wcard-meta { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease) .35s, transform 1.2s var(--ease) .35s; }
.js .wcard[data-reveal].is-in .wcard-meta { opacity: 1; transform: none; }
.wcard-meta { display: grid; gap: .45rem; padding-top: 1.35rem; }
.wcard-title { font: 400 clamp(1.6rem, 2.5vw, 2.5rem)/1.08 var(--f-display); letter-spacing: -.01em; transition: color .4s; }
:lang(ar) .wcard-title { font-weight: 300; font-size: clamp(1.4rem, 2.1vw, 2.1rem); line-height: 1.4; }
.wcard-a:hover .wcard-title { color: var(--gold-2); }
.wcard-sub { color: var(--fg-m); font-size: .92rem; }
.wcard-cat { order: -1; display: flex; flex-wrap: wrap; gap: .3rem .9rem; font: 500 .7rem/1.3 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-m); }
:lang(ar) .wcard-cat { letter-spacing: 0; font-size: .85rem; text-transform: none; }
.wcard-cat span + span::before { content: "·"; margin-inline-end: .9rem; color: var(--acc); }
.wc-0 { grid-column: 1 / span 7; }
.wc-1 { grid-column: 9 / span 4; margin-top: clamp(4rem, 14vw, 16rem); }
.wc-1 .wcard-media, .wc-2 .wcard-media { aspect-ratio: 4 / 5; }
.wc-2 { grid-column: 2 / span 4; }
/* cards with real cover imagery: show the full 16:10 composition (portrait slots keep their crop) */
.wcard--img .wcard-media, .work-list .wcard--img .wcard-media { aspect-ratio: 16 / 10; }
.wc-1.wcard--img .wcard-media, .wc-2.wcard--img .wcard-media { aspect-ratio: 4 / 5; }
.wcard--img .art-img { object-position: 50% 50%; }
.wc-1.wcard--img .art-img, .wc-2.wcard--img .art-img { object-position: var(--fx, 50%) 50%; }   /* tall slots: keep the cover's subject in frame (Work → Cover focus) */
.wc-3 { grid-column: 7 / span 6; margin-top: clamp(3rem, 10vw, 12rem); }

/* ---------- process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.process-head { grid-column: 1 / span 5; position: sticky; top: calc(var(--hdr-h) + 3rem); align-self: start; }
.process-head .sh { margin-bottom: 0; }
.steps { grid-column: 7 / -1; position: relative; padding-top: .5rem; }
.steps-line { position: absolute; top: 1rem; bottom: 1rem; inset-inline-start: calc(1.4rem - .5px); width: 1px; background: var(--rule-2); }
.steps-line i { position: absolute; inset: 0; background: var(--acc); transform-origin: top; transform: scaleY(var(--p, 0)); }
.step { position: relative; display: grid; grid-template-columns: 2.8rem minmax(0, 1fr); gap: clamp(1.25rem, 2.5vw, 2.5rem); padding-bottom: clamp(3rem, 6vw, 6rem); }
.step:last-child { padding-bottom: 0; }
.step-n { position: relative; z-index: 1; width: 2.8rem; height: 2.8rem; border-radius: 50%; display: grid; place-items: center; background: var(--bg); box-shadow: inset 0 0 0 1px var(--rule-2); font: 500 .78rem var(--f-ui); color: var(--fg-m); transition: background-color .6s var(--ease), color .6s, box-shadow .6s; }
.step.is-active .step-n { background: var(--ink); color: var(--gold-2); box-shadow: none; }
.step-top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.step-t { font: 400 clamp(1.9rem, 3.2vw, 3.2rem)/1.05 var(--f-display); letter-spacing: -.012em; }
:lang(ar) .step-t { font-weight: 300; font-size: clamp(1.6rem, 2.6vw, 2.6rem); line-height: 1.4; }
.step-d { font: 500 .72rem/1 var(--f-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--acc); padding: .5rem .8rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--rule-2); white-space: nowrap; }
:lang(ar) .step-d { letter-spacing: 0; font-size: .85rem; }
.step-b p { margin-top: 1rem; color: var(--fg-2); max-width: 44ch; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.bento--6 { grid-template-areas: "a b b" "a c d" "e e f"; }
.bento--6 > :nth-child(1) { grid-area: a; min-height: 520px; }
.bento--6 > :nth-child(2) { grid-area: b; }
.bento--6 > :nth-child(3) { grid-area: c; }
.bento--6 > :nth-child(4) { grid-area: d; }
.bento--6 > :nth-child(5) { grid-area: e; }
.bento--6 > :nth-child(6) { grid-area: f; }
.bento-card { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; min-height: 280px; padding: clamp(1.5rem, 2.5vw, 2.5rem); border-radius: 20px; background: linear-gradient(180deg, rgba(242,238,230,.035), rgba(242,238,230,.012)); box-shadow: inset 0 0 0 1px var(--rule); }
.bento-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 50%), rgba(201,169,110,.16), transparent 42%); opacity: 0; transition: opacity .5s; }
.bento-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(228,205,156,.75), transparent 45%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .5s; pointer-events: none; }
.bento:hover .bento-card::before, .bento:hover .bento-card::after { opacity: 1; }
.bento-ic { width: 3.2rem; height: 3.2rem; border-radius: 14px; display: grid; place-items: center; color: var(--gold); box-shadow: inset 0 0 0 1px var(--rule-2); background: rgba(10,10,11,.4); }
.bento-n { position: absolute; top: clamp(1.5rem, 2.5vw, 2.5rem); inset-inline-end: clamp(1.5rem, 2.5vw, 2.5rem); font: 500 .75rem var(--f-ui); color: var(--muted-2); letter-spacing: .08em; }
.bento-txt { margin-top: auto; padding-top: 3rem; }
.bento-txt h3 { font: 400 clamp(1.5rem, 2.1vw, 2.1rem)/1.1 var(--f-display); letter-spacing: -.01em; }
:lang(ar) .bento-txt h3 { font-weight: 300; font-size: clamp(1.3rem, 1.8vw, 1.75rem); line-height: 1.45; }
.bento-txt p { margin-top: .8rem; color: var(--fg-m); max-width: 42ch; font-size: .95rem; }
:lang(ar) .bento-txt p { font-size: 1.02rem; }
.bento-deco { position: absolute; inset: 0; z-index: -1; display: grid; place-items: center; pointer-events: none; }
.bento-deco::before { content: ""; position: absolute; width: 140%; aspect-ratio: 1; top: -30%; inset-inline-end: -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(201,169,110,.22), transparent); }
.bento-mark { position: absolute; width: 62%; height: auto; top: 12%; inset-inline-end: 8%; overflow: visible; }
.bento-mark path { fill: none; stroke: var(--gold); stroke-width: .18; opacity: .55; }
.bento-mark .vx-star { fill: var(--gold); stroke: none; opacity: .9; animation: spin 18s linear infinite; }
.bento--6 > :nth-child(1) .bento-txt h3 { font-size: clamp(2rem, 3vw, 3rem); }

/* ---------- markets ---------- */
.mk-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 var(--gap); align-items: start; }
.mk-head { grid-column: 1 / span 6; }
.mk-head .sh { margin-bottom: 0; }
.mk-map { grid-column: 7 / -1; grid-row: 1 / span 2; position: sticky; top: calc(var(--hdr-h) + 2rem); }
.mk-svg { width: 100%; height: auto; overflow: visible; direction: ltr; }
.mk-dots { fill: none; stroke: rgba(242,238,230,.22); stroke-width: 3.8; stroke-linecap: round; }
.mk-lines path { fill: none; stroke: var(--gold); stroke-opacity: .45; stroke-width: 1; stroke-dasharray: 3 6; animation: dash 30s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -400; } }
.mk-pt .mk-core { fill: var(--gold-2); transition: r .4s; }
.mk-pt .mk-ring { fill: none; stroke: var(--gold); stroke-opacity: .6; transition: r .5s var(--ease), stroke-opacity .4s; }
.mk-pt .mk-pulse { fill: var(--gold); opacity: 0; transform-box: fill-box; transform-origin: center; animation: mkpulse 3.2s var(--ease) infinite; }
.mk-pt:nth-of-type(2n) .mk-pulse { animation-delay: 1.1s; }
.mk-pt:nth-of-type(3n) .mk-pulse { animation-delay: 2s; }
@keyframes mkpulse { 0% { opacity: .35; transform: scale(.3); } 100% { opacity: 0; transform: scale(2.2); } }
.mk-pt text { fill: var(--bone-2); font: 500 12px var(--f-ui); letter-spacing: .12em; font-family: "Instrument Sans", sans-serif; opacity: .7; transition: opacity .3s, fill .3s; }
.mk-pt.is-on .mk-core { r: 5; }
.mk-pt.is-on .mk-ring { r: 12; stroke-opacity: 1; }
.mk-pt.is-on text { opacity: 1; fill: var(--gold-2); }
.mk-list { grid-column: 1 / span 6; margin-top: clamp(3rem, 5vw, 4.5rem); border-top: 1px solid var(--rule); }
.mk-item { display: grid; grid-template-columns: 3rem minmax(0, 1fr) auto; gap: .2rem 1.25rem; padding-block: 1.3rem; border-bottom: 1px solid var(--rule); outline-offset: -2px; }
.mk-code { grid-row: 1 / span 2; padding-top: .55rem; font: 500 .75rem var(--f-ui); letter-spacing: .12em; color: var(--acc); }
.mk-name { font: 400 clamp(1.45rem, 2.2vw, 2.1rem)/1.15 var(--f-display); transition: color .4s, transform .6s var(--ease); }
:lang(ar) .mk-name { font-weight: 300; font-size: clamp(1.3rem, 1.9vw, 1.8rem); line-height: 1.5; }
.mk-cities { grid-column: 2; color: var(--fg-m); font-size: .92rem; }
.mk-coord { grid-column: 3; grid-row: 1 / span 2; align-self: center; font: 500 .72rem/1 var(--f-ui); letter-spacing: .06em; color: var(--muted-2); font-variant-numeric: tabular-nums; transition: color .4s; }
.mk-item:hover .mk-name, .mk-item:focus .mk-name, .mk-item.is-on .mk-name { color: var(--gold-2); transform: translateX(calc(.6rem * var(--dirx))); }
.mk-item:hover .mk-coord, .mk-item.is-on .mk-coord { color: var(--bone-2); }

/* ---------- testimonials ---------- */
.tst { display: grid; gap: 3rem; }
.tst-track { display: grid; }
.tst-slide { display: grid; gap: 2.5rem; }
.js .tst-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(24px); transition: opacity .8s var(--ease), transform 1s var(--ease), visibility 0s .8s; }
.js .tst-slide.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.tst-mark { font: 400 8rem/.5 var(--f-display); color: var(--gold); height: 3rem; }
.tst-q p { font: 400 clamp(1.8rem, 3.6vw, 3.6rem)/1.15 var(--f-display); letter-spacing: -.01em; max-width: 26ch; }
:lang(ar) .tst-q p { font-weight: 300; font-size: clamp(1.5rem, 2.8vw, 2.8rem); line-height: 1.6; }
.tst-by { display: flex; align-items: center; gap: 1rem; }
.tst-by img, .tst-av { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.tst-av { display: grid; place-items: center; background: var(--ink-4); font: 400 1.5rem var(--f-display); color: var(--gold-2); }
.tst-by b { display: block; font-weight: 500; }
.tst-by small { color: var(--fg-m); font-size: .88rem; }
.tst-nav { display: flex; align-items: center; gap: 1.25rem; }
.tst-count { font-variant-numeric: tabular-nums; color: var(--fg-m); font-size: .85rem; }
.tst-count b { color: var(--fg); font-weight: 500; }

/* ---------- post cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2.5rem, 3vw, 3rem) var(--gap); }
.pcard-a { display: grid; gap: 1.4rem; height: 100%; align-content: start; grid-template-rows: auto 1fr; }
.pcard-media { position: relative; overflow: hidden; border-radius: 8px; aspect-ratio: 3 / 2; background: var(--ink-3); }
.pcard-zoom { position: absolute; inset: 0; transition: transform 1.4s var(--ease); }
.pcard-a:hover .pcard-zoom { transform: scale(1.06); }
.pcard-body { display: flex; flex-direction: column; gap: .85rem; }
.pcard-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; font: 500 .72rem/1.3 var(--f-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-m); }
:lang(ar) .pcard-meta { letter-spacing: 0; font-size: .85rem; text-transform: none; }
.pcard-cat { color: var(--acc); }
.pcard-title { font: 400 clamp(1.5rem, 2vw, 2rem)/1.15 var(--f-display); letter-spacing: -.01em; transition: color .4s; text-wrap: balance; }
:lang(ar) .pcard-title { font-weight: 300; font-size: clamp(1.3rem, 1.7vw, 1.65rem); line-height: 1.5; }
.pcard-a:hover .pcard-title { color: var(--gold-2); }
.pcard-ex { color: var(--fg-m); font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-more { display: inline-flex; align-items: center; gap: .5rem; margin-top: auto; padding-top: .5rem; font-weight: 500; font-size: .9rem; }
.pcard-more svg { color: var(--acc); transition: transform .5s var(--ease); }
.pcard-a:hover .pcard-more svg { transform: translateX(calc(5px * var(--dirx))) scaleX(var(--dirx)); }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.faq-head { grid-column: 1 / span 5; position: sticky; top: calc(var(--hdr-h) + 3rem); align-self: start; }
.faq-head .sh { margin-bottom: 0; }
.faq-list { grid-column: 7 / -1; border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q button { width: 100%; display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) 2.4rem; align-items: center; gap: 1rem; padding-block: clamp(1.3rem, 2vw, 1.8rem); text-align: start; }
.faq-n { font: 500 .75rem var(--f-ui); color: var(--acc); letter-spacing: .08em; }
.faq-t { font: 400 clamp(1.3rem, 1.9vw, 1.85rem)/1.2 var(--f-display); letter-spacing: -.005em; transition: color .3s; }
:lang(ar) .faq-t { font-weight: 300; font-size: clamp(1.15rem, 1.6vw, 1.5rem); line-height: 1.6; }
.faq-q button:hover .faq-t { color: var(--gold-2); }
.faq-ic { position: relative; width: 2.4rem; height: 2.4rem; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--rule-2); transition: background-color .4s, transform .6s var(--ease); }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .6s var(--ease); }
.faq-ic::after { transform: rotate(90deg); }
.faq-item.is-open .faq-ic { background: var(--gold); color: var(--ink); box-shadow: none; transform: rotate(180deg); }
.faq-item.is-open .faq-ic::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 1fr; }
.js .faq-a { grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.js .faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; min-height: 0; }
.faq-a p { padding-inline-start: calc(2.6rem + 1rem); padding-inline-end: 3.4rem; padding-bottom: 1.9rem; color: var(--fg-2); max-width: 64ch; }

/* ---------- closing CTA ---------- */
.cta-sec { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(7rem, 15vw, 15rem); text-align: center; border-top: 1px solid var(--line); }
.cta-glow { position: absolute; inset: 35% -10% -45%; z-index: -1; background: radial-gradient(50% 50% at 50% 50%, rgba(201,169,110,.26), transparent 70%); }
.cta-in { display: grid; justify-items: center; gap: clamp(1.8rem, 3vw, 2.6rem); }
.cta-title { font-size: clamp(3.4rem, 10.5vw, 11.5rem); line-height: .9; max-width: 11ch; }
:lang(ar) .cta-title { font-size: clamp(2.8rem, 8vw, 8.4rem); line-height: 1.25; }
.cta-row { display: grid; justify-items: center; gap: 2.5rem; }
.cta-body { max-width: 44ch; color: var(--bone-2); font-size: var(--fs-lead); }
.orb { position: relative; width: clamp(150px, 15vw, 210px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); transition: background-color .5s; }
.orb::before { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 1px solid rgba(201,169,110,.35); transition: inset .6s var(--ease), opacity .6s; }
.orb:hover { background: var(--gold-2); }
.orb:hover::before { inset: -22px; opacity: 0; }
.orb-in { display: grid; justify-items: center; gap: .6rem; font: 500 1rem/1.2 var(--f-ui); max-width: 70%; }
:lang(ar) .orb-in { font-size: 1.08rem; }
.orb svg { transition: transform .6s var(--ease); }
.orb:hover svg { transform: rotate(calc(45deg * var(--dirx))) scaleX(var(--dirx)); }
.cta-links { display: grid; justify-items: center; gap: .9rem; }
.cta-or { font-size: .8rem; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
:lang(ar) .cta-or { letter-spacing: 0; text-transform: none; font-size: .95rem; }
.cta-mail { font: italic 400 clamp(1.6rem, 3vw, 2.8rem)/1.2 var(--f-display); border-bottom: 1px solid var(--line-2); transition: color .3s, border-color .3s; }
.cta-mail:hover { color: var(--gold-2); border-color: var(--gold); }

/* ---------- footer ---------- */
.ftr { position: relative; overflow: hidden; padding-top: clamp(4.5rem, 8vw, 8rem); border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--ink), #0d0c0b); }
.ftr-top { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3rem var(--gap); }
.ftr-news { grid-column: 1 / span 5; }
.ftr-news-t { font-size: clamp(1.7rem, 2.5vw, 2.4rem); line-height: 1.15; margin-block: 1.1rem 2rem; max-width: 20ch; }
:lang(ar) .ftr-news-t { line-height: 1.5; }
.news-field { display: flex; align-items: center; gap: 1rem; border-bottom: 1px solid var(--line-2); transition: border-color .3s; }
.news-field:focus-within { border-color: var(--gold); }
.news-field input { flex: 1; min-width: 0; padding-block: 1.05rem; outline: none; }
.news-field input::placeholder { color: var(--muted-2); }
.news-field button { display: inline-flex; align-items: center; gap: .55rem; padding-block: .8rem; font-weight: 500; color: var(--gold-2); }
.news-field button svg { transition: transform .4s var(--ease); }
.news-field button:hover svg { transform: translateX(calc(4px * var(--dirx))) scaleX(var(--dirx)); }
.news-msg { min-height: 1.6em; margin-top: .75rem; font-size: .88rem; color: var(--gold-2); }
.news-msg.is-err { color: #D9776B; }
.ftr-cols { grid-column: 7 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem var(--gap); }
.ftr-h { margin-bottom: 1.25rem; font: 500 .72rem/1.2 var(--f-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
:lang(ar) .ftr-h { letter-spacing: 0; text-transform: none; font-size: .9rem; }
.ftr-h--2 { margin-top: 2rem; }
.ftr-col li + li { margin-top: .55rem; }
.ftr-col a { color: var(--bone-2); font-size: .94rem; transition: color .3s; overflow-wrap: anywhere; }
.ftr-col a:hover { color: var(--gold-2); }
.ftr-col .muted { font-size: .88rem; }
.ftr-mid { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; flex-wrap: wrap; margin-top: clamp(3.5rem, 6vw, 6rem); padding-top: 1.75rem; border-top: 1px solid var(--line); font-size: .88rem; }
.ftr-made { display: inline-flex; align-items: center; gap: .7rem; color: var(--bone-2); }
.ftr-mark { width: 18px; height: 20px; color: var(--bone); }
.ftr-legal { display: flex; gap: 1.5rem; }
.ftr-legal a, .ftr-tools a { color: var(--bone-2); transition: color .3s; }
.ftr-legal a:hover { color: var(--gold-2); }
.ftr-tools { display: flex; align-items: center; gap: 1.75rem; }
.to-top { display: inline-flex; align-items: center; gap: .7rem; }
.to-top-ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .3s, color .3s; }
.to-top-ic svg { transform: rotate(-90deg); }
.to-top:hover .to-top-ic { background: var(--bone); color: var(--ink); }
.ftr-word { display: flex; justify-content: space-between; padding-inline: calc(var(--gutter) * .6); margin-top: clamp(2.5rem, 5vw, 5rem); font: 400 22.4vw/.78 var(--f-word); color: var(--bone); overflow: hidden; user-select: none; }
.ftr-word span { display: inline-block; background: linear-gradient(180deg, var(--bone) 20%, rgba(242,238,230,.06) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-top: .06em; }
.js .ftr-word span { transform: translate3d(0, 102%, 0); transition: transform 1.4s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.js .ftr-word.is-in span { transform: none; }
.ftr-bottom { display: flex; justify-content: space-between; gap: .5rem 2rem; flex-wrap: wrap; padding-block: 1.5rem 2rem; border-top: 1px solid var(--line); font-size: .82rem; color: var(--bone-2); }

/* ---------- inner page hero ---------- */
.phero { position: relative; isolation: isolate; overflow: hidden; padding-top: calc(var(--hdr-h) + clamp(3.5rem, 9vw, 9rem)); padding-bottom: clamp(3.5rem, 7vw, 7rem); }
.phero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 88% 0%, rgba(201,169,110,.16), transparent 70%); }
[dir="rtl"] .phero-bg { background: radial-gradient(50% 70% at 12% 0%, rgba(201,169,110,.16), transparent 70%); }
.phero-in { display: grid; gap: clamp(1.4rem, 2.4vw, 2.2rem); }
.phero-title { font-size: var(--fs-h1); max-width: 14ch; }
:lang(ar) .phero-title { max-width: 16ch; }
.phero-foot { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); margin-top: clamp(1rem, 3vw, 2.5rem); padding-top: clamp(1.4rem, 2.5vw, 2rem); border-top: 1px solid var(--line); align-items: start; }
.phero-lead { grid-column: 7 / -1; font-size: var(--fs-lead); color: var(--bone-2); max-width: 52ch; }
:lang(ar) .phero-lead { line-height: 1.85; }
.phero-aside { grid-column: 1 / span 5; grid-row: 1; }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-size: .82rem; color: var(--muted); }
.crumb a { color: var(--bone-2); transition: color .3s; }
.crumb a:hover { color: var(--gold-2); }
.crumb-sep { color: var(--muted-2); }

/* ---------- services index ---------- */
.svx { border-top: 1px solid var(--line); }
.svx-item { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); padding-block: clamp(2.5rem, 5vw, 5rem); border-bottom: 1px solid var(--line); align-items: start; }
.svx-media { grid-column: 1 / span 5; position: relative; overflow: hidden; border-radius: 10px; aspect-ratio: 4 / 3; background: var(--ink-3); }
.svx-media .art { transition: transform 1.6s var(--ease); }
.svx-item:hover .svx-media .art { transform: scale(1.05); }
.svx-body { grid-column: 7 / -1; display: grid; gap: 1.3rem; align-content: start; }
.svx-top { display: flex; align-items: center; gap: 1rem; color: var(--muted); font-size: .8rem; }
.svx-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--gold); box-shadow: inset 0 0 0 1px var(--line-2); }
.svx-title { font: 400 clamp(2.1rem, 3.8vw, 3.9rem)/1.02 var(--f-display); letter-spacing: -.015em; }
:lang(ar) .svx-title { font-weight: 300; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.35; letter-spacing: 0; }
.svx-title a { transition: color .4s; }
.svx-title a:hover { color: var(--gold-2); }
.svx-tag { font: italic 400 clamp(1.25rem, 1.6vw, 1.55rem)/1.3 var(--f-display); color: var(--gold-2); }
:lang(ar) .svx-tag { font-style: normal; font-weight: 300; line-height: 1.6; }
.svx-ex { color: var(--bone-2); max-width: 52ch; }
.svx-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-top: .75rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.price { display: grid; gap: .15rem; }
.price small { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
:lang(ar) .price small { letter-spacing: 0; font-size: .85rem; text-transform: none; }
.price b { font: 400 1.5rem/1.1 var(--f-display); color: var(--bone); font-weight: 400; }
:lang(ar) .price b { font-family: "Instrument Serif", serif; }

/* ---------- service detail ---------- */
.svd-hero-ic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; color: var(--gold); box-shadow: inset 0 0 0 1px var(--line-2); background: rgba(201,169,110,.06); }
.svd-tagline { font: italic 400 clamp(1.5rem, 2.4vw, 2.3rem)/1.25 var(--f-display); color: var(--gold-2); max-width: 26ch; }
:lang(ar) .svd-tagline { font-style: normal; font-weight: 300; line-height: 1.6; }
.banner { position: relative; overflow: hidden; border-radius: clamp(10px, 1.4vw, 18px); aspect-ratio: 21 / 9; background: var(--ink-3); }
.banner .art { position: absolute; inset: -8% 0; height: 116%; will-change: transform; transform: translate3d(0, var(--py, 0), 0); }
.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
.split-side { grid-column: 1 / span 4; position: sticky; top: calc(var(--hdr-h) + 2.5rem); display: grid; gap: 1.5rem; }
.split-main { grid-column: 6 / -1; }
.side-card { display: grid; gap: 1.2rem; padding: 1.75rem; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); background: linear-gradient(180deg, rgba(242,238,230,.03), transparent); }
.side-card p { color: var(--muted); font-size: .9rem; }
.side-card .btn { justify-self: start; }
.dlv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.dlv li { display: flex; gap: 1.25rem; align-items: baseline; padding: 1.4rem 0; border-bottom: 1px solid var(--line); font: 400 clamp(1.2rem, 1.6vw, 1.5rem)/1.3 var(--f-display); }
:lang(ar) .dlv li { font-weight: 300; font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.7; }
.dlv li:nth-child(odd) { padding-inline-end: 1.5rem; }
.dlv li:nth-child(even) { padding-inline-start: 1.5rem; border-inline-start: 1px solid var(--line); }
.dlv span { font: 500 .72rem var(--f-ui); color: var(--gold); letter-spacing: .08em; flex: none; }
.minirows { border-top: 1px solid var(--line); }
.minirows a { display: grid; grid-template-columns: 3rem minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding-block: 1.25rem; border-bottom: 1px solid var(--line); transition: color .3s, padding .5s var(--ease); }
.minirows a:hover { color: var(--gold-2); padding-inline-start: .75rem; }
.minirows .n { font: 500 .75rem var(--f-ui); color: var(--muted); }
.minirows .t { font: 400 clamp(1.3rem, 2vw, 1.9rem)/1.2 var(--f-display); }
:lang(ar) .minirows .t { font-weight: 300; font-size: clamp(1.15rem, 1.7vw, 1.6rem); line-height: 1.6; }
.minirows svg { color: var(--gold); }
.sub-h { display: flex; align-items: end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.sub-h h2 { font-size: var(--fs-h3); }
.sub-h h2.display { font-size: clamp(2rem, 3.6vw, 3.6rem); }

/* ---------- prose ---------- */
.prose { color: var(--bone-2); font-size: clamp(1.05rem, 1rem + .25vw, 1.2rem); line-height: 1.75; max-width: 68ch; }
:lang(ar) .prose { font-size: clamp(1.1rem, 1.04rem + .3vw, 1.28rem); line-height: 2; }
.prose > * + * { margin-top: 1.4em; }
.prose h2 { margin-top: 2.2em; font: 400 clamp(1.8rem, 2.8vw, 2.7rem)/1.12 var(--f-display); color: var(--bone); letter-spacing: -.012em; }
.prose h3 { margin-top: 1.9em; font: 400 clamp(1.4rem, 2vw, 1.9rem)/1.2 var(--f-display); color: var(--bone); }
:lang(ar) .prose h2, :lang(ar) .prose h3 { font-weight: 400; line-height: 1.5; letter-spacing: 0; }
.prose h2 + *, .prose h3 + * { margin-top: .8em; }
.prose a { color: var(--gold-2); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.prose strong, .prose b { color: var(--bone); font-weight: 600; }
.prose blockquote { position: relative; margin-block: 2.2em; padding-inline-start: 1.6em; border-inline-start: 2px solid var(--gold); font: italic 400 clamp(1.5rem, 2.3vw, 2.2rem)/1.3 var(--f-display); color: var(--bone); }
:lang(ar) .prose blockquote { font-style: normal; font-weight: 300; line-height: 1.7; }
.prose ul, .prose ol { padding-inline-start: 0; display: grid; gap: .6em; }
.prose ul li, .prose ol li { position: relative; padding-inline-start: 1.8em; }
.prose ul li::before { content: ""; position: absolute; inset-inline-start: .2em; top: .78em; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.prose ol { counter-reset: li; }
.prose ol li { counter-increment: li; }
.prose ol li::before { content: counter(li, decimal-leading-zero); position: absolute; inset-inline-start: 0; top: .35em; font: 500 .72rem var(--f-ui); color: var(--gold); }
.prose img { border-radius: 10px; margin-block: 2em; }
.prose hr { border: 0; height: 1px; background: var(--line); margin-block: 3em; }
.prose > p:first-child { font-size: 1.15em; color: var(--bone); }
.v-post .prose > p:first-child::first-letter { float: inline-start; font: 400 4.6em/.8 var(--f-display); margin-inline-end: .1em; margin-top: .06em; color: var(--gold-2); }
:lang(ar) .v-post .prose > p:first-child::first-letter { float: none; font: inherit; margin: 0; color: inherit; }

/* ---------- work index ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: clamp(3rem, 5vw, 5rem); }
.fchip { display: inline-flex; align-items: center; gap: .55rem; min-height: 42px; padding: .5rem 1.1rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--bone-2); font-size: .88rem; transition: background-color .4s var(--ease), color .4s, box-shadow .4s; }
:lang(ar) .fchip { font-size: .98rem; }
.fchip sup { font-size: .68rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.fchip:hover { color: var(--bone); box-shadow: inset 0 0 0 1px var(--bone-2); }
.fchip[aria-pressed="true"] { background: var(--bone); color: var(--ink); box-shadow: none; }
.fchip[aria-pressed="true"] sup { color: var(--gold-3); }
.work-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(3.5rem, 7vw, 7rem) var(--gap); align-items: start; }
.work-list .wcard:nth-child(even of :not(.is-hidden)) { margin-top: clamp(0rem, 9vw, 9rem); }
.work-list .wcard-media { aspect-ratio: 5 / 4; }
.wcard.is-hidden { display: none; }
.wcard.is-filtering { animation: fcard .9s var(--ease) both; animation-delay: calc(var(--fi, 0) * 70ms); }
@keyframes fcard { from { opacity: 0; transform: translateY(40px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- project detail ---------- */
.pj-hero .phero-title { max-width: 12ch; }
.pj-cover { position: relative; overflow: hidden; margin-inline: clamp(8px, 1vw, 16px); border-radius: clamp(12px, 2vw, 24px); aspect-ratio: 16 / 8; background: var(--c, var(--ink-3)); }
.pj-cover .art { position: absolute; inset: -6% 0; height: 112%; transform: translate3d(0, var(--py, 0), 0) scale(1.02); will-change: transform; }
.pj-cover--img { aspect-ratio: 16 / 10; width: min(calc(100% - 2 * clamp(8px, 1vw, 16px)), 148vh); width: min(calc(100% - 2 * clamp(8px, 1vw, 16px)), 148svh); margin-inline: auto; }
.pj-cover--img .art { inset: -2.5% 0; height: 105%; transform: translate3d(0, calc(var(--py, 0px) * .3), 0); }   /* show the whole cover composition: gentle parallax, ~2% crop */
.pj-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.pj-meta > div { padding: 1.6rem 1.5rem 1.6rem 0; }
.pj-meta > div + div { padding-inline-start: 1.5rem; border-inline-start: 1px solid var(--line); }
.pj-meta dt { font: 500 .72rem var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
:lang(ar) .pj-meta dt { letter-spacing: 0; text-transform: none; font-size: .88rem; }
.pj-meta dd { font: 400 1.3rem/1.3 var(--f-display); color: var(--bone); }
:lang(ar) .pj-meta dd { font-weight: 300; font-size: 1.12rem; line-height: 1.6; }
.pj-block { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); padding-block: clamp(3rem, 6vw, 6rem); border-bottom: 1px solid var(--line); }
.pj-block h2 { grid-column: 1 / span 4; }
.pj-block .eyebrow { align-self: start; }
.pj-block .pj-text { grid-column: 5 / -1; font: 400 clamp(1.5rem, 2.5vw, 2.5rem)/1.3 var(--f-display); color: var(--bone); letter-spacing: -.008em; max-width: 30ch; }
:lang(ar) .pj-block .pj-text { font-weight: 300; font-size: clamp(1.25rem, 2vw, 2rem); line-height: 1.75; letter-spacing: 0; }
.results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.result { padding-top: 1.5rem; border-top: 1px solid var(--line-2); }
.result b { display: block; font: 400 clamp(4rem, 9vw, 9rem)/1 var(--f-display); letter-spacing: -.03em; color: var(--bone); font-weight: 400; }
:lang(ar) .result b { font-family: "Instrument Serif", "Alexandria", serif; }
.result p { margin-top: 1rem; color: var(--muted); max-width: 26ch; }
/* gallery: full-width boards and 2-up pairs, shown uncropped; opens a lightbox */
.pj-gallery { padding-top: clamp(1.5rem, 3vw, 3rem); }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); align-items: start; }
.gallery .g-full { grid-column: 1 / -1; }
.gallery figure { margin: 0; overflow: hidden; border-radius: clamp(8px, 1.1vw, 16px); background: var(--ink-3); transform: translateZ(0); }
.g-open { position: relative; display: block; cursor: zoom-in; }
.gallery img { display: block; width: 100%; height: auto; transition: transform 1.6s var(--ease); }
.g-open::after { content: ""; position: absolute; top: clamp(10px, 1.4vw, 20px); inset-inline-end: clamp(10px, 1.4vw, 20px); width: 42px; height: 42px; border-radius: 50%; background: rgba(10,10,11,.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2EEE6' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M14 4h6v6M10 20H4v-6M20 4l-7 7M4 20l7-7'/%3E%3C/svg%3E") center / 18px no-repeat; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(242,238,230,.18); opacity: 0; transform: scale(.85); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.g-open:hover::after, .g-open:focus-visible::after { opacity: 1; transform: none; }
.g-open:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.js .gallery figure[data-reveal] { opacity: 1; transform: none; clip-path: inset(12% 0 0 0 round 12px); transition: clip-path 1.5s var(--ease-io); }
.js .gallery figure[data-reveal] img { transform: scale(1.12); }
.js .gallery figure[data-reveal].is-in { clip-path: inset(0 0 0 0 round 0); }
.js .gallery figure[data-reveal].is-in img { transform: none; }
.js .gallery figure.is-in .g-open:hover img { transform: scale(1.02); }
/* lightbox */
html.lb-open { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 98; display: grid; grid-template-rows: auto minmax(0, 1fr); background: rgba(8,8,9,.95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s linear .45s; }
.lb[hidden] { display: none; }
.lb.is-open { opacity: 1; visibility: visible; transition: opacity .45s var(--ease); }
.lb-top { display: flex; align-items: center; gap: 1.25rem; padding: clamp(12px, 2vw, 22px) clamp(16px, 3vw, 32px); color: var(--bone-2); }
.lb-title { flex: 1; min-width: 0; font: 400 1.25rem/1.2 var(--f-display); color: var(--bone); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
:lang(ar) .lb-title { font-weight: 300; font-size: 1.1rem; line-height: 1.6; }
.lb-count { font: 500 .75rem var(--f-ui); letter-spacing: .16em; color: var(--muted); font-variant-numeric: tabular-nums; }
.lb-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 clamp(12px, 7vw, 110px) clamp(16px, 3vw, 36px); touch-action: pan-y; }
.lb-img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: clamp(6px, 1vw, 12px); box-shadow: 0 40px 100px -20px rgba(0,0,0,.7); opacity: 0; transform: scale(.975); transition: opacity .45s var(--ease), transform .7s var(--ease); user-select: none; -webkit-user-drag: none; }
.lb-img.is-ready { opacity: 1; transform: none; }
.lb-btn { flex: none; width: 48px; height: 48px; border-radius: 50%; display: inline-grid; place-items: center; color: var(--bone); background: rgba(23,23,26,.7); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .3s, color .3s, box-shadow .3s; }
.lb-btn:hover { background: var(--bone); color: var(--ink); box-shadow: none; }
.lb-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.lb-prev, .lb-next { position: absolute; top: 50%; margin-top: -40px; z-index: 1; }
.lb-prev { inset-inline-start: clamp(8px, 2.2vw, 36px); }
.lb-next { inset-inline-end: clamp(8px, 2.2vw, 36px); }
.lb-prev .ic-arrow { transform: scaleX(-1); }
[dir="rtl"] .lb-prev .ic-arrow { transform: none; }
.next-pj { position: relative; isolation: isolate; display: block; overflow: hidden; padding-block: clamp(6rem, 14vw, 14rem); text-align: center; border-top: 1px solid var(--line); }
.next-pj-bg { position: absolute; inset: 0; z-index: -1; opacity: .35; transition: opacity .8s var(--ease), transform 1.6s var(--ease); transform: scale(1.1); }
.next-pj-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 50% 50%, rgba(10,10,11,.2), rgba(10,10,11,.92)); }
.next-pj:hover .next-pj-bg { opacity: .7; transform: scale(1); }
.next-pj .eyebrow { justify-content: center; }
.next-pj-t { margin-top: 1.5rem; font-size: clamp(3rem, 9vw, 9.5rem); line-height: .95; }
:lang(ar) .next-pj-t { line-height: 1.3; }
.next-pj-sub { margin-top: 1.25rem; color: var(--bone-2); }

/* ---------- insights ---------- */
.feat-post { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: center; padding-bottom: clamp(3rem, 6vw, 6rem); margin-bottom: clamp(3rem, 6vw, 6rem); border-bottom: 1px solid var(--line); }
.feat-post .pcard-media { grid-column: 1 / span 7; aspect-ratio: 16 / 11; }
.feat-post .pcard-body { grid-column: 8 / -1; gap: 1.2rem; }
.feat-post .pcard-title { font-size: clamp(2rem, 3.6vw, 3.6rem); line-height: 1.05; }
:lang(ar) .feat-post .pcard-title { font-size: clamp(1.6rem, 2.8vw, 2.8rem); line-height: 1.45; }
.feat-post .pcard-ex { -webkit-line-clamp: 4; font-size: 1.02rem; }
.feat-post .pcard-a { display: contents; }
.empty { padding: 4rem 0; color: var(--muted); font: italic 400 1.6rem var(--f-display); }
.progress { position: fixed; top: 0; inset-inline: 0; z-index: 80; height: 2px; background: transparent; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); transform-origin: left; transform: scaleX(var(--p, 0)); }
[dir="rtl"] .progress i { transform-origin: right; }

.art-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; align-items: center; font: 500 .75rem/1.3 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
:lang(ar) .art-meta { letter-spacing: 0; text-transform: none; font-size: .9rem; }
.art-meta .pcard-cat { color: var(--gold); }
.article-title { font-size: clamp(2.6rem, 6.2vw, 6.6rem); max-width: 17ch; }
:lang(ar) .article-title { font-size: clamp(2.1rem, 4.8vw, 5rem); max-width: 20ch; }
.article-lead { font-size: var(--fs-lead); color: var(--bone-2); max-width: 56ch; }
.art-cover { overflow: hidden; border-radius: clamp(10px, 1.6vw, 20px); aspect-ratio: 21 / 9; background: var(--ink-3); }
.art-layout { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
.art-side { grid-column: 1 / span 3; position: sticky; top: calc(var(--hdr-h) + 2rem); display: grid; gap: 1.75rem; }
.art-body { grid-column: 4 / span 8; }
.share { display: flex; flex-wrap: wrap; gap: .5rem; }
.share a, .share button { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--bone-2); transition: background-color .3s, color .3s; position: relative; }
.share a:hover, .share button:hover { background: var(--bone); color: var(--ink); }
.share-tip { position: absolute; bottom: calc(100% + 8px); white-space: nowrap; font-size: .75rem; background: var(--gold); color: var(--ink); padding: .3rem .6rem; border-radius: 999px; opacity: 0; transition: opacity .3s; pointer-events: none; }
.share button.is-copied .share-tip { opacity: 1; }
.meta-list { display: grid; gap: 1rem; font-size: .9rem; }
.meta-list dt { font: 500 .7rem var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
:lang(ar) .meta-list dt { letter-spacing: 0; text-transform: none; font-size: .85rem; }
.meta-list dd { color: var(--bone-2); }

/* ---------- about ---------- */
.mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.mv-card { position: relative; overflow: hidden; display: grid; gap: 2rem; align-content: space-between; min-height: 380px; padding: clamp(2rem, 3.5vw, 3.5rem); border-radius: 22px; box-shadow: inset 0 0 0 1px var(--line); background: linear-gradient(160deg, rgba(201,169,110,.08), rgba(242,238,230,.01) 60%); }
.mv-card:nth-child(2) { background: linear-gradient(200deg, rgba(242,238,230,.05), rgba(242,238,230,.0) 60%); }
.mv-card p.display { font-size: clamp(1.6rem, 2.6vw, 2.6rem); line-height: 1.2; }
:lang(ar) .mv-card p.display { line-height: 1.65; font-size: clamp(1.35rem, 2.1vw, 2.1rem); }
.mv-card .mv-ic { position: absolute; top: clamp(2rem, 3.5vw, 3.5rem); inset-inline-end: clamp(2rem, 3.5vw, 3.5rem); color: var(--gold); }
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3rem var(--gap); }
.tm-ph { aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: linear-gradient(160deg, var(--ink-4), var(--ink-2)); display: grid; place-items: center; }
.tm-ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .8s var(--ease), transform 1.2s var(--ease); }
.tm:hover .tm-ph img { filter: none; transform: scale(1.04); }
.tm-ph span { font: 400 5rem var(--f-display); color: var(--gold-2); }
.tm h3 { margin-top: 1.1rem; font: 400 1.6rem/1.2 var(--f-display); }
:lang(ar) .tm h3 { font-weight: 300; font-size: 1.35rem; line-height: 1.6; }
.tm p { color: var(--muted); font-size: .9rem; }
.tm .tm-bio { margin-top: .6rem; color: var(--bone-2); }
.profile-band { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: center; padding: clamp(2rem, 4vw, 4rem); border-radius: 24px; background: linear-gradient(120deg, #17140f, #0f0e0d 60%); box-shadow: inset 0 0 0 1px rgba(201,169,110,.2); overflow: hidden; position: relative; }
.profile-band .pb-txt { grid-column: 1 / span 7; display: grid; gap: 1rem; }
.profile-band h2 { font-size: clamp(2rem, 3.4vw, 3.4rem); }
.profile-band p { color: var(--bone-2); max-width: 46ch; }
.profile-band .pb-act { grid-column: 9 / -1; justify-self: end; }
.pb-doc { position: absolute; inset-inline-end: 22%; top: 50%; width: 140px; aspect-ratio: 1 / 1.414; border-radius: 6px; background: var(--bone); transform: translateY(-50%) rotate(-8deg); box-shadow: 0 30px 60px rgba(0,0,0,.5); display: grid; place-items: center; color: var(--ink); opacity: .9; }
.pb-doc svg { width: 40%; }

/* ---------- contact ---------- */
.contact { padding-top: calc(var(--hdr-h) + clamp(3rem, 7vw, 7rem)); padding-bottom: var(--sec-y); position: relative; isolation: isolate; }
.contact::before { content: ""; position: absolute; inset: 0 0 auto; height: 80vh; z-index: -1; background: radial-gradient(45% 60% at 0% 0%, rgba(201,169,110,.14), transparent 70%); }
[dir="rtl"] .contact::before { background: radial-gradient(45% 60% at 100% 0%, rgba(201,169,110,.14), transparent 70%); }
.contact-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3rem var(--gap); align-items: start; }
.contact-info { grid-column: 1 / span 5; position: sticky; top: calc(var(--hdr-h) + 2rem); display: grid; gap: 2rem; }
.contact-title { font-size: clamp(2.8rem, 5.6vw, 6rem); max-width: 11ch; }
:lang(ar) .contact-title { font-size: clamp(2.3rem, 4.4vw, 4.6rem); }
.contact-lead { font-size: var(--fs-lead); color: var(--bone-2); max-width: 40ch; }
.cdetails { display: grid; border-top: 1px solid var(--line); }
.cdetails > div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1rem; padding-block: 1.1rem; border-bottom: 1px solid var(--line); align-items: baseline; }
.cdetails dt { font: 500 .72rem var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
:lang(ar) .cdetails dt { letter-spacing: 0; text-transform: none; font-size: .9rem; }
.cdetails dd { color: var(--bone); overflow-wrap: anywhere; }
.cdetails a { transition: color .3s; }
.cdetails a:hover { color: var(--gold-2); }
.cdetails .big { font: 400 1.5rem/1.2 var(--f-display); }
.form-card { grid-column: 7 / -1; position: relative; padding: clamp(1.5rem, 3.4vw, 3.4rem); border-radius: 24px; background: linear-gradient(180deg, rgba(242,238,230,.045), rgba(242,238,230,.015)); box-shadow: inset 0 0 0 1px var(--line), 0 40px 120px rgba(0,0,0,.35); overflow: hidden; }
.form-card::before { content: ""; position: absolute; inset: -1px -1px auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(228,205,156,.7), transparent); }
.fc-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.fc-title { font: 400 1.5rem/1.2 var(--f-display); }
:lang(ar) .fc-title { font-weight: 300; font-size: 1.3rem; }
.fc-step { font: 500 .78rem var(--f-ui); color: var(--muted); font-variant-numeric: tabular-nums; }
.fc-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 2.5rem; }
.fc-bar li { display: grid; gap: .7rem; font-size: .78rem; color: var(--muted-2); transition: color .4s; }
:lang(ar) .fc-bar li { font-size: .88rem; }
.fc-bar li::before { content: ""; height: 2px; border-radius: 2px; background: var(--line-2); background-image: linear-gradient(var(--gold), var(--gold)); background-repeat: no-repeat; background-size: 0 100%; transition: background-size .8s var(--ease); }
[dir="rtl"] .fc-bar li::before { background-position: 100% 0; }
.fc-bar li.is-done, .fc-bar li.is-cur { color: var(--bone-2); }
.fc-bar li.is-done::before, .fc-bar li.is-cur::before { background-size: 100% 100%; }
.fstep { border: 0; min-width: 0; display: grid; gap: 1.25rem; }
.fstep + .fstep { margin-top: 2.5rem; }
.js .fstep + .fstep { margin-top: 0; }
.js .fstep { display: none; }
.js .fstep.is-cur { display: grid; animation: stepin .8s var(--ease) both; }
.js .fstep.is-cur.is-back { animation-name: stepback; }
@keyframes stepin { from { opacity: 0; transform: translateX(calc(40px * var(--dirx))); } to { opacity: 1; transform: none; } }
@keyframes stepback { from { opacity: 0; transform: translateX(calc(-40px * var(--dirx))); } to { opacity: 1; transform: none; } }
.fstep legend { float: inline-start; width: 100%; font: 400 clamp(1.7rem, 2.6vw, 2.4rem)/1.15 var(--f-display); margin-bottom: .25rem; }
:lang(ar) .fstep legend { font-weight: 300; font-size: clamp(1.4rem, 2.1vw, 1.9rem); line-height: 1.5; }
.fstep legend + * { clear: both; }
.f-hint { color: var(--muted); font-size: .9rem; margin-top: -.5rem; }
.f-label { display: block; margin-top: .5rem; font: 500 .75rem var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
:lang(ar) .f-label { letter-spacing: 0; text-transform: none; font-size: .92rem; }
.pick { display: flex; flex-wrap: wrap; gap: .55rem; }
.pick label { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick label > span { display: inline-flex; align-items: center; gap: .55rem; min-height: 46px; padding: .6rem 1.15rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--bone-2); font-size: .92rem; line-height: 1.25; transition: background-color .35s var(--ease), color .35s, box-shadow .35s; user-select: none; }
:lang(ar) .pick label > span { font-size: 1rem; }
.pick label > span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--muted); transition: background-color .3s, box-shadow .3s, transform .4s var(--ease); }
.pick label:hover > span { box-shadow: inset 0 0 0 1px var(--bone-2); color: var(--bone); }
.pick input:checked + span { background: var(--bone); color: var(--ink); box-shadow: none; }
.pick input:checked + span::before { background: var(--gold-3); box-shadow: none; transform: scale(1.2); }
.pick input:focus-visible + span { outline: 1.5px solid var(--gold); outline-offset: 3px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 1.25rem; }
.field { position: relative; display: grid; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .8rem; color: var(--muted); display: flex; gap: .4rem; }
:lang(ar) .field label { font-size: .92rem; }
.field label i { font-style: normal; color: var(--muted-2); }
.field label b { color: var(--gold); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; padding: .75rem 0; border-bottom: 1px solid var(--line-2); color: var(--bone); outline: none; border-radius: 0; transition: border-color .3s; font-size: 1.02rem; }
.field select { appearance: none; -webkit-appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%238C877E' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 2px center; padding-inline-end: 1.5rem; }
[dir="rtl"] .field select { background-position: left 2px center; }
.field select option { background: var(--ink-2); color: var(--bone); }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field.is-err input { border-color: #D9776B; }
.f-err { font-size: .8rem; color: #D9776B; min-height: 1.2em; }
.f-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.f-nav .f-back { display: inline-flex; align-items: center; gap: .5rem; color: var(--bone-2); font-weight: 500; padding: .6rem 0; }
.f-nav .f-back svg { transform: scaleX(calc(-1 * var(--dirx))); }
.f-nav .f-back[hidden] { display: inline-flex; visibility: hidden; }
.no-js .f-next, .no-js .f-back { display: none !important; }
.js .f-submit[hidden] { display: none; }
.f-note { display: flex; align-items: center; gap: .6rem; margin-top: 1.25rem; font-size: .8rem; color: var(--muted); }
.f-note svg { color: var(--gold); flex: none; }
.f-alert { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: 12px; background: rgba(217,119,107,.1); box-shadow: inset 0 0 0 1px rgba(217,119,107,.35); color: #f0b3aa; font-size: .9rem; }
.f-alert:empty { display: none; }
.btn.is-loading { pointer-events: none; opacity: .8; }
.btn.is-loading .btn-ic svg { animation: spin 1s linear infinite; }
.f-success { display: none; text-align: center; padding-block: clamp(2rem, 6vw, 5rem); justify-items: center; gap: 1.4rem; }
.form-card.is-sent .f-form { display: none; }
.form-card.is-sent .f-success { display: grid; }
.form-card.is-sent .fc-bar, .form-card.is-sent .fc-head { display: none; }
.ok-mark { width: 104px; height: 104px; }
.ok-mark circle { fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.2s var(--ease-io) .1s forwards; transform: rotate(-90deg); transform-origin: center; }
.ok-mark path { fill: none; stroke: var(--gold-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .7s var(--ease) .9s forwards; }
.f-success h2 { font-size: clamp(2.4rem, 4vw, 3.6rem); }
.f-success p { color: var(--bone-2); max-width: 40ch; }
.f-success > * { animation: fadeup .9s var(--ease) both; }
.f-success > :nth-child(2) { animation-delay: .5s; }
.f-success > :nth-child(3) { animation-delay: .65s; }
.f-success > :nth-child(4) { animation-delay: .8s; }

/* ---------- page / 404 / maintenance ---------- */
.page-body { padding-bottom: var(--sec-y); }
.page-body .prose { margin-inline-start: calc((100% - var(--gap) * 11) / 12 * 6 + var(--gap) * 6); }
.page-upd { margin-top: 3rem; color: var(--muted); font-size: .85rem; }
.nf { position: relative; isolation: isolate; min-height: 100svh; display: grid; align-items: center; padding-block: calc(var(--hdr-h) + 3rem) 4rem; overflow: hidden; }
.nf-num { position: absolute; inset-inline-end: -2vw; top: 50%; transform: translateY(-50%); z-index: -1; font: italic 400 clamp(14rem, 42vw, 46rem)/.8 "Instrument Serif", serif; color: transparent; -webkit-text-stroke: 1px rgba(201,169,110,.3); user-select: none; }
.nf-in { display: grid; gap: 2rem; justify-items: start; }
.nf h1 { font-size: clamp(3rem, 7vw, 7.5rem); max-width: 12ch; }
.nf-in > p:not(.eyebrow) { color: var(--bone-2); font-size: var(--fs-lead); max-width: 40ch; }
.nf-links { display: flex; gap: 1rem 2rem; flex-wrap: wrap; align-items: center; }
.maint { min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding: clamp(1.5rem, 3vw, 3rem) var(--gutter); position: relative; isolation: isolate; overflow: hidden; }
.maint::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 50% at 70% 30%, rgba(201,169,110,.22), transparent 70%), radial-gradient(40% 40% at 20% 90%, rgba(142,116,68,.18), transparent 70%); }
.maint-top { display: flex; justify-content: space-between; align-items: center; }
.maint-mid { display: grid; align-content: center; gap: 2rem; max-width: 1100px; }
.maint-mid h1 { font-size: clamp(3rem, 8vw, 8rem); }
.maint-mid > p:not(.eyebrow) { color: var(--bone-2); font-size: var(--fs-lead); max-width: 46ch; }
.maint-bot { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: .85rem; }
.maint .big-mark { position: absolute; inset-inline-end: 4vw; bottom: -6vh; height: 92vh; aspect-ratio: 78 / 88; z-index: -1; opacity: .5; }
.maint .big-mark svg { width: 100%; height: 100%; overflow: visible; }
.maint .big-mark path { fill: none; stroke: var(--gold-2); stroke-width: .12; }


/* ==========================================================================
   Pricing & currencies
   ========================================================================== */
/* ---------- flags ---------- */
.flag { position: relative; display: inline-block; flex: none; width: 18px; height: 18px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(242,238,230,.18); }
.flag svg { width: 100%; height: 100%; }
.flag::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.28), transparent 55%); }

/* ---------- price markup ---------- */
.px, .bud { transition: opacity .2s var(--ease), filter .2s var(--ease); }
.px.is-swapping, .bud.is-swapping { opacity: 0; filter: blur(3px); }
.px-amt { unicode-bidi: isolate; white-space: nowrap; }
.px-unit { white-space: nowrap; }
.px-rec { white-space: nowrap; }

/* ---------- header currency dropdown ---------- */
.cur-dd { position: relative; }
.cur-btn { display: inline-flex; align-items: center; gap: .45rem; height: 36px; padding-inline: .85rem .7rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font: 600 .74rem/1 var(--f-ui); letter-spacing: .12em; color: var(--bone-2); transition: color .3s, box-shadow .3s, background-color .3s; }
.cur-btn-code { font-family: "Instrument Sans", system-ui, sans-serif; padding-top: 1px; }
.cur-btn:hover, .cur-dd.is-open .cur-btn { color: var(--bone); box-shadow: inset 0 0 0 1px rgba(201,169,110,.6); background: rgba(201,169,110,.06); }
.cur-chev { color: var(--gold); transition: transform .45s var(--ease); }
.cur-dd.is-open .cur-chev { transform: rotate(180deg); }
.cur-pop { position: absolute; top: calc(100% + 14px); inset-inline-end: -10px; z-index: 5; width: 272px; padding: .45rem; border-radius: 18px;
  background: rgba(17,17,19,.9); -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 80px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.97); transform-origin: top right;
  transition: opacity .3s var(--ease), transform .5s var(--ease), visibility 0s linear .3s; }
[dir="rtl"] .cur-pop { transform-origin: top left; }
.cur-pop::before { content: ""; position: absolute; inset: 0 18px auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(228,205,156,.7), transparent); }
.cur-dd.is-open .cur-pop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.cur-pop-h { padding: .7rem .8rem .55rem; font: 500 .66rem/1 var(--f-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
:lang(ar) .cur-pop-h { letter-spacing: 0; text-transform: none; font-size: .82rem; }
.cur-list { display: grid; gap: 2px; outline: none; }
.cur-opt { display: grid; grid-template-columns: 18px 2.9rem minmax(0, 1fr) 14px; align-items: center; gap: .75rem; padding: .62rem .8rem; border-radius: 12px; color: var(--bone-2); cursor: pointer; transition: background-color .25s, color .25s; }
.cur-opt:hover, .cur-opt:focus { background: rgba(242,238,230,.06); color: var(--bone); outline: none; }
.cur-opt:focus-visible { box-shadow: inset 0 0 0 1px var(--gold); }
.cur-opt[aria-selected="true"] { background: rgba(201,169,110,.1); }
.cur-o-code { font: 600 .76rem/1 "Instrument Sans", system-ui, sans-serif; letter-spacing: .1em; color: var(--bone); }
.cur-o-name { font-size: .86rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
:lang(ar) .cur-o-name { font-size: .92rem; }
.cur-opt:hover .cur-o-name, .cur-opt[aria-selected="true"] .cur-o-name { color: var(--bone-2); }
.cur-ck { color: var(--gold); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s var(--ease); }
.cur-opt[aria-selected="true"] .cur-ck { opacity: 1; transform: none; }
.has-cursor .cur-opt { cursor: none; }

/* ---------- segmented currency control ---------- */
.cur-seg { display: inline-flex; flex-wrap: nowrap; gap: 2px; max-width: 100%; padding: 4px; border-radius: 999px; background: rgba(242,238,230,.025); box-shadow: inset 0 0 0 1px var(--line-2); }
.cur-seg button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; height: 38px; padding-inline: .6rem .85rem; border-radius: 999px; font: 600 .74rem/1 "Instrument Sans", system-ui, sans-serif; letter-spacing: .1em; color: var(--bone-2); white-space: nowrap; flex: none; transition: background-color .4s var(--ease), color .4s, box-shadow .4s; }
.cur-seg button span { padding-top: 1px; }
.cur-seg button:hover { color: var(--bone); background: rgba(242,238,230,.05); }
.cur-seg button[aria-checked="true"] { background: var(--bone); color: var(--ink); }
.cur-seg button[aria-checked="true"] .flag { box-shadow: 0 0 0 1px rgba(10,10,11,.2); }
.cur-seg button:focus-visible { outline-offset: 2px; }
.cur-seg .flag { width: 16px; height: 16px; }
.cur-seg--inline button { height: 32px; padding-inline: .5rem .7rem; font-size: .7rem; }
.cur-seg--inline .flag { width: 14px; height: 14px; }
.menu-cur { display: grid; gap: .8rem; }
.menu-cur-l, .pr-cur-l { font: 500 .7rem/1.2 var(--f-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
:lang(ar) .menu-cur-l, :lang(ar) .pr-cur-l { letter-spacing: 0; text-transform: none; font-size: .88rem; }
.cur-seg--menu { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: 20px; width: 100%; max-width: 420px; }
.cur-seg--menu button { border-radius: 16px; height: 42px; }

/* ---------- pricing hero ---------- */
.pr-hero .phero-title { max-width: 15ch; }
.pr-hero .phero-aside { grid-column: 1 / span 6; }
.pr-cur { display: grid; gap: .9rem; justify-items: start; }
.pr-cur-note { display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; color: var(--muted); transition: color .3s; }
.pr-cur-note svg { color: var(--gold); }
.pr-cur-note:hover { color: var(--gold-2); }

/* ---------- sticky discipline tabs ---------- */
.pr-tabs { position: sticky; top: var(--hdr-h); z-index: 30; transition: top .7s var(--ease); }
.hdr.is-hidden ~ main .pr-tabs { top: 0; }
.pr-tabs::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10,10,11,.74); -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%); box-shadow: 0 1px 0 var(--line); opacity: 0; transition: opacity .5s; }
.pr-tabs.is-stuck::before { opacity: 1; }
.pr-tabs-in { position: relative; }
.pr-tabs-list { display: flex; gap: .45rem; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; padding-block: .9rem; }
.pr-tabs-list::-webkit-scrollbar { display: none; }
.pr-tab { display: inline-flex; align-items: center; gap: .55rem; height: 42px; padding-inline: .95rem 1.1rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--bone-2); font-size: .86rem; font-weight: 500; white-space: nowrap; transition: background-color .45s var(--ease), color .45s, box-shadow .45s; }
:lang(ar) .pr-tab { font-size: .95rem; }
.pr-tab svg { color: var(--gold); flex: none; transition: color .45s; }
.pr-tab:hover { color: var(--bone); box-shadow: inset 0 0 0 1px var(--bone-2); }
.pr-tab.is-on { background: var(--bone); color: var(--ink); box-shadow: none; }
.pr-tab.is-on svg { color: var(--gold-3); }

/* ---------- discipline sections ---------- */
.pr-body { padding-bottom: clamp(2rem, 4vw, 4rem); }
.pr-sec { padding-top: clamp(3.5rem, 7vw, 6.5rem); scroll-margin-top: calc(var(--hdr-h) + 84px); }
.pr-sh { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; padding-top: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: clamp(1.8rem, 3.4vw, 3rem); border-top: 1px solid var(--line); }
.pr-sh-l { display: flex; align-items: flex-end; gap: clamp(1rem, 2vw, 1.6rem); min-width: 0; }
.pr-sh-l > div { display: grid; gap: .8rem; min-width: 0; }
.pr-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; flex: none; color: var(--gold); background: rgba(201,169,110,.06); box-shadow: inset 0 0 0 1px var(--line-2); }
.pr-sh-t { font-size: clamp(2rem, 3.6vw, 3.6rem); }
:lang(ar) .pr-sh-t { font-size: clamp(1.7rem, 2.9vw, 2.9rem); }
.pr-sh-r { padding-bottom: .5rem; }

/* ---------- package cards ---------- */
.pk-grid { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: clamp(10px, 1.1vw, 18px); align-items: stretch; }
.pk-cell { display: flex; min-width: 0; }
.pk { position: relative; isolation: isolate; display: flex; flex-direction: column; width: 100%; padding: clamp(1.6rem, 2.3vw, 2.4rem); border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, rgba(242,238,230,.04), rgba(242,238,230,.012)); box-shadow: inset 0 0 0 1px var(--line);
  transition: translate .7s var(--ease), box-shadow .6s var(--ease); }
.pk::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), rgba(201,169,110,.14), transparent 45%); opacity: 0; transition: opacity .5s; }
.pk::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(228,205,156,.8), transparent 45%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .5s; pointer-events: none; }
.pk:hover { translate: 0 -6px; box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 90px -40px rgba(0,0,0,.9); }
.pk:hover::before, .pk:hover::after { opacity: 1; }
.pk--pop { background: radial-gradient(120% 60% at 50% -10%, rgba(201,169,110,.16), transparent 60%), linear-gradient(180deg, rgba(201,169,110,.06), rgba(242,238,230,.012) 55%);
  box-shadow: inset 0 0 0 1px rgba(201,169,110,.55), 0 30px 90px -40px rgba(201,169,110,.4); }
.pk--pop:hover { box-shadow: inset 0 0 0 1px rgba(228,205,156,.85), 0 40px 110px -40px rgba(201,169,110,.55); }
.pk-badge { position: absolute; top: clamp(1.6rem, 2.3vw, 2.4rem); inset-inline-end: clamp(1.6rem, 2.3vw, 2.4rem); display: inline-flex; align-items: center; gap: .4rem; padding: .48rem .8rem .44rem; border-radius: 999px; background: var(--gold); color: var(--ink); font: 600 .64rem/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 8px 24px -8px rgba(201,169,110,.8); }
:lang(ar) .pk-badge { letter-spacing: 0; text-transform: none; font-size: .8rem; font-weight: 500; padding-block: .42rem .4rem; }
.pk-head { display: grid; gap: .6rem; padding-bottom: 1.5rem; }
.pk-n { font: 500 .72rem/1 var(--f-ui); color: var(--acc); letter-spacing: .1em; font-variant-numeric: tabular-nums; padding-block: .5rem .35rem; }
.pk-name { font: 400 clamp(1.75rem, 2.2vw, 2.3rem)/1.08 var(--f-display); letter-spacing: -.012em; color: var(--bone); padding-inline-end: 1rem; }
:lang(ar) .pk-name { font-weight: 300; font-size: clamp(1.45rem, 1.8vw, 1.85rem); line-height: 1.45; letter-spacing: 0; }
.pk-tag { color: var(--fg-m); font-size: .93rem; line-height: 1.5; max-width: 34ch; }
:lang(ar) .pk-tag { font-size: 1rem; line-height: 1.75; }
.pk-price { position: relative; padding-block: 2.6rem 1.25rem; border-top: 1px solid var(--line); min-height: 7.6rem; }
.pk-price .px--lg .px-from { position: absolute; top: 1.35rem; inset-inline-start: 0; margin: 0; }
@media (min-width: 1025px) { .pk-tag { min-height: 3em; } :lang(ar) .pk-tag { min-height: 3.5em; } .pk-head { padding-bottom: 1.5rem; } }
.pk-time { display: inline-flex; align-self: flex-start; align-items: center; gap: .5rem; padding: .5rem .85rem; border-radius: 999px; background: rgba(242,238,230,.03); box-shadow: inset 0 0 0 1px var(--line-2); font: 500 .76rem/1 var(--f-ui); letter-spacing: .03em; color: var(--bone-2); }
:lang(ar) .pk-time { font-size: .86rem; letter-spacing: 0; padding-block: .45rem .5rem; }
.pk-time svg { color: var(--gold); flex: none; }
.pk-feats { display: grid; gap: .85rem; align-content: start; margin-block: 1.6rem 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.pk-feats li { position: relative; padding-inline-start: 1.55rem; color: var(--bone-2); font-size: .94rem; line-height: 1.45; }
.pk-feats li::before { content: ""; position: absolute; inset-inline-start: .18rem; top: .52em; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
:lang(ar) .pk-feats li { font-size: 1rem; line-height: 1.7; }
:lang(ar) .pk-feats li::before { top: .72em; }
.pk-cta { margin-top: auto; }
.pk-cta .btn { width: 100%; justify-content: space-between; }
.pk-cta .btn .btn-roll { min-width: 0; }

/* big price */
.px--lg { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .3rem; row-gap: .15rem; }
.px--lg .px-from { flex-basis: 100%; margin-bottom: .45rem; font: 500 .68rem/1 var(--f-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
:lang(ar) .px--lg .px-from { letter-spacing: 0; text-transform: none; font-size: .86rem; }
.px--lg .px-amt { display: inline-flex; align-items: flex-start; gap: .45rem; font: 400 clamp(2.7rem, 3.7vw, 3.8rem)/.95 var(--f-display); letter-spacing: -.025em; color: var(--bone); font-variant-numeric: lining-nums; }
.px--lg .px-cur { margin-top: .32em; font: 600 .74rem/1 "Instrument Sans", system-ui, sans-serif; letter-spacing: .14em; color: var(--gold-2); }
.px--lg .px-unit { font-size: .92rem; color: var(--muted); }
.px--lg .px-rec { flex-basis: 100%; margin-top: .75rem; font-size: .9rem; color: var(--bone-2); }
.px--lg .px-rec .px-amt { display: inline; font: 500 .95rem/1.2 var(--f-ui); letter-spacing: 0; color: var(--gold-2); }
.px--lg .px-rec .px-cur { margin: 0; font: inherit; letter-spacing: 0; color: inherit; }
.px--lg .px-rec .px-unit { font-size: .88rem; }
:lang(ar) .px--lg .px-amt { font-family: "Alexandria", "IBM Plex Sans Arabic", sans-serif; font-weight: 300; font-size: clamp(2.3rem, 3.1vw, 3.2rem); letter-spacing: -.01em; line-height: 1.15; gap: .5rem; }
:lang(ar) .px--lg .px-cur { margin-top: .5em; font: 400 1rem/1 "Alexandria", "IBM Plex Sans Arabic", sans-serif; letter-spacing: 0; }
:lang(ar) .px--lg .px-unit { font-size: .95rem; }
:lang(ar) .px--lg .px-rec .px-amt { display: inline; font: 400 1rem/1.3 var(--f-ui); color: var(--gold-2); gap: 0; }
:lang(ar) .px--lg .px-rec .px-cur { margin: 0; font: inherit; }

/* ---------- add-ons ---------- */
.adn { display: grid; grid-template-columns: minmax(10rem, 13rem) minmax(0, 1fr); gap: 1rem clamp(1.5rem, 3vw, 3rem); align-items: start; margin-top: clamp(10px, 1.1vw, 18px); padding: clamp(1.3rem, 2vw, 1.8rem) clamp(1.6rem, 2.3vw, 2.4rem); border-radius: 22px; box-shadow: inset 0 0 0 1px var(--line); background: rgba(242,238,230,.012); }
.adn-h { padding-top: 1rem; color: var(--bone-2); }
.adn-plus { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: var(--ink); background: var(--gold); }
.adn-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.5rem, 3vw, 3rem); }
.adn-list li { display: flex; align-items: baseline; gap: .8rem; padding-block: .95rem; border-top: 1px solid var(--line); min-width: 0; }
.adn-list li:nth-child(-n+2) { border-top: 0; }
.adn-name { color: var(--bone); font-size: .95rem; line-height: 1.4; min-width: 0; }
:lang(ar) .adn-name { font-size: 1rem; line-height: 1.7; }
.adn-fill { flex: 1 1 1.5rem; min-width: 1.5rem; height: 1px; border-bottom: 1px dotted rgba(242,238,230,.22); align-self: center; translate: 0 .35em; }
.adn-price { flex: none; white-space: nowrap; color: var(--gold-2); font: 400 1.2rem/1.2 var(--f-display); }
.adn-price .px-cur { font: 600 .66rem/1 "Instrument Sans", system-ui, sans-serif; letter-spacing: .12em; color: var(--muted); }
.adn-price .px-from, .adn-price .px-unit { font: 400 .8rem var(--f-ui); color: var(--muted); letter-spacing: 0; text-transform: none; }
.adn-price .px-text { font: 500 .82rem var(--f-ui); color: var(--bone-2); }
:lang(ar) .adn-price { font-family: "Alexandria", sans-serif; font-weight: 300; font-size: 1.1rem; }
:lang(ar) .adn-price .px-cur { font: 400 .85rem "Alexandria", sans-serif; letter-spacing: 0; color: var(--muted); }
:lang(ar) .adn-price .px-text { font-family: var(--f-ui); font-size: .9rem; }

/* ---------- pricing note ---------- */
.pr-note-sec { padding-bottom: 0; }
.pr-note { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem var(--gap); align-items: start; padding: clamp(2rem, 4.5vw, 4.5rem); border-radius: 24px; background: linear-gradient(120deg, #17140f, #0f0e0d 60%); box-shadow: inset 0 0 0 1px rgba(201,169,110,.2); position: relative; overflow: hidden; }
.pr-note::after { content: ""; position: absolute; inset: auto -10% -60% 40%; height: 120%; background: radial-gradient(closest-side, rgba(201,169,110,.12), transparent); pointer-events: none; }
.pr-note-h { grid-column: 1 / span 5; display: grid; gap: 1.2rem; }
.pr-note-h h2 { font-size: clamp(2.1rem, 3.6vw, 3.6rem); }
.pr-note-b { grid-column: 7 / -1; display: grid; gap: 1.6rem; color: var(--bone-2); font-size: var(--fs-lead); line-height: 1.6; max-width: 56ch; position: relative; z-index: 1; }
:lang(ar) .pr-note-b { line-height: 1.95; }
.pr-note-cur { display: flex; align-items: center; gap: .55rem; padding-top: 1.3rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.pr-note-cur svg { color: var(--gold); flex: none; }
.pr-note-cur bdi { color: var(--bone-2); font-variant-numeric: tabular-nums; }

/* ---------- prices elsewhere ---------- */
.price .px-cur { font: 600 .7rem/1 "Instrument Sans", system-ui, sans-serif; letter-spacing: .12em; color: var(--muted); }
:lang(ar) .price .px-cur { font: 400 .9rem/1 "Alexandria", "IBM Plex Sans Arabic", sans-serif; letter-spacing: 0; }
:lang(ar) .price b { font-family: "Alexandria", "IBM Plex Sans Arabic", sans-serif; font-weight: 300; }
.price .px-unit { font: 400 .88rem var(--f-ui); color: var(--muted); }
.svx-acts { display: flex; align-items: center; gap: 1rem 1.75rem; flex-wrap: wrap; }
.svc-from { display: block; margin-top: 1rem; font: 500 .7rem/1.4 var(--f-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
:lang(ar) .svc-from { letter-spacing: 0; text-transform: none; font-size: .86rem; }
.svc-from .px { margin-inline-start: .4rem; font: 400 1.15rem/1 var(--f-display); letter-spacing: 0; text-transform: none; color: var(--gold-2); }
.svc-from .px-cur { font: 600 .66rem/1 "Instrument Sans", system-ui, sans-serif; letter-spacing: .12em; color: var(--muted); }
.svc-from .px-unit { font: 400 .8rem var(--f-ui); color: var(--muted); }
:lang(ar) .svc-from .px { font-family: "Alexandria", sans-serif; font-weight: 300; font-size: 1.05rem; }
:lang(ar) .svc-from .px-cur { font: 400 .85rem "Alexandria", sans-serif; letter-spacing: 0; }
.svd-pk-act { display: flex; align-items: center; gap: 1rem 1.75rem; flex-wrap: wrap; }

/* ---------- brief form: package chip & budgets ---------- */
.f-pkg { display: flex; align-items: center; gap: .9rem; padding: .85rem .85rem .85rem 1rem; border-radius: 16px; background: linear-gradient(90deg, rgba(201,169,110,.13), rgba(201,169,110,.03)); box-shadow: inset 0 0 0 1px rgba(201,169,110,.42); animation: fadeup .8s var(--ease) both; }
[dir="rtl"] .f-pkg { background: linear-gradient(270deg, rgba(201,169,110,.13), rgba(201,169,110,.03)); padding-inline: 1rem .85rem; }
.f-pkg-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; flex: none; background: var(--gold); color: var(--ink); }
.f-pkg-t { flex: 1; min-width: 0; display: grid; gap: .15rem; }
.f-pkg-t small { font: 500 .66rem/1.2 var(--f-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); }
:lang(ar) .f-pkg-t small { letter-spacing: 0; text-transform: none; font-size: .82rem; }
.f-pkg-t b { font: 400 1.3rem/1.2 var(--f-display); color: var(--bone); }
:lang(ar) .f-pkg-t b { font-weight: 400; font-size: 1.15rem; line-height: 1.5; }
.f-pkg-s { font-size: .84rem; color: var(--muted); }
.f-pkg-s .px { color: var(--bone-2); }
.f-pkg-x { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; flex: none; color: var(--bone-2); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .3s, color .3s; }
.f-pkg-x:hover { background: var(--bone); color: var(--ink); }
.pick--budget .px-amt { white-space: nowrap; }
.pick--budget label > span { gap: 0; }
.pick--budget label > span::before { margin-inline-end: .55rem; }

/* ---------- responsive ---------- */
@media (max-width: 1320px) {
  .hdr-act { gap: .9rem; }
  .hdr-act > .lang-sw span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 1180px) {
  .nav ul { gap: 1.3rem; }
  .svc-link { grid-template-columns: 3.5rem minmax(0, 1fr) 3rem; }
  .svc-tag { display: none; }
  .svc-more-in { padding-inline-start: calc(3.5rem + clamp(1rem, 2vw, 2rem)); }
  .hero-ctas { grid-column: 6 / span 6; }
}
@media (max-width: 1024px) {
  :root { --hdr-h: 72px; }
  .nav, .hdr-act > .lang-sw, .hdr-cta, .hdr-act > .cur-dd, .hdr-act > .rgn-sw { display: none; }
  .pr-hero .phero-aside { grid-column: 1 / -1; grid-row: auto; }
  .pk-grid { grid-template-columns: minmax(0, 1fr); }
  .pk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "head feats" "price feats" "time feats" "cta feats"; grid-template-rows: auto auto auto 1fr; column-gap: clamp(2rem, 5vw, 4rem); }
  .pk-head { grid-area: head; } .pk-price { grid-area: price; } .pk-time { grid-area: time; } .pk-cta { grid-area: cta; margin-top: 1.75rem; align-self: end; }
  .pk-feats { grid-area: feats; margin: 0; padding-top: 0; border-top: 0; padding-inline-start: clamp(2rem, 5vw, 4rem); border-inline-start: 1px solid var(--line); align-self: stretch; align-content: center; }
  .pk--pop .pk-feats { padding-top: 3rem; }
  .adn { grid-template-columns: 1fr; }
  .adn-h { padding-top: .2rem; }
  .pr-note-h, .pr-note-b { grid-column: 1 / -1; }
  .burger { display: block; }
  .hdr-act { margin-inline-start: auto; }
  .hero-foot { grid-template-columns: 1fr; gap: 1.6rem; }
  .hero-body, .hero-ctas { grid-column: 1; }
  .scroll-cue { display: none; }
  .intro-eb, .manifesto, .intro-aside { grid-column: 1 / -1; }
  .intro-eb { padding-top: 0; margin-bottom: 1rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--rule); margin-top: 1.5rem; }
  .sh--split .sh-title, .sh--split .sh-foot { grid-column: 1 / -1; }
  .process-head, .steps, .faq-head, .faq-list, .mk-head, .mk-list, .mk-map { grid-column: 1 / -1; position: static; }
  .mk-map { grid-row: auto; margin-top: 3rem; max-width: 560px; }
  .wc-0 { grid-column: 1 / span 7; }
  .wc-1 { grid-column: 8 / -1; }
  .wc-2 { grid-column: 1 / span 5; }
  .wc-3 { grid-column: 6 / -1; margin-top: 8vw; }
  .steps { margin-top: 3.5rem; }
  .faq-list { margin-top: 3rem; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento--6 { grid-template-areas: "a b" "a c" "d e" "f f"; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-grid > :nth-child(3) { display: none; }
  .ftr-news, .ftr-cols { grid-column: 1 / -1; }
  .svx-media { grid-column: 1 / -1; }
  .svx-body { grid-column: 1 / -1; }
  .split-side, .split-main { grid-column: 1 / -1; position: static; }
  .contact-info, .form-card { grid-column: 1 / -1; position: static; }
  .art-side { grid-column: 1 / -1; position: static; display: flex; flex-wrap: wrap; justify-content: space-between; }
  .art-body { grid-column: 1 / -1; }
  .feat-post .pcard-media, .feat-post .pcard-body { grid-column: 1 / -1; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-band .pb-txt, .profile-band .pb-act { grid-column: 1 / -1; justify-self: start; }
  .pb-doc { display: none; }
  .page-body .prose { margin-inline-start: 0; }
  .phero-lead { grid-column: 1 / -1; }
  .pj-block h2, .pj-block .pj-text { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --gutter: 20px; --sec-y: 88px; }
  .hero-top { flex-direction: column; gap: 1rem; padding-bottom: 5vh; }
  .hero-status { justify-items: start; }
  .hero-title { font-size: clamp(3rem, 13.6vw, 5rem); line-height: .95; }
  :lang(ar) .hero-title { font-size: clamp(2.4rem, 11.2vw, 4rem); line-height: 1.3; }
  .hero-mark { inset-inline-end: -30vw; height: 90vh; opacity: .7; }
  .hero-ctas .btn { flex: 1 1 100%; justify-content: space-between; }
  .sh-title { font-size: clamp(2.3rem, 10vw, 3.2rem); }
  :lang(ar) .sh-title { font-size: clamp(1.9rem, 8.2vw, 2.7rem); }
  .manifesto { font-size: clamp(1.75rem, 7.6vw, 2.4rem); }
  :lang(ar) .manifesto { font-size: clamp(1.45rem, 6.2vw, 2rem); }
  .svc-link { grid-template-columns: 2.4rem minmax(0, 1fr) 2.6rem; gap: .9rem; }
  .svc-go { width: 2.6rem; height: 2.6rem; }
  .svc-title { font-size: clamp(1.55rem, 6.6vw, 2.1rem); }
  :lang(ar) .svc-title { font-size: clamp(1.3rem, 5.6vw, 1.75rem); }
  .svc-more-in { padding-inline-start: calc(2.4rem + .9rem); }
  .svc-more { grid-template-rows: 1fr; }
  .svc-more-in p { padding-bottom: 1.4rem; font-size: .95rem; }
  .svc-more-in .chips { display: none; }
  .work-grid { grid-template-columns: 1fr; row-gap: 3.5rem; }
  .wc-0, .wc-1, .wc-2, .wc-3 { grid-column: 1; margin-top: 0; }
  .wc-1 .wcard-media, .wc-2 .wcard-media { aspect-ratio: 4 / 4.4; }
  .wcard--img .wcard-media, .wc-1.wcard--img .wcard-media, .wc-2.wcard--img .wcard-media { aspect-ratio: 16 / 10; }
  .wc-1.wcard--img .art-img, .wc-2.wcard--img .art-img { object-position: 50% 50%; }
  .work-list { grid-template-columns: 1fr; }
  .work-list .wcard:nth-child(even of :not(.is-hidden)) { margin-top: 0; }
  .bento, .bento--6 { grid-template-columns: 1fr; grid-template-areas: none; }
  .bento--6 > * { grid-area: auto !important; }
  .bento--6 > :nth-child(1) { min-height: 400px; }
  .bento-card { min-height: 230px; }
  .post-grid { grid-template-columns: 1fr; }
  .post-grid > :nth-child(3) { display: grid; }
  .faq-q button { grid-template-columns: 2rem minmax(0, 1fr) 2.2rem; gap: .75rem; }
  .faq-ic { width: 2.2rem; height: 2.2rem; }
  .faq-a p { padding-inline: 2.75rem 0; }
  .mk-item { grid-template-columns: 2.4rem minmax(0, 1fr); }
  .mk-coord { grid-column: 2; grid-row: auto; margin-top: .35rem; }
  .ftr-cols { grid-template-columns: 1fr 1fr; }
  .ftr-cols .ftr-col:last-child { grid-column: 1 / -1; }
  .ftr-mid { flex-direction: column; align-items: flex-start; }
  .ftr-tools { width: 100%; justify-content: space-between; }
  .ftr-word { font-size: 23vw; padding-inline: 12px; }
  .cta-title { font-size: clamp(3rem, 14vw, 4.6rem); }
  :lang(ar) .cta-title { font-size: clamp(2.4rem, 11vw, 3.6rem); }
  .dlv { grid-template-columns: 1fr; }
  .dlv li:nth-child(n) { padding-inline: 0; border-inline-start: 0; }
  .pj-meta { grid-template-columns: 1fr 1fr; }
  .pj-meta > div { padding: 1.2rem 1rem 1.2rem 0; }
  .pj-meta > div:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .pj-meta > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pj-cover { aspect-ratio: 4 / 3.4; }
  .pj-cover--img { aspect-ratio: 16 / 10; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; margin-top: 0; }
  .lb-stage { padding-bottom: 84px; }
  .results { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .banner { aspect-ratio: 4 / 3; }
  .art-cover { aspect-ratio: 16 / 10; }
  .mv { grid-template-columns: 1fr; }
  .mv-card { min-height: 300px; }
  .team { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .fields { grid-template-columns: 1fr; }
  .cdetails > div { grid-template-columns: 1fr; gap: .2rem; }
  .form-card { padding: 1.5rem 1.25rem; border-radius: 18px; }
  .fc-bar li { font-size: .7rem; }
  .f-nav .btn { flex: 1; justify-content: space-between; }
  .phero-title { font-size: clamp(2.7rem, 12vw, 4.2rem); }
  :lang(ar) .phero-title { font-size: clamp(2.2rem, 9.6vw, 3.4rem); }
  .article-title { font-size: clamp(2.3rem, 10vw, 3.4rem); }
  :lang(ar) .article-title { font-size: clamp(1.9rem, 8vw, 2.8rem); }
  .nf-num { font-size: 70vw; inset-inline-end: -10vw; top: 30%; }
  .wa-float { width: 52px; height: 52px; bottom: 16px; inset-inline-end: 16px; }
  .cur-seg--hero { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: 20px; width: 100%; }
  .cur-seg--hero button { border-radius: 16px; height: 42px; }
  .cur-seg--inline { display: none; }
  .pr-tabs-in { padding-inline: 0; }
  .pr-tabs-list { padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .pr-tab { height: 38px; font-size: .82rem; padding-inline: .8rem .95rem; }
  .pr-sh { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .pr-sh-l { align-items: flex-start; flex-direction: column; }
  .pr-ic { width: 52px; height: 52px; border-radius: 15px; }
  .pr-sh-t { font-size: clamp(2rem, 9vw, 2.6rem); }
  :lang(ar) .pr-sh-t { font-size: clamp(1.6rem, 7.4vw, 2.1rem); }
  .pk { display: flex; padding: 1.6rem 1.35rem 1.4rem; border-radius: 20px; }
  .pk-badge { top: 1.6rem; inset-inline-end: 1.35rem; }
  .pk-feats { margin-block: 1.4rem 1.6rem; padding-top: 1.4rem; padding-inline-start: 0; border-inline-start: 0; border-top: 1px solid var(--line); }
  .pk--pop .pk-feats { padding-top: 1.4rem; }
  .pk-cta { margin-top: auto; align-self: stretch; }
  .pk-price { min-height: 0; }
  .adn-fill { display: none; }
  .adn-name { flex: 1 1 auto; }
  .adn-price { text-align: end; }
  .adn { padding: 1.3rem 1.35rem; border-radius: 20px; }
  .adn-list { grid-template-columns: 1fr; }
  .adn-list li:nth-child(2) { border-top: 1px solid var(--line); }
  .pr-note { padding: 1.75rem 1.35rem; border-radius: 20px; }
  .f-pkg-t b { font-size: 1.15rem; }
}
@media (min-width: 1025px) and (hover: hover) and (pointer: fine) {
  .svc-preview { display: block; }
}
@media (hover: none) {
  .svc-more { grid-template-rows: 1fr; }
  .svc-more-in .chips { display: none; }
}

/* ==========================================================================
   AI Creative Director — homepage hero (landing → conversation → direction)
   ========================================================================== */
.hero--cd { --cd-w: min(100%, 820px); }
.hero--cd .hero-in { padding-bottom: clamp(1.2rem, 3vh, 2.4rem); }
.hero--cd .hero-scrim { background: linear-gradient(to top, rgba(10,10,11,.94) 0%, rgba(10,10,11,.5) 42%, rgba(10,10,11,.08) 72%), linear-gradient(to bottom, rgba(10,10,11,.6), rgba(10,10,11,0) 24%); }
.cd-top { margin-bottom: 0; padding-bottom: 0; align-items: center; min-height: 2.6rem; }
.cd-eyebrow { color: var(--bone-2); }
.cd-star { width: 12px; height: 12px; fill: var(--gold); flex: none; }
.cd-star--eb { width: 13px; height: 13px; animation: twinkle 3.2s var(--ease) infinite; }
.cd-bar { display: none; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); }

/* stage */
.cd-stage { position: relative; margin-top: auto; padding-top: clamp(2rem, 7vh, 5rem); min-height: 0; }
.cd-title { font-size: clamp(3rem, 7.4vw, 7.8rem); max-width: 11.5em; line-height: .94; view-transition-name: cd-title; }
:lang(ar) .cd-title { font-size: clamp(2.5rem, 6vw, 6.4rem); line-height: 1.22; }
.cd-sub { margin-top: clamp(1.1rem, 2.4vh, 1.8rem); max-width: 44ch; color: var(--bone-2); font-size: var(--fs-lead); line-height: 1.5; }
:lang(ar) .cd-sub { line-height: 1.85; }
.cd-log, .cd-out { display: none; }

/* dock: chips + composer */
.cd-dock { position: relative; z-index: 2; display: grid; gap: .9rem; width: var(--cd-w); margin-top: clamp(1.8rem, 4.4vh, 3rem); padding-bottom: clamp(3.4rem, 9vh, 6.2rem); }
.cd-chips { order: 2; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; min-height: 40px; }
.cd-chips-l { font: 500 .7rem/1 var(--f-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-inline-end: .35rem; }
:lang(ar) .cd-chips-l { letter-spacing: 0; text-transform: none; font-size: .85rem; }
.cd-chip { display: inline-flex; align-items: center; gap: .55rem; height: 40px; padding-inline: 1.05rem .9rem; border-radius: 999px; background: rgba(10,10,11,.32); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--bone-2); font-size: .9rem; line-height: 1; white-space: nowrap; transition: background-color .45s var(--ease), color .35s, box-shadow .35s; }
:lang(ar) .cd-chip { font-size: .95rem; }
.cd-chip svg { color: var(--gold); transition: transform .5s var(--ease); }
.cd-chip:hover, .cd-chip:focus-visible { background: var(--bone); color: var(--ink); box-shadow: none; }
.cd-chip:hover svg { color: var(--ink); transform: translate(calc(2px * var(--dirx)), -2px); }
.cd-chip.is-new { animation: fadeup .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 80ms); }
.cd-chip[disabled] { opacity: .45; pointer-events: none; }

.cd-composer { order: 1; width: 100%; view-transition-name: cd-composer; }
.cd-field { position: relative; display: flex; align-items: flex-end; gap: .8rem; padding: .62rem .62rem .62rem 1.3rem; border-radius: 26px; background: rgba(13,13,14,.58); -webkit-backdrop-filter: blur(24px) saturate(140%); backdrop-filter: blur(24px) saturate(140%); box-shadow: inset 0 0 0 1px var(--line-2), 0 34px 90px -34px rgba(0,0,0,.75); transition: box-shadow .6s var(--ease), background-color .6s; }
[dir="rtl"] .cd-field { padding: .62rem 1.3rem .62rem .62rem; }
.cd-field::before { content: ""; position: absolute; inset: 0 28px auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(228,205,156,.55), transparent); opacity: .55; transition: opacity .6s; pointer-events: none; }
.cd-field:focus-within { background: rgba(13,13,14,.72); box-shadow: inset 0 0 0 1px rgba(201,169,110,.55), 0 0 0 6px rgba(201,169,110,.07), 0 34px 100px -30px rgba(201,169,110,.22); }
.cd-field:focus-within::before { opacity: 1; }
.cd-star--in { align-self: flex-start; margin-top: calc(.85rem + .5lh - 6px); width: 12px; height: 12px; opacity: .9; }
.cd-field textarea { flex: 1; min-width: 0; min-height: calc(1.5em + 1.7rem); max-height: 11rem; padding: .85rem 0; resize: none; outline: none; border: 0; background: none; color: var(--bone); font: 400 1.14rem/1.5 var(--f-ui); overflow-y: auto; scrollbar-width: thin; }
:lang(ar) .cd-field textarea { font-size: 1.12rem; line-height: 1.6; }
.cd-field textarea::placeholder { color: var(--muted); opacity: 1; }
.cd-field textarea:focus-visible { outline: none; }
.cd-send { flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--bone); color: var(--ink); transition: background-color .45s var(--ease), color .45s, box-shadow .45s, transform .5s var(--ease); }
.cd-send:hover:not([disabled]) { background: var(--gold); transform: scale(1.04); }
.cd-send:focus-visible { outline-offset: 3px; border-radius: 50%; }
.cd-send[disabled] { background: rgba(242,238,230,.04); color: var(--muted-2); box-shadow: inset 0 0 0 1px var(--line); cursor: default; }
.cd-send svg { transition: transform .5s var(--ease); }
.cd-send:hover:not([disabled]) svg { transform: translateX(calc(3px * var(--dirx))) scaleX(var(--dirx)); }
.cd-composer.is-busy .cd-field { background: rgba(13,13,14,.45); }
.cd-composer.is-busy textarea { color: var(--muted); }
.cd-meta { display: flex; justify-content: space-between; gap: 1rem; min-height: 1.1rem; padding: .55rem 1.3rem 0; font-size: .74rem; color: var(--muted-2); }
:lang(ar) .cd-meta { font-size: .8rem; }
.cd-count { font-variant-numeric: tabular-nums; margin-inline-start: auto; }
.cd-count.is-warn { color: var(--gold); }
.cd-assure { order: 3; display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .85rem; font-size: .8rem; color: var(--muted); margin-top: .35rem; }
:lang(ar) .cd-assure { font-size: .88rem; }
.cd-assure i { width: 3px; height: 3px; border-radius: 50%; background: var(--gold-3); }
.cd-cue { position: absolute; bottom: clamp(1.2rem, 3vh, 2.4rem); inset-inline-end: var(--gutter); }

/* ---------- conversation state ---------- */
.hero--cd[data-state="convo"] { height: 100vh; height: 100svh; min-height: 560px; }
.hero--cd[data-state="convo"] .hero-in { height: 100%; }
.hero--cd:not([data-state="landing"]) .cd-status, .hero--cd:not([data-state="landing"]) .cd-intro,
.hero--cd:not([data-state="landing"]) .cd-assure, .hero--cd:not([data-state="landing"]) .cd-cue, .hero--cd:not([data-state="landing"]) .cd-chips-l { display: none; }
.hero--cd:not([data-state="landing"]) .cd-bar { display: flex; }
.hero--cd:not([data-state="landing"]) .cd-top { padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.hero--cd[data-state="convo"] .cd-stage { flex: 1; display: flex; flex-direction: column; margin-top: 0; padding-top: 0; }
.hero--cd[data-state="convo"] .cd-log { display: block; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding-block: clamp(1.6rem, 5vh, 3.4rem) 1.4rem; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 2.6rem, #000 calc(100% - 1rem), transparent); mask-image: linear-gradient(to bottom, transparent 0, #000 2.6rem, #000 calc(100% - 1rem), transparent); }
.cd-log::-webkit-scrollbar { display: none; }
.hero--cd[data-state="convo"] .cd-dock { margin-top: .4rem; padding-bottom: max(.4rem, env(safe-area-inset-bottom)); gap: .75rem; }
.hero--cd[data-state="convo"] .cd-chips { order: 0; min-height: 40px; }
.hero--cd[data-state="convo"] .cd-chips:empty { min-height: 0; }
.cd-log:focus { outline: none; }
.hero--cd .cd-log { padding-inline-end: max(0px, calc(100% - 74rem)); }
.hero--cd .hero-scrim { transition: background-color 1.2s var(--ease); }
.hero--cd:not([data-state="landing"]) .hero-scrim { background-color: rgba(10,10,11,.42); }

/* progress rail + start over */
.cd-rail { display: grid; grid-template-columns: repeat(4, minmax(4.6rem, 7rem)); gap: 6px; }
.cd-rail li { display: grid; gap: .5rem; font: 500 .66rem/1.1 var(--f-ui); letter-spacing: .15em; text-transform: uppercase; color: var(--muted-2); transition: color .6s; }
:lang(ar) .cd-rail li { letter-spacing: 0; text-transform: none; font-size: .78rem; }
.cd-rail li::before { content: ""; height: 2px; border-radius: 2px; background: var(--line-2) linear-gradient(var(--gold), var(--gold)) no-repeat; background-size: 0 100%; transition: background-size 1s var(--ease); }
[dir="rtl"] .cd-rail li::before { background-position: 100% 0; }
.cd-rail li.is-cur { color: var(--bone-2); }
.cd-rail li.is-cur::before { background-size: 35% 100%; }
.cd-rail li.is-done { color: var(--gold-2); }
.cd-rail li.is-done::before { background-size: 100% 100%; }
.cd-restart { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem 0; font-size: .8rem; color: var(--muted); white-space: nowrap; transition: color .3s; }
.cd-restart svg { transform: scaleX(calc(-1 * var(--dirx))); transition: transform .5s var(--ease); }
.cd-restart:hover { color: var(--bone); }
.cd-restart:hover svg { transform: scaleX(calc(-1 * var(--dirx))) translateX(3px); }

/* messages — editorial, not bubbles */
.cd-msg { max-width: 64rem; }
.cd-msg + .cd-msg { margin-top: clamp(1.5rem, 3.6vh, 2.5rem); }
.cd-by { display: flex; align-items: center; gap: .6rem; margin-bottom: .85rem; font: 500 .68rem/1 var(--f-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); }
:lang(ar) .cd-by { letter-spacing: 0; text-transform: none; font-size: .82rem; }
.cd-by .cd-star { width: 11px; height: 11px; }
.cd-say { font-family: var(--f-display); font-size: clamp(1.7rem, 2.75vw, 2.95rem); line-height: 1.13; letter-spacing: -.012em; color: var(--bone); max-width: 25em; text-wrap: pretty; transition: font-size .9s var(--ease), color .9s var(--ease); }
:lang(ar) .cd-say { font-weight: 300; font-size: clamp(1.45rem, 2.2vw, 2.35rem); line-height: 1.6; letter-spacing: 0; }
.cd-msg--ai.is-past .cd-say { font-size: clamp(1.1rem, 1.45vw, 1.4rem); line-height: 1.35; color: var(--muted); }
:lang(ar) .cd-msg--ai.is-past .cd-say { font-size: clamp(1rem, 1.3vw, 1.25rem); line-height: 1.75; }
.cd-msg--ai.is-past .cd-by { color: var(--muted); }
.cd-msg--ai.is-past .cd-by .cd-star { fill: var(--gold-3); }
.cd-msg--me { width: fit-content; max-width: min(48ch, 78%); margin-inline-start: auto; padding-inline-end: 1.1rem; border-inline-end: 1px solid var(--gold-3); text-align: end; }
.cd-me-l { font: 500 .64rem/1 var(--f-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); margin-bottom: .5rem; }
:lang(ar) .cd-me-l { letter-spacing: 0; text-transform: none; font-size: .78rem; }
.cd-me-t { color: var(--bone-2); font-size: 1.02rem; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.cd-msg--me:not(:last-child) .cd-me-t { color: var(--muted); }
.cd-msg--me { animation: fadeup .7s var(--ease) both; }
.cd-wd { display: inline-block; animation: cdWord .85s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes cdWord { from { opacity: 0; filter: blur(7px); transform: translateY(.32em); } to { opacity: 1; filter: none; transform: none; } }
.cd-note { display: flex; align-items: center; gap: .6rem; margin-top: 1.6rem; font-size: .8rem; color: var(--muted); animation: fadeup .7s var(--ease) both; }
.cd-note::before { content: ""; width: 18px; height: 1px; background: var(--gold-3); flex: none; }
.cd-note + .cd-msg { margin-top: 1.3rem; }
.cd-err { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: 1.6rem; padding: .85rem 1.1rem; border-radius: 14px; background: rgba(217,119,107,.08); box-shadow: inset 0 0 0 1px rgba(217,119,107,.3); color: #f0b3aa; font-size: .9rem; width: fit-content; animation: fadeup .6s var(--ease) both; }
.cd-err a, .cd-err button { color: var(--bone); text-decoration: underline; text-underline-offset: 3px; }

/* thinking: a turning north star + hairline dots */
.cd-think { display: flex; align-items: center; gap: .8rem; margin-top: clamp(1.5rem, 3.6vh, 2.5rem); color: var(--muted); font: 500 .68rem/1 var(--f-ui); letter-spacing: .18em; text-transform: uppercase; animation: fadeup .5s var(--ease) both; }
:lang(ar) .cd-think { letter-spacing: 0; text-transform: none; font-size: .82rem; }
.cd-think .cd-star { width: 18px; height: 18px; animation: cdTurn 2.2s var(--ease-io) infinite; }
.cd-think i { width: 14px; height: 1px; background: var(--gold); opacity: .15; animation: cdDot 1.4s ease-in-out infinite; }
.cd-think i:nth-of-type(2) { animation-delay: .18s; } .cd-think i:nth-of-type(3) { animation-delay: .36s; }
@keyframes cdTurn { 0% { transform: rotate(0) scale(.8); opacity: .6; } 50% { transform: rotate(90deg) scale(1.15); opacity: 1; } 100% { transform: rotate(180deg) scale(.8); opacity: .6; } }
@keyframes cdDot { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }

/* ---------- direction state ---------- */
.hero--cd[data-state="direction"] .cd-log, .hero--cd[data-state="direction"] .cd-dock { display: none; }
.hero--cd[data-state="direction"] .cd-stage { margin-top: 0; padding-top: clamp(2rem, 6vh, 4rem); padding-bottom: clamp(3rem, 8vh, 6rem); }
.hero--cd[data-state="direction"] .cd-out { display: block; }
.cd-out .cd-msg--ai { margin-bottom: clamp(1.8rem, 4vh, 2.8rem); }
.cd-out .cd-say { font-size: clamp(1.35rem, 2vw, 2rem); color: var(--bone-2); }
:lang(ar) .cd-out .cd-say { font-size: clamp(1.2rem, 1.7vw, 1.65rem); }
.cd-card { position: relative; isolation: isolate; overflow: hidden; padding: clamp(1.5rem, 4vw, 4.2rem); border-radius: clamp(20px, 2.4vw, 32px); background: linear-gradient(180deg, rgba(22,21,19,.86), rgba(11,11,12,.93)); -webkit-backdrop-filter: blur(26px); backdrop-filter: blur(26px); box-shadow: inset 0 0 0 1px var(--line), 0 70px 160px -50px rgba(0,0,0,.8); view-transition-name: cd-card; }
.cd-card::before { content: ""; position: absolute; inset: 0 8% auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(228,205,156,.75), transparent); }
.cd-card::after { content: ""; position: absolute; z-index: -1; top: -30%; inset-inline-end: -10%; width: 60%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(201,169,110,.13), transparent); pointer-events: none; }
.cd-card-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .8rem 1.5rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.cd-card-label { display: inline-flex; align-items: center; gap: .65rem; font: 500 .74rem/1 var(--f-ui); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); }
.cd-card-meta { font: 500 .7rem/1 var(--f-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-variant-numeric: tabular-nums; }
:lang(ar) .cd-card-label, :lang(ar) .cd-card-meta { letter-spacing: 0; text-transform: none; font-size: .88rem; }
.cd-k { margin-top: clamp(2rem, 5vw, 3.8rem); font: 500 .68rem/1 var(--f-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
:lang(ar) .cd-k { letter-spacing: 0; text-transform: none; font-size: .85rem; }
.cd-concept { margin-top: .9rem; font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: clamp(3.1rem, 8.2vw, 8.4rem); line-height: .95; letter-spacing: -.022em; color: var(--gold-2); text-wrap: balance; }
:lang(ar) .cd-concept { font-style: normal; font-weight: 200; line-height: 1.3; letter-spacing: 0; font-size: clamp(2.7rem, 6.8vw, 6.8rem); }
.cd-concept .wi { transform: translate3d(0, 115%, 0); transition: transform 1.3s var(--ease) var(--d, 0s); }
.cd-card.is-in .cd-concept .wi { transform: none; }
.cd-idea { margin-top: clamp(1.1rem, 2.4vw, 1.8rem); max-width: 30em; font-family: var(--f-display); font-size: clamp(1.3rem, 2.05vw, 2rem); line-height: 1.28; color: var(--bone); text-wrap: pretty; }
:lang(ar) .cd-idea { font-weight: 300; font-size: clamp(1.15rem, 1.7vw, 1.6rem); line-height: 1.75; }
.cd-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: clamp(2.2rem, 5vw, 4.2rem); }
.cd-sec { grid-column: 1 / span 7; padding-block: 1.5rem 1.9rem; border-top: 1px solid var(--line); min-width: 0; }
.cd-sec--r { grid-column: 9 / -1; }
.cd-sec h3 { display: flex; align-items: baseline; gap: .7rem; margin-bottom: 1rem; font: 500 .68rem/1.2 var(--f-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
:lang(ar) .cd-sec h3 { letter-spacing: 0; text-transform: none; font-size: .85rem; }
.cd-sec h3 span { color: var(--gold); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.cd-sec p { color: var(--bone-2); font-size: 1.02rem; line-height: 1.62; max-width: 52ch; }
:lang(ar) .cd-sec p { font-size: 1.06rem; line-height: 1.9; }
.cd-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.cd-pills li { padding: .42rem 1rem .5rem; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(201,169,110,.4); font: italic 400 1.2rem/1.1 var(--f-display); color: var(--bone); }
:lang(ar) .cd-pills li { font: 300 1rem/1.4 var(--f-display); }
.cd-swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.cd-swatches li { display: grid; gap: .55rem; min-width: 0; }
.cd-swatches i { display: block; aspect-ratio: 4 / 5; border-radius: 14px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(242,238,230,.1), 0 20px 40px -24px rgba(0,0,0,.8); }
.cd-swatches b { font-weight: 500; font-size: .88rem; color: var(--bone); line-height: 1.25; overflow-wrap: anywhere; }
.cd-swatches code { font: 500 .7rem/1 var(--f-ui); letter-spacing: .1em; color: var(--muted); direction: ltr; unicode-bidi: isolate; }
.cd-dl { counter-reset: none; }
.cd-dl a { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr) auto 1.4rem; align-items: center; gap: .9rem; padding-block: .95rem; border-bottom: 1px solid var(--line); transition: color .35s; }
.cd-dl li:first-child a { padding-top: .2rem; }
.cd-dl .n { font-size: .75rem; color: var(--gold); font-variant-numeric: tabular-nums; }
.cd-dl .t { font-family: var(--f-display); font-size: clamp(1.2rem, 1.6vw, 1.5rem); line-height: 1.2; color: var(--bone); transition: color .35s; }
:lang(ar) .cd-dl .t { font-weight: 300; font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.5; }
.cd-dl .p { font-size: .8rem; color: var(--muted); white-space: nowrap; }
.cd-dl svg { color: var(--muted); transition: transform .5s var(--ease), color .35s; }
.cd-dl a:hover .t { color: var(--gold-2); }
.cd-dl a:hover svg { color: var(--gold); transform: translate(calc(3px * var(--dirx)), -3px) scaleX(var(--dirx)); }
.cd-first { font-family: var(--f-display) !important; font-size: clamp(1.15rem, 1.5vw, 1.4rem) !important; line-height: 1.4 !important; color: var(--bone) !important; }
:lang(ar) .cd-first { font-weight: 300; line-height: 1.8 !important; }
.cd-rows { display: grid; }
.cd-rows > div { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding-block: 1.3rem; border-top: 1px solid var(--line); }
.cd-rows dt { grid-column: 1 / span 3; font: 500 .68rem/1.5 var(--f-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding-top: .35rem; }
:lang(ar) .cd-rows dt { letter-spacing: 0; text-transform: none; font-size: .88rem; }
.cd-rows dd { grid-column: 4 / -1; font-family: var(--f-display); font-size: clamp(1.2rem, 1.8vw, 1.7rem); line-height: 1.3; color: var(--bone); overflow-wrap: anywhere; }
:lang(ar) .cd-rows dd { font-weight: 300; font-size: clamp(1.05rem, 1.45vw, 1.35rem); line-height: 1.75; }
.cd-sum-title { margin-top: clamp(1.8rem, 4vw, 3.2rem); margin-bottom: clamp(1.6rem, 3vw, 2.6rem); font-size: clamp(2.6rem, 5.6vw, 5.4rem); }
.cd-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 2rem; margin-top: clamp(1.4rem, 3vw, 2.4rem); padding-top: clamp(1.6rem, 3vw, 2.4rem); border-top: 1px solid var(--line); }
.cd-cta .sp { flex: 1; }
.cd-act { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 500; color: var(--bone-2); transition: color .3s; }
.cd-act svg { color: var(--gold); }
.cd-act:hover { color: var(--bone); }
.cd-act--restart svg { transform: scaleX(calc(-1 * var(--dirx))); }
.cd-card [data-in] { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--si, 0) * 90ms + .15s); }
.cd-card.is-in [data-in] { opacity: 1; transform: none; }
.hero--cd.is-leaving .cd-card { transition: opacity .45s var(--ease), transform .6s var(--ease); opacity: 0; transform: translateY(-24px) scale(.985); }

/* view transitions (Chrome / Safari 18+) */
::view-transition-group(*) { animation-duration: .75s; animation-timing-function: cubic-bezier(.22, 1, .36, 1); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .5s; }

/* contact page: attached brief */
.cdb { position: relative; display: grid; gap: .55rem; padding: 1.1rem 1.15rem 1rem 1.25rem; border-radius: 18px; background: linear-gradient(135deg, rgba(201,169,110,.14), rgba(201,169,110,.03) 60%); box-shadow: inset 0 0 0 1px rgba(201,169,110,.42); animation: fadeup .8s var(--ease) both; }
.cdb-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cdb-l { display: inline-flex; align-items: center; gap: .55rem; font: 500 .66rem/1.2 var(--f-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); }
:lang(ar) .cdb-l { letter-spacing: 0; text-transform: none; font-size: .82rem; }
.cdb .f-pkg-x { width: 32px; height: 32px; }
.cdb-concept { font: italic 400 clamp(1.8rem, 3vw, 2.5rem)/1.05 var(--f-display); color: var(--gold-2); }
:lang(ar) .cdb-concept { font-style: normal; font-weight: 300; line-height: 1.4; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.cdb-concept--sum { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.3; color: var(--bone); }
.cdb-idea { color: var(--bone-2); font-size: .95rem; line-height: 1.5; }
.cdb-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: .15rem; }
.cdb-pal { display: inline-flex; }
.cdb-pal i { width: 20px; height: 20px; border-radius: 50%; box-shadow: 0 0 0 2px #151412, inset 0 0 0 1px rgba(242,238,230,.14); }
.cdb-pal i + i { margin-inline-start: -5px; }
.cdb-tone { font-size: .82rem; color: var(--muted); }
.cdb-note { font-size: .78rem; color: var(--muted); padding-top: .55rem; border-top: 1px solid rgba(201,169,110,.2); margin-top: .2rem; }
.cdb-note a { color: var(--bone-2); text-decoration: underline; text-underline-offset: 3px; }
.cdb + .f-hint { margin-top: .6rem; }

@media (max-width: 1024px) {
  .contact-grid.has-cd .cdetails, .contact-grid.has-cd .socials { display: none; }
  .cd-sec, .cd-sec--r { grid-column: 1 / -1; }
  .cd-rows dt { grid-column: 1 / -1; padding-top: 0; margin-bottom: .35rem; }
  .cd-rows dd { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .hero--cd { --cd-w: 100%; }
  .cd-top.hero-top { flex-direction: row; flex-wrap: wrap; gap: .8rem; }
  .cd-status { display: none; }
  .cd-title { font-size: clamp(2.9rem, 12.6vw, 4.6rem); line-height: .96; }
  :lang(ar) .cd-title { font-size: clamp(2.3rem, 10.4vw, 3.6rem); line-height: 1.3; }
  .cd-stage { padding-top: 3vh; }
  .cd-sub { font-size: 1.05rem; }
  .cd-dock { margin-top: 1.6rem; padding-bottom: 4.4rem; }
  .cd-field { padding: .5rem .5rem .5rem 1.05rem; border-radius: 22px; }
  [dir="rtl"] .cd-field { padding: .5rem 1.05rem .5rem .5rem; }
  .cd-field textarea { font-size: 1.05rem; padding: .75rem 0; min-height: calc(1.5em + 1.5rem); }
  .cd-star--in { margin-top: calc(.75rem + .5lh - 6px); }
  .cd-send { width: 46px; height: 46px; }
  .cd-hint { display: none; }
  .cd-chip { height: 38px; font-size: .86rem; }
  .cd-chips-l { flex-basis: 100%; margin-bottom: .2rem; }
  .cd-cue { display: none; }
  .hero--cd:not([data-state="landing"]) .cd-eyebrow { display: none; }
  .hero--cd:not([data-state="landing"]) .cd-top { padding-bottom: .8rem; }
  .cd-bar { flex: 1; justify-content: space-between; gap: .8rem; }
  .cd-rail { grid-template-columns: repeat(4, minmax(0, 1fr)); flex: 1; max-width: 17rem; gap: 4px; }
  .cd-rail li { font-size: .56rem; letter-spacing: .1em; }
  :lang(ar) .cd-rail li { font-size: .7rem; }
  .cd-restart span { font-size: .75rem; }
  .hero--cd[data-state="convo"] { min-height: 480px; }
  .hero--cd[data-state="convo"] .cd-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent); }
  .hero--cd[data-state="convo"] .cd-chips::-webkit-scrollbar { display: none; }
  .hero--cd[data-state="convo"] .cd-meta { display: none; }
  .cd-say { font-size: clamp(1.45rem, 6.3vw, 1.9rem); line-height: 1.16; }
  :lang(ar) .cd-say { font-size: clamp(1.2rem, 5.2vw, 1.5rem); line-height: 1.65; }
  .cd-msg--ai.is-past .cd-say { font-size: 1.02rem; }
  .cd-msg--me { max-width: 88%; }
  .cd-me-t { font-size: .95rem; }
  .cd-card { padding: 1.35rem 1.2rem 1.5rem; border-radius: 20px; }
  .cd-card-meta { display: none; }
  .cd-concept { font-size: clamp(2.8rem, 13.4vw, 4.4rem); }
  :lang(ar) .cd-concept { font-size: clamp(2.3rem, 11vw, 3.4rem); }
  .cd-swatches { gap: .5rem; }
  .cd-swatches i { aspect-ratio: 1; border-radius: 10px; }
  .cd-swatches b { font-size: .76rem; }
  .cd-swatches code { font-size: .62rem; letter-spacing: .04em; }
  .cd-dl a { grid-template-columns: 1.8rem minmax(0, 1fr) 1.2rem; gap: .7rem; }
  .cd-dl .p { grid-column: 2; grid-row: 2; margin-top: -.35rem; }
  .cd-dl svg { grid-column: 3; grid-row: 1; }
  .cd-cta .btn { width: 100%; justify-content: space-between; }
  .cd-cta .sp { display: none; }
  html.cd-live .wa-float { opacity: 0; pointer-events: none; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .mq-track { animation: none !important; }
  .grain { animation: none; }
  .js [data-scrub] .sw { opacity: 1; }
  .hero-gl { display: none; }
  .cd-wd, .cd-think .cd-star, .cd-star--eb { animation: none !important; }
}

/* ---------- analytics consent (session replay) ---------- */
.vx-consent{position:fixed;left:clamp(12px,2vw,24px);bottom:clamp(12px,2vw,24px);z-index:9998;width:min(420px,calc(100vw - 24px));padding:20px 20px 18px;border-radius:18px;
  background:rgba(17,17,19,.94);border:1px solid rgba(242,238,230,.12);box-shadow:0 30px 80px -20px rgba(0,0,0,.7);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  color:var(--bone,#F2EEE6);font:400 .9rem/1.55 var(--f-ui,system-ui);opacity:0;transform:translateY(16px);transition:opacity .45s ease,transform .45s cubic-bezier(.2,.8,.2,1)}
.vx-consent.is-in{opacity:1;transform:none}.vx-consent.is-out{opacity:0;transform:translateY(12px)}
[dir=rtl] .vx-consent{left:auto;right:clamp(12px,2vw,24px)}
.vx-consent-t{font:500 .72rem/1 var(--f-ui,system-ui);letter-spacing:.2em;text-transform:uppercase;color:var(--gold,#C9A96E);margin:0 0 10px}
:lang(ar) .vx-consent-t{letter-spacing:0;font-size:.9rem;text-transform:none}
.vx-consent-b{margin:0;color:rgba(242,238,230,.78)}
.vx-consent-b a{color:var(--gold-2,#E4CD9C);text-decoration:underline;text-underline-offset:3px}
.vx-consent-a{display:flex;gap:8px;justify-content:flex-end;margin-top:16px}
.vx-consent-a button{height:40px;padding:0 18px;border-radius:999px;font:600 .85rem/1 var(--f-ui,system-ui);cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.vx-consent-no{background:transparent;color:var(--bone,#F2EEE6);border:1px solid rgba(242,238,230,.22)}.vx-consent-no:hover{border-color:rgba(242,238,230,.5)}
.vx-consent-ok{background:var(--bone,#F2EEE6);color:#0A0A0B;border:1px solid var(--bone,#F2EEE6)}.vx-consent-ok:hover{background:var(--gold-2,#E4CD9C);border-color:var(--gold-2,#E4CD9C)}
@media (prefers-reduced-motion:reduce){.vx-consent{transition:none}}

/* ==========================================================================
   Lab — interactive showcases (assets/js/lab.js). Brand palette only: ink, bone, gold.
   ========================================================================== */

@keyframes labBlink { 50% { opacity: .35; } }
@keyframes labFade { from { opacity: 0; transform: translate3d(0, 4px, 0); } }

/* ---------- Capabilities bento ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(clamp(17rem, 24vw, 21rem), auto); gap: clamp(12px, 1.2vw, 18px); }
.cap { position: relative; isolation: isolate; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r); background: linear-gradient(180deg, rgba(242,238,230,.03), rgba(242,238,230,0) 60%), var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .6s var(--ease); }
.cap::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .6s var(--ease);
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), rgba(228,205,156,.5), rgba(201,169,110,.18) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; padding: 1px; }
.cap:hover::after { opacity: 1; }
.cap::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease); background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), rgba(201,169,110,.08), transparent 60%); }
.cap:hover::before { opacity: 1; }
.cap--platforms { grid-column: span 4; grid-row: span 2; min-height: clamp(30rem, 44vw, 40rem); }
.cap--brand, .cap--ai { grid-column: span 2; }
.cap--motion, .cap--cta { grid-column: span 3; }
.cap-in { position: relative; z-index: 1; display: grid; gap: .8rem; padding: clamp(1.4rem, 2.2vw, 2.1rem); max-width: 34rem; }
.cap-n { font: 500 .72rem/1 var(--f-ui); letter-spacing: var(--ls-cap); color: var(--acc); font-variant-numeric: tabular-nums; }
.cap-t { font: 400 clamp(1.7rem, 2.5vw, 2.5rem)/1.04 var(--f-display); letter-spacing: -.012em; }
.cap--platforms .cap-t { font-size: clamp(2.2rem, 4vw, 3.9rem); line-height: .98; }
.cap-t em, .cap-t i { color: var(--gold); }
:lang(ar) .cap-t { font-weight: 300; line-height: 1.35; font-size: clamp(1.5rem, 2.1vw, 2.1rem); }
:lang(ar) .cap--platforms .cap-t { font-size: clamp(1.9rem, 3.2vw, 3.1rem); line-height: 1.3; }
.cap-b { color: var(--fg-2); font-size: .98rem; line-height: 1.6; max-width: 38ch; }
.cap-tags { font: 500 .7rem/1.5 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-m); }
:lang(ar) .cap-tags { letter-spacing: 0; text-transform: none; font-size: .82rem; }
.cap-foot { position: relative; z-index: 1; margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 0 clamp(1.4rem, 2.2vw, 2.1rem) clamp(1.3rem, 2vw, 1.9rem); }
.cap-foot .tlink { margin-inline-start: auto; font-size: .92rem; }

/* 01 · live field */
.cap-field { position: absolute; inset: 0; z-index: 0; }
.cap-field::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 55% at 62% 68%, rgba(201,169,110,.16), transparent 70%); }
.cap-field::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink-2) 0%, rgba(17,17,19,.55) 30%, transparent 52%, transparent 78%, var(--ink-2) 100%); pointer-events: none; }
.cap-field canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s var(--ease); touch-action: pan-y; }
.cap-field canvas.is-live { opacity: 1; }
.cap-hint { display: inline-flex; align-items: center; gap: .6rem; font: 500 .7rem/1 var(--f-ui); letter-spacing: var(--ls-cap); text-transform: uppercase; color: var(--gold-2); }
:lang(ar) .cap-hint { text-transform: none; font-size: .82rem; }
.cap-hint i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(201,169,110,.5); animation: labBlink 2.4s ease-in-out infinite; }
.cap-hint-t { display: none; }
@media (hover: none) { .cap-hint-f { display: none; } .cap-hint-t { display: inline; } }

/* 02 · monogram grid */
.cap-mono { position: absolute; inset-block-start: clamp(1.2rem, 2vw, 1.9rem); inset-inline-end: clamp(1.2rem, 2vw, 1.9rem); width: clamp(64px, 6.5vw, 96px); z-index: 1; }
.cap--brand .cap-in { padding-inline-end: clamp(6rem, 10vw, 8.5rem); }
.cap-mono rect { stroke-width: .8; transition: fill .6s var(--ease), stroke .6s var(--ease), rx .6s var(--ease); transition-delay: var(--k); }
.cap-mono .on { fill: rgba(242,238,230,.07); stroke: rgba(242,238,230,.26); }
.cap-mono .off { fill: transparent; stroke: rgba(242,238,230,.08); }
.cap--brand:hover .cap-mono .on, .cap--brand.is-in .cap-mono .on { fill: var(--gold); stroke: var(--gold-2); }
.cap--brand:hover .cap-mono .off { stroke: rgba(201,169,110,.35); }
.cap--brand:hover .cap-mono .on { fill: var(--gold-2); }

/* 03 · creative director stream */
.cap-ai { position: relative; z-index: 1; display: grid; gap: .7rem; padding: 0 clamp(1.4rem, 2.2vw, 2.1rem) 1rem; }
.cap-ai-l { display: flex; align-items: center; gap: .55rem; font: 500 .66rem/1 var(--f-ui); letter-spacing: var(--ls-cap); text-transform: uppercase; color: var(--fg-m); }
:lang(ar) .cap-ai-l { text-transform: none; font-size: .78rem; }
.cap-ai-l i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.cap-ai-box { min-height: 2.9rem; padding: .7rem .9rem; border-radius: 10px; background: rgba(10,10,11,.7); box-shadow: inset 0 0 0 1px var(--line); font-size: .92rem; color: var(--bone); line-height: 1.5; }
.cap-ai-gt { color: var(--gold); }
.cap-caret { display: inline-block; width: 7px; height: 1em; margin-inline-start: 2px; vertical-align: -.15em; background: var(--gold); animation: capCaret 1s steps(1) infinite; }
@keyframes capCaret { 50% { opacity: 0; } }
.cap-ai-out { display: flex; flex-wrap: wrap; gap: .4rem; }
.cap-ai-out li { padding: .32rem .6rem; border-radius: 6px; font-size: .76rem; color: var(--bone-2); background: rgba(201,169,110,.08); box-shadow: inset 0 0 0 1px rgba(201,169,110,.28); opacity: 0; transform: translate3d(0, 6px, 0) scale(.96); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.cap-ai-out li.is-on { opacity: 1; transform: none; }

/* 04 · motion timeline */
.cap-tl { position: relative; z-index: 1; display: grid; gap: .5rem; padding: 0 clamp(1.4rem, 2.2vw, 2.1rem) 1rem; }
.cap-tl-l { font: 500 .66rem/1 var(--f-ui); letter-spacing: var(--ls-cap); text-transform: uppercase; color: var(--fg-m); margin-bottom: .2rem; }
:lang(ar) .cap-tl-l { text-transform: none; font-size: .78rem; }
.cap-tr { display: grid; grid-template-columns: 5.2rem minmax(0, 1fr); align-items: center; gap: .9rem; font-size: .76rem; color: var(--fg-m); }
.cap-lane { position: relative; height: 1.25rem; overflow: hidden; border-radius: 4px; background: rgba(10,10,11,.6); box-shadow: inset 0 0 0 1px var(--line); }
.cap-sweep { position: absolute; inset: 0; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, rgba(142,116,68,0), rgba(142,116,68,.3) 60%, rgba(228,205,156,.55)); }
[dir="rtl"] .cap-sweep { transform-origin: 100% 50%; background: linear-gradient(270deg, rgba(142,116,68,0), rgba(142,116,68,.3) 60%, rgba(228,205,156,.55)); }
.cap--motion.is-in .cap-sweep { animation: capSweep 3.8s linear infinite; animation-delay: calc(var(--r) * .12s); }
@keyframes capSweep { 0% { transform: scaleX(0); } 88% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.cap-lane b { position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; transform: rotate(45deg); border: 1px solid var(--gold); background: var(--ink-2); transition: background .4s var(--ease); }
.cap--motion:hover .cap-lane b { background: var(--gold); }

/* CTA */
.cap--cta { background: linear-gradient(150deg, rgba(201,169,110,.16), rgba(201,169,110,.03) 55%), var(--ink-2); }
.cap-cta { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; height: 100%; padding: clamp(1.4rem, 2.2vw, 2.1rem); }
.cap-cta-k { font: 500 .72rem/1 var(--f-ui); letter-spacing: var(--ls-cap); text-transform: uppercase; color: var(--fg-m); }
:lang(ar) .cap-cta-k { text-transform: none; font-size: .86rem; }
.cap-cta-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.cap-cta-t { font: 400 clamp(2.3rem, 3.8vw, 3.8rem)/.98 var(--f-display); letter-spacing: -.015em; }
:lang(ar) .cap-cta-t { font-weight: 300; line-height: 1.3; font-size: clamp(2rem, 3.2vw, 3.2rem); }
.cap-cta-ic { flex: none; display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border-radius: 50%; background: var(--bone); color: var(--ink); transition: transform .6s var(--ease), background .4s; }
.cap-cta-ic svg { transform: scaleX(var(--dirx)); }
.cap-cta:hover .cap-cta-ic { background: var(--gold-2); transform: rotate(calc(45deg * var(--dirx))); }
.cap-cta-s { color: var(--fg-m); font-size: .92rem; transition: color .4s; }
.cap-cta:hover .cap-cta-s { color: var(--fg-2); }
.cap-cta:focus-visible { outline: 2px solid var(--gold); outline-offset: -4px; border-radius: var(--r); }

@media (max-width: 1180px) {
  .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cap--platforms { grid-column: 1 / -1; grid-row: auto; min-height: 30rem; }
  .cap--brand, .cap--ai, .cap--motion, .cap--cta { grid-column: span 1; }
}
@media (max-width: 760px) {
  .cap-grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .cap--platforms, .cap--brand, .cap--ai, .cap--motion, .cap--cta { grid-column: 1 / -1; }
  .cap--platforms { min-height: 28rem; }
  .cap { min-height: 17rem; }
}

/* ---------- Markets globe ---------- */
.mk-map--globe { min-height: 0; }
.mk-globe { position: absolute; inset: -6% -4%; pointer-events: none; }
.mk-globe canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.6s var(--ease); pointer-events: auto; touch-action: pan-y; cursor: grab; }
.mk-globe canvas.is-live { opacity: 1; }
.mk-globe.is-drag canvas { cursor: grabbing; }
.mk-map.is-globe { aspect-ratio: 1 / 1; }
.mk-map.is-globe > .mk-svg { opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility 0s .8s; position: absolute; inset: 0; }
.gl-tip { position: absolute; top: 0; left: 0; z-index: 2; display: grid; gap: .15rem; min-width: 10.5rem; margin: 0; padding: .7rem .85rem; border-radius: 10px; pointer-events: none;
  background: rgba(17,17,19,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(201,169,110,.3), 0 20px 40px -20px rgba(0,0,0,.8);
  translate: 14px -50%; transition: opacity .25s; font-size: .78rem; color: var(--fg-m); }
[dir="rtl"] .gl-tip { translate: calc(-100% - 14px) -50%; }
.gl-tip b { font: 400 1.15rem/1.2 var(--f-display); color: var(--bone); }
:lang(ar) .gl-tip b { font-weight: 300; }
.gl-tip[hidden] { display: none; }
.gl-lbl { position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none; translate: 10px -130%; font: 500 .64rem/1 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--bone-2); opacity: .75; white-space: nowrap; transition: opacity .3s; text-shadow: 0 1px 8px rgba(0,0,0,.9); }
.gl-lbl.is-major { color: var(--gold-2); opacity: 1; }
:lang(ar) .gl-lbl { text-transform: none; letter-spacing: 0; font-size: .74rem; }
.gl-lbl:not(.is-major) { display: none; }                    /* the Gulf hubs sit close together: only the three headline hubs are labelled */
.gl-lbl--SA { translate: calc(-100% - 12px) -20%; }
.gl-lbl--QA { translate: -50% -230%; }
.gl-lbl--AE { translate: 12px -10%; }
.gl-time { color: var(--bone-2); font-variant-numeric: tabular-nums; }
.gl-state { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); }
.gl-state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--muted-2); }
.gl-state.is-on { color: var(--gold-2); }
.gl-state.is-on::before { background: var(--gold); box-shadow: 0 0 0 3px rgba(201,169,110,.2); }
.gl-legend { position: absolute; inset-inline: 0; bottom: 4%; display: flex; justify-content: center; gap: 1.4rem; margin: 0; font: 500 .66rem/1 var(--f-ui); letter-spacing: var(--ls-cap); text-transform: uppercase; color: var(--muted-2); opacity: 0; transition: opacity 1s var(--ease) .6s; }
:lang(ar) .gl-legend { text-transform: none; font-size: .78rem; }
.mk-map.is-globe .gl-legend { opacity: 1; }
.gl-live[hidden] { display: none; }
.gl-live { display: inline-flex; align-items: center; gap: .45rem; color: var(--gold-2); }
.gl-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: labBlink 2.4s ease-in-out infinite; }
@media (hover: none) { .gl-drag { display: none; } }
@media (max-width: 1024px) { .mk-map--globe { position: relative; } .mk-globe { inset: 0; } .mk-map.is-globe { margin-bottom: 2rem; } }

/* ---------- Liquid case-study cards ---------- */
[data-liquid] .wcard { position: relative; }
.liq-gl { position: absolute; z-index: 2; max-width: none; max-height: none; pointer-events: none; opacity: 0; transition: opacity .25s linear; }
.liq-gl.is-on { opacity: 1; }
.wcard.is-gl .wcard-zoom, .wcard.is-gl .wcard-a:hover .wcard-zoom { transform: none; transition: none; }
.wcard.is-dissolving .wcard-zoom, .wcard.is-dissolving .badge { opacity: 0; transition: opacity .12s linear; }
.wcard.is-dissolving .wcard-media { background: var(--ink); transition: background .3s linear; }
.wcard.is-dissolving .wcard-meta { opacity: 0 !important; transform: translate3d(calc(1.2rem * var(--dirx)), 0, 0) !important; transition: opacity .5s var(--ease), transform .7s var(--ease) !important; }

/* ---------- Creative Director: generative palette preview ---------- */
.cd-sense { display: inline-flex; align-items: center; gap: .45rem; color: var(--gold-2); animation: labFade .5s var(--ease); }
.cd-sense i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: labBlink 2s ease-in-out infinite; }
.cd-sense[hidden] { display: none; }
.cd-palbox { display: grid; gap: .9rem; }
.cd-pv { justify-self: start; display: inline-flex; align-items: center; gap: .55rem; padding: .5rem .85rem; border-radius: 30px; border: 0; background: rgba(242,238,230,.05); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--bone-2); font: 500 .78rem/1 var(--f-ui); cursor: pointer; transition: background .3s, color .3s, box-shadow .3s; }
.cd-pv i { width: 10px; height: 10px; border-radius: 50%; background: conic-gradient(var(--gold), var(--gold-2), var(--gold-3), var(--gold)); }
.cd-pv[aria-pressed="true"] i { background: conic-gradient(#35D29A, #7FA8FF, #E07A3F, #35D29A); }
.cd-pv:hover { color: var(--bone); box-shadow: inset 0 0 0 1px var(--gold); }

/* ---------- EN ⇄ AR orbit (cross-document view transition; only on the language switch) ---------- */
@keyframes vxOrbitOutL { to { transform: perspective(1600px) rotateY(-88deg); opacity: .15; } }
@keyframes vxOrbitInL { from { transform: perspective(1600px) rotateY(88deg); opacity: .15; } 70% { transform: perspective(1600px) rotateY(-3deg); opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes vxOrbitOutR { to { transform: perspective(1600px) rotateY(88deg); opacity: .15; } }
@keyframes vxOrbitInR { from { transform: perspective(1600px) rotateY(-88deg); opacity: .15; } 70% { transform: perspective(1600px) rotateY(3deg); opacity: 1; } to { transform: none; opacity: 1; } }
html:active-view-transition-type(vx-lang) .cd-title, html:active-view-transition-type(vx-lang) .cd-composer, html:active-view-transition-type(vx-lang) .cd-card { view-transition-name: none; }
html:active-view-transition-type(vx-lang)::view-transition { background: var(--ink); }
html:active-view-transition-type(vx-lang)::view-transition-group(root) { animation-duration: 1.1s; }
/* The pivot sits 45vw behind the screen, so the page swings round an orbit instead of flipping flat. */
html:active-view-transition-type(vx-lang)::view-transition-old(root), html:active-view-transition-type(vx-lang)::view-transition-new(root) { transform-origin: 50% 50% -45vw; mix-blend-mode: normal; backface-visibility: hidden; }
html:active-view-transition-type(vx-to-rtl)::view-transition-old(root) { animation: vxOrbitOutL .5s cubic-bezier(.7, 0, .3, 1) both; }
html:active-view-transition-type(vx-to-rtl)::view-transition-new(root) { animation: vxOrbitInL .62s cubic-bezier(.22, 1, .36, 1) .45s both; }
html:active-view-transition-type(vx-to-ltr)::view-transition-old(root) { animation: vxOrbitOutR .5s cubic-bezier(.7, 0, .3, 1) both; }
html:active-view-transition-type(vx-to-ltr)::view-transition-new(root) { animation: vxOrbitInR .62s cubic-bezier(.22, 1, .36, 1) .45s both; }

@media (prefers-reduced-motion: reduce) {
  .cap-sweep, .cap--motion.is-in .cap-sweep { animation: none; transform: scaleX(1); }
  .cap-caret, .cap-hint i, .gl-live i, .cd-sense i { animation: none; }
  .cap-mono rect { transition: none; }
}

/* ---------- Portfolio bento: Work page (filters + grid) and home "Selected work" ---------- */
.wtile { display: flex; flex-direction: column; min-width: 0; }
.wtile .wcard-a { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.wtile .wcard-media, .work-list .wtile .wcard-media { flex: 1 0 auto; aspect-ratio: 16 / 10; }
.wtile .wcard-media::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(242,238,230,.07); transition: box-shadow .6s var(--ease); }
.wtile .wcard-a:hover .wcard-media::after, .wtile .wcard-a:focus-visible .wcard-media::after { box-shadow: inset 0 0 0 1px rgba(228,205,156,.6); }
.wtile .wcard-meta { padding-top: 1.05rem; gap: .35rem; }
.wtile .wcard-title { font-size: clamp(1.3rem, 1.55vw, 1.65rem); line-height: 1.12; }
:lang(ar) .wtile .wcard-title { font-size: clamp(1.15rem, 1.35vw, 1.4rem); line-height: 1.45; }
.wtile .wcard-sub { font-size: .88rem; line-height: 1.45; }
.wtile .wcard-cat { gap: .3rem .75rem; }
.wtile .wcard-cat span + span::before { margin-inline-end: .75rem; }
.wtile .wcard-cat .wt-concept { display: inline-flex; align-items: center; gap: .4rem; color: var(--bone-2); }
.wtile .wcard-cat .wt-concept::before { content: "" !important; width: 5px; height: 5px; margin: 0 !important; border-radius: 50%; background: var(--gold); }
.wt-n { color: var(--gold-2); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.wt-n:empty::before { content: counter(wt, decimal-leading-zero); }
.wt-n + span::before { content: "/" !important; color: var(--muted-2) !important; }
.wt-go { position: absolute; z-index: 3; top: .9rem; inset-inline-end: .9rem; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--bone); color: var(--ink); opacity: 0; transform: scale(.6) rotate(-45deg); transition: opacity .45s var(--ease), transform .7s var(--ease); }
[dir="rtl"] .wt-go svg { transform: scaleX(-1); }
.wtile .wcard-a:hover .wt-go, .wtile .wcard-a:focus-visible .wt-go { opacity: 1; transform: none; }
.wcard.is-dissolving .wt-go, .wcard.is-dissolving .wplay-bar { opacity: 0 !important; }
.js .wtile[data-reveal] .wcard-media { clip-path: inset(12% 0 0 0 round 8px); }
.js .wtile[data-reveal].is-in .wcard-media { clip-path: inset(0 0 0 0 round 8px); }

/* hover play-through: the case study's images, with story-style progress */
.wplay { position: absolute; inset: 0; z-index: 1; }
.wplay img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .55s var(--ease); }
.wplay img.is-on { opacity: 1; }
.wplay-bar { position: absolute; z-index: 3; inset: auto 1rem 1rem; display: flex; gap: 4px; opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .6s var(--ease); pointer-events: none; }
.wplay-bar i { position: relative; flex: 1; height: 2px; border-radius: 2px; overflow: hidden; background: rgba(242,238,230,.28); box-shadow: 0 0 6px rgba(0,0,0,.35); }
.wplay-bar i::after { content: ""; position: absolute; inset: 0; background: var(--bone); transform: scaleX(0); transform-origin: left center; }
[dir="rtl"] .wplay-bar i::after { transform-origin: right center; }
.wplay-bar i.is-done::after { transform: scaleX(1); }
.wplay-bar i.is-on::after { transform: scaleX(1); transition: transform var(--dur, 1.15s) linear; }
.wcard.is-playing .wplay-bar { opacity: 1; transform: none; }
.wcard.is-playing .wcard-zoom { transform: scale(1.03); }

/* Work page: sticky filter bar */
.wfbar { position: sticky; top: calc(var(--hdr-h) + 12px); z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-bottom: clamp(2.5rem, 4.5vw, 4.5rem); padding: .5rem; border-radius: 20px; background: rgba(17,17,19,.74); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); box-shadow: inset 0 0 0 1px var(--line), 0 24px 48px -28px rgba(0,0,0,.9); transition: top .7s var(--ease); }
body:has(.hdr.is-hidden) .wfbar { top: 12px; }
.wf-cats { display: flex; gap: .15rem; flex: 1 1 26rem; min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(to var(--fade-end, right), #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to var(--fade-end, right), #000 calc(100% - 28px), transparent); }
[dir="rtl"] .wf-cats { --fade-end: left; }
.wf-cats::-webkit-scrollbar { display: none; }
.wfbar.is-stacked .wf-cats { flex-basis: 100%; }
.wfbar.is-stacked .wf-count { margin-inline-start: auto; }
.wfbar .fchip { flex: none; gap: .4rem; min-height: 38px; padding: .45rem .8rem; box-shadow: none; white-space: nowrap; font-size: .84rem; }
.wfbar .fchip:hover { background: rgba(242,238,230,.06); box-shadow: none; }
.wfbar .fchip[aria-pressed="true"] { background: var(--bone); }
.wfbar .fchip:disabled { opacity: .35; pointer-events: none; }
.wfbar .fchip--sector { color: var(--gold-2); box-shadow: inset 0 0 0 1px rgba(201,169,110,.35); margin-inline-end: .35rem; }
.wfbar .fchip--sector[aria-pressed="true"] { background: var(--gold); color: var(--ink); box-shadow: none; }
.wf-rg { display: inline-flex; flex: none; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); }
.wf-rg button { display: inline-flex; align-items: center; gap: .4rem; min-height: 34px; padding: .35rem .8rem; border-radius: 999px; color: var(--bone-2); font: 500 .8rem/1 var(--f-ui); white-space: nowrap; transition: background-color .35s var(--ease), color .35s; }
:lang(ar) .wf-rg button { font-size: .9rem; }
.wf-rg button sup { font-size: .66rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.wf-rg button:hover { color: var(--bone); }
.wf-rg button[aria-pressed="true"] { background: var(--gold); color: var(--ink); }
.wf-rg button[aria-pressed="true"] sup { color: var(--ink-4); }
.wf-count { flex: none; display: inline-flex; align-items: baseline; gap: .3rem; padding-inline: .4rem .8rem; color: var(--muted); font-size: .8rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wf-lbl { display: none; }
@media (min-width: 1500px) { .wf-lbl { display: inline; } }
.wf-count b { color: var(--bone); font-size: 1.05rem; font-weight: 500; min-width: 2ch; text-align: end; }
.wf-count > span:first-of-type { color: var(--muted-2); }
.wf-empty { padding: 4rem 0; color: var(--fg-m); text-align: center; }
.wf-empty .tlink { margin-inline-start: .6rem; }

/* Work page: bento grid — every group of six = one large tile + two, then the mirror; numbers follow the filter */
.wbento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-flow: row dense; gap: clamp(2.4rem, 3.6vw, 3.8rem) var(--gap); counter-reset: wt; }
.wbento > .wtile { grid-column: span 4; counter-increment: wt; }
.wbento > .wtile.is-hidden { counter-increment: none; }
.wbento > .wtile:nth-child(6n+1 of :not(.is-hidden)) { grid-column: 1 / span 9; grid-row: span 2; }
.wbento > .wtile:nth-child(6n+2 of :not(.is-hidden)), .wbento > .wtile:nth-child(6n+3 of :not(.is-hidden)) { grid-column: 10 / span 3; }
.wbento > .wtile:nth-child(6n+4 of :not(.is-hidden)) { grid-column: 4 / span 9; grid-row: span 2; }
.wbento > .wtile:nth-child(6n+5 of :not(.is-hidden)), .wbento > .wtile:nth-child(6n+6 of :not(.is-hidden)) { grid-column: 1 / span 3; }
.wbento > .wtile:is(:nth-child(6n+1 of :not(.is-hidden)), :nth-child(6n+4 of :not(.is-hidden))) .wcard-media { aspect-ratio: auto; min-height: 0; }
.wbento > .wtile:is(:nth-child(6n+1 of :not(.is-hidden)), :nth-child(6n+4 of :not(.is-hidden))) .wcard-title { font-size: clamp(1.7rem, 2.5vw, 2.6rem); }
:lang(ar) .wbento > .wtile:is(:nth-child(6n+1 of :not(.is-hidden)), :nth-child(6n+4 of :not(.is-hidden))) .wcard-title { font-size: clamp(1.45rem, 2vw, 2.1rem); }
/* an unfinished last group: a lone large tile runs full width; a large tile with one partner shares a single row */
.wbento > .wtile:is(:nth-child(6n+1 of :not(.is-hidden)), :nth-child(6n+4 of :not(.is-hidden))):nth-last-child(1 of :not(.is-hidden)) { grid-column: 1 / -1; grid-row: auto; }
.wbento > .wtile:is(:nth-child(6n+1 of :not(.is-hidden)), :nth-child(6n+4 of :not(.is-hidden))):nth-last-child(1 of :not(.is-hidden)) .wcard-media { aspect-ratio: 21 / 9; }
.wbento > .wtile:nth-child(6n+1 of :not(.is-hidden)):nth-last-child(2 of :not(.is-hidden)) { grid-column: 1 / span 6; grid-row: auto; }
.wbento > .wtile:nth-child(6n+2 of :not(.is-hidden)):nth-last-child(1 of :not(.is-hidden)) { grid-column: 7 / span 6; }
.wbento > .wtile:nth-child(6n+4 of :not(.is-hidden)):nth-last-child(2 of :not(.is-hidden)) { grid-column: 7 / span 6; grid-row: auto; }
.wbento > .wtile:nth-child(6n+5 of :not(.is-hidden)):nth-last-child(1 of :not(.is-hidden)) { grid-column: 1 / span 6; }
.wbento > .wtile:is(:nth-child(6n+1 of :not(.is-hidden)), :nth-child(6n+4 of :not(.is-hidden))):nth-last-child(2 of :not(.is-hidden)) .wcard-media { aspect-ratio: 16 / 10; }
.wbento > .wtile.is-filtering { animation-duration: .8s; }

/* Home: Selected work — one large tile and four */
.hbento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(2rem, 3vw, 3rem) var(--gap); counter-reset: wt; }
.hbento > .wtile { counter-increment: wt; grid-column: span 6; }
.hbento > .hb-0 { grid-column: 1 / span 9; grid-row: span 2; }
.hbento > .hb-1, .hbento > .hb-2 { grid-column: 10 / span 3; }
.hbento > .hb-0 .wcard-media { aspect-ratio: auto; min-height: 0; }
.hbento > .hb-0 .wcard-title, .hbento > .hb-3 .wcard-title, .hbento > .hb-4 .wcard-title { font-size: clamp(1.7rem, 2.4vw, 2.5rem); }
:lang(ar) .hbento > .hb-0 .wcard-title, :lang(ar) .hbento > .hb-3 .wcard-title, :lang(ar) .hbento > .hb-4 .wcard-title { font-size: clamp(1.45rem, 2vw, 2.1rem); }
.hbento[data-n="1"] > .hb-0 { grid-column: 1 / -1; grid-row: auto; }
.hbento[data-n="1"] > .hb-0 .wcard-media, .hbento[data-n="4"] > .hb-3 .wcard-media { aspect-ratio: 21 / 9; }
.hbento[data-n="2"] > .wtile { grid-column: span 6; grid-row: auto; }
.hbento[data-n="2"] > .hb-0 .wcard-media { aspect-ratio: 16 / 10; }
.hbento[data-n="4"] > .hb-3 { grid-column: 1 / -1; }
.hb-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: clamp(2.5rem, 4vw, 4rem); padding-top: 1.4rem; border-top: 1px solid var(--line); }
.hb-count { display: inline-flex; align-items: baseline; gap: .35rem; color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.hb-count b { color: var(--bone); font-weight: 500; font-size: 1.1rem; }
.hb-count > span:first-of-type { color: var(--muted-2); }

@media (max-width: 1180px) {
  .wbento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wbento > .wtile, .wbento > .wtile:nth-child(n of :not(.is-hidden)) { grid-column: auto / span 1; grid-row: auto; }
  .wbento > .wtile:is(:nth-child(6n+1 of :not(.is-hidden)), :nth-child(6n+4 of :not(.is-hidden))) { grid-column: 1 / -1; }
  .wbento > .wtile:is(:nth-child(6n+1 of :not(.is-hidden)), :nth-child(6n+4 of :not(.is-hidden))) .wcard-media { aspect-ratio: 16 / 9; }
  .wbento > .wtile:is(:nth-child(6n+2 of :not(.is-hidden)), :nth-child(6n+5 of :not(.is-hidden))):nth-last-child(1 of :not(.is-hidden)) { grid-column: 1 / -1; }
  .wbento > .wtile:is(:nth-child(6n+2 of :not(.is-hidden)), :nth-child(6n+5 of :not(.is-hidden))):nth-last-child(1 of :not(.is-hidden)) .wcard-media { aspect-ratio: 16 / 9; }
  .hbento > .wtile, .hbento > .hb-1, .hbento > .hb-2 { grid-column: span 6; }
  .hbento > .hb-0 { grid-column: 1 / -1; grid-row: auto; }
  .hbento > .hb-0 .wcard-media { aspect-ratio: 16 / 9; }
  .hbento[data-n="4"] > .hb-3 { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .wfbar { top: calc(var(--hdr-h) + 6px); padding: .4rem; border-radius: 16px; gap: .4rem .6rem; }
  .wf-cats { flex-basis: 100%; }
  .wf-rg button { padding-inline: .7rem; }
  .wf-count { margin-inline-start: auto; }
  .wbento, .hbento { grid-template-columns: 1fr; row-gap: 2.6rem; }
  .wbento > .wtile, .wbento > .wtile:nth-child(n of :not(.is-hidden)), .hbento > .wtile, .hbento > .hb-0, .hbento > .wtile:nth-child(n) { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .wbento > .wtile .wcard-media, .wbento > .wtile:nth-child(n of :not(.is-hidden)) .wcard-media, .hbento > .wtile .wcard-media, .hbento > .hb-0 .wcard-media { aspect-ratio: 16 / 10 !important; }
  .hb-foot { flex-wrap: wrap; }
}

/* ---------- How payment works (services, pricing) ---------- */
.pay-sec { padding-top: 0; }
.pay { padding: clamp(2rem, 4.5vw, 4.5rem); border-radius: 24px; background: linear-gradient(120deg, #15130f, #0f0e0d 60%); box-shadow: inset 0 0 0 1px rgba(201,169,110,.18); }
.pay-h { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.pay-h h2 { font-size: var(--fs-h3); max-width: 22ch; }
.pay-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.pay-i { position: relative; display: grid; align-content: start; gap: .7rem; padding-top: 1.4rem; border-top: 1px solid var(--line-2); }
.pay-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(201,169,110,.1); color: var(--gold-2); }
.pay-n { position: absolute; top: 1.4rem; inset-inline-end: 0; color: var(--muted-2); font-size: .78rem; font-variant-numeric: tabular-nums; }
.pay-i h3 { font: 500 1.06rem/1.35 var(--f-ui); color: var(--bone); }
:lang(ar) .pay-i h3 { font-size: 1.1rem; line-height: 1.6; }
.pay-i p { color: var(--fg-m); font-size: .92rem; line-height: 1.6; }
:lang(ar) .pay-i p { line-height: 1.85; }
.pay-i .tlink { font-size: .88rem; }
.pay-methods { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.4rem; border-top: 1px solid var(--line); }
.pay-lock { display: inline-flex; align-items: center; gap: .45rem; margin-inline-end: .6rem; color: var(--gold-2); font-size: .85rem; }
.pay-chip { display: inline-flex; align-items: center; min-height: 30px; padding: .3rem .8rem; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--bone-2); font: 600 .74rem/1 var(--f-ui); letter-spacing: .04em; }
:lang(ar) .pay-chip { letter-spacing: 0; font-size: .82rem; }
.ftr-office { margin-top: .4rem; font-size: .85rem; line-height: 1.55; }
.ftr-reg { color: var(--muted-2); }
@media (max-width: 1024px) { .pay-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; } }
@media (max-width: 600px) { .pay-grid { grid-template-columns: 1fr; } }

/* ---------- Motion: teaser loops, showreel, case-study story ---------- */
.lvid { position: absolute; inset: 0; z-index: 1; }
.lvid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s var(--ease); }
.lvid.is-playing video, .lvid.is-paused video { opacity: 1; }
.lvid-btn { position: absolute; z-index: 3; bottom: 14px; inset-inline-end: 14px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(10,10,11,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(242,238,230,.2); color: var(--bone); opacity: 0; transition: opacity .4s var(--ease); }
.lvid.is-playing .lvid-btn, .lvid.is-paused .lvid-btn, .lvid-btn:focus-visible { opacity: .9; }
.lvid-btn i { width: 10px; height: 12px; border-inline: 3px solid currentColor; }
.lvid.is-paused .lvid-btn i { width: 0; height: 0; border: 0; border-block: 6px solid transparent; border-inline-start: 10px solid currentColor; margin-inline-start: 3px; }
[dir="rtl"] .lvid.is-paused .lvid-btn i { transform: scaleX(-1); }
.wcard-zoom .lvid-btn { bottom: 1rem; }
.wcard-hv { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s var(--ease); pointer-events: none; }
.wcard.is-vid .wcard-hv { opacity: 1; }
.wcard.is-vid .wcard-zoom { transform: scale(1.02); }

/* showreel */
.reel { position: relative; padding-block: clamp(1rem, 3vw, 2.5rem) clamp(3rem, 6vw, 6rem); }
.reel-frame { --p: 0; position: relative; overflow: hidden; margin-inline: auto; width: calc(100% - (1 - var(--p)) * 2 * var(--gutter) * 2.2); max-width: 100%; aspect-ratio: 16 / 9; max-height: 92vh; border-radius: calc((1 - var(--p)) * 28px + 4px); background: var(--ink-3) center / cover; box-shadow: 0 40px 120px -50px rgba(0,0,0,.9); }
.reel-frame .lvid video { opacity: 1; }
.reel-frame::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(10,10,11,.35), transparent 28%, transparent 48%, rgba(10,10,11,.82)), radial-gradient(60% 55% at 12% 100%, rgba(10,10,11,.6), transparent 70%); }
.reel-ui { position: absolute; inset: auto 0 0; z-index: 3; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.2rem 2rem; padding: clamp(1.4rem, 3.5vw, 3.2rem); }
.reel-ui .eyebrow { flex-basis: 100%; }
.reel-t { font-size: clamp(2.2rem, 5.5vw, 5.6rem); line-height: .95; max-width: 12ch; }
.reel-play { display: inline-flex; align-items: center; gap: .9rem; min-height: 56px; padding: .5rem 1.4rem .5rem .5rem; border-radius: 999px; background: rgba(242,238,230,.1); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(242,238,230,.25); color: var(--bone); font-weight: 500; transition: background-color .4s var(--ease), color .4s; }
[dir="rtl"] .reel-play { padding: .5rem .5rem .5rem 1.4rem; }
.reel-play:hover { background: var(--bone); color: var(--ink); }
.reel-play-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--ink); }
.reel .lvid-btn { bottom: auto; top: 16px; }
.reel-dlg { width: min(94vw, 1600px); max-width: none; padding: 0; border: 0; border-radius: 14px; background: #000; overflow: hidden; }
.reel-dlg::backdrop { background: rgba(5,5,6,.9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.reel-dlg video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.reel-close { position: absolute; z-index: 2; top: 12px; inset-inline-end: 12px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(10,10,11,.6); color: var(--bone); }

/* case study: cover loop, brief, lead image, frame-by-frame strip, numbers */
.pj-cover--vid .lvid video { object-fit: cover; }
.pj-brief { padding-block: clamp(4rem, 9vw, 9rem) clamp(2.5rem, 5vw, 5rem); border-bottom: 1px solid var(--line); }
.pj-brief-t { margin-top: 1.6rem; font-size: clamp(2.2rem, 5vw, 5.2rem); line-height: 1.04; letter-spacing: -.02em; max-width: 20ch; }
:lang(ar) .pj-brief-t { line-height: 1.35; font-size: clamp(1.9rem, 4vw, 4.2rem); }
.pj-brief-more { margin-top: clamp(1.6rem, 3vw, 2.6rem); margin-inline-start: auto; max-width: 52ch; color: var(--bone-2); font-size: var(--fs-lead); line-height: 1.6; }
.pj-approach { border-bottom: 0; }
.pj-work { padding-top: clamp(1rem, 3vw, 3rem); }
.pj-lead-img { margin: 0 clamp(8px, 1vw, 16px); overflow: hidden; border-radius: clamp(12px, 2vw, 24px); background: var(--ink-3); }
.pj-lead-img img { display: block; width: 100%; height: auto; transform: translate3d(0, calc(var(--py, 0px) * .4), 0) scale(1.04); }
.pj-strip { position: relative; margin-top: clamp(4rem, 8vw, 8rem); }
.pj-strip-pin { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.4rem, 2.5vw, 2.4rem); }
.pj-strip.is-pinned .pj-strip-pin { position: sticky; top: 0; height: 100vh; height: 100svh; align-content: center; overflow: hidden; }
.pj-strip-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.pj-strip-count { color: var(--muted); font-size: .9rem; }
.pj-strip-count b { color: var(--bone); font-size: 1.4rem; font-weight: 400; }
.pj-strip-track { display: flex; gap: clamp(14px, 2vw, 28px); padding-inline: var(--gutter); will-change: transform; }
.pj-strip-track::after { content: ""; flex: 0 0 calc(var(--gutter) - clamp(14px, 2vw, 28px)); }   /* keeps the end gutter inside scrollWidth */
.pj-strip:not(.is-pinned) .pj-strip-track { flex-direction: column; }
.pj-strip:not(.is-pinned) .pj-strip-track::after { display: none; }
.pj-frame { position: relative; flex: none; width: min(72vw, 118vh); margin: 0; overflow: hidden; border-radius: clamp(10px, 1.4vw, 18px); background: var(--ink-3); }
.pj-strip:not(.is-pinned) .pj-frame { width: 100%; }
.pj-frame img { display: block; width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.pj-frame a:hover img { transform: scale(1.025); }
.pj-frame figcaption { position: absolute; top: 14px; inset-inline-start: 14px; padding: .3rem .6rem; border-radius: 6px; background: rgba(10,10,11,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--bone-2); font-size: .75rem; }
.pj-strip-bar { height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.pj-strip:not(.is-pinned) .pj-strip-bar { display: none; }
.pj-strip-bar i { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
[dir="rtl"] .pj-strip-bar i { transform-origin: right; }
.pj-numbers { margin-top: clamp(5rem, 10vw, 10rem); padding-block: clamp(4rem, 8vw, 8rem); background: linear-gradient(180deg, #0f0e0c, #141210); border-block: 1px solid rgba(201,169,110,.16); }
.pj-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(2rem, 4vw, 3.5rem); }
.pj-num { padding-top: 1.4rem; border-top: 1px solid rgba(201,169,110,.3); }
.pj-num b { display: block; font: 400 clamp(3.6rem, 8.5vw, 8.5rem)/1 var(--f-display); letter-spacing: -.03em; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.pj-num p { margin-top: 1rem; color: var(--bone-2); max-width: 26ch; }
.pj-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0; list-style: none; }
.pj-tags li { padding: .45rem .95rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--bone-2); font-size: .85rem; }
.next-pj-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s var(--ease); }
.next-pj-bg video.is-on { opacity: 1; }
@media (max-width: 760px) {
  .reel-frame { width: 100%; border-radius: 0; aspect-ratio: 4 / 5; }
  .reel-t { font-size: clamp(2rem, 9vw, 3rem); }
  .pj-nums { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .pj-lead-img img { transform: none; } }

/* ==========================================================================
   Free e-book landing page (/free-book)
   ========================================================================== */
.eb-preview { position: fixed; z-index: 70; inset-inline: 50% auto; top: calc(var(--hdr-h) + 10px); transform: translateX(calc(-50% * var(--dirx))); max-width: calc(100% - 32px); padding: .55rem 1.1rem; border-radius: 999px; background: rgba(201,169,110,.16); box-shadow: inset 0 0 0 1px rgba(201,169,110,.5); color: var(--gold-2); font-size: .8rem; backdrop-filter: blur(10px); text-align: center; }

/* ---------- hero ---------- */
.eb-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--hdr-h) + clamp(1rem, 3vw, 3rem)) 0 clamp(4rem, 8vw, 8rem); }
.eb-hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.eb-glow { position: absolute; width: min(1100px, 95vw); aspect-ratio: 1; inset-inline-end: -14%; top: -16%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--bk, #C9A96E) 30%, transparent), transparent 72%); opacity: .6; }
.eb-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 88px 88px; -webkit-mask-image: radial-gradient(60% 70% at 75% 35%, #000, transparent 75%); mask-image: radial-gradient(60% 70% at 75% 35%, #000, transparent 75%); opacity: .45; }
[dir="rtl"] .eb-grid { -webkit-mask-image: radial-gradient(60% 70% at 25% 35%, #000, transparent 75%); mask-image: radial-gradient(60% 70% at 25% 35%, #000, transparent 75%); }
.eb-hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.eb-copy { display: grid; justify-items: start; gap: 0; max-width: 720px; }
.eb-copy .crumb { margin-bottom: clamp(1.1rem, 2vw, 1.8rem); }
.eb-title { font-size: clamp(2.9rem, 5.6vw, 5.8rem); margin: .32em 0 .26em; max-width: 12ch; }
:lang(ar) .eb-title { font-size: clamp(2.5rem, 5.4vw, 5.4rem); font-weight: 300; max-width: 14ch; }
.eb-sub { font-size: var(--fs-lead); line-height: 1.5; color: var(--fg-2); max-width: 46ch; }
:lang(ar) .eb-sub { line-height: 1.85; }
.eb-keys { list-style: none; padding: 0; margin: 1.3rem 0 1.7rem; display: grid; gap: .55rem; }
.eb-keys li { display: flex; gap: .8rem; align-items: baseline; color: var(--bone); font-size: 1rem; }
.eb-keys i { font-style: normal; color: var(--gold); font-size: .72em; transform: translateY(-.1em); }

/* ---------- sign-up card ---------- */
.eb-card { position: relative; width: 100%; max-width: 600px; padding: clamp(1.4rem, 2.6vw, 2.3rem); border-radius: 22px; background: linear-gradient(180deg, rgba(242,238,230,.065), rgba(242,238,230,.02)); box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 120px rgba(0,0,0,.45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.eb-card::before { content: ""; position: absolute; inset: -1px 10% auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(228,205,156,.85), transparent); }
.eb-card-head { margin-bottom: 1.3rem; }
.eb-card-t { font: 400 clamp(1.55rem, 2.2vw, 2rem)/1.15 var(--f-display); color: var(--bone); }
:lang(ar) .eb-card-t { font-weight: 300; line-height: 1.5; }
.eb-card-l { margin-top: .35rem; color: var(--muted); font-size: .95rem; }
.eb-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: 1rem 1.4rem; }
.eb-fields .f-err:empty { min-height: 0; }
.eb-check { position: relative; display: flex; gap: .75rem; align-items: flex-start; margin: 1.3rem 0 1.4rem; font-size: .88rem; line-height: 1.5; color: var(--fg-2); cursor: pointer; }
:lang(ar) .eb-check { font-size: .95rem; line-height: 1.75; }
.eb-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.eb-box { position: relative; flex: none; width: 19px; height: 19px; margin-top: .12em; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .3s var(--ease), box-shadow .3s; }
.eb-box::after { content: ""; position: absolute; left: 5px; top: 5px; width: 9px; height: 5px; border: solid var(--ink); border-width: 0 0 2px 2px; transform: rotate(-45deg) scale(.4); opacity: 0; transition: transform .35s var(--ease), opacity .2s; }
.eb-check:hover .eb-box { box-shadow: inset 0 0 0 1px var(--bone-2); }
.eb-check input:checked + .eb-box { background: var(--gold); box-shadow: none; }
.eb-check input:checked + .eb-box::after { opacity: 1; transform: rotate(-45deg) scale(1); }
.eb-check input:focus-visible + .eb-box { outline: 1.5px solid var(--gold); outline-offset: 3px; }
.eb-submit { width: 100%; justify-content: space-between; }
.eb-alert { margin-top: .9rem; padding: .8rem 1rem; border-radius: 12px; background: rgba(217,119,107,.1); box-shadow: inset 0 0 0 1px rgba(217,119,107,.35); color: #f0b3aa; font-size: .88rem; }
.eb-alert:empty { display: none; }
.eb-fine { display: flex; gap: .55rem; align-items: flex-start; margin-top: 1rem; font-size: .78rem; line-height: 1.55; color: var(--muted); }
:lang(ar) .eb-fine { font-size: .86rem; line-height: 1.8; }
.eb-fine svg { flex: none; margin-top: .2em; color: var(--gold); }
.eb-fine a { color: var(--bone-2); text-decoration: underline; text-underline-offset: 3px; }

/* success */
.eb-done { display: grid; justify-items: start; gap: 1.1rem; outline: none; }
.eb-done[hidden] { display: none; }
.eb-done > * { animation: fadeup .8s var(--ease) both; }
.eb-done > :nth-child(2) { animation-delay: .08s; } .eb-done > :nth-child(3) { animation-delay: .16s; } .eb-done > :nth-child(4) { animation-delay: .24s; } .eb-done > :nth-child(5) { animation-delay: .32s; }
.eb-done-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--gold); color: var(--ink); box-shadow: 0 0 0 8px rgba(201,169,110,.12); }
.eb-done-t { font-size: clamp(2.4rem, 4vw, 3.4rem); }
.eb-done-l { color: var(--fg-2); max-width: 44ch; overflow-wrap: anywhere; }
.eb-dls { display: grid; gap: .7rem; width: 100%; }
.eb-dls .btn { width: 100%; justify-content: space-between; }
.eb-done-next { display: grid; gap: .6rem; width: 100%; margin-top: .4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.eb-again { font-size: .8rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.eb-again:hover { color: var(--bone-2); }

/* ---------- the 3D book ---------- */
.eb-visual { position: relative; display: grid; place-items: center; min-height: clamp(460px, 46vw, 700px); }
.eb-chips { position: absolute; inset-inline: 0; bottom: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.eb-chips li { padding: .45rem .95rem; border-radius: 999px; background: rgba(10,10,11,.62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line-2); font-size: .78rem; letter-spacing: .05em; color: var(--fg-2); }
.eb-chips li b { font-weight: 600; color: var(--bone); }
.eb-chips .is-free { background: var(--gold); color: var(--ink); box-shadow: none; font-weight: 600; }

.bk3d { --w: 300px; --t: 30px; --rot: -26deg; position: relative; width: var(--w); aspect-ratio: 2 / 3; perspective: 1900px; flex: none; }
[dir="rtl"] .bk3d { --rot: 26deg; }
.bk3d::before { content: ""; position: absolute; inset: -22% -30%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--bk, #C9A96E) 26%, transparent), transparent); }
.bk3d--hero { --w: clamp(230px, 25vw, 380px); --t: clamp(22px, 2.2vw, 34px); animation: bkfloat 7s ease-in-out infinite; }
.bk3d--md { --w: clamp(190px, 18vw, 280px); --t: 26px; }
.bk3d--sm { --w: 150px; --t: 16px; }
.bk3d--sm::before { display: none; }
@keyframes bkfloat { 50% { translate: 0 -12px; } }
.bk3d-in { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(calc(var(--rot) + var(--ry, 0deg))) rotateX(calc(5deg + var(--rx, 0deg))); transition: transform 1.1s var(--ease); }
.bk3d-front, .bk3d-back { position: absolute; inset: 0; border-radius: 3px 9px 9px 3px; }
[dir="rtl"] .bk3d-front, [dir="rtl"] .bk3d-back { border-radius: 9px 3px 3px 9px; }
.bk3d-front { overflow: hidden; transform: translateZ(calc(var(--t) / 2)); background: #0D0D0F; box-shadow: inset 0 0 0 1px rgba(242,238,230,.07); container-type: inline-size; }
.bk3d-front img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bk3d-back { transform: translateZ(calc(var(--t) / -2)); background: #070708; box-shadow: 30px 50px 90px rgba(0,0,0,.65); }
.bk3d-pages { position: absolute; top: 1.4%; bottom: 1.4%; right: 0; width: var(--t); transform: translateX(calc(var(--t) / 2 - 3px)) rotateY(90deg); background: repeating-linear-gradient(90deg, #EFE9DC 0 1px, #D6CDBB 1px 2px, #E7E0D1 2px 3px); box-shadow: inset 0 0 12px rgba(0,0,0,.25); }
[dir="rtl"] .bk3d-pages { right: auto; left: 0; transform: translateX(calc(var(--t) / -2 + 3px)) rotateY(-90deg); }
.bk3d-hinge { position: absolute; inset-block: 0; left: 4.5%; width: 7px; background: linear-gradient(90deg, rgba(0,0,0,.4), rgba(255,255,255,.09) 55%, transparent); pointer-events: none; }
[dir="rtl"] .bk3d-hinge { left: auto; right: 4.5%; transform: scaleX(-1); }
.bk3d-shine { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 32%, rgba(255,255,255,0) 68%, rgba(255,255,255,.05)); mix-blend-mode: screen; }
.bk3d-shadow { position: absolute; left: 4%; right: -10%; bottom: -8%; height: 12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.7), transparent); filter: blur(6px); }

/* typographic cover */
.bk-type { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 10% 10% 9%; color: var(--bone); background: radial-gradient(120% 75% at 85% 8%, color-mix(in srgb, var(--bk, #C9A96E) 24%, transparent), transparent 62%), linear-gradient(165deg, #1A1A1D, #0A0A0B 62%); }
.bk-imprint { position: relative; z-index: 1; font: 400 4.4cqw/1 var(--f-word); letter-spacing: .48em; color: var(--bone-2); white-space: nowrap; align-self: flex-start; }
.bk-imprint span { margin-inline-start: .2em; letter-spacing: 0; color: var(--bk, #C9A96E); }
.bk-art { position: absolute; width: 118%; inset-inline-end: -46%; top: 14%; color: var(--bk, #C9A96E); opacity: .22; }
.bk-title { position: relative; margin-top: auto; font: 400 13.5cqw/.98 var(--f-display); letter-spacing: -.01em; color: var(--bone); text-wrap: balance; }
:lang(ar) .bk-title { font-weight: 300; font-size: 12cqw; line-height: 1.3; letter-spacing: 0; }
.bk-title em { font-style: italic; color: var(--bk, #C9A96E); }
:lang(ar) .bk-title em { font-style: normal; }
.bk-rule { display: block; width: 24%; height: 1px; margin: 6cqw 0 4.5cqw; background: var(--bk, #C9A96E); }
.bk-sub { position: relative; margin-bottom: 7cqw; font: 400 3.7cqw/1.45 var(--f-ui); color: var(--bone-2); max-width: 92%; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.bk-author { position: relative; font: 500 3.1cqw/1 var(--f-ui); letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
:lang(ar) .bk-author { letter-spacing: 0; font-size: 3.6cqw; }
.bk3d--sm .bk-sub { display: none; }

/* ---------- facts strip ---------- */
.eb-facts { border-block: 1px solid var(--line); background: rgba(242,238,230,.015); }
.eb-facts-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 0; }
.eb-facts-in > div { display: grid; gap: .45rem; padding: clamp(1.3rem, 2.4vw, 2.1rem) clamp(1rem, 2vw, 2rem); border-inline-start: 1px solid var(--line); }
.eb-facts-in > div:first-child { border-inline-start: 0; padding-inline-start: 0; }
.eb-facts dt { font: 500 .72rem/1 var(--f-ui); letter-spacing: var(--ls-cap); text-transform: uppercase; color: var(--muted); }
:lang(ar) .eb-facts dt { font-size: .85rem; text-transform: none; }
.eb-facts dd { margin: 0; font: 400 clamp(1.4rem, 2.2vw, 2rem)/1.15 var(--f-display); color: var(--bone); }
.eb-facts dd.is-gold { color: var(--gold); font-style: italic; }
:lang(ar) .eb-facts dd { font-weight: 300; font-style: normal; }

/* ---------- why / learn ---------- */
.eb-intro-in { display: grid; gap: clamp(1.4rem, 2.6vw, 2.4rem); max-width: 1240px; }
.eb-intro-t { font: 400 clamp(1.7rem, 3.4vw, 3.3rem)/1.22 var(--f-display); letter-spacing: -.01em; color: var(--bone); }
:lang(ar) .eb-intro-t { font-weight: 300; line-height: 1.6; letter-spacing: 0; }
.eb-learn-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: 22px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.eb-lc { position: relative; display: flex; flex-direction: column; gap: .9rem; min-height: 260px; padding: clamp(1.6rem, 2.8vw, 2.7rem); background: var(--ink); transition: background-color .6s var(--ease); }
.eb-lc:hover { background: var(--ink-2); }
.eb-lc::after { content: ""; position: absolute; inset-inline: clamp(1.6rem, 2.8vw, 2.7rem); bottom: 0; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); transform: scaleX(0); transform-origin: var(--o, left); transition: transform .8s var(--ease); }
[dir="rtl"] .eb-lc::after { --o: right; background: linear-gradient(-90deg, var(--gold), transparent); }
.eb-lc:hover::after { transform: none; }
.eb-lc-n { font: 500 .75rem var(--f-ui); letter-spacing: .1em; color: var(--gold); }
.eb-lc-t { font: 400 clamp(1.45rem, 2vw, 1.95rem)/1.12 var(--f-display); color: var(--bone); margin-top: auto; }
:lang(ar) .eb-lc-t { font-weight: 400; line-height: 1.45; }
.eb-lc p { color: var(--fg-m); font-size: .95rem; line-height: 1.6; }

/* ---------- contents ---------- */
.eb-toc-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.eb-toc-side { grid-column: 1 / span 5; align-self: start; position: sticky; top: calc(var(--hdr-h) + 2.5rem); display: grid; gap: 1.2rem; justify-items: start; }
.eb-toc-side .sh { margin-bottom: 0; }
.eb-toc-n { color: var(--muted); font-size: .9rem; }
.eb-toc-book { margin-top: 1.5rem; }
.eb-toc-list { grid-column: 7 / -1; list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); counter-reset: none; }
.eb-part { display: grid; gap: .25rem; padding: 2.2rem 0 .9rem; font: 500 .75rem/1.3 var(--f-ui); letter-spacing: var(--ls-cap); text-transform: uppercase; color: var(--gold); border-bottom: 1px solid var(--line); }
:lang(ar) .eb-part { font-size: .95rem; text-transform: none; }
.eb-part:first-child { padding-top: 1.4rem; }
.eb-part small { font: 400 .88rem/1.5 var(--f-ui); letter-spacing: 0; text-transform: none; color: var(--muted); }
.eb-ch { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.eb-ch-n { font: 500 .75rem/2.2 var(--f-ui); color: var(--muted-2); font-variant-numeric: tabular-nums; }
.eb-ch-t { display: grid; gap: .2rem; font: 400 clamp(1.15rem, 1.6vw, 1.45rem)/1.3 var(--f-display); color: var(--bone); }
:lang(ar) .eb-ch-t { font-weight: 300; line-height: 1.6; }
.eb-ch-t small { font: 400 .9rem/1.5 var(--f-ui); color: var(--fg-m); }

/* ---------- audience ---------- */
.eb-for-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--gap); }
.eb-for-list li { display: flex; gap: 1rem; align-items: flex-start; padding: clamp(1.4rem, 2.2vw, 2rem); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); background: linear-gradient(180deg, rgba(242,238,230,.035), transparent); }
.eb-for-ic { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: rgba(201,169,110,.14); color: var(--gold); }
.eb-for-list b { display: block; font: 400 clamp(1.25rem, 1.7vw, 1.55rem)/1.25 var(--f-display); color: var(--bone); margin-bottom: .35rem; }
:lang(ar) .eb-for-list b { font-weight: 400; line-height: 1.5; }
.eb-for-list small { display: block; color: var(--fg-m); font-size: .95rem; line-height: 1.55; }

/* ---------- publisher ---------- */
.eb-pub-in { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(2rem, 6vw, 7rem); align-items: center; max-width: 1240px; }
.eb-pub-mark { width: clamp(84px, 11vw, 170px); fill: var(--bone); opacity: .92; }
.eb-pub-mark .g { fill: var(--gold); }
.eb-pub-in > div { display: grid; gap: 1.2rem; justify-items: start; }
.eb-pub-t { font-size: var(--fs-h2); }
.eb-pub-l { max-width: 52ch; color: var(--fg-2); font-size: var(--fs-lead); line-height: 1.55; }
:lang(ar) .eb-pub-l { line-height: 1.85; }
.eb-pub-links { display: flex; flex-wrap: wrap; gap: 1rem 2.2rem; }

/* ---------- final call to action ---------- */
.eb-final { position: relative; overflow: hidden; padding-block: clamp(5rem, 10vw, 10rem); border-block: 1px solid var(--line); background: radial-gradient(55% 90% at 22% 50%, color-mix(in srgb, var(--bk, #C9A96E) 15%, transparent), transparent 70%), var(--ink-2); }
[dir="rtl"] .eb-final { background: radial-gradient(55% 90% at 78% 50%, color-mix(in srgb, var(--bk, #C9A96E) 15%, transparent), transparent 70%), var(--ink-2); }
.eb-final-in { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(2.5rem, 7vw, 8rem); align-items: center; }
.eb-final-book { padding: 2rem 2.5rem 3rem; }
.eb-final-copy { display: grid; gap: 1.6rem; justify-items: start; }
.eb-final-t { font-size: var(--fs-h2); max-width: 14ch; }

/* ---------- more books ---------- */
.eb-more-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.eb-more-card { display: grid; gap: 1rem; justify-items: start; }
.eb-more-card .bk3d { margin: 1rem 0 1.4rem 1rem; transition: translate .8s var(--ease); }
.eb-more-card:hover .bk3d { translate: 0 -8px; }
.eb-more-t { font: 400 1.5rem/1.2 var(--f-display); color: var(--bone); }
.eb-more-t em { color: var(--gold); }
.eb-more-card small { color: var(--fg-m); }

/* ---------- mobile sticky bar ---------- */
.eb-sticky { display: none; }
@media (max-width: 900px) {
  .eb-sticky { position: fixed; z-index: 54; inset-inline: 12px 88px; bottom: max(14px, env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .45rem .45rem .45rem 1.1rem; border-radius: 999px; background: rgba(17,17,19,.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--line-2), 0 18px 50px rgba(0,0,0,.55); transform: translateY(160%); transition: transform .7s var(--ease); }
  [dir="rtl"] .eb-sticky { padding: .45rem 1.1rem .45rem .45rem; }
  .eb-sticky.is-on { transform: none; }
  .eb-sticky-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .85rem; color: var(--bone-2); }
  .eb-sticky-t em { font-style: normal; color: var(--gold); margin-inline-start: .3rem; }
  .eb-sticky-b { flex: none; padding: .7rem 1.1rem; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 600; font-size: .85rem; }
}

/* ---------- footer link ---------- */
.ftr-book { display: inline-flex; align-items: center; gap: .9rem; margin-top: 1.6rem; padding: .7rem 1.1rem .7rem .7rem; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); color: var(--bone); transition: box-shadow .4s, background-color .4s; }
[dir="rtl"] .ftr-book { padding: .7rem .7rem .7rem 1.1rem; }
.ftr-book:hover { box-shadow: inset 0 0 0 1px var(--gold-3); background: rgba(201,169,110,.05); }
.ftr-book-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(201,169,110,.14); color: var(--gold); flex: none; }
.ftr-book > span:nth-child(2) { display: grid; gap: .1rem; font: 400 1.05rem/1.25 var(--f-display); }
.ftr-book small { font: 500 .68rem/1.2 var(--f-ui); letter-spacing: var(--ls-cap); text-transform: uppercase; color: var(--muted); }
:lang(ar) .ftr-book small { font-size: .8rem; text-transform: none; }
.ftr-book > svg { color: var(--gold); transform: scaleX(var(--dirx)); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .eb-learn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eb-toc-side { grid-column: 1 / span 5; }
}
@media (max-width: 960px) {
  .eb-hero-in { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .eb-visual { order: -1; min-height: 0; padding: .5rem 0 4.2rem; }
  .bk3d--hero { --w: clamp(160px, 40vw, 260px); }
  .eb-copy { max-width: none; }
  .eb-card { max-width: none; }
  .eb-toc-in { grid-template-columns: minmax(0, 1fr); }
  .eb-toc-side, .eb-toc-list { grid-column: 1 / -1; position: static; }
  .eb-toc-book { display: none; }
  .eb-final-in { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .eb-final-copy { justify-items: center; }
  .eb-final-book { order: -1; padding: 0 0 1rem; }
  .eb-pub-in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .eb-fields { grid-template-columns: minmax(0, 1fr); }
  .eb-learn-grid { grid-template-columns: minmax(0, 1fr); }
  .eb-lc { min-height: 0; }
  .eb-lc-t { margin-top: .4rem; }
  .eb-facts-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eb-facts-in > div { padding-inline: 0 1rem; border-inline-start: 0; border-top: 1px solid var(--line); }
  .eb-facts-in > div:nth-child(-n+2) { border-top: 0; }
  .eb-submit .btn-roll { font-size: .92rem; }
}
@media (prefers-reduced-motion: reduce) {
  .bk3d--hero { animation: none; }
  .bk3d-in { transition: none; }
}
.eb-card { scroll-margin-top: calc(var(--hdr-h) + 24px); }
@media (max-width: 480px) { .eb-chips { gap: .35rem; } .eb-chips li { padding: .38rem .7rem; font-size: .7rem; letter-spacing: .02em; } }
