
/* Little Stars Preschool — shared styles
 *
 * The design uses two palettes:
 *   - default (:root): the soft sage + terracotta look used on the inner pages
 *   - .theme-home:     the brighter green look used on the Home page
 * To put every page on one palette, give each page's <body> the same class.
 */

:root {
  /* Type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Surfaces */
  --bg: #F5EFE6;
  --bg-alt: #EDE4D6;
  --surface: #FBF8F2;
  --line: #E3D8C8;
  --input-line: #CFC2AF;
  --input-bg: #FFFDF9;

  /* Text */
  --ink: #3A332B;
  --ink-soft: #574C40;
  --ink-muted: #6B5F52;
  --eyebrow: #94573A;
  --on-dark: #FBF8F2;

  /* Accent */
  --link: #56654A;
  --link-hover: #3E4A35;
  --accent: #56654A;
  --accent-hover: #3E4A35;
  --on-accent: #FBF8F2;
  --line-btn: #56654A;
  --line-btn-ink: #3E4A35;
  --line-btn-hover: #EDE4D6;

  /* Bands */
  --band: #56654A;
  --band-card: #6E7C62;
  --band-eyebrow: #E7D3BC;

  /* Photo placeholders */
  --ph-bg: #DDD2C1;
  --ph-ink: #5A4E42;

  /* Footer */
  --footer-bg: #3A332B;
  --footer-ink: #E9E0D2;
  --footer-muted: #BFB3A3;

  /* Shape */
  --btn-radius: 999px;
  --nav-size: 16px;
}

.theme-home {
  --bg: #FDFAF4;
  --bg-alt: #F6F0E4;
  --surface: #FFFEFA;
  --line: #EDE5D6;
  --input-line: #E3D8C6;
  --input-bg: #FFFFFF;
  --ink: #2A2620;
  --ink-soft: #4E4438;
  --eyebrow: #2E7D1E;
  --link: #2E7D1E;
  --link-hover: #276B19;
  --accent: #74C24F;
  --accent-hover: #62B13C;
  --on-accent: #17240F;
  --line-btn: #3E9A22;
  --line-btn-ink: #2E7D1E;
  --line-btn-hover: #EAF5E2;
  --band: #348423;
  --band-card: #3F9030;
  --band-eyebrow: #DDF2CC;
  --ph-bg: #E9F3E0;
  --ph-ink: #3F4A36;
  --footer-bg: #3A8A28;
  --footer-ink: #F2FAEC;
  --footer-muted: #DDF0D0;
  --btn-radius: 12px;
  --nav-size: 17px;

  /* Sparkle colors */
  --star: #5DB83A;
  --star-light: #9BD67A;
  --star-dark: #3E9A22;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { color-scheme: light; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
}

p, h1, h2, h3, ol, ul, figure { margin: 0; }
img { max-width: 100%; }
a { color: var(--link); }
a:hover { color: var(--link-hover); }
h1, h2, h3 { text-wrap: balance; }

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */

.wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}
.wrap--narrow { max-width: 860px; }
.wrap--mid { max-width: 1000px; }

.band-alt { background: var(--bg-alt); }
.band-surface { background: var(--surface); border-top: 1px solid var(--line); }
.band-dark { background: var(--band); color: var(--on-dark); }
.band-dark a { color: var(--on-dark); }
.has-sparkles { position: relative; overflow: hidden; }

.pad-hero   { padding-block: 72px 48px; }
.pad-sm     { padding-block: 80px; }
.pad-md     { padding-block: 88px; }
.pad-lg     { padding-block: 96px; }
.pad-top-0  { padding-top: 0; }

/* Two columns that wrap to one on narrow screens */
.split {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}
.split > * { min-width: 0; }
.split--top { align-items: flex-start; }

/* Auto-fitting card grid; set --min per use */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 280px), 100%), 1fr));
  gap: var(--gap, 24px);
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.stack { display: flex; flex-direction: column; gap: var(--gap, 16px); }
.flow > * + * { margin-top: var(--flow, 16px); }

/* ---------- Type ---------- */

