/* ============================================================
   VIBRANT HEALTH ADVOCATES – JANUS
   Warm & Human Community Design System
   ============================================================ */

/* --- Root Variables --- */
:root {
  --cream:          #FDF6EC;
  --cream-2:        #F5EAD7;
  --cream-card:     #FFFDF8;
  --cream-warm:     #FAF0DC;
  --terra:          #C4622D;
  --terra-light:    #E8875A;
  --terra-pale:     #FAEADF;
  --terra-dark:     #8B4220;
  --brown:          #3D2B1F;
  --brown-mid:      #7A5C48;
  --brown-light:    #C9A882;
  --brown-faint:    #EDE0CC;
  --purple:         #7B2D8B;
  --purple-light:   #F0D9F5;
  --purple-mid:     #B07AC0;
  --purple-dark:    #5A1F6A;
  --white:          #FFFFFF;

  --shadow-sm:  0 2px 14px rgba(61,43,31,0.09);
  --shadow-md:  0 6px 30px rgba(61,43,31,0.15);
  --shadow-lg:  0 14px 56px rgba(61,43,31,0.22);
  --shadow-pol: 4px 8px 28px rgba(61,43,31,0.18);

  --radius:      24px;
  --radius-sm:   14px;
  --radius-xs:   8px;
  --radius-pill: 999px;

  --container: 1100px;
  --gap:        1.75rem;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
html { scroll-behavior: smooth; }

/* --- Base --- */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: var(--cream);
  color: var(--brown);
  line-height: 1.78;
  font-size: 1.0625rem;
  font-weight: 400;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-weight: 800;
  line-height: 1.18;
  color: var(--brown);
}
h1 { font-size: clamp(2.1rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.65rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { max-width: 68ch; }
p + p { margin-top: 1.3em; }
.text-center p { margin-left: auto; margin-right: auto; }

/* --- Container --- */
.container {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* --- Utilities --- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}
.text-terra   { color: var(--terra); }
.text-purple  { color: var(--purple); }
.text-mid     { color: var(--brown-mid); }
.text-center  { text-align: center; }
.lead {
  font-size: 1.175rem;
  line-height: 1.78;
  color: var(--brown-mid);
  font-weight: 500;
}
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 0.7rem;
}
.section-label--purple { color: var(--purple); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream-card);
  border-bottom: 1.5px solid var(--brown-faint);
  box-shadow: var(--shadow-sm);
}
.nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
}
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-icon    { height: 44px; width: auto; }
.brand-wordmark { height: 30px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--brown-mid);
  padding: 0.42rem 0.9rem;
  border-radius: var(--radius-pill);
  transition: color 0.18s, background 0.18s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--terra);
  background: var(--terra-pale);
}
.nav-links a.nav-cta {
  background: var(--terra);
  color: var(--white);
  margin-left: 0.5rem;
  box-shadow: 0 3px 12px rgba(196,98,45,0.28);
}
.nav-links a.nav-cta:hover {
  background: var(--terra-dark);
  color: var(--white);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem 0.4rem;
  border-radius: var(--radius-xs);
  transition: background 0.18s;
}
.nav-toggle:hover { background: var(--cream-2); }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--brown);
  border-radius: 2px;
}

/* ============================================================
   HERO (homepage)
   ============================================================ */
.hero-section { position: relative; }

.hero-image-wrap {
  position: relative;
  min-height: 84vh;
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 84vh;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    155deg,
    rgba(15,7,3,0.12) 0%,
    rgba(25,12,5,0.42) 45%,
    rgba(35,18,8,0.72) 100%
  );
  display: flex;
  align-items: flex-start;
  padding-top: 13vh;
}
.hero-eyebrow {
  display: inline-block;
  background: var(--purple);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.38rem 1.1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.3rem;
}
.hero-tagline {
  color: var(--white);
  font-size: clamp(2.2rem, 5.2vw, 3.9rem);
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 0 2px 24px rgba(0,0,0,0.38);
  max-width: 640px;
}

