:root {
  --navy-950: #020816;
  --navy-900: #06152b;
  --navy-800: #0b2345;
  --navy-700: #12345e;
  --gold: #f4bd35;
  --gold-strong: #ffca3a;
  --white: #ffffff;
  --ink: #101a2c;
  --muted: #617087;
  --surface: #f7f8fb;
  --line: rgba(15, 34, 66, .14);
  --radius: 24px;
  --shadow: 0 24px 80px rgba(0, 10, 32, .18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.narrow { max-width: 860px; text-align: center; }
.section { padding: 100px 0; }

.skip-link {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 9999;
  padding: 10px 16px;
  background: white;
  color: black;
  border-radius: 8px;
}
.skip-link:focus { top: 12px; }

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(2, 8, 22, .72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.09);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: white;
  letter-spacing: .14em;
}
.brand img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
}
.brand span { display: grid; line-height: 1; }
.brand strong { font-size: 17px; }
.brand small { color: var(--gold); margin-top: 7px; font-size: 9px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255,255,255,.86);
  font-size: 14px;
}
.nav-links > a:not(.button):hover { color: var(--gold); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span:not(.sr-only) {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px auto;
  background: white;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #161100;
  font-weight: 800;
  letter-spacing: .02em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(244, 189, 53, .3);
}
.button-small { min-height: 40px; padding: 9px 16px; }
.button-outline {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,.65);
}
.button-outline:hover { background: rgba(255,255,255,.08); }

.hero {
  min-height: 820px;
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  color: white;
  background:
    linear-gradient(90deg, rgba(2,8,22,.98) 0%, rgba(3,16,39,.85) 44%, rgba(2,8,22,.42) 100%),
    url("assets/starfield.webp") center / cover;
  padding: 130px 0 70px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 220px;
  background: linear-gradient(transparent, var(--navy-950));
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .85fr;
  align-items: center;
  gap: 72px;
}
.hero-copy { padding-top: 34px; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .3em;
  text-transform: uppercase;
}
.eyebrow.dark { color: #a27100; }
.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(58px, 7vw, 108px);
  line-height: .92;
  letter-spacing: -.05em;
}
.hero-lead {
  max-width: 680px;
  margin: 30px 0 0;
  color: rgba(255,255,255,.83);
  font-size: clamp(18px, 2vw, 23px);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 35px; }
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 26px;
  margin-top: 38px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
}
.hero-points span::before { content: "✦"; color: var(--gold); margin-right: 8px; }
.hero-visual {
  justify-self: end;
  width: min(440px, 100%);
  filter: drop-shadow(0 30px 70px rgba(0,0,0,.5));
}
.hero-visual img {
  border-radius: 28px;
  max-height: 640px;
  margin-left: auto;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(255,255,255,.12);
}

