/* ==========================================================================
   Vistamind Social Foundation
   1. Tokens        5. Sections       9. Forms
   2. Base          6. Cards         10. Footer
   3. Layout        7. Hero          11. Utilities
   4. Header/nav    8. Programs      12. Motion / print
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --ink:        #13261f;
  --ink-soft:   #4b5b53;
  --ink-faint:  #7e8b84;

  --brand:      #0a5c3c;
  --brand-dark: #004830;
  --brand-tint: #e6f2ec;

  --sun:        #ffc233;
  --sun-tint:   #fff5da;
  --coral:      #ff6b57;
  --coral-tint: #ffece9;
  --mint:       #17a34a;
  --mint-tint:  #e3f6e9;
  --sky:        #0d6e9c;
  --sky-tint:   #e2f0f7;
  --violet:     #1f4e79;
  --violet-tint:#e6eef5;

  --paper:      #ffffff;
  --cream:      #fffaf3;
  --cream-2:    #fdf3e7;
  --line:       #eae3d9;

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --r-pill: 999px;

  --shadow-s: 0 2px 8px rgba(23, 32, 60, .06);
  --shadow-m: 0 10px 28px rgba(23, 32, 60, .09);
  --shadow-l: 0 24px 60px rgba(23, 32, 60, .13);

  --wrap: 1180px;
  --gap:  clamp(1rem, 3vw, 2rem);

  --font-head: 'Baloo 2', 'Trebuchet MS', system-ui, sans-serif;
  --font-body: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); }
h4 { font-size: 1.05rem; }

p  { margin: 0 0 1rem; }
a  { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }
ul { margin: 0 0 1rem; padding-left: 1.15rem; }
li { margin-bottom: .35rem; }
strong { font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand); color: #fff; padding: .7rem 1.1rem;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

.icon { width: 24px; height: 24px; flex: none; vertical-align: middle; }
.icon--xs { width: 17px; height: 17px; }
.icon--lg { width: 30px; height: 30px; }

/* 3. Layout ---------------------------------------------------------------- */
.wrap { width: min(var(--wrap), 100% - 2.4rem); margin-inline: auto; }

