/* ============================================================
   BIN MES'HAR & CO — "Counsel of Consequence"
   A couture editorial system: ink navy, struck gold, ivory paper.
   Brand: Navy #1D2C4D · Gold #D4AF37 / #FFBF00 · Grey #434343
   ============================================================ */

:root {
  /* --- ink & paper --- */
  --ink:        #070B14;
  --navy-950:   #0A0F1A;
  --navy-900:   #0D1523;
  --navy-800:   #111C31;
  --navy-700:   #16243F;
  --navy:       #1D2C4D;   /* brand navy */
  --navy-500:   #2A3D66;

  --paper:      #FBF9F5;
  --ivory:      #F5F1E8;
  --ivory-2:    #EDE7DA;
  --ivory-3:    #E3DBC9;

  /* --- metal --- */
  --gold:       #C9A227;
  --gold-deep:  #8A6B18;
  --gold-lift:  #E8C766;
  --amber:      #FFBF00;
  --accent:     var(--gold);
  --accent-soft: rgba(201,162,39,.13);

  --grey-d:     #434343;
  --muted:      #5C6274;
  --muted-2:    #878C99;

  --line:       rgba(29,44,77,.13);
  --line-2:     rgba(29,44,77,.08);
  --line-dark:  rgba(255,255,255,.11);
  --line-dark-2:rgba(255,255,255,.06);

  /* metallic sweep used on rules, numerals, the mark */
  --metal: linear-gradient(105deg,
      #8A6B18 0%, #C9A227 18%, #F2DE9B 33%, #E8C766 42%,
      #C9A227 58%, #8A6B18 74%, #D4AF37 88%, #A67F1C 100%);

  /* --- type --- */
  --f-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --f-body:    "Inter", system-ui, -apple-system, sans-serif;
  --f-mono:    "Inter", system-ui, sans-serif;

  /* --- metrics --- */
  --maxw: 1440px;
  --gut: clamp(20px, 4.6vw, 72px);
  --rail: clamp(0px, 3.2vw, 62px);     /* side rail width, 0 on small screens */
  --radius: 0px;
  --radius-lg: 0px;

  --shadow-sm: 0 1px 2px rgba(10,15,26,.05);
  --shadow-md: 0 30px 70px -40px rgba(10,15,26,.45);
  --shadow-lg: 0 60px 120px -50px rgba(10,15,26,.6);

  --ease:     cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-io:  cubic-bezier(.76,0,.24,1);

  --nav-h: 96px;
}

/* Arabic runs on Tajawal throughout — display weights for headings,
   light weights for body, so the page stays one voice. */
[dir="rtl"] {
  --f-display: "Tajawal", system-ui, sans-serif;
  --f-body: "Tajawal", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%; scroll-behavior: smooth;
  /* no grey flash on tap, no rubber-band chaining into the page behind */
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}
body {
  font-family: var(--f-body);
  font-weight: 400;
  background: var(--paper);
  color: var(--navy-900);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; }
::selection { background: var(--gold); color: var(--navy-950); }
:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 3px; }

/* Latin fragments inside Arabic copy keep the sans AND their own direction,
   so phone numbers and e-mails never get re-ordered by the bidi algorithm. */
.lat {
  font-family: "Inter", system-ui, sans-serif; font-feature-settings: "tnum" 1;
  direction: ltr; unicode-bidi: isolate;
}
.num { font-variant-numeric: tabular-nums lining-nums; font-family: var(--f-display); direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .num { font-family: "Cormorant Garamond", serif; }
/* every large numeral display keeps its authored order ("+25", not "25+") */
.hero-stat .v, .metric .v, .about-seal .n, .testi-count, .pr-num, .svc-num {
  direction: ltr; unicode-bidi: isolate;
}
[dir="rtl"] .hero-stat .v { text-align: right; }

/* ============================================================
   ATMOSPHERE — grain, cursor, scroll meter
   ============================================================ */
.grain {
  position: fixed; inset: -120px; z-index: 8000; pointer-events: none; opacity: .28;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
  animation: grainShift 7s steps(6) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0,0); }
  20%  { transform: translate(-14px, 8px); }
  40%  { transform: translate(9px, -12px); }
  60%  { transform: translate(-7px, -6px); }
  80%  { transform: translate(12px, 10px); }
  100% { transform: translate(0,0); }
}

.cursor, .cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 9500; pointer-events: none;
  border-radius: 50%; will-change: transform;
}
.cursor {
  width: 36px; height: 36px; margin: -18px 0 0 -18px;
  border: 1px solid rgba(201,162,39,.65);
  transition: width .35s var(--ease-out), height .35s var(--ease-out),
              margin .35s var(--ease-out), background .35s, border-color .35s, opacity .3s;
}
.cursor-dot { width: 4px; height: 4px; margin: -2px 0 0 -2px; background: var(--gold); transition: opacity .3s; }
.cursor.hot { width: 68px; height: 68px; margin: -34px 0 0 -34px; background: rgba(201,162,39,.1); border-color: rgba(201,162,39,.9); }
.cursor.hide, .cursor-dot.hide { opacity: 0; }
@media (hover: none), (max-width: 900px) { .cursor, .cursor-dot { display: none; } }

.meter { position: fixed; inset-block-start: 0; inset-inline: 0; height: 2px; z-index: 300; pointer-events: none; }
.meter i {
  display: block; height: 100%; width: 100%; background: var(--metal);
  transform: scaleX(0); transform-origin: var(--to, left); will-change: transform;
}
[dir="rtl"] .meter i { transform-origin: right; }

/* ============================================================
   LAYOUT PRIMITIVES
   ============================================================ */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: calc(var(--gut) + var(--rail)); }
.wrap-tight { max-width: 1120px; margin-inline: auto; padding-inline: calc(var(--gut) + var(--rail)); }
.section { padding-block: clamp(88px, 11vw, 176px); position: relative; }
.section-sm { padding-block: clamp(56px, 7vw, 104px); }

.rule { height: 1px; background: var(--line); border: 0; }
.rule-gold { height: 1px; background: var(--metal); border: 0; }
.rule-dark { height: 1px; background: var(--line-dark); border: 0; }

/* index label — "01 / مجالات الممارسة" */
.index {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--f-body); font-size: .7rem; font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase; color: var(--gold-deep);
}
[dir="rtl"] .index { letter-spacing: .1em; font-size: .78rem; }
.index .n { font-family: "Inter", sans-serif; font-variant-numeric: tabular-nums; letter-spacing: .18em; opacity: .75; }
.index .bar { width: clamp(28px, 4vw, 56px); height: 1px; background: currentColor; opacity: .45; }
.on-dark .index, .index.light { color: var(--gold-lift); }

/* display headings */
.display {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(2.6rem, 5.6vw, 5.2rem);
  line-height: 1.02; letter-spacing: -.02em; color: var(--navy);
  text-wrap: balance;
}
[dir="rtl"] .display { font-weight: 700; line-height: 1.34; letter-spacing: -.005em;
  font-size: clamp(1.85rem, 4vw, 3.5rem); }
.display em { font-style: italic; color: var(--gold-deep); }
[dir="rtl"] .display em { font-style: normal; color: var(--gold-deep); }
.display-sm { font-size: clamp(2rem, 3.4vw, 3.1rem); }
.display-xs { font-size: clamp(1.5rem, 2.2vw, 2.05rem); line-height: 1.14; }
[dir="rtl"] .display-xs { line-height: 1.42; }

.lead {
  font-size: clamp(1rem, 1.15vw, 1.12rem); line-height: 1.85;
  color: var(--muted); max-width: 58ch; font-weight: 300;
}
[dir="rtl"] .lead { font-weight: 300; line-height: 1.95; }
.on-dark .lead, .lead.light { color: rgba(255,255,255,.62); }

.head { max-width: 940px; }
.head .display { margin-top: clamp(18px, 2.4vw, 30px); }
.head .lead { margin-top: 22px; }
.head-split {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; flex-wrap: wrap; max-width: none;
}

/* metallic text */
.metal-text {
  background: var(--metal); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

/* ============================================================
   BUTTONS & LINKS
   ============================================================ */
.btn {
  --bg: var(--navy); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  padding: 19px 34px; border-radius: var(--radius);
  font-family: var(--f-body); font-size: .78rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
  color: var(--fg); background: var(--bg); overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease-out), border-color .45s;
}
[dir="rtl"] .btn { letter-spacing: .04em; font-size: .88rem; font-weight: 500; padding: 18px 34px; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--metal);
  transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease-out);
}
.btn .arr { display: inline-flex; transition: transform .5s var(--ease-out); }
[dir="rtl"] .btn .arr { transform: scaleX(-1); }

.btn-gold { --bg: var(--gold); --fg: var(--navy-950); }
.btn-gold::before { background: var(--navy); }
.btn-outline {
  --bg: transparent; --fg: var(--navy);
  box-shadow: inset 0 0 0 1px rgba(29,44,77,.28);
}
.btn-light {
  --bg: transparent; --fg: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.26);
}
.btn-block { width: 100%; justify-content: center; }

