/* ============================================================
   NABUMALI89 — Design System
   Custom CSS replacing Bootstrap
   Palette: Deep forest green + warm gold + off-white + dark slate
   Typeface: Cormorant Garamond (display) + DM Sans (body)
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

/* ── Tokens ── */
:root {
  --green-950: #0a1a0f;
  --green-900: #112214;
  --green-800: #1a3620;
  --green-700: #245030;  /* primary brand */
  --green-600: #2d6a3f;
  --green-500: #3a8550;
  --green-400: #5aab6e;
  --green-200: #a8d8b5;
  --green-100: #d4eedd;
  --green-50:  #edf7f0;

  --gold-900:  #3d2800;
  --gold-700:  #8a5a00;
  --gold-500:  #c68b00;  /* primary accent */
  --gold-400:  #d9a020;
  --gold-300:  #e8ba50;
  --gold-200:  #f0cf80;
  --gold-100:  #f8e8b8;
  --gold-50:   #fdf6e3;

  --slate-900: #12100e;
  --slate-800: #1e1c18;
  --slate-700: #2e2b24;
  --slate-600: #46423a;
  --slate-400: #7a756a;
  --slate-300: #a09990;
  --slate-200: #ccc8c0;
  --slate-100: #e8e4dc;
  --slate-50:  #f5f2ee;

  --white:     #ffffff;
  --cream:     #faf8f4;

  /* Semantic aliases */
  --color-bg:          var(--cream);
  --color-surface:     var(--white);
  --color-border:      var(--slate-200);
  --color-border-soft: var(--slate-100);
  --color-text:        var(--slate-800);
  --color-text-muted:  var(--slate-400);
  --color-text-light:  var(--slate-300);
  --color-accent:      var(--gold-500);
  --color-accent-hover:var(--gold-400);
  --color-primary:     var(--green-700);
  --color-primary-hover:var(--green-600);
  --color-primary-dark:var(--green-900);

  /* Spacing scale */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Type scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(18,16,14,0.06), 0 1px 2px rgba(18,16,14,0.04);
  --shadow-md:  0 4px 12px rgba(18,16,14,0.08), 0 2px 4px rgba(18,16,14,0.04);
  --shadow-lg:  0 12px 32px rgba(18,16,14,0.12), 0 4px 8px rgba(18,16,14,0.06);
  --shadow-gold:0 0 0 3px rgba(198,139,0,0.2);

  /* Motion */
  --ease-out: cubic-bezier(0.0, 0.0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0.0, 0.2, 1);
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 400ms;

  /* Nav height */
  --nav-height: 68px;

  /* Font families */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }
address { font-style: normal; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.container--narrow { max-width: 820px; }
.container--wide   { max-width: 1320px; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-primary-dark);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(var(--text-3xl), 5vw, var(--text-6xl)); }
h2 { font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl)); }
h3 { font-size: clamp(var(--text-xl), 2.5vw, var(--text-2xl)); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }

p { max-width: 68ch; }
p + p { margin-top: var(--space-4); }

.lead {
  font-size: var(--text-lg);
  font-weight: 300;
  color: var(--slate-600);
  line-height: 1.75;
}

.text-muted  { color: var(--color-text-muted); }
.text-center { text-align: center; }
.text-right  { text-align: right; }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
}

