
/* ==========================================================================
   SPARK ACADEMY — FRESH 3'S FRIDAYS ("SOFT COLORS. SAME SPARK." SYSTEM)
   Matches the winning Homepage visual architecture & 70/20/10 color balance
   ========================================================================== */

:root {
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif-soft: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --shell-max: 1220px;
  --shell-pad: clamp(20px, 4.5vw, 52px);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 30px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background-color: var(--sp-cream); /* #F8F4EC Warm Cream Foundation */
  color: var(--sp-ink);              /* #26312B Ink (12.30:1 on #F8F4EC) */
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

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

h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol {
  margin: 0;
}

/* Rule 2 & Rule 3: Deep Sage (#4D6254) for links; always underline text links */
a {
  color: var(--sp-deep-sage);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

a:hover {
  color: var(--sp-deep-sage-hover);
}

/* Rule 3: Keep keyboard focus visible with an Ink (#26312B) outline and a white (#FFFFFF) separation ring */
:is(a, button, input, textarea, select, summary):focus-visible {
  outline: 2.5px solid var(--sp-ink) !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 2px var(--sp-white), 0 0 0 4.5px var(--sp-ink) !important;
  border-radius: 6px;
}

.sp-skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 999;
  background: var(--sp-deep-sage);
  color: var(--sp-white);
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}
.sp-skip-link:focus {
  left: 16px;
}

.sc-shell {
  width: min(var(--shell-max), calc(100% - 2 * var(--shell-pad)));
  margin-inline: auto;
}

/* ==========================================================================
   1. SOFT SAGE WAITLIST RIBBON & BREATHABLE WHITE NAVIGATION
   ========================================================================== */

.wl-banner {
  background: var(--sp-sage-tint); /* #E7EBE3 */
  color: var(--sp-ink);
  border-bottom: 1px solid rgba(77, 98, 84, 0.15);
  font-size: 14px;
  line-height: 1.45;
  position: relative;
  z-index: 102;
}

.wl-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 7px var(--shell-pad);
  flex-wrap: nowrap;
  white-space: nowrap;
  text-align: center;
}

a.wl-banner-badge,
.wl-banner-badge {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--sp-ink) !important;
  background: #F5C95D;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1.5px solid rgba(77, 98, 84, 0.28);
  text-decoration: none !important;
  flex-shrink: 0;
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

a.wl-banner-badge:hover,
.wl-banner-badge:hover {
  background: #EBB942;
  border-color: var(--sp-deep-sage);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(38, 49, 43, 0.12);
  text-decoration: none !important;
}

.wl-banner-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sp-deep-sage);
  flex-shrink: 0;
}

.wl-banner p,
.wl-banner-text {
  margin: 0;
  font-size: 13.5px;
  color: var(--sp-ink);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wl-show-xs { display: none; }
@media (max-width: 720px) {
  .wl-hide-md { display: none; }
}
@media (max-width: 520px) {
  .wl-hide-xs { display: none; }
  .wl-show-xs { display: inline; }
  .wl-banner-inner { gap: 8px; padding-inline: 12px; }
  a.wl-banner-badge, .wl-banner-badge { font-size: 11.5px; padding: 4px 10px; }
  .wl-banner p, .wl-banner-text { font-size: 12px; }
}

.wl-banner a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--sp-deep-sage);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sp-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(77, 98, 84, 0.14);
  transition: box-shadow 0.25s ease;
}

.sp-nav.is-scrolled {
  box-shadow: 0 8px 24px -10px rgba(38, 49, 43, 0.08);
}

.sp-nav-inner {
  width: min(var(--shell-max), calc(100% - 2 * var(--shell-pad)));
  margin-inline: auto;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sp-nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.sp-nav-logo-img {
  height: 36px;
  width: auto;
}

.sp-nav-loc-tag {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: var(--sp-quiet);
  padding-left: 14px;
  border-left: 1px solid rgba(77, 98, 84, 0.22);
  white-space: nowrap;
}

.sp-nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sp-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}

.sp-nav-item {
  position: relative;
}

.sp-nav-item > a,
.sp-nav-item-row > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 10px;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--sp-ink);
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
}

.sp-nav-item > a:hover,
.sp-nav-item-row > a:hover,
.sp-nav-item > a[aria-current="page"],
.sp-nav-item.is-active > .sp-nav-item-row > a {
  background: var(--sp-sage-tint);
  color: var(--sp-deep-sage-hover);
  text-decoration: underline;
}

.sp-nav-chevron {
  width: 11px;
  height: 11px;
  color: var(--sp-deep-sage);
  transition: transform 0.2s ease;
}

.sp-has-dropdown.sp-dropdown-open .sp-nav-chevron {
  transform: rotate(180deg);
}

.sp-nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 252px;
  background: var(--sp-white);
  border: 1px solid rgba(77, 98, 84, 0.2);
  border-radius: 14px;
  box-shadow: var(--sp-shadow-float);
  padding: 8px;
  list-style: none;
  z-index: 110;
}

.sp-has-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 8px;
}

.sp-has-dropdown.sp-dropdown-open .sp-nav-dropdown {
  display: block;
}

.sp-nav-dropdown li a {
  display: block;
  padding: 9px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--sp-ink);
  text-decoration: none;
  border-radius: 8px;
}

