:root {
  --forest-950: #071914;
  --forest-900: #0a211a;
  --forest-800: #123c30;
  --forest-700: #1b5d49;
  --paper: #f7f6f0;
  --white: #fff;
  --gold: #d1b26c;
  --gold-soft: #eadcb9;
  --ink: #14241f;
  --muted: #65746d;
  --line: #dbe2dd;
  --brown: #755843;
  --shadow: 0 24px 70px rgba(7, 25, 20, .14);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.65 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body:has(dialog[open]) { overflow: hidden; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.04; letter-spacing: -.035em; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .7rem 1rem; border-radius: 8px; color: var(--ink); background: white; }
.skip-link:focus { top: 1rem; }

.gate-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  min-height: 74px;
  padding: 0 max(1rem, calc((100vw - 1220px) / 2));
  display: flex;
  align-items: center;
  gap: 1rem;
  color: white;
  background: rgba(7, 25, 20, .92);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(16px);
}
.gate-brand { display: inline-flex; align-items: center; }
.gate-brand img { width: 175px; height: auto; }
.gate-header nav {
  margin-left: auto;
  display: flex;
  gap: .1rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.gate-header nav a {
  padding: .5rem .68rem;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  font-size: .75rem;
  font-weight: 800;
}
.gate-header nav a:hover, .gate-header nav a:focus-visible { background: rgba(255, 255, 255, .12); outline: none; }
.gate-home-link {
  padding: .48rem .78rem;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  color: white;
  background: transparent;
  text-decoration: none;
  white-space: nowrap;
  font-size: .72rem;
  font-weight: 800;
}
.gate-home-link:hover, .gate-home-link:focus-visible { background: rgba(255, 255, 255, .12); outline: none; }

.gate-hero {
  position: relative;
  min-height: min(850px, 100vh);
  padding: 10rem max(1rem, calc((100vw - 1220px) / 2)) 5.5rem;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: white;
  background: var(--forest-950);
}
.gate-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; transform: scale(1.01); }
.gate-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 18, 14, .94) 0%, rgba(4, 18, 14, .7) 45%, rgba(4, 18, 14, .04) 76%, rgba(4, 18, 14, .02) 100%),
    linear-gradient(0deg, rgba(4, 18, 14, .68) 0%, rgba(4, 18, 14, .12) 48%, transparent 70%);
}
.gate-hero-content { position: relative; z-index: 2; width: min(870px, 78vw); }
.status-row { margin-bottom: 1.6rem; display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; color: #d8e1dc; font-size: .74rem; }
.status-pill { padding: .3rem .62rem; border: 1px solid rgba(255, 255, 255, .38); border-radius: 999px; color: #10251d; background: var(--gold-soft); font-weight: 850; }
.eyebrow { margin-bottom: .8rem; color: #dfc986; font-size: .7rem; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.dark { color: var(--forest-700); }
.gate-hero h1 { max-width: 860px; margin-bottom: 1.2rem; font: 500 clamp(3.7rem, 8.4vw, 7.2rem)/.92 Georgia, "Times New Roman", serif; letter-spacing: -.06em; }
.hero-lead { max-width: 720px; margin-bottom: 1.7rem; color: #e0e8e3; font-size: clamp(1.05rem, 2vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.button {
  min-height: 46px;
  padding: .72rem 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: .84rem;
  font-weight: 850;
}
.button.primary { color: var(--forest-950); background: white; }
.button.secondary { color: white; border-color: rgba(255, 255, 255, .42); background: rgba(255, 255, 255, .05); }
.button:hover { transform: translateY(-1px); }
.hero-caption { position: absolute; right: max(1rem, calc((100vw - 1220px) / 2)); bottom: 1.25rem; z-index: 2; margin: 0; color: rgba(255, 255, 255, .72); font-size: .68rem; }

.intro-section,
.design-section,
.funding-section,
.faq-section,
.research-note {
  padding: clamp(5rem, 10vw, 8rem) max(1rem, calc((100vw - 1180px) / 2));
}
.intro-section { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(330px, .75fr); gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.intro-section h2,
.section-heading h2,
.growth-intro h2,
.faq-section h2,
.research-note h2 {
  max-width: 760px;
  margin: 0;
  font: 500 clamp(2.7rem, 5.5vw, 5.2rem)/.98 Georgia, serif;
}
.intro-copy > p { color: var(--muted); font-size: 1.02rem; }
.honesty-note { margin-top: 2rem; padding: 1.2rem; border-left: 4px solid var(--gold); color: var(--ink); background: #ede9dc; }
.honesty-note strong, .honesty-note span { display: block; }
.honesty-note span { margin-top: .35rem; color: var(--muted); font-size: .86rem; }

.identity-band {
  margin: clamp(2rem, 5vw, 4rem) max(1rem, calc((100vw - 1180px) / 2)) 0;
  padding: clamp(2.5rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: 1.15fr .8fr .85fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  color: white;
  background: var(--forest-950);
  border-radius: 28px;
}
.identity-band h2 { margin: 0; font: 500 clamp(2.8rem, 5.3vw, 5rem)/.95 Georgia, serif; }
.identity-band > p { margin: 0; color: #aebfb7; }
.identity-list { display: grid; gap: .65rem; }
.identity-list span { padding-bottom: .65rem; border-bottom: 1px solid rgba(255, 255, 255, .16); font-weight: 750; }

.section-heading { margin-bottom: 2rem; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .6fr); gap: 2rem; align-items: end; }
.section-heading > p { margin: 0 0 .35rem; color: var(--muted); }
.feature-visual,
.visual-card,
.document-card {
  padding: 0;
  overflow: hidden;
  border: 0;
  color: inherit;
  background: white;
  text-align: left;
  cursor: zoom-in;
}
.feature-visual { width: 100%; border-radius: 24px; box-shadow: var(--shadow); }
.feature-visual img { width: 100%; aspect-ratio: 1.414 / 1; object-fit: contain; background: white; }
.feature-visual span,
.visual-card span,
.document-card span { padding: 1rem 1.1rem; display: block; }
.feature-visual span { color: #e2ebe6; background: var(--forest-900); }
.feature-visual span b { margin-right: .5rem; color: var(--gold-soft); }
.visual-grid { margin-top: 1.1rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.visual-card { border: 1px solid var(--line); border-radius: 18px; }
.visual-card.wide { grid-column: 1 / -1; }
.visual-card img { width: 100%; aspect-ratio: 1.414 / 1; object-fit: contain; background: white; }
.visual-card span { color: var(--muted); font-size: .8rem; font-weight: 800; }
.document-grid { margin-top: 1.1rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.document-card { border: 1px solid var(--line); border-radius: 18px; }
.document-card img { width: 100%; aspect-ratio: 1.414 / 1; object-fit: contain; background: white; }
.document-card span { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.document-card small { color: var(--muted); font-size: .68rem; }
.document-card.full { width: 100%; }
.document-card.full img { aspect-ratio: 1.414 / 1; }
.feature-visual:hover,
.visual-card:hover,
.document-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.design-block {
  margin-top: clamp(3.5rem, 8vw, 6.5rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}
.design-block-heading {
  margin-bottom: 1.6rem;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(280px, .72fr);
  gap: 1.2rem 2rem;
  align-items: end;
}
.design-number {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid #bdc9c3;
  border-radius: 50%;
  color: var(--forest-700);
  font: 800 .72rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.design-block-heading .eyebrow { margin-bottom: .55rem; }
.design-block-heading h3 {
  max-width: 680px;
  margin: 0;
  font: 500 clamp(2rem, 4vw, 3.8rem)/1 Georgia, serif;
}
.design-block-heading > p { margin: 0 0 .2rem; color: var(--muted); }

.legacy-block,
.post-block,
.signage-block {
  margin-inline: clamp(-2.2rem, -3vw, -1rem);
  padding-inline: clamp(1rem, 3vw, 2.2rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.2rem);
  border-radius: 24px;
}
.legacy-block { background: #eeece3; }
.post-block { background: #f0eee8; }
.signage-block { background: var(--forest-950); }
.signage-block .design-block-heading { color: white; }
.signage-block .design-block-heading > p { color: #afbeb7; }
.signage-block .design-number { color: var(--gold-soft); border-color: rgba(255, 255, 255, .28); }
.signage-block .eyebrow.dark { color: var(--gold); }

.legacy-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1rem;
}
.legacy-grid .visual-card.feature { grid-row: span 2; }
.legacy-grid .visual-card.feature img { height: calc(100% - 58px); object-fit: cover; }
.legacy-grid .visual-card:not(.feature) img { aspect-ratio: 1.414 / 1; }

.improvement-list {
  margin: 0 0 1rem 76px;
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.improvement-list span {
  padding: .48rem .72rem;
  border: 1px solid #cfc9b8;
  border-radius: 999px;
  color: #516059;
  background: rgba(255, 255, 255, .58);
  font-size: .72rem;
  font-weight: 800;
}
.post-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.post-detail-grid .document-card img { aspect-ratio: 1.414 / 1; }

.signage-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.signage-option {
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 20px;
  background: rgba(255, 255, 255, .055);
}
.signage-option.preferred { background: rgba(209, 178, 108, .09); }
.option-meta { grid-column: 1 / -1; padding: .2rem .2rem .55rem; }
.option-meta span { color: var(--gold-soft); font-size: .75rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.option-meta p { margin: .35rem 0 0; color: #b3c1ba; font-size: .82rem; }
.signage-option .visual-card { border-color: rgba(255, 255, 255, .12); }
.signage-option .visual-card img { aspect-ratio: 1.414 / 1; }
.signage-option .visual-card span { color: #aebdb5; background: #10251e; }

.growth-section {
  padding: clamp(5rem, 10vw, 8rem) max(1rem, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: clamp(2rem, 7vw, 7rem);
  color: white;
  background: var(--brown);
}
.growth-intro h2 { color: white; }
.growth-intro > p:last-child { margin-top: 1.2rem; color: #e6dad1; }
.scope-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.scope-columns article { padding: 1.2rem; border: 1px solid rgba(255, 255, 255, .18); border-radius: 18px; background: rgba(255, 255, 255, .06); }
.scope-label { padding-bottom: .8rem; border-bottom: 1px solid rgba(255, 255, 255, .18); font-size: .73rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.scope-label.included { color: #f3d996; }
.scope-label.future { color: #d7d0cb; }
.scope-columns ul { margin: 1rem 0 0; padding-left: 1.1rem; color: #f0e9e4; }
.scope-columns li { margin-bottom: .55rem; }

.funding-section { background: white; }
.funding-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.funding-cards article { min-height: 280px; padding: 1.3rem; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.funding-cards article.highlight { color: white; border-color: var(--forest-800); background: var(--forest-800); }
.funding-cards span { color: inherit; opacity: .68; font-size: .72rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.funding-cards strong { margin: auto 0 .6rem; font: 500 clamp(2.8rem, 5vw, 4.8rem)/1 Georgia, serif; letter-spacing: -.06em; }
.funding-cards p { margin: 0; color: inherit; opacity: .72; font-size: .84rem; }
.funding-link { margin-top: 1.2rem; padding-top: 1rem; display: inline-flex; align-items: center; gap: .5rem; border-top: 1px solid rgba(255, 255, 255, .18); color: var(--gold-soft); text-decoration: none; font-size: .8rem; font-weight: 850; }
.funding-link:hover, .funding-link:focus-visible { color: white; }
.funding-link span { opacity: 1; font-size: 1rem; }
.transparency-note { margin-top: 1rem; padding: clamp(1.6rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; color: white; background: var(--forest-950); border-radius: 20px; }
.transparency-note h3 { max-width: 650px; margin: 0; font: 500 clamp(2rem, 4vw, 3.7rem)/1 Georgia, serif; }
.transparency-note > p { margin: 0; color: #adbbb4; }

.fundraising-page { min-height: 100vh; padding-top: 74px; background: var(--paper); }
.fundraising-hero { padding: clamp(5rem, 11vw, 8rem) max(1rem, calc((100vw - 980px) / 2)) clamp(3rem, 7vw, 5rem); color: white; background: var(--forest-950); }
.fundraising-hero h1 { max-width: 820px; margin: 0 0 1.2rem; font: 500 clamp(3.2rem, 7vw, 6.5rem)/.94 Georgia, serif; letter-spacing: -.055em; }
.fundraising-hero > p:last-child { max-width: 720px; margin: 0; color: #bfd0c7; font-size: 1.05rem; }
.fundraising-content { padding: clamp(4rem, 9vw, 7rem) max(1rem, calc((100vw - 980px) / 2)); }
.fundraising-content h2 { max-width: 760px; margin-bottom: 1.3rem; font: 500 clamp(2.4rem, 5vw, 4.5rem)/.98 Georgia, serif; }
.fundraising-content > p { max-width: 760px; color: var(--muted); }
.fundraising-principles { margin: 2rem 0 3rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.fundraising-principles article { padding: 1.2rem; border: 1px solid var(--line); border-radius: 18px; background: white; }
.fundraising-principles strong { display: block; margin-bottom: .45rem; color: var(--forest-800); }
.fundraising-principles p { margin: 0; color: var(--muted); font-size: .86rem; }
.fundraising-table-wrap { margin-top: 2rem; overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: white; }
.fundraising-table { width: 100%; min-width: 680px; border-collapse: collapse; }
.donations-table { min-width: 780px; }
.fundraising-table th, .fundraising-table td { padding: 1rem; border-bottom: 1px solid var(--line); text-align: left; font-size: .82rem; }
.fundraising-table th { color: var(--forest-800); background: #eef1e9; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.fundraising-table tr:last-child td { border-bottom: 0; }
.fundraising-empty { padding: 2rem !important; color: var(--muted); text-align: center !important; }
.fundraising-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .7rem; }
.fundraising-actions .button.primary { color: white; background: var(--forest-800); }

.faq-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 7vw, 7rem); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 1.2rem 2rem 1.2rem 0; list-style: none; cursor: pointer; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; float: right; margin-right: -1.5rem; color: var(--forest-700); font-size: 1.25rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { padding: 0 0 1.3rem; margin: 0; color: var(--muted); }

.research-note { padding-top: 0; display: grid; grid-template-columns: .8fr 1fr; gap: 1.5rem 4rem; align-items: end; }
.research-note > p { margin: 0; color: var(--muted); }
.source-links { grid-column: 2; display: flex; flex-wrap: wrap; gap: .65rem; }
.source-links a { padding: .6rem .8rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .72rem; font-weight: 800; }
.source-links a:hover { border-color: var(--forest-700); color: var(--forest-700); }

.feedback-section {
  padding: clamp(5rem, 11vw, 9rem) max(1rem, calc((100vw - 900px) / 2));
  color: white;
  background: var(--forest-950);
  text-align: center;
}
.feedback-section h2 { margin-bottom: 1.2rem; font: 500 clamp(3.1rem, 7vw, 6.5rem)/.95 Georgia, serif; }
.feedback-section > p:not(.eyebrow) { max-width: 760px; margin: 0 auto 1.8rem; color: #b5c5bd; }
.feedback-section .button.primary { color: var(--forest-950); }

.gate-footer { padding: 2.3rem max(1rem, calc((100vw - 1180px) / 2)); display: flex; justify-content: space-between; gap: 2rem; color: #d4ded8; background: #04100d; }
.gate-footer strong, .gate-footer span { display: block; }
.gate-footer span { margin-top: .25rem; color: #7f958a; font-size: .76rem; }
.gate-footer a { color: var(--gold); font-size: .8rem; font-weight: 800; }

.visual-dialog {
  width: min(95vw, 1500px);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 16px;
  background: white;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .38);
}
.visual-dialog::backdrop { background: rgba(2, 10, 8, .84); backdrop-filter: blur(8px); }
.visual-dialog img { width: 100%; height: auto; }
.visual-dialog p { margin: 0; padding: .8rem 1rem; color: var(--muted); font-size: .78rem; }
.dialog-close { position: sticky; float: right; right: .8rem; top: .8rem; z-index: 2; width: 40px; height: 40px; margin: .8rem .8rem -3.3rem 0; border: 0; border-radius: 50%; color: white; background: rgba(7, 25, 20, .82); font-size: 1.5rem; cursor: pointer; }

@media (max-width: 960px) {
  .gate-header nav { display: none; }
  .gate-home-link { margin-left: auto; }
  .intro-section,
  .faq-section,
  .growth-section { grid-template-columns: 1fr; }
  .identity-band { grid-template-columns: 1fr 1fr; }
  .identity-band > p { grid-column: 1 / -1; }
  .section-heading { grid-template-columns: 1fr; gap: 1rem; }
  .design-block-heading { grid-template-columns: 52px 1fr; }
  .design-block-heading > p { grid-column: 2; }
  .post-detail-grid { grid-template-columns: 1fr 1fr; }
  .post-detail-grid .document-card:first-child { grid-column: 1 / -1; }
  .signage-options { grid-template-columns: 1fr; }
  .funding-cards { grid-template-columns: 1fr; }
  .funding-cards article { min-height: 240px; }
  .fundraising-principles { grid-template-columns: 1fr; }
  .research-note { grid-template-columns: 1fr; }
  .source-links { grid-column: 1; }
}

@media (max-width: 680px) {
  .gate-header { min-height: 68px; }
  .gate-brand img { width: 145px; }
  .gate-hero { min-height: 760px; padding-top: 8rem; }
  .gate-hero-content { width: 100%; }
  .gate-hero h1 { font-size: clamp(3.2rem, 15vw, 5rem); }
  .gate-hero-image { object-position: center 58%; }
  .gate-hero-overlay { background: linear-gradient(0deg, rgba(4, 18, 14, .95) 0%, rgba(4, 18, 14, .6) 62%, rgba(4, 18, 14, .08) 100%); }
  .hero-caption { display: none; }
  .identity-band { grid-template-columns: 1fr; }
  .identity-band > p { grid-column: auto; }
  .visual-grid,
  .document-grid,
  .scope-columns,
  .transparency-note { grid-template-columns: 1fr; }
  .design-block-heading { grid-template-columns: 1fr; }
  .design-block-heading > p { grid-column: auto; }
  .design-number { width: 44px; height: 44px; }
  .legacy-grid,
  .post-detail-grid { grid-template-columns: 1fr; }
  .legacy-grid .visual-card.feature { grid-row: auto; }
  .legacy-grid .visual-card.feature img { height: auto; object-fit: contain; }
  .post-detail-grid .document-card:first-child { grid-column: auto; }
  .improvement-list { margin-left: 0; }
  .signage-option { grid-template-columns: 1fr; }
  .option-meta { grid-column: auto; }
  .visual-card.wide { grid-column: auto; }
  .document-card span { display: block; }
  .document-card small { margin-top: .2rem; display: block; }
  .gate-footer { display: block; }
  .gate-footer a { margin-top: 1rem; display: inline-block; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* --- Fundraising: tally donasi, total, RAB --- */
.fundraising-table th.amount, .fundraising-table td.amount { text-align: right; white-space: nowrap; }
.fundraising-table tfoot th, .fundraising-table tfoot td {
  padding: 1.1rem 1rem; font-size: .92rem; font-weight: 850; color: var(--forest-800);
  background: #eef1e9; border-bottom: 0;
}
.sample-badge {
  display: inline-block; padding: .25rem .7rem; border-radius: 999px;
  background: #fdf0d5; color: #8a5a00; font-size: .68rem; font-weight: 850;
  letter-spacing: .06em; text-transform: uppercase; vertical-align: middle;
}
.sample-note {
  margin: 1.2rem 0 0; padding: 1rem 1.2rem; border-radius: 14px;
  background: #fdf6e3; border: 1px solid #f0dfb2; color: #6b4e12;
  font-size: .88rem; max-width: 760px;
}
#pengeluaran, #rab { margin-top: 4rem; scroll-margin-top: 90px; }
.fundraising-summary {
  margin: 1.1rem 0 .6rem; padding-top: .8rem; border-top: 1px solid rgba(255, 255, 255, .18);
}
.fundraising-summary div { padding: .32rem 0; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.fundraising-summary dt { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .72; }
.fundraising-summary dd { margin: 0; color: var(--gold-soft); font-size: .95rem; font-weight: 850; text-align: right; }
.funding-cards .fundraising-summary dd { font-family: inherit; line-height: 1.25; letter-spacing: 0; }
.funding-cards .highlight > .sample-badge { align-self: flex-start; background: rgba(253, 240, 213, .16); color: #f5d98b; }
.cashflow-overview { margin: 3rem 0 4rem; }
.cashflow-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: end; }
.cashflow-heading h2 { margin: .45rem 0 0; }
.cashflow-heading > p { margin: 0; color: var(--muted); }
.cashflow-cards { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.cashflow-cards article { min-height: 160px; padding: 1.25rem; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); border-radius: 18px; background: white; }
.cashflow-cards article.balance { color: white; border-color: var(--forest-800); background: var(--forest-800); }
.cashflow-cards span { font-size: .7rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; opacity: .72; }
.cashflow-cards strong { font: 500 clamp(1.45rem, 3vw, 2.3rem)/1.05 Georgia, serif; letter-spacing: -.035em; }
.cashflow-cards strong.pending { color: var(--muted); font: 800 .9rem/1.35 Arial, sans-serif; letter-spacing: 0; }
.cashflow-cards article.balance strong.pending { color: #bfd0c7; }
.expenses-table { min-width: 880px; }
.expenses-table a { color: var(--forest-800); font-weight: 800; text-underline-offset: 3px; }
.contractor-progress { margin-top: 3.5rem; padding-top: 3.5rem; border-top: 1px solid var(--line); }
.contractor-progress-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .7fr); gap: 2rem; align-items: end; }
.contractor-progress-heading h2 { margin: 0; }
.contractor-progress-heading > p { margin: 0; color: var(--muted); }
.contractor-updated { margin: 1.1rem 0 1rem; color: var(--muted); font-size: .78rem; }
.contractor-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.contractor-list article { display: flex; flex-direction: column; gap: 1.15rem; padding: 1.3rem; border: 1px solid var(--line); border-radius: 18px; background: white; }
.contractor-list article.selected {
  color: white;
  border: 2px solid var(--forest-800);
  background: linear-gradient(155deg, var(--forest-950) 0%, var(--forest-800) 100%);
  box-shadow: 0 14px 36px rgba(7, 25, 20, .16);
}
.contractor-list article.selected .contractor-name h3 { color: white; }
.contractor-list article.selected dt { color: #b7cbc1; }
.contractor-list article.selected dd { color: #eef5f1; }
.contractor-pill {
  display: inline-block;
  align-self: flex-start;
  padding: .24rem .62rem;
  border-radius: 999px;
  color: var(--forest-950);
  background: var(--gold-soft);
  font-size: .64rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.doc-download-link {
  margin-top: auto;
  padding: .58rem .88rem;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  border: 1px solid #c3d1ca;
  border-radius: 12px;
  color: var(--forest-800);
  background: #f3f7f4;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 800;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.doc-download-link:hover,
.doc-download-link:focus-visible {
  background: #e3eee8;
  border-color: var(--forest-700);
  transform: translateY(-1px);
}
.contractor-list article.selected .doc-download-link {
  color: var(--forest-950);
  border-color: var(--gold-soft);
  background: var(--gold-soft);
}
.contractor-list article.selected .doc-download-link:hover,
.contractor-list article.selected .doc-download-link:focus-visible {
  background: white;
  border-color: white;
}
.rab-terms .doc-download-inline {
  margin-left: auto;
  padding: .3rem .75rem;
  border-radius: 999px;
  color: var(--forest-950);
  background: var(--gold-soft);
  text-decoration: none;
  font-size: .72rem;
  font-weight: 850;
}
.rab-terms .doc-download-inline:hover,
.rab-terms .doc-download-inline:focus-visible { background: white; }

.zkteco-rationale {
  margin-top: 1.6rem;
  padding: clamp(1.3rem, 3vw, 2rem);
  border-radius: 20px;
  color: white;
  background: var(--forest-950);
}
.zkteco-rationale h3 {
  margin: .35rem 0 .45rem;
  color: white;
  font: 500 clamp(1.45rem, 3vw, 2.15rem)/1.08 Georgia, serif;
}
.zkteco-rationale > p {
  margin: 0 0 1.25rem;
  max-width: 720px;
  color: #b9cac2;
  font-size: .9rem;
}
.zkteco-reasons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
}
.zkteco-reasons article {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .055);
}
.zkteco-reasons span {
  display: inline-block;
  margin-bottom: .35rem;
  color: var(--gold-soft);
  font: 850 .68rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .08em;
}
.zkteco-reasons strong {
  display: block;
  margin-bottom: .32rem;
  color: white;
  font-size: .9rem;
}
.zkteco-reasons p {
  margin: 0;
  color: #bfd0c7;
  font-size: .82rem;
  line-height: 1.48;
}
.contractor-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: .45rem; }
.contractor-name h3 { margin: 0; color: var(--forest-800); font-family: var(--serif); font-size: 1.35rem; }
.contractor-name span { color: var(--muted); font-size: .78rem; }
.contractor-list dl { display: grid; gap: .85rem; margin: 0; }
.contractor-list dt { margin-bottom: .16rem; color: var(--muted); font-size: .63rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contractor-list dd { margin: 0; color: var(--ink); font-size: .86rem; line-height: 1.5; }

@media (max-width: 760px) {
  .cashflow-heading, .cashflow-cards { grid-template-columns: 1fr; }
  .cashflow-heading { gap: .7rem; }
  .cashflow-cards article { min-height: 130px; }
  .contractor-progress-heading, .contractor-list { grid-template-columns: 1fr; }
  .contractor-progress-heading { gap: .7rem; }

  /* Di layar ponsel, setiap catatan dibuat menjadi kartu agar tidak perlu geser ke samping. */
  .fundraising-table-wrap { overflow: visible; border: 0; background: transparent; }
  .fundraising-table, .donations-table, .expenses-table { min-width: 0; display: block; }
  .fundraising-table thead { display: none; }
  .fundraising-table tbody, .fundraising-table tfoot { display: block; }
  .fundraising-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .45rem 1rem;
    margin-bottom: .75rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: white;
  }
  .fundraising-table tbody td {
    padding: 0;
    border: 0;
    font-size: .86rem;
  }
  .fundraising-table tbody td::before {
    display: block;
    margin-bottom: .12rem;
    color: var(--muted);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .donations-table tbody td:nth-child(1)::before { content: "Tanggal"; }
  .donations-table tbody td:nth-child(2)::before { content: "Penyetor / blok"; }
  .donations-table tbody td:nth-child(3)::before { content: "Rekening"; }
  .donations-table tbody td:nth-child(4)::before { content: "Jumlah"; }
  .donations-table tbody td:nth-child(2) { grid-column: 1; font-weight: 800; color: var(--forest-800); }
  .donations-table tbody td:nth-child(4) { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-weight: 850; }
  .donations-table tbody td:nth-child(1), .donations-table tbody td:nth-child(3) { color: var(--muted); }
  .expenses-table tbody td:nth-child(1)::before { content: "Tanggal"; }
  .expenses-table tbody td:nth-child(2)::before { content: "Keperluan"; }
  .expenses-table tbody td:nth-child(3)::before { content: "Penerima / vendor"; }
  .expenses-table tbody td:nth-child(4)::before { content: "Jumlah"; }
  .expenses-table tbody td:nth-child(5)::before { content: "Bukti / keterangan"; }
  .expenses-table tbody td:nth-child(2), .expenses-table tbody td:nth-child(3), .expenses-table tbody td:nth-child(5) { grid-column: 1 / -1; }
  .expenses-table tbody td:nth-child(4) { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-weight: 850; }
  .fundraising-table tbody td.fundraising-empty { grid-column: 1 / -1; padding: 1rem !important; }
  .fundraising-table tbody td.fundraising-empty::before { display: none; }
  .fundraising-table tfoot tr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border-radius: 14px;
    background: #eef1e9;
  }
  .fundraising-table tfoot th, .fundraising-table tfoot td { padding: 0; background: transparent; }
  .fundraising-table tfoot td.amount { font-size: 1rem; }
}


/* --- Quick facts & traffic dual grid on /gate --- */
.quick-facts {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
}
.quick-facts article {
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}
.quick-facts strong {
  display: block;
  color: var(--forest-800);
  font: 500 clamp(1.35rem, 2.4vw, 1.9rem)/1.05 Georgia, serif;
  letter-spacing: -.03em;
}
.quick-facts span {
  display: block;
  margin-top: .32rem;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.4;
}
.traffic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}
.funding-story-link {
  margin-top: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--forest-700);
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none;
}
.funding-story-link:hover,
.funding-story-link:focus-visible { text-decoration: underline; }
.visual-card.cover img { object-fit: cover; }

/* --- Fundraising: live progress meter (CSP-safe native <progress>) --- */
.progress-panel {
  margin-top: 1.25rem;
  padding: 1.35rem 1.45rem;
  border-radius: 20px;
  color: white;
  background: linear-gradient(135deg, var(--forest-950) 0%, var(--forest-800) 100%);
  box-shadow: var(--shadow);
}
.progress-panel.compact {
  margin: 1rem 0 .25rem;
  padding: .85rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  box-shadow: none;
}
.progress-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: .6rem 1.2rem;
}
.progress-label {
  color: var(--gold-soft);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.progress-pct {
  color: white;
  font: 500 clamp(1.35rem, 2.8vw, 1.95rem)/1 Georgia, serif;
  letter-spacing: -.03em;
}
.progress-panel.compact .progress-pct { font-size: 1.05rem; }
.fundraising-progress {
  width: 100%;
  height: 12px;
  margin: .85rem 0 .7rem;
  display: block;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, .16);
}
.progress-panel.compact .fundraising-progress { height: 8px; margin: .55rem 0 .45rem; }
.fundraising-progress::-webkit-progress-bar {
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
}
.fundraising-progress::-webkit-progress-value {
  border-radius: 999px;
  background: linear-gradient(90deg, #c6a152 0%, #f1da9a 100%);
}
.fundraising-progress::-moz-progress-bar {
  border-radius: 999px;
  background: linear-gradient(90deg, #c6a152 0%, #f1da9a 100%);
}
.progress-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .4rem 1rem;
  color: #c7d6ce;
  font-size: .8rem;
}
.progress-panel.compact .progress-meta { font-size: .74rem; }
.progress-meta strong { color: white; font-weight: 800; }

/* --- Fundraising: compact principles strip --- */
.fundraising-principles.compact {
  margin: 1.5rem 0 0;
}
.fundraising-principles.compact article {
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, .75);
}

/* --- Fundraising: visual story ("Jalan ceritanya") --- */
.journey-section {
  margin: 3.5rem 0 4rem;
  padding: clamp(1.6rem, 5vw, 3.4rem);
  color: white;
  background: var(--forest-950);
  border-radius: 26px;
  scroll-margin-top: 90px;
}
.journey-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, .72fr);
  gap: 1.6rem 2rem;
  align-items: end;
}
.journey-heading h2 { margin: 0; color: white; }
.journey-heading > p { margin: 0; color: #b8c8c0; font-size: .95rem; }

.budget-strip {
  margin: 2rem 0 2.4rem;
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  background: rgba(255, 255, 255, .04);
}
.budget-strip-label {
  margin: 0 0 .9rem;
  color: var(--gold-soft);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.budget-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
}
.budget-step {
  position: relative;
  padding: .95rem 1rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .045);
}
.budget-step.current {
  border-color: rgba(209, 178, 108, .55);
  background: rgba(209, 178, 108, .13);
}
.budget-step span {
  display: block;
  color: #a9bbb2;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.budget-step strong {
  display: block;
  margin: .3rem 0 .25rem;
  color: white;
  font: 500 clamp(1.2rem, 2.2vw, 1.55rem)/1.08 Georgia, serif;
  letter-spacing: -.025em;
}
.budget-step.current strong { color: var(--gold-soft); }
.budget-step small {
  display: block;
  color: #bfd0c7;
  font-size: .74rem;
  line-height: 1.38;
}

.story-chapters {
  display: grid;
  gap: 1.4rem;
}
.story-chapter {
  padding: clamp(1.25rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 1.4rem 2rem;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 20px;
  background: rgba(255, 255, 255, .05);
}
.story-chapter.reverse .story-copy { order: 2; }
.story-chapter.reverse .story-visual { order: 1; }
.story-chapter.wide-stack {
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.chapter-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  margin-bottom: .7rem;
}
.chapter-num {
  padding: .24rem .58rem;
  border-radius: 999px;
  color: var(--forest-950);
  background: var(--gold-soft);
  font: 850 .68rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .06em;
}
.chapter-period {
  color: var(--gold-soft);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.story-copy h3 {
  margin: 0 0 .7rem;
  color: white;
  font: 500 clamp(1.5rem, 3vw, 2.25rem)/1.08 Georgia, serif;
  letter-spacing: -.03em;
}
.story-lead {
  margin: 0 0 .95rem;
  color: #d6e2dc;
  font-size: .95rem;
}
.story-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .55rem;
}
.story-points li {
  position: relative;
  padding-left: 1.15rem;
  color: #b7c8bf;
  font-size: .87rem;
  line-height: 1.5;
}
.story-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .56rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.story-points strong { color: white; }

.story-compare {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
}
.story-compare div {
  padding: .85rem .95rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
}
.story-compare div.chosen {
  border-color: rgba(209, 178, 108, .48);
  background: rgba(209, 178, 108, .12);
}
.story-compare b {
  display: block;
  margin-bottom: .25rem;
  color: white;
  font-size: .76rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.story-compare div.chosen b { color: var(--gold-soft); }
.story-compare p {
  margin: 0;
  color: #b8c8c0;
  font-size: .8rem;
  line-height: 1.45;
}

.story-media-card {
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 16px;
  color: inherit;
  background: white;
  text-align: left;
  cursor: zoom-in;
  transition: transform .18s ease, box-shadow .18s ease;
}
.story-media-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .34);
}
.story-media-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: white;
}
.story-media-card.contain img {
  object-fit: contain;
  padding: .35rem;
}
.story-media-card span {
  padding: .75rem .95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  color: #dbe5e0;
  background: #0d261f;
  font-size: .76rem;
  line-height: 1.35;
}
.story-media-card small {
  color: var(--gold-soft);
  font-size: .68rem;
  font-weight: 800;
  white-space: nowrap;
}
.story-media-stack {
  display: grid;
  gap: .75rem;
}
.story-media-pair {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: .75rem;
}
.story-media-pair .story-media-card img { aspect-ratio: 16 / 11; }

.sondir-callout {
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(209, 178, 108, .45);
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(209, 178, 108, .16) 0%, rgba(27, 93, 73, .28) 100%);
}
.sondir-badge {
  display: inline-block;
  margin-bottom: .55rem;
  padding: .24rem .62rem;
  border-radius: 999px;
  color: var(--forest-950);
  background: var(--gold-soft);
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.sondir-callout h4 {
  margin: 0 0 .45rem;
  color: white;
  font: 500 1.35rem/1.15 Georgia, serif;
}
.sondir-callout > p {
  margin: 0 0 1rem;
  color: #d7e3dd;
  font-size: .85rem;
}
.sondir-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .6rem;
}
.sondir-metrics div {
  padding: .75rem .8rem;
  border-radius: 12px;
  background: rgba(7, 25, 20, .55);
  border: 1px solid rgba(255, 255, 255, .12);
}
.sondir-metrics strong {
  display: block;
  color: var(--gold-soft);
  font: 500 1.25rem/1.1 Georgia, serif;
}
.sondir-metrics span {
  display: block;
  margin-top: .22rem;
  color: #bfd0c7;
  font-size: .7rem;
  line-height: 1.3;
}

.target-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
}
.target-card {
  padding: 1rem 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
}
.target-card.final {
  border-color: rgba(209, 178, 108, .5);
  background: rgba(209, 178, 108, .12);
}
.target-card span {
  display: block;
  color: var(--gold-soft);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.target-card strong {
  display: block;
  margin: .3rem 0 .2rem;
  color: white;
  font: 500 1.35rem/1.12 Georgia, serif;
}
.target-card p {
  margin: 0;
  color: #c2d2ca;
  font-size: .82rem;
}

.journey-footnote {
  margin: 1.4rem 0 0;
  padding: .95rem 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(209, 178, 108, .32);
  background: rgba(209, 178, 108, .1);
  color: #e6dfd0;
  font-size: .86rem;
}
.journey-footnote strong { color: var(--gold-soft); }

/* --- Donations search & count toolbar --- */
.table-toolbar {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem 1rem;
}
.table-count {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
}
.table-search {
  width: min(320px, 100%);
  min-height: 40px;
  padding: .5rem .85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: white;
  font-size: .84rem;
}
.table-search:focus {
  outline: 2px solid var(--forest-700);
  outline-offset: 1px;
}

/* --- Sondir visual illustration --- */
.sondir-illus {
  margin: .85rem 0 1rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
}
.sondir-illus img {
  width: 100%;
  height: auto;
}

/* --- RAB Ringkasan & Ilustrasi --- */
.rab-hero-cards {
  margin: 1.6rem 0 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.rab-hero-cards article {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}
.rab-hero-cards article.total {
  color: white;
  border-color: var(--forest-800);
  background: linear-gradient(145deg, var(--forest-950) 0%, var(--forest-800) 100%);
}
.rab-tag {
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--forest-700);
}
.rab-hero-cards article.total .rab-tag { color: var(--gold-soft); }
.rab-hero-cards strong {
  font: 500 clamp(1.55rem, 3vw, 2.25rem)/1.05 Georgia, serif;
  letter-spacing: -.035em;
  color: var(--ink);
}
.rab-hero-cards article.total strong { color: white; }
.rab-exact {
  font: 700 .78rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--muted);
}
.rab-hero-cards article.total .rab-exact { color: var(--gold-soft); }
.rab-hero-cards p {
  margin: .2rem 0 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.48;
}
.rab-hero-cards article.total p { color: #c5d5cd; }

.scope-visual-grid {
  margin: 1.2rem 0 2.2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
}
.scope-visual-card {
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  text-align: left;
  cursor: zoom-in;
  transition: transform .18s ease, box-shadow .18s ease;
}
.scope-visual-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.scope-visual-card.excluded {
  background: #f6f4ec;
  border-style: dashed;
  border-color: #c8bfa9;
}
.scope-visual-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: white;
}
.scope-visual-body {
  padding: .75rem .85rem .85rem;
  display: block;
}
.scope-pill {
  display: inline-block;
  margin-bottom: .35rem;
  padding: .18rem .52rem;
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.scope-pill.in {
  color: #0e4030;
  background: #dcefe6;
}
.scope-pill.out {
  color: #6b4e12;
  background: #f6e7c1;
}
.scope-visual-body b {
  display: block;
  color: var(--ink);
  font-size: .84rem;
  line-height: 1.3;
}
.scope-visual-body small {
  display: block;
  margin-top: .22rem;
  color: var(--muted);
  font-size: .74rem;
  line-height: 1.35;
}

.rab-package {
  margin-top: 2rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
}
.rab-package.stretch-goal {
  border: 2px dashed #c9a654;
  background: linear-gradient(180deg, #fffdf7 0%, #ffffff 100%);
}
.stretch-pill {
  display: inline-block;
  margin-bottom: .45rem;
  padding: .24rem .68rem;
  border-radius: 999px;
  color: #5a3f06;
  background: #f5e2ad;
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.stretch-split {
  margin-bottom: 1.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 1.25rem;
  align-items: center;
}
.stretch-copy > p {
  margin: 0 0 .9rem;
  color: var(--muted);
  font-size: .9rem;
}
.stretch-highlights {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .5rem;
}
.stretch-highlights li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--ink);
  font-size: .85rem;
  line-height: 1.45;
}
.stretch-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .52rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b8903e;
}
.rab-package-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: .8rem 1.5rem;
  margin-bottom: 1.25rem;
}
.rab-package-head h3 {
  margin: .35rem 0 0;
  font: 500 clamp(1.6rem, 3.2vw, 2.4rem)/1.05 Georgia, serif;
  color: var(--ink);
}
.rab-package-meta {
  color: var(--muted);
  font-size: .8rem;
  text-align: right;
}
.rab-package-meta strong {
  display: block;
  color: var(--forest-800);
  font-size: .86rem;
}

.rab-illus-btn {
  width: 100%;
  padding: 0;
  margin-bottom: 1.4rem;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  background: transparent;
  cursor: zoom-in;
  display: block;
  transition: transform .18s ease, box-shadow .18s ease;
}
.rab-illus-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.rab-illus-btn img {
  width: 100%;
  height: auto;
}

.rab-summary-list {
  display: grid;
  gap: .95rem;
}
.rab-row {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}
.rab-row-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: .35rem 1rem;
}
.rab-row-title {
  color: var(--ink);
  font-weight: 800;
  font-size: .92rem;
}
.rab-row-amount {
  color: var(--forest-800);
  font: 800 .95rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: nowrap;
}
.rab-row-desc {
  margin: .3rem 0 .55rem;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.45;
}
.rab-bar-wrap {
  display: flex;
  align-items: center;
  gap: .7rem;
}
.rab-bar {
  flex: 1;
  height: 8px;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  background: #e1e6e1;
}
.rab-bar::-webkit-progress-bar {
  border-radius: 999px;
  background: #e1e6e1;
}
.rab-bar::-webkit-progress-value {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--forest-800) 0%, #2c7a62 100%);
}
.rab-bar::-moz-progress-bar {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--forest-800) 0%, #2c7a62 100%);
}
.rab-bar.gold::-webkit-progress-value {
  background: linear-gradient(90deg, #b8903e 0%, #dfc077 100%);
}
.rab-bar.gold::-moz-progress-bar {
  background: linear-gradient(90deg, #b8903e 0%, #dfc077 100%);
}
.rab-pct {
  color: var(--muted);
  font: 800 .74rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  min-width: 36px;
  text-align: right;
}

.rab-total-box {
  margin-top: 1.15rem;
  padding: 1.15rem 1.25rem;
  border-radius: 16px;
  color: white;
  background: var(--forest-950);
  display: grid;
  gap: .45rem;
}
.rab-total-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  color: #bfd0c7;
  font-size: .84rem;
}
.rab-total-line.discount { color: #f1dc9c; }
.rab-total-line.final {
  margin-top: .35rem;
  padding-top: .65rem;
  border-top: 1px solid rgba(255, 255, 255, .18);
  color: white;
  font-size: 1rem;
  font-weight: 800;
}
.rab-total-line.final strong {
  font: 500 clamp(1.25rem, 2.6vw, 1.7rem)/1 Georgia, serif;
  color: var(--gold-soft);
}
.rab-terms {
  margin-top: .45rem;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.rab-terms span {
  padding: .28rem .65rem;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  color: #dbe5e0;
  font-size: .7rem;
  font-weight: 700;
}

.rab-details {
  margin-top: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}
.rab-details summary {
  padding: .95rem 1.1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--forest-800);
  font-size: .84rem;
  font-weight: 800;
}
.rab-details summary::-webkit-details-marker { display: none; }
.rab-details summary::after {
  content: "+";
  font-size: 1.15rem;
  color: var(--forest-700);
}
.rab-details[open] summary::after { content: "−"; }
.rab-details .fundraising-table-wrap {
  margin: 0 .85rem .95rem;
}
.rab-subtable { min-width: 560px; }

@media (max-width: 900px) {
  .budget-steps,
  .scope-visual-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rab-hero-cards,
  .stretch-split { grid-template-columns: 1fr; }
  .rab-package-meta { text-align: left; }
  .story-chapter,
  .story-chapter.reverse { grid-template-columns: 1fr; }
  .story-chapter.reverse .story-copy,
  .story-chapter.reverse .story-visual { order: initial; }
  .traffic-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .journey-heading { grid-template-columns: 1fr; gap: .7rem; }
  .quick-facts,
  .story-compare,
  .story-media-pair,
  .sondir-metrics,
  .target-strip,
  .zkteco-reasons { grid-template-columns: 1fr; }
  .rab-details .fundraising-table-wrap { overflow-x: auto; border: 1px solid var(--line); background: white; }
  .rab-subtable { display: table; min-width: 500px; }
  .rab-subtable thead { display: table-header-group; }
  .rab-subtable tbody { display: table-row-group; }
  .rab-subtable tfoot { display: table-footer-group; }
  .rab-subtable tbody tr,
  .rab-subtable tfoot tr { display: table-row; padding: 0; margin: 0; border: 0; border-radius: 0; background: transparent; }
  .rab-subtable tbody td,
  .rab-subtable tfoot th,
  .rab-subtable tfoot td { display: table-cell; padding: .75rem .85rem; border-bottom: 1px solid var(--line); }
  .rab-subtable tbody td::before { display: none; }
}

@media (max-width: 520px) {
  .budget-steps,
  .scope-visual-grid { grid-template-columns: 1fr; }
}

/* --- Reorganized /gate-fundraising: What We Need + Clean Accordions --- */
.fundraising-hero.compact {
  padding: clamp(3.6rem, 8vw, 5.2rem) max(1rem, calc((100vw - 980px) / 2)) clamp(2.2rem, 5vw, 3.2rem);
}
.fundraising-hero.compact h1 {
  font-size: clamp(2.5rem, 5.8vw, 4.4rem);
  margin-bottom: .7rem;
}
.fundraising-content.reorg {
  padding: clamp(2.4rem, 5vw, 3.8rem) max(1rem, calc((100vw - 980px) / 2)) clamp(3.5rem, 7vw, 5.5rem);
}
.reorg-block + .reorg-block {
  margin-top: 2.8rem;
  padding-top: 2.6rem;
  border-top: 1px solid var(--line);
}
.reorg-head {
  margin-bottom: 1.25rem;
}
.reorg-head h2 {
  margin: .2rem 0 0;
  font: 500 clamp(2rem, 4.2vw, 3.2rem)/1.02 Georgia, serif;
}

.need-banner {
  padding: clamp(1.3rem, 3.2vw, 1.9rem);
  border-radius: 22px;
  color: white;
  background: linear-gradient(145deg, var(--forest-950) 0%, var(--forest-800) 100%);
  box-shadow: var(--shadow);
}
.need-banner-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: .8rem 1.5rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.need-total-label {
  display: block;
  color: var(--gold-soft);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.need-total-value {
  display: block;
  margin-top: .25rem;
  color: white;
  font: 500 clamp(2.6rem, 6vw, 4.3rem)/.96 Georgia, serif;
  letter-spacing: -.045em;
}
.need-total-note {
  margin: 0;
  max-width: 390px;
  color: #c7d6ce;
  font-size: .86rem;
  line-height: 1.45;
}

.need-grid {
  margin-top: 1.15rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
}
.need-item {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
}
.need-item span {
  display: block;
  color: #b7c8bf;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.need-item strong {
  display: block;
  margin: .3rem 0 .22rem;
  color: white;
  font: 500 clamp(1.3rem, 2.5vw, 1.75rem)/1.05 Georgia, serif;
}
.need-item small {
  display: block;
  color: #c5d4cc;
  font-size: .76rem;
  line-height: 1.38;
}

.stretch-strip {
  margin-top: .85rem;
  padding: .85rem 1.05rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .6rem 1.2rem;
  border: 1px dashed rgba(234, 220, 185, .55);
  border-radius: 14px;
  background: rgba(209, 178, 108, .12);
}
.stretch-strip-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem .75rem;
}
.stretch-strip-badge {
  padding: .22rem .58rem;
  border-radius: 999px;
  color: var(--forest-950);
  background: var(--gold-soft);
  font-size: .64rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.stretch-strip-text {
  color: #eef4f0;
  font-size: .84rem;
}
.stretch-strip-text strong { color: white; }
.stretch-strip-amount {
  color: var(--gold-soft);
  font: 500 1.25rem/1 Georgia, serif;
  white-space: nowrap;
}

.accordion-stack {
  margin-top: 1.15rem;
  display: grid;
  gap: .85rem;
}
.fund-accordion {
  border: 1.5px solid #cbd7d1;
  border-radius: 18px;
  background: white;
  overflow: hidden;
  transition: border-color .16s ease, box-shadow .16s ease;
  scroll-margin-top: 90px;
}
.fund-accordion[open] {
  border-color: var(--forest-700);
  box-shadow: 0 12px 32px rgba(7, 25, 20, .08);
}
.fund-accordion > summary {
  padding: 1.05rem 1.25rem;
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: white;
}
.fund-accordion > summary::-webkit-details-marker { display: none; }
.fund-accordion > summary:hover { background: #f5f9f6; }
.fund-accordion[open] > summary {
  background: #eff5f1;
  border-bottom: 1px solid var(--line);
}
.acc-head {
  display: flex;
  align-items: center;
  gap: .85rem;
  min-width: 0;
}
.acc-tag {
  padding: .28rem .6rem;
  border-radius: 999px;
  color: var(--forest-800);
  background: #dfece5;
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}
.acc-title {
  display: block;
  color: var(--ink);
  font-size: .98rem;
  font-weight: 800;
  line-height: 1.25;
}
.acc-sub {
  display: block;
  margin-top: .16rem;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.35;
}
.acc-chevron {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #c7d5ce;
  color: var(--forest-800);
  background: white;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
}
.acc-chevron::before { content: "+"; }
.fund-accordion[open] > summary .acc-chevron {
  color: white;
  border-color: var(--forest-800);
  background: var(--forest-800);
}
.fund-accordion[open] > summary .acc-chevron::before { content: "−"; }

.fund-accordion-body {
  padding: clamp(1.1rem, 3vw, 1.75rem);
  background: var(--paper);
}
.fund-accordion-body .journey-section {
  margin: 0;
}
.fund-accordion-body .rab-package:first-child {
  margin-top: 0;
}
.fund-accordion-body .contractor-progress {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.fund-accordion-body .contractor-progress + .contractor-progress {
  margin-top: 2.2rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--line);
}
.fund-accordion-body .table-toolbar {
  margin-top: 0;
}
.fund-accordion-body .fundraising-table-wrap {
  margin-top: 1rem;
}

.principles-pills {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.principles-pills span {
  padding: .42rem .78rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--forest-800);
  background: white;
  font-size: .76rem;
  font-weight: 750;
}
.fund-accordion-body .scope-visual-grid {
  margin: 0 0 1.5rem;
}

.donation-summary-footer {
  margin-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem 1rem;
}
.donation-summary-footer p {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
}
.donation-summary-cta {
  padding: .68rem 1.15rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: white;
  background: var(--forest-800);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 800;
  transition: background .15s ease, transform .15s ease;
}
.donation-summary-cta:hover,
.donation-summary-cta:focus-visible {
  background: var(--forest-950);
  transform: translateY(-1px);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: .9rem;
}
.filter-pill {
  padding: .42rem .85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--forest-800);
  background: white;
  cursor: pointer;
  font-size: .76rem;
  font-weight: 800;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.filter-pill:hover { background: #eef4f0; }
.filter-pill.active {
  color: white;
  border-color: var(--forest-800);
  background: var(--forest-800);
}

@media (max-width: 820px) {
  .need-grid { grid-template-columns: 1fr; }
  .acc-head { flex-direction: column; align-items: flex-start; gap: .35rem; }
}

/* --- Compact /gate concept page with exclusive accordions --- */
.gate-hero.compact-hero {
  min-height: min(640px, 84vh);
  padding: 7.5rem max(1rem, calc((100vw - 1180px) / 2)) 3.8rem;
}
.gate-hero.compact-hero h1 {
  font-size: clamp(2.7rem, 6.2vw, 5rem);
  margin-bottom: .9rem;
}
.gate-hero.compact-hero .hero-lead {
  margin-bottom: 1.35rem;
  font-size: clamp(.98rem, 1.6vw, 1.12rem);
}
.identity-band.compact-band {
  margin-top: clamp(1.4rem, 3vw, 2.4rem);
  padding: clamp(1.6rem, 3.6vw, 2.6rem);
  gap: clamp(1.2rem, 3vw, 2.5rem);
}
.identity-band.compact-band h2 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
}
.gate-quick-wrap {
  padding: 1.4rem max(1rem, calc((100vw - 1180px) / 2)) 0;
}
.gate-quick-wrap .quick-facts { margin-top: 0; }
.funding-section.compact-funding {
  padding: clamp(2.8rem, 5.5vw, 4.2rem) max(1rem, calc((100vw - 1180px) / 2));
}
.funding-section.compact-funding .section-heading {
  margin-bottom: 1.4rem;
}
.funding-section.compact-funding h2,
.design-section.compact-design h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
}
.design-section.compact-design {
  padding: clamp(2.8rem, 5.5vw, 4.2rem) max(1rem, calc((100vw - 1180px) / 2));
}
.design-section.compact-design .section-heading {
  margin-bottom: 1.35rem;
}
.fund-accordion-body .visual-grid { margin-top: 0; }
.fund-accordion-body .improvement-list { margin: 1.1rem 0 .9rem; }
.fund-accordion-body .signage-options {
  padding: 1rem;
  border-radius: 18px;
  background: var(--forest-950);
}
.compact-scope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.compact-scope-grid article {
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}
.compact-scope-grid h3 {
  margin: 0 0 .65rem;
  color: var(--forest-800);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.compact-scope-grid ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink);
  font-size: .86rem;
}
.compact-scope-grid li { margin-bottom: .38rem; }
.compact-research {
  margin-bottom: 1.25rem;
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  background: #efece2;
}
.compact-research p {
  margin: 0 0 .65rem;
  color: var(--ink);
  font-size: .86rem;
}
.compact-research .source-links { grid-column: auto; }
.feedback-section.compact-feedback {
  padding: clamp(3rem, 6vw, 4.8rem) max(1rem, calc((100vw - 880px) / 2));
}
.feedback-section.compact-feedback h2 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
}

@media (max-width: 760px) {
  .compact-scope-grid { grid-template-columns: 1fr; }
}