/* understated text link with a gold rule that draws through */
.tlink {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-body); font-size: .74rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--navy);
  padding-block-end: 8px;
}
[dir="rtl"] .tlink { letter-spacing: .05em; font-size: .86rem; }
.tlink::after {
  content: ""; position: absolute; inset-block-end: 0; inset-inline: 0; height: 1px;
  background: currentColor; opacity: .28; transform-origin: var(--to, left);
  transition: transform .5s var(--ease-out), opacity .4s;
}
.tlink:hover::after { opacity: 1; background: var(--gold); }
.tlink .arr { transition: transform .5s var(--ease-out); }
[dir="rtl"] .tlink .arr { transform: scaleX(-1); }
.tlink:hover .arr { transform: translateX(5px); }
[dir="rtl"] .tlink:hover .arr { transform: scaleX(-1) translateX(5px); }
.on-dark .tlink, .tlink.light { color: rgba(255,255,255,.9); }

/* ============================================================
   DUOTONE IMAGERY — every photo is graded into the palette
   ============================================================ */
.duo { position: relative; overflow: hidden; background: var(--navy-900); isolation: isolate; }
.duo > image-slot, .duo > .duo-img {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1;
  filter: grayscale(1) contrast(1.06) brightness(.78);
  transition: transform 1.6s var(--ease-out), filter .8s ease;
}
.duo .duo-tint {
  position: absolute; inset: 0; z-index: 2; background: var(--navy); mix-blend-mode: color; pointer-events: none;
}
.duo .duo-warm {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: soft-light;
  background: radial-gradient(ellipse at 62% 22%, rgba(255,191,0,.85), rgba(201,162,39,.25) 42%, transparent 70%);
}
.duo .duo-vig {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(ellipse at 50% 45%, transparent 42%, rgba(7,11,20,.55) 100%);
}
.duo .duo-scrim { position: absolute; inset: 0; z-index: 3; pointer-events: none; }

/* Empty slots are a designed plate, never a hole: engraved monogram,
   hairline gold frame, and the drop affordance dialled right down. */
.duo-plate {
  position: absolute; inset: 0; z-index: 0; display: grid; place-items: center;
  background: linear-gradient(155deg, var(--navy-700) 0%, var(--navy-900) 52%, var(--navy-950) 100%);
}
.duo-plate-frame { position: absolute; inset: clamp(12px, 1.6vw, 20px); border: 1px solid rgba(201,162,39,.14); }

/* plaque variant — a logo shown whole, in its own colours, on light stock */
.duo-graphic { background: var(--paper); }
.duo-plate.light { background: linear-gradient(160deg, var(--paper), var(--ivory-2)); }
/* a cut-out logo needs no inner frame — the card edge already frames it, and a
   second hairline reads as a seam around the artwork */
.duo-graphic .duo-plate-frame { display: none; }
.duo-graphic > image-slot {
  inset: clamp(13px, 1.7vw, 24px); width: auto; height: auto;
  filter: none;                       /* never grade artwork */
}
/* already shot on-palette — leave the colour alone */
.duo-plain > image-slot, .duo-plain > .duo-img { filter: none; }
.duo-graphic:hover > image-slot { transform: none; }
.duo-graphic image-slot::part(ring) { border: 0; }
image-slot { color: rgba(255,255,255,.3); }
image-slot::part(frame) { background: transparent; }
image-slot::part(ring) { border: 1px solid rgba(201,162,39,.16); }

/* an editorial "plate": image inside a hairline frame with a gold corner */
.plate { position: relative; }
.plate::after {
  content: ""; position: absolute; inset-block: 22px; inset-inline: 22px;
  border: 1px solid rgba(255,255,255,.18); pointer-events: none; z-index: 4;
}

/* ============================================================
   NAV + SIDE RAILS
   ============================================================ */
.nav {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 250;
  padding-block: 26px; transition: background .55s var(--ease), padding .55s var(--ease),
    box-shadow .55s var(--ease), backdrop-filter .5s;
}
.nav.scrolled {
  padding-block: 13px; background: rgba(251,249,245,.82); backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}
.nav.on-dark.scrolled { background: rgba(10,15,26,.8); box-shadow: 0 1px 0 var(--line-dark); }
.nav-inner {
  max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut);
  display: flex; align-items: center; justify-content: space-between; gap: clamp(12px, 1.6vw, 26px);
}
.nav-links { display: flex; align-items: center; }
.nav-link {
  position: relative; padding: 10px clamp(9px, .95vw, 15px); font-size: .72rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--navy); white-space: nowrap;
  transition: color .35s;
}
[dir="rtl"] .nav-link { letter-spacing: .03em; font-size: .95rem; font-weight: 500; }
.nav-link::after {
  content: ""; position: absolute; inset-block-end: 4px; inset-inline: clamp(9px, .95vw, 15px); height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: var(--to, left);
  transition: transform .45s var(--ease-out);
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--gold-deep); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-cta { padding: 15px clamp(16px, 1.7vw, 26px); font-size: .68rem; letter-spacing: .14em; }
[dir="rtl"] .nav-cta { font-size: .84rem; letter-spacing: .03em; }
@media (max-width: 1180px) { .nav-cta { display: none; } }
.lang-btn {
  width: 44px; height: 44px; display: grid; place-items: center;
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--line); transition: .4s var(--ease-out);
}
.lang-btn:hover { background: var(--navy); color: var(--gold-lift); box-shadow: none; }

.nav.on-dark:not(.scrolled) .nav-link,
.nav.on-dark.scrolled .nav-link { color: rgba(255,255,255,.78); }
.nav.on-dark .nav-link.active { color: var(--gold-lift); }
.nav.on-dark .lang-btn { color: #fff; box-shadow: inset 0 0 0 1px var(--line-dark); }
.nav.on-dark .lang-btn:hover { background: var(--gold); color: var(--navy-950); }
.nav.on-dark .brand-name { color: #fff; }
.nav.on-dark .brand-sub { color: rgba(255,255,255,.5); }
.nav.on-dark .burger span, .nav.on-dark .burger span::before, .nav.on-dark .burger span::after { background: #fff; }
.nav.on-dark .burger { box-shadow: inset 0 0 0 1px var(--line-dark); }

.burger { display: none; width: 46px; height: 46px; place-items: center; box-shadow: inset 0 0 0 1px var(--line); }
.burger span { display: block; width: 18px; height: 1px; background: var(--navy); position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; inset-inline-start: 0; width: 18px; height: 1px; background: var(--navy); }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }

/* brand lockup */
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark { flex: none; }
.brand-text { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.brand-name { font-family: var(--f-display); font-size: 1.24rem; font-weight: 600; letter-spacing: .01em; color: var(--navy); }
[dir="rtl"] .brand-name { font-size: 1.12rem; font-weight: 700; }
.brand-sub { font-size: .56rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted-2);
  font-weight: 500; white-space: nowrap; }
[dir="rtl"] .brand-sub { letter-spacing: .06em; font-size: .68rem; }

/* fixed vertical rails (desktop) */
.rail {
  position: fixed; inset-block: 0; z-index: 200; width: var(--rail);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  pointer-events: none;
}
.rail.left { inset-inline-start: 0; }
.rail.right { inset-inline-end: 0; }
.rail .vtxt {
  writing-mode: vertical-rl; text-orientation: mixed;
  font-size: .62rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--muted-2); pointer-events: auto;
}
[dir="rtl"] .rail .vtxt { letter-spacing: .12em; font-size: .74rem; }
.rail .vline { width: 1px; flex: 0 0 clamp(50px, 12vh, 130px); background: var(--line); }
.rail a { pointer-events: auto; color: var(--muted-2); transition: color .35s, transform .35s; }
.rail a:hover { color: var(--gold-deep); transform: translateY(-2px); }
.rail.on-dark .vtxt, .rail.on-dark a { color: rgba(255,255,255,.42); }
.rail.on-dark .vline { background: var(--line-dark); }
.rail.on-dark a:hover { color: var(--gold-lift); }
@media (max-width: 1180px) { .rail { display: none; } }

/* drawer */
.drawer {
  position: fixed; inset: 0; z-index: 400; background: var(--navy-950); color: #fff;
  display: flex; flex-direction: column;
  padding: max(22px, env(safe-area-inset-top)) var(--gut) max(26px, env(safe-area-inset-bottom));
  clip-path: inset(0 0 100% 0); transition: clip-path .72s var(--ease-io);
  visibility: hidden;
}
.drawer.open { clip-path: inset(0 0 0 0); visibility: visible; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; flex: none; }
.drawer-close, .drawer-lang {
  width: 46px; height: 46px; display: grid; place-items: center; color: #fff;
  box-shadow: inset 0 0 0 1px var(--line-dark); transition: background .3s;
}
.drawer-lang { font-size: .74rem; font-weight: 600; letter-spacing: .08em; }
.drawer-close:active, .drawer-lang:active { background: rgba(255,255,255,.1); }

/* the body scrolls on its own so long menus never trap content off-screen */
.drawer-scroll {
  flex: 1; min-height: 0; display: flex; flex-direction: column;
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
}
.drawer-links { display: flex; flex-direction: column; margin-top: clamp(20px, 5vh, 52px); }
.drawer-links a {
  font-family: var(--f-display); font-size: clamp(1.8rem, 6.4vw, 2.7rem); font-weight: 400;
  padding: 15px 0; border-bottom: 1px solid var(--line-dark-2);
  display: flex; align-items: baseline; gap: 16px;
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), color .3s;
}
.drawer.open .drawer-links a {
  opacity: 1; transform: none;
  transition-delay: calc(.16s + var(--i) * .055s);
}
[dir="rtl"] .drawer-links a { font-weight: 700; font-size: clamp(1.5rem, 5.6vw, 2.2rem); }
.drawer-links a .n { font-family: "Inter", sans-serif; font-size: .62rem; letter-spacing: .2em; color: var(--gold); }
.drawer-links a.here { color: var(--gold-lift); }
.drawer-links a:active { color: var(--gold-lift); }
.drawer-foot { margin-top: auto; padding-top: 30px; display: grid; gap: 13px; }
.drawer-foot .em { color: rgba(255,255,255,.6); font-size: .95rem; padding-block: 3px; }

