/* =========================================================================
   CRP Africa — Continental Resource Partners
   Design system derived from the Finovate (VamTam) kit:
   #1C4B42 forest · #B4E717 lime · #F6F5F2 paper · #92C200 deep lime · Work Sans
   ========================================================================= */

@font-face { font-family: "Work Sans"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("../fonts/work-sans-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/work-sans-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Work Sans"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("../fonts/work-sans-latin-ext-wght-normal.woff2") format("woff2-variations"), url("../fonts/work-sans-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --forest: #1C4B42;
  --forest-deep: #143832;
  --forest-ink: #0E2A25;
  --lime: #B4E717;
  --lime-deep: #92C200;
  --lime-soft: #E9F7B8;
  --paper: #F6F5F2;
  --paper-2: #EEEDE7;
  --white: #FFFFFF;
  --text: #334844;
  --muted: #56635F;
  --line: rgba(28, 75, 66, 0.14);
  --line-strong: rgba(28, 75, 66, 0.28);
  --line-on-dark: rgba(246, 245, 242, 0.16);
  --gold: #C9A227;
  --danger: #B23A2B;
  --ok: #2F7D4F;

  --font: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-xl: 24px;
  --r-lg: 16px;
  --r-md: 10px;
  --r-pill: 999px;

  --wrap: 1320px;
  --gutter: clamp(16px, 3.2vw, 40px);
  --section: clamp(72px, 9vw, 128px);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-float: 0 24px 60px -28px rgba(14, 42, 37, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } }
body {
  margin: 0; background: var(--white); color: var(--text);
  font: 400 17px/1.6 var(--font); letter-spacing: -0.005em;
  font-feature-settings: "ss01", "tnum" 0; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--forest-ink); }
:focus-visible { outline: 2px solid var(--lime-deep); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible { outline-color: var(--lime); }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--lime); color: var(--forest-ink); padding: 10px 16px; border-radius: var(--r-pill); font-weight: 500; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
h1, h2, h3, h4, h5 { color: var(--forest); margin: 0 0 .5em; font-weight: 400; }
.display { font-size: clamp(40px, 4.7vw, 76px); line-height: 1.0; letter-spacing: -0.035em; font-weight: 400; }
h1, .h1 { font-size: clamp(40px, 5.2vw, 72px); line-height: 1.02; letter-spacing: -0.03em; }
h2, .h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.08; letter-spacing: -0.022em; }
h3, .h3 { font-size: clamp(23px, 2.1vw, 30px); line-height: 1.2; font-weight: 500; letter-spacing: -0.012em; }
h4, .h4 { font-size: 21px; line-height: 1.3; font-weight: 500; letter-spacing: -0.01em; }
h5, .h5 { font-size: 17px; line-height: 1.35; font-weight: 500; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--text); max-width: 62ch; }
.small { font-size: 14px; line-height: 1.5; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.measure { max-width: 68ch; }
strong { font-weight: 600; color: var(--forest); }
.on-dark strong { color: var(--paper); }
.on-dark .lead { color: rgba(246,245,242,.78); }

/* Section tag — the theme's bordered pill label (sentence case) */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px; border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  font-size: 14px; line-height: 1.2; font-weight: 500; color: var(--forest); margin-bottom: 22px; align-self: flex-start; width: fit-content; max-width: 100%;
}
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(180, 231, 23, .22); }
.on-dark .tag { color: var(--paper); border-color: var(--line-on-dark); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--paper { background: var(--paper); }
.inset { margin: 10px; border-radius: var(--r-xl); }
.on-dark { color: rgba(246, 245, 242, .82); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4, .on-dark h5 { color: var(--paper); }
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(32px, 4vw, 56px); flex-wrap: wrap; }
.head-row h2 { margin: 0; max-width: 18ch; }
.head-row .lead { margin: 0; max-width: 46ch; }
@media (max-width: 900px) { .split, .split--even { grid-template-columns: 1fr; } }

/* ---------- Buttons (theme: pill + circular arrow chip) ---------- */
.btn {
  --bg: var(--lime); --fg: var(--forest-ink); --chip: var(--forest); --chip-fg: var(--lime);
  display: inline-flex; align-items: center; gap: 14px; padding: 6px 6px 6px 24px; min-height: 52px;
  background: var(--bg); color: var(--fg); border: 0; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.btn .chip { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--chip); color: var(--chip-fg); transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease); flex: none; }
