/* ===================================================================
   GROWIN — Organisational Development & Welfare Agency
   Design system: "Growth that's measured."
   Signature motif: animated growth-bars (echoes the logo's bar chart)
   =================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
img, svg { display: block; max-width: 100%; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }
html { scroll-behavior: smooth; }

/* ---------- Design tokens ---------- */
:root {
  /* Color: "Sprout Paper" base, "Indigo Soil" ink, "Leaf" primary,
     "Marigold" + "Hibiscus" accents — pulled from the GROWIN mark
     plus one new pop accent for Gen-Z energy. */
  --paper:      #F5F8F1;
  --paper-deep: #EBF1E6;
  --mist:       #E7F0E2;
  --surface:    #FFFFFF;
  --ink:        #16213A;
  --ink-soft:   #5B6B66;
  --ink-faint:  #8B9990;
  --leaf:       #2E8B4F;
  --leaf-light: #6CC086;
  --leaf-pale:  #DCF0E1;
  --leaf-deep:  #143B26;
  --marigold:   #F6A623;
  --marigold-pale: #FCE9C6;
  --hibiscus:   #FF5C72;
  --hibiscus-pale: #FFE1E5;
  --line:       #DAE6D6;
  --line-deep:  rgba(255,255,255,0.12);

  /* Type */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Space Mono', monospace;

  /* Radius */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-full: 999px;

  /* Shadow */
  --shadow-sm: 0 2px 10px rgba(22,33,58,0.05);
  --shadow-md: 0 12px 32px rgba(22,33,58,0.08);
  --shadow-lg: 0 24px 60px rgba(22,33,58,0.12);

  /* Motion */
  --ease: cubic-bezier(.19,1,.22,1);
  --speed: .5s;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-pad: clamp(64px, 10vw, 128px);
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--marigold); color: var(--ink); }

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--leaf);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1.05; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
h4 { font-size: clamp(1.1rem, 1.6vw, 1.3rem); }

p { color: var(--ink-soft); }
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 46ch;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--leaf);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--marigold);
  border-radius: var(--r-full);
}
.eyebrow.on-dark { color: var(--leaf-light); }
.eyebrow.on-dark::before { background: var(--marigold); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }

mark.hl {
  background: none;
  color: var(--leaf);
  position: relative;
  white-space: nowrap;
}
mark.hl.amber { color: var(--marigold); }
mark.hl.bloom { color: var(--hibiscus); }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-pad); position: relative; }
.section.tight { padding-block: clamp(40px, 6vw, 80px); }
.section.surface { background: var(--surface); }
.section.mist { background: var(--mist); }
.section.dark {
  background: var(--leaf-deep);
  color: var(--paper);
}
.section.dark p { color: rgba(245,248,241,0.7); }
.section.dark h1, .section.dark h2, .section.dark h3, .section.dark h4 { color: var(--surface); }

.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.split.reverse { grid-template-columns: 1fr 1.1fr; }
.split.reverse > :first-child { order: 2; }

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 15px 28px;
  border-radius: var(--r-full);
  border: 2px solid transparent;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease), background var(--speed) var(--ease), color var(--speed) var(--ease), border-color var(--speed) var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--leaf);
  color: var(--surface);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--leaf-deep); box-shadow: var(--shadow-lg); }

.btn-accent {
  background: var(--hibiscus);
  color: var(--surface);
  box-shadow: 0 12px 32px rgba(255,92,114,0.28);
}
.btn-accent:hover { background: #E84A60; }

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--leaf); color: var(--leaf); }

.btn-ghost.on-dark { border-color: rgba(255,255,255,0.25); color: var(--surface); }
.btn-ghost.on-dark:hover { border-color: var(--leaf-light); color: var(--leaf-light); }

.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

.btn-group { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }

