
/* ===== SPARK HOMEPAGE PAGE — COLORFUL REDESIGN GLOBAL STYLES ===== */

/* --- Brand Colors (base palette — shared across all pages) --- */
:root {
  --sp-teal: #3D6B62;
  --sp-gold: #C49826;
  --sp-gold-hover: #A8821F;
  --sp-sage: #9BB8AD;
  --sp-white: #FBFAF8;
  --sp-whisper: #EFF5F2;
  --sp-text: #2E2E2E;
  --sp-heading: #1A1A1A;
  --sp-gray: #6B7280;
  --sp-max: 1140px;

  /* --- Program Color: Brand Teal (Hub Page) --- */
  --sp-program: #3D6B62;
  --sp-program-dark: #2F5A52;
  --sp-program-deep: #234840;
  --sp-program-light: rgba(61,107,98,0.08);
  --sp-program-lighter: rgba(61,107,98,0.05);
  --sp-program-wash: #EFF5F2;
  --sp-program-whisper: #E8F0EC;
  --sp-program-border: rgba(61,107,98,0.20);

  /* --- Logo Triangle Colors (for decorative motifs) --- */
  --sp-tri-pink: #FAC1BB;
  --sp-tri-orange: #F9A054;
  --sp-tri-yellow: #FFC716;
  --sp-tri-green: #808E71;
  --sp-tri-blue: #5E8B96;
}

/* --- Navigation --- */
.sp-nav {
  background: var(--sp-teal);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.sp-nav-inner {
  max-width: var(--sp-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.sp-nav-logo {
  text-decoration: none;
}
.sp-nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}
.sp-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.sp-nav-hamburger,
.sp-nav-hamburger::before,
.sp-nav-hamburger::after {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s;
}
.sp-nav-hamburger {
  position: relative;
}
.sp-nav-hamburger::before,
.sp-nav-hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}
.sp-nav-hamburger::before { top: -7px; }
.sp-nav-hamburger::after { top: 7px; }
.sp-nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sp-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.sp-nav-item a {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.sp-nav-item a:hover,
.sp-nav-item a[aria-current="page"] {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.sp-has-dropdown {
  position: relative;
}
.sp-nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  padding: 8px 0;
  min-width: 200px;
  list-style: none;
  z-index: 101;
}
.sp-has-dropdown:hover .sp-nav-dropdown {
  display: block;
}
.sp-nav-dropdown li a {
  color: var(--sp-text);
  padding: 10px 20px;
  display: block;
  border-radius: 0;
  font-size: 14px;
}
.sp-nav-dropdown li a:hover {
  background: var(--sp-whisper);
  color: var(--sp-teal);
}
.sp-nav-cta {
  display: inline-block;
  background: var(--sp-gold);
  color: #fff;
  padding: 8px 20px;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s;
  margin-left: 8px;
}
.sp-nav-cta:hover {
  background: var(--sp-gold-hover);
}

/* Mobile nav */
@media (max-width: 900px) {
  .sp-nav-toggle { display: block; }
  .sp-nav-menu {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--sp-teal);
    padding: 16px 24px 24px;
    flex-direction: column;
    align-items: stretch;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .sp-nav-menu.sp-nav-open { display: flex; }
  .sp-nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .sp-nav-item a {
    padding: 12px 16px;
    font-size: 16px;
  }
  .sp-nav-dropdown {
    position: static;
    box-shadow: none;
    background: rgba(255,255,255,0.05);
    border-radius: 0;
    padding: 0;
  }
  .sp-has-dropdown .sp-nav-dropdown { display: block; }
  .sp-nav-dropdown li a {
    color: rgba(255,255,255,0.75);
    padding: 10px 32px;
  }
  .sp-nav-dropdown li a:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
  }
  .sp-nav-cta {
    margin: 16px 0 0;
    text-align: center;
  }
}

/* --- Section Containers --- */
.sp-section {
  padding: 80px 24px;
}
.sp-inner {
  max-width: var(--sp-max);
  margin: 0 auto;
}
/* CHANGED: alternating section backgrounds use program wash instead of whisper sage */
.sp-bg-sage { background: var(--sp-program-whisper); }
.sp-bg-white { background: var(--sp-white); }

/* --- Typography --- */
.sp-h1 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.18;
  color: var(--sp-heading);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.sp-h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--sp-heading);
  text-align: center;
  margin-bottom: 16px;
}
.sp-h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--sp-heading);
  margin-bottom: 12px;
}
.sp-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
  color: var(--sp-gray);
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

/* --- Buttons (CHANGED: program color instead of gold) --- */
.sp-btn-gold {
  display: inline-block;
  background: var(--sp-program);
  color: #fff;
  padding: 14px 32px;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(61,107,98,0.25);
}
.sp-btn-gold:visited,
.sp-btn-gold:active {
  color: #fff;
}
.sp-btn-gold:hover {
  background: var(--sp-program-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(61,107,98,0.3);
}
.sp-btn-outline {
  display: inline-block;
  background: transparent;
  color: #fff;
  padding: 14px 32px;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,0.4);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.sp-btn-outline:visited,
.sp-btn-outline:active {
  color: #fff;
}
.sp-btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
}

