/* ==========================================================================
   Strive 2 Thrive — site styles
   Plain CSS, no build step. Sections:
   1 tokens · 2 base · 3 layout · 4 buttons · 5 header · 6 footer
   7 page hero · 8 home · 9 cards & sections · 10 project · 11 team
   12 gallery · 13 forms · 14 donate · 15 misc · 16 motion
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
:root {
  --navy-900: #0f2147;
  --navy-800: #142c5c;
  --navy-700: #1d3d78;   /* brand primary  ≈ hsl(218 60% 32%) */
  --navy-600: #2a53a0;
  --navy-100: #e5ecf8;
  --navy-50:  #f2f5fb;

  --gold-500: #f3a530;   /* brand secondary ≈ hsl(38 90% 55%) */
  --gold-600: #dc8d12;
  --gold-100: #fdeccd;
  --gold-50:  #fef7ea;

  --sky-300:  #9eb1d6;   /* brand accent */

  --cream:    #fbf8f3;
  --paper:    #ffffff;
  --ink:      #13233f;
  --ink-soft: #3b4a66;
  --muted:    #5d6b84;
  --line:     #e7e2d9;
  --line-cool:#dfe5ef;
  --success:  #1d7a4c;
  --danger:   #b42318;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgb(15 33 71 / .06), 0 1px 3px rgb(15 33 71 / .08);
  --shadow:    0 6px 24px -6px rgb(15 33 71 / .14), 0 2px 6px rgb(15 33 71 / .06);
  --shadow-lg: 0 24px 60px -18px rgb(15 33 71 / .30);

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7.5rem);
  --header-h: 84px;
}

