/* ==========================================================================
   ENHANCE LEARN / EXCELSA ACADEMY — ORGANIZED STYLESHEET
   --------------------------------------------------------------------------
   Contents
   01. Design tokens & global base
   02. Header & navigation
   03. Hero & shared homepage structure
   04. Programs & capability sections
   05. Learning method
   06. Grade / age cards
   07. Parent / trust section
   08. Inner pages & program detail pages
   09. Contact & forms
   10. Footer
   11. Motion, accessibility & responsive rules
   12. Excelsa visual-theme overrides
   13. Creative component system

   NOTE: This file was reformatted and sectioned for maintainability.
   Rule order and CSS behavior are intentionally preserved.
   ========================================================================== */


/* ----------------------------------------------------------------------
   DESIGN TOKENS
   ---------------------------------------------------------------------- */
:root {
  --ink: #141414;
  --blue: #273db4;
  --red: #c50900;
  --pink: #f95ca4;
  --orange: #ed7845;
  --paper: #fff;
  --mist: #f3f2fb;
  --line: #dedee8;
  --muted: #5d5d69;
  --max: 1180px;
  --shadow: 0 18px 50px rgba(20,20,20,.09);
  --font: "Aptos","Inter","Segoe UI",Arial,sans-serif;
}


/* ----------------------------------------------------------------------
   GLOBAL RESET & BASE ELEMENTS
   ---------------------------------------------------------------------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

button,input,select,textarea {
  font: inherit;
}

button {
  color: inherit;
}

h1,h2,h3 {
  margin: 0 0 .55em;
  line-height: 1.05;
  letter-spacing: -.035em;
}

h1 {
  font-size: clamp(3.15rem,7vw,6.75rem);
  font-weight: 750;
}

h2 {
  font-size: clamp(2.25rem,4.2vw,4.25rem);
  font-weight: 720;
}

h3 {
  font-size: clamp(1.35rem,2vw,1.8rem);
}

p {
  margin: 0 0 1.15em;
}

.shell {
  width: min(calc(100% - 40px),var(--max));
  margin-inline: auto;
}

.narrow {
  max-width: 850px;
}

.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;
  left: 20px;
  top: -100px;
  z-index: 1000;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
}

.skip-link:focus {
  top: 20px;
}

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

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 13px 22px;
  border: 2px solid var(--blue);
  background: var(--blue);
  color: #fff;
  font-size: .95rem;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition: background .2s,color .2s,transform .2s;
}

.button:hover {
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-2px);
}

.button-small {
  min-height: 42px;
  padding: 10px 16px;
  font-size: .88rem;
}

.button-light {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.button-light:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.button-dark {
  background: var(--ink);
  border-color: var(--ink);
}

.text-link,.card-link {
  font-weight: 760;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}

.text-link span,.card-link span {
  display: inline-block;
  transition: transform .2s;
}

.text-link:hover span,.card-link:hover span {
  transform: translateX(4px);
}

.button-row {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}


/* ----------------------------------------------------------------------
   HEADER & NAVIGATION
   ---------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid transparent;
  transition: border-color .2s,box-shadow .2s;
}


/* ----------------------------------------------------------------------
   HEADER & NAVIGATION
   ---------------------------------------------------------------------- */
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 25px rgba(20,20,20,.05);
}

.nav-shell {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand {
  display: block;
  flex: 0 0 auto;
}

.brand img {
  width: 214px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 29px;
}

.site-nav>a:not(.button) {
  font-size: .92rem;
  font-weight: 680;
  text-decoration: none;
}

.site-nav>a:not(.button):hover {
  color: var(--blue);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 1px solid var(--ink);
  background: #fff;
}

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


/* ----------------------------------------------------------------------
   LEGACY / SHARED HERO FOUNDATION
   ---------------------------------------------------------------------- */
.hero-section {
  min-height: 760px;
  padding: 85px 0 75px;
  background: var(--mist);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(420px,.95fr);
  gap: 70px;
  align-items: center;
}

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

.hero-copy h1 {
  max-width: 770px;
}

.hero-lead {
  max-width: 700px;
  color: #40404a;
  font-size: clamp(1.08rem,1.8vw,1.35rem);
  line-height: 1.58;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 38px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid #cfcfdb;
  list-style: none;
}

.hero-points li {
  font-size: .84rem;
  font-weight: 760;
}

.hero-points li:before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  background: var(--red);
}

.hero-visual {
  min-height: 555px;
  display: grid;
  place-items: center;
}

.visual-stage {
  position: relative;
  width: min(100%,520px);
  height: 520px;
}

.visual-stage:before,.visual-stage:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: multiply;
}

.visual-stage:before {
  width: 280px;
  height: 280px;
  right: 10px;
  top: 25px;
  background: var(--pink);
  opacity: .8;
}

.visual-stage:after {
  width: 240px;
  height: 240px;
  left: 20px;
  bottom: 22px;
  background: var(--orange);
  opacity: .75;
}

.visual-card {
  position: absolute;
  z-index: 2;
  width: 260px;
  min-height: 180px;
  padding: 26px;
  border: 2px solid var(--ink);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .25s;
}

.visual-card:hover {
  transform: translateY(-6px);
}

