:root {
  --ink: #102033;
  --muted: #5d6b7c;
  --line: #dce4ee;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --blue: #243f98;
  --green: #24aa50;
  --yellow: #f4bf38;
  --red: #d82922;
  --teal: #24b7aa;
  --shadow: 0 18px 45px rgba(16, 32, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 78px;
  padding: 12px clamp(18px, 4vw, 60px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand span {
  max-width: 210px;
  line-height: 1.1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.92rem;
  font-weight: 700;
}

.main-nav a {
  padding: 10px 0;
  color: #223247;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--blue);
  border-color: var(--green);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
}

/* ── Hero ── */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  padding: clamp(24px, 3vw, 44px) clamp(18px, 5vw, 72px);
  background: #f8fbff;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(2.5rem, 6vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-copy p:not(.eyebrow) {
  max-width: 620px;
  color: #3d4e63;
  font-size: clamp(1.04rem, 1.6vw, 1.28rem);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 2px solid var(--blue);
  border-radius: 8px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--blue);
}

.button.secondary {
  color: var(--blue);
  background: #fff;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

/* ── Hero Slideshow ── */
.hero-slideshow {
  position: relative;
  height: min(54vw, 580px);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
  overflow: visible;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
}

.hero-slide-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
  z-index: 10;
}

.hero-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}

.hero-dot.active {
  background: var(--blue);
}

/* ── Programs Strip ── */
.programs-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.prog-card {
  display: grid;
  grid-template-columns: 52px 1fr 20px;
  align-items: center;
  gap: 14px;
  padding: 24px 20px;
  text-decoration: none;
  color: var(--ink);
  border-right: 1px solid var(--line);
  transition: background 0.22s, color 0.22s;
}

.prog-card:last-child {
  border-right: none;
}

.prog-card:hover {
  background: var(--blue);
  color: #fff;
}

.prog-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--c, var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  transition: background 0.22s;
}

.prog-card:hover .prog-icon {
  background: rgba(255, 255, 255, 0.18) !important;
}

.prog-text h3 {
  margin: 0 0 3px;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.2;
}

.prog-text p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.35;
}

.prog-card:hover .prog-text p {
  color: rgba(255, 255, 255, 0.75);
}

.prog-arrow {
  font-size: 1.1rem;
  opacity: 0;
  transition: opacity 0.2s;
}

.prog-card:hover .prog-arrow {
  opacity: 1;
}

/* ── Sections ── */
.section {
  padding: clamp(58px, 8vw, 110px) clamp(18px, 5vw, 72px);
}

.section-light {
  background: var(--soft);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 34px;
}

.section-heading.wide {
  max-width: 980px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.12rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  gap: 28px;
  align-items: stretch;
}

.copy-block {
  padding: clamp(24px, 4vw, 42px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.copy-block p {
  color: #3f4e61;
  font-size: 1.05rem;
}

.copy-block p:last-child,
article p:last-child {
  margin-bottom: 0;
}

.feature-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 28px;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
}

.feature-panel img {
  width: 160px;
  padding: 12px;
  background: #fff;
  border-radius: 8px;
}

.feature-panel p {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
}

.info-grid,
.belief-grid,
.mission-grid,
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.info-grid {
  margin-top: 22px;
}

.info-grid article,
.belief-grid article,
.program-list article,
.support-grid article,
.resource-copy article {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.info-grid h3,
.program-list h3,
.resource-copy h3 {
  color: var(--blue);
}

.beliefs {
  background: #fff;
}

.belief-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.belief-grid article {
  border-top: 5px solid var(--green);
}

.mission-section {
  color: #fff;
  background: #13294b;
}

.mission-section .eyebrow,
.mission-section .section-heading h2 {
  color: #fff;
}

.mission-grid article {
  min-height: 250px;
  padding: 28px;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
}

.mission-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
  font-weight: 900;
}

.program-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.program-list article:first-child {
  border-left: 6px solid var(--green);
}

.program-list article:nth-child(2) {
  border-left: 6px solid var(--blue);
}

.program-list article:nth-child(3) {
  border-left: 6px solid var(--yellow);
}

.program-list article:nth-child(4) {
  border-left: 6px solid var(--red);
}

.program-list article:nth-child(5) {
  border-left: 6px solid var(--teal);
}

/* ── Resources ── */
.resources {
  background: #fff;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 52px;
}

.audience-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 24px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--accent, var(--blue));
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  transition: box-shadow 0.22s, transform 0.22s;
}

