﻿/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  /* Brand / Primary red (from Health Assist logo) */
  --brand-50:  #fff5f7;
  --brand-100: #fce8ee;
  --brand-200: #f9bdd1;
  --brand-300: #f490b3;
  --brand-500: #e84070;
  --brand-600: #d91e4e;   /* Primary brand red */
  --brand-700: #b5183f;
  --brand-800: #8c112e;
  --brand-900: #5f0b1f;

  /* Amber â€” donate CTA */
  --amber-100: #fef3c7;
  --amber-500: #f59e0b;
  --amber-600: #d97706;

  /* Blue â€” NDIS Angels program */
  --blue-100: #dbeafe;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;

  /* Slate â€” neutral greys */
  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  /* Logo grey â€” matches wordmark */
  --logo-grey: #5c6474;
  --white: #ffffff;

  /* Dark hero / section background */
  --hero-bg-start: #1b2035;
  --hero-bg-end:   #252a40;

  /* Typography */
  --font: 'Inter', system-ui, -apple-system, sans-serif;

  /* Radii */
  --r-sm:   0.5rem;
  --r-md:   0.75rem;
  --r-lg:   1rem;
  --r-xl:   1.5rem;
  --r-2xl:  2rem;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md: 0 4px 16px rgba(15,23,42,0.08);
  --shadow-lg: 0 10px 40px rgba(15,23,42,0.10);
  --shadow-xl: 0 20px 60px rgba(15,23,42,0.12);

  /* Transitions */
  --ease: 0.2s ease;
}

/* ============================================
   BASE RESET
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--slate-700);
  background: var(--white);
}

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

/* ============================================
   SKIP LINK
   ============================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--brand-600);
  color: var(--white);
  border-radius: var(--r-sm);
  text-decoration: none;
  font-weight: 600;
  z-index: 999;
}
.skip-link:focus { top: 1rem; }

/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.section { padding: 5rem 0; }

.section-header { margin-bottom: 3rem; }
.section-header.centered {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-600);
  margin: 0 0 0.75rem;
}

h1, h2, h3, h4 {
  line-height: 1.15;
  font-weight: 800;
  color: var(--slate-900);
  margin: 0 0 1rem;
}

h2 { font-size: clamp(1.875rem, 3vw, 2.625rem); }
h3 { font-size: 1.25rem; font-weight: 700; }

.section-lead {
  color: var(--slate-500);
  font-size: 1.05rem;
  margin: 0.5rem 0 0;
  max-width: 600px;
}
.centered .section-lead { margin-left: auto; margin-right: auto; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--r-full);
  border: 2px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), color var(--ease), border-color var(--ease);
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1rem;
}

/* Need Help / Primary CTA â€” brand red */
.btn-help {
  background: var(--brand-600);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(217,30,78,0.28);
}
.btn-help:hover {
  background: var(--brand-700);
  box-shadow: 0 8px 24px rgba(217,30,78,0.36);
}

/* Donate â€” amber */
.btn-donate, .btn-donate-sm {
  background: var(--amber-500);
  color: var(--slate-900);
  box-shadow: 0 4px 16px rgba(245,158,11,0.25);
}
.btn-donate:hover, .btn-donate-sm:hover {
  background: var(--amber-600);
  box-shadow: 0 8px 24px rgba(245,158,11,0.32);
}
.btn-donate-sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; }

/* Ghost â€” white outline on dark bg */
.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.65);
}

/* Primary brand */
.btn-primary-teal {
  background: var(--brand-600);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(217,30,78,0.25);
}
.btn-primary-teal:hover {
  background: var(--brand-700);
  box-shadow: 0 8px 24px rgba(217,30,78,0.32);
}

/* Outline brand */
.btn-outline-teal {
  background: transparent;
  color: var(--brand-700);
  border-color: var(--brand-200);
}
.btn-outline-teal:hover {
  background: var(--brand-50);
  border-color: var(--brand-600);
}

/* Outline blue */
.btn-outline-blue {
  background: transparent;
  color: var(--blue-700);
  border-color: var(--blue-100);
}
.btn-outline-blue:hover {
  background: var(--blue-100);
  border-color: var(--blue-600);
}

/* Submit */
.btn-submit {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: var(--r-md);
}
.btn-spinner {
  display: none;
  width: 20px;
  height: 20px;
  animation: spin 0.8s linear infinite;
}
.btn-submit.is-loading .btn-label   { opacity: 0.6; }
.btn-submit.is-loading .btn-spinner { display: block; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.8rem 0;
}

