/* Ensure footer never overlaps previous content */
.site-footer {
  clear: both;
  width: 100%;
  position: relative;
  margin-top: 2rem;
  z-index: 1;
}

/* CTA banner under the network list */
.partner-cta {
  width: 90%;
  max-width: 1100px;
  margin: 2rem auto 0;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--color-dark);
  color: var(--color-text-light);
  border-radius: 0.2rem;
  box-shadow: var(--shadow-card);
  font-family: 'Montserrat', Arial, sans-serif;
}
.partner-cta-text {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.partner-cta-text h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.2;
}
.partner-cta-text p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 300;
  opacity: 0.85;
}
.partner-cta-button {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85em 1.6em;
  background: var(--color-contrast);
  color: var(--color-dark);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  border-radius: 0.2rem;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.partner-cta-button:hover {
  background: var(--color-contrast-darker);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
@media (max-width: 700px) {
  .partner-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.25rem;
  }
  .partner-cta-button {
    align-self: stretch;
    justify-content: center;
  }
}
.global-impact-content {
  width: 100%;
  background: var(--gradient-section);
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

/* Impact counters section */
.counter-number {
  font-size: clamp(2.75rem, 1.75rem + 3vw, 5rem);
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: stretch;
}
.counter-digit {
  display: inline-block;
  height: 1em;
  line-height: 1;
  overflow: hidden;
  vertical-align: top;
}
.counter-digit-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  will-change: transform;
}
.counter-digit-stack > span {
  display: block;
  height: 1em;
  line-height: 1;
}

.counter-label {
  font-size: clamp(0.95rem, 0.75rem + 0.45vw, 1.3rem);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  opacity: 0.85;
}
.impact-counters {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: clamp(1.5rem, 3vw + 0.5rem, 5rem);
  margin: clamp(1.5rem, 3vw, 3rem) 0 clamp(1rem, 2vw, 1.5rem);
  padding: 0 1rem;
  box-sizing: border-box;
}
.impact-tagline {
  text-align: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: clamp(1.05rem, 0.85rem + 0.55vw, 1.45rem);
  font-weight: 300;
  color: var(--color-dark);
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  max-width: 36ch;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

/* Our Network Schools — two-column typographic list */
.network-section {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem) clamp(2rem, 4vw, 3.5rem);
  font-family: 'Montserrat', Arial, sans-serif;
}
.network-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.4rem);
  font-weight: 400;
  color: var(--color-dark);
  margin: 0 0 0.5rem;
  letter-spacing: 0.01em;
}
.network-subtitle {
  text-align: center;
  font-size: clamp(0.95rem, 0.85rem + 0.3vw, 1.15rem);
  font-weight: 300;
  color: var(--color-dark);
  opacity: 0.75;
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
}
.network-list {
  list-style: none;
  padding: 0;
  margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(2rem, 4vw, 3.5rem);
}
@media (max-width: 560px) {
  .network-list { grid-template-columns: 1fr; }
}
.network-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(var(--color-dark-rgb), 0.15);
}
.network-row-name {
  font-size: clamp(1rem, 0.9rem + 0.3vw, 1.15rem);
  font-weight: 500;
  color: var(--color-dark);
}
.network-row-count {
  font-size: clamp(1rem, 0.9rem + 0.3vw, 1.15rem);
  font-weight: 700;
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
}
.network-viewall-wrap {
  text-align: center;
  margin-top: clamp(1.5rem, 3vw, 2rem);
}
.network-viewall {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: clamp(1rem, 0.9rem + 0.3vw, 1.15rem);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}
.network-viewall:hover {
  color: var(--color-dark);
  transform: translateX(2px);
}
.reviews-carousel {
  background: var(--color-white);
  min-height: auto;
  padding: clamp(3rem, 6vw, 6rem) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}
.section-title {
  text-align: center;
  margin: 0;
  padding: 0 1rem;
  font-family: var(--font-heading);
  color: var(--color-dark);
  font-weight: 400;
  font-size: clamp(2rem, 1.4rem + 2vw, 4.2rem);
  line-height: 1.1;
}

/* Testimonial carousel row — two cards side by side (stacks ≤720px via the
   .testimonial-row .testimonial-frame rule in components.css). */
