/* =====================================================================
   JULIAN CHO SOCIETY — UNIFIED STYLESHEET
   Theme: Green & White (forest, sage, cream)
   Works standalone in browser AND inside WordPress / Elementor.
   ===================================================================== */

/* ========== 1. RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Aggressive top-spacing kill: zero out html margins/padding so nothing
      WP / OceanWP / HostGator can push our header down. ─────────────────────── */
html,
html.wp-toolbar { margin: 0 !important; padding: 0 !important; }

#wpadminbar,
#wpadminbar *,
#top-bar-wrap, .top-bar-wrap,
#top-bar, .top-bar,
#oceanwp-topbar, .oceanwp-topbar,
.nfd-notice, .nfd-banner,
#site-header-above,
.site-above-header,
.notice-bar { display: none !important; }

/* Header pinned to absolute top of viewport. Using position:fixed (instead of
   sticky) so a flaky positioning context cannot push it down by even 1px. */
body > header.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  z-index: 100 !important;
}

/* Body: zero margin, but reserve top padding equal to header height so
   content isn't hidden behind the fixed header. */
html body { margin: 0 !important; padding-top: 128px !important; padding-bottom: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
@media (max-width: 768px) {
  html body { padding-top: 96px !important; }
  :root { --header-h: 96px; }
}

html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 2px; border-radius: 4px; }

/* ========== 2. DESIGN TOKENS ========== */
/* PALETTE — Green & White
   Forest greens for structure (header text, footer, headings)
   Sage greens for accents (eyebrows, links, hover states)
   Cream for soft backgrounds and on-dark text
   White as the dominant page background */
:root {
  /* Greens (primary palette) */
  --forest:        #1f3626;
  --forest-mid:    #2a4533;
  --forest-light:  #3b5c44;
  --sage:          #6b8c5c;
  --sage-light:    #a8bf9a;
  --sage-pale:     #c8d4a8;

  /* Legacy accent aliases — remapped back to greens so any leftover --red / --gold use blends in */
  --red:           #1f3626;            /* maps to forest */
  --red-dark:      #14241a;            /* maps to text-dark */
  --gold:          #c8d4a8;            /* maps to sage-pale */
  --gold-deep:     #6b8c5c;            /* maps to sage */
  --black:         #14241a;            /* near-black text colour */
  --gray:          #eef2dd;            /* maps to cream */
  --gray-warm:     #f0ead0;

  /* Whites & accents */
  --white:         #ffffff;
  --off-white:     #f9faf6;
  --cream:         #eef2dd;
  --cream-warm:    #f0ead0;
  --card-bg:       #f4f6ec;

  /* Text */
  --text-dark:     #14241a;
  --text-mid:      #3d5245;
  --text-muted:    #6b8070;

  /* Lines & shadows (forest-tinted) */
  --border:        rgba(31,54,38,0.10);
  --border-mid:    rgba(31,54,38,0.20);
  --shadow-sm:     0 2px 6px rgba(31,54,38,0.06);
  --shadow-md:     0 8px 24px rgba(31,54,38,0.10);
  --shadow-lg:     0 16px 40px rgba(31,54,38,0.14);

  /* Layout */
  --max-w:         1200px;
  --max-w-narrow:  860px;
  --gutter:        clamp(20px, 4vw, 40px);
  --header-h:      128px;

  /* Type */
  --font-heading: 'Playfair Display', 'Merriweather', Georgia, serif;
  --font-body:    'DM Sans', 'Inter', system-ui, sans-serif;
  --font-italic:  'Lora', Georgia, serif;
}

/* ========== 3. TYPOGRAPHY ========== */
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 14px;
  display: inline-block;
}
.eyebrow.on-dark { color: var(--sage-light); }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--text-dark); }
.h1 { font-size: clamp(38px, 5.5vw, 64px); line-height: 1.08; }
.h2 { font-size: clamp(28px, 3.6vw, 44px); }
.h3 { font-size: clamp(22px, 2.6vw, 30px); }
.h4 { font-size: clamp(17px, 1.8vw, 22px); }
.lead { font-size: clamp(16px, 1.6vw, 18px); line-height: 1.75; color: var(--text-mid); font-weight: 300; }
em.italic, .italic { font-family: var(--font-italic); font-style: italic; font-weight: 400; }

/* ========== 4. BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.15s, background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  font-family: var(--font-body);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}
.btn-primary:hover { background: var(--forest-mid); border-color: var(--forest-mid); box-shadow: var(--shadow-md); }
.btn-secondary {
  background: var(--white);
  color: var(--forest);
  border-color: var(--forest);
}
.btn-secondary:hover { background: var(--forest); color: var(--white); }
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-cream {
  background: var(--cream);
  color: var(--forest);
  border-color: var(--cream);
}
.btn-cream:hover { background: var(--white); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-row.center { justify-content: center; }

/* ========== 5. HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid rgba(31,54,38,0.08);
  transition: box-shadow 0.25s;
}
.site-header.scrolled { box-shadow: 0 2px 12px rgba(31,54,38,0.08); }
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--forest);
  flex-shrink: 0;
}
.brand-logo {
  width: auto;
  height: 108px;                   /* enlarged for visibility */
  border-radius: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: visible;
}
.brand-logo svg { width: 20px; height: 20px; }
.brand-logo img { height: 100%; width: auto; max-width: none; object-fit: contain; display: block; }
@media (max-width: 768px) {
  .brand-logo { height: 74px; }
}

/* Header: the logo image already contains "Julian Cho Society", so hide the duplicate text */
.site-header .brand-text { display: none; }
/* Footer: hide the redundant brand-name but KEEP the cultural tagline */
.site-footer .brand-name { display: none; }
.site-footer .brand-tagline {
  display: block;
  margin-top: 14px;
  font-size: 12px;
  color: var(--forest);
  letter-spacing: 0.02em;
  font-style: italic;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: -0.01em;
}
.brand-tagline {
  font-size: 10.5px;
  color: var(--sage);
  letter-spacing: 0.03em;
  margin-top: 1px;
}
.nav-primary {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav-primary a {
  display: block;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--forest);
  border-radius: 6px;
  transition: opacity 0.18s;
  position: relative;
}
.nav-primary a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--forest);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.nav-primary a:hover { opacity: 0.65; }
/* Active (current page) tab — brown */
.nav-primary a.active { font-weight: 700; color: #7a4f2a; opacity: 1; }
.nav-primary a.active::after { transform: scaleX(1); background: #7a4f2a; }
/* Mobile drawer active item */
.mobile-drawer a.active { color: #7a4f2a; font-weight: 700; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { padding: 9px 22px; font-size: 13px; font-weight: 600; }
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--forest);
  border: 1.5px solid rgba(31,54,38,0.18);
  transition: background 0.2s, border-color 0.2s;
}
.menu-toggle:hover { background: var(--cream); border-color: var(--sage); }
.menu-toggle svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile drawer — hidden off-screen until .open is toggled. Hide via
   opacity+visibility+pointer-events (not just transform) so a short drawer
   can't peek through. */
.mobile-drawer {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px var(--gutter) 28px;
  transform: translateY(-100vh);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s, visibility 0s linear 0.35s;
  z-index: 99;
  box-shadow: var(--shadow-md);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s, visibility 0s;
}
.mobile-drawer ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-drawer a {
  display: block;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.mobile-drawer a:hover, .mobile-drawer a.active {
  background: var(--cream);
  color: var(--forest);
}
.mobile-drawer .btn { width: 100%; margin-top: 16px; }

/* ========== 6. FOOTER ========== */
.site-footer {
  background: var(--white);
  color: var(--text-dark);
  padding: 72px var(--gutter) 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.site-footer::before { display: none; }   /* no pattern in the white footer */
.footer-inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
}
.footer-brand .brand { color: var(--text-dark); }
.footer-brand .brand-logo { background: transparent; }
.footer-brand .brand-name { color: var(--text-dark); }
.footer-brand .brand-tagline { color: var(--forest); }
.footer-desc {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-mid);
  max-width: 320px;
}
.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a {
  font-size: 14px;
  color: var(--text-mid);
  transition: color 0.2s, padding-left 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-col a:hover { color: var(--forest); padding-left: 4px; }
.footer-col p { font-size: 14px; color: var(--text-mid); line-height: 1.75; }
.footer-col p strong { color: var(--text-dark); font-weight: 600; display: block; margin-top: 8px; }
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(31,54,38,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s, color 0.2s;
  color: var(--forest);
}
.footer-social a:hover { background: var(--forest); color: var(--white); transform: translateY(-2px); padding-left: 0; }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }
/* Official platform brand colours (white glyph on brand badge) */
.footer-social a[aria-label="Facebook"]  { background: #1877F2; color: #fff; }
.footer-social a[aria-label="Instagram"] { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); color: #fff; }
.footer-social a[aria-label="YouTube"]   { background: #FF0000; color: #fff; }
.footer-social a[aria-label="WhatsApp"]  { background: #25D366; color: #fff; }
.footer-social a[aria-label]:hover { filter: brightness(1.12); transform: translateY(-2px); }
.footer-bottom {
  position: relative;
  border-top: 1px solid var(--border);
  padding: 22px 0 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: var(--text-muted); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--forest); }

/* ========== 7. SHARED COMPONENTS ========== */
.section { padding: clamp(56px, 8vw, 96px) var(--gutter); }
.section-narrow { padding: clamp(48px, 6vw, 72px) var(--gutter); }
.container { max-width: var(--max-w); margin: 0 auto; }
.container-narrow { max-width: var(--max-w-narrow); margin: 0 auto; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-header.left { text-align: left; margin-left: 0; }
.divider-line { height: 3px; width: 60px; background: var(--sage); border-radius: 2px; margin: 0 auto 24px; }
.divider-line.left { margin-left: 0; }

/* Photo frames (image with fallback placeholder) */
.photo-frame {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-light) 60%, var(--sage) 100%);
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-frame .photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}
.photo-frame img.loaded ~ .photo-placeholder { display: none; }
.photo-placeholder-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
}
.photo-placeholder-icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.4; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* Slide-up reveal — taller initial offset + springier easing for emphasis (used on Current Project cards) */
.reveal-slide-up {
  opacity: 0;
  transform: translate3d(0, 70px, 0);
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}
.reveal-slide-up.in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.reveal-slide-up.slide-d1 { transition-delay: 0.12s; }
.reveal-slide-up.slide-d2 { transition-delay: 0.24s; }
.reveal-slide-up.slide-d3 { transition-delay: 0.36s; }
@media (prefers-reduced-motion: reduce) {
  .reveal-slide-up { transform: none !important; opacity: 1 !important; transition: none !important; }
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Skip link (accessibility) */
/* Visually-hidden skip-link — invisible until keyboard-focused */
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  background: var(--forest);
  color: var(--white);
  z-index: 9999;
  text-decoration: none;
}
.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 16px;
  margin: 0;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
}

/* Generic page hero */
.page-hero {
  background: var(--forest);
  color: var(--white);
  padding: clamp(70px, 10vw, 120px) var(--gutter) clamp(70px, 8vw, 96px);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("../images/pattern.png");
  background-repeat: repeat;
  background-size: 1200px auto;
  opacity: 0.05;
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  animation: fadeUp 0.8s ease both;
}
.page-hero-inner.center { text-align: center; max-width: 800px; }
.page-hero h1 { color: var(--white); margin-bottom: 18px; }
.page-hero h1 em.italic { color: var(--sage-pale); }
.page-hero p { color: rgba(255,255,255,0.88); font-size: clamp(16px, 1.7vw, 18px); line-height: 1.75; max-width: 660px; }
.page-hero-inner.center p { margin-left: auto; margin-right: auto; }
.page-hero .breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--sage-light);
  margin-bottom: 22px;
}
.page-hero .breadcrumb a { color: var(--sage-light); transition: color 0.2s; }
.page-hero .breadcrumb a:hover { color: var(--white); }
.page-hero .breadcrumb-sep { opacity: 0.5; }

/* Generic CTA banner */
.cta-banner {
  background: var(--forest);
  padding: clamp(56px, 7vw, 80px) var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner.sage { background: var(--sage); }
.cta-banner.green {
  background-color: #0a4d28;                                 /* darker forest green; bg-image can layer on top */
}
/* Adds background photo support to any cta-banner — used for the Ab'ink section */
.cta-banner.has-bg-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.cta-banner.has-bg-image::before { display: none; }    /* remove greca pattern when a photo backdrop is set */

/* Title color override — used for Ab'ink section title */
.cta-banner .cta-headline-gold { color: var(--gold); }
.cta-banner .cta-headline-gold em.italic { color: var(--gold); font-weight: 400; }
/* Force each line of the gold headline onto its own single line (no wrap within) */
.cta-banner .cta-headline-gold .line {
  display: block;
  white-space: nowrap;
}
@media (max-width: 720px) {
  /* On phones, let lines wrap naturally instead of overflowing */
  .cta-banner .cta-headline-gold .line { white-space: normal; }
}
.cta-banner.green .eyebrow.on-dark { color: var(--gold); }   /* gold reads cleanly on dark green */
.cta-banner.green h2 { color: var(--white); }
.cta-banner.green p  { color: rgba(255,255,255,0.92); }
.cta-banner.cream { background: var(--cream); color: var(--text-dark); }

/* Larger headline variant for hero-style CTA */
.cta-banner .cta-headline-lg {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("../images/pattern.png");
  background-repeat: repeat;
  background-size: 1200px auto;
  opacity: 0.05;
  pointer-events: none;
}
.cta-banner.cream::before { display: none; }
.cta-banner-inner { position: relative; max-width: 680px; margin: 0 auto; }
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner.cream h2 { color: var(--text-dark); }
.cta-banner p { color: rgba(255,255,255,0.88); font-size: 16px; line-height: 1.75; margin-bottom: 32px; }
.cta-banner.cream p { color: var(--text-mid); }

/* ========== 8. HOME PAGE ========== */
/* Hero */
.home-hero {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-mid) 100%); /* fallback behind photo */
  color: var(--white);
  padding: clamp(80px, 12vw, 140px) var(--gutter) clamp(80px, 10vw, 120px);
  position: relative;
  overflow: hidden;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
