/* Aligned Education Consulting
   Brand: Royal Purple #4A327D, Gold #E8DC7D
   Fonts: Cormorant Infant (titles), Figtree (text) */

:root {
  --purple: #4A327D;
  --purple-dark: #2F1F55;
  --purple-ink: #3A2766;
  --gold: #E8DC7D;
  --gold-soft: #F6F0C9;
  --ink: #24212C;
  --muted: #5B5668;
  --line: #E4DFEC;
  --tint: #F6F3FA;
  --cream: #FCFAF1;
  --white: #FFFFFF;
  --radius: 14px;
  --wrap: 1120px;
  --serif: "Cormorant Infant", Georgia, "Times New Roman", serif;
  --sans: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-underline-offset: 3px; }
a:hover { color: var(--purple-dark); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }
li { margin-bottom: .45em; }

h1, h2, h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  color: var(--purple);
  line-height: 1.1;
  margin: 0 0 .5em;
  letter-spacing: -.005em;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.5rem; }
h4 {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 .6em;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--purple); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.2) blur(6px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav .dd > button {
  font: 500 .97rem var(--sans);
  color: var(--ink);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 8px;
  background: none; border: 0; cursor: pointer;
}
.nav > a:hover, .nav .dd > button:hover, .nav > a[aria-current="page"] { color: var(--purple); background: var(--tint); }
.dd { position: relative; }
.dd > button::after { content: ""; display: inline-block; margin-left: 6px; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.dd-menu {
  position: absolute; top: 100%; left: 0;
  min-width: 290px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 18px 40px rgba(47,31,85,.14);
  padding: 8px; display: none;
}
.dd:hover .dd-menu, .dd:focus-within .dd-menu, .dd.open .dd-menu { display: block; }
.dd-menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .96rem; }
.dd-menu a:hover { background: var(--tint); color: var(--purple); }
.dd-menu .sep { height: 1px; background: var(--line); margin: 6px 8px; }
.btn {
  display: inline-block;
  font: 600 1rem var(--sans);
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 999px;
  border: 2px solid var(--purple);
  background: var(--purple);
  color: #fff;
  transition: background .15s, color .15s, transform .15s;
}
.btn:hover { background: var(--purple-dark); border-color: var(--purple-dark); color: #fff; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--purple); }
.btn.ghost:hover { background: var(--tint); color: var(--purple-dark); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--purple-dark); }
.btn.gold:hover { background: #F1E79C; border-color: #F1E79C; color: var(--purple-dark); }
.btn.light { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn.light:hover { background: rgba(255,255,255,.12); color: #fff; }
.nav > a.btn { margin-left: 8px; padding: 10px 18px; background: var(--purple); color: #fff; border: 2px solid var(--purple); border-radius: 999px; font-weight: 600; }
.nav > a.btn:hover { background: var(--purple-dark); border-color: var(--purple-dark); color: #fff; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font: 600 .95rem var(--sans); color: var(--purple); cursor: pointer; }

@media (max-width: 1279px) {
  .menu-toggle { display: inline-block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 16px 18px; max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav.open { display: flex; }
  .nav > a, .nav .dd > button { text-align: left; width: 100%; padding: 12px 8px; }
  .dd-menu { position: static; display: none; box-shadow: none; border: 0; padding: 0 0 6px 10px; min-width: 0; }
  .dd:hover .dd-menu { display: none; }
  .dd.open .dd-menu, .dd:focus-within .dd-menu { display: block; }
  .nav > a.btn { margin: 10px 0 0; text-align: center; }
  .brand img { height: 44px; }
}

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.tint { background: var(--tint); }
.cream { background: var(--cream); }
.purple { background: var(--purple); color: #fff; }
.purple h2, .purple h3 { color: #fff; }
.purple a:not(.btn) { color: var(--gold); }
.eyebrow { display: inline-block; font: 600 .78rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--purple); margin-bottom: 14px; }
.purple .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta .eyebrow { color: var(--gold); }
.lead { font-size: 1.22rem; font-weight: 300; line-height: 1.6; color: var(--muted); }
.section-head { max-width: 760px; margin-bottom: 38px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Home hero ---------- */
.hero { background: var(--purple-dark); color: #fff; padding: 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch; min-height: 560px; }
.hero-copy { padding: 84px 48px 84px max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); display: flex; flex-direction: column; justify-content: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .lead { color: rgba(255,255,255,.86); max-width: 560px; }
.hero-photo { position: relative; min-height: 360px; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hero-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--purple-dark) 0%, rgba(47,31,85,0) 22%); z-index: 1; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); font-size: .93rem; color: rgba(255,255,255,.8); }
.trust span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); margin-right: 9px; transform: translateY(-2px); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 56px 24px 40px; }
  .hero-photo { min-height: 320px; order: 2; }
  .hero-photo::before { background: linear-gradient(180deg, var(--purple-dark) 0%, rgba(47,31,85,0) 30%); }
}

/* ---------- Page hero ---------- */
.page-hero { background: linear-gradient(135deg, var(--purple-dark), var(--purple)); color: #fff; padding: 64px 0 58px; }
.page-hero h1 { color: #fff; max-width: 900px; }
.page-hero .lead { color: rgba(255,255,255,.88); max-width: 780px; }
.crumbs { font-size: .88rem; margin-bottom: 18px; color: rgba(255,255,255,.75); }
.crumbs a { color: rgba(255,255,255,.9); }
.page-hero .actions { margin-top: 22px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; position: relative;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
a.card { text-decoration: none; color: var(--ink); display: block; }
a.card:hover { box-shadow: 0 16px 36px rgba(47,31,85,.12); transform: translateY(-2px); border-color: #CFC4E0; }
.card h3 { font-size: 1.45rem; margin-bottom: .35em; }
.card p { color: var(--muted); margin-bottom: .8em; }
.card .more { font-weight: 600; color: var(--purple); font-size: .95rem; }
.card .more::after { content: " \2192"; }
.card.feature { border-top: 4px solid var(--purple); }
.card.gold-top { border-top: 4px solid var(--gold); }
.tag { display: inline-block; font: 600 .72rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--purple); background: var(--tint); padding: 5px 10px; border-radius: 999px; margin-bottom: 14px; }

/* ---------- Split / content ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.wide-left { grid-template-columns: 1.3fr 1fr; }
@media (max-width: 860px) { .split, .split.wide-left { grid-template-columns: 1fr; gap: 32px; } }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: 0 22px 50px rgba(47,31,85,.18); }
.photo img { width: 100%; }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.3em; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
@media (max-width: 960px) { .content-grid { grid-template-columns: 1fr; } }
.aside { position: sticky; top: 100px; display: grid; gap: 18px; }
@media (max-width: 960px) { .aside { position: static; } }
.aside .card { padding: 24px; }
.aside .card h3 { font-size: 1.3rem; }

.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 14px; height: 8px; border-left: 2.5px solid var(--purple); border-bottom: 2.5px solid var(--purple); transform: rotate(-45deg); }
.crosses { list-style: none; padding: 0; }
.crosses li { position: relative; padding-left: 30px; color: var(--muted); }
.crosses li::before { content: "\00D7"; position: absolute; left: 3px; top: -.08em; font-size: 1.35rem; color: #9A8FB0; }

.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 8px 0 30px; }
@media (max-width: 640px) { .fit { grid-template-columns: 1fr; } }
.fit > div { border-radius: var(--radius); padding: 24px; }
.fit .yes { background: var(--tint); }
.fit .no { background: var(--cream); }
.fit h3 { font-size: 1.3rem; }

.steps { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 14px; margin-bottom: 28px; }
.steps li { counter-increment: s; position: relative; padding: 18px 20px 18px 70px; background: #fff; border: 1px solid var(--line); border-radius: 12px; margin: 0; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--purple); color: #fff; font: 700 1rem var(--sans); display: grid; place-items: center; }
.steps strong { display: block; color: var(--purple-ink); font-weight: 600; margin-bottom: 2px; }

.note { background: var(--cream); border-left: 4px solid var(--gold); padding: 16px 20px; border-radius: 8px; color: var(--muted); font-size: .96rem; margin: 22px 0; }
.small { font-size: .9rem; color: var(--muted); }

/* ---------- Pricing table ---------- */
.prices { width: 100%; border-collapse: collapse; margin: 6px 0 22px; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.prices th, .prices td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prices th { background: var(--tint); font-weight: 600; color: var(--purple-ink); font-size: .92rem; }
.prices tr:last-child td { border-bottom: 0; }
.prices td.amt { font-weight: 600; color: var(--purple); white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 30px 18px 0; font-weight: 600; color: var(--purple-ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.5rem; font-weight: 400; color: var(--purple); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 18px; color: var(--muted); }

/* ---------- Quote / stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: 22px 6px; border-top: 2px solid var(--gold); }
.stat b { display: block; font: italic 700 2.6rem/1 var(--serif); color: #fff; margin-bottom: 8px; }
.stat span { color: rgba(255,255,255,.82); font-size: .95rem; }
.tint .stat b, .cream .stat b { color: var(--purple); }
.tint .stat span { color: var(--muted); }

/* ---------- CTA band ---------- */
.cta { background: linear-gradient(135deg, var(--purple), var(--purple-dark)); color: #fff; padding: 64px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: .2em; }
.cta p { color: rgba(255,255,255,.86); margin: 0; max-width: 620px; }

/* ---------- Blog ---------- */
.post { max-width: 740px; }
.post p { font-size: 1.12rem; }
.post-meta { color: rgba(255,255,255,.8); font-size: .95rem; }
.post blockquote { margin: 1.4em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); font: italic 600 1.5rem/1.35 var(--serif); color: var(--purple); }

/* ---------- Footer ---------- */
.site-footer { background: var(--purple-dark); color: rgba(255,255,255,.8); padding: 60px 0 30px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer img { height: 54px; width: auto; margin-bottom: 16px; }
.site-footer h4 { color: var(--gold); }
.site-footer a { color: rgba(255,255,255,.9); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .86rem; color: rgba(255,255,255,.6); }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Hero note and problem list */
.hero-note { margin-top: 16px; font-size: .95rem; color: rgba(255,255,255,.85); }
.hero-note a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.problems a { display: block; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--purple); border-radius: 10px; padding: 18px 20px; color: var(--ink); text-decoration: none; font-size: 1rem; line-height: 1.45; transition: box-shadow .2s, border-color .2s; }
.problems a::after { content: " \2192"; color: var(--purple); font-weight: 600; }
.problems a:hover, .problems a:focus-visible { box-shadow: 0 6px 18px rgba(74,50,125,.12); border-left-color: var(--gold); }
@media (max-width: 960px) { .problems { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .problems { grid-template-columns: 1fr; } }
.page-hero .lead a, .hero .lead a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* Audience paths keep the next step visible and the problem list scannable. */
.audience-grid { gap: 40px; }
.problems.audience-problems { display: grid; grid-template-columns: 1fr; margin-bottom: 20px; }
.audience-problems a { min-height: 0; }
.dd-menu { max-height: min(75vh, 660px); overflow-y: auto; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; }
.purple :focus-visible, .hero :focus-visible { outline-color: var(--gold); }
.hero .hero-copy h1 { font-size: clamp(2.3rem, 4.4vw, 3.5rem); }
html { scroll-padding-top: 100px; }

/* Use the brand purple for every part of the logo on the white header. */
.brand {
  display: block;
  flex-shrink: 0;
  background: var(--purple);
  -webkit-mask: url('/images/logo-horizontal.png') center / contain no-repeat;
  mask: url('/images/logo-horizontal.png') center / contain no-repeat;
}
.brand img { opacity: 0; }
.brand:focus-visible { outline: none; }
.brand:focus-visible img { opacity: 1; filter: brightness(0); }

/* Familiar mobile navigation; full link navigation remains visible on wide screens. */
.menu-toggle { min-width: 44px; min-height: 44px; padding: 10px; }
.hamburger { width: 22px; display: grid; gap: 5px; }
.hamburger span { display: block; height: 2px; width: 22px; background: currentColor; border-radius: 2px; }
.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero .hero-copy h1 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.13; }
@media (max-width:640px) { .hero-copy { padding-top: 42px; padding-bottom: 42px; } .hero .lead { font-size: 1.08rem; } }

@media (min-width:1280px) {
 .nav > a, .nav .dd > button { font-size: .88rem; padding-left: 8px; padding-right: 8px; }
 .nav > a.btn { padding-left: 12px; padding-right: 12px; }
 .header-inner { gap: 12px; }
 .nav > a, .nav .dd > button { white-space: nowrap; }
}

.parent-inquiry label, .parent-inquiry legend { display:block; font-weight:600; margin-bottom:6px; }
.parent-inquiry input:not([type="checkbox"]), .parent-inquiry select, .parent-inquiry textarea { display:block; width:100%; border:1px solid #716a7d; border-radius:8px; padding:12px; font:inherit; color:var(--ink); background:#fff; }
.parent-inquiry fieldset { border:1px solid var(--line); border-radius:10px; padding:18px; margin:0 0 24px; min-width:0; }
.parent-inquiry .choice { display:flex; align-items:flex-start; gap:10px; font-weight:400; padding:6px 0; }
.parent-inquiry input[type="checkbox"] { width:20px; height:20px; margin-top:4px; flex-shrink:0; accent-color:var(--purple); }
.parent-inquiry .grid { gap:20px; }

/* v21: room for the Charter Schools and Microschools tabs on laptop screens. The logo links home, so the Home tab shows only in the phone menu. */
@media (min-width:1280px) {
 .site-header .wrap { max-width: 1440px; }
 .nav { gap: 2px; }
 .nav > a[href="/"] { display: none; }
 .nav > a, .nav .dd > button { font-size: .86rem; padding-left: 7px; padding-right: 7px; }
 .dd > button::after { margin-left: 4px; }
}
@media (min-width:1280px) {
 .nav > a, .nav .dd > button { font-size: .83rem; padding-left: 5px; padding-right: 5px; }
 .nav > a.btn { padding-left: 11px; padding-right: 11px; margin-left: 4px; }
 .header-inner { gap: 10px; }
 .brand img { height: 46px; }
}
@media (min-width:1280px) { .nav > a[href="/"] { display: inline-block; } }

/* v23: Book a call button in the phone and tablet header */
.header-book { display: none; }
@media (max-width: 1279px) {
 .header-book { display: inline-flex; align-items: center; margin-left: auto; margin-right: 10px; padding: 9px 16px; background: var(--purple); color: #fff; border: 2px solid var(--purple); border-radius: 999px; font-weight: 600; font-size: .92rem; text-decoration: none; white-space: nowrap; }
 .header-book:hover { background: var(--purple-dark); border-color: var(--purple-dark); color: #fff; }
}
@media (max-width: 360px) { .header-book { padding: 8px 12px; font-size: .85rem; } }
/* Contact dropdown opens toward the left so it stays on screen */
@media (min-width:1280px) { .dd-menu.dd-right { left: auto; right: 0; } }
/* Meet Cecile & Lany */
.meet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.meet-card { display: grid; grid-template-columns: 170px 1fr; gap: 22px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.meet-card img { width: 170px; height: 170px; object-fit: cover; object-position: 50% 22%; border-radius: 50%; }
.meet-card h3 { margin: 0 0 2px; }
.meet-role { margin: 0 0 10px; color: var(--purple); font-weight: 600; font-size: .95rem; }
@media (max-width: 960px) { .meet-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .meet-card { grid-template-columns: 1fr; justify-items: center; text-align: center; } .meet-card img { width: 150px; height: 150px; } }
