﻿
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {

  --green: #2264D1;
  --green-dark: #1351B4;
  --green-deep: #0C326F;
  --green-soft: #EDF4FF;
  --gold: #F5A623;
  --gold-soft: #FFF5E6;
  --red-soft: #FEE8E8;
  --red: #E84444;
  --ink: #0D0D0D;
  --ink-mid: #2D2D2D;
  --ink-soft: #5A5A5A;
  --paper: #F7F7F4;
  --white: #FFFFFF;
  --border: #E0E0DA;
  --border-dark: #C8C8C0;

  --font-head: 'Fredoka', 'Arial Black', sans-serif;
  --font-sub: 'Quicksand', Georgia, sans-serif;
  --font-body: 'Quicksand', system-ui, sans-serif;

  --max-w: 1200px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 100px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.07);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
  --shadow-blue: 0 8px 24px rgba(34,100,209,0.3);

  --focus-ring: 0 0 0 3px var(--green), 0 0 0 6px rgba(34,100,209,0.2);
}


.high-contrast {
  --green: #6EA8F0;
  --green-dark: #5090E0;
  --green-soft: #264B8C;
  --ink: #FFFFFF;
  --ink-mid: #F0F0F0;
  --ink-soft: #CCCCCC;
  --paper: #000000;
  --white: #000000;
  --border: #444444;
  --gold: #FFD700;
  --gold-soft: #1a1400;
  --focus-ring: 0 0 0 3px #6EA8F0, 0 0 0 6px rgba(110,168,240,0.3);
}
.high-contrast .hero { background: #000 !important; }
.high-contrast .donate-section { background: #000 !important; }
.high-contrast .pcard { background: #000 !important; border-color: #FFF !important; border: 1px solid #FFF;}
.high-contrast .acard { background: #000 !important; border-color: #FFF !important; border: 1px solid #FFF; }
.high-contrast .urgency-banner { background: rgba(110,168,240,0.1) !important; border-color: var(--green) !important; }
.high-contrast .impact-card { background: rgba(255,255,255,0.1) !important; border-color: #FFF !important; }
.high-contrast .story { background: #000 !important; }
.high-contrast .logo {
  background: transparent;
}
.high-contrast .main-logo {
  mix-blend-mode: normal;
  filter: none;
  display: block;
}
.high-contrast .hero h1, .high-contrast .hero h1 .text-accent, .high-contrast .hero-word-stroke { color: #FFFFFF !important; -webkit-text-stroke: 0 !important; }
.high-contrast .eyebrow { color: var(--ink); border-color: var(--ink); background: transparent; }
.high-contrast .hero-eyebrow { color: var(--ink); border-color: var(--ink); background: transparent; }
.high-contrast .pulse-dot { background: var(--green); }
.high-contrast .btn-hero, .high-contrast .btn-ghost-light { color: #000 !important; border-color: #000 !important; background: var(--green); }
.high-contrast .btn-ghost { color: #000 !important; background: #FFF !important; }
.high-contrast .pcard h3 { color: #F0F0F0 !important; }
.high-contrast .pcard-desc { color: #E0E0E0 !important; }
.high-contrast .postit { background: #000 !important; border: 1px solid #FFF; }
.high-contrast .postit-caption { color: #FFF !important; }
.high-contrast .donate-section .eyebrow.light,
.high-contrast .donate-section h2,
.high-contrast .donate-section h2 .text-accent,
.high-contrast .donate-section .donate-lead,
.high-contrast .donate-section .donate-what-title,
.high-contrast .donate-section .donate-list li,
.high-contrast .donate-section .donate-list li strong,
.high-contrast .donate-section .donate-extra,
.high-contrast .donate-section .btn-hero,
.high-contrast .donate-section .btn-ghost-light,
.high-contrast .donate-section .btn-hero .sr-only,
.high-contrast .donate-section .btn-ghost-light .sr-only {
  color: #FFFFFF !important;
}
.high-contrast .donate-section .btn-hero {
  background: var(--green-dark) !important;
  border-color: var(--green-dark) !important;
}
.high-contrast .donate-section .btn-ghost-light {
  background: transparent !important;
  border-color: #FFFFFF !important;
}
.high-contrast footer { background: #000 !important; color: #FFF !important; border-top: 1px solid #444; }
.high-contrast .footer-brand strong, .high-contrast .footer-links a { color: #FFF !important; }
.high-contrast .footer-info a { color: var(--green) !important; }

.high-contrast .a11y-btn { color: var(--ink); }
.high-contrast .a11y-btn[aria-pressed="true"] { 
  background: var(--green); 
  color: #000;
  border-color: var(--green); 
}

.reduce-motion *, .reduce-motion *::before, .reduce-motion *::after {
  animation: none !important;
  transition: none !important;
}
.reduce-motion .gallery-track { animation: none !important; }

html {
  font-size: var(--base-size, 16px);
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
a:hover { color: var(--green-deep); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 6px;
}

img { max-width: 100%; display: block; height: auto; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; color: var(--ink); letter-spacing: -0.01em; }
p { line-height: 1.75; }

.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; }

#site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow-sm);
  padding: 0 24px;
}
#site-header nav {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; gap: 16px;
  min-height: 100px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
  flex-shrink: 0;
}
.main-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.nav-links { list-style: none; display: flex; align-items: center; gap: 20px; }
.nav-links a {
  text-decoration: none; color: var(--ink-soft); font-weight: 600;
  font-size: 1rem; transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--green) !important; color: #fff !important;
  padding: 10px 24px; border-radius: var(--radius-pill);
  font-weight: 700 !important; font-size: 1rem !important;
  box-shadow: var(--shadow-blue); transition: background 0.2s !important;
  text-decoration: none;
}
.nav-cta:hover { background: var(--green-dark) !important; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.a11y-header-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.a11y-btn {
  background: var(--paper); 
  border: 2px solid var(--border);
  width: 44px; height: 44px;
  border-radius: var(--radius-sm); 
  cursor: pointer;
  font-family: var(--font-body); 
  font-size: 1.15rem; 
  color: var(--ink-mid);
  display: inline-flex; 
  align-items: center; 
  justify-content: center;
  font-weight: 700;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.a11y-btn svg {
  width: 22px; height: 22px;
}
.a11y-btn:hover { border-color: var(--green); background: var(--green-soft); color: var(--green-deep); }
.a11y-btn[aria-pressed="true"] { background: var(--green); color: #fff; border-color: var(--green); }

.hamburger {
  display: none; background: none; border: 2px solid var(--border);
  border-radius: var(--radius-sm); cursor: pointer;
  width: 44px; height: 44px; position: relative; padding: 0; flex-shrink: 0;
}
.hamburger span { display: block; width: 20px; height: 3px; border-radius: 2px; background: var(--ink); position: absolute; left: 10px; transition: all 0.3s; }
.hamburger span:nth-child(1) { top: 12px; }
.hamburger span:nth-child(2) { top: 19px; }
.hamburger span:nth-child(3) { top: 26px; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); top: 19px; }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); top: 19px; }

.hero {
  min-height: 92vh; display: flex; align-items: center;
  background: var(--ink); color: var(--white);
  position: relative; overflow: hidden;
  padding: 80px 24px;
  contain: layout style;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w); margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  position: relative; z-index: 1;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(34,100,209,0.15); border: 1px solid rgba(34,100,209,0.3);
  color: var(--green); padding: 8px 18px; border-radius: var(--radius-pill);
  font-size: 0.95rem; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; margin-bottom: 28px;
}
.pulse-dot {
  width: 8px; height: 8px; background: var(--green); border-radius: 50%;
  position: relative;
}
.pulse-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
  will-change: transform, opacity;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.6; }
  70% { transform: scale(2.5); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  color: var(--white); font-weight: 700;
  line-height: 1.0; margin-bottom: 24px;
}
.hero h1 .text-accent { color: var(--green); font-weight: 600; }
.hero-word-stroke {
  color: var(--white);
}
.hero-desc {
  font-size: 1.2rem; color: rgba(255,255,255,0.85); 
  max-width: 480px; margin-bottom: 40px; line-height: 1.75;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; 
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.25s ease; min-height: 50px;
  white-space: nowrap;
}
.btn-hero {
  background: var(--green); color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-hero:hover { background: var(--green-dark); color: #fff; box-shadow: 0 12px 32px rgba(34,100,209,0.4); }
.btn-ghost {
  background: #fff; color: #000;
  border: 2px solid #fff;
}
.btn-ghost-light {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,0.1); color: var(--white); }

.hero-visual { display: flex; justify-content: center; align-items: center; min-width: 0; position: relative; }
.hero-img-frame {
  width: 700px; max-width: 100%;
  aspect-ratio: 4/3;
  border-radius: 24px; overflow: hidden;
  position: relative;
  z-index: 2;
  border: 2px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow-lg);
}
.hero-img { width: 100%; height: 100%; object-fit: cover; }


.eyebrow {
  display: inline-block; font-size: 0.9rem; font-weight: 700; 
  color: var(--green); text-transform: uppercase;
  letter-spacing: 0.12em; margin-bottom: 12px;
}
.eyebrow.light { color: rgba(255,255,255,0.8); }

.projects {
  padding: 100px 24px;
  background: var(--white);
  contain: layout style;
}
.projects-header {
  max-width: var(--max-w); margin: 0 auto 56px;
}
.projects-header h2 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); margin-top: 8px; font-weight: 600; }

.projects-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pcard {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow 0.3s ease;
  box-shadow: var(--shadow-sm);
}
.pcard:hover { box-shadow: var(--shadow-lg); }

.pcard-img-wrap {
  width: 100%; overflow: hidden; position: relative;
  background: var(--green-soft);
  min-height: 160px; display: flex; align-items: center; justify-content: center;
}
.pcard-img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

.pcard-date-badge {
  position: absolute; top: 12px; left: 12px;
  background: #6A3A82; color: #fff;
  padding: 8px 16px; border-radius: 8px;
  font-size: 0.85rem; font-weight: 700; z-index: 10; 
}

.pcard-body { padding: 16px 14px; flex: 1; display: flex; flex-direction: column; }
.pcard-body h3 { font-size: 1.05rem; font-weight: 600; color: #3A465B; margin-bottom: 6px; }
.pcard-label { font-size: 0.9rem; color: #8A64B2; font-weight: 700; text-transform: uppercase; margin-top: 8px; } 
.pcard-number { font-size: 1.8rem; font-weight: 600; color: #FF6B4A; line-height: 1; margin: 4px 0; }
.pcard-desc { font-size: 0.85rem; font-weight: 600; color: #3A465B; flex: 1; margin-top: 2px; } 

.pcard-link { 
  font-size: 0.95rem; font-weight: 700; color: #FF6B4A; 
  text-decoration: none; margin-top: 16px; align-self: flex-start;
}
.pcard-link:hover { text-decoration: underline; color: #D94D2F; }

.pcard-cost-wrapper {
  border-top: 1px solid var(--border); padding-top: 16px; margin-top: 20px;
}
.pcard-cost-label { 
  font-size: 0.95rem; font-weight: 700; color: #3A465B; 
  display: flex; align-items: center; gap: 6px; 
}
.pcard-cost-val { 
  font-size: 1.3rem; font-weight: 600; color: #FF6B4A; margin-top: 4px; display: block; 
}

.active-projects {
  padding: 100px 24px;
  background: var(--white);
  contain: layout style;
}
.active-projects-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.active-projects-header {
  max-width: 700px;
  margin-bottom: 56px;
}
.active-projects-header h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin: 8px 0 20px;
  font-weight: 600;
}
.active-projects-header h2 .text-accent {
  color: var(--green);
}
.active-projects-subtitle {
  font-size: 1.15rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

.active-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.acard {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.acard:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--green);
}
.acard-icon {
  color: var(--green);
  margin-bottom: 8px;
  line-height: 1;
}
.acard h3 {
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 10px;
  font-weight: 600;
}
.acard p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.urgency-banner {
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, var(--green-soft) 0%, #e8f0fe 100%);
  border: 2px solid var(--green);
  border-radius: var(--radius);
  padding: 28px 36px;
  box-shadow: 0 4px 20px rgba(34,100,209,0.1);
}
.urgency-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}
.urgency-text {
  flex: 1;
}
.urgency-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.urgency-text p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}
.btn-urgency {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  background: var(--green);
  color: #fff;
  box-shadow: var(--shadow-blue);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.25s ease;
}
.btn-urgency:hover {
  background: var(--green-dark);
  color: #fff;
  box-shadow: 0 8px 24px rgba(34,100,209,0.4);
}

.donate-lead {
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1.6;
  font-weight: 600;
  margin-bottom: 24px;
}
.donate-lead strong {
  color: var(--gold);
}
.donate-what {
  margin-bottom: 32px;
}
.donate-what-title {
  color: rgba(255,255,255,0.7);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 12px;
}
.donate-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.donate-list li {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  line-height: 1.6;
  padding-left: 4px;
}
.donate-list li svg {
  vertical-align: -3px;
  margin-right: 4px;
}
.donate-list li strong {
  color: var(--white);
}

.donate-impact-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.impact-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}

.impact-card.highlight-card {
  background: rgba(34,100,209,0.15);
  border-color: rgba(34,100,209,0.4);
}
.impact-number {
  display: block;
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  margin-bottom: 8px;
}
.impact-label {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}

.gallery-strip {
  padding: 0;
  background: var(--ink);
  contain: layout style;
}
.gallery-label {
  display: flex; gap: 48px; align-items: center;
  padding: 16px 24px; overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  white-space: nowrap;
}
.gallery-label span {
  display: flex; gap: 48px; align-items: center;
  font-family: var(--font-head); font-size: 0.9rem; font-weight: 600;
  color: var(--white); text-transform: uppercase; letter-spacing: 0.15em;
  flex-shrink: 0;
}
.gallery-label span:not(:last-child)::after {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background-color: var(--white);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
}
.gallery-track {
  display: flex; gap: 4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track.dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery-item {
  width: 320px; height: 240px; flex-shrink: 0; overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  contain: strict;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.story {
  padding: 100px 24px;
  background: var(--white);
  contain: layout style;
}
.story-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.story-image-col { display: flex; flex-direction: column; gap: 16px; }
.story-img-wrap {
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/5; position: relative;
  background: var(--green-soft);
  box-shadow: var(--shadow-lg);
}
.story-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.story-card-overlay {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  background: rgba(126, 119, 119, 0.85); backdrop-filter: blur(8px);
  border-radius: 12px; padding: 16px 20px; color: #fff;
}
.story-card-overlay strong { display: block; font-family: var(--font-head); font-size: 1.1rem; }
.story-card-overlay span { font-size: 0.95rem; color: var(--white); font-weight: 600; }

.postit-collage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.postit {
  position: absolute;
  background: #FFF;
  padding: 6px 6px 36px 6px;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  border: 1px solid var(--border);
  width: 35%;
  aspect-ratio: 1;
  transform-origin: center;
}
.postit img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}
.postit-caption {
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  text-align: center;
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
}

.p1 { transform: rotate(-3deg) translate(0%, 0%); z-index: 10; width: 45%; }
.p2 { transform: rotate(12deg) translate(65%, -65%); z-index: 2; }
.p3 { transform: rotate(-8deg) translate(-65%, -65%); z-index: 3; }
.p4 { transform: rotate(10deg) translate(65%, 75%); z-index: 4; }
.p5 { transform: rotate(-15deg) translate(-65%, 75%); z-index: 5; }
.p6 { transform: rotate(5deg) translate(-90%, 5%); z-index: 6; }
.p7 { transform: rotate(-5deg) translate(90%, 5%); z-index: 7; }
.p8 { transform: rotate(-2deg) translate(0%, -90%); z-index: 8; }

.story-text-col h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 12px 0 24px; font-weight: 600; }
.story-text-col h2 .text-accent { color: var(--green); }
.story-text-col p { color: var(--ink-soft); margin-bottom: 20px; font-size: 1.1rem; } 
.story-quote {
  border-left: 4px solid var(--green);
  padding: 20px 24px; margin: 28px 0;
  background: var(--green-soft); border-radius: 0 var(--radius) var(--radius) 0;
}
.story-quote p { font-family: var(--font-sub); font-size: 1.15rem; color: var(--ink); margin: 0 0 12px; line-height: 1.6; } 
.story-quote footer { font-size: 0.95rem; color: var(--ink-soft); } 
.story-quote strong { color: var(--green-deep); }

.team-section {
  padding: 100px 24px;
  background: var(--paper);
  contain: layout style;
}
.team-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.team-header {
  max-width: 700px;
}
.team-header h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 8px 0 20px;
  font-weight: 600;
}
.team-header h2 .text-accent {
  color: var(--green);
}
.team-subtitle {
  font-size: 1.15rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

.team-overview {
  margin-bottom: 40px;
}
.team-main-text {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 32px;
}
.team-circles {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.team-circle {
  border: 3px solid var(--green);
  width: min-content;
  min-width: 170px;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 16px;
  box-sizing: border-box;
}
.team-circle-num {
  display: block;
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  margin-bottom: 8px;
}
.team-circle-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.3;
}

.team-message {
  background: var(--green-soft);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 32px;
}
.team-message p {
  font-size: 1.15rem;
  color: var(--ink);
  line-height: 1.7;
  margin: 0;
}
.team-message strong {
  color: var(--green-deep);
}

.high-contrast .team-stat-card {
  background: #000 !important;
  border-color: #FFF !important;
}
.high-contrast .team-stat-card.ts-highlight {
  border-color: var(--green) !important;
  background: rgba(110,168,240,0.15) !important;
}
.high-contrast .team-message {
  background: rgba(110,168,240,0.1) !important;
}

.donate-section {
  background: var(--ink); color: var(--white);
  padding: 100px 24px; position: relative; overflow: hidden;
  contain: layout style;
}
.donate-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(34,100,209,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.donate-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
  position: relative; z-index: 1;
}
.donate-text h2 { font-size: clamp(2rem, 4vw, 3.5rem); color: var(--white); margin: 12px 0 24px; font-weight: 600; }
.donate-text h2 .text-accent { color: var(--white); }
.donate-text > p:not(.donate-lead) { color: rgba(255,255,255,0.7); margin-bottom: 32px; font-size: 1.15rem; } 

.donate-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.donate-extra { font-size: 0.95rem; color: rgba(255,255,255,0.6); line-height: 1.6; margin-top: 24px; }
.donate-extra a { text-decoration: underline; font-weight: 600; color: #fff; }



.contact-section { padding: 100px 24px; background: var(--paper); contain: layout style; }
.contact-inner { max-width: var(--max-w); margin: 0 auto; }
.contact-header { max-width: 100%; margin-bottom: 20px; }
.contact-header h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 10px 0 16px; font-weight: 600; white-space: nowrap; }

@media (max-width: 768px) {
  .contact-header h2 { white-space: normal; }
}

.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.contact-info-col { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.ci-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--green-soft); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green-dark); border: 1px solid rgba(34,100,209,0.2);
}
.contact-item strong { display: block; color: var(--ink); font-weight: 700; font-size: 1rem; margin-bottom: 2px; } 
.contact-item a, .contact-item span { color: var(--ink-soft); font-size: 1rem; } 
.contact-item a:hover { color: var(--green-dark); }


footer {
  background: var(--ink); color: rgba(255,255,255,0.7);
  padding: 60px 24px 40px;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: start; gap: 40px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand strong { display: block; color: var(--white); font-family: var(--font-head); font-size: 1.1rem; }
.footer-brand span { display: block; font-size: 0.9rem; margin-top: 2px; } 
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; padding-top: 6px; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.95rem; font-weight: 600; transition: color 0.2s; } 
.footer-links a:hover { color: var(--green); }
.footer-info { text-align: right; }
.footer-info p { font-size: 0.9rem; line-height: 2; font-weight: 600;} 
.footer-info a { color: #5B9CF6; text-decoration: none; }
.footer-info a:hover { text-decoration: underline; }



@media (max-width: 1024px) {
  .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcard--main { grid-column: 1 / -1; }
  .donate-inner { gap: 48px; }
  .active-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 830px) {
  #site-header nav { min-height: 80px; flex-wrap: wrap; }
  .main-logo { height: 60px; }
  .nav-links { display: none; }
  .hamburger { display: block; }
  
  .header-actions { gap: 8px; }
  .header-actions > .nav-cta { padding: 8px 14px; font-size: 0.85rem !important; }
  .header-actions > .nav-cta svg { width: 12px; height: 12px; }
  .a11y-btn { width: 38px; height: 38px; font-size: 1rem; }
  .a11y-btn svg { width: 18px; height: 18px; }

  .nav-links.open {
    display: flex; flex-direction: column; gap: 8px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); padding: 20px 24px 28px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md); z-index: 99;
    align-items: flex-end;
  }
  .nav-links.open a {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
  .nav-links.open .nav-cta { width: fit-content; text-decoration: none; }
  
  .hero { min-height: auto; padding: 60px 20px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-eyebrow { margin: 0 auto 24px; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: 1; }
  .hero-img-frame { width: 100%; aspect-ratio: auto; }
  
  
  .projects { padding: 60px 20px; }
    .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  
  .story-inner { grid-template-columns: 1fr; gap: 40px; }
  .story-img-wrap { aspect-ratio: 4/3; }
  .postit-collage { width: 80%; margin: 0 auto; margin-bottom: 20px; }

  
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { padding: 28px 20px; }
  
  .footer-inner { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .footer-brand { justify-content: center; }
  .footer-links { justify-content: center; }
  .footer-info { text-align: center; }
  
  .story, .donate-section, .contact-section, .active-projects, .team-section { padding: 60px 20px; }

  .active-grid { grid-template-columns: 1fr; }
  .urgency-banner { flex-direction: column; text-align: center; padding: 24px 20px; }
  .donate-impact-col { margin-top: 32px; }
  .team-circles { justify-content: center; gap: 16px; }
  .team-circle { min-width: 140px; }
  .team-circle-num { font-size: 2.5rem; }
}

@media (max-width: 620px) {
  .hero-img-frame { width: 100%; aspect-ratio: auto; }

  .projects-grid { grid-template-columns: 1fr; }

  .contact-section { padding: 40px 12px; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-form { padding: 20px 14px; width: 100%; box-sizing: border-box; }
  .form-field input, .form-field textarea, .form-field select {
    font-size: 0.95rem;
    padding: 12px 14px;
  }
  .btn-form { font-size: 1rem; padding: 12px 20px; }
  .contact-item { gap: 10px; }
  .ci-icon { width: 36px; height: 36px; }
  .ci-icon svg { width: 16px; height: 16px; }
}

@media (max-width: 420px) {
  #site-header nav { min-height: 60px; padding: 6px 0; }
  .main-logo { height: 40px; }
  .header-actions { gap: 4px; }
  .header-actions > .nav-cta { padding: 6px 10px; font-size: 0.75rem !important; }
  .header-actions > .nav-cta svg { width: 10px; height: 10px; }
  .a11y-btn { width: 32px; height: 32px; font-size: 0.85rem; border-width: 1.5px; }
  .a11y-btn svg { width: 15px; height: 15px; }
  .hamburger { width: 36px; height: 36px; }
  .hamburger span { width: 16px; left: 8px; }
  .hamburger span:nth-child(1) { top: 9px; }
  .hamburger span:nth-child(2) { top: 16px; }
  .hamburger span:nth-child(3) { top: 23px; }
  .hamburger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); top: 16px; }
  .hamburger[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); top: 16px; }
}

html.font-lg { font-size: 18px; }
html.font-xl { font-size: 20px; }
html.font-2xl { font-size: 22px; }

.enabled .vw-plugin-top-wrapper { max-width: 400px; }
[vw-access-button] { z-index: 9999; }

.skip-nav {
  background: var(--green-deep);
  margin: 0;
  width: 100%;
  padding: 4px 24px;
}
.skip-nav-container {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  line-height: 1.8;
}
.skip-nav a {
  color: rgba(255,255,255,0.8);
  font-size: 0.7rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0 8px;
  border-radius: var(--radius-pill);
  line-height: 1.8;
  transition: background 0.2s;
}
.skip-nav a:hover,
.skip-nav a:focus-visible {
  color: #fff;
  background: rgba(255,255,255,0.15);
  text-decoration: underline;
}

.pix-donation-box {
  margin-top: 32px;
  background: rgba(255,255,255,0.1);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.2);
  color: #ffffff;
  box-sizing: border-box;
  max-width: 100%;
  word-break: break-word;
}
.pix-donation-box h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
}
.pix-donation-box p {
  margin-bottom: 8px;
}
.pix-key-wrapper {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.pix-key {
  background: rgba(0,0,0,0.2);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 1px;
  user-select: all;
  word-break: break-all;
  white-space: normal;
  max-width: 100%;
  box-sizing: border-box;
}
.pix-razao {
  font-size: 0.875rem;
  opacity: 0.8;
}

.pcard-img-wrap--asmara {
  background-color: #f2185c;
  padding: 20px;
}
.pcard-img-wrap--asmara .pcard-img {
  object-fit: contain;
  max-height: 100%;
  position: relative;
  inset: auto;
  width: auto;
  height: auto;
  margin: 0 auto;
}

.footer-logo {
  height: 48px;
  mix-blend-mode: luminosity;
}

.team-highlight-number {
  font-size: 1.5rem;
  color: var(--green);
  font-family: var(--font-head);
}