.sp-nav-dropdown li a:hover,
.sp-nav-dropdown li a[aria-current="page"] {
  background: var(--sp-sage-tint);
  color: var(--sp-deep-sage-hover);
  font-weight: 700;
  text-decoration: underline;
}

.sp-nav-divider {
  height: 1px;
  background: rgba(77, 98, 84, 0.14);
  margin: 6px 8px;
}

.sp-nav-section-label {
  padding: 8px 14px 4px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sp-quiet);
}

.sp-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 8px;
}

/* Primary & Secondary Controls (Rule 2: #4D6254 Deep Sage, hover #3D4F44) */
.sp-btn-primary,
.sp-nav-cta,
.sc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--sp-deep-sage); /* #4D6254 */
  color: var(--sp-white);          /* #FFFFFF */
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.sp-btn-primary svg,
.sp-nav-cta svg,
.sc-button svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.sp-btn-primary:hover,
.sp-nav-cta:hover,
.sc-button:hover {
  background: var(--sp-deep-sage-hover); /* #3D4F44 */
  color: var(--sp-white);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(61, 79, 68, 0.22);
}

.sc-button {
  min-height: 52px;
  padding: 13px 26px;
  font-size: 15.5px;
}

.sc-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 13px 24px;
  background: var(--sp-white);
  color: var(--sp-deep-sage);
  border: 2px solid var(--sp-deep-sage);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.sc-button-secondary:hover {
  background: var(--sp-sage-tint);
  color: var(--sp-deep-sage-hover);
  border-color: var(--sp-deep-sage-hover);
}

.sc-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: var(--sp-deep-sage);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

.sc-link:hover {
  color: var(--sp-deep-sage-hover);
}

.sp-nav-mobile-actions { display: none; }
.sp-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 2px solid var(--sp-deep-sage);
  background: var(--sp-white);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.sp-nav-hamburger,
.sp-nav-hamburger::before,
.sp-nav-hamburger::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--sp-ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  position: relative;
}
.sp-nav-hamburger::before,
.sp-nav-hamburger::after { content: ""; position: absolute; left: 0; }
.sp-nav-hamburger::before { top: -6px; }
.sp-nav-hamburger::after { top: 6px; }
.sp-nav-toggle[aria-expanded="true"] .sp-nav-hamburger { background: transparent; }
.sp-nav-toggle[aria-expanded="true"] .sp-nav-hamburger::before { top: 0; transform: rotate(45deg); }
.sp-nav-toggle[aria-expanded="true"] .sp-nav-hamburger::after { top: 0; transform: rotate(-45deg); }

/* ==========================================================================
   2. HERO STAGE & 3 SOFT-TINTED "AT A GLANCE" FACT CARDS (cp-hero + cp-facts)
   Uses the exact same White Frame + Warm Cream Stage + 3 Tinted Cards as Homepage!
   ========================================================================== */

.sc-hero-outer {
  padding-top: clamp(20px, 3vw, 36px);
  padding-bottom: clamp(28px, 4vw, 48px);
}

.sc-hero-frame {
  background: var(--sp-white);
  border: 1px solid rgba(77, 98, 84, 0.14);
  border-radius: var(--radius-xl);
  padding: clamp(18px, 2.6vw, 32px);
  box-shadow: var(--sp-shadow-card);
}

.sc-hero-stage-box {
  background: var(--sp-cream); /* #F8F4EC */
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 52px);
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: clamp(28px, 4.5vw, 56px);
  position: relative;
  overflow: hidden;
}

.sc-location {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--sp-ink);
  background: var(--sp-white);
  border: 1px solid rgba(77, 98, 84, 0.2);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.sc-eyebrow-dots {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
.sc-eyebrow-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.sc-hero-copy h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(38px, 4.3vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--sp-ink);
  text-wrap: balance;
}

.sc-hero-copy h1 em {
  font-family: var(--font-serif-soft);
  font-style: italic;
  font-weight: 500;
  color: var(--sp-deep-sage);
  background: linear-gradient(180deg, transparent 62%, var(--sp-butter) 62%, var(--sp-butter) 90%, transparent 90%);
  padding-inline: 4px;
  border-radius: 4px;
}

.sc-lead {
  margin-top: 20px;
  max-width: 49ch;
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.65;
  color: var(--sp-quiet);
}

.sc-lead strong {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(19px, 1.45vw, 22px);
  font-weight: 800;
  color: var(--sp-ink);
  margin-bottom: 6px;
}

.sc-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 28px;
}

/* Quick Program Chips below CTAs */
.cp-hero-pills {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cp-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--sp-ink);
  background: var(--sp-white);
  border: 1px solid rgba(77, 98, 84, 0.22);
  padding: 6px 12px;
  border-radius: 999px;
}

.cp-hero-pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

/* Right Hero Visual Stage with PDF Page 2 Trio of Pastel Orbs */
.sc-hero-visual {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 540px;
}

.sc-pastel-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.sc-orb-butter {
  width: 132px;
  height: 132px;
  background: var(--sp-butter); /* #F1D49A — Signature Fresh 3's accent */
  top: -26px;
  right: 34px;
}

.sc-orb-peach {
  width: 96px;
  height: 96px;
  background: var(--sp-peach); /* #EEB6A4 */
  bottom: 32px;
  right: -22px;
}

.sc-orb-sage {
  width: 84px;
  height: 84px;
  background: var(--sp-sage); /* #8D9B84 */
  bottom: 16px;
  left: -20px;
}

