/* ==========================================================================
   CEEF — Community Enterprise & Empowerment Forum
   Design system: flat, editorial, no gradients, no shadows.
   Palette: Navy #01235D · Royal #062962 · Forest #035832 ·
            Growth #187D35 · Gold #FBCA3B · Warm Gold #B6822C · White
   ========================================================================== */

:root {
  --navy: #01235D;
  --royal: #062962;
  --forest: #035832;
  --growth: #187D35;
  --gold: #FBCA3B;
  --warm-gold: #B6822C;
  --white: #FFFFFF;
  --ink: #0C1B33;
  --paper: #F6F7F4;
  --paper-green: #EEF4EF;
  --line: #DDE3EA;
  --line-dark: rgba(255, 255, 255, 0.18);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 74rem;
  --container-wide: 82rem;
  --space-section: clamp(3.5rem, 8vw, 6.5rem);
  --radius: 2px;

  --step--1: clamp(0.83rem, 0.79rem + 0.18vw, 0.94rem);
  --step-0: clamp(1rem, 0.95rem + 0.23vw, 1.13rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.38vw, 1.44rem);
  --step-2: clamp(1.44rem, 1.31rem + 0.65vw, 1.85rem);
  --step-3: clamp(1.73rem, 1.52rem + 1.05vw, 2.44rem);
  --step-4: clamp(2.07rem, 1.74rem + 1.68vw, 3.2rem);
  --step-5: clamp(2.49rem, 1.97rem + 2.6vw, 4.2rem);
  --step-6: clamp(2.99rem, 2.2rem + 3.9vw, 5.5rem);
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

::selection { background: var(--gold); color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--gold);
  color: var(--navy);
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ---------- Layout utilities ---------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.container--wide { --container: var(--container-wide); }
.container--narrow { --container: 56rem; }

.section { padding-block: var(--space-section); }
.section--paper { background: var(--paper); }
.section--green { background: var(--paper-green); }
.section--navy { background: var(--navy); color: var(--white); }
.section--forest { background: var(--forest); color: var(--white); }
.section--gold { background: var(--gold); color: var(--navy); }

.section--navy h2, .section--navy h3,
.section--forest h2, .section--forest h3 { color: var(--white); }

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}
.section-head--center { margin-inline: auto; text-align: center; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--growth);
}
.kicker::before {
  content: "";
  width: 2rem;
  height: 3px;
  background: var(--gold);
}
.section--navy .kicker, .section--forest .kicker { color: var(--gold); }
.section--gold .kicker { color: var(--navy); }
.section--gold .kicker::before { background: var(--navy); }

.section-head h2 { font-size: var(--step-4); }
.section-head p {
  margin-top: 1rem;
  font-size: var(--step-1);
  color: #42506B;
}
.section--navy .section-head p,
.section--forest .section-head p { color: rgba(255, 255, 255, 0.82); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.75rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  line-height: 1.2;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; transition: transform 160ms ease; }
.btn:hover svg { transform: translateX(3px); }

.btn--gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn--gold:hover { background: var(--navy); border-color: var(--gold); color: var(--white); }

.btn--navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--navy:hover { background: var(--growth); border-color: var(--growth); }

.btn--outline-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline-light:hover { background: var(--white); color: var(--navy); }

.btn--outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline-navy:hover { background: var(--navy); color: var(--white); }

.btn--sm { padding: 0.6rem 1.15rem; font-size: 0.85rem; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.5rem;
  padding-block: 0.35rem;
}
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--gold); }
.topbar__contact { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.topbar__contact a { display: inline-flex; align-items: center; gap: 0.45rem; }
.topbar__contact svg { width: 0.85rem; height: 0.85rem; fill: var(--gold); }
.topbar__tag { display: none; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.7rem; color: var(--gold); }
@media (min-width: 48rem) { .topbar__tag { display: block; } }
@media (max-width: 40rem) {
  .topbar { font-size: 0.66rem; }
  .topbar .container { width: 100%; padding-inline: 0.6rem; }
  .topbar__inner { justify-content: flex-start; }
  .topbar__contact {
    flex-wrap: nowrap;
    gap: 0.75rem;
    overflow-x: auto;
    scrollbar-width: none;
    width: 100%;
  }
  .topbar__contact::-webkit-scrollbar { display: none; }
  .topbar__contact a { white-space: nowrap; flex: none; }
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 3px solid var(--navy);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.75rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex: none;
}
.brand img { height: 4.75rem; width: auto; }
.brand__fallback {
  display: none;
  flex-direction: column;
  line-height: 1.1;
}
.brand__fallback b {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.brand__fallback span { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--growth); }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0.65rem;
  background: var(--navy);
  border: none;
  border-radius: var(--radius);
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  transition: transform 200ms ease, opacity 160ms ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  position: absolute;
  inset: 100% 0 auto 0;
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
  padding: 1rem 1.25rem 1.5rem;
  display: none;
}
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; padding: 0; display: flex; flex-direction: column; }
.site-nav a {
  display: block;
  padding: 0.8rem 0.25rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.02rem;
  border-bottom: 1px solid var(--line-dark);
}
.site-nav a:hover { color: var(--gold); }
.site-nav a[aria-current="page"] { color: var(--gold); }
.site-nav .btn { margin-top: 1rem; width: 100%; }

