:root {
  --background: #fffaf4;
  --foreground: #5c3317;
  --card: #ffffff;
  --primary: #bf2020;
  --primary-foreground: #ffffff;
  --secondary: #e8c47a;
  --muted: #f6eee0;
  --muted-foreground: #9b7355;
  --accent: #5a9e2f;
  --border: rgba(92, 51, 23, 0.12);
  --input-background: #f6eee0;
  --sand: #ede8d5;
  --shadow: 0 10px 30px rgba(92, 51, 23, 0.08);
  --radius: 1rem;
  --max-width: 72rem;
  --font-display: "Nunito", sans-serif;
  --font-body: "Lato", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-display);
  line-height: 1.5;
}

#site-header:empty {
  min-height: 4.5rem;
}

#site-footer:empty {
  min-height: 12rem;
}

.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.recaptcha-wrap {
  margin: 0.75rem 0 0.25rem;
}

.recaptcha-wrap.is-invalid {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
  border-radius: 4px;
}

.field-hint {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  color: var(--muted-foreground);
}

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

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

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

button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  color: inherit;
}

.container {
  width: min(100% - 3rem, var(--max-width));
  margin-inline: auto;
}

.section {
  padding: 6rem 0;
}

.section-tight {
  padding: 5rem 0;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-intro {
  margin-bottom: 3rem;
}

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

.section-intro.light .section-label,
.section-intro.light h2 {
  color: var(--primary-foreground);
}

.section-intro.light .section-label {
  opacity: 0.7;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  line-height: 1.15;
  font-weight: 900;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.25rem;
}

h1 span {
  display: block;
}

h1 .accent-line {
  color: var(--primary);
  font-style: italic;
  margin-top: 0.25rem;
}

.hero h1 .accent-line {
  font-size: 0.72em;
  font-weight: 400;
  font-style: normal;
}

.hero-subhead {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 800;
  color: var(--foreground);
  line-height: 1.35;
  margin: 0 0 0.85rem;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.25rem);
  color: var(--foreground);
}

p {
  margin: 0 0 1.25rem;
  font-family: var(--font-body);
  color: var(--muted-foreground);
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.8rem 1.75rem;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 18px rgba(191, 32, 32, 0.18);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(191, 32, 32, 0.28);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.btn-full {
  width: 100%;
}

.icon-sm {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--background);
  transition: box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(92, 51, 23, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
}

.logo-link {
  display: flex;
  align-items: center;
  line-height: 0;
}

.logo {
  height: 120px;
  width: auto;
  object-fit: contain;
  object-position: left center;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.45rem;
}

.desktop-nav a {
  position: relative;
  font-size: 1rem;
  font-weight: 700;
}

.desktop-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.2s ease;
}

.desktop-nav a:not(.btn):hover::after,
.desktop-nav a.is-active::after {
  width: 100%;
}

.desktop-nav a:not(.btn):hover,
.desktop-nav a.is-active,
.mobile-nav a.is-active {
  color: var(--primary);
}

.desktop-nav .btn-primary:hover {
  color: #fff;
}

.menu-toggle {
  padding: 0.5rem;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.menu-toggle .icon-close,
.menu-toggle.is-open .icon-menu {
  display: none;
}

.menu-toggle.is-open .icon-close {
  display: block;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--background);
}

.mobile-nav a {
  font-weight: 700;
  font-size: 1.05rem;
}

.mobile-nav[hidden] {
  display: none;
}

.hero-grid {
  display: grid;
  min-height: 88vh;
  background: var(--background);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 3rem 1.5rem 4rem;
}

.hero-copy-inner {
  max-width: 38rem;
}

.hero h1 {
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.eyebrow .icon-sm {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 2.5rem;
}

.hero-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1.5rem;
  margin: 0;
  padding-left: 1.15rem;
}

.hero-badges li {
  display: list-item;
  list-style: disc;
  font-size: 0.95rem;
  font-weight: 800;
  padding-left: 0.15rem;
  color: var(--muted-foreground);
}

.hero-badges li::marker {
  color: var(--muted-foreground);
}

