/* ============================================================
   Righteous Oaks International School — design system
   Brand palette sampled from the ROIS crest:
   green #008C44 / #0A4D26 · laurel lime #7FA81F / #A8D830
   orange #E07B2A / #C25E12 · cream #FAF5EA
   ============================================================ */

/* Anchor targets clear the sticky header */
[id] {
  scroll-margin-top: calc(var(--header-h) + 52px);
}

/* ---------- Tokens ---------- */
:root {
  --green-950: #0c2e1a;
  --green-900: #123b22;
  --green-800: #0a4d26;
  --green-700: #0e6b36;
  --green-600: #008c44;
  --green-200: #bcdcc6;
  --green-100: #dcefe2;
  --green-50: #eef7f0;
  --lime-600: #7fa81f;
  --lime-400: #a8d830;
  --orange-700: #a04b0c;
  --orange-800: #8f430c;
  --orange-600: #c25e12;
  --orange-500: #e07b2a;
  --orange-300: #ffcf9e;
  --orange-100: #fbe8d2;
  --cream: #faf5ea;
  --sand: #f3ecdd;
  --white: #ffffff;
  --ink: #1f2a22;
  --ink-soft: #4a5a4e;
  --ink-faint: #56655a;
  --red-700: #b3261e;
  --line: rgba(18, 59, 34, 0.14);
  --shadow-sm: 0 1px 2px rgba(18, 42, 26, 0.06), 0 1px 6px rgba(18, 42, 26, 0.05);
  --shadow-md: 0 4px 14px rgba(18, 42, 26, 0.1), 0 2px 4px rgba(18, 42, 26, 0.06);
  --shadow-lg: 0 18px 44px rgba(12, 46, 26, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --font-body: "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --maxw: 1180px;
  --header-h: 74px;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--green-900);
  line-height: 1.18;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: -0.01em;
}
p {
  margin: 0 0 1em;
}
a {
  color: var(--green-700);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--green-800);
}
ul, ol {
  margin: 0;
  padding: 0;
}
li {
  list-style: none;
}
button {
  font: inherit;
}
:focus-visible {
  outline: 3px solid var(--green-600);
  outline-offset: 2px;
  border-radius: 4px;
}
.site-footer :focus-visible,
.pagehead :focus-visible,
.hero :focus-visible,
.section--dark :focus-visible,
.lightbox :focus-visible {
  outline-color: var(--lime-400);
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--green-900);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
}

.container {
  width: min(var(--maxw), 100% - 48px);
  margin-inline: auto;
}
.container--narrow {
  max-width: 820px;
}
.container--wide {
  max-width: 1320px;
}
.center {
  text-align: center;
}

.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn-primary {
  background: var(--green-600);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--green-700);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-light {
  background: var(--cream);
  color: var(--green-900);
  box-shadow: var(--shadow-sm);
}
.btn-light:hover {
  background: #fff;
  color: var(--green-800);
}
.btn-accent {
  background: var(--orange-500);
  color: #2a1608;
  box-shadow: var(--shadow-sm);
}
.btn-accent:hover {
  background: #f08d3c;
  color: #2a1608;
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: var(--cream);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--green-700);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--green-50);
  color: var(--green-800);
}
.btn-danger {
  background: var(--red-700);
  color: #fff;
}
.btn-danger:hover {
  background: #8f1d17;
  color: #fff;
}
.btn-lg {
  padding: 16px 32px;
  font-size: 16.5px;
}
.btn-sm {
  padding: 8px 16px;
  font-size: 13.5px;
}
.inline-form {
  display: inline;
}