.testimonial-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  width: 100%;
  max-width: 1200px;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  box-sizing: border-box;
}

/* Testimonial card — single visible quote with fade-swap content */
.testimonial-frame {
  position: relative;
  width: 100%;
  max-width: 760px;
  background: var(--color-white);
  border-radius: 0.2rem;
  box-shadow: var(--shadow-card);
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3.5rem) clamp(2rem, 4vw, 3rem);
  box-sizing: border-box;
  margin: 0 auto;
}
.testimonial-quote-mark {
  position: absolute;
  top: clamp(1.25rem, 2.5vw, 2rem);
  left: clamp(1.25rem, 2.5vw, 2rem);
  width: clamp(2rem, 3vw + 1rem, 3.25rem);
  height: auto;
  fill: none;
  stroke: rgba(var(--color-dark-rgb), 0.2);
  stroke-width: 2.2;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.testimonial-content {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 2vw, 1.75rem);
  transition: opacity 0.22s ease;
}
.testimonial-content.is-fading {
  opacity: 0;
}
.testimonial-text {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: clamp(1.05rem, 0.85rem + 0.55vw, 1.35rem);
  line-height: 1.55;
  color: var(--color-text);
  font-weight: 400;
}
.testimonial-text b {
  font-weight: 700;
}
.testimonial-reviewer {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: clamp(0.9rem, 0.8rem + 0.25vw, 1rem);
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.01em;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.5rem);
}
.testimonial-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid rgba(var(--color-dark-rgb), 0.18);
  color: var(--color-dark);
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 400;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.testimonial-arrow:hover {
  background: var(--color-white);
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.testimonial-arrow:active {
  transform: scale(0.96);
}
.testimonial-arrow span {
  display: block;
  line-height: 1;
  margin-top: -2px;
}
.testimonial-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.25rem;
}
.dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: rgba(var(--color-dark-rgb), 0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s, width 0.2s;
}
.dot:hover {
  background: rgba(var(--color-dark-rgb), 0.5);
}
.dot.active {
  background: var(--color-primary);
  width: 1.5rem;
  border-radius: 999px;
}
.global-impact-section p {
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 0;
  margin-bottom: 0;
  text-align: center;
}
.global-impact-section{
  background: var(--color-white);
}
.global-impact-section h2{
  margin-top: 0;
}
.impact-subtitle {
  font-size: 1.7rem;
  font-weight: 400;
  margin-top: 0;
  margin-bottom: 0;
  text-align: center;
  margin-left: 0;
}
@media (max-width: 600px) {
  .global-impact-section {
    min-height: auto;
    height: auto;
    padding-bottom: 2rem;
  }
  .impact-counters {
    flex-direction: column;
    gap: 3rem;
    align-items: center;
  }
}
.counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-dark);
  line-height: 1.1;
}

.transparent-section img, .global-impact-section img {
  height: 5rem;
  vertical-align: middle;
  margin-right: 0.5rem;
  margin-bottom: 0;
}
 .global-impact-section img {
  height: 4rem;
  margin-bottom: 0;
}
/* Star badge — navy circle with a contrast-color star, inline with the title */
.grant-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: clamp(2.25rem, 1.8rem + 1vw, 2.75rem);
  height: clamp(2.25rem, 1.8rem + 1vw, 2.75rem);
  border-radius: 50%;
  background: var(--color-dark);
}
.grant-star svg {
  display: block;
  width: 55%;
  height: 55%;
  fill: var(--color-contrast);
}
.grant-box-header {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  margin: 0;
}
/* Grant box title formatting */
.grant-box h4 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 1rem + 1vw, 2rem);
  font-weight: 400;
  text-align: left;
  margin: 0;
  color: var(--color-dark);
  line-height: 1.15;
}

.grant-box .grant-description {
  font-size: clamp(1rem, 0.85rem + 0.4vw, 1.2rem);
  text-align: left;
  margin: 0;
  line-height: 1.55;
  font-weight: 400;
  color: var(--color-text);
}

