:root {
  --navy: #06194a;
  --navy-deep: #04133d;
  --teal: #087b91;
  --cyan: #49bdd2;
  --coral: #ff735f;
  --pale: #eef9fd;
  --white: #ffffff;
  --ink: #0b1b45;
  --muted: #45516d;
  --line: #d8e9ef;
  --max: 1440px;
  --gutter: clamp(1.25rem, 4.8vw, 5rem);
  --radius: 0.3rem;
  --shadow: 0 20px 55px rgba(6, 25, 74, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--navy);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
  padding: 0.9rem var(--gutter);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(6, 25, 74, 0.1);
  transition: min-height 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  min-height: 78px;
  box-shadow: 0 8px 28px rgba(6, 25, 74, 0.08);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
}

.brand-mark {
  color: var(--navy);
  font-size: clamp(2rem, 3.2vw, 3.15rem);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-name {
  margin-top: 0.35rem;
  font-size: clamp(0.65rem, 1vw, 0.87rem);
  letter-spacing: -0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 3.2vw, 3.5rem);
}

.site-nav a {
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav > a:not(.button) {
  position: relative;
}

.site-nav > a:not(.button)::after {
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.site-nav > a:hover::after,
.site-nav > a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid var(--line);
  background: var(--white);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0.85rem 1.8rem;
  color: var(--white);
  background: var(--navy);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  box-shadow: 0 8px 18px rgba(6, 25, 74, 0.13);
  font-size: 1rem;
  font-weight: 750;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  background: #0b2a70;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(6, 25, 74, 0.2);
}

.button-small {
  min-height: 52px;
  padding-inline: 2rem;
}

.button-outline {
  color: var(--teal);
  background: var(--white);
  border-color: var(--teal);
  box-shadow: none;
}

.button-outline:hover {
  color: var(--white);
  background: var(--teal);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

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

h1,
h2,
h3 {
  line-height: 1.08;
}

h1 {
  max-width: 15ch;
  margin-bottom: 1.7rem;
  font-size: clamp(3rem, 4.3vw, 5rem);
  font-weight: 540;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 1.35rem;
  font-size: clamp(2.5rem, 4.4vw, 4.8rem);
  font-weight: 560;
  letter-spacing: -0.045em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

em {
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.section {
  padding: clamp(5.5rem, 9vw, 9rem) var(--gutter);
}

main section {
  scroll-margin-top: 105px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.1fr);
  height: min(740px, calc(100vh - 210px));
  min-height: 680px;
  overflow: hidden;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4.5rem, 8vw, 8rem) clamp(2rem, 5vw, 5.5rem) clamp(6rem, 9vw, 9rem) var(--gutter);
}

.hero-copy > p {
  max-width: 38rem;
  margin-bottom: 2.25rem;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.55vw, 1.4rem);
  line-height: 1.7;
}

.hero-media {
  min-height: 100%;
  margin: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.path-line {
  position: absolute;
  pointer-events: none;
}

.path-line-hero {
  left: -5%;
  bottom: 5.5%;
  width: 68%;
  height: 70px;
  border-top: 3px solid var(--cyan);
  border-radius: 50%;
  transform: rotate(2deg);
}

.path-line span,
.contact-path span {
  position: absolute;
  width: 13px;
  height: 13px;
  background: var(--cyan);
  border-radius: 50%;
}

.path-line-hero span {
  right: 18%;
  top: -8px;
}

.mission {
  padding-top: 4rem;
  background: linear-gradient(180deg, #f5fbfd 0%, var(--white) 42%);
}

.section-heading {
  max-width: var(--max);
  margin-inline: auto;
}

.mission-heading {
  text-align: center;
}

.mission-heading h2 {
  max-width: 40ch;
  margin-inline: auto;
  font-size: clamp(2.3rem, 3.1vw, 3rem);
}

.mission-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: clamp(2rem, 5vw, 5rem);
  max-width: var(--max);
  margin: 4rem auto 0;
}

.mission-copy,
.vision-copy {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 1.3rem;
}

.mission-copy {
  align-self: center;
}

.mission-copy h3,
.vision-copy h3 {
  margin: 0.25rem 0 1rem;
}

.statement {
  font-size: clamp(1.25rem, 1.85vw, 1.65rem);
  line-height: 1.5;
}

.vision-copy {
  grid-column: 1 / -1;
  max-width: 760px;
  margin: 0 0 0 auto;
  padding: 2.6rem 3rem;
  background: var(--pale);
}

.vision-copy p {
  margin-bottom: 0;
  font-size: 1.17rem;
}

.icon-disc,
.program-icon,
.step-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--teal);
  background: #e8f7fb;
  border-radius: 50%;
}

