/* FRUITSS Leadership Africa : theme styles
   Palette and type carried over from the approved v5 concept. */

:root {
	--forest: #073e20;
	--forest-deep: #052d18;
	--wine: #8c161d;
	--wine-hover: #711117;
	--gold: #c59b39;
	--gold-light: #e8d3a1;
	--cream: #fcf9f2;
	--paper: #f3ede0;
	--ink: #172d1e;
	--muted: #4f5f51;
	--line: #ddd5c4;
	--on-dark: #e4ebe2;
	--on-dark-muted: #b9c6b7;

	--serif: "Newsreader", Georgia, "Times New Roman", serif;
	--sans: "Manrope", "Segoe UI", system-ui, sans-serif;

	--wrap: 1200px;
	--gutter: clamp(20px, 4vw, 48px);
	--section: clamp(72px, 9vw, 128px);

	--r-sm: 10px;
	--r-lg: 22px;

	--ease-out: cubic-bezier(.23, 1, .32, 1);
	--ease-drawer: cubic-bezier(.32, .72, 0, 1);
}

/* ---------- Fonts (self-hosted, SIL Open Font Licence) ---------- */
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font: 400 1.0625rem/1.7 var(--sans);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; font-optical-sizing: auto; }
p, li, dd { text-wrap: pretty; overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; border-radius: 4px; }
/* On dark surfaces the gold ring has 5.8:1 contrast; forest would vanish. */
.conviction :focus-visible, .founder-card :focus-visible, .contact :focus-visible { outline-color: var(--gold); }
::selection { background: var(--gold-light); color: var(--forest); }
main:focus { outline: none; }

.container { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 640px; }
.stack-sm { margin-top: 24px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 16px; top: -100px; z-index: 200;
	padding: 12px 18px; background: var(--forest); color: #fff; border-radius: var(--r-sm); font-weight: 700;
}
.skip-link:focus { top: 16px; }

.eyebrow {
	font: 700 0.75rem/1.4 var(--sans);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--wine);
	margin-bottom: 20px;
}
.eyebrow a { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.section-title { font-size: clamp(2.25rem, 4.4vw, 3.5rem); }
.section-title em { font-style: italic; color: var(--wine); }

.split {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(40px, 7vw, 112px);
	align-items: start;
}

/* ---------- Buttons & links ---------- */
.button {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 50px; padding: 12px 22px;
	border: 1px solid var(--wine); border-radius: var(--r-sm);
	background: var(--wine); color: #fff;
	font: 700 0.9375rem/1.2 var(--sans);
	transition: background-color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out);
}
.button:active { transform: scale(.97); }
.button--small { min-height: 42px; padding: 8px 16px; font-size: 0.875rem; }
.button .arrow { width: 14px; height: 14px; transition: transform 200ms var(--ease-out); }

.text-link {
	display: inline-flex; align-items: center; gap: 6px;
	font-weight: 700; font-size: 0.9375rem;
	text-decoration: underline; text-decoration-color: var(--gold);
	text-decoration-thickness: 2px; text-underline-offset: 7px;
	transition: color 200ms ease, text-decoration-color 200ms ease;
}
.text-link--light { color: var(--gold-light); }

@media (hover: hover) and (pointer: fine) {
	.button:hover { background: var(--wine-hover); border-color: var(--wine-hover); }
	.button:hover .arrow { transform: translateX(3px); }
	.text-link:hover { color: var(--wine); text-decoration-color: currentColor; }
	.text-link--light:hover { color: #fff; }
}

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(252, 249, 242, .92);
	backdrop-filter: saturate(1.4) blur(12px);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid transparent;
	transition: box-shadow 240ms ease;
}
/* Soft scroll-edge instead of a hard rule */
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(23, 45, 30, .06), 0 12px 24px -20px rgba(5, 45, 24, .4); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.header-inner { display: flex; align-items: center; gap: 32px; min-height: 84px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--forest); flex-shrink: 0; }
.brand-mark { width: 52px; height: auto; flex-shrink: 0; }
img.brand-mark { max-height: 56px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font: 500 1.6875rem/1 var(--serif); letter-spacing: .01em; }
.brand-text span { font: 700 0.6875rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; margin-top: 6px; }

