/* ==========================================================================
   Wonder Thinkers Dayhome — Design Tokens & Base Styles
   Fredoka (display) + Nunito Sans (body) · cypress green / cream / sage / gold
   ========================================================================== */

:root {
  /* Color tokens */
  --cream:        #FFFFFF;
  --cream-soft:   #F7F7F5;
  --cream-white:  #FFFFFF;
  --ink:          #2A2E27;
  --ink-soft:     #5B5F52;
  --ink-faint:    #5B5F52;
  --heading:      #7C9150;
  --heading-strong: #5F7338;

  --cypress-900:  #1E3226;
  --cypress-800:  #26402F;
  --cypress-700:  #30503B;
  --cypress-600:  #3D6049;
  --cypress-500:  #4F725A;

  --sage-100:     #EEF2E5;
  --sage-200:     #DDE5CE;
  --sage-300:     #C3D0AE;
  --sage-400:     #A6B78D;

  --gold-300:     #E7CD93;
  --gold-500:     #C89B4A;
  --gold-600:     #AD8036;
  --gold-700:     #8E6A2C;

  --border-soft:  #E6E2D6;
  --shadow-color: 30, 30, 20;

  /* Typography */
  --font-display: "Fredoka", "Nunito Sans", ui-rounded, "Segoe UI", system-ui, sans-serif;
  --font-body: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --h1: clamp(2.25rem, 1.4rem + 3.6vw, 3.75rem);
  --h2: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
  --h3: clamp(1.3rem, 1.1rem + 0.9vw, 1.75rem);
  --h4: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  --body-lg: clamp(1.05rem, 1rem + 0.2vw, 1.2rem);

  /* Spacing scale (4px base) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-10: 8rem;

  /* Radii */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-pill: 999px;
  --blob-1: 63% 37% 54% 46% / 43% 45% 55% 57%;
  --blob-2: 42% 58% 66% 34% / 52% 40% 60% 48%;
  --blob-3: 55% 45% 40% 60% / 60% 55% 45% 40%;

  /* Motion */
  --ease-standard: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 180ms;
  --dur-med: 420ms;
  --dur-slow: 680ms;

  --container: 1180px;
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur-fast: 0ms; --dur-med: 0ms; --dur-slow: 0ms; }
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; margin: 0; padding: 0; }
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--heading);
  letter-spacing: 0;
}
h1 { font-size: var(--h1); font-weight: 700; line-height: 1.1; }
h2 { font-size: var(--h2); font-weight: 600; }
h3 { font-size: var(--h3); color: var(--heading-strong); }
h4 { font-size: var(--h4); font-weight: 600; color: var(--heading-strong); }
h3.t-h4 { font-size: var(--h4); font-weight: 600; color: var(--heading-strong); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #7A5A22;
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--gold-500);
  border-radius: var(--radius-pill);
}

.lede { font-size: var(--body-lg); color: var(--ink-soft); }