/* 2. Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy-700); text-underline-offset: .2em; }
a:hover { color: var(--navy-600); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy-900); line-height: 1.15; margin: 0 0 .6em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.35rem; }
p  { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold-100); color: var(--navy-900); }

.sr-only { 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: 1rem; top: -100px; z-index: 1000; background: var(--navy-900); color: #fff; padding: .75rem 1.25rem; border-radius: var(--radius-sm); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 1rem; color: #fff; }
main:focus { outline: none; }

.icon { flex-shrink: 0; }

/* 3. Layout ------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 820px; }
.section { padding-block: var(--section); }
.section-tight { padding-block: calc(var(--section) * .6); }
.section-white { background: var(--paper); }
.section-navy { background: var(--navy-800); color: #dfe6f5; }
.section-navy h2, .section-navy h3 { color: #fff; }

.section-head { max-width: 680px; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.section-navy .section-head p { color: #c3cfe6; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-body); font-size: .8rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600);
  margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow-light { color: var(--gold-500); }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-soft); line-height: 1.7; }
.text-gold { color: var(--gold-600); }
.serif-italic { font-style: italic; color: var(--navy-600); }

.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }

/* 4. Buttons ------------------------------------------------------------ */
.btn {
  --btn-bg: var(--navy-700); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-gold { --btn-bg: var(--gold-500); --btn-fg: var(--navy-900); }
.btn-gold:hover { --btn-bg: #f6b450; }
.btn-navy:hover { --btn-bg: var(--navy-600); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--navy-700); --btn-bd: var(--navy-700); }
.btn-outline:hover { --btn-bg: var(--navy-700); --btn-fg: #fff; }
.btn-ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgb(255 255 255 / .45); }
.btn-ghost-light:hover { --btn-bg: rgb(255 255 255 / .1); --btn-bd: #fff; }
.btn-sm { padding: .55rem 1.05rem; font-size: .9rem; }
.btn-lg { padding: 1rem 1.85rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; color: var(--navy-700); }
.link-arrow .icon { transition: transform .18s ease; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* 5. Header ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgb(251 248 243 / .88);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px -12px rgb(15 33 71 / .25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }
.brand img { height: 58px; width: auto; }
.main-nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: .5rem .8rem; border-radius: 999px;
  font-size: .95rem; font-weight: 500; color: var(--ink-soft); text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.main-nav a:hover { background: var(--navy-50); color: var(--navy-700); }
.main-nav a[aria-current="page"] { color: var(--navy-700); background: var(--navy-100); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.menu-toggle { display: none; background: none; border: 0; padding: .5rem; margin-right: -.5rem; color: var(--navy-900); cursor: pointer; border-radius: var(--radius-sm); }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu { border-top: 1px solid var(--line); background: var(--cream); padding: 1rem var(--gutter) 1.75rem; }
.mobile-menu ul { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.mobile-menu li + li { border-top: 1px solid var(--line); }
.mobile-menu a:not(.btn) { display: block; padding: 1rem .25rem; font-family: var(--font-display); font-size: 1.35rem; color: var(--navy-900); text-decoration: none; }
.mobile-menu a[aria-current="page"] { color: var(--gold-600); }

@media (max-width: 1060px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (min-width: 1061px) { .mobile-menu { display: none !important; } }
@media (max-width: 1060px) { .brand img { height: 50px; } }
@media (max-width: 400px) { .brand img { height: 42px; } }
@media (max-width: 340px) { .header-actions .btn { display: none; } }

/* 6. Footer ------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: #b9c5dd; padding-top: clamp(3.5rem, 7vw, 5rem); }
.footer-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem;
  padding: clamp(2rem, 4vw, 3rem); margin-bottom: clamp(3rem, 6vw, 4.5rem);
  background: linear-gradient(120deg, var(--navy-700), var(--navy-800));
  border: 1px solid rgb(255 255 255 / .08); border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
}
.footer-cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgb(243 165 48 / .35), transparent 70%); pointer-events: none; }
.footer-cta h2 { color: #fff; margin: 0; font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 18ch; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-logo { display: inline-block; background: #fff; padding: .6rem .9rem; border-radius: var(--radius-sm); margin-bottom: 1.1rem; }
.footer-logo img { height: 52px; width: auto; }
.footer-brand p { max-width: 34ch; font-size: .95rem; }
.footer-heading { font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .95rem; }
.footer-links a { color: #b9c5dd; text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; word-break: break-word; }
.footer-links a:hover { color: #fff; }
.social-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; gap: .6rem; }
.social-list a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgb(255 255 255 / .08); color: #fff; border: 1px solid rgb(255 255 255 / .14); transition: background-color .15s ease, transform .15s ease; }
.social-list a:hover { background: var(--gold-500); color: var(--navy-900); transform: translateY(-2px); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; border-top: 1px solid rgb(255 255 255 / .1); padding-block: 1.5rem; font-size: .875rem; color: #8d9bb8; }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* 7. Page hero (inner pages) ------------------------------------------- */
.page-hero { position: relative; padding-block: clamp(3.5rem, 8vw, 6rem) clamp(3rem, 6vw, 4.5rem); overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 80% at 100% 0%, rgb(243 165 48 / .14), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgb(29 61 120 / .08), transparent 60%);
}
.page-hero h1 { max-width: 16ch; }
.page-hero .lead { max-width: 60ch; margin: 0; }
.page-hero.center { text-align: center; }
.page-hero.center h1, .page-hero.center .lead { margin-inline: auto; }

/* 8. Home --------------------------------------------------------------- */
.hero { position: relative; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(4rem, 8vw, 6.5rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(45% 60% at 85% 20%, rgb(243 165 48 / .18), transparent 65%),
    radial-gradient(40% 50% at 10% 90%, rgb(29 61 120 / .10), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero h1 em { font-style: italic; color: var(--navy-600); }
.hero .lead { max-width: 52ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero-note { margin-top: 2.25rem; display: flex; align-items: center; gap: .9rem; font-size: .95rem; color: var(--muted); }
.hero-note strong { color: var(--navy-900); }
.hero-note .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px rgb(29 122 76 / .15); flex-shrink: 0; }

.hero-media { position: relative; aspect-ratio: 1 / 1.02; }
.hero-photo { position: absolute; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: var(--navy-100); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-1 { inset: 0 18% 22% 0; }
.hero-photo-2 { width: 46%; aspect-ratio: 4/5; right: 0; bottom: 0; border: 6px solid var(--cream); }
.hero-badge {
  position: absolute; left: -4%; bottom: 6%; width: min(290px, 70%);
  background: var(--paper); border-radius: var(--radius); padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.hero-badge p { margin: 0; font-size: .85rem; color: var(--muted); }
.hero-badge strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--navy-900); line-height: 1.2; }
.hero-badge .progress { margin-top: .7rem; }
.hero-shape { position: absolute; top: -18px; right: 8%; width: 84px; height: 84px; border-radius: 50%; background: var(--gold-500); z-index: -1; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 560px; margin-inline: auto; width: 100%; }
  .hero-badge { left: 0; }
}

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgb(255 255 255 / .12); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--navy-800); padding: clamp(1.5rem, 3vw, 2.25rem); }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.75rem); color: #fff; font-weight: 600; line-height: 1.1; }
.stat span { font-size: .95rem; color: #b9c5dd; }
@media (max-width: 800px) { .stats { grid-template-columns: 1fr 1fr; } }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.value { padding: 2rem clamp(1rem, 2.5vw, 2rem) 2.25rem 0; border-bottom: 1px solid var(--line); position: relative; }
.value:not(:nth-child(3n + 1)) { padding-left: clamp(1rem, 2.5vw, 2rem); border-left: 1px solid var(--line); }
.value-num { font-family: var(--font-display); font-style: italic; color: var(--gold-600); font-size: 1rem; display: block; margin-bottom: 1.25rem; }
.value-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy-700); margin-bottom: 1.1rem; }
.value h3 { margin-bottom: .4rem; }
.value p { color: var(--muted); margin: 0; font-size: 1rem; }
@media (max-width: 900px) {
  .values { grid-template-columns: 1fr 1fr; }
  .value:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .value:nth-child(even) { padding-left: clamp(1rem, 2.5vw, 2rem); border-left: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .values { grid-template-columns: 1fr; }
  .value:nth-child(even) { padding-left: 0; border-left: 0; }
}

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.feature-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3.4; box-shadow: var(--shadow-lg); background: var(--navy-100); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-tag { position: absolute; left: 1rem; top: 1rem; background: rgb(15 33 71 / .82); color: #fff; padding: .45rem .9rem; border-radius: 999px; font-size: .82rem; font-weight: 600; backdrop-filter: blur(6px); display: inline-flex; gap: .4rem; align-items: center; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } }

.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: .75rem; }
.photo-strip a { display: block; border-radius: var(--radius); overflow: hidden; background: var(--navy-100); }
.photo-strip a:nth-child(1) { grid-row: span 2; grid-column: span 2; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.photo-strip a:hover img { transform: scale(1.04); }
@media (max-width: 700px) { .photo-strip { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; } }

.involve { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.involve-card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.involve-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.involve-card .value-icon { background: var(--gold-50); color: var(--gold-600); }
.involve-card p { color: var(--muted); flex: 1; }
.involve-card .link-arrow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.involve-card.featured { background: var(--navy-700); border-color: var(--navy-700); color: #d4ddef; }
.involve-card.featured h3 { color: #fff; }
.involve-card.featured p { color: #c3cfe6; }
.involve-card.featured .value-icon { background: rgb(255 255 255 / .1); color: var(--gold-500); }
.involve-card.featured .link-arrow { color: var(--gold-500); }
@media (max-width: 900px) { .involve { grid-template-columns: 1fr; } }

.sponsor-row { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: 2rem 3.5rem; }
.sponsor { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 220px; }
.sponsor-logo { display: flex; align-items: center; justify-content: center; min-height: 60px; }
.sponsor-row img { max-height: 60px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.sponsor-row a:hover img { filter: none; opacity: 1; }
.sponsor-desc { margin: .6rem 0 0; font-size: .85rem; line-height: 1.5; color: var(--muted); }

/* 9. Generic cards ------------------------------------------------------ */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow-sm); }
.card-title { display: flex; align-items: center; gap: .75rem; font-size: 1.3rem; margin-bottom: 1.25rem; }
.card-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy-700); flex-shrink: 0; }
.card-icon.gold { background: var(--gold-50); color: var(--gold-600); }

.statement { position: relative; padding: clamp(2rem, 5vw, 3.5rem); border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); }
.statement + .statement { margin-top: 1.5rem; }
.statement h2 { display: flex; align-items: center; gap: .9rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.statement p { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-soft); margin: 0; line-height: 1.8; }
.statement.navy { background: var(--navy-800); border-color: var(--navy-800); }
.statement.navy h2 { color: #fff; }
.statement.navy p { color: #d1dbee; }
.statement.navy .card-icon { background: rgb(255 255 255 / .1); color: var(--gold-500); }
.statement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: stretch; }
.statement-grid .statement + .statement { margin-top: 0; }
.statement-grid .statement { display: flex; flex-direction: column; }
.statement-grid .statement-quote { font-size: clamp(1.25rem, 1.9vw, 1.55rem) !important; line-height: 1.55 !important; }
@media (max-width: 860px) { .statement-grid { grid-template-columns: 1fr; } }
.statement-quote { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2rem) !important; line-height: 1.45 !important; font-style: italic; }

/* 10. Project ----------------------------------------------------------- */
.project-layout { display: grid; grid-template-columns: 1fr 380px; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.project-body h2 { margin-bottom: .2em; }
.project-body .subtitle { display: flex; align-items: center; gap: .5rem; color: var(--gold-600); font-weight: 600; margin-bottom: 1.5rem; }
.project-body p { color: var(--ink-soft); }
.project-image { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/9; margin-bottom: 2rem; background: var(--navy-100); }
.project-image img { width: 100%; height: 100%; object-fit: cover; }
.checklist { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.checklist li { display: flex; align-items: center; gap: .7rem; background: var(--paper); border: 1px solid var(--line); padding: .85rem 1rem; border-radius: var(--radius-sm); font-weight: 500; font-size: .98rem; }
.checklist .tick { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-100); color: var(--gold-600); flex-shrink: 0; }
@media (max-width: 560px) { .checklist { grid-template-columns: 1fr; } }

.progress-card { position: sticky; top: calc(var(--header-h) + 1.5rem); background: var(--navy-800); color: #d1dbee; border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-lg); }
.progress-card .amount { font-family: var(--font-display); font-size: 2.75rem; color: #fff; line-height: 1.1; }
.progress-card .goal { color: #b9c5dd; margin-bottom: 1.25rem; }
.progress-card .progress { background: rgb(255 255 255 / .14); height: 12px; }
.progress-meta { display: flex; justify-content: space-between; margin: .75rem 0 1.75rem; font-size: .95rem; }
.progress-meta strong { color: var(--gold-500); }
@media (max-width: 960px) { .project-layout { grid-template-columns: 1fr; } .progress-card { position: static; } }

.progress { height: 8px; border-radius: 999px; background: var(--navy-100); overflow: hidden; }
.progress > span { display: block; height: 100%; width: var(--value, 0%); border-radius: inherit; background: linear-gradient(90deg, var(--gold-500), #f7c26b); transition: width 1.2s cubic-bezier(.2,.7,.2,1); }
.js .progress[data-animate] > span { width: 0; }
.js .progress.is-visible > span { width: var(--value, 0%); }

/* 11. Team -------------------------------------------------------------- */
.team-section + .team-section { margin-top: clamp(3.5rem, 7vw, 5rem); }
.team-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: 2rem; }
.team-section-head h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.team-section-head span { color: var(--muted); font-size: .95rem; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1.5rem; }
.team-grid.lg { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2rem; }
.person { margin: 0; }
.person-photo { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: linear-gradient(150deg, var(--navy-100), var(--gold-50)); margin-bottom: 1rem; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; transform-origin: var(--ox, 50%) var(--oy, 50%); transform: scale(var(--zoom, 1)); object-position: var(--ox, 50%) var(--oy, 50%); transition: transform .5s ease; }
.person:hover .person-photo img { transform: scale(calc(var(--zoom, 1) * 1.04)); }
.person-initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 3rem; color: var(--navy-700); }
.person-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--navy-900); margin: 0; }
.person-role { color: var(--gold-600); font-weight: 600; font-size: .92rem; margin: .15rem 0 0; }
.person-badge { display: inline-block; margin-top: .4rem; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.team-grid.sm { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1.25rem; }
.team-grid.sm .person-name { font-size: 1.05rem; }
/* main.js picks the row length so nobody ends up alone on a row; rows are centred */
.team-grid[data-cols] { display: flex; flex-wrap: wrap; justify-content: center; margin-inline: auto; }
.team-grid[data-cols] > .person { flex: 0 0 var(--card-w); min-width: 0; }

/* 12. Gallery ----------------------------------------------------------- */
.masonry { columns: 3 280px; column-gap: 1rem; }
.masonry-item { break-inside: avoid; margin: 0 0 1rem; }
.masonry-item button { display: block; width: 100%; padding: 0; border: 0; background: var(--navy-100); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; position: relative; }
.masonry-item img { width: 100%; transition: transform .5s ease, opacity .4s ease; }
.masonry-item button:hover img { transform: scale(1.03); }
.masonry-item figcaption { font-size: .9rem; color: var(--muted); padding: .5rem .25rem 0; }
.img-fade { opacity: 0; }
.img-fade.is-loaded { opacity: 1; }

.lightbox { position: fixed; inset: 0; z-index: 500; background: rgb(9 18 38 / .94); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: 1rem; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; max-height: 100%; min-width: 0; }
.lightbox img { max-height: calc(100vh - 7rem); max-width: 100%; width: auto; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.lightbox figcaption { color: #c3cfe6; margin-top: .85rem; text-align: center; font-size: .95rem; }
.lb-btn { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgb(255 255 255 / .2); background: rgb(255 255 255 / .08); color: #fff; cursor: pointer; transition: background-color .15s; }
.lb-btn:hover { background: rgb(255 255 255 / .18); }
.lb-close { position: absolute; top: 1rem; right: 1rem; }
@media (max-width: 640px) {
  .lightbox { grid-template-columns: 1fr; }
  .lb-prev, .lb-next { position: absolute; bottom: 1rem; }
  .lb-prev { left: 1rem; } .lb-next { right: 1rem; }
}
.empty { text-align: center; color: var(--muted); padding: 3rem 1rem; border: 2px dashed var(--line); border-radius: var(--radius); }

/* 13. Forms ------------------------------------------------------------- */
.form { display: grid; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .45rem; }
.field label { font-weight: 600; font-size: .95rem; color: var(--navy-900); }
.field .optional { font-weight: 400; color: var(--muted); }
.input, .textarea, .select {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line-cool); border-radius: var(--radius-sm);
  background: #fff; font-size: 1rem; transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 150px; resize: vertical; }
.input:hover, .textarea:hover { border-color: var(--sky-300); }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 4px rgb(42 83 160 / .15); }
.field.has-error .input, .field.has-error .textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .875rem; margin: 0; }
.field-hint { color: var(--muted); font-size: .875rem; margin: 0; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 1rem 1.15rem; border-radius: var(--radius-sm); display: flex; gap: .75rem; align-items: flex-start; font-size: .98rem; }
.alert[hidden] { display: none; }
.alert-success { background: #e8f5ee; color: #135c38; border: 1px solid #bfe3cf; }
.alert-error { background: #fdecea; color: #8a1c12; border: 1px solid #f5c5bf; }

.form-shell { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.form-shell aside p { color: var(--muted); }
@media (max-width: 900px) { .form-shell { grid-template-columns: 1fr; } }

.contact-list { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 1rem; }
.contact-item { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.25rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
a.contact-item:hover { border-color: var(--sky-300); transform: translateX(3px); color: inherit; }
.contact-item small { display: block; color: var(--muted); font-size: .85rem; }
.contact-item strong { color: var(--navy-900); font-weight: 600; word-break: break-word; }
.mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.mini-card { padding: 1.5rem; border-radius: var(--radius); background: var(--gold-50); border: 1px solid var(--gold-100); }
.mini-card.navy { background: var(--navy-50); border-color: var(--navy-100); }
.mini-card h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.mini-card p { font-size: .95rem; color: var(--muted); }
@media (max-width: 520px) { .mini-cards { grid-template-columns: 1fr; } }

/* 14. Donate ------------------------------------------------------------ */
.donate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
@media (max-width: 900px) { .donate-grid { grid-template-columns: 1fr; } }
.pay-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.pay-card-head { display: flex; align-items: center; gap: .85rem; padding: 1.25rem 1.75rem; border-bottom: 1px solid var(--line); background: var(--navy-50); }
.pay-card-head.gold { background: var(--gold-50); }
.pay-card-head h2 { font-size: 1.35rem; margin: 0; }
.pay-card-body { padding: 1.75rem; }
.bank-logo { height: 56px; width: auto; margin: 0 auto 1.25rem; object-fit: contain; }
.detail-list { margin: 0; }
.detail { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.detail:last-child { border-bottom: 0; }
.detail dt { color: var(--muted); font-size: .92rem; }
.detail dd { margin: 0; display: flex; align-items: center; gap: .35rem; font-weight: 600; color: var(--navy-900); text-align: right; font-variant-numeric: tabular-nums; }
.copy-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; border: 0; background: transparent; color: var(--muted); cursor: pointer; transition: background-color .15s, color .15s; }
.copy-btn:hover { background: var(--navy-50); color: var(--navy-700); }
.copy-btn.is-copied { color: var(--success); }

.lipa { display: flex; gap: 1.25rem; align-items: center; background: var(--cream); border-radius: var(--radius); padding: 1rem; margin-bottom: 1.5rem; }
.lipa-qr { width: 150px; height: 150px; flex-shrink: 0; border-radius: 10px; background: #fff; padding: 6px; }
.lipa-logo { height: 40px; width: auto; margin-bottom: .35rem; }
.lipa-name { font-size: .8rem; font-weight: 700; margin: 0; letter-spacing: .04em; }
.lipa-number { font-family: var(--font-body); font-size: 1.6rem; font-weight: 700; color: var(--navy-700); letter-spacing: .02em; margin: 0; display: flex; align-items: center; gap: .25rem; font-variant-numeric: tabular-nums; }
.lipa-hint { font-size: .85rem; color: var(--muted); margin: .25rem 0 0; }
.lipa-hint strong { color: var(--navy-900); }
@media (max-width: 480px) { .lipa { flex-direction: column; text-align: center; } .lipa-logo { margin-inline: auto; } .lipa-number { justify-content: center; } }
.channels { display: block; margin: 0 auto 1.5rem; width: 100%; max-width: 520px; height: auto; }

.amount-field { position: relative; }
.amount-field .prefix { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--muted); font-size: .95rem; pointer-events: none; }
.amount-field .input { padding-left: 3.6rem; font-size: 1.25rem; font-weight: 600; height: 58px; font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.chip { padding: .5rem .9rem; border-radius: 999px; border: 1.5px solid var(--line-cool); background: #fff; font-weight: 600; font-size: .9rem; cursor: pointer; transition: all .15s; font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--navy-600); color: var(--navy-700); }
.chip[aria-pressed="true"] { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.donate-note { font-size: .85rem; color: var(--muted); text-align: center; margin: .85rem 0 0; }

.donate-impact { margin-top: 2rem; display: flex; gap: 1.25rem; align-items: center; padding: 1.5rem 1.75rem; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); }
.donate-impact .progress { flex: 1; }
.donate-impact p { margin: 0; }
@media (max-width: 640px) { .donate-impact { flex-direction: column; align-items: stretch; } }

/* 15. Misc -------------------------------------------------------------- */
.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); z-index: 600; background: var(--navy-900); color: #fff; padding: .8rem 1.25rem; border-radius: 999px; box-shadow: var(--shadow-lg); font-weight: 500; font-size: .95rem; }
.toast[hidden] { display: none; }
.notfound { text-align: center; padding-block: clamp(5rem, 12vw, 9rem); }
.notfound .big { font-family: var(--font-display); font-size: clamp(5rem, 16vw, 9rem); color: var(--gold-500); line-height: 1; margin-bottom: .5rem; }

/* 16. Motion ------------------------------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Hero / feature fallbacks when no photos are uploaded yet */
.hero-panel {
  position: absolute; inset: 0 8% 12% 0; border-radius: var(--radius-lg); overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, rgb(243 165 48 / .45), transparent 40%),
    radial-gradient(rgb(255 255 255 / .09) 1.5px, transparent 1.5px) 0 0 / 22px 22px,
    linear-gradient(150deg, var(--navy-700), var(--navy-900));
  box-shadow: var(--shadow-lg); color: #fff; padding: clamp(1.75rem, 4vw, 2.75rem);
  display: flex; flex-direction: column; justify-content: flex-start; gap: 0;
}
.hero-panel-kicker { margin-top: 1.5rem !important; }
.hero-panel-mark { margin-bottom: auto; width: 92px; height: 92px; background: #fff; border-radius: 22px; padding: 10px; box-shadow: var(--shadow); }
.hero-panel-kicker { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-500); margin: 0 0 .5rem; }
.hero-panel-title { font-family: var(--font-display); font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.15; margin: 0 0 1.25rem; max-width: 14ch; }
.hero-panel-tags { list-style: none; padding: 0; margin: 0 0 5.5rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.hero-panel-tags li { font-size: .82rem; font-weight: 600; padding: .35rem .75rem; border-radius: 999px; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .18); }
@media (max-width: 900px) { .hero-panel { inset: 0 0 14% 0; } .hero-media { aspect-ratio: 1 / 1.05; } }
@media (max-width: 480px) { .hero-media { aspect-ratio: auto; min-height: 520px; } .hero-panel-tags { margin-bottom: 7rem; } }

.feature-graphic {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background:
    radial-gradient(rgb(29 61 120 / .12) 1.5px, transparent 1.5px) 0 0 / 22px 22px,
    linear-gradient(150deg, var(--gold-50), var(--navy-50));
}
.feature-graphic span { font-family: var(--font-display); font-size: clamp(5rem, 12vw, 8rem); color: var(--navy-700); line-height: 1; }
.feature-graphic small { font-size: 1.05rem; color: var(--muted); margin-top: .5rem; }
.contact-social a { background: var(--navy-700); border-color: var(--navy-700); }