/* --- Hero Section (CHANGED: warm peach background + triangle decorations) --- */
.sp-hero {
  background: var(--sp-program-wash);
  padding: 80px 24px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* CHANGED: Triangle decorations instead of circular gradients */
.sp-hero::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -60px;
  width: 0;
  height: 0;
  border-left: 180px solid transparent;
  border-right: 180px solid transparent;
  border-bottom: 320px solid rgba(61,107,98,0.08);
  transform: rotate(15deg);
}
.sp-hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 0;
  height: 0;
  border-left: 140px solid transparent;
  border-right: 140px solid transparent;
  border-bottom: 250px solid rgba(61,107,98,0.06);
  transform: rotate(-10deg);
}
.sp-hero-inner {
  max-width: var(--sp-max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.sp-hero-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--sp-gray);
  max-width: 660px;
  margin: 0 auto 32px;
  font-style: italic;
}
.sp-hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-top: 36px;
  flex-wrap: wrap;
}
/* CHANGED: secondary link uses program color */
.sp-hero-secondary {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--sp-program-dark);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(61,107,98,0.4);
  transition: border-color 0.2s;
}
.sp-hero-secondary:hover {
  border-color: var(--sp-program);
}
/* CHANGED: trust line icons use program color */
.sp-trust-line {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--sp-gray);
}
.sp-trust-line span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.sp-trust-line svg {
  width: 16px;
  height: 16px;
  color: var(--sp-program);
}
.sp-hero-image {
  max-width: var(--sp-max);
  margin: 48px auto 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--sp-program-whisper);
  height: 500px;         /* Fixed height so object-fit: cover crops properly */
  max-height: 50vh;      /* Never taller than half the viewport */
  min-height: 280px;     /* Never shorter than this on small screens */
  position: relative;
}
.sp-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;  /* Focus slightly above center — better for group photos of children */
  display: block;
}

/* --- Triangle Section Divider (NEW — decorative motif) --- */
.sp-triangle-divider {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 4px;
  padding: 16px 0;
  margin: 0;
  background: transparent;
  position: relative;
  z-index: 2;
}
.sp-triangle-divider .sp-tri {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-bottom: 22px solid;
}
/* Stagger heights for a playful rhythm — must use parent selector for specificity */
.sp-triangle-divider .sp-tri-1 { border-bottom-color: var(--sp-tri-pink); border-left-width: 14px; border-right-width: 14px; border-bottom-width: 20px; }
.sp-triangle-divider .sp-tri-2 { border-bottom-color: var(--sp-tri-orange); border-left-width: 16px; border-right-width: 16px; border-bottom-width: 24px; }
.sp-triangle-divider .sp-tri-3 { border-bottom-color: var(--sp-tri-yellow); border-left-width: 18px; border-right-width: 18px; border-bottom-width: 26px; }
.sp-triangle-divider .sp-tri-4 { border-bottom-color: var(--sp-tri-green); border-left-width: 16px; border-right-width: 16px; border-bottom-width: 24px; }
.sp-triangle-divider .sp-tri-5 { border-bottom-color: var(--sp-tri-blue); border-left-width: 14px; border-right-width: 14px; border-bottom-width: 20px; }

/* --- Color Bar Section Divider (matches "document line" brand asset) --- */
.sp-color-bar {
  height: 5px;
  background: linear-gradient(
    to right,
    var(--sp-tri-pink) 0%, var(--sp-tri-pink) 20%,
    var(--sp-tri-orange) 20%, var(--sp-tri-orange) 40%,
    var(--sp-tri-yellow) 40%, var(--sp-tri-yellow) 60%,
    var(--sp-tri-green) 60%, var(--sp-tri-green) 80%,
    var(--sp-tri-blue) 80%, var(--sp-tri-blue) 100%
  );
}

/* --- Atmospheric Background Triangles (barely visible, felt not seen) --- */
/* Each variant places 1-2 large triangles at different positions via clip-path.
   Opacity is 0.03-0.04 so they register as texture, not decoration.
   Uses the program color so they subtly reinforce the page's color identity. */
.sp-atmos {
  position: relative;
  overflow: hidden;
}
.sp-atmos::before,
.sp-atmos::after {
  content: '';
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
/* Variant A: large triangle bottom-right corner */
.sp-atmos-a::before {
  bottom: -60px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: var(--sp-program);
  opacity: 0.035;
  clip-path: polygon(100% 0%, 0% 100%, 100% 100%);
}
/* Variant B: large triangle top-left corner */
.sp-atmos-b::before {
  top: -40px;
  left: -60px;
  width: 420px;
  height: 420px;
  background: var(--sp-program);
  opacity: 0.03;
  clip-path: polygon(0% 0%, 100% 0%, 0% 100%);
}
/* Variant C: two smaller triangles, opposite corners */
.sp-atmos-c::before {
  top: -30px;
  right: -50px;
  width: 320px;
  height: 320px;
  background: var(--sp-program);
  opacity: 0.03;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}
.sp-atmos-c::after {
  bottom: -40px;
  left: -40px;
  width: 260px;
  height: 260px;
  background: var(--sp-program);
  opacity: 0.025;
  clip-path: polygon(50% 100%, 0% 0%, 100% 0%);
}
/* Variant D: single large triangle centered-right, rotated feel */
.sp-atmos-d::before {
  top: 50%;
  right: -100px;
  transform: translateY(-50%);
  width: 460px;
  height: 460px;
  background: var(--sp-program);
  opacity: 0.03;
  clip-path: polygon(50% 0%, 0% 100%, 100% 80%);
}
/* All atmospheric content needs to sit above the shapes */
.sp-atmos > * {
  position: relative;
  z-index: 1;
}

/* --- Prose Content Sections --- */
.sp-prose {
  max-width: 720px;
  margin: 0 auto;
}
.sp-prose p {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--sp-text);
}
.sp-prose p + p {
  margin-top: 20px;
}
.sp-prose .sp-h2 {
  text-align: left;
  margin-bottom: 24px;
}
.sp-prose .sp-h3 {
  margin-top: 40px;
  margin-bottom: 16px;
}
/* CHANGED: accent text uses program color */
.sp-prose-accent {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--sp-program-dark);
  margin-top: 24px;
}

/* --- Daily Schedule Cards (CHANGED: icon backgrounds + time color) --- */
.sp-schedule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}
.sp-schedule-card {
  background: var(--sp-white);
  border: 1px solid var(--sp-program-border);
  border-radius: 12px;
  padding: 28px 28px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.2s, box-shadow 0.2s;
}
.sp-schedule-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(61,107,98,0.1);
}
.sp-schedule-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--sp-program-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sp-schedule-icon svg {
  width: 24px;
  height: 24px;
  color: var(--sp-program);
}
.sp-schedule-content {
  flex: 1;
}
.sp-schedule-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--sp-heading);
  margin-bottom: 2px;
}
.sp-schedule-time {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--sp-program-dark);
  margin-bottom: 8px;
}
.sp-schedule-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--sp-text);
  opacity: 0.85;
}
.sp-schedule-full {
  grid-column: 1 / -1;
}
.sp-schedule-meta {
  text-align: center;
  margin-top: 32px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--sp-gray);
  font-weight: 500;
}
.sp-schedule-meta strong {
  color: var(--sp-text);
  font-weight: 600;
}