.visual-card span {
  display: block;
  margin-bottom: 34px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.visual-card strong {
  display: block;
  max-width: 180px;
  font-size: 1.45rem;
  line-height: 1.1;
}

.visual-card i {
  position: absolute;
  right: 20px;
  bottom: 10px;
  color: var(--blue);
  font: normal 700 4.2rem/1 Georgia,serif;
}

.card-chess {
  left: 5px;
  top: 85px;
}

.card-speak {
  right: 2px;
  top: 225px;
  background: var(--blue);
  color: #fff;
}

.card-speak i {
  color: var(--pink);
}

.card-art {
  left: 75px;
  bottom: 5px;
  background: var(--ink);
  color: #fff;
}

.card-art i {
  color: var(--orange);
}

.visual-orbit {
  position: absolute;
  border: 1px solid rgba(20,20,20,.24);
  border-radius: 50%;
}

.orbit-one {
  inset: 5px 60px 90px 0;
}

.orbit-two {
  inset: 100px 0 0 110px;
}

.trust-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.trust-strip .shell {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.trust-strip span {
  font-size: .75rem;
  font-weight: 780;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.trust-strip span+span:before {
  content: "/";
  margin-right: 28px;
  color: var(--orange);
}


/* ----------------------------------------------------------------------
   SHARED SECTION LAYOUTS
   ---------------------------------------------------------------------- */
.section {
  padding: 120px 0;
}


/* ----------------------------------------------------------------------
   SHARED SECTION LAYOUTS
   ---------------------------------------------------------------------- */
.section-heading {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 90px;
  align-items: end;
  margin-bottom: 55px;
}


/* ----------------------------------------------------------------------
   SHARED SECTION LAYOUTS
   ---------------------------------------------------------------------- */
.section-heading h2 {
  max-width: 760px;
}


/* ----------------------------------------------------------------------
   SHARED SECTION LAYOUTS
   ---------------------------------------------------------------------- */
.section-heading>p {
  color: var(--muted);
  font-size: 1.08rem;
}


/* ----------------------------------------------------------------------
   SHARED SECTION LAYOUTS
   ---------------------------------------------------------------------- */
.section-heading.compact {
  grid-template-columns: 1fr;
  margin-bottom: 42px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.program-card {
  position: relative;
  min-height: 380px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: #fff;
  overflow: hidden;
}

.program-card:before {
  content: "";
  position: absolute;
  width: 145px;
  height: 145px;
  right: -58px;
  top: -58px;
  border-radius: 50%;
  background: var(--card-accent);
  opacity: .18;
  transition: transform .25s;
}

.program-card:hover:before {
  transform: scale(1.35);
}

.accent-blue {
  --card-accent: var(--blue);
}

.accent-red {
  --card-accent: var(--red);
}

.accent-pink {
  --card-accent: var(--pink);
}

.accent-orange {
  --card-accent: var(--orange);
}

.program-card-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 70px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.program-card h3 {
  font-size: 2rem;
}

.program-card h3 a {
  text-decoration: none;
}

.program-card p {
  color: var(--muted);
}

.program-card .card-link {
  margin-top: auto;
  align-self: flex-start;
  font-size: .9rem;
}


/* ----------------------------------------------------------------------
   CAPABILITY / DARK SECTION
   ---------------------------------------------------------------------- */
.section-dark {
  background: var(--ink);
  color: #fff;
}


/* ----------------------------------------------------------------------
   SHARED SECTION LAYOUTS
   ---------------------------------------------------------------------- */
.section-dark .eyebrow {
  color: var(--pink);
}

.capability-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3,.72fr);
  gap: 0;
}

.capability-intro {
  padding-right: 65px;
}

.capability-intro p:last-child {
  color: #bbb;
}

.capability-grid article {
  min-height: 390px;
  padding: 10px 28px 28px;
  border-left: 1px solid #4a4a4a;
  display: flex;
  flex-direction: column;
}

.capability-grid article>span {
  margin-bottom: auto;
  color: var(--orange);
  font-size: .78rem;
  font-weight: 800;
}

.capability-grid article p {
  color: #bdbdc5;
  font-size: .95rem;
}


/* ----------------------------------------------------------------------
   LEARNING METHOD
   ---------------------------------------------------------------------- */
.method-section {
  background: #fff;
}

.method-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 100px;
}

.method-copy {
  position: sticky;
  top: 135px;
  align-self: start;
}

.method-copy>p:not(.eyebrow) {
  color: var(--muted);
}

.method-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}

.method-list li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 25px;
  padding: 28px 0;
  border-bottom: 1px solid var(--ink);
}

.method-list li>span {
  font-size: .74rem;
  font-weight: 800;
  color: var(--blue);
}

.method-list h3 {
  margin-bottom: 8px;
}

.method-list p {
  margin: 0;
  color: var(--muted);
}


/* ----------------------------------------------------------------------
   GRADE / AGE SECTION
   ---------------------------------------------------------------------- */
.grade-section {
  background: var(--mist);
}


/* ----------------------------------------------------------------------
   GRADE CARDS — RESPONSIVE IMAGE ENVELOPES
   Single source of truth. No generated ::before / ::after folds.
   ---------------------------------------------------------------------- */
.grade-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.grade-grid article {
  position: relative;
  min-height: 310px;
  padding: 32px;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  box-shadow: 0 16px 32px rgba(30, 38, 70, .12);
}

.grade-grid article:nth-child(1) {
  background-image: url("../images/grade-envelope-red.png");
  color: #fff;
}

.grade-grid article:nth-child(2) {
  background-image: url("../images/grade-envelope-beige.png");
  color: #17223f;
}

.grade-grid article:nth-child(3) {
  background-image: url("../images/grade-envelope-teal.png");
  color: #fff;
}

.grade-grid article > * {
  position: relative;
  z-index: 1;
}

.grade-grid .grade-label {
  display: inline-block;
  width: fit-content;
  margin: 0 0 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  color: inherit;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.grade-grid article:nth-child(2) .grade-label {
  background: rgba(23, 34, 63, .09);
  color: #17223f;
}

.grade-grid article h3,
.grade-grid article p,
.grade-grid article p:last-child {
  color: inherit;
  text-shadow: none;
}

.grade-grid article:nth-child(1) p,
.grade-grid article:nth-child(3) p {
  color: rgba(255, 255, 255, .94);
}

.grade-grid article:nth-child(2) p {
  color: #293149;
}




/* ----------------------------------------------------------------------
   PARENT / TRUST SECTION
   ---------------------------------------------------------------------- */
.parent-section {
  padding-bottom: 140px;
}

.parent-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.parent-panel {
  min-height: 430px;
  padding: 55px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--blue);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.parent-panel:before,.parent-panel:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: .8;
  mix-blend-mode: multiply;
}

.parent-panel:before {
  width: 240px;
  height: 240px;
  background: var(--pink);
  right: -50px;
  top: -55px;
}

.parent-panel:after {
  width: 190px;
  height: 190px;
  background: var(--orange);
  right: 80px;
  top: 90px;
}

.parent-panel>* {
  position: relative;
  z-index: 1;
}

.parent-panel .eyebrow {
  color: #fff;
}

.check-list {
  list-style: none;
  margin: 28px 0 32px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 22px;
}