.section { padding: clamp(3.2rem, 7vw, 6rem) 0; position: relative; }
.section--tint  { background: var(--paper); }
.section--cream { background: var(--cream-2); }
.section--brand {
  background: linear-gradient(135deg, #004830, #0a5c3c 45%, #0d6e9c);
  color: #fff;
}
.section--brand h2, .section--brand h3 { color: #fff; }
.section--brand p { color: rgba(255,255,255,.9); }

.section__head { max-width: 44rem; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head p { color: var(--ink-soft); font-size: 1.08rem; margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  letter-spacing: .11em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-tint);
  padding: .35rem .85rem; border-radius: var(--r-pill);
  margin-bottom: 1rem;
}
.section--brand .eyebrow { color: #fff; background: rgba(255,255,255,.18); }

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid--top { align-items: start; }
.grid--mid { align-items: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: .85rem 1.6rem; border: 0; border-radius: var(--r-pill);
  cursor: pointer; text-decoration: none; transition: transform .16s, box-shadow .16s, background .16s;
  line-height: 1.2;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(10,92,60,.3); }
.btn--primary:hover { background: var(--brand-dark); box-shadow: 0 12px 26px rgba(10,92,60,.38); }
.btn--sun { background: var(--sun); color: #4a3400; box-shadow: 0 8px 20px rgba(255,194,51,.4); }
.btn--sun:hover { background: #ffb400; }
.btn--coral { background: var(--coral); color: #fff; box-shadow: 0 8px 20px rgba(255,107,87,.34); }
.btn--ghost { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--brand); color: var(--brand); }
.btn--white { background: #fff; color: var(--brand); }
.btn--outline-white { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.btn--sm { padding: .6rem 1.1rem; font-size: .92rem; }
.btn--lg { padding: 1rem 2rem; font-size: 1.1rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* 4. Header / nav ---------------------------------------------------------- */
.topbar {
  background: var(--ink); color: rgba(255,255,255,.82);
  font-size: .85rem;
}
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .5rem 0; }
.topbar a { color: rgba(255,255,255,.86); display: inline-flex; align-items: center; gap: .35rem; }
.topbar a:hover { color: #fff; }
.topbar__links { display: flex; gap: 1.25rem; flex: none; }
@media (max-width: 860px) {
  .topbar__reg { display: none; }
  .topbar__in { justify-content: center; }
  .topbar__links { gap: 1rem; font-size: .8rem; }
}

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
.site-header.is-stuck { box-shadow: var(--shadow-m); }
.site-header__in { display: flex; align-items: center; gap: 1rem; min-height: 74px; }

.brand { display: inline-flex; align-items: center; gap: .65rem; flex: none; }
.brand:hover { text-decoration: none; }
.brand__logo { display: block; height: 46px; width: auto; }
@media (max-width: 560px) { .brand__logo { height: 36px; } }
@media (max-width: 360px) { .brand__logo { height: 31px; } }

.nav { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.nav__list { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; margin: 0; }
.nav__link {
  display: inline-flex; align-items: center; gap: .2rem;
  padding: .6rem .7rem; border-radius: var(--r-pill);
  font-weight: 700; font-size: .96rem; color: var(--ink-soft);
}
.nav__link:hover { color: var(--brand); background: var(--brand-tint); text-decoration: none; }
.nav__link.is-active { color: var(--brand); }
.nav__link.is-active::after {
  content: ''; position: absolute; left: .8rem; right: .8rem; bottom: .1rem;
  height: 3px; border-radius: 3px; background: var(--sun);
}
.nav__expand { display: none; }
.nav__caret { transition: transform .18s; }
.nav__item.has-children:hover .nav__caret { transform: rotate(180deg); }

.submenu {
  position: absolute; top: 100%; left: 0; min-width: 260px;
  background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow-l);
  border: 1px solid var(--line);
  padding: .5rem; margin: 0; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.nav__item.has-children:hover .submenu,
.nav__item.has-children:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu li { margin: 0; }
.submenu a {
  display: block; padding: .55rem .75rem; border-radius: var(--r-sm);
  color: var(--ink-soft); font-weight: 600; font-size: .93rem;
}
.submenu a:hover { background: var(--brand-tint); color: var(--brand); text-decoration: none; }

.nav-toggle {
  display: none; margin-left: auto;
  background: var(--brand-tint); color: var(--brand);
  border: 0; border-radius: var(--r-sm); padding: .55rem; cursor: pointer;
}
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw);
    background: var(--paper); flex-direction: column; align-items: stretch;
    padding: 1.5rem 1.2rem 3rem; gap: .25rem;
    box-shadow: var(--shadow-l);
    transform: translateX(105%); transition: transform .26s ease;
    overflow-y: auto; z-index: 120;
  }
  body.nav-open .nav { transform: translateX(0); }
  body.nav-open { overflow: hidden; }
  .nav::before {
    content: 'Menu'; font-family: var(--font-head); font-weight: 700;
    color: var(--ink-faint); letter-spacing: .12em; text-transform: uppercase;
    font-size: .78rem; padding: .5rem .6rem 1rem;
  }
  .nav__list { flex-direction: column; align-items: stretch; gap: .1rem; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { padding: .85rem .6rem; font-size: 1.05rem; border-radius: var(--r-sm); }
  .nav__link.is-active::after { display: none; }
  .nav__link.is-active { background: var(--brand-tint); }
  .nav__caret { display: none; }
  .nav__item.has-children { position: relative; }
  .nav__expand {
    display: block; position: absolute; top: .45rem; right: 0;
    background: none; border: 0; padding: .6rem; color: var(--ink-faint); cursor: pointer;
  }
  .nav__expand[aria-expanded="true"] { transform: rotate(180deg); color: var(--brand); }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 3px solid var(--sun);
    border-radius: 0; margin: 0 0 .6rem .5rem; padding: 0 0 0 .5rem;
    display: none;
  }
  .submenu.is-open { display: block; }
  .nav__cta { margin-top: 1.2rem; }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(23,32,60,.45);
    opacity: 0; visibility: hidden; transition: opacity .26s; z-index: 110;
  }
  body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
}

/* 5. Hero ------------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(170deg, var(--cream) 0%, var(--cream-2) 60%, #eaf3ee 100%);
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(4rem, 9vw, 7rem);
}
.hero__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 940px) { .hero__grid { grid-template-columns: 1.05fr .95fr; } }

.hero h1 { margin-bottom: .4em; }
.hero h1 .hl {
  white-space: nowrap;
  background-image: linear-gradient(rgba(255,194,51,.55), rgba(255,194,51,.55));
  background-repeat: no-repeat;
  background-size: 100% .34em;
  background-position: 0 88%;
  padding: 0 .06em;
  border-radius: 4px;
}
.hero__sub { font-size: clamp(1.05rem, 2vw, 1.22rem); color: var(--ink-soft); max-width: 34rem; }

.hero__strip {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.8rem; list-style: none; padding: 0;
}
.hero__strip li {
  font-family: var(--font-head); font-weight: 700; margin: 0;
  padding: .35rem 1rem; border-radius: var(--r-pill); background: var(--paper);
  box-shadow: var(--shadow-s); font-size: .95rem;
}
.hero__strip li:nth-child(1) { color: var(--brand); }
.hero__strip li:nth-child(2) { color: var(--mint); }
.hero__strip li:nth-child(3) { color: var(--coral); }

.hero__art { position: relative; }
.hero__blob {
  position: absolute; inset: -12% -8% -8% -8%; z-index: 0;
  background: radial-gradient(60% 60% at 65% 35%, rgba(13,110,156,.28), transparent 70%),
              radial-gradient(55% 55% at 25% 70%, rgba(255,194,51,.4), transparent 70%);
  filter: blur(6px);
}
.hero__photo {
  position: relative; z-index: 1; margin: 0; overflow: hidden;
  border-radius: var(--r-xl); border: 5px solid #fff;
  box-shadow: var(--shadow-l); background: #e9e4da;
  aspect-ratio: 3 / 2;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 3rem 1.2rem 1rem;
  background: linear-gradient(transparent, rgba(0,48,31,.92)); color: #fff;
}
.hero__photo figcaption strong {
  display: block; font-family: var(--font-head); font-size: 1.15rem; line-height: 1.2;
}
.hero__photo figcaption span { font-size: .88rem; color: rgba(255,255,255,.85); }

.hero__float {
  position: absolute; z-index: 2; background: var(--paper); border-radius: var(--r);
  box-shadow: var(--shadow-m); padding: .6rem .9rem; font-weight: 700; font-size: .88rem;
  display: inline-flex; align-items: center; gap: .5rem;
  animation: bob 4.5s ease-in-out infinite;
}
.hero__float--a { top: -14px; left: -10px; color: var(--violet); }
.hero__float--b { bottom: -14px; left: -10px; color: var(--mint); animation-delay: -2.2s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* Trust bar */
.trustbar { background: var(--ink); color: rgba(255,255,255,.85); padding: 1.1rem 0; }
.trustbar__in { display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: center; text-align: center; font-size: .95rem; }
.trustbar__in span { display: inline-flex; align-items: center; gap: .45rem; }
.trustbar svg { color: var(--sun); }

/* Page header (interior pages) */
.pagehead {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, #e6f2ec, #e2f0f7 55%, #fff5da);
  padding: clamp(2.4rem, 5vw, 4rem) 0 clamp(2.4rem, 5vw, 3.6rem);
  border-bottom: 1px solid var(--line);
}
.pagehead__in { position: relative; z-index: 1; max-width: 48rem; }
.pagehead p { color: var(--ink-soft); font-size: 1.08rem; margin-bottom: 0; }
.pagehead::after {
  content: ''; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
  border-radius: 50%; background: rgba(255,255,255,.5);
}
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .88rem; color: var(--ink-faint); margin-bottom: .9rem; list-style: none; padding: 0; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: '/'; margin-right: .4rem; color: var(--ink-faint); }

/* 6. Cards ----------------------------------------------------------------- */
.card {
  background: var(--paper); border-radius: var(--r-lg); padding: 1.6rem;
  box-shadow: var(--shadow-s); border: 1px solid var(--line);
  transition: transform .18s, box-shadow .18s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--ink-soft); margin-bottom: 1rem; }
.card__link { margin-top: auto; font-family: var(--font-head); font-weight: 700; display: inline-flex; align-items: center; gap: .35rem; }
.card__link:hover { gap: .6rem; text-decoration: none; }

.card__icon {
  width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center;
  margin-bottom: 1rem; color: #fff;
}
.a-brand  .card__icon { background: var(--brand); }
.a-sun    .card__icon { background: var(--sun); color: #4a3400; }
.a-coral  .card__icon { background: var(--coral); }
.a-mint   .card__icon { background: var(--mint); }
.a-sky    .card__icon { background: var(--sky); }
.a-violet .card__icon { background: var(--violet); }

.a-brand  { --accent: var(--brand);  --accent-tint: var(--brand-tint); }
.a-sun    { --accent: var(--sun);    --accent-tint: var(--sun-tint); }
.a-coral  { --accent: var(--coral);  --accent-tint: var(--coral-tint); }
.a-mint   { --accent: var(--mint);   --accent-tint: var(--mint-tint); }
.a-sky    { --accent: var(--sky);    --accent-tint: var(--sky-tint); }
.a-violet { --accent: var(--violet); --accent-tint: var(--violet-tint); }

.tag {
  display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: .22rem .6rem; border-radius: var(--r-pill);
  background: var(--accent-tint, var(--brand-tint)); color: var(--accent, var(--brand));
  margin-bottom: .7rem;
}
.a-sun .tag { color: #8a5a00; }

/* Pillars */
.pillar {
  background: var(--paper); border-radius: var(--r-lg); padding: 1.8rem;
  border: 1px solid var(--line); box-shadow: var(--shadow-s);
  border-top: 6px solid var(--accent, var(--brand));
}
.pillar h3 { display: flex; align-items: center; gap: .6rem; }
.pillar h3 svg { color: var(--accent, var(--brand)); }
.pillar p { color: var(--ink-soft); margin-bottom: 0; }

/* Value / approach list */
.values { display: grid; gap: 1.1rem; }
.value { display: flex; gap: 1rem; align-items: flex-start; }
.value__i {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none;
  background: var(--accent-tint, var(--brand-tint)); color: var(--accent, var(--brand));
}
.value h4 { margin-bottom: .15rem; }
.value p { color: var(--ink-soft); margin: 0; }

/* Quote */
.quote {
  background: var(--paper); border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.4rem);
  border-left: 6px solid var(--sun); box-shadow: var(--shadow-s); margin: 0;
}
.quote blockquote { margin: 0 0 1rem; font-family: var(--font-head); font-size: clamp(1.2rem, 2.6vw, 1.6rem); line-height: 1.35; }
.quote figcaption { color: var(--ink-soft); font-weight: 700; }
.quote figcaption small { display: block; font-weight: 400; color: var(--ink-faint); }

/* Logo / partner chips */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.chips li {
  margin: 0; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: .5rem 1.1rem; font-weight: 700; font-size: .95rem;
  box-shadow: var(--shadow-s);
}
.section--brand .chips li { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.28); color: #fff; }

/* International tie-up card (home) */
.intl-card {
  display: flex; gap: 1rem; align-items: center; padding: .7rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--r); backdrop-filter: blur(4px);
}
.intl-card__photo { margin: 0; flex: none; width: 128px; aspect-ratio: 4/3; border-radius: var(--r-sm); overflow: hidden; }
.intl-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.intl-card__text strong { display: block; font-family: var(--font-head); font-size: 1.1rem; color: #fff; }
.intl-card__text span { font-size: .9rem; color: rgba(255,255,255,.85); }
@media (max-width: 420px) { .intl-card { flex-direction: column; align-items: stretch; } .intl-card__photo { width: 100%; } }

/* Partner institution tiles */
.inst-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.inst-grid--single { grid-template-columns: minmax(250px, 420px); }
.inst {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-s); transition: transform .16s, box-shadow .16s;
}
.inst:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.inst__logo {
  flex: none; width: 66px; height: 66px; border-radius: var(--r-sm);
  display: grid; place-items: center; overflow: hidden;
  background: var(--cream); border: 1px solid var(--line);
}
.inst__logo img { width: 100%; height: 100%; object-fit: contain; padding: .35rem; }
.inst__mono {
  font-family: var(--font-head); font-weight: 800; font-size: 1.05rem;
  letter-spacing: .02em; color: var(--brand);
}
.inst__text strong { display: block; font-family: var(--font-head); font-size: 1.05rem; line-height: 1.2; color: var(--ink); }
.inst__text em { display: block; font-style: normal; font-size: .82rem; color: var(--ink-faint); margin-top: .1rem; }
.inst__text span { display: block; font-size: .88rem; color: var(--ink-soft); margin-top: .2rem; }

.inst-photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-m); position: relative; }
.inst-photo img { width: 100%; height: auto; display: block; }
.inst-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem .9rem .8rem;
  color: #fff; font-weight: 600; font-size: .9rem;
  background: linear-gradient(transparent, rgba(0,48,31,.9));
}

