: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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(24px, 4vw, 72px);
  min-height: 78px;
  padding: 12px clamp(24px, 5vw, 92px);
  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;
  flex: 0 0 auto;
  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;
  justify-content: flex-end;
  gap: 8px;
  flex: 1 1 auto;
  font-size: 0.92rem;
  font-weight: 700;
}

.main-nav a {
  padding: 10px 12px;
  color: #223247;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 8px;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--blue);
  background: #f3f7ff;
  border-color: var(--line);
}

.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 {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: start;
  gap: clamp(28px, 5vw, 76px);
  min-height: calc(100vh - 78px);
  padding: clamp(42px, 7vw, 96px) clamp(18px, 5vw, 72px) clamp(30px, 5vw, 72px);
  background: #f8fbff;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: 690px;
  padding-top: clamp(28px, 6vw, 86px);
}

.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-art {
  overflow: visible;
  align-self: start;
  margin-top: clamp(-34px, -2vw, -12px);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hero-art img {
  width: 100%;
  height: min(54vw, 620px);
  object-fit: contain;
  object-position: center top;
  background: transparent;
  mix-blend-mode: multiply;
}

.link-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--blue);
}

.link-strip a {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  color: #fff;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.link-strip a:hover,
.link-strip a:focus-visible {
  background: var(--green);
}

.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 {
  background: #fff;
}

.resource-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.resource-copy {
  display: grid;
  gap: 14px;
}

.resource-copy .button {
  justify-self: start;
  margin-top: 6px;
}

.lesson-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.lesson-gallery img {
  width: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
  object-position: center right;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.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-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;
}

.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;
}

@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,
  .resource-layout,
  .involved,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-art img {
    height: auto;
    max-height: 560px;
  }
}

@media (max-width: 760px) {
  .brand span {
    max-width: 155px;
    font-size: 0.92rem;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .link-strip,
  .info-grid,
  .belief-grid,
  .mission-grid,
  .program-list,
  .support-grid,
  .lesson-gallery {
    grid-template-columns: 1fr;
  }

  .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;
  }
}
