/* Asaase Yaa & Friends Network — public site. Colours come from the logo. */
:root {
    --blue: #0a74c4;
    --blue-dark: #075896;
    --yellow: #f7b21b;
    --magenta: #d1338f;
    --green: #8cc63f;
    --ink: #142433;
    --ink-soft: #4b5b6a;
    --earth: #10283a;
    --paper: #fbfaf6;
    --tint: #f1f6f2;
    --line: #e3e6e0;
    --white: #fff;
    --radius: 18px;
    --radius-sm: 10px;
    --shadow: 0 10px 30px -12px rgba(16, 40, 58, .25);
    --shadow-soft: 0 2px 6px rgba(16, 40, 58, .05), 0 8px 24px -12px rgba(16, 40, 58, .18);
    --font-head: "Montserrat", system-ui, sans-serif;
    --font-body: "Nunito Sans", system-ui, sans-serif;
    --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, .h1 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .6em; color: var(--ink); letter-spacing: -.01em; }
h1, .h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--ink-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.icon { flex-shrink: 0; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head p:last-child { color: var(--ink-soft); }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section-head-row > div { max-width: 640px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--magenta); margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--yellow), var(--magenta)); }
.actions, .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: .8rem 1.5rem; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: .95rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -10px var(--blue); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-accent { background: var(--yellow); color: var(--earth); }
.btn-accent:hover { background: #ffc23d; color: var(--earth); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--earth); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: .9rem; text-decoration: none; }
.link-arrow .icon { transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-back { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; margin-bottom: 24px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 246, .92); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0, 0, 0, .4); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand-logo { height: 48px; width: auto; }
.brand-mark { width: 48px; height: 48px; }
.brand-text { display: grid; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; letter-spacing: .04em; text-transform: uppercase; color: #5c6670; line-height: 1.05; }
.brand-text small { font-size: .62rem; letter-spacing: .1em; font-weight: 700; margin-top: 3px; }
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav ul a { display: block; padding: .5rem .8rem; border-radius: 999px; color: var(--ink); text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: .92rem; }
.main-nav ul a:hover { background: var(--tint); color: var(--blue); }
.main-nav ul a.active { color: var(--blue); background: rgba(10, 116, 196, .08); }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); padding: 8px; cursor: pointer; }
.nav-toggle .icon-close { display: none; }

@media (max-width: 1020px) {
    .nav-toggle { display: inline-flex; }
    .main-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--paper); flex-direction: column; align-items: stretch; padding: 16px 16px 28px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-120%); visibility: hidden; transition: transform .25s ease, visibility .25s; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
    .main-nav ul { flex-direction: column; }
    .main-nav ul a { padding: .85rem 1rem; font-size: 1.05rem; }
    body.nav-open .main-nav { transform: none; visibility: visible; }
    body.nav-open .nav-toggle .icon-open { display: none; }
    body.nav-open .nav-toggle .icon-close { display: block; }
}

.flash { display: flex; gap: 10px; align-items: center; margin: 20px 0 0; padding: 14px 18px; border-radius: var(--radius-sm); background: #eaf6dc; color: #2f5a0c; font-weight: 600; border: 1px solid #cfe8b0; }

/* Hero slider */
.hero { position: relative; min-height: clamp(520px, 82vh, 760px); overflow: hidden; background: var(--earth); color: #fff; }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; background-image: linear-gradient(100deg, rgba(10, 30, 46, .88) 0%, rgba(10, 30, 46, .55) 50%, rgba(10, 30, 46, .1) 100%), var(--hero-image, none); background-size: cover; background-position: center center; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-content { padding-block: 80px; }
.hero-content > * { max-width: 640px; }
.hero h1, .hero .h1 { color: #fff; }
.hero .lead { color: rgba(255, 255, 255, .88); }
.hero-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 2; }
.hero-dots button { width: 12px; height: 12px; border-radius: 99px; border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0; transition: width .3s, background .3s; }
.hero-dots button.is-active { width: 34px; background: var(--yellow); border-color: var(--yellow); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--blue) 0 25%, var(--yellow) 25% 50%, var(--magenta) 50% 75%, var(--green) 75%); }

