:root {
  --navy: #10233d;
  --teal: #18a7a0;
  --raspberry: #d83f72;
  --yellow: #f3c34a;
  --aqua: #e9f8f6;
  --white: #ffffff;
  --ink-soft: #43556c;
  --line: #cce9e6;
  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --shadow: 0 24px 70px rgba(16, 35, 61, 0.14);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  color: var(--navy);
  background: var(--white);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  margin-bottom: 1.6rem;
  font-size: clamp(3rem, 3.45vw, 4rem);
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 4vw, 4.1rem);
  letter-spacing: -0.045em;
}

h3 {
  font-size: 1.35rem;
}

.shell {
  width: min(100% - 3rem, 1220px);
  margin-inline: auto;
}

.section {
  padding-block: clamp(5rem, 9vw, 8.5rem);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--navy);
  border-radius: 0.4rem;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.eyebrow {
  margin-bottom: 0.8rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.centered {
  text-align: center;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(16, 35, 61, 0.08);
  box-shadow: 0 10px 34px rgba(16, 35, 61, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  gap: 2rem;
}

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

.brand-primary {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-secondary {
  margin-top: 0.42rem;
  color: var(--teal);
  font-family: var(--serif);
  font-size: 0.98rem;
  font-weight: 700;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.primary-nav > a:not(.button) {
  position: relative;
  font-size: 0.91rem;
  font-weight: 700;
  text-decoration: none;
}

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

.primary-nav > a:not(.button):hover::after,
.primary-nav > a:not(.button):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--navy);
  transition: transform 180ms ease, opacity 180ms ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.65rem;
  color: var(--white);
  background: var(--raspberry);
  border: 2px solid var(--raspberry);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(216, 63, 114, 0.18);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover {
  background: #bd2f61;
  border-color: #bd2f61;
  box-shadow: 0 14px 28px rgba(216, 63, 114, 0.23);
  transform: translateY(-2px);
}

.button-small {
  min-height: 44px;
  padding: 0.7rem 1.25rem;
  font-size: 0.88rem;
}

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

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

.hero {
  position: relative;
  min-height: 750px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  align-items: center;
  min-height: 710px;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: 4rem 6rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-block: 2rem;
}

.hero-intro {
  max-width: 37rem;
  margin-bottom: 1.9rem;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
}

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

.hand-note {
  position: absolute;
  right: 1.5rem;
  bottom: -5rem;
  margin: 0;
  color: var(--teal);
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: 1.2rem;
  line-height: 1.3;
  text-align: center;
  transform: rotate(-6deg);
}

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 610px;
}

.hero-arch {
  position: absolute;
  top: 0;
  right: min(-8vw, -3rem);
  bottom: 0;
  left: 0;
  overflow: hidden;
  border-radius: 19rem 0 2rem 2rem;
  box-shadow: var(--shadow);
}

.hero-arch::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

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

.hero-flourish {
  position: absolute;
  z-index: -1;
  bottom: 1.25rem;
  left: -3rem;
  width: 52%;
  min-width: 520px;
  height: 110px;
  fill: none;
  stroke: var(--teal);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hero-flourish .leaf {
  fill: var(--aqua);
}

.programs {
  position: relative;
  z-index: 1;
  background: #fcfefe;
}

.programs h2,
.involvement h2,
.announcement h2 {
  text-align: center;
}

.section-lede {
  max-width: 48rem;
  margin: 0 auto 4.5rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
  text-align: center;
}

.program-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
}

.path-line {
  position: absolute;
  z-index: 0;
  top: 7px;
  left: 0;
  width: 100%;
  height: 120px;
  fill: none;
  stroke: var(--teal);
  stroke-linecap: round;
  stroke-width: 2;
}

.program-card {
  position: relative;
  z-index: 1;
  text-align: center;
}

.program-card:nth-of-type(even) {
  margin-top: 1.6rem;
}

.icon-disc {
  display: grid;
  width: 92px;
  height: 92px;
  margin: 0 auto 1.25rem;
  place-items: center;
  border: 7px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(16, 35, 61, 0.14);
}

.icon-disc svg {
  width: 54px;
  height: 54px;
  fill: none;
  stroke: var(--white);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.disc-teal {
  background: var(--teal);
}

.disc-navy {
  background: var(--navy);
}

.disc-raspberry {
  background: var(--raspberry);
}

.program-card h3 {
  max-width: 11rem;
  margin: 0 auto 0.7rem;
}

.program-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.mission {
  position: relative;
  overflow: hidden;
  background: var(--aqua);
}

.mission::after {
  position: absolute;
  right: -4rem;
  bottom: -9rem;
  width: 20rem;
  height: 20rem;
  border: 2px solid var(--teal);
  border-radius: 50%;
  content: "";
}

.mission-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
}

.mission-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 8px solid rgba(255, 255, 255, 0.75);
  border-radius: 14rem 14rem 1.5rem 1.5rem;
  box-shadow: 0 22px 54px rgba(16, 35, 61, 0.14);
}

.mission-image::after {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 4.5rem;
  height: 4.5rem;
  background: var(--yellow);
  border: 8px solid var(--white);
  border-radius: 50%;
  content: "";
}

.mission-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
}

