:root {
  --forest-950: #0b2418;
  --forest-900: #123524;
  --forest-800: #194832;
  --forest-700: #246044;
  --sage-700: #6f7554;
  --sage-500: #959873;
  --sage-200: #d8d8c2;
  --gold-500: #dca72d;
  --rose-500: #ba4f58;
  --cream: #f5f3ea;
  --paper: #fbfbf7;
  --ink: #173126;
  --muted: #607067;
  --line: rgba(18, 53, 36, .14);
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(11, 36, 24, .12);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
::selection { color: var(--forest-950); background: rgba(220, 167, 45, .35); }

.shell { width: var(--shell); margin-inline: auto; }
.section-pad { padding: 112px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 20px; top: -60px; z-index: 9999; background: var(--white); padding: 12px 18px; border-radius: 999px; transition: top .2s; }
.skip-link:focus { top: 20px; }

.topline { background: var(--forest-950); color: rgba(255,255,255,.72); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.topline-inner { min-height: 34px; display: flex; align-items: center; justify-content: center; gap: 13px; white-space: nowrap; overflow: hidden; }

.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(251,251,247,.88); backdrop-filter: blur(16px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(11,36,24,.06); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 20px; font-weight: 800; letter-spacing: .18em; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.primary-nav { display: flex; align-items: center; gap: 30px; }
.primary-nav a { text-decoration: none; font-size: 13px; font-weight: 700; color: #294539; transition: color .2s; }
.primary-nav a:hover { color: var(--gold-500); }
.nav-cta { padding: 11px 17px; border: 1px solid var(--forest-900); border-radius: 999px; }
.menu-button { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; }
.menu-button span:not(.sr-only) { display: block; height: 2px; background: var(--forest-900); margin: 5px 0; transition: transform .25s, opacity .25s; }

.hero { position: relative; overflow: hidden; background:
  radial-gradient(circle at 12% 18%, rgba(220,167,45,.12), transparent 28%),
  radial-gradient(circle at 88% 70%, rgba(111,117,84,.16), transparent 30%),
  linear-gradient(180deg, #fbfbf7 0%, #f3f1e6 100%);
}
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35; background-image: linear-gradient(rgba(18,53,36,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(18,53,36,.05) 1px, transparent 1px); background-size: 58px 58px; mask-image: linear-gradient(to bottom, black, transparent 75%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 70px; min-height: 650px; }
.eyebrow { margin: 0 0 18px; color: var(--sage-700); font-size: 12px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
h1, h2 { margin: 0; color: var(--forest-950); font-family: "Newsreader", Georgia, serif; font-weight: 600; line-height: .98; letter-spacing: -.035em; }
h1 { max-width: 780px; font-size: clamp(52px, 6.5vw, 88px); }
h1 em { color: var(--forest-700); font-style: italic; font-weight: 500; }
h2 { font-size: clamp(40px, 4.7vw, 64px); }
h3 { color: var(--forest-900); line-height: 1.25; }
.lead { max-width: 640px; margin: 28px 0 0; color: #465f53; font-size: 18px; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 51px; padding: 0 22px; border-radius: 999px; text-decoration: none; font-size: 13px; font-weight: 800; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--forest-900); box-shadow: 0 12px 30px rgba(18,53,36,.22); }
.button-primary:hover { background: var(--forest-800); }
.button-secondary { border: 1px solid rgba(18,53,36,.25); background: rgba(255,255,255,.5); }
.button-secondary:hover { background: var(--white); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-tags span { padding: 8px 12px; border: 1px solid rgba(18,53,36,.12); border-radius: 999px; color: #50655b; background: rgba(255,255,255,.45); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero-visual { position: relative; }
.logo-card { position: relative; z-index: 2; overflow: hidden; border: 1px solid rgba(18,53,36,.08); border-radius: var(--radius-lg); background: rgba(255,255,255,.88); box-shadow: var(--shadow); transform: rotate(1.5deg); }
.logo-card img { width: 100%; aspect-ratio: 1.45; object-fit: cover; }
.orbit { position: absolute; border: 1px solid rgba(18,53,36,.12); border-radius: 50%; }
.orbit-one { width: 260px; height: 260px; top: -70px; right: -70px; }
.orbit-two { width: 180px; height: 180px; bottom: -70px; left: -65px; border-color: rgba(220,167,45,.25); }

.marquee { overflow: hidden; padding: 17px 0; color: var(--white); background: var(--forest-900); }
.marquee-track { width: max-content; display: flex; align-items: center; gap: 24px; animation: marquee 28s linear infinite; }
.marquee span { font-family: "Newsreader", Georgia, serif; font-size: 22px; font-style: italic; }
.marquee i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); }
@keyframes marquee { to { transform: translateX(-50%); } }

.two-col { display: grid; grid-template-columns: .82fr 1.18fr; gap: 110px; align-items: start; }
.section-heading p:not(.eyebrow) { max-width: 660px; margin: 22px auto 0; color: var(--muted); }
.section-heading.centered { max-width: 800px; margin: 0 auto 58px; text-align: center; }
.about-copy { padding-top: 8px; font-size: 18px; color: #465f53; }
.about-copy p { margin: 0 0 20px; }
.text-link { display: inline-flex; gap: 10px; align-items: center; margin-top: 10px; color: var(--forest-800); font-size: 13px; font-weight: 800; text-decoration: none; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }

.research-section { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.research-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.research-card { min-height: 320px; padding: 32px; border: 1px solid rgba(18,53,36,.1); border-radius: var(--radius-md); background: rgba(255,255,255,.58); transition: transform .25s, box-shadow .25s, background .25s; }
.research-card:hover { transform: translateY(-7px); background: var(--white); box-shadow: 0 20px 50px rgba(11,36,24,.09); }
.icon-box { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 17px; background: rgba(220,167,45,.12); }
.icon-box svg { width: 35px; height: 35px; fill: none; stroke: var(--forest-800); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.research-card h3 { margin: 56px 0 14px; font-size: 21px; }
.research-card p { margin: 0; color: var(--muted); font-size: 14px; }

.network-section { position: relative; overflow: hidden; color: var(--white); background: var(--forest-950); }
.network-section::before { content: ""; position: absolute; inset: 0; opacity: .16; background: radial-gradient(circle at 70% 30%, var(--gold-500), transparent 25%); }
.network-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.network-section h2 { color: var(--white); }
.network-copy > p:not(.eyebrow) { max-width: 610px; color: rgba(255,255,255,.65); font-size: 17px; }
.network-list { margin-top: 40px; border-top: 1px solid rgba(255,255,255,.14); }
.network-list div { display: grid; grid-template-columns: 45px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.network-list span { color: var(--gold-500); font-size: 12px; font-weight: 800; }
.network-list p { margin: 0; color: rgba(255,255,255,.7); }
.network-list strong { color: var(--white); }
.network-graphic { min-height: 560px; position: relative; display: grid; place-items: center; }
.africa-shape { width: min(100%, 420px); }
.africa-shape .continent { fill: rgba(255,255,255,.04); stroke: rgba(255,255,255,.22); stroke-width: 2; }
.africa-shape .links path { fill: none; stroke: rgba(220,167,45,.4); stroke-width: 2; stroke-dasharray: 5 9; }
.africa-shape .nodes circle { fill: var(--gold-500); stroke: var(--forest-950); stroke-width: 4; transform-box: fill-box; transform-origin: center; animation: pulse 2.8s ease-in-out infinite; }
.africa-shape .nodes circle:nth-child(2n) { animation-delay: .6s; }
.africa-shape .nodes circle:nth-child(3n) { animation-delay: 1.2s; }
@keyframes pulse { 50% { transform: scale(1.35); opacity: .68; } }
.network-note { position: absolute; right: 0; bottom: 40px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.15); border-radius: 16px; background: rgba(255,255,255,.08); backdrop-filter: blur(12px); }
.network-note strong, .network-note span { display: block; }
.network-note strong { margin-bottom: 4px; }
.network-note span { color: rgba(255,255,255,.58); font-size: 12px; }

.people-section { background: var(--paper); }
.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 50px; }
.people-card { min-height: 350px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.people-number { color: var(--gold-500); font-size: 12px; font-weight: 800; }
.people-card h3 { margin: auto 0 14px; font-family: "Newsreader", Georgia, serif; font-size: 28px; }
.people-card p { margin: 0; color: var(--muted); font-size: 14px; }
.people-card .text-link { margin-top: 22px; }

.resources-section { background: linear-gradient(180deg, #f3f1e6 0%, #fbfbf7 100%); }
.resources-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.resource-links { border-top: 1px solid var(--line); }
.resource-links a { display: grid; grid-template-columns: 48px 1.15fr 1.4fr 24px; gap: 18px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding-left .2s; }
.resource-links a:hover { padding-left: 10px; }
.resource-links span { color: var(--gold-500); font-size: 12px; font-weight: 800; }
.resource-links strong { color: var(--forest-900); }
.resource-links em { color: var(--muted); font-size: 13px; font-style: normal; }
.resource-links b { font-size: 18px; }

.contact-section { padding-top: 80px; }
.contact-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 115px 1fr auto; gap: 36px; align-items: center; padding: 56px; border-radius: var(--radius-lg); color: var(--white); background: linear-gradient(125deg, var(--forest-900), var(--forest-950)); box-shadow: var(--shadow); }
.contact-card::after { content: ""; position: absolute; width: 350px; height: 350px; right: -160px; top: -180px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; }
.contact-card > img { width: 110px; filter: brightness(0) invert(1); opacity: .82; }
.contact-card h2 { max-width: 690px; color: var(--white); font-size: clamp(38px, 4vw, 58px); }
.contact-card p:not(.eyebrow) { max-width: 700px; margin-bottom: 0; color: rgba(255,255,255,.66); }
.contact-actions { position: relative; z-index: 1; width: 190px; text-align: center; }
.button-light { width: 100%; color: var(--forest-950); background: var(--white); }
.contact-actions span { display: block; margin-top: 12px; color: rgba(255,255,255,.52); font-size: 10px; line-height: 1.4; }

.site-footer { margin-top: 110px; padding: 65px 0; color: rgba(255,255,255,.65); background: #071b12; }
.footer-grid { display: grid; grid-template-columns: 2fr .7fr .7fr 1fr; gap: 50px; }
.brand-footer { color: var(--white); }
.brand-footer img { filter: brightness(0) invert(1); opacity: .9; }
.footer-brand p { max-width: 300px; font-size: 13px; }
.site-footer h3 { margin: 0 0 14px; color: var(--white); font-size: 13px; }
.site-footer div > a:not(.brand) { display: block; margin: 8px 0; color: rgba(255,255,255,.65); font-size: 13px; text-decoration: none; }
.site-footer div > a:hover { color: var(--gold-500); }
.footer-meta { align-self: end; text-align: right; font-size: 12px; }
.footer-meta p { margin: 3px 0; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 2000; transform: translate(-50%, 20px); max-width: min(90vw, 460px); padding: 13px 18px; border-radius: 12px; color: var(--white); background: var(--forest-950); box-shadow: 0 15px 45px rgba(0,0,0,.22); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; font-size: 13px; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { max-width: 780px; }
  .hero-visual { max-width: 760px; }
  .research-grid { grid-template-columns: repeat(2, 1fr); }
  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-card { grid-template-columns: 90px 1fr; }
  .contact-actions { grid-column: 2; width: 230px; text-align: left; }
}

@media (max-width: 850px) {
  :root { --shell: min(100% - 30px, 720px); }
  .section-pad { padding: 84px 0; }
  .topline { display: none; }
  .menu-button { display: block; position: relative; z-index: 1002; }
  .primary-nav { position: fixed; inset: 0; z-index: 1001; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 24px; background: rgba(251,251,247,.98); opacity: 0; pointer-events: none; transform: translateY(-14px); transition: opacity .25s, transform .25s; }
  .primary-nav.open { opacity: 1; pointer-events: auto; transform: none; }
  .primary-nav a { font-size: 20px; }
  .menu-button[aria-expanded="true"] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .hero-grid, .two-col, .network-grid, .resources-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-grid { min-height: 0; }
  .network-graphic { min-height: 450px; }
  .contact-card { padding: 38px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-meta { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 620px) {
  .section-pad { padding: 70px 0; }
  .nav-wrap { min-height: 68px; }
  .brand img { width: 42px; height: 42px; }
  .hero { padding-top: 76px; }
  h1 { font-size: clamp(45px, 14vw, 64px); }
  h2 { font-size: clamp(38px, 12vw, 52px); }
  .lead { font-size: 16px; }
  .button-row, .button { width: 100%; }
  .research-grid, .people-grid { grid-template-columns: 1fr; }
  .research-card { min-height: 280px; }
  .resource-links a { grid-template-columns: 38px 1fr 20px; }
  .resource-links em { grid-column: 2; }
  .resource-links b { grid-row: 1 / span 2; grid-column: 3; }
  .contact-card { grid-template-columns: 1fr; padding: 34px 26px; }
  .contact-card > img { width: 78px; }
  .contact-actions { grid-column: 1; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-meta { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
