/* ==========================================================================
   UMUCYO SACCO RWAMAGANA — main stylesheet
   Concept: "Umucyo" = light / clarity. Open white layouts, green anchor,
   lime-to-yellow light accents used sparingly.
   ========================================================================== */

:root {
  /* Brand palette (fixed) */
  --primary-green: #00843D;
  --dark-green: #006B35;
  --lime-green: #C8E600;
  --golden-yellow: #FFD600;
  --white: #FFFFFF;
  --light-green-bg: #F3F7F2;
  --charcoal: #1F2937;

  /* Derived tones */
  --deep-green: #004F27;           /* hero / CTA depth behind dark-green */
  --green-tint: #E3F1E7;           /* icon tiles */
  --ink-muted: #4B5563;            /* secondary text, 7.5:1 on white */
  --border: #E1EAE0;
  --gradient: linear-gradient(90deg, var(--primary-green) 0%, var(--lime-green) 55%, var(--golden-yellow) 100%);

  /* Type */
  --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Layout (8px grid) */
  --container: 1240px;
  --gutter: 16px;
  --radius: 16px;
  --radius-sm: 12px;
  --header-h: 72px;
  --section-y: clamp(64px, 9vw, 112px);

  --shadow-sm: 0 1px 2px rgba(16, 40, 24, .06), 0 2px 8px rgba(16, 40, 24, .04);
  --shadow-md: 0 8px 24px rgba(16, 40, 24, .08), 0 2px 6px rgba(16, 40, 24, .05);
  --shadow-lg: 0 24px 56px rgba(0, 60, 30, .14);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --gutter: 40px; --header-h: 80px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (min-width: 768px) { body { font-size: 1.0625rem; } }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--primary-green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--dark-green); }
h1, h2, h3, h4 { overflow-wrap: break-word; font-family: var(--font-head); line-height: 1.15; margin: 0 0 16px; color: var(--dark-green); letter-spacing: -0.01em; }
p { margin: 0 0 16px; }
ul, ol { margin: 0; padding: 0; }
[role="list"] { list-style: none; }
figure { margin: 0; }
blockquote { margin: 0; }
main:focus { outline: none; }

:focus-visible {
  outline: 3px solid var(--golden-yellow);
  outline-offset: 3px;
  border-radius: 6px;
  box-shadow: 0 0 0 6px rgba(0, 107, 53, .35);
}

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 200;
  background: var(--dark-green); color: var(--white); padding: 12px 20px; border-radius: 8px;
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; color: var(--white); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.icon { width: 20px; height: 20px; flex: none; }

/* Placeholder text that the SACCO still has to supply */
.ph {
  background: rgba(255, 214, 0, .28);
  border-radius: 4px;
  padding: 0 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  font-style: normal;
  overflow-wrap: anywhere;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: .8125rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--primary-green);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--gradient);
}
.h2 { font-size: clamp(1.875rem, 1.3rem + 2.2vw, 2.75rem); font-weight: 800; margin-bottom: 20px; text-wrap: balance; }
.h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; color: var(--dark-green); }
.lead { font-size: 1.125rem; color: var(--ink-muted); max-width: 60ch; }
@media (min-width: 768px) { .lead { font-size: 1.1875rem; } }

.section { padding-block: var(--section-y); }
.section--tint { background: var(--light-green-bg); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lead { margin-inline: auto; }

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: var(--primary-green); --btn-fg: var(--white); --btn-bd: var(--primary-green);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  font-family: var(--font-head); font-size: 1rem; font-weight: 700; line-height: 1.2;
  color: var(--btn-fg); background: var(--btn-bg); border: 2px solid var(--btn-bd); border-radius: 999px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover { transform: translateY(-1px); color: var(--btn-fg); }
.btn:hover .icon { transform: translateX(3px); }
.btn--sm { min-height: 42px; padding: 8px 20px; font-size: .9375rem; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1.0625rem; }
.btn--block { width: 100%; }

.btn--primary:hover { --btn-bg: var(--dark-green); --btn-bd: var(--dark-green); box-shadow: 0 6px 18px rgba(0, 107, 53, .28); }
/* Yellow CTA uses dark-green text (5.0:1) — never white on yellow */
.btn--accent { --btn-bg: var(--golden-yellow); --btn-fg: var(--deep-green); --btn-bd: var(--golden-yellow); }
.btn--accent:hover { --btn-bg: #FFE14D; --btn-bd: #FFE14D; box-shadow: 0 8px 24px rgba(255, 214, 0, .35); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, .6); }
.btn--ghost-light:hover { --btn-bg: var(--white); --btn-fg: var(--dark-green); --btn-bd: var(--white); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--dark-green); --btn-bd: var(--primary-green); }
.btn--outline:hover { --btn-bg: var(--primary-green); --btn-fg: var(--white); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; color: var(--primary-green); text-decoration: none;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--dark-green); }
.link-arrow:hover .icon { transform: translateX(4px); }

.tag {
  display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px;
  font-size: .75rem; font-weight: 600; letter-spacing: .02em;
  background: var(--green-tint); color: var(--dark-green);
}
.tag--ph { background: #FFF6C2; color: #5C4A00; border: 1px dashed #C9A800; }

.icon-tile {
  position: relative; display: inline-grid; place-items: center;
  width: 56px; height: 56px; border-radius: 14px; background: var(--green-tint); color: var(--primary-green);
  margin-bottom: 24px;
}
.icon-tile .icon { width: 26px; height: 26px; }
.icon-tile::after { /* yellow accent dot */
  content: ""; position: absolute; top: 9px; right: 9px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--golden-yellow); box-shadow: 0 0 0 2px var(--green-tint);
}
.icon-tile--sm { width: 48px; height: 48px; border-radius: 12px; margin-bottom: 20px; }
.icon-tile--sm .icon { width: 22px; height: 22px; }
.icon-tile--sm::after { top: 7px; right: 7px; width: 7px; height: 7px; }

.card {
  position: relative; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: background-color .3s, box-shadow .3s, border-color .3s;
}
.site-header.is-scrolled { background: var(--white); border-bottom-color: var(--border); box-shadow: 0 6px 24px rgba(16, 40, 24, .07); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); transition: height .3s var(--ease); }
.site-header.is-scrolled .header__inner { height: calc(var(--header-h) - 8px); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; flex: none; }

.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.0625rem; color: var(--dark-green); letter-spacing: .01em; }
.brand__place { font-family: var(--font-head); font-weight: 700; font-size: .6875rem; letter-spacing: .28em; color: var(--primary-green); margin-top: 5px; }

.nav { display: none; }
.nav__list { display: flex; gap: 4px; list-style: none; }
.nav__list a {
  position: relative; display: block; padding: 10px 12px; border-radius: 8px;
  font-weight: 500; font-size: .9375rem; color: var(--charcoal); text-decoration: none; white-space: nowrap;
}
.nav__list a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 3px; border-radius: 3px;
  background: var(--gradient); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav__list a:hover { color: var(--primary-green); }
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.nav__list a[aria-current="page"] { color: var(--dark-green); font-weight: 600; }

.header__actions { display: flex; align-items: center; gap: 12px; }
.header__cta { display: none; }

