/* Amina Sambo Welfare Foundation — public site
   Palette drawn from the foundation logo: forest green leaves, antique gold leaves and crescent. */
:root {
  --forest: #1f4a36;
  --forest-deep: #133222;
  --forest-soft: #2c5f46;
  --gold: #9c7a36;          /* gold for text/lines on light backgrounds (AA on paper) */
  --gold-bright: #cfae67;   /* gold for use on forest backgrounds */
  --paper: #f8f7f3;
  --white: #ffffff;
  --sage: #e7ede8;
  --ink: #1c2a22;
  --muted: #5b6a61;
  --line: #d9dfd9;
  --danger: #a83a32;
  --success: #2f6b45;
  --radius: 6px;
  --arch: 999px 999px 6px 6px;
  --font-display: "Marcellus", "Times New Roman", serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--forest-soft); }
:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.18; color: var(--forest-deep); margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: var(--radius);
  font: 600 15px/1.2 var(--font-body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-gold { background: var(--gold-bright); color: var(--forest-deep); }
.btn-gold:hover { background: #dcc085; color: var(--forest-deep); }
.btn-forest { background: var(--forest); color: var(--white); }
.btn-forest:hover { background: var(--forest-deep); color: var(--white); }
.btn-ghost { border-color: currentColor; color: var(--forest); background: transparent; }
.btn-ghost:hover { background: var(--forest); color: var(--white); border-color: var(--forest); }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: var(--white); background: transparent; }
.btn-ghost-light:hover { background: var(--white); color: var(--forest-deep); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* Top bar + header */
.topbar { background: var(--forest-deep); color: #d5e0d8; font-size: 14px; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar a { color: #e9efe9; text-decoration: none; }
.topbar a:hover { color: var(--gold-bright); }
.topbar-contacts, .socials { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.socials a { display: inline-flex; }
.socials svg { width: 17px; height: 17px; fill: currentColor; }

.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--forest-deep); flex-shrink: 0; }
.brand img { width: 52px; height: auto; }
.brand-name { font-family: var(--font-display); font-size: 1.22rem; line-height: 1.05; display: block; }
.brand-sub { display: block; font-size: .74rem; color: var(--gold); letter-spacing: .14em; margin-top: 3px; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.main-nav a { display: block; padding: 10px 12px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15.5px; border-radius: var(--radius); }
.main-nav a:hover { color: var(--forest); background: var(--sage); }
.main-nav a.active { color: var(--forest); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.main-nav a.btn { color: var(--white); padding: 10px 16px; margin-left: 8px; border-radius: var(--radius); }
.main-nav a.btn:hover { color: var(--white); background: var(--forest-deep); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 8px 10px; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; display: block; }
@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); display: none; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 8px 20px 20px; gap: 0; }
  .main-nav a { padding: 12px 4px; border-bottom: 1px solid var(--sage); border-radius: 0; }
  .main-nav a.active { box-shadow: none; color: var(--gold); }
  .main-nav a.btn { margin: 14px 0 0; border-bottom: 0; justify-content: center; }
  .header-cta { display: none; }
}
@media (max-width: 520px) { .brand-name { font-size: 1.02rem; } .brand img { width: 42px; } .topbar-contacts .hide-sm { display: none; } }

/* Pattern used on forest backgrounds and as image placeholder (eight-point star lattice) */
.pattern-bg { background-color: var(--forest);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23cfae67' stroke-opacity='.13' stroke-width='1'%3E%3Cpath d='M32 8l7 17 17 7-17 7-7 17-7-17-17-7 17-7z'/%3E%3Crect x='20' y='20' width='24' height='24' transform='rotate(45 32 32)'/%3E%3C/g%3E%3C/svg%3E"); }
.ph { background-color: var(--forest-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23cfae67' stroke-opacity='.35' stroke-width='1'%3E%3Cpath d='M32 8l7 17 17 7-17 7-7 17-7-17-17-7 17-7z'/%3E%3C/g%3E%3C/svg%3E");
  display: flex; align-items: center; justify-content: center; }
.ph > img.ph-mark { width: 40% !important; max-width: 120px; height: auto !important; aspect-ratio: 1; object-fit: contain; opacity: .92; background: rgba(248,247,243,.94); border-radius: 50%; padding: 10%; }

/* Hero */
.hero { color: var(--white); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.hero h1 { color: var(--white); margin-bottom: .4em; }
.hero-lead { font-size: 1.15rem; color: #dbe6de; max-width: 34em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-dedication { display: flex; align-items: center; gap: 12px; color: var(--gold-bright); font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 18px; }
.hero-dedication svg { width: 22px; height: 22px; fill: var(--gold-bright); flex-shrink: 0; }
.hero-slide { display: none; }
.hero-slide.is-active { display: block; animation: heroIn .7s ease both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hero-dots { display: flex; gap: 8px; margin-top: 32px; }
.hero-dots button { width: 28px; height: 4px; border: 0; padding: 0; background: rgba(255,255,255,.3); cursor: pointer; border-radius: 2px; }
.hero-dots button.is-active { background: var(--gold-bright); }

/* The arch frame: the site's signature device */
.arch { border-radius: var(--arch); overflow: hidden; position: relative; aspect-ratio: 4 / 5; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-outline { padding: 10px; border: 1.5px solid var(--gold-bright); border-radius: var(--arch); }
.hero-visual { max-width: 420px; justify-self: end; width: 100%; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; padding-top: 44px; padding-bottom: 52px; }
  .hero-visual { justify-self: start; max-width: 240px; }
}

/* Sections */
.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section-white { background: var(--white); }
.section-sage { background: var(--sage); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 8px 0 0; color: var(--muted); max-width: 40em; }
.gold-rule { width: 56px; height: 2px; background: var(--gold); border: 0; margin: 0 0 18px; }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.7rem; margin-top: 1.4em; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--gold); font-family: var(--font-display); font-size: 1.25rem; color: var(--forest); }
.prose img { border-radius: var(--radius); margin: 1.2em 0; }
.muted { color: var(--muted); }

/* Memorial */
.memorial { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: center; }
.memorial .arch { aspect-ratio: 3 / 4; }
.memorial-name { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.memorial-quote { font-family: var(--font-display); font-size: 1.3rem; color: var(--forest); border-left: 2px solid var(--gold); padding-left: 20px; margin: 24px 0; }
@media (max-width: 860px) { .memorial { grid-template-columns: 1fr; gap: 32px; } .memorial .arch-outline { max-width: 280px; } }

/* Impact band */
.impact { color: var(--white); }
.impact .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; padding-top: 40px; padding-bottom: 40px; }
.impact-item { padding: 8px 24px; border-left: 1px solid rgba(207,174,103,.35); }
.impact-item:first-child { border-left: 0; padding-left: 0; }
.impact-value { font-family: var(--font-body); font-weight: 700; font-size: 2.1rem; letter-spacing: -.01em; color: var(--gold-bright); line-height: 1.1; }
.impact-label { color: #d5e0d8; font-size: 15px; }
@media (max-width: 640px) { .impact-item { border-left: 0; padding: 12px 0; border-top: 1px solid rgba(207,174,103,.25); } .impact-item:first-child { border-top: 0; } }

/* Project listing: rows rather than cards so deadlines scan easily */
.project-list { border-top: 1px solid var(--line); }
.project-row { display: grid; grid-template-columns: 200px 1fr auto; gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: center; }
.project-row .thumb { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; }
.project-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.project-row h3 { margin: 0 0 6px; }
.project-row h3 a { text-decoration: none; color: var(--forest-deep); }
.project-row h3 a:hover { color: var(--forest); text-decoration: underline; }
.project-row p { margin: 0; color: var(--muted); }
.project-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14.5px; color: var(--muted); margin-top: 10px; }
.project-actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; min-width: 170px; }
@media (max-width: 760px) {
  .project-row { grid-template-columns: 84px 1fr; gap: 14px 16px; align-items: start; }
  .project-row .thumb { aspect-ratio: 1; }
  .project-row h3 { font-size: 1.2rem; }
  .project-actions { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; min-width: 0; }
}

.status { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; padding: 4px 10px; border-radius: 30px; background: var(--sage); color: var(--forest); white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-open { background: #e3f0e6; color: #23683f; }
.status-upcoming { background: #f4ecd9; color: #7a5b1d; }
.status-closed, .status-completed { background: #ecece9; color: #5d605c; }
.status-ongoing { background: #e4ecf1; color: #2f5670; }

/* Activities */
.activity-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; }
.activity-feature .media { aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; }
.activity-feature .media img { width: 100%; height: 100%; object-fit: cover; }
.activity-feature h3 { font-size: 1.7rem; }
.activity-list { display: flex; flex-direction: column; }
.activity-item { display: grid; grid-template-columns: 112px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.activity-item:first-child { padding-top: 0; }
.activity-item .media { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; }
.activity-item .media img { width: 100%; height: 100%; object-fit: cover; }
.activity-item h3 { font-size: 1.12rem; margin: 2px 0 4px; font-family: var(--font-body); font-weight: 600; line-height: 1.35; }
.activity-item h3 a, .activity-feature h3 a { color: var(--forest-deep); text-decoration: none; }
.activity-item h3 a:hover, .activity-feature h3 a:hover { text-decoration: underline; }
.meta { font-size: 14px; color: var(--muted); }
.meta .type { color: var(--gold); font-weight: 600; }
@media (max-width: 860px) { .activity-grid { grid-template-columns: 1fr; } }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px 32px; }
.post .media { aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; }
.post .media img { width: 100%; height: 100%; object-fit: cover; }
.post h3 { font-size: 1.3rem; margin: 6px 0 8px; }
.post h3 a { color: var(--forest-deep); text-decoration: none; }
.post h3 a:hover { text-decoration: underline; }
.post p { color: var(--muted); margin: 0; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; background: rgba(10,25,17,.92); display: none; align-items: center; justify-content: center; z-index: 90; padding: 24px; flex-direction: column; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 80vh; max-width: 100%; border-radius: var(--radius); }
.lightbox p { color: #e6ede7; margin-top: 14px; text-align: center; }
.lightbox button { position: absolute; top: 16px; right: 16px; background: none; border: 1px solid rgba(255,255,255,.4); color: #fff; font-size: 22px; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; }
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-bar a { padding: 7px 14px; border-radius: 30px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 14.5px; background: var(--white); }
.filter-bar a.active, .filter-bar a:hover { background: var(--forest); border-color: var(--forest); color: var(--white); }

/* Testimonial */
.testimonial { max-width: 820px; margin: 0 auto; text-align: center; }
.testimonial blockquote { font-family: var(--font-display); font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.45; color: var(--forest-deep); margin: 0 0 20px; }
.testimonial cite { font-style: normal; color: var(--muted); }
.testimonial cite strong { color: var(--ink); display: block; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 36px 28px; }
.team-card .arch { aspect-ratio: 4/5; margin-bottom: 14px; }
.team-card h3 { font-size: 1.2rem; margin-bottom: 2px; }
.team-card .position { color: var(--gold); font-weight: 600; font-size: 14.5px; }
.team-card p { font-size: 15px; color: var(--muted); margin-top: 8px; }

/* Partners */
.partners { display: flex; flex-wrap: wrap; gap: 36px; align-items: center; }
.partners a, .partners span { display: block; }
.partners img { max-height: 54px; width: auto; filter: grayscale(1); opacity: .8; }
.partners a:hover img { filter: none; opacity: 1; }
.partner-name { font-family: var(--font-display); font-size: 1.15rem; color: var(--muted); }

/* CTA band */
.cta-band { color: var(--white); }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-top: 56px; padding-bottom: 56px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin-bottom: 6px; }
.cta-band p { color: #d5e0d8; margin: 0; max-width: 40em; }

/* Page header */
.page-head { color: var(--white); }
.page-head .wrap { padding-top: 56px; padding-bottom: 56px; }
.page-head h1 { color: var(--white); margin-bottom: 8px; font-size: clamp(2rem, 4vw, 3rem); }
.page-head p { color: #d5e0d8; max-width: 44em; margin: 0; font-size: 1.08rem; }
.crumbs { font-size: 14px; color: #b9cbbf; margin-bottom: 14px; }
.crumbs a { color: #e5ece6; }

/* Detail layouts */
.detail { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.aside-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: sticky; top: 108px; }
.aside-box h3 { font-size: 1.15rem; }
.facts { list-style: none; margin: 0 0 20px; padding: 0; }
.facts li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--sage); font-size: 15px; }
.facts li span:first-child { color: var(--muted); }
.facts li span:last-child { text-align: right; font-weight: 600; }
.detail-image { border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; aspect-ratio: 16/9; }
.detail-image img { width: 100%; height: 100%; object-fit: cover; }
.detail h2 { font-size: 1.6rem; margin-top: 1.6em; }
@media (max-width: 920px) { .detail { grid-template-columns: 1fr; gap: 32px; } .aside-box { position: static; } }

/* Forms */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.form-section { border: 0; padding: 0; margin: 0 0 30px; }
.form-section legend { font-family: var(--font-display); font-size: 1.35rem; color: var(--forest-deep); margin-bottom: 14px; padding: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 20px; }
.span-2 { grid-column: span 2; }
@media (max-width: 680px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } .span-2 { grid-column: auto; } .form-card { padding: 22px 18px; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.grid-2 .field, .grid-3 .field { margin-bottom: 0; }
.field label, .field .label { font-weight: 600; font-size: 15px; }
.field .req { color: var(--danger); }
.field .hint { font-size: 13.5px; color: var(--muted); }
.input, select.input, textarea.input { width: 100%; padding: 11px 13px; border: 1.5px solid #c9d2cb; border-radius: var(--radius); font: 16px/1.4 var(--font-body); background: var(--white); color: var(--ink); }
.input:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(31,74,54,.15); }
textarea.input { min-height: 130px; resize: vertical; }
.input.is-invalid { border-color: var(--danger); }
.error { color: var(--danger); font-size: 14px; }
.choice { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; padding: 4px 0; }
.choice input { margin-top: 5px; accent-color: var(--forest); width: 17px; height: 17px; }
.hp { position: absolute; left: -5000px; }
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 24px; border: 1px solid; }
.alert-success { background: #e8f3eb; border-color: #b8d9c2; color: #1f5534; }
.alert-error { background: #f9e9e7; border-color: #e6bcb7; color: #7d2a23; }
.alert-info { background: #f4efe2; border-color: #e4d6b1; color: #5f4a1a; }

/* Applicant account */
.auth-wrap { max-width: 520px; margin: 0 auto; }
.auth-wrap h1 { font-size: 2rem; }
.account-nav { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.account-nav a, .account-nav button { padding: 10px 14px; text-decoration: none; color: var(--muted); font: 500 15px var(--font-body); border: 0; background: none; border-bottom: 2px solid transparent; cursor: pointer; }
.account-nav a.active { color: var(--forest-deep); border-bottom-color: var(--gold); }
.account-nav form { margin-left: auto; }
.app-list { border-top: 1px solid var(--line); }
.app-item { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.app-item h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.08rem; margin: 0 0 4px; }
.app-item h3 a { color: var(--forest-deep); text-decoration: none; }
.app-item h3 a:hover { text-decoration: underline; }
.s-submitted { background: #e8eef5; color: #2f5670; } .s-under_review { background: #f4ecd9; color: #7a5b1d; }
.s-shortlisted { background: #ede6f4; color: #5b3f7a; } .s-approved { background: #e3f0e6; color: #23683f; }
.s-waitlisted { background: #f1ede4; color: #6d5d3a; } .s-rejected { background: #ecece9; color: #5d605c; }
.on-file { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--sage); border-radius: var(--radius); margin-bottom: 16px; flex-wrap: wrap; }
.on-file strong { color: var(--forest-deep); }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 860px) { .account-grid { grid-template-columns: 1fr; } }
.alert ul { margin: 6px 0 0; padding-left: 20px; }

/* Application status / receipt */
.receipt { text-align: center; }
.receipt .ref { font-family: var(--font-display); font-size: 2rem; color: var(--forest); letter-spacing: .06em; background: var(--sage); display: inline-block; padding: 10px 24px; border-radius: var(--radius); margin: 8px 0 18px; }
.timeline { list-style: none; padding: 0; margin: 24px 0 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 18px 22px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold-bright); border: 2px solid var(--white); }
.timeline strong { display: block; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list .k { display: block; font-size: 14px; color: var(--muted); }
.map-embed iframe { width: 100%; height: 300px; border: 0; border-radius: var(--radius); margin-top: 24px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Pagination */
.pagination { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 40px; list-style: none; padding: 0; }
.pagination a, .pagination span { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: var(--white); color: var(--ink); font-size: 15px; }
.pagination .active span { background: var(--forest); color: var(--white); border-color: var(--forest); }
.pagination .disabled span { color: #aab3ad; }

/* Footer */
.site-footer { background: var(--forest-deep); color: #c9d6cd; font-size: 15.5px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.site-footer h4 { color: var(--white); font-size: 1.15rem; margin-bottom: 16px; }
.site-footer a { color: #e3ebe5; text-decoration: none; }
.site-footer a:hover { color: var(--gold-bright); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.footer-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.footer-brand .badge { width: 64px; height: 64px; border-radius: 50%; background: var(--paper); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.footer-brand .badge img { width: 46px; }
.footer-brand span { font-family: var(--font-display); color: var(--white); font-size: 1.2rem; line-height: 1.2; }
.footer-tagline { font-family: var(--font-display); color: var(--gold-bright); font-style: italic; }
.subscribe { display: flex; gap: 8px; margin-top: 12px; }
.subscribe .input { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: var(--white); }
.subscribe .input::placeholder { color: #a7b8ad; }
.footer-bottom { border-top: 1px solid rgba(207,174,103,.25); }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; font-size: 14px; flex-wrap: wrap; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } .subscribe { flex-direction: column; } }

.empty { padding: 40px; text-align: center; background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.text-center { text-align: center; }

/* Profile picture and NIN confirmation code */
.avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--sage); color: var(--forest); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; flex-shrink: 0; border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--line); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-lg { width: 112px; height: 112px; font-size: 2rem; font-family: var(--font-display); }
.photo-row { display: flex; gap: 20px; align-items: flex-start; }
.photo-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.photo-form .input { flex: 1 1 200px; }
@media (max-width: 520px) { .photo-row { flex-direction: column; } }
.link-button { background: none; border: 0; padding: 0; font: inherit; font-size: 15px; color: var(--forest); text-decoration: underline; cursor: pointer; }
.link-button:hover { color: var(--forest-deep); }
.otp-box { background: var(--paper); border: 1px solid var(--gold-bright); border-radius: var(--radius); padding: 16px; margin-bottom: 10px; }
.otp-input { font-size: 1.4rem; letter-spacing: .4em; max-width: 220px; font-variant-numeric: tabular-nums; }
.otp-actions { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 8px; }
.otp-actions form { margin: 0; }
.nin-check { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; background: var(--paper); margin-top: 10px; }
.nin-check[hidden] { display: none; }
.nin-ok { color: var(--success); font-weight: 600; }
.account-head { display: flex; align-items: center; gap: 16px; }
.photo-row .hint { display: block; font-size: 14px; margin-top: 8px; color: var(--muted); }

/* Cloudflare Turnstile */
.captcha-field { margin: 4px 0 16px; min-height: 0; }
.captcha-field .error { display: block; margin-top: 6px; }
.subscribe { flex-wrap: wrap; }
.subscribe .captcha-field { flex-basis: 100%; margin: 0; }

/* What the NIN record says */
.nin-record { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 0 0 14px; font-size: 15px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; }
.nin-record dt { color: var(--muted); }
.nin-record dd { margin: 0; font-weight: 600; }
.nin-mismatch { background: #fdf6e8; border-left: 3px solid var(--gold); padding: 10px 12px; font-size: 15px; margin: 0 0 10px; }
