/* ============================================================
   MauriSync — shared multi-page structures
   Loads alongside styles.css; reuses :root tokens defined there.
   ============================================================ */

/* ------------------------------------------------------------
   Site shell
   ------------------------------------------------------------ */
.site-shell {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

/* ------------------------------------------------------------
   Header / persistent nav
   ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(14px, 1.8vw, 22px) clamp(20px, 3vw, 44px);
  background: linear-gradient(180deg, rgba(8,7,10,0.92), rgba(8,7,10,0.62));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

/* Header wordmark — stacked treatment (small version of brand-stack).
   Monogram on left, text-stack on right:
     row 1 col 2  →  MAURISYNC + gold border-bottom (the rule)
     row 2 col 2  →  ENERGY & MINERALS, centered under MAURISYNC */
.wordmark {
  display: inline-grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: clamp(10px, 1.4vw, 14px);
  row-gap: 3px;
  color: var(--bone);
  text-decoration: none;
}
.wordmark__mark {
  grid-column: 1;
  grid-row: 1 / -1;
  width: clamp(30px, 2.8vw, 38px);
  height: auto;
  filter: drop-shadow(0 0 8px rgba(240,189,78,0.45));
}
.wordmark__text {
  font-family: var(--font-wordmark);
  font-weight: 500;
  font-size: clamp(16px, 1.5vw, 21px);
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--bone);
  line-height: 1;
  /* No gold rule in the lockup (removed per Oumou, 2026-06-10). */
  border-left: 0;
  padding-left: 0;
  margin-left: 0;
}
.wordmark__sub {
  font-family: var(--font-wordmark);
  font-weight: 400;
  font-size: clamp(8.5px, 0.78vw, 11px);
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--bone-soft);
  text-align: center;
}
html[dir="rtl"] .wordmark__text { letter-spacing: 0; }
html[dir="rtl"] .wordmark__sub  { letter-spacing: 0.08em; }

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(4px, 1.4vw, 22px);
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.01em;
}
.site-nav a {
  position: relative;
  padding: 8px 12px;
  color: var(--bone-soft);
  border-radius: 2px;
  transition: color 220ms ease, background 220ms ease;
}
.site-nav a:hover {
  color: var(--bone);
  background: rgba(244,235,212,0.04);
}
.site-nav a.is-current {
  color: var(--gold-glow);
}
.site-nav a.is-current::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px;
  bottom: 4px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

/* Language switcher ----------------------------------------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(28,24,20,0.4);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.lang-switch button {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--bone-faint);
  padding: 5px 9px;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  transition: color 200ms ease, background 200ms ease;
}
.lang-switch button:hover { color: var(--bone-soft); }
.lang-switch button.is-current {
  background: var(--gold);
  color: var(--void);
}

/* ------------------------------------------------------------
   Page hero (non-home pages)
   ------------------------------------------------------------ */
.page-hero {
  position: relative; /* anchors the injected .vein--page motif */
  padding: clamp(80px, 12vw, 160px) clamp(20px, 4vw, 64px) clamp(70px, 9vw, 120px);
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.vein--page {
  height: clamp(80px, 12vw, 160px);
  opacity: 0.55;
}
.page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(22px, 3vh, 36px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-faint);
}
.page-hero .eyebrow__dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(240,189,78,0.6);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0 0 clamp(20px, 3vh, 36px);
  color: var(--bone);
}
.page-hero h1 em {
  color: var(--gold-glow);
  font-style: italic;
}
.page-hero .page-lede {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  line-height: 1.55;
  color: var(--bone-soft);
  max-width: 60ch;
  margin: 0;
}

/* ------------------------------------------------------------
   Page section
   ------------------------------------------------------------ */