/* --- Subsection Feature Block --- */
.sp-feature-block {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--sp-program-border);
}
.sp-feature-block .sp-h3 {
  text-align: center;
  margin-bottom: 16px;
}
.sp-feature-desc {
  max-width: 720px;
  margin: 0 auto;
}
.sp-feature-desc p {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--sp-text);
}
.sp-feature-desc p + p {
  margin-top: 20px;
}

/* --- Enrichment Pills (CHANGED: orange accent) --- */
.sp-enrich-pills {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 700px;
  margin: 32px auto 0;
}
.sp-enrich-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--sp-white);
  border: 1px solid var(--sp-program-border);
  border-radius: 40px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sp-enrich-pill:hover {
  border-color: var(--sp-program);
  box-shadow: 0 2px 12px rgba(61,107,98,0.12);
}
.sp-enrich-pill-day {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sp-program-dark);
  background: var(--sp-program-light);
  padding: 3px 8px;
  border-radius: 4px;
  line-height: 1.3;
}
.sp-enrich-pill-subject {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--sp-heading);
}
.sp-enrich-note {
  max-width: 720px;
  margin: 24px auto 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--sp-text);
  text-align: center;
}

/* --- Separation / Open Door Section (CHANGED: link color) --- */
.sp-separation-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--sp-program-dark);
  text-decoration: none;
  transition: gap 0.2s ease;
}
.sp-separation-link:hover { gap: 12px; }

/* --- Tuition Card (CHANGED: orange header) --- */
.sp-tuition-main {
  max-width: 520px;
  margin: 0 auto;
  background: var(--sp-white);
  border: 1px solid var(--sp-program-border);
  border-radius: 16px;
  overflow: hidden;
}
.sp-tuition-header {
  background: linear-gradient(135deg, #2F5A52 0%, #3D6B62 50%, #5A8F84 100%);
  padding: 28px 32px;
  text-align: center;
}
.sp-tuition-header-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}
.sp-tuition-header-price {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.sp-tuition-header-price span {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
}
.sp-tuition-body {
  padding: 28px 32px;
}
.sp-tuition-schedules {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sp-tuition-schedule-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.sp-tuition-schedule-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sp-program-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sp-tuition-schedule-check svg {
  width: 16px;
  height: 16px;
  color: var(--sp-program);
}
.sp-tuition-schedule-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sp-gray);
}
.sp-tuition-schedule-days {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--sp-heading);
}
.sp-tuition-body-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--sp-program-border);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--sp-gray);
  line-height: 1.6;
  text-align: center;
}

/* Add-on strip */
.sp-tuition-addon {
  max-width: 520px;
  margin: 16px auto 0;
  background: var(--sp-white);
  border: 1px solid var(--sp-program-border);
  border-radius: 12px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.sp-tuition-addon-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sp-tuition-addon-plus {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sp-program-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--sp-program);
}
.sp-tuition-addon-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--sp-heading);
}
.sp-tuition-addon-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--sp-gray);
}
.sp-tuition-addon-price {
  font-family: 'DM Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--sp-program);
  white-space: nowrap;
}
.sp-tuition-addon-price span {
  font-size: 13px;
  font-weight: 500;
  color: var(--sp-gray);
}

/* --- Tuition Details --- */
.sp-tuition-details {
  margin-top: 32px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--sp-text);
}
.sp-tuition-details p + p {
  margin-top: 12px;
}
.sp-tuition-details strong {
  color: var(--sp-heading);
  font-weight: 600;
}

/* --- All-Inclusive Tuition Note (CHANGED: orange tint) --- */
.sp-tuition-note {
  max-width: 720px;
  margin: 32px auto 0;
  padding: 24px 32px;
  background: var(--sp-program-lighter);
  border: 1px solid var(--sp-program-border);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--sp-text);
  text-align: left;
}
.sp-tuition-note strong {
  color: var(--sp-program-dark);
  font-weight: 700;
}

/* --- Scheduling Advisory --- */
.sp-advisory {
  max-width: 720px;
  margin: 0 auto;
}
.sp-advisory .sp-h3 {
  text-align: left;
}
.sp-advisory p {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--sp-text);
}
.sp-advisory p + p {
  margin-top: 20px;
}

/* --- Testimonial Placeholder --- */
.sp-testimonial-section {
  background: var(--sp-program-whisper);
  padding: 80px 24px;
}
.sp-testimonial-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.sp-testimonial-placeholder {
  margin-top: 32px;
  padding: 40px;
  border: 1px dashed var(--sp-program-border);
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--sp-gray);
  font-style: italic;
}