/* Floating Poster Badge in Butter (#F1D49A) with Ink (#26312B) text (>4.5:1) */
.sc-hero-poster-tag {
  position: absolute;
  top: -14px;
  left: -12px;
  z-index: 2;
  background: var(--sp-butter); /* #F1D49A */
  color: var(--sp-ink);         /* #26312B */
  border: 2px solid var(--sp-white);
  border-radius: 14px;
  padding: 9px 14px;
  box-shadow: var(--sp-shadow-card);
  display: flex;
  align-items: center;
  gap: 10px;
}

.sc-hero-poster-tag strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  color: var(--sp-ink);
  line-height: 1.2;
}

.sc-hero-poster-tag span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--sp-ink);
}

.sc-hero-photo {
  position: relative;
  z-index: 1;
  background: var(--sp-white);
  padding: 10px 10px 14px;
  border-radius: 22px;
  box-shadow: var(--sp-shadow-float);
  border: 1px solid rgba(77, 98, 84, 0.14);
}

.sc-hero-photo img.sp-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
}

.sc-hero-photo figcaption {
  margin-top: 10px;
  padding-inline: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--sp-ink);
}

.sc-hero-photo figcaption span {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  background: var(--sp-butter);
  color: var(--sp-ink);
  padding: 3px 10px;
  border-radius: 999px;
}

/* 3 Soft-Tinted "At a Glance" Fact Cards (cp-facts) inside the White Hero Frame */
.cp-facts {
  margin-top: clamp(16px, 2.2vw, 24px);
}

.cp-facts dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 22px);
}

.cp-fact-card {
  border-radius: var(--radius-md);
  padding: clamp(20px, 2.4vw, 26px);
  border: 1px solid rgba(38, 49, 43, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.cp-fact-card:nth-child(1) { background: var(--sp-sage-tint); }  /* #E7EBE3 */
.cp-fact-card:nth-child(2) { background: var(--sp-blush-tint); } /* #F5E5E2 */
.cp-fact-card:nth-child(3) { background: var(--sp-teal-tint); }  /* #E3ECEB */

.cp-fact-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cp-fact-card dt {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  color: var(--sp-ink);
  padding: 4px 12px;
  border-radius: 999px;
  width: fit-content;
}

.cp-fact-card:nth-child(1) dt { background: var(--sp-sage); }       /* #8D9B84 */
.cp-fact-card:nth-child(2) dt { background: var(--sp-butter); }     /* #F1D49A */
.cp-fact-card:nth-child(3) dt { background: var(--sp-dusty-teal); } /* #9EB9B8 */

.cp-fact-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--sp-white);
  color: var(--sp-deep-sage);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.cp-fact-card dd {
  font-family: var(--font-heading);
  font-size: clamp(20px, 1.8vw, 23px);
  font-weight: 800;
  color: var(--sp-ink);
  line-height: 1.25;
}

.cp-fact-card dd span {
  display: block;
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--sp-ink);
}

/* ==========================================================================
   3. BELONGING & LEARNING STORY ("A PLACE TO BELONG, FROM THEIR THIRD BIRTHDAY.")
   Mirrors the Homepage's "Purposeful Play" 2-Column Card Architecture
   ========================================================================== */

.sc-section {
  padding-block: clamp(52px, 6.5vw, 92px);
}

.cp-story {
  scroll-margin-top: 90px;
}

.sc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sp-ink);
  background: var(--sp-sage-tint);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.sc-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sp-sage);
}

.sc-section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--sp-ink);
  text-wrap: balance;
}

.sc-section-title em {
  font-family: var(--font-serif-soft);
  font-style: italic;
  font-weight: 500;
  color: var(--sp-deep-sage);
}

.cp-story-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(24px, 4vw, 44px);
  align-items: stretch;
}

.cp-story-copy {
  background: var(--sp-white);
  border: 1px solid rgba(77, 98, 84, 0.16);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.2vw, 40px);
  box-shadow: var(--sp-shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.cp-story-copy > div > p:not(.sc-kicker) {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.68;
  color: var(--sp-quiet);
}

/* The 3 Learning Rows — Styled identically to Homepage's Early Math / Friendship / Resilience cards! */
.cp-learning {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}

.cp-learning li {
  background: var(--sp-cream); /* #F8F4EC */
  border: 1px solid rgba(77, 98, 84, 0.15);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 224px 1fr;
  align-items: center;
  gap: 20px;
  font-size: 15.5px;
  color: var(--sp-ink);
  line-height: 1.5;
}

.cp-learning li strong {
  font-family: var(--font-heading);
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  color: var(--sp-ink);
  padding: 0 14px;
  height: 38px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  width: 100%;
}

.cp-learning li:nth-child(1) strong { background: var(--sp-butter); }     /* #F1D49A */
.cp-learning li:nth-child(2) strong { background: var(--sp-peach); }      /* #EEB6A4 */
.cp-learning li:nth-child(3) strong { background: var(--sp-sage); }       /* #8D9B84 */

/* Right Visual Card: Friday Discoveries Illustration in Soft Sage Tint (#E7EBE3) */
.cp-story-visual {
  background: var(--sp-sage-tint); /* #E7EBE3 */
  border: 1px solid rgba(77, 98, 84, 0.16);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.sc-story-art {
  background: var(--sp-white);
  border-radius: 18px;
  padding: 18px;
  border: 1px solid rgba(77, 98, 84, 0.14);
  box-shadow: var(--sp-shadow-card);
}

.cp-story-highlight {
  background: var(--sp-white);
  border: 1px solid rgba(77, 98, 84, 0.14);
  border-radius: 16px;
  padding: 18px 20px;
}

.cp-story-highlight-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--sp-butter);
  color: var(--sp-ink);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.cp-story-highlight p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--sp-ink);
}