.icon-disc {
  width: 68px;
  height: 68px;
}

.icon-disc svg,
.program-icon svg,
.step-icon svg {
  width: 62%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.image-frame {
  margin: 0;
  overflow: hidden;
  border-radius: 100px 0 100px 0;
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mission-media {
  height: 480px;
}

.programs {
  padding-top: 5rem;
  overflow: hidden;
  background: var(--white);
}

.programs-intro {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  max-width: var(--max);
  margin-inline: auto;
}

.programs-intro > div > p,
.approach-heading > p,
.partners-copy > p,
.contact > div > p {
  color: var(--muted);
  font-size: clamp(1.08rem, 1.45vw, 1.3rem);
}

.programs-media {
  height: 380px;
  border-radius: 0 0 0 120px;
}

.program-list {
  max-width: var(--max);
  margin: 4.5rem auto 0;
  background: var(--pale);
  border-bottom: 1px solid var(--line);
}

.program-row {
  display: grid;
  grid-template-columns: 66px minmax(230px, 0.72fr) minmax(280px, 1.3fr);
  gap: clamp(1.2rem, 2.7vw, 2.6rem);
  align-items: center;
  min-height: 126px;
  padding: 1.25rem clamp(1.25rem, 3vw, 3rem);
  border-top: 1px solid rgba(255, 255, 255, 0.95);
}

.program-icon {
  width: 58px;
  height: 58px;
  background: var(--white);
}

.program-row h3,
.program-row p {
  margin: 0;
}

.program-row p {
  padding-left: clamp(1rem, 2.5vw, 2.4rem);
  border-left: 1px solid var(--cyan);
  color: var(--muted);
  font-size: 1.08rem;
}

.approach {
  padding-top: 5rem;
  background: var(--white);
}

.approach-heading {
  max-width: var(--max);
  margin-inline: auto;
}

.approach-heading h2 {
  max-width: 11ch;
}

.approach-heading > p {
  max-width: 41rem;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 3vw, 3rem);
  max-width: var(--max);
  margin: 5rem auto 0;
  padding: 0;
  list-style: none;
}

.steps::before {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 74px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--coral) 35%, var(--cyan) 70%, var(--coral));
}

.step {
  position: relative;
  text-align: center;
}

.step-number {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--teal);
  font-weight: 800;
}

.step-icon {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 0 auto 1.15rem;
  border: 7px solid var(--white);
}

.step h3 {
  margin-bottom: 0.5rem;
}

.step p {
  max-width: 14rem;
  margin-inline: auto;
  color: var(--muted);
}

.partners {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
  min-height: 650px;
  background: var(--pale);
}

.partners-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(5rem, 8vw, 8rem) clamp(2rem, 6vw, 6rem) clamp(5rem, 8vw, 8rem) var(--gutter);
}

.partners-copy h2 {
  max-width: 12ch;
}

.partners-copy .button {
  align-self: flex-start;
  margin: 1rem 0 2.4rem;
}

.partners-copy small {
  padding-left: 1rem;
  color: var(--muted);
  border-left: 2px solid var(--coral);
  font-size: 0.9rem;
}

.partners-media {
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 120px 0 0 0;
}

.partners-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
  max-width: var(--max);
  min-height: 560px;
  margin-inline: auto;
}

.contact h2 {
  max-width: 15ch;
}

.contact-path {
  position: relative;
  height: 190px;
  border-top: 3px solid var(--cyan);
  border-radius: 50%;
}

.contact-path span {
  left: 6%;
  top: -8px;
  background: var(--coral);
}