@media (min-width: 62rem) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    background: transparent;
    border: none;
    padding: 0;
  }
  .site-nav ul { flex-direction: row; align-items: center; gap: 0.25rem; }
  .site-nav a {
    border: none;
    color: var(--ink);
    font-size: 0.92rem;
    padding: 0.55rem 0.7rem;
    position: relative;
  }
  .site-nav a::after {
    content: "";
    position: absolute;
    left: 0.7rem;
    right: 0.7rem;
    bottom: 0.2rem;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
  }
  .site-nav a:hover { color: var(--navy); }
  .site-nav a:hover::after,
  .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .site-nav a[aria-current="page"] { color: var(--navy); font-weight: 800; }
  .site-nav .btn { width: auto; margin-top: 0; margin-left: 0.75rem; white-space: nowrap; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Ccircle cx='2' cy='2' r='1.4' fill='%23ffffff' fill-opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  gap: 3rem;
  padding-block: clamp(3.5rem, 9vw, 7rem);
}
@media (min-width: 62rem) {
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 4rem; }
}
.hero h1 {
  font-size: var(--step-6);
  font-weight: 550;
  color: var(--white);
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero__lede {
  margin-top: 1.5rem;
  font-size: var(--step-1);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 36rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.25rem; }
@media (max-width: 40rem) {
  .hero__actions { flex-wrap: nowrap; gap: 0.6rem; }
  .hero__actions .btn {
    flex: 1 1 0;
    padding: 0.8rem 0.6rem;
    font-size: 0.82rem;
    white-space: nowrap;
  }
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0 2rem;
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}
.hero__meta b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--gold); font-weight: 600; }

/* geometric hero artwork — abstract mark built from brand blocks */
.hero__art { position: relative; aspect-ratio: 1 / 1; max-width: 30rem; margin-inline: auto; width: 100%; }
.hero__art-block { position: absolute; }
.hero__art .block-green {
  inset: 22% 30% 30% 8%;
  background: var(--growth);
  clip-path: polygon(0 100%, 0 55%, 50% 0, 100% 55%, 100% 100%);
}
.hero__art .block-forest {
  inset: 46% 8% 8% 32%;
  background: var(--forest);
  border: 3px solid rgba(255,255,255,0.35);
}
.hero__art .block-gold {
  width: 34%;
  aspect-ratio: 1;
  top: 4%;
  right: 6%;
  background: var(--gold);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 28%);
}
.hero__art .block-ring {
  width: 26%;
  aspect-ratio: 1;
  left: 4%;
  top: 8%;
  border: 8px solid var(--gold);
  border-radius: 50%;
}
.hero__art .block-dots {
  width: 30%;
  aspect-ratio: 1.6;
  right: 4%;
  bottom: 12%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18'%3E%3Ccircle cx='3' cy='3' r='2.4' fill='%23FBCA3B'/%3E%3C/svg%3E");
}
.hero__art .block-tag {
  left: 0;
  bottom: 0;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.7rem 1.1rem;
  border-left: 5px solid var(--growth);
}

/* framed photo inside the hero composition */
.hero__photo {
  position: absolute;
  inset: 14% 6% 16% 14%;
  border: 4px solid var(--white);
  overflow: hidden;
  background: var(--royal);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Photo strips & banners ---------- */
.photo-strip { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .photo-strip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62rem) { .photo-strip--3 { grid-template-columns: repeat(3, 1fr); } }
.photo-strip figure {
  position: relative;
  border: 3px solid var(--navy);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper-green);
}
.photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}
.photo-strip figure:hover img { transform: scale(1.045); }
.photo-strip figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 0.85rem;
}
.section--navy .photo-strip figure { border-color: var(--white); }