/* ---- Focus & accessibility ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--gold-600);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -100px;
  background: var(--cypress-900);
  color: var(--cream-white);
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top var(--dur-fast) var(--ease-standard);
  font-weight: 600;
}
.skip-link:focus { top: var(--sp-4); }

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

/* ---- Layout helpers ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}
@media (min-width: 768px) { .container { padding-inline: var(--sp-7); } }

.section { padding-block: var(--sp-9); position: relative; }
.section--tight { padding-block: var(--sp-8); }
.section--cream-soft { background: var(--cream-soft); }
.section--sage { background: var(--sage-100); }
.section--cypress {
  background: var(--cypress-900);
  color: var(--sage-100);
}
.section--cypress h2, .section--cypress h3, .section--cypress h4 { color: var(--cream-white); }
.section--cypress .lede { color: var(--sage-200); }

.stack { display: flex; flex-direction: column; }
.gap-2 { gap: var(--sp-2); } .gap-3 { gap: var(--sp-3); } .gap-4 { gap: var(--sp-4); }
.gap-5 { gap: var(--sp-5); } .gap-6 { gap: var(--sp-6); }

.grid { display: grid; gap: var(--sp-6); }
.grid-2 { grid-template-columns: minmax(0, 1fr); }
.grid-3 { grid-template-columns: minmax(0, 1fr); }
.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); }
}

.section-head {
  max-width: 640px;
  margin-bottom: var(--sp-7);
}
.section-head.center { margin-inline: auto; text-align: center; }

.text-center { text-align: center; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.95rem 1.8rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.98rem;
  min-height: 48px;
  transition: transform var(--dur-fast) var(--ease-standard),
              box-shadow var(--dur-fast) var(--ease-standard),
              background-color var(--dur-fast) var(--ease-standard),
              color var(--dur-fast) var(--ease-standard);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold-500);
  color: var(--cypress-900);
  box-shadow: 0 10px 24px -10px rgba(var(--shadow-color), 0.45);
}
.btn-primary:hover { background: var(--gold-600); transform: translateY(-2px); }
.btn-secondary {
  background: transparent;
  color: var(--cypress-800);
  border: 1.5px solid var(--cypress-700);
}
.btn-secondary:hover { background: var(--sage-100); transform: translateY(-2px); }
.btn-on-dark {
  background: transparent;
  color: var(--cream-white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-on-dark:hover { background: rgba(255,255,255,0.1); }
.btn-block { width: 100%; }

/* ---- Header / Nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border-soft);
  box-shadow: 0 8px 30px -20px rgba(var(--shadow-color), 0.4);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--sp-4);
  gap: var(--sp-4);
}
.brand { display: flex; align-items: center; gap: var(--sp-3); }
.brand-mark { height: 40px; width: auto; flex-shrink: 0; display: block; }
.brand-word {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--cypress-900);
  line-height: 1.1;
}
.brand-word span { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-700); margin-top: 2px; }

.nav-links {
  display: none;
  align-items: center;
  gap: var(--sp-6);
}
.nav-links a {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink-soft);
  position: relative;
  padding-block: var(--sp-1);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--cypress-800); }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--gold-500);
  border-radius: var(--radius-pill);
}
.nav-cta { display: none; }
.nav-actions { display: flex; align-items: center; gap: var(--sp-4); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-soft);
  background: var(--cream-white);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: var(--sp-1);
  padding: var(--sp-3) 0 var(--sp-6);
  border-top: 1px solid var(--border-soft);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  padding: var(--sp-3) var(--sp-2);
  font-weight: 600;
  border-radius: var(--radius-sm);
  color: var(--ink);
}
.mobile-menu a[aria-current="page"] { color: var(--cypress-800); background: var(--sage-100); }
.mobile-menu .btn { margin-top: var(--sp-3); }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ---- Organic blob art (placeholder for photography) ---- */
.blob-frame {
  position: relative;
  isolation: isolate;
}
.blob-shape {
  border-radius: var(--blob-1);
  overflow: hidden;
  position: relative;
  background: linear-gradient(155deg, var(--sage-300) 0%, var(--cypress-600) 55%, var(--cypress-800) 100%);
  box-shadow: 0 30px 60px -30px rgba(var(--shadow-color), 0.5);
}
.blob-shape::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.22), transparent 45%),
    radial-gradient(circle at 75% 70%, rgba(200,155,74,0.35), transparent 50%);
}
.blob-shape img.photo-fill { transition: transform 600ms var(--ease-standard); }
.blob-frame:hover .blob-shape img.photo-fill { transform: scale(1.045); }
@media (prefers-reduced-motion: reduce) {
  .blob-shape img.photo-fill { transition: none; }
  .blob-frame:hover .blob-shape img.photo-fill { transform: none; }
}
.blob-shape .placeholder-icon {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  gap: var(--sp-2);
  color: rgba(255,255,255,0.85);
  text-align: center;
  padding: var(--sp-5);
}
.blob-shape .placeholder-icon svg { width: 44px; height: 44px; opacity: 0.85; }
.blob-shape .placeholder-icon span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  max-width: 220px;
  opacity: 0.85;
}
.blob-shape.gold-tone { background: linear-gradient(155deg, var(--gold-300) 0%, var(--gold-600) 60%, var(--cypress-800) 130%); }
.blob-shape.sage-tone { background: linear-gradient(155deg, var(--sage-200) 0%, var(--sage-400) 55%, var(--cypress-700) 120%); }

.blob-shape img.photo-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.blob-dot {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
}

/* Decorative section dividers */
.divider-dots {
  display: flex;
  gap: var(--sp-2);
  justify-content: center;
  margin-block: var(--sp-6);
}
.divider-dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sage-300);
}
.divider-dots span:nth-child(2) { background: var(--gold-500); width: 10px; height: 10px; }

/* ---- Cards ---- */
.card {
  background: var(--cream-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  transition: transform var(--dur-med) var(--ease-standard), box-shadow var(--dur-med) var(--ease-standard);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(var(--shadow-color), 0.35); }
.card-icon {
  width: 56px; height: 56px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--sage-100);
  color: var(--cypress-700);
  margin-bottom: var(--sp-4);
}
.card-icon svg { width: 28px; height: 28px; }
.card-icon.gold { background: var(--gold-300); color: var(--gold-700); }

