/* ==========================================================================
   SKD International School — Homepage
   Brand palette drawn from the school crest & existing site:
   maroon #911E18, deep maroon #732016, crest gold, warm cream.
   ========================================================================== */

:root {
  --maroon: #911e18;
  --maroon-deep: #6b120f;
  --maroon-soft: #a8342c;
  --maroon-ink: #3a0b09;
  --gold: #e0a43c;
  --gold-deep: #c0842a;
  --gold-soft: #f3d9a4;
  --cream: #fbf3e6;
  --cream-2: #f6e9d6;
  --paper: #fffdf9;
  --ink: #2b1a16;
  --body: #5e4b45;
  --muted: #8a736a;
  --line: rgba(145, 30, 24, 0.14);
  --line-strong: rgba(145, 30, 24, 0.28);

  --font-display: "Overlock", Georgia, serif;
  --font-body: "Poppins", system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 6px 18px rgba(75, 22, 14, 0.06);
  --shadow-md: 0 18px 44px rgba(75, 22, 14, 0.1);
  --shadow-lg: 0 30px 70px rgba(58, 11, 9, 0.18);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--maroon); color: var(--cream); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 44px);
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--maroon);
  color: #fff;
  border-radius: 8px;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 300;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-soft));
}

/* ---------- Typography ---------- */
h1, h2, h3, .brand__text strong {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.012em;
}

.section__title {
  font-size: clamp(2rem, 3.6vw, 3.05rem);
  line-height: 1.12;
  margin-bottom: 22px;
  text-wrap: balance;
}

.section__title--light { color: var(--cream); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--maroon);
}
.eyebrow__mark {
  display: inline-block;
  width: 30px;
  height: 2px;
  background: var(--gold);
  position: relative;
}
.eyebrow__mark::after {
  content: "";
  position: absolute;
  right: -3px;
  top: -2px;
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}
.eyebrow--light { color: var(--gold-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s,
    box-shadow 0.25s, border-color 0.25s;
}
.btn .icon { width: 17px; height: 17px; transition: transform 0.25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn--primary {
  background: var(--gold);
  color: #3b2009;
  box-shadow: 0 10px 24px rgba(192, 132, 42, 0.28);
}
.btn--primary:hover {
  background: var(--gold-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(192, 132, 42, 0.34);
}

.btn--ghost {
  background: transparent;
  color: var(--maroon);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  background: var(--maroon);
  border-color: var(--maroon);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--cream);
  border-color: rgba(243, 217, 164, 0.45);
}
.btn--outline:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #3b2009;
  transform: translateY(-2px);
}

.btn--lg { padding: 16px 30px; font-size: 14.5px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--maroon);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  transition: gap 0.25s var(--ease), border-color 0.25s;
}
.link-arrow:hover { gap: 14px; border-color: var(--gold); }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--maroon);
  color: rgba(255, 248, 238, 0.92);
  font-size: 12px;
  position: relative;
  z-index: 110;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 44px;
  padding-block: 7px;
}
.topbar__item {
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.02em;
}
.topbar__item .icon { width: 15px; height: 15px; color: var(--gold-soft); }
.topbar__phone { transition: color 0.2s; }
.topbar__phone:hover { color: var(--gold-soft); }

.topbar__right { display: flex; align-items: center; gap: 22px; }

.topbar__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(224, 164, 60, 0.16);
  border: 1px solid rgba(243, 217, 164, 0.35);
  color: var(--gold-soft);
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: 0 0 0 0 rgba(243, 217, 164, 0.7);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(243, 217, 164, 0.6); }
  70% { box-shadow: 0 0 0 7px rgba(243, 217, 164, 0); }
  100% { box-shadow: 0 0 0 0 rgba(243, 217, 164, 0); }
}

.topbar__social { display: flex; align-items: center; gap: 6px; }
.topbar__social a {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--maroon);
  background: rgba(255, 248, 238, 0.92);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.topbar__social a .icon { width: 13px; height: 13px; }
.topbar__social a:hover { background: var(--gold); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(58, 11, 9, 0.08);
  border-color: var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand__logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(145, 30, 24, 0.18));
  transition: transform 0.3s var(--ease);
}
.brand:hover .brand__logo { transform: rotate(-4deg) scale(1.04); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong {
  font-size: 27px;
  font-weight: 900;
  color: var(--maroon);
  letter-spacing: 0.02em;
}
.brand__text span {
  margin-top: 6px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav__list { display: flex; align-items: center; gap: 27px; }
.nav__link {
  position: relative;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  padding-block: 6px;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.28s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--maroon); }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }
.nav__cta { padding: 11px 19px; font-size: 13px; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--maroon);
  cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(52px, 7vw, 92px) clamp(64px, 8vw, 104px);
  background:
    radial-gradient(900px 480px at 92% 6%, rgba(224, 164, 60, 0.13), transparent 62%),
    radial-gradient(760px 540px at -8% 88%, rgba(145, 30, 24, 0.06), transparent 60%),
    var(--cream);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -6% -42% 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(224, 164, 60, 0.22);
  pointer-events: none;
}
.hero__watermark {
  position: absolute;
  right: -1.5%;
  top: 2%;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(180px, 27vw, 400px);
  line-height: 0.8;
  letter-spacing: 0.02em;
  color: rgba(145, 30, 24, 0.045);
  user-select: none;
  pointer-events: none;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}
.hero__copy { max-width: 660px; }
.hero__title {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.022em;
  margin-bottom: 26px;
  text-wrap: balance;
}
.hero__title .hero__title-accent { color: var(--maroon); }
.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-deep);
  position: relative;
  isolation: isolate;
}
.hero__title em::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: 4px;
  height: 8px;
  background: rgba(224, 164, 60, 0.24);
  border-radius: 999px;
  z-index: -1;
}
.hero__lead {
  max-width: 530px;
  font-size: clamp(15px, 1.15vw, 16.5px);
  line-height: 1.8;
  color: var(--body);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 46px;
}
.hero__proof li {
  display: flex;
  flex-direction: column;
  padding-right: 30px;
}
.hero__proof li + li {
  border-left: 1px solid var(--line-strong);
  padding-left: 30px;
}
.hero__proof strong {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 700;
  color: var(--maroon);
  line-height: 1.1;
}
.hero__proof span {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Hero media composition */
.hero__media {
  position: relative;
  min-height: 500px;
  display: flex;
  justify-content: flex-end;
}
.hero__ring {
  position: absolute;
  top: -26px;
  right: 2%;
  width: 330px;
  height: 330px;
  border: 1px dashed rgba(224, 164, 60, 0.55);
  border-radius: 50%;
}
.hero__frame {
  width: 82%;
  padding: 13px;
  background: linear-gradient(150deg, var(--gold-soft), var(--gold) 55%, var(--gold-deep));
  border-radius: 300px 300px 26px 26px;
  box-shadow: var(--shadow-lg);
}
.hero__frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 4.55;
  object-fit: cover;
  object-position: 55% 32%;
  border-radius: 288px 288px 18px 18px;
}
.hero__mini {
  position: absolute;
  left: -2%;
  bottom: 44px;
  width: 43%;
  padding: 8px 8px 9px;
  background: var(--paper);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transform: rotate(-3deg);
  z-index: 4;
}
.hero__mini img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
}
.hero__mini figcaption {
  padding-top: 8px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted);
}
.hero__stat-card {
  position: absolute;
  top: 26px;
  left: -4%;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}
.hero__stat-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(145, 30, 24, 0.08);
  color: var(--maroon);
}
.hero__stat-icon .icon { width: 20px; height: 20px; }
.hero__stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1;
  color: var(--maroon);
}
.hero__stat-card span {
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--muted);
}
.hero__seal {
  position: absolute;
  right: 0;
  bottom: 4px;
  width: 116px;
  height: 116px;
  z-index: 5;
  animation: seal-spin 30s linear infinite;
}
.seal-bg { fill: var(--maroon); }
.seal-line { fill: none; stroke: rgba(243, 217, 164, 0.55); stroke-width: 1; stroke-dasharray: 3 4; }
.seal-text {
  font-family: var(--font-body);
  font-size: 8.6px;
  font-weight: 600;
  letter-spacing: 0.16em;
  fill: var(--gold-soft);
}
.seal-star { fill: var(--gold); }
@keyframes seal-spin { to { transform: rotate(360deg); } }

/* ---------- Ticker ---------- */
.ticker {
  background: var(--maroon-deep);
  color: var(--cream);
  overflow: hidden;
  padding-block: 15px;
  border-block: 1px solid rgba(243, 217, 164, 0.18);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 42s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
  white-space: nowrap;
}
.ticker__group span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ticker__group i {
  font-style: normal;
  font-size: 9px;
  color: var(--gold);
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 8vw, 112px); }