.lang-switch { display: flex; align-items: center; list-style: none; font-family: var(--font-head); font-weight: 700; font-size: .8125rem; }
.lang-switch li + li::before { content: ""; display: inline-block; width: 1px; height: 14px; background: #C9D6C8; vertical-align: middle; }
.lang-switch a { display: inline-block; padding: 8px 9px; color: var(--ink-muted); text-decoration: none; letter-spacing: .06em; border-radius: 6px; }
.lang-switch a:hover { color: var(--primary-green); }
.lang-switch a[aria-current="true"] { color: var(--dark-green); text-decoration: underline; text-decoration-color: var(--golden-yellow); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.lang-switch--header { display: none; }

.menu-toggle {
  display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0;
  border: 1px solid var(--border); border-radius: 12px; background: var(--white); color: var(--dark-green); cursor: pointer;
}
.menu-toggle .icon { width: 24px; height: 24px; }
.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-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 101; overflow-y: auto;
  background: var(--white); border-top: 1px solid var(--border);
  padding-block: 16px 32px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__list { list-style: none; }
.mobile-menu__list a {
  display: flex; align-items: center; justify-content: space-between; padding: 16px 4px;
  border-bottom: 1px solid var(--border); font-family: var(--font-head); font-weight: 700; font-size: 1.25rem;
  color: var(--charcoal); text-decoration: none;
}
.mobile-menu__list a[aria-current="page"] { color: var(--primary-green); }
.mobile-menu__footer { display: grid; gap: 24px; margin-top: 32px; }
.lang-switch--menu { font-size: 1rem; }
.lang-switch--menu a { padding: 10px 14px; }
body.menu-open { overflow: hidden; }

@media (min-width: 720px) { .header__cta { display: inline-flex; } .lang-switch--header { display: flex; } }
/* Full desktop navigation needs ~1430px in Kinyarwanda; below 1360px the menu button is used. */
@media (min-width: 1360px) {
  .nav { display: block; }
  .menu-toggle, .mobile-menu { display: none !important; }
}
@media (min-width: 1360px) and (max-width: 1499px) {
  .header__inner { gap: 16px; }
  .nav__list a { padding-inline: 10px; }
  .nav__list a::after { left: 10px; right: 10px; }
  .lang-switch--header a > span[aria-hidden] { display: none; }
  .lang-switch--header a { padding: 8px 7px; }
  .lang-switch--header a[aria-current] .flag { box-shadow: 0 0 0 2px var(--golden-yellow); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--dark-green) 0%, var(--deep-green) 100%);
  color: var(--white);
}
.hero::after { /* signature light line */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gradient); z-index: 3;
}
.hero__rays {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(40% 50% at 8% 0%, rgba(200, 230, 0, .20), transparent 70%),
    repeating-conic-gradient(from 100deg at 0% 0%, rgba(255, 214, 0, .055) 0deg 3deg, transparent 3deg 11deg);
  -webkit-mask-image: radial-gradient(90% 90% at 0% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(90% 90% at 0% 0%, #000 0%, transparent 75%);
}
.hero__media { position: relative; z-index: 1; order: -1; aspect-ratio: 4 / 3; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 45% 25%;
  -webkit-mask-image: linear-gradient(180deg, #000 50%, rgba(0, 0, 0, .45) 78%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 50%, rgba(0, 0, 0, .45) 78%, transparent 100%);
}
.hero__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.hero__inner { position: relative; z-index: 2; margin-top: -48px; padding-bottom: 120px; }
.hero__content { max-width: 620px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(0, 0, 0, .14);
  font-size: .8125rem; font-weight: 600; letter-spacing: .03em; color: rgba(255, 255, 255, .92);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--golden-yellow); box-shadow: 0 0 0 4px rgba(255, 214, 0, .22), 0 0 16px rgba(255, 214, 0, .7); }
.hero__title {
  font-size: clamp(2.375rem, 1.4rem + 4.2vw, 4.25rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.025em;
  color: var(--white); margin-bottom: 24px; text-wrap: balance;
}
.hero__lead { font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); color: rgba(255, 255, 255, .88); max-width: 54ch; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; font-size: .9375rem; color: rgba(255, 255, 255, .85); }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points .icon { width: 18px; height: 18px; color: var(--lime-green); }

@media (max-width: 479px) {
  .hero__actions .btn { width: 100%; }
}
@media (min-width: 640px) { .hero__media { aspect-ratio: 16 / 9; } }

@media (min-width: 1024px) {
  .hero { min-height: clamp(600px, 82vh, 760px); justify-content: center; background: radial-gradient(120% 90% at 0% 0%, #0B7A40 0%, var(--dark-green) 38%, var(--deep-green) 100%); }
  .hero__media { position: absolute; inset: 0 0 0 auto; width: 60%; aspect-ratio: auto; order: 0; }
  .hero__media img {
    object-position: 50% 30%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .35) 18%, #000 52%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .35) 18%, #000 52%);
  }
  .hero__media::after {
    background: linear-gradient(0deg, rgba(0, 79, 39, .55) 0%, rgba(0, 79, 39, 0) 30%);
  }
  .hero__inner { margin-top: 0; padding-block: 96px 168px; }
  .hero__content { max-width: 600px; }
}

/* ---------- Stats strip ---------- */
.stats-wrap { position: relative; z-index: 5; margin-top: -72px; }
.stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--white); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.stat { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px 20px; }
.stat:nth-child(odd) { border-right: 1px solid var(--border); }
.stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
.stat::before { content: ""; width: 32px; height: 4px; border-radius: 4px; background: var(--gradient); margin-bottom: 8px; }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.625rem); line-height: 1; color: var(--dark-green); font-variant-numeric: tabular-nums; }
.stat__num--ph { color: #6B5A00; background: rgba(255, 214, 0, .28); border-radius: 6px; padding: 2px 6px; align-self: flex-start; }
.stat__label { font-size: .9375rem; color: var(--ink-muted); }
@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat { padding: 32px; }
  .stat:nth-child(-n+2) { border-bottom: 0; }
  .stat:not(:last-child) { border-right: 1px solid var(--border); }
}

/* ---------- About ---------- */
.about__grid { display: grid; gap: 56px; align-items: center; }
.about__media { position: relative; padding: 0 0 32px 0; }
.about__glow {
  position: absolute; left: -16px; bottom: 0; width: 70%; height: 70%; border-radius: 24px; z-index: 0;
  background: linear-gradient(135deg, rgba(200, 230, 0, .55), rgba(255, 214, 0, .55));
}
.about__figure { position: relative; z-index: 1; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); margin-left: 16px; }
.about__figure img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 30%; }
.about__badge {
  position: absolute; z-index: 2; right: 12px; bottom: 0;
  display: flex; align-items: center; gap: 14px; max-width: 290px; padding: 16px 20px;
  background: var(--white); border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  font-size: .875rem; line-height: 1.35; color: var(--ink-muted);
}
.about__badge strong { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--dark-green); }
.about__badge-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--primary-green); color: var(--white); }
.about__badge-icon .icon { width: 22px; height: 22px; }
.about__content > p:not([class]) { color: var(--ink-muted); }
.mission {
  position: relative; margin: 32px 0; padding: 24px 24px 24px 28px; border-radius: 14px; background: var(--light-green-bg);
}
.mission::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--primary-green), var(--lime-green), var(--golden-yellow)); }
.mission__label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px; font-family: var(--font-head); font-weight: 700; font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--primary-green); }
.mission__label .icon { width: 18px; height: 18px; color: #B89A00; }
.mission__text { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 1.1875rem; line-height: 1.45; color: var(--dark-green); }
@media (min-width: 1024px) {
  .about__grid { grid-template-columns: 1.05fr 1fr; gap: 80px; }
  .about__media { padding: 0 32px 40px 0; }
  .about__figure { margin-left: 24px; }
  .about__glow { left: 0; }
  .about__badge { right: 0; }
}

/* ---------- Services ---------- */
.services__grid { display: grid; gap: 48px; }
.services__intro .lead { margin-bottom: 32px; }
.services__figure { border-radius: 20px; overflow: hidden; margin-bottom: 32px; box-shadow: var(--shadow-md); }
.services__figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 55% 25%; }
.services__cards { display: grid; gap: 20px; list-style: none; }
.service-card { padding: 32px; display: flex; flex-direction: column; }
.service-card p { color: var(--ink-muted); flex: 1; }
.service-card::before {
  content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 3px; border-radius: 0 0 3px 3px;
  background: var(--gradient); opacity: 0; transition: opacity .3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #CFE0CD; }
.service-card:hover::before { opacity: 1; }
@media (min-width: 640px) { .services__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .services__grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .services__intro { position: sticky; top: calc(var(--header-h) + 32px); }
  .services__cards { gap: 24px; }
}

/* ---------- Values ---------- */
.values__list { display: grid; gap: 16px; list-style: none; counter-reset: v; }
.value {
  position: relative; padding: 32px 28px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--white);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.value::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gradient); transform: scaleX(.18); transform-origin: left; transition: transform .4s var(--ease); }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value:hover::after { transform: scaleX(1); }
.value__num { position: absolute; top: 20px; right: 24px; font-family: var(--font-head); font-weight: 800; font-size: 2.5rem; line-height: 1; color: var(--green-tint); }
.value__rw { margin: 0 0 4px; font-size: .8125rem; font-weight: 600; font-style: italic; color: var(--primary-green); }
.value__title { font-size: 1.125rem; font-weight: 700; margin-bottom: 8px; }
.value__text { margin: 0; color: var(--ink-muted); font-size: .9375rem; }
@media (min-width: 640px) { .values__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .values__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }

/* ---------- Join steps ---------- */
.join__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: 48px; }
.join__head > div { max-width: 640px; }
.join__head .lead, .join__head .h2 { margin-bottom: 0; }
.join__head .h2 + .lead { margin-top: 16px; }
.steps { display: grid; gap: 20px; list-style: none; }
.step { position: relative; padding: 28px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.step p { margin: 0; color: var(--ink-muted); }
.step__num {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px; border-radius: 50%;
  background: var(--primary-green); color: var(--white); font-family: var(--font-head); font-weight: 800; font-size: 1.125rem;
  box-shadow: 0 0 0 6px var(--light-green-bg), 0 0 0 7px #CFE0CD;
}
.step__icon { position: absolute; top: 28px; right: 28px; color: #9DBFA3; }
.step__icon .icon { width: 28px; height: 28px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .step:not(:last-child)::after { /* light connector between steps */
    content: ""; position: absolute; top: 49px; left: calc(100% + 1px); width: 22px; height: 3px; border-radius: 3px;
    background: var(--gradient);
  }
}

/* ---------- Testimonials ---------- */
.testimonials__grid { display: grid; gap: 20px; list-style: none; }
.testimonial { padding: 32px; display: flex; flex-direction: column; }
.testimonial > .tag { position: absolute; top: 20px; right: 20px; }
.testimonial__quote { width: 36px; height: 36px; color: var(--lime-green); margin-bottom: 20px; fill: rgba(200, 230, 0, .25); }
.testimonial blockquote { flex: 1; }
.testimonial blockquote p { font-size: 1.0625rem; line-height: 1.65; color: var(--charcoal); }
.testimonial__person { display: flex; align-items: center; gap: 14px; padding-top: 20px; margin-top: 8px; border-top: 1px solid var(--border); font-size: .875rem; color: var(--ink-muted); }
.testimonial__person strong { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--dark-green); }
.avatar {
  display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-green), var(--dark-green)); color: var(--white);
  font-family: var(--font-head); font-weight: 800; box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--lime-green);
}
@media (min-width: 1024px) { .testimonials__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }

/* ---------- News ---------- */
.news__grid { display: grid; gap: 24px; list-style: none; }
.news-card { overflow: hidden; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-card:hover .news-card__media img { transform: scale(1.04); }
.news-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--light-green-bg); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card__sample { position: absolute; top: 14px; left: 14px; }
.news-card__graphic {
  position: relative; width: 100%; height: 100%; display: grid; place-items: center; color: var(--white);
  background:
    repeating-conic-gradient(from 200deg at 100% 0%, rgba(255, 214, 0, .10) 0deg 4deg, transparent 4deg 12deg),
    radial-gradient(80% 90% at 100% 0%, rgba(200, 230, 0, .45), transparent 60%),
    linear-gradient(135deg, var(--primary-green), var(--deep-green));
}
.news-card__graphic .icon { width: 64px; height: 64px; stroke-width: 1.5; opacity: .95; }
.news-card__body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.news-card__body > p:not([class]) { color: var(--ink-muted); font-size: .9375rem; flex: 1; }
.news-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 14px; font-size: .8125rem; color: var(--ink-muted); }
.news-card__meta > span:last-child { display: inline-flex; align-items: center; gap: 6px; }
.news-card__meta .icon { width: 15px; height: 15px; }
.news-card__link { color: inherit; text-decoration: none; }
.news-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius); }
.news-card__link:focus-visible { outline: none; box-shadow: none; }
.news-card:has(.news-card__link:focus-visible) { outline: 3px solid var(--golden-yellow); outline-offset: 3px; }
@media (min-width: 640px) { .news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .news__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }

/* ---------- CTA band ---------- */
.cta-band { padding-block: var(--section-y); }
.cta-band__inner {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; gap: 32px; align-items: center;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 72px);
  border-radius: 28px; color: var(--white);
  background: linear-gradient(120deg, var(--deep-green) 0%, var(--dark-green) 40%, var(--primary-green) 100%);
}
.cta-band__inner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--gradient); }
.cta-band__rays {
  position: absolute; z-index: -1; right: -10%; top: -40%; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg, rgba(255, 214, 0, .12) 0deg 4deg, transparent 4deg 13deg),
    radial-gradient(circle, rgba(200, 230, 0, .38) 0%, rgba(255, 214, 0, .12) 35%, transparent 65%);
  -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 68%);
  mask-image: radial-gradient(circle, #000 20%, transparent 68%);
}
.cta-band__title { color: var(--white); font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem); font-weight: 800; text-wrap: balance; }
.cta-band__content p { color: rgba(255, 255, 255, .88); max-width: 56ch; margin: 0; font-size: 1.0625rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 1024px) {
  .cta-band__inner { grid-template-columns: 1.5fr auto; gap: 48px; }
  .cta-band__actions { flex-direction: column; align-items: stretch; }
}
@media (max-width: 479px) { .cta-band__actions .btn { width: 100%; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--dark-green); color: rgba(255, 255, 255, .82); font-size: .9375rem; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--gradient); }

.footer__logo { display: inline-block; padding: 10px; background: var(--white); border-radius: 18px; margin-bottom: 20px; }
.footer__logo img { width: 108px; height: 108px; }
.footer__motto { font-family: var(--font-head); font-weight: 700; font-size: 1.125rem; color: var(--white); margin-bottom: 8px; }

.footer__title { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lime-green); margin-bottom: 20px; }

.site-footer a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.site-footer a:hover { color: var(--golden-yellow); text-decoration: underline; }

.footer__contact { list-style: none; display: grid; gap: 14px; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.footer__contact a, .footer__contact span { overflow-wrap: anywhere; }
.footer__contact .icon { margin-top: 3px; color: var(--golden-yellow); }
.footer__hours { margin: 0; display: grid; gap: 8px; }
.footer__hours div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dashed rgba(255, 255, 255, .18); padding-bottom: 8px; }
.footer__hours dd { margin: 0; color: var(--white); font-weight: 500; text-align: right; white-space: nowrap; }
.site-footer .ph { background: rgba(255, 214, 0, .2); color: var(--white); }
.social { display: flex; gap: 10px; list-style: none; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28); transition: background-color .2s, border-color .2s, color .2s; }
.social a:hover { background: var(--golden-yellow); border-color: var(--golden-yellow); color: var(--deep-green); text-decoration: none; }
.social .icon { width: 18px; height: 18px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .14); background: rgba(0, 0, 0, .12); font-size: .875rem; }
.footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 20px; }
.footer__bottom p { margin: 0; }
.footer__bottom ul { display: flex; gap: 24px; list-style: none; }

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Inner pages
   ========================================================================== */
.muted { color: var(--ink-muted); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }

/* ---------- Page hero (light, "umucyo" glow) ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--light-green-bg); border-bottom: 1px solid var(--border);
  padding-block: clamp(40px, 6vw, 72px) clamp(48px, 7vw, 88px);
}
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 4px; background: var(--gradient); }
.page-hero__glow {
  position: absolute; z-index: -1; right: -12%; top: -60%; width: min(760px, 90vw); aspect-ratio: 1; border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg, rgba(255, 214, 0, .14) 0deg 3deg, transparent 3deg 12deg),
    radial-gradient(circle, rgba(255, 214, 0, .45) 0%, rgba(200, 230, 0, .3) 30%, transparent 65%);
  -webkit-mask-image: radial-gradient(circle, #000 15%, transparent 66%);
  mask-image: radial-gradient(circle, #000 15%, transparent 66%);
}
.page-hero__inner { position: relative; }
.page-hero__title { font-size: clamp(2.125rem, 1.4rem + 3vw, 3.5rem); font-weight: 800; letter-spacing: -0.02em; max-width: 20ch; text-wrap: balance; }
.page-hero .lead { margin-bottom: 0; }
.breadcrumb { margin-bottom: 28px; font-size: .875rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; }
.breadcrumb li { display: inline-flex; align-items: center; color: var(--ink-muted); }
.breadcrumb li + li::before { content: ""; width: 6px; height: 6px; margin: 0 12px; border-top: 1.5px solid #8FA992; border-right: 1.5px solid #8FA992; transform: rotate(45deg); }
.breadcrumb a { color: var(--primary-green); text-decoration: none; font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--charcoal); font-weight: 600; }
.page-hero--article .page-hero__title { max-width: none; font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem); }
.sample-banner {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 8px 14px; border-radius: 10px;
  background: #FFF6C2; border: 1px dashed #C9A800; color: #5C4A00; font-size: .875rem; font-weight: 600;
}
.sample-banner .icon { width: 16px; height: 16px; }

/* ---------- Checklists ---------- */
.checklist { list-style: none; display: grid; gap: 12px; margin: 0 0 24px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon {
  flex: none; width: 22px; height: 22px; padding: 4px; margin-top: 2px; border-radius: 50%;
  background: var(--green-tint); color: var(--primary-green); stroke-width: 3;
}
.checklist--sm { gap: 8px; margin: 0; font-size: .9375rem; }
.checklist--sm .icon { width: 18px; height: 18px; padding: 3px; }
.checklist--lg { gap: 16px; margin-bottom: 32px; font-size: 1.0625rem; }

/* ---------- About: timeline, mission/vision, values, governance ---------- */
.timeline { list-style: none; margin-top: 32px; border-left: 2px solid var(--border); padding-left: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 0 0 24px 28px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--golden-yellow); box-shadow: 0 0 0 4px var(--white), 0 0 0 5px #D9C24A; }
.timeline__year { font-family: var(--font-head); font-weight: 800; font-size: .875rem; letter-spacing: .04em; text-transform: uppercase; color: var(--primary-green); }
.timeline__title { font-size: 1.0625rem; margin-bottom: 4px; }
.timeline p { margin: 0; color: var(--ink-muted); font-size: .9375rem; }

.mv { display: grid; gap: 24px; }
.mv__card { position: relative; overflow: hidden; padding: clamp(32px, 4vw, 48px); border-radius: 20px; background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.mv__card--dark { background: linear-gradient(135deg, var(--dark-green), var(--deep-green)); border-color: transparent; color: var(--white); }
.mv__card--dark::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 214, 0, .35), rgba(200, 230, 0, .1) 45%, transparent 70%); }
.mv__label { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary-green); margin-bottom: 12px; }
.mv__card--dark .mv__label { color: var(--lime-green); }
.mv__text { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem); line-height: 1.35; color: var(--dark-green); }
.mv__card--dark .mv__text { color: var(--white); }
.icon-tile--light { background: rgba(255, 255, 255, .12); color: var(--golden-yellow); }
.icon-tile--light::after { box-shadow: 0 0 0 2px var(--dark-green); }
@media (min-width: 900px) { .mv { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.values-detail { list-style: none; display: grid; gap: 16px; max-width: 980px; margin-inline: auto; }
.values-detail__item {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start;
  padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--white);
}
.values-detail__item .icon-tile { margin: 0; }
@media (min-width: 560px) { .values-detail__item { grid-template-columns: auto minmax(0, 1fr); gap: 20px; padding: 28px; } }
.values-detail__num { position: absolute; top: 20px; right: 24px; font-family: var(--font-head); font-weight: 800; font-size: 2.25rem; line-height: 1; color: var(--green-tint); }
.values-detail__short { font-family: var(--font-head); font-weight: 600; color: var(--primary-green); margin-bottom: 8px; padding-right: 48px; }
.values-detail__item .h3 { padding-right: 48px; }
.values-detail__item p:last-child { margin: 0; }

.gov-note { display: inline-block; margin: -24px 0 32px; font-size: .9375rem; }
.gov { display: grid; gap: 24px; }
.gov__body { padding: 28px; border-radius: 20px; background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.gov__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; margin-bottom: 24px; }
.gov__head .icon-tile { margin: 0; }
.gov__head p { margin: 0; font-size: .9375rem; }
.people { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.person { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.person__photo {
  display: grid; place-items: center; width: 100%; aspect-ratio: 1; max-width: 120px; border-radius: 16px; margin-bottom: 8px;
  color: rgba(255, 255, 255, .85);
  background:
    radial-gradient(70% 70% at 100% 0%, rgba(200, 230, 0, .45), transparent 60%),
    linear-gradient(135deg, var(--primary-green), var(--deep-green));
}
.person__photo .icon { width: 36%; height: 36%; stroke-width: 1.5; }
.person__name { font-family: var(--font-head); font-weight: 700; font-size: .875rem; color: var(--dark-green); }
.person__role { font-size: .8125rem; color: var(--ink-muted); line-height: 1.3; }
@media (min-width: 900px) { .gov { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.notice {
  display: flex; gap: 16px; align-items: flex-start; margin-top: 32px; padding: 24px 28px; border-radius: 16px;
  background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--primary-green);
}
.notice > .icon { width: 28px; height: 28px; color: var(--primary-green); margin-top: 2px; }
.notice__title { font-size: 1.0625rem; margin-bottom: 4px; }
.notice p { margin: 0; }

/* ---------- Services ---------- */
.subnav {
  position: sticky; top: calc(var(--header-h) - 8px); z-index: 50;
  background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.subnav ul { display: flex; gap: 8px; list-style: none; overflow-x: auto; padding-block: 12px; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: inline-block; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--border); white-space: nowrap;
  font-family: var(--font-head); font-weight: 700; font-size: .9375rem; color: var(--dark-green); text-decoration: none; background: var(--white);
  transition: background-color .2s, color .2s, border-color .2s;
}
.subnav a:hover, .subnav a[aria-current="true"] { background: var(--primary-green); border-color: var(--primary-green); color: var(--white); }
section[id] { scroll-margin-top: calc(var(--header-h) + 72px); }

.products { list-style: none; display: grid; gap: 20px; }
.product { padding: 28px; display: flex; flex-direction: column; }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product .h3 { font-size: 1.1875rem; }
.product__meta { margin: 8px 0 24px; display: grid; gap: 16px; flex: 1; align-content: start; }
.product__meta dt { font-family: var(--font-head); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary-green); margin-bottom: 6px; }
.product__meta dd { margin: 0; font-size: .9375rem; }
.product__cta { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }
@media (min-width: 640px) { .products--4, .products--3, .products--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .products--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1280px) { .products--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.split-head { display: grid; gap: 32px; align-items: end; margin-bottom: 32px; }
.split-head .section-head { margin-bottom: 0; }
.split-head__figure { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); }
.split-head__figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 55% 25%; }
@media (min-width: 1024px) { .split-head { grid-template-columns: 1.3fr 1fr; gap: 64px; } }
.rate-note {
  display: flex; gap: 12px; align-items: flex-start; margin-bottom: 32px; padding: 16px 20px; border-radius: 12px;
  background: var(--white); border: 1px solid var(--border); font-size: .9375rem;
}
.rate-note .icon { color: var(--primary-green); margin-top: 2px; }

.digital { display: grid; gap: 40px; align-items: start; }
.ussd {
  display: inline-flex; align-items: center; gap: 16px; padding: 16px 24px 16px 16px; border-radius: 16px;
  background: linear-gradient(135deg, var(--dark-green), var(--deep-green)); color: var(--white);
}
.ussd__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(255, 255, 255, .12); color: var(--golden-yellow); }
.ussd__label { display: block; font-size: .8125rem; opacity: .85; }
.ussd__code { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; letter-spacing: .04em; }
.ussd .ph { background: rgba(255, 214, 0, .25); }
@media (min-width: 1024px) { .digital { grid-template-columns: 5fr 7fr; gap: 64px; } }

/* ---------- Membership ---------- */
.benefits { list-style: none; display: grid; gap: 20px; }
.benefit { padding: 28px; }
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.benefit p { margin: 0; }
@media (min-width: 640px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }

.elig { display: grid; gap: 56px; }
.elig .section-head { margin-bottom: 32px; }
.elig__groups { display: flex; gap: 12px; align-items: center; padding: 16px 20px; border-radius: 12px; background: var(--white); border: 1px solid var(--border); margin: 0; }
.elig__groups .icon { color: var(--primary-green); }
.docs { display: grid; gap: 20px; }
.docs__card { padding: 28px; }
.docs__card .h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.docs__card .h3 .icon { color: var(--primary-green); }
.docs__card .checklist { margin: 0; }
@media (min-width: 1024px) { .elig { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; } }

.download {
  display: grid; gap: 20px; align-items: center; margin-top: 48px; padding: 28px; border-radius: 20px;
  background: var(--light-green-bg); border: 1px solid var(--border);
}
.download__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: var(--primary-green); color: var(--white); }
.download__icon .icon { width: 30px; height: 30px; }
.download__text p { margin: 0 0 4px; color: var(--ink-muted); }
.download__text .h3 { margin-bottom: 6px; }
.download__note { font-size: .875rem; }
@media (min-width: 768px) { .download { grid-template-columns: auto 1fr auto; gap: 28px; padding: 32px 40px; } }

/* ---------- News page & article ---------- */
.news__grid--2 { margin-top: 32px; }
@media (min-width: 640px) { .news__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tag--accent { background: var(--golden-yellow); color: var(--deep-green); }
@media (min-width: 1024px) {
  .news__grid--page .news-card--featured { grid-column: 1 / -1; flex-direction: row; }
  .news-card--featured .news-card__media { flex: 0 0 56%; aspect-ratio: auto; min-height: 380px; }
  .news-card--featured .news-card__body { padding: 48px; justify-content: center; }
  .news-card__title--lg { font-size: 2rem; }
}

.article__body { padding-block: 48px var(--section-y); }
.article__figure { border-radius: 20px; overflow: hidden; margin-bottom: 40px; box-shadow: var(--shadow-md); }
.article__figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 35%; }
.prose { font-size: 1.125rem; line-height: 1.75; }
.prose h2 { font-size: 1.625rem; margin: 40px 0 16px; }
.prose p { margin-bottom: 24px; }
.pull-quote { position: relative; margin: 40px 0; padding: 32px 32px 32px 88px; border-radius: 16px; background: var(--light-green-bg); }
.pull-quote__icon { position: absolute; left: 28px; top: 30px; width: 36px; height: 36px; color: var(--primary-green); }
.pull-quote p { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; line-height: 1.5; color: var(--dark-green); }
.article__footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); }
.link-arrow--back .icon { transform: rotate(180deg); }
.link-arrow--back:hover .icon { transform: rotate(180deg) translateX(4px); }
.share { display: flex; align-items: center; gap: 16px; }
.share__label { font-family: var(--font-head); font-weight: 700; color: var(--dark-green); }
.social--light a { border-color: var(--border); color: var(--dark-green); }
.social--light a:hover { background: var(--primary-green); border-color: var(--primary-green); color: var(--white); }