.hero-slider {
  position: relative;
  min-height: 52vh;
  overflow: hidden;
  isolation: isolate;
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slider .slide.is-active {
  opacity: 1;
}

.hero-fade-top,
.hero-fade-left {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.hero-fade-top {
  inset: 0 0 auto;
  height: 9rem;
  background: linear-gradient(
    to bottom,
    #fffaf4 0%,
    rgba(255, 250, 244, 0.7) 35%,
    rgba(255, 250, 244, 0.25) 70%,
    transparent 100%
  );
}

.hero-fade-left {
  inset: 0 auto 0 0;
  width: min(42%, 16rem);
  background: linear-gradient(
    90deg,
    #fffaf4 0%,
    rgba(255, 250, 244, 0.88) 18%,
    rgba(255, 250, 244, 0.5) 42%,
    rgba(255, 250, 244, 0.18) 68%,
    rgba(255, 250, 244, 0.05) 85%,
    transparent 100%
  );
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.hero-slider .slider-dots {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  z-index: 2;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(92, 51, 23, 0.25);
  transition:
    width 0.3s ease,
    background 0.3s ease;
}

.dot.is-active {
  width: 20px;
  background: var(--primary);
}

.about-grid,
.enrollment-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}

.about-photo {
  position: relative;
  max-height: 520px;
}

.photo-frame,
.enrollment-photo,
.gallery-item,
.experience-card img,
.languages-photo {
  border-radius: 1.5rem;
  overflow: hidden;
  background: var(--muted);
  box-shadow: var(--shadow);
}

.photo-frame,
.about-photo {
  height: 100%;
}

.photo-frame img,
.enrollment-photo img,
.gallery-item img,
.experience-card img,
.languages-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-frame {
  min-height: 320px;
}

.since-badge {
  position: absolute;
  left: 50%;
  bottom: -1.5rem;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(191, 32, 32, 0.25);
}

.since-badge strong {
  display: block;
  font-size: 1.5rem;
}

.since-badge span {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.9;
}

.feature-list,
.check-list {
  list-style: disc;
  padding-left: 1.15rem;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.feature-list li,
.check-list li {
  display: list-item;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--muted-foreground);
}

.feature-list li::marker,
.check-list li::marker {
  color: var(--muted-foreground);
}

.about-copy .btn {
  margin-top: 1.5rem;
}

.approach-heading {
  white-space: nowrap;
}

#about.section {
  padding-bottom: 3rem;
}

#programs.section-tight {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

.experience-slider {
  overflow: hidden;
  width: 100%;
}

.experience-track {
  display: flex;
  width: 100%;
  gap: 1.5rem;
  transition: transform 0.6s ease;
  will-change: transform;
}

.experience-card {
  flex: 0 0 calc((100% - 1.5rem) / 2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  transition: transform 0.25s ease;
}

.experience-card:hover {
  transform: translateY(-6px);
}

.experience-card .thumb {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--muted);
  box-shadow: 0 4px 14px rgba(92, 51, 23, 0.08);
}

.experience-card img {
  transition: transform 0.5s ease;
}

.experience-card:hover img {
  transform: scale(1.05);
}

.experience-card .caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.experience-card .emoji {
  display: none;
}

.experience-card h3 {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  line-height: 1.3;
}

.experience-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 800;
}

.text-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.text-link.is-end svg {
  transform: rotate(180deg);
}

.testimonials {
  background: var(--primary);
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.testimonials .section-label {
  font-size: 0.95rem;
  opacity: 0.9;
}

.testimonials .section-intro {
  margin-bottom: 2rem;
}

.testimonial-grid {
  display: grid;
  gap: 1.5rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  border-radius: 1.5rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: white;
}

.testimonial-card p {
  color: white;
  font-size: 0.9rem;
  line-height: 1.55;
  flex: 1;
  margin: 0;
}

.testimonial-card strong {
  display: block;
  font-size: 0.9rem;
}

.testimonial-card span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  opacity: 0.75;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

#home-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  justify-items: stretch;
}

.gallery-item:not(.gallery-item-video):hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(92, 51, 23, 0.12);
}

.gallery-item-video:hover {
  transform: none;
  box-shadow: var(--shadow);
}

.gallery-item-video:hover video {
  transform: none;
}

.gallery-item img {
  aspect-ratio: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item-video {
  position: relative;
  width: 100%;
  max-width: none;
}

.gallery-item-video video {
  aspect-ratio: 9 / 16;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: #000;
  display: block;
}

#home-gallery .gallery-item:not(.gallery-item-video) img {
  aspect-ratio: 9 / 16;
  height: auto;
}

.faq-section {
  position: relative;
  overflow: hidden;
  background-color: var(--sand);
  background-image: url("../images/content/footer-bg.jpg");
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: bottom;
}

.faq-grid {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.faq-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
}

.faq-item {
  background: var(--card);
  border-radius: 1rem;
  box-shadow: 0 4px 14px rgba(92, 51, 23, 0.06);
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
}

.faq-q {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-weight: 800;
}

.faq-q span {
  color: var(--primary);
  font-size: 0.75rem;
  margin-top: 0.2rem;
}

.faq-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.2rem;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.faq-item.is-open svg {
  transform: rotate(180deg);
}

.faq-a {
  display: none;
  padding: 0 1.5rem 1.25rem 3.25rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.faq-item.is-open .faq-a {
  display: block;
}

.enrollment-photo {
  height: 420px;
}

.enrollment-photo img {
  object-position: middle;
}

.form-card {
  background: var(--card);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  padding: 1.75rem;
}

.tour-form-wrap.form-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  max-height: min(88vh, 760px);
}

.form-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.tour-form-wrap.is-submitted .tour-form {
  display: none;
}

.form-subhead {
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.tour-form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  gap: 0;
}

.tour-form-wrap.is-submitted {
  max-height: none;
}

.tour-form-scroll {
  flex: 1;
  min-height: 0;
  max-height: min(58vh, 520px);
  overflow-y: auto;
  padding-right: 0.35rem;
  margin-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--secondary) transparent;
}

.tour-form-scroll::-webkit-scrollbar {
  width: 6px;
}

.tour-form-scroll::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 999px;
}

.form-block + .form-block {
  margin-top: 1.35rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border);
}

.form-block .section-label {
  margin-bottom: 0.15rem;
}

.form-block label,
.field-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 800;
  margin-top: 0.75rem;
  color: var(--foreground);
}

.field-label {
  margin-bottom: 0.35rem;
}

.req {
  color: var(--primary);
}

.form-block input,
.form-block select,
.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  background: var(--input-background);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--foreground);
}

.form-block input[type="date"] {
  color-scheme: light;
}

