/* KAFIS public site. Builds on the tokens and components in kafis.css. */
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body.site { background: var(--surface); font-size: 1rem; line-height: 1.6; }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.site h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.625rem, 2.6vw, 2.25rem); line-height: 1.15; letter-spacing: -.015em; max-width: 22ch; }
.site h3 { font-size: 1.0625rem; font-weight: 650; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-700); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--red-600); }
.lede { color: var(--ink-2); font-size: 1.0625rem; max-width: 62ch; margin-top: 14px; }
section.band { padding: clamp(56px, 8vw, 96px) 0; }
.band-alt { background: var(--bg); border-block: 1px solid var(--line-2); }
.band-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 40px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 500; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line-2); }
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.site-brand { display: flex; align-items: center; gap: 11px; color: var(--ink); } .site-brand:hover { text-decoration: none; }
.site-brand b { display: block; font-size: 1.125rem; letter-spacing: .05em; line-height: 1.1; } .site-brand span span { display: block; font-size: .6875rem; color: var(--muted); }
.site-nav { display: flex; gap: 2px; margin-left: auto; } .site-nav a { padding: 8px 11px; border-radius: var(--r); color: var(--ink-2); font-size: .9375rem; font-weight: 500; } .site-nav a:hover { background: var(--bg); color: var(--ink); text-decoration: none; }
.site-menu { display: none; }

/* Hero */
.hero { background-color: var(--green-950); color: #fff; position: relative; overflow: hidden;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 48px 48px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; padding-block: clamp(56px, 8vw, 104px); }
.hero .eyebrow { color: #9fd8b6; }
.hero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.04; letter-spacing: -.025em; max-width: 13ch; }
.hero h1 em { font-style: italic; color: #a8e0be; }
.hero p { color: #c3d6cb; font-size: 1.125rem; max-width: 54ch; margin-top: 22px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.btn-on-dark { background: #fff; border-color: #fff; color: var(--green-900); } .btn-on-dark:hover { background: var(--green-100); border-color: var(--green-100); color: var(--green-950); }
.btn-outline-dark { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; } .btn-outline-dark:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }
.hero-map { position: relative; justify-self: end; width: min(520px, 100%); }
.hero-map .kano-svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .35)); }
.hero-map .kano-svg path { fill: rgba(255, 255, 255, .09); stroke: rgba(255, 255, 255, .45); stroke-width: .8; } .hero-map .kano-svg path:hover { fill: #2a9d5f; }
.hero-map figcaption { margin-top: 14px; font-size: .8125rem; color: #9db8a8; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.hero-map .tag { position: absolute; left: 0; top: 6%; background: #fff; color: var(--ink); border-radius: var(--r); padding: 9px 12px; font-size: .8125rem; box-shadow: var(--shadow-2); line-height: 1.35; } .hero-map .tag b { display: block; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.hero-map .tag.two { left: auto; right: -2%; top: auto; bottom: 16%; }

/* Fact band */
.facts { border-bottom: 1px solid var(--line); background: var(--surface); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: 26px 24px; border-left: 1px solid var(--line-2); } .fact:first-child { border-left: 0; padding-left: 0; }
.fact b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 2rem; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--green-800); }
.fact span { display: block; font-size: .875rem; color: var(--muted); margin-top: 4px; }