.mission-copy {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}

.mission-copy > p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: clamp(1.06rem, 1.6vw, 1.25rem);
}

.values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.values span {
  padding: 0.55rem 0.9rem;
  background: var(--white);
  border: 1px solid #b8e5e1;
  border-radius: 999px;
  color: var(--navy);
  font-size: 0.87rem;
  font-weight: 700;
}

.announcement {
  position: relative;
  overflow: hidden;
  padding-block: clamp(5rem, 8vw, 7.5rem);
  background: var(--white);
}

.announcement::before,
.announcement::after {
  position: absolute;
  width: 26rem;
  height: 10rem;
  border: 2px solid var(--teal);
  border-radius: 50%;
  content: "";
}

.announcement::before {
  bottom: -7rem;
  left: -7rem;
  transform: rotate(8deg);
}

.announcement::after {
  top: -7rem;
  right: -7rem;
  transform: rotate(-8deg);
}

.announcement-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 800px) auto;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  text-align: center;
}

.announcement-inner > div:last-child {
  grid-column: 2;
}

.announcement-inner p:not(.eyebrow) {
  margin-bottom: 1.8rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.announcement-mark {
  grid-column: 3;
  grid-row: 1;
  width: 90px;
  color: var(--teal);
}

.announcement-mark svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.involvement {
  position: relative;
  background: #fcfefe;
}

.involvement-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 4rem;
}

.involvement-grid article {
  padding: 0 2rem;
  text-align: center;
}

.involvement-grid article + article {
  border-left: 1px solid var(--line);
}

.line-icon {
  display: grid;
  width: 92px;
  height: 92px;
  margin: 0 auto 1.4rem;
  place-items: center;
  color: var(--teal);
  background: var(--aqua);
  border-radius: 42% 58% 52% 48%;
}

.involvement-grid article:nth-child(2) .line-icon {
  color: var(--navy);
  background: #eef2f7;
}

.involvement-grid article:nth-child(3) .line-icon {
  color: var(--raspberry);
  background: #fcebf1;
}

.involvement-grid article:nth-child(4) .line-icon {
  color: var(--navy);
  background: #fff8e5;
}

.line-icon svg {
  width: 62px;
  height: 62px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.25;
}

.involvement-grid h3 {
  margin-bottom: 0.7rem;
}

.involvement-grid p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.involvement .shell {
  position: relative;
  padding-bottom: 4rem;
}

.hand-note-right {
  right: 2rem;
  bottom: 0;
}

.contact {
  position: relative;
  min-height: 880px;
  overflow: hidden;
}

.contact-landscape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.contact-wash {
  position: absolute;
  inset: 0;
  background: rgba(233, 248, 246, 0.3);
}

.contact-inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 880px;
  padding-block: 4rem;
}

.contact-card {
  width: min(100%, 760px);
  padding: clamp(2rem, 4vw, 3.5rem);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
}

