/* ============================================================
   Foster Careers — Plain CSS
   ============================================================ */

/* 1. CSS Custom Properties
   ============================================================ */
:root {
  --background: 0 0% 100%;
  --foreground: 210 70% 14%;
  --primary: 208 100% 63%;
  --primary-foreground: 210 80% 12%;
  --secondary: 44 97% 63%;
  --secondary-foreground: 210 80% 12%;
  --muted: 208 80% 96%;
  --muted-foreground: 210 30% 32%;
  --card: 0 0% 100%;
  --border: 208 70% 88%;
}

/* 2. Reset & Box Model
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.5;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { text-decoration: none; }
ul  { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, fieldset { margin: 0; padding: 0; }
fieldset { border: none; }

/* 3. Container
   ============================================================ */
.container {
  max-width: 80rem;   /* 1280px — matches max-w-7xl */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  width: 100%;
}

.container-6xl {
  max-width: 72rem;   /* 1152px — matches max-w-6xl */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  width: 100%;
}

/* 4. Section Padding
   ============================================================ */
.section-py {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

/* 5. Eyebrow Chip
   ============================================================ */
.eyebrow {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: 5rem;
  display: flex;
  align-items: center;
  background-color: hsl(var(--background) / 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border));
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { height: 2.25rem; width: auto; }

.desktop-nav {
  display: none;
  align-items: center;
  gap: 1rem;
}

.header-actions { display: flex; align-items: center; gap: 1rem; }

.btn-header-donate {
  display: none;
  white-space: nowrap;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  padding: 0 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.75rem;
  line-height: calc(1 / .75);
  font-family: 'Montserrat', sans-serif;
  background-color: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  transition: background-color 0.2s, color 0.2s;
  border: none;
  cursor: pointer;
}
.btn-header-donate:hover {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.375rem;
  background: none;
  border: none;
  cursor: pointer;
  color: hsl(var(--foreground));
  padding: 0;
}

/* Nav link underline effect */
.nav-link {
  position: relative;
  padding-bottom: 3px;
  font-weight: 500;
  font-size: 0.75rem;
  color: hsl(var(--foreground));
  transition: color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
  font-family: 'Montserrat', sans-serif;
}
@media (min-width: 1024px) {
  .nav-link { font-size: 0.875rem; }
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background-color: hsl(var(--secondary));
  transition: width 0.25s ease, left 0.25s ease;
}
.nav-link:hover { color: hsl(var(--primary)); transform: translateY(-1px); }
.nav-link:hover::after { width: 100%; left: 0; }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: hsl(var(--foreground));
}
.mobile-menu.is-open { display: flex; }

.close-menu {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: white;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.mobile-nav a {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  transition: color 0.2s;
}
.mobile-nav a:hover { color: hsl(var(--secondary)); }

.btn-donate-mobile {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3.5rem;
  padding: 0 2rem;
  border-radius: 999px;
  font-size: 1.125rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  background-color: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  transition: background-color 0.2s;
}
.btn-donate-mobile:hover { background-color: hsl(var(--primary)); }

/* ============================================================
   HERO
   ============================================================ */
#home {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
  background-image: url('images/hero.png');
  background-image: -webkit-image-set(url('images/hero.webp') 1x, url('images/hero.png') 1x);
  background-image: image-set(url('images/hero.webp') type('image/webp'), url('images/hero.png') type('image/png'));
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: hsl(var(--foreground) / 0.7);
  mix-blend-mode: multiply;
}

.hero-gradient {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 16rem;
  background: linear-gradient(to top, hsl(var(--foreground)), transparent);
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
}

.hero-inner {
  max-width: 48rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-chip {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: white;
  border: 1px solid rgba(255,255,255,0.5);
  font-family: 'Montserrat', sans-serif;
}

.hero-h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  color: white;
  font-family: 'Montserrat', sans-serif;
}

