:root {
  --brand-purple: #85439a;
  --brand-purple-deep: #3e2448;
  --brand-purple-soft: #f2e8f5;
  --brand-green: #64bb45;
  --brand-green-deep: #357f25;
  --brand-leaf: #64bb45;
  --brand-yellow: #edcb03;
  --brand-orange: #f58220;
  --brand-red: #e85e4f;
  --brand-blue: #1258ff;
  --ink: #251b2d;
  --ink-soft: #5e5368;
  --paper: #fffbea;
  --cream: #f7f0d6;
  --mint: #eee5f4;
  --sage: var(--brand-leaf);
  --forest: var(--brand-purple);
  --forest-dark: var(--brand-purple-deep);
  --sky: #eaf6e3;
  --coral: var(--brand-orange);
  --marigold: var(--brand-yellow);
  --plum: var(--brand-purple);
  --white: #ffffff;
  --line: rgba(31, 42, 40, 0.14);
  --shadow: 0 18px 50px rgba(31, 42, 40, 0.14);
  --shadow-hover: 0 24px 58px rgba(31, 42, 40, 0.18);
  --glow-green: 0 0 0 4px rgba(100, 187, 69, 0.14);
  --radius: 8px;
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a,
button,
input,
select,
textarea,
.feature-strip article,
.price-grid article,
.notice-list article,
.resource-grid article,
.values-panel article,
.classroom-list div,
.program-card,
.program-detail,
.enrichment-card,
.team-card,
.gallery-item,
.social-cards a,
.visit-card,
.map-wrap,
.form-panel,
.payment-summary-card,
.crest-feature,
.image-frame,
.meal-card {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    opacity 180ms ease;
}

.program-card img,
.program-detail img,
.enrichment-card img,
.team-card img,
.gallery-item img,
.image-frame img,
.meal-card img,
.careers-intro img {
  transition:
    transform 520ms ease,
    filter 520ms ease;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  background: var(--forest-dark);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 241, 0.92);
  border-bottom: 1px solid rgba(31, 42, 40, 0.08);
  backdrop-filter: blur(18px);
}

.top-bar {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  padding: 0.5rem 1rem;
  background: var(--brand-purple-deep);
  color: var(--white);
  font-size: 0.82rem;
}

.top-bar span,
.top-bar a {
  white-space: nowrap;
}

.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.95rem;
  width: min(1180px, calc(100% - 2rem));
  min-height: 104px;
  margin: 0 auto;
}

.brand img {
  height: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.brand .brand-crest {
  width: 76px;
  height: 96px;
  border-radius: 6px;
  object-fit: contain;
}

.brand .brand-wordmark {
  width: clamp(150px, 15vw, 220px);
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.nav-links {
  gap: 1.05rem;
}

.nav-actions {
  gap: 0.7rem;
}

.nav-links a {
  position: relative;
  padding: 0.4rem 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 700;
}

.nav-actions .button {
  min-height: 40px;
  padding: 0.68rem 0.82rem;
  font-size: 0.86rem;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1rem;
  height: 2px;
  background: var(--brand-green);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--brand-green-deep);
}

.nav-links a:hover::after,
.nav-links a:focus::after {
  transform: scaleX(1);
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 44px;
  padding: 0.78rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1;
  text-align: center;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button::after {
  position: absolute;
  inset: -40% -55%;
  background: linear-gradient(110deg, transparent 34%, rgba(255, 255, 255, 0.38) 50%, transparent 66%);
  content: "";
  pointer-events: none;
  transform: translateX(-120%) rotate(8deg);
  transition: transform 560ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:hover::after,
.button:focus-visible::after {
  transform: translateX(120%) rotate(8deg);
}

.button-primary {
  background: var(--brand-green);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(7, 143, 53, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--brand-green-deep);
  box-shadow: 0 16px 34px rgba(7, 143, 53, 0.34);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(7, 143, 53, 0.28);
  color: var(--brand-green-deep);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(234, 246, 227, 0.96);
  border-color: rgba(7, 143, 53, 0.48);
  box-shadow: 0 12px 26px rgba(7, 143, 53, 0.12);
}

.button-large {
  min-height: 52px;
  padding-inline: 1.25rem;
}

.icon-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--brand-green);
}

.hero {
  position: relative;
  min-height: clamp(560px, 74vh, 720px);
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background: var(--brand-purple-deep);
}

.hero-media img {
  width: 100%;
  height: 100%;
  image-rendering: auto;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transform: scale(1.018);
  transition:
    opacity 900ms ease,
    transform 2800ms ease;
  will-change: opacity, transform;
}

.hero-media img.is-active {
  opacity: 1;
  transform: scale(1.006);
}

.hero-media .hero-slide--care {
  object-position: center 48%;
}

.hero-media .hero-slide--classroom {
  object-position: center center;
}

.hero-media .hero-slide--meals {
  object-position: center 43%;
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(50, 19, 71, 0.84) 0%, rgba(75, 35, 107, 0.62) 38%, rgba(75, 35, 107, 0.18) 74%),
    linear-gradient(0deg, rgba(7, 143, 53, 0.2), rgba(50, 19, 71, 0.05));
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(1180px, calc(100% - 2rem));
  min-height: calc(clamp(560px, 74vh, 720px) - 70px);
  margin: 0 auto;
  padding: 3.5rem 0 8rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--brand-green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--brand-yellow);
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 0.98;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(2.2rem, 4.1vw, 4.15rem);
  line-height: 1.04;
}