/* ---------- About ---------- */
.about { background: var(--paper); }
.about__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: clamp(44px, 6vw, 84px);
}
.about__media { position: relative; padding-bottom: 46px; }
.about__media::before {
  content: "";
  position: absolute;
  inset: 18px -18px 64px 18px;
  border: 1px solid rgba(224, 164, 60, 0.45);
  border-radius: var(--radius-lg);
  pointer-events: none;
}
.about__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about__frame img {
  width: 100%;
  aspect-ratio: 5 / 5.15;
  object-fit: cover;
  object-position: 50% 40%;
  transition: transform 0.8s var(--ease);
}
.about__media:hover .about__frame img { transform: scale(1.03); }
.about__sub {
  position: absolute;
  right: -26px;
  bottom: 0;
  width: 46%;
  padding: 7px;
  background: var(--paper);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}
.about__sub img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
}
.about__tag {
  position: absolute;
  left: 20px;
  top: 20px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background: rgba(255, 253, 249, 0.95);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(224, 164, 60, 0.5);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--maroon);
}
.about__tag .icon { width: 15px; height: 15px; color: var(--gold-deep); }

.about__text { margin-bottom: 16px; font-size: 15px; line-height: 1.85; }
.about__checks {
  display: grid;
  gap: 11px;
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px dashed var(--line-strong);
}
.about__checks li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}
.about__checks .icon {
  width: 17px;
  height: 17px;
  margin-top: 4px;
  color: var(--gold-deep);
  stroke-width: 2.2;
}

/* ---------- Stats ---------- */
.stats {
  padding-block: clamp(44px, 5vw, 62px);
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(224, 164, 60, 0.12), transparent 70%),
    var(--cream);
  border-block: 1px solid rgba(145, 30, 24, 0.08);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding-inline: 16px;
}
.stat + .stat { border-left: 1px dashed var(--line-strong); }
.stat__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: rgba(145, 30, 24, 0.07);
  color: var(--maroon);
}
.stat__icon .icon { width: 21px; height: 21px; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 900;
  line-height: 1;
  color: var(--maroon);
  letter-spacing: -0.01em;
}
.stat__label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Vision ---------- */
.vision {
  position: relative;
  background:
    radial-gradient(700px 420px at 88% 8%, rgba(224, 164, 60, 0.16), transparent 62%),
    linear-gradient(160deg, #8e1d17 0%, var(--maroon-deep) 100%);
  color: rgba(255, 248, 238, 0.86);
  overflow: hidden;
}
.vision::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(243, 217, 164, 0.16) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.45;
  pointer-events: none;
}
.vision > .container { position: relative; z-index: 1; }
.vision__head { max-width: 620px; margin-bottom: clamp(36px, 4vw, 52px); }
.vision__head .section__title { margin-bottom: 0; }

.vision__grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 24px;
}
.vcard {
  position: relative;
  padding: clamp(30px, 3.4vw, 44px);
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.vcard::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), rgba(224, 164, 60, 0));
}
.vcard__no {
  position: absolute;
  right: 26px;
  top: 16px;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  color: rgba(145, 30, 24, 0.08);
}
.vcard__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: rgba(224, 164, 60, 0.18);
  color: var(--maroon);
}
.vcard__icon .icon { width: 24px; height: 24px; }
.vcard h3 {
  font-size: 26px;
  color: var(--maroon);
  margin-bottom: 12px;
}
.vcard p { font-size: 14.5px; line-height: 1.8; color: var(--body); }
.vcard__list { display: grid; gap: 11px; }
.vcard__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--body);
}
.vcard__list .icon {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  color: var(--gold-deep);
  stroke-width: 2.2;
}

.vision__quote {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(34px, 4vw, 48px);
  border-top: 1px dashed rgba(243, 217, 164, 0.35);
  text-align: center;
}
.vision__quote-icon {
  width: 38px;
  height: 38px;
  color: var(--gold);
  margin-bottom: 18px;
}
.vision__quote blockquote {
  max-width: 900px;
  margin-inline: auto;
  font-family: var(--font-display);
  font-size: clamp(21px, 2.5vw, 30px);
  font-style: italic;
  line-height: 1.45;
  color: var(--cream);
}
.vision__quote figcaption {
  margin-top: 18px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--gold-soft);
}