.grant-pills {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.grant-pills li {
  background: rgba(var(--color-dark-rgb), 0.08);
  color: var(--color-dark);
  padding: 0.45rem 0.95rem;
  border-radius: 0;
  font-size: clamp(0.85rem, 0.75rem + 0.2vw, 1rem);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
}
/* Transparent section below white-section */
.transparent-section {
  width: 100vw;
  min-height: auto;
  height: auto;
  box-sizing: border-box;
  margin: 0;
  padding: clamp(3rem, 6vw, 6rem) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--gradient-section);
  }
.transparent-section h2#titleDollars {
  /* Match .white-section-content h2 (OUR DIVISIONS) exactly */
  font-family: var(--font-heading);
  color: var(--color-dark);
  font-weight: 400;
  font-size: clamp(2rem, 1.4rem + 2vw, 4.5rem);
  text-align: center;
  padding-bottom: 0;
  margin-bottom: clamp(1.5rem, 3vw, 4rem);
  line-height: 1.1;
  width: 100%;
}
/* Government grants section styles */
.government-grants-content {
  position: relative;
  width: 100%;
}

/* Grants boxes layout */
.grants-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: clamp(1.5rem, 3vw + 0.5rem, 2.5rem);
  width: min(90%, 1100px);
  margin: auto;
  padding: clamp(1.5rem, 4vw, 3rem) 0;
}
@media (max-width: 700px) {
  .grants-boxes {
    grid-template-columns: 1fr;
  }
}

.grant-box {
  position: relative;
  width: 100%;
  /* Slightly lighter than the section's light-blue gradient background */
  background: var(--color-white);
  border-radius: var(--radius-card);
  border: none;
  border-top: 3px solid var(--color-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.5rem);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-text);
  text-align: left;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-sizing: border-box;
}

/* Grants section CTA banner — mirrors .partner-cta exactly */
.grants-cta {
  width: 90%;
  max-width: 1100px;
  margin: 2rem auto 0;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--color-dark);
  color: var(--color-text-light);
  border-radius: 0.2rem;
  box-shadow: var(--shadow-card);
  font-family: 'Montserrat', Arial, sans-serif;
  box-sizing: border-box;
}
.grants-cta-text {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.grants-cta-text h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.2;
}
.grants-cta-text p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 300;
  opacity: 0.85;
}
.grants-cta-button {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85em 1.6em;
  background: var(--color-contrast);
  color: var(--color-dark);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  border-radius: 0.2rem;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.grants-cta-button:hover {
  background: var(--color-contrast-darker);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
@media (max-width: 700px) {
  .grants-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.25rem;
  }
  .grants-cta-button {
    align-self: stretch;
    justify-content: center;
  }
}


.page-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100vw;
  min-width: 100vw;
  min-height: 100vh;
}

.landing-title-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  /* Fluid hero height: comfortable on phones (no 100vh trap), full bleed on desktops */
  min-height: clamp(480px, 90vh, 900px);
  width: 100%;
  max-width: 100%;
  text-align: left;
  background: var(--gradient-hero), url('public/images/hero-teacher-student.png') no-repeat right center;
  background-size: cover;
  padding: clamp(2rem, 5vh, 5rem) clamp(1.25rem, 6vw, 6rem);
  box-sizing: border-box;
  position: relative;
}
/* Hero text */
.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: min(60%, 900px);
}
@media (max-width: 720px) {
  .hero-text { max-width: 100%; }
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 1rem + 2.2vw, 3.5rem);
  font-weight: 400;
  color: var(--color-text-light);
  letter-spacing: 0.05em;
  margin: 0 0 1.5rem 0;
  line-height: 1.2;
}
.hero-innovation {
  position: relative;
  display: inline-block;
}

.hero-innovation::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 3px;
  width: 0;
  background-color: var(--color-dark);
  border-radius: 0.2rem;
  animation: draw-underline 1s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.8s;
}

@keyframes draw-underline {
  to {
    width: 100%;
  }
}