.primary-nav { margin-left: auto; }
.primary-nav .menu { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.primary-nav a {
	position: relative; display: block; padding: 10px 0;
	font-weight: 600; font-size: 0.9375rem; color: var(--ink);
}
.primary-nav a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px;
	background: var(--gold); transform: scaleX(0); transform-origin: left;
	transition: transform 220ms var(--ease-out);
}
.primary-nav .current-menu-item > a::after,
.primary-nav .current_page_item > a::after,
.primary-nav .current-menu-ancestor > a::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .primary-nav a:hover::after { transform: scaleX(1); } }

.menu-toggle {
	display: none; position: relative; width: 48px; height: 48px; margin-left: auto;
	border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--cream);
}
.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
	position: absolute; left: 50%; top: 50%; width: 20px; height: 2px; margin: -1px 0 0 -10px;
	background: var(--forest); border-radius: 2px;
	transition: transform 240ms var(--ease-out), opacity 160ms ease;
}
.menu-toggle-lines::before, .menu-toggle-lines::after { content: ""; }
.menu-toggle-lines::before { transform: translateY(-6px); }
.menu-toggle-lines::after { transform: translateY(6px); }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after { transform: rotate(-45deg); }

.mobile-panel {
	position: absolute; left: 0; right: 0; top: 100%;
	background: var(--cream); border-bottom: 1px solid var(--line);
	box-shadow: 0 24px 40px -24px rgba(5, 45, 24, .35);
	max-height: calc(100dvh - 84px); overflow-y: auto;
	opacity: 0; transform: translateY(-8px);
	transition: opacity 200ms ease, transform 260ms var(--ease-drawer);
}
.mobile-panel.is-open { opacity: 1; transform: none; }
.menu-scrim {
	position: fixed; inset: 0; z-index: 99;
	background: rgba(5, 45, 24, .3);
	opacity: 0; transition: opacity 240ms ease;
}
.menu-scrim.is-open { opacity: 1; }
.mobile-menu li { opacity: 0; transform: translateY(-6px); transition: opacity 220ms ease, transform 280ms var(--ease-out); }
.mobile-panel.is-open .mobile-menu li { opacity: 1; transform: none; }
.mobile-panel.is-open .mobile-menu li:nth-child(2) { transition-delay: 30ms; }
.mobile-panel.is-open .mobile-menu li:nth-child(3) { transition-delay: 60ms; }
.mobile-panel.is-open .mobile-menu li:nth-child(4) { transition-delay: 90ms; }
.mobile-panel.is-open .mobile-menu li:nth-child(n+5) { transition-delay: 120ms; }
.mobile-panel nav { width: min(100% - var(--gutter) * 2, var(--wrap)); margin: 0 auto; padding: 8px 0 28px; }
.mobile-menu { list-style: none; margin: 0; padding: 0; }
.mobile-menu li:last-child a { border-bottom: 0; }
.mobile-menu a {
	display: block; padding: 16px 0; border-bottom: 1px solid var(--line);
	font: 400 1.625rem/1.2 var(--serif); color: var(--forest);
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 104px); border-bottom: 1px solid var(--line); }
.hero-grid {
	display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(32px, 6vw, 96px); align-items: center;
}
.hero h1 {
	font-size: clamp(3rem, 7vw, 5.75rem);
	line-height: 1.02; letter-spacing: -.03em; color: var(--forest);
	max-width: 12ch;
}
.hero h1 em { font-style: italic; color: var(--wine); }
.hero-text { margin-top: 28px; max-width: 34em; font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 40px; }

.hero-emblem {
	position: relative; display: grid; place-items: center;
	aspect-ratio: 1 / 1.02; padding: 12%;
	background: var(--paper); border-radius: var(--r-lg);
}
.hero-emblem .emblem { width: 100%; }
/* Brand moment, once per page load: the gold arrow rises across the continent. */
.js .hero-emblem .emblem-arrow {
	clip-path: inset(100% 0 0 0);
	animation: fla-rise 900ms var(--ease-out) 250ms forwards;
}
@keyframes fla-rise { to { clip-path: inset(0 0 0 0); } }

.acronym {
	display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
	margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line);
}
.acronym > div { padding: 20px 16px 0 0; }
.acronym > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.acronym dt { font: 400 2.75rem/1 var(--serif); color: var(--wine); }
.acronym dd { margin-top: 10px; font-size: 0.875rem; font-weight: 600; line-height: 1.4; color: var(--ink); }