.btn .chip svg { width: 16px; height: 16px; }
.btn:hover { --bg: var(--forest); --fg: var(--paper); --chip: var(--lime); --chip-fg: var(--forest); }
.btn:hover .chip { transform: rotate(-45deg); }
.btn--dark { --bg: var(--forest); --fg: var(--paper); --chip: var(--lime); --chip-fg: var(--forest); }
.btn--dark:hover { --bg: var(--lime); --fg: var(--forest-ink); --chip: var(--forest); --chip-fg: var(--lime); }
.btn--ghost { --bg: transparent; --fg: var(--forest); --chip: var(--paper); --chip-fg: var(--forest); box-shadow: inset 0 0 0 1px var(--line-strong); }
.on-dark .btn--ghost { --fg: var(--paper); --chip: rgba(246,245,242,.12); --chip-fg: var(--paper); box-shadow: inset 0 0 0 1px var(--line-on-dark); }
.btn--ghost:hover { --bg: var(--forest); --fg: var(--paper); --chip: var(--lime); --chip-fg: var(--forest); box-shadow: none; }
.on-dark .btn--ghost:hover { --bg: var(--paper); --fg: var(--forest); --chip: var(--lime); --chip-fg: var(--forest); }
.btn--sm { min-height: 44px; padding-left: 18px; font-size: 14px; }
.btn--sm .chip { width: 32px; height: 32px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--forest); text-decoration: none; font-size: 15px; }
.link-arrow .chip { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); transition: background .3s var(--ease), transform .3s var(--ease); }
.link-arrow .chip svg { width: 13px; height: 13px; }
.link-arrow:hover .chip { background: var(--lime); transform: rotate(-45deg); }
.on-dark .link-arrow { color: var(--paper); }
.on-dark .link-arrow .chip { background: rgba(246,245,242,.12); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 10px 10px auto 10px; z-index: 50; border-radius: var(--r-xl); transition: background .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease); }
.site-header .bar { display: flex; align-items: center; gap: 24px; height: 76px; padding-inline: clamp(14px, 2vw, 28px); }
.site-header.is-solid { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); box-shadow: 0 1px 0 var(--line), 0 18px 40px -30px rgba(14,42,37,.35); }
.site-header.is-hidden { transform: translateY(-120%); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--paper); flex: none; }
.brand svg { width: 38px; height: 44px; }
.brand .wm { display: flex; flex-direction: column; line-height: 1; }
.brand .wm b { font-weight: 600; font-size: 19px; letter-spacing: -0.02em; color: inherit; }
.brand .wm span { font-size: 11px; letter-spacing: .02em; opacity: .88; margin-top: 4px; }
.site-header.is-solid .brand, .site-header.theme-light .brand { color: var(--forest); }
.nav { display: flex; gap: 4px; margin-inline: auto; }
.nav > li { list-style: none; position: relative; }
.nav ul { padding: 0; margin: 0; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: var(--r-pill); font-size: 15px; font-weight: 500; letter-spacing: -0.02em; color: var(--paper); text-decoration: none; background: none; border: 0; cursor: pointer; }
.nav-link svg { width: 10px; height: 10px; transition: transform .3s var(--ease); }
.site-header.is-solid .nav-link, .site-header.theme-light .nav-link { color: var(--forest); }
.nav-link:hover, .nav-link[aria-expanded="true"] { background: rgba(246,245,242,.14); }
.site-header.is-solid .nav-link:hover, .site-header.is-solid .nav-link[aria-expanded="true"], .site-header.theme-light .nav-link:hover, .site-header.theme-light .nav-link[aria-expanded="true"] { background: var(--paper); }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--lime); border-radius: 0; }
.mega { position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px); width: min(760px, 92vw); background: var(--white); border-radius: var(--r-xl); box-shadow: var(--shadow-float), 0 0 0 1px var(--line); padding: 14px; opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mega.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega a { display: block; padding: 14px 16px; border-radius: var(--r-lg); text-decoration: none; color: var(--forest); }
.mega a:hover { background: var(--paper); }
.mega a b { display: block; font-weight: 500; font-size: 15.5px; }
.mega a span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.4; margin-top: 3px; }
.mega .mega-feature { grid-row: span 3; background: var(--forest); color: var(--paper); padding: 22px; border-radius: var(--r-lg); display: flex; flex-direction: column; justify-content: space-between; min-height: 220px; position: relative; overflow: hidden; }
.mega .mega-feature b { color: var(--paper); font-size: 20px; font-weight: 400; letter-spacing: -0.02em; }
.mega .mega-feature span { color: rgba(246,245,242,.7); }
.mega .mega-feature:hover { background: var(--forest-deep); }
.mega--specimens { grid-template-columns: repeat(4, 1fr); width: min(680px, 92vw); }
.mega--specimens a { padding: 12px; }
.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.portal-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: var(--paper); text-decoration: none; padding: 10px 14px; border-radius: var(--r-pill); }
.portal-link svg { width: 16px; height: 16px; }
.site-header.is-solid .portal-link, .site-header.theme-light .portal-link { color: var(--forest); }
.portal-link:hover { background: rgba(246,245,242,.14); }
.site-header.is-solid .portal-link:hover, .site-header.theme-light .portal-link:hover { background: var(--paper); }
.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--lime); color: var(--forest-ink); cursor: pointer; place-items: center; }
.menu-toggle svg { width: 20px; height: 20px; }
@media (max-width: 1180px) { .nav, .header-actions .btn, .portal-link .label { display: none; } .menu-toggle { display: grid; } .header-actions { margin-left: auto; } }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 60; background: var(--forest); color: var(--paper); padding: 96px var(--gutter) 32px; overflow-y: auto; transform: translateY(-100%); transition: transform .5s var(--ease); visibility: hidden; }
.drawer.is-open { transform: none; visibility: visible; }
.drawer details { border-bottom: 1px solid var(--line-on-dark); }
.drawer summary, .drawer > a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 24px; letter-spacing: -0.02em; cursor: pointer; list-style: none; text-decoration: none; color: var(--paper); }
.drawer > a { border-bottom: 1px solid var(--line-on-dark); }
.drawer summary::-webkit-details-marker { display: none; }
.drawer details a { display: block; padding: 10px 0; color: rgba(246,245,242,.8); text-decoration: none; font-size: 17px; }
.drawer details div { padding-bottom: 16px; }
.drawer .btn { margin-top: 28px; }
.drawer-close { position: absolute; top: 24px; right: var(--gutter); width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--lime); color: var(--forest-ink); display: grid; place-items: center; cursor: pointer; }
.drawer-close svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: calc(100svh - 20px); background: var(--forest); color: var(--paper); overflow: hidden; display: grid; grid-template-rows: 1fr auto; grid-template-columns: minmax(0, 1fr); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 70% at 78% 42%, rgba(180,231,23,.10), transparent 60%),
  radial-gradient(80% 60% at 10% 100%, rgba(14,42,37,.9), transparent 70%),
  linear-gradient(160deg, #1f5248 0%, var(--forest) 45%, var(--forest-deep) 100%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(16px, 3vw, 48px); padding: 112px var(--gutter) 28px; max-width: 1480px; margin-inline: auto; width: 100%; }
.hero-copy { position: relative; z-index: 2; max-width: 680px; min-width: 0; }
.hero-inner > * { min-width: 0; }
.hero h1 { color: var(--paper); margin-bottom: 28px; }
.hero h1 .rule { display: block; width: clamp(80px, 9vw, 150px); height: 3px; background: var(--lime); margin: 18px 0 16px; border-radius: 3px; }
.hero .lead { color: rgba(246,245,242,.78); margin-bottom: 32px; max-width: 54ch; font-size: clamp(17px, 1.3vw, 19px); }
.hero-map { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: min(640px, calc(100svh - 230px)); justify-self: end; }
.hero-map svg { width: 100%; height: 100%; overflow: visible; }
.hero-map .contours { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero-map.is-ready .contours { opacity: 1; }
.map-country { fill: transparent; stroke: rgba(246,245,242,.16); stroke-width: .6; transition: fill .3s var(--ease); }
.map-country.is-focus { fill: rgba(180,231,23,.07); stroke: rgba(246,245,242,.28); }
.map-outline { fill: none; stroke: rgba(246,245,242,.74); stroke-width: .9; }
.corridor { fill: none; stroke: var(--lime); stroke-width: 1.3; stroke-linecap: round; stroke-dasharray: 4 6; opacity: .85; }
.corridor-glow { fill: none; stroke: var(--lime); stroke-width: 6; opacity: .08; }
.hub-dot { fill: var(--lime); }
.hub-ring { fill: none; stroke: var(--lime); stroke-width: 1; opacity: .5; transform-box: fill-box; transform-origin: center; animation: ping 3.2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .7; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
.hub-label { font: 500 11.5px var(--font); fill: var(--paper); letter-spacing: -0.01em; paint-order: stroke; stroke: #1a463e; stroke-width: 4px; stroke-linejoin: round; }
.hub-label tspan.sub { fill: rgba(246,245,242,.74); font-weight: 400; font-size: 10px; }
.hq-dot { fill: var(--forest); stroke: var(--lime); stroke-width: 2.5; }
.hero-stamp { position: absolute; left: 4%; bottom: 6%; font-size: 12px; color: rgba(246,245,242,.74); line-height: 1.5; }
.hero-stamp b { color: var(--lime); font-weight: 500; }
@media (max-width: 980px) { .hero-inner { grid-template-columns: 1fr; padding-top: 112px; } .hero-map { max-width: 520px; justify-self: center; margin-top: -10px; } }
@media (max-width: 560px) { .hero-map .hub-label { font-size: 17px; } .hero-map .hub-label tspan.sub { display: none; } .hero-inner { padding-top: 104px; } }

/* Ticker inside hero */
.ticker { border-top: 1px solid var(--line-on-dark); position: relative; z-index: 2; }
.ticker-inner { display: flex; align-items: stretch; max-width: 1480px; margin: 0 auto; padding-inline: var(--gutter); }
.ticker-title { flex: none; display: flex; flex-direction: column; justify-content: center; padding: 18px 28px 18px 0; border-right: 1px solid var(--line-on-dark); font-size: 13px; color: rgba(246,245,242,.74); line-height: 1.35; min-width: 168px; }
.ticker-title b { color: var(--paper); font-weight: 500; font-size: 14px; }
.ticker-list { display: flex; overflow-x: auto; scrollbar-width: none; flex: 1; margin: 0; padding: 0; list-style: none; }
.ticker-list::-webkit-scrollbar { display: none; }
.ticker-item { flex: 1 0 auto; min-width: 180px; padding: 16px 24px; border-right: 1px solid var(--line-on-dark); display: grid; gap: 2px; }
.ticker-item:last-child { border-right: 0; }
.ticker-item .k { font-size: 13px; color: rgba(246,245,242,.74); display: flex; gap: 8px; align-items: baseline; }
.ticker-item .k abbr { text-decoration: none; color: var(--lime); font-weight: 600; font-size: 12px; }
.ticker-item .v { font-size: 20px; color: var(--paper); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.ticker-item .v small { font-size: 12px; color: rgba(246,245,242,.74); margin-left: 4px; }
.ticker-item .d { font-size: 12px; color: rgba(246,245,242,.74); }
.ticker-item .d.up { color: var(--lime); }
.ticker-item .d.down { color: #F2B8A8; }
@media (max-width: 760px) { .ticker-title { display: none; } .ticker-inner { padding-inline: 0; } .ticker-item { min-width: 160px; } }

/* ---------- Page hero (interior) ---------- */
.page-hero { position: relative; background: var(--forest); color: var(--paper); overflow: hidden; padding: 160px 0 72px; isolation: isolate; }
.page-hero::after { content: ""; position: absolute; right: -6%; top: -10%; width: min(620px, 70vw); aspect-ratio: 506/568; background: url("../img/africa-contours.svg") center/contain no-repeat; opacity: .55; z-index: -1; }
.page-hero h1 { color: var(--paper); max-width: 18ch; }
.page-hero .lead { color: rgba(246,245,242,.78); }
.page-hero--paper { background: var(--paper); color: var(--text); }
.page-hero--paper h1 { color: var(--forest); }
.page-hero--paper .lead { color: var(--text); }
.page-hero--paper::after { opacity: .0; }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13.5px; color: rgba(246,245,242,.74); margin: 0 0 28px; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { color: rgba(246,245,242,.85); text-decoration: none; }
.crumbs a:hover { color: var(--lime); }
.page-hero--paper .crumbs, .page-hero--paper .crumbs a { color: var(--muted); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; padding: 0; list-style: none; }
.hero-facts li { padding: 8px 14px; border: 1px solid var(--line-on-dark); border-radius: var(--r-pill); font-size: 14px; color: rgba(246,245,242,.85); }

/* ---------- Cards & tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 10px; }
.tile { position: relative; border-radius: var(--r-xl); background: var(--paper); padding: 28px; min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; color: var(--forest); transition: background .4s var(--ease); overflow: hidden; }
.tile:hover { background: var(--lime); }
.tile .tile-k { font-size: 14px; color: var(--muted); display: flex; justify-content: space-between; align-items: center; }
.tile:hover .tile-k { color: var(--forest); }
.tile h3, .tile .tile-h { font-weight: 400; margin: 24px 0 0; max-width: 20ch; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.2; letter-spacing: -0.012em; }
.tile .round { width: 44px; height: 44px; border-radius: 50%; background: var(--white); display: grid; place-items: center; transition: transform .4s var(--ease), background .4s var(--ease); flex: none; }
.tile .round svg { width: 15px; height: 15px; }
.tile:hover .round { transform: rotate(-45deg); background: var(--forest); color: var(--lime); }
.tile--dark { background: var(--forest); color: var(--paper); }
.tile--dark h3, .tile--dark .tile-h { color: var(--paper); }
.tile--dark .tile-k { color: rgba(246,245,242,.74); }
.tile--dark .round { background: rgba(246,245,242,.12); color: var(--paper); }
.tile--dark:hover { background: var(--forest-deep); }
.tile--dark:hover .tile-k { color: rgba(246,245,242,.8); }
.tile--dark:hover .round { background: var(--lime); color: var(--forest); }
.tile--lime { background: var(--lime); }
.tile--lime:hover { background: var(--lime-deep); }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr; } .tile { min-height: 180px; } }

.card { background: var(--paper); border-radius: var(--r-xl); padding: clamp(24px, 2.4vw, 36px); }
.card--white { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.card--glass { background: rgba(246,245,242,.06); box-shadow: inset 0 0 0 1px var(--line-on-dark); border-radius: var(--r-xl); padding: 28px; }
.card h3, .card h4 { margin-bottom: .45em; }

/* ---------- Practice split (minerals | carbon) ---------- */
.practices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 10px; }
.practice { border-radius: var(--r-xl); padding: clamp(28px, 4vw, 56px); min-height: 640px; display: flex; flex-direction: column; position: relative; overflow: hidden; isolation: isolate; }
.practice--minerals { background: var(--paper); }
.practice--carbon { background: var(--forest); color: rgba(246,245,242,.82); }
.practice--carbon h2, .practice--carbon h3 { color: var(--paper); }
.practice h2 { max-width: 14ch; }
.practice .lead { margin-bottom: 32px; }
.practice-list { list-style: none; padding: 0; margin: auto 0 32px; border-top: 1px solid var(--line); }
.practice--carbon .practice-list { border-color: var(--line-on-dark); }
.practice-list li { border-bottom: 1px solid var(--line); }
.practice--carbon .practice-list li { border-color: var(--line-on-dark); }
.practice-list a { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 20px 0; text-decoration: none; }
.practice-list a b { font-weight: 500; font-size: 19px; letter-spacing: -0.015em; color: var(--forest); display: block; }
.practice--carbon .practice-list a b { color: var(--paper); }
.practice-list a span { font-size: 14.5px; color: var(--muted); display: block; margin-top: 4px; }
.practice--carbon .practice-list a span { color: rgba(246,245,242,.74); }
.practice-list .chip { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--white); transition: background .3s var(--ease), transform .3s var(--ease); }
.practice--carbon .practice-list .chip { background: rgba(246,245,242,.1); color: var(--paper); }
.practice-list .chip svg { width: 14px; height: 14px; }
.practice-list a:hover .chip { background: var(--lime); color: var(--forest); transform: rotate(-45deg); }
.practice-art { position: absolute; z-index: -1; right: -70px; top: -70px; width: 240px; height: 240px; opacity: .55; pointer-events: none; }
.practice .btn, .consult-side .btn { align-self: flex-start; }
@media (max-width: 900px) { .practices { grid-template-columns: 1fr; } .practice { min-height: 0; } }

/* ---------- Specimen cells (commodities) ---------- */
.specimens { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.specimen { --tone: var(--forest); position: relative; display: flex; flex-direction: column; min-height: 300px; padding: 22px; border-radius: var(--r-xl); background: var(--paper); text-decoration: none; color: var(--forest); transition: background .4s var(--ease), color .4s var(--ease); overflow: hidden; }
.specimen:hover { background: var(--lime); }
.specimen .cell { display: flex; justify-content: space-between; align-items: start; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.specimen:hover .cell { color: var(--forest); }
.specimen .sym { font-size: clamp(72px, 7vw, 104px); line-height: .9; letter-spacing: -0.05em; font-weight: 300; margin: 26px 0 auto; color: var(--forest); }
.specimen .sym sup { font-size: .28em; letter-spacing: 0; vertical-align: top; position: relative; top: .5em; margin-left: .25em; font-weight: 500; color: var(--tone); }
.specimen h3 { font-size: 22px; margin: 18px 0 4px; font-weight: 500; }
.specimen p { font-size: 14px; line-height: 1.45; margin: 0; color: var(--text); max-width: 30ch; }
.specimen .facet { position: absolute; right: -26px; top: 44px; width: 120px; height: 120px; opacity: .5; transition: transform .8s var(--ease), opacity .4s; }
.specimen:hover .facet { transform: rotate(18deg) scale(1.08); opacity: .8; }
.specimen--feature { grid-column: span 2; grid-row: span 2; background: var(--forest); color: var(--paper); min-height: 610px; }
.specimen--feature .sym, .specimen--feature h3 { color: var(--paper); }
.specimen--feature .sym { font-size: clamp(140px, 15vw, 240px); }
.specimen--feature p { color: rgba(246,245,242,.75); font-size: 16px; max-width: 42ch; }
.specimen--feature .cell { color: rgba(246,245,242,.74); }
.specimen--feature:hover { background: var(--forest-deep); }
.specimen--feature:hover .cell { color: rgba(246,245,242,.8); }
.specimen--feature .facet { width: 300px; height: 300px; right: -50px; top: 40px; opacity: .7; }
.specimen .price { margin-top: 16px; font-variant-numeric: tabular-nums; font-size: 14px; color: var(--muted); }
.specimen--feature .price { color: var(--lime); }
@media (max-width: 1080px) { .specimens { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .specimens { grid-template-columns: 1fr; } .specimen--feature { grid-column: auto; grid-row: auto; min-height: 460px; } .specimen--feature .facet { width: 170px; height: 170px; top: 24px; right: -40px; opacity: .45; } }

/* ---------- Interactive map section ---------- */
.atlas { background: var(--forest-ink); color: rgba(246,245,242,.8); border-radius: var(--r-xl); margin: 0 10px; overflow: hidden; position: relative; }
.atlas-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 460px); min-height: 760px; }
.atlas-map { position: relative; padding: clamp(24px, 4vw, 56px); display: grid; place-items: center; }
.atlas-map svg { width: 100%; max-width: 620px; height: auto; overflow: visible; }
.atlas .map-country { cursor: default; }
.atlas .map-country.is-focus { cursor: pointer; }
.atlas .map-country.is-focus:hover, .atlas .map-country.is-active { fill: rgba(180,231,23,.32); stroke: var(--lime); stroke-width: 1; }
.atlas .map-country.in-region { fill: rgba(180,231,23,.16); }
.atlas .pin { fill: var(--lime); pointer-events: none; }
.atlas .pin-label { font: 500 10.5px var(--font); fill: var(--paper); pointer-events: none; paint-order: stroke; stroke: var(--forest-ink); stroke-width: 3px; }
.atlas-panel { background: rgba(246,245,242,.04); border-left: 1px solid var(--line-on-dark); padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; }
.atlas-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; }
.atlas-tabs button { border: 1px solid var(--line-on-dark); background: none; color: var(--paper); border-radius: var(--r-pill); padding: 8px 14px; font-size: 14px; cursor: pointer; transition: background .25s, color .25s; }
.atlas-tabs button[aria-selected="true"], .atlas-tabs button:hover { background: var(--lime); color: var(--forest-ink); border-color: var(--lime); }
.atlas-panel h3 { color: var(--paper); font-weight: 400; font-size: 30px; margin-bottom: 8px; }
.atlas-panel .meta { font-size: 14px; color: rgba(246,245,242,.74); margin-bottom: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 20px; list-style: none; }
.chips li { font-size: 13px; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(180,231,23,.14); color: var(--lime); }
.chips--light li { background: var(--paper); color: var(--forest); }
.atlas-panel .note { border-top: 1px solid var(--line-on-dark); padding-top: 20px; margin-top: auto; font-size: 14.5px; line-height: 1.55; }
.atlas-panel .note b { color: var(--paper); font-weight: 500; display: block; margin-bottom: 6px; }
.country-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 2px; }
.country-list button { width: 100%; display: flex; justify-content: space-between; gap: 12px; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line-on-dark); padding: 12px 0; color: var(--paper); cursor: pointer; font-size: 16px; }
.country-list button span { color: rgba(246,245,242,.74); font-size: 13.5px; text-align: right; }
.country-list button:hover, .country-list button.is-active { color: var(--lime); }
@media (max-width: 980px) { .atlas-grid { grid-template-columns: 1fr; } .atlas-panel { border-left: 0; border-top: 1px solid var(--line-on-dark); } }

/* ---------- Process (genuine sequence) ---------- */
.process { background: var(--forest); color: rgba(246,245,242,.8); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; counter-reset: step; }
.step { counter-increment: step; background: rgba(246,245,242,.05); box-shadow: inset 0 0 0 1px var(--line-on-dark); border-radius: var(--r-xl); padding: 26px; min-height: 230px; display: flex; flex-direction: column; position: relative; }
.step::before { content: counter(step, decimal-leading-zero); font-size: 14px; color: var(--lime); font-variant-numeric: tabular-nums; }
.step h3 { font-size: 20px; color: var(--paper); margin: 44px 0 8px; font-weight: 500; }
.step .doc { margin-top: auto !important; padding-top: 14px; }
.step p { font-size: 14.5px; line-height: 1.5; margin: 0; color: rgba(246,245,242,.7); }
.step .doc { margin-top: 14px; font-size: 12.5px; color: rgba(246,245,242,.74); }
.step--gate { background: var(--lime); box-shadow: none; }
.step--gate::before, .step--gate h3, .step--gate p { color: var(--forest-ink); }
.step--gate .doc { color: rgba(14,42,37,.8); }
@media (max-width: 1080px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step { min-height: 0; } }

/* ---------- Standards band ---------- */
.standards { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.standard { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line); }
.standard:not(:nth-child(4n)) { border-right: 1px solid var(--line); }
.standard:not(:nth-child(4n+1)) { padding-left: 24px; }
.standard b { display: block; font-weight: 500; color: var(--forest); font-size: 17px; margin-bottom: 6px; }
.standard span { font-size: 14px; color: var(--muted); line-height: 1.45; display: block; }
@media (max-width: 900px) { .standards { grid-template-columns: 1fr 1fr; } .standard { border-right: 0 !important; padding-left: 0 !important; } .standard:nth-child(odd) { border-right: 1px solid var(--line) !important; padding-right: 20px; } .standard:nth-child(even) { padding-left: 20px !important; } }
@media (max-width: 520px) { .standards { grid-template-columns: 1fr; } .standard { border-right: 0 !important; padding-left: 0 !important; } }

/* ---------- Fees & estimator ---------- */
.fees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.fee { background: var(--paper); border-radius: var(--r-xl); padding: 30px; display: flex; flex-direction: column; min-height: 340px; }
.fee .fee-k { font-size: 14px; color: var(--muted); }
.fee .fee-v { font-size: clamp(40px, 4vw, 58px); letter-spacing: -0.04em; color: var(--forest); line-height: 1; margin: 22px 0 6px; font-variant-numeric: tabular-nums; }
.fee .fee-v small { font-size: 16px; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.fee h3 { font-size: 21px; margin: 18px 0 8px; }
.fee p { font-size: 15px; margin: 0; }
.fee ul { margin: auto 0 0; padding: 18px 0 0; list-style: none; border-top: 1px solid var(--line); font-size: 14.5px; display: grid; gap: 8px; }
.fee ul li { display: flex; gap: 10px; }
.fee ul li::before { content: ""; width: 6px; height: 6px; background: var(--lime-deep); border-radius: 50%; margin-top: 9px; flex: none; }
.fee--dark { background: var(--forest); color: rgba(246,245,242,.8); }
.fee--dark .fee-v, .fee--dark h3 { color: var(--paper); }
.fee--dark .fee-k, .fee--dark .fee-v small { color: rgba(246,245,242,.74); }
.fee--dark ul { border-color: var(--line-on-dark); }
.fee--dark ul li::before { background: var(--lime); }
@media (max-width: 980px) { .fees { grid-template-columns: 1fr; } .fee { min-height: 0; } }

.estimator { display: grid; grid-template-columns: 1.1fr 1fr; gap: 10px; margin-top: 10px; }
.est-form, .est-out { border-radius: var(--r-xl); padding: clamp(24px, 3vw, 40px); }
.est-form { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.est-out { background: var(--forest-ink); color: rgba(246,245,242,.8); display: flex; flex-direction: column; }
.est-out h3 { color: var(--paper); font-weight: 400; }
.est-total { font-size: clamp(44px, 5vw, 72px); letter-spacing: -0.04em; color: var(--lime); line-height: 1; margin: 8px 0 24px; font-variant-numeric: tabular-nums; }
.est-rows { display: grid; gap: 0; margin: 0; }
.est-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-on-dark); font-size: 15px; font-variant-numeric: tabular-nums; }
.est-rows dt { color: rgba(246,245,242,.74); }
.est-rows dd { margin: 0; color: var(--paper); }
.est-out .small { margin-top: auto; padding-top: 20px; color: rgba(246,245,242,.74); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { padding: 10px 16px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 14.5px; cursor: pointer; transition: background .2s, color .2s; }
.seg input:checked + label { background: var(--forest); color: var(--paper); box-shadow: none; }
.seg input:focus-visible + label { outline: 2px solid var(--lime-deep); outline-offset: 2px; }
.range-row { display: flex; align-items: center; gap: 16px; }
.range-row output { min-width: 120px; text-align: right; font-variant-numeric: tabular-nums; font-size: 18px; color: var(--forest); font-weight: 500; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(to right, var(--forest) var(--pct, 30%), var(--paper-2) var(--pct, 30%)); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--lime); border: 3px solid var(--forest); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--lime); border: 3px solid var(--forest); cursor: pointer; }
@media (max-width: 900px) { .estimator { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field > label, .field > .label { font-size: 14px; color: var(--forest); font-weight: 500; }
.field .hint { font-size: 13px; color: var(--muted); }
.input, .select, .textarea { width: 100%; font: inherit; font-size: 15.5px; color: var(--forest-ink); background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--r-md); padding: 14px 16px; transition: border-color .2s, box-shadow .2s; }
.textarea { min-height: 140px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231C4B42' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 4px rgba(180,231,23,.35); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); }
.field .error { font-size: 13px; color: var(--danger); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; }
.check input { width: 20px; height: 20px; accent-color: var(--forest); margin-top: 2px; flex: none; }
.form-status { border-radius: var(--r-md); padding: 14px 16px; font-size: 15px; display: none; }
.form-status.is-ok { display: block; background: var(--lime-soft); color: var(--forest-ink); }
.form-status.is-err { display: block; background: #FBE7E2; color: #7A2416; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.on-dark .field > label, .on-dark .field > .label { color: var(--paper); }
.on-dark .input, .on-dark .select, .on-dark .textarea { background: rgba(246,245,242,.06); border-color: var(--line-on-dark); color: var(--paper); }
.on-dark .select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23F6F5F2' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); }
.on-dark .select option { color: var(--forest-ink); }
.on-dark .input::placeholder, .on-dark .textarea::placeholder { color: rgba(246,245,242,.45); }

/* ---------- Consult block ---------- */
.consult { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 10px; padding: 0 10px; }
.consult-side { background: var(--forest); color: rgba(246,245,242,.8); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; position: relative; overflow: hidden; isolation: isolate; }
.consult-side::after { content: ""; position: absolute; inset: auto -20% -30% auto; width: 80%; aspect-ratio: 506/568; background: url("../img/africa-contours.svg") center/contain no-repeat; opacity: .45; z-index: -1; }
.consult-side h2 { color: var(--paper); }
.consult-side dl { margin: auto 0 0; display: grid; gap: 18px; padding-top: 40px; }
.consult-side dt { font-size: 13px; color: rgba(246,245,242,.74); }
.consult-side dd { margin: 2px 0 0; color: var(--paper); font-size: 17px; }
.consult-side dd a { text-decoration: none; }
.consult-side dd a:hover { color: var(--lime); }
.consult-form { background: var(--paper); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 56px); }
@media (max-width: 980px) { .consult { grid-template-columns: 1fr; } }

/* ---------- Insights ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.post { display: flex; flex-direction: column; text-decoration: none; color: var(--forest); background: var(--white); border-radius: var(--r-xl); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: box-shadow .3s; }
.post:hover { box-shadow: inset 0 0 0 1px var(--forest); }
.post-art { aspect-ratio: 16 / 10; background: var(--forest); position: relative; overflow: hidden; }
.post-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.post-art .sym { position: absolute; left: 22px; bottom: 16px; font-size: 64px; font-weight: 300; letter-spacing: -0.05em; color: var(--paper); line-height: 1; }
.post-body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta { font-size: 13.5px; color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; }
.post-meta .cat { color: var(--forest); font-weight: 500; }
.post h3 { font-size: 21px; margin: 0; font-weight: 500; line-height: 1.28; }
.post p { font-size: 15px; margin: 0; color: var(--text); }
.post .link-arrow { margin-top: auto; padding-top: 12px; }
@media (max-width: 980px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } }

/* Article */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 6vw, 88px); align-items: start; }
.prose { font-size: 18px; line-height: 1.7; max-width: 70ch; }
.prose h2 { font-size: clamp(26px, 2.4vw, 34px); margin: 1.8em 0 .6em; }
.prose h3 { font-size: 22px; margin: 1.6em 0 .5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.15em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--lime-deep); }
.prose a { color: var(--forest); text-decoration-color: var(--lime-deep); text-decoration-thickness: 2px; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--lime); font-size: 21px; line-height: 1.5; color: var(--forest); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; margin: 1.4em 0; }
.prose th, .prose td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--forest); font-weight: 500; }
.prose .callout { background: var(--paper); border-radius: var(--r-lg); padding: 22px 24px; margin: 1.6em 0; font-size: 16.5px; }
.prose .callout b { display: block; color: var(--forest); margin-bottom: 6px; }
.sources { font-size: 14.5px; border-top: 1px solid var(--line); margin-top: 48px; padding-top: 24px; }
.sources ol { padding-left: 1.2em; }
.sources li { margin-bottom: 8px; word-break: break-word; }
.aside-sticky { position: sticky; top: 110px; display: grid; gap: 10px; }
.toc { list-style: none; padding: 0; margin: 0; font-size: 14.5px; }
.toc a { display: block; padding: 7px 0 7px 14px; border-left: 2px solid var(--line); text-decoration: none; color: var(--muted); }
.toc a:hover, .toc a.is-active { color: var(--forest); border-color: var(--lime-deep); }
@media (max-width: 980px) { .article { grid-template-columns: 1fr; } .aside-sticky { position: static; } }