/* short phones: tighten so the consultation button stays above the fold */
@media (max-height: 730px) {
  .drawer-links { margin-top: 16px; }
  .drawer-links a { padding: 11px 0; font-size: clamp(1.45rem, 5.4vw, 1.9rem); }
  [dir="rtl"] .drawer-links a { font-size: clamp(1.3rem, 5vw, 1.8rem); }
  .drawer-foot { padding-top: 20px; gap: 9px; }
  .drawer-foot .em { font-size: .88rem; }
}

/* ============================================================
   PHONE ACTION BAR — call / book, always a thumb away
   ============================================================ */
.mobile-bar {
  position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 220;
  display: none; gap: 1px; background: var(--line-dark);
  padding-block-end: env(safe-area-inset-bottom);
  transform: translateY(105%); transition: transform .55s var(--ease-out);
  box-shadow: 0 -20px 50px -30px rgba(7,11,20,.9);
}
.mobile-bar.on { transform: none; }
.mobile-bar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 60px; padding: 8px 14px;
  font-size: .84rem; font-weight: 500; letter-spacing: .02em;
  transition: filter .25s;
}
.mobile-bar a:active { filter: brightness(.88); }
.mb-call { background: var(--navy-950); color: #fff; }
.mb-call svg { color: var(--gold); }
.mb-cta { background: var(--gold); color: var(--navy-950); font-weight: 600; }
[dir="rtl"] .mb-cta svg { transform: scaleX(-1); }
@media (max-width: 1040px) { .mobile-bar { display: flex; } }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--navy-950); }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media > image-slot, .hero-media > .duo-img { animation: kenburns 26s var(--ease) infinite alternate; }
@keyframes kenburns {
  from { transform: scale(1.04) translate3d(0,0,0); }
  to   { transform: scale(1.16) translate3d(-1.4%, -1.8%, 0); }
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(to top, rgba(7,11,20,.96) 0%, rgba(7,11,20,.55) 32%, rgba(7,11,20,.2) 58%, rgba(7,11,20,.72) 100%);
}
[dir="rtl"] .hero-scrim { background-image:
  linear-gradient(to top, rgba(7,11,20,.96) 0%, rgba(7,11,20,.5) 34%, rgba(7,11,20,.18) 60%, rgba(7,11,20,.72) 100%),
  linear-gradient(to left, rgba(7,11,20,.7), transparent 58%); }
[dir="ltr"] .hero-scrim { background-image:
  linear-gradient(to top, rgba(7,11,20,.96) 0%, rgba(7,11,20,.5) 34%, rgba(7,11,20,.18) 60%, rgba(7,11,20,.72) 100%),
  linear-gradient(to right, rgba(7,11,20,.7), transparent 58%); }

.hero-inner {
  position: relative; z-index: 5; width: 100%;
  padding-block: clamp(150px, 20vh, 240px) clamp(140px, 16vh, 190px);
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .68rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
[dir="rtl"] .hero-kicker { letter-spacing: .1em; font-size: .8rem; }
.hero-kicker .kdot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex: none;
  box-shadow: 0 0 0 0 rgba(201,162,39,.6); animation: kpulse 2.6s var(--ease) infinite; }
@keyframes kpulse {
  0%   { box-shadow: 0 0 0 0 rgba(201,162,39,.55); }
  70%  { box-shadow: 0 0 0 10px rgba(201,162,39,0); }
  100% { box-shadow: 0 0 0 0 rgba(201,162,39,0); }
}
.hero-title {
  font-family: var(--f-display); font-weight: 300; color: #fff;
  font-size: clamp(2.6rem, 6.1vw, 5.9rem); line-height: 1; letter-spacing: -.025em;
  margin-top: clamp(22px, 3vw, 38px); max-width: 18ch;
}
[dir="rtl"] .hero-title { font-weight: 800; line-height: 1.3; letter-spacing: -.01em; max-width: 20ch;
  font-size: clamp(1.95rem, 4.2vw, 3.7rem); }
.hero-title .gold { display: inline-block; background: var(--metal); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent; font-style: italic; }
[dir="rtl"] .hero-title .gold { font-style: normal; }
.hero-lead { margin-top: clamp(20px, 2.4vw, 30px); color: rgba(255,255,255,.66); max-width: 50ch; font-weight: 300;
  font-size: clamp(1rem, 1.15vw, 1.14rem); line-height: 1.9; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(30px, 4vw, 46px); }

.hero-split {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(36px, 5vw, 80px); align-items: center;
}

/* hero ticker rail across the bottom */
.hero-bar {
  position: absolute; inset-inline: 0; inset-block-end: 0; z-index: 6;
  border-top: 1px solid var(--line-dark);
  background: linear-gradient(to top, rgba(7,11,20,.88), rgba(7,11,20,.28));
  backdrop-filter: blur(10px);
}
.hero-bar-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-stat { padding: clamp(18px, 2.4vw, 30px) clamp(14px, 2vw, 30px); position: relative; }
.hero-stat + .hero-stat::before {
  content: ""; position: absolute; inset-block: 22%; inset-inline-start: 0; width: 1px; background: var(--line-dark);
}
.hero-stat .v {
  font-family: "Cormorant Garamond", serif; font-weight: 300; font-size: clamp(1.9rem, 3.1vw, 2.9rem);
  line-height: 1; letter-spacing: -.02em;
  background: var(--metal); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.hero-stat .l { margin-top: 9px; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.48); }
[dir="rtl"] .hero-stat .l { letter-spacing: .04em; font-size: .8rem; }

.scroll-cue {
  position: absolute; z-index: 6;
  inset-block-end: clamp(140px, 17vh, 195px); inset-inline-end: calc(var(--gut) + var(--rail));
  display: flex; align-items: center; gap: 12px;
  font-size: .6rem; letter-spacing: .28em; text-transform: uppercase; color: rgba(255,255,255,.4);
}
[dir="rtl"] .scroll-cue { letter-spacing: .08em; font-size: .72rem; }
.scroll-cue .track { width: 1px; height: 46px; background: rgba(255,255,255,.2); position: relative; overflow: hidden; }
.scroll-cue .track::after {
  content: ""; position: absolute; inset-inline: 0; height: 16px; background: var(--gold);
  animation: cueRun 2s var(--ease) infinite;
}
@keyframes cueRun { 0% { top: -18px; } 100% { top: 48px; } }

/* ============================================================
   TICKER / practice marquee
   ============================================================ */
.ticker { background: var(--navy-950); color: #fff; padding-block: 26px; overflow: hidden; border-block: 1px solid var(--line-dark); }
.ticker-track { display: flex; width: max-content; animation: tick 46s linear infinite; }
[dir="rtl"] .ticker-track { animation-direction: reverse; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: flex; align-items: center; gap: clamp(26px, 4vw, 54px); padding-inline-end: clamp(26px, 4vw, 54px);
  font-family: var(--f-display); font-size: clamp(1.2rem, 1.8vw, 1.75rem); font-weight: 400;
  color: rgba(255,255,255,.5); white-space: nowrap; letter-spacing: .01em;
}
[dir="rtl"] .ticker-item { font-weight: 500; font-size: clamp(1rem, 1.4vw, 1.32rem); }
.ticker-item .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); flex: none; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ============================================================
   PRACTICE — editorial list with cursor-following preview
   ============================================================ */
