/* ===================================================================
   FIKRA MARKETING — Shared design system (Cosmic)
   Loaded by every page. Tokens + base + components + chrome.
   =================================================================== */
@import url('https://api.fontshare.com/v2/css?f[]=general-sans@400,500,600,700&f[]=switzer@400,500,600,700&f[]=satoshi@400,500,700,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700;800&family=Noto+Kufi+Arabic:wght@400;500;600;700;800&family=Noto+Sans+Arabic:wght@400;500;600;700&family=Noto+Sans+Hebrew:wght@400;500;600;700;800&family=Heebo:wght@400;500;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  color-scheme: dark;

  /* ── Cosmic surfaces ── */
  --canvas:        #0A0A14;   /* cosmic-void */
  --canvas-2:      #12121E;   /* cosmic-surface */
  --canvas-3:      #181824;   /* cosmic-card */
  --canvas-4:      #1E1E2C;   /* cosmic-elevated */

  /* ── Warm off-white text ramp (never pure white) ── */
  --ink:           #E8E4D8;   /* text-bright */
  --ink-2:         #D0CCC0;   /* text-primary */
  --ink-mute:      #9A9690;   /* text-secondary */
  --ink-faint:     #605C54;   /* text-muted */

  --stroke:        rgba(40,40,64,0.7);     /* cosmic-border */
  --stroke-2:      rgba(40,40,64,1);
  --stroke-teal:   rgba(143,215,232,0.28);

  /* ── Teal primary ── */
  --teal-light:    #8FD7E8;
  --teal:          #5AABB8;   /* user default accent */
  --teal-mid:      #2E8898;
  --teal-deep:     #1F7080;
  --teal-glow:     rgba(143,215,232,0.18);
  --teal-soft:     rgba(143,215,232,0.07);

  /* ── Gold ceremonial ── */
  --gold-light:    #F3DFA2;
  --gold:          #D4C078;
  --gold-deep:     #A88F54;
  --gold-soft:     rgba(243,223,162,0.08);

  /* ── Gradients (the two signatures) ── */
  --grad-cyan:     linear-gradient(135deg, #8FD7E8 0%, #1F7080 100%);
  --grad-cyan-h:   linear-gradient(90deg, #8FD7E8 0%, #1F7080 100%);
  --grad-gold:     linear-gradient(180deg, #F3DFA2 0%, #D4C078 45%, #A88F54 100%);

  /* ── Colored shadows (never neutral black) ── */
  --shadow-cyan:   0 0 24px rgba(143,215,232,0.22);
  --shadow-cyan-hi:0 0 36px rgba(143,215,232,0.40);
  --shadow-lift:   0 24px 48px rgba(143,215,232,0.14);
  --shadow-gold:   0 18px 40px rgba(168,143,84,0.18);

  /* ── Type (Neue-Montreal-style grotesk + Geist) ── */
  --font-display: "General Sans", "Satoshi", ui-sans-serif, system-ui, sans-serif;
  --font-body:    "Geist", "Switzer", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-ar:      "Noto Sans Arabic", "Noto Kufi Arabic", system-ui, sans-serif;
  --font-ar-hd:   "Noto Kufi Arabic", "Noto Sans Arabic", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --display-weight: 700;

  /* ── Motion ── */
  --ease-out:    cubic-bezier(.16,1,.3,1);
  --ease-soft:   cubic-bezier(.4,0,.2,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);

  /* ── Rhythm ── */
  --maxw: 1240px;
  --pad-x: clamp(20px, 5vw, 56px);
  --radius-sm: 12px;
  --radius:    16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
}

* , *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 18.5px;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--teal-light); color: var(--canvas); }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

/* ── Starfield canvas (injected by chrome.js) ── */
#cosmos {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}
#cosmos-neb {
  position: fixed; inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 18% 12%, rgba(143,215,232,0.08), transparent 60%),
    radial-gradient(ellipse 55% 45% at 85% 80%, rgba(243,223,162,0.06), transparent 62%),
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(10,10,20,0) 30%, rgba(10,10,20,0.5) 95%);
}

/* Everything sits above the cosmos */
.site-header, main, .site-footer { position: relative; z-index: 2; }

