/* Daycare sample: pastel cards, navy accents, purple pill CTAs. */
:root {
  --primary: #5645d4;
  --primary-pressed: #4534b3;
  --navy: #0a1530;
  --navy-mid: #1a2a52;
  --canvas: #ffffff;
  --surface: #fafaf9;
  --hairline: #e5e3df;
  --ink: #1a1a1a;
  --slate: #5d5b54;
  --steel: #787671;
  --peach: #ffe8d4;
  --mint: #d9f3e1;
  --lavender: #e6e0f5;
  --sky: #dcecfa;
  --yellow: #fef7d6;
  --rose: #fde0ec;
  --cream: #f8f5e8;
  --pink: #ff64c8;
  --font: Inter, system-ui, -apple-system, sans-serif;
  --r: 16px;
  --pill: 999px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(ellipse 70% 45% at 100% 0%, rgba(253, 224, 236, 0.7), transparent 55%),
    radial-gradient(ellipse 55% 40% at 0% 15%, rgba(220, 236, 250, 0.65), transparent 50%),
    var(--surface);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.35em;
}
.eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

.demo-notice {
  background: var(--cream);
  color: var(--slate);
  font-size: 13px;
  text-align: center;
  padding: 10px 16px;
  position: relative;
  z-index: 70;
}
.demo-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  margin-right: 8px;
  border-radius: var(--pill);
  background: var(--lavender);
  color: var(--primary);
  vertical-align: 1px;
}
.demo-notice a {
  color: var(--primary);
  text-decoration: underline;
  margin-left: 10px;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 18px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-purple { background: var(--primary); color: #fff; }
.btn-purple:hover { background: var(--primary-pressed); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.nav-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
}
.nav-logo {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.03em;
  margin-right: auto;
}
.nav-logo span { color: var(--primary); }
.nav-links {
  display: flex;
  gap: 22px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
}
.nav-actions { display: flex; }
.nav-drawer {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 20px;
  border-top: 1px solid var(--hairline);
  background: #fff;
}
.nav:has(.nav-menu[open]) .nav-drawer { display: flex; }
.nav-drawer a {
  padding: 12px 0;
  font-weight: 500;
  border-bottom: 1px solid var(--hairline);
}
.nav-drawer-cta { margin-top: 12px; border-bottom: none !important; text-align: center; }
.nav-menu { display: none; margin-left: auto; }

.hero {
  display: grid;
  grid-template-columns: 42% 58%;
  /* Full first screen below the demo banner + sticky nav. */
  height: calc(100svh - 6.75rem);
  min-height: 0;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.hero-copy {
  display: flex;
  align-items: center;
  min-height: 0;
  padding: clamp(28px, 6vh, 72px) clamp(20px, 3vw, 40px) clamp(28px, 6vh, 72px) clamp(20px, 5vw, 6vw);
  position: relative;
  z-index: 2;
  background:
    radial-gradient(circle at 30% 20%, rgba(86, 69, 212, 0.45), transparent 45%),
    radial-gradient(circle at 70% 80%, rgba(255, 100, 200, 0.25), transparent 40%),
    var(--navy);
}
.hero-copy-inner { max-width: 440px; }
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  color: #fff;
  margin-bottom: 14px;
}
.hero .lead {
  margin: 0;
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  color: rgba(255, 255, 255, 0.78);
}
.hero .btn-row { margin-top: clamp(18px, 3.5vh, 32px); }
.hero-media {
  position: relative;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 100%);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: drift 16s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: scale(1) translateX(0); }
  to { transform: scale(1.04) translateX(-1.5%); }
}

.section-head { margin-bottom: 28px; max-width: 36em; }
.section-head h2 { font-size: clamp(1.75rem, 3.5vw, 2.25rem); }
.section-head p { margin: 0; color: var(--slate); }

