/*
Theme Name: Foxville Kids
Theme URI: https://foxvillekids.com/
Author: Foxville Kids
Description: A custom, mobile-first WordPress theme for the Foxville Kids preschool website.
Version: 1.4.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: foxville-kids
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

:root {
  --ink: #6c4037;
  --muted: #84665f;
  --cream: #f0dec7;
  --cream-deep: #eeb889;
  --sage: #eeb889;
  --sage-dark: #6c4037;
  --orange: #cf5517;
  --orange-dark: #aa4311;
  --white: #ffffff;
  --line: rgba(108, 64, 55, .16);
  --shadow: 0 20px 55px rgba(108, 64, 55, .12);
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 34px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Montserrat, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.08rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid rgba(232,129,63,.45); outline-offset: 3px; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 88px 0; }
.section-sm { padding: 58px 0; }
.bg-cream { background: var(--cream); }
.bg-sage { background: #f8eee4; }
.center { text-align: center; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--orange-dark);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3 {
  margin: 0 0 18px;
  font-family: Montserrat, ui-sans-serif, system-ui, sans-serif;
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -.025em;
}
h1 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.8rem); }
h3 { font-size: clamp(1.12rem, 1.6vw, 1.38rem); }
.lead, .copy { font-size:1.08rem; line-height:1.7; color:var(--muted); max-width:760px; }
.kicker { font-weight: 800; color: var(--sage-dark); }
.stack > * + * { margin-top: 18px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(231,228,222,.8);
}
.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 900;
}
.brand-mark {
  width: 72px;
  height: 48px;
  display: block;
  flex: 0 0 72px;
  color: transparent;
  background: url('assets/images/foxville-kids-logo-transparent.png') center / contain no-repeat;
  font-size: 0;
}
.site-footer .brand-mark {
  width: 108px;
  height: 71px;
  flex-basis:108px;
}
.brand-text small { display:block; color: var(--muted); font-size: .65rem; letter-spacing:.12em; text-transform:uppercase; }
.nav-links { display:flex; align-items:center; gap:clamp(10px,1.35vw,20px); }
.nav-links a { text-decoration:none; font-size:.86rem; font-weight:700; white-space:nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--orange-dark); }
.nav-links .btn:hover { color:white; }
.header-tour-cta { flex:0 0 auto; white-space:nowrap; }
.menu-toggle {
  display:none;
  border:0;
  background:var(--cream);
  color:var(--ink);
  width:46px;
  height:46px;
  border-radius:14px;
  cursor:pointer;
  font-size:1.4rem;
  line-height:1;
  appearance:none;
  -webkit-appearance:none;
  -webkit-text-fill-color:currentColor;
}
.menu-toggle:hover,
.menu-toggle:focus-visible { color:var(--orange-dark); }

.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding: 12px 20px;
  border-radius:999px;
  border:1px solid transparent;
  background:var(--orange);
  color:white;
  text-decoration:none;
  font-weight:850;
  transition: .2s ease;
  cursor:pointer;
}
.btn:hover { background:var(--orange-dark); transform:translateY(-1px); }
.btn.secondary { background:white; color:var(--ink); border-color:var(--line); }
.btn.secondary:hover { background:var(--cream); }
.btn.small { min-height:42px; padding:10px 17px; font-size:.9rem; }
.section-link{display:inline-block;margin-top:18px;color:#6c4037;font-weight:750;text-decoration:none}.section-link:hover{color:#6c4037;text-decoration:underline;text-underline-offset:4px}.section-action{margin-top:30px}.inline-section-link{margin-left:18px}
.map-link { display:inline-flex; align-items:center; gap:8px; }
.map-link img { width:19px; height:19px; }
.program-glance { margin-top:28px; }
.program-glance h3 { margin-bottom:10px; }
.program-glance p { color:var(--muted); }

.hero {
  overflow:hidden;
  background:#fbf8f4;
}
.hero-grid {
  min-height: 720px;
  padding: 72px 0 96px;
  display:grid;
  grid-template-columns: 1.04fr .96fr;
  align-items:center;
  gap:62px;
}
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
.hero-details {
  display:flex; flex-wrap:wrap; gap:10px 18px;
  margin-top:28px; color:var(--sage-dark); font-weight:760; font-size:.95rem;
}
.hero-program-summary {
  display:grid;
  gap:13px;
  margin-top:30px;
  padding:0;
  list-style:none;
}
.hero-program-summary li {
  position:relative;
  margin:0;
  padding-left:27px;
  color:var(--ink);
  font-size:.94rem;
  line-height:1.55;
  font-weight:400;
}
.hero-program-summary li::before {
  content:"✓";
  position:absolute;
  left:1px;
  top:.05em;
  color:var(--orange-dark);
  font-size:.9rem;
  font-weight:800;
}
.hero-program-summary + .hero-actions { margin-top:38px; }
.hero-visual {
  position:relative;
  min-height:540px;
}
.hero-single-photo{margin:0;overflow:hidden;border-radius:var(--radius-lg);box-shadow:var(--shadow);background:var(--cream)}
.hero-single-photo img{width:100%;height:540px;object-fit:cover;object-position:center 56%}
.photo-placeholder {
  position:relative;
  min-height:360px;
  border-radius:var(--radius-lg);
  overflow:hidden;
  background:
    linear-gradient(145deg, rgba(238,184,137,.72), rgba(240,222,199,.95)),
    var(--cream);
  box-shadow:var(--shadow);
}
.grid-2 > .photo-placeholder {
  width:min(100%, 520px);
  aspect-ratio:4 / 5;
  min-height:0;
  justify-self:center;
}
.content-photo {
  width:min(100%, 520px);
  aspect-ratio:4 / 5;
  margin:0;
  justify-self:center;
  overflow:hidden;
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow);
  background:var(--cream);
}
.content-photo img,
.card-photo {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.special-events-photo { aspect-ratio:3 / 4; }
.photo-placeholder::before {
  content:"PHOTO PLACEHOLDER";
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  color:rgba(40,52,47,.48);
  font-weight:900;
  letter-spacing:.14em;
  font-size:.72rem;
}
.photo-placeholder::after {
  content:attr(data-label);
  position:absolute;
  left:18px; right:18px; bottom:18px;
  padding:12px 14px;
  border-radius:14px;
  background:rgba(255,255,255,.88);
  color:var(--ink);
  font-size:.86rem;
  font-weight:760;
}
.hero-card-main { position:absolute; inset:0 28px 48px 0; }
.hero-card-small { position:absolute; width:46%; right:0; bottom:0; min-height:210px; border:8px solid white; }
.badge {
  position:absolute;
  left:-20px; bottom:56px;
  width:150px; height:150px;
  border-radius:50%;
  display:grid; place-items:center;
  text-align:center;
  background:var(--orange);
  color:white;
  padding:18px;
  font-family:Montserrat,sans-serif;
  font-size:1.08rem;
  transform:rotate(-7deg);
  box-shadow:var(--shadow);
}

.grid-2 { display:grid; grid-template-columns:repeat(2,1fr); gap:34px; align-items:center; }
.classes-split { display:grid; grid-template-columns:minmax(0,2fr) minmax(230px,1fr); gap:42px; align-items:center; }
.classes-split.photo-first { grid-template-columns:minmax(230px,1fr) minmax(0,2fr); }
.classes-split > .photo-placeholder {
  width:min(100%, 520px);
  aspect-ratio:4 / 5;
  min-height:0;
  justify-self:center;
}

.event-story-grid {
  display:grid;
  grid-template-columns:minmax(0,2fr) minmax(230px,1fr);
  gap:42px;
  align-items:center;
}
.event-story-copy { max-width:760px; }
.event-carousel { position:relative; width:min(100%,400px); justify-self:center; }
.event-carousel-window { overflow:hidden; border-radius:var(--radius-lg); background:var(--cream); box-shadow:var(--shadow); }
.event-carousel-track { display:flex; transition:transform .35s ease; touch-action:pan-y pinch-zoom; }
.event-gallery-layout { display:flex; flex-direction:column; align-items:center; gap:24px; }
.event-gallery-heading { width:100%; margin:0 auto; text-align:center; }
.event-gallery-heading .kicker,
.event-gallery-heading .copy { max-width:none; margin-inline:auto; }
[data-quest-story],
.event-gallery { width:min(100%,760px); min-width:0; margin:0 auto; }
.event-gallery .event-carousel-window { background:var(--cream); border:1px solid var(--line); }
.event-gallery .event-slide { display:grid; grid-template-columns:minmax(220px,.85fr) minmax(0,1.15fr); aspect-ratio:auto; align-items:stretch; }
.event-gallery .event-slide .photo-placeholder { height:auto; aspect-ratio:4 / 3; min-height:0; border-radius:0; box-shadow:none; }
.event-gallery .event-slide figcaption { grid-column:1; grid-row:1; display:flex; flex-direction:column; justify-content:center; min-height:0; padding:30px; background:var(--cream); text-align:left; }
.event-gallery .event-slide h3 { margin:0 0 12px; color:var(--ink); font-family:Montserrat,ui-sans-serif,system-ui,sans-serif; font-size:clamp(1.35rem,2.5vw,2rem); font-weight:650; letter-spacing:-.025em; line-height:1.08; text-align:center; }
.event-gallery .event-slide:not(.event-cover-slide) h3 { font-size:1.2rem; }
.event-gallery .event-slide p { margin:0; color:var(--muted); font-size:1.05rem; line-height:1.65; }
.event-moment-number { display:block; align-self:center; margin:0 0 22px; color:var(--ink); font-family:Montserrat,ui-sans-serif,system-ui,sans-serif; font-size:clamp(2.7rem,4vw,3.8rem); font-weight:500; letter-spacing:.03em; line-height:.85; text-align:center; }
.event-moment-number::after { content:""; display:block; width:42px; height:1px; margin:15px auto 0; background:linear-gradient(90deg,rgba(108,64,55,.12),var(--ink),rgba(108,64,55,.12)); }
.mobile-quest-gallery .event-moment-number { display:none; }
.event-cta-actions { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:22px; margin-top:28px; }
.event-invitation-layout { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr); gap:clamp(42px,7vw,86px); align-items:center; }
.event-invitation-copy .lead { margin-bottom:18px; }
.event-invitation-copy .copy { margin-bottom:0; }
.event-invitation-copy .copy + .copy { margin-top:18px; }
.event-quick-actions { display:grid; gap:12px; }
.event-action { display:flex; align-items:center; gap:14px; padding:18px 20px; border:1px solid var(--line); border-radius:18px; background:rgba(255,255,255,.74); color:var(--ink); text-decoration:none; transition:border-color .2s ease, background .2s ease; }
.event-action:hover { border-color:var(--orange); background:white; }
.event-action-icon { flex:0 0 42px; width:42px; height:42px; display:grid; place-items:center; border-radius:50%; background:var(--cream); color:var(--orange-dark); font-size:1.15rem; }
.event-action:hover .event-action-icon,
.event-action:focus-visible .event-action-icon { background:var(--cream-deep); }
.event-action-icon img { width:20px; height:20px; }
.email-icon { position:relative; width:22px; height:16px; display:block; border:2px solid var(--ink); border-radius:4px; }
.email-icon::before,
.email-icon::after { content:""; position:absolute; top:2px; width:11px; height:2px; border-radius:2px; background:var(--ink); }
.email-icon::before { left:1px; transform:rotate(32deg); transform-origin:left center; }
.email-icon::after { right:1px; transform:rotate(-32deg); transform-origin:right center; }
.event-action-text { display:flex; flex-direction:column; gap:3px; min-width:0; }
.event-action-text span { color:var(--muted); font-size:.72rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; }
.event-action strong { font-size:1rem; }
.quest-library { padding-bottom:18px; }
.quest-story-section { --drawer-anchor:16.666%; position:relative; width:min(calc(100% - 40px),var(--max)); margin:0 auto 64px; padding:44px 0 64px; background:white; border:1px solid var(--ink); border-radius:var(--radius-lg); box-shadow:0 24px 64px rgba(108,64,55,.1); }
.quest-story-section::before { content:""; position:absolute; z-index:2; top:-11px; left:var(--drawer-anchor); width:20px; height:20px; background:white; border-top:1px solid var(--ink); border-left:1px solid var(--ink); transform:translateX(-50%) rotate(45deg); }
.quest-library-heading { margin-bottom:32px; text-align:center; }
.quest-library-heading h2 { margin-bottom:0; }
.quest-library-heading .copy { max-width:490px; margin:0; }
.quest-card-carousel { position:relative; }
.quest-card-arrow,
.quest-card-dots { display:none; }
.mobile-quest-stories { display:none; }
.quest-card-row { display:flex; gap:22px; overflow-x:auto; padding:4px 4px 22px; margin-inline:-4px; scroll-snap-type:x mandatory; scrollbar-width:none; }
.quest-card-row::-webkit-scrollbar { display:none; }
.quest-card-item { flex:1 1 0; min-width:0; max-width:none; display:flex; flex-direction:column; scroll-snap-align:start; }
.quest-card { flex:1; width:100%; display:flex; flex-direction:column; align-items:stretch; padding:0 0 24px; border:1px solid var(--line); border-radius:var(--radius); background:white; color:inherit; text-align:left; overflow:hidden; transition:border-color .2s ease; }
.quest-card.active { border-color:var(--ink); background:white; }
.quest-card:has(.quest-card-action:hover),
.quest-card:has(.quest-card-action:focus-visible) { border-color:var(--orange); }
.quest-card img { display:block; width:100%; aspect-ratio:4 / 5; object-fit:cover; border-radius:0; }
.quest-card-copy { flex:none; display:flex; flex-direction:column; justify-content:center; gap:10px; padding:14px 26px 2px; text-align:center; }
.quest-card-copy strong { font-family:var(--serif); font-size:clamp(1.12rem,1.6vw,1.38rem); line-height:1.2; text-align:center; }
.quest-card-description { margin:0; color:var(--muted); font-size:clamp(.9rem,1.3vw,1.02rem); line-height:1.6; }
.quest-card-action { width:100%; min-height:44px; display:grid; place-items:center; margin:0; padding:0; border:0; background:transparent; color:var(--orange); font:inherit; cursor:pointer; }
.quest-action-icon { width:30px; height:30px; display:grid; place-items:center; border-radius:50%; background:#f8eee4; transition:background .2s ease; }
.quest-action-chevron { width:8px; height:8px; display:block; border-right:2px solid var(--orange); border-bottom:2px solid var(--orange); transform:translateY(-2px) rotate(45deg); transition:transform .25s ease; }
.quest-card.active .quest-action-icon { background:var(--cream); }
.quest-card.active .quest-action-chevron { transform:translateY(2px) rotate(225deg); }
.quest-card-action:focus-visible { outline:3px solid rgba(207,85,23,.3); outline-offset:4px; border-radius:8px; }
.event-gallery .event-slide img { grid-column:2; grid-row:1; display:block; width:100%; height:100%; aspect-ratio:3 / 4; object-fit:cover; }
.event-slide { flex:0 0 100%; aspect-ratio:4 / 5; margin:0; }
.event-slide .photo-placeholder { width:100%; height:100%; min-height:0; border-radius:0; box-shadow:none; }
.event-arrow {
  position:absolute;
  top:calc(50% - 22px);
  z-index:2;
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.92);
  color:var(--ink);
  font:700 1.85rem/1 Montserrat,sans-serif;
  cursor:pointer;
  box-shadow:0 5px 16px rgba(108,64,55,.2);
  opacity:.92;
  transition:.18s ease;
}
.event-arrow:hover { background:var(--cream-deep); opacity:1; }
.event-arrow:focus-visible { outline:3px solid rgba(207,85,23,.28); outline-offset:3px; }
.event-arrow-prev { left:calc(42.5% + 12px); }
.event-arrow-next { right:12px; }
.event-dots { display:flex; justify-content:center; gap:7px; min-height:12px; margin-top:16px; }
.event-dot { width:8px; height:8px; padding:0; border:0; border-radius:50%; background:rgba(108,64,55,.25); cursor:pointer; }
.event-dot.active { background:var(--orange); }
.event-stage-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; margin-top:40px; }
.event-example-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; margin-top:40px; }
.event-intro { max-width:820px; }
.event-card { background:white; border:1px solid var(--line); border-radius:var(--radius); padding:10px 10px 26px; overflow:hidden; }
.event-card .photo-placeholder { width:100%; aspect-ratio:4 / 5; min-height:0; border-radius:18px; box-shadow:none; }
.event-card h3 { margin:20px 16px 8px; }
.event-card p { margin:0 16px; color:var(--muted); font-size:1.02rem; line-height:1.65; }
.bg-cream .event-card { background:rgba(255,255,255,.78); }
.class-times { display:grid; grid-template-columns:1fr; margin:26px 0 14px; max-width:640px; border-top:1px solid var(--line); }
.class-times > div { display:grid; grid-template-columns:minmax(100px,.7fr) minmax(0,1.3fr); align-items:baseline; gap:14px 24px; padding:12px 0; border-bottom:1px solid var(--line); }
.class-times strong { color:var(--ink); font-size:.94rem; }
.class-times > div > span { display:flex; align-items:baseline; flex-wrap:wrap; gap:2px 20px; }
.class-times b { min-width:138px; color:var(--orange-dark); font-size:1rem; }
.class-times small { color:var(--muted); font-size:.9rem; }
.class-note { margin:0 0 22px; color:var(--muted); font-size:.92rem; }
.class-actions { display:flex; align-items:center; flex-wrap:wrap; gap:16px 22px; }

/* Dedicated Classes page */
.classes-page-hero .lead { max-width:800px; }
.class-intro-layout { align-items:center; }
.class-details-line { max-width:760px; margin:-2px 0 20px; font-size:.92rem; line-height:1.65; }
.class-intro-layout .class-actions { gap:12px; margin-top:26px; }
.section-heading { max-width:760px; margin:0 auto 42px; }
.section-heading .copy { margin:0 auto; }
.class-schedule-heading { max-width:none; }
.class-schedule-heading .class-schedule-copy { max-width:none; }
.class-schedule-alternate { display:block; margin-top:3px; }
.class-schedule-copy a { color:var(--orange-dark); font-weight:800; text-decoration:none; }
.desktop-class-schedule { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; align-items:stretch; }
.class-subject-card { min-width:0; overflow:hidden; border:1px solid var(--line); border-radius:var(--radius); background:white; box-shadow:0 14px 38px rgba(108,64,55,.06); }
.class-subject-card-header { min-height:126px; padding:27px 25px 24px; border-bottom:1px solid var(--line); background:rgba(240,222,199,.22); }
.class-subject-card-header > span { display:block; margin-bottom:10px; color:var(--orange-dark); font-size:.67rem; font-weight:800; letter-spacing:.1em; line-height:1.4; text-transform:uppercase; }
.class-subject-card-header h3 { margin:0; font-size:clamp(1.18rem,1.65vw,1.45rem); line-height:1.2; }
.class-subject-options { display:grid; }
.class-subject-option { min-height:92px; display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:16px; padding:20px 24px; }
.class-subject-option + .class-subject-option { border-top:1px solid var(--line); }
.class-subject-option > div { min-width:0; display:grid; gap:2px; }
.class-subject-option > div > strong { font-size:.88rem; line-height:1.4; }
.class-subject-option > div > span { color:var(--orange-dark); font-size:.78rem; font-weight:750; line-height:1.4; white-space:nowrap; }
.class-subject-age { display:inline-flex; align-items:center; min-height:26px; padding:3px 9px; border-radius:999px; background:var(--cream); color:var(--orange-dark); font-size:.64rem; font-weight:900; letter-spacing:.025em; line-height:1.35; white-space:nowrap; }
.class-schedule-action { display:flex; justify-content:center; margin-top:34px; }
.mobile-class-schedule { display:none; }
.class-track-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.class-track-grid article { overflow:hidden; border:1px solid var(--line); border-radius:var(--radius); background:white; box-shadow:0 14px 38px rgba(108,64,55,.07); }
.class-track-grid img { width:100%; aspect-ratio:3 / 4; object-fit:cover; }
.class-track-grid article:nth-child(1) img { object-position:center 52%; }
.class-track-grid article:nth-child(2) img { object-position:center 50%; }
.class-track-grid article:nth-child(3) img { object-position:center 44%; }
.class-track-copy { padding:26px 26px 30px; }
.class-track-language { display:block; margin-bottom:9px; color:var(--orange-dark); font-size:.69rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.class-track-grid h3 { margin-bottom:12px; }
.class-track-grid p { margin:0; color:var(--muted); font-size:.96rem; }
.class-quote-section { padding:clamp(36px,3.5vw,48px) 0; }
.class-quote { max-width:940px; margin:0 auto; text-align:center; }
.class-quote blockquote { margin:0; }
.class-quote-mark { display:block; height:25px; margin-bottom:7px; color:var(--orange-dark); font-family:Georgia,serif; font-size:3.8rem; line-height:.7; opacity:.82; }
.class-quote p { margin:0; color:var(--ink); font-family:Montserrat,sans-serif; font-size:clamp(1.3rem,2.15vw,1.95rem); font-weight:700; line-height:1.38; letter-spacing:-.025em; }
.class-quote figcaption { display:flex; align-items:center; justify-content:center; gap:11px; margin-top:15px; color:var(--orange-dark); font-size:.69rem; font-weight:900; letter-spacing:.14em; text-transform:uppercase; }
.class-quote figcaption::before { content:""; width:24px; border-top:1px solid currentColor; opacity:.7; }
.class-shared-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(320px,.8fr); gap:72px; align-items:center; }
.class-experience-list { display:grid; gap:0; margin:0; padding:0; list-style:none; border-top:1px solid rgba(108,64,55,.16); }
.class-experience-list li { position:relative; padding:14px 8px 14px 34px; border-bottom:1px solid rgba(108,64,55,.16); color:var(--ink); font-weight:700; }
.class-experience-list li::before { content:"✓"; position:absolute; left:4px; color:var(--orange-dark); font-weight:900; }