.practice { background: var(--paper); }
.pr-list { margin-top: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); position: relative; }
.pr-row {
  position: relative; display: grid; align-items: center; gap: clamp(14px, 2.4vw, 38px);
  grid-template-columns: 54px 34px minmax(0, 1.05fr) minmax(0, 1.15fr) 34px;
  padding-block: clamp(24px, 2.6vw, 36px); border-bottom: 1px solid var(--line);
  cursor: pointer; isolation: isolate; transition: color .5s var(--ease-out);
}
.pr-row::before {
  content: ""; position: absolute; inset-block: 0; inset-inline: calc(-1 * var(--gut)); z-index: -1;
  background: var(--navy-950); transform: scaleY(0); transform-origin: bottom;
  transition: transform .6s var(--ease-out);
}
.pr-num { font-family: "Inter", sans-serif; font-size: .7rem; letter-spacing: .22em; color: var(--muted-2); transition: color .5s; font-variant-numeric: tabular-nums; }
.pr-mark { color: var(--gold-deep); transition: color .5s, transform .5s var(--ease-out); }
.pr-name {
  font-family: var(--f-display); font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  line-height: 1.1; color: var(--navy); transition: color .5s; letter-spacing: -.01em;
}
[dir="rtl"] .pr-name { font-weight: 700; line-height: 1.4; font-size: clamp(1.15rem, 1.9vw, 1.72rem); }
.pr-desc { font-size: .95rem; font-weight: 300; color: var(--muted); line-height: 1.75; transition: color .5s; }
.pr-go { color: var(--muted-2); transition: color .5s, transform .5s var(--ease-out); justify-self: end; }
[dir="rtl"] .pr-go { transform: scaleX(-1); justify-self: start; }

/* ---- practice matrix (sub-page): hairline grid that inverts on hover ---- */
/* hairlines drawn per cell, so a short last row never leaves a grey hole */
.svc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line);
}
.svc-card {
  background: var(--paper); padding: clamp(28px, 3.2vw, 46px);
  border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line);
  position: relative; transition: background .55s var(--ease-out); cursor: default;
}
.svc-num { font-family: "Inter", sans-serif; font-size: .68rem; letter-spacing: .22em; color: var(--muted-2);
  font-variant-numeric: tabular-nums; transition: color .5s; }
.svc-icon { color: var(--gold-deep); margin-block: clamp(24px, 3vw, 38px) clamp(18px, 2.2vw, 26px); transition: color .5s, transform .6s var(--ease-out); }
.svc-name { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.3rem, 1.9vw, 1.7rem);
  color: var(--navy); transition: color .5s; line-height: 1.2; }
[dir="rtl"] .svc-name { font-weight: 700; line-height: 1.45; font-size: clamp(1.1rem, 1.5vw, 1.34rem); }
.svc-desc { margin-top: 12px; font-size: .94rem; font-weight: 300; color: var(--muted); line-height: 1.8; transition: color .5s; }

/* ============================================================
   MANIFESTO / about
   ============================================================ */
.about { background: var(--ivory); position: relative; }
.about-grid {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
.about-visual { position: relative; }
.about-img { position: relative; aspect-ratio: 4/5; }
/* the plaque hanging off the main photograph — squarer and lighter, so an
   emblem reads as a seal rather than a cropped photo */
.about-img-2 {
  position: absolute; inset-block-end: -9%; inset-inline-end: -12%;
  width: 46%; aspect-ratio: 4/3; z-index: 3;
  background: var(--paper);
  box-shadow: 0 34px 70px -34px rgba(10,15,26,.5), 0 0 0 1px rgba(201,162,39,.28);
}
.about-seal {
  position: absolute; inset-block-start: -26px; inset-inline-start: -26px; z-index: 4;
  width: clamp(110px, 12vw, 148px); aspect-ratio: 1; background: var(--navy-950); color: #fff;
  display: grid; place-content: center; justify-items: center; gap: 4px; text-align: center;
}
.about-seal .n { font-family: "Cormorant Garamond", serif; font-size: clamp(2.2rem, 3.4vw, 3.1rem); line-height: 1;
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.about-seal .t { font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.55); max-width: 12ch; }
[dir="rtl"] .about-seal .t { letter-spacing: .03em; font-size: .72rem; }

.about-body p { color: var(--muted); font-weight: 300; line-height: 1.95; margin-top: 20px; font-size: 1.03rem; }
.pullquote {
  margin-top: clamp(28px, 3.4vw, 42px); padding-inline-start: 26px; border-inline-start: 1px solid var(--gold);
  font-family: var(--f-display); font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.4;
  font-style: italic; color: var(--navy); font-weight: 400;
}
[dir="rtl"] .pullquote { font-style: normal; font-weight: 500; line-height: 1.75;
  font-size: clamp(1.1rem, 1.6vw, 1.42rem); }
.creds {
  display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(30px, 4vw, 46px);
  border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line);
}
.cred {
  background: var(--ivory); padding: 24px 26px 26px;
  border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line);
}
.cred .ci { color: var(--gold-deep); }
.cred .ct { font-family: var(--f-display); font-size: 1.24rem; font-weight: 600; color: var(--navy); margin-top: 12px; }
[dir="rtl"] .cred .ct { font-weight: 700; font-size: 1.06rem; }
.cred .cd { font-size: .88rem; font-weight: 300; color: var(--muted); margin-top: 6px; line-height: 1.7; }

/* ============================================================
   METRICS band
   ============================================================ */
.metrics { background: var(--navy-950); color: #fff; position: relative; overflow: hidden; }
.metrics::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 78% -10%, rgba(201,162,39,.16), transparent 52%);
}
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.metric { padding: clamp(26px, 3vw, 44px) clamp(16px, 2vw, 34px); position: relative; text-align: center; }
.metric + .metric::before { content: ""; position: absolute; inset-block: 18%; inset-inline-start: 0; width: 1px; background: var(--line-dark); }
.metric .v {
  font-family: "Cormorant Garamond", serif; font-weight: 300; line-height: 1;
  font-size: clamp(2.8rem, 5.6vw, 4.6rem); letter-spacing: -.03em;
  background: var(--metal); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.metric .l { margin-top: 14px; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.5); }
[dir="rtl"] .metric .l { letter-spacing: .04em; font-size: .84rem; }

/* ============================================================
   TEAM
   ============================================================ */
.team { background: var(--paper); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 24px); margin-top: clamp(36px, 5vw, 60px); }

/* roster tiers — partners, counsel, researchers */
.tier-head {
  display: flex; align-items: center; gap: 18px;
  margin-top: clamp(32px, 4vw, 56px); padding-bottom: 4px;
}
.tier-label {
  font-size: .7rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-deep); white-space: nowrap;
}
[dir="rtl"] .tier-label { letter-spacing: .06em; font-size: .88rem; font-weight: 700; }
.tier-rule { flex: 1; height: 1px; background: var(--line); }
.tier-count { font-size: .8rem; color: var(--muted-2); letter-spacing: .12em; }
.team-tier .team-grid { margin-top: clamp(22px, 2.6vw, 34px); }
.member { position: relative; }
.member-fig { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--navy-900); }
.member-fig::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(to top, rgba(7,11,20,.85), transparent 46%);
  opacity: 0; transition: opacity .55s var(--ease-out);
}
.member-frame { position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.16); z-index: 4; pointer-events: none;
  opacity: 0; transform: scale(1.04); transition: opacity .55s var(--ease-out), transform .55s var(--ease-out); }