.landing-title-container h1 {
  font-size: clamp(1rem, 0.6rem + 1vw, 1.8rem);
  text-align: left;
  max-width: 85%;
  line-height: 1.6;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 200;
  color: var(--color-text-light);
  margin-top: 0;
  margin-bottom: 0;
}
.hero-cta-button {
  display: inline-block;
  align-self: flex-start;
  margin-top: 2.5rem;
  padding: 0.85em 2.4em;
  background: var(--color-contrast);
  color: var(--color-dark);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: 0.2rem;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.hero-cta-button:hover {
  background: var(--color-contrast-darker);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
@media (max-width: 1000px) {
  .hero-headline {
    font-size: 2.8rem;
  }
  .landing-title-container h1 {
    font-size: 1.3rem;
  }
  .hero-text {
    width: 70%;
  }
}
@media (max-width: 800px) {
  .hero-headline {
    font-size: 2.2rem;
  }
  .landing-title-container h1 {
    font-size: 1.1rem;
  }
}
@media (max-width: 600px) {
  .landing-title-container {
    /* Shorter page header on phones: fixed ~440px instead of 80vh.
       background-size: cover keeps the image from stretching. */
    min-height: 440px;
    padding: 3rem 5%;
    justify-content: center;
  }
  .hero-text {
    width: 95%;
  }
  .hero-headline {
    font-size: 2rem;
  }
  .landing-title-container h1 {
    font-size: 1.45rem; /* ~16px at the mobile root size */
    max-width: 100%;
    line-height: 1.5;
  }
}

/* New white section directly under the landing section */
.white-section {
  background: var(--color-white);
  width: 100vw;
  min-height: auto;
  height: auto;
  box-sizing: border-box;
  margin: 0;
  padding: 4rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0;
  box-shadow: none;
}
/* Center content inside white-section */
.white-section-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: min(85%, 1300px);
  height: 100%;
}
/* (Old centered "OUR DIVISIONS" h2 rule removed — the divisions section now
   uses the eyebrow + .divisions-heading treatment below.) */
/* Programs section styles */
.global-impact-title {
  text-align: center;
  margin-left: 0;
  margin-bottom: clamp(2rem, 4vw, 6rem);
  padding-top: clamp(3rem, 8vw, 8rem) !important;
  padding-bottom: 0;
  padding-left: 1rem;
  padding-right: 1rem;
  font-family: var(--font-heading);
  color: var(--color-dark);
  font-weight: 400;
  font-size: clamp(2rem, 1.4rem + 2vw, 4.2rem);
  line-height: 1.1;
}
.global-impact-title img {
  margin-right: 2rem;
  /* Recolor the icon PNG to var(--color-contrast) */
  filter: brightness(0) saturate(100%) invert(48%) sepia(11%) saturate(1042%) hue-rotate(280deg) brightness(91%) contrast(82%);
}
/* .programs-title sizing handled by fluid clamp() on .white-section-content h2 and .global-impact-title */

/* Our Divisions — typographic list (eyebrow + heading + rows with arrows) */
.divisions-header {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}
.divisions-eyebrow {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: clamp(0.8rem, 0.7rem + 0.3vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0 0 0.75rem;
}
.divisions-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 1.4rem + 2vw, 4.2rem);
  font-weight: 400;
  color: var(--color-dark);
  margin: 0;
  line-height: 1.05;
  text-align: left;
}
.divisions-list {
  width: 100%;
  max-width: 1100px;
  margin: clamp(2rem, 4vw, 3.5rem) auto 0;
  border-top: 1px solid rgba(var(--color-dark-rgb), 0.15);
}
.division-row {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(1.5rem, 3vw, 2.25rem) 0.5rem;
  border-bottom: 1px solid rgba(var(--color-dark-rgb), 0.15);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}