.eyebrow {
  margin-bottom: 16px;
  color: var(--eyebrow);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 14px;
}
.band-dark .eyebrow { color: var(--band-eyebrow); }

.h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.1;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.15;
}
.h2--sm { font-size: clamp(28px, 3vw, 38px); }
.h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.3;
}
.serif { font-family: var(--font-display); }

.soft { color: var(--ink-soft); }
.muted { color: var(--ink-muted); }
.measure { max-width: 680px; }
.measure-wide { max-width: 820px; }
.strong-link { font-weight: 600; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: var(--btn-radius);
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
}
.btn-main { background: var(--accent); color: var(--on-accent); }
.btn-main:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-line {
  border: 1.5px solid var(--line-btn);
  color: var(--line-btn-ink);
  background: transparent;
}
.btn-line:hover { background: var(--line-btn-hover); color: var(--line-btn-ink); }
.btn-light { background: var(--surface); color: var(--accent-hover); }
.btn-light:hover { background: var(--bg); color: var(--accent-hover); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

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

.site-header { border-bottom: 1px solid var(--line); }

.logo { display: block; max-width: 68vw; height: auto; }
.brand { display: block; text-decoration: none; flex: 0 0 auto; }

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 28px;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: var(--nav-size);
  padding: 10px 4px;
}
.nav a:hover { color: var(--link); }
.nav a[aria-current="page"] { color: var(--link); font-weight: 600; }
.nav a.btn { color: var(--on-accent); padding: 0 26px; }