/* ---------- Tags / pills ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--r-full);
  background: var(--leaf-pale);
  color: var(--leaf-deep);
}
.tag.amber { background: var(--marigold-pale); color: #8A5A0A; }
.tag.bloom { background: var(--hibiscus-pale); color: #C42A40; }
.tag.outline { background: transparent; border: 1px solid var(--line); color: var(--ink-soft); }

/* ===================================================================
   Navigation
   =================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  background: rgba(245,248,241,0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--speed) var(--ease), padding var(--speed) var(--ease), background var(--speed) var(--ease);
}
.nav.scrolled {
  border-bottom-color: var(--line);
  padding-block: 12px;
  box-shadow: var(--shadow-sm);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
}
.brand img { width: 40px; height: 44px; object-fit: contain; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand .brand-text small {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 34px);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-links a {
  position: relative;
  padding: 6px 2px;
  color: var(--ink-soft);
  transition: color var(--speed) var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--marigold);
  border-radius: var(--r-full);
  transition: width var(--speed) var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--leaf); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle.open .icon-menu { display: none; }
.nav-toggle.open .icon-close { display: block; }

@media (max-width: 880px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(82vw, 360px);
    background: var(--surface);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 40px var(--gutter);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform var(--speed) var(--ease);
    font-size: 1.4rem;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a::after { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions .btn-accent.desktop-only { display: none; }
}

/* ===================================================================
   Hero
   =================================================================== */
.hero {
  padding-top: clamp(120px, 18vh, 180px);
  padding-bottom: clamp(60px, 8vh, 100px);
  position: relative;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 8px; }
.hero-tamil {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  color: var(--leaf-deep);
  margin-top: 6px;
  font-weight: 600;
}

.hero-art { position: relative; }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  z-index: 0;
}
.blob-1 { width: 420px; height: 420px; background: var(--leaf-light); top: -120px; right: -100px; }
.blob-2 { width: 320px; height: 320px; background: var(--marigold); bottom: -80px; left: 10%; opacity: .25; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 420px; margin-inline: auto; }
}

/* ===================================================================
   Signature motif: Growth bars
   =================================================================== */
.growth-bars { display: flex; align-items: flex-end; gap: 6px; height: 100%; }
.growth-bars rect, .growth-bars .bar {
  transform-origin: bottom;
  transform: scaleY(0);
  animation: grow-bar 1.1s var(--ease) forwards;
}
@keyframes grow-bar {
  to { transform: scaleY(1); }
}

/* Divider strip of small growth bars between sections */
.bar-divider {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(4px, 1vw, 10px);
  height: 56px;
  margin-block: 8px;
  opacity: 0.9;
}
.bar-divider span {
  display: block;
  width: clamp(6px, 1.4vw, 14px);
  border-radius: 6px 6px 2px 2px;
  background: var(--leaf);
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 1s var(--ease);
}
.bar-divider span:nth-child(odd) { background: var(--leaf-light); }
.bar-divider span:nth-child(3n) { background: var(--marigold); }
.bar-divider.in-view span { transform: scaleY(1); }

/* Stat / bento cards with their own mini growth bar */
.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.stat-card .stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.stat-card .stat-label {
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.stat-card .mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 36px;
}
.stat-card .mini-bars span {
  display: block;
  width: 9px;
  border-radius: 4px 4px 1px 1px;
  background: var(--leaf-pale);
  transform-origin: bottom;
  transform: scaleY(0.18);
  transition: transform 1.1s var(--ease);
}
.stat-card.in-view .mini-bars span { transform: scaleY(var(--h, 1)); }
.stat-card .mini-bars span.fill { background: var(--leaf); }
.stat-card .mini-bars span.fill-amber { background: var(--marigold); }

/* ===================================================================
   Program cards
   =================================================================== */
.program-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.program-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--leaf-pale);
  color: var(--leaf-deep);
}
.program-icon svg { width: 28px; height: 28px; }
.program-card.amber .program-icon { background: var(--marigold-pale); color: #8A5A0A; }
.program-card.bloom .program-icon { background: var(--hibiscus-pale); color: #C42A40; }
.program-card h3 { margin-top: 4px; }
.program-card .num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
}
.program-card .card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--leaf);
}
.program-card .card-link svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.program-card:hover .card-link svg { transform: translateX(4px); }

/* ===================================================================
   Value / feature cards
   =================================================================== */
.value-card {
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 32px);
  background: var(--mist);
  border: 1px solid var(--line);
}
.value-card .program-icon { background: var(--surface); }

