/* Bilingual Butterflies — Thornton daycare preview
   Warm paper + clay + sage. Not a contractor template. */

:root {
  --paper: #f7efe4;
  --paper-2: #fff8ef;
  --clay: #c4542a;
  --clay-deep: #9a3c1c;
  --sage: #4f7a5a;
  --sage-deep: #355742;
  --marigold: #e4a011;
  --cocoa: #3b2416;
  --ink: #2c1c14;
  --mute: #6b5344;
  --line: rgba(59, 36, 22, 0.14);
  --shadow: 0 18px 40px rgba(59, 36, 22, 0.12);
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Nunito", "Segoe UI", sans-serif;
  --wrap: min(1080px, calc(100% - 1.5rem));
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 480px at 10% -10%, rgba(228, 160, 17, 0.18), transparent 55%),
    radial-gradient(900px 420px at 110% 8%, rgba(79, 122, 90, 0.16), transparent 50%),
    var(--paper);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--clay-deep); }
a:hover { color: var(--cocoa); }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.45em;
  text-wrap: balance;
  color: var(--cocoa);
}
h1 { font-size: clamp(2.1rem, 8vw, 3.7rem); }
h2 { font-size: clamp(1.6rem, 4.6vw, 2.35rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  background: var(--cocoa);
  color: var(--paper);
  padding: 0.55rem 0.8rem;
  z-index: 80;
}
.skip:focus { top: 0.75rem; }
.wrap { width: var(--wrap); margin-inline: auto; }
.kicker {
  font-family: var(--sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  color: var(--sage-deep);
  margin: 0 0 0.55rem;
}
.lede { font-size: 1.12rem; color: var(--mute); max-width: 38rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 239, 228, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.brand svg { width: 42px; height: 42px; flex: none; }
.brand strong {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.1;
}
.brand small { display: block; color: var(--mute); font-size: 0.78rem; }

.menu-toggle {
  margin-left: auto;
  border: 1.5px solid var(--cocoa);
  background: transparent;
  color: var(--cocoa);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
}
.nav {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0 0 1rem;
  flex-basis: 100%;
}
.nav.open { display: flex; }
.nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  padding: 0.45rem 0;
}
.nav .btn { text-align: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.78rem 1.15rem;
  font-weight: 800;
  border: 2px solid transparent;
  line-height: 1.2;
}
.btn-clay {
  background: var(--clay);
  color: #fff8ef;
  box-shadow: 0 6px 0 var(--clay-deep);
}
.btn-clay:hover { color: #fff8ef; }
.btn-sage {
  background: var(--sage);
  color: #f7efe4;
  box-shadow: 0 6px 0 var(--sage-deep);
}
.btn-sage:hover { color: #f7efe4; }
.btn-ghost {
  background: transparent;
  color: var(--cocoa);
  border-color: var(--cocoa);
}

.hero { padding: 1.4rem 0 0.4rem; }
.hero-grid { display: grid; gap: 1.4rem; }
.eyebrow-chip {
  display: inline-block;
  background: #ffe6b3;
  color: var(--cocoa);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
}
.hero h1 em { font-style: italic; font-weight: 500; color: var(--clay); }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.1rem 0 0.4rem;
}
.hero-meta { color: var(--mute); font-size: 0.95rem; }
.hero-meta a { font-weight: 800; }

.polaroid {
  background: var(--paper-2);
  border-radius: 18px;
  padding: 0.7rem 0.7rem 1.1rem;
  box-shadow: var(--shadow);
  transform: rotate(-1.4deg);
}
.polaroid img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 10px;
}
.polaroid figcaption {
  margin-top: 0.65rem;
  text-align: center;
  font-family: var(--display);
  font-style: italic;
  color: var(--mute);
  font-size: 0.98rem;
}

.pillars { padding: 2.2rem 0 0.6rem; }
.cards { display: grid; gap: 0.9rem; margin-top: 1.1rem; }
.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.15rem 1.25rem;
}
.card .mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 0.7rem;
  font-size: 1.2rem;
}
.card.lang .mark { background: #f3d7c8; }
.card.social .mark { background: #d7e6d8; }
.card.art .mark { background: #ffe6b3; }

.roots { padding: 2rem 0; }
.panel {
  background: #3b2416;
  color: #f7efe4;
  border-radius: 28px;
  padding: 1.4rem 1.25rem;
}
.panel h2, .panel .kicker { color: #ffe6b3; }
.panel p { color: #f3e6d6; }
.panel a { color: #ffd56a; }

.mission { padding: 0.4rem 0 2.2rem; }
.split { display: grid; gap: 1.3rem; }

.contact-band { padding: 0 0 2.4rem; }
.contact-card {
  background: var(--paper-2);
  border: 1px dashed rgba(196, 84, 42, 0.4);
  border-radius: 28px;
  padding: 1.3rem 1.2rem;
}
.phone-xl {
  display: inline-block;
  font-family: var(--display);
  font-size: clamp(1.6rem, 6vw, 2.3rem);
  font-weight: 600;
  color: var(--clay);
  text-decoration: none;
  margin: 0.2rem 0 0.5rem;
}
.addr { font-style: normal; color: var(--mute); }

.site-footer {
  padding: 1.4rem 0 6.2rem;
  color: var(--mute);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  justify-content: space-between;
}
.site-footer a { font-weight: 700; }

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  padding: 0.65rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(247, 239, 228, 0.96);
  border-top: 1px solid var(--line);
}
.dock .btn { width: 100%; box-shadow: none; }

.page-hero { padding: 1.6rem 0 0.4rem; }
.form { display: grid; gap: 0.7rem; margin-top: 1rem; }
.form label {
  display: grid;
  gap: 0.3rem;
  font-weight: 700;
  font-size: 0.92rem;
}
.form input, .form textarea {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fffdf8;
  color: var(--ink);
}
.form textarea { min-height: 8rem; resize: vertical; }
.form button { justify-self: start; cursor: pointer; font: inherit; }

@media (min-width: 800px) {
  .menu-toggle { display: none; }
  .header-inner { gap: 1.2rem; }
  .nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: auto;
    padding: 0;
    gap: 1.05rem;
    flex-basis: auto;
  }
  .hero-grid, .split { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .hero { padding-top: 2.2rem; }
  .polaroid { transform: rotate(-2deg) translateY(0.4rem); }
  .panel { padding: 2rem 2.1rem; }
  .dock { display: none; }
  .site-footer { padding-bottom: 1.8rem; }
}