/* ---- Badges / pills ---- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--sage-100);
  color: var(--cypress-800);
}
.pill svg { width: 16px; height: 16px; }
.pill.status-full { background: var(--gold-300); color: var(--cypress-900); }

/* ---- Trust strip ---- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-5);
}
@media (min-width: 768px) { .trust-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-2);
  padding: var(--sp-5) var(--sp-3);
}
.trust-item svg { width: 30px; height: 30px; color: var(--gold-600); }
.trust-item strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--cypress-900); font-weight: 600; }
.trust-item span { font-size: 0.85rem; color: var(--ink-soft); }

/* ---- Full-bleed photo moment (structured break between organic sections) ---- */
.moment {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-height: 620px;
}
@media (max-width: 700px) {
  .moment { aspect-ratio: 4 / 5; max-height: 560px; }
}
.moment img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}
.moment-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--sp-6) var(--sp-6) var(--sp-5);
  background: linear-gradient(0deg, rgba(20, 32, 25, 0.82) 0%, rgba(20, 32, 25, 0.35) 55%, transparent 100%);
  display: flex;
  justify-content: center;
}
.moment-caption span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 1rem + 1.2vw, 1.7rem);
  color: var(--cream-white);
  text-align: center;
  max-width: 720px;
}

/* Curtain-style reveal for the moment section (instead of the default fade) */
.moment[data-reveal] {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 900ms var(--ease-standard);
}
.moment[data-reveal].is-revealed { clip-path: inset(0 0 0% 0); }
@media (prefers-reduced-motion: reduce) {
  .moment[data-reveal] { clip-path: none; transition: none; }
}

/* ---- Numbered index label (editorial, for short sequential lists) ---- */
.index-number {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold-600);
  margin-bottom: var(--sp-2);
}

/* ---- Organic wave divider (soft, non-proprietary section break) ---- */
.wave-divider {
  line-height: 0;
  position: relative;
  z-index: 1;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 56px;
}
@media (min-width: 768px) { .wave-divider svg { height: 78px; } }

/* ---- Photo gallery strip (original collage layout) ---- */
.gallery-strip { width: 100%; }
.gallery-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
}
.gallery-strip-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}
@media (min-width: 768px) {
  .gallery-strip-grid img { height: 380px; }
}
@media (max-width: 560px) {
  .gallery-strip-grid { grid-template-columns: 1fr; gap: 3px; }
  .gallery-strip-grid img { height: 260px; }
}

/* ---- Testimonial badge (original graphic marker, not a copied motif) ---- */
.quote-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold-300);
  color: var(--cypress-800);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-4);
}
.quote-badge svg { width: 28px; height: 28px; }

/* ---- Softer, hand-drawn-feeling icon treatment (used sparingly) ---- */
.icon-sketch {
  position: relative;
}
.icon-sketch svg {
  overflow: visible;
}
.icon-sketch svg .sketch-echo {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
  opacity: 0.35;
  transform: translate(1.1px, 1.3px) rotate(-1.5deg);
  transform-origin: center;
}

/* ---- Bio pull-quote (left-aligned, for long-form narrative sections) ---- */
.bio-quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 1rem + 0.8vw, 1.5rem);
  color: var(--cypress-900);
  line-height: 1.4;
  border-left: 3px solid var(--gold-500);
  padding-left: var(--sp-5);
}

/* ---- Editorial accent rule (pairs with a lede paragraph) ---- */
.lede-accent {
  border-left: 2px solid var(--gold-500);
  padding-left: var(--sp-4);
}

/* ---- Stat callout ---- */
.stat-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-3);
  max-width: 620px;
  margin-inline: auto;
}
.stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4rem, 2.5rem + 7vw, 7.5rem);
  line-height: 1;
  color: var(--gold-300);
}
.stat-block p { color: var(--sage-100); font-size: var(--body-lg); }

/* ---- Mask reveal (precision-style headline wipe, used sparingly) ---- */
[data-reveal-mask] { overflow: hidden; }
[data-reveal-mask] > span {
  display: block;
  transform: translateY(115%);
  transition: transform var(--dur-slow) var(--ease-standard);
}
[data-reveal-mask].is-revealed > span { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal-mask] > span { transform: none; transition: none; }
}

/* ---- Video glimpse ---- */
.video-frame {
  max-width: 860px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cypress-900);
  box-shadow: 0 30px 60px -30px rgba(var(--shadow-color), 0.5);
}
.video-frame video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 70vh;
  background: var(--cypress-900);
}

/* ---- Pull quote ---- */
.pull-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.1rem + 2vw, 2.4rem);
  font-weight: 600;
  color: var(--cypress-900);
  line-height: 1.35;
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}
.pull-quote .accent { color: var(--gold-600); }