.check-list li:before {
  content: "✓";
  margin-right: 9px;
  color: var(--blue);
  font-weight: 900;
}


/* ----------------------------------------------------------------------
   INNER PAGES & BREADCRUMBS
   ---------------------------------------------------------------------- */
.breadcrumbs {
  padding-top: 22px;
}


/* ----------------------------------------------------------------------
   INNER PAGES & BREADCRUMBS
   ---------------------------------------------------------------------- */
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .78rem;
}


/* ----------------------------------------------------------------------
   INNER PAGES & BREADCRUMBS
   ---------------------------------------------------------------------- */
.breadcrumbs li+li:before {
  content: "/";
  margin-right: 8px;
  color: #94949d;
}


/* ----------------------------------------------------------------------
   INNER PAGES & BREADCRUMBS
   ---------------------------------------------------------------------- */
.breadcrumbs a {
  color: var(--muted);
}

.inner-hero {
  padding: 90px 0 75px;
}

.inner-hero p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.18rem;
}

.inner-hero h1 {
  font-size: clamp(3.5rem,8vw,7.5rem);
}

.program-directory {
  border-top: 1px solid var(--ink);
}

.directory-row {
  display: grid;
  grid-template-columns: 80px 1fr 64px;
  gap: 30px;
  align-items: center;
  padding: 44px 8px;
  border-bottom: 1px solid var(--ink);
}

.directory-number {
  font-size: .76rem;
  font-weight: 800;
  color: var(--card-accent);
}

.directory-row h2 {
  font-size: clamp(2rem,4vw,3.6rem);
  margin-bottom: 10px;
}

.directory-row h2 a {
  text-decoration: none;
}

.directory-row p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
}

.circle-link {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 2px solid var(--card-accent);
  border-radius: 50%;
  color: var(--card-accent);
  font-size: 1.5rem;
  text-decoration: none;
}

.circle-link:hover {
  background: var(--card-accent);
  color: #fff;
}


/* ----------------------------------------------------------------------
   PROGRAM DETAIL PAGES
   ---------------------------------------------------------------------- */
.program-hero {
  margin-top: 20px;
  padding: 90px 0;
  background: var(--mist);
  border-top: 10px solid var(--card-accent);
}


/* ----------------------------------------------------------------------
   PROGRAM DETAIL PAGES
   ---------------------------------------------------------------------- */
.program-hero-grid {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 80px;
  align-items: center;
}


/* ----------------------------------------------------------------------
   PROGRAM DETAIL PAGES
   ---------------------------------------------------------------------- */
.program-hero h1 {
  font-size: clamp(4rem,9vw,8.5rem);
}


/* ----------------------------------------------------------------------
   PROGRAM DETAIL PAGES
   ---------------------------------------------------------------------- */
.program-hero p:not(.eyebrow) {
  max-width: 760px;
  font-size: 1.25rem;
  color: #41414b;
}

.program-mark {
  position: relative;
  width: 300px;
  height: 300px;
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  background: #fff;
}

.program-mark:before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: var(--card-accent);
  opacity: .82;
}

.program-mark span {
  position: absolute;
  left: 18px;
  top: 14px;
  font-size: .75rem;
  font-weight: 800;
}

.program-mark strong {
  position: relative;
  font-size: 10rem;
  line-height: 1;
  mix-blend-mode: multiply;
}

.program-detail-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) 330px;
  gap: 100px;
}

.rich-content {
  font-size: 1.06rem;
}

.rich-content h2 {
  font-size: clamp(2rem,3.5vw,3.2rem);
  margin-top: 1.3em;
}

.rich-content h3 {
  margin-top: 1.5em;
}

.rich-content p,.rich-content li {
  color: #41414b;
}

.rich-content a {
  color: var(--blue);
}

.content-intro {
  font-size: 1.28rem;
  line-height: 1.6;
}

.split-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  margin: 70px 0;
  padding: 45px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.split-content h2 {
  font-size: 2.2rem;
  margin-top: 0;
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}


/* ----------------------------------------------------------------------
   VALUE CARDS
   ---------------------------------------------------------------------- */
.value-grid article {
  padding: 25px;
  background: var(--mist);
}

.value-grid h3 {
  margin-top: 0;
}

.outcome-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 30px 0;
  padding: 1px;
  background: var(--line);
  list-style: none;
}

.outcome-list li {
  padding: 20px;
  background: #fff;
}

.outcome-list li:before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  background: var(--blue);
}

.program-aside {
  align-self: start;
  position: sticky;
  top: 125px;
  padding: 30px;
  border: 1px solid var(--ink);
}

.program-aside dl {
  margin: 0 0 28px;
}