.hero-sub {
  font-size: 1.25rem;
  font-weight: 300;
  color: rgba(255,255,255,0.9);
  max-width: 42rem;
  font-family: 'Montserrat', sans-serif;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-yellow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3.5rem;
  padding: 0 2rem;
  border-radius: 999px;
  font-size: 1.125rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  background-color: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  transition: background-color 0.2s, color 0.2s;
  border: none;
  cursor: pointer;
}
.btn-yellow:hover { background-color: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3.5rem;
  padding: 0 2rem;
  border-radius: 999px;
  font-size: 1.125rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  border: 2px solid white;
  color: white;
  background-color: transparent;
  transition: background-color 0.2s, color 0.2s;
  cursor: pointer;
}
.btn-outline-white:hover { background-color: white; color: hsl(var(--foreground)); }

/* ============================================================
   STATS SECTION
   ============================================================ */
#challenges {
  background-color: hsl(var(--background));
}

.stats-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
}

.stats-h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-family: 'Montserrat', sans-serif;
  color: hsl(var(--foreground));
}

.stats-text {
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.75;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.25rem;
  font-family: 'Montserrat', sans-serif;
}

.stats-portrait-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.deco-square-tl {
  display: none;
  position: absolute;
  top: -1.25rem;
  left: -1.25rem;
  width: 6rem;
  height: 6rem;
  border-radius: 0.5rem;
  background-color: hsl(var(--secondary));
  z-index: 0;
}

.deco-square-br {
  display: none;
  position: absolute;
  bottom: -1.25rem;
  right: -1.25rem;
  width: 5rem;
  height: 5rem;
  border-radius: 0.5rem;
  border: 3px solid hsl(var(--primary) / 0.4);
  background: transparent;
  z-index: 0;
}

.stats-portrait-img {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 24rem;
}
.stats-portrait-img img {
  width: 100%;
  height: 26rem;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* StatCard */
.stat-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
}

.stat-icon-chip {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-color: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: hsl(var(--foreground));
  font-family: 'Montserrat', sans-serif;
}

.stat-desc {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  flex: 1;
  color: hsl(var(--muted-foreground));
  font-family: 'Montserrat', sans-serif;
}

.stat-source {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--border));
}

.stat-source p {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: hsl(var(--muted-foreground));
  font-family: 'Montserrat', sans-serif;
}

.stat-source span {
  text-transform: none;
  font-weight: 400;
}

/* ============================================================
   PIVOT SECTION
   ============================================================ */
.pivot-section {
  background-color: hsl(var(--foreground));
  position: relative;
  overflow: hidden;
}

.pivot-texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(255,255,255,0.025) 20px,
    rgba(255,255,255,0.025) 40px
  );
}

.pivot-inner {
  position: relative;
  z-index: 10;
  text-align: center;
}

.pivot-lead {
  font-size: 1.25rem;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.75;
  font-family: 'Montserrat', sans-serif;
}

.pivot-stat {
  font-size: clamp(5rem, 15vw, 8rem);
  font-weight: 900;
  margin-top: 1rem;
  color: hsl(var(--secondary));
  font-family: 'Montserrat', sans-serif;
}

.pivot-tagline {
  font-size: 1.25rem;
  font-weight: 500;
  margin-top: 2rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  font-family: 'Montserrat', sans-serif;
}

/* ============================================================
   APPROACH SECTION
   ============================================================ */
#approach {
  background-color: hsl(var(--muted));
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
}

.approach-h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  color: hsl(var(--foreground));
  font-family: 'Montserrat', sans-serif;
  text-align: center;
}

.approach-lead {
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  color: hsl(var(--muted-foreground));
  font-family: 'Montserrat', sans-serif;
  text-align: center;
}

.approach-steps { display: flex; flex-direction: column; gap: 1rem; }

.approach-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background-color: hsl(var(--card));
  border-radius: 0.75rem;
  padding: 1.25rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  border: 1px solid hsl(var(--border));
}

.approach-step-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.125rem;
  background-color: hsl(var(--foreground));
  color: hsl(var(--secondary));
}

