/* Montessori Schoolhouse (legacy site) — shared styles.
   Palette matches littlesproutsmontessori.com. Everything is served from this host. */

@font-face {
  font-family: "Nunito";
  src: url("fonts/nunito-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #1E7A45;
  --green-mid: #2E9D5A;
  --green-light: #E8F7EE;
  --yellow: #FFD166;
  --yellow-light: #FFF8DC;
  --coral: #E8604C;
  --sky: #3AAFA9;
  --sky-light: #E6F7F6;
  --stone: #4B4036;
  --stone-mid: #7A6959;
  --stone-soft: #BFB0A0;
  --cream: #FFFBF2;
  --line: #EDE6DA;
  --white: #fff;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(75, 64, 54, .08);
  --font: "Nunito", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--stone);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:hover { color: var(--green-mid); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 900; color: var(--stone); }
h1 { font-size: clamp(34px, 6vw, 58px); letter-spacing: -.01em; }
h2 { font-size: clamp(26px, 4vw, 40px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

/* Top info bar */
.topbar { background: var(--green); color: #fff; font-size: 14px; text-align: center; padding: 8px 16px; line-height: 1.5; }
.topbar a { color: var(--yellow); font-weight: 800; text-decoration: none; white-space: nowrap; }
.topbar a:hover { text-decoration: underline; color: var(--yellow); }
.topbar .sep { opacity: .6; margin: 0 6px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 251, 242, .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--stone); }
.brand img { width: 46px; height: 46px; object-fit: contain; border-radius: 50%; }
.brand strong { display: block; font-size: 18px; font-weight: 900; line-height: 1.1; }
.brand small { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--stone-mid); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--stone); font-weight: 700; font-size: 15px; padding: 8px 10px; border-radius: 99px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--green-light); color: var(--green); }
.nav .btn { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 2px solid var(--line); border-radius: 12px; padding: 8px 12px; font: 800 15px var(--font); color: var(--stone); cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; font-size: 16px; border-radius: 99px; padding: 13px 24px; border: 2px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #fff !important; box-shadow: 0 6px 18px rgba(30, 122, 69, .25); }
.btn-primary:hover { background: var(--green-mid); }
.btn-outline { background: var(--white); color: var(--stone) !important; border-color: var(--line); }
.btn-outline:hover { border-color: var(--green-mid); }
.btn-yellow { background: var(--yellow); color: var(--stone) !important; }
.btn-white { background: var(--white); color: var(--green) !important; }
.nav .btn { padding: 10px 18px; font-size: 15px; }

/* Sections */
section { padding: 72px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; background: var(--green-light); color: var(--green); font-weight: 800; font-size: 13px; padding: 6px 14px; border-radius: 99px; margin-bottom: 14px; }
.center { text-align: center; }
.lead { font-size: 19px; color: var(--stone-mid); max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--stone-mid); }
.bg-white { background: var(--white); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 80px; background: radial-gradient(circle at 92% 8%, #d4ede0 0 180px, transparent 181px), radial-gradient(circle at 0% 100%, var(--yellow-light) 0 220px, transparent 221px), var(--cream); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 .accent { color: var(--green); display: block; }
.hero .tagline { font-size: clamp(22px, 3vw, 30px); font-weight: 900; color: var(--green-mid); margin-bottom: 12px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-badge { background: #fff; border: 10px solid #d4ede0; border-radius: 32px; padding: 34px; box-shadow: var(--shadow); text-align: center; }
.hero-badge img { width: min(300px, 80%); margin: 0 auto; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { background: var(--white); border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; font-size: 14px; font-weight: 700; color: var(--stone-mid); }

/* New-site banner */
.banner { padding: 0; }
.banner .box { background: linear-gradient(120deg, var(--green), var(--green-mid)); color: #fff; border-radius: 28px; padding: 34px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; box-shadow: var(--shadow); }
.banner h2 { color: #fff; font-size: clamp(22px, 3vw, 30px); margin: 0; }
.banner p { margin: 4px 0 0; opacity: .9; }

/* Two-column feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.fact { background: var(--green-light); border-radius: 16px; padding: 14px; text-align: center; }
.fact strong { display: block; font-size: 22px; color: var(--green); font-weight: 900; line-height: 1.2; }
.fact span { font-size: 13px; color: var(--stone-mid); font-weight: 700; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--stone); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(75, 64, 54, .14); color: var(--stone); }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card .body { padding: 20px 22px 24px; }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--stone-mid); font-size: 15px; margin: 0 0 12px; }
.card .more { font-weight: 800; color: var(--green); font-size: 15px; }

/* Montessori principles */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.principle { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.principle .icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; margin-bottom: 12px; }
.principle p { font-size: 15px; color: var(--stone-mid); margin: 0; }
.i-green { background: var(--green-light); } .i-yellow { background: var(--yellow-light); } .i-sky { background: var(--sky-light); }

/* AMS */
.ams { display: flex; align-items: center; gap: 32px; background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: 32px 40px; box-shadow: var(--shadow); }
.ams img { width: 140px; flex: none; }
.ams p { margin: 0; font-size: 18px; }

/* Quote */
.quote { position: relative; color: #fff; padding: 110px 0; background: #2b2420 center / cover no-repeat; }
.quote::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30, 50, 35, .82), rgba(30, 50, 35, .45)); }
.quote .wrap { position: relative; }
.quote blockquote { margin: 0; max-width: 720px; font-size: clamp(24px, 3.4vw, 36px); font-weight: 800; line-height: 1.3; }
.quote cite { display: block; margin-top: 16px; font-style: normal; font-weight: 800; color: var(--yellow); font-size: 18px; }

/* CTA */
.cta .box { background: linear-gradient(120deg, var(--green), var(--green-mid)); border-radius: 28px; padding: 44px 48px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin: 0 0 6px; }
.cta p { margin: 0; opacity: .92; }
.cta .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--stone); color: #efe7dc; padding: 56px 0 28px; font-size: 15px; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; }
.footer-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.footer-brand img { width: 64px; background: #fff; border-radius: 50%; padding: 3px; }
.footer-brand strong { font-size: 20px; color: #fff; font-weight: 900; }
.site-footer h3 { color: #fff; font-size: 16px; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer li a { text-decoration: none; }
.site-footer li a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 36px; padding-top: 18px; font-size: 13px; opacity: .75; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Inner pages */
.page-hero { padding: 56px 0 48px; background: radial-gradient(circle at 95% 0%, #d4ede0 0 150px, transparent 151px), var(--cream); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(32px, 5vw, 50px); margin-bottom: 10px; }
.page-hero .lead { margin: 0; }
.crumbs { font-size: 14px; color: var(--stone-mid); margin-bottom: 12px; }
.crumbs a { color: var(--stone-mid); }
.options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 28px; }
.option { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.option .time { display: inline-block; background: var(--yellow-light); color: var(--warm, #8B6914); font-weight: 800; font-size: 14px; border-radius: 99px; padding: 4px 12px; margin-bottom: 10px; }
.option p { margin: 0; color: var(--stone-mid); font-size: 15px; }
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
.area { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.area h3 { font-size: 18px; }
.area p { font-size: 14.5px; color: var(--stone-mid); margin: 0; }
.area .icon { font-size: 26px; margin-bottom: 8px; }
.photo-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.photo-row .photo img { aspect-ratio: 4 / 3; }
.docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-top: 28px; }
.doc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.doc h3 { margin: 0; }
.doc p { margin: 0; color: var(--stone-mid); font-size: 15px; }
.doc .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.doc .btn { padding: 10px 18px; font-size: 15px; }
.scan { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 12px; box-shadow: var(--shadow); max-width: 860px; margin: 0 auto 24px; }
.scan img { width: 100%; }
.notice { background: var(--yellow-light); border: 1px solid #f3dc9a; border-radius: 16px; padding: 16px 20px; margin: 0 0 24px; font-size: 15px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.contact-card .icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: var(--green-light); margin-bottom: 12px; }
.contact-card p { margin: 0; font-size: 16px; }
.contact-card a { font-weight: 800; }
.map { border: 0; width: 100%; height: 380px; border-radius: var(--radius); box-shadow: var(--shadow); }
.list-check { list-style: none; padding: 0; margin: 0 0 1em; }
.list-check li { position: relative; padding-left: 30px; margin-bottom: 8px; }
.list-check li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 900; }
@media print { .topbar, .site-header, .site-footer, .page-hero, .no-print { display: none !important; } .scan { box-shadow: none; border: 0; padding: 0; } body { background: #fff; } }

/* Tuition, calendar, team */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.price { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); position: relative; display: flex; flex-direction: column; }
.price.featured { border: 2px solid var(--green-mid); }
.price .badge { position: absolute; top: -12px; right: 18px; background: var(--green); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 99px; }
.price h3 { margin-bottom: 4px; }
.price .sub { color: var(--stone-mid); font-size: 14px; font-weight: 700; margin: 0 0 4px; }
.price .sub2 { color: var(--stone-soft); font-size: 13px; margin: 0; }
.price .amount { font-size: 36px; font-weight: 900; color: var(--green); margin: 14px 0 0; line-height: 1; }
.price .unit { color: var(--stone-mid); font-size: 14px; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.rows li strong { font-weight: 800; }
.rows li span { color: var(--stone-mid); text-align: right; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.panel.sunny { background: linear-gradient(135deg, #FFF8DC, #FFEDC0); border-color: #FFE08A; }
.panel h3 { margin-bottom: 4px; }
.cal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 28px; }
.cal { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.cal h3 { font-size: 17px; margin-bottom: 10px; }
.cal ul { list-style: none; padding: 0; margin: 0; }
.cal li { display: grid; grid-template-columns: 92px 1fr; gap: 8px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.cal li b { color: var(--green); font-weight: 800; }
.cal li.hi { background: var(--green-light); border-radius: 8px; padding: 7px 8px; border-bottom: 0; }
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 30px; }
.member { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; grid-template-columns: 96px 1fr; gap: 18px; box-shadow: var(--shadow); }
.member img, .member .ph { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid var(--green-light); }
.member .ph { display: grid; place-items: center; background: var(--yellow-light); font-size: 40px; }
.member h3 { margin: 0; }
.member .role { color: var(--green-mid); font-weight: 800; font-size: 14px; margin: 2px 0 8px; }
.member p { font-size: 14.5px; color: var(--stone-mid); margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.tags span { background: var(--cream); border: 1px solid var(--line); border-radius: 99px; padding: 2px 10px; font-size: 12px; font-weight: 700; color: var(--stone-mid); }
.owner { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.owner img { border-radius: var(--radius); box-shadow: var(--shadow); }
.pull { border-left: 4px solid var(--yellow); padding: 6px 0 6px 18px; font-size: 18px; font-weight: 700; color: var(--stone); margin: 20px 0 0; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse > :first-child { order: 0; }
  .hero-badge { max-width: 380px; margin: 0 auto; }
  .cards, .principles, .areas, .cal-grid { grid-template-columns: 1fr 1fr; }
  .price-grid, .team, .two-col { grid-template-columns: 1fr; }
  .owner { grid-template-columns: 1fr; }
  .owner img { max-width: 260px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); flex-direction: column; align-items: stretch; padding: 10px 22px 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  section { padding: 52px 0; }
  .cards, .principles, .footer-grid, .areas, .options, .photo-row, .cal-grid { grid-template-columns: 1fr; }
  .member { grid-template-columns: 1fr; }
  .facts { gap: 8px; }
  .fact { padding: 10px 6px; }
  .fact strong { font-size: 18px; }
  .fact span { font-size: 11px; }
  .topbar .optional { display: none; }
  .banner .box, .cta .box, .ams { padding: 28px 24px; flex-direction: column; align-items: flex-start; }
  .ams img { width: 110px; }
  .hero { padding-top: 40px; }
  .hero .actions .btn { flex: 1 1 auto; justify-content: center; }
  .quote { padding: 80px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
