@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #10232e;
  --muted: #455a66;
  --green: #0f5c44;
  --deep: #0a4231;
  --mint: #e3f1ec;
  --amber: #94400e;
  --amber-soft: #fdf2ea;
  --tint: #f1f5f7;
  --line: #d4e0e5;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(16, 35, 46, 0.05);
  --shadow-md: 0 12px 30px -6px rgba(16, 35, 46, 0.09), 0 4px 10px -3px rgba(16, 35, 46, 0.04);
  --shadow-lg: 0 22px 45px -12px rgba(16, 35, 46, 0.16);
  --font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font: 100%/1.65 var(--font-body);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fafcfc; -webkit-font-smoothing: antialiased; }

a { color: var(--deep); text-underline-offset: 0.22em; transition: color 160ms ease; }
a:hover { text-decoration-thickness: 0.15em; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 3px; }

.skip { position: absolute; left: 1rem; top: -6rem; background: var(--white); padding: 0.75rem 1rem; border-radius: 0.5rem; box-shadow: var(--shadow-md); z-index: 20; font-weight: 600; }
.skip:focus { top: 0.75rem; }

.wrap { width: min(100% - 2.25rem, 75rem); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header, .header-actions, nav, .actions { display: flex; align-items: center; gap: 0.6rem 1.1rem; flex-wrap: wrap; }
.header { justify-content: space-between; padding-block: 0.75rem; }
.header a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.header nav { order: 3; width: 100%; gap: 0.15rem 1.1rem; }
.header nav a { position: relative; color: var(--muted); }
.header nav a:hover, .header nav a[aria-current] { color: var(--green); }
.header nav a[aria-current]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.35rem;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.header .wordmark { flex: 0 0 auto; }
.wordmark img, .footer-wordmark img { display: block; width: auto; height: 46px; border-radius: 0; background: transparent; }
.footer-wordmark { width: max-content; max-width: 100%; }
.footer-wordmark img { height: 44px; }

/* Heroes & Banners */
.home-hero {
  background: radial-gradient(circle at 85% 15%, #dceee7 0%, transparent 45%),
              linear-gradient(180deg, #eff6f4 0%, #fafcfc 100%);
  border-bottom: 1px solid var(--line);
}
.hero { display: grid; gap: 2.25rem; padding-block: clamp(2.75rem, 6.5vw, 5.5rem); align-items: center; }
.banner {
  background: radial-gradient(circle at 90% 20%, #d4ebe2 0%, transparent 50%), #e9f3ef;
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.5rem, 5.5vw, 4.5rem);
}

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -0.03em; margin: 0 0 0.65em; color: var(--ink); }
h1 { font-size: clamp(2.35rem, 5.5vw, 4.35rem); max-width: 15.5ch; margin-bottom: 0.4em; font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.65rem); }
h3 { font-size: 1.3rem; }
p { margin: 0.45em 0 1em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--deep);
  background: var(--mint);
  border: 1px solid #bfd9cf;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}
.meta { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--amber); margin-bottom: 0.35rem; }
.lead { font-size: clamp(1.05rem, 1.9vw, 1.2rem); max-width: 54ch; color: var(--muted); line-height: 1.6; }

/* Buttons */
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 0.45rem;
  min-height: 44px; padding: 0.6rem 1.15rem;
  border: 1px solid transparent; border-radius: 0.55rem;
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 600;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }

.primary { background: var(--green); color: var(--white); box-shadow: 0 4px 12px rgba(15, 92, 68, 0.22); }
.primary:hover { background: var(--deep); box-shadow: 0 6px 16px rgba(10, 66, 49, 0.28); }
.outline { color: var(--deep); border-color: #9ec2b5; background: var(--white); box-shadow: var(--shadow-sm); }
.outline:hover { background: var(--mint); border-color: var(--green); }

/* Hero Media */
.hero figure { position: relative; margin: 0; }
.hero img { height: auto; border-radius: 1rem; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, 0.8); }
.hero figcaption {
  position: absolute;
  left: 0.9rem; bottom: 0.9rem;
  background: rgba(16, 35, 46, 0.82);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

img, iframe { display: block; width: 100%; border: 0; border-radius: 0.85rem; background: var(--tint); }

/* Sections & Surfaces */
.section { padding-block: clamp(2.75rem, 6vw, 5.25rem); }
.tint { background: var(--tint); border-block: 1px solid var(--line); }

.dark { background: var(--ink); color: var(--white); }
.dark h2, .dark h3 { color: var(--white); }
.dark .prose, .dark p { color: #cbd7de; }
.dark .eyebrow { background: rgba(255, 255, 255, 0.1); color: #9ce0c9; border-color: rgba(255, 255, 255, 0.16); }
.dark .panel { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); box-shadow: none; }
.dark .panel:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(156, 224, 201, 0.35); }

.prose, .faq, .process, form { max-width: 65ch; }
.grid, .steps, .impact, .timeline, .fields { display: grid; gap: 1.25rem; }
.steps, .impact { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); padding: 0; margin: 0 0 1.5rem; }