/* Photo layer — scaled + shifted on scroll for a parallax zoom-in effect */
.home-hero::before {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('../images/hero-bg.jpg') center / cover no-repeat;
  transform: scale(var(--hero-scale, 1.06)) translateY(var(--hero-shift, 0px));
  transform-origin: center center;
  will-change: transform;
}
/* Dark overlay above the photo for text legibility */
.home-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(31,54,38,0.72) 0%, rgba(31,54,38,0.55) 100%);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .home-hero::before { transform: scale(1.06); }   /* static — no scroll animation */
}
.home-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  animation: fadeUp 0.9s ease both;
}
.home-hero-inner.centered { text-align: center; margin-left: auto; margin-right: auto; }
.home-hero-inner.centered .home-hero-sub { margin-left: auto; margin-right: auto; }
.home-hero h1 { color: var(--white); font-size: clamp(40px, 6vw, 72px); margin-bottom: 24px; }
.home-hero h1 em.italic {
  color: var(--sage-pale);
  font-size: 0.6em;          /* smaller than the H1 so long italic line fits one line */
  white-space: nowrap;
}
@media (max-width: 600px) {
  /* On narrow phones, let it wrap naturally instead of overflowing */
  .home-hero h1 em.italic { white-space: normal; }
}
.home-hero-sub {
  font-size: clamp(16px, 1.7vw, 19px);
  color: rgba(255,255,255,0.88);
  max-width: 720px;
  margin-bottom: 0;
  line-height: 1.75;
  font-weight: 300;
}

/* Stats bar */
.home-stats {
  background: var(--off-white);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.home-stat {
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.home-stat:last-child { border-right: none; }
.home-stat-num {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  color: var(--forest);
  line-height: 1;
  margin-bottom: 8px;
}
.home-stat-label { font-size: 13px; color: var(--sage); }

/* About split */
.home-about {
  background: var(--off-white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  position: relative;
  overflow: visible;
}
/* Circular emblem straddling the top edge, centered on the column seam */
.home-about-logo {
  position: absolute;
  top: clamp(-44px, -4vw, -64px);
  left: 50%;
  transform: translateX(-50%);
  width: clamp(96px, 11vw, 150px);
  height: auto;
  z-index: 6;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.22));
}
@media (max-width: 880px) {
  .home-about-logo { top: -42px; width: 92px; }
}
.home-about .photo-frame { min-height: 480px; }
.home-about .text {
  padding: clamp(48px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Initiatives grid */
.home-init { background: var(--cream); padding: clamp(56px, 8vw, 96px) var(--gutter); }
.init-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.init-card {
  background: var(--white);
  border-radius: 14px;
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.init-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sage);
}
.init-card.dark {
  background: var(--forest);
  color: var(--cream);
  border-color: transparent;
}
.init-card.dark:hover { background: var(--forest-mid); }
.init-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--cream);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background 0.25s, color 0.25s;
}
.init-card:hover .init-icon { background: var(--sage); color: var(--white); }
.init-card.dark .init-icon { background: rgba(255,255,255,0.1); color: var(--cream); }
.init-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.init-title {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}
.init-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  flex: 1;
}
.init-card.dark .init-desc { color: var(--sage-light); }
.init-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--forest);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
  margin-top: auto;
}
.init-card.dark .init-link { color: var(--cream); }
.init-link::after { content: '→'; transition: transform 0.2s; }
.init-card:hover .init-link::after { transform: translateX(4px); }

/* The Future We Dream — Li Ka Nabuuch (home vision) */
.home-vision {
  position: relative;
  background-color: var(--black);              /* fallback if image fails to load */
  color: var(--white);
  padding: clamp(64px, 8vw, 110px) var(--gutter);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.home-vision::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/vision-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}
.home-vision::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.60) 100%);
  z-index: -1;
}
.home-vision .section-header { text-align: center; max-width: 820px; margin: 0 auto 6px; }
.home-vision h2 { color: var(--white); margin-bottom: 14px; }
.home-vision h2 em.italic { color: var(--gold); }
.home-vision .divider-line { background: var(--gold); margin-bottom: 16px; }
.home-vision .lead { color: rgba(255,255,255,0.92); margin-bottom: 0; }

/* Bulleted vision list with glossy "bubble" markers */
.vision-list {
  list-style: none;
  padding: 0;
  margin: 22px auto 0;
  max-width: 680px;
}
.vision-list li {
  position: relative;
  padding: 13px 0 13px 38px;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.7;
  color: rgba(255,255,255,0.95);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.vision-list li:last-child { border-bottom: none; }
/* glossy bubble bullet */
.vision-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 21px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, rgba(255,255,255,0.95) 0%, var(--sage-light) 42%, var(--sage) 100%);
  box-shadow: 0 0 10px rgba(168,191,154,0.55), inset 0 -1px 2px rgba(0,0,0,0.18);
}
.vision-list li em.italic { color: var(--gold); font-weight: 500; }

/* Advocacy split (home) */
.home-advocacy {
  background: var(--forest);
  padding: clamp(56px, 8vw, 96px) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.home-advocacy::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("../images/pattern.png");
  background-repeat: repeat;
  background-size: 1200px auto;
  opacity: 0.05;
  pointer-events: none;
}
.home-advocacy > * { position: relative; }
.home-advocacy h2 { color: var(--white); }
.home-advocacy p { color: rgba(255,255,255,0.88); font-size: 16px; line-height: 1.75; }
.home-advocacy .photo-frame { border-radius: 14px; min-height: 360px; border: 1px solid rgba(255,255,255,0.08); }

/* Governance grid */
.home-gov { background: var(--white); padding: clamp(56px, 8vw, 96px) var(--gutter); }
.gov-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: var(--max-w);
  margin: 52px auto 0;
}
.gov-card {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 38px 30px;
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.gov-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--sage); }
.gov-card .num {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--sage);
  margin-bottom: 14px;
  line-height: 1;
}
.gov-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--text-dark);
}
.gov-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 22px; }
.gov-card .gov-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--sage);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.gov-card .gov-link:hover { color: var(--forest); }
.gov-card .gov-link::after { content: '→'; transition: transform 0.2s; }
.gov-card:hover .gov-link::after { transform: translateX(3px); }

/* ========== 9. ABOUT PAGE — accordions ========== */
.about-content { padding: clamp(48px, 6vw, 72px) var(--gutter); max-width: var(--max-w-narrow); margin: 0 auto; }
.about-intro { text-align: center; max-width: 720px; margin: 0 auto 56px; color: var(--text-muted); font-size: 16px; line-height: 1.85; }

/* ========================================================
   ABOUT US PAGE  —  rebuilt sections (history / audit / org
   / partnerships / biography)
   ======================================================== */

/* Compact page intro (replaces the dark page-hero on About) */
.about-page-intro {
  background: var(--off-white);
  padding: 48px var(--gutter) 24px;
}
.about-page-intro .container { max-width: var(--max-w); margin: 0 auto; }
.about-page-intro .breadcrumb {
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.about-page-intro .breadcrumb a { color: var(--sage); transition: color 0.2s; }
.about-page-intro .breadcrumb a:hover { color: var(--forest); }
.about-page-intro .breadcrumb-sep { margin: 0 8px; color: var(--text-muted); }
.about-h1 { color: var(--text-dark); margin-bottom: 0; }

/* Container helper */
.about-history-section .container,
.audit-org-section .container,
.partnerships-section .container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ===== Striped placeholder (shared by photo / portrait cards) ===== */
.striped-placeholder {
  position: relative;
  background:
    repeating-linear-gradient(-45deg,
      rgba(168,191,154,0.55) 0,
      rgba(168,191,154,0.55) 10px,
      var(--cream) 10px,
      var(--cream) 22px);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage);
  text-align: center;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.6;
}
.striped-placeholder.dark-stripes {
  background:
    repeating-linear-gradient(-45deg,
      rgba(255,255,255,0.06) 0,
      rgba(255,255,255,0.06) 10px,
      rgba(255,255,255,0.02) 10px,
      rgba(255,255,255,0.02) 22px);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.55);
}
.striped-placeholder .ph-text { padding: 12px; }

/* ===== SECTION 1: HISTORY + MVG ===== */
.about-history-section {
  background: var(--off-white);
  padding: clamp(48px, 7vw, 96px) 0;
}
.history-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
  margin-bottom: clamp(48px, 6vw, 72px);
}
@media (max-width: 880px) {
  .history-grid { grid-template-columns: 1fr; }
}
.history-text .eyebrow { color: var(--sage); }
.history-text h2 { margin: 12px 0 22px; color: var(--text-dark); }
.history-text p { color: var(--text-mid); line-height: 1.8; font-size: 16px; }
.callout-placeholder {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--cream);
  border-left: 4px solid var(--forest);
  border-radius: 0 8px 8px 0;
}
.callout-placeholder p { color: var(--text-mid); font-size: 14px; line-height: 1.6; margin: 0; }
.history-photo .photo-card {
  aspect-ratio: 4 / 3;
  width: 100%;
  font-size: 14px;
}
/* Framed photo (shows the full image, caption included — no cropping) */
.history-photo .photo-figure {
  margin: 0;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--cream);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.history-photo .photo-figure img {
  display: block;
  width: 100%;
  height: auto;
}

/* Mission / Vision / Goal trio */
.mvg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 880px) {
  .mvg-grid { grid-template-columns: 1fr; }
}
.mvg-card {
  background: var(--cream);
  border-radius: 14px;
  padding: 28px 26px 30px;
  cursor: default;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  outline: none;
}
.mvg-card:hover,
.mvg-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.mvg-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--text-dark);
  margin-bottom: 14px;
}
.mvg-card p {
  color: var(--text-mid);
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0;
}
.mvg-card.dark {
  background: var(--forest);
}
.mvg-card.dark h3 { color: var(--white); }
.mvg-card.dark p { color: rgba(238,242,221,0.88); }
.mvg-card.dark:hover { background: var(--forest-mid); }

/* ===== SECTION 2: AUDIT + ORGANOGRAM ===== */
.audit-org-section {
  background: var(--off-white);
  padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px);
}

/* ===== Structure section — Board of Directors frames + Staff organogram ===== */
.org-section {
  background: var(--off-white);
  padding: clamp(48px, 7vw, 90px) 0;
}
.org-section .container { max-width: var(--max-w); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.board-block { margin-bottom: clamp(48px, 7vw, 80px); }
.board-block .eyebrow,
.staff-block .eyebrow { color: var(--sage); }
.board-block h2,
.staff-block h2 { color: var(--text-dark); margin: 8px 0 10px; }
.board-block .lead { color: var(--text-mid); margin-bottom: 32px; max-width: 640px; }

.board-frames {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
@media (max-width: 880px) { .board-frames { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .board-frames { grid-template-columns: repeat(2, 1fr); } }
.board-frame { display: flex; flex-direction: column; }
.board-frame-photo {
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 12px;
  font-size: 12px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.board-frame:hover .board-frame-photo { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.board-frame-name {
  margin: 12px 0 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-mid);
  text-align: center;
}
.staff-tree { margin-top: 8px; }
.org-note { text-align: center; margin-top: 24px; }

/* Annual Audit card */
.audit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: start;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s;
  margin-bottom: clamp(56px, 8vw, 96px);
}
.audit-card:hover { box-shadow: var(--shadow-md); }
@media (max-width: 760px) {
  .audit-card { grid-template-columns: 1fr; }
}
.audit-text .eyebrow { color: var(--sage); }
.audit-text h3 {
  font-size: clamp(24px, 2.5vw, 32px);
  color: var(--text-dark);
  margin: 10px 0 14px;
}
.audit-text p {
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}
.audit-files { display: flex; flex-direction: column; gap: 12px; }
.audit-file {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.audit-file:hover {
  background: var(--white);
  border-color: var(--sage);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.file-type {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--sage);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.file-name { flex: 1; }
.file-link {
  color: var(--text-muted);
  font-family: 'Courier New', monospace;
  font-size: 12px;
}

/* Board organogram */
.board-org .eyebrow { color: var(--sage); }
.board-org h2 {
  color: var(--text-dark);
  margin: 10px 0 36px;
  font-size: clamp(28px, 3.4vw, 42px);
}

.board-tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  margin-bottom: clamp(32px, 4vw, 48px);
  position: relative;
}
.board-tree-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  position: relative;
  flex-wrap: wrap;
}
/* Connector line dropping from each row to next (auto) */
.board-tree-row + .board-tree-row::before {
  content: '';
  position: absolute;
  top: -28px;
  left: 50%;
  width: 2px;
  height: 28px;
  background: var(--sage);
  transform: translateX(-50%);
}
/* Horizontal bar over the leaves row connecting all 4 boxes */
.board-tree-row.leaves::after {
  content: '';
  position: absolute;
  top: -14px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: var(--sage);
}
.board-tree-row.leaves .leaf-box::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 50%;
  width: 2px;
  height: 14px;
  background: var(--sage);
  transform: translateX(-50%);
}
@media (max-width: 900px) {
  .board-tree-row.leaves::after,
  .board-tree-row.leaves .leaf-box::before { display: none; }
  .board-tree-row.leaves { gap: 14px; }
}

.board-box {
  padding: 16px 26px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  text-align: center;
  letter-spacing: 0.01em;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  cursor: default;
}
.board-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.top-box   { background: var(--forest);       padding: 18px 32px; }
.mid-box   { background: var(--sage);          padding: 16px 28px; }
.leaf-box  {
  background: var(--cream);
  color: var(--text-dark);
  font-size: 13.5px;
  padding: 14px 18px;
  border: 1px solid var(--border);
}
.leaf-box:hover { background: var(--white); border-color: var(--sage); }

/* Staff photo placeholder grid */
.staff-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 16px;
}
@media (max-width: 900px) { .staff-photo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .staff-photo-grid { grid-template-columns: 1fr; } }
.staff-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: transform 0.25s;
}
.staff-card:hover { transform: translateY(-3px); }
.staff-photo {
  aspect-ratio: 1 / 1;
  width: 100%;
  margin-bottom: 14px;
  font-size: 13px;
}
.staff-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-dark);
  margin: 0 0 4px;
}
.staff-role {
  font-size: 13.5px;
  color: var(--sage);
  margin: 0;
  letter-spacing: 0.02em;
}