.select-wrap {
  position: relative;
  margin-top: 0;
}

.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  cursor: pointer;
}

.select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--muted-foreground);
  border-bottom: 2px solid var(--muted-foreground);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.select-wrap select:focus {
  outline: none;
  border-color: var(--foreground);
}

.form-block input:focus,
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: none;
  border-color: var(--foreground);
}

.phone-row {
  display: grid;
  grid-template-columns: 7.75rem 1fr;
  gap: 0.55rem;
  align-items: stretch;
}

.phone-row .select-wrap-code select {
  padding-left: 0.55rem;
  font-size: 0.82rem;
}

.time-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
  align-items: stretch;
}

.ampm-toggle {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--input-background);
}

.ampm-btn {
  min-width: 3rem;
  padding: 0.8rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--muted-foreground);
  background: var(--input-background);
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.ampm-btn.is-active {
  background: var(--primary);
  color: #fff;
}

.radio-group {
  display: grid;
  gap: 0.5rem;
}

.radio-line {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--foreground);
  cursor: pointer;
}

.radio-line input {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--primary);
}

.form-footer {
  flex-shrink: 0;
  padding-top: 0.25rem;
  border-top: 1px solid var(--border);
}

.form-error {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

.form-card form {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-card label {
  font-size: 0.875rem;
  font-weight: 800;
  margin-top: 0.85rem;
}

.form-card textarea {
  resize: none;
}

.form-card .btn,
.tour-form .btn {
  margin-top: 0;
}

.form-success {
  text-align: center;
  padding: 3rem 0.5rem;
}

.success-emoji {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.form-block input.is-invalid,
.form-block select.is-invalid,
.form-card input.is-invalid,
.form-card select.is-invalid,
.radio-group.is-invalid {
  box-shadow: 0 0 0 3px rgba(191, 32, 32, 0.22);
}

.radio-group.is-invalid {
  padding: 0.65rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(191, 32, 32, 0.35);
}

.languages-section {
  background: var(--sand);
  padding: 5rem 0;
}

.languages-grid {
  display: grid;
  gap: 2rem;
}

.panel {
  background: white;
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.languages-grid .panel > h2,
.languages-grid .panel-cta-heading {
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  line-height: 1.3;
}

.language-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.language-card {
  display: flex;
  gap: 0.75rem;
  background: white;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(92, 51, 23, 0.06);
}

.language-card > div:first-child {
  font-size: 1.5rem;
}

.language-card h3 {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.language-card p,
.panel-note {
  font-size: 0.75rem;
  margin: 0;
}

.languages-photo {
  display: none;
  min-height: 100%;
}

.languages-photo img {
  object-position: top;
}

.panel-cta h2 span {
  color: var(--primary);
}

.panel-cta-heading .panel-cta-lead {
  display: block;
  white-space: nowrap;
  color: var(--foreground);
}

.panel-cta-heading > span:last-child {
  display: block;
}

.welcome-note {
  text-align: center;
  font-style: italic;
  font-size: 0.75rem;
  margin: 1rem 0 0;
}

.site-footer {
  position: relative;
  min-height: 220px;
  background-image: url("../images/content/footer-bg.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.footer-fade {
  position: absolute;
  inset: 0 0 auto;
  height: 80px;
  background: linear-gradient(to bottom, #ede8d5 0%, transparent 100%);
  pointer-events: none;
}

.footer-logo {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 2.5rem 0 1rem;
}

.footer-logo img {
  height: 8rem;
  width: auto;
  object-fit: contain;
}

.footer-bar {
  position: relative;
  background: rgba(255, 250, 244, 0.88);
  backdrop-filter: blur(4px);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.footer-contact,
.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.footer-contact div,
.footer-social span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
}

.footer-social span {
  font-family: var(--font-display);
  font-weight: 800;
}

.footer-contact svg {
  width: 14px;
  height: 14px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.footer-contact a:hover {
  color: var(--primary);
}

.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-social a:hover {
  opacity: 1;
}

.footer-social svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (min-width: 768px) {
  .logo {
    height: 158px;
    margin-block: -0.35rem;
  }

  .desktop-nav {
    display: flex;
  }

  .menu-toggle,
  .mobile-nav {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-copy {
    padding: 4rem 1.5rem 4rem 4rem;
  }

  .hero-slider {
    margin-left: -7rem;
    min-height: 88vh;
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0%,
      rgba(0, 0, 0, 0.12) 8%,
      rgba(0, 0, 0, 0.4) 18%,
      rgba(0, 0, 0, 0.75) 32%,
      #000 48%
    );
    mask-image: linear-gradient(
      90deg,
      transparent 0%,
      rgba(0, 0, 0, 0.12) 8%,
      rgba(0, 0, 0, 0.4) 18%,
      rgba(0, 0, 0, 0.75) 32%,
      #000 48%
    );
  }

  .hero-slider .slide {
    object-position: 62% center;
  }

  .hero-fade-left {
    width: min(48%, 18rem);
    background: linear-gradient(
      90deg,
      #fffaf4 0%,
      rgba(255, 250, 244, 0.75) 20%,
      rgba(255, 250, 244, 0.35) 48%,
      rgba(255, 250, 244, 0.1) 72%,
      transparent 100%
    );
  }

  .about-grid,
  .enrollment-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
  }

  .about-grid {
    align-items: stretch;
  }

  .experience-card {
    flex-basis: calc((100% - 4.5rem) / 4);
  }

  .testimonial-grid,
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
  }

  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  #home-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: start;
  }

  .languages-grid {
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
  }

  .languages-photo {
    display: block;
    width: 220px;
  }
}

@media (max-width: 767px) {
  .hero h1 span {
    white-space: normal;
  }

  .page-hero-curriculum h1 span {
    white-space: normal;
  }

  .approach-heading,
  .panel-cta-heading .panel-cta-lead,
  .contact-heading,
  .admission-heading,
  .gallery-heading {
    white-space: normal;
  }

  .hero-fade-left {
    display: none;
  }

  .enrollment-photo {
    height: 280px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

.page-hero {
  padding: 2.5rem 0 4.5rem;
}

.page-hero-about {
  background:
    radial-gradient(
      circle at 88% 18%,
      rgba(232, 196, 122, 0.28),
      transparent 28%
    ),
    var(--background);
}

.page-hero-curriculum {
  background:
    radial-gradient(
      circle at 12% 20%,
      rgba(191, 32, 32, 0.07),
      transparent 26%
    ),
    var(--background);
}

.page-hero-curriculum h1 span {
  display: block;
  white-space: nowrap;
}

.page-hero-curriculum h1 .accent-line {
  font-size: 0.72em;
  font-weight: 400;
  font-style: normal;
}

.page-hero-contact {
  padding-bottom: 1rem;
  background:
    radial-gradient(circle at 78% 0%, rgba(90, 158, 47, 0.12), transparent 32%),
    radial-gradient(
      circle at 8% 80%,
      rgba(232, 196, 122, 0.22),
      transparent 28%
    ),
    var(--background);
}

.page-hero-contact .container {
  text-align: center;
}

.page-hero-contact .crumb {
  justify-content: center;
}

.page-hero-contact .section-label {
  display: inline-block;
}

.page-hero-contact .hero-actions {
  justify-content: center;
}

.contact-heading,
.admission-heading {
  white-space: nowrap;
}

.contact-heading .accent-line,
.admission-heading .accent-line {
  display: inline;
  margin-top: 0;
  font-style: italic;
}

.contact-lead {
  max-width: 38rem;
  margin: 0 auto;
  font-size: 1.08rem;
}

.contact-stage {
  padding: 3rem 0 5rem;
  background: var(--background);
}

.contact-layout {
  display: grid;
  gap: 1.5rem;
}

.contact-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.75rem;
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  font-size: 1.55rem;
  margin-bottom: 0.85rem;
}

.contact-panel address {
  font-style: normal;
  font-family: var(--font-body);
  color: var(--muted-foreground);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.contact-lines {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.contact-lines li {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.contact-lines li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-lines span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--foreground);
  white-space: nowrap;
}

.contact-lines a {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--foreground);
  word-break: break-word;
}

.contact-lines a[href^="mailto"] {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.contact-lines a:hover {
  color: var(--primary);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-tour-link {
  display: inline-block;
  margin-top: 1.15rem;
  font-weight: 800;
  color: var(--primary);
}

.contact-tour-link:hover {
  text-decoration: underline;
}

.contact-map-wrap {
  min-height: 360px;
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: var(--sand);
}

.contact-map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.home-map {
  padding-top: 1.5rem;
  background: var(--background);
}

.home-map-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.75rem;
}

.home-map-head h2 {
  margin: 0.15rem 0 0.4rem;
}

.home-map-head p {
  margin: 0 0 0.75rem;
  max-width: 36rem;
}

.home-map-address {
  margin: 0 !important;
  font-weight: 700;
  color: var(--foreground) !important;
  font-family: var(--font-display);
}

.home-map-frame,
.home-map-frame iframe {
  min-height: 420px;
}

.age-intro {
  text-align: center;
  padding: 3rem 0 1.5rem;
}

.age-intro-copy {
  width: min(100% - 2rem, 92rem);
  margin-inline: auto;
}

.age-intro h1 {
  max-width: none;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  margin-left: auto;
  margin-right: auto;
}

.age-intro p {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.15rem;
}

.age-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.5rem;
}

.age-pills span {
  background: var(--muted);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.78rem;
  font-weight: 800;
}

.age-journey {
  position: relative;
  padding: 2rem 0 1rem;
}

.age-journey .container {
  position: relative;
}

.journey-line {
  display: none;
  position: absolute;
  left: 50%;
  top: 2rem;
  bottom: 2rem;
  width: 3px;
  border-radius: 99px;
  background: linear-gradient(
    var(--primary),
    var(--secondary),
    var(--accent),
    var(--primary)
  );
  transform: translateX(-50%);
}

.journey-stop {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2.75rem;
  align-items: center;
}

.journey-photo {
  width: min(100%, 280px);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(92, 51, 23, 0.14);
  background: var(--muted);
}

.journey-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.journey-stop:hover .journey-photo img {
  transform: scale(1.06);
}

.journey-node {
  display: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  border: 4px solid var(--background);
  box-shadow: 0 0 0 3px var(--primary);
  justify-self: center;
  z-index: 1;
}

.journey-node.tone-gold {
  background: var(--secondary);
  box-shadow: 0 0 0 3px var(--secondary);
}

.journey-node.tone-green {
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent);
}

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

.journey-step {
  display: block;
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 0.85;
  color: rgba(191, 32, 32, 0.12);
  margin-bottom: 0.35rem;
}

.journey-copy h2 {
  margin-bottom: 0.45rem;
}

.journey-copy p {
  margin: 0;
}

.age-cta {
  text-align: center;
  padding: 1rem 0 5rem;
}

.age-cta .closing-line {
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .journey-line,
  .journey-node {
    display: block;
  }

  .journey-stop {
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    margin-bottom: 3.5rem;
  }

  .journey-photo {
    margin: 0;
    justify-self: end;
  }

  .journey-stop.is-flip .journey-photo {
    justify-self: start;
  }

  .journey-copy {
    text-align: left;
  }

  .journey-stop.is-flip .journey-copy {
    text-align: right;
  }
}

.hero-cluster {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  grid-template-rows: 190px 190px;
  gap: 0.85rem;
}

.hero-cluster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.hero-cluster img:first-child {
  grid-row: 1 / span 2;
  height: 100%;
}

.hero-cluster img:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 32px rgba(92, 51, 23, 0.16);
}

.page-hero-grid,
.split-grid,
.promise-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.crumb {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  text-align: left;
}

.crumb a:hover {
  color: var(--primary);
}

.page-hero .hero-subhead {
  margin-top: -0.25rem;
}

.stat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.5rem;
}

.stat-pills span {
  background: var(--muted);
  color: var(--foreground);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 800;
}

.frame-offset {
  position: relative;
}

.frame-offset::before {
  content: "";
  position: absolute;
  inset: 1.25rem -1rem -1.25rem 1.25rem;
  background: var(--secondary);
  border-radius: 1.75rem;
  opacity: 0.45;
  z-index: 0;
}

.frame-offset img,
.mosaic img,
.activity-tile img,
.pillar-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame-offset .photo-frame {
  position: relative;
  z-index: 1;
  min-height: 420px;
  border-radius: 1.75rem;
}

.float-badge {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;
  background: var(--primary);
  color: white;
  border-radius: 1rem;
  padding: 0.9rem 1.15rem;
  box-shadow: 0 12px 24px rgba(191, 32, 32, 0.25);
}

.float-badge strong,
.float-badge span {
  display: block;
}

.float-badge span {
  font-family: var(--font-body);
  font-size: 0.75rem;
  opacity: 0.9;
}

.sand-band {
  background: var(--sand);
}

.mosaic {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 180px 180px;
  gap: 0.85rem;
}

.mosaic .wide {
  grid-row: 1 / span 2;
}

.mosaic div {
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--muted);
}

.reason-grid,
.pillar-grid,
.activity-mosaic {
  display: grid;
  gap: 1rem;
}

.eyfs-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.reason-card,
.eyfs-card,
.pillar-card,
.testimonial-card,
.language-card,
.gallery-item,
.faq-item,
.form-card,
.panel {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.reason-card,
.eyfs-card,
.pillar-card {
  background: white;
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
}

.reason-card {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1.4rem 1.35rem;
  background: linear-gradient(180deg, #ffffff 0%, #fff8f0 100%);
  border-top: 4px solid var(--primary);
}

.reason-card.tone-red {
  border-top-color: var(--primary);
}

.reason-card.tone-gold {
  border-top-color: var(--secondary);
}

.reason-card.tone-green {
  border-top-color: var(--accent);
}

.reason-card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
}

.reason-card p,
.eyfs-card p,
.pillar-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--foreground);
  font-weight: 700;
  font-family: var(--font-display);
}

.reason-card p {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--muted-foreground);
  line-height: 1.55;
}