/* ===================================================================
   TYPOGRAPHY HELPERS
   =================================================================== */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.grad-gold {
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.grad-cyan {
  background: var(--grad-cyan);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.ar    { font-family: var(--font-ar); }
.ar-hd { font-family: var(--font-ar-hd); }

/* Uppercase tracked eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-light);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--teal-light);
  opacity: .7;
}
.eyebrow.no-rule::before { display: none; }

/* Bilingual ceremonial eyebrow pill */
.bi-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--stroke-teal);
  background: var(--teal-soft);
  color: var(--teal-light);
  line-height: 1;
}
.bi-eyebrow .ar { font-family: var(--font-ar-hd); font-weight: 700; font-size: 14px; }
.bi-eyebrow .sep { opacity: .45; }
.bi-eyebrow .en { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; }

/* ===================================================================
   LAYOUT
   =================================================================== */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad-x); }

section { position: relative; }
.section { padding-block: clamp(72px, 10vw, 130px); }
.section-sm { padding-block: clamp(48px, 6vw, 80px); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 68px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.024em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.section-head h2 em {
  font-style: italic;
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.section-head .lede {
  margin: 22px 0 0;
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.6;
  color: var(--ink-mute);
  max-width: 60ch;
}
.section-head.center .lede { margin-inline: auto; }
.section-head .ar-sub {
  display: block;
  font-family: var(--font-ar-hd);
  font-weight: 700;
  font-size: 0.46em;
  line-height: 1.4;
  margin-top: 0.5em;
  color: var(--ink-mute);
  letter-spacing: 0;
}

/* ===================================================================
   BUTTONS
   =================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 17px;
  line-height: 1;
  padding: 16px 28px;
  border-radius: 12px;
  min-height: 52px;
  transition: transform .25s var(--ease-spring), box-shadow .25s var(--ease-out), border-color .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn .arr { font-size: 17px; transition: transform .25s var(--ease-out); }
.btn:hover .arr { transform: translateX(3px); }

.btn-primary {
  background: var(--grad-cyan-h);
  color: #04070D;
  box-shadow: var(--shadow-cyan);
}
.btn-primary:hover { box-shadow: var(--shadow-cyan-hi); transform: translateY(-2px); }

.btn-gold {
  background: var(--grad-gold);
  color: #1A1505;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { box-shadow: 0 22px 48px rgba(168,143,84,0.32); transform: translateY(-2px); }

.btn-ghost {
  border: 1px solid var(--stroke-2);
  color: var(--ink);
  background: rgba(255,255,255,0.01);
}
.btn-ghost:hover { border-color: var(--teal-deep); color: var(--teal-light); transform: translateY(-2px); }

.btn-sm { padding: 11px 18px; min-height: 42px; font-size: 15px; }
.btn-lg { padding: 18px 34px; min-height: 58px; font-size: 18px; }

/* Text link with arrow */
.link-arr {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14.5px;
  color: var(--teal-light);
  transition: gap .2s var(--ease-out), color .2s;
}
.link-arr .arr { transition: transform .2s var(--ease-out); }
.link-arr:hover { gap: 12px; }

/* ===================================================================
   CARDS
   =================================================================== */
.card {
  position: relative;
  background: var(--canvas-3);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: transform .35s var(--ease-out), border-color .35s, box-shadow .35s, background .35s;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--teal-deep);
  box-shadow: var(--shadow-lift);
}

/* Icon tile (gradient-framed) */
.icon-tile {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--teal-soft);
  border: 1px solid var(--stroke-teal);
  color: var(--teal-light);
  margin-bottom: 22px;
}
.icon-tile svg { width: 24px; height: 24px; stroke-width: 1.7; }
.icon-tile.gold { background: var(--gold-soft); border-color: rgba(243,223,162,0.22); color: var(--gold-light); }

.card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0 0 10px;
}
.card h3 .ar-tag {
  display: block;
  font-family: var(--font-ar-hd);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-mute);
  margin-top: 3px;
}
.card p { margin: 0; color: var(--ink-mute); font-size: 17.5px; line-height: 1.62; }
.card .card-foot { margin-top: 20px; }