/* ===================================================================
   Process / "how we work" steps
   =================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 28px);
  counter-reset: step;
}
.step { position: relative; padding-top: 28px; border-top: 3px solid var(--line); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--leaf);
  display: block;
  margin-bottom: 14px;
}
.step h4 { margin-bottom: 8px; }
.step p { font-size: 0.95rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}

/* ===================================================================
   Event ticket cards
   =================================================================== */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(20px, 3vw, 28px);
}
.ticket {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.ticket:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.ticket-date {
  flex: 0 0 100px;
  background: var(--leaf-deep);
  color: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  text-align: center;
  position: relative;
  padding: 16px 8px;
}
.ticket-date .month {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--leaf-light);
}
.ticket-date .day { font-size: 2.1rem; font-weight: 700; line-height: 1; margin-top: 4px; }
.ticket-date .year { font-size: 0.7rem; opacity: 0.6; margin-top: 4px; }
.ticket-date::after {
  content: "";
  position: absolute;
  right: -8px; top: 50%;
  width: 16px; height: 16px;
  background: var(--paper);
  border-radius: 50%;
  transform: translateY(-50%);
}
.ticket-body {
  flex: 1;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 2px dashed var(--line);
}
.ticket-body h4 { font-size: 1.1rem; }
.ticket-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ticket-meta span { display: inline-flex; align-items: center; gap: 6px; }
.ticket-meta svg { width: 14px; height: 14px; flex-shrink: 0; }
.ticket-body p { font-size: 0.92rem; }
.ticket.past { opacity: 0.7; }
.ticket.past .ticket-date { background: var(--ink-faint); }
.ticket.past .ticket-date .month { color: var(--surface); }

/* ===================================================================
   Testimonials
   =================================================================== */
.testimonial-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 28px);
}
@media (max-width: 900px) {
  .testimonial-track { grid-template-columns: 1fr; }
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.testimonial-card .quote-mark {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--marigold);
}
.testimonial-card p.quote { color: var(--ink); font-size: 1.02rem; }
.testimonial-person { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--surface);
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-person .who { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; }
.testimonial-person .where { font-size: 0.82rem; color: var(--ink-faint); }

/* ===================================================================
   Forms
   =================================================================== */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 700px) {
  .form-grid { grid-template-columns: 1fr; }
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 700;
}
.field input, .field textarea, .field select {
  border: 1.5px solid var(--line);
  background: var(--surface);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  color: var(--ink);
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--leaf);
  box-shadow: 0 0 0 4px var(--leaf-pale);
  outline: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field.checkrow { flex-direction: row; align-items: flex-start; gap: 10px; }
.field.checkrow input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--leaf); }
.field.checkrow label { text-transform: none; font-size: 0.88rem; letter-spacing: normal; font-weight: 400; color: var(--ink-soft); font-family: var(--font-body); }

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
}

.form-success {
  display: none;
  align-items: center;
  gap: 14px;
  background: var(--leaf-pale);
  border: 1px solid var(--leaf-light);
  border-radius: var(--r-md);
  padding: 18px 22px;
  margin-top: 18px;
  color: var(--leaf-deep);
  font-weight: 600;
}
.form-success.show { display: flex; }
.form-success svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ===================================================================
   Accordion (FAQ)
   =================================================================== */
.accordion-item {
  border-bottom: 1px solid var(--line);
}
.accordion-item:first-child { border-top: 1px solid var(--line); }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  padding: 24px 4px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}
.accordion-trigger .plus {
  width: 28px; height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.accordion-trigger .plus::before, .accordion-trigger .plus::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform var(--speed) var(--ease), background var(--speed) var(--ease);
}
.accordion-trigger .plus::before { width: 12px; height: 1.5px; }
.accordion-trigger .plus::after { width: 1.5px; height: 12px; }
.accordion-item.open .accordion-trigger .plus { border-color: var(--leaf); transform: rotate(180deg); }
.accordion-item.open .accordion-trigger .plus::after { transform: scaleY(0); }
.accordion-item.open .accordion-trigger .plus::before,
.accordion-item.open .accordion-trigger .plus::after { background: var(--leaf); }

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--speed) var(--ease);
}
.accordion-panel-inner { padding: 0 4px 24px; max-width: 70ch; }
.accordion-panel-inner p { font-size: 0.97rem; }

/* ===================================================================
   CTA banner
   =================================================================== */
.cta-banner {
  border-radius: var(--r-xl);
  background: var(--leaf-deep);
  color: var(--surface);
  padding: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: "";
  position: absolute;
  right: -60px; bottom: -90px;
  width: 280px; height: 280px;
  background: var(--leaf);
  opacity: 0.35;
  border-radius: 50%;
  filter: blur(10px);
}
.cta-banner h2 { color: var(--surface); margin-bottom: 14px; }
.cta-banner p { color: rgba(245,248,241,0.72); max-width: 46ch; }
.cta-banner .btn-group { margin-top: 28px; }
.cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.cta-split .pill {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-lg);
  padding: 28px 22px;
  text-align: center;
  transition: background var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.cta-split .pill:hover { background: rgba(255,255,255,0.12); transform: translateY(-4px); }
