@font-face {
  font-family: Outfit;
  src: url('/fonts/outfit.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #201731;
  --muted: #564d63;
  --purple: #5633ac;
  --purple-dark: #402385;
  --lavender: #f4efff;
  --lavender-deep: #e8ddfb;
  --line: #e7dfec;
  --yellow: #ffdf73;
  --cream: #fffcf6;
  --white: #fff;
  --display: Outfit, 'Trebuchet MS', sans-serif;
  --body: 'DM Sans', 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font: 400 1rem/1.6 var(--body); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); }
::selection { color: var(--ink); background: var(--yellow); }
:focus-visible { outline: 3px solid #9467dd; outline-offset: 4px; }
[hidden] { display: none !important; }

.container { width: min(100% - clamp(36px, 9vw, 144px), 1220px); margin-inline: auto; }
.section { padding-block: clamp(65px, 8.3vw, 120px); }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { flex: none; width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip-link {
  position: fixed;
  z-index: 2;
  inset: 10px auto auto 10px;
  padding: 8px 16px;
  border-radius: 7px;
  color: var(--white);
  background: var(--purple);
  transform: translateY(-140%);
}

.skip-link:focus { transform: translateY(0); }
.site-header { position: relative; z-index: 1; background: var(--white); border-bottom: 1px solid #eae2f0; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: clamp(16px, 3vw, 48px); }
.header-logo { grid-column: 1 / -1; justify-self: center; width: min(100%, 260px); margin-block: 14px 4px; }
.header-logo img { width: 100%; height: auto; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; width: fit-content; font: 750 1.7rem/.9 var(--display); letter-spacing: -.05em; }
.wordmark img { flex: none; }
.wordmark small { display: block; margin-top: 5px; font: 800 .55rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; }
.main-nav { display: flex; grid-column: 2; min-height: 64px; gap: clamp(14px, 2.45vw, 36px); align-items: center; font-size: .91rem; white-space: nowrap; font-weight: 650; }
.main-nav a, .footer-main nav a { transition: color .18s ease; }
.main-nav a:hover { color: var(--purple); }
.menu-toggle, .mobile-enrollment { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 9px;
  cursor: pointer;
  font-weight: 750;
  font-size: .94rem;
  line-height: 1.25;
  text-align: center;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.button:active { transform: translateY(2px); }
.button-header { justify-self: end; min-height: 43px; padding-inline: 15px; background: var(--ink); color: var(--white); font-size: .84rem; }
.button-header:hover, .button-primary:hover { background: var(--purple-dark); }
.button-primary { background: var(--purple); color: var(--white); }
.button-outline { border-color: #b6a4d5; color: var(--ink); }
.button-outline:hover { border-color: var(--purple); background: #ebe1fb; color: var(--purple-dark); }

.hero {
  overflow: hidden;
  background: radial-gradient(ellipse at 98% 13%, #e8dcfc 0%, transparent 49%), var(--lavender);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(32px, 5.2vw, 78px);
  min-height: 577px;
  padding-block: clamp(62px, 6vw, 91px);
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 19px;
  padding: 6px 12px;
  border: 1px solid #ded0f7;
  border-radius: 30px;
  color: var(--purple-dark);
  background: #ece2fb;
  font-weight: 800;
  font-size: .69rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero-label .icon { width: 12px; height: 12px; }
.hero h1 { font-size: clamp(3.3rem, 5.65vw, 5.45rem); font-weight: 760; line-height: .99; letter-spacing: -.067em; }
.hero h1 em { display: block; color: var(--purple); font-style: normal; }
.hero h1 span { position: relative; display: inline-block; }
.hero h1 span svg { position: absolute; left: 0; bottom: -.16em; width: 100%; height: .19em; fill: none; stroke: #e6a923; stroke-width: 3.5; stroke-linecap: round; }
.hero-description { max-width: 37ch; margin-top: 29px; color: var(--muted); font-size: clamp(1.03rem, 1.35vw, 1.2rem); }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 25px; }
.hero-visual { position: relative; isolation: isolate; }
.hero-visual::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -26px -35px -27px 45%;
  background: radial-gradient(#8864ba55 1px, transparent 1.4px) right top / 12px 12px;
  border-radius: 14px;
}

.hero-frame { overflow: hidden; aspect-ratio: 1.19; border: 8px solid var(--white); border-radius: 24px; background: var(--lavender-deep); box-shadow: 0 16px 40px #38236426; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 56%; }
.hero-stamp { position: absolute; right: -24px; top: -28px; width: clamp(76px, 9vw, 118px); transform: rotate(13deg); filter: drop-shadow(0 4px 7px #2a1d442b); }
.hero-stamp text { fill: var(--ink); font: 800 9px var(--body); letter-spacing: 1px; }
.hero-spark { position: absolute; left: -24px; bottom: -20px; width: clamp(35px, 4.4vw, 60px); color: var(--yellow); filter: drop-shadow(0 2px 2px #3b23662c); }

.values-band { background: var(--yellow); }
.values-inner { display: flex; align-items: center; justify-content: center; gap: clamp(9px, 5.7vw, 83px); min-height: 65px; }
.values-inner span { font: 770 clamp(.76rem, 1.65vw, 1.3rem)/1 var(--display); letter-spacing: .12em; text-transform: uppercase; }
.values-inner .icon { width: clamp(10px, 2vw, 20px); height: clamp(10px, 2vw, 20px); color: var(--purple); }

.eyebrow { margin-bottom: 12px; color: var(--purple); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ''; display: inline-block; width: 18px; height: 2px; margin: 0 8px 3px 0; background: currentColor; }
h2 { font-size: clamp(2.45rem, 5.3vw, 4.55rem); letter-spacing: -.057em; line-height: 1; font-weight: 730; text-wrap: balance; }
h3 { font-size: 1.4rem; letter-spacing: -.025em; line-height: 1.16; font-weight: 680; }
.section-intro { margin-top: 18px; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.17rem); }
.section-heading { max-width: 700px; margin-bottom: 34px; }
.section-heading .section-intro { max-width: 52ch; }

.pathways-inner, .enroll-inner { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: clamp(35px, 8vw, 115px); align-items: center; }
.about-inner { text-align: center; }
.about .section-intro { max-width: 60ch; margin-inline: auto; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--purple-dark); font-weight: 790; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.programs { background: #f7f2fc; border-block: 1px solid var(--line); }
.program-grid, .involve-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.program-card { padding: clamp(19px, 2.4vw, 32px); border: 1px solid var(--line); border-radius: 17px; background: var(--white); }
.program-card p, .pathway p, .involve-grid p { margin-top: 7px; color: var(--muted); }
.program-icon { display: inline-grid; width: 48px; height: 48px; margin-bottom: 17px; place-items: center; border-radius: 13px; color: var(--purple-dark); background: var(--lavender-deep); font-size: 1.25rem; }
.program-card:nth-child(3n + 2) .program-icon { background: #ffedb5; color: #6c4a05; }
.program-card:nth-child(3n) .program-icon { background: #dbf3ee; color: #145b55; }

.pathways-inner { align-items: start; }
.pathways .section-intro { max-width: 35ch; }
.pathway-list { display: grid; }
.pathway { display: grid; grid-template-columns: 115px minmax(0, 1fr); align-items: start; gap: 15px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.pathway:first-child { border-top: 1px solid var(--line); }
.grade-label { justify-self: start; padding: 4px 10px; border-radius: 20px; background: #ede3fc; color: var(--purple-dark); font-size: .81rem; font-weight: 800; white-space: nowrap; }
.pathway:nth-child(2) .grade-label { background: #ffedb5; color: #6c4a05; }
.pathway:nth-child(3) .grade-label { background: #dbf3ee; color: #145b55; }

.enroll { background: radial-gradient(ellipse at 10% 100%, #502c83, transparent 62%), #2a1b45; color: var(--white); }
.enroll-inner { align-items: start; }
.enroll-copy { padding-block: 12px; }
.enroll .eyebrow { color: var(--yellow); }
.enroll .section-intro { max-width: 40ch; color: #eee3fc; }
.enroll-spark { display: block; width: clamp(48px, 7vw, 88px); margin-top: 28px; color: var(--yellow); transform: rotate(10deg); }
.enroll-form { padding: clamp(20px, 3.4vw, 42px); border-radius: 19px; background: var(--white); color: var(--ink); }
.enroll-form h3 { font-size: 1.7rem; }
#form-note { margin: 6px 0 16px; color: var(--muted); font-size: .9rem; }
.enroll-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.enroll-form label { display: block; margin: 12px 0 5px; font-size: .9rem; font-weight: 760; }
.enroll-form input, .enroll-form select { width: 100%; min-height: 45px; padding: 8px 11px; border: 1px solid #b8aaca; border-radius: 7px; color: var(--ink); background: var(--white); }
.enroll-form input::placeholder { color: #70657d; }
.enroll-form input:focus-visible, .enroll-form select:focus-visible { outline-offset: 2px; }
.enroll-form button { width: 100%; margin-top: 18px; }
.enroll-form button:disabled { opacity: .6; cursor: not-allowed; }
.preview-result:not(:empty) { margin-top: 14px; padding: 11px 13px; border-radius: 7px; color: #204b3a; background: #e5f3ec; font-size: .89rem; overflow-wrap: anywhere; }

.involve-grid { gap: clamp(18px, 4vw, 47px); }
.involve-grid article { padding-block: 14px 0; border-top: 2px solid #d8c9ec; }
.involve-number { display: block; margin-bottom: 13px; color: var(--purple); font-family: var(--display); font-weight: 750; }
.site-footer { padding-block: 44px 21px; background: var(--ink); color: var(--white); }
.site-footer .wordmark small { color: #f3e7ff; }
.footer-main { display: flex; justify-content: space-between; align-items: start; gap: 24px; padding-bottom: 26px; }
.footer-main p { max-width: 42ch; margin-top: 12px; color: #e1d7ea; }
.footer-main nav, .footer-bottom { display: flex; flex-wrap: wrap; gap: 10px 23px; }
.footer-main nav { padding-top: 5px; font-size: .91rem; font-weight: 650; }
.footer-main nav a:hover { color: var(--yellow); }
.footer-bottom { justify-content: space-between; padding-top: 16px; border-top: 1px solid #544960; color: #e9deef; }

@media (max-width: 980px) {
  .hero-inner { min-height: auto; }
  .hero-frame { aspect-ratio: 1.06; }
  .hero-stamp { right: -17px; top: -20px; }
  .hero-visual::before { right: -24px; }
  .pathways-inner, .enroll-inner { gap: 35px; }
}

@media (max-width: 760px) {
  .header-inner { grid-template-columns: minmax(48px, 1fr) minmax(0, 240px) minmax(48px, 1fr); column-gap: 6px; }
  .header-logo { grid-column: 2; grid-row: 1; margin-block: 10px; }
  .site-header[data-menu-ready] .menu-toggle { display: grid; grid-column: 3; grid-row: 1; justify-self: end; place-items: center; }
  .menu-toggle { width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: transparent; font-size: 1.2rem; cursor: pointer; }
  .menu-toggle:hover { background: var(--lavender); }
  .menu-close-icon, .site-header[data-menu-open] .menu-open-icon { display: none; }
  .site-header[data-menu-open] .menu-close-icon { display: block; }
  .button-header { display: none; }
  .main-nav { grid-row: 2; grid-column: 1 / -1; min-height: 0; flex-wrap: wrap; justify-content: center; gap: 0 15px; padding: 7px 0 12px; }
  .main-nav a { padding-block: 7px; }
  .main-nav .mobile-enrollment { display: inline; }
  .site-header[data-menu-ready]:not([data-menu-open]) .main-nav { display: none; }
  .site-header[data-menu-open] .main-nav { display: grid; justify-content: stretch; padding-block: 9px 15px; border-top: 1px solid var(--line); }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 38px; padding-block: 49px 40px; }
  .hero h1 { max-width: 12ch; font-size: clamp(2.65rem, 11.1vw, 5.15rem); }
  .hero-label { margin-bottom: 16px; }
  .hero-description { margin-top: 22px; }
  .actions { margin-top: 19px; }
  .hero-frame { aspect-ratio: 1.3; border-width: 6px; border-radius: 18px; }
  .hero-stamp { right: -11px; top: -16px; }
  .hero-spark { left: -10px; bottom: -11px; }
  .hero-visual::before { inset: -15px -15px -15px 45%; }
  .values-inner { min-height: 53px; }
  .pathways-inner, .enroll-inner { grid-template-columns: minmax(0, 1fr); gap: 27px; }
  .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .enroll-copy { padding: 0; }
  .enroll-spark { display: none; }
}

@media (max-width: 450px) {
  .wordmark { font-size: 1.53rem; }
  .wordmark img { width: 39px; height: 39px; }
  .actions { gap: 8px; }
  .actions .button { min-height: 46px; gap: 6px; padding-inline: 10px; font-size: .84rem; }
  .values-inner { width: calc(100% - 18px); justify-content: space-evenly; gap: 4px; }
  .values-inner span { font-size: .74rem; letter-spacing: .08em; }
  .program-grid, .involve-grid { grid-template-columns: minmax(0, 1fr); }
  .pathway { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .footer-main { display: grid; gap: 14px; }
}

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