:root {
  --ink: #102033;
  --muted: #607086;
  --line: #dbe2ea;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --warm: #fbf7ed;
  --navy: #102c57;
  --deep: #081322;
  --teal: #0f766e;
  --gold: #c3922e;
  --gold-soft: #f4d37b;
  --coral: #c85d4f;
  --shadow: 0 22px 70px rgba(16, 32, 51, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

body::selection {
  color: var(--deep);
  background: var(--gold-soft);
}

.scroll-progress {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  width: calc(var(--scroll-progress, 0) * 100%);
  height: 4px;
  background: linear-gradient(90deg, var(--gold-soft), var(--teal), var(--coral));
  box-shadow: 0 0 18px rgba(244, 211, 123, 0.55);
  transform-origin: left;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 38px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 58px);
  color: #fff;
  transition: background 240ms ease, box-shadow 240ms ease, padding 240ms ease;
  animation: headerDrop 700ms ease both;
}

.site-header.scrolled {
  top: 38px;
  padding-block: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 42px rgba(16, 32, 51, 0.1);
  backdrop-filter: blur(16px);
}

.top-strip {
  position: fixed;
  z-index: 21;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 32px);
  min-height: 38px;
  padding: 8px 18px;
  background: var(--deep);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 800;
  animation: stripSlide 700ms ease both;
  overflow: hidden;
}

.top-strip::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: translateX(-100%);
  animation: stripSheen 4.8s ease-in-out infinite;
}

.top-strip a {
  color: var(--gold-soft);
}

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

.brand-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 30px rgba(8, 19, 34, 0.18);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.brand:hover .brand-mark {
  transform: translateY(-2px) rotate(-2deg) scale(1.03);
  box-shadow: 0 18px 38px rgba(8, 19, 34, 0.26);
}

.brand-mark img {
  width: 44px;
  height: 44px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.site-header.scrolled .brand-mark {
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 32, 51, 0.12);
}

.brand small {
  margin-top: 3px;
  font-size: 0.72rem;
  color: currentColor;
  opacity: 0.72;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.94rem;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  transition: color 180ms ease, transform 180ms ease;
}

.main-nav a:hover {
  transform: translateY(-2px);
}

.main-nav a:not(.nav-cta)::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transition: width 200ms ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-cta::before,
.button::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.34) 48%, transparent 58%);
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

.nav-cta:hover::before,
.button:hover::before {
  transform: translateX(120%);
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #102033;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(16, 32, 51, 0.22);
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--teal), #0b5f72);
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  transition: transform 180ms ease, background 180ms ease;
}

.nav-toggle:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.24);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 188px clamp(18px, 5vw, 76px) 70px;
  color: #fff;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 130px;
  content: "";
  background: linear-gradient(0deg, rgba(8, 19, 34, 0.9), rgba(8, 19, 34, 0));
  pointer-events: none;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  animation: heroZoom 14s ease-in-out infinite alternate;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 19, 34, 0.9) 0%, rgba(8, 19, 34, 0.62) 42%, rgba(8, 19, 34, 0.1) 100%),
    linear-gradient(0deg, rgba(8, 19, 34, 0.48), rgba(8, 19, 34, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  transform: translateY(calc(var(--hero-parallax, 0) * 28px));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.96;
  text-wrap: balance;
  animation: headlineSettle 900ms ease both;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.75;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-trust span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
  animation: chipFloat 4.2s ease-in-out infinite;
}

.hero-trust span:nth-child(2) {
  animation-delay: 0.35s;
}

.hero-trust span:nth-child(3) {
  animation-delay: 0.7s;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-panel {
  position: absolute;
  right: clamp(18px, 5vw, 76px);
  bottom: 54px;
  z-index: 2;
  width: min(320px, calc(100% - 36px));
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  animation: panelFloat 5.4s ease-in-out infinite;
}

.hero-panel a {
  display: inline-flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  border-radius: 8px;
  background: rgba(244, 211, 123, 0.95);
  color: var(--deep);
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero-panel a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(8, 19, 34, 0.18);
}

.hero-panel span,
.hero-panel p {
  color: rgba(255, 255, 255, 0.8);
}

.hero-panel strong {
  display: block;
  margin: 8px 0;
  color: #fff;
  font-size: 3.2rem;
}

.section,
.section-band {
  padding: 96px clamp(18px, 5vw, 76px);
}

.section-band {
  background: var(--navy);
}

.credibility {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.credibility span {
  min-height: 78px;
  display: grid;
  place-items: center;
  padding: 18px;
  background: var(--warm);
  color: #6d551b;
  font-size: 0.86rem;
  font-weight: 900;
  text-align: center;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

.credibility span:hover {
  transform: translateY(-4px);
  background: #fff;
  color: var(--navy);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding-block: 0;
}

.stat {
  min-height: 168px;
  padding: 38px 24px;
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
  position: relative;
  overflow: hidden;
  transition: background 220ms ease, transform 220ms ease;
}

.stat::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(135deg, transparent, rgba(244, 211, 123, 0.12), transparent);
  transform: translateY(100%);
  transition: transform 420ms ease;
}

.stat:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.09);
}

.stat:hover::after {
  transform: translateY(0);
}

.stat strong {
  display: block;
  margin-bottom: 8px;
  color: #f7c965;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.stat span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

.section-heading h2,
.section-copy h2,
.contact-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.04;
}

.section-heading p,
.section-copy p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.75;
}