.contact-card > p:not(.eyebrow) {
  color: var(--ink-soft);
}

.contact-form {
  position: relative;
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.38rem;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 700;
}

.form-field em {
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 500;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.72rem 0.85rem;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #9bcfca;
  border-radius: 0.65rem;
  font: 500 1rem/1.4 var(--sans);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-field textarea {
  min-height: 132px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(24, 167, 160, 0.15);
  outline: none;
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.45;
}

.form-status {
  padding: 0.8rem 0.95rem;
  color: var(--navy);
  background: var(--aqua);
  border-left: 4px solid var(--teal);
  border-radius: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-status.is-error {
  background: #fff0f4;
  border-left-color: var(--raspberry);
}

.contact-submit {
  width: fit-content;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 1rem;
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.site-footer {
  padding-block: 2.5rem;
  color: var(--white);
  background: var(--navy);
}

.footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.footer-inner p {
  margin-bottom: 0.4rem;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-brand span {
  color: var(--teal);
}

.legal {
  max-width: 54rem;
  color: #b9c8d8;
  font-size: 0.77rem;
}

.back-to-top {
  flex: 0 0 auto;
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration-color: var(--teal);
  text-underline-offset: 0.25rem;
}

@media (max-width: 1050px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
  }

  .program-path {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 3rem;
  }

  .path-line {
    display: none;
  }

  .program-card:nth-of-type(even) {
    margin-top: 0;
  }

  .involvement-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem 0;
  }

  .involvement-grid article:nth-child(3) {
    border-left: 0;
  }
}

@media (max-width: 820px) {
  .shell {
    width: min(100% - 2rem, 680px);
  }

  .header-inner {
    min-height: 76px;
  }

  .brand-primary {
    font-size: 1.75rem;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(4) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    z-index: 90;
    top: 76px;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    align-content: start;
    gap: 0;
    padding: 2rem;
    background: var(--white);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-1rem);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav > a:not(.button) {
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: 1.35rem;
  }

  .primary-nav .button {
    margin-top: 1.5rem;
  }

  .hero {
    min-height: 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-block: 4rem 5rem;
  }

  .hero-copy {
    padding-block: 0;
  }

  h1 {
    font-size: clamp(3.1rem, 11vw, 4.9rem);
  }

  .hero-visual {
    min-height: 540px;
  }

  .hero-arch {
    right: -4rem;
    left: 0;
    border-radius: 13rem 0 1.5rem 1.5rem;
  }

  .hand-note {
    display: none;
  }

  .hero-flourish {
    display: none;
  }

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

  .mission-image {
    width: min(100%, 460px);
    margin-inline: auto;
  }

  .announcement-inner {
    display: block;
  }

  .announcement-mark {
    width: 74px;
    margin: 2rem auto 0;
  }

}

@media (max-width: 620px) {
  .section {
    padding-block: 4.5rem;
  }

  h1 {
    margin-bottom: 1.25rem;
    font-size: clamp(2.75rem, 12.5vw, 4rem);
  }

  h2 {
    font-size: clamp(2.15rem, 10vw, 3.2rem);
  }

  .hero-grid {
    padding-top: 3rem;
  }

  .button-row {
    display: grid;
  }

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

  .hero-visual {
    min-height: 430px;
  }

  .hero-arch {
    right: -2rem;
    border-radius: 10rem 0 1rem 1rem;
  }

  .program-path,
  .involvement-grid {
    grid-template-columns: 1fr;
  }

  .program-path {
    gap: 3.5rem;
  }

  .program-card {
    max-width: 22rem;
    margin-inline: auto;
  }

  .involvement-grid {
    gap: 0;
  }

  .involvement-grid article {
    padding: 2.5rem 0;
  }

  .involvement-grid article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .contact {
    min-height: 1060px;
  }

  .contact-inner {
    align-items: center;
    min-height: 1060px;
  }

  .contact-card {
    padding: 1.6rem;
    border-radius: 1rem;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .form-field-full {
    grid-column: auto;
  }

  .contact-submit {
    width: 100%;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
