/* Little Oaks Preschool demo. One accent (forest green), green-tinted neutrals, light/dark via prefers-color-scheme.
   Radius: controls 10px, panels 18px, buttons full pill. Z-index: header 10, skip link 30. */
:root {
  --accent: #2f6b4f;
  --accent-hover: #24563f;
  --accent-soft: #e3eee7;
  --ink: #1b2620;
  --text: #24302a;
  --muted: #5a675f;
  --line: #dde4df;
  --bg: #f7f8f5;
  --surface: #ffffff;
  --tint: #eef2ed;
  --on-accent: #ffffff;
  --r-ctl: 10px;
  --r-panel: 18px;
  --shadow: 0 1px 2px rgba(27, 38, 32, .05), 0 12px 32px rgba(27, 38, 32, .08);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #7fc4a0;
    --accent-hover: #9ad3b4;
    --accent-soft: #1f3329;
    --ink: #eef3ef;
    --text: #dfe7e1;
    --muted: #9fb0a5;
    --line: #2c3a32;
    --bg: #111814;
    --surface: #18211c;
    --tint: #151e19;
    --on-accent: #10251a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-family: 'Outfit', system-ui, sans-serif; color: var(--text); background: var(--bg); font-size: 17.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a, button, input, select, textarea { touch-action: manipulation; }
h1, h2, h3 { color: var(--ink); text-wrap: balance; line-height: 1.12; }
p { text-wrap: pretty; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 30; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--r-ctl); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

.demo-bar { background: var(--ink); color: var(--bg); text-align: center; font-size: 13.5px; font-weight: 500; padding: 8px 16px; }

/* Header + nav */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 20px; color: var(--ink); letter-spacing: -.01em; }
.logo i { font-size: 30px; color: var(--accent); }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: 16px; color: var(--muted); padding: 8px 14px; border-radius: 999px; transition: color .2s var(--ease), background-color .2s var(--ease); }
.nav a:hover { color: var(--ink); background: var(--tint); }
.nav a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 999px; width: 44px; height: 44px; color: var(--ink); font-size: 22px; cursor: pointer; align-items: center; justify-content: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 600; font-size: 16.5px; padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer; font-family: inherit; transition: background-color .2s var(--ease), transform .2s var(--ease); }
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-small { padding: 10px 20px; font-size: 15px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent); text-decoration: none; }
.text-link i { transition: transform .2s var(--ease); }
.text-link:hover i { transform: translateX(3px); }

/* Photo slots: the client's own photos go here. Honest placeholders, no stock photos of children. */
.photo { position: relative; border-radius: var(--r-panel); background:
  repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in srgb, var(--accent) 7%, transparent) 14px 15px), var(--accent-soft);
  display: flex; align-items: flex-end; padding: 16px; color: var(--accent); font-size: 14px; font-weight: 600; min-height: 220px; overflow: hidden; }
.photo i { position: absolute; top: 16px; right: 16px; font-size: 26px; opacity: .7; }

