@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap");

:root {
  --ink: #102b46;
  --ink-strong: #082139;
  --blue: #0d4f7a;
  --blue-soft: #e8f0f5;
  --red: #b9473d;
  --gold: #c7a15a;
  --gold-light: #e6c98a;
  --paper: #fffefa;
  --cream: #f5f1e8;
  --mist: #f2f5f6;
  --text: #3d5060;
  --muted: #5e7282;
  --line: #dfe5e7;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(16, 43, 70, 0.07);
  --shadow: 0 8px 32px rgba(16, 43, 70, 0.1);
  --shadow-lg: 0 20px 56px rgba(16, 43, 70, 0.14);
  --radius: 10px;
  --radius-sm: 6px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: var(--ink);
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 200ms ease, box-shadow 200ms ease;
}

a:hover {
  color: var(--red);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(199, 161, 90, 0.7);
  outline-offset: 4px;
}

.wrap,
.section,
.footer .wrap {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

/* ─── HEADER ─── */

.site-header {
  position: relative;
  z-index: 40;
  background: var(--white);
}

.topbar {
  background: var(--ink-strong);
  color: var(--white);
}

.topbar .wrap {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.top-logo {
  display: none;
}

.top-logo img {
  width: 100%;
  height: auto;
}

.top-widgets {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.header-widget {
  display: flex;
  align-items: center;
}

.header-icon {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  margin-right: 13px;
  border-radius: 50%;
  background: var(--gold);
}

.widget-copy {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-left: 0;
  border-left: 0;
}

.widget-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.68rem;
  line-height: 1.3;
  white-space: nowrap;
}

.widget-copy p + p::before {
  content: "·";
  margin-right: 9px;
  color: rgba(255, 255, 255, 0.3);
}

.widget-copy strong {
  color: var(--white);
  font-weight: 600;
}

/* ─── NAV ─── */

.nav {
  position: sticky;
  top: 0;
  z-index: 35;
  background: rgba(255, 255, 255, 0.96);
  border-top: 0;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
}

.nav .wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-mark {
  width: 62px;
  height: 62px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-title {
  color: var(--ink-strong);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1;
  text-transform: uppercase;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu a {
  position: relative;
  display: block;
  padding: 22px 0 20px;
  color: var(--ink);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 24px;
  text-transform: uppercase;
}

.menu a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
}

.menu a:hover,
.menu a[aria-current="page"] {
  color: var(--red);
}

.menu a:hover::after,
.menu a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 11px 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1),
.nav-toggle[aria-expanded="true"] span:nth-child(4) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ─── TYPOGRAPHY ─── */

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  color: var(--ink-strong);
  font-family: "Plus Jakarta Sans", sans-serif;
  line-height: 1.15;
}

h1,
h2 {
  letter-spacing: -0.03em;
}

/* ─── HERO ─── */

.hero {
  position: relative;
  min-height: min(580px, calc(100vh - 159px));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 26, 44, 0.82) 0%, rgba(6, 26, 44, 0.42) 52%, rgba(6, 26, 44, 0.06) 82%),
    linear-gradient(0deg, rgba(6, 26, 44, 0.38), transparent 50%);
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: -5%;
  background: url("../images/site/media/2022/07/sincerity-scaled.jpg") center 42% / cover no-repeat;
  animation: kenburns 20s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.07); }
}

.hero .section {
  position: relative;
  z-index: 2;
  padding-top: 72px;
  padding-bottom: 46px;
}

.hero .hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--red);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f2d69f;
}

.hero h1 {
  max-width: 1120px;
  color: var(--white);
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
}

.hero .motto {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.12em 0;
  letter-spacing: -0.04em;
}

.hero .motto-word {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s forwards;
}

.hero .motto-word:nth-child(1) { animation-delay: 0.1s; }
.hero .motto-word:nth-child(2) { animation-delay: 0.28s; }
.hero .motto-word:nth-child(3) { animation-delay: 0.46s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero .motto-word + .motto-word::before {
  content: "";
  width: 0.1em;
  height: 0.1em;
  margin: 0 0.34em;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold);
}

.hero-tagline {
  max-width: 820px;
  margin: 18px 0 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  font-weight: 400;
  line-height: 1.55;
  opacity: 0;
  animation: fadeUp 0.6s 0.6s forwards;
}

