/*
Theme Name: NAMAL
Theme URI: https://namal.agencoder.com
Author: NAMAL
Description: Custom theme for NAMAL — No One Left Behind. A student-led, community-powered movement of compassion, dignity and service. Includes initiatives, fundraising campaigns, volunteer enquiries, stories and a private team directory.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: namal
*/

:root {
	--cream: #F0ECE6;
	--cream-2: #F6F3EE;
	--paper: #FBFAF7;
	--navy: #15385F;
	--navy-2: #0F2B4A;
	--ocean: #006286;
	--sage: #8B9F9D;
	--sage-soft: #C9D3D1;
	--ink: #1B2A3A;
	--muted: #5A6774;
	--line: rgba(21, 56, 95, .14);
	--shadow: 0 1px 2px rgba(21, 56, 95, .04), 0 10px 30px -12px rgba(21, 56, 95, .18);
	--shadow-lg: 0 30px 60px -25px rgba(21, 56, 95, .35);
	--serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
	--sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--script: 'Caveat', 'Segoe Script', cursive;
	--radius: 18px;
	--radius-sm: 12px;
	--container: 1240px;
	--gutter: clamp(20px, 4vw, 48px);
	--section: clamp(72px, 9vw, 120px);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--ocean); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--navy); line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; font-variation-settings: 'opsz' 72, 'SOFT' 0; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--ocean); outline-offset: 3px; border-radius: 6px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }
#main:focus { outline: none; }
#main { overflow-x: clip; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.section { padding: var(--section) 0; }
.section--tint { background: var(--cream-2); }
.section--flush-top { padding-top: 0; }