/* Inner pages: stacked logo + nav, forest strip underneath */
.header-inner {
  padding-block: 24px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.forest-strip {
  display: block;
  width: 100%;
  height: 96px;
  object-fit: cover;
  object-position: 50% 100%;
}

/* Home: larger logo flanked by woodland illustrations */
.site-header--home { position: relative; overflow: hidden; }
.site-header--home .brand-row {
  position: relative;
  padding-block: 20px 10px;
  display: flex;
  justify-content: center;
}
.site-header--home .nav {
  position: relative;
  padding-block: 4px 26px;
  gap: 8px 30px;
}
.site-header--home .nav a.btn { min-height: 44px; padding: 0 22px; border-radius: 10px; }

.grove {
  position: absolute;
  bottom: 0;
  width: calc(50% - 372px);
  max-width: 560px;
  height: auto;
  pointer-events: none;
}
.grove--left { left: 0; }
.grove--right { right: 0; transform: scaleX(-1); }
@media (max-width: 1000px) { .grove { display: none; } }

/* Woodland header (draft): trees, squirrels, acorns and ferns along the top of the home page */
.site-header--woodland { padding-bottom: 30px; }
.woodland {
  position: absolute;
  bottom: 22px;
  width: calc(50% - 330px);
  max-width: 600px;
  height: auto;
  pointer-events: none;
}
.woodland--left { left: 0; }
.woodland--right { right: 0; }
.woodland-ground {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  min-width: 900px;
  height: 36px;
  object-fit: cover;
  object-position: left bottom;
  pointer-events: none;
}
@media (max-width: 1000px) {
  .woodland { display: none; }
  .site-header--woodland { padding-bottom: 34px; }
}

/* Woodland header, draft 2: bigger scenes on rolling hills that blend into the page.
   Left and right scenes sit at the bottom corners; a ground strip runs between them under the menu. */
.site-header--woodland2 { padding-bottom: 46px; }
.site-header--woodland2 .brand-row,
.site-header--woodland2 .nav { z-index: 1; }
.woodland2 {
  position: absolute;
  inset: auto 0 0 0;
  height: 300px;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}
.woodland2__side { height: 300px; width: auto; flex: none; }
.woodland2__ground {
  flex: 1 1 auto;
  align-self: flex-end;
  height: 56px;
  min-width: 0;
  background: url("../assets/woodland2-ground.svg") repeat-x left bottom / auto 56px;
}
/* Narrower computers: scale the scenes down so they stay beside the logo */
@media (max-width: 1500px) {
  .woodland2 { height: 250px; }
  .woodland2__side { height: 250px; }
  .woodland2__ground { height: 47px; background-size: auto 47px; }
}
@media (max-width: 1300px) {
  .woodland2 { height: 190px; }
  .woodland2__side { height: 190px; }
  .woodland2__ground { height: 36px; background-size: auto 36px; }
  .site-header--woodland2 { padding-bottom: 38px; }
}
@media (max-width: 1150px) {
  .woodland2 { height: 150px; }
  .woodland2__side { height: 150px; }
  .woodland2__ground { height: 28px; background-size: auto 28px; }
  .site-header--woodland2 { padding-bottom: 32px; }
}
/* Tablets and phones: keep just the ground strip with its acorns, ferns and mushrooms */
@media (max-width: 900px) {
  .woodland2__side { display: none; }
  .woodland2 { height: 47px; }
  .woodland2__ground { height: 47px; background-size: auto 47px; }
  .site-header--woodland2 { padding-bottom: 44px; }
}

/* ---------- Decorative sparkles ---------- */

.spk {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s, 14px);
  height: var(--s, 14px);
  background: var(--star);
  pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5C13.7 10.3 13.7 10.3 22.5 12C13.7 13.7 13.7 13.7 12 22.5C10.3 13.7 10.3 13.7 1.5 12C10.3 10.3 10.3 10.3 12 1.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5C13.7 10.3 13.7 10.3 22.5 12C13.7 13.7 13.7 13.7 12 22.5C10.3 13.7 10.3 13.7 1.5 12C10.3 10.3 10.3 10.3 12 1.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.spk--outline {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5C13.7 10.3 13.7 10.3 22.5 12C13.7 13.7 13.7 13.7 12 22.5C10.3 13.7 10.3 13.7 1.5 12C10.3 10.3 10.3 10.3 12 1.5Z' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5C13.7 10.3 13.7 10.3 22.5 12C13.7 13.7 13.7 13.7 12 22.5C10.3 13.7 10.3 13.7 1.5 12C10.3 10.3 10.3 10.3 12 1.5Z' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.spk--light { background: var(--star-light); }
.spk--dark { background: var(--star-dark); }

/* Star divider between Home sections: three small green stars between soft, fading lines */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-inline: 24px;
}
.divider__rule { flex: 1 1 0; max-width: 260px; height: 1px; background: linear-gradient(90deg, rgba(62,154,34,0), rgba(62,154,34,.4)); }
.divider__rule:last-child { background: linear-gradient(270deg, rgba(62,154,34,0), rgba(62,154,34,.4)); }
.divider__s { flex: 0 0 auto; }

.sprig { flex: 0 0 auto; width: 108px; height: 104px; }
.sprig--flip { transform: scaleX(-1); }
@media (max-width: 760px) { .sprig { display: none; } }

/* Inner pages: Home header without the big tree scenes, just the little ground strip */
.site-header--inner .brand-row { padding-block: 16px 6px; }
.site-header--inner .logo { width: 240px; }

/* Woodland accents (inner pages): small ferns and mushrooms peeking up from a section's bottom edge.
   Drawn by tools/make-accents.rb. Add class "has-accent" to the section. */
.has-accent { position: relative; overflow: hidden; }
.has-accent > .wrap, .has-accent > .split { position: relative; z-index: 1; }
.accent { position: absolute; bottom: 0; height: auto; pointer-events: none; z-index: 0; }
.accent--nook { width: 150px; right: 1.5%; }
.accent--nook-left { width: 150px; left: 1.5%; transform: scaleX(-1); }
.accent--shrooms { width: 78px; left: 2.5%; }
.accent--shrooms-right { width: 78px; right: 2.5%; transform: scaleX(-1); }
.accent--fern { width: 52px; left: 1.5%; }
@media (max-width: 1100px) {
  .accent--nook, .accent--nook-left { width: 110px; }
  .accent--shrooms, .accent--shrooms-right { width: 60px; }
}
@media (max-width: 760px) { .accent { display: none; } }

/* ---------- Photos ---------- */

.photo {
  display: block;
  width: 100%;
  height: var(--h, 300px);
  object-fit: cover;
  border-radius: 20px;
  background: var(--ph-bg);
}

/* Labelled spot for a photo that still needs to be taken */
.ph {
  height: var(--h, 320px);
  background: var(--ph-bg);
  color: var(--ph-ink);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  font-size: 14px;
  line-height: 1.4;
  border-radius: 20px;
}

/* ---------- Cards ---------- */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
}
.card--lg { border-radius: 24px; padding: 32px; }
.card__label { color: var(--eyebrow); font-weight: 600; }