/* --- CTA Section (CHANGED: warm deep orange instead of teal) --- */
.sp-cta-section {
  text-align: center;
  background: linear-gradient(135deg, #234840 0%, #3D6B62 60%, #5A8F84 100%);
  color: #fff;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}
/* Triangle decoration in CTA */
.sp-cta-section::before {
  content: '';
  position: absolute;
  top: -60px; right: -40px;
  width: 0; height: 0;
  border-left: 160px solid transparent;
  border-right: 160px solid transparent;
  border-bottom: 280px solid rgba(255,255,255,0.06);
  transform: rotate(20deg);
}
.sp-cta-section::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -60px;
  width: 0; height: 0;
  border-left: 120px solid transparent;
  border-right: 120px solid transparent;
  border-bottom: 200px solid rgba(255,255,255,0.04);
  transform: rotate(-15deg);
}
.sp-cta-section .sp-h2 { color: #fff; }
.sp-cta-section p {
  font-family: 'DM Sans', sans-serif;
  color: rgba(255,255,255,0.88);
  max-width: 600px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
}
.sp-cta-section p + p { margin-top: 16px; }
.sp-cta-phone {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.4);
}
.sp-cta-phone:hover { border-color: #fff; }
.sp-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}
/* CTA primary button: white on this bg */
.sp-cta-section .sp-btn-gold {
  background: #fff;
  color: var(--sp-program-deep);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.sp-cta-section .sp-btn-gold:visited,
.sp-cta-section .sp-btn-gold:active {
  color: var(--sp-program-deep);
}
.sp-cta-section .sp-btn-gold:hover {
  background: #f8f8f8;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.sp-cta-trust {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-top: 36px;
  flex-wrap: wrap;
}
.sp-cta-trust-item {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sp-cta-trust-item svg {
  width: 16px;
  height: 16px;
  color: rgba(255,255,255,0.5);
}

/* --- FAQ Accordion (CHANGED: orange hover + chevron) --- */
.sp-faq-list {
  max-width: 780px;
  margin: 40px auto 0;
}
.sp-faq-item {
  border-bottom: 1px solid var(--sp-program-border);
}
.sp-faq-item:first-child {
  border-top: 1px solid var(--sp-program-border);
}
.sp-faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--sp-heading);
  line-height: 1.5;
  transition: color 0.2s;
}
.sp-faq-item summary:hover {
  color: var(--sp-program-dark);
}
.sp-faq-item summary::-webkit-details-marker { display: none; }
.sp-faq-item summary::marker { display: none; content: ''; }
.sp-faq-chevron {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-left: 16px;
  color: var(--sp-program);
  transition: transform 0.3s ease;
}
.sp-faq-item[open] .sp-faq-chevron {
  transform: rotate(180deg);
  color: var(--sp-program-dark);
}
.sp-faq-answer {
  padding: 0 0 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--sp-text);
}
.sp-faq-answer a {
  color: var(--sp-program-dark);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(61,107,98,0.3);
}
.sp-faq-answer a:hover {
  border-color: var(--sp-program);
}

/* --- Site Footer --- */
.sp-footer {
  background: #1A1A1A;
  padding: 56px 24px 48px;
}
.sp-footer-inner {
  max-width: var(--sp-max);
  margin: 0 auto;
}
.sp-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}
.sp-footer-heading {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
}
.sp-footer-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin: 0 0 8px;
}
.sp-footer-text a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.sp-footer-text a:hover { color: #fff; }
.sp-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sp-footer-links li { margin-bottom: 8px; }
.sp-footer-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.sp-footer-links a:hover { color: #fff; }
@media (max-width: 767px) {
  .sp-footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* --- Positioning Footer (CHANGED: five-triangle brand motif) --- */
.sp-positioning-footer {
  background: var(--sp-teal);
  padding: 28px 24px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.sp-positioning-footer p {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-style: italic;
  color: rgba(255,255,255,0.55);
  max-width: 600px;
  margin: 0 auto;
}
/* Five-triangle brand signature */
.sp-footer-triangles {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 16px;
}
.sp-footer-triangles .sp-ft {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 12px solid;
  opacity: 0.4;
}

/* --- Photo Placeholder --- */
.sp-photo-placeholder {
  border-radius: 12px;
  overflow: hidden;
  background: var(--sp-program-whisper);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--sp-gray);
  text-align: center;
  padding: 40px;
  line-height: 1.7;
  border: 1px dashed var(--sp-program-border);
  margin-top: 40px;
}

/* --- Form Styles --- */
.sp-form-group {
  margin-bottom: 16px;
}
.sp-form-label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--sp-heading);
  margin-bottom: 6px;
}
.sp-required {
  color: var(--sp-program);
}
.sp-form-input, .sp-form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--sp-program-border);
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  background: #fff;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.sp-form-input:focus, .sp-form-textarea:focus {
  outline: none;
  border-color: var(--sp-program);
  box-shadow: 0 0 0 3px rgba(61,107,98,0.12);
}
.sp-form-submit-teal {
  display: inline-block;
  background: var(--sp-program);
  color: #fff;
  padding: 12px 28px;
  border: none;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}
.sp-form-submit-teal:hover {
  background: var(--sp-program-dark);
}

/* --- Address: single line on desktop/tablet, two lines on mobile --- */
.sp-address-br { display: none; }

/* --- Mobile hero reorder: hide/show correct "Have a Question" link per breakpoint --- */
.sp-hero-secondary-bottom { display: none; }

/* --- Animations --- */
@keyframes spFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.sp-hero .sp-h1 { animation: spFadeUp 0.7s ease both; }
.sp-hero .sp-hero-sub { animation: spFadeUp 0.7s ease 0.1s both; }
.sp-hero .sp-hero-ctas { animation: spFadeUp 0.7s ease 0.2s both; }
.sp-hero .sp-trust-line { animation: spFadeUp 0.7s ease 0.3s both; }


/* ===== TABLET LAYOUT (768px - 1024px) ===== */
@media (max-width: 1024px) {
  .sp-schedule-grid { gap: 16px; }
  .sp-separation-link,
  .sp-faq-answer a,
  .sp-hero-secondary {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: rgba(61,107,98,0.4);
  }
  .sp-hero-secondary { border-bottom: none; }

  /* Testimonial — quote icon is now block-centered, no positioning overrides needed */
}

