/* =====================================================
   Pine Creek Nature Preschool — Main Stylesheet
   ===================================================== */

/* ---- Custom Properties ---- */
:root {
  --green-deep:    #2c5f2e;
  --green-mid:     #3a5a27;
  --green-sage:    #4a7c3f;
  --green-light:   #6a8f52;
  --cream:         #f5f0e8;
  --off-white:     #fdfaf5;
  --brown-warm:    #6b4226;
  --terracotta:    #bf5b2b;
  --terracotta-lt: #d4764a;
  --stone:         #8a8a7a;
  --text-dark:     #1e2c1a;
  --text-mid:      #3d4d38;
  --text-light:    #6e7d68;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:  'Lato', system-ui, -apple-system, sans-serif;

  --max-width: 1100px;
  --radius:    8px;
  --radius-lg: 16px;
  --shadow:    0 2px 16px rgba(30,44,26,0.10);
  --shadow-md: 0 4px 32px rgba(30,44,26,0.14);
  --transition: 0.22s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--off-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

img.about-photo,
img.enrollment-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

a {
  color: var(--green-mid);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition);
}
a:hover { color: var(--terracotta); }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.25;
  color: var(--text-dark);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 700; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

address { font-style: normal; }

/* ---- Layout Utilities ---- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-header { margin-bottom: 3rem; }
.section-header.centered { text-align: center; }

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.6rem;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 620px;
  margin-inline: auto;
  margin-top: 0.75rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 3px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-primary {
  background: var(--terracotta);
  color: #fff;
  border: 2px solid var(--terracotta);
}
.btn-primary:hover {
  background: var(--terracotta-lt);
  border-color: var(--terracotta-lt);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(191,91,43,0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--green-mid);
  border: 2px solid var(--green-mid);
}
.btn-secondary:hover {
  background: var(--green-mid);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.9);
  border: 2px solid rgba(255,255,255,0.55);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.8);
}


/* =======================================================
   NAVIGATION
   ======================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--off-white);
  box-shadow: 0 2px 20px rgba(30,44,26,0.12);
  transition: padding var(--transition);
  padding: 0.6rem 0;
}

.nav-inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-img {
  height: 46px;
  width: auto;
  display: block;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.35));
  transition: opacity var(--transition);
}
.nav-logo-img:hover { opacity: 0.88; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 0.4rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-mid);
  text-decoration: none;
  border-radius: 3px;
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--green-deep); background: var(--cream); }

.nav-cta {
  background: var(--terracotta) !important;
  color: #fff !important;
  padding: 0.45rem 1rem !important;
}
.nav-cta:hover {
  background: var(--terracotta-lt) !important;
  color: #fff !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-deep);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* =======================================================
   HERO
   ======================================================= */
.hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #1a3d1c;
  background-image:
    linear-gradient(160deg, rgba(16,38,16,0.60) 0%, rgba(26,61,28,0.50) 100%),
    url('../images/IMG_6910.webp');
  background-size: cover;
  background-position: center 40%;
  /* offset so it starts below the nav */
  padding-top: 64px;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 2rem 1.5rem;
  max-width: 760px;
  animation: fadeUp 0.9s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
}

.hero-headline {
  color: #fff;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 24px rgba(0,0,0,0.3);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}


/* =======================================================
   BAND (tagline strip)
   ======================================================= */
.band {
  background: var(--green-deep);
  color: #fff;
  padding: 1.1rem 1.5rem;
}

.band-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2.5rem;
  max-width: var(--max-width);
  margin-inline: auto;
}

.band-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
}

.band-list li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.75;
}


/* =======================================================
   ABOUT
   ======================================================= */