/* Brand logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-logo-svg {
  height: 36px;
  width: auto;
}

/* Desktop nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin-left: auto;
}
.site-nav a {
  padding: 0.4rem 0.7rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--slate-600);
  text-decoration: none;
  border-radius: var(--r-sm);
  transition: background var(--ease), color var(--ease);
}
.site-nav a:hover {
  background: var(--brand-50);
  color: var(--brand-700);
}

/* Header CTAs */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.header-actions .btn-help {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* Hamburger */
.menu-btn {
  display: none;
  background: none;
  border: none;
  padding: 0.4rem;
  cursor: pointer;
  color: var(--slate-700);
  border-radius: var(--r-sm);
  margin-left: auto;
}
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease), width var(--ease);
}
[aria-expanded="true"] .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
[aria-expanded="true"] .hamburger span:nth-child(2) { opacity: 0; width: 0; }
[aria-expanded="true"] .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 0.75rem 1.25rem 1.25rem;
  border-top: 1px solid var(--slate-100);
  background: var(--white);
  gap: 0.25rem;
}
.mobile-nav.is-open { display: flex; }

.mobile-nav a {
  display: block;
  padding: 0.65rem 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate-700);
  text-decoration: none;
  border-radius: var(--r-sm);
  transition: background var(--ease), color var(--ease);
}
.mobile-nav a:hover {
  background: var(--brand-50);
  color: var(--brand-700);
}
.mobile-nav-actions {
  display: flex;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--slate-100);
  margin-top: 0.25rem;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--hero-bg-start) 0%, var(--hero-bg-end) 100%);
  padding: 5.5rem 0 5rem;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(217,30,78,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
/* Red glow accent top-right */
.hero::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(217,30,78,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 420px 1fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-300);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.25rem;
  max-width: 16em;
}

.hero-copy > p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 42rem;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-full);
  padding: 0.3rem 0.75rem;
}

/* Hero visual â€” left column circular image */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
}
.hero-visual-img {
  width: 380px;
  height: 380px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 4px solid rgba(255,255,255,0.15);
  box-shadow:
    0 0 0 12px rgba(217,30,78,0.10),
    0 0 0 24px rgba(217,30,78,0.05),
    0 30px 80px rgba(0,0,0,0.45);
  display: block;
}

/* Inline stat bar below hero copy */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-inline strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand-300);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.hero-stat-inline span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
  max-width: 14em;
}
.hero-stat-divider {
  width: 1px;
  height: 3rem;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* ============================================
   WHO WE HELP
   ============================================ */
.section-who {
  padding: 2.5rem 0;
  background: var(--brand-50);
  border-top: 1px solid var(--brand-100);
  border-bottom: 1px solid var(--brand-100);
}
.who-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
}
.who-inner .eyebrow { margin: 0; flex-shrink: 0; }
.who-inner h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate-700);
  margin: 0;
  flex-shrink: 0;
}
.who-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.who-tags span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--brand-700);
  background: var(--brand-100);
  border: 1px solid var(--brand-200);
  border-radius: var(--r-full);
  padding: 0.3rem 0.85rem;
}

/* ============================================
   PROBLEM / GAP SECTION
   ============================================ */
.section-problem { background: var(--white); }

.gap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.gap-card {
  padding: 2rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--r-xl);
  transition: box-shadow var(--ease), transform var(--ease);
}
.gap-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.gap-icon { width: 56px; height: 56px; margin-bottom: 1.25rem; }
.gap-icon svg { width: 56px; height: 56px; }
.gap-card h3 { margin-bottom: 0.75rem; font-size: 1.1rem; }
.gap-card p { margin: 0; font-size: 0.93rem; color: var(--slate-500); line-height: 1.65; }

/* ============================================
   PROGRAMS
   ============================================ */
.section-programs { background: var(--slate-50); }

.programs-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
.program-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--r-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--ease), transform var(--ease);
}
.program-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.program-card--featured {
  border-color: var(--brand-200);
  box-shadow: 0 0 0 2px var(--brand-100), var(--shadow-md);
}
.program-card--featured:hover {
  box-shadow: 0 0 0 2px var(--brand-200), var(--shadow-xl);
}
.program-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-700);
  background: var(--brand-100);
  border-radius: var(--r-full);
  padding: 0.25rem 0.75rem;
  width: fit-content;
}
.program-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.program-card h3 { margin: 0; font-size: 1.15rem; }
.program-card > p { margin: 0; font-size: 0.93rem; color: var(--slate-500); line-height: 1.65; }