/* ---------- Contact ---------- */
.contact-cards { list-style: none; display: grid; gap: 20px; }
.contact-card { padding: 28px; display: flex; flex-direction: column; }
.contact-card p { flex: 1; }
.contact-card .icon-tile { margin-bottom: 16px; }
.btn--wa { --btn-bg: #1E7F46; --btn-bd: #1E7F46; align-self: stretch; white-space: normal; text-align: center; padding-inline: 16px; }
.btn--wa:hover { --btn-bg: var(--dark-green); --btn-bd: var(--dark-green); }
@media (min-width: 640px) { .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .contact-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.forms { display: grid; gap: 24px; align-items: start; }
.form-card { padding: clamp(24px, 4vw, 40px); }
.form-card--loan { border-top: 4px solid var(--golden-yellow); }
.form-card__title { font-size: 1.5rem; }
@media (min-width: 1024px) { .forms { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }

.form { display: grid; gap: 20px; margin-top: 24px; }
.form__row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 6px; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: .9375rem; color: var(--charcoal); }
.req { color: #B42318; }
.opt { font-weight: 400; color: var(--ink-muted); }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--charcoal);
  background-color: var(--white); border: 1.5px solid #B9C9B8; border-radius: 12px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 128px; }
.field select {
  appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--primary-green) 50%), linear-gradient(135deg, var(--primary-green) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary-green); box-shadow: 0 0 0 4px rgba(0, 132, 61, .18); }