.hero p {
  max-width: 650px;
  margin: 28px 0 34px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.6vw, 1.17rem);
  line-height: 1.7;
}

.hero .actions {
  opacity: 0;
  animation: fadeUp 0.6s 0.76s forwards;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── BUTTONS ─── */

.button {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--white);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.button:hover,
.button.secondary {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(185, 71, 61, 0.3);
}

.button.outline {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.button.outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
}

.hero .button {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}

.hero .button:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink-strong);
  box-shadow: 0 8px 28px rgba(199,161,90,0.35);
}

.hero .button.outline {
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
  color: var(--white);
  box-shadow: none;
}

.hero .button.outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 48px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-facts span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-facts span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* ─── ANNOUNCEMENT / ADMISSION CALLOUT ─── */

.announcement {
  width: 100%;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
}

.announcement.admission-callout {
  width: 100%;
  margin: 0;
  background: linear-gradient(105deg, #1a3d58 0%, #0d4f7a 50%, #1a3d58 100%);
  border-bottom: none;
}

.announcement.admission-callout .inner {
  width: min(1200px, calc(100% - 48px));
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 0;
  margin: 0 auto;
}

.announcement.admission-callout h3 {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
}

.announcement.admission-callout p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.announcement.admission-callout .button {
  flex-shrink: 0;
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink-strong);
  animation: pulse-glow 2.5s ease-in-out infinite;
}

.announcement.admission-callout .button:hover {
  border-color: var(--gold-light);
  background: var(--gold-light);
  color: var(--ink-strong);
  animation: none;
  transform: translateY(-2px);
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 16px rgba(199,161,90,0.3); }
  50%       { box-shadow: 0 4px 28px rgba(199,161,90,0.6); }
}

.announcement .inner {
  width: min(1200px, calc(100% - 48px));
  min-height: 108px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.announcement .icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(16, 43, 70, 0.18);
  border-radius: 50%;
  color: var(--red);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.announcement h2,
.announcement h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

.announcement p {
  margin: 5px 0 0;
  color: var(--muted);
}

/* ─── SECTIONS ─── */

.section {
  padding-top: 62px;
  padding-bottom: 62px;
}

.section.tight {
  padding-top: 38px;
  padding-bottom: 38px;
}

.section.soft {
  width: 100%;
  max-width: none;
  background: var(--mist);
}

.section.soft > .inner,
.band > .inner {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.section-head {
  max-width: 780px;
  margin-bottom: 26px;
}

.section-head.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-head h1,
.section-head h2 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 700;
}

.section-head::after,
.divider::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-top: 16px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
}

.section-head.center::after,
.divider.center::after {
  margin-right: auto;
  margin-left: auto;
}

.lead {
  color: var(--text);
  font-size: 1.07rem;
}

/* ─── GRID ─── */

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

/* ─── CARDS ─── */

.card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 280ms ease, box-shadow 280ms ease;
  box-shadow: var(--shadow-sm);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card.pad {
  min-height: 100%;
  padding: 22px;
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 600ms ease;
}

.card:hover img {
  transform: scale(1.04);
}

.card h2 {
  margin-bottom: 16px;
  font-size: 1.55rem;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.03rem;
  font-weight: 600;
  line-height: 1.35;
}

.card .body {
  padding: 14px 16px 18px;
  border-top: 3px solid var(--gold);
}

.card .body p {
  margin: 8px 0 0;
}

/* ─── FEATURE ─── */

.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
}

.feature > div {
  max-width: 570px;
}

.feature h2 {
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 700;
}

.feature img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 26px 26px 0 var(--cream);
}

/* ─── SCHOOL INTRO ─── */

.school-intro {
  max-width: 840px;
  margin: 0 auto 32px;
  text-align: center;
}

.school-intro p {
  margin: 0 auto 26px;
  font-size: 1.06rem;
}

/* ─── FOUNDERS ─── */

.founders {
  display: grid;
  grid-template-columns: minmax(240px, 0.58fr) minmax(0, 1.42fr);
  gap: clamp(34px, 5vw, 62px);
  align-items: start;
}

.founder-portraits {
  display: grid;
  gap: 18px;
}

.founder-portraits .card img {
  aspect-ratio: 1 / 1;
  object-position: center top;
}

.founder-copy {
  max-width: 760px;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.85;
}

.founder-copy p {
  margin: 0 0 22px;
}

.founder-signature {
  color: var(--blue);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
}