.page-section {
  padding: clamp(60px, 9vw, 130px) clamp(20px, 4vw, 64px);
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.page-section + .page-section { padding-top: 0; }
.page-section header {
  margin-bottom: clamp(36px, 5vh, 60px);
  max-width: 64ch;
}
.page-section h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  color: var(--bone);
}
.page-section h2 em { color: var(--gold-glow); font-style: italic; }
.page-section .section-lede {
  font-size: clamp(0.98rem, 1.15vw, 1.1rem);
  color: var(--bone-soft);
  line-height: 1.6;
  margin: 0;
  max-width: 56ch;
}
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-faint);
  margin-bottom: 18px;
}
.section-eyebrow .dot {
  display: inline-block; width: 6px; height: 6px;
  background: var(--gold); border-radius: 50%;
  box-shadow: 0 0 12px rgba(240,189,78,0.6);
}

/* ------------------------------------------------------------
   Services — practice-area cards
   ------------------------------------------------------------ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 2.4vw, 36px);
}
.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 2.4vw, 32px);
  background: linear-gradient(180deg, rgba(28,24,20,0.55), rgba(28,24,20,0.05));
  border: 1px solid var(--line);
  border-top: 1px solid var(--line-strong);
  transition: border-color 280ms ease, transform 280ms ease;
}
.svc-card:hover {
  border-color: rgba(240,189,78,0.30);
  transform: translateY(-2px);
}
.svc-card__num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.svc-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 1.9vw, 1.7rem);
  letter-spacing: -0.01em;
  color: var(--bone);
  margin: 0;
}
.svc-card ul {
  list-style: none;
  padding: 0; margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.svc-card li {
  position: relative;
  padding-inline-start: 18px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--bone-soft);
}
.svc-card li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.65em;
  width: 10px; height: 1px;
  background: var(--gold);
}

/* ------------------------------------------------------------
   Reason cards (Why Mauritania)
   ------------------------------------------------------------ */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(18px, 2.2vw, 32px);
}
.reason {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(22px, 2.4vw, 32px) 0;
  border-top: 1px solid var(--line-strong);
  position: relative;
}
.reason::before {
  content: "";
  position: absolute;
  top: -1px; inset-inline-start: 0;
  width: 36px; height: 1px;
  background: var(--gold);
}
.reason__num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--gold);
}
.reason h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--bone);
}
.reason p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--bone-soft);
  max-width: 40ch;
}

/* ------------------------------------------------------------
   Contact strip + page
   (Commodities grid: see the periodic-table block further down.)
   ------------------------------------------------------------ */
.contact-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(18px, 2vw, 32px);
  padding: clamp(36px, 5vw, 64px);
  margin: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 64px);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(240,189,78,0.04), rgba(28,24,20,0.05));
}
.contact-strip--flush { margin: 0; }
.contact-strip .channel {
  display: flex; flex-direction: column; gap: 4px;
}
.channel__lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-faint);
}
.channel__val {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  color: var(--gold-glow);
  letter-spacing: -0.005em;
}
.channel__val a {
  border-bottom: 1px solid rgba(240,189,78,0.3);
  transition: border-color 220ms ease, color 220ms ease;
}
.channel__val a:hover {
  border-bottom-color: var(--gold);
  color: var(--bone);
}

.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: clamp(20px, 3vh, 30px);
}
.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--line-strong);
  background: rgba(28,24,20,0.5);
  color: var(--bone);
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease;
}
.btn:hover {
  background: rgba(240,189,78,0.08);
  border-color: var(--gold);
  color: var(--bone);
}
.btn--primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--void);
  font-weight: 500;
}
.btn--primary:hover {
  background: var(--gold-glow);
  border-color: var(--gold-glow);
  color: var(--void);
}

.page-section > .section-lede {
  margin: 0 0 clamp(24px, 3vw, 36px);
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.65;
  color: var(--bone-soft);
}

/* ------------------------------------------------------------
   Legal pages (privacy / imprint)
   ------------------------------------------------------------ */
.legal-h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  letter-spacing: -0.01em;
  margin: clamp(20px, 2.4vh, 28px) 0 8px;
  color: var(--bone);
}
.legal-h2:first-child { margin-top: 0; }
.legal-h2 em { color: var(--gold-glow); font-style: italic; }
.story-grid p a {
  color: var(--gold-glow);
  border-bottom: 1px solid rgba(240,189,78,0.3);
  transition: border-color 220ms ease, color 220ms ease;
}
.story-grid p a:hover {
  color: var(--bone);
  border-bottom-color: var(--gold);
}
.legal-meta {
  margin-top: clamp(28px, 3vw, 40px) !important;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-faint);
}