/* Typography scale */
.display { font-size: clamp(3rem, 7.2vw, 5.6rem); line-height: 1.02; letter-spacing: -.025em; margin-bottom: .35em; font-variation-settings: 'opsz' 144; }
.h1 { font-size: clamp(2.5rem, 5.4vw, 4.2rem); line-height: 1.05; letter-spacing: -.022em; font-variation-settings: 'opsz' 144; }
.h2 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.1; }
.h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.h4 { font-size: 1.35rem; line-height: 1.25; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.32rem); color: var(--ink); line-height: 1.55; max-width: 36em; }
.lead-sm { font-size: 1.08rem; color: var(--muted); }
.eyebrow { font-family: var(--sans); font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0 0 1.4em; display: inline-flex; align-items: center; gap: 14px; }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow--line::after, .eyebrow--line-r::after { content: ''; width: 34px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--light { color: rgba(255, 255, 255, .78); }

/* Icons */
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* Buttons */
.btn { --bg: var(--navy); --fg: #fff; --bd: var(--navy); display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 0 26px; border-radius: 999px; background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd); font-weight: 600; font-size: .95rem; letter-spacing: .005em; text-decoration: none; transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s; white-space: nowrap; }
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover { color: var(--fg); transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgba(21, 56, 95, .55); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn--primary:hover { --bg: var(--navy-2); }
.btn--outline { --bg: transparent; --fg: var(--navy); --bd: rgba(21, 56, 95, .35); }
.btn--outline:hover { --bg: var(--navy); --fg: #fff; --bd: var(--navy); }
.btn--outline .icon--play { color: var(--navy); }
.btn--outline:hover .icon--play { color: #fff; }
.btn--ghost { --bg: transparent; --fg: var(--navy); --bd: transparent; padding: 0 14px; }
.btn--ghost:hover { --bg: rgba(21, 56, 95, .07); box-shadow: none; }
.btn--ghost .icon { color: var(--ocean); }
.btn--light { --bg: #fff; --fg: var(--navy); --bd: #fff; }
.btn--light:hover { --bg: var(--cream); --fg: var(--navy); }
.btn--outline-light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .55); }
.btn--outline-light:hover { --bg: #fff; --fg: var(--navy); --bd: #fff; }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; pointer-events: none; }
.btn.is-loading span::after { content: '…'; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.center-row { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 600; font-size: .95rem; text-decoration: none; padding: 6px 0; border: 0; background: none; border-bottom: 1px solid var(--navy); }
.link-arrow .icon { width: 17px; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--ocean); border-color: var(--ocean); }
.link-arrow:hover .icon { transform: translateX(4px); }
.circle-btn { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(21, 56, 95, .3); display: grid; place-items: center; color: var(--navy); transition: all .25s var(--ease); }
.circle-btn .icon { width: 18px; }
.circle-btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ================= Header ================= */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(240, 236, 230, .88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); transition: box-shadow .3s, background .3s; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(21, 56, 95, .35); background: rgba(240, 236, 230, .96); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand__symbol { width: 52px; height: auto; }
.brand__text { display: flex; flex-direction: column; gap: 2px; }
.brand__word { width: 116px; height: auto; }
.brand__tag { font-family: var(--serif); font-style: italic; font-size: .78rem; color: var(--ocean); letter-spacing: .01em; line-height: 1; }
.brand--light .brand__tag { color: rgba(255, 255, 255, .75); }
.primary-nav { display: flex; align-items: center; }
.primary-nav .menu { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.primary-nav .menu a { display: block; padding: 10px 14px; color: var(--ink); font-size: .92rem; font-weight: 500; text-decoration: none; position: relative; }
.primary-nav .menu a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1.5px; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.primary-nav .menu a:hover::after, .primary-nav .menu .current-menu-item > a::after, .primary-nav .menu a[aria-current]::after { transform: scaleX(1); }
.primary-nav .menu .current-menu-item > a, .primary-nav .menu a[aria-current] { color: var(--navy); font-weight: 600; }
.nav-ctas { display: none; }
.header-ctas { display: flex; gap: 6px; align-items: center; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); place-items: center; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-open { display: none; }
.nav-open .nav-toggle .i-close { display: block; }

@media (max-width: 1100px) {
	.primary-nav .menu a { padding: 10px 9px; font-size: .88rem; }
	.primary-nav .menu a::after { left: 9px; right: 9px; }
}
@media (max-width: 980px) {
	.header-ctas { display: none; }
	.nav-toggle { display: grid; }
	.primary-nav { position: fixed; inset: 84px 0 0 0; background: var(--cream); flex-direction: column; align-items: stretch; padding: 24px var(--gutter) 40px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s; overflow-y: auto; }
	.admin-bar .primary-nav { top: 130px; }
	.nav-open .primary-nav { opacity: 1; transform: none; visibility: visible; }
	.nav-open { overflow: hidden; }
	.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); }
	.primary-nav .menu { flex-direction: column; gap: 0; }
	.primary-nav .menu a { font-family: var(--serif); font-size: 1.7rem; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--navy); }
	.primary-nav .menu a::after { display: none; }
	.nav-ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
	.nav-ctas .btn { min-height: 52px; }
	.nav-ctas .btn--ghost { border: 1.5px solid rgba(21, 56, 95, .3); }
}

/* ================= Hero ================= */
.hero { padding: clamp(32px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero .lead { font-size: clamp(1.15rem, 1.7vw, 1.38rem); margin-bottom: .55em; }
.hero-line { font-weight: 500; color: var(--navy); margin-bottom: 2.2em; }
.hero-labels { list-style: none; padding: 0; margin: 48px 0 0; display: flex; flex-wrap: wrap; gap: 14px 30px; }
.hero-labels li { display: flex; align-items: center; gap: 10px; font-size: .78rem; line-height: 1.3; color: var(--muted); }
.hero-labels .icon { width: 26px; height: 26px; color: var(--navy); }
.hero-media { position: relative; padding: 0 40px 40px 0; }
.hero-photo { border-radius: 46% 46% 26px 26px / 32% 32% 26px 26px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.6; background: var(--sage-soft); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-leaf { position: absolute; color: var(--sage); pointer-events: none; }
.hero-leaf--top { width: 92px; left: -34px; top: -26px; transform: rotate(-24deg); z-index: 2; }
.hero-leaf--side { width: 78px; right: -6px; top: 52%; transform: rotate(18deg); z-index: 2; }
.script-note { position: absolute; right: -14px; top: 4%; font-family: var(--script); font-size: 1.55rem; line-height: 1.05; color: var(--muted); transform: rotate(-14deg); text-align: center; margin: 0; z-index: 2; }
.ant-card { position: absolute; right: 0; bottom: 0; background: rgba(251, 250, 247, .96); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow); width: 168px; z-index: 3; }
.ant-card .ant { width: 44px; height: 26px; color: var(--navy); margin-bottom: 10px; }
.ant-card p { font-size: .8rem; line-height: 1.45; margin: 0; color: var(--muted); }

@media (max-width: 900px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-media { max-width: 520px; margin: 0 auto; width: 100%; padding: 0 24px 34px 0; }
	.script-note { right: -4px; font-size: 1.3rem; }
}

/* ================= Meaning ================= */
.meaning { padding: clamp(24px, 4vw, 40px) 0 var(--section); }
.meaning-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: center; max-width: 1440px; margin: 0 auto; padding-right: var(--gutter); position: relative; }
.meaning-media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow); }
.meaning-copy { max-width: 470px; position: relative; z-index: 1; }
.meaning-copy p { color: var(--muted); }
.ant-trail { position: absolute; right: 0; top: -20px; width: 230px; height: 360px; color: var(--navy); opacity: .9; pointer-events: none; }
@media (max-width: 1200px) { .ant-trail { width: 160px; opacity: .45; } }
@media (max-width: 860px) {
	.meaning-grid { grid-template-columns: 1fr; padding: 0 var(--gutter); }
	.meaning-media img { border-radius: var(--radius); }
	.ant-trail { display: none; }
}

/* ================= Purpose ================= */
.purpose { position: relative; padding: clamp(64px, 8vw, 104px) 0; background: linear-gradient(180deg, rgba(232, 236, 238, .55), rgba(240, 236, 230, .75)), var(--bg) center 30% / cover no-repeat, #e7eaea; overflow: hidden; }
.purpose .h2 { max-width: 26ch; margin: 0 auto .9em; }
.purpose-icons { list-style: none; padding: 0; margin: 0 auto 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 18px; max-width: 1020px; }
.purpose-icons a { display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-size: .82rem; line-height: 1.35; padding: 12px 6px; border-radius: 14px; transition: background .25s, transform .25s var(--ease); }
.purpose-icons a:hover { background: rgba(255, 255, 255, .55); transform: translateY(-3px); color: var(--navy); }
.purpose-icons .icon { width: 34px; height: 34px; color: var(--navy); stroke-width: 1.4; }
.purpose-quote { margin: 0; font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.45rem); color: var(--navy); line-height: 1.5; }
.purpose-quote p { margin: 0; }

/* ================= Split head + cards ================= */
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.split-head p { color: var(--muted); }
.split-head .h2 { margin-bottom: 0; }
@media (max-width: 800px) { .split-head { grid-template-columns: 1fr; align-items: start; } }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 30px); }
@media (max-width: 980px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .card-grid { grid-template-columns: 1fr; } }
.card { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__media { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--sage-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { position: relative; padding: 30px 24px 24px 72px; flex: 1; display: flex; flex-direction: column; }
.card__icon { position: absolute; left: 18px; top: -22px; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 5px var(--paper); }
.card__icon .icon { width: 22px; height: 22px; }
.card__icon--static { position: static; box-shadow: none; margin-bottom: 18px; width: 52px; height: 52px; }
.card__title { font-size: 1.28rem; line-height: 1.25; margin-bottom: .55em; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a:hover { color: var(--ocean); }
.card__foot { display: flex; gap: 14px; align-items: flex-end; justify-content: space-between; margin-top: auto; }
.card__foot p, .card__body > p { margin: 0; font-size: .88rem; color: var(--muted); line-height: 1.55; }
.card--campaign .card__body { padding: 24px; gap: 12px; }
.card--campaign .card__title { margin-bottom: 0; }
.card--campaign .btn { margin-top: auto; }
.badge { position: absolute; left: 14px; top: 14px; display: inline-flex; gap: 6px; align-items: center; background: rgba(251, 250, 247, .95); color: var(--navy); font-size: .74rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.badge .icon { width: 14px; height: 14px; }
.progress { height: 8px; border-radius: 999px; background: rgba(21, 56, 95, .1); overflow: hidden; margin-top: 4px; }
.progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--ocean), var(--navy)); min-width: 6px; }
.progress--lg { height: 12px; margin: 24px 0 10px; max-width: 520px; }
.progress-meta { font-size: .9rem; color: var(--muted); margin: 0 0 6px; }
.progress-meta strong { color: var(--navy); font-size: 1.05rem; }

/* ================= CTA banner ================= */
.cta-banner { position: relative; overflow: hidden; color: #fff; background: linear-gradient(90deg, rgba(15, 43, 74, .97) 0%, rgba(21, 56, 95, .82) 40%, rgba(21, 56, 95, .25) 75%, rgba(15, 43, 74, .5) 100%), var(--bg) 70% center / cover no-repeat, var(--navy); padding: clamp(72px, 9vw, 120px) 0; }
.cta-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.cta-banner .h2 { color: #fff; }
.cta-copy p { color: rgba(255, 255, 255, .82); max-width: 32em; margin-bottom: 2em; }
.cta-quote { margin: 0; justify-self: end; max-width: 280px; font-family: var(--serif); font-size: 1.3rem; line-height: 1.5; color: #fff; padding-bottom: 18px; position: relative; }
.cta-quote::after { content: ''; position: absolute; left: 0; bottom: 0; width: 48px; height: 1px; background: rgba(255, 255, 255, .6); }
.cta-quote p { margin: 0; }
.cta-leaf { position: absolute; right: 2%; bottom: -20px; width: 90px; color: var(--sage); opacity: .7; transform: rotate(30deg); }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; } .cta-quote { justify-self: start; } .cta-banner { background: linear-gradient(180deg, rgba(15, 43, 74, .92), rgba(21, 56, 95, .82)), var(--bg) 70% center / cover no-repeat; } }

/* ================= Metrics ================= */
.metrics { padding: 44px 0; border-bottom: 1px solid var(--line); background: var(--cream); }
.metrics-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.metrics-row li { display: flex; align-items: center; gap: 16px; justify-content: center; }
.metrics-row .icon { width: 40px; height: 40px; color: var(--navy); stroke-width: 1.4; }
.metrics-row strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 2rem; color: var(--navy); line-height: 1.05; }
.metrics-row strong.metric-word { font-size: 1.32rem; }
.metrics-row span { font-size: .8rem; color: var(--muted); }
@media (max-width: 860px) { .metrics-row { grid-template-columns: repeat(2, 1fr); } .metrics-row li { justify-content: flex-start; } }
@media (max-width: 440px) { .metrics-row { grid-template-columns: 1fr; } }

/* ================= Vision ================= */
.vision-grid { display: grid; grid-template-columns: 1.15fr .85fr 1fr; gap: clamp(24px, 3.5vw, 48px); align-items: center; }
.fundraise + .vision { padding-top: 0; }
.vision-copy p { color: var(--muted); margin-bottom: 1.6em; }
.vision-arch { position: relative; }
.vision-arch img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 18px 18px; box-shadow: var(--shadow-lg); }
.arch-leaf { position: absolute; right: -26px; bottom: 6px; width: 70px; color: var(--sage); }
.mission-card { background: rgba(255, 255, 255, .45); border: 1px solid rgba(21, 56, 95, .08); border-radius: var(--radius); padding: clamp(28px, 3vw, 40px); }
.mission-card p:not(.eyebrow) { color: var(--muted); font-size: .95rem; }
@media (max-width: 980px) { .vision-grid { grid-template-columns: 1fr 1fr; } .mission-card { grid-column: 1 / -1; } }
@media (max-width: 640px) { .vision-grid { grid-template-columns: 1fr; } .vision-arch { max-width: 360px; } }