/* Cards & Panels */
.panel, .impact div {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.panel:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #b4c9d1; }

/* Numbered Step Cards */
.steps { list-style: none; counter-reset: step; }
.steps li {
  counter-increment: step;
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2rem; height: 2rem;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  background: var(--mint);
  color: var(--deep);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
}

/* Impact Metrics */
.impact > div { display: flex; flex-direction: column; gap: 0.3rem; border-top: 3px solid var(--green); }
.impact dd {
  order: -1;
  margin: 0;
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  color: var(--green);
  font-size: clamp(2.1rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
}
.impact dt { color: var(--muted); font-size: 0.95rem; font-weight: 500; }

/* Project Story Cards */
.story {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.story:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.story img, .story iframe { aspect-ratio: 16/10; object-fit: cover; border-radius: 0; transition: transform 320ms ease; }
.story:hover img { transform: scale(1.025); }
.story-copy { padding: 1.35rem; }
.story h2 { font-size: clamp(1.35rem, 2.5vw, 1.85rem); }

.grid + .button, .program-actions { margin-top: 1.4rem; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 0.3rem; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; }

/* Process & FAQ */
.process { padding-left: 1.25rem; }
.process li { padding: 0.55rem 0.25rem; }
.process li::marker { color: var(--green); font-weight: 700; }

details { background: var(--white); border: 1px solid var(--line); border-radius: 0.75rem; padding: 0 1.15rem; margin-bottom: 0.65rem; }
summary { min-height: 48px; padding: 0.85rem 0; font-family: var(--font-display); font-weight: 700; cursor: pointer; }
details p { padding: 0 0 0.85rem; color: var(--muted); margin: 0; }

/* Forms */
.notice { display: inline-block; background: var(--amber-soft); color: var(--amber); border: 1px solid #f0cfb8; padding: 0.4rem 0.8rem; border-radius: 0.5rem; font-weight: 600; font-size: 0.92rem; }
fieldset { background: var(--white); border: 1px solid var(--line); border-radius: 0.95rem; padding: 1.4rem; box-shadow: var(--shadow-sm); }
legend { font-family: var(--font-display); font-weight: 700; padding: 0 0.4rem; }
.fields { margin-bottom: 1.15rem; }
label { display: grid; gap: 0.3rem; font-weight: 600; font-size: 0.92rem; }
input, select, textarea { font: inherit; padding: 0.55rem 0.75rem; min-height: 44px; min-width: 0; width: 100%; border: 1px solid #b8c7ce; border-radius: 0.5rem; background: #f8fafb; color: var(--muted); }
button:disabled { color: #5a6f78; background: #e6eef0; border-color: #c5d3d8; cursor: not-allowed; }

/* Founder Bio */
.founder { display: grid; gap: 1.75rem; align-items: start; }
.founder-photo { width: min(100%, 19rem); height: auto; border-radius: 1rem; box-shadow: var(--shadow-md); }
.founder-bio { max-width: 38rem; min-width: 0; }
.founder-bio h3 { margin-bottom: 0.3rem; }
.founder-tagline { font-size: 1.1rem; color: var(--deep); margin-top: 0; }
.founder-bio h4 { font-size: 1rem; margin: 1.5rem 0 0.4rem; }
.founder-bio h4 + p, .founder-bio ul { margin-top: 0; }
.founder-bio ul { padding-left: 1.25rem; }
.founder-bio li + li { margin-top: 0.4rem; }

/* Footer */
footer { background: var(--ink); color: #dce6eb; padding: 3.25rem 0; border-top: 1px solid #1e3a4a; }
footer strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--white); }
footer a { display: flex; min-height: 44px; align-items: center; color: var(--white); font-weight: 600; }
footer a:focus-visible { outline-color: #f4a261; }
.foot { display: grid; gap: 1.25rem; }
.foot small { color: #9fb2bc; align-self: start; }

.ai-callout { margin-top: 1.25rem; border-left: 4px solid var(--amber); }
.ai-strategy p { margin-bottom: 0; font-size: 0.95rem; color: var(--muted); }

/* Responsive Breakpoints */
@media (max-width: 30rem) {
  .header { gap: 0.45rem 0.65rem; }
  .header-actions { gap: 0.45rem; }
  .header-actions .button { padding: 0.45rem 0.75rem; font-size: 0.88rem; }
}
@media (min-width: 45rem) {
  .hero, .two, .timeline .story:has(img, iframe), .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline .story:has(img, iframe) { display: grid; align-items: start; }
  .three, .foot { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .founder { grid-template-columns: minmax(0, 19rem) minmax(0, 1fr); gap: 2.25rem; }
}
@media (min-width: 68rem) {
  .header nav { order: 0; width: auto; }
}
@media (min-width: 62rem) {
  .ai-strategy { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 44.99rem) {
  .founder-photo { width: min(100%, 19rem, 60svh); }
}

/* Preview controls, content layout, and accessibility */
img { height: auto; }
fieldset { min-width: 0; }
.three > *, .story-copy { min-width: 0; }
.story-media { display: grid; gap: 0.5rem; }
#abeokuta-it iframe { aspect-ratio: 16 / 9; }
.founder-bio li ul { margin-top: 0.35rem; list-style-type: circle; }
.contact-actions { margin-top: 1rem; }
.contact-actions [hidden] { display: none; }
.contact-actions button { cursor: pointer; }
footer .contact-actions { margin-top: 0.25rem; }
footer .contact-actions .outline { color: white; border-color: currentColor; background: transparent; }
footer .contact-actions .outline:hover { background: var(--deep); }
footer button:focus-visible, .dark :focus-visible { outline-color: #f4a261; }
.header-actions a.primary { color: var(--white); }
main [id], main:focus { scroll-margin-top: 10rem; }
.launch { color: var(--amber); background: var(--amber-soft); border-color: #f0cfb8; }
.dark .primary { color: var(--deep); background: #a9ead3; }
.dark .primary:hover { background: #d2f7e8; }
.dark .ai-callout { border-left-color: #f4a261; }
.feature-icon { display: block; margin-bottom: 0.7rem; color: var(--green); }
.dark .feature-icon { color: #9ce0c9; }
.steps li:has(.feature-icon) { display: grid; grid-template-columns: 2rem 1fr; gap: 0.65rem; align-content: start; align-items: center; }
.steps li:has(.feature-icon)::before, .steps .feature-icon { margin-bottom: 0; }
.step-label { grid-column: 1 / -1; }

@media (max-width: 30rem) {
  .header nav { gap: 0.1rem 0.65rem; justify-content: flex-start; }
  .header nav a { font-size: 0.85rem; padding-inline: 0.15rem; min-width: 44px; justify-content: center; }
}

.text-link::after { content: "→"; transition: transform 160ms ease; }
.text-link:hover::after { transform: translateX(3px); }

@media (prefers-reduced-motion: reduce) {
  .text-link::after { transition: none; }
  .text-link:hover::after { transform: none; }
  html { scroll-behavior: auto; }
  a, .button, .panel, .story, .story img, .story iframe { transition: none; }
  .button:hover, .panel:hover, .story:hover, .story:hover img { transform: none; }
}


/* Shared split sections and inquiry controls */
.banner .hero { padding-block: 0; }
.section-split { display: grid; align-items: start; gap: clamp(1.25rem, 4vw, 3rem); }
.section-split > *, .fields > * { min-width: 0; }
.section-split .process { margin-block: 0; }
.inquiry-layout form { width: 100%; max-width: none; }
.inquiry-layout .fields { grid-template-columns: minmax(0, 1fr); align-items: start; }
.inquiry-layout label { align-content: start; }
.field-wide { grid-column: 1 / -1; }
.audience-card .button { max-width: 100%; }
.training-actions { margin-top: 1.25rem; }

summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  flex: 0 0 auto;
  margin-inline-end: 0.2rem;
  border: solid var(--green);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}
details[open] summary::after { transform: rotate(225deg); }

footer .footer-contact {
  display: grid;
  justify-items: stretch;
  align-content: start;
  gap: 0.5rem;
  max-width: 18rem;
  margin: 0;
}
footer .footer-contact .button { justify-content: center; }

@media (min-width: 45rem) {
  .section-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); }
}
@media (min-width: 62rem) {
  .inquiry-layout .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  summary::after { transition: none; }
}

/* Round 18 */
[hidden] { display: none !important; }
.home-hero h1 { font-size: clamp(2.5rem, 5.25vw, 4rem); }
.header nav a { min-width: 44px; justify-content: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.impact-band { display: grid; align-items: center; gap: clamp(1.5rem, 4vw, 3rem); }
.impact-band figure { margin: 0; }
.impact-band img { border-radius: 0.9rem; }
.impact-band figcaption { color: var(--muted); font-size: 0.875rem; }
.impact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin: 0; }
.impact > div { padding: clamp(0.75rem, 2vw, 1.25rem); }
.impact dd { font-size: clamp(3rem, 4vw, 3.5rem); }

.security-strip { padding: clamp(1rem, 3vw, 1.65rem); margin-bottom: 1.5rem; border-radius: 0.9rem; background: var(--ink); color: var(--white); }
.security-strip ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 0; }
.security-strip li { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.92rem; font-weight: 600; line-height: 1.45; }
.security-strip svg { flex: 0 0 auto; color: #a9ead3; }
.security-strip p { margin: 0.85rem 0 0; color: #dce6eb; font-size: 0.85rem; }

.checkbox-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.checkbox-options label { display: flex; align-items: center; gap: 0.5rem; min-height: 44px; cursor: pointer; }
.checkbox-options input { width: 1.15rem; min-height: 0; height: 1.15rem; margin: 0; accent-color: var(--green); }
.field-label { margin: 0; font-weight: 600; font-size: 0.92rem; }
.field-error, .form-status { color: #922733; margin: 0.3rem 0 0; font-size: 0.9rem; }
.field-error:empty, .form-status:empty { margin: 0; }
[aria-invalid="true"] { border-color: #922733; }
.form-actions { margin-top: 1rem; }
.form-privacy, .field-hint { margin: 0.45rem 0 0; font-size: 0.9rem; }
.form-confirmation ol { padding-inline-start: 1.4rem; }

@media (min-width: 48rem) {
  .impact-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .security-strip ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: no-preference) {
  .section-entered { animation: section-enter 380ms ease-out both; }
}
@keyframes section-enter {
  from { opacity: 0; transform: translateY(0.65rem); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 44.99rem) {
  .home-hero .hero { padding-block: 1.75rem 2.25rem; gap: 1.25rem; }
}

/* Mobile navigation */
.menu-toggle { min-width: 44px; padding: 0; cursor: pointer; }
.menu-toggle span { display: grid; place-items: center; width: 1.15rem; height: 0.8rem; border-block: 2px solid; font-size: 0; }
.menu-toggle span::before { content: ""; width: 100%; border-top: 2px solid; }
@media (width < 68rem) {
  .header { column-gap: 0.4rem; }
  .header-actions { gap: 0.35rem; margin-inline-start: auto; }
  .header nav:not([hidden]) { max-height: 60dvh; overflow-y: auto; padding: 0.4rem; }
}

@media (max-width: 30rem) {
  .header { column-gap: 0.25rem; }
  .header-actions { gap: 0.25rem; }
  .header-actions .primary { padding-inline: 0.3rem; }
}

@media (min-width: 62rem) {
  .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.email-panel {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
  max-width: 100%;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
}
.email-panel > a { overflow-wrap: anywhere; }
.email-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.email-copy-status { margin: 0; font-size: 0.875rem; }
.email-copy-status:empty { height: 0; margin-top: -0.5rem; }
.copy-address-source { position: fixed; inset: 0 auto auto 0; width: 1px; height: 1px; min-height: 0; padding: 0; opacity: 0; }
@media (max-width: 30rem) {
  .email-actions { display: grid; }
}

.quick-links-section { padding-block: 1.5rem; }
.quick-links { align-items: stretch; gap: 0.75rem; }
.quick-links a { display: flex; align-items: center; min-height: 44px; font-weight: 700; }
.support-process { margin-block: 1.5rem; }
.support-process .process { margin-block: 0.75rem; }
.device-checklist { margin-bottom: 1.5rem; }
.device-checklist ul { margin-top: 0; padding-inline-start: 1.25rem; }
.device-checklist > p { margin-bottom: 0; }
.story-parts { display: grid; gap: 0.65rem; margin: 0.75rem 0; }
.story-parts dt { font-weight: 700; }
.story-parts dd { margin-inline-start: 0; }
@media (min-width: 62rem) {
  .quick-links { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.story-photo { position: relative; display: block; overflow: hidden; }
.story-photo:focus-visible { outline-offset: -5px; z-index: 1; }
.story-photo::after {
  content: "↗";
  position: absolute;
  inset: 0.65rem 0.65rem auto auto;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.35rem;
  background: var(--ink);
  color: var(--white);
  opacity: 0;
  pointer-events: none;
}
.story-photo:hover::after, .story-photo:focus-visible::after { opacity: 1; }
.story .ogbc-photo img { object-fit: contain; background: var(--ink); }
.story-album-link::after { content: none; }

@media (width < 68rem) {
  .wordmark img { height: 40px; }
}