.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--photo > img { border: 2px solid var(--line); aspect-ratio: 4 / 3; }

.photo-banner {
  border: 3px solid var(--navy);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background: var(--paper-green);
}
.photo-banner img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--gold);
  color: var(--navy);
  overflow: hidden;
  border-block: 3px solid var(--navy);
  padding-block: 0.85rem;
}
.marquee__track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 26s linear infinite;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.marquee__track span { display: flex; align-items: center; gap: 3rem; }
.marquee__track i { font-style: normal; width: 0.55rem; height: 0.55rem; background: var(--navy); transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Pillar cards ---------- */
.pillars { display: grid; gap: 1.5rem; }
@media (min-width: 48rem) { .pillars { grid-template-columns: repeat(3, 1fr); } }

.pillar {
  background: var(--white);
  border: 2px solid var(--line);
  border-top: 6px solid var(--navy);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: border-color 180ms ease;
}
.pillar:hover { border-color: var(--navy); border-top-width: 6px; }
.pillar--green { border-top-color: var(--growth); }
.pillar--green:hover { border-color: var(--growth); }
.pillar--gold { border-top-color: var(--gold); }
.pillar--gold:hover { border-color: var(--warm-gold); }

.pillar__num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--warm-gold);
}
.pillar__icon {
  width: 3.4rem;
  height: 3.4rem;
  background: var(--paper-green);
  display: grid;
  place-items: center;
}
.pillar__icon svg { width: 1.8rem; height: 1.8rem; stroke: var(--forest); }
.pillar h3 { font-size: var(--step-2); color: var(--navy); }
.pillar p { color: #42506B; font-size: 0.97rem; }

/* ---------- Split / feature blocks ---------- */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 62rem) {
  .split { grid-template-columns: 1fr 1fr; gap: 4.5rem; }
  .split--flip .split__media { order: 2; }
}
.split h2 { font-size: var(--step-4); color: var(--navy); }
.split .lead { margin-top: 1.25rem; font-size: var(--step-1); color: #42506B; }
.split p + p { margin-top: 1rem; }
.split .btn { margin-top: 1.75rem; }

.split__list { list-style: none; padding: 0; margin-top: 1.5rem; display: grid; gap: 0.75rem; }
.split__list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.split__list svg { width: 1.3rem; height: 1.3rem; flex: none; margin-top: 0.15rem; stroke: var(--growth); }

.media-frame {
  border: 3px solid var(--navy);
  padding: 0.75rem;
  background: var(--white);
}
.media-frame > div { border: 2px solid var(--line); }

/* Vision/mission duo */
.vm-grid { display: grid; gap: 1.5rem; }
@media (min-width: 48rem) { .vm-grid { grid-template-columns: 1fr 1fr; } }
.vm-card {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border: 2px solid var(--line);
  background: var(--white);
  position: relative;
}
.vm-card--navy { background: var(--navy); border-color: var(--navy); color: var(--white); }
.vm-card--green { background: var(--forest); border-color: var(--forest); color: var(--white); }
.vm-card__label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  background: var(--gold);
  color: var(--navy);
  margin-bottom: 1.25rem;
}
.vm-card h3 { font-size: var(--step-3); line-height: 1.25; }
.vm-card p { margin-top: 1rem; color: rgba(255,255,255,0.82); }
.vm-card:not(.vm-card--navy):not(.vm-card--green) h3 { color: var(--navy); }
.vm-card:not(.vm-card--navy):not(.vm-card--green) p { color: #42506B; }

/* ---------- Approach timeline ---------- */
.approach {
  display: grid;
  gap: 0;
  counter-reset: step;
}
@media (min-width: 62rem) { .approach { grid-template-columns: repeat(7, 1fr); } }
.approach__step {
  counter-increment: step;
  border: 2px solid var(--line-dark);
  padding: 1.4rem 1.1rem 1.4rem 1.4rem;
  position: relative;
  color: var(--white);
}
.approach__step + .approach__step { border-top: none; }
@media (min-width: 62rem) {
  .approach__step + .approach__step { border-top: 2px solid var(--line-dark); border-left: none; }
}
.approach__step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.approach__step span { font-weight: 700; font-size: 0.95rem; }
.approach__step::after {
  content: "";
  position: absolute;
  right: -0.65rem;
  top: 50%;
  translate: 0 -50%;
  border: 0.55rem solid transparent;
  border-left-color: var(--gold);
  display: none;
}
@media (min-width: 62rem) {
  .approach__step:not(:last-child)::after { display: block; z-index: 2; }
}

/* ---------- Programme cards ---------- */
.prog-grid { display: grid; gap: 1.5rem; }
@media (min-width: 48rem) { .prog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72rem) { .prog-grid--preview { grid-template-columns: repeat(4, 1fr); } }

.prog-card {
  border: 2px solid var(--line);
  background: var(--white);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 160ms ease;
}
.prog-card:hover { border-color: var(--navy); }
.prog-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 2px solid var(--line);
  background: var(--paper-green);
  position: relative;
}
.prog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}
.prog-card:hover .prog-card__media img { transform: scale(1.045); }
.prog-card__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  border-bottom: 2px solid var(--line);
}
.prog-card__letter {
  width: 2.9rem;
  height: 2.9rem;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}