.field [aria-invalid="true"] { border-color: #B42318 !important; box-shadow: 0 0 0 4px rgba(180, 35, 24, .1) !important; }
.field__error { margin: 0; font-size: .875rem; color: #B42318; font-weight: 500; }
.field__error:empty { display: none; }
.field--check { grid-template-columns: auto 1fr; align-items: start; column-gap: 12px; }
.field--check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--primary-green); }
.field--check label { font-weight: 400; color: var(--ink-muted); }
.field--check .field__error { grid-column: 2; }
.field--radios { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.field--radios legend { width: 100%; margin-bottom: 8px; padding: 0; }
.field--radios label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer; }
.field--radios input { width: 20px; height: 20px; margin: 0; accent-color: var(--primary-green); }
.field--radios .field__error { width: 100%; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: .875rem; color: var(--ink-muted); }
.form__note .icon { width: 18px; height: 18px; color: var(--primary-green); margin-top: 2px; }
.form button[type="submit"] { justify-self: start; }
.form button[disabled] { opacity: .7; cursor: progress; }
.form__status:empty { display: none; }
.form__status { padding: 14px 16px; border-radius: 12px; font-weight: 500; font-size: .9375rem; outline: none; }
.form__status.is-error { background: #FEF3F2; color: #912018; border: 1px solid #FECDCA; }
.form__status.is-success { background: var(--green-tint); color: var(--dark-green); border: 1px solid #B7DCC2; }
.form__status.is-info { background: #FFF6C2; color: #5C4A00; border: 1px solid #E8D46A; }

.map-wrap { display: grid; gap: 40px; align-items: stretch; }
.map-side__hours { display: flex; align-items: center; gap: 10px; margin-top: 32px; }
.map-side__hours .icon { color: var(--primary-green); }
.hours { margin: 0 0 24px; display: grid; gap: 10px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px dashed var(--border); }
.hours dd { margin: 0; font-weight: 600; white-space: nowrap; }
.map-note { font-size: .875rem; }
.map { min-height: 360px; border-radius: 20px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-md); background: var(--light-green-bg); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }
@media (min-width: 1024px) { .map-wrap { grid-template-columns: 4fr 7fr; gap: 64px; } .map, .map iframe { min-height: 480px; } }

/* ==========================================================================
   Products, mission/vision, why-save, news "coming soon"
   ========================================================================== */
.mission-vision { display: grid; gap: 16px; margin: 32px 0; }
.mission-vision .mission { margin: 0; }
@media (min-width: 640px) and (max-width: 1023px), (min-width: 1200px) { .mission-vision { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mission-vision .mission__text { font-size: 1.0625rem; }

/* Savings product cards */
.products--savings { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .products--savings { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .products--savings { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.product__name { font-size: 1.0625rem; letter-spacing: .02em; margin-bottom: 4px; }
.product__tagline { font-family: var(--font-head); font-weight: 600; color: var(--primary-green); font-size: .9375rem; margin-bottom: 16px; }
.product__figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 16px; }
.product__figures div { padding: 12px 14px; border-radius: 12px; background: var(--light-green-bg); min-width: 0; }
.product__figures dt { font-size: .6875rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 4px; }
.product__figures dd { margin: 0; font-family: var(--font-head); font-weight: 800; color: var(--dark-green); line-height: 1.3; }
.product__text { font-size: .9375rem; flex: 1; }

/* Group savings challenge */
.challenge {
  margin-top: 48px; padding: clamp(24px, 4vw, 48px); border-radius: 24px;
  background: var(--light-green-bg); border: 1px solid var(--border); position: relative; overflow: hidden;
}
.challenge::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--gradient); }
.challenge__intro { max-width: 760px; margin-bottom: 32px; }
.challenge__title { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.125rem); }
.challenge__tables { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1024px) { .challenge__tables { grid-template-columns: 1.6fr 1fr; } }
.challenge__note { margin: 24px 0 0; }
.table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--border); background: var(--white); }
.data-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.data-table caption { text-align: left; padding: 16px 20px 8px; font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem; color: var(--dark-green); }
.data-table th, .data-table td { padding: 12px 20px; text-align: left; border-top: 1px solid var(--border); vertical-align: top; }
.data-table thead th { font-family: var(--font-head); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary-green); background: #FAFCF9; }
.data-table tbody th { font-weight: 500; color: var(--charcoal); }
.data-table td:last-child { font-weight: 700; color: var(--dark-green); }
@media (max-width: 639px) {
  .data-table th, .data-table td { padding: 10px 12px; }
  .data-table caption { padding: 14px 12px 6px; }
  .data-table--kpi thead th:first-child, .data-table--kpi tbody td:first-child { display: none; }
  .data-table { font-size: .8125rem; }
  .data-table thead th { letter-spacing: .02em; font-size: .6875rem; }
  .data-table th, .data-table td { overflow-wrap: anywhere; }
  .challenge { padding: 20px 16px; border-radius: 18px; }
}
.data-table tbody tr:nth-child(odd) { background: #FCFDFB; }

/* Loan products */
.loan-group { margin-top: 40px; }
.loan-group__title { display: flex; align-items: center; gap: 14px; font-size: 1.375rem; margin-bottom: 20px; }
.loan-group__title span {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px;
  background: var(--primary-green); color: var(--white); font-size: 1.0625rem;
}
.loans { list-style: none; display: grid; gap: 16px; }
@media (min-width: 640px) { .loans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .loans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.loan { padding: 24px; display: flex; flex-direction: column; }
.loan:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.loan__name { font-size: 1.0625rem; letter-spacing: .02em; margin-bottom: 8px; color: var(--dark-green); }
.loan__purpose { color: var(--ink-muted); font-size: .9375rem; flex: 1; margin-bottom: 16px; }
.loan__figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 16px; }
.loan__figures div { padding: 10px 12px; border-radius: 10px; background: var(--light-green-bg); min-width: 0; }
.loan__figures dt { font-size: .6875rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 4px; }
.loan__figures dd { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: .875rem; color: var(--dark-green); line-height: 1.3; }
.loan__figures .loan__rate { font-size: 1.125rem; font-weight: 800; }
.loan__cta { padding-top: 14px; border-top: 1px solid var(--border); font-size: .9375rem; }
.loan-reqs { margin-top: 48px; padding: clamp(24px, 4vw, 40px); }
.loan-reqs .h3 { margin-bottom: 20px; }
.checklist--cols { margin-bottom: 20px; }
@media (min-width: 900px) { .checklist--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
.loan-reqs__note { margin: 0; background: var(--light-green-bg); }

/* Membership: why save */
.why { display: grid; gap: 32px; align-items: center; }
.why .h2 { margin-bottom: 0; }
.why__list { list-style: none; display: grid; gap: 16px; }
.why__item {
  display: flex; align-items: center; gap: 16px; padding: 20px 24px; border-radius: 16px;
  background: var(--light-green-bg); border: 1px solid var(--border);
  font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem; color: var(--dark-green);
}
.why__num { flex: none; font-weight: 800; font-size: 1.5rem; color: var(--primary-green); opacity: .5; }
@media (min-width: 640px) { .why__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .why { grid-template-columns: 1fr 2fr; gap: 64px; } }

/* News: coming soon */
.soon { max-width: 680px; margin: 0 auto; text-align: center; padding: clamp(32px, 5vw, 56px); border-radius: 24px; background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.soon .icon-tile { margin-inline: auto; }
.soon .lead { margin: 0 auto 28px; }

/* Contact values */
.contact-card__value { font-weight: 600; color: var(--dark-green); text-decoration: none; }
.contact-card__value:hover { text-decoration: underline; }
.contact-card__value--email { overflow-wrap: anywhere; }
.contact-card__ussd { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--dark-green); letter-spacing: .04em; }

/* ==========================================================================
   Language flags + site search
   ========================================================================== */
.flag { display: inline-block; flex: none; width: 21px; height: 14px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(16, 40, 24, .14); vertical-align: middle; }
.lang-switch a { display: inline-flex; align-items: center; gap: 6px; }
.lang-switch a .flag { transition: transform .2s var(--ease); }
.lang-switch a:hover .flag { transform: scale(1.08); }
.lang-switch a:not([aria-current]) .flag { opacity: .85; }
.lang-switch--menu a { gap: 8px; }
.lang-switch--menu .flag { width: 24px; height: 16px; }

.search-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; flex: none;
  border: 1px solid var(--border); border-radius: 12px; background: var(--white); color: var(--dark-green); cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.search-toggle .icon { width: 20px; height: 20px; }
.search-toggle:hover { background: var(--light-green-bg); border-color: #CFE0CD; color: var(--primary-green); }
.no-js .search-toggle { display: none; }
@media (max-width: 1359px) { .search-toggle { width: 48px; height: 48px; } }

body.search-open { overflow: hidden; }
.search {
  width: min(720px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); margin: clamp(16px, 8vh, 96px) auto auto;
  padding: 0; border: 0; border-radius: 20px; background: var(--white); color: var(--charcoal);
  box-shadow: 0 32px 80px rgba(0, 40, 20, .28); overflow: hidden;
}
.search::backdrop { background: rgba(0, 47, 23, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.search[open] { animation: search-in .22s var(--ease); }
@keyframes search-in { from { opacity: 0; transform: translateY(-8px) scale(.99); } to { opacity: 1; transform: none; } }
.search__panel { display: flex; flex-direction: column; max-height: calc(100dvh - 48px); }
.search__form { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 20px; border-bottom: 1px solid var(--border); }
.search__form::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--gradient); }
.search__icon { width: 22px; height: 22px; color: var(--primary-green); }
.search__input {
  flex: 1; min-width: 0; min-height: 48px; padding: 8px 4px; border: 0; background: transparent;
  font: inherit; font-size: 1.125rem; color: var(--charcoal);
}
.search__input:focus { outline: none; box-shadow: none; }
.search__input::-webkit-search-cancel-button { cursor: pointer; }
.search__close { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: var(--light-green-bg); color: var(--dark-green); cursor: pointer; }
.search__close:hover { background: var(--green-tint); }
.search__status { margin: 0; padding: 14px 20px 6px; font-size: .875rem; color: var(--ink-muted); }
.search__results { list-style: none; overflow-y: auto; padding: 4px 12px 16px; overscroll-behavior: contain; }
.search__results:empty { display: none; }
.search__result {
  display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; text-decoration: none; color: inherit;
  border: 1px solid transparent; transition: background-color .15s, border-color .15s;
}
.search__result:hover, .search__result:focus-visible { background: var(--light-green-bg); border-color: #CFE0CD; outline: none; box-shadow: none; }
.search__result:focus-visible { border-color: var(--primary-green); }
.search__page { font-family: var(--font-head); font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary-green); }
.search__title { font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem; color: var(--dark-green); }
.search__excerpt { font-size: .875rem; color: var(--ink-muted); line-height: 1.5; }
.search mark { background: rgba(255, 214, 0, .45); color: inherit; border-radius: 3px; padding: 0 1px; }
.search__suggest { padding: 4px 20px 20px; }
.search__suggest[hidden] { display: none; }
.search__suggest-label { margin: 0 0 10px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.search__suggest ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.search__suggest button {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--white);
  font: inherit; font-size: .875rem; font-weight: 600; color: var(--dark-green); cursor: pointer;
}
.search__suggest button:hover { background: var(--primary-green); border-color: var(--primary-green); color: var(--white); }
@media (max-width: 639px) {
  .search { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; }
  .search__panel { max-height: 100dvh; height: 100%; }
}

/* Briefly highlight the card a search result (or any #link) lands on */
.card:target, .product:target, .loan:target { animation: target-glow 2.4s var(--ease); }
@keyframes target-glow {
  0%, 40% { box-shadow: 0 0 0 3px var(--golden-yellow), var(--shadow-md); }
  100% { box-shadow: var(--shadow-sm); }
}
@media (prefers-reduced-motion: reduce) { .search[open] { animation: none; } }

/* Header fit with search button: flags only in the compact switcher, tighter spacing on phones */
@media (max-width: 1099px) {
  .lang-switch--header a > span[aria-hidden] { display: none; }
  .lang-switch--header a { padding: 8px 6px; }
  .lang-switch--header a[aria-current] .flag { box-shadow: 0 0 0 2px var(--golden-yellow); }
}
@media (max-width: 639px) {
  .header__inner { gap: 10px; }
  .header__actions { gap: 8px; }
  .brand { gap: 8px; }
  
  .search-toggle, .menu-toggle { width: 44px; height: 44px; }
}
@media (max-width: 379px) {
  .brand__name { font-size: .875rem; }
  .brand__place { font-size: .625rem; letter-spacing: .2em; }
  
  .header__actions { gap: 6px; }
}

/* Product cards linked from search: stop below the sticky header + services sub-menu */
.loan[id], .product[id] { scroll-margin-top: calc(var(--header-h) + 64px); }

/* ==========================================================================
   Leadership team + partners
   ========================================================================== */

/* Article photo shown at its natural ratio (group photos must not be cropped) */
.article__figure--wide img { aspect-ratio: auto; height: auto; }
/* Featured news card: show the whole photo (group photos must not be cropped) */
@media (min-width: 1024px) {
  .news-card--featured .news-card__media { min-height: 0; align-self: stretch; display: flex; align-items: center; background: var(--light-green-bg); }
  .news-card--featured .news-card__media img { height: auto; aspect-ratio: auto; }
}

/* Partners: equal cards — logo stage on top, short + full name below */
.partners__grid { list-style: none; display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .partners__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; max-width: 1040px; margin-inline: auto; } }
.partner {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--border); border-radius: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.partner::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gradient);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.partner:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #CFE0CD; }
.partner:hover::before { transform: scaleX(1); }
.partner__logo {
  display: grid; place-items: center; height: 136px; padding: 20px 16px;
  background: var(--white);
}
.partner__logo img { display: block; transition: transform .3s var(--ease); }
.partner:hover .partner__logo img { transform: scale(1.05); }
.partner__logo--mark img { height: 92px; width: auto; max-width: 100%; object-fit: contain; }
.partner__logo--wide img { width: 100%; max-width: 168px; height: auto; max-height: 52px; object-fit: contain; }
.partner__text {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 14px 14px 18px; text-align: center; border-top: 1px solid var(--border); background: #FBFDFA;
}
.partner__short { font-family: var(--font-head); font-weight: 800; font-size: .9375rem; letter-spacing: .03em; color: var(--dark-green); }
.partner__name {
  font-size: .75rem; line-height: 1.45; color: var(--ink-muted);
}
@media (max-width: 479px) {
  .partner__logo { height: 112px; padding: 16px 12px; }
  .partner__logo--mark img { height: 76px; }
  .partner__logo--wide img { max-height: 44px; }
}

/* ==========================================================================
   Leadership: group photo intro, photo cards, bio pop-up
   ========================================================================== */
.team-intro { display: grid; gap: 32px; align-items: center; margin-bottom: 40px; }
.team-intro .section-head { margin-bottom: 0; }
.team-intro__photo { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); }
.team-intro__photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 35%; }
@media (min-width: 1024px) { .team-intro { grid-template-columns: 1fr 1.05fr; gap: 56px; } }