.reason-icon,
.eyfs-num {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff0e8;
  font-size: 1.15rem;
  line-height: 1;
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.reason-card .reason-icon {
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.25rem;
}

.reason-card:hover,
.eyfs-card:hover,
.pillar-card:hover,
.testimonial-card:hover,
.language-card:hover,
.faq-item:hover,
.panel:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(92, 51, 23, 0.12);
}

.reason-card:hover .reason-icon,
.eyfs-card:hover .eyfs-num {
  transform: scale(1.08);
  background: #ffe4d4;
}

.pillar-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pillar-card img {
  height: 180px;
}

.pillar-card div {
  padding: 1.35rem 1.4rem 1.5rem;
}

.pillar-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
}

.pillar-card p {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--muted-foreground);
  line-height: 1.65;
  margin: 0 0 0.75rem;
}

.pillar-card p:last-child {
  margin-bottom: 0;
}

.eyfs-card {
  padding: 1.3rem 1.35rem;
  flex: 1 1 100%;
}

.eyfs-card h3 {
  font-size: 1rem;
  margin: 0.7rem 0 0.4rem;
}

.eyfs-card p {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--muted-foreground);
  font-size: 0.88rem;
}

.eyfs-num {
  background: #fff0e8;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 900;
}

.activity-mosaic {
  grid-template-columns: 1fr 1fr;
}