.prog-card:nth-child(even) .prog-card__letter { background: var(--forest); color: var(--white); }
.prog-card__head h3 { font-size: 1.15rem; color: var(--navy); line-height: 1.25; }
.prog-card__body { padding: 1.25rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.prog-card__intro { color: #42506B; font-size: 0.95rem; }
.prog-card__items { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: auto; }
.prog-card__items li {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--paper-green);
  border: 1px solid #CFE0D2;
  padding: 0.35rem 0.7rem;
}

/* ---------- Stats band ---------- */
.stats {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 62rem) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { border-left: 4px solid var(--gold); padding-left: 1.25rem; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 600;
  line-height: 1;
  color: var(--white);
}
.stat span { display: block; margin-top: 0.5rem; font-size: 0.88rem; color: rgba(255,255,255,0.75); }
.stats--light .stat b { color: var(--navy); }
.stats--light .stat span { color: #42506B; }
.stats--light .stat { border-left-color: var(--growth); }

/* ---------- Formula / pull quote ---------- */
.formula {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 550;
  line-height: 1.45;
  color: var(--white);
  max-width: 60rem;
}
.formula b { color: var(--gold); font-weight: 700; }
.formula .op { color: var(--growth); font-weight: 700; }
.section--navy .formula .op { color: var(--gold); }
.formula-foot { margin-top: 1.5rem; font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: rgba(255,255,255,0.6); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: var(--step-5); color: var(--navy); max-width: 50rem; margin-inline: auto; }
.cta-band p { margin-top: 1.25rem; font-size: var(--step-1); color: #42506B; max-width: 38rem; margin-inline: auto; }
.cta-band .hero__actions { justify-content: center; }
.section--navy .cta-band h2 { color: var(--white); }
.section--navy .cta-band p { color: rgba(255,255,255,0.8); }

/* ---------- Value cards ---------- */
.values-grid { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62rem) { .values-grid { grid-template-columns: repeat(3, 1fr); } }
.value-card {
  background: var(--white);
  border: 2px solid var(--line);
  padding: 1.6rem 1.5rem;
  position: relative;
  transition: border-color 160ms ease, background-color 160ms ease;
}
.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3.2rem;
  height: 5px;
  background: var(--gold);
  transition: width 200ms ease;
}
.value-card:hover { border-color: var(--navy); }
.value-card:hover::before { width: 100%; }
.value-card h3 { font-size: 1.2rem; color: var(--navy); margin-top: 0.75rem; }
.value-card p { margin-top: 0.6rem; font-size: 0.92rem; color: #42506B; }
.value-card__num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--growth);
}

/* ---------- Objectives checklist ---------- */
.checklist { list-style: none; padding: 0; display: grid; gap: 0; counter-reset: obj; }
.checklist li {
  counter-increment: obj;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
.checklist li::before {
  content: counter(obj, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--warm-gold);
  flex: none;
  width: 2.4rem;
}

/* ---------- Identity table ---------- */
.identity-table { width: 100%; border-collapse: collapse; border: 2px solid var(--navy); }
.identity-table th, .identity-table td {
  padding: 0.9rem 1.1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.identity-table th {
  width: 9.5rem;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom-color: var(--line-dark);
}
.identity-table tr:last-child th, .identity-table tr:last-child td { border-bottom: none; }

/* ---------- Team ---------- */
.team-grid { display: grid; gap: 1.5rem; }
@media (min-width: 40rem) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62rem) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.member {
  border: 2px solid var(--line);
  background: var(--white);
  text-align: center;
}
.member__photo {
  aspect-ratio: 1 / 1;
  background: var(--paper-green);
  display: grid;
  place-items: center;
  border-bottom: 2px solid var(--line);
  position: relative;
  overflow: hidden;
}
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__photo svg { width: 4.5rem; height: 4.5rem; stroke: #9DB8A4; }
.member--pending .member__photo::after {
  content: "PHOTO COMING SOON";
  position: absolute;
  bottom: 0.9rem;
  left: 50%;
  translate: -50% 0;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--growth);
  background: var(--white);
  border: 1px solid #CFE0D2;
  padding: 0.3rem 0.6rem;
  white-space: nowrap;
}
.member__body { padding: 1.25rem 1rem 1.5rem; }
.member__body h3 { font-size: 1.15rem; color: var(--navy); }
.member__role { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--warm-gold); margin-top: 0.35rem; }
.member__bio { font-size: 0.88rem; color: #42506B; margin-top: 0.7rem; }

/* ---------- Gallery ---------- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.filter-btn {
  border: 2px solid var(--navy);
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  transition: background-color 150ms ease, color 150ms ease;
}
.filter-btn:hover { background: var(--paper-green); }
.filter-btn.is-active { background: var(--navy); color: var(--gold); }

.gallery-grid { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62rem) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-item {
  border: 2px solid var(--line);
  background: var(--white);
  overflow: hidden;
}
.gallery-item[hidden] { display: none; }
.gallery-item__media {
  aspect-ratio: 4 / 3;
  background: var(--navy);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.gallery-item__media img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item__media svg { width: 3rem; height: 3rem; stroke: var(--gold); }
.gallery-item__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='2' cy='2' r='1.3' fill='%23ffffff' fill-opacity='0.07'/%3E%3C/svg%3E");
}
.gallery-item__tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  z-index: 2;
}
.gallery-item__body { padding: 1.1rem 1.2rem 1.3rem; }
.gallery-item__body h3 { font-size: 1.05rem; color: var(--navy); }
.gallery-item__body p { font-size: 0.85rem; color: #42506B; margin-top: 0.35rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 62rem) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; } }

.contact-info__item {
  display: flex;
  gap: 1.1rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.contact-info__item:first-child { padding-top: 0; }
.contact-info__icon {
  width: 2.9rem;
  height: 2.9rem;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--navy);
}
.contact-info__icon svg { width: 1.3rem; height: 1.3rem; stroke: var(--gold); }
.contact-info__item h3 { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--growth); font-family: var(--font-body); font-weight: 800; }
.contact-info__item p, .contact-info__item a { font-size: 1.02rem; color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-info__item a:hover { color: var(--growth); }

.form-card {
  border: 2px solid var(--navy);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--white);
}
.form-card h2 { font-size: var(--step-2); color: var(--navy); margin-bottom: 1.5rem; }
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 40rem) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }

.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.45rem;
}
.field label i { font-style: normal; color: var(--growth); }
.field input, .field select, .field textarea {
  width: 100%;
  border: 2px solid var(--line);
  background: var(--paper);
  padding: 0.8rem 0.95rem;
  border-radius: 0;
  transition: border-color 150ms ease, background-color 150ms ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.form-note { font-size: 0.82rem; color: #42506B; }

/* ---------- Flash messages ---------- */
.flash {
  border-left: 6px solid var(--growth);
  background: var(--paper-green);
  color: var(--forest);
  padding: 1rem 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.flash--error { border-left-color: #B3261E; background: #FBEAE8; color: #7A1B15; }
.flash-wrap { position: fixed; bottom: 1.25rem; left: 50%; translate: -50% 0; z-index: 150; width: min(92vw, 34rem); }
.flash-wrap .flash { border: 2px solid var(--growth); border-left-width: 6px; }
.flash-wrap .flash--error { border-color: #B3261E; border-left-width: 6px; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding-block: clamp(3rem, 8vw, 5.5rem);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Ccircle cx='2' cy='2' r='1.4' fill='%23ffffff' fill-opacity='0.06'/%3E%3C/svg%3E");
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -6rem;
  top: -6rem;
  width: 20rem;
  height: 20rem;
  border: 2.5rem solid rgba(251, 202, 59, 0.14);
  border-radius: 50%;
}
.page-hero__inner { position: relative; z-index: 1; max-width: 46rem; }
.page-hero h1 { font-size: var(--step-5); color: var(--white); }
.page-hero h1 em { color: var(--gold); font-style: italic; }
.page-hero p { margin-top: 1.1rem; font-size: var(--step-1); color: rgba(255,255,255,0.8); }

/* photo panel in interior page heroes */
.page-hero__media { display: none; }
@media (min-width: 62rem) {
  .page-hero--img .page-hero__inner { max-width: min(46rem, 50%); }
  .page-hero--img .page-hero__media {
    display: block;
    position: absolute;
    inset: 0 0 0 auto;
    width: 44%;
    clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
    z-index: 0;
  }
  .page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
  .page-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(1, 35, 93, 0.3);
  }
}
@media (max-width: 61.99rem) {
  .page-hero--img { padding-top: 0; }
  .page-hero--img .page-hero__media {
    display: block;
    position: relative;
    height: 11rem;
    margin-bottom: 2.5rem;
    border-bottom: 4px solid var(--gold);
  }
  .page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
  .page-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(1, 35, 93, 0.3);
  }
}
.breadcrumb { display: flex; gap: 0.6rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.25rem; color: var(--gold); }
.breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- Chips ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
  border: 2px solid var(--line);
  background: var(--white);
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}
.section--navy .chip { background: transparent; color: var(--white); border-color: var(--line-dark); }
.chip::before { content: "·"; color: var(--growth); font-weight: 900; margin-right: 0.5rem; }

/* ---------- Partner cards ---------- */
.partner-grid { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .partner-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62rem) { .partner-grid { grid-template-columns: repeat(3, 1fr); } }
.partner-card {
  border: 2px solid var(--line-dark);
  padding: 1.5rem;
  transition: border-color 160ms ease, background-color 160ms ease;
}
.partner-card:hover { border-color: var(--gold); background: rgba(255,255,255,0.04); }
.partner-card h3 { font-size: 1.15rem; color: var(--gold); }
.partner-card p { margin-top: 0.5rem; font-size: 0.9rem; color: rgba(255,255,255,0.78); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.78); }
.footer-top {
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
@media (min-width: 48rem) { .footer-top { grid-template-columns: 1.3fr 1fr 1fr; } }
@media (min-width: 72rem) { .footer-top { grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr; gap: 3.5rem; } }
.footer-brand img { height: 3.4rem; width: auto; background: var(--white); padding: 0.4rem 0.7rem; }
.footer-brand p { margin-top: 1.25rem; font-size: 0.92rem; max-width: 22rem; }
.footer-col h3 {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 0.55rem; }
.footer-col a { color: rgba(255,255,255,0.78); text-decoration: none; font-size: 0.92rem; }
.footer-col a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: 0.7rem; font-size: 0.92rem; align-items: flex-start; }
.footer-contact svg { width: 1rem; height: 1rem; flex: none; margin-top: 0.3rem; stroke: var(--gold); }

