:root {
  --ink: #172d38;
  --ink-deep: #0e2029;
  --leaf: #2d5d54;
  --leaf-dark: #21463f;
  --sage: #dce8df;
  --sand: #f8f3ea;
  --gold: #e7b257;
  --gold-light: #f7dfae;
  --clay: #c86c4c;
  --paper: #fffdf9;
  --text: #40525a;
  --line: rgba(23, 45, 56, 0.12);
  --display: Georgia, "Times New Roman", serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}

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

button:focus-visible,
a:focus-visible {
  border-radius: 0.35rem;
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  background: var(--ink);
  color: #fff;
  left: 1rem;
  padding: 0.6rem 0.85rem;
  position: fixed;
  top: -5rem;
  transition: top 0.2s ease;
  z-index: 3000;
}
.skip-link:focus { top: 1rem; }

.utility-bar {
  background: var(--ink-deep);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  padding: 0.54rem 0;
}
.utility-bar strong { color: #fff; font-weight: 600; }
.utility-bar .bi { color: var(--gold); }

.site-header {
  background: rgba(255, 253, 249, 0.94);
  border-bottom: 1px solid transparent;
  position: sticky;
  top: 0;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  z-index: 1030;
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(15, 38, 47, 0.06);
}
.school-site-header {
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.school-header-shell {
  align-items: center;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1440px;
  min-height: 86px;
  padding: 0 3.5rem;
}
.school-header-brand {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 0.8rem;
}
.school-header-mark {
  align-items: center;
  background: linear-gradient(145deg, #3c7567, var(--leaf-dark));
  border: 1px solid rgba(231, 178, 87, 0.65);
  border-radius: 0.9rem;
  box-shadow: 0 5px 14px rgba(33, 70, 63, 0.18);
  color: var(--gold-light);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1.3rem;
  height: 47px;
  justify-content: center;
  width: 47px;
}
.school-header-wordmark {
  display: grid;
  line-height: 1.12;
}
.school-header-wordmark strong {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 780;
  letter-spacing: -0.035em;
}
.school-header-wordmark small {
  color: var(--leaf);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  margin-top: 0.3rem;
  text-transform: uppercase;
}
.school-desktop-nav {
  align-items: center;
  display: flex;
  gap: clamp(0.15rem, 1vw, 0.9rem);
  justify-content: center;
}
.school-header-link {
  align-items: center;
  border-radius: 0.45rem;
  color: #44575d;
  display: inline-flex;
  font-size: 0.87rem;
  font-weight: 650;
  gap: 0.45rem;
  padding: 0.7rem 0.72rem;
  position: relative;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.school-header-link:hover,
.school-header-link.active {
  background: rgba(45, 93, 84, 0.08);
  color: var(--leaf-dark);
}
.school-header-link.active::after {
  background: var(--gold);
  border-radius: 2px;
  bottom: 0.18rem;
  content: "";
  height: 2px;
  left: 0.72rem;
  position: absolute;
  right: 0.72rem;
}
.school-header-link-chevron .bi {
  color: #84918d;
  font-size: 0.65rem;
}
.school-header-cta {
  align-items: center;
  background: var(--leaf);
  border: 1px solid var(--leaf);
  border-radius: 0.45rem;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.82rem;
  font-weight: 700;
  gap: 0.5rem;
  justify-content: center;
  padding: 0.72rem 0.95rem;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.school-header-cta:hover {
  background: var(--leaf-dark);
  border-color: var(--leaf-dark);
  color: #fff;
  transform: translateY(-1px);
}
.mobile-menu-toggle,
.mobile-menu-close {
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  color: var(--ink);
  display: inline-flex;
  height: 44px;
  justify-content: center;
  width: 44px;
}
.mobile-menu-toggle {
  display: none;
  font-size: 1.55rem;
}
.mobile-menu-backdrop {
  background: rgba(14, 32, 41, 0.48);
  inset: 0;
  opacity: 0;
  position: fixed;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  visibility: hidden;
  z-index: 1090;
}
.mobile-side-menu {
  background: var(--paper);
  box-shadow: -18px 0 50px rgba(14, 32, 41, 0.16);
  display: flex;
  flex-direction: column;
  height: 100dvh;
  max-width: min(410px, 88vw);
  padding: 1.5rem;
  position: fixed;
  right: 0;
  top: 0;
  transform: translateX(105%);
  transition: transform 0.28s ease, visibility 0.28s ease;
  visibility: hidden;
  width: 100%;
  z-index: 1100;
}
.mobile-menu-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}
.mobile-side-menu.is-open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-side-menu-top {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding-bottom: 1.25rem;
}
.mobile-menu-close {
  font-size: 1rem;
}
.mobile-side-nav {
  display: grid;
  gap: 0.35rem;
  padding: 1.4rem 0;
}
.mobile-side-nav a {
  align-items: center;
  border-radius: 0.55rem;
  color: #3e5057;
  display: flex;
  font-size: 1rem;
  font-weight: 650;
  justify-content: space-between;
  padding: 0.9rem 0.85rem;
}
.mobile-side-nav a:hover,
.mobile-side-nav a.active {
  background: var(--sage);
  color: var(--leaf-dark);
}
.mobile-side-nav .bi {
  color: var(--leaf);
  font-size: 0.78rem;
}
.mobile-profile-link {
  align-items: center;
  border: 1px solid rgba(45, 93, 84, 0.24);
  border-radius: 0.55rem;
  color: var(--leaf-dark);
  display: flex;
  font-size: 0.88rem;
  font-weight: 700;
  justify-content: space-between;
  margin-top: auto;
  padding: 0.9rem 1rem;
}
.mobile-profile-link:hover {
  background: var(--sage);
  color: var(--leaf-dark);
}
body.mobile-menu-open { overflow: hidden; }
.navbar { min-height: 78px; padding: 0.8rem 0; }
.navbar-brand { gap: 0.7rem; margin: 0; padding: 0; }
.brand-mark {
  align-items: flex-end;
  background: var(--leaf);
  border-radius: 50% 50% 44% 44%;
  display: flex;
  gap: 3px;
  height: 42px;
  justify-content: center;
  overflow: hidden;
  padding-bottom: 9px;
  position: relative;
  width: 42px;
}
.brand-mark::before {
  background: var(--gold);
  border-radius: 50%;
  content: "";
  height: 12px;
  position: absolute;
  right: 7px;
  top: 7px;
  width: 12px;
}
.brand-mark span {
  background: #fff;
  border-radius: 7px 7px 1px 1px;
  display: block;
  width: 4px;
}
.brand-mark span:nth-child(1) { height: 11px; }
.brand-mark span:nth-child(2) { height: 17px; }
.brand-mark span:nth-child(3) { height: 13px; }
.brand-copy { display: grid; line-height: 1.08; }
.brand-name { color: var(--ink); font-size: 0.93rem; font-weight: 750; letter-spacing: -0.03em; }
.brand-subtitle { color: var(--leaf); font-size: 0.71rem; font-weight: 700; letter-spacing: 0.09em; margin-top: 0.2rem; text-transform: uppercase; }
.navbar-nav { gap: 0.1rem; }
.navbar .nav-link {
  color: #3e5057;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.65rem 0.75rem;
  position: relative;
}
.navbar .nav-link::after {
  background: var(--gold);
  bottom: 0.35rem;
  content: "";
  height: 2px;
  left: 0.75rem;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
  width: calc(100% - 1.5rem);
}
.navbar .nav-link:hover,
.navbar .nav-link.active { color: var(--leaf); }
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after { transform: scaleX(1); }
.navbar-toggler { border-color: var(--line); box-shadow: none !important; padding: 0.45rem 0.55rem; }
.navbar-toggler-icon { height: 1.25rem; width: 1.25rem; }

.btn {
  align-items: center;
  border-radius: 0.35rem;
  display: inline-flex;
  font-size: 0.89rem;
  font-weight: 700;
  gap: 0.25rem;
  justify-content: center;
  letter-spacing: 0.01em;
  padding: 0.7rem 1.05rem;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-brand { background: var(--gold); border: 1px solid var(--gold); color: var(--ink); }
.btn-brand:hover { background: #f1c369; border-color: #f1c369; color: var(--ink); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.65); color: #fff; }
.btn-outline-light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-sm { font-size: 0.78rem; padding: 0.55rem 0.8rem; }
.btn-lg { font-size: 0.94rem; padding: 0.85rem 1.25rem; }

.hero-section {
  background: var(--ink);
  color: #fff;
  min-height: min(748px, calc(100vh - 78px));
  padding: clamp(4.5rem, 8vw, 8rem) 0 clamp(4rem, 7vw, 7rem);
  position: relative;
}
.hero-grid {
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  height: 100%;
  inset: 0;
  mask-image: linear-gradient(to right, rgba(0,0,0,0.85), transparent 78%);
  opacity: 0.42;
  position: absolute;
  width: 100%;
}
.hero-sun {
  background: #e9bd70;
  border-radius: 50%;
  filter: blur(0);
  height: 350px;
  opacity: 0.09;
  position: absolute;
  right: -125px;
  top: -100px;
  width: 350px;
}
.eyebrow, .section-kicker {
  align-items: center;
  color: var(--gold);
  display: flex;
  font-size: 0.73rem;
  font-weight: 800;
  gap: 0.5rem;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.eyebrow-dot { background: var(--gold); border-radius: 50%; height: 7px; width: 7px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); }
h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: -0.045em; line-height: 1.04; }
h1 { color: #fff; font-size: clamp(3.15rem, 6vw, 5.75rem); max-width: 760px; }
h1 em { color: var(--gold-light); font-style: italic; }
h2 { font-size: clamp(2.2rem, 3.8vw, 3.75rem); max-width: 700px; }
h3 { font-size: 1.1rem; font-weight: 750; letter-spacing: -0.025em; }
.hero-lede { color: rgba(255, 255, 255, 0.78); font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.75; margin: 1.5rem 0 2rem; max-width: 650px; }
.hero-note { align-items: center; color: rgba(255, 255, 255, 0.75); display: flex; font-size: 0.84rem; gap: 0.6rem; margin-top: 2rem; }
.hero-note .bi { color: var(--gold); }

.hero-visual { height: 500px; margin: 0 auto; max-width: 440px; position: relative; }
.home-hero-carousel {
  border: 10px solid rgba(255, 255, 255, 0.1);
  border-radius: 2rem 2rem 5rem 2rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.22);
  height: 440px;
  overflow: hidden;
  position: absolute;
  right: 0;
  top: 2rem;
  width: 100%;
}
.home-hero-carousel .carousel-inner,
.home-hero-carousel .carousel-item { height: 100%; }
.home-hero-photo { height: 100%; object-fit: cover; object-position: center; width: 100%; }
.home-hero-carousel .carousel-item::after {
  background: linear-gradient(180deg, transparent 42%, rgba(14, 32, 41, 0.78));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}
.home-carousel-caption {
  bottom: 3.2rem;
  color: #fff;
  left: 2rem;
  max-width: 78%;
  position: absolute;
  z-index: 2;
}
.home-carousel-caption span {
  color: var(--gold-light);
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}
.home-carousel-caption p {
  color: #fff;
  font-family: var(--display);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1.25;
  margin: 0;
}
.home-hero-carousel .carousel-indicators { margin-bottom: 1rem; z-index: 3; }
.home-hero-carousel .carousel-control-prev,
.home-hero-carousel .carousel-control-next {
  background: rgba(14, 32, 41, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  bottom: auto;
  height: 2.5rem;
  opacity: 0.9;
  top: 0.8rem;
  width: 2.5rem;
  z-index: 6;
}
.home-hero-carousel .carousel-control-prev { left: auto; right: 3.7rem; }
.home-hero-carousel .carousel-control-next { right: 0.8rem; }
.home-carousel-illustration {
  border: 0;
  border-radius: 0;
  bottom: 0;
  box-shadow: none;
  height: 100%;
  right: 0;
  width: 100%;
}
.school-illustration { background: #dbe7de; border: 12px solid rgba(255, 255, 255, 0.09); border-radius: 48% 48% 33% 33%; bottom: 0; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.22); height: 420px; overflow: hidden; position: absolute; right: 2%; width: 86%; }
.illustration-sky { background: linear-gradient(#b8d4d4, #e6eee0 72%); height: 58%; inset: 0 0 auto; position: absolute; }
.sun-disc { background: #efbd62; border-radius: 50%; height: 75px; position: absolute; right: 17%; top: 15%; width: 75px; }
.cloud { background: rgba(255,255,255,0.76); border-radius: 10rem; height: 12px; position: absolute; width: 48px; }
.cloud::before, .cloud::after { background: inherit; border-radius: 50%; content: ""; position: absolute; }
.cloud::before { height: 21px; left: 8px; top: -10px; width: 21px; }
.cloud::after { height: 15px; right: 7px; top: -6px; width: 15px; }
.cloud-one { left: 15%; top: 22%; transform: scale(0.76); }
.cloud-two { left: 45%; opacity: 0.62; top: 11%; transform: scale(0.54); }
.hill { border-radius: 50% 50% 0 0; bottom: 25%; position: absolute; }
.hill-back { background: #86a68f; height: 105px; left: -12%; width: 125%; }
.hill-front { background: #5e896f; bottom: 18%; height: 95px; left: 13%; width: 105%; }
.school-building { bottom: 20%; height: 128px; left: 21%; position: absolute; width: 61%; z-index: 2; }
.building-main { background: #ede3ca; bottom: 0; box-shadow: inset 0 -6px 0 rgba(158, 110, 58, 0.13); display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); height: 93px; padding: 20px 13px 18px; position: absolute; width: 100%; }
.building-main i { background: #47707a; border: 3px solid #f8f0da; border-radius: 1px; display: block; height: 19px; }
.roof { border-bottom: 24px solid #c8724e; border-left: 30px solid transparent; border-right: 30px solid transparent; height: 0; left: -9%; position: absolute; top: 0; width: 118%; z-index: 1; }
.building-door { background: #85523b; bottom: 0; height: 43px; left: 42%; position: absolute; width: 20%; z-index: 3; }
.path { background: #ebd8a9; bottom: -7%; clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%); height: 150px; left: 16%; opacity: 0.92; position: absolute; width: 68%; }
.tree { bottom: 24%; height: 106px; position: absolute; width: 45px; z-index: 3; }
.tree i:first-child { background: #b97a4c; bottom: 0; height: 45px; left: 20px; position: absolute; width: 8px; }
.tree i:last-child { background: #386e56; border-radius: 50% 50% 44% 44%; height: 61px; left: 0; position: absolute; top: 0; width: 45px; }
.tree-left { left: 8%; transform: scale(0.84); }
.tree-right { right: 7%; transform: scale(1.03); }
.visual-tag { background: var(--gold); border-radius: 100px; color: var(--ink); font-size: 0.73rem; font-weight: 800; left: 0; letter-spacing: 0.07em; padding: 0.65rem 0.9rem; position: absolute; text-transform: uppercase; top: 8%; z-index: 5; }
.hero-fact { align-items: center; backdrop-filter: blur(10px); background: rgba(255,255,255,0.92); border-radius: 0.5rem; box-shadow: 0 14px 35px rgba(11, 32, 40, 0.19); color: var(--ink); display: flex; gap: 0.7rem; padding: 0.85rem 1rem; position: absolute; z-index: 5; }
.hero-fact strong { color: var(--leaf); font-size: 1.35rem; letter-spacing: -0.06em; }
.hero-fact span { color: #55656a; font-size: 0.69rem; font-weight: 650; line-height: 1.35; }
.fact-students { right: -5%; top: 46%; }
.fact-levels { bottom: 2%; left: -2%; }

.section-space { padding: clamp(5rem, 9vw, 8rem) 0; }
.intro-section { background: var(--sand); }
.section-kicker { color: var(--leaf); }
.section-intro { color: #5d6b70; font-size: 1.04rem; line-height: 1.75; }
.approach-card { background: var(--paper); border: 1px solid rgba(23,45,56,0.07); border-radius: 0.4rem; height: 100%; padding: 2rem; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.approach-card:hover { box-shadow: 0 18px 35px rgba(23,45,56,0.07); transform: translateY(-6px); }
.approach-card-emphasis { background: var(--leaf); border-color: var(--leaf); }
.approach-card-emphasis h3, .approach-card-emphasis p { color: #fff; }
.approach-icon { align-items: center; background: var(--sage); border-radius: 50%; color: var(--leaf); display: inline-flex; font-size: 1.25rem; height: 45px; justify-content: center; margin-bottom: 1.6rem; width: 45px; }
.approach-card-emphasis .approach-icon { background: rgba(255,255,255,0.14); color: var(--gold-light); }
.approach-card p { color: #607075; font-size: 0.91rem; line-height: 1.65; margin-bottom: 0; }

.story-section { background: #fff; }
.story-card { background: var(--ink); color: #d7e1df; padding: clamp(2.2rem, 4vw, 4.25rem); position: relative; }
.story-card::after { border: 1px solid rgba(255, 255, 255, 0.12); content: ""; inset: 15px; pointer-events: none; position: absolute; }
.story-card-top { align-items: center; display: flex; justify-content: space-between; margin-bottom: 3rem; }
.story-overline { color: var(--gold); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.story-compass { align-items: center; border: 1px solid rgba(255,255,255,0.22); border-radius: 50%; color: var(--gold); display: flex; height: 42px; justify-content: center; width: 42px; }
.story-card h2 { color: #fff; font-size: clamp(2rem, 3vw, 3rem); position: relative; z-index: 1; }
.story-card p { font-size: 0.94rem; position: relative; z-index: 1; }
.story-principle { border-top: 1px solid rgba(255,255,255,0.16); color: #fff !important; font-family: var(--display); font-size: 1.15rem !important; font-style: italic; line-height: 1.45; margin-top: 2rem !important; padding-top: 1.4rem; position: relative; z-index: 1; }
.timeline { border-left: 1px solid #d5dfda; display: grid; gap: 1.6rem; margin-left: 0.5rem; padding-left: 1.6rem; }
.timeline-item { display: grid; gap: 0.7rem; grid-template-columns: 90px 1fr; position: relative; }
.timeline-item::before { background: var(--gold); border: 4px solid var(--paper); border-radius: 50%; box-shadow: 0 0 0 1px #d5dfda; content: ""; height: 13px; left: -1.99rem; position: absolute; top: 0.42rem; width: 13px; }
.timeline-date { color: var(--leaf); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.04em; padding-top: 0.11rem; text-transform: uppercase; }
.timeline-item h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.timeline-item p { color: #65747a; font-size: 0.88rem; line-height: 1.58; margin: 0; }

.metrics-section {
  background-color: var(--leaf-dark);
  background-image: linear-gradient(rgba(14, 32, 41, 0.82), rgba(14, 32, 41, 0.86)), url("../images/school%20children.jpeg");
  background-position: center 46%;
  background-size: cover;
  color: #fff;
  padding: clamp(5rem, 8vw, 7rem) 0;
}
.section-kicker-light { color: var(--gold-light); }
.metrics-heading h2 { color: #fff; }
.metric-grid { border: 1px solid rgba(255,255,255,0.2); margin-top: 2.8rem; }
.metric-item { border-right: 1px solid rgba(255,255,255,0.2); min-height: 180px; padding: 2rem clamp(1rem, 3vw, 2.5rem); }
.metric-item:last-child { border-right: 0; }
.metric-value { color: var(--gold-light); display: block; font-family: var(--display); font-size: clamp(2.8rem, 4vw, 4.2rem); font-weight: 500; letter-spacing: -0.07em; line-height: 1; }
.metric-item > span { display: block; font-size: 1rem; font-weight: 750; margin-top: 0.45rem; }
.metric-item small { color: rgba(255,255,255,0.68); display: block; font-size: 0.71rem; line-height: 1.5; margin-top: 0.45rem; }

.learning-section { background: var(--paper); }
.learning-card { border-radius: 0.4rem; height: 100%; min-height: 330px; padding: 2.2rem; position: relative; }
.learning-card .number { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; position: absolute; right: 2.1rem; top: 2.15rem; }
.card-icon { display: block; font-size: 2.3rem; margin-bottom: 3.5rem; }
.learning-card h3 { font-size: 1.32rem; }
.learning-card p { font-size: 0.91rem; line-height: 1.62; max-width: 290px; }
.learning-card ul { font-size: 0.78rem; font-weight: 650; line-height: 1.7; list-style: none; margin: 1.55rem 0 0; padding: 0; }
.learning-card li::before { content: "—"; margin-right: 0.45rem; }
.learning-card-gold { background: #f8e7c3; color: var(--ink); }
.learning-card-gold .card-icon, .learning-card-gold .number { color: #a26c24; }
.learning-card-ink { background: var(--ink); color: #dbe6e2; }
.learning-card-ink h3 { color: #fff; }
.learning-card-ink .card-icon, .learning-card-ink .number { color: var(--gold); }
.learning-card-sage { background: var(--sage); color: var(--ink); }
.learning-card-sage .card-icon, .learning-card-sage .number { color: var(--leaf); }

.life-section { background: #f2f5f1; }
.life-panel { background: #fff; border: 1px solid rgba(23,45,56,0.07); padding: clamp(2rem, 5vw, 5.5rem); }
.text-link { align-items: center; color: var(--leaf); display: inline-flex; font-size: 0.86rem; font-weight: 750; gap: 0.65rem; margin-top: 1rem; }
.text-link .bi { transition: transform 0.2s ease; }
.text-link:hover .bi { transform: translateX(4px); }
.care-list { border-top: 1px solid var(--line); }
.care-item { border-bottom: 1px solid var(--line); display: flex; gap: 1rem; padding: 1.4rem 0; }
.care-item > span { align-items: center; background: var(--sage); border-radius: 50%; color: var(--leaf); display: inline-flex; flex: 0 0 auto; height: 42px; justify-content: center; width: 42px; }
.care-item h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.care-item p { color: #6b787a; font-size: 0.86rem; line-height: 1.58; margin: 0; }

.location-section { background: var(--paper); padding: 0 0 clamp(5rem, 8vw, 7rem); }
.page-hero {
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  position: relative;
}
.page-hero::before {
  background: radial-gradient(circle, rgba(231, 178, 87, 0.2), transparent 68%);
  content: "";
  height: 560px;
  position: absolute;
  right: -140px;
  top: -250px;
  width: 560px;
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.8rem, 5.7vw, 5rem); max-width: 850px; }
.page-hero .hero-lede { max-width: 740px; }
.page-hero-art {
  border: 8px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.5rem 1.5rem 4rem 1.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  height: 300px;
  object-fit: cover;
  width: 100%;
}
.page-content-section { padding: clamp(4rem, 7vw, 6rem) 0; }
.page-content-section:nth-of-type(even) { background: var(--sand); }
.contact-section { background: #f7f8f7; padding: clamp(3.5rem, 7vw, 6rem) 0; }
.contact-layout {
  align-items: stretch;
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.2rem);
  grid-template-columns: minmax(290px, 0.95fr) minmax(0, 1.9fr);
}
.contact-intro-card {
  background: linear-gradient(150deg, rgba(10, 75, 45, 0.94), rgba(14, 28, 42, 0.97)), url("../images/happy%20community%20in%20ethiopia.jpeg") center / cover;
  border-radius: 1.5rem;
  box-shadow: 0 18px 42px rgba(17, 36, 31, 0.16);
  color: #fff;
  min-height: 610px;
  overflow: hidden;
  padding: clamp(2rem, 3.5vw, 2.8rem);
  position: relative;
}
.contact-intro-card::after {
  background: linear-gradient(145deg, transparent 56%, rgba(0, 0, 0, 0.18));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}
.contact-watermark {
  color: rgba(255, 255, 255, 0.12);
  font-size: 7rem;
  line-height: 1;
  position: absolute;
  right: 1.4rem;
  top: 1.5rem;
  transform: rotate(-12deg);
}
.contact-intro-content { position: relative; z-index: 1; }
.contact-intro-card h2 { color: #fff; font-size: clamp(1.9rem, 3vw, 2.35rem); margin-bottom: 0.6rem; }
.contact-intro-copy { color: rgba(255, 255, 255, 0.84); line-height: 1.65; margin-bottom: 2.2rem; max-width: 310px; }
.contact-details { display: grid; gap: 1.6rem; margin: 0; }
.contact-detail { align-items: flex-start; display: flex; gap: 1rem; }
.contact-detail-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.13);
  border-radius: 0.9rem;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1.15rem;
  height: 50px;
  justify-content: center;
  width: 50px;
}
.contact-detail h3 { color: #fff; font-size: 1.05rem; margin: 0.15rem 0 0.35rem; }
.contact-detail p,
.contact-detail a { color: rgba(255, 255, 255, 0.86); line-height: 1.6; margin: 0; overflow-wrap: anywhere; text-decoration: none; }
.contact-detail a:hover { color: #fff; text-decoration: underline; }
.contact-form-card {
  align-self: center;
  background: #fff;
  border: 1px solid rgba(23, 45, 56, 0.07);
  border-radius: 1.5rem;
  box-shadow: 0 16px 36px rgba(23, 45, 56, 0.11);
  padding: clamp(2rem, 4vw, 2.8rem);
}
.contact-form-card > .section-kicker { color: var(--leaf); margin-bottom: 0.45rem; }
.contact-form-card > h2 { font-size: clamp(1.8rem, 3vw, 2.2rem); margin-bottom: 2rem; }
.contact-form { display: flex; flex-direction: column; }
.contact-form-grid { display: grid; gap: 1.35rem 1.7rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-form-field { display: flex; flex-direction: column; gap: 0.55rem; }
.contact-form-field label { color: #566572; font-size: 0.91rem; }
.contact-form-field input,
.contact-form-field textarea {
  background: #f8f9fa;
  border: 1px solid #dce1e6;
  border-radius: 0.75rem;
  color: var(--ink);
  font: inherit;
  font-size: 0.96rem;
  outline: none;
  padding: 0.9rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
.contact-form-field input { min-height: 53px; }
.contact-form-field input::placeholder,
.contact-form-field textarea::placeholder { color: #8d9baa; opacity: 1; }
.contact-form-field input:focus,
.contact-form-field textarea:focus { border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(18, 99, 64, 0.12); }
.contact-form-field textarea { min-height: 165px; resize: vertical; }
.contact-form-wide { grid-column: 1 / -1; }
.contact-form-note { color: #69757f; font-size: 0.82rem; margin: 1rem 0 0; }
.contact-submit {
  align-items: center;
  align-self: flex-end;
  background: #111827;
  border: 0;
  border-radius: 0.8rem;
  box-shadow: 0 8px 16px rgba(17, 24, 39, 0.16);
  color: #fff;
  display: inline-flex;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 1.25rem;
  min-height: 56px;
  padding: 0.9rem 1.5rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.contact-submit:hover { background: #263349; transform: translateY(-1px); }
.page-info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  height: 100%;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.page-info-card .approach-icon { margin-bottom: 1.1rem; }
.page-info-card h2,
.page-info-card h3 { margin-bottom: 0.8rem; }
.page-info-card p:last-child { margin-bottom: 0; }
.project-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  height: 100%;
  overflow: hidden;
}
.project-card img {
  display: block;
  height: 285px;
  object-fit: cover;
  width: 100%;
}
.project-card-copy { padding: 1.5rem; }
.project-card-copy .section-kicker { font-size: 0.68rem; margin-bottom: 0.55rem; }
.project-card-copy h3 { margin-bottom: 0.6rem; }
.project-card-copy p { font-size: 0.92rem; margin-bottom: 0; }
.gallery-section { padding: clamp(3rem, 6vw, 5rem) 0; }
.gallery-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.gallery-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  margin: 0;
  overflow: hidden;
}
.gallery-card img {
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
  width: 100%;
}
.gallery-card:hover img { transform: scale(1.035); }
.gallery-card figcaption { color: var(--ink); font-size: 0.9rem; font-weight: 650; padding: 0.85rem 1rem 1rem; }
.page-highlight {
  background: var(--leaf);
  border-radius: 1rem;
  color: #fff;
  padding: clamp(2rem, 5vw, 3.5rem);
}
.page-highlight h2,
.page-highlight h3 { color: #fff; }
.page-highlight p { color: rgba(255, 255, 255, 0.82); }
.page-contact-card {
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  display: flex;
  gap: 1rem;
  height: 100%;
  padding: 1.4rem;
}
.page-contact-card > .bi {
  align-items: center;
  background: var(--sage);
  border-radius: 0.65rem;
  color: var(--leaf);
  display: inline-flex;
  flex: 0 0 auto;
  height: 44px;
  justify-content: center;
  width: 44px;
}
.page-contact-card h2,
.page-contact-card h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.page-contact-card p { margin-bottom: 0; }
.page-timeline .timeline-item { grid-template-columns: 105px 1fr; }
.page-timeline .timeline-item h3 { margin-bottom: 0.35rem; }
.page-timeline .timeline-item p { margin-bottom: 0; }
.location-panel { align-items: center; background: #e8efe8; display: flex; gap: 1.8rem; padding: clamp(2rem, 4vw, 3.5rem); }
.location-marker { align-items: center; background: var(--leaf); border-radius: 50%; color: var(--gold-light); display: flex; flex: 0 0 auto; font-size: 1.6rem; height: 67px; justify-content: center; width: 67px; }
.location-copy { flex: 1; }
.location-copy .section-kicker { margin-bottom: 0.7rem; }
.location-copy h2 { font-size: clamp(1.7rem, 2.7vw, 2.55rem); max-width: 680px; }
.location-copy p:last-child { font-size: 0.91rem; margin: 0.85rem 0 0; max-width: 730px; }

.school-footer {
  background: #090909;
  color: #898989;
  padding: clamp(3.5rem, 5vw, 4.5rem) 0 0;
}
.school-footer .container { max-width: 1280px; padding-left: 0; padding-right: 0; width: calc(100% - 6rem); }
.school-footer-grid {
  display: grid;
  gap: 2.5rem 3rem;
  grid-template-columns: minmax(260px, 1.5fr) minmax(160px, 0.8fr) minmax(220px, 1fr);
}
.school-footer-brand { align-items: center; display: inline-flex; gap: 1rem; }
.school-footer-mark {
  align-items: center;
  background: radial-gradient(circle at 33% 29%, #d6e952 0 10%, #91ae25 11% 52%, #34714a 53% 100%);
  border: 1px solid rgba(235, 241, 117, 0.62);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px rgba(10, 49, 34, 0.55);
  color: #f8fcaf;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1.25rem;
  height: 46px;
  justify-content: center;
  width: 46px;
}
.school-footer-wordmark { display: grid; line-height: 1.06; }
.school-footer-wordmark strong { color: #f3f3f3; font-size: 1.12rem; font-weight: 780; letter-spacing: -0.035em; }
.school-footer-wordmark small { color: #adadad; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.055em; margin-top: 0.22rem; text-transform: uppercase; }
.school-footer-summary { color: #949494; font-size: 0.92rem; line-height: 1.65; margin: 1.5rem 0 1.2rem; max-width: 380px; }
.school-footer-socials { display: flex; flex-wrap: wrap; gap: 0.76rem; }
.school-footer-social {
  align-items: center;
  background: #171717;
  border: 1px solid #2b2b2b;
  border-radius: 50%;
  color: #8e8e8e;
  display: inline-flex;
  font-size: 1.3rem;
  height: 55px;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  width: 55px;
}
.school-footer-social:hover { border-color: #00d794; color: #00d794; transform: translateY(-2px); }
.school-footer-action {
  border: 1px solid #008e69;
  border-radius: 999px;
  color: #00d99a;
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 740;
  justify-content: center;
  min-height: 44px;
  margin-top: 0.5rem;
  padding: 0.55rem 1rem;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  width: auto;
}
.school-footer-action:hover { background: #00d99a; color: #0a1915; transform: translateY(-2px); }
.school-footer-heading { color: #8c8c8c; font-family: var(--body); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; margin: 0 0 1.15rem; text-transform: uppercase; }
.school-footer-nav { list-style: none; margin: 0; padding: 0; }
.school-footer-nav li + li { margin-top: 0.5rem; }
.school-footer-nav a { color: #a0a0a0; font-size: 0.9rem; line-height: 1.4; transition: color 0.2s ease; }
.school-footer-nav a:hover { color: #f0f0f0; }
.school-footer-nav .school-footer-profile-link { color: #00d99a; display: inline-flex; gap: 0.42rem; margin-top: 0.28rem; }
.school-footer-profile-link span { transition: transform 0.2s ease; }
.school-footer-profile-link:hover span { transform: translateX(4px); }
.school-footer-contact-list { font-style: normal; margin: 0; }
.school-footer-contact-item { align-items: flex-start; color: #a0a0a0; display: flex; font-size: 0.9rem; gap: 0.75rem; line-height: 1.55; }
.school-footer-contact-item + .school-footer-contact-item { margin-top: 1.75rem; }
.school-footer-contact-icon {
  align-items: center;
  background: #171717;
  border: 1px solid #2c2c2c;
  border-radius: 0.75rem;
  color: #00d99a;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.9rem;
  height: 36px;
  justify-content: center;
  margin-top: 0.06rem;
  width: 36px;
}
.school-footer-bottom { border-top: 1px solid #222; color: #777; display: flex; font-size: 0.78rem; justify-content: space-between; margin-top: clamp(3rem, 5vw, 4rem); padding: 1.35rem 0 1.2rem; }
.school-footer-bottom p { margin: 0; }

.back-to-top { align-items: center; background: var(--gold); border: 0; border-radius: 50%; bottom: 1.25rem; box-shadow: 0 8px 20px rgba(23,45,56,0.16); color: var(--ink); display: flex; height: 44px; justify-content: center; opacity: 0; pointer-events: none; position: fixed; right: 1.25rem; transform: translateY(12px); transition: opacity 0.2s ease, transform 0.2s ease; width: 44px; z-index: 1020; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

@media (max-width: 1199.98px) {
  .school-header-shell { gap: 1rem; padding: 0 2rem; }
  .school-header-wordmark strong { font-size: 0.9rem; }
  .school-desktop-nav { gap: 0; }
  .school-header-link { font-size: 0.82rem; padding-inline: 0.55rem; }
  .school-header-link.active::after { left: 0.55rem; right: 0.55rem; }
  .school-header-cta { font-size: 0.76rem; padding-inline: 0.75rem; }
  .school-footer .container { width: calc(100% - 6rem); }
  .school-footer-grid { gap: 3.5rem 4rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .school-footer-intro { grid-column: 1 / -1; }
}

@media (max-width: 991.98px) {
  .school-header-shell { min-height: 74px; padding: 0 1.5rem; }
  .school-desktop-nav,
  .school-header-cta { display: none; }
  .mobile-menu-toggle { display: inline-flex; }
  .site-header { top: 0; }
  .navbar { min-height: 72px; }
  .navbar-collapse { background: var(--paper); border-top: 1px solid var(--line); margin: 0.85rem -0.75rem -0.8rem; padding: 0.75rem; }
  .navbar .btn { margin: 0.65rem 0 0; width: 100%; }
  .navbar .nav-link { padding-left: 0.35rem; }
  .navbar .nav-link::after { left: 0.35rem; width: 36px; }
  .hero-section { min-height: auto; }
  .hero-visual { margin-top: 0.5rem; }
  .location-panel { align-items: flex-start; flex-wrap: wrap; }
  .location-panel .btn { margin-left: 5.1rem; }
  .school-footer .container { width: calc(100% - 4rem); }
  .school-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .school-footer-intro { grid-column: 1 / -1; }
  .school-footer-summary { max-width: 520px; }
}

@media (min-width: 992px) and (max-width: 1099.98px) {
  .school-desktop-nav,
  .school-header-cta { display: none; }
  .mobile-menu-toggle { display: inline-flex; }
}

@media (max-width: 767.98px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-hero-carousel { height: 390px; }
  .home-carousel-caption { bottom: 3rem; left: 1.5rem; max-width: 75%; }
  .page-hero { padding: 4rem 0; }
  .page-hero-art { height: 240px; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-intro-card { min-height: auto; }
  .page-timeline .timeline-item { gap: 0.15rem; grid-template-columns: 1fr; }
  .school-header-shell { padding: 0 1.25rem; }
  h1 { font-size: clamp(2.8rem, 13vw, 4.25rem); }
  h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .hero-section { padding-top: 4.2rem; }
  .hero-visual { height: 430px; transform: scale(0.9); transform-origin: center top; margin-bottom: -2rem; }
  .intro-section .row.mb-5 { margin-bottom: 2.2rem !important; }
  .story-card { margin-inline: -0.25rem; }
  .timeline-item { grid-template-columns: 78px 1fr; }
  .metric-item:nth-child(2) { border-right: 0; }
  .metric-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.2); }
  .metric-item { min-height: 158px; padding: 1.5rem; }
  .location-panel .btn { margin-left: 0; width: 100%; }
  .location-marker { height: 56px; width: 56px; }
  .school-footer { padding-top: 4rem; }
  .school-footer .container { width: calc(100% - 3rem); }
  .school-footer-grid { gap: 3.25rem; grid-template-columns: 1fr; }
  .school-footer-intro { grid-column: auto; }
  .school-footer-brand { gap: 1.35rem; }
  .school-footer-bottom { align-items: flex-start; flex-direction: column; gap: 0.5rem; }
}

@media (max-width: 420px) {
  .gallery-grid { gap: 0.8rem; grid-template-columns: 1fr; }
  .gallery-card img { aspect-ratio: 16 / 10; }
  .home-hero-carousel { height: 355px; }
  .home-carousel-caption { bottom: 2.8rem; left: 1.1rem; max-width: 78%; }
  .page-hero-art { height: 210px; }
  .contact-form-grid { grid-template-columns: 1fr; }
  .contact-form-wide { grid-column: auto; }
  .contact-submit { align-self: stretch; }
  .school-header-shell { min-height: 68px; padding: 0 1rem; }
  .school-header-mark { height: 42px; width: 42px; }
  .school-header-wordmark strong { font-size: 0.9rem; }
  .school-header-wordmark small { font-size: 0.61rem; }
  .mobile-side-menu { padding: 1.25rem; }
  .brand-name { font-size: 0.82rem; }
  .brand-subtitle { font-size: 0.63rem; }
  .brand-mark { height: 38px; width: 38px; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { height: 400px; margin-left: 0; transform: scale(0.9); width: 100%; }
  .fact-students { right: 0; }
  .fact-levels { left: 0; }
  .school-footer .container { width: calc(100% - 2.5rem); }
  .school-footer-grid { grid-template-columns: 1fr; }
  .school-footer-intro { grid-column: auto; }
  .school-footer-brand { gap: 1rem; }
  .school-footer-mark { height: 46px; width: 46px; }
  .school-footer-wordmark strong { font-size: 1.12rem; }
  .school-footer-wordmark small { font-size: 0.72rem; }
  .school-footer-summary { font-size: 0.92rem; margin-top: 1.5rem; }
  .school-footer-social { height: 48px; width: 48px; }
  .school-footer-bottom { font-size: 0.78rem; margin-top: 3rem; }
}

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