/* ===== SECTION 3: PARTNERSHIPS ===== */
.partnerships-section {
  background: var(--off-white);
  padding: clamp(56px, 8vw, 96px) 0;
}
.partnerships-section .section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}
.partnerships-section .eyebrow { color: var(--sage); }
.partnerships-section h2.center { text-align: center; color: var(--text-dark); }

/* Three emblem logos in place of the section heading */
.partner-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(28px, 6vw, 72px);
  margin-top: 18px;
}
.partner-logo-mark {
  height: clamp(110px, 14vw, 168px);
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.partner-logo-mark:hover { transform: translateY(-4px) scale(1.03); }
@media (max-width: 600px) {
  .partner-logos { gap: 28px; }
  .partner-logo-mark { height: 96px; }
}

.partnership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .partnership-grid { grid-template-columns: 1fr; } }

.partnership-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  cursor: default;
  outline: none;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.partnership-card:hover,
.partnership-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--sage);
}
.partnership-badge {
  display: inline-block;
  background: var(--cream);
  color: var(--text-dark);
  padding: 8px 14px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.partnership-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.partnership-card p {
  color: var(--text-mid);
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0;
}

/* ===== SECTION 4: BIOGRAPHY ===== */
.biography-section {
  background: var(--forest);
  position: relative;
  padding: clamp(56px, 8vw, 100px) var(--gutter);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
/* Maya greca pattern — masked to sage-light, very low opacity */
.biography-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--sage-light);
  -webkit-mask-image: url('../images/pattern.png');
  mask-image: url('../images/pattern.png');
  -webkit-mask-repeat: repeat;
  mask-repeat: repeat;
  -webkit-mask-size: 1100px auto;
  mask-size: 1100px auto;
  opacity: 0.06;
  pointer-events: none;
}
@supports not ((mask-image: url('')) or (-webkit-mask-image: url(''))) {
  .biography-bg {
    background-color: transparent;
    background-image: url('../images/pattern.png');
    background-repeat: repeat;
    background-size: 1100px auto;
    opacity: 0.05;
  }
}
.biography-grid {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 880px) {
  .biography-grid { grid-template-columns: 1fr; }
}
.biography-portrait .portrait-card {
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 460px;
  font-size: 14px;
}
.biography-portrait img {
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  display: block;
}
.biography-text .eyebrow.on-dark { color: var(--sage-light); }

/* Read-more expandable biography */
.bio-more {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.55s cubic-bezier(0.2,0.8,0.2,1), opacity 0.45s ease;
}
.bio-more.open { opacity: 1; }
.bio-readmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 11px 24px;
  border-radius: 8px;
  border: 1.5px solid var(--sage-light);
  background: transparent;
  color: var(--sage-light);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.bio-readmore::after {
  content: '↓';
  transition: transform 0.25s ease;
}
.bio-readmore[aria-expanded="true"]::after { transform: rotate(180deg); }
.bio-readmore:hover { background: var(--sage-light); color: var(--forest); transform: translateY(-1px); }
.bio-readmore:focus-visible { outline: 3px solid var(--sage-light); outline-offset: 2px; }

/* ===== Audio player (Julian Cho tribute) — on the dark green bio section ===== */
.audio-player {
  margin-top: 20px;
  max-width: 460px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 14px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.ap-play {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--sage-light);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.ap-play:hover { background: var(--white); transform: scale(1.05); }
.ap-play:focus-visible { outline: 3px solid var(--sage-light); outline-offset: 3px; }
.ap-icon { width: 22px; height: 22px; display: block; }
.ap-icon-play { margin-left: 2px; }     /* optical centering of the triangle */

.ap-main { flex: 1; min-width: 0; }
.ap-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(238,242,221,0.92);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.ap-progress {
  position: relative;
  height: 6px;
  background: rgba(255,255,255,0.20);
  border-radius: 4px;
  cursor: pointer;
  outline: none;
}
.ap-progress:focus-visible { box-shadow: 0 0 0 3px rgba(168,191,154,0.5); }
.ap-progress-fill {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 0%;
  background: var(--sage-light);
  border-radius: 4px;
}
.ap-progress-knob {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  transform: translate(-50%, -50%);
  box-shadow: 0 1px 4px rgba(0,0,0,0.35);
  pointer-events: none;
  transition: opacity 0.15s;
}
.ap-time {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: rgba(238,242,221,0.7);
}
@media (prefers-reduced-motion: reduce) {
  .ap-play { transition: none; }
}
.biography-text h2 {
  color: var(--white);
  margin: 12px 0 8px;
  font-size: clamp(32px, 3.8vw, 48px);
}
.bio-subtitle {
  color: var(--sage-light);
  font-size: 16px;
  margin-bottom: 24px;
  font-weight: 500;
}
.biography-text p {
  color: rgba(238,242,221,0.92);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 18px;
}
.bio-italic em {
  color: rgba(238,242,221,0.75);
  font-style: italic;
  font-family: var(--font-italic);
}

/* ========================================================
   OUR WORK PAGE — hero / land rights / program areas / current projects
   ======================================================== */

/* Container helper for the page sections */
.ourwork-hero .container,
.land-rights-section .container,
.program-areas-section .container,
.current-projects-section .container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ============================================================
   INDIGENOUS GOVERNANCE SYSTEM HERO — dark green + large greca
   pattern + cursor-tracked shine
   ============================================================ */
.igov-hero {
  position: relative;
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-mid) 100%);
  color: var(--white);
  padding: clamp(80px, 12vw, 150px) 0;
  overflow: hidden;
  isolation: isolate;
}
.igov-hero .container {
  position: relative;
  z-index: 3;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.igov-hero .eyebrow { color: var(--sage-light); margin-bottom: 20px; }
.igov-hero h1 {
  color: var(--white);
  font-size: clamp(42px, 6.5vw, 84px);
  line-height: 1.05;
  margin-bottom: 24px;
  max-width: 980px;
}
.igov-hero-sub {
  color: rgba(238,242,221,0.85);
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.7;
  max-width: 720px;
  margin: 0;
  font-weight: 300;
}

/* Pattern layer — large tile so the repeat is not obvious */
.igov-hero-bg {
  position: absolute;
  inset: 0;
  background-color: rgba(168,191,154,0.55);   /* sage-light color shows through the mask */
  -webkit-mask-image: url('../images/pattern.png');
  mask-image: url('../images/pattern.png');
  -webkit-mask-repeat: repeat;
  mask-repeat: repeat;
  -webkit-mask-size: 1600px auto;             /* large tile reduces visible repeats */
  mask-size: 1600px auto;
  opacity: 0.18;
  z-index: 1;
  pointer-events: none;
}
/* Fallback if mask is unsupported: just show the white pattern at low alpha */
@supports not ((mask-image: url('')) or (-webkit-mask-image: url(''))) {
  .igov-hero-bg {
    background-color: transparent;
    background-image: url('../images/pattern.png');
    background-repeat: repeat;
    background-size: 1600px auto;
    opacity: 0.10;
  }
}

/* Hover-shine — a radial light follows the cursor across the hero */
.igov-hero-shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(
    circle 380px at var(--shine-x, 50%) var(--shine-y, 50%),
    rgba(255,255,255,0.18) 0%,
    rgba(255,255,255,0.08) 35%,
    rgba(255,255,255,0) 65%
  );
  mix-blend-mode: screen;
}
.igov-hero:hover .igov-hero-shine { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .igov-hero-shine { display: none; }
}

/* ===== HERO: dark forest green ===== */
.ourwork-hero {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-mid) 100%);
  color: var(--white);
  padding: clamp(70px, 10vw, 130px) 0 clamp(70px, 10vw, 130px);
  position: relative;
  overflow: hidden;
}
.ourwork-hero .container { position: relative; }
.ourwork-hero .eyebrow { color: var(--sage-light); margin-bottom: 18px; }
.ourwork-hero h1 {
  color: var(--white);
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.05;
  margin-bottom: 22px;
  max-width: 820px;
}
.ourwork-hero-sub {
  color: rgba(238,242,221,0.85);
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.7;
  max-width: 640px;
  margin: 0;
  font-weight: 300;
}

/* ===== LAND RIGHTS + MILESTONES ===== */
.land-rights-section {
  background: var(--off-white);
  padding: clamp(56px, 8vw, 96px) 0;
  position: relative;
  overflow: hidden;
}
.land-rights-section .container { position: relative; z-index: 2; }

/* Parallax Maya greca pattern — recolored to forest green via CSS mask
   (the source pattern.png is white-on-transparent; mask uses its alpha
   and the background-color fills the visible shape with our green) */
.land-rights-section .parallax-bg {
  position: absolute;
  inset: -10% 0 -10%;                          /* extra height so it never reveals empty space */
  background-color: var(--forest);             /* green color shows through the masked shape */
  -webkit-mask-image: url('../images/pattern.png');
  mask-image: url('../images/pattern.png');
  -webkit-mask-repeat: repeat;
  mask-repeat: repeat;
  -webkit-mask-size: 720px auto;
  mask-size: 720px auto;
  opacity: 0.06;                               /* very subtle — barely there */
  pointer-events: none;
  z-index: 1;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
/* Fallback for browsers without mask support: still show pattern (white) at low opacity */
@supports not ((mask-image: url('')) or (-webkit-mask-image: url(''))) {
  .land-rights-section .parallax-bg {
    background-color: transparent;
    background-image: url('../images/pattern.png');
    background-repeat: repeat;
    background-size: 720px auto;
    opacity: 0.10;
  }
}
@media (prefers-reduced-motion: reduce) {
  .land-rights-section .parallax-bg { transform: none !important; }
}
.land-rights-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 900px) {
  .land-rights-grid { grid-template-columns: 1fr; }
}
.land-rights-text .eyebrow { color: var(--sage); }
.land-rights-text h2 {
  color: var(--text-dark);
  margin: 14px 0 24px;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.15;
}
.land-rights-text p {
  color: var(--text-mid);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.land-rights-text .placeholder-italic {
  color: var(--text-muted);
  font-size: 14.5px;
  font-style: italic;
  margin-top: 22px;
}

.milestones-aside {
  border-left: 3px solid var(--sage);
  padding: 4px 0 4px 24px;
}
.milestone-item { margin-bottom: 28px; }
.milestone-item:last-of-type { margin-bottom: 0; }
.milestone-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 20px;
  font-style: italic;
  color: var(--sage);
  margin-bottom: 6px;
  font-weight: 700;
}
.milestone-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.milestone-desc {
  color: var(--text-mid);
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0;
}
.milestones-note {
  color: var(--text-muted);
  font-family: 'Courier New', monospace;
  font-size: 13px;
  margin-top: 22px;
  font-style: italic;
}

/* ===== PROGRAM AREAS ===== */
.program-areas-section {
  background: var(--off-white);
  padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px);
}
.program-areas-section .section-header {
  margin-bottom: 36px;
}
.program-areas-section .eyebrow { color: var(--sage); }
.program-areas-section h2 {
  color: var(--text-dark);
  font-size: clamp(28px, 3.4vw, 42px);
  margin-top: 10px;
}
/* Strategic Thematic Areas header — now merged inside the Land Rights section */
.program-areas-header {
  margin-top: clamp(52px, 7vw, 84px);
  margin-bottom: 36px;
}
.program-areas-header .eyebrow { color: var(--sage); }
.program-areas-header h2 {
  color: var(--text-dark);
  font-size: clamp(28px, 3.4vw, 42px);
  margin-top: 10px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);  /* 4 cards → 2 top, 2 bottom */
  gap: 24px;
  align-items: start;              /* expanded card grows alone; siblings keep natural height */
}
@media (max-width: 640px)  { .program-grid { grid-template-columns: 1fr; } }
/* Equalize collapsed card size: short titles pad out to match the tallest header */
@media (min-width: 641px) {
  .program-card-toggle { min-height: 150px; }
}

.program-card {
  background: var(--forest);
  border: 1px solid var(--forest);
  border-top: 4px solid var(--sage-light);
  border-radius: 12px;
  cursor: pointer;
  outline: none;
  overflow: hidden;                              /* clips the expanding details panel */
  padding: 0;                                    /* padding now lives on the inner button */
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.28s ease,
              border-top-color 0.25s ease,
              background 0.25s ease;
  position: relative;
}
.program-card:hover,
.program-card:focus-within {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  background: var(--forest-mid);
  border-top-color: var(--sage-pale);
}
.program-card.open {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  background: var(--forest-mid);
  border-top-color: var(--sage-pale);
}