/* Tables */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r); }
table.data {
  width: 100%; border-collapse: collapse; background: var(--paper);
  border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-s); min-width: 480px;
}
table.data th, table.data td { padding: .85rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); }
table.data th { background: var(--brand-tint); font-family: var(--font-head); color: var(--ink); font-weight: 700; }
table.data tr:last-child td { border-bottom: 0; }

/* Facts list (definition rows) */
.facts { display: grid; gap: 0; background: var(--paper); border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; }
.facts__row { display: grid; grid-template-columns: minmax(9rem, 15rem) 1fr; gap: 1rem; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); }
.facts__row:last-child { border-bottom: 0; }
.facts__row dt { font-weight: 700; color: var(--ink); margin: 0; }
.facts__row dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 560px) { .facts__row { grid-template-columns: 1fr; gap: .1rem; } }

.tbc {
  display: inline-block; font-size: .85rem; font-weight: 700;
  color: #8a5a00; background: var(--sun-tint);
  padding: .1rem .6rem; border-radius: var(--r-pill);
}

/* Checklist */
.checklist { list-style: none; padding: 0; display: grid; gap: .7rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; margin: 0; }
.checklist li svg { color: var(--mint); flex: none; margin-top: .2rem; }
.section--brand .checklist li svg { color: var(--sun); }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 1.2rem; list-style: none; padding: 0; }
.steps li { display: flex; gap: 1rem; margin: 0; }
.steps li::before {
  counter-increment: step; content: counter(step);
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--brand); color: #fff;
  font-family: var(--font-head); font-weight: 700;
}
.steps h4 { margin-bottom: .15rem; }
.steps p { color: var(--ink-soft); margin: 0; }

