/* ==========================================================================
   Little VIP Daycare & Private School, LLC
   v5, 2026-09-03. Concept: "Raised here." The story runs backward from
   graduation day to the first day. Cream paper, leaf green, apricot,
   tassel gold. Serif type, big quiet photographs, hairlines, a sticky
   era label in the margin. Apple-tree mark.
   ========================================================================== */

:root {
  --cream: #f6f1e7;
  --cream-2: #ede5d6;
  --white: #fffcf6;
  --ink: #1f2a22;
  --ink-2: #4c5a50;
  --rule: rgba(31, 42, 34, 0.16);
  --leaf: #3f6b3a;
  --leaf-deep: #2c4b29;
  --leaf-pale: #dfe8d4;
  --apricot: #e39a6c;
  --apricot-pale: #f7e3d6;
  --gold: #d9a441;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Lora", Georgia, "Times New Roman", serif;
  --wrap: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--leaf); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

/* ---------- type ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 144;
}

h1 { font-size: clamp(3rem, 7vw, 5.8rem); font-weight: 800; line-height: 0.98; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.35rem; }
p { color: var(--ink-2); }
p + p { margin-top: 1em; }
.lead { font-size: 1.18rem; line-height: 1.6; }
.soft { font-style: italic; color: var(--leaf); font-weight: 700; }

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--leaf);
}

.label .leaf { width: 16px; height: 16px; flex: none; }

/* masked reveal, only when JS tags <html class="anim"> */
.reveal-lines .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.reveal-lines .line > span { display: inline-block; }
html.anim .reveal-lines .line > span { transform: translateY(112%); transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1); }
html.anim .reveal-lines.is-in .line > span { transform: translateY(0); }
.reveal-lines .line:nth-child(2) > span { transition-delay: 0.14s; }

html.anim .rise { opacity: 0; transform: translateY(22px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
html.anim .rise.is-in { opacity: 1; transform: none; }

/* ---------- header ---------- */

.topline { background: var(--ink); color: var(--cream-2); font-size: 0.86rem; padding: 7px 0; }
.topline .wrap { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.topline a { color: var(--white); text-decoration: none; font-weight: 600; }
.topline a:hover { color: var(--gold); }
.topline .sep { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin: 0 12px; vertical-align: middle; }

.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(246, 241, 231, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow 0.3s ease;
}

.site-head.scrolled { box-shadow: 0 6px 24px rgba(31, 42, 34, 0.08); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 14px; padding-bottom: 14px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand svg { width: 46px; height: 46px; flex: none; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; line-height: 1; letter-spacing: -0.02em; color: var(--ink); }
.brand-sub { font-weight: 600; font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-2); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-weight: 600; font-size: 0.96rem; color: var(--ink); text-decoration: none; position: relative; padding: 4px 0; }

.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--leaf);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--leaf); }
.nav .btn { padding: 10px 18px; font-size: 0.9rem; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  padding: 14px 24px;
  border-radius: 6px;
  text-decoration: none;
  border: 1.5px solid var(--leaf);
  background: var(--leaf);
  color: var(--white);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover { background: var(--leaf-deep); border-color: var(--leaf-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.btn-cream { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn-cream:hover { background: var(--white); border-color: var(--white); }
.btn-outline { background: transparent; border-color: rgba(255, 255, 255, 0.5); color: var(--white); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--white); }

/* ---------- photographs ---------- */

.frame { position: relative; }
.frame-img { overflow: hidden; border-radius: 10px; background: var(--cream-2); }
.frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transform: scale(1.08); will-change: transform; }
.frame.portrait img { aspect-ratio: 3 / 4; }
.frame.square img { aspect-ratio: 1; }
.frame.wide img { aspect-ratio: 16 / 10; }
.frame.wide { margin-top: 40px; }
figcaption { margin-top: 12px; font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--ink-2); }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.duo .frame:nth-child(2) { margin-top: 56px; }

/* ---------- hero ---------- */

.hero { position: relative; overflow: hidden; padding: 72px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 64px; align-items: end; position: relative; }
.hero h1 { margin: 18px 0 24px; }
.hero .lead { max-width: 34em; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-size: 0.9rem;
  color: var(--ink-2);
}

.hero-meta strong { color: var(--ink); font-weight: 600; }

.leaves { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.leaf-fall { position: absolute; top: -50px; width: 26px; color: var(--leaf); opacity: 0.5; animation: fall 26s linear infinite; }
.leaf-fall .leaf { width: 100%; height: auto; }
.leaf-fall.l1 { left: 6%; }
.leaf-fall.l2 { left: 58%; width: 18px; color: var(--apricot); animation-duration: 34s; animation-delay: -15s; }

@keyframes fall {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(28px, 28vh) rotate(90deg); }
  50% { transform: translate(-16px, 56vh) rotate(180deg); }
  75% { transform: translate(24px, 84vh) rotate(260deg); }
  100% { transform: translate(0, 112vh) rotate(350deg); }
}

/* ---------- pull quote ---------- */

.pull { max-width: 760px; margin: 0 auto; text-align: center; padding: 72px 0 16px; }
.pull .leaf { width: 28px; height: 28px; margin: 0 auto 18px; color: var(--leaf); display: block; }
.pull p { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.4; color: var(--ink); }
.pull cite { display: block; margin-top: 18px; font-style: normal; font-weight: 600; font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--leaf); }