/* ==========================================================================
   4. FRIDAY MORNING SCHEDULE ("A FRIDAY FULL OF DISCOVERY.")
   Mirrors the Homepage's Sticky Left Ledger + 5 Color-Coded Right Cards!
   ========================================================================== */

.cp-practical {
  background: var(--sp-white);
  border-block: 1px solid rgba(77, 98, 84, 0.14);
}

.cp-morning-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(32px, 5vw, 68px);
  align-items: start;
}

.cp-morning-intro {
  position: sticky;
  top: 98px;
}

.cp-morning-intro > p:not(.sc-kicker) {
  margin-top: 16px;
  font-size: 17px;
  color: var(--sp-quiet);
}

.cp-morning-ledger {
  margin-top: 22px;
  background: var(--sp-cream);
  border: 1px solid rgba(77, 98, 84, 0.18);
  border-radius: 16px;
  padding: 18px 20px;
  display: grid;
  gap: 10px;
}

.cp-morning-ledger-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.cp-morning-ledger-row + .cp-morning-ledger-row {
  padding-top: 10px;
  border-top: 1px dashed rgba(77, 98, 84, 0.24);
}

.cp-morning-ledger-row strong {
  font-family: var(--font-heading);
  color: var(--sp-ink);
}

.cp-morning-ledger-row span {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 12.5px;
  color: var(--sp-ink);
  background: var(--sp-butter);
  padding: 3px 10px;
  border-radius: 999px;
}

/* 5 Schedule Blocks styled with the 5 Soft Poster Pastels */
.cp-schedule {
  display: grid;
  gap: 12px;
}

.cp-schedule-row {
  background: var(--sp-cream); /* #F8F4EC */
  border: 1.5px solid rgba(77, 98, 84, 0.16);
  border-radius: var(--radius-md);
  padding: 18px 22px 18px 26px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 12px 20px;
}

.cp-schedule-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 7px;
  background: var(--sched-pastel, var(--sp-sage));
}

.cp-schedule-row:nth-child(1) { --sched-pastel: var(--sp-sage); }       /* Academic Play: Sage #8D9B84 */
.cp-schedule-row:nth-child(2) { --sched-pastel: var(--sp-dusty-teal); } /* Dev Playroom: Dusty Teal #9EB9B8 */
.cp-schedule-row:nth-child(3) { --sched-pastel: var(--sp-butter); }     /* Daily Enrichment: Butter #F1D49A */
.cp-schedule-row:nth-child(4) { --sched-pastel: var(--sp-peach); }      /* Outdoor Play: Peach #EEB6A4 */
.cp-schedule-row:nth-child(5) { --sched-pastel: var(--sp-blush); }      /* Snack & Break: Blush #E8B9B5 */

.cp-schedule-row dt {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  color: var(--sp-ink);
  grid-column: 1;
}

.cp-schedule-row .cp-duration {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--sp-ink); /* Ink on pastel >= 4.5:1 */
  background: var(--sched-pastel, var(--sp-sage));
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.cp-schedule-row .cp-activity {
  grid-column: 1 / -1;
  font-size: 15px;
  color: var(--sp-quiet);
  line-height: 1.5;
}

/* ==========================================================================
   5. TUITION & GROWING INTO MORE MORNINGS (#tuition-enrollment)
   ========================================================================== */

.cp-enrollment {
  background: var(--sp-cream); /* #F8F4EC */
  scroll-margin-top: 84px;
}

.cp-enrollment-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(28px, 4.5vw, 56px);
  align-items: start;
}

.cp-enrollment-intro p:not(.sc-kicker) {
  margin-top: 16px;
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--sp-quiet);
}

/* Visual Progression Cards: 1 Morning -> 3 Mornings -> 5 Mornings */
.cp-grow-cards {
  margin-top: 24px;
  background: var(--sp-white);
  border: 1px solid rgba(77, 98, 84, 0.16);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--sp-shadow-card);
}

.cp-grow-title {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sp-ink);
  margin-bottom: 12px;
}

.cp-grow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.cp-grow-tier {
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(38, 49, 43, 0.08);
}

.cp-grow-tier:nth-child(1) { background: var(--sp-butter-tint); border-color: var(--sp-butter); }
.cp-grow-tier:nth-child(2) { background: var(--sp-sage-tint); }
.cp-grow-tier:nth-child(3) { background: var(--sp-teal-tint); }

.cp-grow-tier small {
  display: block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--sp-quiet);
}

.cp-grow-tier strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--sp-ink);
  margin-top: 2px;
}

.cp-grow-tier span {
  display: block;
  font-size: 12.5px;
  color: var(--sp-ink);
  margin-top: 2px;
}

/* Right: Elevated Tuition Card */
.cp-tuition {
  background: var(--sp-white);
  border: 1.5px solid rgba(77, 98, 84, 0.2);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.2vw, 36px);
  box-shadow: var(--sp-shadow-float);
  display: grid;
  gap: 18px;
}