.member-body { padding-top: 20px; border-top: 1px solid var(--line); margin-top: 20px; }
.member-name { font-family: var(--f-display); font-size: 1.42rem; font-weight: 600; color: var(--navy); }
[dir="rtl"] .member-name { font-weight: 700; font-size: 1.18rem; }
.member-role { margin-top: 6px; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
[dir="rtl"] .member-role { letter-spacing: .03em; font-size: .84rem; }
.member-soc { display: flex; gap: 8px; margin-top: 16px; opacity: 0; transform: translateY(6px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.member-soc a { width: 34px; height: 34px; display: grid; place-items: center; color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--line); transition: .35s; }
.member-soc a:hover { background: var(--navy); color: var(--gold-lift); box-shadow: none; }

/* ---- Team as a moving rail (home page) --------------------------------
   Centred header, then the roster drifts past on a slow loop. Portraits stay
   in the house duotone until you hover — then the grade lifts and the sitter
   comes forward. On touch it stops drifting and becomes a snap carousel. */
.team-rail { overflow: hidden; position: relative; }
.tm-head {
  display: grid; justify-items: center; text-align: center;
  max-width: 780px; margin-inline: auto; margin-bottom: clamp(38px, 5vw, 66px);
}
.tm-badge {
  width: 54px; height: 54px; display: grid; place-items: center;
  background: var(--navy-950); color: var(--gold); margin-bottom: 26px;
  position: relative;
}
.tm-badge::after {
  content: ""; position: absolute; inset: -5px; border: 1px solid rgba(201,162,39,.28);
}
.tm-head .display { margin-top: 20px; }
.tm-head .lead { margin-top: 18px; }

.tm-rail { position: relative; }
.tm-track {
  display: flex; gap: 24px; width: max-content;
  animation: tmDrift 46s linear infinite;
  will-change: transform;
}
/* RTL lays the track out from the right edge leftwards, so it has to travel
   the other way — reversing the animation would start it mid-track instead. */
[dir="rtl"] .tm-track { animation-name: tmDriftRtl; }
@keyframes tmDrift    { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes tmDriftRtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
.tm-slot { flex: none; }

/* the fades let the rail bleed off-screen instead of stopping at an edge */
.tm-fade {
  position: absolute; inset-block: 0; z-index: 3; width: clamp(64px, 12vw, 128px);
  pointer-events: none;
}
.tm-fade.start { inset-inline-start: 0; background: linear-gradient(to var(--fade-s, right), var(--paper), transparent); }
.tm-fade.end   { inset-inline-end: 0;   background: linear-gradient(to var(--fade-e, left),  var(--paper), transparent); }
[dir="ltr"] .tm-fade.start { --fade-s: right; }
[dir="ltr"] .tm-fade.end   { --fade-e: left; }
[dir="rtl"] .tm-fade.start { --fade-s: left; }
[dir="rtl"] .tm-fade.end   { --fade-e: right; }

.tm-card { width: 256px; }
.tm-fig {
  position: relative; aspect-ratio: 256/368; overflow: hidden; background: var(--navy-900);
  transition: transform .6s var(--ease-out);
}
.tm-frame {
  position: absolute; inset: 13px; z-index: 4; pointer-events: none;
  border: 1px solid rgba(255,255,255,.2); opacity: 0; transform: scale(1.03);
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
}
/* caption plate: light, flush to the bottom edge of the portrait */
.tm-meta {
  position: absolute; z-index: 5; inset-inline: 0; inset-block-end: 0;
  padding: 14px 18px 15px; background: rgba(245,241,232,.9);
  backdrop-filter: blur(8px) saturate(1.1);
  border-top: 1px solid rgba(201,162,39,.5);
  transition: background .5s;
}
.tm-name {
  font-family: var(--f-display); font-weight: 600; font-size: 1.14rem; color: var(--navy); line-height: 1.25;
}
[dir="rtl"] .tm-name { font-weight: 700; font-size: 1.08rem; line-height: 1.5; }
.tm-role { margin-top: 4px; font-size: .82rem; color: var(--gold-deep); }
[dir="ltr"] .tm-role { font-size: .78rem; letter-spacing: .04em; }

/* ---- decorative gestures carried over from the reference layout ---- */
.tm-sweep {
  position: absolute; inset-block-end: 0; inset-inline-end: 0; z-index: 0;
  width: min(460px, 42vw); height: auto; color: var(--ivory-3); pointer-events: none;
}
[dir="rtl"] .tm-sweep { transform: scaleX(-1); }
/* z-index:0 here is load-bearing: it gives the zigzag a stacking context to
   sit behind the words in, instead of dropping behind the section background */
.tm-title { position: relative; z-index: 0; display: inline-block; }
.tm-zig {
  position: absolute; z-index: -1; pointer-events: none;
  inset-block-start: -14px; inset-inline-end: -34px;
  width: clamp(58px, 7vw, 96px); height: auto; color: rgba(201,162,39,.22);
}
[dir="rtl"] .tm-zig { transform: scaleX(-1); }

/* ---- closing client word ---- */
.tm-word {
  position: relative; z-index: 1; max-width: 780px; text-align: center;
  margin-top: clamp(52px, 7vw, 92px); display: grid; justify-items: center;
}
.tm-word-in { animation: testiIn .7s var(--ease-out) both; display: grid; justify-items: center; }
.tm-quote {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(1.1rem, 1.9vw, 1.5rem); line-height: 1.75; color: var(--navy);
  text-wrap: balance;
}
[dir="ltr"] .tm-quote { font-weight: 400; font-style: italic; line-height: 1.5; }
[dir="rtl"] .tm-quote { font-weight: 500; }
.tm-who { display: grid; justify-items: center; gap: 4px; margin-top: clamp(26px, 3.4vw, 38px); }
.tm-avatar {
  position: relative; width: 58px; height: 58px; border-radius: 50%; overflow: hidden;
  margin-bottom: 14px; box-shadow: 0 0 0 1px rgba(201,162,39,.45), 0 0 0 5px var(--paper);
}
.tm-avatar .duo { border-radius: 50%; }
.tm-who-name { font-family: var(--f-display); font-weight: 600; font-size: 1.06rem; color: var(--navy); }
[dir="rtl"] .tm-who-name { font-weight: 700; }
.tm-who-role { font-size: .84rem; font-weight: 300; color: var(--muted); }
.tm-dots { display: flex; gap: 8px; margin-top: 26px; }
.tm-dot {
  width: 26px; height: 2px; background: rgba(29,44,77,.18); padding: 0;
  transition: background .4s, transform .4s;
}
.tm-dot.on { background: var(--gold); }
.tm-dot:hover { background: var(--gold-deep); }

/* ============================================================
   TESTIMONIALS — single stage, serif, slow
   ============================================================ */
.testi { background: var(--navy-950); color: #fff; position: relative; overflow: hidden; }
.testi::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 18% 110%, rgba(201,162,39,.14), transparent 50%);
}
.testi-stage { position: relative; max-width: 1000px; margin-inline: auto; text-align: center; }
.testi-mark { font-family: "Cormorant Garamond", serif; font-size: clamp(5rem, 10vw, 9rem); line-height: .6;
  color: rgba(201,162,39,.3); height: .5em; }
.testi-quote {
  font-family: var(--f-display); font-weight: 300; font-style: italic;
  font-size: clamp(1.35rem, 2.9vw, 2.5rem); line-height: 1.42; color: #fff;
  margin-top: clamp(26px, 3vw, 40px); text-wrap: balance;
}
[dir="rtl"] .testi-quote { font-style: normal; font-weight: 500; line-height: 1.7; font-size: clamp(1.2rem, 2.4vw, 2rem); }
.testi-who { margin-top: clamp(26px, 3.4vw, 44px); display: grid; gap: 6px; justify-items: center; }
.testi-name { font-size: .74rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-lift); }
[dir="rtl"] .testi-name { letter-spacing: .05em; font-size: .9rem; }
.testi-co { font-size: .88rem; font-weight: 300; color: rgba(255,255,255,.45); }
.testi-nav { display: flex; align-items: center; justify-content: center; gap: 26px; margin-top: clamp(30px, 4vw, 50px); }
.testi-btn { width: 52px; height: 52px; display: grid; place-items: center; color: #fff;
  box-shadow: inset 0 0 0 1px var(--line-dark); transition: .4s var(--ease-out); }
.testi-btn:hover { background: var(--gold); color: var(--navy-950); box-shadow: none; }
.testi-btn.prev svg { transform: scaleX(-1); }
[dir="rtl"] .testi-btn.prev svg { transform: none; }
[dir="rtl"] .testi-btn.next svg { transform: scaleX(-1); }
.testi-count { font-size: .72rem; letter-spacing: .2em; color: rgba(255,255,255,.45); font-variant-numeric: tabular-nums; }
.testi-fade { animation: testiIn .8s var(--ease-out) both; }
@keyframes testiIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ============================================================
   OFFICES
   ============================================================ */
.offices { background: var(--navy-950); color: #fff; position: relative; overflow: hidden; }
.offices::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 118%, rgba(201,162,39,.13), transparent 55%);
}
.offices .display { color: #fff; }
.off-grid {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.2vw, 30px); margin-top: clamp(38px, 5vw, 64px);
}
.off-card {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(165deg, rgba(255,255,255,.055), rgba(255,255,255,.014));
  border: 1px solid var(--line-dark);
  padding: clamp(28px, 3.2vw, 44px) clamp(26px, 3vw, 42px) clamp(132px, 14.5vw, 186px);
  transition: border-color .55s, transform .65s var(--ease-out), background .55s;
}
/* No `num` class here on purpose: it sets direction:ltr, and logical insets
   resolve against the element's OWN direction — which flipped the numeral
   back on top of the city name in Arabic. */
.off-num {
  position: absolute; inset-block-start: clamp(22px, 2.6vw, 34px);
  font-family: "Cormorant Garamond", serif; font-variant-numeric: tabular-nums lining-nums;
  font-size: clamp(2.2rem, 3.4vw, 3.2rem); line-height: 1; color: rgba(255,255,255,.13);
  transition: color .55s;
}
[dir="ltr"] .off-num { right: clamp(24px, 2.8vw, 38px); }
[dir="rtl"] .off-num { left: clamp(24px, 2.8vw, 38px); }