/* ─── ACADEMICS STEPS ─── */

.grid.steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.program {
  min-height: 160px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: start;
  gap: 14px;
  padding: 20px;
  background: var(--white);
  transition: background 220ms ease;
}

.program:hover {
  background: #fafeff;
}

.program .num {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ink), var(--blue));
  color: var(--white);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
}

.program h3 {
  margin: 6px 0 12px;
  font-size: 1.06rem;
  font-weight: 600;
}

.program p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ─── STATS ─── */

.stats {
  width: 100%;
  max-width: none;
  padding-top: 44px;
  padding-bottom: 44px;
  background: linear-gradient(135deg, #0a2035 0%, #102b46 50%, #133352 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(199,161,90,0.08) 0%, transparent 60%),
                    radial-gradient(circle at 80% 50%, rgba(13,79,122,0.15) 0%, transparent 60%);
}

.stats .grid {
  position: relative;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.stat {
  min-height: 98px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  color: var(--gold-light);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.71rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ─── SPLIT PAGE HERO (SUBPAGES) ─── */

.split-page {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 400px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  background-color: var(--ink);
  background-position: center;
  background-size: cover;
  color: var(--white);
  border-bottom: 0;
}

.split-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 26, 44, 0.82) 0%, rgba(6, 26, 44, 0.44) 55%, rgba(6, 26, 44, 0.08) 85%),
    linear-gradient(0deg, rgba(6, 26, 44, 0.35), transparent 50%);
}

.split-about {
  background-image: url("../images/site/media/2022/03/the-school-img.jpg");
  background-position: center 48%;
}

.split-admission {
  background-image: url("../images/site/media/2022/03/pre-primary.jpg");
  background-position: center 42%;
}

.split-academics {
  background-image: url("../images/site/media/2022/03/higher.jpg");
  background-position: center 45%;
}

.split-co-scholastic {
  background-image: url("../images/site/media/2022/03/sports.jpg");
  background-position: center 48%;
}

.split-contact {
  background-image: url("../images/site/media/2022/03/banner-imag-1.jpg");
  background-position: center 42%;
}

.split-page .section-head {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 48px));
  margin: 0 0 48px max(24px, calc((100vw - 1200px) / 2));
  padding: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 0;
}

.split-page .section-head::after {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.split-page h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 700;
  text-shadow: 0 2px 16px rgba(6, 26, 44, 0.4);
}

.split-page p {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

.split-page .eyebrow {
  color: var(--gold-light);
  text-shadow: none;
}

/* ─── LIST ─── */

.list {
  margin: 20px 0 0;
  padding-left: 1.15rem;
}

.list li {
  margin-bottom: 11px;
}

.list li::marker {
  color: var(--gold);
}

/* ─── NOTICE ─── */

.notice {
  margin: 28px 0;
  padding: 17px 22px;
  border-left: 4px solid var(--gold);
  background: var(--cream);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink);
}

/* ─── CONTACT STRIP ─── */

.contact-strip {
  width: 100%;
  max-width: none;
  padding: 0;
  background: var(--ink);
  color: var(--white);
}

.contact-strip h2 {
  color: var(--white);
}

.contact-strip .inner {
  width: min(1200px, calc(100% - 48px));
  min-height: 108px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* ─── MAP ─── */

.map {
  width: 100%;
  min-height: 480px;
  display: block;
  border: 0;
  border-radius: var(--radius);
  filter: saturate(0.72) contrast(1.05);
}

/* ─── FOOTER ─── */

.footer {
  background: var(--ink-strong);
  color: rgba(255, 255, 255, 0.7);
}

.footer .grid {
  align-items: start;
  padding: 46px 0 36px;
}

.footer .grid > div + div {
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.10);
}

.footer .grid > div:first-child::before {
  content: "";
  display: block;
  width: min(300px, 100%);
  height: 62px;
  margin-bottom: 22px;
  background: url("../images/site/media/2022/04/lovedale-logo-full.png") left center / contain no-repeat;
}

.footer .grid > div:first-child h3 {
  display: none;
}

.footer h2,
.footer h3 {
  margin-bottom: 20px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer p {
  margin: 0 0 9px;
  font-size: 0.9rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.72);
}

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

.footer .social {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
}

.footer .social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.8);
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.footer .social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background-color: rgba(199, 161, 90, 0.1);
  transform: translateY(-2px);
}