/* Toggle button = the visible card face */
.program-card-toggle {
  display: block;
  width: 100%;
  background: transparent;
  border: 0;
  padding: 28px 26px 32px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  position: relative;
  color: inherit;
}
.program-card-toggle:focus-visible {
  outline: 3px solid var(--sage-light);
  outline-offset: -3px;
  border-radius: 8px;
}

.program-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--sage-light);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.program-card h3 {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 14px;
  padding-right: 36px;                           /* room for chevron */
}
.program-card p {
  color: rgba(255,255,255,0.82);
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0;
}

/* Chevron indicator */
.program-chevron {
  position: absolute;
  right: 22px;
  bottom: 26px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.2s, color 0.2s;
}
.program-chevron svg { width: 16px; height: 16px; display: block; }
.program-card:hover .program-chevron,
.program-card.open .program-chevron {
  background: var(--sage-light);
  color: var(--forest);
}
.program-card.open .program-chevron {
  transform: rotate(180deg);
}

/* Expandable details panel */
.program-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.program-details-inner {
  padding: 0 26px 30px;
  border-top: 1px solid rgba(255,255,255,0.18);
  margin-top: 4px;
  padding-top: 22px;
}
.program-details-inner p {
  color: rgba(255,255,255,0.82);
  font-size: 14.5px;
  line-height: 1.75;
  margin-bottom: 12px;
}
.program-details-inner p:last-child { margin-bottom: 0; }
/* Photo revealed with the subtext. Fixed aspect-ratio so the accordion's
   max-height (measured from scrollHeight on click) is correct even before
   the image file has loaded. */
.program-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 18px;
}
.program-details-inner em {
  color: rgba(255,255,255,0.6);
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 13.5px;
}

/* ===== CURRENT PROJECTS ===== */
.current-projects-section {
  background: var(--cream);
  padding: clamp(56px, 8vw, 96px) 0;
}
.current-projects-section .section-header { margin-bottom: 36px; }
.current-projects-section .eyebrow { color: var(--sage); }
.current-projects-section h2 {
  color: var(--text-dark);
  font-size: clamp(28px, 3.4vw, 42px);
  margin-top: 10px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .project-grid { grid-template-columns: 1fr; } }

.project-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  outline: none;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  color: inherit;            /* cards are <a> links now (external project posts) */
  text-decoration: none;
}
.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.project-card .project-photo {
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.project-text { padding: 24px 24px 28px; }
.project-text h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.project-text p {
  color: var(--text-mid);
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   MILESTONES — horizontal sideways-scrolling timeline
   ============================================================ */
.land-rights-text--full { max-width: 760px; }

.timeline-wrap {
  position: relative;
  z-index: 2;
  margin: clamp(44px, 6vw, 76px) 0 clamp(12px, 2vw, 24px);
}
.timeline-header { margin-bottom: 24px; }
.timeline-header .eyebrow { color: var(--sage); }
.timeline-header h2 { color: var(--text-dark); margin-top: 8px; }
.timeline-header .lead { color: var(--text-mid); }
.tl-hint-arrow { display: inline-block; animation: tlHintNudge 1.4s ease-in-out infinite; }
@keyframes tlHintNudge { 0%,100% { transform: translateX(0); } 50% { transform: translateX(6px); } }

.timeline-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  padding: 24px 0 40px;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: var(--sage) rgba(31,54,38,0.08);
}
.timeline-scroll.dragging { cursor: grabbing; scroll-snap-type: none; }
.timeline-scroll::-webkit-scrollbar { height: 8px; }
.timeline-scroll::-webkit-scrollbar-thumb { background: var(--sage); border-radius: 4px; }
.timeline-scroll::-webkit-scrollbar-track { background: rgba(31,54,38,0.08); }

.timeline-track {
  position: relative;
  display: flex;
  align-items: center;
  gap: 40px;
  height: 600px;
  width: max-content;
  padding: 0 clamp(20px, 5vw, 80px);
}
.timeline-spine {
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sage-light) 0%, var(--sage) 100%);
  transform: translateY(-50%);
}

.timeline-item {
  position: relative;
  flex: 0 0 300px;
  width: 300px;
  height: 100%;
  scroll-snap-align: center;
}
.tl-node {
  position: absolute;
  top: 50%; left: 50%;
  width: 18px; height: 18px;
  background: var(--forest);
  border: 3px solid #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px rgba(107,140,92,0.25);
  z-index: 3;
}
/* connector from node to card */
.timeline-item::before {
  content: '';
  position: absolute;
  left: 50%;
  width: 2px;
  background: var(--sage);
  transform: translateX(-50%);
  z-index: 1;
}
.timeline-item.above::before { bottom: calc(50% + 9px); height: 21px; }
.timeline-item.below::before { top: calc(50% + 9px); height: 21px; }

.tl-card {
  position: absolute;
  left: 0; right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.timeline-item.above .tl-card { bottom: calc(50% + 30px); }
.timeline-item.below .tl-card { top: calc(50% + 30px); }

.tl-photo {
  height: 120px;
  background-color: var(--cream);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.tl-photo.striped-placeholder { font-size: 12px; border: 0; border-radius: 0; }
.tl-body { padding: 16px 18px 20px; }
/* Text-only case cards (no photo) get a forest top accent + more padding */
.tl-card--text { border-top: 4px solid var(--sage); }
.tl-card--text .tl-body { padding: 22px 22px 24px; }
.tl-year {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--sage);
  font-size: 18px;
  margin-bottom: 6px;
}
.tl-body h4 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-size: 17px;
  line-height: 1.25;
  margin-bottom: 8px;
}
.tl-body p { color: var(--text-mid); font-size: 13.5px; line-height: 1.6; margin: 0; }
.tl-court em { color: var(--sage); font-family: var(--font-italic); font-style: italic; }

.timeline-note { text-align: center; margin-top: 4px; }

/* Reveal — pop up slowly as each enters view */
.tl-reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.tl-reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .tl-reveal { opacity: 1; transform: none; transition: none; }
  .tl-hint-arrow { animation: none; }
}

@media (max-width: 768px) {
  .timeline-track { height: 540px; gap: 28px; }
  .timeline-item { flex-basis: 260px; width: 260px; }
  .tl-photo { height: 104px; }
}

/* ============================================================
   SMOOTH PAGE TRANSITIONS — fade in on load, fade out on navigate
   (progressive enhancement; no fill-mode so leaving-state isn't overridden)
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  body { animation: pageFadeIn 0.45s ease; }
  html.page-leaving body {
    opacity: 0;
    transition: opacity 0.26s ease;
  }
}
@keyframes pageFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   GLOBAL INTERACTIVE ELEMENTS — scroll progress + back-to-top
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--forest) 0%, var(--sage) 100%);
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 200;                       /* above the fixed header (z 100) */
  pointer-events: none;
  will-change: transform;
}

.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--forest);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 150;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.9);
  transition: opacity 0.3s ease, visibility 0s linear 0.3s, transform 0.3s cubic-bezier(0.2,0.8,0.2,1), background 0.2s;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition: opacity 0.3s ease, visibility 0s, transform 0.3s cubic-bezier(0.2,0.8,0.2,1), background 0.2s;
}
.back-to-top:hover { background: var(--sage); transform: translateY(-2px) scale(1.05); }
.back-to-top:focus-visible { outline: 3px solid var(--sage); outline-offset: 2px; }
.back-to-top svg { width: 22px; height: 22px; display: block; }
@media (max-width: 600px) {
  .back-to-top { bottom: 18px; right: 18px; width: 44px; height: 44px; }
}

/* ============================================================
   GET INVOLVED PAGE — hero / communication channels / contact + support
   ============================================================ */
.getinvolved-hero {
  position: relative;
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-mid) 100%);
  color: var(--white);
  padding: clamp(72px, 11vw, 140px) 0;
  overflow: hidden;
  isolation: isolate;
}
.getinvolved-hero .container {
  position: relative;
  z-index: 3;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.getinvolved-hero .igov-hero-bg {     /* reuse the masked greca pattern */
  opacity: 0.10;
  -webkit-mask-size: 1600px auto;
  mask-size: 1600px auto;
}
.getinvolved-hero .eyebrow { color: var(--sage-light); margin-bottom: 18px; }
.getinvolved-hero h1 {
  color: var(--white);
  font-size: clamp(40px, 6vw, 78px);
  line-height: 1.05;
  margin-bottom: 22px;
  max-width: 820px;
}
.getinvolved-hero-sub {
  color: rgba(238,242,221,0.85);
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 0 36px;
  font-weight: 300;
}

/* How we communicate */
.communicate-section {
  background: var(--off-white);
  padding: clamp(56px, 8vw, 100px) 0;
}
.communicate-section .container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.communicate-section .section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.communicate-section h2 { color: var(--text-dark); margin-bottom: 14px; }
.communicate-section .lead { color: var(--text-mid); }

.channel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
@media (max-width: 900px) { .channel-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .channel-grid { grid-template-columns: 1fr; } }

.channel-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 26px;
  text-decoration: none;
  display: block;
  outline: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.channel-card:hover,
.channel-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--sage);
}
.channel-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--forest);
  transition: transform 0.25s ease, background 0.25s ease;
}
.channel-card:hover .channel-icon { transform: scale(1.08); background: var(--sage); }
.channel-icon svg { width: 24px; height: 24px; }
/* On-theme green badges (replaces brand colours) — subtle tonal variation keeps them distinct */
.ch-fb { background: #1877F2; }
.ch-yt { background: #FF0000; }
.ch-wa { background: #25D366; }
.ch-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.channel-card:hover .channel-icon { filter: brightness(1.12); }

.channel-name {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 8px;
}
.channel-desc {
  font-size: 14.5px;
  color: var(--text-mid);
  line-height: 1.6;
  margin: 0;
}

/* Contact + Support two-column */
.contact-support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 820px) { .contact-support-grid { grid-template-columns: 1fr; } }

.contact-info-card {
  background: var(--forest);
  color: var(--white);
  border-radius: 18px;
  padding: clamp(32px, 4vw, 48px);
}
.contact-info-card h3 { color: var(--white); margin-bottom: 24px; }
.contact-row { margin-bottom: 20px; }
.contact-row:last-child { margin-bottom: 0; }
.contact-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 6px;
}
.contact-value {
  font-size: 17px;
  color: rgba(238,242,221,0.95);
  margin: 0;
  line-height: 1.5;
}
.contact-value a { color: rgba(238,242,221,0.95); text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
.contact-value a:hover { color: var(--white); }

.support-card {
  background: var(--cream);
  border-radius: 18px;
  padding: clamp(32px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.support-card h3 { color: var(--text-dark); margin-bottom: 16px; }
.support-card p {
  color: var(--text-mid);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 28px;
}

/* ============================================================
   DONOR PARTNERS PAGE — category sections / logo cards /
   interactive photo gallery + lightbox / become-a-partner CTA
   ============================================================ */

/* Container helper */
.partners-cat-section .container,
.gallery-section .container,
.become-partner-section .container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ----- Partner category sections ----- */
.partners-cat-section {
  background: var(--off-white);
  padding: clamp(40px, 5vw, 64px) 0;
}
.partners-cat-section:first-of-type { padding-top: clamp(56px, 8vw, 90px); }

.partners-cat-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 32px;
}
.partners-cat-header h2 {
  color: var(--text-dark);
  font-size: clamp(26px, 3.2vw, 40px);
  white-space: nowrap;
  margin: 0;
}
.partners-cat-header::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-mid);
}
.partners-cat-label {
  color: var(--sage);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .partners-cat-header { flex-wrap: wrap; gap: 8px; }
  .partners-cat-header::after { display: none; }
  .partners-cat-header h2 { white-space: normal; }
}

.partner-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 900px) { .partner-logo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .partner-logo-grid { grid-template-columns: 1fr; } }

.partner-logo-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: default;
  outline: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.partner-logo-card:hover,
.partner-logo-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--sage);
}
.partner-logo-ph {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: var(--text-muted);
}
.partner-logo-name {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: var(--sage);
  margin: 0;
}

/* ----- Interactive photo gallery ----- */
.gallery-section {
  background: var(--cream);
  padding: clamp(56px, 8vw, 96px) 0;
}
.gallery-section .section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}
.gallery-section .eyebrow { color: var(--sage); }
.gallery-section h2 { color: var(--text-dark); margin: 8px 0 16px; }
.gallery-section .lead { color: var(--text-mid); }

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 16px;
}
@media (max-width: 900px) { .photo-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; } }
@media (max-width: 520px) { .photo-gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; } }

.gallery-item {
  position: relative;
  border: 0;
  padding: 0;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: var(--white);
  outline: none;
  display: block;
}
/* Varied tile sizes for a dynamic mosaic */
.gallery-tall { grid-row: span 2; }
.gallery-wide { grid-column: span 2; }
@media (max-width: 520px) {
  .gallery-tall, .gallery-wide { grid-row: span 1; grid-column: span 1; }
}

.gallery-ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(-45deg,
      rgba(168,191,154,0.55) 0,
      rgba(168,191,154,0.55) 10px,
      var(--cream) 10px,
      var(--cream) 22px);
  background-size: cover;
  background-position: center;
  color: var(--sage);
  font-family: 'Courier New', monospace;
  font-size: 13px;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.gallery-item:hover .gallery-ph { transform: scale(1.08); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(31,54,38,0.55) 0%, rgba(31,54,38,0) 55%);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay,
.gallery-item:focus-visible .gallery-overlay { opacity: 1; }
.gallery-zoom {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}
.gallery-item:hover .gallery-zoom { transform: scale(1); }
.gallery-item:focus-visible { box-shadow: 0 0 0 3px var(--sage); }