/* ================= Footer ================= */
.site-footer { position: relative; background: var(--navy); color: rgba(255, 255, 255, .78); padding: 80px 0 0; overflow: hidden; font-size: .92rem; }
.site-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .9fr 1.1fr; gap: 40px; padding-bottom: 56px; }
.footer-brand p { max-width: 30ch; margin-top: 22px; }
.footer-slogan { font-family: var(--serif); font-style: italic; color: #fff; font-size: 1.05rem; }
.footer-h { font-family: var(--sans); font-size: .95rem; font-weight: 600; color: #fff; letter-spacing: 0; margin-bottom: 18px; }
.footer-links, .footer-contact, .legal-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.footer-contact li { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.footer-contact .icon { width: 18px; color: var(--sage); }
.socials { list-style: none; display: flex; gap: 10px; padding: 0; margin: 20px 0 0; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); }
.socials a:hover { background: #fff; color: var(--navy); }
.socials .icon { width: 18px; }
.socials--dark a { border-color: var(--line); color: var(--navy); }
.subscribe { position: relative; display: flex; flex-wrap: wrap; }
.subscribe input { flex: 1; min-width: 0; height: 54px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; padding: 0 64px 0 22px; font: inherit; }
.subscribe input::placeholder { color: rgba(255, 255, 255, .6); }
.subscribe button { position: absolute; right: 6px; top: 6px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); display: grid; place-items: center; }
.subscribe .form-status { width: 100%; }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 28px; font-size: .82rem; }
.footer-bottom::before { content: ''; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgba(255, 255, 255, .14); }
.footer-bottom p { margin: 0; }
.legal-links { display: flex; gap: 0; }
.legal-links li + li::before { content: '|'; margin: 0 12px; opacity: .4; }
.footer-leaf { position: absolute; right: 4%; bottom: 40px; width: 110px; color: var(--sage); opacity: .35; transform: rotate(60deg); pointer-events: none; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ================= Inner pages ================= */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); }
.page-hero-grid { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero--image .page-hero-grid { grid-template-columns: 1.05fr .95fr; }
.page-hero-media { position: relative; }
.page-hero-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 40% 40% 22px 22px / 26% 26% 22px 22px; box-shadow: var(--shadow-lg); }
.page-hero .lead { margin-bottom: 1.6em; }
@media (max-width: 860px) { .page-hero--image .page-hero-grid { grid-template-columns: 1fr; } }