.footer .social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-map {
  width: 100%;
  height: 160px;
  border: 0;
  border-radius: var(--radius-sm);
  filter: saturate(0.55) contrast(1.05);
}

.footer .bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.footer .back-to-top {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  text-decoration: none;
  transition: color 180ms;
}

.footer .back-to-top:hover {
  color: var(--gold);
}

/* ─── SCROLL REVEAL ANIMATIONS ─── */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }
.reveal-delay-6 { transition-delay: 0.48s; }
.reveal-delay-7 { transition-delay: 0.56s; }
.reveal-delay-8 { transition-delay: 0.64s; }

/* ─── RESPONSIVE ─── */

@media (max-width: 960px) {
  .topbar .wrap {
    gap: 22px;
  }

  .top-logo {
    width: min(310px, 34vw);
  }

  .time-widget {
    display: none;
  }

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

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

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

  .founders {
    grid-template-columns: minmax(220px, 0.5fr) minmax(0, 1.5fr);
    gap: 30px;
  }

  .feature > div {
    max-width: 760px;
  }

  .feature img {
    box-shadow: 18px 18px 0 var(--cream);
  }
}

@media (max-width: 760px) {
  body {
    font-size: 15px;
  }

  .wrap,
  .section,
  .footer .wrap {
    width: min(100% - 32px, 1200px);
  }

  .topbar {
    display: none;
  }

  .nav .wrap {
    min-height: 75px;
    justify-content: space-between;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    width: auto;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand-title {
    font-size: 1.15rem;
  }

  .nav-toggle {
    display: block;
  }

  .menu {
    position: fixed;
    top: 75px;
    right: 0;
    bottom: auto;
    left: 0;
    z-index: 1;
    height: calc(100vh - 75px);
    height: calc(100dvh - 75px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 30px 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--paper);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu li {
    border-bottom: 1px solid var(--line);
  }

  .menu a {
    padding: 17px 4px;
    font-size: 0.88rem;
  }

  .menu a::after {
    display: none;
  }

  .hero {
    min-height: 500px;
    align-items: end;
  }

  .hero .section {
    padding-top: 80px;
    padding-bottom: 42px;
  }

  .hero .motto {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    letter-spacing: -0.03em;
  }

  .hero .motto-word + .motto-word::before {
    display: none;
  }

  .hero-tagline {
    margin-top: 16px;
    margin-bottom: 24px;
  }

  .hero-br {
    display: none;
  }

  .hero-facts {
    gap: 10px 18px;
    margin-top: 34px;
  }

  .announcement .inner {
    width: min(100% - 32px, 1200px);
    grid-template-columns: auto 1fr;
    padding: 22px 0;
  }

  .announcement .button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .announcement.admission-callout {
    width: 100%;
    margin-top: 0;
  }

  .announcement.admission-callout .inner {
    width: min(100% - 32px, 1200px);
    padding: 22px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .announcement.admission-callout .button {
    width: 100%;
  }

  .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .section.soft > .inner,
  .band > .inner {
    width: min(100% - 32px, 1200px);
  }

  .section-head {
    margin-bottom: 20px;
  }

  .section-head h1,
  .section-head h2 {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

  .grid.two,
  .grid.three,
  .grid.four,
  .grid.steps {
    grid-template-columns: 1fr;
  }

  .grid.steps {
    gap: 1px;
  }

  .program {
    min-height: auto;
  }

  .feature {
    gap: 32px;
  }

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

  .founder-portraits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature img {
    box-shadow: 12px 12px 0 var(--cream);
  }

  .stats .grid {
    width: min(100% - 32px, 1200px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat {
    min-height: 110px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .stat:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .split-page {
    min-height: 340px;
  }

  .split-page .section-head {
    width: calc(100% - 32px);
    margin: 0 16px 36px;
    padding: 0;
  }

  .split-page h1 {
    font-size: clamp(2.1rem, 10vw, 2.9rem);
  }

  .contact-strip .inner {
    width: min(100% - 32px, 1200px);
    min-height: 132px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .footer .grid {
    padding-top: 46px;
    padding-bottom: 32px;
  }

  .footer .grid > div + div {
    padding-top: 22px;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    border-left: 0;
  }

  .footer .bottom {
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .hero .motto-word,
  .hero-tagline,
  .hero .actions {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero-bg {
    animation: none;
    inset: 0;
  }
}