/* ----- Lightbox overlay ----- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(20,36,26,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease;
}
.lightbox-figure {
  margin: 0;
  max-width: 1000px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.lightbox-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 70vh;
  border-radius: 14px;
  background-color: #2a4533;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-family: 'Courier New', monospace;
  font-size: 15px;
  transform: scale(0.96);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.lightbox.open .lightbox-image { transform: scale(1); }
.lightbox-caption {
  color: rgba(238,242,221,0.92);
  font-size: 15px;
  text-align: center;
  max-width: 640px;
}
.lightbox-close,
.lightbox-arrow {
  position: absolute;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.lightbox-close:hover,
.lightbox-arrow:hover { background: rgba(255,255,255,0.25); }
.lightbox-close {
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
}
.lightbox-close svg { width: 22px; height: 22px; }
.lightbox-arrow {
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
}
.lightbox-arrow:hover { transform: translateY(-50%) scale(1.08); }
.lightbox-arrow svg { width: 26px; height: 26px; }
.lightbox-arrow.prev { left: 24px; }
.lightbox-arrow.next { right: 24px; }
.lightbox-close:focus-visible,
.lightbox-arrow:focus-visible { outline: 3px solid var(--sage-light); outline-offset: 2px; }
@media (max-width: 640px) {
  .lightbox { padding: 16px; }
  .lightbox-arrow { width: 44px; height: 44px; }
  .lightbox-arrow.prev { left: 8px; }
  .lightbox-arrow.next { right: 8px; }
  .lightbox-close { top: 12px; right: 12px; }
}

/* ----- Become a partner CTA ----- */
.become-partner-section {
  background: var(--off-white);
  padding: clamp(56px, 8vw, 96px) 0;
}
.become-partner-card {
  background: var(--cream);
  border-radius: 20px;
  padding: clamp(48px, 7vw, 80px) clamp(24px, 5vw, 64px);
  text-align: center;
}
.become-partner-card h2 { color: var(--text-dark); margin-bottom: 16px; }
.become-partner-card p {
  color: var(--text-mid);
  font-size: 16px;
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto 32px;
}

/* TWO PEOPLES CARDS (Mopan / Q'eqchi) */
.people-cards {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 72px) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 760px) { .people-cards { grid-template-columns: 1fr; } }

.people-card {
  position: relative;
  min-height: 480px;
  border-radius: 14px;
  overflow: hidden;
  color: var(--white);
  background-color: var(--forest);                /* fallback if image missing */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  box-shadow: var(--shadow-md);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.people-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31,54,38,0.10) 0%, rgba(0,0,0,0.40) 45%, rgba(0,0,0,0.82) 100%);
  z-index: 1;
}
.people-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.people-card-inner {
  position: relative;
  z-index: 2;
  padding: 36px 32px 32px;
  width: 100%;
}
.people-card .eyebrow.on-dark { color: var(--gold); }
.people-card h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 14px;
}
.people-card p {
  color: rgba(255,255,255,0.92);
  font-size: clamp(14px, 1.3vw, 15.5px);
  line-height: 1.7;
  margin: 0;
  max-width: 100%;
}

/* ORGANOGRAM (Structure of Governance) */
.org-chart {
  padding: clamp(56px, 8vw, 96px) var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
  background: var(--white);
}
.org-chart .section-header {
  text-align: center;
  margin-bottom: 64px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.org-tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  position: relative;
}

.org-level {
  display: flex;
  justify-content: center;
  gap: 28px;
  position: relative;
  flex-wrap: wrap;
}
/* Members row needs tighter gap so all 5 fit on one line on desktop */
.org-members { gap: 16px; flex-wrap: nowrap; }
@media (max-width: 1080px) {
  .org-members { flex-wrap: wrap; }                                /* let cards wrap on smaller screens */
  .org-members::after, .org-members .org-card::before { display: none; }   /* hide connectors when wrapped */
}

/* Vertical connector dropping from one level to the next */
.org-level + .org-level::before {
  content: '';
  position: absolute;
  top: -56px;
  left: 50%;
  width: 2px;
  height: 56px;
  background: var(--red);
  transform: translateX(-50%);
}

/* Members row: horizontal bar + small drops to each card */
.org-members {
  margin-top: 0;
  padding-top: 28px;
}
.org-members::after {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;          /* tuned for 5-card row — bar reaches close to centers of outermost cards */
  right: 10%;
  height: 2px;
  background: var(--red);
}
.org-members .org-card::before {
  content: '';
  position: absolute;
  top: -28px;
  left: 50%;
  width: 2px;
  height: 28px;
  background: var(--red);
  transform: translateX(-50%);
}

/* Card */
.org-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 16px 20px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
  width: 220px;
  flex-shrink: 0;
}
.org-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.org-card.president {
  border-top: 4px solid var(--red);
  width: 260px;
}
.org-card.vp {
  border-top: 4px solid var(--gold);
  width: 240px;
}
.org-card.member {
  border-top: 3px solid var(--black);
  width: 192px;                 /* sized so all 5 members fit on one line */
  padding: 20px 12px 18px;
}
.org-card.member .org-photo { width: 70px; height: 70px; margin-bottom: 12px; }
.org-card.member .org-initials { font-size: 22px; }
.org-card.member .org-name { font-size: 16px; }
.org-card.member .org-village { font-size: 12px; }

/* LEVELS 4 & 5 — wide horizontal cards with icon + text */
.org-card.org-wide {
  width: 100%;
  max-width: 520px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 22px;
  text-align: left;
}
.org-card.org-alcaldes {
  border-top: 4px solid var(--red);
}
.org-card.org-communities {
  border-top: 4px solid #0a4d28;        /* forest green — matches the Get Involved CTA */
  max-width: 620px;
}
.org-wide-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(122,154,110,0.15);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}
.org-card.org-communities .org-wide-icon {
  background: rgba(10, 77, 40, 0.12);     /* soft forest-green tint */
  color: #0a4d28;
}
.org-wide-icon svg {
  width: 34px;
  height: 34px;
}
.org-wide-text { flex: 1; min-width: 0; }
.org-wide-text .org-role {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
}
.org-card.org-alcaldes .org-role { color: var(--red); }
.org-card.org-communities .org-role { color: #0a4d28; }
.org-wide-text .org-name {
  font-size: 22px;
  margin-bottom: 4px;
  line-height: 1.2;
}
.org-wide-text .org-village {
  font-size: 14px;
  color: var(--text-muted);
  font-style: normal;            /* italic comes from inner <em> only */
  margin: 0;
}

@media (max-width: 560px) {
  .org-card.org-wide {
    flex-direction: column;
    text-align: center;
    padding: 22px 20px;
    gap: 14px;
  }
  .org-card.org-wide .org-wide-text .org-name { font-size: 20px; }
}

/* Photo (circular) with initials fallback */
.org-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--gray);
  margin: 0 auto 14px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.org-photo .org-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-mid);
  letter-spacing: 0.02em;
  z-index: 1;
}
.org-photo img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.org-card.president .org-photo { background: rgba(122,154,110,0.15); width: 100px; height: 100px; }
.org-card.president .org-initials { color: var(--red); }
.org-card.vp .org-photo { background: rgba(237,216,21,0.18); }
.org-card.vp .org-initials { color: var(--gold-deep); }

.org-role {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mid);
  font-weight: 700;
  margin-bottom: 6px;
}
.org-card.president .org-role { color: var(--red); }
.org-card.vp .org-role { color: var(--gold-deep); }

.org-name {
  font-size: 18px;
  font-family: var(--font-heading);
  color: var(--text-dark);
  margin-bottom: 4px;
  line-height: 1.2;
  font-weight: 700;
}
.org-card.president .org-name { font-size: 20px; }

.org-village {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  margin: 0;
  line-height: 1.45;
}

/* Responsive */
@media (max-width: 1000px) {
  .org-members::after { left: 6%; right: 6%; }
}
@media (max-width: 720px) {
  .org-tree { gap: 36px; }
  .org-level + .org-level::before { height: 36px; top: -36px; }
  .org-members { flex-direction: column; gap: 36px; padding-top: 0; }
  .org-members::after { display: none; }
  .org-members .org-card::before { display: none; }
  .org-card, .org-card.president, .org-card.vp { width: 100%; max-width: 320px; }
}

/* THE ASSEMBLY OF ALCALDES (text + map split) */
.assembly-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 900px) {
  .assembly-section { grid-template-columns: 1fr; }
}
.assembly-text .h2 { margin-bottom: 12px; }
.assembly-text .divider-line { margin: 8px 0 24px; background: var(--red); }
.assembly-text .lead { margin-bottom: 28px; color: var(--text-mid); }
.village-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 8px;
}
.village-dropdown {
  width: 100%;
  max-width: 380px;
  padding: 14px 48px 14px 18px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  background-color: var(--white);
  border: 2px solid var(--text-dark);
  border-radius: 8px;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231f3626' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 18px center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.village-dropdown:hover {
  border-color: var(--red);
}
.village-dropdown:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(122,154,110,0.15);
}
.village-count {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}
.assembly-map {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--gray);
  position: relative;
}
.assembly-map img {            /* legacy fallback if Leaflet fails to load */
  width: 100%;
  height: auto;
  display: block;
}
#village-map {
  width: 100%;
  height: clamp(380px, 56vw, 620px);
  border-radius: 14px;
  z-index: 1;
}
/* Custom red marker dot, matches brand */
.maya-village-marker {
  background: transparent !important;   /* override Leaflet default */
  border: 0 !important;
}
.maya-village-marker .dot {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--forest);
  border: 2px solid #ffffff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.35);
  transition: transform 0.15s ease;
  margin: 1px auto;
}
.maya-village-marker:hover .dot,
.leaflet-marker-icon.maya-village-marker:focus .dot {
  transform: scale(1.35);
}
.leaflet-popup-content-wrapper {
  border-radius: 10px;
  font-family: var(--font-body);
  border-top: 3px solid var(--forest);
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}
.leaflet-popup-content {
  font-size: 14px;
  color: var(--text-dark);
  margin: 0;
  padding: 0;
}
/* Rich village popup */
.village-popup {
  padding: 14px 16px 16px;
  min-width: 200px;
}
.village-popup .vp-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--text-dark);
  margin: 0 0 8px;
  line-height: 1.2;
}
.village-popup .vp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.village-popup .vp-tag {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(31,54,38,0.10);
  color: var(--forest);
}
.village-popup .vp-tag-alt {
  background: rgba(107,140,92,0.18);
  color: var(--forest-mid);
}
.village-popup .vp-blurb {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-mid);
  margin: 0;
}
/* Tweak the tip color too */
.maya-village-popup .leaflet-popup-tip { box-shadow: 0 6px 20px rgba(0,0,0,0.18); }

/* Marker-cluster bubbles — recolored to the green theme (override plugin default blue/yellow) */
.marker-cluster {
  background: rgba(107,140,92,0.35);            /* sage halo */
}
.marker-cluster div {
  background: var(--forest);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large { background: rgba(107,140,92,0.35); }
.marker-cluster-small div  { background: var(--sage); }
.marker-cluster-medium div { background: var(--forest-light); }
.marker-cluster-large div  { background: var(--forest); }

/* FULL-WIDTH FEATURE IMAGE (image-only section) */
.feature-image-section {
  padding: clamp(40px, 6vw, 80px) var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
}
.feature-image {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--gray);
  aspect-ratio: 16 / 9;
}
.feature-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* SLIDESHOW (Governance Assembly photos) */
.slideshow-section {
  padding: clamp(40px, 6vw, 80px) var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
}
.gov-page-title {
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 48px);
  color: var(--text-dark);
}
.slideshow {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #1a1a1a;                     /* dark fallback while images load */
  aspect-ratio: 16 / 9;
}
.slideshow-track {
  position: absolute;
  inset: 0;
}
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0s linear 0.9s;
  display: flex;
  align-items: flex-end;
}
.slide.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.9s ease, visibility 0s linear 0s;
}
.slide-caption {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 80px 32px 32px;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.40) 60%, rgba(0,0,0,0) 100%);
  color: var(--white);
}
.slide-caption p {
  margin: 0;
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 500;
  line-height: 1.5;
  max-width: 720px;
}
.slide-caption em.italic { color: var(--gold); font-style: italic; font-weight: 400; }

/* Prev / next arrows */
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  z-index: 4;
  box-shadow: 0 2px 8px rgba(31,54,38,0.18);
}
.slide-arrow:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.08);
  color: var(--red);
}
.slide-arrow:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.slide-arrow.prev { left: 16px; }
.slide-arrow.next { right: 16px; }
.slide-arrow svg { width: 22px; height: 22px; display: block; }

/* Dot indicators */
.slide-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 4;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.42);
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.dot:hover { background: rgba(255,255,255,0.75); }
.dot.active {
  background: var(--white);
  transform: scale(1.25);
}
.dot:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

@media (max-width: 600px) {
  .slide-arrow { width: 38px; height: 38px; }
  .slide-arrow.prev { left: 10px; }
  .slide-arrow.next { right: 10px; }
  .slide-caption { padding: 60px 20px 36px; }
}

.accordion { display: flex; flex-direction: column; gap: 14px; }
.accordion-item {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border-mid);
  overflow: hidden;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.accordion-item:hover { border-color: var(--sage); }