/* ---------- Badges, eyebrows, section heads ---------- */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge--orange {
  background: var(--orange-100);
  color: var(--orange-700);
}
.badge--green {
  background: var(--green-100);
  color: var(--green-800);
}
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-700);
  margin: 0 0 14px;
}
.section {
  padding: 100px 0;
}
.section--alt {
  background: var(--white);
}
.section--dark {
  background: linear-gradient(180deg, var(--green-950), var(--green-900));
  color: var(--cream);
}
.section--dark .section__title {
  color: #fff;
}
.section__head {
  max-width: 680px;
  margin-bottom: 48px;
}
.section__head--center {
  margin-inline: auto;
  text-align: center;
}
.section__head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
  margin-bottom: 40px;
}
.section__head-link {
  flex: none;
}
.section__eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-700);
  margin: 0 0 12px;
}
.section__eyebrow--light {
  color: var(--orange-300);
}
.section__title {
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  margin-bottom: 16px;
}
.section__lead {
  font-size: 17.5px;
  color: var(--ink-soft);
  max-width: 640px;
}
.section__lead--light {
  color: var(--green-200);
}
.section__center {
  text-align: center;
  margin-top: 40px;
}
.section__empty {
  text-align: center;
  color: var(--ink-faint);
  padding: 32px;
}
.section__head-link {
  flex: none;
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.card-grid {
  display: grid;
  gap: 22px;
}
.card-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}
.topbar {
  background: var(--green-900);
  color: var(--green-100);
  font-size: 13px;
}
.topbar a {
  color: var(--green-100);
  text-decoration: none;
}
.topbar a:hover {
  color: #fff;
  text-decoration: underline;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 7px 0;
}
.topbar__contact {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.topbar__sep {
  opacity: 0.5;
}
.topbar__hours {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.topbar__hours .icon {
  width: 15px;
  height: 15px;
  fill: currentColor;
  stroke: none;
  opacity: 0.8;
}
.navbar {
  position: relative;
  border-bottom: 1px solid var(--line);
}
/* Background + blur live on ::before: if they were on .navbar itself, the
   backdrop-filter would make it the containing block for the fixed
   mobile-drawer wrapper and clip the menu to the navbar height. */
.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(250, 245, 234, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.navbar__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: none;
}
.brand img {
  width: 52px;
  height: 52px;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17.5px;
  color: var(--green-900);
  letter-spacing: 0.01em;
}
.brand__motto {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-700);
}
.site-nav {
  flex: 1;
}
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
  flex-wrap: wrap;
}
.site-nav__list a {
  display: block;
  padding: 9px 11px;
  border-radius: 999px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.site-nav__list a:hover {
  color: var(--green-800);
  background: var(--green-50);
}
.site-nav__list a.is-active {
  color: var(--green-800);
  background: var(--green-100);
}
.navbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
  margin-left: auto;
}
.navbar__cta {
  padding: 10px 20px;
  font-size: 14.5px;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4.5px;
  padding: 0;
}
.nav-toggle__bar {
  width: 20px;
  height: 2px;
  background: var(--green-900);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
body.nav-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
body.nav-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
body.nav-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}
body.nav-open {
  overflow: hidden;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  animation: hero-drift 26s ease-in-out infinite alternate;
}
.hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(12, 46, 26, 0.94) 0%, rgba(12, 46, 26, 0.78) 42%, rgba(12, 46, 26, 0.34) 78%, rgba(12, 46, 26, 0.5) 100%);
}
@keyframes hero-drift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}
.hero__inner {
  padding: 110px 0 130px;
  max-width: 900px;
}
.hero .eyebrow {
  color: var(--orange-300);
}
.hero__title {
  font-size: clamp(2.5rem, 5.4vw, 4.3rem);
  line-height: 1.06;
  color: #fff;
  margin-bottom: 22px;
  max-width: 15ch;
}
.hero__title em {
  font-style: italic;
  color: var(--orange-300);
}
.hero__sub {
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  color: var(--green-100);
  max-width: 58ch;
  margin-bottom: 34px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.hero__chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.chip {
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.32);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* ---------- Stat band ---------- */
.stat-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
}
.stat-band__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
  position: relative;
}
.stat + .stat::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: var(--line);
}
.stat__num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--green-700);
  line-height: 1.1;
}
.stat__label {
  font-size: 13.5px;
  color: var(--ink-soft);
  max-width: 180px;
}

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.feature {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.feature__icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--green-100);
  color: var(--green-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.feature__icon .icon {
  width: 26px;
  height: 26px;
}
.feature__title {
  font-size: 19px;
  margin-bottom: 6px;
}
.feature__text {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.split__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
}
.split__body .section__title {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
}
.split__list {
  margin: 18px 0 28px;
  display: grid;
  gap: 10px;
}
.split__list li {
  padding-left: 28px;
  position: relative;
  color: var(--ink-soft);
  font-size: 15.5px;
}
.split__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.split__list strong {
  color: var(--ink);
}

/* ---------- Programs (cards on home) ---------- */
.program {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.program:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.program__img {
  width: 100%;
  object-fit: cover;
}
.program__age {
  position: relative;
  display: inline-block;
  margin: 16px 0 0 20px;
  width: fit-content;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--orange-500);
  color: #2a1608;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.program__age--on-light {
  margin-bottom: 8px;
}
.program__title {
  padding: 10px 20px 0;
  font-size: 22px;
  margin-bottom: 6px;
}
.program__desc {
  padding: 0 20px;
  font-size: 14.5px;
  color: var(--ink-soft);
  flex: 1;
}
.program__link {
  padding: 0 20px 20px;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  color: var(--orange-700);
}
.program__link:hover {
  color: var(--orange-800);
  text-decoration: underline;
}

/* ---------- Timeline (dark) ---------- */
.timeline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px 56px;
  counter-reset: tl;
}
.timeline__item {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.timeline__time {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--orange-300);
  white-space: nowrap;
  min-width: 74px;
  font-variant-numeric: tabular-nums;
}
.timeline__text {
  color: var(--green-100);
  font-size: 15px;
}

/* ---------- Home strip ---------- */
.home-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.home-strip__tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  box-shadow: var(--shadow-sm);
}
.home-strip__tile img {
  width: 100%;
  transition: transform 0.4s ease;
}
.home-strip__tile:hover img {
  transform: scale(1.05);
}
.home-strip__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 38px 18px 14px;
  background: linear-gradient(transparent, rgba(12, 46, 26, 0.85));
  color: #fff;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.01em;
}

/* ---------- News cards ---------- */
.news-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.news-card__media {
  display: block;
}
.news-card__media img {
  width: 100%;
  object-fit: cover;
}
.news-card__body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 12.5px;
  color: var(--ink-faint);
}
.news-card__title {
  font-size: 19.5px;
  line-height: 1.3;
  margin-bottom: 8px;
}
.news-card__title a {
  color: var(--green-900);
  text-decoration: none;
}
.news-card__title a:hover {
  color: var(--orange-700);
  text-decoration: underline;
}
.news-card__excerpt {
  font-size: 14.5px;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

/* ---------- Event cards ---------- */
.events-list {
  display: grid;
  gap: 16px;
}
.event-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}
.event-card__date {
  flex: none;
  width: 68px;
  padding: 10px 0 8px;
  text-align: center;
  border-radius: 12px;
  background: var(--cream);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.event-card__month {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--orange-700);
}
.event-card__day {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--green-800);
  line-height: 1.05;
}
.event-card__body {
  flex: 1;
}
.event-card__title {
  font-size: 19px;
  margin-bottom: 4px;
}
.event-card__meta {
  font-size: 13.5px;
  color: var(--ink-faint);
  margin-bottom: 6px;
}
.event-card__desc {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0;
}
.event-card__action {
  align-self: center;
  flex: none;
}