/* ---- Recommendation tags ---- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; }
.tag-cloud .pill { background: var(--cream-white); border: 1px solid var(--border-soft); }

/* ---- Timeline / process steps ---- */
.steps { counter-reset: step; }
.step {
  position: relative;
  padding-left: 4rem;
  padding-bottom: var(--sp-7);
  border-left: 2px dashed var(--sage-300);
  margin-left: 1.4rem;
}
.step:last-child { border-color: transparent; padding-bottom: 0; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -1.4rem;
  top: 0;
  width: 2.8rem; height: 2.8rem;
  border-radius: 50%;
  background: var(--cypress-800);
  color: var(--cream-white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
}

/* ---- Daily rhythm list ---- */
.rhythm-list { display: flex; flex-direction: column; gap: 0; }
.rhythm-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  grid-template-areas: "icon time" "icon body";
  column-gap: var(--sp-4);
  row-gap: var(--sp-1);
  align-items: center;
  padding-block: var(--sp-5);
  border-bottom: 1px solid var(--border-soft);
}
.rhythm-icon { grid-area: icon; width: 52px; height: 52px; align-self: start; }
.rhythm-time { grid-area: time; }
.rhythm-row > div { grid-area: body; }
@media (min-width: 640px) {
  .rhythm-row { grid-template-columns: 56px 130px minmax(0, 1fr); grid-template-areas: "icon time body"; column-gap: var(--sp-4); }
  .rhythm-icon { width: 56px; height: 56px; align-self: center; }
}
.rhythm-row:first-child { padding-top: 0; }
.rhythm-time { font-weight: 700; color: var(--gold-700); font-size: 0.95rem; letter-spacing: 0.02em; }
.rhythm-title { font-weight: 700; color: var(--cypress-900); margin-bottom: 2px; }
.rhythm-desc { color: var(--ink-soft); font-size: 0.95rem; }

/* ---- Forms ---- */
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-5); }
@media (min-width: 640px) { .form-grid.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: flex; flex-direction: column; gap: var(--sp-2); }
.field label {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--cypress-900);
}
.field .req { color: var(--gold-700); margin-left: 2px; }
.field .hint { font-size: 0.82rem; color: var(--ink-faint); }
.field input, .field textarea, .field select {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-soft);
  background: var(--cream-white);
  min-height: 48px;
  transition: border-color var(--dur-fast);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--sage-400); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold-500); }
.form-status {
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--radius-sm);
  background: var(--sage-100);
  color: var(--cypress-900);
  font-weight: 600;
  display: none;
}
.form-status.is-visible { display: block; }
.form-note { font-size: 0.85rem; color: var(--ink-faint); }

/* ---- Soft call-to-action band (light, with curve + doodles) ---- */
.cta-soft {
  --cta-bg: #EFF4E4;
  position: relative;
  background: var(--cta-bg);
  padding-block: clamp(4.5rem, 9vw, 6.5rem);
}
.cta-wave {
  position: absolute;
  left: 0;
  bottom: calc(100% - 1px);
  width: 100%;
  height: clamp(28px, 5vw, 64px);
  color: var(--cta-bg);
  pointer-events: none;
  display: block;
}
.cta-soft > .container { position: relative; z-index: 1; }
.cta-doodle { position: absolute; pointer-events: none; }
.cta-doodle--sun { right: 6%; top: 14%; width: clamp(56px, 8vw, 104px); }
.cta-doodle--cloud { left: 7%; top: 16%; width: clamp(60px, 8vw, 104px); }
.cta-doodle--butterfly { left: 14%; bottom: 14%; width: clamp(38px, 5vw, 62px); }
.cta-doodle--bee { right: 15%; bottom: 16%; width: clamp(38px, 5vw, 62px); }
@media (max-width: 700px) {
  .cta-doodle--butterfly, .cta-doodle--bee { display: none; }
  .cta-soft { padding-top: 7rem; }
  .cta-doodle--sun { right: 8%; top: 1.4rem; width: 58px; }
  .cta-doodle--cloud { left: 8%; top: 1.6rem; width: 62px; }
}

/* ---- Footer ---- */
.site-footer {
  --footer-bg: var(--sage-200);
  position: relative;
  background: var(--footer-bg);
  color: var(--cypress-800);
  padding-top: var(--sp-8);
}
.footer-wave {
  position: absolute;
  left: 0;
  bottom: calc(100% - 1px);
  width: 100%;
  height: clamp(28px, 5vw, 64px);
  color: var(--footer-bg);
  pointer-events: none;
  display: block;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-7);
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); } }
.footer-grid h4, .footer-grid h3 { color: var(--cypress-700); font-size: 1.05rem; margin-bottom: var(--sp-3); }
.footer-links { display: flex; flex-direction: column; gap: 0; }
.footer-links a, .footer-contact li { color: var(--cypress-800); font-size: 0.95rem; }
.footer-links a { display: block; padding-block: 0.7rem; min-height: 44px; }
.footer-contact a { display: inline-block; padding-block: 0.65rem; min-height: 44px; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold-700); }
.footer-contact { display: flex; flex-direction: column; gap: 0; }
.footer-contact li { display: flex; align-items: flex-start; gap: var(--sp-3); }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold-700); flex-shrink: 0; margin-top: 2px; }
.footer-brand p { color: var(--cypress-700); font-size: 0.92rem; max-width: 320px; }