/* Pullup card sits below hero, pulled up with negative margin */
.hero-pullup-wrap {
  position: relative;
  z-index: 10;
  padding-bottom: 1px; /* paint BFC */
}
.hero-pullup-card {
  background: var(--cream-card);
  border-radius: var(--radius);
  padding: 2.4rem 3rem;
  box-shadow: var(--shadow-lg);
  margin-top: -100px;
  max-width: 780px;
  border-left: 5px solid var(--terra);
  position: relative;
  overflow: hidden;
}
.hero-pullup-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--terra), var(--purple));
}
.hero-pullup-card p {
  font-size: 1.1rem;
  line-height: 1.78;
  color: var(--brown-mid);
  max-width: none;
}

/* ============================================================
   PAGE BANNER (interior pages)
   ============================================================ */
.page-banner {
  position: relative;
  height: 44vh;
  min-height: 290px;
  overflow: hidden;
}
.page-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(0,0,0,0.12) 0%, rgba(30,14,6,0.65) 100%);
  display: flex;
  align-items: flex-end;
  padding-bottom: 2.75rem;
}
.page-banner-text { color: var(--white); }
.page-banner-text h1 { color: var(--white); text-shadow: 0 2px 18px rgba(0,0,0,0.4); }
.page-banner-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1.5px solid rgba(255,255,255,0.35);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.32rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.9rem;
}

/* ============================================================
   SQUIGGLE DIVIDERS
   ============================================================ */
.squiggle-wrap {
  overflow: hidden;
  line-height: 0;
  margin: 0.5rem 0;
  padding: 0.75rem 0;
}
.squiggle-wrap svg { display: block; width: 100%; height: auto; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 5.5rem 0; }
.section--sm { padding: 3.5rem 0; }
.section--cream-2  { background: var(--cream-2); }
.section--white    { background: var(--white); }
.section--terra-pale { background: var(--terra-pale); }
.section--purple-light { background: var(--purple-light); }
.section--dark { background: var(--brown); }

.section-hd { margin-bottom: 3rem; }
.section-hd h2 { margin-bottom: 0.9rem; }
.section-hd p  { color: var(--brown-mid); font-size: 1.1rem; }

/* ============================================================
   SPLIT LAYOUT
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split--3-2 { grid-template-columns: 3fr 2fr; }
.split--2-3 { grid-template-columns: 2fr 3fr; }

/* ============================================================
   POLAROID CARDS
   ============================================================ */
.polaroid {
  background: var(--white);
  padding: 13px 13px 52px;
  box-shadow: var(--shadow-pol);
  border-radius: 3px;
  display: inline-block;
  position: relative;
}
.polaroid img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}
.polaroid figcaption {
  margin-top: 13px;
  font-size: 0.84rem;
  color: var(--brown-mid);
  text-align: center;
  font-weight: 600;
  font-style: italic;
}
.polaroid--tilt-l    { transform: rotate(-3.2deg); }
.polaroid--tilt-r    { transform: rotate(2.6deg); }
.polaroid--tilt-sm-l { transform: rotate(-1.6deg); }
.polaroid--tilt-sm-r { transform: rotate(1.9deg); }

.polaroid-cluster {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  padding: 1rem 1.5rem;
}
.polaroid-cluster .polaroid + .polaroid {
  margin-top: -30px;
}

/* Rounded content images */
.img-rounded {
  border-radius: var(--radius);
  overflow: hidden;
}
.img-rounded img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

/* ============================================================
   HIGHLIGHT CARDS (home 3-up staggered)
   ============================================================ */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  align-items: start;
  padding-bottom: 2.5rem;
}
.highlight-card {
  background: var(--cream-card);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--brown-faint);
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.highlight-card:hover {
  box-shadow: var(--shadow-md);
}
.highlight-card--up   { transform: translateY(-30px); }
.highlight-card--down { transform: translateY(30px); }
.highlight-card--up:hover   { transform: translateY(-36px); }
.highlight-card--down:hover { transform: translateY(24px); }

.highlight-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 2rem; right: 2rem;
  height: 3px;
  background: var(--terra-pale);
  border-radius: 0 0 var(--radius-pill) var(--radius-pill);
}
.highlight-card:hover::after { background: var(--terra-light); }