/* ---------- the story: eras with a sticky margin label ---------- */

.story { padding-top: 48px; }

.era {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  padding: 88px 0;
  border-top: 1px solid var(--rule);
}

.era-side { position: relative; }

.era-label {
  position: sticky;
  top: 120px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.55rem;
  line-height: 1.2;
  color: var(--leaf);
}

.era-label small {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 10px;
}

.era-body { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.era-body.stack { grid-template-columns: 1fr; align-items: start; gap: 40px; }
.era.flip .era-body > .frame, .era.flip .era-body > .duo { order: 2; }
.era-text h2 { margin-bottom: 18px; }
.era-text .marks { margin: 16px 0 0 20px; }
.marks li { margin-bottom: 6px; color: var(--ink-2); }

.more { display: inline-block; margin-top: 20px; font-weight: 600; color: var(--leaf); text-decoration: none; border-bottom: 1.5px solid var(--leaf); padding-bottom: 1px; }
.more:hover { color: var(--leaf-deep); border-color: var(--leaf-deep); }

.quote-card {
  border-left: 3px solid var(--gold);
  padding: 6px 0 6px 22px;
  margin: 22px 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--ink);
}

.messages { list-style: none; margin-top: 24px; border-top: 1px solid var(--rule); max-width: 560px; }
.messages li { padding: 12px 0; border-bottom: 1px solid var(--rule); display: flex; gap: 14px; align-items: baseline; font-size: 0.98rem; color: var(--ink-2); }
.messages li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--apricot); flex: none; transform: translateY(-1px); }
.messages li.you { color: var(--ink); font-style: italic; }
.messages li.you::before { background: var(--leaf); }
.messages-note { font-size: 0.86rem; margin-top: 10px; }

/* ---------- three houses ---------- */

.homes { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.home { padding: 28px 28px 30px 0; border-right: 1px solid var(--rule); }
.home + .home { padding-left: 28px; }
.home:last-child { border-right: none; padding-right: 0; }
.home h3 { font-size: 1.45rem; margin: 8px 0 10px; }
.home address { font-style: normal; font-size: 0.96rem; color: var(--ink-2); }
.home .line { margin-top: 10px; font-size: 0.94rem; }
.home .line strong { color: var(--ink); font-weight: 600; }
.home .links { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 4px 16px; font-weight: 600; font-size: 0.94rem; }
.home .links a { text-decoration: none; }
.home .links a:hover { text-decoration: underline; }
.homes-note { margin-top: 20px; font-size: 0.96rem; }
.status { display: inline-block; font-weight: 600; color: var(--ink); background: var(--apricot-pale); border-radius: 4px; padding: 1px 8px; font-size: 0.88rem; }
.status-open { background: var(--leaf-pale); }
.status-full { background: var(--cream-2); }

/* ---------- the close ---------- */

.close { background: var(--leaf-deep); color: var(--cream-2); padding: 112px 0; margin-top: 40px; }
.close .label { color: var(--gold); }
.close h2 { color: var(--white); font-size: clamp(2.2rem, 4.8vw, 3.8rem); max-width: 16em; margin: 16px 0 22px; letter-spacing: -0.02em; }
.close p { color: #d3ddcd; max-width: 40em; font-size: 1.12rem; }
.close .hero-ctas { margin-top: 34px; }

/* ---------- interior page hero ---------- */

.page-hero { padding: 72px 0 40px; }
.page-hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); margin: 16px 0 18px; }
.page-hero .lead { max-width: 44em; }
.page-hero .hero-ctas { margin-top: 28px; }

.jump { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--rule); }
.jump a { font-weight: 600; font-size: 0.92rem; text-decoration: none; color: var(--ink); }
.jump a:hover { color: var(--leaf); }

.sect { padding: 56px 0 24px; }

/* ---------- about / programs ---------- */

.trio, .approach { display: grid; gap: 44px; }
.trio { grid-template-columns: repeat(3, 1fr); }
.approach { grid-template-columns: 1fr 1fr; gap: 56px; }
.trio > div, .approach > div { padding-top: 20px; border-top: 2px solid var(--leaf); }
.trio h3, .approach h3 { margin: 10px 0 10px; }
.approach h3 { font-size: 1.6rem; }
.approach .marks { margin: 14px 0 0 20px; }

/* ---------- gallery ---------- */