/* Page hero */
.page-hero { position: relative; padding: clamp(64px, 10vw, 120px) 0 clamp(56px, 8vw, 96px); background-color: var(--earth); background-image: linear-gradient(110deg, rgba(10, 30, 46, .95), rgba(10, 30, 46, .7)), var(--hero-image, radial-gradient(circle at 85% 20%, rgba(209, 51, 143, .45), transparent 45%), radial-gradient(circle at 70% 90%, rgba(10, 116, 196, .55), transparent 50%)); background-size: cover; background-position: center; color: #fff; overflow: hidden; }
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero .eyebrow { color: var(--yellow); }
.page-hero-text { max-width: 640px; font-size: 1.15rem; color: rgba(255, 255, 255, .85); }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--blue) 0 25%, var(--yellow) 25% 50%, var(--magenta) 50% 75%, var(--green) 75%); }

/* Split layout */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); aspect-ratio: 4 / 4.2; object-fit: cover; width: 100%; box-shadow: var(--shadow); position: relative; z-index: 1; }
.split-ring { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 14px solid var(--yellow); right: -8%; bottom: -8%; z-index: 0; opacity: .9; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-ring { right: -4%; } }

/* Focus areas */
.focus-grid, .mv-grid, .involve-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.focus-card, .mv-card, .involve-card { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-soft); transition: transform .2s, box-shadow .2s; }
.focus-card:hover, .involve-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.focus-card p, .mv-card p, .involve-card p { color: var(--ink-soft); margin: 0; }
.focus-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: color-mix(in srgb, var(--accent) 16%, white); color: color-mix(in srgb, var(--accent) 80%, black); margin-bottom: 20px; }
.involve-card { text-decoration: none; color: inherit; display: block; }
.involve-card h2 { font-size: 1.4rem; }