.cta-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: clamp(32px, 5vw, 64px);
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}
.cta-panel > div { flex: 1 1 480px; min-width: 0; }

/* ---------- Home ---------- */

.hero {
  padding-block: 40px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero__title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 980px;
}
.hero__title-row > div { min-width: 0; }
.hero__eyebrow { margin-bottom: 14px; color: var(--eyebrow); }
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.08;
}
.hero__lede { margin: 22px auto 30px; max-width: 600px; color: var(--ink-soft); text-wrap: pretty; }
.hero .btn-row { justify-content: center; }

.arches {
  width: 100%;
  margin-bottom: 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
}
.arch {
  flex: 1 1 260px;
  max-width: 340px;
  min-width: 0;
  padding: 8px;
  border: 1.5px solid #E3D8C6;
  border-radius: 180px 180px 16px 16px;
  background: var(--bg);
}
.arch .photo { --h: 540px; border-radius: 170px 170px 10px 10px; object-position: 50% 50%; }
.arch--tall { flex: 1.35 1 320px; max-width: 440px; border-radius: 230px 230px 16px 16px; }
.arch--tall .photo { --h: 600px; border-radius: 220px 220px 10px 10px; }

.schedule-card { background: var(--band-card); border-radius: 20px; padding: 28px; }
.schedule-card h3 { margin-bottom: 8px; font-size: 26px; }
.schedule-card .time { margin-bottom: 4px; font-weight: 600; }
.schedule-intro { max-width: 640px; margin-bottom: 36px; opacity: .92; }
.schedule-card__time { font-weight: 600; font-size: 15px; letter-spacing: .04em; margin-bottom: 4px; opacity: .85; }
.schedule-card__programs { list-style: none; padding: 0; margin: 4px 0 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.schedule-card__programs li { font-weight: 600; font-size: 15px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); }
.build-day { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 32px; }
.build-day__chip { padding: 8px 16px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .55); font-weight: 600; }
.build-day__chip--total { background: var(--accent); border-color: transparent; color: var(--on-accent); }
.build-day__op { font-family: var(--font-display); font-size: 26px; line-height: 1; opacity: .85; }

/* Small team tiles on the home page */
.team-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 28px 20px; }
.team-tile { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.team-tile img, .team-tile__initials { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; display: block; }
.team-tile__initials { display: grid; place-items: center; background: var(--ph-bg); color: var(--eyebrow); font-family: var(--font-display); font-size: 34px; }
.team-tile .person-name { font-size: 15px; line-height: 1.35; }
.team-tile .person-name .muted { font-size: 14px; }

.quote { text-align: center; }
.quote blockquote {
  margin: 24px 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.4;
}
.quote figcaption { color: var(--ink-muted); font-weight: 600; }
.quote--long blockquote { font-size: clamp(20px, 2vw, 26px); line-height: 1.5; }

/* Home: rotating testimonials. All quotes share one grid cell so the box keeps the height of the longest one. */
.testimonials__track { display: grid; }
.testimonial { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s ease; display: flex; flex-direction: column; justify-content: center; }
.testimonial.is-active { opacity: 1; visibility: visible; }
.testimonials__controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; }
.testimonials__controls[hidden] { display: none; }
.testimonials__arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-btn); background: var(--surface); color: #2E7D1E; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.testimonials__arrow:hover { background: #2E7D1E; color: #fff; border-color: #2E7D1E; }
.testimonials__dots { display: flex; gap: 10px; }
.testimonials__dot { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: #A8DA85; cursor: pointer; position: relative; }
.testimonials__dot::before { content: ""; position: absolute; inset: -8px; }
.testimonials__dot[aria-current="true"] { background: #2E7D1E; transform: scale(1.25); }
@media (prefers-reduced-motion: reduce) { .testimonial { transition: none; } }

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 40px;
}

.person-name strong { display: block; }

/* ---------- Approach ---------- */

.day-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 20px;
}
.day-list .card__label { margin-bottom: 4px; }