/* ------------------------------------------------------------
   Insights — empty state
   ------------------------------------------------------------ */
.insights-empty {
  padding: clamp(40px, 5vw, 64px);
  border: 1px dashed var(--line-strong);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  max-width: 540px;
  margin: 0 auto;
}
.insights-empty h2,
.insights-empty h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  color: var(--gold-glow);
  margin: 0;
}
.insights-empty p {
  margin: 0;
  color: var(--bone-soft);
  font-size: 14px;
  line-height: 1.55;
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.site-footer {
  margin-top: auto;
  padding: clamp(40px, 5vw, 64px) clamp(20px, 4vw, 64px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8,7,10,0) 0%, rgba(8,7,10,0.6) 100%);
}
.site-footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(24px, 4vw, 60px);
  align-items: end;
}
.site-footer__left { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.site-footer .wordmark { color: var(--bone); }
.site-footer__tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: var(--bone-soft);
}
.site-footer__right {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--bone-faint);
}
.site-footer__right a {
  color: var(--bone-soft);
  border-bottom: 1px solid var(--line);
  transition: color 220ms ease, border-color 220ms ease;
}
.site-footer__right a:hover { color: var(--gold-glow); border-bottom-color: var(--line-gold); }
.site-footer__legal {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--bone-mute);
}
.site-footer__legal-btn {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  letter-spacing: inherit;
  color: var(--bone-soft);
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: color 220ms ease, border-color 220ms ease;
}
.site-footer__legal-btn:hover { color: var(--gold-glow); border-bottom-color: var(--line-gold); }
.site-footer__legal-btn:focus-visible { outline: 2px solid var(--gold-glow); outline-offset: 2px; }
.site-footer__copy {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-mute);
  margin-top: 14px;
}

/* ------------------------------------------------------------
   Home — teaser cards (services + mauritania teasers on home)
   ------------------------------------------------------------ */
.home-teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(18px, 2.4vw, 36px);
}
.teaser {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 2.6vw, 36px);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(28,24,20,0.55), rgba(28,24,20,0.05));
  transition: border-color 280ms ease, transform 280ms ease;
}
.teaser:hover {
  border-color: rgba(240,189,78,0.30);
  transform: translateY(-2px);
}
.teaser h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--bone);
}
.teaser p {
  font-size: 14px;
  color: var(--bone-soft);
  line-height: 1.6;
  margin: 0;
}
.teaser__cta {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-glow);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.teaser__cta::after {
  content: "→";
  transition: transform 240ms ease;
}
.teaser:hover .teaser__cta::after { transform: translateX(4px); }

/* ------------------------------------------------------------
   About page — story block
   ------------------------------------------------------------ */
.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px);
  max-width: 70ch;
}
.story-grid p {
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.65;
  color: var(--bone-soft);
  margin: 0;
}
.story-grid p strong { color: var(--bone); font-weight: 500; }

/* ------------------------------------------------------------
   Brand moment — full stacked wordmark (matches reference image)
   MS monogram · MAURISYNC · gold rule · ENERGY & MINERALS
   ------------------------------------------------------------ */