.program-aside dl div {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.program-aside dt {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.program-aside dd {
  margin: 5px 0 0;
  color: var(--muted);
}

.faq-section {
  background: var(--mist);
}

.faq-grid {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 100px;
}

.accordion {
  border-top: 1px solid var(--ink);
}

.accordion details {
  border-bottom: 1px solid var(--ink);
}

.accordion summary {
  cursor: pointer;
  list-style: none;
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-weight: 750;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary span {
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform .2s;
}

.accordion details[open] summary span {
  transform: rotate(45deg);
}

.accordion details p {
  padding: 0 45px 25px 0;
  color: var(--muted);
}

.next-program {
  padding: 55px 0;
  background: var(--blue);
  color: #fff;
}

.next-program .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.next-program p {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 720;
}


/* ----------------------------------------------------------------------
   CONTACT & FORMS
   ---------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 85px;
}

.contact-note {
  padding: 34px;
  background: var(--ink);
  color: #fff;
  align-self: start;
}

.contact-note .eyebrow {
  color: var(--pink);
}

.contact-note p {
  color: #d2d2d8;
}

.contact-programs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-programs span {
  padding: 7px 10px;
  border: 1px solid #595961;
  font-size: .75rem;
}

.corepath-form {
  width: 100%;
}

.corepath-form-head {
  margin-bottom: 28px;
}

.corepath-form-grid {
  display: grid;
  grid-template-columns: repeat(12,1fr);
  gap: 18px;
}

.corepath-form-grid .field {
  grid-column: span 6;
  display: grid;
  gap: 8px;
}

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

.corepath-form-grid label {
  font-size: .82rem;
  font-weight: 750;
}

.corepath-form input,.corepath-form select,.corepath-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #9d9da8;
  background: #fff;
  color: var(--ink);
  border-radius: 0;
}

.corepath-form textarea {
  min-height: 145px;
  resize: vertical;
}

.corepath-form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.corepath-form-status {
  font-size: .9rem;
}

.corepath-form-status.is-error {
  color: var(--red);
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
}

.form-privacy {
  font-size: .82rem;
  color: var(--muted);
}

.not-found {
  min-height: 650px;
  padding: 105px 0;
}

.error-code {
  margin: 0;
  color: var(--pink);
  font-size: 9rem;
  font-weight: 800;
  line-height: .8;
}


/* ----------------------------------------------------------------------
   FOOTER
   ---------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: #fff;
}

.footer-cta {
  padding: 65px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  border-bottom: 1px solid #444;
}

.footer-cta .eyebrow {
  color: var(--pink);
}

.footer-cta h2 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(2rem,4vw,3.6rem);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr repeat(3,.65fr);
  gap: 55px;
  padding: 70px 0;
}

.footer-brand img {
width: 230px;
    margin-bottom: 22px;
    height: 40px;
}

.footer-brand p {
  max-width: 360px;
  color: #bdbdc5;
}

.footer-main h3 {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
}

.footer-main>div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-main a {
  color: #d5d5db;
  text-decoration: none;
  font-size: .92rem;
}

.footer-main a:hover {
  color: #fff;
}

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid #444;
}

.footer-base p {
  margin: 0;
  color: #a9a9b2;
  font-size: .78rem;
}


/* ----------------------------------------------------------------------
   MOTION & ACCESSIBILITY
   ---------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease,transform .55s ease;
}


/* ----------------------------------------------------------------------
   MOTION & ACCESSIBILITY
   ---------------------------------------------------------------------- */
.reveal.is-visible {
  opacity: 1;
  transform: none;
}


/* ----------------------------------------------------------------------
   RESPONSIVE / MEDIA QUERY: (prefers-reduced-motion:reduce)
   ---------------------------------------------------------------------- */
@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  * {
    transition-duration: .01ms !important;
  }

}


/* ----------------------------------------------------------------------
   RESPONSIVE / MEDIA QUERY: (max-width:1050px)
   ---------------------------------------------------------------------- */
@media (max-width:1050px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .hero-section {
    padding-top: 65px;
  }

  .hero-copy {
    max-width: 800px;
  }

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

  .visual-stage {
    height: 470px;
  }

  .section-heading {
    gap: 50px;
  }

  .program-grid {
    grid-template-columns: repeat(2,1fr);
  }

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

  .capability-intro {
    grid-column: 1/-1;
    padding: 0 0 55px;
  }

  .capability-grid article {
    min-height: 250px;
  }

  .capability-grid article:nth-of-type(2) {
    border-left: 0;
  }

  .method-grid,.parent-grid {
    gap: 55px;
  }

  .program-hero-grid {
    grid-template-columns: 1fr 260px;
  }

  .program-mark {
    width: 250px;
    height: 250px;
  }

  .program-detail-grid {
    gap: 55px;
  }

  .footer-main {
    grid-template-columns: 1.3fr repeat(3,.7fr);
    gap: 30px;
  }

}


/* ----------------------------------------------------------------------
   RESPONSIVE / MEDIA QUERY: (max-width:820px)
   ---------------------------------------------------------------------- */
@media (max-width:820px) {
  body {
    font-size: 16px;
  }

  .site-header {
    position: relative;
  }

  .nav-shell {
    min-height: 76px;
  }

  .brand img {
    width: 185px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    display: none;
    left: 0;
    right: 0;
    top: 76px;
    padding: 22px 20px;
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--ink);
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
  }

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

  .site-nav>a {
    padding: 10px;
  }

  .site-nav .button {
    margin-top: 8px;
  }

  .hero-section {
    min-height: auto;
  }

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

  .visual-stage {
    transform: scale(.84);
    transform-origin: center top;
  }

  .trust-strip .shell {
    padding: 18px 0;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .trust-strip span+span:before {
    margin-right: 14px;
  }

  .section {
    padding: 85px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

  .capability-grid article {
    border-left: 0;
    border-top: 1px solid #4a4a4a;
    min-height: 220px;
    padding: 28px 0;
  }

  .method-grid,.parent-grid,.faq-grid,.contact-layout {
    grid-template-columns: 1fr;
  }

  .method-copy,.program-aside {
    position: static;
  }

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

  .parent-panel {
    min-height: 340px;
  }

  .program-hero-grid {
    grid-template-columns: 1fr;
  }

  .program-mark {
    display: none;
  }

  .program-detail-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    gap: 35px;
  }

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

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

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

  .split-content,.value-grid {
    grid-template-columns: 1fr;
  }

  .outcome-list {
    grid-template-columns: 1fr;
  }

}


/* ----------------------------------------------------------------------
   RESPONSIVE / MEDIA QUERY: (max-width:560px)
   ---------------------------------------------------------------------- */
@media (max-width:560px) {
  .shell {
    width: min(calc(100% - 28px),var(--max));
  }

  h1 {
    font-size: 3.15rem;
  }

  .hero-section {
    padding: 48px 0;
  }

  .hero-visual {
    min-height: 360px;
    margin-inline: -20px;
  }

  .visual-stage {
    width: 500px;
    transform: scale(.68);
    transform-origin: center top;
  }

  .hero-points {
    display: grid;
  }

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

  .program-card {
    min-height: 330px;
  }

  .program-card-top {
    margin-bottom: 45px;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .directory-row {
    grid-template-columns: 40px 1fr;
  }

  .directory-row .circle-link {
    display: none;
  }

  .program-hero {
    padding: 60px 0;
  }

  .program-hero h1 {
    font-size: 3.8rem;
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .footer-base {
    flex-direction: column;
  }

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

  .button-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

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

}


/* ======================================================================
   EXCELSA ACADEMY VISUAL THEME OVERRIDES
   Image-led, vibrant, age-appropriate styling layered over the base CSS.
   ====================================================================== */

:root {
  --ink: #17223f;
  --blue: #3559d9;
  --blue-dark: #253ca4;
  --red: #e64054;
  --pink: #f15b9b;
  --orange: #f49454;
  --yellow: #ffd65a;
  --lavender: #ece8ff;
  --sky: #dff5ff;
  --mint: #dff7ee;
  --paper: #fffdf9;
  --mist: #f7f5ff;
  --line: #d9dcec;
  --muted: #566078;
  --shadow: 0 18px 45px rgba(43,55,105,.12);
  --font: "Avenir Next","Segoe UI","Helvetica Neue",Arial,sans-serif;
}

body {
  background: var(--paper);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.66;
  color: var(--ink);
}

h1,h2 {
  font-family: var(--font);
  font-weight: 300;
  letter-spacing: -.025em;
  line-height: 1.08;
}
h3 {
  font-family: var(--font);
  font-weight: 450;
  letter-spacing: -.025em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(3rem,5.5vw,5.35rem);
}

h2 {
  font-size: clamp(2.15rem,3.8vw,3.75rem);
}

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

.eyebrow {
  color: var(--blue);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.button {
  min-height: 50px;
  padding: 13px 23px;
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  font-weight: 650;
  box-shadow: 0 8px 18px rgba(53,89,217,.18);
}

.button:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
}

.button-dark {
  background: var(--blue);
  border-color: var(--blue);
}

.text-link,.card-link {
  font-weight: 650;
}

.site-header {
  background: rgba(255,253,249,.96);
  backdrop-filter: blur(12px);
}

.site-header.is-scrolled {
  border-color: rgba(53,89,217,.12);
  box-shadow: 0 8px 26px rgba(42,53,98,.08);
}

.nav-shell {
  min-height: 82px;
}

.site-nav>a:not(.button) {
  font-weight: 570;
}

.site-nav>a:not(.button):hover {
  color: var(--pink);
}


/* ----------------------------------------------------------------------
   EXCELSA HOMEPAGE HERO
   ---------------------------------------------------------------------- */
.hero-photo-section {
  min-height: auto;
  padding: 62px 0 0;
  background: var(--lavender);
  border: 0;
  overflow: hidden;
}


/* ----------------------------------------------------------------------
   EXCELSA HOMEPAGE HERO
   ---------------------------------------------------------------------- */
.hero-photo-section .hero-grid {
  grid-template-columns: minmax(0,.83fr) minmax(500px,1.17fr);
  gap: 54px;
  align-items: center;
}


/* ----------------------------------------------------------------------
   EXCELSA HOMEPAGE HERO
   ---------------------------------------------------------------------- */
.hero-photo-section .hero-copy {
  padding: 32px 0 78px;
}


/* ----------------------------------------------------------------------
   EXCELSA HOMEPAGE HERO
   ---------------------------------------------------------------------- */
.hero-photo-section .hero-copy h1 {
  max-width: 720px;
  margin-bottom: 24px;
}


/* ----------------------------------------------------------------------
   EXCELSA HOMEPAGE HERO
   ---------------------------------------------------------------------- */
.hero-photo-section .hero-lead {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.02rem,1.4vw,1.22rem);
  line-height: 1.62;
}


/* ----------------------------------------------------------------------
   EXCELSA HOMEPAGE HERO
   ---------------------------------------------------------------------- */
.hero-photo-section .button-row {
  margin-top: 30px;
}

.hero-photo {
  position: relative;
  align-self: stretch;
  min-height: 570px;
  margin-right: calc((100vw - min(100vw - 40px,var(--max)))/-2);
  overflow: hidden;
  border-radius: 24px 0 0 0;
}

.hero-photo:after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 16px;
  background: var(--yellow);
}

.hero-photo>img {
  width: 100%;
  height: 100%;
  min-height: 570px;
  object-fit: cover;
  object-position: center;
}

.hero-photo-note {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-width: 155px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-photo-note strong {
  font-size: 1.05rem;
  font-weight: 650;
}

.hero-photo-note span {
  font-size: .78rem;
  color: var(--muted);
}

.note-strategy {
  left: 24px;
  bottom: 45px;
  border-left: 7px solid var(--blue);
}

.note-create {
  right: 24px;
  top: 24px;
  border-left: 7px solid var(--pink);
}

.hero-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 74px;
  background: var(--blue);
  color: #fff;
  border-radius: 18px 18px 0 0;
}

.hero-ribbon span {
  padding: 0 42px;
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-ribbon span+span {
  border-left: 1px solid rgba(255,255,255,.35);
}


/* ----------------------------------------------------------------------
   WELCOME STRIP
   ---------------------------------------------------------------------- */
.welcome-strip {
  padding: 72px 0;
  background: var(--pink);
  color: #fff;
}

.welcome-grid {
  display: grid;
  grid-template-columns: .52fr 1.05fr 1fr;
  gap: 55px;
  align-items: center;
}

.welcome-grid .eyebrow {
  color: #fff;
  margin: 0;
}

.welcome-grid h2 {
  margin: 0;
  font-size: clamp(2rem,3vw,3.15rem);
}

.welcome-grid>p:last-child {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

.section {
  padding: 105px 0;
}

.section-heading {
  gap: 72px;
  margin-bottom: 48px;
}

.section-heading>p {
  color: var(--muted);
}


/* ----------------------------------------------------------------------
   PROGRAM SHOWCASE
   ---------------------------------------------------------------------- */
.programs-section {
  background: var(--paper);
}

.program-showcase {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 28px;
}


/* ----------------------------------------------------------------------
   CREATIVE PROGRAM CARD SYSTEM
   ---------------------------------------------------------------------- */
.program-tile {
  --tile-color: var(--blue);
  display: grid;
  grid-template-columns: minmax(190px,.82fr) minmax(0,1.18fr);
  min-height: 330px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 7px solid var(--tile-color);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(42,53,98,.07);
  transition: transform .25s ease,box-shadow .25s ease;
}


/* ----------------------------------------------------------------------
   CREATIVE PROGRAM CARD SYSTEM
   ---------------------------------------------------------------------- */
.program-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}


/* ----------------------------------------------------------------------
   CREATIVE PROGRAM CARD SYSTEM
   ---------------------------------------------------------------------- */
.program-tile.accent-blue {
  --tile-color: var(--blue);
}


/* ----------------------------------------------------------------------
   CREATIVE PROGRAM CARD SYSTEM
   ---------------------------------------------------------------------- */
.program-tile.accent-red {
  --tile-color: var(--red);
}


/* ----------------------------------------------------------------------
   CREATIVE PROGRAM CARD SYSTEM
   ---------------------------------------------------------------------- */
.program-tile.accent-pink {
  --tile-color: var(--pink);
}


/* ----------------------------------------------------------------------
   CREATIVE PROGRAM CARD SYSTEM
   ---------------------------------------------------------------------- */
.program-tile.accent-orange {
  --tile-color: var(--orange);
}

.program-image {
  display: block;
  min-height: 100%;
  overflow: hidden;
}

.program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}


/* ----------------------------------------------------------------------
   CREATIVE PROGRAM CARD SYSTEM
   ---------------------------------------------------------------------- */
.program-tile:hover .program-image img {
  transform: scale(1.035);
}

.program-content {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
}

.program-grade {
  margin: 0 0 16px;
  color: var(--tile-color);
  font-size: .71rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.program-content h3 {
  margin-bottom: 12px;
  font-size: clamp(1.7rem,2.2vw,2.25rem);
}

.program-content h3 a {
  text-decoration: none;
}

.program-content>p:not(.program-grade) {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.6;
}

.program-content .card-link {
  align-self: flex-start;
  margin-top: auto;
  color: var(--tile-color);
  font-size: .88rem;
}


/* ----------------------------------------------------------------------
   CAPABILITY SECTION
   ---------------------------------------------------------------------- */
.capability-section {
  background: var(--sky);
}

.capability-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 72px;
  align-items: center;
}

.capability-intro>p:not(.eyebrow) {
  max-width: 540px;
  color: var(--muted);
}


/* ----------------------------------------------------------------------
   CREATIVE CAPABILITY CARDS
   ---------------------------------------------------------------------- */
.capability-cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}

.capability-card {
  min-height: 330px;
  padding: 28px 24px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  color: var(--ink);
}

.capability-card h3 {
  margin-top: auto;
}

.capability-card p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.58;
}