.team { list-style: none; display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .team { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.team__member { overflow: hidden; display: flex; flex-direction: column; padding: 0; }
.team__member:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team__photo { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #E9EEE8; }
.team__photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gradient); }
.team__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform .5s var(--ease); }
.team__member:hover .team__photo img { transform: scale(1.04); }
.team__info { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px 18px 20px; }
.team__name { font-size: 1.0625rem; margin: 0; color: var(--dark-green); }
.team__role { margin: 0 0 8px; font-size: .875rem; color: var(--ink-muted); line-height: 1.4; }
.team__bio-btn {
  margin-top: auto; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid #CFE0CD; background: var(--light-green-bg); color: var(--dark-green);
  font-family: var(--font-head); font-weight: 700; font-size: .8125rem; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.team__bio-btn .icon { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.team__bio-btn:hover { background: var(--primary-green); border-color: var(--primary-green); color: var(--white); }
.team__bio-btn:hover .icon { transform: translateX(3px); }
.no-js .team__bio-btn { display: none; }
@media (max-width: 479px) {
  .team { gap: 12px; }
  .team__info { padding: 14px 12px 16px; }
  .team__name { font-size: .9375rem; }
}

.bio {
  width: min(760px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); margin: auto;
  padding: 0; border: 0; border-radius: 22px; background: var(--white); color: var(--charcoal);
  box-shadow: 0 32px 80px rgba(0, 40, 20, .3); overflow: hidden;
}
.bio::backdrop { background: rgba(0, 47, 23, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.bio[open] { animation: search-in .25s var(--ease); }
.bio__panel { position: relative; max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain; }
.bio__close {
  position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 12px; background: rgba(255, 255, 255, .92); color: var(--dark-green); cursor: pointer; box-shadow: var(--shadow-sm);
}
.bio__close:hover { background: var(--green-tint); }
.bio__head {
  position: relative; display: grid; grid-template-columns: 132px 1fr; gap: 24px; align-items: end;
  padding: 32px 32px 24px; background: linear-gradient(135deg, var(--dark-green), var(--deep-green)); color: var(--white);
}
.bio__head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gradient); }
.bio__photo { width: 132px; height: 165px; object-fit: cover; object-position: 50% 15%; border-radius: 16px; box-shadow: 0 0 0 4px rgba(255, 255, 255, .18); }
.bio__role { margin: 0 0 6px; font-family: var(--font-head); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lime-green); }
.bio__name { margin: 0 0 4px; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); color: var(--white); }
.bio__org { margin: 0; font-size: .875rem; color: rgba(255, 255, 255, .8); }
.bio__body { padding: 28px 32px 32px; font-size: 1rem; line-height: 1.7; }
.bio__body p { margin: 0 0 16px; color: var(--charcoal); }
.bio__body p:last-child { margin-bottom: 0; }
@media (max-width: 639px) {
  .bio { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .bio__panel { max-height: 100dvh; height: 100%; }
  .bio__head { grid-template-columns: 96px 1fr; gap: 16px; padding: 64px 20px 20px; }
  .bio__photo { width: 96px; height: 120px; }
  .bio__body { padding: 22px 20px 28px; }
}
body.bio-open { overflow: hidden; }

/* Dialog frames take focus on open; keep the focus ring on the controls inside, not the frame */
dialog.bio:focus, dialog.bio:focus-visible, dialog.search:focus, dialog.search:focus-visible { outline: none; box-shadow: 0 32px 80px rgba(0, 40, 20, .3); border-radius: 22px; }
@media (max-width: 639px) { dialog.bio:focus, dialog.bio:focus-visible, dialog.search:focus, dialog.search:focus-visible { border-radius: 0; } }
dialog.search:focus, dialog.search:focus-visible { border-radius: 20px; }

/* ==========================================================================
   Compact footer
   ========================================================================== */

.footer__logo { grid-row: span 2; align-self: start; padding: 6px; border-radius: 14px; margin-bottom: 0; }
.footer__logo img { width: 64px; height: 64px; }
.footer__motto { font-size: 1rem; margin: 0 0 4px; }

.footer__title { margin-bottom: 12px; }

.footer__contact { gap: 8px; font-size: .875rem; }
.footer__contact .icon { width: 18px; height: 18px; margin-top: 1px; }
.footer__hours { gap: 4px; font-size: .875rem; }
.footer__hours div { padding-bottom: 4px; }
.footer__bottom-inner { padding-block: 14px; }

/* Leadership: Chairperson on her own row, management (4) below */
@media (min-width: 1200px) { .team { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 768px) and (max-width: 1023px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; margin-inline: auto; } }
@media (min-width: 1024px) and (max-width: 1199px) { .team { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.team__member--chair { grid-column: 1 / -1; justify-self: center; width: 100%; max-width: 560px; flex-direction: row; }
.team__member--chair .team__photo { flex: 0 0 42%; aspect-ratio: 4 / 5; }
.team__member--chair .team__photo::after { left: auto; top: 0; width: 4px; height: auto; background: linear-gradient(180deg, var(--primary-green), var(--lime-green), var(--golden-yellow)); }
.team__member--chair .team__info { justify-content: center; padding: 24px 28px; }
.team__member--chair .team__name { font-size: 1.375rem; }
.team__member--chair .team__role { font-size: .9375rem; color: var(--primary-green); font-weight: 600; }
@media (max-width: 479px) {
  .team__member--chair .team__photo { flex-basis: 44%; }
  .team__member--chair .team__info { padding: 16px; }
  .team__member--chair .team__name { font-size: 1.125rem; }
}

/* ---------- Hero slider (3 slides) ---------- */
.hero__media img.hero__img {
  position: absolute; inset: 0; opacity: 0; transform: scale(1.08);
  transition: opacity 1.1s ease, transform 7s ease-out;
}
.hero__media img.hero__img.is-active { opacity: 1; transform: scale(1); }
.hero__media .hero__img--saving { object-position: 52% 22%; }
.hero__media .hero__img--business { object-position: 55% 18%; }
.hero__slides { display: grid; }
.hero__slide { grid-area: 1 / 1; transition: opacity .6s ease, transform .6s ease, visibility 0s linear .6s; }
.hero__slide:not(.is-active) { opacity: 0; visibility: hidden; transform: translateY(18px); pointer-events: none; }
.hero__slide.is-active { transition-delay: .2s, .2s, 0s; }
.hero__slide .hero__title { margin-top: 0; }

.hero__controls { display: flex; align-items: center; gap: 10px; margin-top: 28px; }
.hero__controls[hidden] { display: none; }
.hero__arrow, .hero__pause {
  display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .32); background: rgba(0, 0, 0, .14); color: var(--white); cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}
.hero__arrow:hover, .hero__pause:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .6); }
.hero__arrow:focus-visible, .hero__pause:focus-visible, .hero__dot:focus-visible { outline: 3px solid var(--golden-yellow); outline-offset: 2px; }
.hero__arrow .icon { width: 18px; height: 18px; transform: rotate(180deg); }
.hero__arrow--next .icon { transform: none; }
.hero__pause { margin-left: 6px; }
.hero__pause-icon { display: block; width: 10px; height: 12px; border-inline: 3px solid currentColor; }
.hero__pause.is-paused .hero__pause-icon { width: 0; height: 0; border: 0; border-left: 10px solid currentColor; border-block: 6px solid transparent; margin-left: 3px; }
.hero__dots { display: flex; align-items: center; }
.hero__dot { display: inline-grid; place-items: center; height: 40px; padding: 0 5px; border: 0; background: none; cursor: pointer; }
.hero__dot span {
  position: relative; display: block; width: 10px; height: 10px; border-radius: 999px; overflow: hidden;
  background: rgba(255, 255, 255, .4); transition: width .4s ease;
}
.hero__dot[aria-current] span { width: 36px; }
.hero__dot[aria-current] span::after {
  content: ""; position: absolute; inset: 0; background: var(--lime-green); transform-origin: left center;
}
.is-playing .hero__dot[aria-current] span::after { animation: hero-progress 6.5s linear forwards; }
@keyframes hero-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
  .hero__media img.hero__img { transform: none; transition: opacity .3s ease; }
  .hero__slide { transform: none !important; transition: opacity .2s ease, visibility 0s linear .2s; }
  .hero__slide.is-active { transition-delay: 0s; }
}

/* ---------- Header logo: full original logo ---------- */
.brand__logo { display: block; width: auto; height: 60px; transition: height .3s var(--ease); }
.site-header.is-scrolled .brand__logo { height: 54px; }
@media (min-width: 1200px) { .brand__logo { height: 66px; } .site-header.is-scrolled .brand__logo { height: 60px; } }
@media (max-width: 639px) { .brand__logo { height: 54px; } .site-header.is-scrolled .brand__logo { height: 50px; } }