.program-list {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.program-list li {
  font-size: 0.87rem;
  color: var(--slate-600);
  padding-left: 1.25rem;
  position: relative;
}
.program-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 6px; height: 6px;
  background: var(--brand-500);
  border-radius: 50%;
}
.program-card .btn { margin-top: auto; align-self: flex-start; }

/* ============================================
   ABOUT
   ============================================ */
.section-about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image-wrap { position: relative; }
.about-image-wrap img {
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.about-badge {
  position: absolute;
  bottom: -1.25rem;
  right: -1.25rem;
  background: var(--brand-600);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.about-badge strong { display: block; font-size: 1.35rem; color: var(--white); }
.about-badge span   { font-size: 0.78rem; opacity: 0.85; }

.about-copy .eyebrow { margin-bottom: 0.5rem; }
.about-copy > p { color: var(--slate-500); margin-bottom: 1rem; }

.credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 1.5rem 0 2rem;
}
.credential {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--slate-600);
}
.credential svg { color: var(--brand-600); flex-shrink: 0; width: 18px; height: 18px; }

/* ============================================
   IMPACT
   ============================================ */
.section-impact {
  background: linear-gradient(135deg, var(--hero-bg-start) 0%, var(--hero-bg-end) 100%);
  position: relative;
  overflow: hidden;
}
.section-impact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(217,30,78,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.section-impact .section-header { position: relative; }
.section-impact .eyebrow        { color: var(--brand-300); }
.section-impact .section-header h2 { color: var(--white); }
.section-impact .section-lead   { color: rgba(255,255,255,0.6); }

.stats-row {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
}
.stat-item { flex: 1; padding: 2.5rem 1.5rem; text-align: center; }
.stat-number {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label { font-size: 0.87rem; color: rgba(255,255,255,0.55); }
.stat-divider { width: 1px; height: 60px; background: rgba(255,255,255,0.1); flex-shrink: 0; }

/* ============================================
   TESTIMONIAL + CAROUSEL
   ============================================ */
.section-testimonial { background: var(--slate-50); }

/* Carousel wrapper */
.testimonial-carousel {
  max-width: 780px;
  margin: 0 auto;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: var(--r-2xl);
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.48s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  /* JS sets translateX in pixels; no percentage ambiguity */
}

/* Individual card â€” JS sets explicit pixel width on init & resize */
.testimonial-card {
  flex: 0 0 auto;   /* JS controls the width */
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--r-2xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  box-sizing: border-box;
}
.testimonial-quote-glyph {
  position: absolute;
  top: 1.5rem; left: 2rem;
  width: 60px; height: 48px;
  pointer-events: none;
}
.testimonial-card blockquote { margin: 0 0 1.75rem; padding: 0; }
.testimonial-card blockquote p {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--slate-700);
  font-style: italic;
  margin: 0;
  padding-top: 1.5rem;
}
.testimonial-card figcaption { display: flex; align-items: center; gap: 1rem; }
.testimonial-card figcaption strong { display: block; font-size: 0.95rem; color: var(--slate-900); }
.testimonial-card figcaption span   { font-size: 0.83rem; color: var(--slate-400); }

.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
  color: var(--white);
  font-weight: 700; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Carousel controls row */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.carousel-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-500);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background var(--ease), color var(--ease), border-color var(--ease), box-shadow var(--ease);
  flex-shrink: 0;
}
.carousel-btn:hover {
  background: var(--brand-600);
  color: var(--white);
  border-color: var(--brand-600);
  box-shadow: 0 4px 12px rgba(217,30,78,0.28);
}
.carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.carousel-btn:disabled:hover {
  background: var(--white);
  color: var(--slate-500);
  border-color: var(--slate-200);
  box-shadow: var(--shadow-sm);
}

/* Dot indicators */
.carousel-dots { display: flex; align-items: center; gap: 0.5rem; }

.carousel-dot {
  width: 8px; height: 8px;
  border-radius: var(--r-full);
  border: none;
  background: var(--slate-300);
  cursor: pointer;
  padding: 0;
  transition: background var(--ease), width var(--ease);
}
.carousel-dot.is-active {
  background: var(--brand-600);
  width: 24px;
}

/* ============================================
   GET INVOLVED
   ============================================ */