/* Numbered index chip */
.idx {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--teal);
}

/* Grids */
.grid { display: grid; gap: clamp(16px, 1.8vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Tag / pill */
.tag {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--canvas-2);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal-light); box-shadow: 0 0 8px var(--teal-light); }

/* Divider */
.hr { height: 1px; background: var(--stroke); border: 0; margin: 0; }

/* ===================================================================
   HEADER (injected)
   =================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background .3s var(--ease-out), border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10,10,20,0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--stroke);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.brand-lockup { display: flex; align-items: center; gap: 11px; }
.brand-lockup img { height: 38px; width: auto; }
.brand-lockup .bt { display: flex; flex-direction: column; line-height: 1; gap: 3px; }
.brand-lockup .bt .n {
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: 21px; letter-spacing: 0.01em;
}
.brand-lockup .bt .s {
  font-family: var(--font-mono); font-size: 8.5px; font-weight: 700;
  letter-spacing: 0.34em; text-transform: uppercase; color: var(--teal-light);
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative;
  padding: 9px 13px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-mute);
  border-radius: 8px;
  white-space: nowrap;
  transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px;
  height: 2px; border-radius: 2px; background: var(--grad-cyan-h);
}
.header-cta { display: flex; align-items: center; gap: 14px; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px;
  border: 1px solid var(--stroke); border-radius: 999px; padding: 3px; background: var(--canvas-2);
}
.lang-switch .ls {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em;
  color: var(--ink-mute); padding: 6px 10px; border-radius: 999px; line-height: 1;
  transition: color .2s, background .2s; min-width: 26px; text-align: center;
}
.lang-switch .ls[lang="ar"], .lang-switch .ls[lang="he"] { font-family: var(--font-ar-hd); font-size: 13px; }
.lang-switch .ls:hover { color: var(--teal-light); }
.lang-switch .ls.on { color: var(--canvas); background: var(--grad-cyan-h); font-weight: 700; }

.menu-btn { display: none; width: 44px; height: 44px; border-radius: 9px; border: 1px solid var(--stroke); align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; color: var(--ink); }

/* Mobile drawer */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10,10,20,0.97);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column;
  padding: 28px var(--pad-x);
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease-out);
}
.mobile-drawer.open { opacity: 1; pointer-events: auto; }
.mobile-drawer .md-top { display: flex; align-items: center; justify-content: space-between; height: 46px; }
.mobile-drawer nav { display: flex; flex-direction: column; gap: 4px; margin-top: 40px; }
.mobile-drawer nav a {
  font-family: var(--font-display); font-size: 30px; font-weight: 600;
  color: var(--ink); padding: 12px 0; border-bottom: 1px solid var(--stroke);
}
.mobile-drawer nav a.active { color: var(--teal-light); }
.mobile-drawer .md-cta { margin-top: 32px; }
.mobile-drawer .md-switch { margin-top: 28px; display: flex; }

/* ===================================================================
   FOOTER (injected) — premium Fikra ecosystem footer
   =================================================================== */
.site-footer { margin-top: clamp(40px,7vw,90px); }
.site-footer .f-shell {
  position: relative; overflow: hidden;
  border: 1px solid var(--stroke-teal);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse 50% 70% at 12% 0%, rgba(143,215,232,0.10), transparent 60%),
    radial-gradient(ellipse 50% 80% at 92% 10%, rgba(243,223,162,0.07), transparent 60%),
    linear-gradient(180deg, rgba(24,24,36,0.7), rgba(10,10,20,0.5));
  backdrop-filter: blur(6px);
  padding: clamp(32px,4.5vw,60px) clamp(24px,4vw,56px) clamp(20px,2.5vw,30px);
  margin-bottom: clamp(20px,3vw,40px);
}
.site-footer .f-grid {
  display: grid; grid-template-columns: 1.35fr 1.4fr 0.8fr 1.05fr;
  gap: clamp(28px,3vw,52px);
  padding-bottom: clamp(28px,3.5vw,44px);
}
@media (max-width: 1040px){ .site-footer .f-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; } }
@media (max-width: 600px){ .site-footer .f-grid { grid-template-columns: 1fr; } }