.activity-tile {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  text-align: center;
  transition: transform 0.25s ease;
}

.activity-tile:hover {
  transform: translateY(-6px);
}

.activity-tile .thumb {
  aspect-ratio: 1;
  border-radius: 1.15rem;
  overflow: hidden;
  background: var(--muted);
  box-shadow: 0 4px 14px rgba(92, 51, 23, 0.08);
  transition: box-shadow 0.25s ease;
}

.activity-tile:hover .thumb {
  box-shadow: 0 14px 28px rgba(92, 51, 23, 0.14);
}

.activity-tile .thumb img {
  transition: transform 0.5s ease;
}

.activity-tile:hover .thumb img {
  transform: scale(1.05);
}

.activity-tile h3 {
  margin: 0;
  font-size: 0.85rem;
}

.activity-mosaic-copy .activity-tile > div:last-child {
  text-align: left;
}

.activity-mosaic-copy .activity-tile p {
  margin: 0.4rem 0 0;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--muted-foreground);
  line-height: 1.55;
}

.beyond-lead {
  margin: 0.75rem auto 0;
  max-width: 42rem;
  text-align: center;
}

.activity-tile .emoji {
  display: none;
}

.closing-line {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--foreground);
  line-height: 1.25;
  margin: 0 0 1.5rem;
}