.program-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
}

.program-tabs {
  display: grid;
  gap: 12px;
  align-content: start;
}

.program-tabs button {
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-align: left;
  padding: 0 18px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
  position: relative;
  overflow: hidden;
}

.program-tabs button::after {
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  content: "";
  background: var(--gold-soft);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.program-tabs button.active,
.program-tabs button:hover {
  background: var(--navy);
  color: #fff;
  transform: translateX(4px);
}

.program-tabs button.active::after,
.program-tabs button:hover::after {
  transform: scaleX(1);
}

.program-card {
  min-height: 360px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(16, 44, 87, 0.96), rgba(15, 118, 110, 0.88)),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.14), transparent 34%);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.program-card::after {
  position: absolute;
  inset: -70px -120px auto auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  content: "";
  background: rgba(244, 211, 123, 0.18);
  animation: softOrbit 8s ease-in-out infinite;
}

.why-section {
  background:
    linear-gradient(180deg, #fff 0%, var(--warm) 100%);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.why-card {
  position: relative;
  min-height: 270px;
  padding: 26px;
  border: 1px solid rgba(195, 146, 46, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 46px rgba(16, 32, 51, 0.08);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.why-card::after {
  position: absolute;
  inset: auto -60px -70px auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  content: "";
  background: rgba(15, 118, 110, 0.1);
}

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

.why-card:hover .card-icon {
  animation: iconPulse 680ms ease;
}

.card-icon {
  display: inline-grid;
  width: 50px;
  height: 50px;
  place-items: center;
  margin-bottom: 34px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--gold-soft);
  font-weight: 900;
}

.why-card p {
  color: var(--muted);
  line-height: 1.65;
}

.program-card h3 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.program-card p,
.program-card li {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
}

.program-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding-left: 20px;
}

.split {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(320px, 1fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
  background: var(--soft);
}

.campus-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.facility-card {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  isolation: isolate;
  transform: translateZ(0);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.facility-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 72px rgba(16, 32, 51, 0.2);
}

.facility-card::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background-size: cover;
  background-position: center;
  transition: transform 400ms ease;
}

.facility-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(0deg, rgba(16, 32, 51, 0.72), transparent);
}

.facility-card:hover::before {
  transform: scale(1.08);
}

.facility-card span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: #fff;
  font-weight: 800;
}

.facility-card.lab::before {
  background-image:
    linear-gradient(135deg, rgba(23, 58, 103, 0.75), rgba(15, 118, 110, 0.55)),
    url("assets/school-hero.png");
}

.facility-card.library::before {
  background-image:
    linear-gradient(135deg, rgba(109, 63, 47, 0.85), rgba(200, 93, 79, 0.6)),
    url("assets/school-hero.png");
  background-position: 60% 52%;
}

.facility-card.sports {
  grid-column: span 2;
}