.approach-step h3 {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: hsl(var(--foreground));
  font-family: 'Montserrat', sans-serif;
}

.approach-step p {
  font-size: 0.875rem;
  line-height: 1.6;
  font-weight: 300;
  color: hsl(var(--muted-foreground));
  font-family: 'Montserrat', sans-serif;
}

.approach-img-wrap { position: relative; }

.approach-img-wrap img {
  width: 100%;
  height: 28rem;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.approach-callout {
  display: none;
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  max-width: 20rem;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  background-color: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  font-family: 'Montserrat', sans-serif;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
#how-it-works {
  background-color: hsl(var(--muted));
}

.hiw-header {
  text-align: center;
  margin-bottom: 4rem;
}

.hiw-eyebrow-chip {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  background-color: hsl(var(--foreground));
  color: hsl(var(--secondary));
  font-family: 'Montserrat', sans-serif;
}

.hiw-h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  color: hsl(var(--foreground));
  font-family: 'Montserrat', sans-serif;
}

.hiw-sub {
  font-size: 1.125rem;
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.75;
  color: hsl(var(--muted-foreground));
  font-family: 'Montserrat', sans-serif;
}

.hiw-steps {
  max-width: 42rem;
  margin: 0 auto;
}

.step-wrapper {
  display: block;
}

.step-reveal {
  display: block;
}

.step-card {
  display: flex;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  border: 1px solid hsl(var(--border));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: default;
}
.step-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11,36,61,0.1);
}

.step-icon-block {
  width: 4rem;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  background-color: #FCCB45;
}

.step-icon {
  stroke: #0B243D;
  transition: transform 220ms ease;
}
.step-card:hover .step-icon { transform: scale(1.12); }

.step-body {
  flex: 1;
  padding: 1rem 1.25rem;
  background-color: hsl(var(--card));
}

.step-body h3 {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.375rem;
  color: hsl(var(--foreground));
  font-family: 'Montserrat', sans-serif;
}

.step-body p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
  font-family: 'Montserrat', sans-serif;
}

.step-connector {
  display: flex;
  justify-content: center;
  padding: 0.625rem 0;
}

.connector-circle {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(11,36,61,0.2);
  background-color: rgba(11,36,61,0.04);
}

/* ============================================================
   IMPACT SECTION
   ============================================================ */
#impact {
  background-color: hsl(var(--background));
}

.impact-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.impact-h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  color: hsl(var(--foreground));
  font-family: 'Montserrat', sans-serif;
}

.impact-sub {
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.75;
  color: hsl(var(--muted-foreground));
  font-family: 'Montserrat', sans-serif;
}

.impact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.matter-card {
  background-color: hsl(var(--card));
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  border: 1px solid hsl(var(--border));
}

.matter-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background-color: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
}

.matter-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: hsl(var(--foreground));
  font-family: 'Montserrat', sans-serif;
}

.matter-card p {
  font-size: 0.875rem;
  line-height: 1.7;
  font-weight: 300;
  color: hsl(var(--muted-foreground));
  font-family: 'Montserrat', sans-serif;
}

.impact-image-tile {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  min-height: 15rem;
}

.impact-image-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.impact-image-tile:hover img { transform: scale(1.05); }

.impact-image-overlay {
  position: absolute;
  inset: 0;
  background-color: hsl(var(--primary) / 0.4);
  transition: background-color 0.3s;
}
.impact-image-tile:hover .impact-image-overlay { background-color: hsl(var(--primary) / 0.2); }

/* ============================================================
   COLLABORATE SECTION
   ============================================================ */
.collaborate-section {
  background-color: hsl(var(--foreground));
}

.collaborate-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

.collaborate-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.2);
}

.collaborate-img-tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-color: hsl(var(--secondary));
  mix-blend-mode: overlay;
}

.collaborate-img-wrap img {
  width: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  mix-blend-mode: luminosity;
}

.collaborate-h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 2.5rem;
  color: white;
  font-family: 'Montserrat', sans-serif;
}