.closing-line em {
  color: var(--primary);
  font-style: italic;
}

@media (min-width: 768px) {
  .page-hero-grid,
  .split-grid,
  .promise-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .contact-layout {
    grid-template-columns: minmax(18rem, 0.85fr) 1.15fr;
    gap: 1.75rem;
    align-items: stretch;
  }

  .contact-map-wrap,
  .contact-map-wrap iframe {
    min-height: 520px;
    height: 100%;
  }

  .reason-grid,
  .pillar-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .eyfs-card {
    flex: 0 1 calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
  }

  .activity-mosaic {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
  }

  .mosaic {
    grid-template-rows: 210px 210px;
  }
}

@media (min-width: 1024px) {
  .eyfs-card {
    flex: 0 1 calc(25% - 0.75rem);
    max-width: 17.5rem;
  }
}

.footer-social a {
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.footer-social a:hover {
  transform: translateY(-3px) scale(1.06);
  opacity: 1;
}

.photo-frame img,
.mosaic img {
  transition: transform 0.5s ease;
}

.frame-offset:hover .photo-frame img,
.mosaic div:hover img {
  transform: scale(1.04);
}

.stat-pills span {
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.stat-pills span:hover {
  transform: translateY(-2px);
  background: #ffe8d4;
}

.page-hero-gallery {
  padding-bottom: 0;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 88% 8%,
      rgba(232, 196, 122, 0.38),
      transparent 30%
    ),
    radial-gradient(circle at 6% 80%, rgba(191, 32, 32, 0.07), transparent 26%),
    var(--background);
}

.page-hero-gallery .container {
  text-align: left;
}

.page-hero-gallery .crumb {
  justify-content: flex-start;
}

.page-hero-gallery .section-label {
  display: inline-block;
}

.gallery-heading {
  white-space: nowrap;
}

.gallery-heading .accent-line {
  display: inline;
  margin-top: 0;
  font-style: italic;
}

.gallery-lead {
  max-width: 36rem;
  margin-bottom: 1.75rem;
  margin-inline: 0;
  font-size: 1.08rem;
}

.gallery-more {
  margin-top: 0.35rem;
}

.gallery-intro {
  max-width: 34rem;
  margin: 0.35rem auto 0;
  font-family: var(--font-body);
  color: var(--muted-foreground);
}

.memory-reel {
  display: flex;
  gap: 0.85rem;
  width: min(100% - 2rem, 92rem);
  margin: 0 auto -2.5rem;
  padding: 0.5rem 0 3.5rem;
  overflow: hidden;
}

.reel-card {
  flex: 0 0 9.5rem;
  aspect-ratio: 3 / 4;
  padding: 0.4rem 0.4rem 1.15rem;
  background: #fff;
  border-radius: 0.35rem 0.35rem 0.7rem 0.7rem;
  box-shadow: 0 10px 24px rgba(92, 51, 23, 0.12);
  transform: rotate(var(--tilt)) translateY(0);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.reel-card:nth-child(even) {
  margin-top: 1.25rem;
}

.reel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.2rem;
}

.reel-card:hover {
  transform: rotate(0deg) translateY(-8px) scale(1.04);
  box-shadow: 0 18px 32px rgba(92, 51, 23, 0.18);
  z-index: 1;
}

.gallery-wall {
  padding: 4.5rem 0 5.5rem;
  background: var(--sand);
}

.gallery-toolbar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.gallery-count {
  margin: 0;
  font-weight: 800;
  color: var(--foreground);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.gallery-filter {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--foreground);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.78rem;
  font-weight: 800;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}

.gallery-filter:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.gallery-filter.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.memory-card-media {
  position: relative;
  border-radius: 0.55rem;
  overflow: hidden;
}

.memory-card-media video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #000;
  display: block;
}

.memory-wall {
  column-count: 2;
  column-gap: 0.9rem;
}

.memory-card {
  display: block;
  width: 100%;
  break-inside: avoid;
  margin: 0 0 0.9rem;
  padding: 0.5rem 0.5rem 1.15rem;
  background: #fff;
  border: 0;
  border-radius: 0.85rem;
  box-shadow: 0 8px 20px rgba(92, 51, 23, 0.08);
  text-align: left;
  transform: rotate(var(--tilt));
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.memory-card img {
  width: 100%;
  aspect-ratio: auto;
  border-radius: 0.55rem;
  object-fit: cover;
}

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2.75rem;
  height: 2.75rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary);
  box-shadow: 0 8px 18px rgba(92, 51, 23, 0.16);
  pointer-events: none;
}

