/* =========================================================
   OCS — One Conservation Sustainability
   Design tokens taken from the OCS website design document
   ========================================================= */
:root {
  --forest-950: #15342A;
  --forest-900: #1B4334;
  --forest-800: #1F4D3A;   /* primary */
  --forest-700: #2C6B49;
  --forest-500: #3F8A5C;
  --forest-400: #55995F;
  --leaf-200: #D5E6DB;
  --leaf-100: #E6F0EA;
  --leaf-50:  #F3F8F4;
  --amber-700: #A86708;
  --amber-600: #C77D0A;    /* accent */
  --amber-400: #F0A93B;
  --sun-100:  #FBEBC6;
  --sky:      #F2C97E;
  --ink:      #22302A;     /* body text */
  --muted:    #5F6B66;
  --subtle:   #8A948F;
  --line:     #CFDDD4;
  --white:    #FFFFFF;

  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(21, 52, 42, .06), 0 8px 24px rgba(21, 52, 42, .08);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest-700); text-underline-offset: 3px; }
a:hover { color: var(--forest-900); }
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--forest-800); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--amber-400); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--amber-400); color: var(--forest-950); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--forest-800); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

/* Placeholders the OCS team must fill in before launch */
.tbd {
  background: #FFF4DC;
  border: 1px dashed var(--amber-600);
  color: var(--amber-700);
  border-radius: 4px;
  padding: 0 4px;
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 .98rem/1 var(--font-sans);
  padding: 15px 24px; min-height: 48px;
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--forest-800); color: #fff; }
.btn-primary:hover { background: var(--forest-950); color: #fff; }
.btn-accent { background: var(--amber-400); color: var(--forest-950); }
.btn-accent:hover { background: #F6BB5C; color: var(--forest-950); box-shadow: 0 6px 18px rgba(199, 125, 10, .28); }
.btn-ghost { background: transparent; color: var(--forest-800); border-color: var(--forest-800); }
.btn-ghost:hover { background: var(--forest-800); color: #fff; }
.btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-light:hover { background: #fff; color: var(--forest-900); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--forest-700); display: inline-flex; gap: .35em; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(21, 52, 42, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--forest-800); flex-shrink: 0; }
.brand img { width: 52px; height: 52px; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-serif); font-size: 1.35rem; letter-spacing: .04em; }
.brand-text small { font-size: .72rem; color: var(--muted); letter-spacing: .02em; }

.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.site-nav a:not(.btn) {
  display: block; padding: 8px 9px; border-radius: 8px;
  font-size: .93rem; font-weight: 500; color: var(--ink); text-decoration: none;
}
.site-nav a:not(.btn):hover { background: var(--leaf-100); color: var(--forest-800); }
.site-nav a[aria-current="page"] { color: var(--forest-800); font-weight: 700; box-shadow: inset 0 -2px 0 var(--amber-400); border-radius: 0; }
.nav-cta { padding: 12px 20px; min-height: 44px; }

.nav-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; position: relative; }
.nav-toggle:hover { background: var(--leaf-100); }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  position: absolute; left: 13px; width: 22px; height: 2px; background: var(--forest-800); border-radius: 2px; transition: transform .25s, opacity .2s;
}
.nav-toggle-bars { top: 23px; }
.nav-toggle-bars::before { content: ""; left: 0; top: -7px; }
.nav-toggle-bars::after { content: ""; left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1320px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 16px;
    background: #fff; padding: 16px var(--gutter) 28px;
    border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(21, 52, 42, .12);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .25s, opacity .25s, visibility .25s;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; }
  .site-nav a:not(.btn) { padding: 12px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--leaf-100); border-radius: 0; }
  .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--amber-400); padding-left: 14px; }
}
@media (max-width: 420px) { .brand-text small { display: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tight { padding: clamp(48px, 6vw, 72px) 0; }
.bg-leaf { background: var(--leaf-100); }
.bg-mist { background: var(--leaf-50); }
.bg-forest { background: var(--forest-800); color: #E7F0EA; }
.bg-forest h2, .bg-forest h3 { color: #fff; }
.bg-deep { background: var(--forest-950); color: #E7F0EA; }
.bg-deep h2, .bg-deep h3 { color: #fff; }
.bg-sun { background: linear-gradient(180deg, var(--sun-100), #FFF8E8); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 .78rem/1.2 var(--font-sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber-700); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.bg-forest .eyebrow, .bg-deep .eyebrow { color: var(--amber-400); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--muted); }
.bg-forest .lead, .bg-deep .lead { color: #C9DDD1; }

.grid { display: grid; gap: clamp(16px, 2.5vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split, .split.reverse { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

.figure { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.figure img { width: 100%; }
.caption { font-size: .82rem; color: var(--subtle); margin-top: 10px; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 30px);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--leaf-200); }
.card .muted, .muted { color: var(--muted); }
.card-icon { width: 56px; height: 56px; border-radius: 14px; margin-bottom: 18px; }
.card-num {
  font: 700 .8rem/1 var(--font-sans); letter-spacing: .12em; color: var(--amber-700);
  display: block; margin-bottom: 12px;
}
.bg-forest .card, .bg-deep .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); color: #DCE9E1; }
.bg-forest .card h3, .bg-deep .card h3 { color: #fff; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--leaf-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F4D3A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.bg-leaf .check-list li::before { background-color: #fff; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #F2C97E 0%, #F7DAA3 45%, #FBE6C0 100%);
  padding-top: clamp(56px, 9vw, 110px);
}
.hero-content { position: relative; z-index: 2; max-width: 760px; }
.hero h1 { color: var(--forest-950); margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: var(--forest-700); }
.hero .lead { color: #3A4A42; max-width: 620px; margin-bottom: 30px; }
.hero-youth { display: inline-block; margin-top: 22px; font-weight: 600; color: var(--forest-900); }
.hero-art { position: relative; z-index: 1; margin-top: -4vw; }
.hero-art img { width: 100%; min-height: 260px; object-fit: cover; object-position: 50% 100%; }
@media (max-width: 700px) { .hero-art { margin-top: 24px; } }

/* Stats band */
.stats { background: #204C3A; color: #CFE0D6; padding: clamp(40px, 6vw, 64px) 0; margin-top: -2px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.stat { border-left: 2px solid rgba(240, 169, 59, .5); padding-left: 18px; }
.stat-value { font: 600 clamp(1.7rem, 3vw, 2.4rem)/1.1 var(--font-serif); color: var(--amber-400); display: block; margin-bottom: 8px; }
.stat-label { font-size: .95rem; line-height: 1.45; }
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; } }

/* Problem cards */
.problem-card { border-top: 4px solid var(--amber-600); }
.problem-card h3 { font-size: 1.3rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--forest-800); color: #DCE9E1; padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 7vw, 80px); overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,169,59,.22), transparent 65%);
}
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 860px; position: relative; z-index: 1; }
.page-hero .lead { color: #C9DDD1; max-width: 700px; position: relative; z-index: 1; margin-bottom: 0; }
.page-hero .eyebrow { color: var(--amber-400); position: relative; z-index: 1; }
.page-hero-band { display: block; width: 100%; height: clamp(90px, 14vw, 170px); object-fit: cover; object-position: 50% 100%; }

/* ---------- Keystone ---------- */
.keystone-figure { background: #E4EFE8; border-radius: var(--radius-lg); overflow: hidden; }
.pillars { counter-reset: pillar; }
.pillar { position: relative; padding-top: 26px; }
.pillar::before {
  counter-increment: pillar; content: counter(pillar);
  position: absolute; top: -18px; left: clamp(22px, 2.6vw, 30px);
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font: 700 1rem/1 var(--font-serif); background: var(--forest-800); color: #fff;
}
.pillar:nth-child(4)::before { background: var(--amber-600); }

.fg-test { background: var(--forest-950); color: #DCE9E1; border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 56px); position: relative; overflow: hidden; }
.fg-test h2 { color: #fff; }
.fg-test .badge { display: inline-block; font: 700 .72rem/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; background: var(--amber-400); color: var(--forest-950); padding: 7px 12px; border-radius: 999px; margin-bottom: 16px; }
.fg-questions { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: q; }
.fg-questions li { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 24px; }
.fg-questions li::before { counter-increment: q; content: "0" counter(q); display: block; font: 600 2rem/1 var(--font-serif); color: var(--amber-400); margin-bottom: 12px; }
.fg-questions strong { display: block; color: #fff; font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.3; margin-bottom: 6px; }
@media (max-width: 860px) { .fg-questions { grid-template-columns: 1fr; } }

/* Values */
.value h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; }
.value h3::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--amber-400); transform: rotate(45deg); flex-shrink: 0; }

.vm-card { border-radius: var(--radius-lg); padding: clamp(26px, 3.4vw, 40px); }
.vm-card.vision { background: var(--forest-800); color: #DCE9E1; }
.vm-card.vision h3 { color: var(--amber-400); }
.vm-card.mission { background: var(--sun-100); }
.vm-card.mission h3 { color: var(--amber-700); }
.vm-card p { font-family: var(--font-serif); font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.4; margin: 0; }
.vm-card.vision p { color: #fff; }
.vm-card h3 { font-family: var(--font-sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- SDG tiles ---------- */
.sdg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.sdg { aspect-ratio: 1; border-radius: 10px; color: #fff; padding: 12px; display: flex; flex-direction: column; justify-content: space-between; text-transform: uppercase; font-weight: 700; font-size: .72rem; line-height: 1.2; letter-spacing: .02em; }
.sdg b { font-size: 2.1rem; line-height: 1; font-family: var(--font-sans); }
.sdg-1 { background: #E5243B; } .sdg-2 { background: #DDA63A; } .sdg-4 { background: #C5192D; } .sdg-5 { background: #FF3A21; }
.sdg-8 { background: #A21942; } .sdg-10 { background: #DD1367; } .sdg-13 { background: #3F7E44; } .sdg-15 { background: #56C02B; } .sdg-17 { background: #19486A; }

.sdg-cards .card { border-left: 5px solid var(--forest-500); }
.sdg-cards .card:nth-child(1) { border-left-color: #3F7E44; }
.sdg-cards .card:nth-child(2) { border-left-color: #56C02B; }
.sdg-cards .card:nth-child(3) { border-left-color: #E5243B; }
.sdg-tag { font: 700 .75rem/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 10px; }

/* ---------- Standards ---------- */
.standard-card { display: flex; flex-direction: column; }
.standard-icon { width: 54px; height: 54px; border-radius: 14px; background: var(--leaf-100); display: grid; place-items: center; margin-bottom: 18px; }
.standard-icon svg { width: 30px; height: 30px; }
.standard-card .kicker { font: 700 .82rem/1.2 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--amber-700); margin-bottom: 6px; }
.note { border-left: 4px solid var(--amber-400); background: #FFF8E8; padding: 16px 20px; border-radius: 0 10px 10px 0; color: #4A4A3A; margin-top: 32px; font-size: .96rem; }

/* ---------- Programmes ---------- */
.prog-card { display: flex; flex-direction: column; }
.prog-card .card-num { margin-top: auto; padding-top: 14px; margin-bottom: 0; }

/* ---------- Impact table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.ledger { width: 100%; border-collapse: collapse; min-width: 640px; }
.ledger th, .ledger td { text-align: left; padding: 18px 22px; vertical-align: top; border-bottom: 1px solid var(--leaf-100); }
.ledger thead th { background: var(--forest-800); color: #fff; font: 700 .78rem/1.2 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; }
.ledger tbody th { font-family: var(--font-serif); color: var(--forest-800); font-size: 1.12rem; width: 20%; }
.ledger tbody tr:last-child > * { border-bottom: 0; }
.ledger tbody tr:nth-child(even) { background: var(--leaf-50); }
.ledger .goals { color: var(--muted); font-size: .92rem; white-space: nowrap; }
.ledger .result { color: var(--subtle); font-style: italic; font-size: .92rem; }

/* ---------- Get involved ---------- */
.audience-card { display: flex; flex-direction: column; gap: 4px; }
.audience-card p { color: var(--muted); }
.audience-card .btn { margin-top: auto; align-self: flex-start; }

.contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-wrap { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.14); }
.contact-list span:first-child { font: 700 .75rem/1.8 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--amber-400); }

.form-card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: 0 24px 60px rgba(0,0,0,.18); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--forest-900); }
.field .opt { font-weight: 400; color: var(--subtle); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--font-sans); color: var(--ink);
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest-500); box-shadow: 0 0 0 4px rgba(63, 138, 92, .15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B3261E; }
.field-error { color: #B3261E; font-size: .85rem; margin-top: 4px; display: none; }
.field.has-error .field-error { display: block; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--forest-800); flex-shrink: 0; }
.form-status { margin: 12px 0 0; font-weight: 600; font-size: .95rem; min-height: 1.4em; }
.form-status.ok { color: var(--forest-700); }
.form-status.warn { color: var(--amber-700); }
.form-status.err { color: #B3261E; }

.donation-bar { display: flex; height: 18px; border-radius: 999px; overflow: hidden; margin: 18px 0; background: var(--leaf-100); }
.donation-bar span { flex: 1; }
.donation-bar span:nth-child(1) { background: var(--forest-800); }
.donation-bar span:nth-child(2) { background: var(--forest-500); }
.donation-bar span:nth-child(3) { background: var(--amber-400); }
.donation-bar span:nth-child(4) { background: var(--subtle); }
.legend { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; font-size: .95rem; }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--forest-800); border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 60px); color: #DCE9E1; display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; margin-bottom: .25em; }
.cta-band p { margin: 0; color: #C9DDD1; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Policies ---------- */
.policy { padding: 32px 0; border-bottom: 1px solid var(--line); }
.policy:last-child { border-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-950); color: #B9CEC2; padding: clamp(48px, 7vw, 80px) 0 28px; font-size: .95rem; }
.site-footer a { color: #DCE9E1; text-decoration: none; }
.site-footer a:hover { color: var(--amber-400); text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (max-width: 800px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand { display: flex; gap: 18px; align-items: center; }
.footer-brand img { border-radius: 50%; width: 88px; height: 88px; }
.footer-name { font-family: var(--font-serif); color: #fff; font-size: 1.25rem; margin: 0 0 4px; }
.footer-tag { margin: 0; color: var(--amber-400); }
.newsletter-label { font: 700 .78rem/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--amber-400); display: block; margin-bottom: 8px; }
.newsletter-pitch { color: #DCE9E1; font-family: var(--font-serif); font-size: 1.15rem; margin-bottom: 14px; }
.newsletter-row { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-row input { flex: 1 1 220px; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; font: inherit; }
.newsletter-row input::placeholder { color: #8FA99B; }
.newsletter .form-status.ok { color: #9FD8B1; }
.newsletter .form-status.warn { color: var(--amber-400); }
.newsletter .form-status.err { color: #FFB4A9; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-links ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }


.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: .88rem; }
.footer-bottom p { margin: 0; }
.site-footer .tbd { background: rgba(240,169,59,.12); color: var(--amber-400); border-color: var(--amber-400); }

/* =========================================================
   Motion
   ========================================================= */
html.i18n-pending body { opacity: 0; }
body { transition: opacity .2s ease; }

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60;
  background: linear-gradient(90deg, var(--amber-600), var(--amber-400));
  transform: scaleX(0); transform-origin: 0 50%;
}

/* Reveal on scroll, staggered inside .stagger groups */
.js .reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .25s;
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal.is-visible.card-hover:hover { transform: translateY(-4px); transition-delay: 0s; transition-duration: .25s; }

/* Hero intro */
.js .hero-in { animation: heroIn .9s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i, 0) * 120ms + 80ms); }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } }

/* Animated landscape */
.hero-art svg { display: block; width: 100%; height: clamp(260px, 42vw, 640px); }
.hero-svg .layer { will-change: transform; }
.hero-svg .sun { animation: sunrise 2.6s cubic-bezier(.2,.7,.2,1) both; }
@keyframes sunrise { from { transform: translateY(110px); } }
.hero-svg .birds { animation: birds 20s ease-in-out infinite alternate; }
@keyframes birds { to { transform: translate(90px, -18px); } }
.hero-svg .wing { transform-box: fill-box; transform-origin: center; animation: flap 1s ease-in-out infinite; animation-delay: calc(var(--d) * -1); }
@keyframes flap { 50% { transform: scaleY(.45); } }
.hero-svg .mist { animation: mist 14s ease-in-out infinite alternate; }
.hero-svg .mist-2 { animation-duration: 18s; animation-direction: alternate-reverse; }
@keyframes mist { to { transform: translateX(110px); } }

/* Keystone arch: stones drop in, keystone lands last */
.arch-svg { display: block; width: 100%; height: auto; }
.arch-svg text { font-family: var(--font-sans); }
.arch-top { font-size: 30px; font-weight: 700; fill: var(--amber-600); letter-spacing: .06em; }
.arch-center { font-size: 34px; font-weight: 700; fill: var(--forest-800); }
.arch-label { font-size: 16px; font-weight: 700; fill: #fff; letter-spacing: .04em; }
.arch-sub { font-size: 13px; fill: #E6F0EA; }
.js .keystone-figure .stone {
  opacity: 0; transform: translateY(-60px); transform-box: fill-box; transform-origin: center;
  transition: opacity .45s ease, transform .7s cubic-bezier(.3,1.35,.5,1);
  transition-delay: calc(var(--i) * 110ms + 250ms);
}
.js .keystone-figure .keystone { transform: translateY(-150px); }
.js .keystone-figure .pillar-l, .js .keystone-figure .pillar-r { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
.js .keystone-figure .arch-top, .js .keystone-figure .arch-center { opacity: 0; transition: opacity .7s; }
.js .keystone-figure .arch-top { transition-delay: 1.8s; }
.js .keystone-figure .arch-center { transition-delay: 1.3s; }
.js .keystone-figure.is-visible .stone,
.js .keystone-figure.is-visible .pillar-l,
.js .keystone-figure.is-visible .pillar-r { opacity: 1; transform: none; }
.js .keystone-figure.is-visible .arch-top,
.js .keystone-figure.is-visible .arch-center { opacity: 1; }
.js .keystone-figure.is-visible .keystone { animation: keyGlow 2.8s ease-in-out 2.2s infinite; }
@keyframes keyGlow { 50% { fill: #E0952A; } }

/* Gently floating illustrations */
.js .float-figure.is-visible { animation: floaty 8s ease-in-out 1s infinite; }
@keyframes floaty { 50% { transform: translateY(-8px); } }

/* Donation bar fills in */
.donation-bar span { flex: 0 1 0; transition: flex-grow 1.2s cubic-bezier(.2,.7,.2,1); }
.donation-bar span:nth-child(2) { transition-delay: .15s; }
.donation-bar span:nth-child(3) { transition-delay: .3s; }
.donation-bar span:nth-child(4) { transition-delay: .45s; }
.donation-bar.is-visible span, html:not(.js) .donation-bar span { flex-grow: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .hero-in, .js .keystone-figure *, .hero-svg * { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
  .js .float-figure.is-visible { animation: none; }
  .btn:hover, .card-hover:hover { transform: none; }
  .donation-bar span { flex-grow: 1; transition: none; }
}

/* =========================================================
   Language switch
   ========================================================= */
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; background: #fff; }
.lang-toggle button {
  border: 0; background: none; cursor: pointer; border-radius: 999px;
  font: 700 .78rem/1 var(--font-sans); letter-spacing: .06em; color: var(--muted);
  padding: 8px 11px; min-width: 40px; min-height: 32px; transition: background-color .2s, color .2s;
}
.lang-toggle button:hover { color: var(--forest-800); }
.lang-toggle button[aria-pressed="true"] { background: var(--forest-800); color: #fff; }
.lang-switch button { background: none; border: 0; padding: 4px 2px; font: inherit; color: #B9CEC2; cursor: pointer; }
.lang-switch button:hover { color: var(--amber-400); }
.lang-switch button[aria-pressed="true"] { color: #fff; font-weight: 700; box-shadow: inset 0 -2px 0 var(--amber-400); }

/* Honeypot field for bots */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* Social links (hidden until set in the admin) */
.social-links { display: inline-flex; flex-wrap: wrap; }
.social-link.is-empty { display: none; }
.social-link:not(.is-empty) ~ .social-link:not(.is-empty)::before { content: "·"; margin: 0 9px; color: var(--subtle); display: inline-block; }
.contact-social a { color: #fff; }

/* =========================================================
   News
   ========================================================= */
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px 24px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head-row h2 { margin: 0; }
.news-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
.news-track > * { scroll-snap-align: start; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 28px; }
.news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.news-card-media { aspect-ratio: 16 / 10; background: var(--leaf-100); overflow: hidden; }
.news-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.news-card:hover .news-card-media img { transform: scale(1.06); }
.news-card-ph { width: 100%; height: 100%; background: url("../img/forest-band.png") center bottom / cover; }
.news-card-body { padding: 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.news-card-body p { color: var(--muted); margin: 0 0 8px; }
.news-card-body .link-arrow { margin-top: auto; }
.news-card h3 { font-size: 1.22rem; margin: 2px 0 4px; }
.news-card time, .news-article time { font: 700 .76rem/1.2 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--amber-700); }
.news-article { max-width: 760px; margin: 0 auto; }
.news-article h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-top: 10px; }
.news-article-img { border-radius: var(--radius-lg); margin: 24px 0; width: 100%; }
.news-back { display: inline-block; margin-bottom: 22px; font-weight: 600; text-decoration: none; }
.news-body p { margin-bottom: 1.2em; }

/* Small helpers */
.lead-ink { color: var(--ink) !important; }
.pillars-wrap { margin-top: clamp(48px, 6vw, 72px); }
.note-top { margin-top: 0; }
.form-actions { margin-top: 20px; }
.sources { margin-top: 32px; }

@media print {
  .site-header, .site-footer, .nav-toggle { display: none; }
}

.card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.card-link:hover { color: inherit; }
.card-link h3 { transition: color .2s; }
.card-link:hover h3 { color: var(--forest-700); }
.fg-test .lead { color: #C9DDD1; }
.split > *, .contact-wrap > * { min-width: 0; }
@media (max-width: 420px) { .legend { grid-template-columns: 1fr; } }
@media (max-width: 1320px) { .nav-actions { justify-content: space-between; padding-top: 4px; } }
.site-header .container { max-width: 1380px; }
.site-nav a:not(.btn) { white-space: nowrap; }
.nav-cta { white-space: nowrap; }
@media (min-width: 1321px) and (max-width: 1460px) { .brand-text small { display: none; } }
.contact-list a { color: #fff; }