/* ---------- Testimonials ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.quote {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.quote__text {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  flex: 1;
}
.quote__who {
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--orange-700);
}

/* ---------- CTA band ---------- */
.cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 82% 12%, rgba(224, 123, 42, 0.16), transparent 60%),
    linear-gradient(120deg, var(--green-800), var(--green-900) 70%);
  border-top: 4px solid var(--orange-500);
  padding: 88px 0;
  color: var(--cream);
}
/* Ornaments: hairline glow + diamond resting on the top border */
.cta::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 216, 48, 0.8), transparent);
}
.cta::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 50%;
  width: 7px;
  height: 7px;
  background: var(--lime-400);
  transform: translateX(-50%) rotate(45deg);
}
.cta__title em {
  font-style: italic;
  color: var(--orange-300);
}
.cta__inner {
  text-align: center;
  max-width: 720px;
}
.cta__title {
  color: #fff;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  margin-bottom: 12px;
}
.cta__text {
  color: var(--green-200);
  font-size: 17px;
  margin-bottom: 30px;
}
.cta__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Page head (inner pages) ---------- */
.pagehead {
  background: linear-gradient(180deg, var(--green-950), var(--green-900));
  color: var(--cream);
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.pagehead::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 123, 42, 0.22), transparent 65%);
  pointer-events: none;
}
.pagehead .eyebrow {
  color: var(--orange-300);
}
.pagehead__title {
  color: #fff;
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  margin-bottom: 14px;
  max-width: 20ch;
}
.pagehead__sub {
  color: var(--green-200);
  font-size: 17.5px;
  max-width: 66ch;
  margin: 0;
}

/* ---------- Prose ---------- */
.prose {
  font-size: 16.5px;
  color: var(--ink);
}
.prose p + p {
  margin-top: 1.1em;
}
.prose em {
  font-family: var(--font-display);
}
.prose--narrow {
  max-width: 760px;
  margin-inline: auto;
}
.prose--narrow .section__title {
  margin-bottom: 20px;
}

/* ---------- About: MV grid, values, crest ---------- */
.mv-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
}
.mv__title {
  font-size: 20px;
}
.mv__text {
  color: var(--ink-soft);
  font-size: 15.5px;
  margin: 0;
}
.values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.value {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange-500);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.value__title {
  font-size: 18.5px;
  margin-bottom: 8px;
}
.value__text {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0;
}
.crest {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
  align-items: center;
}
.crest__logo {
  width: 190px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}
.crest__list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.crest__list li {
  padding-left: 26px;
  position: relative;
  color: var(--green-100);
  font-size: 15.5px;
}
.crest__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--lime-400);
  transform: rotate(45deg);
}
.crest__list strong {
  color: #fff;
}

/* ---------- Philosophy: cycles, materials, stages, quote ---------- */
.cycle {
  display: flex;
  flex-direction: column;
}
.cycle__num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  color: var(--orange-600);
  line-height: 1;
  margin-bottom: 12px;
}
.cycle__title {
  font-size: 19px;
  margin-bottom: 6px;
}
.cycle__text {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0;
}
.material-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.material__title {
  font-size: 18.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.material__text {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0;
}
.material--modern {
  border-color: rgba(224, 123, 42, 0.4);
  background: linear-gradient(160deg, #fff, var(--orange-100));
}
.stages {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
}
.stage {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.stage__range {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-700);
  margin-bottom: 8px;
}
.stage__title {
  font-size: 21px;
  margin-bottom: 10px;
}
.stage__text {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0;
}
.center-quote {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}
.center-quote__mark {
  font-family: var(--font-display);
  font-size: 96px;
  line-height: 0.6;
  color: var(--orange-600);
  margin-bottom: 18px;
}
.center-quote__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #fff;
  margin: 0 0 14px;
}
.center-quote__attr {
  color: var(--green-200);
  font-weight: 600;
  margin-bottom: 26px;
}
.center-quote__note {
  margin-inline: auto;
}
.center-quote__note strong {
  color: var(--orange-300);
}

/* ---------- Programs: detail rows + table + enrichment ---------- */
.program-detail {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.program-detail--reverse {
  grid-template-columns: 1.05fr 1fr;
}
.program-detail--reverse .program-detail__media {
  order: 2;
}
.program-detail__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
}
.program-detail__sub {
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-700);
  margin: 20px 0 12px;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 560px;
}
.table th,
.table td {
  text-align: left;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}
.table thead th {
  font-size: 12.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--green-800);
  background: var(--green-50);
}
.table tbody tr:last-child td,
.table tbody tr:last-child th {
  border-bottom: none;
}
.table th[scope="row"] {
  font-weight: 700;
  color: var(--green-900);
}
.enrich {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.enrich .feature__icon {
  background: var(--orange-100);
  color: var(--orange-700);
}
.enrich__title {
  font-size: 18.5px;
  margin-bottom: 6px;
}
.enrich__text {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Admissions ---------- */
.steps {
  display: grid;
  gap: 0;
  counter-reset: step;
}
.step {
  display: flex;
  gap: 22px;
  position: relative;
  padding-bottom: 34px;
}
.step:last-child {
  padding-bottom: 0;
}
.step::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 50px;
  bottom: 6px;
  width: 2px;
  background: var(--green-100);
}
.step:last-child::before {
  display: none;
}
.step__num {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-600);
  color: #fff;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.step__title {
  font-size: 20px;
  margin-bottom: 4px;
}
.step__text {
  color: var(--ink-soft);
  font-size: 15.5px;
  margin: 0;
  max-width: 64ch;
}
.admissions-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.docs {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}
.docs li {
  padding-left: 28px;
  position: relative;
  font-size: 15px;
  color: var(--ink-soft);
}
.docs li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.admissions-side__sub {
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-700);
  margin: 24px 0 12px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-top: 22px;
}
.contact-card--inline {
  margin-top: 0;
}
.contact-card__title {
  font-size: 18px;
  margin-bottom: 10px;
}
.contact-card p {
  font-size: 15px;
}
.contact-card address {
  font-style: normal;
  font-size: 15.5px;
  margin-bottom: 12px;
  color: var(--ink);
}
.contact-card__hours {
  color: var(--ink-faint);
  font-size: 13.5px !important;
  margin-bottom: 0 !important;
}