.cp-price-banner {
  background: var(--sp-butter-tint); /* #FAF1DC */
  border: 1.5px solid var(--sp-butter);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.cp-price {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--sp-ink);
}

.cp-price strong {
  font-size: clamp(34px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--sp-ink);
}

.cp-price-pill {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  background: var(--sp-butter); /* #F1D49A */
  color: var(--sp-ink);
  padding: 5px 12px;
  border-radius: 999px;
}

.cp-cost-details {
  padding-left: 20px;
  display: grid;
  gap: 10px;
  font-size: 15px;
  color: var(--sp-ink);
}

.cp-cost-details li::marker {
  color: var(--sp-deep-sage);
}

/* CCAP Module on Teal Tint (#E3ECEB) with Dusty Teal (#9EB9B8) badge */
.sp-tuition-ccap {
  background: var(--sp-teal-tint); /* #E3ECEB */
  border: 1px solid rgba(158, 185, 184, 0.7);
  border-radius: 14px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.sp-ccap-seal {
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: var(--sp-dusty-teal); /* #9EB9B8 */
  color: var(--sp-ink);             /* #26312B (6.48:1) */
  padding: 5px 10px;
  border-radius: 8px;
  margin-top: 2px;
}

.sp-tuition-ccap p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--sp-ink);
}

.cp-option {
  font-size: 14.5px;
  color: var(--sp-quiet);
  padding-top: 12px;
  border-top: 1px solid rgba(77, 98, 84, 0.14);
}

/* ==========================================================================
   6. FAQ ACCORDION (cp-faq) — IDENTICAL TO WINNING HOMEPAGE
   ========================================================================== */

.cp-faq-section {
  background: var(--sp-white);
  border-top: 1px solid rgba(77, 98, 84, 0.14);
}

.cp-faq {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(32px, 5.5vw, 72px);
  align-items: start;
}

.cp-faq-intro p:not(.sc-kicker) {
  margin-top: 14px;
  font-size: 16.5px;
  color: var(--sp-quiet);
  max-width: 38ch;
}

.sp-faq-list {
  display: grid;
  gap: 12px;
}

.sp-faq-item {
  background: var(--sp-cream);
  border: 1.5px solid rgba(77, 98, 84, 0.18);
  border-radius: var(--radius-md);
  padding: 0 22px;
}

.sp-faq-item[open] {
  background: var(--sp-white);
  border-color: var(--sp-deep-sage);
  box-shadow: var(--sp-shadow-card);
}

.sp-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-heading);
  font-size: 16.5px;
  font-weight: 800;
  color: var(--sp-ink);
}

.sp-faq-item summary::-webkit-details-marker {
  display: none;
}

.sp-faq-chevron {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--sp-sage-tint);
  color: var(--sp-deep-sage);
  padding: 6px;
  flex-shrink: 0;
  transition: transform 0.25s ease, background-color 0.2s ease;
}

.sp-faq-item[open] .sp-faq-chevron {
  transform: rotate(180deg);
  background: var(--sp-butter); /* #F1D49A */
  color: var(--sp-ink);         /* #26312B */
}

.sp-faq-answer {
  padding-bottom: 22px;
  border-top: 1px solid rgba(77, 98, 84, 0.14);
  padding-top: 16px;
  font-size: 15.5px;
  line-height: 1.68;
  color: var(--sp-quiet);
}

/* ==========================================================================
   7. QUESTION STUDIO (#question-form) — IDENTICAL TO WINNING HOMEPAGE
   ========================================================================== */

.pj-question {
  background: var(--sp-cream);
  border-top: 1px solid rgba(77, 98, 84, 0.14);
  scroll-margin-top: 84px;
}

.pj-question-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5.5vw, 68px);
  align-items: start;
}

.pj-question-copy p:not(.sc-kicker) {
  margin-top: 16px;
  font-size: 17px;
  color: var(--sp-quiet);
}

.pj-prompt-chips {
  margin-top: 24px;
}

.pj-prompt-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sp-ink);
  margin-bottom: 10px;
}

.pj-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pj-chip {
  background: var(--sp-white);
  border: 1.5px solid var(--sp-deep-sage);
  border-radius: 999px;
  padding: 7px 14px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--sp-deep-sage);
  cursor: pointer;
  transition: all 0.18s ease;
}

.pj-chip:hover {
  background: var(--sp-deep-sage);
  color: var(--sp-white);
}

.pj-form {
  background: var(--sp-white);
  border: 1.5px solid rgba(77, 98, 84, 0.2);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--sp-shadow-card);
}

.sp-form-group {
  margin-bottom: 16px;
}

.sp-form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--sp-ink);
  margin-bottom: 6px;
}

.sp-required {
  color: var(--sp-deep-sage);
  font-weight: 800;
}

.sp-form-input,
.sp-form-textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--sp-ink);
  background: var(--sp-cream);
  border: 1.5px solid var(--sp-deep-sage);
  border-radius: 10px;
  padding: 12px 14px;
}

.sp-form-input:focus,
.sp-form-textarea:focus {
  background: var(--sp-white);
}

.pj-contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.sp-form-error {
  margin-bottom: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--sp-blush-tint);
  border: 2px solid var(--sp-ink);
  color: var(--sp-ink);
  font-size: 14px;
  font-weight: 600;
}