/* ── Decorative rule ── */
.section-rule {
  display: inline-block;
  width: 48px;
  height: 2px;
  background: var(--color-accent);
  margin-bottom: var(--space-4);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: background var(--duration-base) var(--ease-out),
              color var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              transform var(--duration-fast) var(--ease-out);
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--color-primary);
  color: var(--white);
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  box-shadow: var(--shadow-md);
}
.btn-gold {
  background: var(--gold-500);
  color: var(--white);
  border-color: var(--gold-500);
}
.btn-gold:hover {
  background: var(--gold-400);
  border-color: var(--gold-400);
  box-shadow: 0 4px 16px rgba(198,139,0,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: var(--white);
}
.btn-outline-gold {
  background: transparent;
  color: var(--gold-500);
  border-color: var(--gold-500);
}
.btn-outline-gold:hover {
  background: var(--gold-50);
}
.btn-sm { padding: 0.45rem 1rem; font-size: var(--text-xs); }
.btn-lg { padding: 0.85rem 2rem; font-size: var(--text-base); }

/* ── NAV ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(250,248,244,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-soft);
  display: flex;
  align-items: center;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}
.nav-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-brand-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--green-800);
  letter-spacing: -0.01em;
}
.nav-brand-tagline {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-style: italic;
  font-weight: 300;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--slate-600);
  border-radius: var(--radius-sm);
  transition: color var(--duration-fast), background var(--duration-fast);
}
.nav-link:hover {
  color: var(--green-700);
  background: var(--green-50);
}
.nav-link.active {
  color: var(--green-700);
  font-weight: 500;
}
.nav-link.active::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -1px;
  left: var(--space-3);
  right: var(--space-3);
  height: 2px;
  background: var(--gold-500);
  border-radius: var(--radius-full);
}
.nav-link { position: relative; }

.nav-contact {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.nav-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  color: var(--slate-500);
  transition: color var(--duration-fast), background var(--duration-fast);
}
.nav-icon-link:hover {
  color: var(--green-700);
  background: var(--green-50);
}
.nav-icon-link svg { width: 18px; height: 18px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: none;
  border: none;
  transition: background var(--duration-fast);
}
.nav-toggle:hover { background: var(--green-50); }
.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--slate-700);
  border-radius: var(--radius-full);
  transition: transform var(--duration-base) var(--ease-in-out),
              opacity var(--duration-base) var(--ease-in-out);
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--nav-height) 0 0 0;
  background: var(--cream);
  z-index: 99;
  padding: var(--space-6);
  flex-direction: column;
  gap: var(--space-2);
  border-top: 1px solid var(--color-border-soft);
  overflow-y: auto;
  animation: slideDown var(--duration-slow) var(--ease-out) forwards;
}
.nav-mobile.open { display: flex; }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-mobile .nav-link {
  font-size: var(--text-lg);
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-border-soft);
}
.nav-mobile-contact {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border-soft);
}

@media (max-width: 900px) {
  .nav-links, .nav-contact { display: none; }
  .nav-toggle { display: flex; }
}

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding: var(--space-5) 0 var(--space-8);
}
.breadcrumb a { color: var(--color-text-muted); transition: color var(--duration-fast); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb-sep { color: var(--color-border); }
.breadcrumb-current { color: var(--slate-600); }

/* ── PAGE HEADER ── */
.page-header {
  padding: var(--space-16) 0 var(--space-12);
  border-bottom: 1px solid var(--color-border-soft);
  margin-bottom: var(--space-16);
}
.page-header .eyebrow { margin-bottom: var(--space-3); }
.page-header h1 { color: var(--green-900); }
.page-header .lead { margin-top: var(--space-4); max-width: 56ch; }

/* ── FOOTER ── */
.site-footer {
  margin-top: auto;
  background: var(--green-900);
  color: var(--green-200);
  padding: var(--space-12) 0 var(--space-8);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--white);
  margin-bottom: var(--space-2);
}
.footer-brand-tagline {
  font-size: var(--text-sm);
  font-style: italic;
  color: var(--green-400);
  margin-bottom: var(--space-4);
}
.footer-brand p {
  font-size: var(--text-sm);
  color: var(--green-200);
  max-width: 28ch;
  line-height: 1.6;
}
.footer-heading {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--space-4);
}
.footer-links li + li { margin-top: var(--space-2); }
.footer-links a {
  font-size: var(--text-sm);
  color: var(--green-200);
  transition: color var(--duration-fast);
}
.footer-links a:hover { color: var(--gold-300); }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--green-200);
  margin-bottom: var(--space-3);
}
.footer-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--gold-300); }
.footer-contact-item a { color: var(--green-200); transition: color var(--duration-fast); }
.footer-contact-item a:hover { color: var(--gold-300); }
.footer-bottom {
  padding-top: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--green-400);
}
.footer-bottom-links { display: flex; gap: var(--space-4); }
.footer-bottom-links a { color: var(--green-400); transition: color var(--duration-fast); }
.footer-bottom-links a:hover { color: var(--gold-300); }

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer-bottom { flex-direction: column; gap: var(--space-3); text-align: center; }
}