/* ---------- Tour ---------- */
.tour-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.tip__title {
  font-size: 18.5px;
  margin-bottom: 6px;
}
.tip__text {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px 20px;
  margin-bottom: 20px;
}
.field--full {
  grid-column: 1 / -1;
}
.field__label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 6px;
}
.req {
  color: var(--red-700);
}
.field__input {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field__input:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px rgba(0, 140, 68, 0.14);
}
.field__input.invalid {
  border-color: var(--red-700);
}
.field__input.invalid:focus {
  box-shadow: 0 0 0 4px rgba(179, 38, 30, 0.14);
}
textarea.field__input {
  resize: vertical;
  min-height: 96px;
}
.field__error {
  color: var(--red-700);
  font-size: 13px;
  font-weight: 600;
  margin: 6px 0 0;
}
.field__error:empty {
  display: none;
}
.field__error:not(:empty)::before {
  content: "!";
  display: inline-block;
  flex: none;
  width: 15px;
  height: 15px;
  margin-right: 7px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 12px;
  text-align: center;
  vertical-align: -2px;
}
.form-success h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-success h3::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green-700);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.field__hint {
  color: var(--ink-faint);
  font-size: 12.5px;
  margin: 6px 0 0;
}
.form__summary {
  background: #fdecea;
  border: 1px solid rgba(179, 38, 30, 0.35);
  color: var(--red-700);
  font-weight: 600;
  font-size: 14.5px;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin: 0 0 18px;
}
.form__note {
  color: var(--ink-faint);
  font-size: 13.5px;
  margin: 14px 0 0;
}
.form-success {
  margin-top: 8px;
  background: var(--green-50);
  border: 1.5px solid var(--green-200);
  border-radius: var(--radius);
  padding: 26px;
}
.form-success h3 {
  color: var(--green-800);
  font-size: 20px;
}
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.form-success:not([hidden]) {
  animation: rise-in 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.form-success p {
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- News article ---------- */
.article-head {
  max-width: 820px;
  margin: 0 auto 34px;
}
.article-head__title {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 10px;
}
.article-head__meta {
  color: var(--ink-faint);
  font-size: 14.5px;
}
.article-hero {
  max-width: 1000px;
  margin: 0 auto 40px;
}
.article-hero img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
}
.article-hero .prose,
.prose {
  max-width: 760px;
  margin-inline: auto;
  font-size: 16.5px;
}
.article-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  max-width: 860px;
  margin: 44px auto 0;
}
.article-nav__link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.article-nav__link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.article-nav__link--next {
  text-align: right;
  align-items: flex-end;
}
.article-nav__link span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--orange-700);
}
.article-nav__link strong {
  color: var(--green-900);
  font-family: var(--font-display);
  font-size: 16.5px;
}