.highlight-icon {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 1.1rem;
}
.highlight-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--terra);
}
.highlight-card p {
  font-size: 0.9375rem;
  color: var(--brown-mid);
  max-width: none;
  line-height: 1.72;
}

/* ============================================================
   IMPACT STATS
   ============================================================ */
.impact-row {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 1rem 0 2rem;
}
.impact-stat {
  background: var(--white);
  border: 2.5px solid var(--terra-light);
  border-radius: 50%;
  width: 172px;
  height: 172px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  gap: 0.3rem;
}
.impact-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--terra);
  line-height: 1;
}
.impact-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brown-mid);
  line-height: 1.35;
}

/* ============================================================
   DOTTED / DASHED CALLOUT BOX
   ============================================================ */
.dotted-box {
  border: 2.5px dashed var(--brown-light);
  border-radius: var(--radius);
  padding: 2.75rem;
  background: var(--cream-warm);
}
.dotted-box--purple {
  border-color: var(--purple-mid);
  background: var(--purple-light);
}
.dotted-box--terra {
  border-color: var(--terra-light);
  background: var(--terra-pale);
}

/* ============================================================
   CIRCULAR STAMP BADGE
   ============================================================ */
.stamp-badge {
  width: 155px;
  height: 155px;
  flex-shrink: 0;
}
.stamp-badge svg { width: 100%; height: 100%; }

/* ============================================================
   PROGRAMME CARDS
   ============================================================ */
.programmes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: start;
}
.programme-card {
  background: var(--cream-card);
  border-radius: var(--radius);
  padding: 2.4rem;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--terra);
  transition: box-shadow 0.22s, transform 0.22s;
}
.programme-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.programme-card--offset { margin-top: 2.75rem; }

.prog-icon {
  font-size: 2.1rem;
  display: block;
  margin-bottom: 1rem;
}
.programme-card h3 {
  color: var(--terra);
  margin-bottom: 0.6rem;
  font-size: 1.25rem;
}
.prog-blurb {
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 1.1rem;
  font-size: 1.025rem;
  max-width: none;
}
.prog-detail {
  font-size: 0.9375rem;
  color: var(--brown-mid);
  max-width: none;
  line-height: 1.72;
}

/* ============================================================
   GET INVOLVED (ways)
   ============================================================ */
.ways-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  align-items: start;
  padding-bottom: 2rem;
}
.way-card {
  background: var(--cream-card);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 2.5px dashed var(--brown-light);
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.way-card:hover {
  border-color: var(--terra-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.way-card:nth-child(2) {
  transform: translateY(-28px);
  border-color: var(--purple-mid);
}
.way-card:nth-child(2):hover {
  transform: translateY(-33px);
  border-color: var(--purple);
}
.way-icon {
  font-size: 2.6rem;
  display: block;
  margin-bottom: 1.25rem;
}
.way-card h3 {
  color: var(--terra);
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}
.way-card:nth-child(2) h3 { color: var(--purple); }
.way-card p {
  font-size: 0.9375rem;
  color: var(--brown-mid);
  max-width: none;
  line-height: 1.72;
}

/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  align-items: start;
  padding-bottom: 2.5rem;
}
.blog-card {
  background: var(--cream-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: box-shadow 0.22s, transform 0.22s;
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px) !important;
}
.blog-card:nth-child(2) { transform: translateY(28px); }

.blog-card-img {
  width: 100%;
  height: 215px;
  object-fit: cover;
  display: block;
}
.blog-card-body { padding: 1.75rem 1.6rem; }
.blog-card-body h3 {
  font-size: 1.05rem;
  line-height: 1.32;
  margin-bottom: 0.7rem;
  color: var(--brown);
}
.blog-card-dek {
  font-size: 0.9rem;
  color: var(--brown-mid);
  max-width: none;
  margin-top: 0;
  line-height: 1.6;
}
.read-more {
  display: inline-block;
  margin-top: 1.1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--terra);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   ARTICLE
   ============================================================ */
.article-hero {
  position: relative;
  height: 52vh;
  min-height: 330px;
  overflow: hidden;
}
.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.5) 100%);
}