/* Events journey bridge keeps the Past Quests gallery on white. */
.quest-journey-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.quest-journey-grid article { padding:30px; border:1px solid rgba(108,64,55,.16); border-radius:var(--radius); background:rgba(255,255,255,.72); }
.quest-journey-grid article > span { display:inline-grid; place-items:center; width:40px; height:40px; margin-bottom:22px; border-radius:50%; background:var(--orange); color:white; font-size:.73rem; font-weight:900; }
.quest-journey-grid h3 { margin-bottom:12px; }
.quest-journey-grid p { margin:0; color:var(--muted); font-size:.95rem; }

@media (min-width: 721px) {
  .hero-grid {
    grid-template-columns:minmax(0, 2fr) minmax(280px, 1fr);
  }
  .grid-2:has(> .content-photo:last-child) {
    grid-template-columns:minmax(0, 2fr) minmax(260px, 1fr);
  }
  .grid-2:has(> .content-photo:first-child) {
    grid-template-columns:minmax(260px, 1fr) minmax(0, 2fr);
  }
}
.grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.grid-4 { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.cards { margin-top:40px; }
.card {
  padding:28px;
  background:white;
  border:1px solid var(--line);
  border-radius:var(--radius);
}
.card.soft { background:var(--cream); border-color:transparent; }
.card .num {
  width:42px; height:42px; border-radius:14px; display:grid; place-items:center;
  background:var(--cream); color:var(--orange-dark); font-weight:900; margin-bottom:18px;
}
.icon {
  width:50px; height:50px; border-radius:16px; display:grid; place-items:center;
  background:var(--cream); font-size:1.35rem; margin-bottom:18px;
}
.card p { margin:0; color:var(--muted); }
.learning-path-options {
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
  margin-top:28px;
}
.learning-path-card {
  padding:22px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--cream);
}
.learning-path-card h3 { margin-bottom:8px; }
.learning-path-card .kicker { margin-bottom:14px; }
.learning-path-card > p:not(.kicker) { color:var(--muted); }
.learning-path-card .list-clean { margin-bottom:0; }
.learning-path-note { margin-top:22px; }
.faq-layout { display:grid; gap:64px; max-width:960px; }
.faq-group > h2 { margin-bottom:28px; }
#enrollment-programs { scroll-margin-top:110px; }
.faq-item { border-top:1px solid var(--line); }
.faq-item:last-child { border-bottom:1px solid var(--line); }
.faq-item summary { position:relative; padding:22px 52px 22px 0; cursor:pointer; list-style:none; font-weight:750; font-size:1.08rem; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::after { content:"+"; position:absolute; right:8px; top:50%; translate:0 -50%; color:var(--orange); font-size:1.55rem; font-weight:500; }
.faq-item[open] summary::after { content:"−"; }
.faq-answer { padding:0 52px 22px 0; color:var(--muted); }
.faq-answer p { margin:0; }
.faq-answer p + p { margin-top:16px; }
.faq-answer ul + p { margin-top:16px; }
.schedule-list { list-style:none; padding:0; margin:0 0 18px; display:grid; gap:8px; }
.schedule-list li { display:grid; grid-template-columns:125px 1fr; gap:18px; padding:8px 0; border-bottom:1px solid rgba(108,64,55,.09); }
.schedule-list strong { color:var(--ink); }
.photo-cards .card,
.cards .card:has(.card-photo) {
  padding:0 0 26px;
  overflow:hidden;
}
.card-photo {
  aspect-ratio:1 / 1;
  height:auto;
  object-fit:cover;
  min-height:0;
  margin-bottom:22px;
  border-radius:0;
  box-shadow:none;
}
.photo-cards .card h3,
.photo-cards .card p,
.cards .card:has(.card-photo) h3,
.cards .card:has(.card-photo) p {
  margin-left:26px;
  margin-right:26px;
}
.portrait-photo-cards .card-photo { aspect-ratio:4 / 5; }

.example-path {
  display:flex;
  align-items:stretch;
  gap:14px;
  margin-top:34px;
}
.path-step {
  flex:1;
  position:relative;
  padding:0 0 24px;
  border-radius:var(--radius);
  background:white;
  border:1px solid var(--line);
  overflow:hidden;
}
.path-photo {
  width:100%;
  aspect-ratio:4 / 5;
  object-fit:cover;
  display:block;
  margin-bottom:22px;
  border-radius:0;
}
.path-step small,
.path-step h3,
.path-step p { margin-left:24px; margin-right:24px; }
.path-step:not(:last-child)::after {
  content:"→";
  position:absolute;
  top:50%;
  right:-18px;
  transform:translateY(-50%);
  z-index:2;
  width:22px; height:22px; display:grid; place-items:center;
  border-radius:50%; background:var(--orange); color:white; font-weight:900;
}
.path-step small { color:var(--orange-dark); font-weight:850; text-transform:uppercase; letter-spacing:.08em; }
.path-step h3 { margin-top:10px; }

.program-band {
  display:grid; grid-template-columns: 1fr auto; gap:30px; align-items:center;
  padding:36px; background:var(--ink); color:white; border-radius:var(--radius-lg);
}
.program-band p { color:rgba(255,255,255,.75); margin:8px 0 0; }
.program-band .time { font-family:Montserrat,sans-serif; font-weight:750; font-size:clamp(1.7rem,4vw,2.7rem); white-space:nowrap; }

.instagram-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin:34px 0;
}
.outdoor-carousel { position:relative; width:min(100%, 400px); justify-self:center; }
.outdoor-carousel-window { overflow:hidden; border-radius:var(--radius-lg); background:var(--cream); box-shadow:var(--shadow); }
.outdoor-carousel-track { display:flex; transition:transform .35s ease; touch-action:pan-y pinch-zoom; }
.outdoor-slide { flex:0 0 100%; aspect-ratio:4 / 5; margin:0; }
.outdoor-slide img { display:block; width:100%; height:100%; object-fit:cover; }
.outdoor-slide .photo-placeholder { width:100%; height:100%; min-height:0; border-radius:0; box-shadow:none; }
.outdoor-arrow {
  position:absolute; top:calc(50% - 22px); z-index:2; width:44px; height:44px;
  display:grid; place-items:center; border:0; border-radius:50%;
  background:rgba(255,255,255,.38); color:rgba(108,64,55,.48); font:700 1.85rem/1 Montserrat,sans-serif;
  cursor:pointer; box-shadow:none; opacity:.45; transition:.18s ease;
}
.outdoor-arrow:hover { background:rgba(255,255,255,.82); opacity:.9; }
.outdoor-arrow:focus-visible { outline:3px solid rgba(207,85,23,.28); outline-offset:3px; }
.outdoor-arrow-prev { left:12px; }
.outdoor-arrow-next { right:12px; }
.outdoor-dots { display:flex; justify-content:center; gap:7px; min-height:12px; margin-top:16px; }
.outdoor-dot { width:8px; height:8px; padding:0; border:0; border-radius:50%; background:rgba(108,64,55,.25); cursor:pointer; }
.outdoor-dot.active { background:var(--orange); }
.instagram-tile { display:block; width:100%; aspect-ratio:4 / 5; object-fit:cover; min-height:0; border-radius:20px; box-shadow:none; }
.instagram-tile:nth-child(2) { background:linear-gradient(145deg,#f0d8bd,#fbf5ec); }
.instagram-tile:nth-child(3) { background:linear-gradient(145deg,#eeb889,#f8eee4); }

.page-hero { padding:90px 0 70px; background:var(--cream); }
.page-hero h1,
.page-hero .lead {
  width: 100%;
  max-width: none;
}
.page-hero .lead { margin-bottom:0; }
.split-copy { padding-right:24px; }
.team-heading { margin-bottom:48px; }
.team-heading .lead { max-width:820px; margin-bottom:0; }
.team-row { align-items:center; }
.team-row:has(> .team-photo:last-child) { grid-template-columns:2fr 1fr; }
.team-row:has(> .team-photo:first-child) { grid-template-columns:1fr 2fr; }
.team-photo { display:block; width:min(100%,390px); min-height:0; aspect-ratio:4 / 5; object-fit:cover; object-position:center; border-radius:20px; box-shadow:none; justify-self:center; }
.team-quote { position:relative; margin:0; padding:24px 0 0 34px; border:0; }
.team-quote::before { content:"“"; position:absolute; top:-12px; left:0; color:var(--orange); font-size:4.5rem; font-weight:600; line-height:1; opacity:.72; }
.team-quote p { margin:0 0 16px; }
.team-attribution { display:flex; align-items:baseline; flex-wrap:wrap; gap:6px 10px; margin:24px 0 0 34px; }
.team-attribution strong { color:var(--ink); font-size:1.12rem; }
.team-attribution span { color:var(--muted); font-size:.9rem; font-weight:600; letter-spacing:.02em; }
.team-attribution span::before { content:"/"; margin-right:10px; color:var(--orange); }

/* Daily Life */
.daily-hero { background:var(--cream); overflow:hidden; }
.daily-hero-grid {
  min-height:620px;
  padding:76px 0 88px;
  display:grid;
  grid-template-columns:minmax(0,2fr) minmax(270px,1fr);
  align-items:center;
  gap:64px;
}
.daily-hero-photo,
.daily-content-photo { margin:0; overflow:hidden; border-radius:var(--radius-lg); box-shadow:var(--shadow); }
.daily-hero-photo { width:min(100%,400px); aspect-ratio:4 / 5; justify-self:end; background:var(--cream-deep); }
.daily-program-details { max-width:720px; }
.daily-hero-photo img,
.daily-content-photo img { width:100%; height:100%; object-fit:cover; }
.daily-rhythm { display:grid; grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr); gap:76px; align-items:start; }
.daily-rhythm-intro .copy { margin-bottom:28px; }
.daily-rhythm-photo { width:min(100%,340px); aspect-ratio:4 / 5; margin:0; overflow:hidden; border-radius:var(--radius); }
.daily-rhythm-photo img { width:100%; height:100%; object-fit:cover; }
.daily-schedule-list { border-top:1px solid var(--line); }
.daily-schedule-list > div { display:grid; grid-template-columns:126px 1fr; gap:22px; padding:17px 0; border-bottom:1px solid var(--line); }
.daily-schedule-list strong { color:var(--orange-dark); font-size:.9rem; }
.daily-schedule-list span { display:grid; gap:3px; }
.daily-schedule-list b { color:var(--ink); font-size:1rem; }
.daily-schedule-list small { color:var(--muted); font-size:.84rem; line-height:1.5; }
.daily-split { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:76px; align-items:start; }
.daily-notes { display:grid; gap:14px; }
.daily-notes article {
  display:grid;
  grid-template-columns:52px 1fr;
  gap:16px;
  padding:22px;
  border-radius:var(--radius);
  background:rgba(255,255,255,.62);
  border:1px solid rgba(108,64,55,.1);
}
.daily-notes article > span {
  width:44px; height:44px; display:grid; place-items:center; border-radius:50%;
  background:var(--orange); color:white; font-size:.76rem; font-weight:850;
}
.daily-notes h3 { margin:2px 0 7px; }
.daily-notes p { margin:0; color:var(--muted); }
.daily-content-photo { width:min(100%,390px); aspect-ratio:4 / 5; }
.outdoor-curriculum-intro { width:100%; max-width:none; margin-bottom:44px; }
.outdoor-curriculum-intro .copy { max-width:none; }
.outdoor-curriculum-grid {
  gap:22px;
}
.outdoor-curriculum-card {
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:white;
}
.outdoor-curriculum-card .photo-placeholder {
  width:100%;
  min-height:0;
  aspect-ratio:4 / 5;
  border-radius:0;
  box-shadow:none;
}
.outdoor-curriculum-card .card-photo {
  width:100%;
  margin-bottom:0;
  border-radius:0;
}
.outdoor-card-copy { padding:24px; }
.outdoor-card-copy h3 { margin-bottom:12px; }
.outdoor-card-copy p { margin:0; color:var(--muted); font-size:.94rem; line-height:1.62; }
.outdoor-card-copy p + p { margin-top:12px; }
.daily-faq-cards .card { min-height:100%; }
.daily-faq-cards .card p { margin-bottom:0; }
.afternoon-band { display:grid; grid-template-columns:minmax(0,2fr) minmax(260px,1fr); gap:72px; align-items:center; }
.afternoon-schedule { padding:8px 0; border-top:1px solid var(--line); }
.afternoon-schedule > div { display:grid; grid-template-columns:112px 1fr; gap:18px; padding:16px 0; border-bottom:1px solid var(--line); }
.afternoon-schedule strong { color:var(--orange-dark); }
.afternoon-schedule span { color:var(--muted); font-weight:650; }
.afternoon-photo { width:min(100%,360px); aspect-ratio:4 / 5; margin:0; justify-self:center; overflow:hidden; border-radius:var(--radius); }
.afternoon-photo img { width:100%; height:100%; object-fit:cover; }
.daily-practical { display:grid; grid-template-columns:minmax(220px,.7fr) minmax(0,1.3fr); gap:70px; align-items:start; }
.daily-practical-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 30px; }
.daily-practical-grid article { padding:24px 0; border-top:1px solid var(--line); }
.daily-practical-grid article:nth-last-child(-n+2) { border-bottom:1px solid var(--line); }
.daily-practical-grid h3 { margin-bottom:8px; }
.daily-practical-grid p { margin:0; color:var(--muted); }
.daily-cta { background:#f8eee4; }
.daily-cta .lead { margin:0 auto 28px; }

.list-clean { list-style:none; padding:0; margin:26px 0 0; }
.list-clean li { position:relative; padding-left:28px; margin:12px 0; color:var(--muted); }
.list-clean li::before { content:"✓"; position:absolute; left:0; color:var(--orange-dark); font-weight:900; }
.preschool-actions { margin-top:40px; }
@media (max-width: 720px) {
  .preschool-actions { flex-wrap:nowrap; gap:10px; }
  .preschool-actions .btn { padding-inline:16px; font-size:.9rem; }
}

.price-card {
  padding:36px; border-radius:var(--radius-lg); background:var(--cream);
}
.price { font-family:Montserrat,sans-serif; font-weight:750; font-size:3rem; line-height:1; margin:16px 0; }
.price span { font-family:Montserrat,sans-serif; font-size:1rem; color:var(--muted); }

.timeline { counter-reset:steps; display:grid; gap:14px; margin-top:34px; }
.timeline-item {
  counter-increment:steps;
  display:grid; grid-template-columns:58px 1fr; gap:18px;
  padding:22px; border:1px solid var(--line); border-radius:var(--radius);
}
.timeline-item::before {
  content:counter(steps);
  width:50px; height:50px; border-radius:50%;
  display:grid; place-items:center; background:var(--orange); color:white; font-weight:900;
}
.timeline-item h3 { margin:2px 0 6px; }
.timeline-item p { margin:0; color:var(--muted); }

.faq details { border-bottom:1px solid var(--line); padding:18px 0; }
.faq summary { cursor:pointer; font-weight:850; }
.faq p { color:var(--muted); }

.form {
  display:grid; grid-template-columns:1fr 1fr; gap:14px 16px;
}
.contact-inquiry-form { align-self:start; }
.contact-layout { display:grid; grid-template-columns:.72fr 1.28fr; gap:54px; align-items:start; }
.inquiry-form { padding:30px; border:1px solid var(--line); border-radius:var(--radius-lg); background:#fff; box-shadow:var(--shadow); }
.contact-primary-layout { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(250px,.65fr); gap:54px; align-items:start; }
.contact-form-column > .copy { margin-bottom:24px; }
.contact-summary-column { margin-top:54px; }
.visit-summary { padding:28px; border-radius:var(--radius-lg); background:var(--cream); }
.visit-summary h3 { margin-bottom:12px; }
.visit-summary p { margin:0; color:var(--muted); line-height:1.75; }
.foxville-honeypot { display:none !important; position:absolute !important; left:-10000px !important; width:1px !important; height:1px !important; overflow:hidden !important; }
.form .full { grid-column:1/-1; }
label { display:block; font-weight:650; margin-bottom:6px; }
input, textarea, select {
  width:100%; border:1px solid var(--line); border-radius:14px;
  padding:13px 14px; background:white; color:var(--ink);
}
.form input, .form textarea, .form select { padding:10px 12px; border-radius:12px; border-color:rgba(108,64,55,.18); }
textarea { min-height:88px; overflow-y:hidden; resize:none; }
.form-note { margin:10px 0 0; font-size:.82rem; line-height:1.5; color:var(--muted); }
.contact-preference { margin:14px 0 0; padding:0; border:0; }
.contact-preference legend { margin-bottom:6px; color:var(--muted); font-size:.78rem; font-weight:650; }
.inline-options { display:flex; flex-wrap:wrap; gap:8px 18px; }
.inline-options label, .subscription-option label { display:flex; align-items:flex-start; gap:7px; margin:0; color:var(--muted); font-size:.78rem; font-weight:400; line-height:1.35; cursor:pointer; }
.inline-options input, .subscription-option input { width:auto; flex:0 0 auto; margin:.12em 0 0; padding:0; accent-color:var(--orange-dark); }
.subscription-option { margin-top:14px; }
.subscription-option label { font-size:.74rem; }
.form-privacy-note { margin:0; font-size:.76rem; }
.form-privacy-note a { color:var(--orange-dark); font-weight:700; }
.form-submit { display:flex; align-items:center; gap:14px; }
.form-submit .form-note { margin:0; }
.form-card { padding:30px; border:1px solid var(--line); border-radius:var(--radius-lg); background:white; box-shadow:var(--shadow); }
.social-intro { margin-inline:auto; }
.contact-form-prompt { margin:34px 0 0; font-weight:700; color:var(--ink); }
.social-contact-card { display:flex; flex-direction:column; align-items:flex-start; min-height:290px; }
.social-contact-card p { flex:1; margin-bottom:24px; }
.social-card-heading { display:flex; align-items:center; gap:14px; margin-bottom:18px; }
.social-card-heading h3 { margin:0; }
.social-card-mark { width:52px; height:52px; display:grid; place-items:center; flex:0 0 52px; border-radius:50%; background:var(--cream); color:var(--ink); font-size:1.15rem; font-weight:850; }
.social-card-mark img { width:24px; height:24px; }
.social-icon img { width:20px; height:20px; }
.policy-content { max-width:780px; }
.policy-content h2 { margin-top:38px; font-size:clamp(1.35rem, 2.6vw, 1.8rem); }
.policy-content p { color:var(--muted); line-height:1.75; }
.policy-content ul { margin:12px 0 20px; padding-left:1.25rem; color:var(--muted); }
.policy-content li { margin:8px 0; padding-left:.2rem; line-height:1.65; }
.policy-content strong { color:var(--ink); }
.policy-content a { color:var(--orange-dark); font-weight:700; }
.policy-effective { margin-top:0; font-weight:700; }
[aria-disabled="true"] { cursor:not-allowed; opacity:.72; }
.optional { color:var(--muted); font-size:.78rem; font-weight:600; }
.choice-fieldset { margin:0; padding:0; border:0; }
.choice-fieldset legend { margin:0 0 8px; font-weight:800; }
.choice-grid { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:8px; }
.contact-choices { grid-template-columns:repeat(3, minmax(0,1fr)); }
.choice-option { margin:0; cursor:pointer; }
.choice-option input { position:absolute; opacity:0; pointer-events:none; }
.choice-option span { display:flex; min-height:44px; align-items:center; padding:9px 12px; border:1px solid var(--line); border-radius:12px; background:#fff; color:var(--ink); font-size:.86rem; font-weight:700; transition:.18s ease; }
.choice-option input:checked + span { border-color:var(--orange); background:var(--cream); box-shadow:0 0 0 1px var(--orange); }
.choice-option input:focus-visible + span { outline:3px solid rgba(207,85,23,.28); outline-offset:2px; }
.contact-method-choices { grid-template-columns:repeat(2, minmax(0,1fr)); max-width:420px; }
.is-hidden { display:none !important; }

.site-footer { background:var(--cream); color:var(--ink); padding:56px 0 22px; font-size:.88rem; line-height:1.6; }
.footer-grid { display:grid; grid-template-columns:1.4fr .8fr 1.1fr .8fr; gap:32px; }
.site-footer p, .site-footer a { color:var(--muted); }
.site-footer .brand { color:var(--ink); }
.site-footer a { text-decoration:none; }
.site-footer a:hover { color:var(--orange-dark); }
.site-footer h3 { font-family:Montserrat,sans-serif; font-size:.88rem; margin-bottom:12px; }
.footer-links { list-style:none; padding:0; margin:0; }
.footer-links li { margin:6px 0; }
.footer-grid > div:nth-child(3) .footer-links li { white-space:nowrap; }
.social-icons{display:flex;gap:10px;margin-top:8px}.social-icons li{margin:0}.social-icon{width:42px;height:42px;border:1px solid rgba(108,64,55,.28);border-radius:50%;display:grid!important;place-items:center;color:var(--ink)!important;font-weight:800;font-size:1.05rem;line-height:1}.social-icon:hover{background:var(--cream-deep);border-color:var(--orange)}
.footer-bottom {
  margin-top:48px; padding-top:22px; border-top:1px solid var(--line);
  display:flex; justify-content:space-between; gap:20px; color:var(--muted); font-size:.84rem;
}

.notice {
  padding:16px 18px; border-radius:16px; background:#fff7ed; border:1px solid #f3d4b9; color:#7b4a2c;
}

@media (max-width: 1200px) {
  .nav-wrap { gap:14px; }
  .header-tour-cta { order:2; margin-left:auto; }
  .menu-toggle { order:3; display:grid; place-items:center; flex:0 0 46px; }
  .nav-links {
    order:4;
    display:none; position:absolute; left:20px; right:20px; top:70px;
    flex-direction:column; align-items:stretch; gap:0; padding:14px;
    background:white; border:1px solid var(--line); border-radius:20px; box-shadow:var(--shadow);
  }
  .nav-links.open { display:flex; }
  .nav-links a { padding:12px 10px; }
  .nav-links .btn { margin-top:8px; }
}

@media (max-width: 980px) {
  .team-row { grid-template-columns:1fr !important; }
  .grid-2.team-row > .team-photo { order:1; }
  .grid-2.team-row > .team-copy { order:2; }
  .desktop-class-schedule { gap:14px; }
  .class-subject-card-header { padding-inline:20px; }
  .class-subject-option { padding-inline:19px; }
  .class-track-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .class-shared-layout { grid-template-columns:1fr; gap:36px; }
  .quest-journey-grid { grid-template-columns:1fr; max-width:680px; margin-inline:auto; }
  .event-invitation-layout { grid-template-columns:1fr; gap:34px; }
  .event-quick-actions { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .quest-library { padding-bottom:64px; }
  .quest-card-carousel,
  .quest-story-section { display:none !important; }
  .mobile-quest-stories { display:grid; gap:28px; }
  .mobile-quest-story { overflow:hidden; padding:34px 28px 30px; border:1px solid var(--ink); border-radius:var(--radius-lg); background:white; box-shadow:0 18px 44px rgba(108,64,55,.08); }
  .mobile-quest-gallery { width:min(100%,760px); }
  .event-stage-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .hero-grid { grid-template-columns:1fr; min-height:auto; padding-top:52px; gap:44px; }
  .hero-visual { min-height:480px; }
  .hero-single-photo img { height:480px; }
  .grid-4 { grid-template-columns:repeat(2,1fr); }
  .contact-layout { grid-template-columns:1fr; }
  .contact-primary-layout { grid-template-columns:1fr; gap:30px; }
  .contact-summary-column { margin-top:0; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .daily-rhythm { gap:44px; }
  .daily-split,
  .afternoon-band,
  .daily-practical { gap:44px; }
}

@media (max-width: 720px) {
  .nav-wrap { min-height:72px; gap:8px; }
  .site-header .brand { gap:7px; min-width:0; }
  .site-header .brand-mark { width:54px; height:40px; flex-basis:54px; }
  .site-header .brand-text { font-size:.82rem; line-height:1.12; }
  .site-header .brand-text small { font-size:.48rem; letter-spacing:.08em; }
  .header-tour-cta { min-height:38px; padding:8px 10px; font-size:.69rem; }
  .menu-toggle { width:42px; height:42px; flex-basis:42px; }
  .nav-links { top:66px; }
  .desktop-class-schedule { grid-template-columns:1fr; max-width:430px; margin-inline:auto; }
  .schedule-enhanced .desktop-class-schedule { display:none; }
  .mobile-class-schedule { display:block; width:min(100%,430px); margin-inline:auto; }
  .mobile-class-schedule-intro { margin:0 0 12px; color:var(--muted); font-size:.84rem; line-height:1.5; text-align:center; }
  .mobile-class-accordion { overflow:hidden; border:1px solid var(--line); border-radius:20px; background:white; box-shadow:0 12px 34px rgba(108,64,55,.06); }
  .mobile-class-subject + .mobile-class-subject { border-top:1px solid var(--line); }
  .mobile-class-subject summary { min-height:68px; display:grid; grid-template-columns:minmax(0,1fr) auto 18px; align-items:center; gap:10px; padding:15px 17px; cursor:pointer; list-style:none; }
  .mobile-class-subject summary::-webkit-details-marker { display:none; }
  .mobile-class-subject summary:hover { background:rgba(240,222,199,.24); }
  .mobile-class-subject summary:focus-visible { position:relative; z-index:1; outline-offset:-4px; }
  .mobile-class-subject[open] summary { background:rgba(240,222,199,.34); }
  .mobile-class-subject-title { font-size:.94rem; line-height:1.35; }
  .mobile-class-subject-count { color:var(--muted); font-size:.69rem; font-weight:700; white-space:nowrap; }
  .mobile-class-subject-chevron { width:9px; height:9px; justify-self:end; border-right:2px solid var(--orange-dark); border-bottom:2px solid var(--orange-dark); transform:translateY(-2px) rotate(45deg); transition:transform .2s ease; }
  .mobile-class-subject[open] .mobile-class-subject-chevron { transform:translateY(2px) rotate(225deg); }
  .mobile-class-options { border-top:1px solid var(--line); }
  .mobile-class-option { min-height:72px; display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:10px; padding:12px 17px; }
  .mobile-class-option + .mobile-class-option { border-top:1px solid var(--line); }
  .mobile-class-option-info { min-width:0; display:grid; gap:1px; line-height:1.35; }
  .mobile-class-option-info strong { font-size:.8rem; }
  .mobile-class-option-info span { color:var(--orange-dark); font-size:.71rem; font-weight:700; white-space:nowrap; }
  .mobile-class-option-age { display:inline-flex; align-items:center; min-height:24px; padding:2px 7px; border-radius:999px; background:var(--cream); color:var(--orange-dark); font-size:.61rem; font-weight:900; letter-spacing:.02em; line-height:1.3; white-space:nowrap; }
  .class-schedule-action { margin-top:28px; }
  .class-track-grid { grid-template-columns:1fr; max-width:430px; margin-inline:auto; }
  .class-track-copy { padding:23px 22px 27px; }
  .class-quote-section { padding:34px 0 36px; }
  .class-quote-mark { height:22px; margin-bottom:6px; font-size:3.3rem; }
  .class-quote p { font-size:1.28rem; line-height:1.42; }
  .class-quote figcaption { margin-top:14px; }
  .quest-journey-grid article { padding:26px 22px; }
  .section-heading { margin-bottom:32px; }
  .event-quick-actions { grid-template-columns:1fr; }
  .mobile-quest-stories { gap:20px; }
  .mobile-quest-story { padding:26px 12px 22px; border-radius:22px; }
  .event-story-grid,
  .event-stage-grid,
  .event-example-grid { grid-template-columns:1fr; }
  .event-gallery-layout { gap:20px; }
  .event-story-copy { order:1; }
  .event-carousel { order:2; width:min(100%,350px); }
  .event-gallery { width:100%; }
  .event-gallery .event-slide { grid-template-columns:1fr; }
  .event-gallery .event-slide img { grid-column:1; grid-row:1; height:auto; aspect-ratio:3 / 4; }
  .event-gallery .event-slide figcaption { grid-column:1; grid-row:2; }
  .event-gallery .event-slide .photo-placeholder { aspect-ratio:4 / 5; }
  .event-gallery .event-slide figcaption { min-height:0; padding:20px 22px 18px; }
  .event-gallery .event-slide h3 { font-size:clamp(1.35rem,7vw,1.8rem); }
  .mobile-quest-gallery .event-cover-slide figcaption { padding:30px 24px 32px; text-align:center; }
  .mobile-quest-gallery .event-cover-slide h3 { margin-bottom:20px; font-size:clamp(1.7rem,8vw,2.1rem); line-height:1.08; }
  .mobile-quest-gallery .event-cover-slide p { width:100%; max-width:none; margin-inline:0; }
  .event-moment-number { display:none; }
  .event-arrow { width:40px; height:40px; }
  .event-arrow-prev { left:12px; }
  .event-arrow-next { left:auto; right:12px; }
  .team-heading { margin-bottom:36px; }
  .team-photo { max-width:340px; margin-inline:auto; }
  .container { width:min(calc(100% - 28px), var(--max)); }
  .section { padding:64px 0; }
  .section-sm { padding:44px 0; }
  .hero-grid { padding-bottom:72px; }
  .hero-visual { min-height:390px; }
  .hero-single-photo img { height:390px; object-position:center 52%; }
  .hero-card-main { inset:0 12px 42px 0; }
  .hero-card-small { min-height:160px; width:48%; }
  .badge { width:112px; height:112px; font-size:.88rem; left:-5px; bottom:42px; }
  .grid-2, .grid-3, .grid-4, .classes-split, .classes-split.photo-first { grid-template-columns:1fr; }
  .classes-split > :not(.photo-placeholder):not(.content-photo) { order:1; }
  .classes-split > .photo-placeholder,
  .classes-split > .content-photo { order:2; }
  .class-times > div { grid-template-columns:92px 1fr; }
  /* Keep every text-and-photo story in a consistent reading order on phones. */
  .grid-2 > :not(.content-photo):not(.photo-placeholder) { order:1; }
  .grid-2 > .content-photo,
  .grid-2 > .photo-placeholder,
  .grid-2:not(.team-row) > .team-photo { order:2; }
  .grid-2.team-row > .team-photo { order:1; }
  .grid-2.team-row > .team-copy { order:2; }
  .grid-2 > .photo-placeholder,
  .content-photo { width:min(100%, 420px); }
  .example-path { flex-direction:column; }
  .path-step:not(:last-child)::after { content:"↓"; top:auto; bottom:-18px; right:calc(50% - 11px); transform:none; }
  .program-band { grid-template-columns:1fr; }
  .instagram-grid { grid-template-columns:repeat(3,1fr); gap:8px; }
  .outdoor-carousel { width:min(100%, 350px); }
  .outdoor-arrow { display:none; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-grid > div:nth-child(3) .footer-links li { white-space:normal; }
  .footer-bottom { flex-direction:column; }
  .form { grid-template-columns:1fr; }
  .form .full { grid-column:auto; }
  .inquiry-form { padding:20px; }
  .form-card { padding:20px; }
  .choice-fieldset { grid-column:auto; }
  .choice-grid { grid-template-columns:1fr; }
  .contact-method-choices { grid-template-columns:repeat(2, minmax(0,1fr)); }
  .contact-choices { grid-template-columns:1fr; }
  .form-submit { align-items:flex-start; flex-direction:column; gap:8px; }
  .learning-path-options { grid-template-columns:1fr; }
  .page-hero { padding:64px 0 52px; }
  .inline-section-link { display:block; margin-left:0; }
  .daily-hero-grid { grid-template-columns:1fr; min-height:auto; padding:56px 0 68px; gap:38px; }
  .daily-hero-photo { width:min(100%,360px); justify-self:center; }
  .daily-rhythm { grid-template-columns:1fr; }
  .daily-rhythm-photo { width:min(100%,320px); }
  .daily-schedule-list > div { grid-template-columns:100px 1fr; gap:16px; }
  .daily-split,
  .afternoon-band,
  .daily-practical { grid-template-columns:1fr; }
  .daily-practical-grid { grid-template-columns:1fr; }
  .daily-practical-grid article { border-bottom:0 !important; }
  .daily-practical-grid article:last-child { border-bottom:1px solid var(--line) !important; }
  .afternoon-schedule > div { grid-template-columns:96px 1fr; }
  .outdoor-curriculum-intro { margin-bottom:32px; }
}

@media (max-width: 340px) {
  .site-header .brand-text { display:none; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior:auto !important; transition:none !important; }
}
.enrollment-tour-btn {
  margin-top: 18px;
}

.class-experience-grid article h3 { margin-top:20px; }
.class-experience-grid article p { font-size:var(--body-size); }
#enrollment-process .copy { max-width:620px; }
#enrollment-process .btn { margin-top:10px; }
#enrollment-process .daily-notes article { background:#f8eee4; }

/* WordPress integration */
.admin-bar .site-header { top:32px; }
.foxville-hp {
  position:absolute !important;
  left:-10000px !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}
.form-status {
  grid-column:1 / -1;
  margin:0;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:var(--radius-small);
  background:var(--cream);
}
.form-status.success { border-color:var(--sage); }
.form-status.error { border-color:#b66d61; }
.wp-content-fallback { min-height:55vh; }
.wp-content-fallback .entry-content { max-width:760px; }

@media (max-width: 782px) {
  .admin-bar .site-header { top:46px; }
}