.footer-scene {
  position: relative;
  height: clamp(120px, 17vw, 190px);
  margin-top: var(--sp-6);
  pointer-events: none;
}
.scene-hill { position: absolute; left: 0; bottom: -1px; width: 100%; height: 64%; display: block; }
.hill-back { fill: var(--sage-300); }
.hill-front { fill: var(--sage-400); }
.hill-line { fill: none; stroke: var(--cream-white); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.scene-doodle { position: absolute; }
.scene-signpost { left: 7%;  bottom: 40%; width: clamp(54px, 6vw, 80px); }
.scene-butterfly { left: 21%; bottom: 62%; width: clamp(34px, 4vw, 54px); }
.scene-sun { left: 34%; bottom: 50%; width: clamp(58px, 7vw, 94px); }
.scene-trail { position: absolute; left: 47%; bottom: 66%; width: clamp(80px, 11vw, 160px); height: auto; }
.scene-bee { left: 59%; bottom: 66%; width: clamp(36px, 4.2vw, 56px); }
.scene-whale { left: 71%; bottom: 36%; width: clamp(60px, 7vw, 98px); }
.scene-flower { left: 88%; bottom: 40%; width: clamp(34px, 4vw, 54px); }
@media (max-width: 640px) {
  .scene-butterfly, .scene-bee, .scene-trail { display: none; }
  .scene-signpost { left: 4%; }
  .scene-sun { left: 36%; }
  .scene-whale { left: 64%; }
  .scene-flower { left: 87%; }
}

.footer-hill { background: var(--sage-400); padding-block: var(--sp-4) var(--sp-6); }
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--cypress-900);
}
@media (min-width: 700px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
/* ---- Friendly illustrated icons (cards) ---- */
.card-icon.card-icon--art {
  background: none;
  width: auto;
  height: auto;
  border-radius: 0;
  margin-bottom: var(--sp-3);
  justify-content: flex-start;
}
.card-icon--art img { width: 68px; height: 68px; transition: transform var(--dur-med) var(--ease-standard); }
.card:hover .card-icon--art img { transform: translateY(-4px) rotate(-5deg); }
@media (prefers-reduced-motion: reduce) { .card:hover .card-icon--art img { transform: none; } }

/* ---- Illustrated art bands (backdrop artwork behind headers and call-outs) ---- */
.art-band { position: relative; isolation: isolate; overflow: hidden; background: var(--cream-soft); }
.art-band-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.art-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--scrim, none);
}
.art-hero {
  display: flex;
  align-items: center;
  min-height: clamp(340px, 34vw, 460px);
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.art-hero > .container { width: 100%; }
.art-hero .hero-copy { max-width: 720px; }
.art-hero .lede { color: var(--ink); }
.art-hero--center .hero-copy { margin-inline: auto; text-align: center; }

.art-band--wood { --scrim: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.76) 40%, rgba(255, 255, 255, 0) 74%); }
.art-band--wood .art-band-img { object-position: 78% 50%; }
@media (max-width: 700px) {
  .art-band--wood { --scrim: linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.78) 55%, rgba(255, 255, 255, 0.62) 100%); }
  .art-band--wood .art-band-img { object-position: 92% 50%; }
}
.art-band--hills { --scrim: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(255, 252, 244, 0.86), rgba(255, 252, 244, 0) 75%); }
.art-band--hills .art-band-img { object-position: 50% 100%; }
.art-band--paper { --scrim: radial-gradient(ellipse 64% 58% at 50% 46%, rgba(255, 251, 240, 0.82), rgba(255, 251, 240, 0) 78%); }
.art-band--paper .art-band-img { object-position: 50% 64%; }
.art-band--felt .art-band-img { object-position: 50% 50%; }
.art-hero.art-band--hills { padding-bottom: clamp(7rem, 14vw, 10.5rem); }
@media (max-width: 700px) {
  .art-hero.art-band--paper { padding-bottom: 9rem; }
  .art-hero.art-band--hills { padding-bottom: 9.5rem; }
  .art-band--paper .art-band-img { object-position: 50% 100%; }
}