.division-row:hover {
  background: rgba(var(--color-dark-rgb), 0.03);
}
.division-row.disabled {
  pointer-events: none;
}
.division-icon {
  flex: 0 0 auto;
  width: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.division-icon img {
  max-height: 3.5rem;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0;
}
.division-body {
  flex: 1 1 auto;
  min-width: 0;
}
.division-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.6rem);
  font-weight: 400;
  color: var(--color-dark);
  line-height: 1.1;
  margin: 0;
}
.division-desc {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: clamp(0.95rem, 0.85rem + 0.4vw, 1.25rem);
  color: rgba(var(--color-dark-rgb), 0.72);
  margin: 0.4rem 0 0;
  line-height: 1.5;
}
.division-desc b {
  color: var(--color-dark);
  font-weight: 700;
}
.division-arrow {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(var(--color-dark-rgb), 0.35);
  color: var(--color-dark);
  font-size: 1.25rem;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.division-row:hover .division-arrow {
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: var(--color-text-light);
  transform: translateX(2px);
}
@media (max-width: 600px) {
  .division-icon { width: 2.75rem; }
  .division-icon img { max-height: 2.5rem; }
  .division-arrow { width: 2.5rem; height: 2.5rem; font-size: 1.1rem; }
  .division-row { gap: 1rem; }
}


@media (max-width: 600px) {
  .lomdei-logo, .landing-logo {
    width: 90vw;
    max-width: 90vw;
    margin-bottom: 1rem;
  }
  /* .programs-grid auto-fit handles column reflow automatically */
}


.landing-logo {
  width: 35vw;
  max-width: 35%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  display: block;
}


body {
  min-height: 100vh;
  min-width: 100vw;
  margin: 0;
  padding: 0;
  background: var(--color-bg);
  font-family: 'Montserrat', Arial, sans-serif;
  z-index: 0;
}
html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Fluid root font-size: scales smoothly from 11.2px on phones to 16px on desktops
   instead of stepping at 1150 / 1350. */
html {
  font-size: clamp(11.2px, 6px + 0.65vw, 16px);
}

/* Prevent extreme crushing on tiny viewports */
body {
  min-width: 320px;
}

/* Colors, gradients, shadows, and radii live in css/tokens.css — the single
   source of truth (loaded before this file on every page). Do not redefine
   --color-* here. */

*,
*::before,
*::after {
  box-sizing: inherit;
}


.title-test {
font-family: Montserrat, Arial, sans-serif;
font-size: 3.5rem;
font-weight: 700;
color: var(--color-text-light);
letter-spacing: 0.05em;
margin: 0px 0px 1.5rem;
line-height: 1.3;
}

/* ── Mobile typography bump (≤600px) ───────────────────────────────────
   Placed at the END of the file so it overrides the fluid clamp() base
   rules above (equal specificity → later wins). Section headers → 3rem;
   body/regular copy → ~16px (root font is ~11.2px on phones, so 1.45rem
   ≈ 16px). Font sizes only — spacing is left untouched so the whitespace
   fixes aren't undone. */
@media (max-width: 600px) {
  .section-title,
  .divisions-heading,
  .transparent-section h2#titleDollars,
  .global-impact-title {
    font-size: 3rem;
  }
  .division-desc,
  .grant-box .grant-description,
  .testimonial-text,
  .impact-tagline,
  .network-row-name,
  .network-row-count,
  .network-subtitle,
  .network-viewall {
    font-size: 1.45rem;
  }
}

/* ── Spotlight CTA ─────────────────────────────────────────────────────
   Full-bleed navy band with a centered rounded heading + two pill buttons
   (homepage "Is your school not on the list yet?"). Scoped to this one CTA;
   the grants "Not sure which funding applies?" banner keeps .cta-banner. */
.cta-spotlight {
  width: 100%;
  margin: clamp(2rem, 5vw, 4rem) 0 0;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 6vw, 5rem);
  background: var(--color-dark);
  color: var(--color-text-light);
  box-sizing: border-box;
  text-align: center;
}
.cta-spotlight-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.5rem);
}
.cta-spotlight-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 1.4rem + 3vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
  color: var(--color-text-light);
}
.cta-spotlight-subtitle {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: clamp(1rem, 0.85rem + 0.5vw, 1.25rem);
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.7);
}
.cta-spotlight-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: clamp(0.5rem, 1.5vw, 1rem);
}
.cta-spotlight-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85em 1.6em;
  border-radius: var(--radius-card);
  border: 1px solid transparent;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.cta-spotlight-btn--solid {
  background: var(--color-white);
  color: var(--color-dark);
  border-color: var(--color-white);
}
.cta-spotlight-btn--solid:hover {
  background: rgba(255, 255, 255, 0.88);
  transform: translateY(-2px);
}
.cta-spotlight-btn--outline {
  background: transparent;
  color: var(--color-text-light);
  border-color: rgba(255, 255, 255, 0.5);
}
.cta-spotlight-btn--outline:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}