.audience-card:hover {
  box-shadow: 0 12px 36px rgba(16, 32, 51, 0.13);
  transform: translateY(-4px);
}

.audience-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--bg, var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
}

.audience-body {
  flex: 1;
}

.audience-body h3 {
  color: var(--accent, var(--blue));
  font-size: 1rem;
  margin-bottom: 8px;
}

.audience-body p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
}

.audience-cta {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent, var(--blue));
  margin-top: auto;
}

.lessons-section {
  border-top: 1px solid var(--line);
  padding-top: 36px;
}

.lessons-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}

.lessons-label {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Lesson Carousel ── */
.lesson-carousel {
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  align-items: center;
  gap: 8px;
}

.lesson-viewport {
  overflow: hidden;
  border-radius: 8px;
}

.lesson-track {
  display: flex;
  gap: 14px;
  transition: transform 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.lesson-item {
  flex: 0 0 calc(33.333% - 10px);
}

.lesson-item img {
  width: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
}

.lesson-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  background: #fff;
  color: var(--blue);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
  flex-shrink: 0;
}

.lesson-btn:hover:not(:disabled) {
  background: var(--blue);
  color: #fff;
}

.lesson-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* ── Get Involved ── */
.involved {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(26px, 5vw, 60px);
  align-items: center;
  background: var(--soft);
}

.involved-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.involved-image img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center;
}

.support-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.support-grid article:last-child {
  grid-column: 1 / -1;
}

/* ── Contact ── */
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: 24px;
  align-items: stretch;
  color: #fff;
  background: #102033;
}

.contact-card,
.contact-note {
  padding: clamp(26px, 4vw, 46px);
  background: #172d48;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.contact-card .eyebrow {
  color: var(--yellow);
}

.contact-card ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 1.08rem;
}

.contact-card a,
.contact-note a:not(.button) {
  color: #fff;
}

.contact-note {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-note p {
  color: #cbd7e5;
}

/* ── Footer ── */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 28px clamp(18px, 5vw, 72px);
  color: #fff;
  background: #071422;
  text-align: center;
}

.site-footer img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.site-footer p {
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 1040px) {
  .site-header {
    align-items: center;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 77px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 18px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 28px rgba(16, 32, 51, 0.08);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 6px;
  }

  .hero,
  .two-column,
  .involved,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-slideshow {
    height: min(80vw, 480px);
  }

  .programs-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .prog-card:nth-child(2) {
    border-right: none;
  }

  .prog-card:nth-child(3),
  .prog-card:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .prog-card:nth-child(4) {
    border-right: none;
  }
}

@media (max-width: 760px) {
  .brand span {
    max-width: 155px;
    font-size: 0.92rem;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .info-grid,
  .belief-grid,
  .mission-grid,
  .program-list,
  .support-grid {
    grid-template-columns: 1fr;
  }

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

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

  .prog-card {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .prog-card:last-child {
    border-bottom: none;
  }

  .support-grid article:last-child {
    grid-column: auto;
  }

  .button {
    width: 100%;
  }

  .resource-copy .button {
    justify-self: stretch;
  }

  .hero-actions {
    width: 100%;
  }

  .involved-image img {
    min-height: 260px;
  }

  .lesson-carousel {
    grid-template-columns: 32px 1fr 32px;
  }

  .lesson-item {
    flex: 0 0 100%;
  }
}