.accordion-item.open { border-color: var(--sage); box-shadow: var(--shadow-md); }
.accordion-summary {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
  width: 100%;
  text-align: left;
}
.accordion-summary:hover { background: var(--off-white); }
.accordion-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  color: var(--sage);
  min-width: 38px;
  line-height: 1;
  padding-top: 4px;
  transition: color 0.3s;
}
.accordion-item.open .accordion-num { color: var(--forest); }
.accordion-text { flex: 1; }
.accordion-text h3 {
  font-family: var(--font-heading);
  font-size: 19px;
  color: var(--forest);
  margin-bottom: 6px;
  line-height: 1.3;
}
.accordion-tagline {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 14px;
  color: var(--sage);
  margin-bottom: 8px;
  line-height: 1.5;
}
.accordion-preview { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
.accordion-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin-top: 4px;
  color: var(--sage);
}
.accordion-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.accordion-item.open .accordion-icon { background: var(--forest); transform: rotate(180deg); color: var(--white); }
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.accordion-content-inner {
  padding: 0 28px 32px 86px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.35s ease 0.1s, transform 0.35s ease 0.1s;
}
.accordion-item.open .accordion-content-inner { opacity: 1; transform: none; }
.accordion-content-inner p { font-size: 15px; color: var(--text-mid); line-height: 1.85; margin-bottom: 16px; }
.accordion-content-inner p:last-child { margin-bottom: 0; }
.accordion-content-inner h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--forest);
  margin: 24px 0 10px;
}
.pull-quote {
  border-left: 3px solid var(--sage);
  background: var(--cream);
  padding: 18px 22px;
  margin: 24px 0;
  border-radius: 0 6px 6px 0;
}
.pull-quote p {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 15px !important;
  color: var(--forest) !important;
  margin: 0 !important;
  line-height: 1.65;
}

/* ========== 10. INITIATIVES PAGE ========== */
.initiatives-page .cards-section { padding: 56px var(--gutter) 32px; max-width: var(--max-w); margin: 0 auto; }
.initiatives-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.initiative-card {
  background: var(--white);
  border-radius: 12px;
  padding: 30px 26px;
  border: 1.5px solid var(--border-mid);
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
  transition: transform 0.4s, box-shadow 0.4s, border-color 0.3s, background 0.3s;
  text-align: left;
}
.initiative-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sage);
}
.initiative-card.active { border-color: var(--forest); box-shadow: var(--shadow-md); background: var(--cream); }
.initiative-card .card-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--cream);
  color: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, color 0.3s;
}
.initiative-card:hover .card-icon, .initiative-card.active .card-icon {
  background: var(--forest);
  color: var(--cream);
}
.initiative-card .card-icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.initiative-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--forest);
  line-height: 1.3;
}
.initiative-card .card-summary { font-size: 14px; color: var(--text-muted); line-height: 1.7; flex: 1; }
.initiative-card .card-btn {
  font-size: 13px;
  font-weight: 600;
  color: var(--forest);
  background: var(--cream);
  border-radius: 6px;
  padding: 9px 16px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s, color 0.2s;
}
.initiative-card:hover .card-btn, .initiative-card.active .card-btn { background: var(--forest); color: var(--white); }
.initiatives-page .detail-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px var(--gutter) 80px;
  display: none;
}
.initiatives-page .detail-section.open { display: block; animation: fadeUp 0.5s ease both; }
.tab-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--border-mid);
  margin-bottom: 28px;
}
.tab-btn {
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 6px 6px 0 0;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s;
}
.tab-btn:hover { background: var(--cream); color: var(--forest); }
.tab-btn.active { background: var(--forest); color: var(--white); }
.detail-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.detail-header {
  background: var(--forest);
  padding: clamp(36px, 5vw, 52px) clamp(28px, 4vw, 44px);
  position: relative;
  overflow: hidden;
}
.detail-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("../images/pattern.png");
  background-repeat: repeat;
  background-size: 1200px auto;
  opacity: 0.05;
  pointer-events: none;
}
.detail-header > * { position: relative; }
.detail-header .tagline {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 15px;
  color: var(--cream);
  margin-bottom: 14px;
  line-height: 1.55;
}
.detail-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 32px);
  color: var(--white);
  line-height: 1.25;
}
.detail-body {
  padding: clamp(28px, 4vw, 44px);
}
.detail-body p { font-size: 15.5px; color: var(--text-mid); line-height: 1.85; max-width: 720px; margin-bottom: 18px; }
.detail-body p:last-child { margin-bottom: 0; }
.detail-footer {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  padding: 20px clamp(28px, 4vw, 44px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.detail-footer button {
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  padding: 9px 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s, color 0.2s;
}
.back-btn { color: var(--text-muted); border: 1.5px solid var(--border-mid); }
.back-btn:hover { background: var(--cream); color: var(--forest); }
.next-btn { color: var(--forest); background: var(--cream); }
.next-btn:hover { background: var(--forest); color: var(--white); }

/* ========== 11. ADVOCACY PAGE ========== */
.advocacy-tabs-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 var(--gutter);
  position: sticky;
  top: var(--header-h);
  z-index: 50;
}
.advocacy-tabs-bar .inner {
  display: flex;
  gap: 0;
  max-width: var(--max-w);
  margin: 0 auto;
  overflow-x: auto;
}
.advocacy-tab {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 18px 24px;
  border-bottom: 3px solid transparent;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.advocacy-tab:hover { color: var(--forest); border-bottom-color: var(--sage-light); }
.advocacy-tab.active { color: var(--forest); border-bottom-color: var(--forest); }
.advocacy-tab svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.tab-panel { display: none; }
.tab-panel.active-panel { display: block; animation: fadeUp 0.45s ease both; }
.tab-panel[hidden] { display: none !important; }
.adv-section { padding: clamp(48px, 6vw, 80px) var(--gutter); max-width: var(--max-w); margin: 0 auto; }
.adv-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--card-bg);
  margin-bottom: 56px;
  min-height: 460px;
  border: 1px solid var(--border);
}
.adv-split .photo-frame { min-height: 420px; }
.adv-split.intl .photo-frame { background: linear-gradient(160deg, #1a2f3d 0%, #2a4553 60%, #4a7a8a 100%); }
.adv-split-text {
  padding: clamp(36px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.adv-split-text .tagline {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 16px;
  color: var(--sage);
  margin-bottom: 18px;
  line-height: 1.5;
}
.adv-split-text p { font-size: 15.5px; color: var(--text-mid); line-height: 1.8; max-width: 580px; }
.adv-split-text p + p { margin-top: 14px; }

/* News cards (advocacy) */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}
.news-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-card .photo-frame { height: 180px; }
.news-card .photo-frame.alt-2 { background: linear-gradient(135deg, var(--forest-light) 0%, var(--sage) 100%); }
.news-card .photo-frame.alt-3 { background: linear-gradient(135deg, var(--sage) 0%, var(--sage-pale) 100%); }
.news-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0,0,0,0.85);
  color: var(--cream);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 4px;
  backdrop-filter: blur(6px);
  z-index: 2;
}
.news-card-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.news-date { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; font-weight: 500; }
.news-card-body h4 {
  font-family: var(--font-heading);
  font-size: 17px;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}
.news-card-body p { font-size: 14px; color: var(--text-mid); line-height: 1.7; flex: 1; }
.news-card .read-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--forest);
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.news-card .read-more:hover { gap: 10px; }

/* Timeline */
.timeline-section { background: var(--off-white); padding: clamp(56px, 8vw, 96px) var(--gutter); }
.timeline {
  max-width: 860px;
  margin: 48px auto 0;
  position: relative;
  padding-left: 44px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--sage-light), var(--sage), var(--sage-light));
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  margin-bottom: 38px;
  padding-left: 22px;
}
.timeline-dot {
  position: absolute;
  left: -36px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--forest);
  border: 3px solid var(--sage-light);
}
.timeline-item.landmark .timeline-dot {
  width: 18px;
  height: 18px;
  left: -38px;
  top: 4px;
  background: var(--cream);
  border-color: var(--forest);
  box-shadow: 0 0 0 4px rgba(31,54,38,0.12);
}
.timeline-year {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 4px;
}
.timeline-item h4 {
  font-family: var(--font-italic);
  font-size: 17px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.timeline-item p { font-size: 14.5px; color: var(--text-mid); line-height: 1.7; max-width: 600px; }

/* Bodies grid */
.bodies-section { background: var(--card-bg); padding: clamp(56px, 8vw, 96px) var(--gutter); }
.bodies-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: var(--max-w);
  margin: 40px auto 0;
}
.body-card {
  background: var(--white);
  border-radius: 12px;
  padding: 30px 24px 26px;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}
.body-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.body-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.body-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.body-card h4 {
  font-family: var(--font-italic);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.4;
}
.body-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ========== 12. CONTACT PAGE ========== */
.quick-bar {
  background: var(--forest-mid);
  display: flex;
  justify-content: center;
  border-top: 1px solid rgba(255,255,255,0.06);
  overflow-x: auto;
}
.quick-bar a {
  font-size: 13px;
  font-weight: 500;
  color: var(--sage-light);
  padding: 16px 24px;
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.quick-bar a:last-child { border-right: none; }
.quick-bar a:hover { background: rgba(255,255,255,0.06); color: var(--cream); }
.quick-bar a .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sage); }

.contact-section { padding: clamp(56px, 8vw, 96px) var(--gutter); }
.contact-section.alt { background: var(--off-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.contact-section .container { max-width: var(--max-w); margin: 0 auto; }

/* Org cards */
.orgs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.org-card {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.org-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.org-card-header {
  background: var(--forest);
  padding: 26px 30px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.org-acronym {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 4px;
}
.org-fullname { font-size: 13px; color: var(--sage-light); }
.org-card-body { padding: 26px 30px 30px; }
.org-tagline {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 22px;
}
.contact-list { display: flex; flex-direction: column; gap: 14px; }
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-mid);
}
.contact-list .ico {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--cream);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-list .ico svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.contact-list .info { flex: 1; padding-top: 4px; }
.contact-list .info .label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.contact-list .info a { color: var(--forest); font-weight: 500; transition: color 0.2s; }
.contact-list .info a:hover { color: var(--sage); }

/* Form */
.form-split {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  margin-top: 48px;
}
.contact-form {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: clamp(28px, 4vw, 44px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}
.form-group label .req { color: var(--sage); margin-left: 2px; }
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-dark);
  background: var(--off-white);
  border: 1.5px solid var(--border-mid);
  border-radius: 10px;
  padding: 12px 15px;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sage);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(122,154,110,0.15);
}
.form-group textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.form-group .hint { font-size: 12px; color: var(--text-muted); }
.select-wrap { position: relative; }
.select-wrap::after {
  content: '▾';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  font-size: 13px;
}
.form-group select { padding-right: 36px; cursor: pointer; appearance: none; -webkit-appearance: none; }
.checkbox-group { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
.checkbox-group input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; cursor: pointer; accent-color: var(--forest); }
.checkbox-group label { font-size: 13px; color: var(--text-mid); line-height: 1.55; cursor: pointer; }
.submit-btn {
  width: 100%;
  padding: 14px 28px;
  background: var(--forest);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.2s, transform 0.15s;
}
.submit-btn:hover { background: var(--forest-mid); }
.submit-btn:active { transform: scale(0.99); }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.submit-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.form-note { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 14px; line-height: 1.55; }
.form-success {
  background: var(--cream);
  border: 1px solid var(--sage);
  color: var(--forest);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 20px;
  font-size: 14px;
  display: none;
  align-items: center;
  gap: 12px;
}
.form-success.show { display: flex; animation: fadeUp 0.4s ease both; }
.form-success svg { flex-shrink: 0; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; }

.info-panel { display: flex; flex-direction: column; gap: 20px; }
.info-block {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 26px;
  border: 1px solid var(--border);
}
.info-block h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.info-block h4 .ico {
  width: 28px;
  height: 28px;
  background: var(--forest);
  color: var(--cream);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-block h4 .ico svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.info-row:last-child { border-bottom: none; padding-bottom: 0; }
.info-row .day { color: var(--text-muted); }
.info-row .hours { font-weight: 500; color: var(--text-dark); }
.info-row .hours.closed { color: var(--text-muted); font-style: italic; font-weight: 400; }
.info-row .hours.open { color: var(--forest); }
.response-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(170,26,15,0.15);
  color: var(--forest);
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 20px;
  margin-top: 12px;
}
.response-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }
.lang-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.lang-badge {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: 20px;
  border: 1.5px solid var(--border-mid);
  color: var(--text-mid);
  background: var(--white);
}

/* Map */
.map-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  margin-top: 48px;
}
.map-cards { display: flex; flex-direction: column; gap: 16px; }
.map-card {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 22px;
}
.map-card h5 {
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.map-card h5 svg { width: 16px; height: 16px; fill: none; stroke: var(--sage); stroke-width: 1.8; }
.map-card p { font-size: 13.5px; color: var(--text-mid); line-height: 1.65; }
.map-card p + p { margin-top: 8px; }
.map-card .map-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--forest);
  border-bottom: 1px solid var(--sage-pale);
  padding-bottom: 2px;
  transition: color 0.2s;
}
.map-card .map-action:hover { color: var(--sage); }
.map-embed {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 380px;
  background: var(--forest-mid);
}
.map-embed iframe { width: 100%; height: 100%; min-height: 380px; border: none; display: block; }

/* Social */
.social-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
.social-card {
  border-radius: 12px;
  padding: 28px 24px;
  border: 1px solid var(--border);
  background: var(--white);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.social-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.social-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}