.cta-split .pill .pill-icon {
  width: 52px; height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
}
.cta-split .pill .pill-icon svg { width: 24px; height: 24px; color: var(--marigold); }
.cta-split .pill strong { font-family: var(--font-display); display: block; margin-bottom: 6px; font-size: 1.05rem; }
.cta-split .pill span { font-size: 0.85rem; color: rgba(245,248,241,0.65); }

@media (max-width: 900px) {
  .cta-banner { grid-template-columns: 1fr; }
}

/* ===================================================================
   Page hero (sub-pages)
   =================================================================== */
.page-hero {
  padding-top: clamp(120px, 16vh, 170px);
  padding-bottom: clamp(48px, 6vh, 80px);
  position: relative;
  overflow: hidden;
}
.page-hero .breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 8px;
}
.page-hero .breadcrumb a { color: var(--leaf); }
.page-hero h1 { max-width: 16ch; }
.page-hero .lead { margin-top: 18px; }

/* ===================================================================
   Scroll reveal
   =================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { transition: none; opacity: 1; transform: none; }
  .bar-divider span, .growth-bars .bar, .stat-card .mini-bars span { transition: none; animation: none; transform: scaleY(1); }
  html { scroll-behavior: auto; }
}

/* ===================================================================
   Marquee / word ticker
   =================================================================== */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 18px;
}
.marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  color: var(--ink-faint);
}
.marquee-track span.dot { color: var(--marigold); }
.marquee-track span.active { color: var(--leaf); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ===================================================================
   Founder / profile card
   =================================================================== */
.founder-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 44px);
}
.founder-photo {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  position: relative;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-photo .badge {
  position: absolute;
  bottom: 14px; left: 14px;
  background: var(--surface);
  border-radius: var(--r-full);
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--leaf-deep);
  box-shadow: var(--shadow-sm);
}
.founder-info .role {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--leaf);
  font-weight: 700;
  margin-bottom: 6px;
}
.founder-info h3 { margin-bottom: 14px; }
.founder-info blockquote {
  border-left: 3px solid var(--marigold);
  padding-left: 18px;
  font-family: var(--font-display);
  font-style: normal;
  font-size: 1.1rem;
  color: var(--ink);
  margin: 18px 0;
}
.founder-contact {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.founder-contact a, .founder-contact span { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); }
.founder-contact svg { width: 16px; height: 16px; color: var(--leaf); }

@media (max-width: 760px) {
  .founder-card { grid-template-columns: 1fr; }
  .founder-photo { max-width: 220px; margin-inline: auto; }
}

/* ===================================================================
   Timeline (history / past events)
   =================================================================== */
.timeline { position: relative; padding-left: 36px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--line);
}
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -36px; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--leaf);
}
.timeline-item .when {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--leaf);
  font-weight: 700;
  margin-bottom: 6px;
}
.timeline-item h4 { margin-bottom: 6px; }
.timeline-item p { font-size: 0.95rem; }

/* ===================================================================
   Donation tiers & fund allocation
   =================================================================== */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .tier-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tier-grid { grid-template-columns: 1fr; } }
.tier-card {
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  text-align: center;
  background: var(--surface);
  transition: border-color var(--speed) var(--ease), transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
  cursor: pointer;
}
.tier-card:hover, .tier-card.selected {
  border-color: var(--leaf);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.tier-card .amount {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
}
.tier-card .what { font-size: 0.85rem; color: var(--ink-soft); margin-top: 8px; }

.allocation-list { display: flex; flex-direction: column; gap: 18px; }
.allocation-row { display: grid; grid-template-columns: 160px 1fr 60px; align-items: center; gap: 16px; }
.allocation-row .label { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }
.allocation-row .bar-track {
  height: 12px;
  background: var(--mist);
  border-radius: var(--r-full);
  overflow: hidden;
}
.allocation-row .bar-fill {
  height: 100%;
  border-radius: var(--r-full);
  background: var(--leaf);
  width: 0;
  transition: width 1.2s var(--ease);
}
.allocation-row.amber .bar-fill { background: var(--marigold); }
.allocation-row.bloom .bar-fill { background: var(--hibiscus); }
.allocation-row.in-view .bar-fill { width: var(--pct); }
.allocation-row .pct { font-family: var(--font-mono); font-weight: 700; text-align: right; }
@media (max-width: 600px) {
  .allocation-row { grid-template-columns: 100px 1fr 50px; }
}

/* ===================================================================
   Role / volunteer cards
   =================================================================== */
.role-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1000px) { .role-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .role-grid { grid-template-columns: 1fr; } }
.role-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 20px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.role-card .program-icon { width: 46px; height: 46px; }
.role-card .program-icon svg { width: 22px; height: 22px; }
.role-card h4 { font-size: 1rem; }
.role-card p { font-size: 0.88rem; }