/* ---------- Why ---------- */
.why { background: var(--paper); }
.why__head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 40px;
  margin-bottom: clamp(38px, 4vw, 56px);
}
.why__head .section__title { margin-bottom: 0; }
.why__intro {
  font-size: 14.5px;
  line-height: 1.8;
  padding-left: 26px;
  border-left: 2px solid var(--gold);
  color: var(--body);
}
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  position: relative;
  padding: 34px 28px 32px;
  background: var(--cream);
  border: 1px solid rgba(145, 30, 24, 0.09);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), background 0.35s, box-shadow 0.35s,
    border-color 0.35s;
}
.feature::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}
.feature:hover {
  background: var(--maroon);
  border-color: var(--maroon);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.feature:hover::after { width: 100%; }
.feature__no {
  position: absolute;
  right: 22px;
  top: 14px;
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  color: rgba(145, 30, 24, 0.08);
  transition: color 0.35s;
}
.feature:hover .feature__no { color: rgba(243, 217, 164, 0.22); }
.feature__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid rgba(145, 30, 24, 0.1);
  color: var(--maroon);
  transition: background 0.35s, color 0.35s, border-color 0.35s;
}
.feature__icon .icon { width: 25px; height: 25px; }
.feature:hover .feature__icon {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--maroon-deep);
}
.feature h3 {
  font-size: 21px;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 10px;
  transition: color 0.35s;
}
.feature p {
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--body);
  transition: color 0.35s;
}
.feature:hover h3 { color: var(--cream); }
.feature:hover p { color: rgba(255, 248, 238, 0.78); }

/* ---------- Facilities ---------- */
.facilities {
  padding-block: clamp(30px, 3.6vw, 44px);
  background: var(--cream-2);
  border-block: 1px solid rgba(145, 30, 24, 0.08);
}
.facilities__inner {
  display: flex;
  align-items: center;
  gap: clamp(26px, 4vw, 54px);
}
.facilities__label {
  flex: none;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.facilities__label span { display: block; color: var(--maroon); }
.facilities__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  flex: 1;
}
.facilities__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  border-left: 1px dashed var(--line-strong);
  padding-left: 18px;
}
.facilities__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  background: var(--paper);
  color: var(--maroon);
  box-shadow: var(--shadow-sm);
}
.facilities__icon .icon { width: 18px; height: 18px; }

/* ---------- Team ---------- */
.team { background: var(--paper); }
.team__head { max-width: 620px; margin-inline: auto; text-align: center; margin-bottom: clamp(38px, 4vw, 54px); }
.team__head .eyebrow { justify-content: center; }
.team__intro { font-size: 14.5px; color: var(--body); }
.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.person {
  background: var(--cream);
  border: 1px solid rgba(145, 30, 24, 0.09);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.person:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.person__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 4.55;
  background: var(--cream-2);
}
.person__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(58, 11, 9, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.person:hover .person__media::after { opacity: 1; }
.person__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  transition: transform 0.7s var(--ease);
}
.person:hover .person__media img { transform: scale(1.06); }
.person__body { padding: 20px 20px 22px; }
.person__body h3 {
  font-size: 21px;
  color: var(--ink);
  line-height: 1.2;
}
.person__role {
  margin-top: 6px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.person__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--maroon);
  opacity: 0.85;
  transition: gap 0.25s, opacity 0.25s;
}
.person__link .icon { width: 14px; height: 14px; }
.person__link:hover { gap: 10px; opacity: 1; }