.social-card.fb::before { background: #1877F2; }
.social-card.ig::before { background: linear-gradient(90deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-card.yt::before { background: #FF0000; }
.social-card.wa::before { background: #25D366; }
.social-card .social-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.social-card.fb .social-icon { background: #E8F0FE; color: #1877F2; }
.social-card.ig .social-icon { background: #FCE4EC; color: #dc2743; }
.social-card.yt .social-icon { background: #FFEBEE; color: #FF0000; }
.social-card.wa .social-icon { background: #E8F5E9; color: #25D366; }
.social-card .social-icon svg { width: 20px; height: 20px; fill: currentColor; }
.social-card h4 {
  font-family: var(--font-heading);
  font-size: 17px;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.social-card .handle { font-size: 12.5px; color: var(--text-muted); margin-bottom: 12px; }
.social-card .desc { font-size: 13px; color: var(--text-mid); line-height: 1.6; }
.social-card .follow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--forest);
}
.social-card .follow::after { content: '→'; transition: transform 0.2s; }
.social-card:hover .follow::after { transform: translateX(3px); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 48px; }
.faq-item {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item:hover { border-color: var(--sage); }
.faq-item.open { border-color: var(--sage); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  line-height: 1.4;
  transition: background 0.2s;
}
.faq-q:hover { background: var(--off-white); }
.faq-q .toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, background 0.2s, color 0.2s;
}
.faq-item.open .faq-q .toggle { transform: rotate(45deg); background: var(--forest); color: var(--white); }
.faq-q .toggle svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.5; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-a-inner {
  padding: 0 26px 22px;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.75;
}
.faq-a-inner a { color: var(--forest); font-weight: 500; border-bottom: 1px solid var(--sage-pale); }
.faq-a-inner a:hover { color: var(--sage); }

/* ========== 13. RESPONSIVE ========== */
@media (max-width: 1024px) {
  .nav-primary { display: none; }
  .menu-toggle { display: flex; }
  .header-cta .btn { display: none; }
  .home-stats { grid-template-columns: repeat(2, 1fr); }
  .home-about { grid-template-columns: 1fr; }
  .home-advocacy { grid-template-columns: 1fr; gap: 36px; }
  .init-grid, .gov-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .adv-split { grid-template-columns: 1fr; }
  .adv-split .photo-frame { min-height: 240px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .bodies-grid { grid-template-columns: repeat(2, 1fr); }
  .form-split, .map-grid { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid, .orgs-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .home-stats { grid-template-columns: 1fr 1fr; }
  .home-stat { padding: 26px 16px; border-bottom: 1px solid var(--border); }
  .home-stat:nth-child(odd) { border-right: 1px solid var(--border); }
  .home-stat:nth-child(even) { border-right: none; }
  .home-stat:nth-last-child(-n+2) { border-bottom: none; }
  .init-grid, .gov-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .bodies-grid { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .accordion-content-inner { padding: 0 22px 26px 22px; }
  .accordion-summary { padding: 20px 18px; gap: 14px; }
  .accordion-num { font-size: 18px; min-width: 28px; }
  .brand-tagline { display: none; }
  .brand-name { font-size: 15px; }
  .quick-bar { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .btn-row { width: 100%; flex-direction: column; }
  .btn-row .btn { width: 100%; }
  .home-stat-num { font-size: 26px; }
}

/* Print */
@media print {
  .site-header, .site-footer, .menu-toggle, .mobile-drawer, .submit-btn, .quick-bar { display: none !important; }
  body { background: white; color: black; }
}

/* ============================================================
   CONSENT ORDER JOURNEY — rotating milestone carousel (Our Work)
   ============================================================ */
.journey-wrap {
  position: relative;
  z-index: 2;
  margin: clamp(48px, 6vw, 84px) 0 clamp(40px, 5vw, 64px);
}
.journey-header { margin-bottom: 30px; }
.journey-header .eyebrow { color: var(--sage); }
.journey-header .lead { max-width: 720px; }

.journey-carousel { position: relative; }

.jc-viewport {
  overflow: hidden;
  padding: 14px 0 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.jc-track {
  display: flex;
  align-items: stretch;
  gap: 18px;
  width: max-content;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.jc-slide {
  position: relative;
  flex: 0 0 236px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 30px 18px 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--sage);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  opacity: 0.55;
  transform: scale(0.93);
  transition: opacity 0.45s ease, transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
  cursor: pointer;
}
.jc-slide:hover { opacity: 0.85; }
.jc-slide.active {
  opacity: 1;
  transform: scale(1);
  border-top-color: var(--forest);
  box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
}

.jc-num {
  position: absolute;
  top: 12px;
  left: 14px;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--cream);
  color: var(--forest);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
}
.jc-slide.active .jc-num { background: var(--forest); color: var(--sage-pale); }

.jc-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cream);
  color: var(--forest-light);
  margin-bottom: 16px;
  transition: background 0.45s ease, color 0.45s ease;
}
.jc-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.jc-slide.active .jc-icon { background: var(--forest); color: var(--sage-pale); }

.jc-date {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 7px;
}
.jc-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.28;
  color: var(--text-dark);
}

/* Controls: arrows + counter + progress */
.jc-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 2px;
}
.jc-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-mid);
  background: var(--white);
  color: var(--forest);
  display: grid;
  place-items: center;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.jc-arrow:hover { background: var(--forest); border-color: var(--forest); color: #fff; transform: scale(1.06); }
.jc-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.jc-counter {
  font-family: var(--font-heading);
  color: var(--text-muted);
  font-size: 15px;
  min-width: 68px;
  text-align: center;
  margin: 0;
}
.jc-counter strong { color: var(--forest); font-size: 19px; }

.jc-progress {
  height: 3px;
  max-width: 340px;
  margin: 18px auto 0;
  background: rgba(31, 54, 38, 0.10);
  border-radius: 2px;
  overflow: hidden;
}
.jc-progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--sage) 0%, var(--forest) 100%);
  border-radius: 2px;
  transition: width 0.5s ease;
}

/* Detail panel — shows the active milestone's full description */
.jc-detail { margin-top: 28px; }
.jc-detail-card {
  max-width: 740px;
  margin: 0 auto;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px 34px 32px;
  text-align: center;
  transition: opacity 0.24s ease, transform 0.24s ease;
}
.jc-detail-card.switching { opacity: 0; transform: translateY(8px); }
.jc-detail-date {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 6px;
}
.jc-detail-card h3 {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--forest);
  margin-bottom: 12px;
}
.jc-detail-body p {
  color: var(--text-mid);
  font-size: 15.5px;
  line-height: 1.75;
  margin: 0 0 6px;
}
.jc-detail-body ul {
  display: inline-block;
  text-align: left;
  margin: 6px auto 0;
}
.jc-detail-body li {
  position: relative;
  padding-left: 20px;
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 4px;
}
.jc-detail-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
}

@media (max-width: 768px) {
  .jc-slide { flex-basis: 204px; padding: 26px 14px 22px; }
  .jc-icon { width: 64px; height: 64px; }
  .jc-icon svg { width: 32px; height: 32px; }
  .jc-title { font-size: 15.5px; }
  .jc-detail-card { padding: 24px 20px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .jc-track { transition: none; }
  .jc-slide, .jc-icon, .jc-arrow, .jc-progress-bar, .jc-detail-card { transition: none; }
}

/* ============================================================
   HOME PAGE — 2026-07-03 layout revisions
   (hero hierarchy + video, rotating gallery, vision glass, partners)
   ============================================================ */

/* ---- Hero: video background + new title hierarchy ---- */
.home-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;           /* above ::before image (DOM order), below ::after overlay (z-1) */
  border: 0;
  pointer-events: none;
}
/* JULIAN CHO SOCIETY is now the primary title */
.home-hero .home-hero-brand {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(46px, 7.4vw, 92px);
  line-height: 1.02;
  letter-spacing: 0.005em;
  margin-bottom: 14px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.30);
}
/* Maya phrase — secondary */
.home-hero .home-hero-maya {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--sage-pale);
  font-size: clamp(22px, 3.4vw, 38px);
  line-height: 1.15;
  margin: 0 0 6px;
}
/* English translation — tertiary */
.home-hero .home-hero-eng {
  font-size: clamp(17px, 2vw, 24px);
  color: rgba(255,255,255,0.9);
  margin: 0 0 22px;
}
.home-hero .home-hero-eng em.italic { color: var(--sage-pale); }
.home-hero-inner.centered .home-hero-maya,
.home-hero-inner.centered .home-hero-eng { margin-left: auto; margin-right: auto; }

/* ---- To Be Maya: auto-rotating photo gallery ---- */
.home-about .home-gallery { min-height: 480px; position: relative; }
.home-gallery .hg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 1;
}
.home-gallery .hg-slide.active { opacity: 1; }
/* placeholder sits BEHIND the slides so empty (not-yet-uploaded) slides reveal it */
.home-gallery .photo-placeholder { z-index: 0; }
.hg-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.hg-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: background 0.3s ease, transform 0.3s ease;
}
.hg-dot.active { background: #fff; transform: scale(1.3); }
@media (prefers-reduced-motion: reduce) {
  .home-gallery .hg-slide { transition: none; }
}

/* ---- The Future We Dream: centered title, glass panel, dual labels ---- */
.home-vision .vision-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.vision-glass {
  max-width: 760px;
  margin: 10px auto 0;
  background: rgba(255,255,255,0.09);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
          backdrop-filter: blur(12px) saturate(120%);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 18px;
  padding: clamp(28px, 4vw, 46px);
  box-shadow: 0 16px 44px rgba(0,0,0,0.28);
}
.vision-glass p {
  color: rgba(255,255,255,0.94);
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.85;
  margin: 0;
  text-align: center;
}
.vision-glass p em { font-style: italic; color: rgba(255,255,255,0.75); }
.vision-labels {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  width: 100%;
  max-width: 760px;
  margin: 28px auto 0;
}
.vision-label {
  font-family: var(--font-italic);
  font-style: italic;
  color: var(--gold);
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.2;
}
.vision-label--right { text-align: right; opacity: 0.85; }

/* ---- Our Partners: title + placeholder logo grid ---- */
.home-partners {
  background: var(--off-white);
  padding: clamp(56px, 8vw, 96px) var(--gutter);
}
.partners-header {
  text-align: center;
  max-width: 960px;   /* wide enough for the intro sentence on one line */
  margin: 0 auto 44px;
}
.partners-header .lead em { color: var(--text-muted); font-style: italic; }
.partners-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.partner-logo {
  min-height: 120px;
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px dashed var(--border-mid);
  border-radius: 14px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.partner-logo:hover {
  border-color: var(--sage);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}
.partner-logo span {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.partner-logo img { max-width: 72%; max-height: 62%; object-fit: contain; }
/* Tile with a real partner logo: solid border, roomier logo, plain link */
.partner-logo--filled {
  border-style: solid;
  cursor: pointer;
}
.partner-logo--filled img { max-width: 84%; max-height: 70%; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .partners-logos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .home-about .home-gallery { min-height: 340px; }
  .partners-logos { grid-template-columns: repeat(2, 1fr); }
  .vision-label { font-size: 18px; }
}
@media (max-width: 480px) {
  .home-hero .home-hero-brand { font-size: clamp(38px, 11vw, 52px); }
  .vision-labels { flex-direction: column; align-items: center; gap: 6px; }
  .vision-label--right { text-align: center; }
}

/* ============================================================
   2026-07-03 — cross-page restructure (About / Our Work / News)
   ============================================================ */

/* Mission·Vision·Goal as the first section on Our Work */
.mvg-section { background: var(--off-white); padding: clamp(56px, 8vw, 96px) 0; }
.mvg-header { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.mvg-header .eyebrow { color: var(--sage); }

/* How We Work Together — H1 title + single "logos with arrows" image */
.partnerships-title { color: var(--text-dark); margin-bottom: 4px; }
.partner-logos--single { margin-top: 10px; }
.partner-logos-arrows {
  width: 100%;
  max-width: 820px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

/* Task 3 — center Board of Directors + Staff headers */
.board-block, .staff-block { text-align: center; }
.board-block .lead, .staff-block .lead { margin-left: auto; margin-right: auto; }

/* ---- NEWS & UPDATES page ---- */
.news-hero {
  position: relative;
  /* Photo-collage background with a dark forest overlay so the white text stays legible */
  background:
    linear-gradient(rgba(18,32,23,0.80), rgba(18,32,23,0.72)),
    url('../images/news-hero-collage.jpg') center / cover no-repeat;
  color: var(--white);
  padding: clamp(70px, 11vw, 128px) var(--gutter) clamp(56px, 8vw, 96px);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.news-hero .eyebrow { color: var(--sage-light); }
.news-hero h1 { color: var(--white); margin: 6px auto 0; max-width: 900px; text-shadow: 0 2px 14px rgba(0,0,0,0.45); }
.news-hero p { color: rgba(255,255,255,0.94); max-width: 680px; margin: 18px auto 0; font-size: clamp(16px,1.6vw,18px); line-height:1.75; font-weight:300; text-shadow: 0 1px 8px rgba(0,0,0,0.5); }

/* Thin press strip under the News hero — compact linked story tiles */
.stories-strip { background: var(--off-white); padding: clamp(26px, 4vw, 44px) var(--gutter); }
.stories-strip .container { max-width: var(--max-w); margin: 0 auto; }
.stories-strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.story-tile {
  position: relative;
  display: block;
  height: 150px;
  border-radius: 12px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.story-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.story-tile-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,36,26,0.05) 30%, rgba(20,36,26,0.88) 100%); }
.story-tile-text { position: absolute; left: 14px; right: 14px; bottom: 12px; display: block; }
.story-tile-src { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,0.78); margin-bottom: 4px; }
.story-tile-title { display: block; font-family: var(--font-heading); font-size: 15px; line-height: 1.3; text-shadow: 0 1px 6px rgba(0,0,0,0.5); }
@media (max-width: 1000px) { .stories-strip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .stories-strip-grid { grid-template-columns: 1fr; } .story-tile { height: 140px; } }

.news-section { padding: clamp(56px, 8vw, 96px) var(--gutter); }
.news-section .container { max-width: var(--max-w); }
.news-section.alt { background: var(--off-white); }
.news-section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.news-section-head .eyebrow { color: var(--sage); }
.news-section-head .lead { margin-top: 6px; }

/* Blog article cards */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: var(--max-w); margin: 0 auto; }
.blog-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; color: inherit; text-decoration: none; cursor: pointer; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--sage); }
.blog-card-photo { height: 190px; position: relative; }
.blog-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card .blog-readmore { margin-top: auto; }
.blog-card-photo .ph-text { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; }
.blog-card-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.blog-card-meta { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.blog-tag { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--forest); background: var(--cream); padding: 4px 10px; border-radius: 999px; }
.blog-date { font-size: 12.5px; color: var(--text-muted); }
.blog-card h3 { font-family: var(--font-heading); font-size: 20px; color: var(--text-dark); line-height: 1.28; margin-bottom: 10px; }
.blog-card p { font-size: 14.5px; color: var(--text-mid); line-height: 1.7; margin: 0 0 18px; flex: 1; }
.blog-readmore { font-size: 13px; font-weight: 600; color: var(--sage); display: inline-flex; align-items: center; gap: 6px; margin-top: auto; }
.blog-readmore::after { content: '→'; transition: transform .2s; }
.blog-card:hover .blog-readmore::after { transform: translateX(4px); }