.sp-form-submit-teal {
  width: 100%;
  min-height: 52px;
  background: var(--sp-deep-sage);
  color: var(--sp-white);
  border: none;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.sp-form-submit-teal:hover {
  background: var(--sp-deep-sage-hover);
  transform: translateY(-1px);
}

.pj-reply {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--sp-quiet);
  text-align: center;
}

.sp-form-note {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--sp-quiet);
  text-align: center;
}

.pj-phone {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(77, 98, 84, 0.16);
  font-size: 14px;
  text-align: center;
  color: var(--sp-ink);
}

/* ==========================================================================
   8. VISIT & TOUR INVITATION (#visit-spark) — IDENTICAL TO WINNING HOMEPAGE
   ========================================================================== */

.cp-contact {
  background: var(--sp-sage-tint); /* #E7EBE3 */
  border-top: 1px solid rgba(77, 98, 84, 0.16);
  scroll-margin-top: 82px;
}

.cp-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.cp-contact-copy {
  background: var(--sp-white);
  border: 1px solid rgba(77, 98, 84, 0.16);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 42px);
  box-shadow: var(--sp-shadow-card);
}

.cp-contact-copy .sc-kicker {
  background: var(--sp-butter);
}

.cp-contact-copy > p:not(.sc-kicker) {
  margin-top: 16px;
  font-size: 17px;
  color: var(--sp-quiet);
}

.sc-tour-reassurance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.sc-reassurance-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--sp-ink);
  background: var(--sp-cream);
  border: 1px solid rgba(77, 98, 84, 0.18);
  padding: 5px 12px;
  border-radius: 999px;
}

.cp-contact-copy .sc-button {
  margin-top: 24px;
  width: 100%;
}

.cp-call {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(77, 98, 84, 0.14);
  font-size: 15px;
  color: var(--sp-ink);
}

.cp-call a {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--sp-deep-sage);
}

.cp-call span {
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--sp-quiet);
}

.cp-enrollment-steps {
  list-style: none;
  margin: 0;
  padding: 4px 0 0;
  display: grid;
  gap: 18px;
  position: relative;
}

.cp-enrollment-steps::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 32px;
  bottom: 32px;
  width: 2px;
  background: var(--sp-sage);
  opacity: 0.5;
}

.cp-enrollment-steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: start;
  position: relative;
}

.cp-step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid var(--sp-white);
  color: var(--sp-ink);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: var(--sp-shadow-card);
  position: relative;
  z-index: 1;
}

.cp-enrollment-steps li:nth-child(1) .cp-step-number { background: var(--sp-sage); }
.cp-enrollment-steps li:nth-child(2) .cp-step-number { background: var(--sp-butter); }
.cp-enrollment-steps li:nth-child(3) .cp-step-number { background: var(--sp-dusty-teal); }

.cp-step-body {
  background: var(--sp-white);
  border: 1px solid rgba(77, 98, 84, 0.14);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--sp-shadow-card);
}

.cp-step-body h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--sp-ink);
}

.cp-step-body p {
  margin-top: 6px;
  font-size: 15px;
  color: var(--sp-quiet);
  line-height: 1.55;
}

.cp-bottom-question-note {
  margin-top: 28px;
  text-align: center;
  font-size: 15px;
}

/* ==========================================================================
   9. BREATHABLE SAGE-TINT FOOTER (#E7EBE3) — ARCHITECTURAL SOFT SPARK DESIGN
   ========================================================================== */

.sp-footer {
  background-color: var(--sp-sage-tint);
  border-top: 1px solid rgba(77, 98, 84, 0.22);
  color: var(--sp-ink);
  padding: 56px 0 0;
  position: relative;
  overflow: hidden;
}

.sp-footer-inner {
  width: min(var(--shell-max), calc(100% - 2 * var(--shell-pad)));
  margin-inline: auto;
  padding-bottom: 32px;
}

.sp-footer-grid {
  display: grid;
  grid-template-columns: minmax(300px, 360px) 1fr;
  gap: clamp(32px, 4.5vw, 56px);
  align-items: start;
}

/* Left Brand & Campus Card — Elevated Pure White Card so black wordmark shines */
.sp-footer-col-brand,
.sp-footer-welcome {
  background: var(--sp-white);
  border: 1px solid rgba(77, 98, 84, 0.16);
  border-radius: 22px;
  padding: 26px 26px 24px;
  box-shadow: var(--sp-shadow-card);
  position: relative;
  overflow: hidden;
}

.sp-footer-col-brand::before,
.sp-footer-welcome::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--sp-blush) 0% 20%,
    var(--sp-peach) 20% 40%,
    var(--sp-butter) 40% 60%,
    var(--sp-sage) 60% 80%,
    var(--sp-dusty-teal) 80% 100%
  );
}

.sp-footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  background: transparent;
  padding: 2px 0;
  border: none;
  text-decoration: none !important;
}

.sp-footer-logo-img {
  height: 36px;
  width: auto;
}

.sp-footer-tagline {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--sp-quiet);
}

.sp-footer-contact {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(77, 98, 84, 0.14);
  display: grid;
  gap: 10px;
}

.sp-footer-text {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--sp-ink);
  margin: 0;
}

.sp-footer-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--sp-sage-tint);
  color: var(--sp-deep-sage);
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: -2px;
}

.sp-footer-text a {
  color: var(--sp-ink);
  font-weight: 600;
  text-decoration: none !important;
  transition: color 0.15s ease;
}