/* Timeline (events) */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 3px;
  background: linear-gradient(var(--brand), var(--sky)); border-radius: 3px;
}
.timeline li { position: relative; padding: 0 0 1.6rem 2.6rem; margin: 0; }
.timeline li::before {
  content: ''; position: absolute; left: 3px; top: .45rem; width: 19px; height: 19px;
  border-radius: 50%; background: var(--paper); border: 4px solid var(--brand);
}
.timeline h4 { margin-bottom: .1rem; }
.timeline p { color: var(--ink-soft); margin: 0; }

/* Gallery ------------------------------------------------------------- */
.gal-filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.6rem; }
.gal-filter {
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; cursor: pointer;
  background: var(--paper); color: var(--ink-soft); border: 2px solid var(--line);
  padding: .5rem 1.1rem; border-radius: var(--r-pill); transition: all .16s;
  display: inline-flex; align-items: center; gap: .45rem;
}
.gal-filter span {
  font-size: .78rem; background: var(--cream-2); color: var(--ink-faint);
  padding: .05rem .45rem; border-radius: var(--r-pill);
}
.gal-filter:hover { border-color: var(--brand); color: var(--brand); }
.gal-filter.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.gal-filter.is-active span { background: rgba(255,255,255,.22); color: #fff; }

.gallery {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  grid-auto-rows: 210px;
}
.gallery__item { margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-s); }
.gallery__item--wide { grid-column: span 2; }
@media (max-width: 560px) { .gallery__item--wide { grid-column: span 1; } }
.gallery__item.is-hidden { display: none; }