.collaborate-items { display: flex; flex-direction: column; gap: 2rem; }

.collaborate-item { display: flex; gap: 1.25rem; align-items: flex-start; }

.collab-num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 900;
  font-size: 1rem;
  background-color: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  font-family: 'Montserrat', sans-serif;
}

.collaborate-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: hsl(var(--secondary));
  font-family: 'Montserrat', sans-serif;
}

.collaborate-item p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255,255,255,0.8);
  font-family: 'Montserrat', sans-serif;
}

/* ============================================================
   GET INVOLVED SECTION
   ============================================================ */
#get-involved {
  background-color: hsl(var(--muted));
  position: relative;
  overflow: hidden;
}

.gi-texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(-45deg, transparent, transparent 28px, hsl(var(--primary) / 0.06) 28px, hsl(var(--primary) / 0.06) 30px),
    repeating-linear-gradient(45deg, transparent, transparent 28px, hsl(var(--primary) / 0.06) 28px, hsl(var(--primary) / 0.06) 30px);
}

.gi-content { position: relative; z-index: 10; }

.gi-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 4rem;
}

.gi-h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  color: hsl(var(--foreground));
  font-family: 'Montserrat', sans-serif;
}

.gi-sub {
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.75;
  color: hsl(var(--muted-foreground));
  font-family: 'Montserrat', sans-serif;
}

.gi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.gi-card {
  background-color: hsl(var(--card));
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
  border: 1px solid hsl(var(--border));
  border-top: 4px solid hsl(var(--secondary));
}
.gi-card:hover { transform: translateY(-10px); }

.gi-card-yellow {
  background-color: hsl(var(--secondary));
  border: 1px solid hsl(var(--secondary));
  border-top: 1px solid hsl(var(--secondary));
}
.gi-card-navy-top {
  border-top: 4px solid hsl(var(--foreground));
}

.gi-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background-color: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
}

.gi-card-icon-yellow {
  background-color: rgba(255,255,255,0.15);
  color: hsl(var(--secondary-foreground));
}

.gi-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: hsl(var(--foreground));
  font-family: 'Montserrat', sans-serif;
  text-align: center;
}
.gi-card-yellow h3 { color: hsl(var(--secondary-foreground)); }

.gi-card p {
  font-size: 0.875rem;
  line-height: 1.7;
  font-weight: 300;
  flex: 1;
  margin-bottom: 2rem;
  color: hsl(var(--muted-foreground));
  font-family: 'Montserrat', sans-serif;
  text-align: center;
}
.gi-card-yellow p {
  color: hsl(var(--secondary-foreground) / 0.8);
  font-weight: 500;
}

.btn-blue-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  height: 3rem;
  padding: 0 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.875rem;
  font-family: 'Montserrat', sans-serif;
  background-color: hsl(var(--primary));
  color: white;
  border: none;
  transition: background-color 0.2s, color 0.2s;
  cursor: pointer;
}
.btn-blue-pill:hover {
  background-color: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
}

.btn-outline-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  height: 3rem;
  padding: 0 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.875rem;
  font-family: 'Montserrat', sans-serif;
  border: 2px solid hsl(var(--secondary-foreground));
  color: hsl(var(--secondary-foreground));
  background-color: transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
}
.btn-outline-navy:hover {
  background-color: hsl(var(--foreground));
  color: white;
  border-color: hsl(var(--foreground));
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
#contact {
  background-color: hsl(var(--background));
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  color: hsl(var(--foreground));
  font-family: 'Montserrat', sans-serif;
}

.contact-lead {
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 3rem;
  color: hsl(var(--muted-foreground));
  font-family: 'Montserrat', sans-serif;
}

.contact-info-list { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; }

.contact-icon-box {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-color: hsl(var(--foreground));
  color: white;
}

.contact-info-item .line1 {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.125rem;
  color: hsl(var(--foreground));
  font-family: 'Montserrat', sans-serif;
  transition: color 0.2s;
}
a.line1:hover { color: hsl(var(--primary)); }