/* ── SECTIONS ── */
.section { padding: var(--space-20) 0; }
.section + .section { padding-top: 0; }
.section--alt { background: var(--green-50); }
.section--dark {
  background: var(--green-900);
  color: var(--green-100);
}
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--white); }
.section--dark .eyebrow { color: var(--gold-300); }
.section--dark p { color: var(--green-200); }

/* ── CARDS ── */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.card-body { padding: var(--space-6); }
.card-header {
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--color-border-soft);
  background: var(--slate-50);
}

/* ── VALUE BADGE ── */
.value-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--green-700);
}
.value-badge::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--gold-500);
  flex-shrink: 0;
}

/* ── TIMELINE ── */
.timeline { position: relative; padding-left: var(--space-8); }
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold-300), var(--green-400));
}
.timeline-item {
  position: relative;
  padding-bottom: var(--space-8);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-8) - 5px);
  top: 6px;
  width: 11px;
  height: 11px;
  border-radius: var(--radius-full);
  background: var(--gold-500);
  border: 2px solid var(--cream);
  box-shadow: 0 0 0 2px var(--gold-300);
}
.timeline-date {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: var(--space-1);
}
.timeline-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--green-900);
  margin-bottom: var(--space-2);
}
.timeline-body {
  font-size: var(--text-base);
  color: var(--slate-600);
  line-height: 1.6;
}

/* ── PERSON CARD ── */
.person-card {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);
}
.person-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.person-card-avatar {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--green-100) 0%, var(--gold-100) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 500;
  color: var(--green-700);
}
.person-card-body { padding: var(--space-4) var(--space-5); }
.person-card-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--green-900);
  margin-bottom: var(--space-1);
}
.person-card-role {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-500);
}

/* ── COMMITTEE CARD ── */
.committee-card {
  padding: var(--space-6);
  background: var(--white);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--gold-400);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.committee-acronym {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--green-800);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-1);
}
.committee-name {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}
.committee-desc {
  font-size: var(--text-sm);
  color: var(--slate-600);
  line-height: 1.6;
}

/* ── OBJECTIVE CARD ── */
.objective-card {
  padding: var(--space-8);
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--duration-base), transform var(--duration-base);
}
.objective-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.objective-number {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 500;
  color: var(--green-100);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.objective-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--green-900);
  margin-bottom: var(--space-3);
}
.objective-desc {
  font-size: var(--text-base);
  color: var(--slate-600);
  line-height: 1.65;
}

/* ── STAT STRIP ── */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat-item {
  background: var(--color-surface);
  padding: var(--space-6) var(--space-5);
  text-align: center;
}
.stat-value {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 500;
  color: var(--green-800);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.stat-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ── GRID HELPERS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-6); }

@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-4 { grid-template-columns: 1fr; }
}