.brand-moment {
  position: relative;
  padding: clamp(60px, 9vw, 120px) clamp(40px, 6vw, 120px);
  max-width: 1600px;             /* roomier — lets the rule reach near the right edge */
  margin: 0 auto;
  display: grid;
  place-items: start;            /* anchor the brand-stack to the left, not center */
  text-align: start;
}
.brand-moment::before,
.brand-moment::after {
  content: "";
  position: absolute;
  inset-inline: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.brand-moment::before { top: clamp(30px, 4vw, 60px); }
.brand-moment::after  { bottom: clamp(30px, 4vw, 60px); }

.brand-stack {
  display: grid;
  grid-template-columns: auto 1fr;          /* monogram fixed · text column fills width */
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  width: 100%;                              /* fills the brand-moment content area */
}
.brand-stack__mark {
  width: clamp(56px, 7vw, 92px);
  height: auto;
  filter: drop-shadow(0 0 12px rgba(240,189,78,0.45));
}
/* Text block uses a 2-column grid:
   col 1 = MAURISYNC width (max-content), col 2 = fills remaining space.
   MAURISYNC sits in row 1 col 1.
   Rule spans BOTH columns in row 2 (extends far to the right).
   ENERGY & MINERALS sits in row 3 col 1, CENTERED within col 1 = centered under MAURISYNC. */
.brand-stack__text {
  display: grid;
  grid-template-columns: max-content 1fr;
  grid-template-rows: auto auto auto;
  row-gap: 14px;
  width: 100%;
  align-items: center;
}
.brand-stack__name {
  grid-column: 1 / 2;
  grid-row: 1;
  justify-self: start;
  font-family: var(--font-wordmark);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone);
  line-height: 1;
}
.brand-stack__rule {
  grid-column: 1 / -1;            /* spans both columns — extends past MAURISYNC */
  grid-row: 2;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--gold)  3%,
    var(--gold) 97%,
    transparent 100%);
  opacity: 0.9;
}
.brand-stack__sub {
  grid-column: 1 / 2;             /* sits under MAURISYNC's column */
  grid-row: 3;
  justify-self: center;           /* centered within MAURISYNC's width */
  font-family: var(--font-wordmark);
  font-weight: 400;
  font-size: clamp(0.85rem, 1.1vw, 1.05rem);
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--bone-soft);
}
@media (max-width: 540px) {
  .brand-stack { grid-template-columns: 1fr; justify-items: center; gap: 16px; }
  .brand-stack__text { grid-template-columns: 1fr; }
  .brand-stack__name,
  .brand-stack__sub  { grid-column: 1 / -1; justify-self: center; }
}
html[dir="rtl"] .brand-stack__name { letter-spacing: 0; }
html[dir="rtl"] .brand-stack__sub  { letter-spacing: 0.06em; }

/* (The old home "recognition strip" component was removed — its .recognition
   class collided with the Recognition section styled in styles.css.) */

/* ------------------------------------------------------------
   Founder spotlight (home)
   ------------------------------------------------------------ */
.founder-spot {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(60px, 9vw, 120px) clamp(20px, 4vw, 64px);
}
.founder-spot__left { display: flex; flex-direction: column; gap: clamp(18px, 2.4vh, 28px); }
.founder-spot__left .section-eyebrow { margin-bottom: 0; }
.founder-spot__left h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--bone);
}
.founder-spot__left h2 em { color: var(--gold-glow); font-style: italic; }
.founder-spot__left p {
  margin: 0;
  font-size: clamp(0.98rem, 1.15vw, 1.1rem);
  line-height: 1.6;
  color: var(--bone-soft);
  max-width: 50ch;
}
.founder-spot__left p strong { color: var(--bone); font-weight: 500; }
.founder-spot__cta { margin-top: clamp(8px, 1.4vh, 16px); align-self: flex-start; }

.founder-spot__right {
  position: relative;
  padding: clamp(24px, 3vw, 44px);
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(240,189,78,0.05), rgba(28,24,20,0.05));
}
.founder-spot__right::before {
  content: "“";
  position: absolute;
  top: -28px; inset-inline-start: clamp(16px, 2.4vw, 28px);
  font-family: var(--font-display);
  font-size: 7rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.5;
}
.founder-spot__right blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.4;
  color: var(--bone);
  margin: 0 0 18px;
  max-width: 50ch;
}
.founder-spot__right figcaption {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-faint);
}
.founder-spot__right .pull-dash {
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--gold);
}
.founder-spot__right .author {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--gold-glow);
  text-transform: none;
  letter-spacing: -0.005em;
}

