/* Arah B "Rimba" — hangat, ajakan bertindak, donor-friendly. Rujukan: eden-plus.org
   Odoo: :root → primary_variables.scss + brand.scss; komponen → reference.scss dibungkus .kb */
:root {
  --paper: #F7F4EE;
  --card: #FFFFFF;
  --sand: #E8DFC9;
  --line: #E4DDCF;
  --ink: #1B2A22;
  --muted: #5E6A62;
  --green: #0B3D2B;
  --moss: #2E6B4E;
  --ochre: #C8890D;
  --gold: #E0B458;
  --on-ochre: #1B1408;
  --font: "Manrope", system-ui, -apple-system, sans-serif;
  --r: 16px;
  --r-lg: 28px;
  --pad: clamp(16px, 4vw, 40px);
  --sec: clamp(64px, 9vw, 120px);
  --shadow: 0 1px 2px rgba(27, 42, 34, .06), 0 8px 24px rgba(27, 42, 34, .08);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.025em; line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px;
  border: 0; background: var(--green); color: #fff; font: 700 15px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: background .18s ease, transform .12s ease, box-shadow .18s ease; }
.btn:hover { background: var(--moss); }
.btn:active { transform: scale(.97); }
.btn.donate { background: var(--ochre); color: var(--on-ochre); }
.btn.donate:hover { background: var(--gold); }
.btn.light { background: #fff; color: var(--green); }
.btn.light:hover { background: var(--sand); }
.btn.line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn.line:hover { background: rgba(255, 255, 255, .1); }
.arrow { font-weight: 700; font-size: 15px; color: var(--green); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.arrow::after { content: "→"; transition: transform .18s ease; }
.arrow:hover::after { transform: translateX(4px); }

/* ---------- header ---------- */
#site-header { position: sticky; top: 0; z-index: 50; background: var(--card); box-shadow: 0 1px 0 var(--line); }
.hd { display: flex; align-items: center; gap: 20px; height: 80px; }
.brand img { height: 38px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.top { display: block; padding: 28px 14px; font-size: 15px; font-weight: 700; text-decoration: none; position: relative; }
.top::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 20px; height: 2px; background: var(--ochre); transform: scaleX(0); transition: transform .2s ease; }
.has-sub:hover .top::after, .top[aria-current]::after { transform: scaleX(1); }
.sub-btn { display: none; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 24px 40px rgba(27, 42, 34, .12);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.has-sub:hover .mega, .has-sub:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-in { max-width: 1280px; margin: 0 auto; padding: 36px var(--pad) 40px; display: grid; grid-template-columns: 1fr 2.2fr; gap: 48px; }
.mega-intro .eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--moss); margin-bottom: 10px; }
.mega-intro p:last-child { font-size: 22px; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; max-width: 22ch; }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mega a { display: block; padding: 14px 16px; border-radius: 12px; text-decoration: none; transition: background .15s ease; }
.mega a:hover, .mega a[aria-current] { background: var(--paper); }
.mega strong { display: block; font-size: 16px; }
.mega span { display: block; font-size: 14px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.nav-acts { display: flex; align-items: center; gap: 16px; }
.lang { font-size: 14px; font-weight: 700; text-decoration: none; color: var(--muted); }
.lang span { color: var(--ink); }
.btn.donate.mob { display: none; min-height: 40px; padding: 0 18px; margin-left: auto; }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--paper); cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 12px; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); content: ""; transition: transform .2s ease; }
.burger span { top: 21px; } .burger span::before { left: 0; top: -6px; } .burger span::after { left: 0; top: 6px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .burger, .btn.donate.mob { display: inline-flex; }
  .burger { display: block; }
  .nav { position: fixed; inset: 80px 0 0; background: var(--card); flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--pad) 32px; overflow-y: auto; display: none; }
  .nav-open .nav { display: flex; }
  .nav-open { overflow: hidden; }
  .menu { flex-direction: column; }
  .has-sub { display: grid; grid-template-columns: 1fr 48px; border-bottom: 1px solid var(--line); }
  .top { padding: 18px 0; font-size: 20px; }
  .top::after { display: none; }
  .sub-btn { display: block; border: 0; background: none; cursor: pointer; position: relative; }
  .sub-btn::before { content: ""; position: absolute; left: 18px; top: 20px; width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s ease; }
  .open .sub-btn::before { transform: translateY(4px) rotate(-135deg); }
  .mega { position: static; grid-column: 1 / -1; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; }
  .open .mega { display: block; }
  .mega-in { padding: 0 0 16px; display: block; }
  .mega-intro { display: none; }
  .mega ul { grid-template-columns: 1fr; gap: 0; }
  .mega a { padding: 10px 12px; }
  .nav-acts { margin-top: 24px; justify-content: space-between; }
}
@media (max-width: 420px) { .brand img { height: 30px; } }