.facility-card.sports::before {
  background-image:
    linear-gradient(135deg, rgba(16, 44, 87, 0.8), rgba(47, 125, 95, 0.56)),
    url("assets/school-hero.png");
  background-position: 70% 70%;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.feature-grid div {
  min-height: 116px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.feature-grid div:hover {
  transform: translateY(-5px);
  border-color: rgba(15, 118, 110, 0.28);
  box-shadow: 0 18px 42px rgba(16, 32, 51, 0.1);
}

.feature-grid strong,
.feature-grid span {
  display: block;
}

.feature-grid span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.admissions {
  background: #fff;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}

.timeline::before {
  position: absolute;
  top: 52px;
  left: 5%;
  right: 5%;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(195, 146, 46, 0.55), transparent);
  transform: scaleX(0);
  transform-origin: left;
  animation: lineGrow 1.2s ease forwards;
  animation-play-state: paused;
}

.timeline:has(.visible)::before {
  animation-play-state: running;
}

.step,
.event-card,
.enquiry-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(16, 32, 51, 0.08);
}

.step {
  min-height: 240px;
  padding: 28px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.step:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.step span {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 8px;
  background: #f3e2b7;
  color: #7e5a12;
  font-weight: 800;
  transition: transform 220ms ease;
}

.step:hover span {
  transform: rotate(-3deg) scale(1.06);
}

.step p,
.event-card p {
  color: var(--muted);
  line-height: 1.65;
}

.events {
  background: var(--soft);
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.event-card {
  min-height: 230px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.event-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(135deg, rgba(244, 211, 123, 0.18), transparent 48%);
  opacity: 0;
  transition: opacity 220ms ease;
}

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

.event-card:hover::before {
  opacity: 1;
}

.event-card span {
  color: var(--coral);
  font-weight: 800;
}

.voice-section {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(300px, 0.82fr);
  gap: clamp(26px, 5vw, 62px);
  align-items: stretch;
  background: var(--warm);
}

.principal-note {
  min-height: 370px;
  padding: clamp(28px, 5vw, 54px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(8, 19, 34, 0.94), rgba(16, 44, 87, 0.9)),
    radial-gradient(circle at 80% 18%, rgba(244, 211, 123, 0.22), transparent 30%);
  color: #fff;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.principal-note::after {
  position: absolute;
  inset: auto auto -90px -70px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  content: "";
  background: rgba(244, 211, 123, 0.12);
  animation: softOrbit 9s ease-in-out infinite reverse;
}

.principal-note blockquote {
  margin: 0 0 24px;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.18;
}

.principal-note cite {
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
  font-weight: 800;
}

.testimonial-stack {
  display: grid;
  gap: 18px;
}

.testimonial-stack article {
  padding: 28px;
  border: 1px solid rgba(195, 146, 46, 0.22);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(16, 32, 51, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.testimonial-stack article:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
}

.testimonial-stack p {
  color: var(--muted);
  line-height: 1.7;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(300px, 520px);
  gap: clamp(34px, 6vw, 82px);
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.05), transparent),
    radial-gradient(circle at 84% 18%, rgba(244, 211, 123, 0.16), transparent 26%);
  animation: contactWash 8s ease-in-out infinite;
  pointer-events: none;
}

.contact-section > * {
  position: relative;
  z-index: 1;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.enquiry-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  color: var(--ink);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

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

.enquiry-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  color: var(--ink);
  font: inherit;
  resize: vertical;
  outline: none;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--teal);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 76px);
  background: #081322;
  color: rgba(255, 255, 255, 0.8);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 44px;
  height: 44px;
}

.site-footer p {
  margin: 0;
  font-weight: 800;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.985);
  transition: opacity 780ms ease, transform 780ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

.why-card.visible,
.event-card.visible,
.step.visible {
  animation: floatIn 650ms ease both;
}

@keyframes heroZoom {
  from {
    transform: scale(calc(1.02 + var(--hero-parallax, 0) * 0.035));
  }
  to {
    transform: scale(calc(1.075 + var(--hero-parallax, 0) * 0.035));
  }
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes stripSlide {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes stripSheen {
  0%, 45% {
    transform: translateX(-110%);
  }
  75%, 100% {
    transform: translateX(110%);
  }
}

@keyframes headlineSettle {
  from {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes chipFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes panelFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes softOrbit {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-18px, 16px) scale(1.12);
  }
}

@keyframes iconPulse {
  0%, 100% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.12) rotate(-3deg);
  }
}

@keyframes lineGrow {
  to {
    transform: scaleX(1);
  }
}

@keyframes contactWash {
  0%, 100% {
    opacity: 0.75;
    transform: translateX(-2%);
  }
  50% {
    opacity: 1;
    transform: translateX(2%);
  }
}