.gallery__open {
  display: block; position: relative; width: 100%; height: 100%; padding: 0;
  border: 0; background: #e9e4da; cursor: zoom-in; overflow: hidden;
}
.gallery__open img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.gallery__open:hover img { transform: scale(1.05); }
.gallery__open figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; text-align: left;
  padding: 2.2rem .8rem .7rem; color: #fff; font-size: .85rem; font-weight: 600;
  line-height: 1.3; background: linear-gradient(transparent, rgba(0,48,31,.88));
}
.gal-empty { text-align: center; color: var(--ink-faint); padding: 2rem 0; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: rgba(10,26,20,.92); padding: 1.5rem;
  opacity: 0; visibility: hidden; transition: opacity .2s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1100px, 94vw); max-height: 80vh; border-radius: var(--r); display: block; }
.lightbox__cap { color: #fff; text-align: center; margin-top: .9rem; font-weight: 600; font-size: .95rem; }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,.14); color: #fff; border: 0;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  font-size: 1.4rem; line-height: 1;
}
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__nav--prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.3); }

/* Gallery preview strip (About page) */
.gal-peek { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.gal-peek__item { border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; display: block; box-shadow: var(--shadow-s); }
.gal-peek__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.gal-peek__item:hover img { transform: scale(1.06); }

.sidebar-list { list-style: none; padding: 0; margin: 0 0 1rem; text-align: left; }
.sidebar-list li { display: flex; gap: .55rem; align-items: flex-start; font-size: .9rem; margin-bottom: .5rem; }
.sidebar-list li svg { color: var(--brand); flex: none; margin-top: .2rem; }
.sidebar-list a { color: var(--ink-soft); font-size: .82rem; overflow-wrap: anywhere; }
.sidebar-list a:hover { color: var(--brand); }

/* Founder profile --------------------------------------------------------- */
.founder { display: grid; gap: clamp(1.5rem, 4vw, 2.6rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .founder { grid-template-columns: 300px 1fr; } }
.founder__aside {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.1rem; box-shadow: var(--shadow-m); text-align: center; position: sticky; top: 100px;
}
.founder__photo { margin: 0 0 1rem; border-radius: var(--r); overflow: hidden; border: 3px solid var(--sun); }
.founder__photo img { width: 100%; height: auto; display: block; }
.founder__name { margin: 0 0 .1rem; font-size: 1.35rem; }
.founder__role { margin: 0 0 .2rem; font-weight: 700; color: var(--brand); }
.founder__sub { margin: 0 0 1rem; font-size: .88rem; color: var(--ink-faint); }

.founder__main .quote { border-left-color: var(--sun); margin-bottom: 1.4rem; }
.founder__stats { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.fstat {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: .9rem .8rem; text-align: center; border-top: 4px solid var(--accent, var(--brand));
}
.fstat b { display: block; font-family: var(--font-head); font-size: 1.8rem; line-height: 1; color: var(--accent, var(--brand)); }
.fstat span { display: block; font-size: .8rem; color: var(--ink-soft); margin-top: .35rem; font-weight: 600; }
.founder__main h4 { margin-top: 0; color: var(--brand); }

/* Callout */
.callout {
  background: var(--sun-tint); border: 1px solid #f2dcae; border-radius: var(--r);
  padding: 1.1rem 1.3rem; color: #6b4a00; display: flex; gap: .8rem; align-items: flex-start;
}
.callout svg { flex: none; margin-top: .15rem; }
.callout p:last-child { margin-bottom: 0; }
.callout--info { background: var(--sky-tint); border-color: #b6e5fb; color: #0b4a67; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band .btn-row { justify-content: center; }
.cta-band h2 { max-width: 22ch; margin-inline: auto; }
.cta-band p { max-width: 46ch; margin-inline: auto; margin-bottom: 1.6rem; }

/* 7. Programs -------------------------------------------------------------- */
.prog-card { position: relative; overflow: hidden; }
.prog-card::before {
  content: ''; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px;
  border-radius: 50%; background: var(--accent-tint, var(--brand-tint)); opacity: .7;
}
.prog-card > * { position: relative; }

.group-head { display: flex; align-items: center; gap: .8rem; margin: 0 0 1.2rem; }
.group-head span {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-tint, var(--brand-tint)); color: var(--accent, var(--brand));
}
.group-head h2 { margin: 0; font-size: clamp(1.35rem, 2.4vw, 1.7rem); }

.prog-hero { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .prog-hero { grid-template-columns: 1.4fr .9fr; } }
.prose h2 { margin-top: 2rem; }
.prose h2:first-child { margin-top: 0; }
.prose > p { color: var(--ink-soft); }
.prose ul li { color: var(--ink-soft); }

.sidebar-card {
  background: var(--paper); border-radius: var(--r-lg); border: 1px solid var(--line);
  box-shadow: var(--shadow-m); padding: 1.5rem; position: sticky; top: 100px;
}
.sidebar-card h3 { font-size: 1.15rem; }
.sidebar-card ul { list-style: none; padding: 0; }
.sidebar-card ul li { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink-soft); }
.sidebar-card ul li svg { color: var(--brand); flex: none; margin-top: .2rem; }

.prog-nav { display: grid; gap: .5rem; }
.prog-nav a {
  display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem;
  border-radius: var(--r-sm); color: var(--ink-soft); font-weight: 600;
}
.prog-nav a:hover { background: var(--brand-tint); color: var(--brand); text-decoration: none; }
.prog-nav a.is-current { background: var(--brand); color: #fff; }

/* 8. Forms ----------------------------------------------------------------- */
.form-card {
  background: var(--paper); border-radius: var(--r-lg); border: 1px solid var(--line);
  box-shadow: var(--shadow-m); padding: clamp(1.4rem, 3.5vw, 2.4rem);
}
.form-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .95rem; }
.field .req { color: var(--coral); }
.field .hint { font-size: .84rem; color: var(--ink-faint); }

.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  background: var(--cream); border: 2px solid var(--line); border-radius: var(--r-sm);
  padding: .75rem .9rem; width: 100%; transition: border-color .16s, box-shadow .16s, background .16s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b5b53' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 18px;
  padding-right: 2.4rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: var(--paper);
  border-color: var(--brand); box-shadow: 0 0 0 4px rgba(10,92,60,.15);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--coral); background: var(--coral-tint); }
