:root {
  --navy: #102a43;
  --navy-2: #183b5b;
  --blue: #1646e8;
  --blue-dark: #1035b9;
  --green: #7cbf2d;
  --green-dark: #4e8519;
  --orange: #ff8a34;
  --sky: #eaf2ff;
  --cream: #fff8ed;
  --white: #fff;
  --ink-muted: #526477;
  --line: #d9e3ec;
  --shadow: 0 18px 50px rgba(16, 42, 67, 0.12);
  --shadow-small: 0 8px 24px rgba(16, 42, 67, 0.09);
  --radius: 22px;
  --radius-small: 14px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--navy);
  background: var(--white);
  font-family: "Atkinson Hyperlegible", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 0.18em; }
a:hover { color: var(--blue-dark); }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.65rem, 6.6vw, 5.35rem); }
h2 { font-size: clamp(2rem, 4.1vw, 3.45rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.65rem); }
p { margin-bottom: 1.2em; }

.site-shell { width: var(--shell); margin-inline: auto; }
.section { padding: clamp(68px, 9vw, 116px) 0; }
.section--compact { padding: clamp(46px, 6vw, 72px) 0; }
.section--sky { background: var(--sky); }
.section--cream { background: var(--cream); }
.section--navy { color: var(--white); background: var(--navy); }
.section-heading { max-width: 720px; margin-bottom: 34px; }
.section-heading--center { margin-inline: auto; text-align: center; }
.section-heading p { max-width: 650px; color: var(--ink-muted); font-size: 1.1rem; }
.section--navy .section-heading p { color: #d8e7f5; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.eyebrow::before { width: 26px; height: 4px; border-radius: 999px; background: var(--green); content: ""; }
.section--navy .eyebrow { color: #bfe7ff; }
.lede { max-width: 690px; color: var(--ink-muted); font-size: clamp(1.08rem, 2vw, 1.3rem); }

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  padding: 12px 18px;
  transform: translateY(-180%);
  border-radius: 8px;
  color: var(--white);
  background: var(--navy);
}
.skip-link:focus { transform: translateY(0); }
.notice-bar { color: var(--white); background: var(--navy); font-size: 0.94rem; }
.notice-bar__inner { display: flex; justify-content: center; gap: 18px; padding-block: 9px; text-align: center; }
.notice-bar a { color: var(--white); font-weight: 800; }

.site-header { position: relative; z-index: 50; border-bottom: 1px solid rgba(16, 42, 67, 0.08); background: rgba(255, 255, 255, 0.96); }
.site-header.is-stuck { position: sticky; top: 0; box-shadow: var(--shadow-small); }
.site-header__inner { display: flex; min-height: 86px; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: block; flex: 0 0 auto; }
.brand img, .brand .custom-logo { width: min(315px, 42vw); max-height: 68px; object-fit: contain; object-position: left center; }
.primary-nav { display: flex; align-items: center; gap: 20px; }
.primary-nav__list { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.primary-nav__list a { color: var(--navy); font-size: 0.96rem; font-weight: 700; text-decoration: none; }
.primary-nav__list a:hover, .primary-nav__list a:focus-visible { color: var(--blue); }
.menu-toggle { display: none; border: 0; color: var(--navy); background: transparent; font-weight: 800; }

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 23px;
  border: 2px solid var(--blue);
  border-radius: 999px;
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 8px 20px rgba(22, 70, 232, 0.2);
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); color: var(--white); background: var(--blue-dark); box-shadow: 0 12px 25px rgba(22, 70, 232, 0.28); }
.button--secondary { border-color: var(--navy); color: var(--navy); background: transparent; box-shadow: none; }
.button--secondary:hover, .button--secondary:focus-visible { color: var(--white); background: var(--navy); }
.button--light { border-color: var(--white); color: var(--navy); background: var(--white); }
.button--small { min-height: 44px; padding: 10px 18px; font-size: 0.93rem; }
.button--on-dark { border-color: var(--white); color: var(--white); }
.button--on-dark:hover, .button--on-dark:focus-visible { color: var(--navy); background: var(--white); }