.play-badge-icon {
  position: absolute;
  left: 54%;
  top: 50%;
  width: 0;
  height: 0;
  transform: translate(-50%, -50%);
  border-top: 0.55rem solid transparent;
  border-bottom: 0.55rem solid transparent;
  border-left: 0.9rem solid currentColor;
}

.play-badge svg {
  display: none;
}

.reel-card-video {
  position: relative;
}

.reel-card .memory-card-media,
.reel-card-video {
  position: relative;
  width: 100%;
  height: 100%;
}

.reel-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.2rem;
  background: #000;
}

.lightbox-figure video {
  width: 100%;
  max-height: min(78vh, 820px);
  border-radius: 1rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
  background: #000;
}

.lightbox-figure img[hidden],
.lightbox-figure video[hidden] {
  display: none;
}

.memory-card > span {
  display: none;
}

.memory-card:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow: 0 18px 34px rgba(92, 51, 23, 0.16);
  z-index: 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem;
  background: rgba(92, 51, 23, 0.78);
  backdrop-filter: blur(6px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-figure {
  margin: 0;
  max-width: min(92vw, 52rem);
}

.lightbox-figure img {
  max-height: min(78vh, 820px);
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  border-radius: 1rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

.lightbox-figure figcaption {
  margin-top: 0.85rem;
  text-align: center;
  color: #fff;
  font-weight: 800;
}

.lightbox-close,
.lightbox-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.lightbox-nav {
  width: 2.6rem;
  height: 2.6rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--primary);
}

.lightbox-close svg,
.lightbox-nav svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (min-width: 768px) {
  .memory-wall {
    column-count: 3;
    column-gap: 1.15rem;
  }

  .memory-card {
    margin-bottom: 1.15rem;
    padding: 0.65rem 0.65rem 1.35rem;
  }

  .reel-card {
    flex-basis: 11.5rem;
  }

  .gallery-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1100px) {
  .memory-wall {
    column-count: 4;
  }

  .reel-card {
    flex-basis: 13rem;
  }
}

@media (max-width: 700px) {
  .lightbox {
    flex-direction: column;
  }

  .lightbox-nav {
    order: 2;
  }
}

/* Soft sitewide motion */
.reveal {
  opacity: 0;
  transform: translateY(1.4rem);
  filter: blur(2px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

.reveal-left {
  transform: translateX(-1.25rem);
}

.reveal-right {
  transform: translateX(1.25rem);
}

.reveal-scale {
  transform: translateY(1rem) scale(0.97);
}

.reveal.is-visible.reveal-left,
.reveal.is-visible.reveal-right,
.reveal.is-visible.reveal-scale {
  transform: none;
}

.hero-animate .hero-copy-inner > * {
  opacity: 0;
  transform: translateY(1.1rem);
  animation: soft-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-animate .hero-copy-inner > *:nth-child(1) {
  animation-delay: 0.05s;
}
.hero-animate .hero-copy-inner > *:nth-child(2) {
  animation-delay: 0.14s;
}
.hero-animate .hero-copy-inner > *:nth-child(3) {
  animation-delay: 0.22s;
}
.hero-animate .hero-copy-inner > *:nth-child(4) {
  animation-delay: 0.3s;
}
.hero-animate .hero-copy-inner > *:nth-child(5) {
  animation-delay: 0.38s;
}
.hero-animate .hero-copy-inner > *:nth-child(6) {
  animation-delay: 0.46s;
}

.hero-animate .hero-slider {
  opacity: 0;
  transform: translateX(1.5rem);
  animation: soft-fade-slide 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.18s forwards;
}

@keyframes soft-rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes soft-fade-slide {
  to {
    opacity: 1;
    transform: none;
  }
}

.reason-grid .reveal:nth-child(2),
.testimonial-grid .reveal:nth-child(2),
.pillar-grid .reveal:nth-child(2),
.gallery-grid .reveal:nth-child(2),
.eyfs-row .reveal:nth-child(2) {
  --reveal-delay: 0.08s;
}

.reason-grid .reveal:nth-child(3),
.testimonial-grid .reveal:nth-child(3),
.pillar-grid .reveal:nth-child(3),
.gallery-grid .reveal:nth-child(3),
.eyfs-row .reveal:nth-child(3) {
  --reveal-delay: 0.16s;
}

.reason-grid .reveal:nth-child(4),
.gallery-grid .reveal:nth-child(4),
.pillar-grid .reveal:nth-child(4) {
  --reveal-delay: 0.24s;
}

.reason-grid .reveal:nth-child(5),
.gallery-grid .reveal:nth-child(5) {
  --reveal-delay: 0.32s;
}

.reason-grid .reveal:nth-child(6),
.gallery-grid .reveal:nth-child(6) {
  --reveal-delay: 0.4s;
}

.desktop-nav a:not(.btn) {
  transition: color 0.2s ease;
}

/* Admission page */
.page-hero-admission {
  background:
    radial-gradient(circle at 92% 12%, rgba(191, 32, 32, 0.1), transparent 30%),
    radial-gradient(
      circle at 6% 70%,
      rgba(232, 196, 122, 0.35),
      transparent 34%
    ),
    linear-gradient(180deg, #fffaf4 0%, #f6eee0 100%);
}

.admission-lead {
  max-width: 36rem;
  font-size: 1.08rem;
  margin: 0 0 1.5rem;
}

.admission-jump {
  position: sticky;
  top: 4.25rem;
  z-index: 20;
  background: rgba(255, 250, 244, 0.92);
  backdrop-filter: blur(8px);
  border-block: 1px solid var(--border);
}

.admission-jump-inner {
  display: flex;
  gap: 1.5rem;
  padding: 0.7rem 0;
  font-weight: 700;
  font-size: 0.92rem;
}

.admission-jump a {
  color: var(--muted-foreground);
}

.admission-jump a:hover {
  color: var(--primary);
}

.admission-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 2rem;
}

.admission-section-head h2 {
  margin: 0.15rem 0 0.35rem;
}

.admission-year {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

.admission-calendar {
  background:
    radial-gradient(circle at 0% 0%, rgba(232, 196, 122, 0.2), transparent 40%),
    var(--background);
}

.term-rail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  position: relative;
}

.term-rail::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(
    to bottom,
    #e8c47a,
    #5a9e2f 40%,
    #bf2020 75%,
    #5c3317
  );
  border-radius: 2px;
}

.term-block {
  position: relative;
  padding-left: 2rem;
}

.term-block::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.55rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 0 4px rgba(232, 196, 122, 0.35);
}

.term-winter::before {
  background: #7eb8c9;
  box-shadow: 0 0 0 4px rgba(126, 184, 201, 0.28);
}

.term-spring::before {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(90, 158, 47, 0.28);
}

.term-summer::before {
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(191, 32, 32, 0.22);
}

.term-season {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.term-winter .term-season {
  color: #3d7a8a;
}

.term-spring .term-season {
  color: var(--accent);
}

.term-summer .term-season {
  color: var(--primary);
}

.term-block h3 {
  margin: 0;
  font-size: 1.35rem;
}

.term-block header p {
  margin: 0.15rem 0 0.85rem;
  color: var(--muted-foreground);
  font-size: 0.92rem;
}

.term-events {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.term-events li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.term-events time {
  font-weight: 700;
  color: var(--foreground);
  font-variant-numeric: tabular-nums;
}

.term-events span {
  color: var(--muted-foreground);
}

.admission-note {
  margin: 2rem 0 0;
  font-size: 0.85rem;
  color: var(--muted-foreground);
  font-style: italic;
  max-width: 40rem;
}

.admission-fees {
  background:
    linear-gradient(
      180deg,
      rgba(237, 232, 213, 0.55),
      rgba(255, 250, 244, 0.9)
    ),
    var(--sand);
}

.fees-policy {
  max-width: 42rem;
  margin: 0 0 2rem;
  font-size: 1.02rem;
}

.fee-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem 2rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(92, 51, 23, 0.12);
}

.fee-highlights .fee-amount {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--primary);
  line-height: 1.1;
}

.fee-highlights .fee-label {
  display: block;
  margin-top: 0.35rem;
  font-weight: 700;
  color: var(--foreground);
}

.fee-highlights em {
  font-style: normal;
  font-weight: 500;
  color: var(--muted-foreground);
  font-size: 0.88rem;
}

.fee-sessions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.fee-session h3 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
}

.fee-session-meta {
  margin: 0 0 1rem;
  color: var(--muted-foreground);
  font-size: 0.92rem;
}

.fee-rows {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fee-rows li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-top: 1px dashed rgba(92, 51, 23, 0.16);
  font-family: var(--font-body);
}

.fee-rows li:last-child {
  border-bottom: 1px dashed rgba(92, 51, 23, 0.16);
}

.fee-rows strong {
  font-family: var(--font-display);
  color: var(--foreground);
  white-space: nowrap;
}

.admission-docs {
  background: var(--background);
}

.doc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  counter-reset: docs;
}