/* ---------- Faculty ---------- */
.faculty-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.faculty-card__avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  color: #fff;
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.faculty-card__name {
  font-size: 19px;
  margin-bottom: 2px;
}
.faculty-card__role {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--orange-700);
  margin-bottom: 8px;
}
.faculty-card__quals {
  font-size: 13px;
  color: var(--ink-faint);
  margin-bottom: 10px;
}
.faculty-card__bio {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Gallery ---------- */
.gallery {
  columns: 2;
  column-gap: 18px;
}
.gallery__tile {
  break-inside: avoid;
  margin: 0 0 18px;
}
.gallery__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.gallery__btn img {
  width: 100%;
  transition: transform 0.35s ease;
}
.gallery__btn:hover img,
.gallery__btn:focus-visible img {
  transform: scale(1.04);
}
.gallery__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 55%, rgba(12, 46, 26, 0.55));
  opacity: 0;
  transition: opacity 0.25s ease;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 14px;
}
.gallery__btn:hover .gallery__overlay,
.gallery__btn:focus-visible .gallery__overlay {
  opacity: 1;
}
.gallery__zoom {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(250, 245, 234, 0.92);
  color: var(--green-800);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery__zoom .icon {
  width: 20px;
  height: 20px;
}
.gallery__caption {
  padding: 10px 4px 0;
  font-size: 14px;
  color: var(--ink-soft);
}

/* Lightbox */
.lightbox {
  border: none;
  padding: 0;
  background: transparent;
  max-width: none;
  width: 100%;
  height: 100%;
  max-height: none;
}
.lightbox::backdrop {
  background: rgba(9, 33, 19, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lightbox__figure {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 40px;
}
.lightbox.is-loading .lightbox__img {
  opacity: 0;
}
.lightbox.is-loading .lightbox__figure::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 3px solid rgba(255, 255, 255, 0.22);
  border-top-color: var(--lime-400);
  border-radius: 50%;
  animation: lbb-spin 0.8s linear infinite;
}
@keyframes lbb-spin {
  to {
    transform: rotate(360deg);
  }
}
.lightbox__img {
  transition: opacity 0.25s ease;
  max-width: min(1080px, 92vw);
  max-height: 76vh;
  width: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}
.lightbox__caption {
  color: var(--green-100);
  font-size: 15px;
  text-align: center;
  max-width: 640px;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(250, 245, 234, 0.14);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(250, 245, 234, 0.28);
}
.lightbox__close {
  top: 22px;
  right: 22px;
}
.lightbox__nav--prev {
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox__nav--next {
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 12px;
  margin-bottom: 40px;
}
.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq__item[open] {
  border-color: rgba(0, 140, 68, 0.4);
}
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  color: var(--green-900);
  list-style: none;
}
.faq__question::-webkit-details-marker {
  display: none;
}
.faq__question:hover {
  color: var(--green-700);
}
.faq__chevron {
  transition: transform 0.2s ease;
  color: var(--orange-700);
}
.faq__item[open] .faq__chevron {
  transform: rotate(180deg);
}
.faq__answer-inner {
  padding: 0 22px 20px;
  color: var(--ink-soft);
  font-size: 15px;
}
.faq__answer-inner p {
  margin-bottom: 0.8em;
}
.faq__cta {
  text-align: center;
  padding: 40px;
}
.faq__cta-title {
  font-size: 24px;
  margin-bottom: 8px;
}
.faq__cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-side .contact-card {
  margin-top: 0;
  margin-bottom: 18px;
}

/* ---------- 404 / 500 ---------- */
.notfound {
  padding: 120px 0;
  text-align: center;
}
.notfound__code {
  font-family: var(--font-display);
  font-size: 130px;
  font-weight: 700;
  line-height: 1;
  color: rgba(0, 140, 68, 0.22);
  margin-bottom: 8px;
}
.notfound__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-950);
  color: var(--green-100);
  border-top: 4px solid var(--orange-500);
}
/* ---- Newsletter band ---- */
.footer__newsletter {
  border-bottom: 1px solid rgba(188, 220, 198, 0.16);
  padding: 46px 0;
}
.footer__newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.footer__newsletter-text {
  max-width: 470px;
}
.footer__newsletter-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  color: #fff;
  margin-bottom: 8px;
}
.footer__newsletter-text p {
  color: var(--green-200);
  font-size: 14.5px;
  margin: 0;
  line-height: 1.6;
}
.footer__newsletter-form {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: none;
}
.footer__newsletter-input {
  width: 264px;
  border-radius: 999px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(188, 220, 198, 0.35);
  color: #fff;
  font-size: 14.5px;
}
.footer__newsletter-input::placeholder {
  color: rgba(188, 220, 198, 0.7);
}
.footer__newsletter-input:focus {
  outline: none;
  border-color: var(--lime-400);
  box-shadow: 0 0 0 3px rgba(168, 216, 48, 0.25);
  background: rgba(255, 255, 255, 0.1);
}
.footer__newsletter-input.invalid {
  border-color: #ff8a80;
}
.btn-invert {
  background: var(--cream);
  color: var(--green-900);
}
.btn-invert:hover {
  background: #fff;
}
.footer__newsletter-form .field__error {
  flex-basis: 100%;
  margin: 6px 0 0 6px;
  color: #ffb3aa;
}
.footer__newsletter-note {
  flex-basis: 100%;
  margin: 8px 0 0 6px;
  font-size: 13.5px;
  color: var(--lime-400);
  min-height: 1em;
}
/* ---- Columns ---- */
.footer__grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1.05fr 1.1fr 1fr;
  gap: 44px;
  padding: 62px 0 54px;
}
.footer__brand img {
  width: 60px;
  margin-bottom: 14px;
}
.footer__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: #fff;
  margin-bottom: 10px;
}
.footer__blurb {
  font-size: 14px;
  color: var(--green-200);
  margin: 0 0 18px;
  max-width: 36ch;
  line-height: 1.65;
}
.footer__socials {
  display: flex;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(188, 220, 198, 0.35);
  color: var(--green-200);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.footer__social svg {
  width: 17px;
  height: 17px;
}
.footer__social:hover {
  background: var(--lime-400);
  border-color: var(--lime-400);
  color: var(--green-950);
}
.footer__address {
  font-style: normal;
  font-size: 14px;
  color: var(--green-200);
  line-height: 1.65;
  margin-bottom: 10px;
}
.footer__tel,
.footer__email,
.footer__wa {
  font-size: 14px;
  margin-bottom: 5px;
}
.footer__tel a,
.footer__email a {
  color: var(--green-100);
  text-decoration: none;
}
.footer__tel a:hover,
.footer__email a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer__title {
  font-size: 12px;
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime-400);
  margin-bottom: 18px;
}
.footer__col ul {
  display: grid;
  gap: 10px;
}
.footer__col a {
  color: var(--green-100);
  text-decoration: none;
  font-size: 14.5px;
  transition: color 0.2s ease;
}
.footer__col a span {
  color: var(--green-200);
  opacity: 0.6;
  font-size: 12px;
  margin-left: 6px;
}
.footer__col a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  font-size: 13px;
  color: var(--green-200);
  flex-wrap: wrap;
}
.footer__bottom p {
  margin: 0;
}
.footer__legal a,
.footer__admin a {
  color: var(--green-200);
  text-decoration: none;
}
.footer__legal a:hover,
.footer__admin a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Reveal animation ---------- */
.js-reveal .revealable {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js-reveal .revealable.in {
  opacity: 1;
  transform: none;
}

/* ---------- Admin ---------- */
.body-admin {
  background: #f2efe6;
}
.admin-top {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
  position: sticky;
  top: 0;
  z-index: 50;
  flex-wrap: wrap;
}
.brand--admin {
  font-weight: 800;
  color: var(--green-900);
  font-size: 16px;
}
.brand--admin img {
  width: 36px;
  height: 36px;
}
.admin-nav {
  display: flex;
  gap: 2px;
  flex: 1;
  flex-wrap: wrap;
}
.admin-nav a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
}
.admin-nav a:hover {
  background: var(--green-50);
  color: var(--green-800);
}
.admin-nav a.is-active {
  background: var(--green-100);
  color: var(--green-800);
}
.admin-top__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.admin-main {
  padding: 36px 0 70px;
}
.admin-head {
  margin-bottom: 26px;
}
.admin-head--row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}
.admin-head__actions {
  display: flex;
  gap: 10px;
}
.admin-head__title {
  font-size: 28px;
  margin-bottom: 4px;
}
.admin-head__sub {
  color: var(--ink-faint);
  font-size: 14.5px;
  margin: 0;
}
.admin-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 34px;
}
.admin-card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.admin-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.admin-card__num {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  color: var(--green-800);
  line-height: 1.1;
}
.admin-card--accent .admin-card__num {
  color: var(--orange-600);
}
.admin-card__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}
.admin-section-title {
  font-size: 19px;
  margin: 26px 0 14px;
}
.admin-links {
  display: grid;
  gap: 8px;
  font-size: 14.5px;
}
.admin-links a {
  text-decoration: none;
  font-weight: 600;
}
.admin-links a:hover {
  text-decoration: underline;
}
.admin-table__main {
  font-weight: 700;
  color: var(--green-900);
}
.admin-table__actions {
  white-space: nowrap;
}
.admin-table__actions .btn {
  margin-right: 6px;
}
.admin-table__actions .inline-form {
  display: inline-block;
}
.admin-form {
  max-width: 760px;
}
.admin-form .field {
  margin-bottom: 18px;
}
.admin-form__actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}
.admin-form__note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-faint);
}
.admin-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.admin-pre {
  background: var(--green-950);
  color: var(--green-100);
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  overflow: auto;
  max-width: 420px;
  margin: 8px 0 0;
}
.muted {
  color: var(--ink-faint);
  font-weight: 400;
  font-size: 13.5px;
}
.flash {
  background: var(--green-50);
  border: 1.5px solid var(--green-200);
  color: var(--green-800);
  font-weight: 600;
  font-size: 14.5px;
  padding: 12px 18px;
  border-radius: 10px;
  margin-bottom: 20px;
}