/* the skyline sits along the bottom edge and fades up into the card */
.off-sky {
  position: absolute; inset-inline: 0; inset-block-end: 0; z-index: 0; pointer-events: none;
  color: rgba(201,162,39,.42);
  -webkit-mask-image: linear-gradient(to top, #000 46%, transparent 96%);
  mask-image: linear-gradient(to top, #000 46%, transparent 96%);
  transition: color .6s var(--ease-out), transform .8s var(--ease-out);
}
.off-sky .off-art { width: 100%; height: auto; display: block; }

.off-body { position: relative; z-index: 1; }
.off-title { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.off-city { font-family: var(--f-display); font-size: clamp(1.7rem, 2.5vw, 2.3rem); font-weight: 600; color: #fff; }
[dir="rtl"] .off-city { font-weight: 700; font-size: clamp(1.5rem, 2.1vw, 1.95rem); }
.off-alt {
  font-family: "Inter", sans-serif; font-size: .64rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-lift); opacity: .8;
}
[dir="ltr"] .off-alt { font-family: "Tajawal", sans-serif; letter-spacing: 0; font-size: .82rem; text-transform: none; }
.off-rule { display: block; height: 1px; width: 64px; background: linear-gradient(90deg, var(--gold-lift), var(--gold) 55%, transparent); margin-block: 22px 26px; }

.off-rows { display: grid; gap: 15px; }
.off-row { display: flex; gap: 14px; align-items: flex-start; font-size: .93rem; font-weight: 300;
  color: rgba(255,255,255,.62); line-height: 1.75; }
.off-row .oi { color: var(--gold); flex: none; margin-top: 3px; }
.off-row a { transition: color .3s; }
.off-foot { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line-dark); }

/* ============================================================
   INSIGHTS — editorial rows
   ============================================================ */
.insights { background: var(--paper); }
.ins-list { margin-top: clamp(36px, 5vw, 60px); border-top: 1px solid var(--line); }
.ins-row {
  display: grid; grid-template-columns: minmax(0, 148px) minmax(0, 1.25fr) minmax(0, 1fr) 34px;
  gap: clamp(16px, 3vw, 44px); align-items: center; padding-block: clamp(22px, 2.4vw, 32px);
  border-bottom: 1px solid var(--line); cursor: pointer;
}
.ins-meta { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); display: grid; gap: 7px; }
[dir="rtl"] .ins-meta { letter-spacing: .03em; font-size: .82rem; }
.ins-tag { color: var(--gold-deep); }
.ins-title {
  font-family: var(--f-display); font-weight: 500; font-size: clamp(1.25rem, 2vw, 1.85rem);
  line-height: 1.2; color: var(--navy); transition: color .4s;
}
[dir="rtl"] .ins-title { font-weight: 700; line-height: 1.45; font-size: clamp(1.05rem, 1.5vw, 1.4rem); }
.ins-ex { font-size: .93rem; font-weight: 300; color: var(--muted); line-height: 1.75; }
.ins-go { color: var(--muted-2); justify-self: end; transition: color .4s, transform .5s var(--ease-out); }
[dir="rtl"] .ins-go { transform: scaleX(-1); justify-self: start; }

/* card variant for the insights page */
.ins-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.2vw, 30px); }
.ins-card { background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: border-color .5s, transform .6s var(--ease-out); cursor: pointer; }
.ins-cover { aspect-ratio: 16/10; position: relative; overflow: hidden; background: var(--navy-900); }
.ins-cover .mono { position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-950)); }
.ins-cover .tagchip { position: absolute; inset-block-start: 0; inset-inline-start: 0; z-index: 3;
  background: var(--gold); color: var(--navy-950); font-size: .62rem; letter-spacing: .18em;
  text-transform: uppercase; padding: 8px 14px; font-weight: 600; }
[dir="rtl"] .ins-cover .tagchip { letter-spacing: .02em; font-size: .76rem; }
.ins-card-body { padding: clamp(20px, 2.4vw, 30px); display: flex; flex-direction: column; flex: 1; gap: 12px; }
.ins-cards.two { grid-template-columns: repeat(2, 1fr); }
.ins-card.grow { flex: 1; }

/* lead article: cover and copy side by side, full width */
.ins-feature {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  background: var(--paper); border: 1px solid var(--line); cursor: pointer;
  transition: border-color .5s, transform .6s var(--ease-out);
}
.ins-feature .ins-cover { aspect-ratio: auto; min-height: clamp(260px, 30vw, 400px); }
.ins-feature .ins-card-body { padding: clamp(26px, 3.4vw, 52px); justify-content: center; flex: none; gap: 16px; }
@media (max-width: 900px) {
  .ins-feature { grid-template-columns: 1fr; }
  .ins-feature .ins-cover { min-height: 220px; }
  .ins-cards.two { grid-template-columns: 1fr; }
}

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.art-hero { padding-block: clamp(150px, 19vh, 220px) clamp(48px, 6vw, 82px); }
.art-title { max-width: 24ch; }
[dir="rtl"] .art-title { max-width: 26ch; }
.art-meta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: clamp(22px, 2.6vw, 32px);
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55);
}
[dir="rtl"] .art-meta { letter-spacing: .02em; font-size: .88rem; text-transform: none; }
.art-tag { color: var(--gold-lift); }
.art-dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.35); }

.article { background: var(--paper); }
.art-wrap { max-width: 900px; }
.art-body { max-width: 68ch; margin-inline: auto; }
.art-lead {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(1.2rem, 1.9vw, 1.55rem); line-height: 1.7; color: var(--navy);
  padding-block-end: clamp(24px, 3vw, 36px); margin-block-end: clamp(24px, 3vw, 36px);
  border-block-end: 1px solid var(--line);
}
[dir="rtl"] .art-lead { font-weight: 500; line-height: 1.9; }
.art-body > p { font-size: 1.05rem; font-weight: 300; line-height: 2; color: var(--muted); margin-block-end: 1.3em; }
.art-h {
  font-family: var(--f-display); font-weight: 600; color: var(--navy);
  font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.3;
  margin-block: clamp(34px, 4vw, 52px) clamp(14px, 1.6vw, 20px);
}
[dir="rtl"] .art-h { font-weight: 700; line-height: 1.55; }
.art-q {
  font-family: var(--f-display); font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.7;
  color: var(--navy); font-style: italic; font-weight: 400;
  padding-inline-start: 26px; border-inline-start: 1px solid var(--gold);
  margin-block: clamp(28px, 3.4vw, 44px);
}
[dir="rtl"] .art-q { font-style: normal; font-weight: 500; line-height: 1.9; }
.art-note {
  font-size: .96rem; font-weight: 300; line-height: 1.9; color: var(--muted);
  background: var(--ivory); border-inline-start: 2px solid var(--gold);
  padding: clamp(18px, 2.2vw, 26px) clamp(20px, 2.4vw, 28px);
}

.art-foot {
  max-width: 68ch; margin-inline: auto; margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(24px, 3vw, 34px); border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
}
.art-share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.art-share-label {
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-2);
  margin-inline-end: 4px;
}
[dir="rtl"] .art-share-label { letter-spacing: .03em; font-size: .84rem; text-transform: none; }
.art-share-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  width: 44px; height: 44px; color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--line); transition: .35s var(--ease-out);
}
.art-share-btn.wide { width: auto; padding-inline: 18px; font-size: .82rem; }
.art-share-btn:hover { background: var(--navy); color: var(--gold-lift); box-shadow: none; }
.art-share-btn.ok { color: var(--gold-deep); box-shadow: inset 0 0 0 1px rgba(201,162,39,.5); }

@media (max-width: 640px) {
  .art-foot { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   PARTNERS
   ============================================================ */
.partners { background: var(--ivory); }
.partner-row {
  display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 36px;
  border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line);
}

/* A logo wall: each cell holds the real mark, and falls back to the wordmark
   until one is dropped in — so the section is never empty or broken. */
.partner-chip {
  position: relative; background: var(--ivory);
  display: grid; place-items: center; text-align: center;
  min-height: clamp(96px, 10vw, 132px); padding: clamp(20px, 2.4vw, 30px) clamp(18px, 2.2vw, 30px);
  border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line);
  transition: background .45s;
}
.partner-chip image-slot {
  position: absolute; inset: clamp(18px, 2.2vw, 28px); width: auto; height: auto; display: block;
}
/* The slot's own empty state is hidden — the wordmark IS the empty state.
   The cell still accepts a click or a drop, which is all the editor needs. */
.partner-chip image-slot::part(empty) { opacity: 0; }
.partner-chip image-slot::part(ring) { border: 0; }
.partner-chip image-slot::part(image) {
  filter: grayscale(1); opacity: .5; transition: filter .5s var(--ease-out), opacity .5s var(--ease-out);
}
.partner-chip:hover image-slot::part(image) { filter: none; opacity: 1; }