@keyframes floatIn {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Extra premium motion layer */
:root {
  --mx: 50%;
  --my: 50%;
}

body {
  overflow-x: hidden;
}

.brand-mark {
  animation: crestBreath 4.5s ease-in-out infinite;
}

.hero-aurora {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(244, 211, 123, 0.2), transparent 24%),
    linear-gradient(110deg, transparent 12%, rgba(255, 255, 255, 0.12) 34%, transparent 58%);
  mix-blend-mode: screen;
  opacity: 0.78;
  transform: translateX(-12%);
  animation: auroraSweep 8s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

.hero-particles span {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(244, 211, 123, 0.82);
  box-shadow: 0 0 26px rgba(244, 211, 123, 0.72);
  opacity: 0.7;
  animation: particleDrift 9s ease-in-out infinite;
}

.hero-particles span:nth-child(1) {
  left: 13%;
  top: 24%;
}

.hero-particles span:nth-child(2) {
  left: 42%;
  top: 17%;
  animation-delay: 1.5s;
  animation-duration: 11s;
}

.hero-particles span:nth-child(3) {
  left: 72%;
  top: 38%;
  animation-delay: 0.8s;
  animation-duration: 10s;
}

.hero-particles span:nth-child(4) {
  left: 84%;
  top: 68%;
  animation-delay: 2.2s;
}

.hero-particles span:nth-child(5) {
  left: 26%;
  top: 78%;
  animation-delay: 3s;
  animation-duration: 12s;
}

.hero-content,
.hero-panel {
  z-index: 4;
}

.hero-panel {
  transform-style: preserve-3d;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.hero-panel:hover {
  transform: perspective(900px) rotateX(4deg) rotateY(-6deg) translateY(-7px);
  box-shadow: 0 30px 90px rgba(8, 19, 34, 0.28);
}

.achievement-marquee {
  overflow: hidden;
  border-block: 1px solid rgba(195, 146, 46, 0.18);
  background: #fff;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 34px;
  padding: 18px 0;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
  animation: marqueeMove 26s linear infinite;
}

.marquee-track span {
  position: relative;
  padding-left: 24px;
  white-space: nowrap;
}

.marquee-track span::before {
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: var(--gold);
  box-shadow: 0 0 18px rgba(195, 146, 46, 0.55);
  transform: translateY(-50%);
}

.stat strong {
  text-shadow: 0 0 20px rgba(247, 201, 101, 0.18);
  transition: text-shadow 220ms ease, transform 220ms ease;
}

.stat:hover strong {
  transform: translateY(-2px) scale(1.04);
  text-shadow: 0 0 28px rgba(247, 201, 101, 0.48);
}

.why-card,
.feature-grid div,
.event-card,
.testimonial-stack article {
  transform-style: preserve-3d;
}

.why-card::before,
.event-card::after,
.feature-grid div::before,
.testimonial-stack article::before {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(244, 211, 123, 0.26), transparent 32%);
  transition: opacity 180ms ease;
  pointer-events: none;
}

.why-card:hover::before,
.event-card:hover::after,
.feature-grid div:hover::before,
.testimonial-stack article:hover::before {
  opacity: 1;
}

.why-card:hover {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-8px);
}

.campus-visual {
  position: relative;
}

.campus-orbit {
  position: absolute;
  inset: -28px;
  z-index: 0;
  border: 1px solid rgba(195, 146, 46, 0.22);
  border-radius: 12px;
  pointer-events: none;
  animation: orbitFrame 8s ease-in-out infinite;
}

.campus-orbit span {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: 0 0 24px rgba(244, 211, 123, 0.8);
  animation: orbitDot 5s linear infinite;
}

.campus-orbit span:nth-child(1) {
  left: 12%;
  top: -5px;
}

.campus-orbit span:nth-child(2) {
  right: -5px;
  top: 48%;
  animation-delay: 1.4s;
}

.campus-orbit span:nth-child(3) {
  left: 44%;
  bottom: -5px;
  animation-delay: 2.8s;
}

.facility-card {
  z-index: 1;
}

.feature-grid div,
.step,
.testimonial-stack article {
  position: relative;
  overflow: hidden;
}

.step::after {
  position: absolute;
  inset: auto 18px 18px auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  content: "";
  background: rgba(15, 118, 110, 0.1);
  transform: scale(0.4);
  opacity: 0;
  transition: transform 260ms ease, opacity 260ms ease;
}

.step:hover::after {
  transform: scale(1);
  opacity: 1;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  transform: translateY(-2px);
}

.reveal.visible .card-icon,
.step.visible span {
  animation: popOnce 700ms ease both;
}