.doc-list li {
  counter-increment: docs;
  position: relative;
  padding: 0.85rem 0.85rem 0.85rem 3.25rem;
  font-family: var(--font-body);
  background: linear-gradient(
    90deg,
    rgba(232, 196, 122, 0.18),
    transparent 55%
  );
  border-radius: 0 0.75rem 0.75rem 0;
}

.doc-list li::before {
  content: counter(docs, decimal-leading-zero);
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--primary);
}

.admission-cta {
  margin-top: 3.5rem;
  padding: 2.25rem 0 0;
  border-top: 1px solid var(--border);
  max-width: 36rem;
}

.admission-cta h2 {
  margin: 0 0 0.5rem;
}

.admission-cta p {
  margin: 0 0 1.25rem;
  color: var(--muted-foreground);
}

@media (min-width: 700px) {
  .fee-highlights {
    grid-template-columns: repeat(3, 1fr);
  }

  .fee-sessions {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .doc-list {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 1.25rem;
  }
}

@media (min-width: 980px) {
  .term-rail {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding-top: 1.5rem;
  }

  .term-rail::before {
    left: 0;
    right: 0;
    top: 0.55rem;
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(
      to right,
      #e8c47a,
      #7eb8c9 35%,
      #5a9e2f 65%,
      #bf2020
    );
  }

  .term-block {
    padding-left: 0;
    padding-top: 1.75rem;
  }

  .term-block::before {
    left: 0;
    top: 0.15rem;
  }

  .term-events li {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .term-events time {
    font-size: 0.82rem;
    color: var(--primary);
  }
}

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

  .reveal,
  .hero-animate .hero-copy-inner > *,
  .hero-animate .hero-slider {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