/* ---------- shared ---------- */
.sec { padding: var(--sec) 0; }
.sec.white { background: var(--card); }
.sec.sand { background: var(--sand); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--moss); }
.head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 4vw, 52px); }
.head h2 { font-size: clamp(32px, 4.4vw, 54px); max-width: 18ch; margin-top: 10px; }
.head p.sub { color: var(--muted); max-width: 46ch; margin-top: 14px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--muted); }
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }

/* ---------- hero (split) ---------- */
.hero { padding: 24px 0 0; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; background: var(--green); color: #fff; border-radius: var(--r-lg); overflow: hidden; min-height: 600px; }
.hero-txt { padding: clamp(36px, 6vw, 80px); display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.hero-txt .eyebrow { color: var(--gold); }
.hero h1 { font-size: clamp(40px, 5.6vw, 76px); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-txt > p { font-size: clamp(17px, 1.5vw, 20px); color: rgba(255, 255, 255, .84); max-width: 44ch; }
.hero-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-img { position: relative; min-height: 340px; }
.hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tagcard { position: absolute; left: 20px; bottom: 20px; right: 20px; max-width: 320px; background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 14px; padding: 14px 16px;
  display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow); }
.tagcard b { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: #E8622C; color: #fff; font-size: 13px; }
.tagcard span { font-size: 14px; line-height: 1.35; }
.tagcard small { display: block; color: var(--muted); font-weight: 500; }

/* ---------- impact band ---------- */
.impact { background: var(--green); color: #fff; margin-top: -1px; }
.impact .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 56px; padding-bottom: 56px; }
.impact strong { display: block; font-size: clamp(40px, 4.6vw, 60px); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.impact span { display: block; margin-top: 10px; color: rgba(255, 255, 255, .8); font-size: 15px; }
.impact-wrap { padding: 0 var(--pad); max-width: 1280px; margin: 24px auto 0; }
.impact-wrap .impact { border-radius: var(--r-lg); }

/* ---------- programme cards ---------- */
.progs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.prog { grid-column: span 2; display: flex; flex-direction: column; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.prog:nth-child(n+4) { grid-column: span 3; }
.prog:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(27, 42, 34, .06), 0 18px 36px rgba(27, 42, 34, .12); }
.prog .img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.prog .img img { width: 100%; height: 100%; object-fit: cover; }
.chip { position: absolute; left: 14px; top: 14px; background: rgba(255, 255, 255, .95); color: var(--ink); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; }
.prog .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.prog h3 { font-size: 23px; }
.prog p { color: var(--muted); font-size: 16px; flex: 1; }

/* ---------- species ---------- */
.species { display: grid; grid-template-columns: 1fr 1.15fr; }
.species .img { position: relative; min-height: 460px; }
.species .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.species .body { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; gap: 18px; }
.species h2 { font-size: clamp(34px, 4vw, 52px); }
.latin { font-style: italic; font-weight: 600; color: var(--muted); margin-top: -8px; }
.iucn { display: flex; gap: 6px; margin: 6px 0; flex-wrap: wrap; }
.iucn span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: var(--paper); color: var(--muted); }
.iucn span.on { background: #E8622C; color: #fff; box-shadow: 0 0 0 3px rgba(232, 98, 44, .25); }
.iucn-note { font-size: 14px; color: var(--muted); }
.threats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.threats li { background: var(--paper); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 700; }

/* ---------- stories ---------- */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.story { display: flex; flex-direction: column; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.story:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(27, 42, 34, .06), 0 18px 36px rgba(27, 42, 34, .12); }
.story .img { aspect-ratio: 3 / 2; overflow: hidden; }
.story img { width: 100%; height: 100%; object-fit: cover; }
.story .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.story .meta { font-size: 13px; font-weight: 700; color: var(--moss); }
.story h3 { font-size: 21px; line-height: 1.25; letter-spacing: -.015em; }
.story p { color: var(--muted); font-size: 15px; }

/* ---------- donate ---------- */
.donate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.donate-grid h2 { font-size: clamp(32px, 4vw, 50px); margin: 10px 0 16px; }
.tiers { display: grid; gap: 12px; margin-top: 28px; border: 0; padding: 0; }
.tiers legend { font-weight: 700; margin-bottom: 12px; padding: 0; }
.tier { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: center; background: var(--card); border-radius: 14px; padding: 18px 20px; cursor: pointer;
  box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .15s ease; }
.tier input { position: absolute; opacity: 0; }
.tier strong { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; grid-row: span 2; min-width: 7.2ch; }
.tier span { color: var(--muted); font-size: 15px; }
.tier:has(input:checked) { box-shadow: inset 0 0 0 2px var(--green); background: #FBFAF6; }
.tier:has(input:focus-visible) { outline: 3px solid var(--ochre); outline-offset: 2px; }
.pay { padding: clamp(24px, 3vw, 36px); display: grid; gap: 22px; }
.pay-top { display: grid; grid-template-columns: 1fr 140px; gap: 20px; align-items: center; }
.pay dl { margin: 0; display: grid; gap: 12px; }
.pay dt { font-size: 13px; font-weight: 700; color: var(--muted); }
.pay dd { margin: 2px 0 0; font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pay img { width: 140px; height: 140px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.copy { border: 0; background: var(--paper); border-radius: 999px; padding: 4px 10px; margin-left: 6px; font: 700 12px var(--font); color: var(--green); cursor: pointer; vertical-align: middle; }
.copy:hover { background: var(--sand); }
.pay h3 { font-size: 19px; letter-spacing: -.01em; padding-top: 22px; border-top: 1px solid var(--line); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.field.full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { font: 500 16px var(--font); color: var(--ink); background: var(--paper); border: 1.5px solid transparent; border-radius: 12px; padding: 12px 14px; min-height: 48px; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; }
.form-ok { background: #E7F1EA; color: var(--green); border-radius: 12px; padding: 14px 16px; font-weight: 700; }
form.sent .fields, form.sent > .btn, form.sent > input, form.sent > button { display: none; }

/* ---------- partners ---------- */
.partners { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.partner { padding: 28px; display: flex; gap: 20px; align-items: flex-start; text-decoration: none; }
.partner .mark { width: 56px; height: 56px; flex: none; border-radius: 14px; background: var(--paper); display: grid; place-items: center; font-weight: 800; color: var(--green); }
.partner h3 { font-size: 21px; letter-spacing: -.015em; }
.partner p { color: var(--muted); font-size: 15px; margin-top: 6px; }
.partner:hover h3 { color: var(--moss); }

/* ---------- newsletter ---------- */
.news { background: var(--moss); color: #fff; border-radius: var(--r-lg); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.news h2 { font-size: clamp(28px, 3.2vw, 40px); }
.news p { color: rgba(255, 255, 255, .82); margin-top: 10px; }
.news form { display: flex; gap: 8px; background: #fff; border-radius: 999px; padding: 6px; }
.news input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 16px; font: 500 16px var(--font); color: var(--ink); }
.news input:focus { outline: none; }
.news form:focus-within { box-shadow: 0 0 0 3px var(--gold); }
.news .form-ok { background: transparent; color: var(--ink); padding: 8px 14px; }

/* ---------- page hero (inner) ---------- */
.phero { padding: 24px 0 0; }
.phero-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; background: var(--green); color: #fff; border-radius: var(--r-lg); overflow: hidden; }
.phero-txt { padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.phero h1 { font-size: clamp(38px, 5vw, 66px); }
.phero p { color: rgba(255, 255, 255, .84); font-size: clamp(17px, 1.5vw, 20px); max-width: 46ch; }
.phero .crumbs { font-size: 14px; color: var(--gold); font-weight: 700; }
.phero .crumbs a { text-decoration: none; } .phero .crumbs a:hover { text-decoration: underline; }
.phero-img { position: relative; min-height: 320px; }
.phero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero.solo .phero-in { grid-template-columns: 1fr; }

/* ---------- about ---------- */
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.split h2 { font-size: clamp(30px, 3.6vw, 46px); margin-top: 10px; }
.prose { display: grid; gap: 18px; color: var(--muted); font-size: 18px; }
.prose strong { color: var(--ink); }
.badge-legal { display: inline-flex; gap: 10px; align-items: center; background: var(--card); border-radius: 12px; padding: 12px 16px; font-size: 14px; font-weight: 700; box-shadow: var(--shadow); color: var(--ink); }
.badge-legal::before { content: "✓"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; font-size: 13px; }
.vision { background: var(--green); color: #fff; border-radius: var(--r-lg); padding: clamp(32px, 6vw, 80px); }
.vision .eyebrow { color: var(--gold); }
.vision p:last-child { font-size: clamp(24px, 3vw, 38px); font-weight: 800; letter-spacing: -.02em; line-height: 1.25; margin-top: 16px; max-width: 30ch; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.tile .n { width: 44px; height: 44px; border-radius: 12px; background: var(--paper); display: grid; place-items: center; font-weight: 800; color: var(--green); font-variant-numeric: tabular-nums; }
.tile h3 { font-size: 20px; letter-spacing: -.015em; line-height: 1.25; }
.tile p { color: var(--muted); font-size: 15px; }
.tiles.five .tile:nth-child(4) { grid-column: span 1; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { padding: 26px; position: relative; }
.step strong { display: block; font-size: 34px; font-weight: 800; color: var(--ochre); letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.person { padding: 24px; text-align: center; display: grid; justify-items: center; gap: 4px; }
.person .av { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--moss), var(--green)); color: #fff; font-size: 26px; font-weight: 800; margin-bottom: 12px; }
.person h3 { font-size: 18px; letter-spacing: -.01em; }
.person p { color: var(--muted); font-size: 14px; }
.band { background: var(--ochre); color: var(--on-ochre); border-radius: var(--r-lg); padding: clamp(28px, 5vw, 56px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.band h2 { font-size: clamp(28px, 3.4vw, 42px); max-width: 22ch; }
.band .acts { display: flex; gap: 12px; flex-wrap: wrap; }
.band .btn.line { color: var(--on-ochre); }
.band .btn.line:hover { background: rgba(0, 0, 0, .06); }

/* ---------- jasper ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 24px; }
.facts .card { padding: 22px 24px; }
.facts strong { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.02em; color: var(--green); }
.facts span { color: var(--muted); font-size: 14px; }
.tl { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 20px; }
.tl::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: var(--line); }
.tl li { display: grid; grid-template-columns: 48px 1fr; gap: 20px; }
.tl .dot { width: 48px; height: 48px; border-radius: 50%; background: var(--green); color: var(--gold); display: grid; place-items: center; font-weight: 800; position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--paper); }
.tl .card { padding: 24px 28px; }
.tl .yr { font-size: 14px; font-weight: 800; color: var(--ochre); letter-spacing: .02em; }
.tl h3 { font-size: 22px; letter-spacing: -.015em; margin: 6px 0 8px; }
.tl .study { font-size: 14px; font-style: italic; color: var(--muted); margin-bottom: 10px; padding-left: 12px; border-left: 3px solid var(--sand); }
.tl p { color: var(--muted); font-size: 16px; }
.map { padding: clamp(24px, 3vw, 36px); display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px; align-items: center; }
.map ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.map li { display: grid; grid-template-columns: 14px 1fr; gap: 12px; align-items: start; font-size: 15px; color: var(--muted); }
.map li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: #D7262B; margin-top: 6px; }
.map li strong { display: block; color: var(--ink); font-size: 17px; }
.map figure { margin: 0; }
.cap { font-size: 12px; color: var(--muted); margin-top: 8px; font-weight: 500; }

/* ---------- cerita ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chips button { border: 0; border-radius: 999px; padding: 10px 18px; background: var(--card); font: 700 14px var(--font); color: var(--ink); cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--line); transition: background .15s ease; }
.chips button:hover { background: var(--sand); }
.chips button[aria-pressed="true"] { background: var(--green); color: #fff; box-shadow: none; }
.feature { display: grid; grid-template-columns: 1.3fr 1fr; text-decoration: none; margin-bottom: 40px; }
.feature .img { min-height: 380px; position: relative; }
.feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature .body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.feature h2 { font-size: clamp(28px, 3vw, 40px); }
.feature p { color: var(--muted); }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pager a, .pager span { min-width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; background: var(--card); text-decoration: none; font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--line); }
.pager span[aria-current] { background: var(--green); color: #fff; box-shadow: none; }

/* ---------- footer ---------- */
#site-footer { background: var(--green); color: rgba(255, 255, 255, .78); }
.ft-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.ft-cta p { font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.02em; color: #fff; max-width: 30ch; line-height: 1.2; }
.ft { display: grid; grid-template-columns: 1.6fr repeat(5, 1fr); gap: 32px; padding-top: 48px; padding-bottom: 40px; }
.ft-brand img { height: 40px; width: auto; margin-bottom: 16px; }
.ft-brand p { font-size: 14px; max-width: 30ch; }
.ft-brand .small { font-size: 12px; margin-top: 10px; opacity: .8; }
.ft h3 { color: #fff; font-size: 15px; letter-spacing: -.01em; margin-bottom: 14px; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.ft a, .ft-bottom a { text-decoration: none; } .ft a:hover, .ft-bottom a:hover { color: var(--gold); }
.ft-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 20px; padding-bottom: 76px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; }
.soc { display: flex; gap: 18px; flex-wrap: wrap; }
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .22); transition: transform .15s ease; }
.wa-float:hover { transform: scale(1.06); }
.wa-float:active { transform: scale(.96); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) { .ft { grid-template-columns: repeat(3, 1fr); } .ft-brand { grid-column: 1 / -1; } }
@media (max-width: 960px) {
  .hero-in, .phero-in, .species, .donate-grid, .news, .split, .feature, .map { grid-template-columns: 1fr; }
  .hero-in { min-height: 0; }
  .hero-img { min-height: 300px; order: -1; }
  .phero-img { min-height: 240px; order: -1; }
  .species .img { min-height: 320px; }
  .impact .wrap, .facts { grid-template-columns: 1fr 1fr; }
  .progs { grid-template-columns: 1fr 1fr; }
  .prog, .prog:nth-child(n+4) { grid-column: span 1; }
  .prog:first-child { grid-column: 1 / -1; }
  .stories, .tiles, .team, .steps { grid-template-columns: 1fr 1fr; }
  .partners { grid-template-columns: 1fr; }
  .head { flex-direction: column; align-items: start; }
  .feature .img { min-height: 260px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .progs, .stories, .tiles, .steps, .ft { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; gap: 12px; }
  .person { padding: 18px 10px; }
  .person .av { width: 64px; height: 64px; font-size: 20px; }
  .pay-top, .fields { grid-template-columns: 1fr; }
  .news form { flex-direction: column; border-radius: 18px; }
  .news input { min-height: 48px; }
  .hero-acts .btn { flex: 1; }
}
.mt { margin-top: 16px; }
.sec.flush { padding-top: 0; }
.map-h { font-size: clamp(28px, 3vw, 38px); margin-top: 10px; }
[id] { scroll-margin-top: 96px; }
[hidden] { display: none !important; }
.news > * { min-width: 0; }
.news input { width: 0; }

/* ---------- inner-page components (generated pages) ---------- */
.gap-t { margin-top: 16px; }
.tiles.four { grid-template-columns: repeat(4, 1fr); }
.person .desc { font-size: 13px; color: var(--muted); margin-top: 6px; }
.partner .sub { font-size: 13px; font-weight: 700; color: var(--moss); margin-top: 2px; }
.kvcard { display: grid; grid-template-columns: 1fr 1.2fr; }
.kvcard.noimg { grid-template-columns: 1fr; }
.kvcard .img { position: relative; min-height: 420px; }
.kvcard .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.kvcard .body { padding: clamp(28px, 4vw, 56px); display: grid; gap: 16px; align-content: start; }
.kvcard h2 { font-size: clamp(28px, 3.2vw, 42px); }
.kv { width: 100%; border-collapse: collapse; font-size: 16px; }
.kv th, .kv td { text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.kv th { width: 40%; color: var(--muted); font-weight: 700; font-size: 14px; }
.kv a { color: var(--green); }
.figcard { margin: 0; padding: clamp(16px, 3vw, 32px); }
.formcard { padding: clamp(24px, 3vw, 36px); display: grid; gap: 18px; align-content: start; }
.formcard .btn { justify-self: start; }
.field > span { font-size: 14px; font-weight: 700; }
.field abbr { text-decoration: none; color: #B4570B; }
.field textarea { min-height: 120px; resize: vertical; }
form.sent .fields { display: none; }
.aside-list { margin: 28px 0 0; display: grid; gap: 14px; }
.aside-list dt { font-size: 13px; font-weight: 700; color: var(--muted); }
.aside-list dd { margin: 2px 0 0; font-weight: 700; }
.aside-list a { color: var(--green); }
.prose a { color: var(--green); font-weight: 700; }
.pubs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pub { display: grid; grid-template-columns: 180px 1fr auto; gap: 20px; align-items: center; padding: 20px 24px; }
.pub .type { justify-self: start; background: var(--paper); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; color: var(--moss); }
.pub h3 { font-size: 18px; line-height: 1.35; letter-spacing: -.01em; }
.pub p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.pub .btn { min-height: 42px; padding: 0 18px; font-size: 14px; white-space: nowrap; }
.article { max-width: 760px; margin: 0 auto; }
.art-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.art-meta span { background: var(--card); border-radius: 999px; padding: 6px 14px; font-size: 14px; box-shadow: inset 0 0 0 1.5px var(--line); }
.art-meta b { color: var(--moss); margin-right: 4px; }
.article > p { font-size: 18px; line-height: 1.8; margin-bottom: 20px; }
.article h2 { font-size: clamp(24px, 2.8vw, 32px); margin: 40px 0 16px; }
.article h2:first-child { margin-top: 0; }
.article blockquote { margin: 32px 0; background: var(--sand); border-radius: 20px; padding: 28px 32px; }
.article blockquote p { font-size: clamp(20px, 2.2vw, 24px); font-weight: 800; letter-spacing: -.015em; line-height: 1.35; }
.article blockquote cite { display: block; font-style: normal; font-size: 14px; color: var(--muted); margin-top: 10px; }
.article .note { font-size: 14px; color: var(--muted); background: var(--card); border-radius: 12px; padding: 14px 16px; margin-top: 32px; }
@media (max-width: 960px) { .tiles.four { grid-template-columns: 1fr 1fr; } .kvcard { grid-template-columns: 1fr; } .kvcard .img { min-height: 280px; } .pub { grid-template-columns: 1fr; gap: 10px; } .pub .btn { justify-self: start; } }
@media (max-width: 600px) { .tiles.four { grid-template-columns: 1fr; } }