/* ---------- Gallery ---------- */
.gallery {
  position: relative;
  background:
    radial-gradient(760px 480px at 12% 0%, rgba(145, 30, 24, 0.55), transparent 65%),
    #22110f;
  color: rgba(255, 248, 238, 0.8);
  overflow: hidden;
}
.gallery__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: clamp(34px, 4vw, 50px);
}
.gallery__head .section__title { margin-bottom: 0; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 188px;
  gap: 14px;
}
.tile {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #1a0c0a;
  cursor: pointer;
  text-align: left;
}
.tile:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
.tile:nth-child(2) { grid-column: 3 / 5; grid-row: 1 / 2; }
.tile:nth-child(3) { grid-column: 3 / 4; grid-row: 2 / 4; }
.tile:nth-child(4) { grid-column: 4 / 5; grid-row: 2 / 3; }
.tile:nth-child(5) { grid-column: 1 / 3; grid-row: 3 / 4; }
.tile:nth-child(6) { grid-column: 4 / 5; grid-row: 3 / 4; }
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease), filter 0.5s;
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 10, 8, 0.82) 0%, transparent 58%);
  transition: opacity 0.4s;
}
.tile:hover img { transform: scale(1.06); }
.tile__cap {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tile__tag {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: #3b2009;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tile__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--cream);
}
.tile:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

/* ---------- Honours ---------- */
.honours { background: var(--cream); }
.honours__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}
.honours__copy > p { font-size: 14.5px; line-height: 1.85; }
.honours__list {
  display: grid;
  gap: 0;
  margin-top: 28px;
}
.honours__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 13px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px dashed var(--line-strong);
}
.honours__list li:first-child { border-top: 1px dashed var(--line-strong); }
.honours__list .icon { width: 19px; height: 19px; color: var(--gold-deep); }
.honours__media {
  position: relative;
  padding: 10px 0 44px 26px;
}
.honours__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.honours__photo img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  object-position: 50% 30%;
}
.honours__press {
  position: absolute;
  left: -14px;
  bottom: 0;
  width: 74%;
  padding: 8px 8px 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-3.5deg);
}
.honours__press img { border-radius: 6px; width: 100%; }
.honours__press figcaption {
  padding: 8px 6px 0;
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted);
}
.honours__press figcaption strong { color: var(--maroon); }

/* ---------- Admissions ---------- */
.admissions {
  position: relative;
  background:
    radial-gradient(900px 500px at 90% 0%, rgba(224, 164, 60, 0.18), transparent 60%),
    linear-gradient(150deg, #8e1d17 0%, var(--maroon-deep) 100%);
  color: rgba(255, 248, 238, 0.85);
  overflow: hidden;
}
.admissions::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(243, 217, 164, 0.15) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.4;
  pointer-events: none;
}
.admissions > .container { position: relative; z-index: 1; }
.admissions__grid {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  align-items: center;
  gap: clamp(36px, 5vw, 70px);
}
.admissions__lead {
  max-width: 480px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 248, 238, 0.8);
}
.admissions__list {
  display: grid;
  gap: 11px;
  margin-top: 26px;
}
.admissions__list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13.5px;
  color: var(--cream);
}
.admissions__list .icon {
  width: 16px;
  height: 16px;
  color: var(--gold);
  stroke-width: 2.4;
}
.admissions__contact {
  display: grid;
  gap: 12px;
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px dashed rgba(243, 217, 164, 0.3);
}
.admissions__contact a {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 14px;
  font-weight: 500;
  color: var(--cream);
  transition: color 0.2s;
}
.admissions__contact a:hover { color: var(--gold-soft); }
.admissions__contact-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(243, 217, 164, 0.35);
  background: rgba(255, 248, 238, 0.06);
  color: var(--gold-soft);
}
.admissions__contact-icon .icon { width: 18px; height: 18px; }
.admissions__contact small {
  display: block;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(243, 217, 164, 0.7);
}