.art-quote {
  display: flex;
  align-items: center;
  min-height: clamp(400px, 48vw, 620px);
  padding-block: clamp(4rem, 9vw, 7rem);
}
.art-quote > .container { max-width: 800px; }
.art-cta { padding-top: clamp(4rem, 8vw, 6.5rem); padding-bottom: clamp(9.5rem, 17vw, 12rem); }
@media (max-width: 700px) {
  .art-quote { display: block; min-height: 0; padding-top: 230px; padding-bottom: 3.5rem; }
  .art-quote .art-band-img {
    width: 175%;
    max-width: none;
    height: 250px;
    inset: 0 auto auto 0;
    object-position: 0% 0%;
    -webkit-mask-image: linear-gradient(to bottom, #000 66%, transparent);
    mask-image: linear-gradient(to bottom, #000 66%, transparent);
  }
}

/* ---- Dayhome tour (home page gallery) ---- */
.tour-lead {
  margin: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 34px 70px -40px rgba(var(--shadow-color), 0.6);
}
.tour-lead .photo-btn { aspect-ratio: 4 / 3; }
@media (min-width: 640px) { .tour-lead .photo-btn { aspect-ratio: 16 / 9; } }
.tour-lead .photo-btn img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.tour-lead .zoom-hint { top: 14px; bottom: auto; }
.tour-lead figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--sp-7) var(--sp-5) var(--sp-5);
  background: linear-gradient(0deg, rgba(20, 32, 25, 0.8) 0%, rgba(20, 32, 25, 0.35) 55%, transparent 100%);
  color: var(--cream-white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 0.95rem + 0.8vw, 1.5rem);
  pointer-events: none;
}

.tour-index {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  justify-content: center;
  margin-top: var(--sp-6);
}
.tour-index a {
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--cypress-800);
  background: var(--cream-white);
  border: 1.5px solid var(--border-soft);
  transition: background-color var(--dur-fast) var(--ease-standard), border-color var(--dur-fast) var(--ease-standard), transform var(--dur-fast) var(--ease-standard);
}
.tour-index a:hover { background: var(--sage-100); border-color: var(--sage-300); transform: translateY(-2px); }

.zone {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-6);
  align-items: center;
  padding-block: var(--sp-7);
  scroll-margin-top: 96px;
}
@media (min-width: 860px) {
  .zone { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--sp-7); }
  .zone--flip { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
  .zone--flip .zone-copy { order: 2; }
  .zone--flip .zone-photos { order: 1; }
}
.zone-copy h3 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); }
.zone-copy .zone-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
}
.zone-tags li {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cypress-800);
  background: var(--cream-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.85rem;
}

.zone-photos { display: grid; gap: var(--sp-3); position: relative; }
.zone-photo {
  margin: 0;
  overflow: hidden;
  background: var(--sage-100);
  box-shadow: 0 26px 50px -30px rgba(var(--shadow-color), 0.55);
}
.r-a { border-radius: 28px 28px clamp(48px, 9vw, 110px) 28px; }
.r-b { border-radius: clamp(48px, 9vw, 110px) 28px 28px 28px; }
.r-c { border-radius: 28px clamp(48px, 9vw, 110px) 28px 28px; }
.r-d { border-radius: 28px 28px 28px clamp(48px, 9vw, 110px); }

.photo-btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  overflow: hidden;
  border-radius: inherit;
}
.photo-btn img { width: 100%; height: auto; transition: transform 700ms var(--ease-standard); }
.photo-btn:hover img, .photo-btn:focus-visible img { transform: scale(1.04); }
.photo-btn:focus-visible { outline: 3px solid var(--gold-500); outline-offset: -6px; }
.zoom-hint {
  position: absolute;
  right: 12px; bottom: 12px;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--cypress-800);
  box-shadow: 0 6px 16px -6px rgba(var(--shadow-color), 0.6);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity var(--dur-fast) var(--ease-standard), transform var(--dur-fast) var(--ease-standard);
}
.zoom-hint svg { width: 20px; height: 20px; }
.photo-btn:hover .zoom-hint, .photo-btn:focus-visible .zoom-hint { opacity: 1; transform: none; }
@media (hover: none) {
  .zoom-hint { opacity: 0.92; transform: none; width: 32px; height: 32px; right: 10px; bottom: 10px; }
}