.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #f7fbff 0%, #eaf2ff 55%, #f6ffe7 100%); }
.hero::before, .hero::after { position: absolute; border-radius: 50%; content: ""; }
.hero::before { width: 320px; height: 320px; top: -180px; left: -120px; background: rgba(124, 191, 45, 0.18); }
.hero::after { width: 460px; height: 460px; right: -230px; bottom: -230px; background: rgba(255, 138, 52, 0.15); }
.hero__inner { position: relative; z-index: 1; display: grid; min-height: 680px; grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1.05fr); align-items: center; gap: clamp(40px, 6vw, 84px); padding-block: clamp(66px, 8vw, 104px); }
.hero__copy { max-width: 650px; }
.hero h1 { margin-bottom: 24px; }
.hero h1 span { color: var(--blue); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__note { display: flex; align-items: center; gap: 10px; margin-top: 25px; color: var(--navy-2); font-size: 0.96rem; font-weight: 700; }
.hero__note-icon { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 50%; color: var(--green-dark); background: #e7f5d8; }
.hero__visual { position: relative; min-height: 500px; }
.hero__photo { width: 100%; height: 500px; border: 10px solid var(--white); border-radius: 42% 58% 34% 66% / 52% 36% 64% 48%; box-shadow: var(--shadow); object-fit: cover; object-position: center; }
.hero__badge { position: absolute; right: -18px; bottom: 38px; width: 170px; padding: 18px; border: 6px solid var(--white); border-radius: 24px; color: var(--white); background: var(--navy); box-shadow: var(--shadow-small); }
.hero__badge strong { display: block; color: #bdf277; font-size: 1.35rem; line-height: 1.1; }
.hero__badge span { font-size: 0.9rem; }
.hero__spark { position: absolute; top: 24px; left: -20px; display: grid; width: 74px; height: 74px; place-items: center; border-radius: 50%; color: var(--navy); background: var(--orange); box-shadow: var(--shadow-small); font-size: 2rem; transform: rotate(-9deg); }

.trust-strip { border-block: 1px solid var(--line); background: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 25px 30px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-icon { display: grid; width: 44px; height: 44px; flex: 0 0 auto; place-items: center; border-radius: 14px; color: var(--blue); background: var(--sky); font-size: 1.25rem; }
.trust-item strong { display: block; line-height: 1.2; }
.trust-item span { color: var(--ink-muted); font-size: 0.92rem; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.program-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-small); transition: transform 180ms ease, box-shadow 180ms ease; }
.program-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.program-card__image { position: relative; height: 245px; overflow: hidden; }
.program-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 350ms ease; }
.program-card:hover .program-card__image img { transform: scale(1.035); }
.program-card__tag { position: absolute; top: 16px; left: 16px; padding: 7px 12px; border-radius: 999px; color: var(--navy); background: rgba(255,255,255,0.93); font-size: 0.8rem; font-weight: 800; }
.program-card__body { padding: 26px; }
.program-card__body p { min-height: 82px; color: var(--ink-muted); }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--blue); font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: steps; }
.step { position: relative; padding: 31px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-small); counter-increment: steps; }
.step::before { display: grid; width: 50px; height: 50px; margin-bottom: 25px; place-items: center; border-radius: 50%; color: var(--white); background: var(--blue); content: counter(steps); font-weight: 900; }
.step:nth-child(2)::before { color: var(--navy); background: var(--orange); }
.step:nth-child(3)::before { color: var(--navy); background: var(--green); }
.step p { margin-bottom: 0; color: var(--ink-muted); }

