:root {
  --bg: #FFFFFF;
  --bg-soft: #FAF6FE;
  --bg-card: #FFFFFF;
  --purple: #7C3AED;
  --purple-deep: #5B21B6;
  --pink: #DB2777;
  --pink-soft: #F9A8D4;
  --ink: #2B1B3D;
  --ink-soft: #6B5B7B;
  --line: rgba(124,58,237,0.12);
  --display: 'Avenir Next', 'Avenir', 'Century Gothic', 'Trebuchet MS', sans-serif;
  --body: 'DM Sans', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.4rem 3rem;
  transition: all 0.4s ease;
}
nav.scrolled { background: rgba(255,255,255,0.88); backdrop-filter: blur(12px); padding: 1rem 3rem; border-bottom: 0.5px solid var(--line); }
.logo { font-family: var(--display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.01em; }
.logo a { color: inherit; text-decoration: none; }
.logo span { color: var(--purple); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 500; }
.nav-cta { background: var(--purple); color: white !important; padding: 0.6rem 1.3rem; border-radius: 100px; font-weight: 500; }
.nav-cta:hover { opacity: 0.9; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.4rem; z-index: 110; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: all 0.3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* HERO */
.hero {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  padding: 8rem 3rem 4rem; position: relative; overflow: hidden;
}
.hero-glow {
  position: absolute; top: 0%; right: -10%; width: 55vw; height: 55vw;
  background: radial-gradient(circle, rgba(219,39,119,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute; bottom: -20%; left: -15%; width: 55vw; height: 55vw;
  background: radial-gradient(circle, rgba(124,58,237,0.14) 0%, transparent 65%);
  pointer-events: none;
}
.hero-eyebrow {
  font-size: 0.85rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--pink); margin-bottom: 1.5rem; opacity: 0; font-weight: 600;
  animation: fadeUp 0.8s ease forwards 0.1s;
}
.hero h1 {
  font-family: var(--display); font-weight: 600; font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 1.04; letter-spacing: -0.02em; max-width: 16ch;
  opacity: 0; animation: fadeUp 0.8s ease forwards 0.3s;
}
.hero h1 em { font-style: italic; color: var(--purple); }
.hero .sub {
  font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--ink-soft); font-weight: 400;
  margin-top: 1.8rem; max-width: 40ch; font-style: italic; font-family: var(--display);
  opacity: 0; animation: fadeUp 0.8s ease forwards 0.5s;
}
.hero-ctas { display: flex; gap: 1rem; margin-top: 2.8rem; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.8s ease forwards 0.7s; }
.btn-primary {
  background: var(--purple); color: white; border: none; padding: 1rem 2rem;
  border-radius: 100px; font-family: var(--body); font-size: 1rem; font-weight: 500;
  cursor: pointer; transition: all 0.25s; text-decoration: none; display: inline-block;
  box-shadow: 0 8px 24px rgba(124,58,237,0.22);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(124,58,237,0.3); }
.btn-ghost {
  background: transparent; color: var(--purple); border: 1px solid var(--line);
  padding: 1rem 2rem; border-radius: 100px; font-family: var(--body); font-size: 1rem; font-weight: 500;
  cursor: pointer; transition: all 0.25s; text-decoration: none; display: inline-block;
}
.btn-ghost:hover { border-color: var(--purple); background: var(--bg-soft); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* PAGE HERO (standalone subpages) */
.page-hero {
  min-height: 60vh; display: flex; flex-direction: column; justify-content: center;
  padding: 11rem 3rem 5rem; position: relative; overflow: hidden;
}
.page-hero h1 {
  font-family: var(--display); font-weight: 600; font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.08; letter-spacing: -0.02em; max-width: 18ch;
}
.page-hero h1 em { font-style: italic; color: var(--purple); }
.page-intro { color: var(--ink-soft); font-size: 1.15rem; margin-top: 1.5rem; max-width: 54ch; }
.page-ctas { display: flex; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap; }

/* SECTIONS */
section { padding: 7rem 3rem; position: relative; }
.section-eyebrow { font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--pink); margin-bottom: 1rem; font-weight: 600; }
.section-title { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; letter-spacing: -0.02em; max-width: 20ch; }
.placeholder-note { color: var(--ink-soft); font-size: 1.05rem; margin-top: 1.5rem; max-width: 46ch; font-style: italic; }

/* MISSION */
.mission { background: var(--bg-soft); }
.mission-statement { font-family: var(--display); font-size: clamp(1.6rem, 3.5vw, 2.8rem); font-weight: 400; line-height: 1.3; max-width: 24ch; margin-bottom: 4rem; }
.mission-statement em { color: var(--purple); font-style: italic; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.pillar { background: var(--bg-card); border: 0.5px solid var(--line); border-radius: 16px; padding: 2rem; transition: all 0.3s; box-shadow: 0 2px 12px rgba(124,58,237,0.04); }
.pillar:hover { border-color: var(--purple); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(124,58,237,0.1); }
.pillar-num { font-family: var(--display); font-size: 2.5rem; color: var(--purple); opacity: 0.85; }
.pillar h3 { font-family: var(--display); font-size: 1.4rem; font-weight: 600; margin: 0.8rem 0 0.6rem; }
.pillar p { color: var(--ink-soft); font-size: 0.98rem; }

/* WHO */
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.who-cards { display: flex; flex-direction: column; gap: 0.8rem; }
.who-chip { background: var(--bg-soft); border: 0.5px solid var(--line); border-radius: 12px; padding: 1.1rem 1.4rem; font-size: 1rem; display: flex; align-items: center; gap: 0.9rem; }
.who-chip::before { content: "→"; color: var(--pink); font-weight: 600; }

/* OFFERS */
.offers { background: var(--bg-soft); }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.offer { background: var(--bg-card); border: 0.5px solid var(--line); border-radius: 20px; padding: 2.2rem; display: flex; flex-direction: column; position: relative; transition: all 0.3s; box-shadow: 0 2px 12px rgba(124,58,237,0.05); }
.offer:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(124,58,237,0.12); }
.offer.featured { border: 1.5px solid var(--purple); box-shadow: 0 8px 32px rgba(124,58,237,0.15); }
.offer-badge { position: absolute; top: -12px; left: 2.2rem; background: var(--purple); color: white; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.35rem 0.9rem; border-radius: 100px; font-weight: 600; }
.offer-badge.alt { background: var(--pink); }
.offer-badge.alt2 { background: var(--ink); }
.offer h3 { font-family: var(--display); font-size: 1.5rem; font-weight: 600; margin-bottom: 0.5rem; }
.offer-desc { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 1.5rem; min-height: 2.8em; }
.offer ul { list-style: none; margin-bottom: 1.5rem; flex-grow: 1; }
.offer li { font-size: 0.9rem; padding: 0.4rem 0; color: var(--ink); display: flex; gap: 0.6rem; align-items: flex-start; }
.offer li::before { content: "•"; color: var(--pink); flex-shrink: 0; }
.offer-price { font-family: var(--display); font-size: 2rem; font-weight: 600; margin-bottom: 0.3rem; }
.offer-price span { font-family: var(--body); font-size: 0.9rem; color: var(--ink-soft); font-weight: 400; }
.offer-cta { margin-top: 1.2rem; }

/* CURRICULUM */
.phase { margin-bottom: 1rem; background: var(--bg-card); border: 0.5px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 2px 8px rgba(124,58,237,0.04); }
.phase-head { padding: 1.4rem 1.8rem; cursor: pointer; display: flex; align-items: center; gap: 1rem; transition: background 0.2s; }
.phase-head:hover { background: var(--bg-soft); }
.phase-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.phase-head h3 { font-family: var(--display); font-size: 1.3rem; font-weight: 600; flex-grow: 1; }
.phase-head .meta { color: var(--ink-soft); font-size: 0.85rem; }
.phase-body { display: none; padding: 0 1.8rem 1.5rem 3.6rem; }
.phase-body.open { display: block; }
.phase-body p { color: var(--ink-soft); padding: 0.5rem 0; border-bottom: 0.5px solid var(--line); font-size: 0.95rem; }
.phase-body p:last-child { border: none; }

/* FAQ */
.faq { background: var(--bg-soft); }
.faq-list { margin-top: 3rem; }
.faq-item { background: var(--bg-card); border: 0.5px solid var(--line); border-radius: 14px; margin-bottom: 0.8rem; overflow: hidden; transition: all 0.2s; }
.faq-item.open { border-color: rgba(124,58,237,0.25); }
.faq-head { padding: 1.5rem 1.8rem; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; transition: background 0.2s; }
.faq-head:hover { background: var(--bg-soft); }
.faq-question { font-family: var(--display); font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.faq-plus { font-size: 1.4rem; color: var(--purple); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-plus { transform: rotate(45deg); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-body { max-height: 300px; }
.faq-body-inner { padding: 0 1.8rem 1.5rem 1.8rem; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.7; }


.about { background: var(--bg-soft); }
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 4rem; align-items: center; }
.about-img { aspect-ratio: 4/5; background: linear-gradient(135deg, rgba(124,58,237,0.18), rgba(219,39,119,0.18)); border-radius: 20px; display: flex; align-items: center; justify-content: center; color: var(--ink-soft); font-size: 0.9rem; border: 0.5px solid var(--line); overflow: hidden; }
.about-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.about p { color: var(--ink-soft); font-size: 1.05rem; margin-top: 1.5rem; max-width: 52ch; }
.about p em { color: var(--purple); font-style: italic; }

/* CTA FOOTER */
.final-cta { text-align: center; padding: 9rem 3rem; position: relative; overflow: hidden; }
.final-cta .glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 75vw; height: 75vw; background: radial-gradient(circle, rgba(124,58,237,0.1) 0%, rgba(219,39,119,0.06) 40%, transparent 65%); }
.final-cta h2 { font-family: var(--display); font-size: clamp(2rem, 5vw, 3.8rem); font-weight: 600; line-height: 1.1; max-width: 22ch; margin: 0 auto 2.5rem; position: relative; }
.final-cta h2 em { color: var(--purple); font-style: italic; }
.final-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

footer { padding: 3rem; border-top: 0.5px solid var(--line); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-links { display: flex; gap: 1.8rem; }
.footer-links a { color: var(--ink-soft); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--ink); }
.footer-copy { color: var(--ink-soft); font-size: 0.85rem; }

.reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 860px) {
  nav, section { padding-left: 1.5rem; padding-right: 1.5rem; }
  .final-cta { padding-left: 1.5rem; padding-right: 1.5rem; }
  footer { padding: 2.5rem 1.5rem; flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255,255,255,0.97); backdrop-filter: blur(14px);
    padding: 0.5rem 1.5rem 1.25rem; border-bottom: 0.5px solid var(--line);
    box-shadow: 0 16px 36px rgba(124,58,237,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.95rem 0; font-size: 1.02rem; border-bottom: 0.5px solid var(--line); }
  .nav-cta { color: white !important; text-align: center; border-radius: 100px; padding: 0.9rem 1.3rem !important; margin-top: 1rem; border-bottom: none !important; }
  .who-grid, .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .offer-grid { grid-template-columns: 1fr; }
  .hero { padding: 7rem 1.5rem 3rem; }
  .page-hero { padding: 9rem 1.5rem 4rem; }
}

/* ===== Contact form ===== */
.contact { padding: 5rem 2rem 6rem; max-width: 760px; margin: 0 auto; }
.contact .section-title { margin-top: 0.5rem; }
.contact-intro { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.6; margin-top: 1rem; max-width: 560px; }
.contact-form { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.form-field { display: flex; flex-direction: column; gap: 0.5rem; }
.form-field label { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.form-field .req { color: var(--pink); }
.form-field input,
.form-field textarea {
  font-family: var(--body); font-size: 1rem; color: var(--ink);
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px;
  padding: 0.85rem 1rem; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none; border-color: var(--purple); background: var(--bg);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.12);
}
.form-field.invalid input,
.form-field.invalid textarea { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(219,39,119,0.12); }
.captcha-field input { max-width: 220px; }
/* Honeypot: hidden from humans, visible to bots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-submit { align-self: flex-start; border: none; cursor: pointer; font-size: 1rem; }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-status { font-size: 0.95rem; font-weight: 500; margin-top: 0.25rem; min-height: 1.2em; }
.form-status.success { color: var(--purple-deep); }
.form-status.error { color: var(--pink); }
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}