/* ---------- Auth ---------- */
.body-auth {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--green-950), var(--green-900));
  padding: 24px;
}
.auth-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}
.auth-card {
  width: min(420px, 100%);
  padding: 36px;
  text-align: center;
}
.auth-card__logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
}
.auth-card__title {
  font-size: 24px;
  margin-bottom: 4px;
}
.auth-card__sub {
  color: var(--ink-faint);
  font-size: 14px;
  margin-bottom: 22px;
}
.auth-card .field {
  text-align: left;
  margin-bottom: 14px;
}
.auth-card .btn {
  width: 100%;
}
.auth-card__error {
  margin-top: 12px;
  min-height: 0;
}
.auth-card__error:empty {
  display: none;
}
.auth-card__back {
  margin: 18px 0 0;
  font-size: 14px;
}

/* Nav drawer lives inside a clip wrapper so its off-canvas geometry can
   never extend the document (no horizontal scroll, no scrollbar). */
.nav-clip {
  display: contents;
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .nav-clip {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 90;
    overflow: hidden;
    pointer-events: none;
  }
  .site-nav {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: min(380px, 88vw);
    background: var(--cream);
    padding: 96px 28px 28px;
    transform: translateX(102%);
    visibility: hidden;
    transition: transform 0.28s ease, visibility 0s linear 0.28s;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    pointer-events: auto;
  }
  body.nav-open .site-nav {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.28s ease, visibility 0s;
  }
  /* Scrim: while open the clip captures clicks (so a tap outside the panel
     can never fall through to a page link) and dims the page. */
  body.nav-open .nav-clip {
    pointer-events: auto;
  }
  .nav-clip::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 45, 30, 0.45);
    opacity: 0;
    transition: opacity 0.28s ease;
  }
  body.nav-open .nav-clip::before {
    opacity: 1;
  }
  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .site-nav__list a {
    font-size: 17px;
    padding: 12px 16px;
  }
  .nav-toggle {
    display: flex;
  }
  .navbar__cta {
    display: none;
  }
  .topbar__hours {
    display: none;
  }
  .features,
  .card-grid--4 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .card-grid--3 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .home-strip {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .stat-band__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
  }
  .stat:nth-child(3)::before {
    display: none;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 64px 0;
  }
  .split,
  .program-detail,
  .program-detail--reverse,
  .admissions-split,
  .tour-grid,
  .contact-grid,
  .mv-grid,
  .stages,
  .crest {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .program-detail--reverse .program-detail__media {
    order: 0;
  }
  .timeline {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .values,
  .material-grid,
  .quotes {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .footer__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    padding: 48px 0 36px;
  }
  .gallery {
    columns: 2;
  }
  .hero__inner {
    padding: 84px 0 96px;
  }
  .admin-cards {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .article-nav {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  body {
    font-size: 15.5px;
  }
  .container {
    width: calc(100% - 36px);
  }
  .features,
  .card-grid--3,
  .card-grid--4,
  .home-strip,
  .stat-band__inner,
  .values,
  .material-grid,
  .quotes,
  .form-grid,
  .footer__grid,
  .admin-cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .stat + .stat::before {
    display: none;
  }
  .gallery {
    columns: 1;
  }
  .hero__inner {
    padding: 64px 0 72px;
  }
  .navbar__inner {
    gap: 12px;
  }
  .brand {
    flex: 1 1 auto;
    min-width: 0;
    gap: 10px;
  }
  .brand img {
    width: 46px;
    height: 46px;
    flex: none;
  }
  .brand__text {
    min-width: 0;
  }
  .brand__name {
    font-size: 15px;
    overflow-wrap: anywhere;
  }
  .brand__motto {
    display: none;
  }
  .hero__actions .btn {
    width: 100%;
  }
  .pagehead {
    padding: 52px 0 46px;
  }
  .event-card {
    flex-direction: column;
  }
  .event-card__action {
    align-self: flex-start;
  }
  .section__head--row {
    flex-direction: column;
    align-items: flex-start;
  }
  .notfound__code {
    font-size: 90px;
  }
  .lightbox__nav {
    width: 42px;
    height: 42px;
  }
  .lightbox__nav--prev {
    left: 8px;
  }
  .lightbox__nav--next {
    right: 8px;
  }
  .lightbox__figure {
    padding: 64px 12px 24px;
  }
  .brand__name {
    font-size: 15px;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js-reveal .revealable {
    opacity: 1;
    transform: none;
  }
  .hero__bg {
    animation: none;
  }
}

/* ============================================================
   Admissions conversion page + Book a Tour + Testimonials
   ============================================================ */

/* Page head with CTAs */
.pagehead--cta {
  padding-bottom: 70px;
}
.pagehead__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* Why-choose: six feature cards */
.features--6 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Intro cards */
.intro-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.intro-card__title {
  font-size: 19px;
  margin-bottom: 6px;
}
.intro-card__text {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0;
}

/* 6-step process stepper */
.process {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  position: relative;
  padding-top: 4px;
}
.process::before {
  content: "";
  position: absolute;
  top: 31px;
  left: 9%;
  right: 9%;
  height: 3px;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--green-200) 0 10px, transparent 10px 18px);
}
.process__step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 6px;
}
.process__num {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--green-600);
  color: #fff;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 0 0 6px var(--cream), var(--shadow-sm);
}
.process__step:last-child .process__num {
  background: var(--orange-500);
  color: #2a1608;
}
.process__title {
  font-size: 17.5px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.process__tag {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-700);
  background: var(--orange-100);
  padding: 2.5px 9px;
  border-radius: 999px;
}
.process__text {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}
.process__meta {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--green-700);
  letter-spacing: 0.02em;
}