/* Cards */
.card-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.card-grid > * { flex: 0 1 calc((100% - 48px) / 3); min-width: 0; }
@media (max-width: 960px) { .card-grid > * { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 620px) { .card-grid > * { flex-basis: 100%; } }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-soft); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { position: relative; display: block; aspect-ratio: 16 / 11; background: var(--tint); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-placeholder { display: grid; place-items: center; height: 100%; color: var(--green); }
.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 a { color: var(--ink); text-decoration: none; }
.card-body h3 a:hover { color: var(--blue); }
.card-body p { color: var(--ink-soft); font-size: 1rem; }
.card-body .link-arrow { margin-top: auto; }
.badge { position: absolute; top: 14px; left: 14px; padding: .3rem .8rem; border-radius: 99px; font-family: var(--font-head); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; background: var(--white); color: var(--ink); }
.badge-ongoing { background: var(--green); color: #1d3a00; }
.badge-completed { background: var(--blue); color: #fff; }
.badge-upcoming { background: var(--yellow); color: var(--earth); }
.meta { display: flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--ink-soft); margin-bottom: 8px; }

/* Events */
.event-list { display: grid; gap: 18px; }
.event-card { display: grid; grid-template-columns: 110px 1fr; gap: 24px; background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-soft); }
.event-date { display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 14px; background: linear-gradient(160deg, var(--blue), var(--blue-dark)); color: #fff; padding: 14px 8px; text-align: center; }
.event-day { font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; line-height: 1; }
.event-month { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-top: 6px; }
.event-body h3 a { color: var(--ink); text-decoration: none; }
.event-body h3 a:hover { color: var(--blue); }
.event-body p { margin: 0; color: var(--ink-soft); }
.event-list-past .event-date { background: #9aa6b0; }
.meta-list { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--ink-soft); font-size: .92rem; }
.meta-list li { display: inline-flex; gap: 6px; align-items: center; }
.meta-list .icon { color: var(--magenta); }
.meta-list-lg { font-size: 1.05rem; margin-bottom: 28px; }
.list-heading { margin-top: 8px; }
.list-heading + * { margin-bottom: 48px; }
@media (max-width: 560px) { .event-card { grid-template-columns: 1fr; } .event-date { flex-direction: row; gap: 10px; justify-content: flex-start; padding: 10px 16px; } .event-day { font-size: 1.5rem; } .event-month { margin: 0; } }

/* CTA band */
.cta { position: relative; padding: clamp(72px, 10vw, 120px) 0; color: #fff; text-align: center; background-color: var(--blue-dark); background-image: linear-gradient(120deg, rgba(7, 88, 150, .93), rgba(209, 51, 143, .82)), var(--cta-image, none); background-size: cover; background-position: center; }
.cta h2 { color: #fff; max-width: 760px; margin-inline: auto; }
.cta p { max-width: 640px; margin-inline: auto; font-size: 1.15rem; color: rgba(255, 255, 255, .9); }
.cta .actions { justify-content: center; }

/* Gallery */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.mosaic-item { margin: 0; border-radius: var(--radius-sm); overflow: hidden; }
.mosaic-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaic-item:nth-child(6) { grid-column: span 2; }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mosaic-item:hover img { transform: scale(1.05); }
@media (max-width: 760px) { .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } .mosaic-item:nth-child(6) { grid-column: span 1; } }
.gallery-grid { columns: 3 280px; column-gap: 16px; }
.gallery-item { margin: 0 0 16px; break-inside: avoid; border-radius: var(--radius-sm); overflow: hidden; background: var(--white); box-shadow: var(--shadow-soft); }
.gallery-item a { display: block; overflow: hidden; }
.gallery-item img { width: 100%; transition: transform .4s; }
.gallery-item a:hover img { transform: scale(1.03); }
.gallery-item figcaption { padding: 10px 14px; font-size: .9rem; color: var(--ink-soft); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(8, 20, 30, .92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; max-width: min(1100px, 90vw); text-align: center; }
.lightbox img { max-height: 80vh; margin: 0 auto; border-radius: 8px; }
.lightbox figcaption { color: #fff; margin-top: 12px; }
.lightbox button { position: fixed; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* Partners */
.partners { background: var(--white); }
.partners .section-head { margin-inline: auto; text-align: center; }
.partner-name { font-family: var(--font-head); font-weight: 700; color: var(--ink-soft); text-align: center; }

/* Article */
.article { max-width: 820px; }
.article-image { width: 100%; border-radius: var(--radius); margin-bottom: 32px; max-height: 520px; object-fit: cover; }
.prose { font-size: 1.1rem; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.5em 0; padding: 1em 1.5em; border-left: 4px solid var(--magenta); background: var(--tint); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; }
.prose img { border-radius: var(--radius-sm); margin: 1.5em 0; }
.article-cta { margin-top: 48px; padding: 32px; border-radius: var(--radius); background: var(--tint); }
.article-cta h2 { font-size: 1.4rem; }

/* Forms */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.contact-list strong { display: block; font-family: var(--font-head); font-size: .85rem; color: var(--ink-soft); }
.contact-list a { font-weight: 700; word-break: break-word; }
.contact-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 14%, white); color: var(--accent); flex-shrink: 0; }
.form-card { background: var(--white); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field > span { font-family: var(--font-head); font-weight: 600; font-size: .88rem; }
.field em { font-weight: 400; color: var(--ink-soft); font-style: normal; }
.field input, .field textarea { font: inherit; padding: .8rem 1rem; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); width: 100%; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10, 116, 196, .15); background: #fff; }
.field [aria-invalid="true"] { border-color: #c0392b; }
.error { color: #b3261e; font-size: .85rem; }
.form-errors { padding: 12px 16px; border-radius: var(--radius-sm); background: #fdecea; color: #8c1d18; font-weight: 600; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.donate { max-width: 760px; text-align: center; }
.donate .eyebrow { justify-content: center; }
.donate-details { text-align: left; background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); margin-top: 24px; }

.empty-state { text-align: center; padding: 56px 24px; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--ink-soft); background: var(--white); }
.empty-state .icon { color: var(--green); margin: 0 auto 12px; }
.empty-state h3 { margin-bottom: .3em; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 48px; }
.page-link { padding: .55rem 1.2rem; border-radius: 99px; border: 1.5px solid var(--line); text-decoration: none; font-weight: 700; background: var(--white); }
.page-link.disabled { color: #aab; }
.page-status { color: var(--ink-soft); }

/* Footer */
.site-footer { position: relative; background: var(--earth); color: rgba(255, 255, 255, .72); overflow: hidden; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, var(--blue) 0 25%, var(--yellow) 25% 50%, var(--magenta) 50% 75%, var(--green) 75%); }
.site-footer::after { content: ""; position: absolute; z-index: -1; width: 520px; aspect-ratio: 1; right: -220px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(10, 116, 196, .28), transparent 65%); }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: var(--yellow); }

.footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-top: 64px; padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 52px); border-radius: var(--radius); background: linear-gradient(115deg, var(--blue) 0%, #3a4fb0 55%, var(--magenta) 100%); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .6); position: relative; overflow: hidden; }
.footer-cta::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; aspect-ratio: 1; border-radius: 50%; border: 22px solid rgba(255, 255, 255, .1); pointer-events: none; }
.footer-cta-text { max-width: 560px; position: relative; z-index: 1; }
.footer-cta h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .3em; }
.footer-cta p { margin: 0; color: rgba(255, 255, 255, .88); }
.footer-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.site-footer .footer-cta .btn-accent { color: var(--earth); }
.site-footer .footer-cta .btn-ghost:hover { color: var(--earth); }

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding: 64px 0 48px; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand-mark { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: #fff; flex-shrink: 0; }
.footer-brand-mark img { width: 44px; height: 44px; }
.footer-brand-text { display: grid; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; letter-spacing: .04em; text-transform: uppercase; color: #fff; line-height: 1.05; }
.footer-brand-text small { font-size: .62rem; letter-spacing: .12em; font-weight: 700; margin-top: 4px; color: rgba(255, 255, 255, .7); }
.footer-about p { max-width: 340px; }
.footer-follow { margin: 22px 0 10px; font-family: var(--font-head); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.socials { list-style: none; padding: 0; margin: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); transition: background .2s, transform .2s, border-color .2s; }
.site-footer .socials a:hover { background: var(--magenta); border-color: var(--magenta); color: #fff; transform: translateY(-3px); }

.footer-col h3 { position: relative; color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; padding-bottom: 12px; margin-bottom: 18px; }
.footer-col h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--yellow), var(--magenta)); }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-links a { display: inline-flex; align-items: center; }
.footer-links a::before { content: ""; width: 0; height: 2px; margin-right: 0; background: var(--yellow); border-radius: 2px; transition: width .2s, margin-right .2s; }
.footer-links a:hover::before { width: 12px; margin-right: 8px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .5); font-weight: 700; margin-bottom: 1px; }
.footer-contact a { word-break: break-word; font-weight: 600; }
.footer-contact-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0; background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); background: rgba(0, 0, 0, .15); font-size: .88rem; }
.footer-bottom-inner { display: flex; align-items: center; gap: 8px 24px; flex-wrap: wrap; padding: 18px 0; }
.footer-bottom p { margin: 0; }
.footer-tagline { color: rgba(255, 255, 255, .5); font-style: italic; }
.to-top { margin-left: auto; display: inline-flex; gap: 6px; align-items: center; font-weight: 700; }