/* ===================================================================
   Contact info cards
   =================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-card a { color: var(--leaf); font-weight: 600; }
.contact-card p { font-size: 0.95rem; }

.map-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16/7;
  filter: saturate(0.85);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 700px) { .map-frame { aspect-ratio: 4/5; } }

/* ===================================================================
   Program detail sections (programs.html)
   =================================================================== */
.program-detail {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding-block: clamp(48px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}
.program-detail:last-of-type { border-bottom: none; }
.program-detail.reverse { grid-template-columns: 1.15fr 1fr; }
.program-detail.reverse > .pd-media { order: 2; }
.program-detail .pd-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--leaf);
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}
.program-detail h2 { margin-bottom: 14px; }
.program-detail .pd-list { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.program-detail .pd-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.95rem; color: var(--ink);
}
.program-detail .pd-list svg { width: 18px; height: 18px; color: var(--leaf); flex-shrink: 0; margin-top: 2px; }
.program-detail .pd-meta {
  display: flex; gap: 28px; margin-top: 24px; flex-wrap: wrap;
}
.program-detail .pd-meta div { display: flex; flex-direction: column; gap: 4px; }
.program-detail .pd-meta .k {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint);
}
.program-detail .pd-meta .v { font-family: var(--font-display); font-weight: 700; }

.pd-media {
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--mist);
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 900px) {
  .program-detail, .program-detail.reverse { grid-template-columns: 1fr; }
  .program-detail.reverse > .pd-media { order: 0; }
}

/* ===================================================================
   Partner / collaborator strip
   =================================================================== */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .partner-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .partner-grid { grid-template-columns: repeat(2, 1fr); } }
.partner-chip {
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
  padding: 18px 14px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.partner-chip svg { width: 26px; height: 26px; color: var(--leaf); }

/* ===================================================================
   Footer
   =================================================================== */
.footer {
  background: var(--leaf-deep);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.footer .bar-divider span { background: rgba(245,248,241,0.18); }
.footer .bar-divider span.fill { background: var(--marigold); }
.footer-top {
  padding-block: clamp(56px, 7vw, 96px);
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: clamp(32px, 4vw, 48px);
}
.footer-brand .brand { color: var(--surface); }
.footer-brand p { color: rgba(245,248,241,0.65); margin-top: 16px; max-width: 32ch; }
.footer-col h4 { color: var(--surface); font-size: 1rem; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  color: rgba(245,248,241,0.65);
  font-size: 0.92rem;
  transition: color var(--speed) var(--ease);
}
.footer-col a:hover { color: var(--leaf-light); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--leaf-light); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(245,248,241,0.18);
  border-radius: 50%;
  transition: background var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.footer-social a:hover { background: var(--leaf); border-color: var(--leaf); }
.footer-social svg { width: 18px; height: 18px; color: var(--surface); }

.footer-bottom {
  border-top: 1px solid rgba(245,248,241,0.12);
  padding-block: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(245,248,241,0.5);
}
.footer-bottom .legal-tags { display: flex; gap: 14px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.04em; }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ===================================================================
   Back to top
   =================================================================== */
.back-to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--leaf);
  color: var(--surface);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none;
  transform: translateY(12px);
  transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease), background var(--speed) var(--ease);
  z-index: 90;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--leaf-deep); }
.back-to-top svg { width: 20px; height: 20px; }

/* ===================================================================
   Utilities
   =================================================================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 32px; }
.mt-lg { margin-top: 56px; }
.mx-auto { margin-inline: auto; }
.muted { color: var(--ink-faint); }
.small { font-size: 0.85rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