/* Sections */
.section { padding: 96px 0 104px; }
.section-tint { background: var(--tint); }
h1 { font-size: clamp(40px, 5.4vw, 64px); letter-spacing: -.03em; font-weight: 700; }
h2 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.025em; font-weight: 700; margin-bottom: 16px; }
h3 { font-size: 21px; font-weight: 600; margin-bottom: 8px; letter-spacing: -.01em; }
.lead { font-size: 20px; color: var(--muted); max-width: 48ch; }
.body { color: var(--muted); max-width: 62ch; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.small { font-size: 14px; color: var(--muted); }

/* Page hero (inner pages) */
.page-hero { padding: 72px 0 40px; }
.page-hero .lead { margin-top: 18px; }

/* Home hero: copy left, photo collage right */
.hero { padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero .lead { margin: 22px 0 32px; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.collage { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 440px; }
.collage .photo:first-child { grid-row: span 2; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .7s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3) { animation-delay: .12s; }
  .collage .photo { animation: rise .8s .15s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Facts strip */
.facts { border-block: 1px solid var(--line); background: var(--surface); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-grid div { padding: 26px 0; display: flex; gap: 14px; align-items: center; }
.facts-grid div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.facts-grid i { font-size: 28px; color: var(--accent); }
.facts-grid strong { display: block; color: var(--ink); font-weight: 600; }
.facts-grid span { font-size: 14.5px; color: var(--muted); }

/* Programs on home: stacked rows with age chip, not equal cards */
.program-rows { margin-top: 36px; border-top: 1px solid var(--line); }
.program-row { display: grid; grid-template-columns: 180px 1fr auto; gap: 28px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.age { display: inline-block; background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: 15px; padding: 6px 14px; border-radius: 999px; justify-self: start; }
.program-row h3 { margin-bottom: 4px; }
.program-row p { color: var(--muted); max-width: 58ch; }

/* Day rhythm: horizontal steps */
.day { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; margin-top: 40px; counter-reset: step; }
.day li { list-style: none; padding: 20px 18px 0 0; border-top: 2px solid var(--line); position: relative; }
.day li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.day time { display: block; font-weight: 700; color: var(--ink); font-size: 18px; font-variant-numeric: tabular-nums; margin-bottom: 4px; }
.day span { color: var(--muted); font-size: 15.5px; }

/* Tour band */
.tour-band { background: var(--accent); color: var(--on-accent); border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.tour-band h2 { color: var(--on-accent); margin-bottom: 8px; }
.tour-band p { opacity: .85; max-width: 52ch; }
.tour-band .btn { background: var(--surface); color: var(--ink); }
.tour-band .btn:hover { background: var(--bg); }

/* Questions: two columns, no accordion */
.qa { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 56px; margin-top: 36px; }
.qa h3 { font-size: 19px; }
.qa p { color: var(--muted); }

/* Programs page */
.program-detail { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.program-detail:nth-of-type(even) .photo { order: 2; }
.program-detail .photo { min-height: 300px; }
.program-detail ul { padding: 0; list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.program-detail li { display: flex; gap: 10px; color: var(--muted); }
.program-detail li i { color: var(--accent); font-size: 20px; margin-top: 2px; }
.fees { width: 100%; border-collapse: collapse; margin-top: 28px; background: var(--surface); border-radius: var(--r-panel); overflow: hidden; box-shadow: var(--shadow); }
.fees th, .fees td { text-align: left; padding: 16px 20px; }
.fees thead th { background: var(--accent-soft); color: var(--ink); font-weight: 600; font-size: 15px; }
.fees tbody tr + tr td { border-top: 1px solid var(--line); }
.fees td.num { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); white-space: nowrap; }

/* About page */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.story .photo { min-height: 380px; }
.team { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 18px; margin-top: 36px; }
.person { background: var(--surface); border-radius: var(--r-panel); padding: 26px; box-shadow: var(--shadow); }
.person:first-child { grid-row: span 2; display: flex; flex-direction: column; }
.person:first-child .photo { min-height: 240px; margin-bottom: 20px; }
.initials { width: 52px; height: 52px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); font-weight: 700; display: grid; place-items: center; margin-bottom: 14px; }
.person p { color: var(--muted); font-size: 15.5px; }
.role { font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 8px; }
.policies { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; margin-top: 28px; }
.policies div { padding: 22px 0; border-top: 1px solid var(--line); }
.policies p { color: var(--muted); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; background: var(--surface); padding: 32px; border-radius: var(--r-panel); box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 15px; font-weight: 600; color: var(--ink); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: var(--text); padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--bg); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .85; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.error { display: none; font-size: 14px; color: #b3261e; font-weight: 500; }
@media (prefers-color-scheme: dark) { .error { color: #f2a19a; } }
.has-error input, .has-error select { border-color: #b3261e; }
.has-error .error { display: block; }
.full { grid-column: 1 / -1; }
.form-note { font-size: 14px; color: var(--muted); }
.form-done { grid-column: 1 / -1; display: none; background: var(--accent-soft); color: var(--ink); border-radius: var(--r-ctl); padding: 18px 20px; }
.form.sent .form-done { display: block; }
.info { display: grid; gap: 26px; }
.info h3 { font-size: 18px; display: flex; gap: 10px; align-items: center; }
.info h3 i { color: var(--accent); font-size: 22px; }
.info p, .info li { color: var(--muted); }
.info ul { padding: 0; list-style: none; display: grid; gap: 6px; }
.info a { color: var(--ink); font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid p, .footer-grid a { color: var(--muted); font-size: 15px; text-decoration: none; }
.footer-grid a:hover { color: var(--ink); }
.footer-grid h3 { font-size: 15px; margin-bottom: 10px; }
.footer-grid nav { display: grid; gap: 6px; }
.footer-note { margin-top: 28px; font-size: 13.5px; color: var(--muted); }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .contact-grid, .story, .program-detail { grid-template-columns: 1fr; gap: 36px; }
  .program-detail:nth-of-type(even) .photo { order: 0; }
  .collage { height: 340px; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .facts-grid div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts-grid div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .day { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .team { grid-template-columns: 1fr 1fr; }
  .person:first-child { grid-column: 1 / -1; grid-row: auto; }
  .tour-band { grid-template-columns: 1fr; padding: 40px; }
}
@media (max-width: 720px) {
  .menu-btn { display: inline-flex; }
  .header-inner > .btn-small { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 70px; flex-direction: column; gap: 2px; background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px 16px 18px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  body { font-size: 16.5px; }
  .section { padding: 64px 0 72px; }
  .hero { padding: 40px 0 48px; }
  .lead { font-size: 18px; }
  .collage { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 120px; height: auto; }
  .collage .photo:first-child { grid-row: auto; grid-column: 1 / -1; }
  .collage .photo { min-height: 0; }
  .facts-grid { grid-template-columns: 1fr; }
  .facts-grid div { padding: 16px 0 !important; border-left: 0 !important; }
  .facts-grid div + div { border-top: 1px solid var(--line); }
  .program-row { grid-template-columns: 1fr; gap: 10px; }
  .day { grid-template-columns: 1fr; }
  .day li { border-top: 0; border-left: 2px solid var(--line); padding: 0 0 22px 22px; }
  .day li::before { top: 4px; left: -7px; }
  .qa, .policies, .team, .form, .footer-grid { grid-template-columns: 1fr; }
  .tour-band { padding: 32px 24px; border-radius: 22px; }
  .form { padding: 22px; }
  .fees th, .fees td { padding: 12px 14px; }
}

/* Helpers */
.section-flush { padding-top: 0; }
.section-top { padding-top: 24px; }
.footer-address { margin-top: 10px; }
.fee-note { margin-top: 14px; }
.story-body { margin-top: 18px; }