.article-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 1.5rem 6.5rem;
}
.article-meta {
  margin-bottom: 2rem;
}
.article-wrap h1 {
  font-size: clamp(1.7rem, 4vw, 2.75rem);
  line-height: 1.14;
  margin-bottom: 1.25rem;
}
.article-dek {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--brown-mid);
  line-height: 1.6;
  padding: 1.75rem 0 2rem;
  border-top: 2.5px dashed var(--brown-light);
  border-bottom: 2.5px dashed var(--brown-light);
  margin-bottom: 2.5rem;
}
.article-body p {
  max-width: none;
  color: var(--brown-mid);
  line-height: 1.82;
  font-size: 1.05rem;
}
.article-body p + p { margin-top: 1.6em; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--terra);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9375rem;
  margin-bottom: 2.25rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--terra-pale);
  transition: background 0.18s;
}
.back-link:hover { background: var(--brown-faint); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: start;
}
.form-group { margin-bottom: 1.35rem; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 0.42rem;
}
.form-control {
  width: 100%;
  padding: 0.78rem 1rem;
  border: 2px solid var(--brown-light);
  border-radius: var(--radius-sm);
  background: var(--cream-card);
  font-family: inherit;
  font-size: 1rem;
  color: var(--brown);
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px var(--purple-light);
}
textarea.form-control {
  resize: vertical;
  min-height: 145px;
  line-height: 1.65;
}
.form-submit { margin-top: 1.75rem; }

.contact-aside {
  background: var(--cream-2);
  border-radius: var(--radius);
  padding: 2.5rem;
  border: 1.5px solid var(--brown-faint);
  box-shadow: var(--shadow-sm);
}
.contact-aside h3 {
  color: var(--terra);
  margin-bottom: 1.75rem;
  font-size: 1.4rem;
}
.contact-item { margin-bottom: 1.5rem; }
.contact-item strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brown-mid);
  margin-bottom: 0.32rem;
}
.contact-item a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 0.9rem;
  word-break: break-all;
  line-height: 1.5;
}
.contact-item a:hover { color: var(--purple-dark); }
.contact-item span {
  color: var(--brown-mid);
  font-size: 0.9rem;
}

/* ============================================================
   TRUSTEES
   ============================================================ */
.trustees-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.trustee-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem 2rem;
  box-shadow: var(--shadow-sm);
  border-top: 3.5px solid var(--purple);
  flex: 1;
  min-width: 175px;
}
.trustee-name {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.28rem;
  color: var(--brown);
}
.trustee-role {
  font-size: 0.875rem;
  color: var(--purple);
  font-weight: 600;
}

/* ============================================================
   MISSION BLOCK
   ============================================================ */
.mission-block {
  background: var(--purple-light);
  border-radius: var(--radius);
  padding: 3.25rem;
  border: 2.5px dashed var(--purple-mid);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}
.mission-block h2 { color: var(--purple); }
.mission-block p  { color: var(--purple-dark); max-width: none; font-size: 1.0625rem; line-height: 1.8; }

/* ============================================================
   STORY PULL-QUOTE
   ============================================================ */
.pull-quote {
  border-left: 5px solid var(--terra);
  padding: 1.25rem 2rem;
  background: var(--terra-pale);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 2.5rem 0;
}
.pull-quote p {
  font-size: 1.175rem;
  font-weight: 600;
  font-style: italic;
  color: var(--terra-dark);
  max-width: none;
  line-height: 1.65;
}