/* brand / mission panel */
.site-footer .f-brand .f-logo { height: 78px; width: auto; margin-bottom: 18px; }
.site-footer .f-title {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(28px,2.8vw,38px); line-height: 1.08; color: var(--ink); margin: 0 0 12px;
}
.site-footer .f-mission { color: var(--ink-mute); font-size: 19px; line-height: 1.6; max-width: 34ch; margin: 0 0 22px; }
.site-footer .f-cta { margin-bottom: 24px; }
.site-footer .f-lang { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--stroke); }
.site-footer .f-lang .f-lang-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); }

/* column headers */
.site-footer h4 {
  font-family: var(--font-mono); font-size: 14px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-light);
  margin: 0 0 20px; display: flex; align-items: center; gap: 8px;
}
.site-footer h4::before { content: ""; width: 14px; height: 1px; background: var(--teal-light); opacity: .7; }

/* family ecosystem cards */
.site-footer .fam-cards { display: flex; flex-direction: column; gap: 9px; }
.site-footer .fam-card {
  display: flex; align-items: center; gap: 13px;
  padding: 11px 14px; border-radius: 13px;
  border: 1px solid var(--stroke); background: rgba(18,18,30,0.6);
  transition: border-color .25s var(--ease-out), transform .25s var(--ease-out), background .25s;
}
.site-footer a.fam-card:hover { border-color: var(--teal-deep); transform: translateY(-2px); background: rgba(24,24,40,0.8); }
.site-footer .fam-card .fc-ico {
  width: 38px; height: 38px; flex: none; border-radius: 10px;
  display: grid; place-items: center; color: var(--teal-light);
  background: var(--teal-soft); border: 1px solid var(--stroke-teal);
}
.site-footer .fam-card.gold .fc-ico { color: var(--gold-light); background: var(--gold-soft); border-color: rgba(243,223,162,0.22); }
.site-footer .fam-card .fc-ico svg { width: 19px; height: 19px; stroke-width: 1.7; }
.site-footer .fam-card .fc-t { font-family: var(--font-body); font-weight: 700; font-size: 18px; color: var(--ink); line-height: 1.2; }
.site-footer .fam-card .fc-d { display: block; font-size: 15px; color: var(--ink-mute); margin-top: 3px; line-height: 1.4; }

/* explore links */
.site-footer .f-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.site-footer .f-col a { color: var(--ink-mute); font-size: 17px; transition: color .2s, padding .2s; position: relative; }
.site-footer .f-explore a:hover { color: var(--teal-light); padding-inline-start: 6px; }

/* connect / social */
.site-footer .f-social { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.site-footer .f-social a { display: flex; align-items: center; gap: 11px; color: var(--ink-2); transition: color .2s; }
.site-footer .f-social a:hover { color: var(--teal-light); }
.site-footer .f-social a:hover .fs-ico { border-color: var(--teal-deep); color: var(--teal-light); }
.site-footer .f-social .fs-ico {
  width: 32px; height: 32px; flex: none; border-radius: 9px; display: grid; place-items: center;
  border: 1px solid var(--stroke); color: var(--ink-mute); background: rgba(18,18,30,0.5); transition: border-color .2s, color .2s;
}
.site-footer .f-social .fs-ico svg { width: 16px; height: 16px; stroke-width: 1.8; }
.site-footer .f-social .fs-t { font-size: 17px; font-weight: 600; line-height: 1.15; }
.site-footer .f-social .fs-s { display: block; font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); margin-top: 2px; }

/* bottom bar */
.site-footer .f-bot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap;
  padding-top: clamp(20px,2.5vw,28px); border-top: 1px solid var(--stroke);
  font-size: 13px; color: var(--ink-faint);
}
.site-footer .f-legal { display: flex; align-items: center; gap: 20px; }
.site-footer .f-legal a { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-mute); transition: color .2s; }
.site-footer .f-legal a:hover { color: var(--teal-light); }
.site-footer .f-legal svg { width: 14px; height: 14px; }
.site-footer .f-copy { color: var(--ink-faint); }
.site-footer .f-sig { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-mute); }
.site-footer .f-sig .star { color: var(--gold-light); }

