/* Mtalii Education Programme: site styles */
:root {
  --brand: #5b2a86; --brand-2: #6f36a3; --brand-3: #8e4fc4; --brand-ink: #3b1a58; --brand-soft: #f3ecfa;
  --green: #2f8a3b; --green-2: #3fa34c; --green-soft: #e9f6ea; --lime: #58b947;
  --gold: #f0b429;
  --ink: #1f1d2b; --text: #3a3847; --muted: #6b6878; --line: #e7e3ee;
  --cream: #fbf8f3; --white: #fff; --navy: #19142a;
  --radius: 14px; --radius-sm: 8px; --shadow: 0 10px 30px rgba(40, 20, 70, .08); --shadow-lg: 0 18px 50px rgba(40, 20, 70, .16);
  --wrap: 1200px; --narrow: 800px;
  --font: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand); }
h1, h2, h3, h4, .h1, .h3, .h4 { font-family: var(--serif); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1, .h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h2, .sec-h { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3, .h3 { font-size: 1.28rem; }
.h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: var(--narrow); margin: 0 auto; padding: 0 22px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.lede { font-size: 1.12rem; max-width: 720px; }
.center .lede, .sec-intro.center .lede { margin-left: auto; margin-right: auto; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.top-gap { margin-top: 2rem; }
.spacer { flex: 1; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.ico { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.22em; }
.ico.sm { width: 1em; height: 1em; vertical-align: -0.14em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; justify-content: center; background: var(--brand); color: #fff; border: 2px solid var(--brand); padding: .72em 1.4em; border-radius: 999px; font-weight: 700; font-size: .98rem; text-decoration: none; cursor: pointer; transition: transform .15s, background .2s, box-shadow .2s; font-family: inherit; line-height: 1.2; }
.btn:hover { background: var(--brand-ink); border-color: var(--brand-ink); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-accent { background: var(--green); border-color: var(--green); }
.btn-accent:hover { background: #24702f; border-color: #24702f; }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--brand-soft); color: var(--brand); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.85); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--brand); border-color: #fff; }
.btn-light { background: #fff; color: var(--brand); border-color: #fff; }
.btn-light:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-small { padding: .45em 1em; font-size: .88rem; }
.btn-lg { padding: .9em 1.8em; font-size: 1.05rem; }
.btn-danger { background: #b3261e; border-color: #b3261e; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4rem; }
.actions:empty { display: none; }
.center-actions { justify-content: center; }
.link { font-weight: 700; text-decoration: none; display: inline-flex; gap: .35em; align-items: center; }
.more { font-weight: 700; color: var(--brand-2); display: inline-flex; gap: .35em; align-items: center; text-decoration: none; }

/* Header */
.topbar { background: var(--brand-ink); color: #e9ddf6; font-size: .85rem; }
.topbar a { color: #fff; text-decoration: none; }
.topbar-in { display: flex; gap: 22px; align-items: center; min-height: 36px; }
.muted-light { color: rgba(255,255,255,.7); }
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--line); }
.site-header .topbar { transition: margin .25s; }
.site-header.scrolled .topbar { margin-top: -36px; }
.bar { display: flex; align-items: center; gap: 20px; min-height: 78px; }
.brand { text-decoration: none; display: inline-flex; align-items: center; margin-right: auto; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--brand); }
.logo-mark { width: 48px; height: 40px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { font-family: var(--font); font-weight: 800; letter-spacing: .14em; font-size: 1.3rem; color: var(--brand); }
.logo-text small { color: var(--green); font-weight: 700; font-size: .86rem; margin-top: 3px; letter-spacing: .01em; }
.logo.light strong { color: #fff; } .logo.light small { color: #9fe096; }
.logo-img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; white-space: nowrap; padding: 8px 12px; border-radius: 999px; font-size: .96rem; }
.nav a:hover { background: var(--brand-soft); color: var(--brand); }
.nav a.on { color: var(--brand); background: var(--brand-soft); }
.nav .btn-donate { background: var(--green); color: #fff; margin-left: 8px; padding: 10px 20px; border: 0; }
.nav .btn-donate:hover, .nav .btn-donate.on { background: #24702f; color: #fff; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Slider */
.slider { position: relative; overflow: hidden; background: var(--brand-ink); color: #fff; }
.slider.h-tall { height: min(86vh, 720px); min-height: 520px; }
.slider.h-medium { height: min(64vh, 540px); min-height: 420px; }
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; display: flex; align-items: center; }
.slide.active { opacity: 1; visibility: visible; }
.slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease-out; }
.slide.active .slide-img { transform: scale(1); }
.slide-shade, .phero-shade, .cta-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(35,14,56,.88) 0%, rgba(59,26,88,.62) 45%, rgba(20,10,30,.15) 100%); }
.slide.al-center .slide-shade { background: rgba(30,12,48,.6); }
.slide-text { position: relative; z-index: 2; width: 100%; }
.slide-text > * { max-width: 640px; }
.slide.al-center .slide-text { text-align: center; } .slide.al-center .slide-text > * { margin-left: auto; margin-right: auto; } .slide.al-center .actions { justify-content: center; }
.slide h1, .slide .h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); }
.slide .lead { color: rgba(255,255,255,.92); }
.slide.active .slide-text > * { animation: rise .8s both; }
.slide.active .slide-text > *:nth-child(2) { animation-delay: .1s; } .slide.active .slide-text > *:nth-child(3) { animation-delay: .2s; } .slide.active .slide-text > *:nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.sl-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.16); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; transition: background .2s; }
.sl-arrow:hover { background: rgba(255,255,255,.32); }
.sl-arrow.prev { left: 18px; } .sl-arrow.next { right: 18px; }
.sl-dots { position: absolute; bottom: 26px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; z-index: 3; }
.sl-dots button { width: 12px; height: 12px; border-radius: 999px; border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0; transition: width .3s, background .3s; }
.sl-dots button[aria-selected="true"] { background: #fff; width: 32px; }
.sl-pause { position: absolute; right: 18px; bottom: 18px; z-index: 3; background: rgba(0,0,0,.3); color: #fff; border: 0; border-radius: 999px; width: 34px; height: 34px; font-size: .7rem; cursor: pointer; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 800; color: var(--green); margin-bottom: .7rem; }
.eyebrow.light { color: #b9f0b0; }

/* Page hero */
.phero { position: relative; background: linear-gradient(120deg, var(--brand-ink), var(--brand-2)); color: #fff; display: flex; align-items: flex-end; overflow: hidden; }
.phero.size-small { min-height: 300px; } .phero.size-medium { min-height: 420px; } .phero.size-large { min-height: 560px; }
.phero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.phero-text { position: relative; z-index: 2; padding-top: 56px; padding-bottom: 56px; width: 100%; }
.phero-text > * { max-width: 760px; }
.phero.al-center .phero-text { text-align: center; } .phero.al-center .phero-text > * { margin-left: auto; margin-right: auto; } .phero.al-center .actions { justify-content: center; }
.phero h1 { color: #fff; }
.phero .lead { color: rgba(255,255,255,.92); margin-bottom: 0; }
.crumbs { font-size: .85rem; color: rgba(255,255,255,.8); margin-bottom: 14px; }
.crumbs a { color: #fff; text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.crumbs.dark { color: var(--muted); } .crumbs.dark a { color: var(--brand-2); }

/* Sections and tones */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.tone-white { background: var(--white); }
.tone-cream { background: var(--cream); }
.tone-mist { background: var(--brand-soft); }
.tone-brand { background: linear-gradient(120deg, var(--brand-ink), var(--brand) 60%, var(--brand-2)); color: #efe6f8; }
.tone-green { background: linear-gradient(120deg, #1f6a2b, var(--green)); color: #eaf7ea; }
.tone-dark { background: var(--navy); color: #d9d4e6; }
.tone-brand h2, .tone-brand h3, .tone-green h2, .tone-green h3, .tone-dark h2, .tone-dark h3 { color: #fff; }
.tone-brand .eyebrow, .tone-dark .eyebrow { color: #b9f0b0; } .tone-green .eyebrow { color: #fff3c4; }
.tone-brand .muted, .tone-green .muted, .tone-dark .muted { color: rgba(255,255,255,.78); }
.tone-brand a:not(.btn), .tone-green a:not(.btn), .tone-dark a:not(.btn) { color: #fff; }
.sec-intro { margin-bottom: 2.2rem; }
.row-between { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 1.6rem; }
.prose { font-size: 1.05rem; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; } .prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; } .prose li { margin-bottom: .35em; }
.prose blockquote { border-left: 4px solid var(--green); margin: 1.4em 0; padding: .4em 1.2em; background: var(--green-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; }
.prose img { border-radius: var(--radius); margin: 1.6em 0; cursor: zoom-in; }
.prose table { width: 100%; border-collapse: collapse; } .prose th, .prose td { border-bottom: 1px solid var(--line); padding: 8px; text-align: left; }
.prose strong { color: var(--ink); }
.tone-brand .prose strong, .tone-green .prose strong { color: #fff; }

/* Split image + text */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.flip .split-text { order: 2; }
.split.no-img { grid-template-columns: 1fr; max-width: var(--narrow); }
.photo { margin: 0; position: relative; }
.photo img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.photo::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border-radius: var(--radius); background: var(--brand-soft); z-index: -1; }
.split.flip .photo::before { inset: 18px 18px -18px -18px; background: var(--green-soft); }
.tone-mist .photo::before { background: #fff; }

/* Stats */
.stats { padding: clamp(44px, 6vw, 72px) 0; }
.stats-h { text-align: center; margin-bottom: 2rem; }
.stat-grid { display: grid; gap: 18px; }
.stat-grid.cols-1 { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
.stat-grid.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; }
.stat-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.stat-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.stat-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.stat { text-align: center; padding: 18px 10px; border-radius: var(--radius); }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.18); border-radius: 0; }
.tone-white .stat + .stat, .tone-cream .stat + .stat, .tone-mist .stat + .stat { border-left-color: var(--line); }
.stat b { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.1; color: #fff; }
.tone-white .stat b, .tone-cream .stat b, .tone-mist .stat b { color: var(--brand); }
.stat span { display: block; margin-top: 6px; font-weight: 600; opacity: .9; }
.stat-ico { width: 30px; height: 30px; margin: 0 auto 8px; color: var(--lime); }

/* Cards */
.cards { display: grid; gap: 22px; grid-template-columns: repeat(var(--cols, 3), 1fr); }
.cards.cols-1 { --cols: 1; } .cards.cols-2 { --cols: 2; } .cards.cols-3 { --cols: 3; } .cards.cols-4 { --cols: 4; }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; position: relative; transition: transform .2s, box-shadow .2s; border: 1px solid var(--line); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 a { color: inherit; text-decoration: none; } .card h3 a::after { content: ''; position: absolute; inset: 0; }
.card-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.card-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); }
.card-body .more { margin-top: auto; }
.card-ico { width: 54px; height: 54px; border-radius: 16px; display: inline-grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 16px; flex: none; }
.card-ico .ico { width: 28px; height: 28px; }
.card:nth-child(4n+2) .card-ico { background: var(--green-soft); color: var(--green); }
.card:nth-child(4n+3) .card-ico { background: #fff4dc; color: #b7791f; }
.card:nth-child(4n+4) .card-ico { background: #e6f2fb; color: #1d6fa5; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; counter-reset: s; }
.step { background: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); border-top: 4px solid var(--brand); }
.step:nth-child(even) { border-top-color: var(--green); }
.step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 14px; }
.step:nth-child(even) .step-n { background: var(--green); }
.step h3 a { color: inherit; text-decoration: none; } .step h3 a:hover { color: var(--brand); }
.step p { color: var(--muted); margin: 0; }

/* Mission & vision */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mv-card { background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.mv-card p { font-size: 1.12rem; margin: 0; }
.mv-card.alt .card-ico { background: var(--green-soft); color: var(--green); }
.values-h { margin-top: 2.6rem; }
.values { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.values li { background: #fff; border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; font-weight: 600; color: var(--ink); }
.values .ico { color: var(--green); }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 26px; }
.person { margin: 0; text-align: center; }
.person-photo { width: 180px; height: 180px; margin: 0 auto 14px; border-radius: 50%; overflow: hidden; background: var(--brand-soft); box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--brand-soft); display: grid; place-items: center; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.person strong { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.person span { color: var(--green); font-weight: 700; font-size: .92rem; }
.person small { display: block; color: var(--muted); margin-top: 6px; }
.others { margin-top: 2.6rem; text-align: center; }
.others ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.others li { background: var(--cream); border: 1px solid var(--line); padding: 8px 18px; border-radius: 999px; font-weight: 600; }

/* Gallery + lightbox */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-sm); background: var(--line); }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s; cursor: zoom-in; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; background: linear-gradient(transparent, rgba(0,0,0,.7)); color: #fff; font-size: .88rem; }
.g-mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; }
.g-mosaic figure:first-child { grid-column: span 2; grid-row: span 2; }
.g-mosaic img { aspect-ratio: auto; }
.g-masonry { display: block; columns: 4 220px; column-gap: 12px; }
.g-masonry figure { margin-bottom: 12px; break-inside: avoid; }
.g-masonry img { aspect-ratio: auto; height: auto; }
.lightbox { position: fixed; inset: 0; background: rgba(12,6,20,.94); z-index: 200; display: grid; place-items: center; padding: 50px 60px; }
.lightbox img { max-height: 84vh; max-width: 92vw; width: auto; border-radius: 6px; }
.lightbox p { color: #fff; text-align: center; margin-top: 12px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; cursor: pointer; }
.lightbox .lb-x { top: 16px; right: 16px; } .lightbox .lb-prev { left: 14px; top: 50%; } .lightbox .lb-next { right: 14px; top: 50%; }
.lightbox .lb-n { position: absolute; top: 24px; left: 24px; color: rgba(255,255,255,.7); font-size: .9rem; }

/* Students */
.students { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 22px; }
.student { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; position: relative; }
.student:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.st-photo { display: block; aspect-ratio: 4/5; background: var(--brand-soft); position: relative; }
.st-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.st-body { padding: 16px 18px 18px; }
.st-body h3 { font-size: 1.1rem; margin-bottom: .2em; }
.st-body h3 a { color: inherit; text-decoration: none; } .st-body h3 a::after { content: ''; position: absolute; inset: 0; }
.st-body p { margin: 0; }
.st-initials { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--serif); font-size: 3rem; color: var(--brand); font-weight: 700; }
.st-initials.sm { width: 56px; height: 56px; font-size: 1.1rem; border-radius: 12px; background: var(--brand-soft); }
.st-initials.lg { aspect-ratio: 4/5; font-size: 5rem; background: var(--brand-soft); border-radius: var(--radius); }
.tag { position: absolute; left: 12px; top: 12px; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; }
.tag-grad { background: var(--gold); color: var(--ink); } .tag-need { background: var(--green); color: #fff; }
.toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1.4rem; }
.toolbar .chips { margin: 0; }
.chip { display: inline-flex; gap: 6px; align-items: center; padding: 7px 15px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; }
.chip small { color: var(--muted); }
.chip.on, .chip:hover { background: var(--brand); border-color: var(--brand); color: #fff; } .chip.on small, .chip:hover small { color: #e6d6f5; }
.search { display: flex; gap: 6px; margin-left: auto; }
.search input { min-width: 240px; }
.viewswitch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.viewswitch a { padding: 7px 14px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9rem; }
.viewswitch a.on { background: var(--brand-soft); color: var(--brand); }
.namelist-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.namelist { width: 100%; border-collapse: collapse; }
.namelist th, .namelist td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.namelist th { background: var(--cream); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.namelist tr:last-child td { border-bottom: 0; }
.namelist td a { font-weight: 700; text-decoration: none; }
.profile-grid { display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: start; margin-top: 18px; }
.profile-photo img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0 0 1.4rem; }
.facts dt { font-weight: 700; color: var(--muted); } .facts dd { margin: 0; color: var(--ink); }

/* Give / donate */
.give-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.give-card { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 28px 24px; text-decoration: none; color: var(--text); display: flex; flex-direction: column; transition: border-color .2s, transform .2s, box-shadow .2s; }
.give-card:hover { border-color: var(--brand-3); transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--text); }
.give-card h3 { margin-bottom: .4em; } .give-card p { color: var(--muted); }
.give-amt { display: inline-block; background: var(--green-soft); color: var(--green); font-weight: 800; padding: 4px 12px; border-radius: 999px; font-size: .88rem; margin: 0 0 14px; align-self: flex-start; }
.give-card .more { margin-top: auto; }
.pay { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.pay-card { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); border-top: 5px solid var(--green); }
.pay-card.bank { border-top-color: var(--brand); }
.pay-card h3 { display: flex; gap: 10px; align-items: center; }
.pay-card h3 .ico { color: var(--green); } .pay-card.bank h3 .ico { color: var(--brand); }
.pay-card dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0 0 12px; }
.pay-card dt { color: var(--muted); font-size: .92rem; } .pay-card dd { margin: 0; font-weight: 700; color: var(--ink); word-break: break-word; }
.copy-btn { margin-left: 8px; border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 2px 8px; font-size: .75rem; cursor: pointer; color: var(--brand); font-weight: 700; vertical-align: 1px; }
.copy-btn.done { background: var(--green); color: #fff; border-color: var(--green); }
.donate-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 48px; align-items: start; }
.donate-side { position: sticky; top: 100px; display: grid; gap: 18px; }
.donate-side .pay { grid-template-columns: 1fr; }
.target-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.tp { border: 2px solid var(--line); border-radius: var(--radius); padding: 16px 12px; text-align: center; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); transition: .2s; background: #fff; }
.form .tp { display: flex; margin: 0; } .tp input { position: absolute; opacity: 0; }
.tp .ico { width: 30px; height: 30px; color: var(--brand); }
.tp.on, .tp:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.tp:has(input:focus-visible) { outline: 3px solid var(--gold); }
.pick-panel { border: 0; padding: 0; margin: 0 0 18px; }
.pick-panel legend { font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; max-height: 420px; overflow: auto; padding: 2px; }
.pick { cursor: pointer; position: relative; }
.pick input { position: absolute; opacity: 0; }
.pick-in { display: flex; gap: 12px; align-items: center; border: 2px solid var(--line); border-radius: 12px; padding: 10px; background: #fff; transition: .15s; height: 100%; }
.pick-in strong { display: block; color: var(--ink); font-size: .95rem; } .pick-in small { display: block; color: var(--muted); font-size: .8rem; }
.pick-img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex: none; }
.pick input:checked + .pick-in { border-color: var(--green); background: var(--green-soft); }
.pick input:focus-visible + .pick-in { outline: 3px solid var(--gold); }
progress { width: 100%; height: 8px; border-radius: 99px; overflow: hidden; appearance: none; border: 0; background: var(--line); margin: 6px 0 2px; }
progress::-webkit-progress-bar { background: var(--line); } progress::-webkit-progress-value { background: var(--green); } progress::-moz-progress-bar { background: var(--green); }
.amounts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.amt { border: 2px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 18px; font-weight: 700; cursor: pointer; font-family: inherit; color: var(--ink); }
.amt:hover, .amt.on { border-color: var(--green); background: var(--green-soft); color: var(--green); }
.thanks { text-align: center; border: 2px solid var(--green); background: var(--green-soft); margin-bottom: 32px; }
.thanks .card-ico { background: #fff; color: var(--green); }
.trust { background: var(--cream); }

/* Forms */
.form label { display: block; font-weight: 700; color: var(--ink); font-size: .92rem; margin-bottom: 14px; }
input, select, textarea { width: 100%; font: inherit; font-size: 1rem; padding: 11px 14px; border: 1.5px solid #d9d4e2; border-radius: 10px; background: #fff; color: var(--ink); margin-top: 6px; transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand-3); box-shadow: 0 0 0 4px rgba(142,79,196,.15); }
input[type=checkbox], input[type=radio] { width: auto; margin: 0; }
.search input { margin: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 18px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.notice { padding: 12px 16px; border-radius: 10px; font-weight: 600; }
.notice.ok { background: var(--green-soft); color: #1f6a2b; border: 1px solid #bfe3c3; }
.notice.err { background: #fdeceb; color: #9b1c14; border: 1px solid #f3c0bc; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list li .card-ico { margin: 0; width: 48px; height: 48px; }
.contact-list strong { display: block; color: var(--ink); }
.contact-list a, .contact-list span { display: block; }
.contact-split { align-items: start; }
.map { width: 100%; height: 380px; border: 0; border-radius: var(--radius); }

/* Quote, FAQ, documents */
.quote { margin: 0 auto; text-align: center; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.75rem); color: var(--ink); line-height: 1.45; }
.quote blockquote::before { content: '“'; display: block; font-size: 4rem; color: var(--green); line-height: .6; margin-bottom: 12px; }
.quote figcaption { display: inline-flex; gap: 12px; align-items: center; margin-top: 18px; text-align: left; }
.quote .q-photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.quote small { display: block; color: var(--muted); }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details .prose { padding: 0 22px 8px; color: var(--muted); }
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.doc-list a { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; text-decoration: none; color: var(--ink); }
.doc-list a:hover { border-color: var(--brand-3); box-shadow: var(--shadow); }
.doc-list .dt { flex: 1; } .doc-list small { display: block; color: var(--muted); }
.badge { display: inline-block; font-size: .72rem; font-weight: 800; padding: 4px 8px; border-radius: 6px; letter-spacing: .04em; }
.badge.pdf { background: #fdeceb; color: #b3261e; } .badge.excel, .badge.xlsx { background: var(--green-soft); color: var(--green); }

/* CTA band */
.cta-band { position: relative; padding: clamp(60px, 8vw, 100px) 0; overflow: hidden; }
.cta-band.has-img { color: #fff; }
.cta-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band .cta-shade { background: linear-gradient(120deg, rgba(31,106,43,.92), rgba(59,26,88,.88)); }
.cta-in { position: relative; z-index: 2; }
.tone-green .btn-accent, .cta-band.tone-green:not(.has-img) .btn-accent { background: #fff; border-color: #fff; color: #1f6a2b; }
.tone-green .btn-accent:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.cta-band h2 { color: #fff; } .cta-band .lead { color: rgba(255,255,255,.92); }
.cta-band.tone-white h2, .cta-band.tone-cream h2, .cta-band.tone-mist h2 { color: var(--ink); }
.cta-band.tone-white .lead, .cta-band.tone-cream .lead, .cta-band.tone-mist .lead { color: var(--text); }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; }
.pc-img { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--brand-soft); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .pc-img img { transform: scale(1.04); }
.pc-ph { display: grid; place-items: center; height: 100%; color: var(--brand-3); } .pc-ph .ico { width: 54px; height: 54px; }
.pc-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.pc-body h3 { font-size: 1.25rem; } .pc-body h3 a { color: var(--ink); text-decoration: none; } .pc-body h3 a:hover { color: var(--brand); }
.pc-body .more { margin-top: auto; }
.pc-meta { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; margin-bottom: 8px; }
.pc-meta a { color: var(--green); text-decoration: none; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 36px; }
.pager a { min-width: 42px; text-align: center; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.pager a.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.post-head { padding: 56px 0 28px; background: var(--cream); }
.post-head h1 { margin-top: .4em; }
.post-cover { margin: 0 auto; padding-top: 0; transform: translateY(-0px); }
.post-cover img { border-radius: var(--radius); width: 100%; max-height: 600px; object-fit: cover; box-shadow: var(--shadow-lg); margin-top: 28px; }
.post-body { padding-top: 40px; padding-bottom: 20px; font-size: 1.1rem; }
.post-foot { padding-bottom: 60px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.share { display: flex; gap: 10px; align-items: center; margin: 20px 0; font-weight: 700; }
.share a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-soft); color: var(--brand); }
.share a:hover { background: var(--brand); color: #fff; }
.post-cta { display: flex; gap: 16px; justify-content: space-between; align-items: center; flex-wrap: wrap; background: var(--green-soft); border-color: #bfe3c3; }

/* Partners strip */
.partners { background: #fff; border-top: 1px solid var(--line); padding: 38px 0; }
.partners-h { text-align: center; font-family: var(--font); font-size: .82rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); margin-bottom: 22px; }
.partner-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px 46px; justify-content: center; align-items: center; }
.partner-row li a, .partner-row li { display: flex; align-items: center; text-decoration: none; }
.partner-logo { max-height: 64px; max-width: 170px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; }
.partner-row a:hover .partner-logo { filter: none; opacity: 1; }
.partner-name { font-weight: 800; color: var(--brand); border: 2px solid var(--brand-soft); border-radius: 12px; padding: 12px 20px; font-size: .98rem; background: var(--cream); }
.partner-row a:hover .partner-name { border-color: var(--brand-3); }

/* Footer */
.site-footer .btn-light { color: var(--brand); } .site-footer .btn-light:hover { color: var(--ink); }
.site-footer { background: var(--navy); color: #c9c3d8; padding: 64px 0 0; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; } .site-footer a:hover { color: var(--lime); }
.fgrid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1.1fr; gap: 40px; }
.fh { font-family: var(--font); font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; color: #fff; margin-bottom: 18px; }
.flinks, .fcontact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fcontact li { display: flex; gap: 10px; align-items: flex-start; } .fcontact .ico { color: var(--lime); margin-top: 4px; }
.site-footer .brand { margin-bottom: 16px; }
.social { list-style: none; display: flex; gap: 10px; padding: 0; margin: 14px 0 0; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-soft); color: var(--brand); }
.site-footer .social a { background: rgba(255,255,255,.08); color: #fff; }
.social a:hover { background: var(--green); color: #fff; }
.legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 22px; padding-bottom: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; color: #9d96b0; }
.legal a { color: #c9c3d8; }

/* Document viewer */
body.viewer { background: #e9e6ef; }
.viewer-bar { position: sticky; top: 0; display: flex; gap: 14px; align-items: center; padding: 10px 18px; background: #fff; box-shadow: 0 1px 0 var(--line); z-index: 5; }
.viewer-bar .vt { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viewer { padding: 22px 12px 60px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.pdf-page { width: 100%; max-width: 1000px; background: #fff; box-shadow: var(--shadow); }
.pdf-page canvas { display: block; width: 100%; height: auto; }
.loading { color: var(--muted); padding: 40px; } .loading.err { color: #9b1c14; }
.vtabs { display: flex; gap: 6px; flex-wrap: wrap; width: 100%; max-width: 1200px; }
.vtabs button { border: 1px solid var(--line); background: #fff; border-radius: 8px 8px 0 0; padding: 8px 14px; cursor: pointer; font: inherit; }
.vtabs button.on { background: var(--brand); color: #fff; }
.sheet { width: 100%; max-width: 1200px; overflow: auto; background: #fff; box-shadow: var(--shadow); }
.sheet table { border-collapse: collapse; font-size: .9rem; } .sheet td, .sheet th { border: 1px solid #e6e3ec; padding: 5px 9px; white-space: nowrap; } .sheet .num { text-align: right; font-variant-numeric: tabular-nums; }

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .fgrid { grid-template-columns: 1fr 1fr; }
  .cards.cols-4 { --cols: 2; }
  .stat-grid.cols-5 { grid-template-columns: repeat(3, 1fr); }
  .stat-grid.cols-5 .stat:nth-child(4) { border-left: 0; }
  .target-pick { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1140px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 0 0 0 auto; top: 0; width: min(340px, 88vw); background: #fff; flex-direction: column; align-items: stretch; padding: 90px 22px 22px; gap: 4px; box-shadow: var(--shadow-lg); transform: translateX(105%); transition: transform .3s ease; z-index: 1; overflow-y: auto; }
  .nav.open { transform: none; }
  .nav a { padding: 12px 16px; font-size: 1.05rem; }
  .nav .btn-donate { margin: 12px 0 0; justify-content: center; }
  .nav-toggle { position: relative; z-index: 2; }
}
@media (max-width: 980px) {
  .donate-grid { grid-template-columns: 1fr; }
  .donate-side { position: static; }
}
@media (max-width: 860px) {
  .split, .split.flip { grid-template-columns: 1fr; }
  .split.flip .split-text { order: 0; }
  .photo::before { display: none; }
  .mv { grid-template-columns: 1fr; }
  .cards.cols-3 { --cols: 2; }
  .stat-grid.cols-3, .stat-grid.cols-4, .stat-grid.cols-5 { grid-template-columns: repeat(2, 1fr); }
  .stat + .stat { border-left: 0; }
  .profile-grid { grid-template-columns: 1fr; gap: 26px; }
  .profile-photo { max-width: 360px; }
  .g-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .search { margin-left: 0; width: 100%; } .search input { min-width: 0; flex: 1; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .hide-sm { display: none; }
  .bar { min-height: 66px; }
  .logo-mark { width: 40px; height: 34px; } .logo-text strong { font-size: 1.1rem; } .logo-text small { font-size: .76rem; }
  .cards.cols-2, .cards.cols-3, .cards.cols-4 { --cols: 1; }
  .fgrid { grid-template-columns: 1fr; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .slider.h-tall { min-height: 560px; } .sl-arrow { display: none; }
  .slide-shade { background: linear-gradient(0deg, rgba(35,14,56,.92) 10%, rgba(59,26,88,.55) 70%, rgba(20,10,30,.3)); }
  .slide { align-items: flex-end; padding-bottom: 70px; }
  .students { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .st-body { padding: 12px; } .st-body h3 { font-size: 1rem; }
  .panel { padding: 20px; }
  .lightbox { padding: 50px 8px; }
  .person-photo { width: 150px; height: 150px; }
  .team { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .partners, .slider .sl-arrow, .sl-dots, .nav-toggle, .actions { display: none !important; }
}