/* ------------------------------------------------------------
   Stats strip
   ------------------------------------------------------------ */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(20px, 2.6vw, 40px);
}
.stat-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(20px, 2vw, 28px) 0;
  border-top: 1px solid var(--line-strong);
  position: relative;
}
.stat-block::before {
  content: "";
  position: absolute;
  top: -1px; inset-inline-start: 0;
  width: 32px; height: 1px;
  background: var(--gold);
}
.stat-block__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1;
  color: var(--bone);
  letter-spacing: -0.02em;
}
.stat-block__num em {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.55em;
  color: var(--gold-glow);
  margin-inline-start: 4px;
}
.stat-block__lbl {
  font-size: 13px;
  color: var(--bone-soft);
  line-height: 1.5;
}

/* ------------------------------------------------------------
   Mauritania SVG map
   ------------------------------------------------------------ */
.country-map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
}
.country-map__svg {
  width: 100%;
  height: auto;
  max-width: 520px;
  margin-inline: auto;
  filter: drop-shadow(0 0 36px rgba(240,189,78,0.12));
}
.country-map__svg .border {
  fill: rgba(244,235,212,0.04);
  stroke: var(--gold);
  stroke-width: 1.2;
}
.country-map__svg .basin {
  fill: rgba(240,189,78,0.10);
  stroke: rgba(240,189,78,0.5);
  stroke-dasharray: 4 3;
  stroke-width: 0.8;
}
.country-map__svg .marker {
  fill: var(--gold);
  filter: drop-shadow(0 0 6px rgba(240,189,78,0.9));
}
.country-map__svg .marker--ring {
  fill: none;
  stroke: var(--gold);
  stroke-width: 0.6;
  opacity: 0.6;
}
.country-map__svg text {
  fill: var(--bone-soft);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.country-map__svg .city {
  fill: var(--bone);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
}
.country-map__legend {
  display: flex; flex-direction: column;
  gap: 14px;
}
.country-map__legend h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.3rem, 1.9vw, 1.7rem);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  color: var(--bone);
}
.country-map__legend h3 em { color: var(--gold-glow); font-style: italic; }
.country-map__legend ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.country-map__legend li {
  position: relative;
  padding-inline-start: 22px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--bone-soft);
}
.country-map__legend li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0; top: 0.6em;
  width: 12px; height: 1px;
  background: var(--gold);
}
.country-map__legend strong { color: var(--bone); font-weight: 500; }

/* ------------------------------------------------------------
   Commodities — richer "periodic-table" style
   ------------------------------------------------------------ */
.commodity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: clamp(12px, 1.4vw, 20px);
}
.commodity {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
  padding: clamp(20px, 2vw, 28px);
  background: linear-gradient(180deg, rgba(28,24,20,0.55), rgba(28,24,20,0.05));
  border: 1px solid var(--line);
  border-top: 1px solid var(--line-strong);
  aspect-ratio: 1 / 1.15;
  overflow: hidden;
  transition: border-color 280ms ease, transform 280ms ease;
}
.commodity:hover {
  border-color: rgba(240,189,78,0.4);
  transform: translateY(-2px);
}
.commodity::before {
  content: "";
  position: absolute;
  inset: auto -30% -50% auto;
  width: 80%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,189,78,0.10), transparent 65%);
  pointer-events: none;
}
.commodity__sym {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold);
  align-self: start;
}
.commodity__name {
  align-self: end;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: var(--gold-glow);
}

/* ------------------------------------------------------------
   Floating WhatsApp button (sticky, all pages)
   ------------------------------------------------------------ */
.fab-whatsapp {
  position: fixed;
  bottom: clamp(18px, 3vh, 32px);
  inset-inline-end: clamp(18px, 3vh, 32px);
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px 13px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
  color: #08070A;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.01em;
  box-shadow:
    0 8px 24px rgba(37,211,102,0.30),
    0 2px 6px rgba(0,0,0,0.40);
  transition: transform 240ms ease, box-shadow 240ms ease;
}
.fab-whatsapp:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 12px 32px rgba(37,211,102,0.45),
    0 2px 8px rgba(0,0,0,0.45);
}
.fab-whatsapp__icon {
  width: 22px; height: 22px;
  fill: #08070A;
  flex-shrink: 0;
}
.fab-whatsapp__txt { white-space: nowrap; }
@media (max-width: 540px) {
  .fab-whatsapp { padding: 12px; }
  .fab-whatsapp__txt { display: none; }
}