.about { background: var(--off-white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-frame {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #b0c8a0;
}

.about-leaf-accent {
  position: absolute;
  right: -2rem;
  bottom: -2rem;
  width: 120px;
  opacity: 0.6;
  pointer-events: none;
}

.about-text h2 { margin-bottom: 1.25rem; }
.about-text p { color: var(--text-mid); }
.about-text .btn { margin-top: 0.75rem; }


/* =======================================================
   PHILOSOPHY
   ======================================================= */
.philosophy {
  background: var(--cream);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.pillar {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 3px solid var(--green-sage);
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pillar-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
}

.pillar h3 {
  margin-bottom: 0.75rem;
  color: var(--green-deep);
}

.pillar p {
  font-size: 0.95rem;
  color: var(--text-mid);
  margin: 0;
}


/* =======================================================
   PROGRAMS
   ======================================================= */
.programs { background: var(--off-white); }

.program-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-bottom: 2rem;
}

.program-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.program-card--featured {
  border: 2px solid var(--green-mid);
}

.program-card-top {
  padding: 2rem 1.75rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.program-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
}

.program-card-top h3 { color: var(--green-deep); margin-bottom: 0.25rem; }

.program-age {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--terracotta);
  letter-spacing: 0.04em;
}

.program-card-body {
  padding: 1.5rem 1.75rem;
  flex: 1;
}

.program-card-body p {
  font-size: 0.95rem;
  color: var(--text-mid);
  margin-bottom: 1.25rem;
}

.program-details {
  list-style: none;
  font-size: 0.88rem;
  color: var(--text-mid);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.program-details li { border-bottom: 1px solid rgba(0,0,0,0.06); padding-bottom: 0.4rem; }
.program-details li:last-child { border: none; padding: 0; }
.program-details strong { color: var(--text-dark); }

.programs-note {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-light);
  font-style: italic;
  max-width: 600px;
  margin-inline: auto;
}


/* =======================================================
   GALLERY
   ======================================================= */
.gallery { background: var(--cream); }

.gallery .section-header { padding-inline: 1.5rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 6px;
  margin: 0 0 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  background-size: cover;
  background-position: center;
  background-color: #3a5a27;
}

/* dark scrim so labels stay readable */
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 55%);
  pointer-events: none;
}

.gallery-label { position: relative; z-index: 1; }

.gallery-item--tall {
  grid-row: span 2;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  background: rgba(0,0,0,0.3);
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}



/* =======================================================
   TESTIMONIALS
   ======================================================= */
.testimonials { background: var(--green-deep); }

.testimonials .section-eyebrow { color: rgba(255,255,255,0.55); }
.testimonials h2 { color: #fff; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.testimonial {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: background var(--transition);
}

.testimonial:hover { background: rgba(255,255,255,0.1); }

.testimonial--accent {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}

.testimonial p {
  color: rgba(255,255,255,0.88);
  font-size: 1.02rem;
  font-style: italic;
  font-family: var(--font-serif);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.testimonial footer cite {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.5);
  font-style: normal;
}


/* =======================================================
   ENROLLMENT
   ======================================================= */
.enrollment { background: var(--off-white); }

.enrollment-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.enrollment-text h2 { margin-bottom: 1.25rem; }
.enrollment-text p { color: var(--text-mid); }

.enrollment-steps {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.enrollment-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green-deep);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.step-text h4 { margin-bottom: 0.25rem; color: var(--green-deep); }
.step-text p  { font-size: 0.92rem; color: var(--text-light); margin: 0; }

.enrollment-image-wrap {
  display: flex;
  justify-content: center;
}

.enrollment-image-frame {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #b0c8a0;
}


/* =======================================================
   FOOTER
   ======================================================= */
.site-footer { background: var(--text-dark); color: rgba(255,255,255,0.75); }

.footer-top { padding: 4rem 0 3rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #fff;
  margin-bottom: 1rem;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
}

.footer-brand .footer-logo svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  max-width: 280px;
  margin-bottom: 1.25rem;
}

.footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.footer-instagram:hover { color: #fff; }
.footer-instagram svg { width: 18px; height: 18px; }

.footer-contact h4,
.footer-hours h4 {
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-contact address p {
  display: flex;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.75rem;
  align-items: flex-start;
}

.footer-contact address p svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  opacity: 0.5;
}

.footer-contact address a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
}
.footer-contact address a:hover { color: #fff; }


.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
}
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }


/* =======================================================
   RESPONSIVE — Tablet (≤ 900px)
   ======================================================= */
@media (max-width: 900px) {
  .about-grid,
  .enrollment-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image-wrap { order: -1; max-width: 440px; margin-inline: auto; }
  .enrollment-image-wrap { order: -1; max-width: 320px; margin-inline: auto; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }

  .gallery-item--tall { grid-row: span 1; }
  .gallery-item--wide { grid-column: span 2; }
}


/* =======================================================
   RESPONSIVE — Mobile (≤ 640px)
   ======================================================= */
@media (max-width: 640px) {
  .section { padding: 3.5rem 0; }

  /* Nav */
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--off-white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    z-index: 105;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .nav-links.open { transform: translateX(0); }

  .nav-links a {
    font-size: 1.2rem;
    padding: 0.75rem 1.5rem;
  }

  .nav-links a:hover {
    background: var(--cream);
    color: var(--green-deep);
  }

  .nav-cta {
    background: var(--terracotta) !important;
    color: #fff !important;
    border-radius: 3px;
  }

  /* Hero */
  .hero-actions { flex-direction: column; align-items: center; }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 180px;
  }
  .gallery-item--tall,
  .gallery-item--wide { grid-row: span 1; grid-column: span 1; }

  /* Pillars */
  .pillars { grid-template-columns: 1fr; }
  .program-cards { grid-template-columns: 1fr; }

  /* Band */
  .band-list {
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
  }

  /* Daily rhythm */
  .rhythm-tabs { flex-direction: column; align-items: stretch; }
  .rhythm-tab { text-align: center; }

  /* Family links */
  .family-links { grid-template-columns: 1fr 1fr; }

  /* Footer form */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
}


/* =======================================================
   ABOUT — additional
   ======================================================= */
.about-mission {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--green-deep);
  border-left: 3px solid var(--green-sage);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  line-height: 1.65;
}

.about-team,
.about-location {
  margin-top: 1.75rem;
}

.about-team h3,
.about-location h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 0.6rem;
  letter-spacing: 0.01em;
}

.team-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.95rem;
  color: var(--text-mid);
}

.about-location p {
  font-size: 0.95rem;
}

.about-map {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.philosophy-link {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.92rem;
}


/* =======================================================
   DAILY RHYTHM
   ======================================================= */
.daily-rhythm {
  margin-top: 3.5rem;
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
}

.daily-rhythm-title {
  text-align: center;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: var(--green-deep);
  margin-bottom: 1.5rem;
}

.rhythm-tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.rhythm-tab {
  background: var(--off-white);
  border: 2px solid transparent;
  border-radius: 4px;
  padding: 0.55rem 1.4rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text-mid);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.rhythm-tab:hover {
  border-color: var(--green-sage);
  color: var(--green-deep);
}

.rhythm-tab.active {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: #fff;
}

.rhythm-panel { display: none; }
.rhythm-panel.active { display: block; }

.rhythm-subtitle {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--terracotta);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.rhythm-schedule {
  max-width: 480px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rhythm-schedule > div {
  display: flex;
  gap: 1.5rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  align-items: baseline;
}

.rhythm-schedule > div:last-child { border-bottom: none; }

.rhythm-schedule dt {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--green-deep);
  min-width: 3.2rem;
  flex-shrink: 0;
}

.rhythm-schedule dd {
  font-size: 0.92rem;
  color: var(--text-mid);
  margin: 0;
}

.rhythm-pickup dt,
.rhythm-pickup dd {
  color: var(--terracotta);
  font-weight: 700;
}


/* =======================================================
   GALLERY — footer note
   ======================================================= */
.gallery-footer {
  text-align: center;
  font-size: 1rem;
  color: var(--text-mid);
  padding-top: 1.5rem;
}
.gallery-footer a { font-weight: 700; color: var(--green-mid); }


/* =======================================================
   ENROLLMENT — fees box & tuition table
   ======================================================= */
.fees-box {
  margin: 2rem 0;
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border-left: 4px solid var(--green-sage);
}

.fees-box h4 {
  color: var(--green-deep);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.tuition-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}

.tuition-table th {
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 0 0.5rem 0.6rem 0;
  border-bottom: 2px solid rgba(0,0,0,0.1);
}

.tuition-table td {
  padding: 0.5rem 0.5rem 0.5rem 0;
  color: var(--text-mid);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.tuition-table td:last-child {
  font-weight: 700;
  color: var(--green-deep);
  text-align: right;
  padding-right: 0;
}

.tuition-table tr:last-child td { border-bottom: none; }

.fees-notes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--text-mid);
  margin-bottom: 0.75rem;
}