.capability-blue {
  background: var(--blue);
  color: #fff;
}

.capability-pink {
  background: #ffd8e9;
}

.capability-orange {
  background: #ffddc5;
}

.capability-symbol {
  font-size: 2.35rem;
  font-weight: 500;
  line-height: 1;
}

.capability-blue p {
  color: #eef1ff;
}

.method-section {
  background: var(--paper);
}

.method-grid {
  grid-template-columns: .75fr 1.25fr;
  gap: 75px;
  align-items: start;
}

.method-copy {
  top: 120px;
}

.method-copy>p:not(.eyebrow) {
  color: var(--muted);
}


/* ----------------------------------------------------------------------
   CREATIVE METHOD CARDS
   ---------------------------------------------------------------------- */
.method-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}


/* ----------------------------------------------------------------------
   CREATIVE METHOD CARDS
   ---------------------------------------------------------------------- */
.method-cards article {
  min-height: 225px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}


/* ----------------------------------------------------------------------
   CREATIVE METHOD CARDS
   ---------------------------------------------------------------------- */
.method-cards h3 {
  margin: 28px 0 9px;
}


/* ----------------------------------------------------------------------
   CREATIVE METHOD CARDS
   ---------------------------------------------------------------------- */
.method-cards p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

.method-icon {
  display: block;
  width: 52px;
  height: 12px;
  border-radius: 8px;
}