.programs { padding: 72px 0 40px; }
.masonry {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.prog {
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid transparent;
  box-shadow: 0 12px 28px rgba(10, 21, 48, 0.05);
  transition: transform 0.2s var(--ease);
}
.prog:hover { transform: translateY(-3px); }
.prog-wide { grid-column: span 2; display: grid; grid-template-columns: 1.1fr 1fr; }
.prog img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
}
.prog-body { padding: 28px 26px; }
.prog.peach { background: var(--peach); }
.prog.mint { background: var(--mint); }
.prog.lavender { background: var(--lavender); }
.prog.sky { background: var(--sky); }
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 8px;
}
.prog h3 { font-size: 1.35rem; }
.prog p { margin: 0; color: var(--slate); }

.day {
  padding: 56px 0 72px;
  background: #fff;
}
.day-board {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.day-block {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  padding: 16px 10px;
  border-radius: 12px;
  border: 1px solid var(--hairline);
  background: var(--cream);
  color: var(--slate);
  cursor: pointer;
  transition: background 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease);
}
.day-block.is-active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.day-panel {
  background: var(--lavender);
  border-radius: var(--r);
  padding: 28px 26px;
  min-height: 120px;
}
.day-panel h3 { font-size: 1.25rem; }
.day-panel p { margin: 0; color: var(--slate); }

.trust { padding: 24px 0 64px; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.trust-card {
  border-radius: var(--r);
  padding: 26px 22px;
}
.trust-card.yellow { background: var(--yellow); }
.trust-card.rose { background: var(--rose); }
.trust-card.cream { background: var(--cream); }
.trust-card h3 { font-size: 1.1rem; }
.trust-card p { margin: 0; color: var(--slate); font-size: 0.95rem; }

.tour {
  padding: 48px 0 100px;
}
.tour-inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}
.tour h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 12px;
}
.tour > .wrap > p,
.tour-inner > p {
  color: var(--slate);
  margin: 0 0 28px;
}
.tour-form {
  text-align: left;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 20px 40px rgba(10, 21, 48, 0.07);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tour-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
}
.tour-form input,
.tour-form select {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  border: 1px solid #c8c4be;
  border-radius: 8px;
  padding: 10px 12px;
  min-height: 44px;
  background: #fff;
}
.tour-form input:focus,
.tour-form select:focus {
  outline: none;
  border: 2px solid var(--primary);
  padding: 9px 11px;
}
.form-note {
  margin: 0;
  min-height: 1.2em;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  text-align: center;
}

.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 36px 0;
  font-size: 14px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  justify-content: space-between;
}
.footer-brand { margin: 0; font-weight: 700; color: #fff; }
.footer p { margin: 0; }
.footer a { color: #fff; text-decoration: underline; font-weight: 600; }

.js-motion .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.06s);
}
.js-motion .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .nav-links, .nav-actions { display: none; }
  .nav-menu { display: block; }
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    height: calc(100svh - 6.75rem);
    min-height: 0;
  }
  .hero-copy {
    order: 2;
    padding: 28px 24px 36px;
    background:
      linear-gradient(180deg, transparent, var(--navy) 18%),
      var(--navy);
  }
  .hero-media {
    order: 1;
    height: 100%;
    min-height: 0;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .hero-media::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 45%;
    background: linear-gradient(transparent, var(--navy));
  }
  .prog-wide { grid-column: span 1; grid-template-columns: 1fr; }
  .masonry,
  .trust-grid { grid-template-columns: 1fr; }
  .day-board { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* --- Accessibility baseline (Web Interface Guidelines) --- */
.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 1000;
  padding: 10px 14px;
  background: #111;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: 6px;
  transform: translateY(-200%);
}
.skip-link:focus { outline: none; }
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
[id] {
  scroll-margin-top: calc(5.5rem + env(safe-area-inset-top, 0px));
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
.nav, .nav-min, .masthead, .bar {
  padding-left: max(0px, env(safe-area-inset-left, 0px));
  padding-right: max(0px, env(safe-area-inset-right, 0px));
}
.nav-drawer {
  overscroll-behavior: contain;
}

/* --- Web Interface Guidelines extras --- */
a, button, summary, input, select, textarea, label, [role="button"], [role="tab"] {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.08);
}
h1, h2, h3 { text-wrap: pretty; }