.field__error { color: #c23c28; font-size: .85rem; font-weight: 600; }

.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .93rem; color: var(--ink-soft); }
.check input { width: 20px; height: 20px; flex: none; margin-top: .15rem; accent-color: var(--brand); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert {
  border-radius: var(--r); padding: 1rem 1.2rem; margin-bottom: 1.5rem;
  display: flex; gap: .75rem; align-items: flex-start; font-weight: 600;
}
.alert svg { flex: none; margin-top: .15rem; }
.alert--ok   { background: var(--mint-tint); color: #0b5c30; border: 1px solid #a6ddb9; }
.alert--err  { background: var(--coral-tint); color: #a32e1c; border: 1px solid #f6bdb3; }
.alert p { margin: 0; font-weight: 400; }
.alert b { display: block; }

.form-aside { display: grid; gap: 1rem; align-content: start; }
.contact-tile {
  display: flex; gap: .9rem; align-items: flex-start;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.1rem; box-shadow: var(--shadow-s);
}
.contact-tile span.i {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex: none;
  background: var(--accent-tint, var(--brand-tint)); color: var(--accent, var(--brand));
}
.contact-tile b { display: block; font-family: var(--font-head); }
.contact-tile a { color: var(--ink-soft); }
.contact-tile a:hover { color: var(--brand); }

/* Success page */
.thanks { text-align: center; max-width: 38rem; margin-inline: auto; }
.thanks__mark {
  width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 1.5rem;
  background: var(--mint); color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 34px rgba(23,163,74,.35);
}
.thanks__mark svg { width: 46px; height: 46px; stroke-width: 2.6; }

/* 9. Footer ---------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.76); padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem; margin-top: auto; }
.footer__grid { display: grid; gap: 2.2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.footer__col--brand { grid-column: span 1; max-width: 30rem; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: .8rem; margin-top: 1.4rem; }
.site-footer h3:first-child { margin-top: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0 0 .5rem; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { color: rgba(255,255,255,.76); }
.site-footer a:hover { color: var(--sun); text-decoration: none; }
.brand--footer {
  background: #fff; padding: .6rem .9rem; border-radius: var(--r);
  box-shadow: var(--shadow-s); align-self: flex-start;
}
.brand--footer .brand__logo { height: 44px; }
.footer__blurb { margin: 1rem 0 .8rem; font-size: .95rem; }
.footer__reg { font-size: .88rem; color: rgba(255,255,255,.55); }
.footer__social { display: flex; gap: .8rem; flex-wrap: wrap; font-weight: 700; font-size: .9rem; }
.footer__contact li { display: flex; gap: .55rem; align-items: flex-start; }
.footer__contact svg { color: var(--sun); flex: none; margin-top: .25rem; }
.footer__contact + .btn { margin-top: .8rem; }
.footer__bar {
  border-top: 1px solid rgba(255,255,255,.14); margin-top: 2.5rem; padding-top: 1.2rem;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  font-size: .88rem;
}
.footer__bar p { margin: 0; }
.footer__legal { display: flex; gap: 1.2rem; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 90;
  display: inline-flex; align-items: center; gap: .5rem;
  background: #25d366; color: #fff; font-weight: 700; font-family: var(--font-head);
  padding: .7rem 1.1rem; border-radius: var(--r-pill);
  box-shadow: 0 10px 26px rgba(37,211,102,.45);
}
.wa-float:hover { text-decoration: none; transform: translateY(-2px); }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: .85rem; } }

/* Content + sidebar split. Single column until there is room for two. */
.split { display: grid; gap: var(--gap); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 920px) {
  .split { grid-template-columns: minmax(0, 1.4fr) minmax(260px, .9fr); }
  .split--wide { grid-template-columns: minmax(0, 1.5fr) minmax(280px, .9fr); }
}
.split--center { align-items: center; }

/* 10. Utilities ------------------------------------------------------------ */
.center { text-align: center; }
.muted  { color: var(--ink-soft); }
.lead   { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--ink-soft); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.5rem; }
.stack > * + * { margin-top: 1rem; }
.narrow { max-width: 48rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-in { opacity: 1; transform: none; }

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

@media print {
  .site-header, .topbar, .wa-float, .site-footer, .nav-toggle { display: none !important; }
  body { background: #fff; }
}