/* ------------------------------------------------------------
   Scroll-reveal motion (used across all pages)
   ------------------------------------------------------------ */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 900ms cubic-bezier(.16, 1, .3, 1),
    transform 900ms cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal][data-i="1"] { --reveal-delay: 60ms;  }
[data-reveal][data-i="2"] { --reveal-delay: 140ms; }
[data-reveal][data-i="3"] { --reveal-delay: 220ms; }
[data-reveal][data-i="4"] { --reveal-delay: 300ms; }
[data-reveal][data-i="5"] { --reveal-delay: 380ms; }
[data-reveal][data-i="6"] { --reveal-delay: 460ms; }

/* ------------------------------------------------------------
   Translate-on-load fade
   ------------------------------------------------------------ */
.i18n-loading [data-i18n] { opacity: 0; transition: opacity 240ms ease; }
.i18n-ready  [data-i18n]  { opacity: 1; }

/* ------------------------------------------------------------
   RTL adjustments (Arabic)
   ------------------------------------------------------------ */
html[dir="rtl"] {
  font-family: 'Noto Naskh Arabic', 'Amiri', var(--font-sans);
}
html[dir="rtl"] body {
  font-family: 'Noto Naskh Arabic', 'Amiri', var(--font-sans);
  letter-spacing: 0;
}
html[dir="rtl"] .site-footer__right { align-items: flex-start; }
html[dir="rtl"] .teaser__cta::after { content: "←"; }
html[dir="rtl"] .teaser:hover .teaser__cta::after { transform: translateX(-4px); }

/* Tweak display headings in Arabic — Naskh prefers slightly larger sizes */
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] .page-hero h1 {
  font-family: 'Amiri', 'Noto Naskh Arabic', var(--font-display);
  font-style: normal;
  letter-spacing: 0;
  line-height: 1.25;
}
html[dir="rtl"] h1 em,
html[dir="rtl"] h2 em,
html[dir="rtl"] .page-hero h1 em {
  font-style: normal;
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
/* Responsive — new sections ------------------------------- */
@media (max-width: 900px) {
  .founder-spot { grid-template-columns: 1fr; }
  .country-map  { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   Mobile navigation — hamburger toggle (injected by site.js)
   ------------------------------------------------------------ */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 40px;
  padding: 0;
  background: rgba(28,24,20,0.4);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 1.6px;
  background: var(--bone);
  transition: transform 240ms ease, opacity 200ms ease;
}
.nav-toggle:focus-visible { outline: 2px solid var(--gold-glow); outline-offset: 2px; }
body.nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
body.nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

@media (max-width: 900px) {
  .site-header {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .site-header .wordmark { margin-inline-end: auto; }
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 8px clamp(20px, 3vw, 44px) 16px;
    background: rgba(8,7,10,0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 220ms ease, transform 220ms ease, visibility 0s linear 220ms;
  }
  body.nav-open .site-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 220ms ease, transform 220ms ease;
  }
  .site-nav a {
    padding: 13px 8px;
    font-size: 14.5px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
  }
  .site-nav a:last-child { border-bottom: 0; }
  /* Non-color current-page cue in the stacked menu (WCAG 1.4.1) */
  .site-nav a.is-current::after { display: none; }
  .site-nav a.is-current {
    font-weight: 600;
    border-inline-start: 2px solid var(--gold);
    padding-inline-start: 14px;
  }

  .site-footer__inner { grid-template-columns: 1fr; align-items: flex-start; }
  .site-footer__right { align-items: flex-start; }
}
@media (max-width: 540px) {
  .wordmark__sub { display: none; }
  .lang-switch { padding: 3px; }
  .lang-switch button { padding: 4px 7px; font-size: 9.5px; }
}