.partner-name {
  font-family: var(--f-display); font-size: clamp(1.05rem, 1.5vw, 1.4rem); font-weight: 500;
  color: var(--navy); opacity: .42; letter-spacing: .02em; line-height: 1.3;
  transition: opacity .45s, color .45s;
}
[dir="rtl"] .partner-name { font-weight: 700; font-size: clamp(.95rem, 1.3vw, 1.2rem); }
/* once a real logo is in place the wordmark steps aside */
.partner-chip image-slot[data-filled] ~ .partner-name { display: none; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--navy-950); color: #fff; position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 88% 4%, rgba(201,162,39,.15), transparent 46%);
}
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact .display { color: #fff; }
.contact .display em { color: var(--gold-lift); }
.contact-list { margin-top: clamp(32px, 4vw, 48px); display: grid; gap: 1px; background: var(--line-dark); }
.contact-li { background: var(--navy-950); display: flex; align-items: center; gap: 18px; padding: 22px 4px; }
.contact-li .ci { width: 46px; height: 46px; display: grid; place-items: center; color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--line-dark); flex: none; }
.contact-li .ct { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.42); }
[dir="rtl"] .contact-li .ct { letter-spacing: .03em; font-size: .8rem; }
.contact-li .cv { font-size: 1.02rem; color: #fff; margin-top: 3px; display: inline-block; padding-block: 5px; }

.form { display: grid; gap: clamp(18px, 2.2vw, 26px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.2vw, 26px); }
.field { position: relative; }
.field label {
  display: block; font-size: .64rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.42); margin-bottom: 12px;
}
[dir="rtl"] .field label { letter-spacing: .03em; font-size: .8rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 2px; background: transparent; color: #fff;
  border: 0; border-bottom: 1px solid var(--line-dark); font-size: 1rem; font-weight: 300;
  transition: border-color .4s, background .4s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { padding-inline-start: 0; }
.field select option { color: #111; background: #fff; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.24); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--gold); }
.form-note { font-size: .78rem; font-weight: 300; color: rgba(255,255,255,.34); line-height: 1.7; }
.form-success {
  border: 1px solid rgba(201,162,39,.5); background: rgba(201,162,39,.1); color: var(--gold-lift);
  padding: 16px 18px; font-size: .92rem; display: flex; align-items: center; gap: 12px;
  line-height: 1.6;
}
.form-success svg { flex: none; }
.form-error { border-color: rgba(224,120,100,.55); background: rgba(224,120,100,.1); color: #E8A798; }
.form-error a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.4); }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: rgba(255,255,255,.6); padding-block: clamp(60px, 7vw, 96px) 30px; }
.footer-word {
  font-family: var(--f-display); font-weight: 300; line-height: .9; letter-spacing: -.03em;
  font-size: clamp(2.4rem, 8.4vw, 8rem); color: rgba(255,255,255,.07); text-align: center;
  padding-block-end: clamp(30px, 5vw, 60px); user-select: none;
}
[dir="rtl"] .footer-word { font-weight: 800; letter-spacing: -.01em; line-height: 1.14;
  font-size: clamp(1.7rem, 5.8vw, 5.2rem); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: clamp(30px, 4vw, 56px);
  padding-block-start: clamp(36px, 5vw, 56px); border-top: 1px solid var(--line-dark); }
.footer .brand-name, .drawer .brand-name { color: #fff; }
.footer .brand-sub, .drawer .brand-sub { color: rgba(255,255,255,.45); }
.footer h4 { font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.42);
  font-weight: 500; margin-bottom: 22px; }
[dir="rtl"] .footer h4 { letter-spacing: .04em; font-size: .8rem; }
.footer-links { display: flex; flex-direction: column; gap: 13px; }
.footer-links a { color: rgba(255,255,255,.62); font-size: .93rem; font-weight: 300; transition: color .35s, padding .35s; }
.footer-tag { color: rgba(255,255,255,.5); font-weight: 300; margin-top: 20px; max-width: 34ch; line-height: 1.8; font-size: .95rem; }
.footer-soc { display: flex; gap: 10px; margin-top: 26px; }
.footer-soc a { width: 40px; height: 40px; display: grid; place-items: center; color: #fff;
  box-shadow: inset 0 0 0 1px var(--line-dark); transition: .4s var(--ease-out); }
.footer-soc a:hover { background: var(--gold); color: var(--navy-950); box-shadow: none; transform: translateY(-3px); }
.footer-bottom { margin-top: clamp(40px, 5vw, 64px); padding-top: 26px; border-top: 1px solid var(--line-dark);
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: .78rem; font-weight: 300; color: rgba(255,255,255,.34); }
.footer-bottom a:hover { color: var(--gold-lift); }

/* ============================================================
   PAGE HERO (sub-pages)
   ============================================================ */
.page-hero { position: relative; background: var(--navy-950); color: #fff; overflow: hidden;
  padding-block: clamp(160px, 20vh, 240px) clamp(60px, 8vw, 110px); }
.page-hero .duo { position: absolute; inset: 0; }
.page-hero-scrim { position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(to top, rgba(7,11,20,.96), rgba(7,11,20,.72) 50%, rgba(7,11,20,.86)); }
.page-hero-inner { position: relative; z-index: 5; }
.crumb { display: flex; align-items: center; gap: 12px; font-size: .66rem; letter-spacing: .22em;
  text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 26px; }
[dir="rtl"] .crumb { letter-spacing: .04em; font-size: .8rem; }
.crumb a:hover { color: var(--gold-lift); }
.crumb .cur { color: var(--gold-lift); }
.page-title { font-family: var(--f-display); font-weight: 300; color: #fff;
  font-size: clamp(2.6rem, 6.2vw, 5.6rem); line-height: 1.02; letter-spacing: -.025em; max-width: 20ch; }
[dir="rtl"] .page-title { font-weight: 800; line-height: 1.3; letter-spacing: -.01em;
  font-size: clamp(1.9rem, 4.4vw, 3.8rem); }

/* ============================================================
   REVEAL MOTION
   ============================================================ */
.rv, .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0s); }
.rv.in, .reveal.in { opacity: 1; transform: none; }

.rv-mask { display: block; clip-path: inset(0 0 105% 0); transform: translateY(0);
  transition: clip-path 1.15s var(--ease-io); transition-delay: var(--d, 0s); opacity: 1; }
.rv-mask.in { clip-path: inset(0 0 -12% 0); }

.rv-rule { transform: scaleX(0); transform-origin: var(--to, left); opacity: 1;
  transition: transform 1.1s var(--ease-io); transition-delay: var(--d, 0s); }
.rv-rule.in { transform: scaleX(1); }

/* overflow:hidden matters as much as the clip — clip-path still lets the
   scaled child widen the document, which shows up as a sideways wobble on
   phones */
.rv-img { opacity: 1; overflow: hidden; clip-path: inset(0 0 100% 0); transition: clip-path 1.25s var(--ease-io); transition-delay: var(--d, 0s); }
.rv-img.in { clip-path: inset(0 0 0 0); }
.rv-img > * { transform: scale(1.16); transition: transform 1.6s var(--ease-out); transition-delay: var(--d, 0s); }
.rv-img.in > * { transform: scale(1); }

.d1 { --d: .08s; } .d2 { --d: .16s; } .d3 { --d: .24s; } .d4 { --d: .32s; }
.d5 { --d: .4s; }  .d6 { --d: .48s; } .d7 { --d: .56s; } .d8 { --d: .64s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  /* nothing should drift on its own — hand the rail back to the reader */
  .tm-rail { overflow-x: auto; padding-inline: var(--gut); }
  .tm-track { animation: none !important; }
  .tm-extra { display: none; }
  .tm-fade { display: none; }
  .rv, .reveal, .rv-mask, .rv-rule, .rv-img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .rv-img > * { transform: none !important; }
}

/* ============================================================
   POINTER-DEPENDENT STATES
   Hover effects only exist where a real pointer does. On a touch screen
   :hover latches after a tap and the element stays "hovered" — so touch
   gets its own, shorter :active feedback instead.
   ============================================================ */