.contact-info-item .line2 {
  font-size: 0.75rem;
  font-weight: 300;
  color: hsl(var(--muted-foreground));
  font-family: 'Montserrat', sans-serif;
}

/* Contact Form */
.contact-form {
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.field-group { display: flex; flex-direction: column; }

.field-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: hsl(var(--foreground));
  font-family: 'Montserrat', sans-serif;
}

.field-group label .optional {
  font-size: 0.75rem;
  font-weight: 400;
  color: hsl(var(--muted-foreground));
}

.field-group label .required-star {
  color: hsl(var(--primary));
}

.input-wrap { position: relative; }

.field {
  width: 100%;
  height: 3rem;
  padding: 0 1rem;
  padding-right: 2.5rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
  outline: none;
  border: 1.5px solid hsl(var(--border));
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.12);
}

.field.is-valid { border-color: #22c55e; }
.field.is-valid:focus { box-shadow: 0 0 0 3px rgba(34,197,94,0.12); }

.field.is-error { border-color: #ef4444; background-color: hsl(0 80% 99%); }
.field.is-error:focus { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,0.12); }

.field-no-pr { padding-right: 1rem; }

textarea.field {
  height: auto;
  padding: 0.75rem 1rem;
  resize: none;
  font-family: 'Montserrat', sans-serif;
}

.field-icon {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
}

textarea + .field-icon { top: 0.875rem; transform: none; }

.field-error {
  font-size: 0.75rem;
  font-weight: 500;
  color: #ef4444;
  margin-top: 0.375rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.25s ease, opacity 0.25s ease;
}
.field-error.visible { max-height: 2rem; opacity: 1; }

/* Role tiles */
.role-legend {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: hsl(var(--foreground));
  font-family: 'Montserrat', sans-serif;
}

.role-tiles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.role-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 3rem;
  padding: 0 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
  border: 1.5px solid hsl(var(--border));
  background-color: hsl(var(--background));
  color: hsl(var(--muted-foreground));
  font-family: 'Montserrat', sans-serif;
}

.benevity-note {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.25rem;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 3.5rem;
  padding: 0 2rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  background-color: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  border: none;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.2s, color 0.2s, opacity 0.2s;
}
.btn-submit:hover:not(:disabled) {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; }

.submit-legal {
  font-size: 0.75rem;
  font-weight: 300;
  color: hsl(var(--muted-foreground));
  font-family: 'Montserrat', sans-serif;
}

.form-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: none;
  max-width: 28rem;
  width: calc(100% - 2rem);
  padding: 0 1rem;
}
.toast.is-visible { display: block; }

.toast-inner {
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.6;
  background-color: hsl(var(--foreground));
  font-family: 'Montserrat', sans-serif;
}

.toast-icon { flex-shrink: 0; margin-top: 0.125rem; color: hsl(var(--secondary)); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: hsl(var(--foreground));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  border-top: 1px solid #0B243D;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col {
  padding: 4rem 1.5rem;
}

.footer-col--brand {
  background-color: #D6E9FF;
}

.footer-logo {
  height: 3.5rem;
  width: auto;
  display: block;
  margin-bottom: 1.5rem;
}

.footer-about {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.625;
  color: #000000;
  font-family: 'Montserrat', sans-serif;
}

.footer-vision-mission {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-vm-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--primary));
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 0.25rem;
}

.footer-vm-text {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.6;
  color: #000000;
  font-family: 'Montserrat', sans-serif;
}

.footer-col-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.4);
  font-family: 'Montserrat', sans-serif;
}

.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }

.footer-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  font-family: 'Montserrat', sans-serif;
  transition: color 0.2s;
}
.footer-links a:hover { color: hsl(var(--secondary)); }

address { font-style: normal; display: flex; flex-direction: column; gap: 0.75rem; }

address p {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  font-family: 'Montserrat', sans-serif;
}