.sp-footer-text a:hover {
  color: var(--sp-deep-sage-hover);
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.sp-footer-card-actions {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(77, 98, 84, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sp-footer-tour-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--sp-deep-sage);
  color: var(--sp-white) !important;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 999px;
  text-decoration: none !important;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.sp-footer-tour-btn:hover {
  background: var(--sp-deep-sage-hover);
  transform: translateY(-1px);
}

.sp-footer-social {
  margin: 0;
  display: flex;
  gap: 8px;
}

.sp-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sp-cream);
  border: 1px solid rgba(77, 98, 84, 0.22);
  color: var(--sp-deep-sage);
  display: grid;
  place-items: center;
  text-decoration: none !important;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.sp-footer-social a:hover {
  background: var(--sp-deep-sage);
  border-color: var(--sp-deep-sage);
  color: var(--sp-white);
}

/* Right 4-Column Navigation Grid */
.sp-footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 28px;
  padding-top: 4px;
}

.sp-footer-heading {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: var(--sp-ink);
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(77, 98, 84, 0.18);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sp-footer-heading::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sp-sage);
  flex-shrink: 0;
}

.sp-footer-col:nth-child(1) .sp-footer-heading::before { background: var(--sp-sage); }
.sp-footer-col:nth-child(2) .sp-footer-heading::before { background: var(--sp-butter); }
.sp-footer-col:nth-child(3) .sp-footer-heading::before { background: var(--sp-peach); }
.sp-footer-col:nth-child(4) .sp-footer-heading::before { background: var(--sp-dusty-teal); }

.sp-footer-subheading {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sp-quiet);
  margin: 16px 0 8px;
  padding-top: 12px;
  border-top: 1px dashed rgba(77, 98, 84, 0.2);
}

.sp-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

body.sp-soft-spark .sp-footer-links a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--sp-ink);
  line-height: 1.4;
  display: inline-flex;
  align-items: center;
  padding: 2px 0;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
}