.fees-notes li::before {
  content: '→ ';
  color: var(--green-sage);
  font-weight: 700;
}

.fees-barrier {
  font-size: 0.88rem;
  font-style: italic;
  color: var(--text-light);
  margin: 0;
}


/* =======================================================
   FOR FAMILIES
   ======================================================= */
.families { background: var(--cream); }

.family-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.family-link-card {
  background: var(--off-white);
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.family-link-card:hover {
  transform: translateY(-3px);
  border-color: var(--green-sage);
  box-shadow: var(--shadow-md);
}

.family-link-card--placeholder {
  opacity: 0.75;
}

.flc-icon {
  width: 36px;
  height: 36px;
  color: var(--green-mid);
  margin-bottom: 0.25rem;
}

.flc-icon svg { width: 100%; height: 100%; }

.flc-label {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

.flc-sub {
  font-size: 0.8rem;
  color: var(--text-light);
}


/* =======================================================
   FOOTER — updated layout for contact form
   ======================================================= */
.footer-grid {
  grid-template-columns: 1fr 1fr 1.4fr;
}

.footer-logo-img {
  height: 56px;
  width: auto;
  display: block;
  margin-bottom: 1rem;
  /* Invert to white for dark footer background */
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-contact-form h4 {
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-row label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
}

.form-row input,
.form-row textarea {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 0.55rem 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: #fff;
  width: 100%;
  transition: border-color var(--transition), background var(--transition);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(255,255,255,0.35);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--green-sage);
  background: rgba(255,255,255,0.1);
}

.form-row textarea { resize: vertical; }

.contact-form .btn { margin-top: 0.25rem; align-self: flex-start; }

.form-status {
  font-size: 0.88rem;
  border-radius: var(--radius);
  padding: 0;
  transition: all var(--transition);
}
.form-status--success {
  color: #a8e6a3;
  padding: 0.6rem 0.75rem;
  background: rgba(168, 230, 163, 0.12);
  border: 1px solid rgba(168, 230, 163, 0.25);
}
.form-status--error {
  color: #f4a99a;
  padding: 0.6rem 0.75rem;
  background: rgba(244, 169, 154, 0.12);
  border: 1px solid rgba(244, 169, 154, 0.25);
}


/* =======================================================
   FOOTER BOTTOM — employment & EEO
   ======================================================= */
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

.footer-employment { color: rgba(255,255,255,0.4); }

.footer-eeo {
  max-width: 700px;
}

.footer-eeo summary {
  cursor: pointer;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  user-select: none;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-eeo summary::-webkit-details-marker { display: none; }

.footer-eeo summary::after {
  content: '▸';
  font-size: 0.65rem;
  transition: transform var(--transition);
}

.footer-eeo[open] summary::after { transform: rotate(90deg); }

.footer-eeo p {
  margin-top: 0.6rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.55;
  margin-bottom: 0;
}


/* =======================================================
   RESPONSIVE UPDATES for new components
   ======================================================= */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-brand { grid-column: span 2; }
  .footer-contact-form { grid-column: span 2; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand,
  .footer-contact-form { grid-column: span 1; }

  .family-links { grid-template-columns: 1fr; }

  .fees-box { padding: 1.25rem; }

  .daily-rhythm { padding: 1.75rem 1rem; }
}


/* =======================================================
   GALLERY — background images
   ======================================================= */
.gi-creek { background-image: url('../images/IMG_8570.webp'); }
.gi-art   { background-image: url('../images/IMG_1437.webp'); }
.gi-chalk { background-image: url('../images/IMG_2829.webp'); }
.gi-hill  { background-image: url('../images/IMG_8586.webp'); }
.gi-snow  { background-image: url('../images/IMG_6224.webp'); }
.gi-loose { background-image: url('../images/IMG_3131.webp'); }


/* =======================================================
   DESIGN POLISH
   ======================================================= */

/* — Section eyebrow: short rule before label — */
.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 0.55rem;
  margin-bottom: 1px;
  opacity: 0.5;
  border-radius: 1px;
}

/* — Centered section H2: terracotta ornament line below — */
.section-header.centered h2 {
  position: relative;
  padding-bottom: 0.9rem;
}
.section-header.centered h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 2px;
  background: var(--terracotta);
  border-radius: 1px;
  opacity: 0.65;
}

/* — About mission quote: subtle background warmth — */
.about-mission {
  background: rgba(74, 124, 63, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.9rem 1.25rem;
}

/* — Philosophy section: large faded leaf watermark — */
.philosophy {
  position: relative;
  overflow: hidden;
}
.philosophy::after {
  content: '';
  position: absolute;
  right: -6%;
  top: 8%;
  width: 38%;
  max-width: 400px;
  aspect-ratio: 3 / 4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 160'%3E%3Cpath d='M60 10 C20 40 10 80 60 150 C110 80 100 40 60 10Z' fill='%234a7c3f'/%3E%3Cline x1='60' y1='150' x2='60' y2='18' stroke='%234a7c3f' stroke-width='2'/%3E%3Cline x1='60' y1='62' x2='28' y2='46' stroke='%234a7c3f' stroke-width='1.5'/%3E%3Cline x1='60' y1='84' x2='92' y2='68' stroke='%234a7c3f' stroke-width='1.5'/%3E%3Cline x1='60' y1='106' x2='26' y2='92' stroke='%234a7c3f' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}
.philosophy .container { position: relative; z-index: 1; }

/* — Pillar icon: circular soft background — */
.pillar-icon {
  background: rgba(74, 124, 63, 0.09);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* — Testimonials: large decorative opening quote — */
.testimonial {
  position: relative;
  overflow: hidden;
}
.testimonial::before {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: 8rem;
  line-height: 0.85;
  color: rgba(255, 255, 255, 0.07);
  position: absolute;
  top: 0.75rem;
  left: 1.1rem;
  pointer-events: none;
  user-select: none;
}

/* — Gallery items: hover zoom via ::before bg layer — */
/* Move images to ::before so they can transform independently */
.gi-creek, .gi-art, .gi-chalk,
.gi-hill,  .gi-snow, .gi-loose { background-image: none; }

.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.55s ease;
  z-index: 0;
}
.gallery-item:hover::before { transform: scale(1.07); }

.gi-creek::before { background-image: url('../images/IMG_8570.webp'); background-position: center top; }
.gi-art::before   { background-image: url('../images/IMG_1437.webp'); }
.gi-chalk::before { background-image: url('../images/IMG_2829.webp'); }
.gi-hill::before  { background-image: url('../images/IMG_8586.webp'); background-position: center 30%; }
.gi-snow::before  { background-image: url('../images/IMG_6224.webp'); }
.gi-loose::before { background-image: url('../images/IMG_3131.webp'); }

/* Ensure scrim and label sit above the zoomable bg layer */
.gallery-item::after  { z-index: 1; }
.gallery-label        { z-index: 2; }

/* — Enrollment steps: faint vertical connector line — */
.enrollment-steps {
  position: relative;
}
.enrollment-steps::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 44px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(to bottom, var(--green-sage), transparent);
  opacity: 0.3;
  border-radius: 1px;
}

/* — Band: subtle top/bottom border for definition — */
.band {
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}