/* ---------- Detail content blocks ---------- */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.feature { background: var(--paper); border-radius: var(--r-xl); padding: 28px; }
.feature .ico { width: 48px; height: 48px; border-radius: 50%; background: var(--lime); color: var(--forest); display: grid; place-items: center; margin-bottom: 26px; }
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { font-size: 21px; margin-bottom: 8px; }
.feature p { font-size: 15.5px; margin: 0; }
@media (max-width: 760px) { .feature-list { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.ticks li::before { content: ""; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%231C4B42' stroke-width='2'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5'/%3E%3C/svg%3E") center/18px no-repeat; }
.on-dark .ticks li::before { background-color: var(--lime); }
.x-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.x-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.x-list li::before { content: ""; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: #F4D7CF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%23B23A2B' stroke-width='2'%3E%3Cpath d='M6 6l6 6M12 6l-6 6'/%3E%3C/svg%3E") center/18px no-repeat; }

.data-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.data-table th, .data-table td { text-align: left; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { font-size: 13.5px; color: var(--muted); font-weight: 500; }
.data-table tbody th { color: var(--forest); font-weight: 500; }
.table-scroll { overflow-x: auto; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 0; cursor: pointer; list-style: none; font-size: 19px; font-weight: 500; color: var(--forest); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 36px; height: 36px; border-radius: 50%; background: var(--paper); flex: none; position: relative; transition: background .3s; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: var(--forest); transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .pm { background: var(--lime); }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq .ans { padding: 0 0 24px; max-width: 72ch; }

.cta-band { position: relative; margin: 0 10px; border-radius: var(--r-xl); background: var(--lime); padding: clamp(40px, 6vw, 88px) clamp(24px, 5vw, 72px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; overflow: hidden; isolation: isolate; }
.cta-band h2 { margin: 0; max-width: 20ch; color: var(--forest-ink); }
.cta-band p { color: var(--forest); margin: 16px 0 0; max-width: 54ch; }
.cta-band::after { content: ""; position: absolute; right: -4%; top: -40%; width: 46%; aspect-ratio: 506/568; background: url("../img/africa-contours.svg") center/contain no-repeat; filter: brightness(0) saturate(100%) invert(22%) sepia(17%) saturate(1300%) hue-rotate(118deg); opacity: .14; z-index: -1; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* Portal teaser */
.teaser { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.mock { border-radius: var(--r-xl); background: var(--forest-ink); padding: 14px; box-shadow: var(--shadow-float); transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transition: transform .8s var(--ease); }
.mock:hover { transform: none; }
.mock-screen { border-radius: 14px; background: var(--paper); overflow: hidden; display: grid; grid-template-columns: 150px 1fr; min-height: 380px; font-size: 12px; }
.mock-nav { background: var(--forest); padding: 16px 12px; display: grid; align-content: start; gap: 4px; color: rgba(246,245,242,.7); }
.mock-nav span { padding: 7px 10px; border-radius: 8px; }
.mock-nav span.on { background: rgba(180,231,23,.16); color: var(--lime); }
.mock-main { padding: 18px; display: grid; gap: 10px; align-content: start; }
.mock-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-kpi { background: var(--white); border-radius: 10px; padding: 12px; }
.mock-kpi b { display: block; font-size: 20px; color: var(--forest); font-weight: 400; letter-spacing: -0.03em; }
.mock-track { background: var(--white); border-radius: 10px; padding: 14px; }
.mock-bar { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; margin-top: 10px; }
.mock-bar i { height: 6px; border-radius: 4px; background: var(--paper-2); }
.mock-bar i.done { background: var(--forest); }
.mock-bar i.now { background: var(--lime); }
.mock-list { background: var(--white); border-radius: 10px; padding: 6px 12px; }
.mock-list div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); }
.mock-list div:last-child { border: 0; }
.mock-list em { font-style: normal; padding: 2px 8px; border-radius: 99px; background: var(--lime-soft); color: var(--forest); font-size: 11px; }
@media (max-width: 980px) { .teaser { grid-template-columns: 1fr; } .mock { transform: none; } }
@media (max-width: 520px) { .mock-screen { grid-template-columns: 1fr; } .mock-nav { display: none; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest); color: rgba(246,245,242,.72); margin: 10px; border-radius: var(--r-xl); padding: clamp(48px, 6vw, 88px) 0 28px; position: relative; overflow: hidden; isolation: isolate; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding-bottom: 56px; border-bottom: 1px solid var(--line-on-dark); }
.footer-top h2 { font-size: 15px; color: var(--paper); font-weight: 500; margin-bottom: 16px; letter-spacing: 0; }
.footer-top ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.footer-top a { text-decoration: none; color: rgba(246,245,242,.72); }
.footer-top a:hover { color: var(--lime); }
.footer-brand p { margin: 20px 0 24px; max-width: 34ch; font-size: 15px; }
.newsletter { display: flex; gap: 6px; background: rgba(246,245,242,.08); border-radius: var(--r-pill); padding: 6px; max-width: 380px; }
.newsletter input { flex: 1; min-width: 0; background: none; border: 0; color: var(--paper); padding: 0 14px; font: inherit; font-size: 15px; }
.newsletter input::placeholder { color: rgba(246,245,242,.74); }
.newsletter input:focus { outline: none; }
.newsletter button { border: 0; background: var(--lime); color: var(--forest-ink); border-radius: var(--r-pill); padding: 12px 18px; font-weight: 500; cursor: pointer; }
.newsletter-msg { font-size: 13.5px; margin-top: 10px; min-height: 1em; }
.footer-word { font-size: clamp(64px, 16vw, 250px); line-height: .8; letter-spacing: -0.06em; color: rgba(246,245,242,.06); font-weight: 500; margin: 32px 0 8px; white-space: nowrap; user-select: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; padding-top: 20px; border-top: 1px solid var(--line-on-dark); }
.footer-bottom ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.footer-bottom a { text-decoration: none; color: rgba(246,245,242,.72); }
.footer-bottom a:hover { color: var(--lime); }
@media (max-width: 1080px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Reveal (single orchestrated hero moment + quiet section reveals) ---------- */
.js .hero [data-in] { opacity: 0; transform: translateY(18px); }
.js .hero.is-in [data-in] { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .hero.is-in [data-in="2"] { transition-delay: .12s; }
.js .hero.is-in [data-in="3"] { transition-delay: .24s; }
.js .hero.is-in [data-in="4"] { transition-delay: .36s; }
.corridor { stroke-dashoffset: 0; }
.js .hero-map:not(.is-ready) .corridor { opacity: 0; }
.hero-map.is-ready .corridor { animation: dash 2.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -20; } }

/* misc */
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pill-list li { padding: 8px 14px; background: var(--paper); border-radius: var(--r-pill); font-size: 14.5px; color: var(--forest); }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; margin: 0; font-size: 15.5px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--forest); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.sticky-cta { position: fixed; right: 18px; bottom: 18px; z-index: 40; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.sticky-cta.is-on { opacity: 1; transform: none; pointer-events: auto; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-pill); background: var(--lime-soft); color: var(--forest); font-size: 12.5px; font-weight: 500; }
.notice { font-size: 13px; color: var(--muted); }
.on-dark .notice { color: rgba(246,245,242,.74); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-l { margin-top: 48px; } .mb-l { margin-bottom: 48px; }
.buyer-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .buyer-card, .grid-2, .grid-3 { grid-template-columns: 1fr; } .standards[style] { grid-template-columns: 1fr 1fr !important; } .tiles[style*="repeat(2"] { grid-template-columns: 1fr !important; } }
.specimen--hero { grid-column: auto; grid-row: auto; min-height: 440px; pointer-events: none; background: rgba(246,245,242,.05); box-shadow: inset 0 0 0 1px var(--line-on-dark); }
.split--hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; }
.split--hero h1 { font-size: clamp(36px, 4.2vw, 62px); max-width: 16ch; }
@media (max-width: 900px) { .split--hero { grid-template-columns: 1fr; } .specimen--hero { min-height: 320px; } }
.prose .sources h2 { font-size: 18px; margin: 0 0 12px; }
.footer-word::before { content: "Continental"; }

/* ---------- Language switcher ---------- */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--paper); font: 500 14px var(--font); cursor: pointer; }
.lang-btn svg { width: 17px; height: 17px; }
.lang-btn:hover, .lang.is-open .lang-btn { background: rgba(246,245,242,.14); }
.site-header.is-solid .lang-btn, .site-header.theme-light .lang-btn { color: var(--forest); }
.site-header.is-solid .lang-btn:hover, .site-header.theme-light .lang-btn:hover, .site-header.is-solid .lang.is-open .lang-btn { background: var(--paper); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 190px; margin: 0; padding: 8px; list-style: none; background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-float), 0 0 0 1px var(--line); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; z-index: 70; max-height: 70vh; overflow-y: auto; }
.lang.is-open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu li { padding: 10px 12px; border-radius: 10px; font-size: 15px; color: var(--forest); cursor: pointer; display: flex; justify-content: space-between; gap: 12px; }
.lang-menu li:hover, .lang-menu li:focus { background: var(--paper); outline: none; }
.lang-menu li[aria-selected="true"] { background: var(--lime-soft); font-weight: 500; }
.lang-menu li[aria-selected="true"]::after { content: "✓"; }
.drawer-lang { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line-on-dark); font-size: 24px; letter-spacing: -0.02em; }
.drawer-lang .lang-menu { top: auto; bottom: calc(100% + 8px); }
@media (max-width: 1180px) { .header-actions .lang { display: none; } }
.lang-notice { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); background: var(--forest-ink); color: var(--paper); padding: 12px 18px; border-radius: var(--r-pill); font-size: 14.5px; opacity: 0; transition: opacity .3s, transform .3s; z-index: 100; pointer-events: none; max-width: calc(100vw - 32px); text-align: center; }
.lang-notice.is-on { opacity: 1; transform: translate(-50%, 0); }
/* Hide Google's own toolbar, tooltips and highlight; keep our layout in place */
body { top: 0 !important; position: static !important; }
.goog-te-banner-frame, iframe.skiptranslate, .skiptranslate > iframe, #goog-gt-tt, .goog-te-balloon-frame, .goog-tooltip, .goog-te-spinner-pos, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf, .VIpgJd-yAWNEb-L7lbkb { display: none !important; }
.goog-text-highlight, .VIpgJd-yAWNEb-VIpgJd-fmcmS-sn54Q { background: none !important; box-shadow: none !important; }
#google_translate_element { display: none !important; }
font { font: inherit !important; color: inherit !important; }
/* Arabic: right-align running text, keep the grid layout left-to-right */
.is-rtl-lang .prose, .is-rtl-lang .lead, .is-rtl-lang p, .is-rtl-lang h1, .is-rtl-lang h2, .is-rtl-lang h3, .is-rtl-lang .faq summary { direction: rtl; text-align: right; }
.drawer-lang .lang-btn { color: var(--paper); font-size: 17px; height: 44px; background: rgba(246,245,242,.1); }

/* Meet us at (events) */
.meet { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 2fr) auto; gap: 24px 40px; align-items: center; }
.meet-head p { font-size: 14.5px; margin-top: 4px; }
.meet-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.meet-list li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.meet-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.meet-list time { font-variant-numeric: tabular-nums; font-weight: 500; color: var(--forest); font-size: 15px; }
.meet-list b { display: block; font-weight: 500; color: var(--forest); }
.meet-list b a { text-decoration: none; } .meet-list b a:hover { text-decoration: underline; text-decoration-color: var(--lime-deep); }
.meet-list span { font-size: 14px; color: var(--muted); }
@media (max-width: 980px) { .meet { grid-template-columns: 1fr; } .meet .btn { justify-self: start; } }
@media (max-width: 520px) { .meet-list li { grid-template-columns: 1fr; gap: 2px; } }