/* Documents grid */
.docs--grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 0;
}
.docs--grid .docs__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.docs--grid .docs__item::before {
  content: "✓";
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.docs__item strong {
  display: block;
  color: var(--green-900);
  font-size: 15.5px;
  margin-bottom: 2px;
}
.docs__item span {
  color: var(--ink-soft);
  font-size: 14px;
}
.docs__note {
  margin-top: 20px;
  padding: 14px 18px;
  border-left: 4px solid var(--orange-500);
  background: var(--orange-100);
  border-radius: 0 10px 10px 0;
  color: var(--ink);
  font-size: 14.5px;
}

/* Important dates */
.dates {
  display: grid;
  gap: 12px;
  max-width: 860px;
}
.dates__row {
  display: flex;
  gap: 18px;
  align-items: baseline;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px 20px;
  box-shadow: var(--shadow-sm);
}
.dates__badge {
  flex: none;
  min-width: 112px;
  text-align: center;
  background: var(--green-100);
  color: var(--green-800);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.03em;
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.dates__label {
  font-weight: 700;
  color: var(--ink);
  font-size: 15.5px;
}
.dates__note {
  margin-left: auto;
  color: var(--ink-faint);
  font-size: 13.5px;
  text-align: right;
}

/* Mini steps (book a tour side) */
.mini-steps {
  display: grid;
  gap: 14px;
  margin: 0 0 8px;
}
.mini-steps__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.mini-steps__num {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--green-200);
  color: var(--green-800);
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mini-steps__item p {
  margin: 2px 0 0;
  font-size: 15px;
  color: var(--ink-soft);
}

/* Accent CTA band (book-a-tour push) */
.cta--accent {
  background: linear-gradient(120deg, var(--orange-500), var(--orange-600));
  border-top: 4px solid var(--green-900);
}
.cta--accent .cta__title {
  color: #241205;
}
.cta--accent .cta__text {
  color: #4a2c10;
}

/* FAQ search */
.faq__search {
  margin-bottom: 22px;
}
.faq__search-input {
  width: 100%;
  padding: 14px 20px;
  font: inherit;
  font-size: 15.5px;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.faq__search-input:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px rgba(0, 140, 68, 0.14);
}
.faq__search-count {
  margin: 9px 4px 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}
.faq__item.is-hidden {
  display: none;
}
.faq__empty {
  margin-bottom: 24px;
}

/* Testimonials (PHASE 16) — genuine parent feedback */
.quote {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 40px 28px 28px;
}
.quote__label {
  position: absolute;
  top: 10px;
  left: 22px;
  font-family: var(--font-display);
  font-size: 68px;
  line-height: 1;
  color: var(--orange-300);
  pointer-events: none;
}
.quote__text {
  font-family: var(--font-display);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink);
  flex: 1;
  margin: 0 0 20px;
}
.quote__who {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.quote__name {
  font-weight: 800;
  font-size: 15px;
  color: var(--green-900);
}
.quote__role {
  font-size: 13px;
  color: var(--ink-faint);
}
.quote__tag {
  margin-top: 10px;
}

/* New-component responsive rules */
@media (max-width: 1120px) {
  .features--6 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .process {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 30px 20px;
  }
  .process::before {
    display: none;
  }
}
@media (max-width: 900px) {
  .dates__row {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .dates__note {
    margin-left: 0;
    text-align: left;
  }
  .docs--grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  .process {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
  .process__step {
    min-width: 0;
  }
  .process__num {
    flex: none;
  }
  .pagehead__actions .btn {
    width: 100%;
  }
}

/* ============================================================
   Floating WhatsApp button
   Number is config-driven (site.whatsapp or site.phone); the
   button does not render at all when no number is configured.
   ============================================================ */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 120;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(12, 46, 26, 0.3), 0 2px 6px rgba(0, 0, 0, 0.14);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.wa-float svg {
  width: 30px;
  height: 30px;
  display: block;
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 26px rgba(12, 46, 26, 0.34), 0 3px 8px rgba(0, 0, 0, 0.16);
  color: #ffffff;
}
/* soft attention ring */
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: wa-ping 2.8s ease-out infinite;
  pointer-events: none;
}
@keyframes wa-ping {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  70% {
    transform: scale(1.38);
    opacity: 0;
  }
  100% {
    transform: scale(1.38);
    opacity: 0;
  }
}
/* tooltip — pointer devices only */
.wa-float::after {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--green-950);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
@media (hover: hover) and (pointer: fine) {
  .wa-float:hover::after,
  .wa-float:focus-visible::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}
@media (max-width: 640px) {
  .wa-float {
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    width: 54px;
    height: 54px;
  }
  .wa-float svg {
    width: 27px;
    height: 27px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float::before {
    animation: none;
    opacity: 0;
  }
  .wa-float,
  .wa-float::after {
    transition: none;
  }
}
/* footer whatsapp link */
.footer__whatsapp {
  color: var(--lime-400) !important;
  font-weight: 600;
}

/* ============================================================
   Mobile: tables stack into labelled cards (no horizontal scroll)
   ============================================================ */
@media (max-width: 768px) {
  .table-wrap {
    overflow: visible;
  }
  .table {
    width: auto;
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0 12px;
  }
  .table thead {
    display: none;
  }
  .table tbody tr {
    display: block;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 6px 18px;
    box-shadow: var(--shadow-sm);
  }
  .table th[scope="row"],
  .table td {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 18px;
    padding: 8px 0;
    border: 0;
  }
  .table th[scope="row"] {
    border-bottom: 1px dashed var(--line);
  }
  .table th[scope="row"]::before,
  .table td::before {
    content: attr(data-label);
    flex: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-faint);
  }
  .table td {
    text-align: right;
    color: var(--ink-soft);
  }
}

/* ============================================================
   PHASE 30/31 — Premium details
   ============================================================ */

/* Sticky header: gains a soft shadow once the page scrolls */
.site-header .navbar {
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled .navbar {
  box-shadow: var(--shadow-md);
}
.site-header.is-scrolled .navbar::before {
  background: rgba(250, 245, 234, 0.98);
}

/* Nav links: draw-in underline on hover */
.site-nav__list a {
  position: relative;
}
.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 4px;
  height: 2px;
  border-radius: 1px;
  background: var(--green-700);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.site-nav__list a:hover::after {
  transform: scaleX(1);
}

/* Images: slow, quiet zoom on hover (editorial feel) */
.home-strip__tile img,
.news-card__media img,
.gallery__btn img {
  transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.home-strip__tile:hover img,
.news-card:hover .news-card__media img,
.gallery__btn:hover img {
  transform: scale(1.05);
}

/* Cards: gentle lift (uses `translate` so it never fights the reveal transform) */
.news-card,
.card.feature {
  transition: translate 0.3s ease, box-shadow 0.3s ease;
}
.news-card:hover,
.card.feature:hover {
  translate: 0 -4px;
  box-shadow: var(--shadow-md);
}

/* Breadcrumbs (article pages) */
.breadcrumbs {
  margin-bottom: 26px;
  font-size: 13px;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin: 0;
  padding: 0;
}
.breadcrumbs a {
  color: var(--green-800);
  text-decoration: none;
}
.breadcrumbs a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.breadcrumbs li[aria-hidden="true"] {
  color: var(--ink-faint);
  user-select: none;
}
.breadcrumbs li[aria-current="page"] {
  color: var(--ink-soft);
  font-weight: 600;
}

/* Reading progress (article pages) */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 140;
  pointer-events: none;
}
.reading-progress__bar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--green-600), var(--orange-500));
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

/* Back to top */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 92px;
  z-index: 110;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--green-800);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0s linear 0.25s,
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.to-top svg {
  width: 20px;
  height: 20px;
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0s,
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.to-top:hover {
  background: var(--green-800);
  border-color: var(--green-800);
  color: #fff;
}

/* Editorial home strip: stagger the even tiles (desktop) */
@media (min-width: 901px) {
  .home-strip {
    align-items: start;
  }
  .home-strip__tile:nth-child(even) {
    margin-top: 34px;
  }
}

/* Footer: stacked mobile layout */
@media (max-width: 900px) {
  .footer__newsletter {
    padding: 38px 0;
  }
  .footer__newsletter-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .footer__newsletter-form {
    width: 100%;
    flex-wrap: wrap;
  }
  .footer__newsletter-input {
    flex: 1 1 220px;
    width: auto;
  }
  .footer__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 36px;
    padding: 48px 0 40px;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
  .to-top {
    right: 16px;
    bottom: 84px;
  }
}
@media (max-width: 600px) {
  .footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .footer__newsletter-input {
    flex-basis: 100%;
  }
}

/* Reduced motion: drop the zoom + lift + underline draw */
@media (prefers-reduced-motion: reduce) {
  .home-strip__tile:hover img,
  .news-card:hover .news-card__media img,
  .gallery__btn:hover img {
    transform: none;
  }
  .news-card:hover,
  .card.feature:hover {
    translate: none;
  }
  .site-nav__list a::after,
  .to-top,
  .lightbox__img,
  .footer__social {
    transition: none;
  }
  .form-success:not([hidden]) {
    animation: none;
  }
}

/* Meta line under prose (legal pages, faculty note) */
.section__meta {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
}
.section__meta a {
  color: var(--green-800);
}
.section__meta a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Topbar: phone only on small phones (email lives on the contact page + footer) */
@media (max-width: 480px) {
  .topbar__sep--email,
  .topbar__email {
    display: none;
  }
}

/* A 34-char email address must not push 320px layouts off-screen */
a[href^="mailto:"] {
  overflow-wrap: anywhere;
}

.section__meta--light {
  color: var(--green-200);
  border-top-color: rgba(255, 255, 255, 0.18);
}

/* Admissions application form — section groupings + document checklist */
.form-section { margin-top: 1.6rem; }
.form-section:first-child { margin-top: 0; }
.form-section__title {
  margin: 0 0 0.2rem;
  font-size: 1.15rem;
  color: var(--green-900, #0A4D26);
}
.form-section__sub { margin: 0 0 1rem; color: var(--muted, #556); font-size: 0.95rem; }
.doc-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.6rem 1rem;
  list-style: none;
  margin: 0 0 0.6rem;
  padding: 0;
}
.doc-list label {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.35;
  cursor: pointer;
}

/* Application-fee payment panel */
.pay-panel {
  margin-top: 1.2rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid #d7e6dd;
  border-radius: 12px;
  background: #f6fbf8;
}
.pay-panel__fee { margin: 0 0 0.3rem; font-size: 1rem; }
.pay-panel__fee strong { color: var(--green-900, #0A4D26); }
.pay-panel__status { margin: 0 0 0.9rem; color: var(--green-900, #0A4D26); font-weight: 500; }

/* Day / Month / Year date-of-birth selector */
.dob { display: flex; gap: 6px; }
.dob select { min-width: 0; }
@media (max-width: 480px) { .dob { flex-direction: column; } }