/* ============================================================
   BUTTONS / CTA
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.1rem;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  cursor: pointer;
  line-height: 1;
  border: none;
}
.btn:active { transform: scale(0.975); }

.btn-primary {
  background: var(--terra);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(196,98,45,0.28);
}
.btn-primary:hover {
  background: var(--terra-dark);
  box-shadow: 0 6px 24px rgba(196,98,45,0.38);
  transform: translateY(-1px);
}
.btn-purple {
  background: var(--purple);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(123,45,139,0.28);
}
.btn-purple:hover {
  background: var(--purple-dark);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--terra);
  border: 2.5px solid var(--terra);
}
.btn-outline:hover { background: var(--terra-pale); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2.5px solid rgba(255,255,255,0.55);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.12); }

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
  background: var(--terra);
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
}
.cta-strip h2 {
  color: var(--white);
  margin-bottom: 2rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.cta-strip--purple { background: var(--purple); }
.cta-strip--dark   { background: var(--brown); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--brown);
  color: rgba(255,255,255,0.82);
  padding: 4.5rem 0 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 3.25rem;
}
.footer-brand .brand-lockup {
  margin-bottom: 1.1rem;
}
.site-footer .brand-icon    { filter: brightness(0) invert(1); height: 38px; }
.site-footer .brand-wordmark { filter: brightness(0) invert(1); height: 26px; }
.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.55);
  max-width: 30ch;
  max-width: none;
}
.footer-col h4 {
  color: var(--cream-2);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.52rem; }
.footer-col a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.18s;
}
.footer-col a:hover { color: var(--cream-2); }
.footer-email {
  color: rgba(255,255,255,0.6);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 0.85rem;
  word-break: break-all;
  display: block;
  margin-bottom: 0.6rem;
  line-height: 1.45;
  transition: color 0.18s;
}
.footer-email:hover { color: var(--cream-2); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.11);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.38);
}

/* ============================================================
   INTRO BLOB / decorative background element
   ============================================================ */
.blob-bg {
  position: relative;
  overflow: hidden;
}
.blob-bg::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 420px; height: 420px;
  background: radial-gradient(ellipse, var(--purple-light) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.55;
  z-index: 0;
}
.blob-bg > * { position: relative; z-index: 1; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .highlights-grid,
  .ways-grid,
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
  .highlights-grid .highlight-card--up,
  .highlights-grid .highlight-card--down,
  .ways-grid .way-card:nth-child(2),
  .blog-grid .blog-card:nth-child(2) {
    transform: none !important;
  }
  .highlights-grid .highlight-card--up:hover,
  .highlights-grid .highlight-card--down:hover,
  .ways-grid .way-card:hover,
  .blog-grid .blog-card:hover {
    transform: translateY(-4px) !important;
  }
  .programmes-grid { grid-template-columns: 1fr; }
  .programme-card--offset { margin-top: 0; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .mission-block { grid-template-columns: 1fr; gap: 2rem; }
  .hero-pullup-card { margin-top: -50px; padding: 1.75rem 2rem; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream-card);
    border-bottom: 1.5px solid var(--brown-faint);
    padding: 1rem 1.5rem;
    gap: 0.3rem;
    box-shadow: var(--shadow-md);
    z-index: 200;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 0.65rem 1rem;
    width: 100%;
  }
  .nav-links a.nav-cta { margin-left: 0; }
  .nav-toggle { display: flex; }
  .nav { position: relative; }

  .hero-image-wrap { min-height: 64vh; }
  .hero-img { min-height: 64vh; }
  .hero-overlay { padding-top: 10vh; }
  .hero-pullup-card { margin-top: -24px; padding: 1.4rem 1.25rem; }
  .hero-pullup-card p { font-size: 0.96rem; }

  .page-banner { height: 34vh; min-height: 220px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .trustees-row { flex-direction: column; }
  .impact-row { gap: 1.25rem; }
  .impact-stat { width: 144px; height: 144px; }
  .impact-number { font-size: 2.1rem; }
  .section { padding: 3.5rem 0; }
  .article-hero { height: 36vh; min-height: 200px; }
  .article-wrap { padding: 3rem 1.25rem 4.5rem; }
  .dotted-box { padding: 1.75rem; }
  .mission-block { padding: 2rem; }
  .contact-aside { padding: 1.75rem; }
  h1 { font-size: 1.95rem; }
  h2 { font-size: 1.6rem; }
  .cta-strip { padding: 3.5rem 0; }
  .footer-tagline { max-width: none; }
}