.contact-path svg {
  position: absolute;
  right: 12%;
  top: -48px;
  width: 118px;
  height: 118px;
  padding: 25px;
  color: var(--teal);
  background: var(--pale);
  border-radius: 50%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer {
  padding: clamp(4rem, 7vw, 7rem) var(--gutter) 2.5rem;
  color: var(--white);
  background: var(--navy-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.72fr);
  gap: clamp(2rem, 5vw, 5rem);
  max-width: var(--max);
  margin-inline: auto;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 1.1rem;
  line-height: 1.45;
}

.footer-mark {
  position: relative;
  margin-bottom: 1.7rem;
  font-size: clamp(2.7rem, 4vw, 4rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
}

.footer-mark::after {
  position: absolute;
  left: 0;
  bottom: -0.7rem;
  width: 74px;
  height: 6px;
  content: "";
  background: var(--cyan);
}

.footer-grid h2 {
  margin-bottom: 1.25rem;
  font-size: 1.2rem;
  letter-spacing: 0;
}

.footer-grid a {
  display: block;
  width: max-content;
  margin-bottom: 0.75rem;
  color: #dbe4ff;
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  max-width: var(--max);
  margin: 4rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(73, 189, 210, 0.35);
  color: #c8d2ed;
  font-size: 0.88rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom p:last-child {
  text-align: right;
}

.footer-bottom a {
  color: var(--white);
}

.legal-page {
  max-width: 900px;
  min-height: 62vh;
  margin-inline: auto;
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
}

.legal-page h1 {
  max-width: none;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
}

.legal-page h2 {
  margin-top: 2.5rem;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  font-size: 1.08rem;
}

.legal-note {
  padding: 1.25rem 1.4rem;
  background: var(--pale);
  border-left: 4px solid var(--teal);
}

@media (max-width: 1020px) {
  .site-header {
    min-height: 82px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    inset: 100% 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--gutter) 1.5rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 28px rgba(6, 25, 74, 0.11);
  }

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

  .site-nav a {
    padding: 0.85rem 0;
  }

  .site-nav .button {
    margin-top: 0.6rem;
    padding: 0.8rem 1.2rem;
  }

  .hero {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .hero-copy {
    min-height: 630px;
    padding-top: 5rem;
  }

  .hero-media {
    height: 560px;
  }

  .path-line-hero {
    bottom: 45%;
    width: 92%;
  }

  .mission-grid,
  .programs-intro,
  .partners,
  .contact {
    grid-template-columns: 1fr;
  }

  .vision-copy {
    grid-column: auto;
  }

  .programs-media,
  .mission-media {
    height: 430px;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 3.5rem;
  }

  .steps::before {
    display: none;
  }

  .partners-media {
    min-height: 540px;
    grid-row: 1;
    border-radius: 0;
  }

  .partners-copy {
    padding-right: var(--gutter);
  }

  .contact-path {
    display: none;
  }
}

@media (max-width: 720px) {
  .brand-name {
    max-width: 215px;
  }

  h1 {
    font-size: clamp(2.75rem, 13vw, 4.5rem);
  }

  h2 {
    font-size: clamp(2.3rem, 10vw, 3.6rem);
  }

  .section {
    padding-block: 5rem;
  }

  .hero-copy {
    min-height: auto;
    padding: 4.5rem var(--gutter) 7rem;
  }

  .hero-copy > p {
    font-size: 1.05rem;
  }

  .hero-media {
    height: 440px;
  }

  .hero-media img {
    object-position: 52% center;
  }

  .path-line-hero {
    bottom: 40%;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button-row .button {
    width: 100%;
  }

  .mission-grid {
    margin-top: 2.5rem;
  }

  .mission {
    padding-top: 5rem;
  }

  .mission-copy,
  .vision-copy {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 0.8rem;
  }

  .icon-disc {
    width: 52px;
    height: 52px;
  }

  .mission-media,
  .programs-media {
    height: 300px;
    border-radius: 64px 0 64px 0;
  }

  .path-line-hero {
    display: none;
  }

  .vision-copy {
    padding: 1.6rem 1.25rem;
  }

  .programs-intro {
    gap: 2.5rem;
  }

  .program-list {
    margin-top: 2.8rem;
  }

  .program-row {
    grid-template-columns: 52px minmax(0, 1fr);
    min-height: auto;
    padding: 1.5rem 1rem;
  }

  .program-icon {
    width: 48px;
    height: 48px;
  }

  .program-row p {
    grid-column: 2;
    padding: 0;
    border: 0;
    font-size: 1rem;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 2.7rem;
  }

  .step {
    display: grid;
    grid-template-columns: 78px 1fr;
    column-gap: 1.2rem;
    text-align: left;
  }

  .step-number {
    grid-column: 1;
    text-align: center;
  }

  .step-icon {
    grid-column: 1;
    grid-row: 2 / 4;
    width: 72px;
    height: 72px;
    margin: 0;
    border-width: 4px;
  }

  .step h3,
  .step p {
    grid-column: 2;
    margin-inline: 0;
  }

  .partners-media {
    min-height: 350px;
  }

  .partners-copy {
    padding-block: 4.5rem;
  }

  .contact {
    min-height: auto;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom p:last-child {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
