:root {
  --purple: #5512b8;
  --purple-dark: #24105f;
  --navy: #111349;
  --blue: #1268ef;
  --red: #ef233c;
  --gold: #f3a400;
  --green: #159447;
  --teal: #04a4ad;
  --ink: #12133f;
  --muted: #5f617a;
  --surface: #ffffff;
  --soft: #f7f5fc;
  --line: #dedbeb;
  --shadow: 0 18px 50px rgba(28, 18, 74, 0.12);
  --radius: 1.35rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.035em; }
.shell { width: min(1180px, calc(100% - 2.5rem)); margin-inline: auto; }
.section { padding: 5.5rem 0; }
.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; top: .75rem; left: .75rem; z-index: 1000; padding: .75rem 1rem;
  border-radius: .75rem; background: var(--navy); color: white; transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(24, 16, 86, .1); backdrop-filter: blur(16px);
}
.header-inner { min-height: 5.35rem; display: flex; align-items: center; gap: 1.5rem; }
.brand { flex: 0 0 auto; display: inline-flex; text-decoration: none; }
.brand-logo { display: block; width: 15rem; height: 5.15rem; object-fit: cover; object-position: center 30%; }
.site-nav { display: flex; align-items: center; gap: 1.15rem; margin-left: auto; }
.site-nav a { position: relative; padding: .75rem 0; color: var(--navy); font-size: .88rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: .48rem; height: .14rem; background: var(--purple); transition: right .2s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav a.active::after { right: 0; }
.menu-toggle { display: none; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 3.1rem; padding: .78rem 1.45rem; border: 2px solid transparent;
  border-radius: 999px; font-weight: 800; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid rgba(18, 104, 239, .5); outline-offset: 3px; }
.button-primary { color: white; background: linear-gradient(135deg, #6115c8, #45109e); box-shadow: 0 12px 26px rgba(85, 18, 184, .24); }
.button-outline { color: var(--purple); background: rgba(255, 255, 255, .86); border-color: var(--purple); }
.header-cta { min-height: 2.85rem; padding-inline: 1.25rem; font-size: .9rem; }

.hero { position: relative; min-height: 38rem; display: flex; align-items: center; overflow: hidden; background: #fbfafd; }
.hero-photo { position: absolute; inset: 0; background: url("./assets/advscholars-hero-v2.png") center / cover no-repeat; }
.hero-wash { position: absolute; inset: 0; background: linear-gradient(90deg, #fff 2%, rgba(255,255,255,.98) 29%, rgba(255,255,255,.82) 45%, rgba(255,255,255,.06) 67%); }
.hero-content { position: relative; z-index: 1; padding-block: 5.75rem; }
.hero-content > * { max-width: 40rem; }
.eyebrow, .section-kicker {
  margin-bottom: 1.2rem; color: var(--purple); font-size: .76rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: .19em;
}
.eyebrow b { margin-inline: .25rem; color: var(--blue); }
.hero h1 { max-width: 41rem; margin-bottom: 1.2rem; font-size: clamp(3rem, 5.2vw, 5.35rem); color: var(--navy); }
.hero h1 span { display: block; color: var(--purple); }
.spectrum-line { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr 1.1fr; width: min(31rem, 90%); height: .5rem; margin-bottom: 1.55rem; border-radius: 99px; overflow: hidden; }
.spectrum-line i:nth-child(1) { background: var(--purple); }
.spectrum-line i:nth-child(2) { background: var(--blue); }
.spectrum-line i:nth-child(3) { background: var(--red); }
.spectrum-line i:nth-child(4) { background: var(--gold); }
.spectrum-line i:nth-child(5) { background: var(--green); }
.hero-copy { max-width: 37rem; margin-bottom: 1.75rem; color: var(--navy); font-size: 1.18rem; line-height: 1.55; }
.hero-copy strong { color: var(--purple); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }

.programs-section { background: linear-gradient(180deg, #fff, var(--soft)); }
.section-heading { max-width: 46rem; margin: 0 auto 2.7rem; text-align: center; }
.section-heading.compact { margin-bottom: 2rem; }
.section-heading h2, .about-grid h2, .community-card h2, .contact-grid h2 { margin-bottom: 1rem; font-size: clamp(2.15rem, 4vw, 3.45rem); color: var(--navy); }
.section-heading > p:last-child { color: var(--muted); font-size: 1.08rem; }
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
.program-card {
  position: relative; display: flex; flex-direction: column; min-height: 31rem; padding: 2.1rem;
  overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 8px 30px rgba(33, 24, 85, .06);
}
.program-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); transition: .22s ease; }
.card-accent { position: absolute; inset: 0 0 auto; height: .45rem; background: var(--purple); }
.organization-card .card-accent { background: var(--blue); }
.adult-card .card-accent { background: var(--green); }
.program-icon { display: grid; place-items: center; width: 4rem; height: 4rem; margin-bottom: 1.1rem; border-radius: 50%; background: #f2eaff; font-size: 1.7rem; }
.organization-card .program-icon { background: #e7f0ff; }
.adult-card .program-icon { background: #e7f7ed; }
.card-label { margin-bottom: .35rem; color: var(--purple); font-size: .76rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.organization-card .card-label, .organization-card .text-link { color: var(--blue); }
.adult-card .card-label, .adult-card .text-link { color: var(--green); }
.program-card h3 { margin-bottom: .85rem; font-size: 1.65rem; color: var(--navy); }
.program-card p:not(.card-label), .program-card li { color: var(--muted); }
.program-card ul { padding-left: 1.1rem; margin: .25rem 0 1.4rem; }
.program-card li + li { margin-top: .4rem; }
.text-link { display: inline-flex; align-items: center; gap: .5rem; margin-top: auto; color: var(--purple); font-weight: 850; text-underline-offset: .25rem; }
.card-button { align-self: flex-start; min-height: 2.75rem; margin: auto 0 1rem; padding: .65rem 1.05rem; font-size: .86rem; }

/* Arizona ESA program */
.esa-page h2 { font-size: clamp(2.1rem, 4vw, 3.35rem); color: var(--navy); }
.esa-page .section-intro { max-width: 32rem; color: var(--muted); font-size: 1.08rem; }
.esa-hero { overflow: hidden; background: linear-gradient(140deg, #fff 12%, #f4edff 64%, #e9f3ff); }
.esa-hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 41rem; align-items: stretch; }
.esa-hero-copy { align-self: center; padding: 5rem 3rem 5rem 0; }
.esa-provider-badge { display: inline-flex; gap: .55rem; align-items: center; margin-bottom: 1.6rem; padding: .55rem .85rem; border: 2px solid #ec8f0c; border-radius: 999px; color: var(--navy); background: white; font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 8px 20px rgba(40, 22, 90, .08); }
.esa-provider-badge span { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; color: white; background: #ec8f0c; }
.esa-hero h1 { margin-bottom: 1.25rem; color: var(--navy); font-size: clamp(3.1rem, 5.8vw, 5.65rem); }
.esa-hero h1 span { display: block; color: var(--purple); font-family: Georgia, serif; font-size: .72em; font-style: italic; }
.esa-outcomes-line { margin-bottom: 1.25rem; color: var(--navy); font-size: .92rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.esa-outcomes-line b:nth-of-type(1) { color: var(--purple); } .esa-outcomes-line b:nth-of-type(2) { color: var(--blue); } .esa-outcomes-line b:nth-of-type(3) { color: var(--green); } .esa-outcomes-line b:nth-of-type(4) { color: var(--red); } .esa-outcomes-line b:nth-of-type(5) { color: var(--teal); }
.esa-outcomes-line i { margin-inline: .18rem; color: var(--gold); font-style: normal; }
.esa-lead { max-width: 39rem; margin-bottom: 1.8rem; color: var(--muted); font-size: 1.18rem; }
.esa-hero-image { display: flex; min-width: 0; min-height: 41rem; margin: 0; align-items: flex-end; justify-content: center; overflow: hidden; border-left: 1px solid rgba(85,18,184,.12); background: white; }
.esa-hero-image img { display: block; width: 100%; height: 41rem; object-fit: cover; object-position: center top; }
.esa-values { color: white; background: var(--navy); }
.esa-value-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.esa-value-grid article { display: grid; grid-template-columns: 3.25rem 1fr; column-gap: .9rem; align-items: center; padding: 1.55rem 2rem; }
.esa-value-grid article + article { border-left: 1px solid rgba(255,255,255,.2); }
.esa-value-grid span { grid-row: 1 / 3; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; color: var(--gold); background: rgba(255,255,255,.09); font-size: 1.5rem; }
.esa-value-grid article:nth-child(2) span { color: #54d76d; } .esa-value-grid article:nth-child(3) span { color: #8ab5ff; }
.esa-value-grid h2 { margin: 0; color: white; font-size: 1.35rem; }
.esa-value-grid p { margin: 0; color: #dcdcf0; font-size: .9rem; }
.esa-two-column { display: grid; grid-template-columns: .8fr 1.2fr; gap: 5rem; align-items: center; }
.esa-check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.esa-check-grid div { display: flex; gap: .75rem; align-items: center; min-height: 4.2rem; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 1rem; color: var(--navy); background: white; font-weight: 760; box-shadow: 0 7px 20px rgba(39, 25, 85, .05); }
.esa-check-grid span { display: grid; place-items: center; flex: 0 0 1.6rem; height: 1.6rem; border-radius: 50%; color: white; background: var(--purple); font-size: .85rem; font-weight: 900; }
.esa-how { background: var(--soft); }
.esa-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.esa-feature-grid article { padding: 1.7rem; border: 1px solid var(--line); border-radius: 1.15rem; background: white; box-shadow: 0 8px 24px rgba(35,20,78,.05); }
.esa-feature-grid article > span { color: var(--purple); font-size: .75rem; font-weight: 900; letter-spacing: .16em; }
.esa-feature-grid h3 { margin: .55rem 0 .6rem; color: var(--navy); font-size: 1.25rem; }
.esa-feature-grid p { margin: 0; color: var(--muted); }
.esa-path { color: white; background: linear-gradient(135deg, #25105e, #43108f); }
.esa-path .section-kicker { color: #d3baff; }
.esa-path .section-heading h2 { color: white; }
.esa-path .section-heading h2 span { color: var(--gold); }
.esa-path-grid { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 61rem; margin: 0 auto; }
.esa-path-grid article { padding: 2rem 2.4rem; text-align: center; }
.esa-path-grid article + article { border-left: 1px solid rgba(255,255,255,.2); }
.esa-path-grid article > span { display: grid; place-items: center; width: 4.2rem; height: 4.2rem; margin: 0 auto 1rem; border-radius: 50%; color: var(--blue); background: white; font-size: 1.7rem; }
.esa-path-grid .confidence > span { color: var(--green); } .esa-path-grid .action > span { color: #e97813; }
.esa-path-grid h3 { margin-bottom: .45rem; color: white; font-size: 1.55rem; }
.esa-path-grid p { margin: 0; color: #e0daf2; }
.esa-instructor-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4.5rem; align-items: center; }
.esa-instructor-photo { width: min(100%, 30rem); justify-self: center; overflow: hidden; border-radius: var(--radius); background: #eee8fa; box-shadow: var(--shadow); }
.esa-instructor-photo img { display: block; width: 100%; height: auto; }
.esa-role { margin-top: -1rem; color: var(--purple); font-weight: 850; }
.credential-list { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 1rem; padding: 0; margin: 1.5rem 0 0; list-style: none; }
.credential-list li { position: relative; padding-left: 1.8rem; color: var(--navy); font-weight: 700; }
.credential-list li::before { content: "✓"; position: absolute; left: 0; top: .03rem; color: var(--purple); font-weight: 900; }
.esa-codii { background: #f3edff; }
.esa-codii-grid { display: grid; grid-template-columns: 1fr .55fr; gap: 4rem; align-items: center; }
.esa-codii-grid p:last-child { color: var(--muted); font-size: 1.1rem; }
.codii-portrait { width: min(24rem, 100%); aspect-ratio: 1 / 1; justify-self: center; border: .55rem solid white; border-radius: 50%; background: url("./assets/advscholars-arizona-esa-program-flyer.png") 76% 41% / 305% auto no-repeat; box-shadow: var(--shadow); }
.esa-family { background: white; }
.esa-family-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: center; }
.esa-family-grid > div > p:last-child { color: var(--muted); font-size: 1.08rem; }
.esa-approved-card { display: flex; gap: 1.4rem; align-items: flex-start; padding: 2.2rem; border: 2px solid #f1a22d; border-radius: var(--radius); background: #fffaf1; box-shadow: 0 12px 34px rgba(91,53,4,.08); }
.approved-icon { display: grid; place-items: center; flex: 0 0 4rem; height: 4rem; border: 3px solid #ef9314; border-radius: 1.2rem 1.2rem 1.7rem 1.7rem; color: #ef9314; font-size: 2rem; font-weight: 900; }
.esa-approved-card h2 { margin-bottom: .9rem; font-size: 1.55rem; }
.esa-approved-card ul { padding-left: 1.25rem; margin: 0; color: var(--navy); }
.esa-approved-card li + li { margin-top: .35rem; }
.esa-final-cta { padding: 5rem 0; color: white; background: linear-gradient(120deg, #160949, #4f12aa 64%, #6920c6); }
.esa-cta-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 4rem; align-items: center; }
.esa-final-cta .section-kicker { color: #d6c0ff; }
.esa-final-cta h2 { margin-bottom: .8rem; color: white; font-size: clamp(2.35rem, 4.5vw, 4rem); }
.esa-final-cta h2 span { display: block; color: #ffab22; font-family: Georgia, serif; font-style: italic; }
.esa-final-cta p:last-child { margin: 0; color: #e7e0f5; font-size: 1.08rem; }
.button-light { color: var(--purple-dark); background: white; box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.button-ghost { color: white; border-color: rgba(255,255,255,.7); background: transparent; }

.outcomes-section { padding-top: 4.5rem; padding-bottom: 5rem; background: white; }
.outcomes-grid { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.outcome { display: flex; gap: .9rem; padding: 1.45rem 1.1rem; align-items: flex-start; }
.outcome + .outcome { border-left: 1px solid var(--line); }
.outcome-icon { display: grid; place-items: center; flex: 0 0 3rem; height: 3rem; border-radius: 50%; background: var(--purple); font-size: 1.25rem; }
.outcome h3 { margin: .15rem 0 .35rem; color: var(--purple); font-size: 1.28rem; }
.outcome p { margin: 0; color: var(--muted); font-size: .87rem; line-height: 1.45; }
.outcome.work .outcome-icon { background: var(--blue); } .outcome.work h3 { color: var(--blue); }
.outcome.lead .outcome-icon { background: var(--red); } .outcome.lead h3 { color: var(--red); }
.outcome.create .outcome-icon { background: var(--gold); } .outcome.create h3 { color: #cb7f00; }
.outcome.serve .outcome-icon { background: var(--green); } .outcome.serve h3 { color: var(--green); }

.about-section { color: white; background: var(--purple-dark); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 5rem; align-items: start; }
.about-grid .section-kicker { color: #c8a9ff; }
.about-grid h2 { color: white; }
.about-copy { padding-left: 2rem; border-left: .5rem solid; border-image: linear-gradient(var(--blue), var(--red), var(--gold), var(--green)) 1; }
.about-copy p { margin-bottom: 1rem; color: #eeebfb; font-size: 1.09rem; }

.community-section { position: relative; min-height: 32rem; display: flex; align-items: center; overflow: hidden; }
.community-photo { position: absolute; inset: 0; background: url("./assets/advscholars-community-realistic-v2.png") center / cover no-repeat; }
.community-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28,10,79,.02) 20%, rgba(255,255,255,.08) 37%, rgba(255,255,255,.24) 58%, rgba(255,255,255,.1) 100%); }
.community-content { position: relative; display: flex; justify-content: flex-end; padding-block: 4rem; }
.community-card { width: min(38rem, 58%); padding: 2.5rem; border: 1px solid rgba(85,18,184,.16); border-radius: var(--radius); background: rgba(255,255,255,.92); box-shadow: var(--shadow); backdrop-filter: blur(9px); }
.community-card h2 { color: var(--purple); }
.community-lead { font-size: 1.12rem; font-weight: 750; color: var(--navy); }
.check-list { padding: 0; margin: 1.35rem 0 1.7rem; list-style: none; }
.check-list li { position: relative; padding-left: 1.9rem; color: var(--navy); }
.check-list li + li { margin-top: .55rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--purple); color: white; font-size: .8rem; font-weight: 900; }

.contact-section { background: #f7f3ff; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 4rem; align-items: center; }
.contact-grid h2 { margin-bottom: 0; }
.contact-actions { display: grid; gap: .9rem; }
.contact-row { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.2rem; border: 1px solid #d9d0ee; border-radius: 1rem; background: white; color: var(--navy); font-weight: 800; text-decoration: none; box-shadow: 0 8px 20px rgba(38,21,79,.05); }
.contact-row > span:first-child { color: var(--purple); font-size: 1.5rem; }
.contact-row small { display: block; color: var(--muted); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .11em; }

.site-footer { padding: 3.7rem 0 1.25rem; color: #f7f3ff; background: linear-gradient(135deg, #35107e, #190b55 72%); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr 1fr .5fr; gap: 3rem; }
.footer-brand { overflow: hidden; border-radius: .75rem; background: white; box-shadow: 0 12px 30px rgba(0,0,0,.16); }
.footer-brand .brand-logo { width: 17rem; height: 6.2rem; object-position: center 34%; }
.footer-grid > div:first-child > p { max-width: 25rem; margin-top: 1rem; color: #d9cfee; }
.site-footer h2 { margin-bottom: .85rem; color: white; font-size: 1rem; letter-spacing: .02em; }
.site-footer nav, .footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; }
.site-footer nav a, .footer-contact a { color: #e5dcf6; text-decoration: none; }
.site-footer nav a:hover, .footer-contact a:hover { color: white; text-decoration: underline; }
.footer-mantra { margin: 0; color: white; font-family: Georgia, serif; font-size: 1.25rem; font-style: italic; line-height: 1.15; transform: rotate(-3deg); }
.footer-bottom { margin-top: 2.2rem; padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,.2); color: #d4c9e9; font-size: .88rem; }

@media (max-width: 1060px) {
  .header-cta { display: none; }
  .site-nav { gap: .8rem; }
  .site-nav a { font-size: .82rem; }
  .outcomes-grid { grid-template-columns: repeat(2, 1fr); }
  .outcome + .outcome { border-left: 0; }
  .outcome:nth-child(even) { border-left: 1px solid var(--line); }
  .outcome:nth-child(n+3) { border-top: 1px solid var(--line); }
  .outcome:last-child { grid-column: 1 / -1; }
  .esa-hero-grid { grid-template-columns: 1fr .72fr; }
  .esa-feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 5rem; }
  .shell { width: min(100% - 1.5rem, 46rem); }
  .header-inner { min-height: 4.8rem; }
  .brand-logo { width: 12.5rem; height: 4.4rem; }
  .menu-toggle {
    display: grid; gap: .28rem; width: 2.8rem; height: 2.8rem; margin-left: auto; padding: .65rem;
    border: 1px solid var(--line); border-radius: .8rem; background: white; cursor: pointer;
  }
  .menu-toggle span:not(.sr-only) { display: block; height: 2px; background: var(--navy); border-radius: 99px; transition: .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(3) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(4) { transform: translateY(-6px) rotate(-45deg); }
  .site-nav {
    position: absolute; top: calc(100% + 1px); left: .75rem; right: .75rem; display: none;
    padding: .75rem; border: 1px solid var(--line); border-radius: 0 0 1rem 1rem; background: white; box-shadow: var(--shadow);
  }
  .site-nav.open { display: grid; }
  .site-nav a { padding: .72rem .65rem; font-size: 1rem; }
  .site-nav a::after { display: none; }
  .hero { min-height: auto; align-items: flex-end; padding-top: clamp(14.5rem, 62vw, 19rem); }
  .hero-photo {
    background-color: #f7f3fb;
    background-position: 66% top;
    background-size: auto clamp(20rem, 78vw, 24rem);
  }
  .hero-wash { background: linear-gradient(180deg, rgba(255,255,255,0) 23%, rgba(255,255,255,.82) 42%, #fff 57%); }
  .hero-content { padding-top: 2rem; padding-bottom: 3.25rem; }
  .hero h1 { font-size: clamp(2.5rem, 9.5vw, 3.65rem); }
  .program-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .program-card { min-height: auto; }
  .about-grid, .contact-grid { gap: 2rem; }
  .about-copy { padding-left: 1.25rem; }
  .community-section { min-height: auto; align-items: flex-start; padding-top: clamp(16rem, 64vw, 20rem); background: white; }
  .community-photo {
    bottom: auto;
    height: clamp(18rem, 72vw, 22rem);
    background-color: #eee8fa;
    background-position: 10% 28%;
    background-size: cover;
  }
  .community-overlay {
    bottom: auto;
    height: clamp(18rem, 72vw, 22rem);
    background: linear-gradient(180deg, rgba(255,255,255,0) 66%, rgba(255,255,255,.96) 100%);
  }
  .community-content { z-index: 1; justify-content: stretch; padding-top: 0; padding-bottom: 2.5rem; }
  .community-card { width: 100%; margin-top: -1.5rem; padding: 1.7rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .esa-hero-grid { grid-template-columns: 1fr; }
  .esa-hero-copy { padding: 4.5rem 0 3rem; }
  .esa-hero-image { min-height: auto; margin: 0 calc((100vw - min(100% - 1.5rem, 46rem)) / -2); border: 0; }
  .esa-hero-image img { width: min(100%, 34rem); height: auto; }
  .esa-value-grid, .esa-two-column, .esa-instructor-grid, .esa-codii-grid, .esa-family-grid, .esa-cta-inner { grid-template-columns: 1fr; }
  .esa-value-grid article + article { border-left: 0; border-top: 1px solid rgba(255,255,255,.2); }
  .esa-two-column, .esa-instructor-grid, .esa-codii-grid, .esa-family-grid, .esa-cta-inner { gap: 2.3rem; }
  .esa-path-grid { grid-template-columns: 1fr; }
  .esa-path-grid article + article { border-left: 0; border-top: 1px solid rgba(255,255,255,.2); }
  .codii-portrait { width: min(20rem, 78vw); }
}

@media (max-width: 540px) {
  .section { padding: 4rem 0; }
  .header-inner { min-height: 4.35rem; }
  .brand-logo { width: 11rem; height: 3.9rem; }
  .hero { padding-top: 14rem; }
  .hero-content { padding-top: 1.5rem; padding-bottom: 2.75rem; }
  .hero .eyebrow { margin-bottom: .85rem; font-size: .7rem; line-height: 1.65; }
  .hero h1 { margin-bottom: 1rem; font-size: clamp(2.25rem, 10vw, 2.9rem); }
  .hero-copy { font-size: 1.05rem; }
  .spectrum-line { width: 100%; height: .42rem; margin-bottom: 1.25rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .outcome, .outcome:nth-child(even) { border-left: 0; }
  .outcome + .outcome { border-top: 1px solid var(--line); }
  .outcome:last-child { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-mantra { transform: none; }
  .community-section { padding-top: 15rem; }
  .community-photo, .community-overlay { height: 17rem; }
  .community-card { margin-top: -1rem; padding: 1.4rem; }
  .community-card h2 { font-size: 2.15rem; }
  .community-lead { font-size: 1.05rem; }
  .esa-provider-badge { align-items: flex-start; border-radius: 1rem; line-height: 1.35; }
  .esa-hero h1 { font-size: clamp(2.75rem, 14vw, 4rem); }
  .esa-hero-image { min-height: auto; }
  .esa-value-grid article { padding-inline: .8rem; }
  .esa-check-grid, .esa-feature-grid, .credential-list { grid-template-columns: 1fr; }
  .esa-approved-card { flex-direction: column; padding: 1.6rem; }
}

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