/* Form */
.admissions__form-wrap { position: relative; }
.enquiry {
  padding: clamp(26px, 3.4vw, 42px);
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.enquiry__title { font-size: 27px; color: var(--maroon); margin-bottom: 6px; }
.enquiry__sub { font-size: 12.5px; line-height: 1.65; color: var(--muted); margin-bottom: 24px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field { margin-bottom: 14px; }
.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.field label span { color: var(--maroon); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--cream);
  border: 1px solid rgba(145, 30, 24, 0.16);
  border-radius: 10px;
  font-size: 13px;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field input::placeholder,
.field textarea::placeholder { color: #b09a8f; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-deep);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(224, 164, 60, 0.18);
}
.field textarea { resize: vertical; min-height: 78px; }
.select-wrap { position: relative; }
.field select {
  appearance: none;
  cursor: pointer;
  padding-right: 40px;
}
.select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 15px;
  height: 15px;
  color: var(--maroon);
  transform: translateY(-50%);
  pointer-events: none;
}
.field input.is-invalid,
.field select.is-invalid {
  border-color: #c0392b;
  background: #fdf3f2;
}
.enquiry .btn { margin-top: 6px; }
.enquiry__note {
  min-height: 20px;
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.5;
  color: #1f7a43;
  text-align: center;
}
.enquiry__note.is-error { color: #b3261e; }

/* ---------- Footer ---------- */
.footer {
  background:
    radial-gradient(700px 360px at 80% 0%, rgba(145, 30, 24, 0.5), transparent 65%),
    #320a08;
  color: rgba(255, 248, 238, 0.7);
  padding-top: clamp(54px, 6vw, 78px);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.72fr 1fr;
  gap: clamp(34px, 5vw, 72px);
  padding-bottom: clamp(38px, 4vw, 54px);
}
.brand--footer .brand__text strong { color: var(--cream); }
.brand--footer .brand__text span { color: rgba(243, 217, 164, 0.65); }
.footer__brand p {
  margin-top: 20px;
  max-width: 380px;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 248, 238, 0.62);
}
.footer__social { display: flex; gap: 9px; margin-top: 22px; }
.footer__social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(243, 217, 164, 0.28);
  color: var(--gold-soft);
  transition: background 0.2s, color 0.2s, transform 0.2s, border-color 0.2s;
}
.footer__social .icon { width: 15px; height: 15px; }
.footer__social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--maroon-deep);
  transform: translateY(-3px);
}
.footer__col h3 {
  font-size: 19px;
  color: var(--cream);
  margin-bottom: 20px;
  padding-bottom: 12px;
  position: relative;
}
.footer__col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--gold);
}
.footer__col ul { display: grid; gap: 10px; }
.footer__col ul a {
  font-size: 13px;
  color: rgba(255, 248, 238, 0.66);
  transition: color 0.2s, padding-left 0.2s;
}
.footer__col ul a:hover { color: var(--gold-soft); padding-left: 5px; }
.footer__contact p {
  display: flex;
  gap: 11px;
  font-size: 12.5px;
  line-height: 1.75;
  margin-bottom: 16px;
}
.footer__contact .icon {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  color: var(--gold);
}
.footer__contact a { transition: color 0.2s; }
.footer__contact a:hover { color: var(--gold-soft); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-block: 20px;
  border-top: 1px solid rgba(243, 217, 164, 0.14);
  font-size: 11.5px;
  color: rgba(255, 248, 238, 0.45);
}
@media (min-width: 721px) {
  .footer__bottom { padding-right: 190px; }
}
.footer__bottom strong { color: var(--gold-soft); font-weight: 600; }