body.sp-soft-spark .sp-footer-links a:hover {
  color: var(--sp-deep-sage-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.sp-soft-spark .sp-footer-links a[aria-current="page"] {
  background: var(--sp-white);
  color: var(--sp-deep-sage-hover);
  font-weight: 700;
  padding: 3px 10px;
  margin-left: -10px;
  border-radius: 999px;
  border: 1px solid rgba(77, 98, 84, 0.2);
  box-shadow: 0 1px 2px rgba(38, 49, 43, 0.05);
}

/* Bottom Positioning & Legal Bar */
.sp-footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(77, 98, 84, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.sp-positioning-text {
  font-family: var(--font-serif-soft);
  font-style: italic;
  font-size: 16px;
  color: var(--sp-ink);
  margin: 0;
}

.sp-footer-legal {
  margin: 0;
  font-size: 12.5px;
  color: var(--sp-quiet);
}

body.sp-soft-spark .sp-footer-legal a {
  color: var(--sp-deep-sage);
  font-weight: 600;
  text-decoration: none;
}

body.sp-soft-spark .sp-footer-legal a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sp-pastel-ribbon { display: grid; grid-template-columns: repeat(5, 1fr); height: 8px; }
.sp-pastel-ribbon span:nth-child(1) { background: var(--sp-blush); }
.sp-pastel-ribbon span:nth-child(2) { background: var(--sp-peach); }
.sp-pastel-ribbon span:nth-child(3) { background: var(--sp-butter); }
.sp-pastel-ribbon span:nth-child(4) { background: var(--sp-sage); }
.sp-pastel-ribbon span:nth-child(5) { background: var(--sp-dusty-teal); }

/* ==========================================================================
   10. RESPONSIVE BREAKPOINTS (TABLET 768px & MOBILE 375px)
   ========================================================================== */

@media (max-width: 1360px) {
  .sp-nav-loc-tag { display: none; }
}

@media (max-width: 1390px) {
  .sp-nav-mobile-actions { display: flex; align-items: center; gap: 10px; }
  .sp-nav-toggle { display: inline-flex; }
  .sp-nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--sp-white);
    border-bottom: 2px solid var(--sp-deep-sage);
    box-shadow: var(--sp-shadow-float);
    padding: 16px var(--shell-pad) 24px;
    flex-direction: column;
    align-items: stretch;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.25s ease;
  }
  .sp-nav-menu.sp-nav-open {
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
    opacity: 1;
    pointer-events: auto;
  }
  .sp-nav-links { flex-direction: column; align-items: stretch; }
  .sp-nav-item > a, .sp-nav-item-row > a {
    display: flex;
    width: 100%;
    padding: 14px 8px;
    font-size: 16px;
    border-bottom: 1px solid rgba(77, 98, 84, 0.14);
    border-radius: 0;
    justify-content: space-between;
  }
  .sp-nav-dropdown {
    position: static;
    box-shadow: none;
    border: none;
    background: var(--sp-sage-tint);
    border-radius: 10px;
    margin-block: 6px;
  }
  .sp-has-dropdown.sp-dropdown-open .sp-nav-dropdown { display: block; }
  .sp-nav-actions { margin: 14px 0 0; }
  .sp-nav-actions .sp-nav-cta { width: 100%; justify-content: center; padding: 14px; }
}

@media (max-width: 960px) {
  .sc-hero-stage-box,
  .cp-facts dl,
  .cp-story-grid,
  .cp-morning-grid,
  .cp-enrollment-grid,
  .cp-faq,
  .pj-question-grid,
  .cp-contact-grid,
  .sp-footer-grid {
    grid-template-columns: 1fr;
  }

  .cp-morning-intro {
    position: static;
  }

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

@media (max-width: 599px) {
  .wl-banner-badge { display: none; }
  .wl-banner-inner { font-size: 12px; gap: 4px 8px; padding-block: 7px; }
  .sp-nav-inner { height: 64px; }
  .sp-nav-menu { top: 64px; }
  .sp-nav-logo-img { height: 26px; }
  .sp-nav-mobile-actions { gap: 8px; }
  .sp-nav-mobile-actions .sp-nav-cta { padding: 8px 14px; font-size: 13px; }
  .sp-nav-toggle { width: 40px; height: 40px; flex-shrink: 0; }
  .sc-hero-frame { padding: 12px; border-radius: 22px; }
  .sc-hero-stage-box { padding: 20px 16px; border-radius: 16px; }
  .sc-location { font-size: 11px; padding: 5px 10px; gap: 6px; margin-bottom: 14px; white-space: nowrap; }
  .sc-eyebrow-dots { gap: 3px; }
  .sc-eyebrow-dots span { width: 6px; height: 6px; }
  .sc-actions { flex-direction: column; align-items: stretch; }
  .sc-button, .sc-button-secondary { width: 100%; }
  .sc-hero-poster-tag { position: static; margin-bottom: 10px; width: fit-content; }
  .cp-learning li { grid-template-columns: 1fr; gap: 6px; }
  .cp-grow-grid, .pj-contact-fields { grid-template-columns: 1fr; }
}

/* Fall 2027 Waitlist Butter Highlights in Nav & Footer */
.sp-nav-actions { display: flex; align-items: center; gap: 8px; margin-left: 6px; }
.sp-nav-waitlist {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  background: var(--sp-butter); color: var(--sp-ink) !important;
  font-family: var(--font-heading); font-size: 13px; font-weight: 800;
  padding: 9px 15px; border-radius: 999px; border: 1.5px solid rgba(77, 98, 84, 0.24);
  text-decoration: none !important; white-space: nowrap; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.sp-nav-waitlist::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sp-deep-sage); flex-shrink: 0; }
.sp-nav-waitlist:hover { transform: translateY(-1px); border-color: var(--sp-deep-sage); box-shadow: 0 4px 12px rgba(38, 49, 43, 0.14); }
.sp-nav-dropdown li a.sp-dropdown-waitlist { background: var(--sp-butter); color: var(--sp-ink); font-weight: 800; margin-top: 4px; border: 1px solid rgba(77, 98, 84, 0.22); }
.sp-footer-waitlist-cta {
  margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #F5C95D; color: var(--sp-ink) !important;
  border: 1.5px solid rgba(77, 98, 84, 0.28); border-radius: 14px; padding: 10px 14px;
  text-decoration: none !important; transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
.sp-footer-waitlist-cta:hover { background: #EBB942; transform: translateY(-1px); border-color: var(--sp-deep-sage); box-shadow: 0 4px 12px rgba(38, 49, 43, 0.12); }
.sp-footer-waitlist-label { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-heading); font-size: 13px; font-weight: 800; color: var(--sp-ink); }
.sp-footer-waitlist-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sp-deep-sage); flex-shrink: 0; }
.sp-footer-waitlist-sub { font-family: var(--font-heading); font-size: 12px; font-weight: 700; color: var(--sp-ink); white-space: nowrap; }
body.sp-soft-spark .sp-footer-links a[href="/schedule-a-tour/"] {
  background: var(--sp-deep-sage); color: var(--sp-white); font-weight: 800;
  padding: 5px 13px; margin-left: 0; border-radius: 999px; border: 1.5px solid var(--sp-deep-sage);
  box-shadow: 0 2px 6px rgba(38, 49, 43, 0.12);
}
body.sp-soft-spark .sp-footer-links a[href="/schedule-a-tour/"]::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: #F5C95D; margin-right: 7px; flex-shrink: 0;
}
body.sp-soft-spark .sp-footer-links a[href="/schedule-a-tour/"]:hover {
  background: var(--sp-deep-sage-hover); border-color: var(--sp-deep-sage-hover); color: var(--sp-white); text-decoration: none; transform: translateY(-1px);
}
body.sp-soft-spark .sp-footer-links a[href="/fall-2027-waitlist/"] {
  background: #F5C95D; color: var(--sp-ink); font-weight: 800;
  padding: 5px 13px; margin-left: 0; border-radius: 999px; border: 1.5px solid rgba(77, 98, 84, 0.28);
  box-shadow: 0 2px 6px rgba(38, 49, 43, 0.08);
}
body.sp-soft-spark .sp-footer-links a[href="/fall-2027-waitlist/"]::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sp-deep-sage); margin-right: 6px; flex-shrink: 0;
}
body.sp-soft-spark .sp-footer-links a[href="/fall-2027-waitlist/"]:hover {
  background: #EBB942; color: var(--sp-ink); text-decoration: none; transform: translateY(-1px);
}
@media (max-width: 1560px) { .sp-nav-loc-tag { display: none; } }
@media (max-width: 1390px) {
  .sp-nav-actions { flex-direction: column; gap: 10px; }
  .sp-nav-actions .sp-nav-waitlist { width: 100%; justify-content: center; padding: 14px; }
}