/* ===== MOBILE LAYOUT (phones: under 768px) ===== */
@media (max-width: 767px) {
  .sp-section { padding: 48px 20px; }
  .sp-hero { padding: 48px 20px 40px; }
  .sp-cta-section { padding: 48px 20px; }
  .sp-testimonial-section { padding: 48px 20px; }
  .sp-h1 { font-size: 32px; }
  .sp-h2 { font-size: 28px; }
  .sp-h3 { font-size: 21px; }
  .sp-prose .sp-h2 { text-align: left; }
  .sp-prose p { font-size: 16px; }
  .sp-schedule-grid { grid-template-columns: 1fr; }
  .sp-schedule-card { padding: 20px 18px; }
  .sp-schedule-title { font-size: 15px; }
  .sp-schedule-desc { font-size: 14px; }
  .sp-enrich-pills { gap: 10px; }
  .sp-enrich-pill { padding: 8px 14px; }
  .sp-tuition-header-price { font-size: 40px; }
  .sp-tuition-header { padding: 24px 20px; }
  .sp-tuition-body { padding: 24px 20px; }
  .sp-tuition-addon { flex-direction: column; text-align: center; gap: 10px; padding: 18px 20px; }
  .sp-tuition-addon-left { flex-direction: column; gap: 6px; }
  .sp-hero-image { height: 350px; min-height: 220px; max-height: 40vh; margin-top: 32px; }
  .sp-cta-buttons { flex-direction: column; align-items: center; margin-top: 40px; gap: 12px; }
  .sp-cta-trust { flex-direction: column; align-items: center; gap: 14px; margin-top: 44px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.12); }
  .sp-hero-ctas { flex-direction: column; align-items: center; gap: 12px; }
  .sp-testimonial-placeholder { padding: 28px 20px; }
  .sp-photo-placeholder { min-height: 200px; padding: 28px; }
  .sp-faq-item summary { font-size: 16px; padding: 18px 0; }
  .sp-faq-answer { font-size: 15px; }
  .sp-triangle-divider .sp-tri { transform: scale(0.8); }

  /* Hero triangles: scale down and pull inward so they stay visible on mobile */
  .sp-hero::before {
    top: -20px;
    right: -30px;
    border-left-width: 100px;
    border-right-width: 100px;
    border-bottom-width: 180px;
  }
  .sp-hero::after {
    bottom: -40px;
    left: -20px;
    border-left-width: 80px;
    border-right-width: 80px;
    border-bottom-width: 140px;
  }

  /* Atmospheric triangles: shrink + pull onto screen + bump opacity slightly */
  .sp-atmos-a::before {
    bottom: -20px;
    right: -20px;
    width: 240px;
    height: 240px;
    opacity: 0.045;
  }
  .sp-atmos-b::before {
    top: -15px;
    left: -15px;
    width: 200px;
    height: 200px;
    opacity: 0.04;
  }
  .sp-atmos-c::before {
    top: -10px;
    right: -15px;
    width: 180px;
    height: 180px;
    opacity: 0.04;
  }
  .sp-atmos-c::after {
    bottom: -15px;
    left: -10px;
    width: 140px;
    height: 140px;
    opacity: 0.035;
  }
  .sp-atmos-d::before {
    right: -30px;
    width: 220px;
    height: 220px;
    opacity: 0.04;
  }

  /* CTA section triangles: same treatment */
  .sp-cta-section::before {
    top: -30px; right: -20px;
    border-left-width: 90px;
    border-right-width: 90px;
    border-bottom-width: 160px;
  }
  .sp-cta-section::after {
    bottom: -20px; left: -30px;
    border-left-width: 70px;
    border-right-width: 70px;
    border-bottom-width: 120px;
  }
}

/* ===== SMALL PHONES & FOLDABLE (under 360px) ===== */
@media (max-width: 360px) {
  .sp-h1 { font-size: 28px; }
  .sp-h2 { font-size: 24px; }
  .sp-h3 { font-size: 19px; }
  .sp-section { padding: 36px 16px; }
  .sp-hero { padding: 36px 16px; }
  .sp-cta-section { padding: 36px 16px; }
  .sp-testimonial-section { padding: 36px 16px; }
  .sp-schedule-card { padding: 18px 16px; }
  .sp-enrich-pill { padding: 7px 12px; }
  .sp-enrich-pill-subject { font-size: 14px; }
  .sp-tuition-header-price { font-size: 36px; }
  .sp-tuition-note { padding: 20px; font-size: 14px; }
  .sp-photo-placeholder { min-height: 160px; padding: 20px; }
  .sp-hero-image { height: 260px; min-height: 160px; max-height: 35vh; padding: 0; }
  .sp-btn-gold, .sp-btn-outline { padding: 12px 24px; font-size: 15px; }
  .sp-faq-item summary { font-size: 15px; }
  .sp-triangle-divider .sp-tri { transform: scale(0.65); }

  /* Atmospheric: even smaller on tiny screens */
  .sp-atmos-a::before { width: 180px; height: 180px; bottom: -10px; right: -10px; opacity: 0.05; }
  .sp-atmos-b::before { width: 150px; height: 150px; top: -10px; left: -10px; opacity: 0.045; }
  .sp-atmos-c::before { width: 140px; height: 140px; top: -5px; right: -10px; opacity: 0.045; }
  .sp-atmos-c::after { width: 110px; height: 110px; bottom: -10px; left: -5px; opacity: 0.04; }
  .sp-atmos-d::before { width: 170px; height: 170px; right: -15px; opacity: 0.045; }

  /* Hero: tightest on small phones */
  .sp-hero::before { top: -10px; right: -15px; border-left-width: 70px; border-right-width: 70px; border-bottom-width: 130px; }
  .sp-hero::after { bottom: -20px; left: -10px; border-left-width: 55px; border-right-width: 55px; border-bottom-width: 100px; }

  /* CTA: tightest */
  .sp-cta-section::before { top: -15px; right: -10px; border-left-width: 60px; border-right-width: 60px; border-bottom-width: 110px; }
  .sp-cta-section::after { bottom: -10px; left: -15px; border-left-width: 50px; border-right-width: 50px; border-bottom-width: 90px; }
}



/* --- Page-Specific Styles --- */
.sp-skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 999;
}
.sp-skip-link:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 12px 20px;
  background: var(--sp-program);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.sp-bg-teal { background: var(--sp-program); }
.sp-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--sp-text);
}
.sp-btn-outline-dark {
  display: inline-block;
  background: transparent;
  color: var(--sp-program);
  padding: 14px 32px;
  border-radius: 4px;
  border: 2px solid rgba(61,107,98,0.3);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.sp-btn-outline-dark:hover {
  border-color: var(--sp-program);
  background: rgba(61,107,98,0.04);
}
.sp-tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--sp-program);
  margin-bottom: 24px;
}
/* --- Hero Triangle Break (between positioning tagline and body copy) --- */
.sp-hero-triangles {
  padding: 28px 0 32px;
  margin: 0;
}