/* ---------- Floating actions ---------- */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  background: var(--maroon);
  color: var(--cream);
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: 0 14px 30px rgba(58, 11, 9, 0.3);
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.whatsapp-float .icon { width: 22px; height: 22px; }
.whatsapp-float:hover {
  background: var(--gold);
  color: var(--maroon-deep);
  transform: translateY(-3px);
}
.to-top {
  position: fixed;
  right: 24px;
  bottom: 82px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(243, 217, 164, 0.4);
  border-radius: 50%;
  background: var(--paper);
  color: var(--maroon);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s,
    color 0.2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: #3b2009; }

/* ---------- Lightbox ---------- */
.lightbox {
  max-width: min(1080px, 92vw);
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: transparent;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(24, 8, 6, 0.88); backdrop-filter: blur(4px); }
.lightbox img {
  max-width: 100%;
  max-height: 78vh;
  margin-inline: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}
.lightbox figcaption {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-align: center;
  color: var(--cream);
}
.lightbox__close {
  position: absolute;
  right: -6px;
  top: -46px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(243, 217, 164, 0.5);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lightbox__close:hover { background: var(--gold); color: var(--maroon-deep); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.why__grid .reveal:nth-child(2),
.team__grid .reveal:nth-child(2),
.gallery__grid .reveal:nth-child(2) { transition-delay: 0.07s; }
.why__grid .reveal:nth-child(3),
.team__grid .reveal:nth-child(3),
.gallery__grid .reveal:nth-child(3) { transition-delay: 0.14s; }
.why__grid .reveal:nth-child(4),
.team__grid .reveal:nth-child(4),
.gallery__grid .reveal:nth-child(4) { transition-delay: 0.21s; }
.why__grid .reveal:nth-child(5) { transition-delay: 0.28s; }
.why__grid .reveal:nth-child(6) { transition-delay: 0.35s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav { gap: 20px; }
  .nav__list { gap: 18px; }
  .nav__link { font-size: 12.5px; }
  .hero__frame { width: 86%; }
}

@media (max-width: 1024px) {
  .topbar__place { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar__right { gap: 16px; }

  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 22px 26px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(58, 11, 9, 0.12);
  }
  .nav.is-open { display: flex; }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav__link {
    display: block;
    padding: 14px 4px;
    font-size: 15px;
    border-bottom: 1px dashed var(--line);
  }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: 18px; align-self: flex-start; }

  .hero { padding-top: 44px; }
  .hero__grid { grid-template-columns: 1fr; gap: 54px; }
  .hero__copy { max-width: 640px; }
  .hero__watermark { font-size: 300px; top: 0; opacity: 0.7; }
  .hero__media {
    width: min(560px, 100%);
    margin-inline: auto;
    min-height: 0;
  }
  .hero__frame { width: 78%; margin-left: auto; }
  .hero__stat-card { left: -2%; }

  .about__grid { grid-template-columns: 1fr; gap: 62px; }
  .about__media { width: min(560px, 100%); }
  .about__copy { max-width: 640px; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .stat + .stat { border-left: 0; }
  .stat:nth-child(even) { border-left: 1px dashed var(--line-strong); }

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

  .why__head { grid-template-columns: 1fr; gap: 22px; }
  .why__intro { max-width: 560px; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }

  .facilities__inner { flex-direction: column; align-items: flex-start; gap: 22px; }
  .facilities__list { grid-template-columns: repeat(3, 1fr); width: 100%; gap: 16px; }
  .facilities__list li { border-left: 0; padding-left: 0; }

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

  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .tile:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
  .tile:nth-child(2) { grid-column: 1 / 2; grid-row: 3 / 4; }
  .tile:nth-child(3) { grid-column: 2 / 3; grid-row: 3 / 5; }
  .tile:nth-child(4) { grid-column: 1 / 2; grid-row: 4 / 5; }
  .tile:nth-child(5) { grid-column: 1 / 2; grid-row: 5 / 6; }
  .tile:nth-child(6) { grid-column: 2 / 3; grid-row: 5 / 6; }

  .honours__grid { grid-template-columns: 1fr; gap: 48px; }
  .honours__media { max-width: 620px; }

  .admissions__grid { grid-template-columns: 1fr; gap: 44px; }
  .admissions__lead { max-width: 560px; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .topbar__phone { display: none; }
  .topbar__badge { font-size: 10.5px; }

  .header__inner { min-height: 72px; }
  .brand__logo { width: 50px; height: 50px; }
  .brand__text strong { font-size: 23px; }
  .brand__text span { font-size: 8px; }

  .hero__title { font-size: clamp(2.2rem, 8.4vw, 3rem); }
  .hero__proof { gap: 0; }
  .hero__proof li { padding-right: 20px; }
  .hero__proof li + li { padding-left: 20px; }
  .hero__proof strong { font-size: 23px; }
  .hero__proof span { font-size: 9.5px; letter-spacing: 0.12em; }
  .hero__frame { width: 88%; }
  .hero__stat-card { top: 16px; left: 0; padding: 10px 14px; }
  .hero__stat-card strong { font-size: 20px; }
  .hero__seal { width: 92px; height: 92px; }
  .hero__mini { width: 48%; bottom: 26px; left: 0; }

  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat__num { font-size: 38px; }

  .why__grid { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }

  .gallery__head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .gallery__grid { grid-auto-rows: 160px; gap: 10px; }
  .tile__title { font-size: 14px; }
  .tile__cap { left: 12px; right: 12px; bottom: 12px; }

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

  .honours__media { padding-left: 8px; }
  .honours__press { width: 82%; left: 0; }

  .field-row { grid-template-columns: 1fr; gap: 0; }
  .enquiry { padding: 26px 22px; }

  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: 14px; }

  .to-top { bottom: 78px; right: 22px; }

  .vision__quote blockquote { font-size: 20px; }
}

@media (max-width: 480px) {
  .topbar__social a { width: 24px; height: 24px; }
  .hero__actions .btn { width: 100%; }
  .hero__mini { display: none; }
  .hero__stat-card { left: auto; right: 0; top: 10px; }
  .about__sub { right: 0; width: 52%; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(even) { border-left: 0; }
  .stat { padding-inline: 6px; }
  .stat__label { letter-spacing: 0.12em; }
  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 210px; }
  .tile:nth-child(n) { grid-column: 1 / 2; grid-row: auto; }
  .tile:nth-child(1) { grid-row: span 2; }
  .eyebrow { font-size: 10.5px; letter-spacing: 0.16em; }
  .section__title { font-size: 1.9rem; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .ticker__track { animation: none; flex-wrap: wrap; width: 100%; }
  .ticker__group[aria-hidden="true"] { display: none; }
}