.method-blue {
  background: var(--blue);
}

.method-pink {
  background: var(--pink);
}

.method-orange {
  background: var(--orange);
}

.method-lavender {
  background: #9c83ed;
}

.grade-section {
  background: var(--lavender);
}

}

.parent-section {
  padding: 105px 0;
  background: var(--mint);
}

.parent-grid {
  grid-template-columns: .95fr 1.05fr;
  gap: 70px;
}


/* ----------------------------------------------------------------------
   PARENT PHOTO / TRUST CONTENT
   ---------------------------------------------------------------------- */
.parent-photo {
  position: relative;
  min-height: 500px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}


/* ----------------------------------------------------------------------
   PARENT PHOTO / TRUST CONTENT
   ---------------------------------------------------------------------- */
.parent-photo:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 120px;
  height: 120px;
  background: var(--yellow);
  border-radius: 100% 0 0 0;
}


/* ----------------------------------------------------------------------
   PARENT PHOTO / TRUST CONTENT
   ---------------------------------------------------------------------- */
.parent-photo img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  object-position: center;
}

.parent-copy>p:not(.eyebrow) {
  color: var(--muted);
}

.check-list li:before {
  color: var(--pink);
}

/* Inner-page polish */
.inner-hero {
  background: var(--lavender);
  padding: 80px 0 70px;
}

.inner-hero h1 {
  font-size: clamp(3.1rem,6.5vw,6rem);
}

.program-hero {
  background: var(--lavender);
  border-top-color: var(--card-accent);
}

.program-hero h1 {
  font-size: clamp(3.5rem,7vw,6.8rem);
}

.program-mark,.program-aside,.value-grid article,.contact-note {
  border-radius: 16px;
}