address a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  font-family: 'Montserrat', sans-serif;
  transition: color 0.2s;
}
address a:hover { color: hsl(var(--secondary)); }

.footer-bottom {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  font-family: 'Montserrat', sans-serif;
}

.footer-tagline {
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  font-family: 'Montserrat', sans-serif;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  @keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .hero-animate {
    opacity: 0;
    animation: heroFadeUp 0.8s ease-out forwards;
  }

  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }
  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .step-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  .step-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-animate { opacity: 1; }
  .reveal       { opacity: 1; transform: none; }
  .step-reveal  { opacity: 1; transform: none; }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-6px); }
  40%       { transform: translateX(6px); }
  60%       { transform: translateX(-4px); }
  80%       { transform: translateX(4px); }
}
.shake { animation: shake 0.4s ease; }

/* ============================================================
   RESPONSIVE — sm (≥640px)
   ============================================================ */
@media (min-width: 640px) {
  .stats-grid          { grid-template-columns: repeat(2, 1fr); }
  .form-row            { grid-template-columns: 1fr 1fr; }
  .form-footer         { flex-direction: row; align-items: center; }
  .btn-submit          { width: auto; }
  .footer-bottom       { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ============================================================
   RESPONSIVE — md (≥768px)
   ============================================================ */
@media (min-width: 768px) {
  .section-py { padding-top: 8rem; padding-bottom: 8rem; }

  /* Nav */
  .desktop-nav          { display: flex; }
  .btn-header-donate    { display: inline-flex; }
  .hamburger            { display: none; }

  /* Stats */
  .stats-top {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 7rem;
  }
  .deco-square-tl       { display: block; }
  .deco-square-br       { display: block; }
  .stats-portrait-img   { max-width: none; }
  .stats-portrait-img img { height: 30rem; }

  /* Pivot */
  .pivot-lead   { font-size: 1.5rem; }
  .pivot-tagline { font-size: 1.5rem; }

  /* Approach */
  .approach-callout     { display: block; }
  .approach-img-wrap img { height: 43.75rem; }

  /* Collaborate — moved to lg so image stacks above content below 1024px */

  /* Get Involved */
  .gi-grid { grid-template-columns: repeat(3, 1fr); }

  /* Impact */
  .impact-grid { grid-template-columns: repeat(2, 1fr); }

  /* Contact form */
  .contact-form { padding: 2.5rem; }

  /* Footer */
  .footer-grid                   { grid-template-columns: 1fr 1fr 1fr; }
  .footer-col--brand             { border-right: 1px solid rgba(255,255,255,0.1); padding-right: 2.5rem; }
  .footer-grid > *:nth-child(2)  { padding-left: 2.5rem; padding-right: 2.5rem; }
  .footer-grid > *:nth-child(3)  { padding-left: 2.5rem; }
}

/* ============================================================
   RESPONSIVE — lg (≥1024px)
   ============================================================ */
@media (min-width: 1024px) {
  /* Hero */
  .hero-h1 { font-size: 6rem; }

  /* Nav */
  .desktop-nav       { gap: 2rem; }
  .btn-header-donate { height: 3rem; padding: 0 1.5rem; font-size: 0.875rem; line-height: calc(1.25 / .875); }

  /* Collaborate */
  .collaborate-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }

  /* Approach */
  .approach-grid { grid-template-columns: 1fr 1fr; }

  /* HowItWorks */
  .step-icon-block { width: 5rem; }

  /* Impact */
  .impact-grid { grid-template-columns: repeat(3, 1fr); }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(4, 1fr); }

  /* Contact */
  .contact-grid {
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
  }

  /* Footer */
  .footer-col--brand             { padding-left: 4rem; }
  .footer-grid > *:nth-child(2)  { padding-left: 4rem; padding-right: 4rem; }
  .footer-grid > *:nth-child(3)  { padding-left: 4rem; padding-right: 4rem; }
  .footer-bottom                 { padding-left: 4rem; padding-right: 4rem; }
}