/* ---------- Purpose ---------- */
.prose--lead p { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.7; color: var(--muted); }
.prose--lead p + p { margin-top: 1.1em; }
.purpose .section-title { color: var(--forest); }

/* ---------- Big 7 ---------- */
.agenda { background: var(--paper); }
.agenda-intro { position: sticky; top: 132px; }
.agenda-intro .section-title { color: var(--forest); }
.agenda-intro > p:not(.eyebrow) { margin-top: 24px; color: var(--muted); max-width: 26em; }
.agenda-intro .text-link { margin-top: 28px; }

.pillar-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid #cfc3ad; }
.pillar-row { border-bottom: 1px solid #cfc3ad; }
.pillar-row a {
	display: grid; grid-template-columns: 56px minmax(0, 1fr) 24px; gap: 16px; align-items: center;
	padding: 22px 4px 22px 0; transition: color 200ms ease;
}
.pillar-no { font: italic 400 1.5rem/1 var(--serif); color: var(--wine); }
.pillar-copy { display: flex; flex-direction: column; gap: 4px; }
.pillar-name { font: 400 clamp(1.5rem, 2.4vw, 2rem)/1.15 var(--serif); letter-spacing: -.015em; color: var(--forest); }
.pillar-sub { font-size: 0.875rem; color: var(--muted); }
.pillar-go { color: var(--forest); justify-self: end; }
.pillar-go .arrow { width: 18px; height: 18px; transition: transform 220ms var(--ease-out); }
.pillar-row.is-current .pillar-name { color: var(--wine); }
.pillar-row.is-current a { pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
	.pillar-row a:hover .pillar-name { color: var(--wine); }
	.pillar-row a:hover .arrow { transform: translateX(4px); }
}

/* Archive grid */
.pillar-grid {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
/* A lone last tile spans the row instead of leaving an empty gap. */
.pillar-tile:last-child:nth-child(3n + 1) { grid-column: 1 / -1; }
@media (max-width: 920px) {
	.pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pillar-tile:last-child:nth-child(3n + 1) { grid-column: auto; }
	.pillar-tile:last-child:nth-child(2n + 1) { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	.pillar-grid { grid-template-columns: 1fr; }
}
.pillar-tile { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillar-tile a { position: relative; display: flex; flex-direction: column; height: 100%; padding: 32px 32px 64px; transition: background-color 200ms ease; }
.pillar-tile .pillar-no { font-size: 1.75rem; }
.pillar-tile-title { margin-top: 28px; font-size: clamp(1.75rem, 2.6vw, 2.25rem); color: var(--forest); }
.pillar-tile .pillar-sub { margin-top: 8px; font-weight: 600; color: var(--ink); }
.pillar-tile-text { margin-top: 14px; font-size: 0.9375rem; color: var(--muted); }
.pillar-tile .pillar-go { position: absolute; right: 28px; bottom: 26px; }
@media (hover: hover) and (pointer: fine) {
	.pillar-tile a:hover { background: var(--paper); }
	.pillar-tile a:hover .arrow { transform: translateX(4px); }
}

/* ---------- Conviction ---------- */
.conviction { background: var(--forest); color: #fff; padding-block: clamp(64px, 8vw, 112px); }
.conviction-text {
	max-width: 22em; margin-inline: auto; text-align: center;
	font: 400 clamp(1.75rem, 3.6vw, 2.875rem)/1.25 var(--serif); letter-spacing: -.015em;
}

/* ---------- Founder ---------- */
.founder-card {
	display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	background: var(--paper); color: var(--ink); border-radius: var(--r-lg); overflow: hidden;
}
.founder-photo { position: relative; min-height: 520px; background: #0d1410; }
.founder-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.founder-copy { padding: clamp(36px, 5vw, 72px); align-self: center; }
.founder-copy h2 { color: var(--forest); }
.founder-copy h2 { font-size: clamp(2.125rem, 3.8vw, 3.125rem); }
.founder-creds { margin-top: 16px; font-size: 0.875rem; letter-spacing: .02em; color: var(--muted); }
.founder-summary { margin-top: 24px; max-width: 34em; color: var(--ink); font-size: 1.125rem; }
.founder-copy .text-link { margin-top: 32px; }

/* ---------- Insights cards ---------- */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 40px 32px; }
.card-link { display: flex; flex-direction: column; height: 100%; }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-sm); background: var(--paper); margin-bottom: 20px; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease-out); }
.card-body { border-top: 1px solid var(--line); padding-top: 18px; }
.card-meta { font-size: 0.8125rem; font-weight: 600; color: var(--wine); }
.card-title { margin-top: 10px; font-size: 1.625rem; color: var(--forest); transition: color 200ms ease; }
.card-excerpt { margin-top: 10px; font-size: 0.9375rem; color: var(--muted); }
@media (hover: hover) and (pointer: fine) {
	.card-link:hover .card-title { color: var(--wine); }
	.card-link:hover .card-media img { transform: scale(1.03); }
}
.empty { padding: 48px; border: 1px dashed var(--line); border-radius: var(--r-lg); text-align: center; color: var(--muted); }
.empty .text-link { margin-top: 16px; color: var(--ink); }
.nav-links { display: flex; gap: 12px; justify-content: center; margin-top: 56px; font-weight: 700; }
.nav-links .page-numbers { padding: 8px 14px; border-radius: var(--r-sm); }
.nav-links .current { background: var(--forest); color: #fff; }

/* ---------- Contact ---------- */
.contact { background: var(--forest-deep); color: #fff; }
.contact .eyebrow { color: var(--gold-light); }
.contact-copy > p:not(.eyebrow) { margin-top: 24px; color: var(--on-dark); max-width: 26em; }
.contact-methods { display: flex; flex-direction: column; gap: 10px; margin-top: 36px; font-style: normal; }
.contact-methods a {
	font-size: 1.1875rem; color: var(--gold-light); overflow-wrap: anywhere;
	text-decoration: underline; text-decoration-color: rgba(197, 155, 57, .6); text-underline-offset: 6px;
}
.contact-methods span { color: var(--on-dark-muted); font-size: 0.9375rem; }

.enquiry { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.875rem; font-weight: 700; color: var(--on-dark); }
.optional { font-weight: 500; color: var(--on-dark-muted); }
.enquiry input, .enquiry select, .enquiry textarea {
	width: 100%; min-height: 50px; padding: 12px 14px;
	background: #fff; color: var(--ink);
	border: 1px solid transparent; border-radius: var(--r-sm); font-size: 1rem;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}
.enquiry textarea { min-height: 140px; resize: vertical; }
.enquiry input:focus-visible, .enquiry select:focus-visible, .enquiry textarea:focus-visible {
	outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(197, 155, 57, .55);
}
.enquiry [aria-invalid="true"] { border-color: #f2a0a0; box-shadow: 0 0 0 3px rgba(242, 160, 160, .35); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-note { font-size: 0.8125rem; color: var(--on-dark-muted); }
.form-status { grid-column: 1 / -1; padding: 14px 16px; border-radius: var(--r-sm); font-weight: 600; font-size: 0.9375rem; }
.form-status--ok { background: #e7f1df; color: var(--forest); }
.form-status { transition: opacity 300ms ease, transform 400ms var(--ease-out); }
@starting-style { .form-status { opacity: 0; transform: translateY(-6px); } }
.form-status--error { background: #fbe3e1; color: #6d1015; }
.enquiry.is-sending .button { opacity: .7; pointer-events: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Inner pages ---------- */
.page-hero { padding-block: clamp(56px, 7vw, 104px) clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.page-title { font-size: clamp(2.75rem, 6vw, 4.75rem); line-height: 1.04; color: var(--forest); max-width: 16ch; }
.page-intro { margin-top: 24px; max-width: 38em; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--muted); }
.page-hero--pillar { background: var(--paper); }

.split--pillar { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split--pillar aside { position: sticky; top: 132px; }
.split--pillar .pillar-name { font-size: 1.375rem; }
.split--pillar .pillar-row a { padding-block: 14px; grid-template-columns: 40px minmax(0, 1fr) 20px; }
.split--pillar .pillar-sub { display: none; }

.prose { max-width: 720px; }
.entry > * + * { margin-top: 1.15em; }
.entry h2 { margin-top: 2em; font-size: clamp(1.75rem, 3vw, 2.375rem); color: var(--forest); }
.entry h3 { margin-top: 1.6em; font-size: 1.625rem; color: var(--forest); }
.entry h2 + *, .entry h3 + * { margin-top: .6em; }
.entry p, .entry li { color: #33443a; }
.entry ul, .entry ol { padding-left: 1.2em; }
.entry li + li { margin-top: .5em; }
.entry a { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.entry a.button { text-decoration: none; color: #fff; }
.entry strong { color: var(--ink); }
.entry blockquote { padding-left: 24px; border-left: 2px solid var(--gold); font: italic 1.5rem/1.4 var(--serif); color: var(--forest); }
.entry figure img, .post-cover img { border-radius: var(--r-sm); }
.entry .alignwide { max-width: 1000px; }
.entry > :first-child { margin-top: 0; }
.post-cover { margin-top: 40px; }
.post-nav { display: flex; justify-content: space-between; gap: 24px; padding-block: 0 var(--section); }
.post-nav a { display: flex; flex-direction: column; font: 400 1.375rem/1.3 var(--serif); color: var(--forest); max-width: 22em; }
.post-nav .eyebrow { margin-bottom: 6px; }
.post-nav-next { text-align: right; margin-left: auto; }

/* Founder page */
.founder-hero { padding-block: clamp(40px, 6vw, 88px); background: var(--paper); }
.founder-hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.founder-hero-photo { aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r-lg); background: #0d1410; }
.founder-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.founder-hero .founder-creds { color: var(--muted); }
.founder-hero .founder-summary { color: var(--ink); font-size: 1.1875rem; }
.founder-facts { display: flex; flex-wrap: wrap; gap: 24px 48px; margin-top: 40px; padding-top: 28px; border-top: 1px solid #cfc3ad; }
.founder-facts dt { font: 400 2.75rem/1 var(--serif); color: var(--wine); }
.founder-facts dd { margin-top: 8px; font-size: 0.875rem; color: var(--muted); max-width: 13em; }
.profile { margin-inline: auto; }

/* Search */
.search-form { display: flex; flex-wrap: wrap; gap: 12px; }
.search-form input { flex: 1 1 200px; min-width: 0; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }

/* ---------- Footer ---------- */
.site-footer { padding-block: 64px 32px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; align-items: start; }
.footer-line { margin-top: 20px; font: italic 400 1.375rem/1.3 var(--serif); color: var(--forest); }
.footer-menu { list-style: none; margin: -8px 0 0; padding: 0; display: grid; }
.footer-menu a { display: inline-block; padding: 8px 0; font-weight: 600; font-size: 0.9375rem; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; font-style: normal; font-size: 0.9375rem; }
.footer-contact a { font-weight: 600; overflow-wrap: anywhere; }
.footer-contact span { color: var(--muted); }
.footer-bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
	margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line);
	font-size: 0.8125rem; color: var(--muted);
}
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
	.footer-menu a:hover, .footer-contact a:hover { color: var(--wine); }
}

/* ---------- Reveal (one gentle entrance, once) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* Short stagger for grids (set per item as --i: 0,1,2). */
.js .reveal[style*="--i"] { transition-delay: calc(var(--i, 0) * 70ms); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.primary-nav .menu { gap: 20px; }
	.primary-nav a { font-size: 0.875rem; }
}
@media (max-width: 920px) {
	.primary-nav { display: none; }
	.menu-toggle { display: block; }
	.header-inner { min-height: 72px; }
	.mobile-panel { max-height: calc(100dvh - 72px); }
	html { scroll-padding-top: 84px; }

	.hero-grid, .split, .split--pillar, .founder-card, .founder-hero-grid { grid-template-columns: 1fr; }
	.hero-emblem { max-width: 420px; aspect-ratio: 1 / .9; padding: 10%; }
	.agenda-intro, .split--pillar aside { position: static; }
	.founder-photo { min-height: 0; aspect-ratio: 4 / 4.4; }
	.founder-hero-photo { max-width: 420px; }
	.acronym { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 24px; }
	.acronym > div:nth-child(5) { border-left: 0; padding-left: 0; }
	.footer-top { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	body { font-size: 1rem; }
	.brand-mark { width: 44px; }
	.brand-text strong { font-size: 1.4375rem; }
	.brand-text span { font-size: 0.625rem; }
	.hero-emblem { aspect-ratio: 1 / .85; }
	.pillar-row a { grid-template-columns: 40px minmax(0, 1fr) 20px; gap: 12px; padding-block: 18px; }
	.pillar-tile a { padding: 28px 24px 60px; }
	.enquiry { grid-template-columns: 1fr; }
	.acronym { grid-template-columns: 1fr 1fr; }
	.acronym > div:nth-child(n) { border-left: 0; padding-left: 0; }
	.acronym > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
	.section-head { flex-direction: column; align-items: start; }
	.footer-top { grid-template-columns: 1fr; gap: 32px; }
	.post-nav { flex-direction: column; }
	.post-nav-next { text-align: left; margin-left: 0; }
	.empty { padding: 32px 20px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
	.js .reveal { opacity: 1; transform: none; }
	.mobile-menu li { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.js .hero-emblem .emblem-arrow { animation: none; clip-path: none; }
}
@media (prefers-reduced-transparency: reduce) {
	.site-header { background: var(--cream); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-contrast: more) {
	:root { --line: #8d8471; --muted: #2f3a31; }
	.site-header { background: var(--cream); backdrop-filter: none; border-bottom-color: var(--ink); }
}

@media print {
	.site-header, .mobile-panel, .enquiry, .skip-link { display: none !important; }
	.js .reveal { opacity: 1; transform: none; }
	.contact, .conviction, .founder-card { background: none; color: #000; }
}


/* Approved Africa rising direction, version 1.3. */
:root {
	--forest: #073f2a; --forest-deep: #043321;
	--wine: #90151d; --wine-hover: #731017; --gold: #cba33d;
	--cream: #faf7ef; --paper: #f2ecdf; --on-dark: #f6f2e7;
}
.site-header { background: var(--cream); }
.header-inner { gap: 28px; }
.brand-text strong { font-size: 1.875rem; }
.header-cta { flex-shrink: 0; }
.hero { background: var(--forest); color: var(--cream); border: 0; padding-block: clamp(48px, 7vw, 96px); }
.hero-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); }
.hero h1 { color: var(--cream); font-size: clamp(3.25rem, 7.5vw, 6.5rem); max-width: 11ch; }
.hero h1 em { color: var(--gold); }
.hero .eyebrow, .hero-text { color: var(--cream); }
.hero-text { max-width: 32em; }
.hero .text-link { color: var(--cream); }
.hero-emblem { padding: 12%; background: transparent; border-radius: 0; max-width: 520px; isolation: isolate; }
.hero-emblem::before {
	content: ''; position: absolute; inset: 22% 0 11%; z-index: -1;
	border: 3px solid var(--gold); border-top-color: transparent;
	border-radius: 50%; transform: rotate(-32deg);
}
.hero-emblem .emblem { filter: drop-shadow(0 1px 0 var(--cream)) drop-shadow(0 -1px 0 var(--cream)); }
.hero-emblem path[fill="#073f20"] { fill: #0c6541; }
.hero :focus-visible, .agenda :focus-visible { outline-color: var(--gold-light); }
.hero .text-link:hover { color: var(--gold-light); }
.purpose { padding-block: clamp(40px, 5vw, 72px); }
.purpose-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.purpose-panel { background: var(--wine); color: var(--cream); border-radius: 12px; padding: clamp(28px, 4vw, 52px); }
.purpose-panel .eyebrow, .purpose-panel .section-title { color: var(--cream); }
.purpose-panel .section-title { font-size: clamp(2.25rem, 4.4vw, 3.75rem); }
.purpose-brief { margin-top: 24px; font-size: 1rem; line-height: 1.65; }
.purpose-brief p + p { margin-top: 16px; }
.acronym { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 0; border: 0; }
.acronym > div:nth-child(n) { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; padding: 14px 20px; border: 1px solid var(--gold); border-radius: 10px; min-height: 64px; }
.acronym dt { font-size: 2.75rem; padding-right: 18px; border-right: 1px solid var(--gold); }
.acronym dd { margin: 0; padding-left: 24px; font-size: clamp(1rem, 1.6vw, 1.25rem); color: var(--forest); }
.agenda { background: var(--forest); color: var(--cream); }
.agenda .eyebrow, .agenda .pillar-no { color: var(--gold-light); }
.agenda .section-title, .agenda .pillar-name, .agenda .pillar-go { color: var(--cream); }
.agenda .agenda-intro > p:not(.eyebrow), .agenda .pillar-sub { color: var(--on-dark); }
.agenda .pillar-index { border-top-color: #749383; }
.agenda .pillar-row { border-bottom-color: #749383; }
.agenda .pillar-row a { grid-template-columns: 64px minmax(0, 1fr) 24px; padding-block: 25px; }
.agenda .pillar-no { font-size: 2rem; border-right: 1px solid #749383; align-self: stretch; display: flex; align-items: center; }
.agenda .pillar-name { font-size: clamp(1.75rem, 2.8vw, 2.375rem); }
.agenda .text-link:hover, .agenda .pillar-row a:hover .pillar-name { color: var(--gold-light); }
.conviction { background: var(--paper); color: var(--forest); }
.conviction-grid { display: grid; grid-template-columns: minmax(160px, 240px) minmax(0, 1fr); align-items: center; gap: clamp(32px, 7vw, 100px); max-width: 1050px; }
.dawn-accent { width: 100%; }
.conviction-text { text-align: left; margin: 0; }
.founder-card { border: 1px solid var(--line); }
.founder-copy { background: var(--cream); }
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--forest); color: var(--cream); }
.page-hero::after { content: ''; position: absolute; width: 380px; height: 250px; border: 2px solid var(--gold); border-radius: 50%; right: -110px; top: 20px; transform: rotate(-32deg); z-index: -1; opacity: .4; }
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero .page-title { color: var(--cream); }
.page-hero .page-intro { color: var(--on-dark); }
.founder-hero { border-bottom: 1px solid var(--line); }
.founder-hero-copy { position: relative; }
.founder-hero-copy::before { content: ''; display: block; width: 72px; height: 3px; background: var(--gold); margin-bottom: 24px; }
.contact { position: relative; isolation: isolate; overflow: hidden; }
.contact::before { content: ''; position: absolute; width: 460px; height: 260px; border: 2px solid var(--gold); border-radius: 50%; left: -280px; bottom: -80px; transform: rotate(-32deg); z-index: -1; opacity: .5; }
.footer-orbit { position: relative; }
.site-footer { border-top: 3px solid var(--gold); }
@media (max-width: 1080px) { .header-inner { gap: 20px; } .primary-nav .menu { gap: 18px; } }
@media (max-width: 920px) {
	.header-cta { display: none; }
	.hero-grid { grid-template-columns: 1fr; }
	.hero h1 { max-width: 12ch; }
	.hero-emblem { justify-self: center; width: min(100%, 420px); aspect-ratio: 1; padding: 12%; }
	.purpose-grid { grid-template-columns: 1fr; }
	.acronym > div:nth-child(n) { min-height: 72px; }
	.conviction-grid { grid-template-columns: 180px minmax(0, 1fr); }
}
@media (max-width: 600px) {
	.brand-text strong { font-size: 1.5rem; }
	.brand-text span { font-size: .6rem; }
	.brand { gap: 9px; }
	.hero-actions { gap: 24px; }
	.hero .hero-text { font-size: 1.0625rem; }
	.hero-emblem { width: min(100%, 340px); max-inline-size: calc(100% - 32px); }
	.purpose-grid { gap: 24px; }
	.acronym > div:nth-child(n) { grid-template-columns: 46px minmax(0, 1fr); padding: 12px 16px; }
	.acronym dt { font-size: 2.25rem; padding-right: 12px; }
	.acronym dd { padding-left: 16px; font-size: 1rem; }
	.agenda .pillar-row a { grid-template-columns: 44px minmax(0, 1fr) 20px; gap: 12px; }
	.agenda .pillar-no { font-size: 1.625rem; }
	.agenda .pillar-name { font-size: 1.75rem; }
	.conviction-grid { grid-template-columns: 1fr; }
	.dawn-accent { width: 180px; justify-self: center; }
	.conviction-text { text-align: center; }
}
@media print {
	.hero, .agenda, .purpose-panel, .page-hero { background: white; color: black; }
	.hero h1, .hero h1 em, .hero .eyebrow, .hero-text, .hero .text-link,
	.agenda .section-title, .agenda .eyebrow, .agenda .pillar-name, .agenda .pillar-no,
	.agenda .pillar-sub, .agenda .agenda-intro > p:not(.eyebrow),
	.purpose-panel .section-title, .purpose-panel .eyebrow, .page-hero .page-title, .page-hero .page-intro { color: black; }
}