.hero-copy {
  max-width: 650px;
  margin: 1.4rem 0 0;
  color: rgba(255, 255, 255, 0.91);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero-panel {
  position: absolute;
  z-index: 3;
  right: max(1rem, calc((100% - 1180px) / 2));
  bottom: 4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  overflow: hidden;
  width: min(520px, calc(100% - 2rem));
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  color: var(--ink);
  backdrop-filter: blur(16px);
}

.hero-panel div {
  padding: 1rem;
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.hero-panel div + div {
  border-left: 1px solid var(--line);
}

.hero-panel span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--brand-purple-deep);
  font-size: clamp(1.25rem, 2.2vw, 1.9rem);
}

.slider-controls {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 2rem;
  display: flex;
  gap: 0.55rem;
  transform: translateX(-50%);
}

.slider-dot {
  width: 44px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  transition:
    width 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.slider-dot.is-active {
  background: var(--marigold);
}

.hero-panel div:hover,
.hero-panel div:focus-within {
  background: rgba(100, 187, 69, 0.13);
  transform: translateY(-1px);
}

.slider-dot:hover,
.slider-dot:focus-visible {
  width: 54px;
  background: rgba(255, 255, 255, 0.82);
  transform: translateY(-1px);
}

.slider-dot.is-active:hover,
.slider-dot.is-active:focus-visible {
  background: var(--marigold);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.intro-section {
  background: var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(320px, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
}

.section h2 {
  color: var(--forest-dark);
  font-size: clamp(1.75rem, 2.8vw, 3rem);
}

.section h3 {
  margin: 0;
  color: var(--forest-dark);
  font-size: 1.2rem;
  line-height: 1.2;
}

.section p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.75;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 3rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.feature-strip article {
  min-height: 230px;
  padding: 1.35rem;
  background: var(--white);
}

.feature-strip article:hover,
.feature-strip article:focus-within,
.price-grid article:hover,
.price-grid article:focus-within,
.notice-list article:hover,
.notice-list article:focus-within,
.resource-grid article:hover,
.resource-grid article:focus-within,
.values-panel article:hover,
.values-panel article:focus-within,
.classroom-list div:hover,
.classroom-list div:focus-within,
.program-card:hover,
.program-card:focus-within,
.program-detail:hover,
.program-detail:focus-within,
.enrichment-card:hover,
.enrichment-card:focus-within,
.team-card:hover,
.team-card:focus-within {
  position: relative;
  z-index: 1;
  border-color: rgba(7, 143, 53, 0.34);
  box-shadow: var(--shadow-hover), var(--glow-green);
  transform: translateY(-4px);
}

.program-card,
.enrichment-card,
.team-card,
.gallery-item,
.image-frame,
.meal-card,
.social-cards a {
  position: relative;
}

.program-card::after,
.enrichment-card::after,
.team-card::after,
.gallery-item::after,
.image-frame::after,
.meal-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 36%, rgba(255, 255, 255, 0.28) 50%, transparent 64%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translateX(-120%);
  transition:
    opacity 240ms ease,
    transform 700ms ease;
}

.program-card:hover::after,
.program-card:focus-within::after,
.enrichment-card:hover::after,
.enrichment-card:focus-within::after,
.team-card:hover::after,
.team-card:focus-within::after,
.gallery-item:hover::after,
.gallery-item:focus-within::after,
.image-frame:hover::after,
.image-frame:focus-within::after,
.meal-card:hover::after,
.meal-card:focus-within::after {
  opacity: 1;
  transform: translateX(120%);
}

.values-panel article:hover .value-icon,
.values-panel article:focus-within .value-icon {
  filter: drop-shadow(0 10px 14px rgba(31, 42, 40, 0.14));
  transform: translateY(-5px) rotate(-3deg) scale(1.06);
}

.feature-strip article:nth-child(2) {
  background: #e5f4df;
}

.feature-strip article:nth-child(3) {
  background: #fff6c7;
}

.feature-strip article:nth-child(4) {
  background: var(--sky);
}

.village-values {
  margin-top: 3rem;
}

.value-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 0.9rem;
  object-fit: contain;
}

.mini-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--brand-green);
  color: var(--white);
  font-weight: 900;
}