@media (hover: hover) and (pointer: fine) {
  .news-item:hover { background: var(--navy-800); }
  /* the rail waits while you read a card, and the grade lifts off that
     portrait only — the rest stay in the house duotone */
  .tm-rail:hover .tm-track { animation-play-state: paused; }
  .tm-card:hover .tm-frame { opacity: 1; transform: none; }
  .tm-card:hover .tm-fig { transform: translateY(-6px); }
  .tm-card:hover .duo > image-slot { filter: grayscale(0) contrast(1.02) brightness(.94); }
  .tm-card:hover .duo-tint { opacity: .35; }
  .tm-card:hover .duo-vig { opacity: .6; }
  .tm-card:hover .tm-meta { background: rgba(10,15,26,.85); }
  .pr-row:hover::before { transform: scaleY(1); }
  .pr-row:hover { color: #fff; }
  .pr-row:hover .pr-name { color: #fff; }
  .pr-row:hover .pr-desc { color: rgba(255,255,255,.6); }
  .pr-row:hover .pr-num { color: var(--gold-lift); }
  .pr-row:hover .pr-mark { color: var(--gold-lift); transform: translateY(-2px); }
  .pr-row:hover .pr-go { color: var(--gold-lift); transform: translateX(6px); }
  [dir="rtl"] .pr-row:hover .pr-go { transform: scaleX(-1) translateX(6px); }
  .svc-card:hover { background: var(--navy-950); }
  .svc-card:hover .svc-icon { color: var(--gold-lift); transform: translateY(-3px); }
  .svc-card:hover .svc-name { color: #fff; }
  .svc-card:hover .svc-desc { color: rgba(255,255,255,.6); }
  .svc-card:hover .svc-num { color: var(--gold-lift); }
  .member:hover .member-fig::after { opacity: 1; }
  .member:hover .member-frame { opacity: 1; transform: none; }
  .member:hover .member-soc { opacity: 1; transform: none; }
  .off-card:hover { border-color: rgba(201,162,39,.55); transform: translateY(-6px);
    background: linear-gradient(165deg, rgba(255,255,255,.085), rgba(255,255,255,.02)); }
  .off-card:hover .off-sky { color: rgba(201,162,39,.72); transform: translateY(-4px); }
  .off-card:hover .off-num { color: rgba(201,162,39,.28); }
  .off-row a:hover { color: var(--gold-lift); }
  .ins-row:hover .ins-title { color: var(--gold-deep); }
  .ins-row:hover .ins-go { color: var(--gold-deep); transform: translateX(6px); }
  [dir="rtl"] .ins-row:hover .ins-go { transform: scaleX(-1) translateX(6px); }
  .ins-card:hover { border-color: rgba(201,162,39,.5); transform: translateY(-6px); }
  .ins-feature:hover { border-color: rgba(201,162,39,.5); transform: translateY(-5px); }
  .partner-chip:hover { background: var(--paper); }
  .partner-chip:hover .partner-name { opacity: 1; color: var(--gold-deep); }
  .duo:hover > image-slot, .duo:hover > .duo-img { transform: scale(1.045); }
  .btn:hover::before { transform: scaleY(1); }
  .btn:hover { color: var(--navy-950); }
  .btn-gold:hover { color: #fff; }
  .btn-outline:hover { box-shadow: inset 0 0 0 1px transparent; }
  .btn-light:hover { box-shadow: inset 0 0 0 1px transparent; color: var(--navy-950); }
  .btn:hover .arr { transform: translateX(5px); }
  [dir="rtl"] .btn:hover .arr { transform: scaleX(-1) translateX(5px); }
  .footer-links a:hover { color: var(--gold-lift); padding-inline-start: 5px; }
}

@media (hover: none) {
  /* No pointer means nothing to pause: the rail stops drifting and becomes a
     carousel the thumb drives, with one clean copy of the roster. */
  .tm-rail {
    overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory; scrollbar-width: none;
    scroll-padding-inline: var(--gut);
    padding-inline: var(--gut);
  }
  .tm-rail::-webkit-scrollbar { display: none; }
  .tm-track { animation: none; width: max-content; }
  .tm-extra { display: none; }          /* one clean pass of the roster */
  .tm-slot { scroll-snap-align: center; }
  .tm-frame { opacity: 1; transform: none; border-color: rgba(255,255,255,.14); }
  .tm-fade { display: none; }
  .tm-card:active .tm-fig { transform: scale(.985); }

  /* press feedback: quick, physical, gone the moment the finger lifts */
  .pr-row:active::before { transform: scaleY(1); }
  .pr-row:active .pr-name { color: #fff; }
  .pr-row:active .pr-desc { color: rgba(255,255,255,.6); }
  .pr-row:active .pr-num, .pr-row:active .pr-mark, .pr-row:active .pr-go { color: var(--gold-lift); }
  .svc-card:active { background: var(--navy-950); }
  .svc-card:active .svc-name { color: #fff; }
  .svc-card:active .svc-desc { color: rgba(255,255,255,.6); }
  .svc-card:active .svc-icon, .svc-card:active .svc-num { color: var(--gold-lift); }
  .ins-row:active .ins-title, .ins-row:active .ins-go { color: var(--gold-deep); }
  .ins-card:active, .ins-feature:active, .off-card:active { border-color: rgba(201,162,39,.55); }
  .partner-chip:active .partner-name { opacity: 1; color: var(--gold-deep); }
  .btn:active { transform: scale(.985); }
  .btn:active::before { transform: scaleY(1); }
  .btn:active, .btn-outline:active { color: var(--navy-950); }
  .btn-gold:active { color: #fff; }
  .member:active .member-frame { opacity: 1; transform: none; }
  .tlink:active::after { opacity: 1; background: var(--gold); }
  .footer-links a:active, .off-row a:active, .crumb a:active { color: var(--gold-lift); }
  /* social icons and profile actions are always visible — nothing to hover */
  .member-soc { opacity: 1; transform: none; }
  .member-fig::after { opacity: .55; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  :root { --rail: 0px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .ins-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1040px) {
  .nav-links { display: none; }
  .burger { display: grid; }
  .about-grid, .contact-grid, .hero-split { grid-template-columns: 1fr; }
  .hero-split > *:last-child { order: -1; max-width: 520px; }
  .about-visual { max-width: 520px; }
  .about-img-2 { inset-inline-end: -6%; }
  .pr-row { grid-template-columns: 44px 28px minmax(0, 1fr) 30px; }
  .pr-row .pr-desc { display: none; }
  .ins-row { grid-template-columns: 120px minmax(0, 1fr) 30px; }
  .ins-row .ins-ex { display: none; }
  .off-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  :root { --nav-h: 76px; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .metric + .metric::before { display: none; }
  .metric { border-top: 1px solid var(--line-dark); }
  .metrics-grid .metric:nth-child(-n+2) { border-top: 0; }
  .metrics-grid .metric:nth-child(2n)::before { content: ""; display: block; position: absolute; inset-block: 18%; inset-inline-start: 0; width: 1px; background: var(--line-dark); }
  .hero-bar-inner { grid-template-columns: 1fr 1fr; }
  .hero-stat:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .hero-stat:nth-child(odd)::before { display: none; }
  /* the stat bar grows to two rows — give the hero copy room to clear it */
  .hero-inner { padding-block: clamp(118px, 15vh, 165px) 236px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .partner-row { grid-template-columns: repeat(2, 1fr); }
  .creds { grid-template-columns: 1fr; }
  .ins-cards { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
}
/* ---- phone: cheaper compositing, notch-safe, thumb-friendly ---- */
@media (max-width: 900px) {
  /* a full-screen animated overlay is the single most expensive thing on a
     phone GPU — keep the texture, drop the movement */
  .grain { animation: none; opacity: .2; }
  .nav.scrolled { backdrop-filter: blur(12px); }
  .hero-bar { backdrop-filter: none; background: linear-gradient(to top, rgba(7,11,20,.95), rgba(7,11,20,.72)); }
  .hero-media > image-slot, .hero-media > .duo-img { animation-duration: 34s; }

  /* notch / dynamic island */
  .nav-inner { padding-inline: max(var(--gut), env(safe-area-inset-left)) max(var(--gut), env(safe-area-inset-right)); }
  .nav { padding-block-start: max(18px, env(safe-area-inset-top)); }

  /* the action bar owns the bottom of the screen — keep it off the content */
  .footer { padding-block-end: calc(30px + 60px + env(safe-area-inset-bottom)); }

  /* every tap target clears ~44px */
  .lang-btn, .burger { width: 46px; height: 46px; }
  .member-soc a { width: 44px; height: 44px; }
  .testi-btn { width: 54px; height: 54px; }
  .btn { min-height: 52px; }
  .footer-links a, .off-row a, .contact-li a, .crumb a,
  .drawer-foot .em, .footer-bottom a { padding-block: 7px; }
  .tlink { padding-block: 8px 10px; }
  .brand { padding-block: 4px; }
}

@media (max-width: 560px) {
  /* two portraits per row: the roster stays scannable instead of becoming
     four full screens of scrolling */
  .team-grid { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .member-body { padding-top: 14px; margin-top: 14px; }
  .member-name { font-size: 1.02rem; }
  [dir="rtl"] .member-name { font-size: 1.04rem; }
  .member-role { font-size: .72rem; letter-spacing: .1em; margin-top: 4px; }
  [dir="rtl"] .member-role { font-size: .78rem; letter-spacing: 0; }
  .member-soc { gap: 6px; margin-top: 12px; }
  .member-soc a { width: 38px; height: 38px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
  .hero-title { font-size: clamp(2rem, 9.4vw, 2.9rem); }
  [dir="rtl"] .hero-title { font-size: clamp(1.7rem, 8vw, 2.4rem); }
  .about-img-2, .about-seal { display: none; }
  .btn { padding: 17px 26px; }
}

/* ============================================================
   NEWS STRIP — collected headlines, each linking to its publisher
   ============================================================ */
.newsstrip { background: var(--navy-950); color: #fff; }
.newsstrip .index { color: var(--gold-lift); }
.news-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line-dark); margin-top: clamp(30px, 4vw, 48px);
  border-block: 1px solid var(--line-dark);
}
.news-item {
  background: var(--navy-950); padding: clamp(22px, 2.6vw, 32px);
  display: grid; align-content: start; gap: 10px; transition: background .45s;
}
.news-src { font-size: .72rem; letter-spacing: .12em; color: var(--gold-lift); }
[dir="rtl"] .news-src { letter-spacing: .02em; font-size: .84rem; }
.news-title {
  font-family: var(--f-display); font-weight: 500; font-size: clamp(1.02rem, 1.4vw, 1.24rem);
  line-height: 1.4; color: #fff;
}
[dir="rtl"] .news-title { font-weight: 700; line-height: 1.6; }
.news-sum {
  font-size: .88rem; font-weight: 300; color: rgba(255,255,255,.5); line-height: 1.75;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-go {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 4px;
  font-size: .78rem; color: var(--gold-lift);
}
@media (max-width: 820px) { .news-grid { grid-template-columns: 1fr; } }