.duo--a { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: end; }
.duo--b { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.duo--b .zone-photo:nth-child(2) { margin-top: var(--sp-6); }
.duo--e { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; }
.duo--stack { display: block; }
.duo--stack .zone-photo--lg { width: 80%; }
.duo--stack .zone-photo--sm {
  position: relative;
  z-index: 2;
  width: 58%;
  margin-top: -14%;
  margin-left: auto;
  border: 6px solid var(--cream-soft);
}
.duo--stack-flip .zone-photo--lg { margin-left: auto; }
.duo--stack-flip .zone-photo--sm { margin-left: 0; }
@media (max-width: 560px) {
  .duo--a { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .duo--e { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .duo--b .zone-photo:nth-child(2) { margin-top: var(--sp-5); }
}

.tour-cta {
  margin-top: var(--sp-8);
  padding: var(--sp-7) var(--sp-5);
  text-align: center;
  background: var(--cream-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
}
.tour-cta p { max-width: 46ch; }

/* ---- Photo lightbox ---- */
.lightbox {
  border: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  background: transparent;
  color: var(--cream-white);
}
.lightbox::backdrop { background: rgba(14, 24, 18, 0.96); }
.lightbox[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: var(--sp-3);
  padding: var(--sp-4);
  animation: lightbox-in 220ms var(--ease-standard);
}
@keyframes lightbox-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .lightbox[open] { animation: none; } }
.lightbox-top { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); }
.lightbox-zone { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.lightbox-count { font-size: 0.85rem; color: var(--sage-300); margin-left: var(--sp-3); font-weight: 500; font-family: var(--font-body); }
.lightbox-stage { position: relative; min-height: 0; display: flex; align-items: center; justify-content: center; }
.lightbox-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 14px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7); }
.lightbox-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  color: var(--cream-white);
  transition: background-color var(--dur-fast) var(--ease-standard);
  flex-shrink: 0;
}
.lightbox-btn:hover { background: rgba(255, 255, 255, 0.28); }
.lightbox-btn svg { width: 22px; height: 22px; }
.lightbox-btn:focus-visible { outline-color: var(--gold-300); }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(14, 24, 18, 0.55); }
.lightbox-prev { left: 4px; }
.lightbox-next { right: 4px; }
.lightbox-cap { text-align: center; max-width: 62ch; margin-inline: auto; font-size: 0.98rem; color: var(--sage-100); min-height: 3em; }
@media (min-width: 900px) {
  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }
}

/* ---- Teacher Marge at a glance (about page) ---- */
.glance-card {
  background: var(--sage-100);
  border-radius: var(--radius-lg);
  padding: var(--sp-5) var(--sp-6);
}
.glance-card h3 { font-size: 1.2rem; }
.glance-card li { color: var(--ink); line-height: 1.5; }

/* ---- Our Space (about page room photos) ---- */
.space-section {
  --space-bg: var(--sage-100);
  position: relative;
  background: var(--space-bg);
  padding-block: clamp(5rem, 10vw, 7.5rem);
}
.space-wave { position: absolute; left: 0; width: 100%; height: clamp(28px, 5vw, 56px); display: block; pointer-events: none; color: var(--cream); }
.space-wave--top { top: -1px; }
.space-wave--bottom { bottom: -1px; color: var(--cream); }
.space-section + .section--sage { background: var(--cream); }
.space-doodle { position: absolute; pointer-events: none; }
.space-doodle--cloud { right: 7%; top: 11%; width: clamp(54px, 7vw, 92px); }
.space-doodle--butterfly { left: 6%; top: 15%; width: clamp(36px, 5vw, 60px); }
.space-section > .container { position: relative; z-index: 1; }
.space-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-5);
  align-items: start;
}
.space-card { margin: 0; }
.space-card .zone-photo { background: var(--sage-200); }
.space-card .photo-btn { aspect-ratio: 4 / 3; }
.space-card .photo-btn img { width: 100%; height: 100%; object-fit: cover; }
.space-card:nth-child(2) { margin-top: var(--sp-6); }
.space-card figcaption { padding: var(--sp-4) var(--sp-2) 0; }
.space-card figcaption strong { display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--heading); }
.space-card figcaption span { display: block; margin-top: 2px; font-size: 0.92rem; color: var(--ink-soft); }
@media (max-width: 820px) {
  .space-grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-6); }
  .space-card:nth-child(2) { margin-top: 0; }
  .space-doodle--butterfly { display: none; }
  .space-doodle--cloud { top: 1.9rem; right: 7%; width: 52px; }
}