/* About */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.objectives { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.objectives li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.objectives .n { font-family: var(--font-display); font-size: 1.25rem; color: var(--red-600); line-height: 1.3; } .objectives p { color: var(--muted); font-size: .9375rem; margin-top: 2px; }

/* Capabilities: ruled rows rather than a grid of boxes */
.caps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.cap { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 26px 28px 26px 0; border-bottom: 1px solid var(--line); } .cap:nth-child(even) { padding-left: 28px; padding-right: 0; border-left: 1px solid var(--line); }
.cap-icon { width: 44px; height: 44px; border-radius: var(--r); background: var(--green-50); color: var(--green-700); display: flex; align-items: center; justify-content: center; }
.cap p { color: var(--muted); font-size: .9375rem; margin-top: 4px; }

/* Intelligence map */
.intel { display: grid; grid-template-columns: minmax(0, 1fr) 340px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.intel .map { height: 560px; border-radius: 0; }
.intel-side { border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.intel-controls { padding: 16px; border-bottom: 1px solid var(--line-2); display: grid; gap: 10px; }
#lga-panel { padding: 18px 16px; flex: 1; } #lga-panel .lga-name { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; }
.intel-note { padding: 12px 16px; border-top: 1px solid var(--line-2); font-size: .75rem; color: var(--muted); background: var(--surface-2); }

/* Modules */
.modules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.module { background: var(--surface); padding: 26px 22px; transition: background .15s; } .module:hover { background: var(--green-50); }
.module .icon { color: var(--green-700); margin-bottom: 14px; } .module p { color: var(--muted); font-size: .9rem; margin-top: 6px; }
.module-wide { grid-column: span 2; background: var(--green-950); color: #fff; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; } .module-wide:hover { background: var(--green-950); } .module-wide p { color: #b9cdc1; } .module-wide h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.375rem; }

/* How it works */
.flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); counter-reset: step; position: relative; }
.flow::before { content: ""; position: absolute; left: 20px; right: 20px; top: 20px; height: 2px; background: var(--line); }
.flow li { list-style: none; counter-increment: step; padding-right: 18px; position: relative; }
.flow li::before { content: counter(step); display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); border: 2px solid var(--green-700); color: var(--green-800); font-weight: 700; margin-bottom: 16px; position: relative; }
.flow li:last-child::before { background: var(--green-700); color: #fff; }
.flow p { color: var(--muted); font-size: .9rem; margin-top: 4px; } .flow { margin: 0; padding: 0; }

/* Impact */
.audiences { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.audience { border-top: 3px solid var(--green-700); padding-top: 18px; } .audience:nth-child(2) { border-color: var(--red-600); } .audience:nth-child(3) { border-color: var(--green-500); } .audience:nth-child(4) { border-color: var(--ink); }
.audience ul { margin: 12px 0 0; padding: 0; list-style: none; } .audience li { padding: 7px 0 7px 22px; position: relative; color: var(--ink-2); font-size: .9375rem; border-bottom: 1px solid var(--line-2); }
.audience li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 10px; height: 2px; background: var(--green-600); }

/* Registration information */
.reg { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); }
.checklist { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; } .checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; } .checklist .icon { color: var(--green-700); margin-top: 3px; }
.notice { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--red-600); border-radius: var(--r); padding: 20px 22px; } .notice h3 { margin-bottom: 6px; } .notice p { color: var(--ink-2); font-size: .9375rem; } .notice + .notice { margin-top: 16px; border-left-color: var(--green-700); }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.news-item { border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; } .news-item time { font-size: .8125rem; color: var(--muted); } .news-item h3 a { color: var(--ink); } .news-item h3 a:hover { color: var(--green-700); } .news-item p { color: var(--muted); font-size: .9375rem; }
.news-empty { border: 1px dashed var(--line); border-radius: var(--r-lg); padding: 40px; text-align: center; color: var(--muted); }
.article { max-width: 720px; } .article h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.15; letter-spacing: -.015em; } .article .body { margin-top: 28px; font-size: 1.0625rem; color: var(--ink-2); } .article .body p { margin-bottom: 1em; }
.prose h2 { font-size: 1.375rem; margin: 36px 0 10px; max-width: none; } .prose p, .prose li { color: var(--ink-2); } .prose p { margin-bottom: 12px; } .prose ul { padding-left: 20px; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); }
.contact-list { margin: 24px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); } .contact-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); } .contact-list .icon { color: var(--green-700); margin-top: 3px; } .contact-list small { display: block; color: var(--muted); font-size: .8125rem; }
.placeholder { color: var(--amber-700); background: var(--amber-50); border: 1px dashed var(--amber-100); border-radius: var(--r-sm); padding: 0 6px; font-size: .875rem; }
.contact form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: grid; gap: 16px; } .hp { position: absolute; left: -9999px; }

/* Footer */
.site-foot { background: var(--green-950); color: #b9cdc1; padding: 56px 0 28px; font-size: .9375rem; }
.site-foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; } .site-foot h4 { color: #fff; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; }
.site-foot a { color: #b9cdc1; display: block; padding: 4px 0; } .site-foot a:hover { color: #fff; } .site-foot .site-brand { color: #fff; margin-bottom: 14px; } .site-foot .site-brand span span { color: #9db8a8; }
.site-foot .legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8125rem; color: #8ba698; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); } .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

@media (max-width: 1020px) {
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; padding: 10px 24px 18px; box-shadow: var(--shadow-2); } .site-nav.open { display: flex; } .site-nav a { padding: 12px 6px; border-bottom: 1px solid var(--line-2); border-radius: 0; }
  .site-menu { display: inline-flex; margin-left: auto; } .site-head .login-btn span { display: none; }
  .hero .wrap, .split, .reg, .contact { grid-template-columns: minmax(0, 1fr); } .hero-map { justify-self: center; width: min(420px, 100%); } .hero-map .tag.two { right: 0; }
  .facts .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fact { padding: 20px 16px; } .fact:nth-child(odd) { border-left: 0; padding-left: 0; } .fact:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .caps { grid-template-columns: minmax(0, 1fr); } .cap, .cap:nth-child(even) { padding: 22px 0; border-left: 0; }
  .intel { grid-template-columns: minmax(0, 1fr); } .intel .map { height: 420px; } .intel-side { border-left: 0; border-top: 1px solid var(--line); }
  .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); } .audiences { grid-template-columns: repeat(2, minmax(0, 1fr)); } .news-grid { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 0; } .flow::before { left: 19px; right: auto; top: 20px; bottom: 20px; width: 2px; height: auto; } .flow li { display: grid; grid-template-columns: 40px 1fr; gap: 0 16px; padding: 0 0 26px; } .flow li::before { grid-row: span 2; margin: 0; }
  .site-foot .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .wrap { width: calc(100% - 32px); } .modules, .audiences, .site-foot .cols { grid-template-columns: minmax(0, 1fr); } .module-wide { grid-column: auto; } .hero-actions .btn { flex: 1 1 100%; } .hero-map .tag { display: none; } .intel .map { height: 360px; } }