@keyframes crestBreath {
  0%, 100% {
    filter: drop-shadow(0 0 0 rgba(244, 211, 123, 0));
  }
  50% {
    filter: drop-shadow(0 0 12px rgba(244, 211, 123, 0.45));
  }
}

@keyframes auroraSweep {
  0% {
    opacity: 0.55;
    transform: translateX(-12%) skewX(-8deg);
  }
  100% {
    opacity: 0.9;
    transform: translateX(12%) skewX(8deg);
  }
}

@keyframes particleDrift {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.25;
  }
  45% {
    transform: translate3d(24px, -36px, 0) scale(1.45);
    opacity: 0.85;
  }
  70% {
    transform: translate3d(-18px, -58px, 0) scale(0.9);
    opacity: 0.45;
  }
}

@keyframes marqueeMove {
  to {
    transform: translateX(-50%);
  }
}

@keyframes orbitFrame {
  0%, 100% {
    transform: scale(1);
    opacity: 0.62;
  }
  50% {
    transform: scale(1.025);
    opacity: 1;
  }
}

@keyframes orbitDot {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(12px, -10px) scale(1.28);
  }
}

@keyframes popOnce {
  0% {
    transform: scale(0.78);
  }
  58% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
  }
}

@media (max-width: 960px) {
  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 18px;
    right: 18px;
    display: grid;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    padding: 16px;
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow);
    transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-toggle {
    display: block;
    color: currentColor;
  }

  .hero {
    min-height: 860px;
    align-items: center;
    padding-top: 170px;
  }

  .hero-panel {
    left: clamp(18px, 5vw, 76px);
    right: auto;
    bottom: 36px;
  }

  .stats,
  .timeline,
  .event-grid,
  .why-grid,
  .credibility,
  .split,
  .contact-section,
  .voice-section {
    grid-template-columns: 1fr 1fr;
  }

  .program-shell {
    grid-template-columns: 1fr;
  }

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

  .program-tabs button {
    text-align: center;
  }

  .contact-section,
  .split,
  .voice-section {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    display: none;
  }

  .campus-orbit {
    display: none;
  }
}

@media (max-width: 640px) {
  .brand {
    min-width: 0;
  }

  .top-strip {
    display: none;
  }

  .site-header {
    top: 0;
    gap: 12px;
    padding-inline: 16px;
  }

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

  .brand-mark img {
    width: 39px;
    height: 39px;
  }

  .brand strong {
    font-size: 0.9rem;
  }

  .brand small {
    font-size: 0.68rem;
  }

  .hero {
    display: block;
    min-height: auto;
    padding-top: 112px;
    padding-bottom: 44px;
  }

  h1 {
    font-size: 2.7rem;
    line-height: 1.02;
  }

  .hero-copy {
    font-size: 1rem;
    line-height: 1.62;
  }

  .hero-panel {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 26px;
    animation: none;
  }

  .hero-aurora {
    opacity: 0.46;
  }

  .hero-particles span:nth-child(n + 4) {
    display: none;
  }

  .marquee-track {
    gap: 24px;
    font-size: 0.78rem;
    animation-duration: 20s;
  }

  .hero-panel strong {
    font-size: 2.7rem;
  }

  .hero-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .stats,
  .timeline,
  .event-grid,
  .why-grid,
  .credibility,
  .feature-grid,
  .voice-section,
  .program-tabs {
    grid-template-columns: 1fr;
  }

  .section,
  .section-band {
    padding-block: 70px;
  }

  .campus-visual {
    grid-template-columns: 1fr;
  }

  .facility-card.sports {
    grid-column: auto;
  }

  .why-card,
  .event-card,
  .step {
    min-height: auto;
  }
}

@media (max-width: 420px) {
  .brand {
    gap: 9px;
  }

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

  .brand-mark img {
    width: 34px;
    height: 34px;
  }

  .brand strong {
    max-width: 170px;
    font-size: 0.82rem;
  }

  .brand small {
    max-width: 170px;
  }

  .hero {
    padding-inline: 16px;
  }

  h1 {
    font-size: 2.35rem;
  }

  .hero-trust span {
    width: 100%;
    justify-content: center;
  }

  .section,
  .section-band {
    padding-inline: 16px;
  }
}

@media (min-width: 1280px) {
  .hero-content {
    max-width: 760px;
  }

  .section,
  .section-band {
    padding-inline: max(76px, calc((100vw - 1440px) / 2 + 76px));
  }
}

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