.prose { font-size: 1.06rem; color: #2c3a48; }
.prose p { margin-bottom: 1.15em; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 1.4em; }
.prose ul li { position: relative; padding-left: 30px; margin-bottom: .6em; }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: .62em; width: 12px; height: 7px; border-left: 2px solid var(--ocean); border-bottom: 2px solid var(--ocean); transform: rotate(-45deg); }
.prose blockquote, .pull { margin: 1.8em 0; padding: 4px 0 4px 26px; border-left: 2px solid var(--sage); font-family: var(--serif); font-size: 1.45rem; line-height: 1.45; color: var(--navy); }
.prose blockquote p { margin: 0; }
.dropcap::first-letter { font-family: var(--serif); float: left; font-size: 4.2em; line-height: .85; padding: 6px 12px 0 0; color: var(--navy); }
.small-note { font-size: .86rem; color: var(--muted); display: flex; gap: 12px; align-items: flex-start; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 2em; }
.inline-ant { width: 34px; height: 20px; flex: none; color: var(--navy); margin-top: 2px; }
.two-col { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 90px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.vm-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
.vm-card { background: var(--paper); border-radius: var(--radius); padding: clamp(28px, 4vw, 52px); box-shadow: var(--shadow); }
.vm-card > p { color: var(--muted); }
.vm-card--navy { background: var(--navy); color: rgba(255, 255, 255, .82); position: sticky; top: 110px; }
.vm-card--navy .h3 { color: #fff; }
.vm-card--navy > p { color: rgba(255, 255, 255, .82); }
.vm-sub { font-weight: 600; color: var(--navy) !important; margin-top: 1.4em; }
.vm-close { font-family: var(--serif); font-size: 1.2rem; color: var(--navy) !important; margin-top: 1.4em; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px solid var(--line); font-size: .96rem; }
.ticks li::before { content: ''; position: absolute; left: 6px; top: 1.05em; width: 12px; height: 7px; border-left: 2px solid var(--ocean); border-bottom: 2px solid var(--ocean); transform: rotate(-45deg); }
@media (max-width: 900px) { .vm-grid { grid-template-columns: 1fr; } .vm-card--navy { position: static; } }

.commitments { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.commitments li { background: var(--paper); border-radius: var(--radius); padding: 28px 22px; box-shadow: var(--shadow); }
.commitments .num { font-family: var(--serif); font-size: 2rem; color: var(--sage); display: block; margin-bottom: 10px; }
.commitments h3 { font-size: 1.15rem; }
.commitments p { font-size: .9rem; color: var(--muted); margin: 0; }
@media (max-width: 1100px) { .commitments { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .commitments { grid-template-columns: 1fr; } }
.philosophy-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 1.2em; }
.philosophy .h4 { margin-top: 1.6em; }

.leader-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; margin-top: 40px; }
.leader { width: 280px; text-align: center; }
.leader__photo { width: 200px; height: 240px; margin: 0 auto 18px; border-radius: 999px 999px 18px 18px; overflow: hidden; background: var(--cream-2); box-shadow: var(--shadow); }
.leader__photo img { width: 100%; height: 100%; object-fit: cover; }
.leader__role { color: var(--ocean); font-weight: 600; font-size: .88rem; letter-spacing: .04em; }
.avatar-ph { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(160deg, var(--cream-2), var(--sage-soft)); }
.avatar-ph img { width: 46%; height: auto !important; object-fit: contain !important; opacity: .55; }

.join-band { background: var(--navy); padding: clamp(56px, 7vw, 88px) 0; color: #fff; position: relative; overflow: hidden; }
.join-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 120% at 100% 0%, rgba(0, 98, 134, .55), transparent 60%); }
.join-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.join-band .h2 { color: #fff; margin: 0; font-size: clamp(1.7rem, 3vw, 2.4rem); }

/* What we do */
.jump { margin-top: -12px; }
.jump ul { list-style: none; margin: 0; padding: 14px; display: flex; flex-wrap: wrap; gap: 8px; background: var(--paper); border-radius: 999px; box-shadow: var(--shadow); justify-content: center; }
.jump a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; color: var(--navy); font-size: .84rem; font-weight: 600; text-decoration: none; }
.jump a:hover { background: var(--cream); }
.jump .icon { width: 18px; }
@media (max-width: 700px) { .jump ul { border-radius: var(--radius); } }
.init-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 88px); align-items: center; padding: clamp(28px, 4vw, 48px) 0; }
.init-row + .init-row { border-top: 1px solid var(--line); }
.init-row--flip .init-row__media { order: 2; }
.init-row__media { position: relative; }
.init-row__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.init-row__num { position: absolute; top: -18px; left: -12px; width: 56px; height: 56px; border-radius: 50%; background: var(--cream); color: var(--navy); font-family: var(--serif); font-size: 1.6rem; display: grid; place-items: center; box-shadow: var(--shadow); }
@media (max-width: 800px) { .init-row { grid-template-columns: 1fr; } .init-row--flip .init-row__media { order: 0; } .init-row__num { left: 10px; } }