.section-get-involved { background: var(--white); }

.involve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.involve-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--r-xl);
  padding: 2rem;
  display: flex; flex-direction: column; gap: 0.85rem;
  transition: box-shadow var(--ease), transform var(--ease);
  position: relative;
}
.involve-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.involve-card--highlight {
  background: linear-gradient(135deg, var(--amber-100) 0%, #fff9e6 100%);
  border-color: #fde68a;
}
.involve-tag {
  position: absolute; top: 1.25rem; right: 1.25rem;
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--amber-600);
  background: var(--amber-100); border: 1px solid #fde68a;
  border-radius: var(--r-full); padding: 0.2rem 0.65rem;
}
.involve-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
}
.involve-icon--brand  { background: var(--brand-100); }
.involve-icon--amber  { background: var(--amber-100); }
.involve-icon--blue   { background: var(--blue-100);  }
.involve-card h3 { margin: 0; font-size: 1.15rem; }
.involve-card p  { margin: 0; font-size: 0.93rem; color: var(--slate-500); line-height: 1.65; flex: 1; }
.involve-card .btn { align-self: flex-start; margin-top: 0.5rem; }

/* ============================================
   CONTACT
   ============================================ */
.section-contact {
  background: var(--brand-50);
  border-top: 1px solid var(--brand-100);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-copy .eyebrow { margin-bottom: 0.5rem; }
.contact-copy h2       { margin-bottom: 1rem; }
.contact-copy > p      { color: var(--slate-500); margin-bottom: 2rem; }

.contact-details { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.contact-detail {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.93rem; font-weight: 500;
  color: var(--brand-700); text-decoration: none;
}
.contact-detail:hover { text-decoration: underline; }
.contact-detail svg   { width: 18px; height: 18px; flex-shrink: 0; }

.contact-legal {
  padding: 1rem 1.25rem;
  background: var(--brand-100);
  border-radius: var(--r-lg);
  border: 1px solid var(--brand-200);
}
.contact-legal p { margin: 0; font-size: 0.82rem; color: var(--brand-800); line-height: 1.7; }

/* Form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--r-2xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-xl);
  display: flex; flex-direction: column; gap: 1.15rem;
}
.form-row-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field    { display: flex; flex-direction: column; gap: 0.4rem; }

label { font-size: 0.87rem; font-weight: 600; color: var(--slate-700); }
.req  { color: var(--brand-600); margin-left: 0.15rem; }

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  background: var(--slate-50);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--r-md);
  color: var(--slate-900);
  transition: border-color var(--ease), box-shadow var(--ease);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(217,30,78,0.1);
}
input.is-invalid, select.is-invalid, textarea.is-invalid {
  border-color: var(--brand-600);
}
input.is-invalid:focus, select.is-invalid:focus, textarea.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(217,30,78,0.15);
}
textarea { resize: vertical; line-height: 1.6; }

.select-wrap { position: relative; }
.select-wrap select {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 0.95rem;
  background: var(--slate-50);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--r-md);
  color: var(--slate-900);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.select-arrow {
  position: absolute; right: 0.85rem; top: 50%;
  transform: translateY(-50%);
  width: 12px; height: 8px;
  color: var(--slate-400); pointer-events: none;
}

.field-error { font-size: 0.8rem; color: var(--brand-600); min-height: 1.1em; display: block; }

.form-status {
  text-align: center; font-size: 0.9rem; font-weight: 500;
  margin: 0; min-height: 1.4em;
}
.form-status.is-success { color: #15803d; }
.form-status.is-error   { color: var(--brand-600); }

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

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: var(--slate-900); color: var(--slate-400); }

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  padding: 4rem 0 2.5rem;
}
.footer-brand .brand    { margin-bottom: 0.75rem; }
.footer-tagline         { font-size: 0.93rem; color: var(--slate-400); margin: 0.5rem 0; }
.footer-legal-text      { font-size: 0.78rem; color: var(--slate-500); line-height: 1.7; margin: 0.5rem 0 0; }

/* Invert the logo colours for dark footer */
.footer-brand .brand-logo-svg .ecg-line   { stroke: #f490b3; }
.footer-brand .brand-logo-svg .logo-text  { fill: #cbd5e1; }

.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-col  { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col h4 {
  font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--white); margin: 0 0 0.5rem;
}
.footer-col a { font-size: 0.87rem; color: var(--slate-400); text-decoration: none; transition: color var(--ease); }
.footer-col a:hover { color: var(--brand-300); }

.footer-bottom { border-top: 1px solid var(--slate-800); padding: 1.5rem 0; }
.footer-bottom .container {
  display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 0.5rem;
}
.footer-bottom p { font-size: 0.8rem; color: var(--slate-500); margin: 0; }
.footer-bottom a { color: var(--brand-400, #f490b3); text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

/* ============================================
   RESPONSIVE â€” TABLET (â‰¤ 960px)
   ============================================ */
@media (max-width: 960px) {
  .site-nav, .header-actions { display: none; }
  .menu-btn { display: flex; }

  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { justify-content: center; order: -1; }
  .hero-visual-img { width: 240px; height: 240px; }
  .hero-actions   { justify-content: center; }
  .trust-badges   { justify-content: center; }
  .hero-stats     { justify-content: center; }
  .hero-stat-divider { display: block; }

  .who-inner { flex-direction: column; align-items: flex-start; }

  .gap-grid      { grid-template-columns: 1fr 1fr; }
  .programs-grid { grid-template-columns: 1fr; }

  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-badge { display: none; }

  .stats-row  { flex-wrap: wrap; }
  .stat-divider { display: none; }
  .stat-item  { min-width: 50%; }

  .involve-grid { grid-template-columns: 1fr 1fr; }

  .contact-inner { grid-template-columns: 1fr; gap: 2rem; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============================================
   RESPONSIVE â€” MOBILE (â‰¤ 600px)
   ============================================ */
@media (max-width: 600px) {
  .section { padding: 3.5rem 0; }
  h2 { font-size: 1.75rem; }

  .gap-grid       { grid-template-columns: 1fr; }
  .form-row-2col  { grid-template-columns: 1fr; }
  .contact-form   { padding: 1.5rem; }
  .involve-grid   { grid-template-columns: 1fr; }
  .footer-cols    { grid-template-columns: 1fr 1fr; gap: 1.5rem; }

  .stats-row { border-radius: 0; }
  .stat-item {
    min-width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .stat-item:last-child { border-bottom: none; }

  .testimonial-card { padding: 1.75rem; }
  .credentials      { grid-template-columns: 1fr; }
}


/* ============================================================
   STORIES PAGE
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--hero-bg-start), var(--hero-bg-end));
  color: var(--white);
  padding: 4.5rem 0 4rem;
  text-align: center;
}
.page-hero .hero-eyebrow { justify-content: center; }
.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0.75rem 0 0.75rem;
}
.page-hero-lead {
  color: var(--slate-300);
  font-size: 1.1rem;
  max-width: 38rem;
  margin: 0 auto;
}

.section-stories { background: var(--white); }
.story-list {
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
}
.story {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 2.5rem;
  align-items: start;
}
.story:nth-child(even):not(.story--no-image) {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}
.story:nth-child(even):not(.story--no-image) .story-figure { order: 2; }
.story--no-image {
  grid-template-columns: minmax(0, 1fr);
  max-width: 46rem;
}
.story-figure {
  margin: 0;
  position: sticky;
  top: 5.5rem;
}
.story-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  display: block;
}
.story-figure--portrait { max-width: 24rem; }
.story-figure figcaption {
  font-size: 0.85rem;
  color: var(--slate-500);
  margin-top: 0.75rem;
  line-height: 1.5;
}
.story-meta {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-600);
  margin: 0 0 0.5rem;
}
.story-body h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--slate-900);
  margin: 0 0 1rem;
}
.story-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-800);
  margin: 1.5rem 0 0.4rem;
}
.story-body p {
  color: var(--slate-600);
  line-height: 1.75;
  margin: 0 0 1rem;
}
.story-refs {
  margin-top: 1.25rem;
  border-top: 1px solid var(--slate-200);
  padding-top: 1rem;
}
.story-refs summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--slate-500);
}
.story-refs ul {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  font-size: 0.85rem;
  color: var(--slate-500);
  line-height: 1.7;
}
.story-refs a { color: var(--brand-600); }

.section-stories-cta {
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
}
.stories-cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.testimonial-readmore {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

@media (max-width: 820px) {
  .story,
  .story:nth-child(even):not(.story--no-image) {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }
  .story:nth-child(even):not(.story--no-image) .story-figure { order: 0; }
  .story-figure { position: static; }
  .story-figure--portrait { max-width: 20rem; }
  .story-list { gap: 3.5rem; }
}
