/* ==========================================================================
   Little Pines Early Learning — paper & crayon
   Paper #fdfaf4 · Pine #5f8a5e · Butter #f2d289 · Sky #a9c6e4 · Clay #e3a98c
   Baloo 2 (display) + Mulish (body) · crayon-stroke heading highlights
   Zero JavaScript.
   ========================================================================== */

:root {
  --paper: #fdfaf4;
  --pine: #5f8a5e;
  --pine-deep: #41663f;
  --butter: #f2d289;
  --sky: #a9c6e4;
  --leaf: #bcd3a2;
  --clay: #e3a98c;
  --ink: #3d4438;
  --display: "Baloo 2", "Comic Sans MS", sans-serif;
  --body: "Mulish", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: auto; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

[id] { scroll-margin-top: 1rem; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--pine-deep);
  color: #fff;
  font-weight: 700;
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  text-decoration: none;
}

.skip-link:focus { top: 0.5rem; }

:focus-visible {
  outline: 3px solid var(--pine);
  outline-offset: 2px;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--pine-deep);
}

h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

a { color: var(--pine-deep); }

/* crayon-stroke highlight behind section headings */
.crayon {
  background-repeat: no-repeat;
  background-size: 100% 0.5em;
  background-position: 0 80%;
  padding: 0 0.15em;
}

.crayon-butter { background-image: linear-gradient(100deg, transparent 2%, var(--butter) 6%, var(--butter) 94%, transparent 98%); }
.crayon-sky { background-image: linear-gradient(98deg, transparent 2%, var(--sky) 7%, var(--sky) 93%, transparent 98%); }
.crayon-leaf { background-image: linear-gradient(102deg, transparent 2%, var(--leaf) 6%, var(--leaf) 95%, transparent 98%); }

/* ---------- Header ---------- */

.site-header {
  max-width: 62rem;
  margin: 0 auto;
  padding: 1rem 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-text {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--pine-deep);
}

.header-tour {
  background: var(--pine);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
}

.header-tour:hover { background: var(--pine-deep); }

.site-nav { width: 100%; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0 0.85rem;
  display: flex;
  gap: 1.5rem;
  border-bottom: 3px dashed var(--leaf);
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav ul::-webkit-scrollbar { display: none; }

.site-nav a {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible { color: var(--pine-deep); text-decoration: underline; text-underline-offset: 6px; }

@media (max-width: 460px) {
  .brand-text { font-size: 1.25rem; }
  .header-tour { font-size: 0.88rem; padding: 0.5rem 1rem; }
}

/* ---------- Hero ---------- */

.hero {
  max-width: 62rem;
  margin: 0 auto;
  padding: clamp(2.75rem, 7vw, 5rem) 1.25rem 2rem;
}

.kicker {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  color: var(--pine);
  margin: 0 0 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  max-width: 22ch;
}

.hero-lede { max-width: 56ch; font-size: 1.1rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.5rem; }

.btn {
  display: inline-block;
  background: var(--pine);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  border: 2px solid var(--pine);
}

.btn:hover, .btn:focus-visible { background: var(--pine-deep); border-color: var(--pine-deep); }

.btn-line { background: transparent; color: var(--pine-deep); }

.btn-line:hover, .btn-line:focus-visible { background: #eef3e4; }

/* ---------- Rooms ---------- */

.section {
  max-width: 62rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) 1.25rem;
}

.section-lede { max-width: 46rem; margin-bottom: 2rem; }

.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.4rem;
}

.room {
  border-radius: 22px;
  padding: 1.4rem 1.5rem;
}

.room-butter { background: #faecc8; }
.room-sky { background: #dde9f6; }
.room-leaf { background: #e6efd7; }
.room-clay { background: #f7e0d2; }

.room h3 { color: var(--ink); margin-bottom: 0; }

.room-age {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
  margin-bottom: 0.6rem;
}

.room-price {
  font-family: var(--display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--pine-deep);
  margin-bottom: 0.1rem;
}

.room-price span { font-size: 0.95rem; font-family: var(--body); font-weight: 700; opacity: 0.7; }

.room-ratio { font-size: 0.88rem; font-weight: 700; margin-bottom: 0.6rem; }

.room p:last-child { margin: 0; font-size: 0.95rem; }

/* ---------- Day timeline ---------- */

.day-band { max-width: none; background: #f3efe4; }

.day-band > * { max-width: 59.5rem; margin-left: auto; margin-right: auto; }

.day-line {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 46rem;
}

.day-line li {
  display: flex;
  gap: 1.25rem;
  padding: 0.7rem 0;
  border-bottom: 2px dotted var(--leaf);
  align-items: baseline;
}

.day-line time {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--pine-deep);
  min-width: 3.2rem;
  text-align: right;
}

/* ---------- FAQ ---------- */

.faq-list { max-width: 48rem; }

.faq-list details {
  background: #fff;
  border-radius: 16px;
  border: 2px solid #efe9da;
  margin-bottom: 0.7rem;
}

.faq-list details[open] { border-color: var(--leaf); }

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.95rem 1.25rem;
}

.faq-list summary:hover { color: var(--pine-deep); }

.faq-list details p { padding: 0 1.25rem 1.1rem; margin: 0; }

/* ---------- Tour band ---------- */

.tour-band { max-width: none; background: var(--pine); color: #eaf2e6; }

.tour-band > * { max-width: 59.5rem; margin-left: auto; margin-right: auto; }

.tour-band h2 { color: #fff; }

.tour-lede { font-size: 1.12rem; max-width: 48rem; }

.tour-lede a { color: #fff; }

.tour-note { font-size: 0.9rem; opacity: 0.9; margin: 0; }

/* ---------- Footer ---------- */

.site-footer {
  text-align: center;
  padding: 2.5rem 1.25rem;
  font-size: 0.95rem;
}

.footer-fine { font-size: 0.82rem; opacity: 0.75; }

.social-links {
  display: flex;
  gap: 1.2rem;
  list-style: none;
  justify-content: center;
  padding: 0 1.5rem;
  margin: 1.2rem auto 0;
}

.social-links a { display: inline-flex; color: var(--pine-deep); opacity: 0.85; }

.social-links a:hover, .social-links a:focus-visible { opacity: 1; }

.social-links svg { width: 1.3rem; height: 1.3rem; }