@media (max-width: 980px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-about, .footer-col-contact { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    .footer-grid { gap: 32px 20px; padding-top: 48px; }
    .footer-cta { margin-top: 48px; }
    .footer-cta-actions, .footer-cta-actions .btn { width: 100%; }
    .to-top { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Donations */
.btn-lg { padding: 1rem 1.8rem; font-size: 1.05rem; }
.donate-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .donate-grid { grid-template-columns: 1fr; } }
.donate-why h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.donate-why > p { color: var(--ink-soft); font-size: 1.1rem; }
.trust-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 22px; }
.trust-list li { display: flex; gap: 16px; align-items: flex-start; }
.trust-list strong { display: block; font-family: var(--font-head); color: var(--ink); margin-bottom: 2px; }
.trust-list li > span:last-child { color: var(--ink-soft); }
.trust-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0; background: color-mix(in srgb, var(--accent) 16%, white); color: color-mix(in srgb, var(--accent) 75%, black); }
.donate-card { position: relative; }
.amount-picker { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; }
.amount-picker legend { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; margin-bottom: 12px; padding: 0; }
.amount-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.amount-chip { position: relative; cursor: pointer; }
.amount-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.amount-chip span { display: block; text-align: center; padding: .85rem .5rem; border-radius: var(--radius-sm); background: var(--tint); font-family: var(--font-head); font-weight: 700; color: var(--ink); transition: background .15s, color .15s, box-shadow .15s; }
.amount-chip:hover span { background: color-mix(in srgb, var(--blue) 10%, var(--tint)); }
.amount-chip input:checked + span { background: var(--blue); color: #fff; box-shadow: 0 8px 18px -10px var(--blue); }
.amount-chip input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.amount-input { display: flex; align-items: stretch; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--paper); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.amount-input:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10, 116, 196, .15); background: #fff; }
.amount-currency { display: grid; place-items: center; padding: 0 14px; background: var(--tint); font-family: var(--font-head); font-weight: 700; color: var(--ink-soft); }
.field .amount-input input { border: 0; box-shadow: none; border-radius: 0; background: transparent; font-size: 1.15rem; font-weight: 700; }
.field .amount-input input:focus { box-shadow: none; }
.form .donate-submit { justify-self: stretch; }
.donate-note { display: flex; gap: 8px; align-items: center; justify-content: center; margin: 0; font-size: .9rem; color: var(--ink-soft); }
.donate-note .icon { color: var(--green); }
.donate-offline { text-align: center; padding: 24px 8px; }
.donate-offline .focus-icon { margin-inline: auto; }
.donate-actions { justify-content: center; }
.donate-note-center { margin-top: 14px; color: var(--ink-soft); font-size: .95rem; }
.donate-result { max-width: 680px; text-align: center; }
.donate-result h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.result-icon { display: inline-grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; margin-bottom: 24px; }
.result-success { background: #eaf6dc; color: #3b6d0f; }
.result-pending { background: #fff3d6; color: #8a5a00; }
.result-failed { background: #fdecea; color: #b3261e; }
.result-ref { margin-top: 28px; color: var(--ink-soft); font-size: .9rem; }
.result-ref code { background: var(--tint); padding: 2px 8px; border-radius: 6px; }
.result-actions { justify-content: center; }
.muted { color: var(--ink-soft); }
.nav-actions { display: flex; gap: 10px; }
.nav-actions .btn { padding: .65rem 1.2rem; }
@media (max-width: 1180px) and (min-width: 1021px) { .nav-actions .btn-outline { display: none; } }
@media (max-width: 1020px) { .nav-actions { flex-direction: column; margin-top: 8px; } }

/* Impact figures */
.impact { background: var(--earth); color: #fff; padding: clamp(48px, 7vw, 80px) 0; position: relative; overflow: hidden; }
.impact::before { content: ""; position: absolute; width: 480px; aspect-ratio: 1; left: -180px; top: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(209, 51, 143, .3), transparent 65%); }
.impact::after { content: ""; position: absolute; width: 520px; aspect-ratio: 1; right: -200px; bottom: -280px; border-radius: 50%; background: radial-gradient(circle, rgba(10, 116, 196, .35), transparent 65%); }
.impact .container { position: relative; z-index: 1; }
.impact-title { color: #fff; text-align: center; margin-bottom: 36px; }
.impact-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--count), minmax(0, 1fr)); gap: 20px; }
.impact-stat { text-align: center; padding: 28px 16px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); }
.impact-value { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.impact-label { display: block; margin-top: 10px; font-weight: 700; color: rgba(255, 255, 255, .85); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
@media (max-width: 640px) { .impact-grid { grid-template-columns: 1fr; } }

/* Gallery carousel (home) */
.carousel { position: relative; }
.carousel-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; border-radius: var(--radius); }
.carousel-slide { position: relative; flex: 0 0 calc((100% - 32px) / 3); margin: 0; scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--white); box-shadow: var(--shadow-soft); }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.carousel-slide:hover img { transform: scale(1.04); }
.carousel-slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; color: #fff; font-weight: 700; font-size: .95rem; background: linear-gradient(transparent, rgba(10, 30, 46, .85)); }
.carousel-controls { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.carousel-btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--white); color: var(--blue); box-shadow: var(--shadow-soft); cursor: pointer; transition: background .15s, color .15s; flex-shrink: 0; }
.carousel-btn:hover { background: var(--blue); color: #fff; }
.carousel-btn:disabled { opacity: .4; cursor: default; background: var(--white); color: var(--blue); }
.carousel-progress { flex: 1; height: 4px; border-radius: 4px; background: rgba(16, 40, 58, .1); overflow: hidden; }
.carousel-progress span { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--blue), var(--magenta)); transition: width .3s ease; }
@media (max-width: 900px) { .carousel-slide { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 560px) { .carousel-slide { flex-basis: 85%; } }
.carousel.is-static .carousel-track { justify-content: center; }
.carousel.is-static .carousel-controls { display: none; }

/* Partner logo carousel (home, about) */
.partner-carousel .carousel-track { list-style: none; margin: 0; padding: 6px 2px 10px; }
.partner-carousel .carousel-slide { flex-basis: calc((100% - 64px) / 5); aspect-ratio: auto; height: 110px; display: grid; place-items: center; padding: 18px; border-radius: var(--radius-sm); }
.partner-carousel .carousel-slide a { display: grid; place-items: center; width: 100%; height: 100%; text-decoration: none; }
.partner-carousel .carousel-slide img { width: auto; height: auto; max-width: 100%; max-height: 70px; object-fit: contain; transition: transform .2s; }
.partner-carousel .carousel-slide:hover img { transform: scale(1.05); }
@media (max-width: 900px) { .partner-carousel .carousel-slide { flex-basis: calc((100% - 32px) / 3); } }
@media (max-width: 560px) {
    .partner-carousel .carousel-slide { flex-basis: calc((100% - 16px) / 2); height: 92px; padding: 14px; }
    .partner-carousel .carousel-slide img { max-height: 56px; }
    .partner-carousel .carousel-controls { margin-top: 16px; }
    .partner-carousel .carousel-btn { width: 42px; height: 42px; }
}

/* Project donations */
.card-actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 4px; }
.card-body .card-actions .link-arrow { margin-top: 0; }
.card-donate { display: inline-flex; align-items: center; gap: 6px; padding: .4rem .85rem; border-radius: 999px; background: color-mix(in srgb, var(--magenta) 12%, white); color: #a51f6e; font-family: var(--font-head); font-weight: 700; font-size: .82rem; text-decoration: none; transition: background .15s, color .15s; }
.card-donate:hover { background: var(--magenta); color: #fff; }

.project-donate { margin-top: 48px; padding: clamp(28px, 4vw, 40px); border-radius: var(--radius); color: #fff; background: radial-gradient(circle at 100% 0, rgba(209, 51, 143, .45), transparent 55%), linear-gradient(135deg, var(--earth), #173a55); display: grid; gap: 24px; }
.project-donate h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.project-donate .eyebrow { color: var(--yellow); }
.project-donate p { color: rgba(255, 255, 255, .85); }
.project-donate-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.goal { margin-top: 8px; }
.goal-figures { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .95rem; color: rgba(255, 255, 255, .8); margin-bottom: 10px; }
.goal-figures strong { color: #fff; font-family: var(--font-head); font-size: 1.25rem; }
.goal-bar { height: 12px; border-radius: 99px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.goal-bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--yellow), var(--green)); transition: width 1s ease; }
.project-donate .goal-percent { margin: 8px 0 0; font-weight: 700; font-size: .9rem; color: var(--yellow); }
.project-donate .goal-raised strong { color: var(--yellow); }

.donate-project { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--magenta) 8%, white); }
.donate-project img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.donate-project-label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: #a51f6e; }
.donate-project strong { font-family: var(--font-head); font-size: 1.1rem; }
.field select { font: inherit; padding: .8rem 1rem; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); width: 100%; }
[hidden] { display: none !important; }
.field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10, 116, 196, .15); background: #fff; }