/* ---------- Short footer ---------- */
.footer-s { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; padding-block: 32px 22px; }
.footer-s__brand { display: flex; align-items: center; gap: 14px; }
.footer-s__brand .footer__logo { margin: 0; padding: 5px; border-radius: 12px; }
.footer-s__brand .footer__logo img { width: 56px; height: 56px; }
.footer-s__brand .footer__motto { margin: 0; font-size: 1rem; max-width: 22ch; }
.footer-s .footer__title { margin-bottom: 10px; }
.footer-s__links { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .875rem; }
.footer-s__links a[aria-current] { color: var(--white); }
.footer-s .footer__contact { gap: 6px; font-size: .875rem; }
.footer-s .footer__contact .icon { width: 16px; height: 16px; margin-top: 2px; }
.footer-s .footer__hours { gap: 2px; font-size: .875rem; }
.footer-s .footer__hours div { padding-bottom: 2px; border-bottom: 0; }
.footer-s + .footer__bottom .footer__bottom-inner { padding-block: 12px; font-size: .8125rem; }
@media (min-width: 640px) {
  .footer-s { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .footer-s__brand, .footer-s__nav { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .footer-s { grid-template-columns: 1fr 1fr 1.25fr .95fr; gap: 32px; padding-block: 36px 24px; }
  .footer-s__brand, .footer-s__nav { grid-column: auto; }
  .footer-s__brand { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-s__links { display: grid; grid-template-columns: repeat(2, max-content); gap: 6px 28px; }
}

/* ---------- Hero badge and "Requirements needed" ---------- */
.hero__eyebrow { font-size: clamp(.9375rem, .85rem + .35vw, 1.0625rem); padding: 9px 18px; letter-spacing: .02em; }
.hero__req {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; width: fit-content; max-width: 100%;
  margin: -12px 0 18px; padding: 8px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
  font-size: .9375rem; color: rgba(255, 255, 255, .9);
}
.hero__req .icon { width: 18px; height: 18px; color: var(--golden-yellow); flex: none; }
.hero__req-label { font-weight: 700; color: var(--white); }
.hero__req a { color: var(--golden-yellow); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.hero__req a:hover { color: var(--lime-green); }
.hero__req a:focus-visible { outline: 3px solid var(--golden-yellow); outline-offset: 2px; border-radius: 4px; }
.hero__req-sep { color: rgba(255, 255, 255, .5); }

/* ---------- Videos (YouTube) ---------- */
.videos__grid { list-style: none; display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
.videos__grid--single { max-width: 900px; margin-inline: auto; }
@media (min-width: 768px) { .videos__grid:not(.videos__grid--single) { grid-template-columns: repeat(2, minmax(0, 1fr)); } .video--featured:not(:only-child) { grid-column: 1 / -1; } }
.video { margin: 0; }
.video__frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-lg, 20px);
  background: var(--deep-green); box-shadow: 0 18px 40px -20px rgba(0, 79, 39, .45);
}
.video__frame > img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.video__frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(0, 40, 20, .55) 0%, rgba(0, 40, 20, .05) 55%); }
.video__frame.is-playing::after { display: none; }
.video__frame:hover > img { transform: scale(1.03); }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play {
  position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; width: 100%; padding: 0;
  border: 0; background: none; cursor: pointer;
}
.video__play-icon {
  display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%;
  background: var(--golden-yellow); box-shadow: 0 0 0 10px rgba(255, 214, 0, .25), 0 12px 30px rgba(0, 0, 0, .3);
  transition: transform .25s ease, box-shadow .25s ease;
}
.video__play-icon::before { content: ""; margin-left: 6px; border-left: 22px solid var(--deep-green); border-block: 14px solid transparent; }
.video__play:hover .video__play-icon { transform: scale(1.08); box-shadow: 0 0 0 14px rgba(255, 214, 0, .3), 0 12px 30px rgba(0, 0, 0, .3); }
.video__play:focus-visible { outline: none; }
.video__play:focus-visible .video__play-icon { outline: 3px solid var(--white); outline-offset: 4px; }
.video__duration {
  position: absolute; right: 14px; bottom: 14px; z-index: 1; padding: 3px 9px; border-radius: 6px;
  background: rgba(0, 0, 0, .7); color: var(--white); font-size: .8125rem; font-weight: 600; pointer-events: none;
}
.video__title { margin-top: 14px; font-size: 1.0625rem; line-height: 1.4; color: var(--charcoal); text-align: center; }
.videos__channel { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 32px; text-align: center; }
.videos__channel p { margin: 0; font-size: .875rem; color: var(--muted, #4B5563); }
.btn--youtube { --btn-bg: #FF0000; --btn-fg: #fff; --btn-bd: #FF0000; }
.btn--youtube:hover { --btn-bg: #CC0000; --btn-bd: #CC0000; }
.btn--youtube .icon { width: 20px; height: 20px; }
@media (max-width: 479px) { .video__play-icon { width: 60px; height: 60px; } .video__play-icon::before { border-left-width: 18px; border-block-width: 11px; } }
.footer-s__brand .social { margin-left: auto; }
@media (min-width: 1024px) { .footer-s__brand .social { margin-left: 0; } }

/* ---------- Chairperson card: professional layout ---------- */
.team__member--chair { max-width: 880px; position: relative; }
.team__member--chair:hover { transform: none; }
.team__member--chair .team__photo { flex: 0 0 36%; aspect-ratio: auto; min-height: 100%; }
.team__member--chair .team__photo img { position: absolute; inset: 0; }
.team__member--chair .team__info {
  position: relative; isolation: isolate; justify-content: center; gap: 0; padding: 36px 40px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(200, 230, 0, .10), transparent 55%),
    linear-gradient(180deg, #fff 0%, var(--light-green-bg) 100%);
}
.team__member--chair .team__info::before { /* faint sun mark */
  content: ""; position: absolute; right: -40px; top: -40px; width: 200px; height: 200px; z-index: -1; border-radius: 50%;
  background: repeating-conic-gradient(rgba(255, 214, 0, .14) 0deg 4deg, transparent 4deg 14deg);
  -webkit-mask-image: radial-gradient(circle, transparent 28%, #000 30%, transparent 70%);
  mask-image: radial-gradient(circle, transparent 28%, #000 30%, transparent 70%);
}
.team__eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 12px; border-radius: 999px;
  background: rgba(0, 132, 61, .1); color: var(--dark-green);
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.team__eyebrow .icon { width: 15px; height: 15px; color: var(--primary-green); }
.team__member--chair .team__name { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -.01em; margin-bottom: 4px; }
.team__member--chair .team__role { margin: 0; font-size: 1rem; }
.team__elected {
  display: flex; align-items: flex-start; gap: 10px; margin: 18px 0 0; padding-top: 18px; width: 100%;
  border-top: 1px solid var(--border); font-size: .9375rem; color: var(--ink-muted); line-height: 1.5;
}
.team__elected .icon { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--golden-yellow); }
.team__board { display: block; width: 100%; margin-top: 20px; }
.team__board-title { display: block; margin-bottom: 10px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary-green); }
.team__board-list { display: grid; gap: 8px; }
.team__board-row {
  display: grid; grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr); gap: 12px; align-items: start;
  padding: 10px 14px; border-radius: 10px; background: var(--white); border: 1px solid var(--border);
  font-size: .9375rem; line-height: 1.45;
}
.team__board-role { color: var(--ink-muted); }
.team__board-names { font-weight: 600; color: var(--charcoal); }
@media (max-width: 639px) {
  .team__member--chair { flex-direction: column; max-width: 420px; }
  .team__member--chair .team__photo { flex: none; aspect-ratio: 4 / 4.2; min-height: 0; }
  .team__member--chair .team__photo::after { left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 4px; background: var(--gradient); }
  .team__member--chair .team__info { padding: 24px 20px; }
  .team__board-row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* ==========================================================================
   Polish pass: header brand, footer brand, Chairperson card on tablets
   ========================================================================== */
/* Header: the full original logo, unchanged, with the name beside it */
.brand { gap: 12px; }
.brand__logo { height: 52px; }
.site-header.is-scrolled .brand__logo { height: 48px; }
.brand__text { display: flex; flex-direction: column; justify-content: center; gap: 5px; padding-left: 12px; border-left: 2px solid var(--border); line-height: 1; }
.brand__name { font-size: 1.0625rem; letter-spacing: .02em; color: var(--dark-green); }
.brand__place { margin: 0; font-size: .6875rem; letter-spacing: .32em; color: var(--primary-green); }
@media (min-width: 1200px) {
  .brand__logo { height: 58px; }
  .site-header.is-scrolled .brand__logo { height: 52px; }
}
@media (max-width: 379px) {
  .brand { gap: 8px; }
  .brand__logo, .site-header.is-scrolled .brand__logo { height: 44px; }
  .brand__text { padding-left: 8px; gap: 4px; }
  .brand__name { font-size: .8125rem; }
  .brand__place { font-size: .5625rem; letter-spacing: .26em; }
}

/* Footer: logo tile + name + motto */
.footer-s__brand { gap: 16px; }
.footer-s__brand .footer__logo img { width: 64px; height: 64px; }
.footer-s__id { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.footer-s__name { font-family: var(--font-head); font-weight: 800; font-size: 1rem; letter-spacing: .02em; color: var(--white); }
.footer-s__brand .footer__motto { margin: 0; max-width: 26ch; font-family: var(--font-body, inherit); font-weight: 500; font-size: .875rem; line-height: 1.45; color: rgba(255, 255, 255, .78); }
.footer-s .footer__title { font-size: .75rem; }
.footer-s__links a, .footer-s .footer__contact a { transition: color .2s ease; }
.site-footer a:hover { text-decoration: none; }

/* Chairperson card: stacked Board rows below desktop so names never squeeze */
@media (min-width: 640px) and (max-width: 1023px) {
  .team__member--chair { max-width: 680px; }
  .team__member--chair .team__photo { flex-basis: 38%; }
  .team__member--chair .team__info { padding: 28px; }
  .team__board-row { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 8px 12px; }
}
.btn--youtube { max-width: 100%; white-space: normal; text-align: center; }