.statement { background: white; }
.statement h2,
.section-heading h2,
.why h2,
.contact h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.statement h2 span { color: #b07900; }
.statement p:last-child {
  max-width: 760px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 19px;
}

.section-heading { max-width: 760px; margin-bottom: 50px; }
.section-heading p:last-child { color: var(--muted); font-size: 18px; }
.section-heading.light h2,
.section-heading.light p { color: white; }
.section-heading.light p:last-child { color: rgba(255,255,255,.7); }

.journey { background: linear-gradient(180deg, white, #eef2f8); }
.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.journey-step {
  position: relative;
  min-height: 320px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.78);
}
.step-number {
  position: absolute;
  top: 20px;
  right: 24px;
  color: #a9b2c0;
  font-weight: 800;
}
.step-icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin-bottom: 28px;
  color: white;
  background: var(--navy-800);
  border-radius: 50%;
  font-size: 28px;
}
.journey-step:nth-child(1) .step-icon { background: #e7a915; }
.journey-step:nth-child(2) .step-icon { background: #2857bd; }
.journey-step:nth-child(3) .step-icon { background: #0a9b9b; }
.journey-step:nth-child(4) .step-icon { background: #8752ad; }
.journey-step h3 { margin: 0; color: var(--navy-800); }
.journey-step strong { display: block; margin-top: 5px; }
.journey-step p { color: var(--muted); }

.dark-section {
  color: white;
  background:
    radial-gradient(circle at 15% 0%, rgba(32, 87, 151, .28), transparent 30%),
    var(--navy-950);
}

.programme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.programme-card {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  background: var(--navy-900);
  box-shadow: var(--shadow);
}
.programme-card img {
  width: 100%;
  height: 245px;
  object-fit: cover;
}
.programme-content { padding: 28px; }
.tag {
  display: inline-block;
  margin-bottom: 13px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}
.programme-card h3 { margin: 0; font-size: 32px; }
.programme-tagline { min-height: 54px; color: var(--gold); font-weight: 800; }
.programme-card p:not(.programme-tagline),
.programme-card li { color: rgba(255,255,255,.72); }
.programme-card ul { padding-left: 19px; }
.programme-card a { color: var(--gold); font-weight: 800; }
.enlighten .programme-tagline, .enlighten a { color: #5db6ff; }
.discover .programme-tagline, .discover a { color: #42d7d3; }

.academic { background: white; }
.academic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.academic-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 26px;
  min-height: 360px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8f9fc;
}
.academic-art {
  min-height: 100%;
  border-radius: 18px;
  background-color: var(--navy-900);
}
.galaxy {
  background:
    radial-gradient(circle at 50% 40%, rgba(255,255,255,.85) 0 1%, transparent 2%),
    radial-gradient(ellipse at center, #d88c46, #504489 24%, #081a3a 45%, #020816 72%);
}
.campus {
  background:
    linear-gradient(rgba(2,8,22,.15), rgba(2,8,22,.9)),
    url("assets/logo-full.webp") center / cover;
}
.academic-card h3 { margin: 8px 0 12px; font-size: 28px; line-height: 1.15; }
.academic-card p, .academic-card li { color: var(--muted); }
.academic-tag { background: #ede9fb; color: #6a4699; }

.why { background: #edf2f8; }
.why-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 80px;
  align-items: center;
}
.why-copy p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.benefits div {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 14px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.55);
}
.benefits strong { color: #a27100; }

.gallery-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 18px;
}
.gallery-grid figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 22px;
}
.gallery-grid .gallery-large { grid-row: 1 / 3; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-grid figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 42px 20px 18px;
  color: white;
  font-weight: 800;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
}

.contact {
  color: white;
  background: #0a1c38;
}
.contact-panel {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 40px;
  align-items: center;
  padding: 55px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 30px;
  background:
    linear-gradient(90deg, rgba(3,16,39,.95), rgba(3,16,39,.6)),
    url("assets/discover.webp") center / cover;
}
.contact-panel p:last-child { max-width: 700px; color: rgba(255,255,255,.72); }
.contact-actions { display: grid; gap: 12px; }

.site-footer {
  padding: 65px 0 24px;
  color: rgba(255,255,255,.74);
  background: var(--navy-950);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
}
.footer-grid > div:not(.footer-brand) { display: grid; align-content: start; gap: 8px; }
.footer-grid strong { color: white; }
.footer-grid a:hover { color: var(--gold); }
.footer-brand { display: flex; gap: 15px; align-items: center; }
.footer-brand img { width: 66px; height: 66px; object-fit: cover; border-radius: 50%; }
.footer-brand div { display: grid; }
.footer-brand span { color: var(--gold); font-size: 11px; letter-spacing: .16em; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .nav-links {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    background: rgba(2,8,22,.97);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 12px; }
  .menu-toggle { display: block; }

  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr 330px; gap: 32px; }
  .hero h1 { font-size: clamp(54px, 8vw, 80px); }

  .journey-grid { grid-template-columns: 1fr 1fr; }
  .programme-grid { grid-template-columns: 1fr; }
  .programme-card { display: grid; grid-template-columns: 42% 58%; }
  .programme-card img { height: 100%; min-height: 440px; }

  .academic-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 45px; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 72px 0; }
  .nav { min-height: 68px; }
  .nav-links { top: 68px; }
  .brand img { width: 43px; height: 43px; }
  .brand strong { font-size: 15px; }

  .hero { padding-top: 110px; text-align: center; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { padding-top: 0; }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-points { justify-content: center; }
  .hero-visual { justify-self: center; max-width: 310px; }
  .hero-visual img { max-height: 460px; }

  .journey-grid { grid-template-columns: 1fr; }
  .journey-step { min-height: auto; }

  .programme-card { display: block; }
  .programme-card img { min-height: 0; height: 230px; }

  .academic-card { grid-template-columns: 1fr; }
  .academic-art { min-height: 220px; }

  .benefits { grid-template-columns: 1fr; }
  .gallery-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(3, 260px); }
  .gallery-grid .gallery-large { grid-row: auto; }

  .contact-panel { grid-template-columns: 1fr; padding: 34px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}