.masonry { columns: 3; column-gap: 24px; }
.masonry figure { break-inside: avoid; margin-bottom: 28px; }
.masonry img { width: 100%; border-radius: 10px; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.masonry figure:hover img { transform: translateY(-4px); }
.masonry figcaption { margin-top: 10px; }

/* ---------- parents ---------- */

.hours-homes .home .line a { text-decoration: none; }
.closures { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; padding-top: 8px; }
.closures h3 { font-size: 1.6rem; margin-bottom: 12px; }
.closures .form-link { display: inline-flex; margin-top: 22px; }
.closure-list { list-style: none; }
.closure-list li { padding: 11px 0; border-bottom: 1px solid var(--rule); font-weight: 600; color: var(--ink); }
.closure-list li:first-child { border-top: 1px solid var(--rule); }

.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.steps li { counter-increment: s; padding-top: 18px; border-top: 1px solid var(--rule); }
.steps li::before { content: counter(s); display: block; font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--apricot); margin-bottom: 12px; }
.steps h3 { font-size: 1.12rem; margin-bottom: 8px; }
.steps p { font-size: 0.96rem; }
.steps + .form-links { margin-top: 40px; }

.notes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 56px; }
.note h3 { margin-bottom: 8px; }
.note-honest { background: var(--apricot-pale); padding: 26px 28px; border-radius: 10px; }
.note-honest p { color: var(--ink); }

.policy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 56px; }
.policy { padding-top: 16px; border-top: 1px solid var(--rule); }
.policy h3 { font-size: 1.1rem; margin-bottom: 6px; }
.policy p { font-size: 0.97rem; }

.form-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }

.form-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--white);
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.form-link:hover { border-color: var(--leaf); transform: translateY(-2px); }
.form-link .tag { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; background: var(--leaf); color: var(--white); border-radius: 4px; padding: 3px 7px; flex: none; }

/* ---------- contact ---------- */

.contact { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--rule); border-radius: 12px; padding: 36px 36px 40px; }
.form-card h2 { margin: 10px 0 8px; }
.form-card form { margin-top: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: 0.95rem; }

.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 12px 14px;
  background: var(--cream);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--leaf); background: var(--white); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.contact-info h2 { margin: 10px 0 8px; }
.contact-info h3 { margin: 28px 0 8px; font-size: 1.1rem; }
.big-phone { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--leaf); text-decoration: none; display: inline-block; letter-spacing: -0.02em; }
.big-phone:hover { color: var(--leaf-deep); }

/* ---------- footer ---------- */

.site-foot { background: var(--ink); color: #b8c2ba; }
.foot-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 72px; padding-bottom: 48px; }
.site-foot h4 { color: var(--white); font-family: var(--font-body); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 16px; }
.site-foot a { color: #e3e8e2; text-decoration: none; }
.site-foot a:hover { color: var(--gold); }
.site-foot ul { list-style: none; }
.site-foot li { margin-bottom: 9px; }
.site-foot address { font-style: normal; margin-bottom: 12px; font-size: 0.95rem; }
.foot-brand .brand-name { color: var(--white); }
.foot-brand .brand-sub { color: #9aa79d; }
.foot-brand p { color: #b8c2ba; margin-top: 18px; max-width: 26em; font-size: 0.95rem; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 20px; padding-bottom: 20px; font-size: 0.86rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .hero { padding: 48px 0 32px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .era { grid-template-columns: 1fr; gap: 28px; padding: 64px 0; }
  .era-label { position: static; font-size: 1.35rem; }
  .era-body { grid-template-columns: 1fr; gap: 36px; }
  .era.flip .era-body > .frame, .era.flip .era-body > .duo { order: 0; }
  .homes { grid-template-columns: 1fr; border-bottom: none; }
  .home, .home + .home { padding: 24px 0; border-right: none; border-bottom: 1px solid var(--rule); }
  .steps { grid-template-columns: 1fr 1fr; }
  .trio, .approach, .closures, .notes-grid, .policy-grid, .contact { grid-template-columns: 1fr; }
  .masonry { columns: 2; }
  .foot-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    inset: 0;
    background: var(--ink);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 70;
  }

  .nav.open { transform: translateX(0); }
  .nav a { color: var(--cream); font-size: 1.4rem; }
  .nav a.active { color: var(--gold); }
  .nav a:not(.btn)::after { background: var(--gold); }
  .nav .btn { font-size: 1.05rem; background: var(--leaf); border-color: var(--leaf); }
  .nav-toggle { display: block; position: relative; z-index: 80; }
  .nav-toggle.open span { background: var(--cream); }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .topline-locs { display: none; }
  .brand-sub { display: none; }
  .duo { gap: 14px; }
  .duo .frame:nth-child(2) { margin-top: 32px; }
  .steps { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .foot-main { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px 32px; }
  .close { padding: 80px 0; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-lines .line > span, .rise { transition: none; transform: none; opacity: 1; }
  .leaf-fall { animation: none; display: none; }
  .frame img { transform: none !important; }
}