.sp-hero-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--sp-text);
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}
.sp-hero-body p + p {
  margin-top: 20px;
}
.sp-proof-bar {
  background: var(--sp-white);
  padding: 40px 24px;
  border-bottom: 1px solid rgba(61,107,98,0.2);
}
.sp-proof-grid {
  max-width: var(--sp-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.sp-proof-item {
  text-align: center;
  padding: 12px 8px;
}
.sp-proof-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  background: rgba(61,107,98,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sp-proof-icon svg {
  width: 22px;
  height: 22px;
  color: var(--sp-program);
}
.sp-proof-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--sp-heading);
  line-height: 1.4;
}
.sp-program-grid-home {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 48px;
  justify-content: center;
}
.sp-program-grid-home .sp-hcard {
  flex: 0 1 calc(33.333% - 16px);
  min-width: 280px;
}
.sp-hcard {
  background: var(--sp-white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  text-decoration: none;
  color: var(--sp-text);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.sp-hcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(61,107,98,0.1);
}
.sp-hcard-header {
  padding: 22px 24px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.sp-hcard-fresh3 .sp-hcard-header { background: linear-gradient(135deg, #D4887E 0%, #FAC1BB 40%, #FDDEDA 100%); }
.sp-hcard-3s .sp-hcard-header { background: linear-gradient(135deg, #C47420 0%, #F9A054 40%, #FBBC78 100%); }
.sp-hcard-4s .sp-hcard-header { background: linear-gradient(135deg, #B88E00 0%, #FFC716 40%, #FFD966 100%); }
.sp-hcard-kprep .sp-hcard-header { background: linear-gradient(135deg, #556648 0%, #808E71 40%, #A8B89C 100%); }
.sp-hcard-kinder .sp-hcard-header { background: linear-gradient(135deg, #386068 0%, #5E8B96 40%, #8AB4BF 100%); }
.sp-hcard-info { flex: 1; min-width: 0; }
.sp-hcard-badge {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.2);
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 6px;
}
.sp-hcard-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.sp-hcard-tagline {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  font-style: italic;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
  line-height: 1.4;
}
.sp-hcard-age {
  flex-shrink: 0;
  text-align: center;
  background: rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 10px 14px 8px;
  min-width: 62px;
}
.sp-hcard-age-num {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.sp-hcard-age-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
}
.sp-hcard-body {
  padding: 20px 24px 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.sp-hcard-details {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  margin-bottom: 18px;
}
.sp-hcard-details dt,
.sp-hcard-details dd {
  padding: 8px 10px;
  display: flex;
  align-items: center;
}
.sp-hcard-details dt {
  font-weight: 600;
  color: var(--sp-gray);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.06em;
}
.sp-hcard-details dd {
  font-weight: 500;
  color: var(--sp-text);
}
.sp-hcard-details dt:nth-of-type(odd),
.sp-hcard-details dd:nth-of-type(odd) {
  background: rgba(61,107,98,0.04);
}
.sp-hcard-cta {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  margin-top: auto;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}
/* Fresh 3's Pink — white text */
.sp-hcard-fresh3 .sp-hcard-title { color: #fff; }
.sp-hcard-fresh3 .sp-hcard-badge { color: #fff; background: rgba(255,255,255,0.25); }
.sp-hcard-fresh3 .sp-hcard-tagline { color: rgba(255,255,255,0.8); }
.sp-hcard-fresh3 .sp-hcard-age-num { color: #fff; }
.sp-hcard-fresh3 .sp-hcard-age-label { color: rgba(255,255,255,0.8); }
.sp-hcard-fresh3 .sp-hcard-age { background: rgba(255,255,255,0.18); }
/* 4's Yellow — white text */
.sp-hcard-4s .sp-hcard-title { color: #fff; }
.sp-hcard-4s .sp-hcard-badge { color: #fff; background: rgba(255,255,255,0.25); }
.sp-hcard-4s .sp-hcard-tagline { color: rgba(255,255,255,0.8); }
.sp-hcard-4s .sp-hcard-age-num { color: #fff; }
.sp-hcard-4s .sp-hcard-age-label { color: rgba(255,255,255,0.8); }
.sp-hcard-4s .sp-hcard-age { background: rgba(255,255,255,0.18); }
.sp-hcard-fresh3 .sp-hcard-cta { color: #D4887E; text-decoration-color: rgba(250,193,187,0.4); }
.sp-hcard-3s .sp-hcard-cta { color: #C47420; text-decoration-color: rgba(249,160,84,0.3); }
.sp-hcard-4s .sp-hcard-cta { color: #B88E00; text-decoration-color: rgba(255,199,22,0.3); }
.sp-hcard-kprep .sp-hcard-cta { color: #556648; text-decoration-color: rgba(128,142,113,0.3); }
.sp-hcard-kinder .sp-hcard-cta { color: #386068; text-decoration-color: rgba(94,139,150,0.3); }
.sp-hcard:hover .sp-hcard-cta { gap: 10px; }
.sp-hcard-fresh3:hover .sp-hcard-cta { text-decoration-color: #D4887E; }
.sp-hcard-3s:hover .sp-hcard-cta { text-decoration-color: #C47420; }
.sp-hcard-4s:hover .sp-hcard-cta { text-decoration-color: #B88E00; }
.sp-hcard-kprep:hover .sp-hcard-cta { text-decoration-color: #556648; }
.sp-hcard-kinder:hover .sp-hcard-cta { text-decoration-color: #386068; }
.sp-programs-help {
  text-align: center;
  margin-top: 32px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--sp-gray);
}
.sp-programs-help a {
  color: var(--sp-program);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(61,107,98,0.3);
  text-underline-offset: 3px;
}
.sp-programs-help a:hover { text-decoration-color: var(--sp-program); }
.sp-supp-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 48px;
}
.sp-supp-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: var(--sp-white);
  border: 1px solid rgba(61,107,98,0.35);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--sp-text);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.sp-supp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(61,107,98,0.1);
}
.sp-supp-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
}
.sp-supp-visual-1 { background: linear-gradient(135deg, #EFF7F7 0%, #d4e8e8 100%); }
.sp-supp-visual-2 { background: linear-gradient(135deg, #FDF6EE 0%, #f0dcc4 100%); }
.sp-supp-visual-3 { background: linear-gradient(135deg, #FFFAED 0%, #f5e8c0 100%); }
.sp-supp-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sp-supp-icon-1 { background: #4D8A8A; }
.sp-supp-icon-2 { background: #D4944A; }
.sp-supp-icon-3 { background: #F5B835; }
.sp-supp-icon svg { width: 28px; height: 28px; color: #fff; }
.sp-supp-visual-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sp-gray);
  text-align: center;
}
.sp-supp-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.sp-supp-badge {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  width: fit-content;
}
.sp-supp-badge-1 { color: #4D8A8A; background: rgba(77,138,138,0.10); }
.sp-supp-badge-2 { color: #D4944A; background: rgba(212,148,74,0.10); }
.sp-supp-badge-3 { color: #F5B835; background: rgba(245,184,53,0.10); }
.sp-supp-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--sp-heading);
  margin-bottom: 8px;
}
.sp-supp-meta {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--sp-gray);
  margin-bottom: 16px;
  line-height: 1.6;
}
.sp-supp-meta strong { color: var(--sp-text); font-weight: 600; }
.sp-supp-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--sp-text);
  opacity: 0.85;
  flex-grow: 1;
  margin-bottom: 20px;
}
.sp-supp-cta {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: gap 0.2s ease, text-decoration-color 0.2s ease;
}
.sp-supp-cta-1 { text-decoration-color: rgba(77,138,138,0.3); }
.sp-supp-cta-2 { text-decoration-color: rgba(212,148,74,0.3); }
.sp-supp-cta-3 { text-decoration-color: rgba(245,184,53,0.3); }
.sp-supp-card:hover .sp-supp-cta-1 { text-decoration-color: #4D8A8A; }
.sp-supp-card:hover .sp-supp-cta-2 { text-decoration-color: #D4944A; }
.sp-supp-card:hover .sp-supp-cta-3 { text-decoration-color: #B58518; }
.sp-supp-cta-1 { color: #4D8A8A; }
.sp-supp-cta-2 { color: #D4944A; }
.sp-supp-cta-3 { color: #B58518; }
.sp-supp-card:hover .sp-supp-cta { gap: 10px; }
/* --- Split Layout (text + image side by side) --- */
.sp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.sp-split-reverse .sp-split-text {
  order: 2;
}
.sp-split-reverse .sp-split-image {
  order: 1;
}
.sp-split-text .sp-h2 {
  text-align: left;
}
.sp-split-text p {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--sp-text);
}
.sp-split-text p + p {
  margin-top: 20px;
}
.sp-split-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--sp-program);
  text-decoration: underline;
  text-decoration-color: rgba(61,107,98,0.3);
  text-underline-offset: 3px;
  transition: gap 0.2s ease, text-decoration-color 0.2s ease;
}
.sp-split-link:hover { gap: 12px; text-decoration-color: var(--sp-program); }
.sp-split-image {
  border-radius: 12px;
  overflow: hidden;
  background: #e8ede9;
  height: 480px;          /* Fixed height for consistent layout */
  max-height: 55vh;
  min-height: 300px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);  /* Subtle shadow for depth */
}
.sp-split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
/* Portrait variant — taller for headshots, focus on face */
.sp-split-image.sp-portrait {
  height: 520px;
  max-height: 60vh;
}
.sp-split-image.sp-portrait img {
  object-position: center 20%;  /* Focus on face, not waist */
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--sp-gray);
  text-align: center;
  padding: 40px;
  line-height: 1.7;
  border: 1px dashed rgba(61,107,98,0.3);
}
.sp-testimonial-content {
  margin-top: 40px;
}
.sp-testimonial-quote {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  line-height: 1.8;
  color: var(--sp-text);
  font-style: italic;
  position: relative;
  padding: 0;
}
.sp-testimonial-quote::before {
  content: '\201C';
  display: block;
  text-align: center;
  font-size: 72px;
  color: var(--sp-program);
  opacity: 0.5;
  font-family: 'Playfair Display', serif;
  line-height: 1;
  margin-bottom: 12px;
}
.sp-testimonial-attr {
  margin-top: 28px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--sp-program);
}
.sp-testimonial-link {
  display: inline-block;
  margin-top: 28px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--sp-program);
  text-decoration: underline;
  text-decoration-color: rgba(61,107,98,0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}
.sp-testimonial-link:hover { text-decoration-color: var(--sp-program); }
.sp-community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}
.sp-community-text p {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--sp-text);
}
.sp-community-text p + p { margin-top: 20px; }
.sp-contact-block {
  margin-top: 32px;
  padding: 24px;
  background: rgba(61,107,98,0.04);
  border-radius: 10px;
  border: 1px solid rgba(61,107,98,0.25);
}
.sp-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--sp-text);
  line-height: 1.6;
}
.sp-contact-row + .sp-contact-row { margin-top: 14px; }
.sp-contact-row svg {
  width: 20px;
  height: 20px;
  color: var(--sp-program);
  flex-shrink: 0;
  margin-top: 2px;
}
.sp-contact-row a {
  color: var(--sp-program);
  font-weight: 600;
  text-decoration: none;
}
.sp-community-map {
  border-radius: 12px;
  overflow: hidden;
  background: #e8ede9;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--sp-gray);
  text-align: center;
  padding: 40px;
  line-height: 1.7;
  border: 1px dashed rgba(61,107,98,0.3);
}
.sp-hero .sp-tagline { animation: spFadeUp 0.7s ease 0.1s both; }
.sp-hero .sp-hero-triangles { animation: spFadeUp 0.7s ease 0.25s both; }
.sp-hero .sp-hero-body { animation: spFadeUp 0.7s ease 0.3s both; }

@media (max-width: 1024px) {
  .sp-program-grid-home .sp-hcard { flex: 0 1 calc(50% - 12px); }
  .sp-proof-grid { grid-template-columns: repeat(3, 1fr); gap: 16px 12px; }
}

@media (max-width: 767px) {
  .sp-proof-bar { padding: 32px 20px; }
  .sp-proof-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .sp-program-grid-home .sp-hcard { flex: 0 0 100%; }
  .sp-hcard-title { font-size: 20px; }
  .sp-hcard-tagline { font-size: 12px; }
  .sp-supp-card { grid-template-columns: 1fr; }
  .sp-supp-visual { padding: 24px; min-height: auto; flex-direction: row; gap: 16px; }
  .sp-supp-icon { width: 48px; height: 48px; }
  .sp-supp-icon svg { width: 24px; height: 24px; }
  .sp-split { grid-template-columns: 1fr; gap: 32px; }
  .sp-split-reverse .sp-split-text { order: 1; }
  .sp-split-reverse .sp-split-image { order: 2; }
  .sp-split-text .sp-h2 { text-align: center; }
  .sp-split-image { height: 350px; min-height: 250px; max-height: 45vh; }
  .sp-split-image.sp-portrait { height: 400px; max-height: 50vh; }
  .sp-community-grid { grid-template-columns: 1fr; gap: 32px; }
  .sp-community-map { min-height: 260px; }
  /* Testimonial — scale down on mobile */
  .sp-testimonial-quote { font-size: 18px; }
  .sp-testimonial-quote::before { font-size: 56px; }

  /* Split-link: add spacing below before image on mobile */
  .sp-split-link { margin-bottom: 16px; }

  /* Discovery Station: break "Up to 6 classes/week" to its own line on mobile */
  .sp-supp-meta-sep { display: none; }
  .sp-supp-meta-classes { display: block; }

  /* Address: two lines on mobile */
  .sp-address-br { display: inline; }
  .sp-address-sep { display: none; }

  /* Hero: mobile reorder — image + CTA above body copy */
  .sp-hero-inner { display: flex; flex-direction: column; }
  .sp-hero-inner .sp-tagline { order: 1; }
  .sp-hero-inner .sp-h1 { order: 2; }
  .sp-hero-inner .sp-positioning { order: 3; }
  .sp-hero-inner .sp-hero-triangles { order: 4; padding: 20px 0 16px; }
  .sp-hero-inner .sp-hero-image { order: 5; margin-top: 24px; }
  .sp-hero-inner .sp-hero-ctas { order: 6; }
  .sp-hero-inner .sp-hero-secondary-bottom { order: 7; display: inline-block; margin-top: 16px; text-align: center; }
  .sp-hero-inner .sp-hero-body { order: 8; font-size: 16px; margin-top: 32px; }
  .sp-hero-secondary-desktop { display: none; }
  .sp-tagline { font-size: 11px; letter-spacing: 0.12em; margin-bottom: 16px; }
}

@media (max-width: 360px) {
  .sp-proof-bar { padding: 24px 16px; }
  .sp-hcard-header { padding: 18px 20px 14px; }
  .sp-hcard-title { font-size: 18px; }
  .sp-hcard-body { padding: 16px 20px 20px; }
  .sp-hcard-age-num { font-size: 28px; }
  .sp-supp-content { padding: 24px 20px; }
  .sp-supp-title { font-size: 19px; }
  .sp-split-image { height: 280px; min-height: 200px; max-height: 40vh; padding: 0; }
  .sp-community-map { min-height: 200px; padding: 24px; }
  .sp-contact-block { padding: 20px; }
  .sp-testimonial-quote { font-size: 16px; }
  .sp-btn-gold, .sp-btn-outline, .sp-btn-outline-dark { padding: 12px 24px; font-size: 15px; }
  .sp-tagline { font-size: 10px; }
}

@media print {
  .sp-hero::before, .sp-hero::after,
  .sp-cta-section::before,
  .sp-proof-icon { display: none; }
  .sp-cta-section, .sp-bg-teal { background: #fff !important; color: var(--sp-text) !important; }
  .sp-btn-gold, .sp-btn-outline, .sp-btn-outline-dark { border: 1px solid var(--sp-text); background: #fff !important; color: var(--sp-text) !important; }
  .sp-hero-image, .sp-split-image, .sp-community-map { border: 1px solid #ccc; min-height: 100px; }
  a.sp-hcard::after, a.sp-supp-card::after { content: none; }
  .sp-hcard-header { background: #eee !important; }
  .sp-hcard-title, .sp-hcard-badge, .sp-hcard-tagline, .sp-hcard-age-num, .sp-hcard-age-label { color: var(--sp-text) !important; }
}

/* --- Blog Styles --- */
.sp-post-header {
  background: var(--sp-program-wash);
  padding: 80px 24px 48px;
  text-align: center;
}
.sp-post-category {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sp-program);
  margin-bottom: 16px;
}
.sp-post-meta {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--sp-gray);
  margin-top: 16px;
}
.sp-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.sp-blog-card {
  background: var(--sp-white);
  border: 1px solid rgba(61,107,98,0.15);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--sp-text);
  transition: transform 0.25s, box-shadow 0.25s;
}
.sp-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(61,107,98,0.1);
}
.sp-blog-card-image {
  height: 200px;
  background: var(--sp-program-whisper);
  overflow: hidden;
}
.sp-blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sp-blog-card-body {
  padding: 24px;
}
.sp-blog-card-category {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sp-program);
  margin-bottom: 8px;
}
.sp-blog-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--sp-heading);
  margin-bottom: 8px;
  line-height: 1.3;
}
.sp-blog-card-excerpt {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--sp-gray);
  line-height: 1.65;
}
.sp-blog-card-date {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--sp-gray);
  margin-top: 16px;
}
@media (max-width: 767px) {
  .sp-post-header { padding: 48px 20px 32px; }
  .sp-blog-grid { grid-template-columns: 1fr; }
}


/* ===== FORM ERROR & SUCCESS STATES ===== */

.sp-form-error {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #B91C1C;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 16px;
}

.sp-form-success {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--sp-teal);
  background: var(--sp-whisper);
  border: 1px solid var(--sp-sage);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  line-height: 1.6;
}

.sp-form-submit:disabled,
.sp-form-submit-teal:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