.program-mark {
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.program-aside {
  border-color: var(--line);
  background: #fff;
}

.value-grid article {
  background: var(--mist);
}

.contact-note {
  background: var(--blue);
}

.contact-note p {
  color: #eef1ff;
}

.contact-note .eyebrow {
  color: #fff;
}

.faq-section {
  background: var(--lavender);
}

.next-program {
  background: var(--pink);
}

.site-footer {
  background: #f3eeff;
  color: var(--ink);
  border-top: 12px solid var(--pink);
}

.footer-cta {
  padding: 64px 0;
  border-bottom: 1px solid rgba(53,89,217,.18);
}

.footer-cta h2 {
  font-weight: 600;
}

.footer-cta .eyebrow {
  color: var(--pink);
}

.footer-main {
  padding: 62px 0;
}

.footer-brand p {
  color: var(--muted);
}

.footer-main h3 {
  color: var(--blue);
  font-weight: 700;
}

.footer-main a {
  color: var(--muted);
}

.footer-main a:hover {
  color: var(--pink);
}

.footer-base {
  border-top: 1px solid rgba(53,89,217,.18);
}

.footer-base p {
  color: var(--muted);
}


/* ----------------------------------------------------------------------
   RESPONSIVE / MEDIA QUERY: (max-width:1100px)
   ---------------------------------------------------------------------- */
@media (max-width:1100px) {
  .hero-photo-section .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-photo-section .hero-copy {
    max-width: 850px;
    padding-bottom: 55px;
  }

  .hero-photo {
    min-height: 520px;
    margin-right: 0;
    border-radius: 22px 22px 0 0;
  }

  .hero-photo>img {
    min-height: 520px;
  }

  .hero-ribbon {
    border-radius: 0;
  }

  .program-tile {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .program-image {
    height: 245px;
  }

  .program-content {
    min-height: 285px;
  }

  .capability-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .capability-intro {
    max-width: 760px;
  }

}


/* ----------------------------------------------------------------------
   RESPONSIVE / MEDIA QUERY: (max-width:820px)
   ---------------------------------------------------------------------- */
@media (max-width:820px) {
  .site-nav {
    background: var(--paper);
  }

  .hero-photo-section {
    padding-top: 28px;
  }

  .hero-photo {
    min-height: 440px;
  }

  .hero-photo>img {
    min-height: 440px;
  }

  .hero-ribbon {
    flex-wrap: wrap;
    padding: 17px;
  }

  .hero-ribbon span {
    padding: 8px 18px;
  }

  .hero-ribbon span+span {
    border-left: 0;
  }

  .welcome-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .welcome-grid h2 {
    max-width: 600px;
  }

  .program-showcase {
    grid-template-columns: 1fr;
  }

  .program-tile {
    grid-template-columns: minmax(210px,.8fr) 1.2fr;
  }

  .program-image {
    height: auto;
  }

  .program-content {
    min-height: 300px;
  }

  .capability-cards {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: 220px;
  }

  .capability-card h3 {
    margin-top: 55px;
  }

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

  .method-copy {
    position: static;
  }

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

  .parent-photo {
    min-height: 430px;
  }

  .parent-photo img {
    min-height: 430px;
  }

}


/* ----------------------------------------------------------------------
   RESPONSIVE / MEDIA QUERY: (max-width:580px)
   ---------------------------------------------------------------------- */
@media (max-width:580px) {
  h1 {
    font-size: clamp(2.75rem,13vw,3.75rem);
  }

  h2 {
    font-size: clamp(2rem,10vw,2.9rem);
  }

  .hero-photo-section .hero-copy {
    padding: 18px 0 46px;
  }

  .hero-photo-section .button-row {
    align-items: stretch;
  }

  .hero-photo-section .button-row .button {
    width: 100%;
  }

  .hero-photo {
    min-height: 340px;
    margin-inline: -14px;
    border-radius: 0;
  }

  .hero-photo>img {
    min-height: 340px;
  }

  .hero-photo-note {
    min-width: 135px;
    padding: 10px 13px;
  }

  .note-strategy {
    left: 14px;
    bottom: 28px;
  }

  .note-create {
    right: 14px;
    top: 14px;
  }

  .hero-ribbon {
    margin-inline: -14px;
    width: auto;
  }

  .hero-ribbon span {
    font-size: .68rem;
  }

  .welcome-strip {
    padding: 55px 0;
  }

  .section {
    padding: 75px 0;
  }

  .section-heading {
    margin-bottom: 35px;
  }

  .program-tile {
    display: block;
  }

  .program-image {
    height: 235px;
  }

  .program-content {
    min-height: 0;
    padding: 25px 22px;
  }

  .program-content .card-link {
    margin-top: 20px;
  }

  .method-cards {
    grid-template-columns: 1fr;
  }

  .method-cards article {
    min-height: 190px;
  }

  .parent-photo,.parent-photo img {
    min-height: 330px;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .footer-main {
    padding: 50px 0;
  }

  .footer-cta {
    padding: 52px 0;
  }

}

/* Creative card system — geometric, varied and deliberately flat */
.program-tile {
  position: relative;
  isolation: isolate;
  border: 0;
  border-radius: 0px 14px 0px 14px;
  box-shadow: 0 14px 34px rgba(42,53,98,.1);
  overflow: hidden;
}


/* ----------------------------------------------------------------------
   CREATIVE PROGRAM CARD SYSTEM
   ---------------------------------------------------------------------- */
.program-tile:before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  width: 72px;
  height: 72px;
  background: var(--tile-color);
  clip-path: polygon(100% 0,100% 100%,0 0);
  pointer-events: none;
}


/* ----------------------------------------------------------------------
   CREATIVE PROGRAM CARD SYSTEM
   ---------------------------------------------------------------------- */
.program-tile:after {
  content: "";
  position: absolute;
  z-index: 3;
  right: 22px;
  top: 21px;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  pointer-events: none;
}


/* ----------------------------------------------------------------------
   CREATIVE PROGRAM CARD SYSTEM
   ---------------------------------------------------------------------- */
.program-tile:nth-child(even) {
  grid-template-columns: minmax(0,1.18fr) minmax(190px,.82fr);
}


/* ----------------------------------------------------------------------
   CREATIVE PROGRAM CARD SYSTEM
   ---------------------------------------------------------------------- */
.program-tile:nth-child(even) .program-image {
  order: 2;
}


/* ----------------------------------------------------------------------
   CREATIVE PROGRAM CARD SYSTEM
   ---------------------------------------------------------------------- */
.program-tile:nth-child(even) .program-content {
  order: 1;
  border-left: 8px solid var(--tile-color);
}


/* ----------------------------------------------------------------------
   CREATIVE PROGRAM CARD SYSTEM
   ---------------------------------------------------------------------- */
.program-tile:nth-child(odd) .program-content {
  border-right: 8px solid var(--tile-color);
}

.program-content {
  position: relative;
  background: #fff;
}

.program-content:before {
  content: "";
  position: absolute;
  width: 54px;
  height: 9px;
  top: 0;
  left: 28px;
  background: var(--tile-color);
}

.program-grade {
  margin-top: 10px;
}

.capability-cards {
  gap: 22px;
  align-items: stretch;
}

.capability-card {
  position: relative;
  isolation: isolate;
  min-height: 350px;
  padding: 34px 27px 30px;
  border-radius: 12px 12px 42px 12px;
  overflow: hidden;
  box-shadow: 9px 10px 0 rgba(53,89,217,.12);
}

.capability-card:before,.capability-card:after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.capability-card:before {
  width: 150px;
  height: 150px;
  right: -58px;
  top: -56px;
  border: 28px solid currentColor;
  border-radius: 50%;
  opacity: .1;
}

.capability-card:after {
  right: 0;
  bottom: 0;
  width: 76px;
  height: 76px;
  background: rgba(255,255,255,.36);
  clip-path: polygon(100% 0,100% 100%,0 100%);
}

.capability-card:nth-child(2) {
  transform: translateY(28px);
  border-radius: 42px 12px 12px 12px;
  box-shadow: 9px 10px 0 rgba(241,91,155,.16);
}

.capability-card:nth-child(3) {
  box-shadow: 9px 10px 0 rgba(244,148,84,.17);
}

.capability-symbol {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 3px solid currentColor;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
}

.method-cards {
  gap: 26px 22px;
  padding: 16px 0 0 42px;
  counter-reset: method-step;
}

.method-cards article {
  counter-increment: method-step;
  position: relative;
  min-height: 235px;
  padding: 34px 30px 28px 58px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(42,53,98,.09);
  overflow: visible;
}


/* ----------------------------------------------------------------------
   CREATIVE METHOD CARDS
   ---------------------------------------------------------------------- */
.method-cards article:before {
  content: "0" counter(method-step);
  position: absolute;
  left: -42px;
  top: 30px;
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border: 10px solid var(--paper);
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 1.18rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(42,53,98,.15);
}


/* ----------------------------------------------------------------------
   CREATIVE METHOD CARDS
   ---------------------------------------------------------------------- */
.method-cards article:nth-child(2):before {
  background: var(--pink);
}


/* ----------------------------------------------------------------------
   CREATIVE METHOD CARDS
   ---------------------------------------------------------------------- */
.method-cards article:nth-child(3):before {
  background: var(--orange);
}


/* ----------------------------------------------------------------------
   CREATIVE METHOD CARDS
   ---------------------------------------------------------------------- */
.method-cards article:nth-child(4):before {
  background: #8368dc;
}


/* ----------------------------------------------------------------------
   CREATIVE METHOD CARDS
   ---------------------------------------------------------------------- */
.method-cards article:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 66px;
  height: 66px;
  background: var(--lavender);
  clip-path: polygon(100% 0,100% 100%,0 0);
}


/* ----------------------------------------------------------------------
   CREATIVE METHOD CARDS
   ---------------------------------------------------------------------- */
.method-cards article:nth-child(2):after {
  background: #ffe1ee;
}


/* ----------------------------------------------------------------------
   CREATIVE METHOD CARDS
   ---------------------------------------------------------------------- */
.method-cards article:nth-child(3):after {
  background: #ffe2cd;
}


/* ----------------------------------------------------------------------
   CREATIVE METHOD CARDS
   ---------------------------------------------------------------------- */
.method-cards article:nth-child(4):after {
  background: #e8e1ff;
}

.method-icon {
  width: 64px;
  height: 8px;
  border-radius: 0;
}


.value-grid article {
  position: relative;
  border-left: 7px solid var(--blue);
  border-radius: 8px 8px 26px 8px;
  box-shadow: 7px 7px 0 rgba(53,89,217,.1);
}


/* ----------------------------------------------------------------------
   VALUE CARDS
   ---------------------------------------------------------------------- */
.value-grid article:nth-child(2) {
  border-left-color: var(--pink);
}


/* ----------------------------------------------------------------------
   VALUE CARDS
   ---------------------------------------------------------------------- */
.value-grid article:nth-child(3) {
  border-left-color: var(--orange);
}


/* ----------------------------------------------------------------------
   VALUE CARDS
   ---------------------------------------------------------------------- */
.value-grid article:nth-child(4) {
  border-left-color: #8368dc;
}


/* ----------------------------------------------------------------------
   RESPONSIVE / MEDIA QUERY: (max-width:1100px)
   ---------------------------------------------------------------------- */
@media (max-width:1100px) {
  .program-tile:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .program-tile:nth-child(even) .program-image {
    order: 1;
  }

  .program-tile:nth-child(even) .program-content {
    order: 2;
    border-left: 0;
    border-right: 8px solid var(--tile-color);
  }

  .capability-card:nth-child(2) {
    transform: none;
  }

}


/* ----------------------------------------------------------------------
   RESPONSIVE / MEDIA QUERY: (max-width:820px)
   ---------------------------------------------------------------------- */
@media (max-width:820px) {
  .program-tile:nth-child(even) {
    grid-template-columns: minmax(210px,.8fr) 1.2fr;
  }

  .program-tile:nth-child(even) .program-image {
    order: 2;
  }

  .program-tile:nth-child(even) .program-content {
    order: 1;
    border-right: 0;
    border-left: 8px solid var(--tile-color);
  }

  .method-cards {
    padding-left: 42px;
  }

}


/* ----------------------------------------------------------------------
   RESPONSIVE / MEDIA QUERY: (max-width:580px)
   ---------------------------------------------------------------------- */
@media (max-width:580px) {
  .program-tile:nth-child(even) {
    display: block;
  }

  .program-tile:nth-child(even) .program-content {
    border-left: 0;
    border-right: 8px solid var(--tile-color);
  }

  .program-tile:before {
    width: 58px;
    height: 58px;
  }

  .program-tile:after {
    right: 17px;
    top: 16px;
  }

  .capability-card {
    min-height: 245px;
    border-radius: 10px 10px 30px 10px;
  }

  .capability-card:nth-child(2) {
    border-radius: 30px 10px 10px 10px;
  }

  .method-cards {
    padding-left: 30px;
  }

  .method-cards article {
    padding: 30px 24px 26px 46px;
  }

  .method-cards article:before {
    left: -30px;
    top: 27px;
    width: 66px;
    height: 66px;
    border-width: 8px;
    font-size: 1rem;
  }

  .grade-grid article {
    min-height: 260px;
  }

}
