@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/static/fonts/pjs.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #003676;
  --navy-deep: #04224a;
  --navy-ink: #0a1b33;
  --orange: #f15a0b;
  --orange-soft: #ff8a3d;
  --cyan: #01b0f1;
  --cream: #faf7f2;
  --paper: #ffffff;
  --line: #e6dfd3;
  --muted: #5f6b7a;
  --muted-2: #8b95a1;
  --ok: #12815a;
  --warn: #b26a00;
  --danger: #b3261e;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(10, 27, 51, .06), 0 2px 8px rgba(10, 27, 51, .04);
  --shadow-md: 0 10px 30px rgba(10, 27, 51, .10);
  --shadow-lg: 0 24px 60px rgba(10, 27, 51, .16);
  --wrap: 1180px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--navy-ink);
  background: var(--cream);
  font-size: 16.5px;
  line-height: 1.65;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; letter-spacing: -.025em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -.015em; }
p { margin: 0 0 1.1em; }
small { font-size: .82rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

::selection { background: var(--orange); color: #fff; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section.tight { padding: clamp(32px, 4vw, 56px) 0; }
.bg-paper { background: var(--paper); }
.bg-navy { background: var(--navy-deep); color: #eaf0f8; }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-cream { background: var(--cream); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--orange); border-radius: 2px; }
.bg-navy .eyebrow { color: var(--orange-soft); }

.lede { font-size: 1.14rem; color: var(--muted); max-width: 62ch; }
.bg-navy .lede { color: #b9c8dc; }

.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.mt0 { margin-top: 0; } .mt1 { margin-top: .6rem; } .mt2 { margin-top: 1.2rem; } .mt3 { margin-top: 2rem; }
.mb0 { margin-bottom: 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: .95rem; letter-spacing: -.01em; cursor: pointer;
  transition: transform .16s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  text-decoration: none; line-height: 1.1;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 22px rgba(241, 90, 11, .28); }
.btn-primary:hover { background: #d94e05; color: #fff; box-shadow: 0 12px 28px rgba(241, 90, 11, .34); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); color: #fff; }
.btn-ghost { background: transparent; border-color: rgba(0, 54, 118, .26); color: var(--navy); }
.btn-ghost:hover { border-color: var(--navy); background: rgba(0, 54, 118, .05); color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #f2f6fc; color: var(--navy); }
.btn-outline-light { border-color: rgba(255, 255, 255, .38); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }
.btn-sm { padding: 9px 16px; font-size: .82rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

.link-arrow { font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "→"; transition: transform .2s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ── Header ── */
.topbar {
  background: var(--navy-deep); color: #c8d6e8; font-size: .76rem; letter-spacing: .01em;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.topbar a { color: #dbe6f4; }
.topbar a:hover { color: #fff; }
.topbar strong { color: #fff; font-weight: 700; }
.topbar .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #35d07f; margin-right: 7px; box-shadow: 0 0 0 3px rgba(53, 208, 127, .18); }

.site-header {
  position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 26px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand .wordmark { display: flex; flex-direction: column; line-height: 1.05; }
.brand .wm-1 { font-weight: 800; font-size: 1.02rem; letter-spacing: .02em; color: var(--navy); }
.brand .wm-2 { font-weight: 800; font-size: .68rem; letter-spacing: .22em; color: var(--orange); text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  padding: 9px 13px; border-radius: 999px; font-size: .9rem; font-weight: 600; color: #2c3b50;
}
.nav a:hover { background: #f1f5fa; color: var(--navy); }
.nav a.active { color: var(--navy); background: #eef4fb; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; margin-left: auto; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--navy);
}
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 14px 24px; border-bottom: 1px solid #f1ece3; font-weight: 600; }
.mobile-nav .btn { margin: 16px 24px 22px; }

/* ── Hero ── */
.hero { position: relative; background: var(--navy-deep); color: #fff; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 480px at 88% -10%, rgba(1, 176, 241, .28), transparent 65%),
              radial-gradient(600px 400px at 8% 110%, rgba(241, 90, 11, .22), transparent 60%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1 .hl { color: var(--orange-soft); }
.hero .lede { color: #c4d3e6; font-size: 1.16rem; max-width: 50ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 34px; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 22px; }
.hero-stats .n { font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; color: #fff; display: block; line-height: 1; }
.hero-stats .l { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: #9fb4cf; margin-top: 6px; }
.hero-media { position: relative; }
.hero-media .frame {
  position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.4; background: #0b2b52;
}
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 22px -18px -18px 22px; border: 2px solid rgba(241, 90, 11, .55);
  border-radius: 20px; z-index: -1;
}
.hero-badge {
  position: absolute; left: -26px; bottom: 32px; background: #fff; color: var(--navy-ink);
  border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow-md); display: flex; gap: 12px; align-items: center;
  max-width: 260px;
}
.hero-badge .ico { width: 38px; height: 38px; border-radius: 10px; background: #eaf4fd; color: var(--navy); display: grid; place-items: center; flex: 0 0 auto; }
.hero-badge .t { font-size: .78rem; color: var(--muted); line-height: 1.3; }
.hero-badge .b { font-weight: 800; font-size: .92rem; color: var(--navy-ink); }

/* ── Stat band ── */
.stat-band { background: #04203f; border-top: 1px solid rgba(255, 255, 255, .08); }
.stat-band .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; }
.stat-band .item { padding: 26px 22px; border-left: 1px solid rgba(255, 255, 255, .08); }
.stat-band .item:first-child { border-left: 0; padding-left: 0; }
.stat-band .n { font-size: 1.85rem; font-weight: 800; color: #fff; letter-spacing: -.03em; display: block; }
.stat-band .l { font-size: .78rem; color: #94aac5; letter-spacing: .04em; }

/* ── Cards ── */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d9cfbe; }
.card .thumb { aspect-ratio: 4 / 3; overflow: hidden; background: #eee7db; position: relative; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .thumb img { transform: scale(1.04); }
.card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card .body h3 { font-size: 1.12rem; margin-bottom: 8px; }
.card .body h3 a { color: var(--navy-ink); }
.card .body h3 a:hover { color: var(--orange); }
.card .meta { font-size: .8rem; color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; margin-top: auto; padding-top: 14px; }
.card .desc { font-size: .92rem; color: var(--muted); margin: 0 0 4px; }
.card .foot { padding: 0 22px 22px; }

.pill {
  display: inline-flex; align-items: center; gap: 6px; border-radius: 999px;
  padding: 5px 11px; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  background: #eef3f9; color: var(--navy);
}
.pill.orange { background: #fdeee4; color: #b8430a; }
.pill.cyan { background: #e2f6fe; color: #026b91; }
.pill.green { background: #e3f5ec; color: var(--ok); }
.pill.gray { background: #eef0f2; color: #4a5563; }
.pill.red { background: #fbe9e7; color: var(--danger); }
.pill.outline { background: transparent; border: 1px solid var(--line); color: var(--muted); }

.tag-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* ── Pillar cards ── */
.pillar {
  position: relative; padding: 34px; border-radius: 18px; background: #fff; border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px; overflow: hidden;
}
.pillar::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 176, 241, .16), transparent 70%);
}
.pillar.orange::after { background: radial-gradient(circle, rgba(241, 90, 11, .18), transparent 70%); }
.pillar .ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: #eaf4fd; color: var(--navy); }
.pillar.orange .ico { background: #fdeee4; color: var(--orange); }
.pillar h3 { font-size: 1.5rem; }
.pillar .stats { display: flex; gap: 22px; margin-top: 8px; }
.pillar .stats b { display: block; font-size: 1.3rem; letter-spacing: -.02em; }
.pillar .stats span { font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

/* ── Progress ── */
.progress { height: 10px; background: #ece6da; border-radius: 999px; overflow: hidden; }
.progress > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--orange), #ff9a52); }
.progress.thin { height: 6px; }
.progress.cyan > i { background: linear-gradient(90deg, #0186b8, var(--cyan)); }
.amount-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: .86rem; margin: 12px 0 8px; }
.amount-row b { font-size: 1.02rem; color: var(--navy-ink); }
.amount-row span { color: var(--muted); }

.campaign-card .body { gap: 4px; }
.campaign-card .progress { margin: 2px 0 4px; }

/* ── Split feature ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .media { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 5/4; box-shadow: var(--shadow-md); }
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.split .media .tag { position: absolute; left: 16px; top: 16px; background: #fff; }
.checklist { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: .97rem; }
.checklist li::before {
  content: ""; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; margin-top: 3px;
  background: #e7f3ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2312815a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}
.bg-navy .checklist li::before { background-color: rgba(1, 176, 241, .16); }

/* ── Quotes ── */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.quote p { font-size: 1.02rem; line-height: 1.6; margin: 0; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; }
.quote .who b { display: block; font-size: .9rem; }
.quote .who span { font-size: .78rem; color: var(--muted); }

/* ── CTA band ── */
.cta-band { background: var(--orange); color: #fff; position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; right: -80px; bottom: -140px; width: 380px; height: 380px;
  border-radius: 50%; border: 60px solid rgba(255, 255, 255, .12);
}
.cta-band .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 48px; padding-bottom: 48px; }
.cta-band h2 { color: #fff; margin: 0 0 8px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .9); }

/* ── Page header ── */
.page-head { background: var(--paper); border-bottom: 1px solid var(--line); padding: clamp(38px, 5vw, 64px) 0; }
.page-head h1 { margin-bottom: .25em; }
.page-head .lede { margin-bottom: 0; }
.crumbs { font-size: .8rem; color: var(--muted); margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--orange); }
.crumbs span { color: #b9c0c9; }

/* ── Filters ── */
.filterbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 30px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: .86rem; font-weight: 600; color: #37455a; cursor: pointer; white-space: nowrap;
}
.chip:hover { border-color: #c9bfae; color: var(--navy); }
.chip.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.field-inline { display: flex; gap: 8px; margin-left: auto; }
select, input[type="text"], input[type="search"], input[type="email"], input[type="date"],
input[type="number"], input[type="password"], input[type="tel"], textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #d8d2c6; border-radius: 10px;
  font: inherit; font-size: .94rem; background: #fff; color: var(--navy-ink);
}
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23003676' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
input:focus, select:focus, textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0, 54, 118, .1); outline: none; }
textarea { min-height: 130px; resize: vertical; }
label.fl { display: block; font-weight: 700; font-size: .84rem; margin-bottom: 7px; color: #2b3a4f; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.hint { font-size: .78rem; color: var(--muted); margin-top: 6px; }

/* ── Detail ── */
.detail-hero { position: relative; background: var(--navy-deep); }
.detail-hero .cover { aspect-ratio: 21/9; max-height: 520px; overflow: hidden; }
.detail-hero .cover img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.detail-hero .overlay { position: absolute; inset: auto 0 0 0; background: linear-gradient(transparent, rgba(4, 32, 63, .92)); padding: 60px 0 34px; }
.detail-hero .overlay h1 { color: #fff; max-width: 22ch; margin-bottom: 10px; }
.detail-hero .overlay .crumbs, .detail-hero .overlay .crumbs a { color: #b7c7db; }
.detail-hero .overlay .meta { color: #c3d2e5; font-size: .86rem; display: flex; gap: 18px; flex-wrap: wrap; }
.detail-body { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.prose { font-size: 1.04rem; color: #26374d; }
.prose p { margin-bottom: 1.2em; }
.prose > p:first-child { font-size: 1.14rem; color: var(--navy-ink); font-weight: 500; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.side-card h4 { margin: 0 0 14px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.fact-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; }
.fact-list .ico { width: 34px; height: 34px; border-radius: 9px; background: #f1f5fa; display: grid; place-items: center; flex: 0 0 auto; color: var(--navy); }
.fact-list b { display: block; font-size: .82rem; color: var(--muted); font-weight: 600; }
.fact-list span { font-weight: 700; color: var(--navy-ink); }
.impact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.impact-list li { display: flex; gap: 10px; font-size: .95rem; }
.impact-list li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--orange); margin-top: 8px; flex: 0 0 auto; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery a { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; background: #eee7db; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery a:hover img { transform: scale(1.05); }

/* ── Lightbox ── */
.lightbox {
  position: fixed; inset: 0; background: rgba(4, 16, 32, .94); z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 82vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox .lb-btn {
  position: absolute; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25);
  color: #fff; width: 46px; height: 46px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; display: grid; place-items: center;
}
.lightbox .lb-close { top: 26px; right: 26px; }
.lightbox .lb-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 26px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-cap { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: #d5deea; font-size: .85rem; }

/* ── Donation page ── */
.raised-banner {
  background: var(--navy-deep); color: #fff; border-radius: 18px; padding: 30px 34px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.raised-banner .big { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.raised-banner .lbl { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: #9fb4cf; margin-top: 8px; }
.raised-banner .split-stat { display: flex; gap: 40px; flex-wrap: wrap; }

.donate-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.donate-box { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow-sm); }
.nominal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 8px; }
.nominal {
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff; padding: 13px 8px;
  font-weight: 700; font-size: .92rem; cursor: pointer; color: var(--navy-ink); transition: all .15s ease;
}
.nominal:hover { border-color: #b9c8dc; }
.nominal.on { border-color: var(--orange); background: #fdf1e9; color: #b8430a; box-shadow: 0 0 0 3px rgba(241, 90, 11, .12); }
.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-card { flex: 1; min-width: 120px; position: relative; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card span {
  display: block; text-align: center; padding: 12px 8px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: .88rem; font-weight: 600; cursor: pointer; transition: all .15s ease;
}
.radio-card input:checked + span { border-color: var(--navy); background: #eef4fb; color: var(--navy); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--navy); flex: 0 0 auto; }
.donor-wall { display: grid; gap: 12px; }
.donor {
  display: flex; gap: 12px; padding: 14px; border: 1px solid #efe9dd; border-radius: 12px; background: #fff;
}
.donor .avatar { width: 36px; height: 36px; font-size: .82rem; background: #eef4fb; color: var(--navy); }
.donor b { font-size: .9rem; }
.donor p { margin: 2px 0 0; font-size: .82rem; color: var(--muted); }
.donor .amt { margin-left: auto; font-weight: 800; font-size: .86rem; white-space: nowrap; color: var(--ok); }

/* ── Impact page ── */
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.kpi .n { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--navy); }
.kpi .l { font-size: .8rem; color: var(--muted); margin-top: 8px; }
.kpi .d { font-size: .74rem; color: var(--ok); font-weight: 700; margin-top: 6px; }

.chart { display: flex; align-items: flex-end; gap: 14px; height: 220px; padding: 10px 0 0; }
.chart .bar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; height: 100%; }
.chart .bar .fill { width: 100%; background: linear-gradient(180deg, var(--cyan), #0186b8); border-radius: 6px 6px 0 0; min-height: 3px; position: relative; transition: height .6s ease; }
.chart .bar .fill:hover::after {
  content: attr(data-v); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%) translateY(-6px);
  background: var(--navy-ink); color: #fff; font-size: .7rem; padding: 4px 8px; border-radius: 6px; white-space: nowrap;
}
.chart .bar .lbl { font-size: .72rem; color: var(--muted); }
.chart-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); margin-top: 14px; }
.legend-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--cyan); margin-right: 6px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: .88rem; }
table.data th {
  text-align: left; padding: 13px 16px; background: #f6f2ea; font-size: .72rem; text-transform: uppercase;
  letter-spacing: .08em; color: #55637a; border-bottom: 1px solid var(--line); white-space: nowrap;
}
table.data td { padding: 13px 16px; border-bottom: 1px solid #f0ebe2; vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
table.data tr:hover td { background: #fcfaf6; }
.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ── About ── */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { padding: 26px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.value .n { font-size: .74rem; font-weight: 800; letter-spacing: .12em; color: var(--orange); }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 28px 34px; border-left: 2px solid #e5ded1; }
.timeline li::before {
  content: ""; position: absolute; left: -8px; top: 4px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--orange); border: 3px solid var(--cream);
}
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline .y { font-size: .78rem; font-weight: 800; color: var(--orange); letter-spacing: .06em; }
.timeline h4 { margin: 2px 0 4px; font-size: 1.02rem; }
.timeline p { margin: 0; font-size: .9rem; color: var(--muted); }

/* ── Footer ── */
.site-footer { background: var(--navy-deep); color: #b0c2d8; padding: 60px 0 26px; }
.site-footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-footer img.logo { width: 132px; margin-bottom: 18px; }
.site-footer p { font-size: .9rem; color: #9fb2ca; max-width: 34ch; }
.site-footer h5 { color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #b0c2d8; font-size: .9rem; }
.site-footer a:hover { color: #fff; }
.site-footer .bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: .78rem; color: #8ba0ba; }
.site-footer .sosmed { display: flex; gap: 10px; }
.site-footer .sosmed a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; }

/* ── Flash ── */
.flashes { position: fixed; top: 86px; right: 20px; z-index: 150; display: grid; gap: 10px; max-width: 380px; }
.flash {
  background: #fff; border-left: 4px solid var(--navy); border-radius: 10px; padding: 14px 18px;
  box-shadow: var(--shadow-md); font-size: .88rem; animation: slideIn .3s ease;
}
.flash.ok { border-left-color: var(--ok); }
.flash.error { border-left-color: var(--danger); }
@keyframes slideIn { from { transform: translateX(20px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ── Reveal ── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── Pagination ── */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 44px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; font-size: .9rem; font-weight: 600; padding: 0 14px;
}
.pagination .on { background: var(--navy); color: #fff; border-color: var(--navy); }
.pagination .off { opacity: .45; }

/* ── Empty ── */
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty .ico { width: 64px; height: 64px; border-radius: 18px; background: #f1ece2; display: grid; place-items: center; margin: 0 auto 16px; }

/* ── Admin ── */
.admin-body { background: #f4f6f9; }
.admin-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 100vh; }
.admin-side { background: var(--navy-deep); color: #c3d2e5; padding: 22px 16px; display: flex; flex-direction: column; gap: 6px; position: sticky; top: 0; height: 100vh; }
.admin-side .brand { padding: 4px 8px 22px; }
.admin-side .brand .wm-1 { color: #fff; }
.admin-side a.nav-item {
  display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 9px;
  color: #c3d2e5; font-size: .9rem; font-weight: 500;
}
.admin-side a.nav-item:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.admin-side a.nav-item.on { background: var(--orange); color: #fff; font-weight: 700; }
.admin-side .sep { height: 1px; background: rgba(255, 255, 255, .1); margin: 14px 8px; }
.admin-side .foot { margin-top: auto; font-size: .78rem; color: #8ba0ba; padding: 0 10px; }
.admin-main { padding: 26px 32px 60px; min-width: 0; }
.admin-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.admin-top h1 { font-size: 1.6rem; margin: 0; }
.admin-top .sub { font-size: .84rem; color: var(--muted); margin-top: 4px; }
.admin-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.acard { background: #fff; border: 1px solid #e7e9ee; border-radius: 12px; padding: 18px 20px; }
.acard .l { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.acard .n { font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; margin-top: 6px; line-height: 1; }
.acard .x { font-size: .76rem; color: var(--muted); margin-top: 8px; }
.acard.hl { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.acard.hl .l, .acard.hl .x { color: #9fb4cf; }
.panel { background: #fff; border: 1px solid #e7e9ee; border-radius: 12px; padding: 22px; margin-bottom: 20px; }
.panel h3 { font-size: 1.02rem; margin-bottom: 16px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.panel-head h3 { margin: 0; }
.two-col { display: grid; grid-template-columns: 1.55fr 1fr; gap: 20px; align-items: start; }
.mini-bars { display: flex; align-items: flex-end; gap: 8px; height: 150px; padding-top: 8px; }
.mini-bars .b { flex: 1; background: linear-gradient(180deg, #2f86c9, var(--navy)); border-radius: 4px 4px 0 0; min-height: 3px; }
.mini-bars .b span { display: block; margin-top: 6px; }
.mb-labels { display: flex; gap: 8px; margin-top: 6px; }
.mb-labels .l { flex: 1; text-align: center; font-size: .64rem; color: var(--muted-2); }
.tbl-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.icon-btn { width: 30px; height: 30px; border-radius: 8px; border: 1px solid #dfe3e9; background: #fff; display: grid; place-items: center; cursor: pointer; color: #3b4a5e; }
.icon-btn:hover { background: #f2f5f9; color: var(--navy); }
.row-badge { font-size: .68rem; }

/* Admin login */
.login-shell { min-height: 100vh; display: grid; place-items: center; background: var(--navy-deep); position: relative; overflow: hidden; padding: 24px; }
.login-shell::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 500px at 75% 10%, rgba(1, 176, 241, .25), transparent 60%), radial-gradient(500px 400px at 10% 90%, rgba(241, 90, 11, .22), transparent 60%); }
.login-card { position: relative; width: 100%; max-width: 410px; background: #fff; border-radius: 18px; padding: 34px; box-shadow: var(--shadow-lg); }
.login-card .brand { margin-bottom: 22px; }
.login-card h1 { font-size: 1.5rem; margin-bottom: 6px; }
.login-card .sub { font-size: .88rem; color: var(--muted); margin-bottom: 22px; }

/* Utility */
.flex { display: flex; } .between { justify-content: space-between; } .center-y { align-items: center; }
.gap8 { gap: 8px; } .gap12 { gap: 12px; } .gap16 { gap: 16px; } .wrapf { flex-wrap: wrap; }
.hide { display: none !important; }
.nowrap { white-space: nowrap; }

/* ── Responsive ── */
@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { max-width: 520px; }
  .hero-media::after { display: none; }
  .detail-body, .donate-grid, .two-col { grid-template-columns: 1fr; gap: 30px; }
  .admin-cards { grid-template-columns: repeat(2, 1fr); }
  .site-footer .top { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header .wrap { min-height: 66px; }
  .grid-3, .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 12px; }
  .admin-side .brand { padding: 0 10px 0 4px; }
  .admin-side .sep, .admin-side .foot { display: none; }
  .admin-main { padding: 18px 16px 50px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .stat-band .wrap { grid-template-columns: 1fr 1fr; }
  .stat-band .item { border-left: 0; padding-left: 0; }
  .stat-band .item:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .08); padding-left: 18px; }
  .form-row { grid-template-columns: 1fr; }
  .nominal-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 22px; }
  .hero-badge { left: 12px; bottom: 12px; }
  .detail-hero .cover { aspect-ratio: 4/3; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .admin-cards { grid-template-columns: 1fr 1fr; }
  .campaign-card .body { padding: 18px; }
  .topbar .hide-sm { display: none; }
  .flashes { left: 12px; right: 12px; max-width: none; top: 76px; }
  .site-footer .top { grid-template-columns: 1fr; gap: 28px; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
  .hero h1 { font-size: 2.15rem; }
  .hero-actions .btn { width: 100%; }
  .hero-stats .n { font-size: 1.4rem; }
  .legend, .chart .bar .lbl { font-size: .6rem; }
  .admin-cards { grid-template-columns: 1fr; }
}

/* ── Masonry gallery ── */
.masonry { columns: 3; column-gap: 14px; }
.m-item {
  break-inside: avoid; margin: 0 0 14px; display: block; position: relative;
  border-radius: 12px; overflow: hidden; background: #e9e2d6; line-height: 0;
}
.m-item img { width: 100%; height: auto; transition: transform .5s ease; }
.m-item:hover img { transform: scale(1.03); }
.m-cap {
  position: absolute; inset: auto 0 0 0; padding: 26px 16px 14px; line-height: 1.35;
  background: linear-gradient(transparent, rgba(6, 22, 44, .88)); color: #fff;
  opacity: 0; transform: translateY(6px); transition: all .3s ease;
}
.m-item:hover .m-cap, .m-item:focus-visible .m-cap { opacity: 1; transform: none; }
.m-cap b { display: block; font-size: .84rem; font-weight: 700; }
.m-cap span { font-size: .72rem; color: #c9d6e6; }
@media (max-width: 900px) { .masonry { columns: 2; } }
@media (max-width: 520px) { .masonry { columns: 1; } .m-cap { opacity: 1; transform: none; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { padding: 24px; border-radius: 14px; background: #fff; border: 1px solid var(--line); position: relative; }
.step .n {
  counter-increment: s; width: 34px; height: 34px; border-radius: 50%; background: var(--navy);
  color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .9rem; margin-bottom: 14px;
}
.step .n::before { content: counter(s); }
.step h4 { margin: 0 0 6px; font-size: 1rem; }
.step p { margin: 0; font-size: .9rem; color: var(--muted); }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }

.bank-card {
  border: 1px dashed #cdbfa9; border-radius: 12px; padding: 16px 18px; background: #fffdf9;
  display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 10px;
}
.bank-card .bank { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bank-card .no { font-size: 1.05rem; font-weight: 800; letter-spacing: .02em; }
.bank-card .an { font-size: .78rem; color: var(--muted); }
.copy-btn { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 8px 12px; font-size: .78rem; font-weight: 700; cursor: pointer; color: var(--navy); }

.sticky { position: sticky; top: 96px; }
@media (max-width: 1000px) { .sticky { position: static; } }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── Perbaikan layout hasil QA ── */
.hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 26px; }
.hero-stats .n { display: block; white-space: nowrap; }
.hero-badge .t { display: block; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.hero-badge .b { display: block; font-size: 1.05rem; font-weight: 800; color: var(--navy-ink); white-space: nowrap; }

.campaign-card { display: flex; flex-direction: column; }
.campaign-card .body { display: flex; flex-direction: column; flex: 1; gap: 4px; }
.campaign-card .desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 4.4em; }
.campaign-card .btn { margin-top: auto; }

.detail-hero .cover { width: 100%; aspect-ratio: auto; height: clamp(260px, 40vw, 520px); max-height: none; }

.kpi .n { white-space: nowrap; font-size: clamp(1.15rem, 1.9vw, 1.9rem); }
.filterbar .field-inline { min-width: 0; }

input[type="file"] { width: 100%; padding: 10px 12px; border: 1px dashed var(--line); border-radius: 10px; background: #fff; font-size: .84rem; color: var(--muted); }
input[type="file"]::file-selector-button { margin-right: 10px; padding: 7px 14px; border: 0; border-radius: 8px; background: var(--navy); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }

@media (max-width: 640px) {
  .filterbar { display: grid; grid-template-columns: 1fr; }
  .filterbar .field-inline, .filterbar input, .filterbar select { width: 100%; }
  .hero-stats { gap: 16px 18px; }
  .campaign-card .desc { min-height: 0; }
  .detail-hero .cover { height: 230px; }
}

@media (max-width: 640px) {
  .filterbar .field-inline { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; margin-left: 0; }
  .filterbar .field-inline > div { grid-column: 1 / -1; }
  .filterbar .field-inline input, .filterbar .field-inline select { width: 100%; }
  .filterbar .field-inline .btn { grid-column: 1 / -1; }
}

/* Grid dua kolom: cegah anak melebar & tumpuk di layar kecil */
.two-col > * { min-width: 0; }
.table-wrap { min-width: 0; }
@media (max-width: 880px) { .two-col { grid-template-columns: 1fr; } }

@media (max-width: 640px) {
  .chart { gap: 6px; overflow-x: auto; padding-bottom: 6px; }
  .chart .bar { min-width: 18px; }
  .chart .bar .lbl { font-size: .58rem; letter-spacing: 0; }
}

.campaign-card h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.55em; }
.campaign-card .desc { min-height: 4.5em; margin-bottom: 0; }
.campaign-card .amount-row { margin-top: 0; }

.detail-hero .cover { position: relative; }
.detail-hero .cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,32,63,.74), rgba(4,32,63,.30) 52%, rgba(4,32,63,.06)); }
.detail-hero .overlay { background: linear-gradient(180deg, rgba(4,32,63,0) 26%, rgba(4,32,63,.86)); padding: 120px 0 38px; }
.detail-hero .overlay .crumbs, .detail-hero .overlay .crumbs a { color: #d5e2f1; }