.article-grid { display: grid; grid-template-columns: 1fr 320px; gap: clamp(32px, 6vw, 80px); align-items: start; }
.side-card { background: var(--paper); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); position: sticky; top: 110px; display: flex; flex-direction: column; gap: 12px; }
.side-card p { color: var(--muted); font-size: .94rem; }
.side-card .card__icon--static { margin-bottom: 4px; }
@media (max-width: 900px) { .article-grid { grid-template-columns: 1fr; } .side-card { position: static; } }

/* Get involved */
.ways-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.way { background: var(--paper); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: flex-start; }
.way p { color: var(--muted); font-size: .94rem; flex: 1; }
@media (max-width: 900px) { .ways-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ways-grid { grid-template-columns: 1fr; } }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 26px 62px; color: var(--muted); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -4px; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--navy); color: var(--navy); font-family: var(--serif); font-size: 1.15rem; display: grid; place-items: center; }
.steps li::after { content: ''; position: absolute; left: 20.5px; top: 42px; bottom: 4px; width: 1px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps strong { color: var(--navy); display: block; font-size: 1.05rem; }
.steps--compact li { padding-bottom: 18px; }

/* Donate */
.donate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.donate-card { background: var(--paper); border-radius: 24px; padding: clamp(24px, 3.5vw, 44px); box-shadow: var(--shadow-lg); }
.donate-info .steps { margin-bottom: 28px; }
.pay-tabs { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; }
.pay-tabs__list { display: flex; gap: 6px; background: var(--cream); border-radius: 12px; padding: 5px; }
.pay-tabs__list button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; background: none; padding: 10px 8px; border-radius: 9px; font-size: .86rem; font-weight: 600; color: var(--muted); }
.pay-tabs__list button[aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: 0 2px 8px -3px rgba(21, 56, 95, .3); }
.pay-tabs__list .icon { width: 18px; }
.pay-panel dl { margin: 0; padding: 14px 12px 4px; }
.pay-panel dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.pay-panel dt { color: var(--muted); font-size: .86rem; }
.pay-panel dd { margin: 0; font-weight: 600; color: var(--navy); text-align: right; display: flex; align-items: center; gap: 8px; word-break: break-all; }
.copy-btn { border: 1px solid var(--line); background: #fff; border-radius: 8px; width: 30px; height: 30px; display: grid; place-items: center; color: var(--ocean); flex: none; }
.copy-btn .icon { width: 15px; }
.copy-btn.is-copied { background: var(--ocean); color: #fff; }
.notice { display: flex; gap: 10px; font-size: .84rem; color: var(--muted); margin: 10px 12px 8px; }
.notice .icon { color: var(--ocean); width: 18px; margin-top: 2px; }
.trust { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.trust li { display: flex; gap: 14px; font-size: .92rem; color: var(--muted); }
.trust .icon { width: 22px; height: 22px; color: var(--navy); margin-top: 1px; }
.trust strong { color: var(--navy); }
@media (max-width: 900px) { .donate-grid { grid-template-columns: 1fr; } }

/* Forms */
.form { display: flex; flex-direction: column; gap: 4px; }
.form .h4 { margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.field > label, .field > legend { display: block; font-size: .84rem; font-weight: 600; color: var(--navy); margin-bottom: 7px; padding: 0; }
.req { color: #b42318; }
.opt { color: var(--muted); font-weight: 400; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number], .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 15px; border: 1px solid rgba(21, 56, 95, .22); border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-size: .95rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ocean); box-shadow: 0 0 0 3px rgba(0, 98, 134, .15); }
[aria-invalid="true"] { border-color: #b42318 !important; }
.field-error { color: #b42318; font-size: .8rem; margin: 6px 0 0; min-height: 0; }
.field-error:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input, .seg input, .amounts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span, .seg span, .amounts span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(21, 56, 95, .22); background: #fff; font-size: .84rem; color: var(--ink); cursor: pointer; transition: all .2s; user-select: none; }
.chip input:checked + span, .seg input:checked + span, .amounts input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:focus-visible + span, .seg input:focus-visible + span, .amounts input:focus-visible + span { outline: 2px solid var(--ocean); outline-offset: 2px; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.amounts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 10px; }
.amounts span { justify-content: center; width: 100%; font-weight: 600; padding: 0 6px; }
@media (max-width: 480px) { .amounts { grid-template-columns: repeat(3, 1fr); } }
.amount-input { display: flex; align-items: center; border: 1px solid rgba(21, 56, 95, .22); border-radius: 12px; background: #fff; padding-left: 15px; }
.amount-input span { color: var(--muted); font-weight: 600; }
.amount-input input { border: 0 !important; box-shadow: none !important; font-weight: 600; font-size: 1.1rem !important; }
.amount-input:focus-within { border-color: var(--ocean); box-shadow: 0 0 0 3px rgba(0, 98, 134, .15); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--ink); cursor: pointer; margin: 4px 0 14px; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy); flex: none; }
.privacy-note { display: flex; gap: 10px; font-size: .8rem; color: var(--muted); margin: 0 0 16px; }
.privacy-note .icon { width: 16px; color: var(--ocean); margin-top: 2px; }
.form-status { margin: 12px 0 0; font-size: .92rem; }
.form-status:empty { display: none; }
.form-status.is-error { color: #b42318; }
.form-status.is-success { color: #14532d; background: #e8f3ec; border-radius: 12px; padding: 18px 20px; font-size: 1rem; line-height: 1.55; }
.form-status.is-success:focus { outline: none; }
.is-sent { min-height: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; }
.contact-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list .icon { width: 24px; height: 24px; color: var(--navy); margin-top: 2px; }
.contact-list strong { display: block; color: var(--navy); font-size: .9rem; }
.contact-info .side-card { position: static; margin-top: 28px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Stories */
.story-card .card__body { padding: 24px; }
.story-meta { font-size: .78rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px !important; }
.story-figure { margin: 0 0 48px; }
.story-figure img { border-radius: var(--radius); width: 100%; }
.empty { text-align: center; max-width: 560px; margin: 0 auto; padding: 40px 0 20px; }
.empty-ant { width: 70px; height: 42px; color: var(--sage); margin: 0 auto 20px; }
.empty p { color: var(--muted); }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; }
.pagination .page-numbers { padding: 8px 14px; border-radius: 999px; background: var(--paper); text-decoration: none; }
.pagination .current { background: var(--navy); color: #fff; }

/* Team (private) */
.dept { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 18px; }
.dept summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 28px; cursor: pointer; list-style: none; }
.dept summary::-webkit-details-marker { display: none; }
.dept summary::after { content: '+'; font-size: 1.6rem; color: var(--navy); line-height: 1; }
.dept[open] summary::after { content: '–'; }
.dept summary .h4 { margin: 0; color: var(--navy); font-family: var(--serif); }
.dept__count { margin-left: auto; font-size: .82rem; color: var(--muted); }
.dept__desc { padding: 0 28px; color: var(--muted); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; padding: 0 28px 28px; }
.member { display: flex; gap: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.member--inactive { opacity: .55; }
.member__photo { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; flex: none; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin: 2px 0 2px; color: var(--navy); letter-spacing: 0; }
.member__role { font-size: .84rem; color: var(--ocean); margin: 0 0 4px; font-weight: 600; }
.member__meta, .member__bio { font-size: .8rem; color: var(--muted); margin: 0 0 6px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; }
.tag { font-size: .7rem; padding: 3px 9px; border-radius: 999px; background: var(--cream); color: var(--muted); font-weight: 600; text-decoration: none; }
.tag--public { background: #e8f3ec; color: #14532d; }
.tag--internal { background: #e6eef5; color: var(--navy); }
.tag--draft { background: #fff4e5; color: #9a6700; }
.tag--link { background: var(--navy); color: #fff; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(15, 43, 74, .55); backdrop-filter: blur(4px); opacity: 0; transition: opacity .2s; }
.modal__panel { position: relative; width: 100%; max-width: 680px; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow-y: auto; background: var(--cream-2); border-radius: 24px; padding: clamp(24px, 4vw, 44px); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .45); transform: translateY(16px) scale(.98); opacity: 0; transition: transform .25s var(--ease), opacity .2s; overscroll-behavior: contain; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__panel { transform: none; opacity: 1; }
.modal__close { position: absolute; right: 16px; top: 16px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); display: grid; place-items: center; z-index: 2; }
.modal__close .icon { width: 20px; }
.modal__head { margin-bottom: 22px; padding-right: 40px; }
.modal__head p:last-child { color: var(--muted); font-size: .95rem; margin: 0; }
.modal-open { overflow: hidden; }
.gform-embed iframe { width: 100%; height: 60vh; border: 0; border-radius: 12px; background: #fff; }
.gform-fallback { margin-top: 14px; }
.modal__panel--video { max-width: 960px; padding: 0; background: #000; overflow: hidden; }
.video-wrap { aspect-ratio: 16 / 9; }
.video-wrap iframe, .video-wrap video { width: 100%; height: 100%; }
.modal--video .modal__close { background: rgba(255, 255, 255, .9); }

/* Reveal animation (JS adds .js-reveal) */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }

/* WP core */
.alignwide { max-width: 1100px; }
.wp-block-image img { border-radius: var(--radius-sm); }
.entry > *:first-child { margin-top: 0; }
.list-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