.feature-strip h3,
.feature-strip p {
  margin-top: 0.75rem;
}

.section-tint {
  background: var(--brand-purple-soft);
}

.program-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.compact-program-grid {
  align-self: stretch;
}

.program-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(31, 42, 40, 0.09);
}

.program-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.program-card h3 {
  padding: 1rem;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.program-card:hover img,
.program-card:focus-within img,
.enrichment-card:hover img,
.enrichment-card:focus-within img,
.team-card:hover img,
.team-card:focus-within img {
  filter: saturate(1.08) contrast(1.02);
  transform: scale(1.045);
}

.program-detail:hover img,
.program-detail:focus-within img {
  filter: saturate(1.08) contrast(1.02);
}

.program-card:hover h3,
.program-card:focus-within h3 {
  color: var(--brand-green-deep);
  transform: translateX(3px);
}

.split {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.copy-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.classroom-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  width: 100%;
  margin-top: 1rem;
}

.classroom-list div {
  padding: 1rem;
  border: 1px solid rgba(36, 75, 63, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.classroom-list strong,
.classroom-list span {
  display: block;
}

.classroom-list span {
  margin-top: 0.2rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.image-frame {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-frame:hover,
.meal-card:hover,
.visit-card:hover,
.map-wrap:hover,
.form-panel:hover,
.payment-summary-card:hover,
.crest-feature:hover {
  border-color: rgba(7, 143, 53, 0.26);
  box-shadow: 0 22px 54px rgba(31, 42, 40, 0.16);
  transform: translateY(-2px);
}

.image-frame img {
  width: 100%;
  height: clamp(360px, 48vw, 570px);
  object-fit: cover;
}

.image-frame:hover img,
.meal-card:hover img {
  filter: saturate(1.08) contrast(1.02);
  transform: scale(1.04);
}

.day-section {
  background: var(--brand-purple-deep);
  color: var(--white);
}

.day-section .eyebrow {
  color: var(--brand-yellow);
}

.day-section h2,
.day-section h3 {
  color: var(--white);
}

.day-section p {
  color: rgba(255, 255, 255, 0.78);
}

.day-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(320px, 0.9fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.timeline {
  display: grid;
  gap: 0.65rem;
  margin-top: 2rem;
}

.timeline div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.timeline time {
  color: var(--brand-yellow);
  font-weight: 900;
}

.timeline span {
  color: rgba(255, 255, 255, 0.85);
}

.meal-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.meal-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: transform 260ms ease;
}

.meal-card div {
  padding: 1.25rem;
}

.meal-card p {
  margin-top: 0.65rem;
}

.price-section {
  background: var(--cream);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.two-col-heading {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  max-width: none;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.price-grid article,
.notice-list article,
.resource-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.price-grid article {
  min-height: 250px;
  padding: 1.25rem;
}

.price-grid article:nth-child(2) {
  border-top: 5px solid var(--brand-green);
}

.price-grid article:nth-child(3) {
  border-top: 5px solid var(--brand-yellow);
}

.price-grid article:nth-child(4) {
  border-top: 5px solid var(--brand-purple);
}

.price-grid h3,
.price-grid p {
  margin-top: 0.8rem;
}

.gallery-section {
  background: var(--white);
}

.full-gallery-grid {
  grid-auto-rows: 300px;
}

.gallery-mark {
  min-height: 300px;
}

.gallery-mark img {
  width: min(150px, 50vw);
  height: auto;
  border-radius: 0;
  box-shadow: none;
}

.page-hero .gallery-mark img {
  width: min(150px, 50vw);
  height: auto;
  box-shadow: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 0.8rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  margin: 0;
  border-radius: var(--radius);
  background: var(--mint);
}

.gallery-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 520ms ease,
    filter 520ms ease;
}

.gallery-item:hover img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.055);
}

.gallery-item:hover,
.gallery-item:focus-within {
  box-shadow: 0 18px 42px rgba(31, 42, 40, 0.16);
  transform: translateY(-2px);
}

.gallery-item:hover figcaption,
.gallery-item:focus-within figcaption {
  background: rgba(7, 143, 53, 0.92);
  transform: translateY(-2px);
}

.gallery-item figcaption {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.6rem 0.7rem;
  border-radius: var(--radius);
  background: rgba(23, 58, 33, 0.84);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 800;
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.notices-section {
  background: var(--sky);
}

.notice-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(320px, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
}

.notice-list {
  display: grid;
  gap: 1rem;
}

.notice-list article {
  padding: 1.15rem;
}

.notice-list span,
.resource-grid span,
.form-label {
  display: inline-flex;
  margin-bottom: 0.7rem;
  color: var(--brand-green);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.notice-list h3,
.notice-list p {
  margin-top: 0.5rem;
}

.social-section {
  background: var(--paper);
}

.social-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(320px, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.social-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.social-cards a {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 1.2rem;
  border-radius: var(--radius);
  color: var(--white);
}

.social-cards a::after {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.28), transparent 30%),
    linear-gradient(115deg, transparent 36%, rgba(255, 255, 255, 0.18) 50%, transparent 64%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translateX(-30%);
  transition:
    opacity 220ms ease,
    transform 560ms ease;
}

.social-cards a:nth-child(1) {
  background: var(--brand-purple);
}

.social-cards a:nth-child(2) {
  background: var(--brand-green);
}

.social-cards a:nth-child(3) {
  background: var(--brand-orange);
}

.social-cards strong {
  position: relative;
  z-index: 1;
  font-size: 1.35rem;
}

.social-cards span {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.social-cards a:hover,
.social-cards a:focus-visible {
  box-shadow: 0 18px 42px rgba(31, 42, 40, 0.16);
  opacity: 0.94;
  transform: translateY(-3px);
}

.social-cards a:hover::after,
.social-cards a:focus-visible::after {
  opacity: 1;
  transform: translateX(20%);
}

.forms-section {
  background: var(--cream);
}

.form-panels {
  display: grid;
  gap: 1.5rem;
}

.program-detail-list {
  display: grid;
  gap: 1rem;
}

.program-detail {
  display: grid;
  grid-template-columns: minmax(260px, 0.5fr) minmax(320px, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(31, 42, 40, 0.08);
}

.program-detail img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
}

.program-detail div {
  padding: clamp(1rem, 3vw, 1.6rem);
}

.program-detail p,
.program-detail ul {
  margin-top: 0.8rem;
}

.program-detail ul,
.enrichment-card ul {
  color: var(--ink-soft);
  line-height: 1.7;
}

.small-note {
  font-size: 0.88rem;
  font-weight: 800;
}

.section-mark {
  width: 112px;
  height: 112px;
  justify-self: end;
  object-fit: contain;
}

.enrichment-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.enrichment-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(31, 42, 40, 0.08);
}

.enrichment-card img {
  width: 100%;
  height: 118px;
  object-fit: cover;
  background: var(--paper);
}

.enrichment-card h3,
.enrichment-card p,
.enrichment-card a {
  margin: 1rem 1rem 0;
}

.enrichment-card p {
  font-size: 0.92rem;
}

.enrichment-card a {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--brand-green-deep);
  font-weight: 900;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.team-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(31, 42, 40, 0.08);
  text-align: center;
}

.team-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  background: var(--paper);
}

.team-card h3 {
  margin-top: 1rem;
}

.team-card p {
  padding: 0 1rem 1.2rem;
}

.form-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(320px, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 40px rgba(31, 42, 40, 0.08);
}

.form-intro {
  position: sticky;
  top: 120px;
}

.form-intro h3 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.form-intro ol {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

.careers-intro img {
  width: 100%;
  height: 260px;
  margin-top: 1rem;
  border-radius: var(--radius);
  object-fit: cover;
}

.smart-form {
  display: grid;
  gap: 1rem;
}

fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
}

legend {
  padding: 0 0.45rem;
  color: var(--forest);
  font-weight: 900;
}

label {
  display: grid;
  gap: 0.42rem;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(31, 42, 40, 0.22);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 0.78rem 0.85rem;
  font-weight: 600;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(7, 143, 53, 0.22);
  border-color: var(--brand-green);
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(7, 143, 53, 0.46);
  box-shadow: 0 8px 18px rgba(7, 143, 53, 0.08);
}

.check-row {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.75rem;
  grid-column: 1 / -1;
  color: var(--ink-soft);
  line-height: 1.45;
}

.check-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 0.1rem;
  accent-color: var(--brand-green);
}

.file-upload span {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.smart-form label:has(textarea),
.smart-form .file-upload {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 1.5rem;
  color: var(--forest);
  font-weight: 800;
}

.form-status.is-error {
  color: var(--brand-red);
}

.form-security-honeypot {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.staff-section {
  background: var(--brand-purple);
  color: var(--white);
}

.staff-section .eyebrow {
  color: var(--brand-yellow);
}

.staff-section h2,
.staff-section h3,
.staff-section h4 {
  color: var(--white);
}

.staff-section p,
.resource-grid li {
  color: rgba(255, 255, 255, 0.78);
}

.staff-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.55fr) minmax(320px, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.staff-login {
  display: grid;
  gap: 0.85rem;
  width: 100%;
}

.staff-login label {
  color: var(--white);
}

.resource-locked,
.resource-portal {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  padding: 1.2rem;
}

.resource-locked {
  min-height: 280px;
}

.resource-portal[hidden],
.resource-locked[hidden] {
  display: none;
}

.portal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.resource-grid article {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.resource-grid ul {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  line-height: 1.7;
}

.visit-section {
  position: relative;
  background:
    linear-gradient(90deg, rgba(255, 250, 241, 0.93), rgba(255, 250, 241, 0.74)),
    url("assets/village/programs/community-room.jpg") center / cover;
}

.visit-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.55fr) minmax(320px, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.visit-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: clamp(1.2rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.visit-card h2 {
  font-size: clamp(2rem, 3.5vw, 3.3rem);
}

.contact-list {
  display: grid;
  gap: 0.45rem;
  color: var(--ink-soft);
  font-weight: 800;
}

.map-wrap {
  overflow: hidden;
  min-height: 440px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--sky);
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 440px;
  border: 0;
}

.site-footer {
  background: var(--brand-purple-deep);
  color: var(--white);
}

.footer-line {
  height: 28px;
  background: linear-gradient(90deg, var(--brand-yellow) 0 33%, var(--brand-green) 33% 66%, var(--brand-purple) 66% 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.7fr 0.75fr 1.15fr;
  gap: 2rem;
  padding: 3rem 0;
}

.footer-grid > div {
  min-width: 0;
}

.footer-logo-stack {
  display: flex;
  align-items: center;
  margin-bottom: 0.7rem;
}

.footer-logo-white {
  width: min(210px, 100%);
  height: auto;
  padding: 0.45rem;
  border-radius: var(--radius);
  background: var(--white);
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.7rem;
}

.section-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.crest-feature {
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid rgba(75, 35, 107, 0.12);
  border-radius: var(--radius);
  background: rgba(75, 35, 107, 0.06);
  box-shadow: var(--shadow);
}

.crest-feature img {
  width: min(420px, 100%);
  height: auto;
  object-fit: contain;
}

.footer-grid h2 {
  margin: 0 0 1rem;
  font-size: 1rem;
}

.footer-grid p,
.footer-grid a {
  display: block;
  margin: 0.45rem 0;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: var(--white);
  transform: translateX(3px);
}

.copyright {
  margin: 0;
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.64);
  text-align: center;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}

.page-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.page-hero h1 {
  margin: 0;
  color: var(--forest-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.4vw, 3.45rem);
  line-height: 1.05;
}

.page-hero p {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.75;
}

.page-hero img {
  width: 100%;
  height: clamp(300px, 42vw, 500px);
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.page-hero .crest-feature img {
  width: min(420px, 100%);
  height: auto;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
}

.single-form-panel {
  grid-template-columns: minmax(280px, 0.44fr) minmax(320px, 1fr);
}

.payment-hero {
  align-items: stretch;
}

.payment-summary-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.4rem, 4vw, 2.2rem);
  border: 1px solid rgba(7, 143, 53, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(7, 143, 53, 0.12), rgba(75, 35, 107, 0.08)),
    var(--white);
  box-shadow: var(--shadow);
}

.payment-summary-card h2 {
  color: var(--brand-green-deep);
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.payment-summary-card p {
  max-width: 440px;
  margin-top: 1rem;
}

.payment-panel fieldset {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.payment-type-field,
.approved-amount-field {
  align-self: end;
}

.approved-amount-field.is-locked {
  color: rgba(94, 83, 104, 0.76);
}

.approved-amount-field input.is-locked,
.approved-amount-field input[readonly] {
  border-color: rgba(31, 42, 40, 0.14);
  background: #ece8ef;
  color: rgba(37, 27, 45, 0.68);
  cursor: not-allowed;
}

.payment-panel [data-additional-children-wrap] {
  grid-column: 1 / -1;
}

.payment-panel label:has(textarea),
.booking-panel label:has(textarea),
.payment-panel [data-custom-amount-wrap][hidden] {
  grid-column: 1 / -1;
}

.setup-note {
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid rgba(7, 143, 53, 0.22);
  border-radius: var(--radius);
  background: rgba(234, 246, 227, 0.75);
}

.setup-note h3 {
  margin: 0 0 0.5rem;
}

.paypal-box {
  min-height: 56px;
}

.confirmation-note,
.availability-note {
  padding: 0.9rem 1rem;
  border-left: 4px solid var(--brand-green);
  border-radius: var(--radius);
  background: rgba(234, 246, 227, 0.82);
  color: var(--ink);
  font-weight: 800;
}

.availability-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.6;
}

.booking-panel fieldset {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-strip a,
.notice-list a {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--brand-green-deep);
  font-weight: 900;
}

.feature-strip a:hover,
.feature-strip a:focus-visible,
.notice-list a:hover,
.notice-list a:focus-visible {
  color: var(--brand-purple-deep);
  transform: translateX(3px);
}

@media (hover: none) {
  .feature-strip article:hover,
  .price-grid article:hover,
  .notice-list article:hover,
  .resource-grid article:hover,
  .values-panel article:hover,
  .classroom-list div:hover,
  .gallery-item:hover,
  .social-cards a:hover,
  .visit-card:hover,
  .map-wrap:hover,
  .form-panel:hover,
  .payment-summary-card:hover,
  .crest-feature:hover,
  .image-frame:hover,
  .meal-card:hover,
  .program-card:hover,
  .program-detail:hover,
  .enrichment-card:hover,
  .team-card:hover,
  .hero-panel div:hover,
  .slider-dot:hover {
    box-shadow: inherit;
    transform: none;
  }

  .program-card:hover img,
  .program-detail:hover img,
  .enrichment-card:hover img,
  .team-card:hover img,
  .gallery-item:hover img,
  .image-frame:hover img,
  .meal-card:hover img,
  .values-panel article:hover .value-icon {
    filter: none;
    transform: none;
  }

  .program-card:hover::after,
  .enrichment-card:hover::after,
  .team-card:hover::after,
  .gallery-item:hover::after,
  .image-frame:hover::after,
  .meal-card:hover::after,
  .social-cards a:hover::after {
    opacity: 0;
    transform: translateX(-120%);
  }
}

.values-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.values-panel article {
  min-height: 170px;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.values-panel article:nth-child(2) {
  background: var(--mint);
}

.values-panel article:nth-child(3) {
  background: #fff6c7;
}

.values-panel article:nth-child(4) {
  background: var(--sky);
}

.values-panel p {
  margin-top: 0.6rem;
}

.classroom-list-wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.section-button {
  margin-top: 1.5rem;
}

@media (max-width: 1060px) {
  .nav-shell {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .icon-button {
    display: block;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-shell.is-open .nav-links,
  .nav-shell.is-open .nav-actions {
    display: flex;
  }

  .nav-shell.is-open {
    grid-template-columns: 1fr auto;
  }

  .nav-shell.is-open .nav-links {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 0;
  }

  .nav-shell.is-open .nav-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
    padding-bottom: 1rem;
  }

  .nav-shell.is-open .nav-actions .button {
    flex: 1;
  }

  .top-bar {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .feature-strip,
  .price-grid,
  .social-cards,
  .footer-grid,
  .team-grid,
  .enrichment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  .hero {
    min-height: 640px;
  }

  .hero-content {
    min-height: 640px;
    padding-bottom: 11rem;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(50, 19, 71, 0.88) 0%, rgba(75, 35, 107, 0.66) 55%, rgba(7, 143, 53, 0.2) 100%),
      linear-gradient(90deg, rgba(50, 19, 71, 0.56), rgba(50, 19, 71, 0.12));
  }

  .hero-media .hero-slide--care {
    object-position: 56% center;
  }

  .hero-media .hero-slide--classroom {
    object-position: center center;
  }

  .hero-media .hero-slide--meals {
    object-position: center 38%;
  }

  .hero-panel {
    right: 1rem;
    bottom: 4.4rem;
    grid-template-columns: repeat(3, 1fr);
  }

  .brand .brand-crest {
    width: 68px;
    height: 82px;
  }

  .brand .brand-wordmark {
    width: 136px;
  }

  .intro-grid,
  .split,
  .day-grid,
  .two-col-heading,
  .notice-layout,
  .social-grid,
  .form-panel,
  .staff-layout,
  .visit-grid,
  .page-hero,
  .program-detail {
    grid-template-columns: 1fr;
  }

  .program-detail img {
    min-height: 260px;
  }

  .form-intro {
    position: static;
  }

  fieldset {
    grid-template-columns: 1fr;
  }

  .payment-panel fieldset {
    grid-template-columns: 1fr;
  }

  .booking-panel fieldset {
    grid-template-columns: 1fr;
  }

  .resource-locked {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .section-inner,
  .nav-shell {
    width: min(100% - 1rem, 1180px);
  }

  .top-bar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 0.8rem;
    overflow: visible;
    white-space: normal;
  }

  .hero {
    min-height: auto;
    padding-bottom: 4.75rem;
  }

  .hero-content {
    min-height: auto;
    padding: 2.5rem 0 1.4rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    grid-template-columns: 1fr;
    width: min(100% - 2rem, 520px);
    margin: 0 auto;
  }

  .hero-panel div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .feature-strip,
  .price-grid,
  .social-cards,
  .resource-grid,
  .footer-grid,
  .classroom-list,
  .values-panel,
  .gallery-grid,
  .program-card-grid,
  .team-grid,
  .enrichment-grid {
    grid-template-columns: 1fr;
  }

  .gallery-large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-grid {
    grid-auto-rows: 280px;
  }

  .timeline div {
    grid-template-columns: 62px 1fr;
  }

  .form-panel {
    padding: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