/* ── MEMBER MODAL ── */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,26,15,0.7);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  backdrop-filter: blur(4px);
}
.modal-backdrop.open { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 620px;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  animation: modalIn var(--duration-slow) var(--ease-out) forwards;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-header {
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--color-border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.modal-header h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--green-900);
}
.modal-close {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: background var(--duration-fast), color var(--duration-fast);
}
.modal-close:hover { background: var(--slate-100); color: var(--color-text); }
.modal-close svg { width: 18px; height: 18px; }
.modal-tabs {
  display: flex;
  gap: 2px;
  padding: var(--space-3) var(--space-6);
  border-bottom: 1px solid var(--color-border-soft);
  flex-wrap: wrap;
  flex-shrink: 0;
  background: var(--slate-50);
}
.modal-tab {
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 500;
  border-radius: var(--radius-full);
  cursor: pointer;
  color: var(--slate-500);
  transition: background var(--duration-fast), color var(--duration-fast);
  border: 1px solid transparent;
}
.modal-tab:hover { background: var(--white); color: var(--green-700); }
.modal-tab.active {
  background: var(--white);
  color: var(--green-700);
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}
.modal-body {
  padding: var(--space-6);
  overflow-y: auto;
  flex: 1;
}
.modal-pane { display: none; }
.modal-pane.active { display: block; }
.member-list {
  columns: 2;
  column-gap: var(--space-6);
}
.member-list li {
  font-size: var(--text-sm);
  color: var(--slate-700);
  padding: var(--space-1) 0;
  border-bottom: 1px solid var(--color-border-soft);
  break-inside: avoid;
  font-family: var(--font-body);
}
@media (max-width: 500px) { .member-list { columns: 1; } }

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-12);
  align-items: start;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--white);
  margin-bottom: var(--space-4);
  transition: box-shadow var(--duration-base), transform var(--duration-base);
}
.contact-item:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-700);
}
.contact-icon svg { width: 18px; height: 18px; }
.contact-item-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-1);
}
.contact-item-value {
  font-size: var(--text-base);
  color: var(--color-text);
}
.contact-item-value a {
  color: var(--green-700);
  transition: color var(--duration-fast);
}
.contact-item-value a:hover { color: var(--gold-500); }

/* Contact form */
.form-group { margin-bottom: var(--space-5); }
label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--slate-700);
  margin-bottom: var(--space-2);
}
input, textarea, select {
  width: 100%;
  padding: 0.65rem var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
  line-height: 1.5;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(58,133,80,0.12);
}
textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }

/* ── EVENTS ── */
.calendar-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}
.calendar-wrapper iframe {
  display: block;
  width: 100%;
  height: 520px;
  border: none;
}

/* ── HERO (index) ── */
.hero {
  padding: var(--space-20) 0 var(--space-16);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(36,80,48,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-12);
  align-items: center;
}
.hero-text {}
.hero-eyebrow { margin-bottom: var(--space-4); }
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 500;
  line-height: 1.08;
  color: var(--green-900);
  margin-bottom: var(--space-6);
}
.hero-headline em {
  font-style: italic;
  color: var(--green-600);
}
.hero-sub {
  font-size: var(--text-lg);
  font-weight: 300;
  color: var(--slate-600);
  line-height: 1.75;
  margin-bottom: var(--space-8);
  max-width: 48ch;
}
.hero-actions { display: flex; gap: var(--space-4); flex-wrap: wrap; }
.hero-image {
  position: relative;
}
.hero-image img {
  width: 100%;
  border-radius: var(--radius-xl);
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.hero-image-badge {
  position: absolute;
  bottom: var(--space-5);
  left: calc(-1 * var(--space-6));
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-md);
}
.hero-image-badge .stat-value { font-size: var(--text-2xl); }
.hero-image-badge .stat-label { font-size: var(--text-xs); }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { order: -1; }
  .hero-image-badge { left: var(--space-4); }
  .hero-headline { font-size: clamp(2rem, 6vw, 3rem); }
}

/* ── SACCO PREVIEW (index) ── */
.sacco-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.sacco-item {
  background: var(--white);
  padding: var(--space-6);
  text-align: center;
}
.sacco-item-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-3);
  color: var(--green-700);
}
.sacco-item-icon svg { width: 22px; height: 22px; }
.sacco-item-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--green-900);
  margin-bottom: var(--space-1);
}
.sacco-item-sub { font-size: var(--text-sm); color: var(--color-text-muted); }

@media (max-width: 600px) { .sacco-strip { grid-template-columns: 1fr; } }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-up {
  animation: fadeUp var(--duration-slow) var(--ease-out) both;
}
.delay-1 { animation-delay: 100ms; }
.delay-2 { animation-delay: 200ms; }
.delay-3 { animation-delay: 300ms; }
.delay-4 { animation-delay: 400ms; }
.delay-5 { animation-delay: 500ms; }

/* ── UTILITY ── */
.mt-auto { margin-top: auto; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mt-16 { margin-top: var(--space-16); }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }
.hidden { display: none; }

/* Print */
@media print {
  .site-nav, .site-footer { display: none; }
}