/* Video cards */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: var(--max-w); margin: 0 auto; }
.video-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; display: block; color: inherit; text-decoration: none; cursor: pointer; }
.video-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--sage); }
.video-thumb { position: relative; height: 190px; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-thumb .ph-text { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; }
.video-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 58px; height: 58px; border-radius: 50%; background: rgba(31,54,38,0.86); display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,0.25); transition: transform .25s, background .25s; }
.video-card:hover .video-play { transform: translate(-50%,-50%) scale(1.08); background: var(--forest); }
.video-play svg { width: 22px; height: 22px; fill: #fff; margin-left: 3px; }
.video-card-body { padding: 20px 22px 24px; }
.video-card-body h3 { font-family: var(--font-heading); font-size: 18px; color: var(--text-dark); margin-bottom: 6px; line-height: 1.3; }
.video-card-body .blog-date { display: block; }

/* Documents list */
.docs-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 960px; margin: 0 auto; }
.doc-item { display: flex; align-items: center; gap: 18px; background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; transition: border-color .25s, box-shadow .25s, transform .25s; }
.doc-item:hover { border-color: var(--sage); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.doc-icon { flex: 0 0 46px; height: 56px; border-radius: 8px; background: var(--cream); color: var(--forest); display: grid; place-items: center; font-family: var(--font-heading); font-weight: 700; font-size: 12px; letter-spacing: .04em; }
.doc-meta { flex: 1; min-width: 0; }
.doc-meta h3 { font-family: var(--font-heading); font-size: 16.5px; color: var(--text-dark); margin: 0 0 3px; }
.doc-meta span { font-size: 12.5px; color: var(--text-muted); }
.doc-dl { font-size: 12px; font-weight: 600; color: var(--sage); letter-spacing: .04em; white-space: nowrap; }

/* Social handle placeholders */
.social-handles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 960px; margin: 0 auto; }
.social-handle { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 30px 20px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.social-handle:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--sage); }
.social-handle-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--forest); color: #fff; display: grid; place-items: center; }
.social-handle-icon svg { width: 26px; height: 26px; fill: currentColor; }
/* Official platform brand colours (cards are ordered FB, IG, YT, WA) */
.social-handles .social-handle:nth-child(1) .social-handle-icon { background: #1877F2; }
.social-handles .social-handle:nth-child(2) .social-handle-icon { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-handles .social-handle:nth-child(3) .social-handle-icon { background: #FF0000; }
.social-handles .social-handle:nth-child(4) .social-handle-icon { background: #25D366; }
.social-handle-name { font-family: var(--font-heading); font-weight: 700; font-size: 15px; color: var(--text-dark); }
.social-handle-tag { font-size: 13px; color: var(--sage); }

@media (max-width: 1024px) {
  .blog-grid, .video-grid { grid-template-columns: repeat(2, 1fr); }
  .social-handles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .blog-grid, .video-grid { grid-template-columns: 1fr; }
  .docs-list { grid-template-columns: 1fr; }
}

/* ============================================================
   OUR GOVERNANCE SYSTEM page — 2026-07-03
   (split intro + slideshow, moving-bg Ab'ink)
   ============================================================ */

/* First section — text left, auto/manual slideshow right */
.gov-split-section { background: var(--off-white); padding: clamp(56px, 8vw, 96px) 0; }
.gov-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.gov-split-text .eyebrow { color: var(--sage); }
.gov-split-text .divider-line.left { margin: 8px 0 22px; }
.gov-split-text .lead { color: var(--text-mid); }
.gov-split-media .gov-mini-slideshow { aspect-ratio: 4 / 3; }
@media (max-width: 900px) {
  .gov-split { grid-template-columns: 1fr; }
  .gov-split-media .gov-mini-slideshow { aspect-ratio: 16 / 9; }
}

/* Ab'ink — Village Governance with a moving image background */
.abink-section {
  position: relative;
  padding: clamp(72px, 10vw, 124px) var(--gutter);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  background: #0a4d28;
}
.abink-bg { position: absolute; inset: 0; z-index: -2; }
.abink-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.abink-bg-slide.active { opacity: 1; }
.abink-section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(rgba(10,77,40,0.82), rgba(10,77,40,0.66));
}
.abink-inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.abink-h1 {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.06;
  margin-bottom: 14px;
}
.abink-h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gold);
  font-size: clamp(22px, 2.8vw, 36px);
  line-height: 1.22;
  margin-bottom: 22px;
}
.abink-h2 .line { display: block; white-space: nowrap; }
.abink-h2 em.italic { color: var(--gold); font-weight: 400; }
.abink-inner p {
  color: rgba(255,255,255,0.92);
  font-size: 16px;
  line-height: 1.75;
  max-width: 760px;
  margin: 0 auto;
}
@media (max-width: 720px) { .abink-h2 .line { white-space: normal; } }
@media (prefers-reduced-motion: reduce) { .abink-bg-slide { transition: none; } }

/* Greca pattern background on the Maya Governance System section (hero removed 2026-07-03) */
.gov-split-section { position: relative; overflow: hidden; }
.gov-split-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-color: var(--forest);
  -webkit-mask-image: url('../images/pattern.png');
          mask-image: url('../images/pattern.png');
  -webkit-mask-repeat: repeat;
          mask-repeat: repeat;
  -webkit-mask-size: 1600px auto;
          mask-size: 1600px auto;
  opacity: 0.06;
}
@supports not ((-webkit-mask-image: url('')) or (mask-image: url(''))) {
  .gov-split-section::before {
    background-color: transparent;
    background-image: url('../images/pattern.png');
    background-repeat: repeat;
    background-size: 1600px auto;
    opacity: 0.05;
  }
}
.gov-split { position: relative; z-index: 1; }

/* ============================================================
   HOME PAGE — 2026-07-03 (v4.9.3) tweaks
   ============================================================ */

/* 3. Reduce the hero's vertical spacing (was min-height 78vh + large padding) */
.home-hero {
  min-height: 52vh;
  padding-top: clamp(44px, 6vw, 84px);
  padding-bottom: clamp(44px, 6vw, 84px);
}

/* 1. Manual prev/next arrows on the "To Be Maya" gallery */
.home-gallery .hg-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
  z-index: 3;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.home-gallery .hg-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); box-shadow: 0 4px 16px rgba(0,0,0,0.28); }
.home-gallery .hg-arrow.prev { left: 14px; }
.home-gallery .hg-arrow.next { right: 14px; }
.home-gallery .hg-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; }

/* 2a. The Future We Dream — 5-image background slideshow (replaces single ::before image) */
.home-vision::before { display: none; }
.vision-bg { position: absolute; inset: 0; z-index: -2; }
.vision-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease;
}
.vision-bg-slide.active { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .vision-bg-slide { transition: none; } }

/* 2b. Both "Li Ka Nabuuch" labels centered directly under the title */
.vision-labels {
  justify-content: center;
  align-items: baseline;
  gap: clamp(22px, 6vw, 72px);
  margin: 4px auto 0;
}
.vision-label--right { text-align: center; opacity: 0.85; }

/* ============================================================
   Governance organogram — inverted (Communities → Alcaldes → Executive)
   Executive Council: President + VP + 5 Members on ONE line (2026-07-04)
   ============================================================ */
.org-exec { gap: 12px; }
.org-exec .org-card { width: 150px; padding: 18px 10px 16px; border-top: 3px solid var(--black); }
.org-exec .org-card .org-photo { width: 60px; height: 60px; margin-bottom: 10px; }
.org-exec .org-card .org-initials { font-size: 20px; }
.org-exec .org-card .org-name { font-size: 14.5px; }
.org-exec .org-card .org-village { font-size: 11px; }
/* President & Vice-President accents within the one-line executive row */
.org-exec .org-card.org-lead   { border-top-color: var(--red); }
.org-exec .org-card.org-second { border-top-color: var(--gold); }
.org-exec .org-card.org-lead   .org-role { color: var(--red); }
.org-exec .org-card.org-second .org-role { color: var(--gold-deep); }
/* horizontal connector bar tuned for a 7-card row */
.org-exec::after { left: 7%; right: 7%; }
/* wrap the 7 cards before they can overflow narrower desktops */
@media (max-width: 1180px) {
  .org-exec { flex-wrap: wrap; }
  .org-exec::after, .org-exec .org-card::before { display: none; }
}

/* The Future We Dream — background video (replaces the image slideshow, 2026-07-07) */
.vision-bg .vision-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  pointer-events: none;
}

/* President moved to its own line above the executive council (2026-07-07).
   Shrink the exec row to fit its cards so the connector bar stays aligned
   regardless of card count (now VP + 5 Members). */
.org-exec { width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; }

/* Our Work hero — centered (2026-07-07) */
.ourwork-hero--center .container { text-align: center; }
.ourwork-hero--center h1 { margin-left: auto; margin-right: auto; }
.ourwork-hero--center .ourwork-hero-sub { margin-left: auto; margin-right: auto; }

/* Center the "A decades-long journey" land-rights intro (About, 2026-07-07) */
.land-rights-text--center { text-align: center; margin-left: auto; margin-right: auto; }

/* ============================================================
   STAFF ORGANOGRAM (About) — full JCS + TAA chart, 2026-07-08
   Green = core staff/TAA; orange = Tenure Facility project team.
   Levels are .reveal groups so the chart extends as you scroll.
   ============================================================ */
.staff-orgchart-scroll {
  margin-top: 40px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  /* full-bleed a bit wider than the text column so the chart reads large */
  width: min(1400px, calc(100vw - 40px));
  margin-left: 50%;
  transform: translateX(-50%);
}
.staff-orgchart {
  display: block;
  width: 100%;
  min-width: 1100px;      /* below this, the wrapper scrolls horizontally */
  height: auto;
}
.staff-orgchart rect.g { fill: #a8bf9a; stroke: rgba(31,54,38,0.30); stroke-width: 1; }
.staff-orgchart rect.o { fill: #f4b127; stroke: rgba(122,79,42,0.35); stroke-width: 1; }
/* Hover glow: green boxes glow green, orange boxes glow yellow. filter:drop-shadow
   works on SVG shapes where box-shadow does not; labels are pointer-events:none so
   hovering the text still counts as hovering the box beneath it. */
.staff-orgchart rect { cursor: pointer; transition: fill .2s ease, stroke .2s ease, filter .2s ease; }
.staff-orgchart rect.g:hover {
  fill: #bcd7ab;
  stroke: #3f7a34;
  stroke-width: 2.5;
  filter: drop-shadow(0 0 10px rgba(63,140,52,0.9));
}
.staff-orgchart rect.o:hover {
  fill: #ffc93f;
  stroke: #b57f18;
  stroke-width: 2.5;
  filter: drop-shadow(0 0 10px rgba(244,177,39,0.95));
}
.staff-orgchart path {
  fill: none;
  stroke: #14241a;
  stroke-width: 2;
  stroke-linecap: square;
}
.staff-orgchart text {
  font-family: var(--font-body);
  font-weight: 600;
  fill: #14241a;
  text-anchor: middle;
  pointer-events: none;
}
/* Chart is visible by DEFAULT (bulletproof — never hidden by an un-fired observer).
   The per-level "extends as you scroll" cascade is a pure enhancement: it runs only
   once the section reveals (.staff-block gets .visible via main.js on the HTML div,
   which is reliable — unlike an IntersectionObserver on the SVG <g> groups). */
.staff-orgchart g { opacity: 1; }
.staff-block.visible .staff-orgchart g { animation: staffLevelIn 0.6s ease backwards; }
.staff-block.visible .staff-orgchart g:nth-child(1) { animation-delay: 0.05s; }
.staff-block.visible .staff-orgchart g:nth-child(2) { animation-delay: 0.20s; }
.staff-block.visible .staff-orgchart g:nth-child(3) { animation-delay: 0.35s; }
.staff-block.visible .staff-orgchart g:nth-child(4) { animation-delay: 0.50s; }
.staff-block.visible .staff-orgchart g:nth-child(5) { animation-delay: 0.65s; }
.staff-block.visible .staff-orgchart g:nth-child(6) { animation-delay: 0.80s; }
@keyframes staffLevelIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .staff-block.visible .staff-orgchart g { animation: none; }
}


/* PHASE 1 — hidden guard (2026-10-06): sections awaiting JCS content carry [hidden]; never let component display rules un-hide them */
[hidden] { display: none !important; }
/* PHASE 1 — partners row: only confirmed logos show, so centre whatever is left instead of a fixed 4-col grid */
.partners-logos { display: flex; flex-wrap: wrap; justify-content: center; }
.partners-logos > .partner-logo { flex: 0 1 calc((100% - 66px) / 4); min-width: 200px; }