.location-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 26px; }
.location-card { position: relative; overflow: hidden; min-height: 390px; padding: 36px; border-radius: var(--radius); color: var(--white); background: var(--navy); box-shadow: var(--shadow-small); }
.location-card--featured { display: flex; align-items: flex-end; background: linear-gradient(180deg, rgba(16,42,67,0.12), rgba(16,42,67,0.96)), url('../images/classroom-energy.webp') center/cover; }
.location-card--soon { background: linear-gradient(145deg, var(--navy), #204e75); }
.location-card__content { position: relative; z-index: 1; max-width: 560px; }
.location-card__status { display: inline-flex; margin-bottom: 16px; padding: 7px 12px; border-radius: 999px; color: var(--navy); background: #c9f38f; font-size: 0.82rem; font-weight: 900; text-transform: uppercase; }
.location-card--soon .location-card__status { background: #ffcfaa; }
.location-card p { color: #e1edf7; }
.location-card .text-link { color: var(--white); }

.funding-panel { display: grid; grid-template-columns: 0.85fr 1.15fr; align-items: center; gap: clamp(30px, 6vw, 80px); padding: clamp(36px, 6vw, 72px); border-radius: 32px; color: var(--white); background: linear-gradient(135deg, var(--blue), #0e3278); box-shadow: var(--shadow); }
.funding-mark { display: grid; aspect-ratio: 1; width: min(270px, 100%); margin: auto; place-items: center; border: 3px solid rgba(255,255,255,0.5); border-radius: 50%; background: rgba(255,255,255,0.1); text-align: center; }
.funding-mark strong { font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1; }
.funding-panel p { color: #e7f0ff; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { padding: 28px; border-radius: var(--radius-small); color: var(--navy); background: var(--white); }
.feature__icon { display: grid; width: 48px; height: 48px; margin-bottom: 18px; place-items: center; border-radius: 14px; background: var(--cream); font-size: 1.35rem; }
.feature p { margin-bottom: 0; color: var(--ink-muted); }

.cta-panel { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: clamp(38px, 6vw, 68px); border-radius: 30px; color: var(--white); background: var(--navy); }
.cta-panel::after { position: absolute; width: 220px; height: 220px; right: -80px; bottom: -120px; border-radius: 50%; background: var(--green); content: ""; opacity: 0.75; }
.cta-panel__copy { position: relative; z-index: 1; max-width: 730px; }
.cta-panel h2 { margin-bottom: 12px; }
.cta-panel p { margin-bottom: 0; color: #dce8f2; }
.cta-panel__actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; flex-shrink: 0; gap: 10px; }

.site-footer { padding-top: 70px; color: #e2edf6; background: #0a2034; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 0.7fr 0.8fr; gap: 70px; padding-bottom: 54px; }
.footer-brand img { width: min(300px, 100%); margin-bottom: 22px; padding: 12px; border-radius: 12px; background: var(--white); }
.footer-brand p { max-width: 470px; color: #b9c9d8; }
.footer-heading { color: var(--white); font-size: 1.05rem; letter-spacing: 0; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li + li { margin-top: 9px; }
.footer-links a { color: #d6e4ef; text-decoration: none; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,0.14); color: #aebfce; font-size: 0.9rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #d6e4ef; }

.page-hero { padding: clamp(72px, 9vw, 112px) 0; background: linear-gradient(135deg, var(--sky), #f4ffe5); }
.page-hero--programs { background: linear-gradient(135deg, #fff8ed, #eaf2ff); }
.page-hero--parent { background: linear-gradient(135deg, #eaf2ff, #edf9de); }
.page-hero__inner { display: grid; grid-template-columns: 1fr 0.8fr; align-items: center; gap: 70px; }
.page-hero__image { overflow: hidden; border: 9px solid var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.page-hero__image img { width: 100%; height: 420px; object-fit: cover; }
.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.fact { padding: 21px; border-radius: var(--radius-small); background: var(--white); box-shadow: var(--shadow-small); }
.fact span { display: block; color: var(--ink-muted); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.fact strong { display: block; margin-top: 4px; font-size: 1.15rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(36px, 7vw, 92px); }
.check-list { display: grid; gap: 14px; margin: 24px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before { position: absolute; top: 2px; left: 0; display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; color: var(--green-dark); background: #e7f5d8; content: "✓"; font-size: 0.82rem; font-weight: 900; }
.info-card { padding: 34px; border-radius: var(--radius); background: var(--sky); }
.info-card--white { background: var(--white); box-shadow: var(--shadow-small); }
.info-card p:last-child { margin-bottom: 0; }
.parent-quick-panel { display: grid; gap: 12px; padding: clamp(26px, 4vw, 42px); border-radius: 28px; background: var(--white); box-shadow: var(--shadow); }
.parent-quick-panel > a { display: grid; gap: 2px; padding: 17px 18px; border: 1px solid var(--line); border-radius: 14px; color: var(--navy); text-decoration: none; transition: border-color 160ms ease, transform 160ms ease; }
.parent-quick-panel > a:hover, .parent-quick-panel > a:focus-visible { transform: translateX(3px); border-color: var(--blue); }
.parent-quick-panel span { color: var(--ink-muted); font-size: 0.92rem; }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.resource-card { display: block; min-height: 290px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--navy); background: var(--white); box-shadow: var(--shadow-small); text-decoration: none; transition: transform 180ms ease, box-shadow 180ms ease; }
.resource-card:hover, .resource-card:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow); }
.resource-card__icon { display: grid; width: 50px; height: 50px; margin-bottom: 22px; place-items: center; border-radius: 15px; color: var(--white); background: var(--blue); font-size: 1.3rem; font-weight: 900; }
.resource-card:nth-child(2) .resource-card__icon { color: var(--navy); background: var(--orange); }
.resource-card:nth-child(3) .resource-card__icon { color: var(--navy); background: var(--green); }
.resource-card p { color: var(--ink-muted); }
.content-main { min-height: 50vh; }
.content-narrow { width: min(780px, calc(100% - 40px)); margin: 70px auto; }
[id] { scroll-margin-top: 118px; }

.preview-ribbon { padding: 8px 18px; color: var(--navy); background: #ffe3a5; font-size: 0.87rem; font-weight: 800; text-align: center; }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; align-items: center; gap: 10px; padding: 11px 4px; }
  .menu-toggle__icon, .menu-toggle__icon::before, .menu-toggle__icon::after { display: block; width: 25px; height: 3px; border-radius: 999px; background: currentColor; transition: transform 180ms ease; }
  .menu-toggle__icon { position: relative; }
  .menu-toggle__icon::before, .menu-toggle__icon::after { position: absolute; left: 0; content: ""; }
  .menu-toggle__icon::before { top: -8px; }
  .menu-toggle__icon::after { top: 8px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon::after { top: 0; transform: rotate(-45deg); }
  .primary-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; padding: 24px 20px 30px; border-top: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
  .primary-nav.is-open { display: grid; }
  .primary-nav__list { display: grid; gap: 0; }
  .primary-nav__list li { border-bottom: 1px solid var(--line); }
  .primary-nav__list a { display: block; padding: 13px 2px; font-size: 1.05rem; }
  .hero__inner { min-height: auto; grid-template-columns: 1fr; }
  .hero__copy { max-width: 760px; }
  .hero__visual { max-width: 720px; min-height: 440px; }
  .hero__photo { height: 440px; }
  .card-grid, .steps, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .program-card:last-child, .step:last-child, .feature:last-child { grid-column: 1 / -1; }
  .resource-card:last-child { grid-column: 1 / -1; }
  .location-grid, .page-hero__inner { grid-template-columns: 1fr; }
  .location-card { min-height: 340px; }
  .funding-panel { grid-template-columns: 0.6fr 1.4fr; }
  .footer-grid { grid-template-columns: 1.3fr 0.7fr; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  :root { --shell: min(100% - 28px, 1180px); }
  body { font-size: 16px; }
  .notice-bar__inner { display: block; }
  .notice-bar__inner a { display: block; margin-top: 2px; }
  .site-header__inner { min-height: 74px; }
  .brand img, .brand .custom-logo { width: min(235px, 61vw); }
  .menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .hero__inner { gap: 40px; padding-block: 56px 68px; }
  .hero__visual { min-height: 360px; }
  .hero__photo { height: 350px; border-width: 7px; }
  .hero__badge { right: 4px; bottom: -8px; width: 148px; padding: 14px; }
  .hero__spark { top: 5px; left: 2px; width: 58px; height: 58px; font-size: 1.5rem; }
  .hero__actions, .cta-panel__actions { align-items: stretch; flex-direction: column; }
  .hero__actions .button, .cta-panel__actions .button { width: 100%; }
  .trust-grid, .card-grid, .steps, .feature-grid, .fact-grid, .split, .resource-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); padding-inline: 12px; }
  .trust-item:last-child { border-bottom: 0; }
  .program-card:last-child, .step:last-child, .feature:last-child { grid-column: auto; }
  .resource-card:last-child { grid-column: auto; }
  .program-card__body p { min-height: 0; }
  .location-card { min-height: 330px; padding: 28px; }
  .funding-panel { grid-template-columns: 1fr; padding: 34px 24px; }
  .funding-mark { width: 180px; }
  .cta-panel { align-items: stretch; flex-direction: column; padding: 36px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid > :last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .page-hero__image img { height: 300px; }
}

.dcm-form-page h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
.dcm-form-page .info-card h2 { font-size: clamp(1.25rem, 3vw, 1.65rem); margin-bottom: 12px; }
.dcm-form-page .info-card { padding: 24px; }
.dcm-existing-form { margin-top: 36px; }
.dcm-existing-form input, .dcm-existing-form select, .dcm-existing-form textarea { max-width: 100%; }

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