/* ---- FLIGHT in action (program page photo sections) ---- */
.privacy-note {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--sage-100);
  color: var(--cypress-700);
  font-size: 0.86rem;
  font-weight: 700;
}
.privacy-note img { width: 22px; height: 22px; }
.flight-block { padding-block: var(--sp-7) var(--sp-5); scroll-margin-top: 96px; border-top: 1.5px dashed var(--sage-300); }
.flight-block:first-of-type { margin-top: var(--sp-7); }
.flight-head { max-width: 640px; margin-bottom: var(--sp-6); }
.flight-head h3 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); }
.flight-head p { margin-top: var(--sp-3); color: var(--ink-soft); }
.flight-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-4);
  align-items: start;
}
.flight-trio .zone-photo .photo-btn { aspect-ratio: 4 / 5; }
.flight-trio .zone-photo .photo-btn img { width: 100%; height: 100%; object-fit: cover; }
.flight-trio .zone-photo:nth-child(2) { margin-top: var(--sp-6); }
@media (max-width: 760px) {
  .flight-trio { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
  .flight-trio .zone-photo:nth-child(2) { margin-top: var(--sp-5); }
  .flight-trio .zone-photo:nth-child(3) { grid-column: 1 / -1; width: 64%; justify-self: center; margin-top: calc(var(--sp-2) * -1); }
}

/* ---- Service-area map (contact page) ---- */
.map-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}
.map-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  background: var(--sage-200);
  color: var(--cypress-700);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.map-tag .dot { width: 10px; height: 10px; border-radius: 50%; background: #8C9A57; }
.map-card {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 34px 70px -42px rgba(var(--shadow-color), 0.55);
  background: #F3EFE8;
}
.map-card svg { display: block; width: 100%; height: auto; font-family: var(--font-body); }
.map-card .m-t { font-size: 12.5px; font-weight: 800; fill: #4A4A3A; }
.map-card .m-cap { font-size: 8.5px; font-weight: 800; letter-spacing: 0.13em; fill: #55652D; }
.map-card .m-name { font-size: 13.5px; font-weight: 800; fill: #3B3F31; }
.map-card .m-area { font-size: 13px; font-weight: 800; fill: #3B3F31; }
.map-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-top: var(--sp-5);
}
.map-note { display: flex; align-items: center; gap: var(--sp-4); max-width: 640px; }
.map-note img { width: 44px; height: 44px; flex-shrink: 0; }
.map-note strong { display: block; color: var(--cypress-800); }
.map-note p { color: var(--ink-soft); font-size: 0.92rem; }
.map-badge {
  padding: 0.7rem 1.3rem;
  border-radius: var(--radius-pill);
  background: #586B34;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.map-areas { margin-top: var(--sp-7); text-align: center; }
.map-areas h3 { font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.6rem); }
.area-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3); margin-top: var(--sp-4); }
.area-chips li {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.5rem 1.1rem;
  background: var(--cream-white);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-pill);
  font-weight: 700;
  color: var(--cypress-800);
}
.area-chips li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #8C9A57; }
.note-card {
  margin-top: var(--sp-6);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5);
  background: var(--sage-100);
  border-radius: var(--radius-lg);
  color: var(--cypress-800);
  font-weight: 600;
}
.note-card svg { width: 30px; height: 30px; flex-shrink: 0; color: var(--cypress-600); }

/* ---- Utility spacing ---- */
.mt-2{margin-top:var(--sp-2)} .mt-3{margin-top:var(--sp-3)} .mt-4{margin-top:var(--sp-4)}
.mt-5{margin-top:var(--sp-5)} .mt-6{margin-top:var(--sp-6)} .mt-7{margin-top:var(--sp-7)}
.mb-2{margin-bottom:var(--sp-2)} .mb-3{margin-bottom:var(--sp-3)} .mb-4{margin-bottom:var(--sp-4)}
.mb-5{margin-bottom:var(--sp-5)} .mb-6{margin-bottom:var(--sp-6)}

/* Reveal-on-scroll (dependency-free IntersectionObserver + CSS transition) */
[data-reveal], [data-reveal-item], [data-hero-item] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-slow) var(--ease-standard), transform var(--dur-slow) var(--ease-standard);
}
[data-reveal].is-revealed, [data-reveal-item].is-revealed, [data-hero-item].is-revealed {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal-item], [data-hero-item] { opacity: 1; transform: none; transition: none; }
}

/* ---- Form validation messages ---- */
.field-error { color: #9A2F2F; font-size: 0.86rem; font-weight: 700; margin-top: 2px; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #B84545; background: #FFF8F7; }
.form-status.is-error { background: #FBEAEA; color: #7A2323; }
.form-privacy { font-size: 0.86rem; color: var(--ink-soft); }
.form-fallback a { text-decoration: underline; text-underline-offset: 3px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 800; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.form-status a { text-decoration: underline; text-underline-offset: 3px; font-weight: 800; }

@media (max-width: 640px) {
  .map-card { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .map-card svg { min-width: 640px; }
  .map-hint { display: block; }
}
.map-hint { display: none; margin-top: var(--sp-3); text-align: center; font-size: 0.86rem; font-weight: 700; color: var(--ink-soft); }
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: var(--sp-9); }
/* ---- Parent FAQ (book-a-tour page) ---- */
.faq { display: grid; gap: var(--sp-3); }
.faq-item { background: var(--cream-white); border: 1.5px solid var(--border-soft); border-radius: var(--radius-md); padding: 0 var(--sp-5); transition: border-color var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast) var(--ease-standard); }
.faq-item[open] { border-color: var(--sage-300); box-shadow: 0 18px 40px -32px rgba(var(--shadow-color), 0.5); }
.faq-item summary { cursor: pointer; list-style: none; padding: var(--sp-4) 0; padding-right: 2rem; font-weight: 800; color: var(--cypress-800); position: relative; min-height: 48px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 700; color: var(--gold-700); transition: transform var(--dur-fast) var(--ease-standard); }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item summary:focus-visible { outline: 3px solid var(--gold-600); outline-offset: 3px; border-radius: 6px; }
.faq-item p { padding-bottom: var(--sp-4); color: var(--ink-soft); }