/* ---------- Programs ---------- */

.price { width: 100%; border-collapse: collapse; font-size: 17px; font-variant-numeric: tabular-nums; }
.price td, .price th { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.price th { font-weight: 600; font-size: 15px; color: var(--ink-muted); }

.full-day {
  margin-top: 24px;
  background: var(--band);
  color: var(--on-dark);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  align-items: center;
}
.full-day h2 { font-family: var(--font-display); font-weight: 500; font-size: 30px; }

/* Programs page: the three parts of the day, and example weeks */
.day-blocks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; }
.day-block { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 20px 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.day-block__time { color: var(--eyebrow); font-weight: 600; font-size: 15px; letter-spacing: .03em; }
.day-block__name { font-family: var(--font-display); font-size: 26px; color: var(--ink); }
.day-block__programs { color: var(--ink-soft); font-size: 16px; }
.day-block__plus { align-self: center; font-family: var(--font-display); font-size: 32px; color: var(--accent); padding: 0 2px; }
.day-blocks__note { margin-top: 16px; }
@media (max-width: 760px) { .day-block__plus { width: 100%; text-align: center; font-size: 26px; line-height: 1; } }
.examples { margin-top: 56px; padding: 40px; border-radius: 28px; background: var(--bg-alt); }
.example { padding: 24px; border-radius: 18px; background: var(--surface); display: flex; flex-direction: column; gap: 6px; }
.example__title { font-family: var(--font-display); font-size: 22px; color: var(--ink); }
.example__parts { color: var(--ink-soft); font-size: 16px; line-height: 1.5; flex: 1; }
.example__total { font-family: var(--font-display); font-size: 30px; color: var(--accent); font-variant-numeric: tabular-nums; }
.example__total span { font-family: var(--font-body); font-size: 15px; color: var(--ink-muted); }
@media (max-width: 600px) { .examples { padding: 24px; } }
.full-day p { flex: 1 1 420px; min-width: 0; }

.steps { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.steps li {
  background: var(--surface);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.steps__num {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; padding: 18px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin-bottom: 20px; color: var(--ink-soft); }

/* ---------- Teachers ---------- */

.profile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}
.profile > .photo, .profile > .ph { flex: 1 1 340px; min-width: 0; --h: 380px; }
.profile__body { flex: 1 1 460px; min-width: 0; padding: 8px; }
.profile__body h2 { font-family: var(--font-display); font-weight: 500; font-size: 32px; }
.profile__role { margin-bottom: 16px; color: var(--eyebrow); font-weight: 600; }
.profile__body strong { color: var(--ink); }
.profile__quote { margin: 0 0 16px; padding: 4px 0 4px 20px; border-left: 3px solid var(--eyebrow); font-family: var(--font-display); font-size: 20px; line-height: 1.5; color: var(--ink); }

.teacher__role { color: var(--eyebrow); font-weight: 600; font-size: 16px; }

/* ---------- Visit ---------- */

.book-card {
  background: var(--band);
  color: var(--on-dark);
  border-radius: 24px;
  padding: 28px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.book-card__title { font-family: var(--font-display); font-size: 26px; }
.book-card__note { font-size: 14px; color: #E3F3D6; }

.contact-list { display: flex; flex-direction: column; gap: 20px; font-size: 17px; }
.contact-list dt { font-weight: 600; }
.contact-list dd { margin: 0; color: var(--ink-soft); }

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-card h2 { font-family: var(--font-display); font-weight: 500; font-size: 28px; }
.form-card .btn { align-self: flex-start; }
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 6px; font-size: 16px; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit;
  font-weight: 400;
  font-size: 17px;
  padding: 12px 14px;
  min-height: 48px;
  border: 1.5px solid var(--input-line);
  border-radius: 12px;
  background: var(--input-bg);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.form-status { font-size: 16px; color: var(--ink-soft); }

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

.site-footer { background: var(--footer-bg); color: var(--footer-ink); }
.site-footer a { color: var(--footer-ink); }
.site-footer a:hover { color: var(--on-dark); }
.footer-grid {
  padding-block: 64px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  font-size: 16px;
}
.footer-title { margin-bottom: 8px; font-family: var(--font-display); font-size: 24px; color: var(--on-dark); }
.footer-label { margin-bottom: 8px; font-weight: 600; color: var(--on-dark); }
.footer-links { display: flex; flex-direction: column; gap: 4px; }
.footer-legal { padding-bottom: 32px; font-size: 14px; color: var(--footer-muted); }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}

/* Edge stars beside left-aligned page titles: hide when the margins get narrow */
@media (max-width: 1100px) { .spk--edge { display: none; } }

/* Our Approach: what's in the weekly newsletter */
.newsletter-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px 32px; }
.newsletter-card h3 { margin-bottom: 14px; }
.newsletter-card ul { margin: 0; padding-left: 22px; font-size: 18px; line-height: 1.5; display: flex; flex-direction: column; gap: 10px; }
.newsletter-card li::marker { color: #3E9A22; }

/* (unused) recent newsletter links */
.newsletters { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.newsletters a {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px;
  padding: 20px 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line);
  color: var(--ink); text-decoration: none;
}
.newsletters a:hover { border-color: var(--line-btn); }
.newsletters a::after { content: "Open \2192"; color: var(--link); font-weight: 600; font-size: 15px; }
.newsletters__title { font-family: var(--font-display); font-size: 21px; }
.newsletters__date { color: var(--ink-muted); font-size: 16px; flex: 1 1 auto; }

/* Programs: fees */
.fee { display: flex; flex-direction: column; gap: 8px; }
.fee__amount { font-family: var(--font-display); font-size: 36px; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.1; }
.fee__amount span { font-family: var(--font-body); font-size: 15px; color: var(--ink-muted); }

/* Programs: fees as a quiet list (smaller than the tuition, easy to read) */
.fee-list { max-width: 820px; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.fee-row { padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.fee-row__name { font-weight: 600; color: var(--ink); font-size: 17px; }
.fee-row__amount { font-weight: 400; color: var(--ink-soft); margin-left: 8px; }
.fee-row .soft { font-size: 16px; }

/* Keep every team photo in neat, even rows (Owen & Meadow included) */
.team-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 560px) { .team-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .teacher-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; } }

/* Phones: keep the three arch photos side by side so the headline stays close to the top */
@media (max-width: 640px) {
  .arches { flex-wrap: nowrap; gap: 8px; margin-bottom: 32px; }
  .arch, .arch--tall { flex: 1 1 0; max-width: none; padding: 4px; }
  .arch--tall { flex-grow: 1.3; }
  .arch .photo { --h: 170px; }
  .arch--tall .photo { --h: 220px; }
}

/* Banner option B ("refined"): no animals. A quiet, single-tone Snoqualmie ridge and treeline
   runs along the bottom of the header. Swap site-header--woodland2 for site-header--refined to use it. */
.site-header--refined { position: relative; overflow: hidden; padding-bottom: 185px; background: var(--surface); }
.site-header--refined .woodland2 { display: none; }
.site-header--refined .brand-row { position: relative; z-index: 1; padding-block: 28px 6px; display: flex; justify-content: center; }
.site-header--refined .logo { width: 230px; }
.site-header--refined .nav { position: relative; z-index: 1; padding-block: 6px 0; gap: 8px 40px; }
.site-header--refined .nav a {
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft);
}
.site-header--refined .nav a:hover,
.site-header--refined .nav a[aria-current="page"] { color: var(--link); }
.site-header--refined::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 175px; pointer-events: none;
  background: url("../assets/ridge-refined.svg") center bottom / cover no-repeat;
}
@media (max-width: 760px) {
  .site-header--refined { padding-bottom: 120px; }
  .site-header--refined::after { height: 112px; }
  .site-header--refined .logo { width: 200px; }
  .site-header--refined .nav { gap: 0 18px; }
  .site-header--refined .nav a { font-size: 12px; letter-spacing: .1em; }
}

/* Option B: a small cluster of sparkles in place of the fern sprigs beside the Home headline */
.star-cluster { position: relative; flex: 0 0 auto; width: 108px; height: 104px; }
.star-cluster--flip { transform: scaleX(-1); }
@media (max-width: 760px) { .star-cluster { display: none; } }

/* ---------- Photo banner behind the logo (all pages) ---------- */
.site-header.site-header--photo { overflow: visible; }
.site-header.site-header--photo .brand-row {
  max-width: none; width: 100%; margin: 0; box-sizing: border-box;
  padding: 72px 20px;
  display: flex; justify-content: center; align-items: center;
  background: linear-gradient(rgba(20,16,10,.38), rgba(20,16,10,.46)), url("../images/header-nature-bowls.jpg") 50% 30% / cover no-repeat;
}
.site-header.site-header--photo .brand { background: none; padding: 0; border-radius: 0; box-shadow: none; }
.logo-lockup { filter: drop-shadow(0 2px 6px rgba(0,0,0,.45)); display: block; width: 760px; max-width: 86vw; height: auto; }
.site-header.site-header--photo .nav { gap: 10px 14px; }
.site-header.site-header--photo .nav a {
  padding: 11px 22px; border-radius: 12px; font-weight: 600; text-decoration: none;
  color: #10200A; background: #5DB83A;
}
.site-header.site-header--photo .nav a:nth-child(1) { background: #2E7D1E; color: #FFFFFF; }
.site-header.site-header--photo .nav a:nth-child(2) { background: #3E9A22; color: #10200A; }
.site-header.site-header--photo .nav a:nth-child(3) { background: #5DB83A; color: #10200A; }
.site-header.site-header--photo .nav a:nth-child(4) { background: #A8DA85; color: #10200A; }
.site-header.site-header--photo .nav a:nth-child(1):hover { color: #FFFFFF; }
.site-header.site-header--photo .nav a:hover { filter: brightness(.94); }
.site-header.site-header--photo .nav { padding-block: 12px 14px; }
@media (max-width: 600px) {
  .site-header.site-header--photo .brand-row { padding: 44px 14px; }
  
}


/* Corner sprinkle of stars (and the odd acorn) in place of the fern, mushroom and leaf corners */
.accent-stars { position: absolute; bottom: 28px; width: 120px; height: 110px; pointer-events: none; z-index: 0; }
.accent-stars--left { left: 2.5%; }
.accent-stars--right { right: 2.5%; }
.accent-acorn { position: absolute; left: 34%; bottom: 0; width: 34px; height: auto; opacity: .9; }
@media (max-width: 760px) { .accent-stars { display: none; } }

/* Phones: the four menu buttons sit in a tidy 2 x 2 grid under the photo banner */
@media (max-width: 600px) {
  .site-header.site-header--photo .nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-inline: 16px; }
  .site-header.site-header--photo .nav a { text-align: center; padding: 11px 8px; font-size: 15px; }
}

/* Our Approach: What families say */
.families__grid { columns: 2 380px; column-gap: 24px; }
.family-card { break-inside: avoid; margin: 0 0 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px 32px; }
.family-card__mark { display: block; margin-bottom: 14px; }
.family-card blockquote { margin: 0; }
.family-card blockquote p { margin: 0 0 14px; line-height: 1.6; }
.family-card blockquote p:last-child { margin-bottom: 0; }
.family-card figcaption { margin-top: 18px; color: var(--ink-muted); font-weight: 600; }

/* A button-shaped label for links that aren't live yet (e.g. registration before Dec 1) */
.btn--soon { cursor: default; }
.btn--soon:hover { background: var(--accent); }
.reg-dates { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--ink-muted); }
.reg-dates strong { color: var(--ink); font-weight: 600; }

/* Programs: day options shown while tuition is hidden (before Dec 1) */
.day-options { border-top: 1px solid var(--line); padding-top: 18px; margin-top: auto; }
.day-options__label { font-weight: 600; font-size: 15px; color: var(--ink-muted); margin: 0 0 12px; }
.day-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.day-pills li { padding: 8px 16px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: 16px; font-weight: 600; }
.day-options__note { margin: 16px 0 0; font-size: 15px; color: #2E7D1E; font-weight: 600; }