/* ===================================================================
   CTA BAND (reusable)
   =================================================================== */
.cta-band { padding-block: clamp(64px, 8vw, 110px); }
.cta-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--stroke-teal);
  background:
    radial-gradient(ellipse 60% 120% at 50% 0%, rgba(143,215,232,0.10), transparent 70%),
    var(--canvas-3);
  padding: clamp(40px, 6vw, 76px);
  text-align: center;
}
.cta-card h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(30px, 4.4vw, 54px); line-height: 1.1;
  letter-spacing: -0.022em; color: var(--ink); margin: 0 0 18px;
  text-wrap: balance;
}
.cta-card h2 em { font-style: italic; }
.cta-card p { color: var(--ink-mute); font-size: 18px; margin: 0 auto 32px; max-width: 56ch; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===================================================================
   REVEAL ON SCROLL
   =================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal.d1 { transition-delay: .08s; }
  .reveal.d2 { transition-delay: .16s; }
  .reveal.d3 { transition-delay: .24s; }
  .reveal.d4 { transition-delay: .32s; }
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1040px) {
  .nav-links, .header-cta .btn { display: none; }
  .menu-btn { display: flex; }
}
@media (max-width: 860px) {
  .site-footer .f-top { grid-template-columns: 1fr 1fr; }
  .site-footer .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .site-footer .f-top { grid-template-columns: 1fr 1fr; }
}

/* ===================================================================
   PREMIUM SCALE PATCH (FIKRA-TYPOGRAPHY-SCALE-02) — global, propagates to EN/AR/HE
   body-prefixed so it also lifts page-level section classes
   =================================================================== */
body .bse-tag { font-size: clamp(19px,1.7vw,23px); font-weight: 500; }
body .bse-sub  { font-size: clamp(15.5px,1.4vw,17px); }
body .bse-meaning .ml { font-size: clamp(22px,2.4vw,30px); }
/* stats bar */
body .stat .n { font-size: clamp(56px,6vw,82px); }
body .stat .l { font-size: 18px; color: var(--ink-2); line-height: 1.5; }
/* problem / benefit rows */
body .prob-row { padding: 26px 0; }
body .prob-row h4 { font-size: clamp(22px,2.2vw,30px); font-weight: 700; }
body .prob-row p  { font-size: clamp(17px,1.5vw,20px); line-height: 1.6; }
body .prob-row .px { width: 52px; height: 52px; }
body .prob-row .px svg { width: 24px; height: 24px; }
/* pillars + service mini + capability cards */
body .pillar h3 { font-size: clamp(26px,2.6vw,32px); font-weight: 700; }
body .pillar p, body .svc-mini .card p, body .cap p, body .who-card .who-body p { font-size: 17px; line-height: 1.6; }
body .who-card .who-body h3, body .cap h3 { font-size: 24px; font-weight: 700; }
/* services list rows */
body .card p { font-size: 17px; }
body .svc-mini .card p, body .cap p { font-size: 16px; }
body .svc h3 { font-weight: 700; }
body .svc p { font-size: clamp(17px,1.5vw,19px); line-height: 1.62; }
/* contact form */
body .ctrl { font-size: 17px; }
body label { font-size: 16px; }
body .ct-left .sub { font-size: 20px; }
body .ct-point h4 { font-size: 20px; }
body .ct-point p { font-size: 15.5px; }

/* ── RTL readability: more line-height, stronger weight, no AR letter-spacing ── */
html[dir="rtl"] body { line-height: 1.8; }
html[dir="rtl"] p, html[dir="rtl"] .card p, html[dir="rtl"] .bse-tag, html[dir="rtl"] .prob-row p, html[dir="rtl"] .lede, html[dir="rtl"] .f-mission { line-height: 1.85; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] .section-head h2, html[dir="rtl"] .card h3 { line-height: 1.22; letter-spacing: 0; }
html[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: 15px; }
html[lang="ar"] body { font-size: 19.5px; }
html[lang="he"] body, html[lang="he"] p, html[lang="he"] .card p { font-weight: 450; }
html[lang="he"] h1, html[lang="he"] h2, html[lang="he"] h3, html[lang="he"] .section-head h2 { font-weight: 700; }