.newsletter-form { display: flex; margin-top: 0.25rem; }
.newsletter-form input {
  flex: 1;
  min-width: 0;
  border: 2px solid var(--line-dark);
  border-right: none;
  background: rgba(255,255,255,0.06);
  color: var(--white);
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form input:focus { outline: none; border-color: var(--gold); }
.newsletter-form button {
  border: 2px solid var(--gold);
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  padding: 0.7rem 1.1rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.newsletter-form button:hover { background: var(--white); border-color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  font-size: 0.8rem;
}
.footer-bottom a { color: var(--gold); text-decoration: none; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; translate: 0 1.5rem; transition: opacity 550ms ease, translate 550ms ease; }
.reveal.is-visible { opacity: 1; translate: 0 0; }
.reveal--d1 { transition-delay: 80ms; }
.reveal--d2 { transition-delay: 160ms; }
.reveal--d3 { transition-delay: 240ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; translate: none; transition: none; }
}

/* ---------- Misc ---------- */
.lead { font-size: var(--step-1); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

.map-strip {
  border: 3px solid var(--navy);
  background: var(--paper-green);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: grid;
  gap: 1rem;
  text-align: center;
  justify-items: center;
}
.map-strip svg { width: 3rem; height: 3rem; stroke: var(--forest); }
.map-strip h3 { color: var(--navy); font-size: var(--step-2); }
.map-strip p { color: #42506B; max-width: 30rem; }

/* ---------- Floating contact actions ---------- */
.float-actions {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 140;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: flex-end;
}
.float-btn {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  height: 3.4rem;
  border-radius: 999px;
  border: 3px solid var(--white);
  padding: 0 0.95rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  transition: transform 160ms ease;
}
.float-btn:hover { transform: translateY(-2px); }
.float-btn svg { width: 1.45rem; height: 1.45rem; flex: none; }
.float-btn--whatsapp { background: var(--growth); color: var(--white); }
.float-btn--call { background: var(--gold); color: var(--navy); }
.float-btn--call svg { stroke: var(--navy); }

.float-btn__label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 220ms ease;
}
.float-btn:hover .float-btn__label,
.float-btn:focus-visible .float-btn__label { max-width: 9rem; }
@media (max-width: 40rem) {
  .float-actions { right: 1rem; bottom: 1rem; }
  .float-btn { height: 3.1rem; padding: 0 0.8rem; }
  .float-btn__label { display: none; }
}

/* ---------- Mobile density: tighter gutters & card padding ---------- */
@media (max-width: 40rem) {
  .container { width: calc(100% - 1.5rem); }
  .section { padding-block: 2.75rem; }
  .section-head { margin-bottom: 1.75rem; }
  .section-head h2 { font-size: var(--step-3); }

  .hero__grid { padding-block: 2.5rem 3rem; }
  .hero__lede { margin-top: 1.1rem; }
  .hero__meta { margin-top: 2rem; padding-top: 1.1rem; gap: 0 1.25rem; }
  .hero__meta b { font-size: 1.25rem; }

  .pillar { padding: 1.5rem 1.15rem; gap: 0.75rem; }
  .pillars { gap: 1rem; }

  .prog-grid { gap: 1rem; }
  .prog-card__head { padding: 1rem 1.1rem; gap: 0.8rem; }
  .prog-card__letter { width: 2.4rem; height: 2.4rem; font-size: 1.1rem; }
  .prog-card__body { padding: 1rem 1.1rem 1.25rem; gap: 0.8rem; }

  .value-card { padding: 1.3rem 1.1rem; }
  .values-grid { gap: 0.9rem; }

  .partner-card { padding: 1.15rem; }
  .partner-grid { gap: 0.9rem; }

  .vm-card { padding: 1.4rem 1.15rem; }
  .vm-grid { gap: 1rem; }

  .approach__step { padding: 1rem 1.1rem; }

  .checklist li { padding: 0.85rem 0; gap: 0.9rem; }
  .checklist li::before { width: 2rem; font-size: 0.95rem; }

  .identity-table th, .identity-table td { padding: 0.7rem 0.8rem; font-size: 0.85rem; }
  .identity-table th { width: 6.5rem; }

  .member__body { padding: 1rem 0.85rem 1.2rem; }
  .gallery-item__body { padding: 0.95rem 1rem 1.1rem; }
  .gallery-grid { gap: 0.9rem; }

  .contact-grid { gap: 2rem; }
  .contact-info__item { padding: 1.1rem 0; gap: 0.9rem; }
  .contact-info__icon { width: 2.5rem; height: 2.5rem; }
  .form-card { padding: 1.25rem; }
  .form-grid { gap: 0.9rem; }

  .map-strip { padding: 1.5rem 1rem; }
  .photo-strip { gap: 0.9rem; }
  .media-frame { padding: 0.5rem; }
  .split { gap: 1.75rem; }

  .footer-top { gap: 1.75rem; }
  .page-hero { padding-block: 2.5rem; }
  .page-hero--img { padding-block: 0 2.5rem; }
  .page-hero--img .page-hero__media { margin-bottom: 2rem; }
}

.not-found { text-align: center; padding-block: clamp(4rem, 10vw, 8rem); }
.not-found h1 { font-size: var(--step-6); color: var(--navy); }
.not-found h1 em { color: var(--growth); font-style: italic; }
.not-found p { margin: 1.25rem auto 2rem; color: #42506B; max-width: 30rem; }
