/* GNiMR website styles: "quiet prestige"
   Midnight navy carries the brand, a serif (Newsreader) gives it academic weight,
   and the logo's orange is kept for fine accents only.
   Signature motif: a thin orange frame offset behind key photographs, a refined
   version of the colour blocks on the institute's printed banners. */

:root {
  --midnight: #0a1338;        /* hero, page headers, call to action */
  --midnight-deep: #070d29;   /* footer and top bar */
  --navy: #0e1c4e;            /* headings, primary buttons */
  --navy-hover: #1a2c6b;
  --orange: #e2611f;          /* fine accents: frames, numerals, rules */
  --orange-soft: #f3a679;     /* orange text on dark backgrounds */
  --porcelain: #f5f6f9;       /* alternate section background */
  --surface: #ffffff;
  --ink: #1a2036;
  --muted: #5a6178;
  --line: #e1e4ec;
  --line-strong: #c9cedb;
  --on-dark: #ffffff;
  --on-dark-muted: #c2c8de;
  --on-dark-line: rgba(255, 255, 255, 0.16);

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Hind", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: 1.75rem;
  --step-3: clamp(2rem, 1.5rem + 1.8vw, 2.875rem);
  --step-4: clamp(2.75rem, 1.6rem + 4vw, 4.75rem);

  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(2.75rem, 5vw, 4.5rem);
  --radius: 3px;
  --radius-panel: 6px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 {
  margin: 0 0 0.55em;
  font-family: var(--serif);
  font-optical-sizing: auto;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); font-weight: 400; line-height: 1.04; }
h2 { font-size: var(--step-3); font-weight: 400; }
h3 { font-size: var(--step-1); font-weight: 500; line-height: 1.25; letter-spacing: 0; }
p { margin: 0 0 1em; }
p, li, dd { text-wrap: pretty; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--navy); color: var(--on-dark); padding: 0.6rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* Offset hairline frame behind a photograph (the signature motif) */
.framed { position: relative; }
.framed > * { position: relative; z-index: 1; }
.framed::before {
  content: ""; position: absolute; z-index: 0;
  top: 22px; right: -22px; bottom: -22px; left: 22px;
  border: 1px solid var(--orange);
  pointer-events: none;
}

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 48px; padding: 0.6rem 1.4rem 0.5rem;
  border: 1px solid transparent; border-radius: var(--radius);
  font-family: var(--sans); font-size: 1rem; font-weight: 600; line-height: 1.2; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn--lg { min-height: 54px; padding-inline: 1.75rem; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-hover); }
.btn--ghost { border-color: var(--line-strong); color: var(--navy); background: transparent; }
.btn--ghost:hover { border-color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: #e9ecf5; }
.btn--outline-light { border-color: rgba(255,255,255,0.45); color: #fff; background: transparent; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.link {
  color: var(--navy); font-weight: 600;
  text-decoration: underline; text-decoration-color: var(--orange);
  text-decoration-thickness: 1px; text-underline-offset: 5px;
  transition: text-decoration-thickness 0.15s;
}
.link:hover { text-decoration-thickness: 2px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--midnight-deep); color: var(--on-dark-muted); font-size: 0.8125rem; letter-spacing: 0.01em; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; }
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.75rem; }
.topbar a { display: inline-flex; align-items: center; gap: 0.5em; text-decoration: none; color: inherit; padding-block: 0.4rem; }
.topbar a:hover { color: #fff; }
.topbar__end { display: flex; align-items: center; gap: 1.25rem; }
.topbar__social { display: flex; gap: 0.15rem; }
.topbar .social-link { padding: 0.4rem; }
.topbar__erp { border-left: 1px solid var(--on-dark-line); padding-left: 1.25rem !important; color: #fff !important; font-weight: 500; }

/* ---------- Masthead ---------- */
.masthead {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(10px);
}
.masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }
.brand img { height: 50px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.35rem; }
.site-nav ul a {
  position: relative; display: block; padding: 0.55rem 0.7rem; text-decoration: none;
  font-weight: 500; font-size: 0.97rem; color: var(--ink);
}
.site-nav ul a::after {
  content: ""; position: absolute; left: 0.7rem; right: 0.7rem; bottom: 0.15rem; height: 1px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.2s;
}
.site-nav ul a:hover { color: var(--navy); }
.site-nav ul a:hover::after, .site-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav ul a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.menu-toggle { display: none; }

@media (max-width: 1080px) {
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: var(--radius);
    background: #fff; color: var(--navy); font-size: 1.5rem; cursor: pointer;
  }
  .menu-toggle__close { display: none; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__close { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 1.25rem;
    padding: 0.5rem var(--gutter) 1.75rem; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(10,19,56,0.35);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { padding: 0.95rem 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
  .site-nav ul a::after { display: none; }
  .site-nav ul a[aria-current="page"] { box-shadow: inset 2px 0 0 var(--orange); padding-left: 0.9rem; }
}
@media (max-width: 640px) {
  .hide-sm, .topbar__social { display: none; }
  .brand img { height: 42px; }
  .masthead__inner { min-height: 68px; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--paper { background: var(--porcelain); }
.section__head { max-width: 44rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.section__head p { color: var(--muted); font-size: 1.1875rem; line-height: 1.6; }
.section__more { margin: clamp(1.5rem, 3vw, 2rem) 0 0; }

/* ---------- Hero ---------- */
.hero { background: var(--midnight); color: var(--on-dark); overflow: hidden; }
.hero__inner {
  display: grid; align-items: center;
  grid-template-columns:
    [full-start] minmax(var(--gutter), 1fr)
    [text-start] minmax(0, 560px)
    [gap-start] clamp(2rem, 5vw, 5rem)
    [media-start] minmax(0, 580px)
    minmax(0, 1fr) [full-end];
  min-height: clamp(460px, 58vh, 580px);
}
.hero__text { grid-column: text-start / gap-start; padding-block: clamp(2.25rem, 5vw, 3.5rem); }
.hero__kicker { color: var(--orange-soft); font-size: 0.95rem; font-weight: 500; letter-spacing: 0.02em; margin-bottom: 1rem; }
.hero__title { color: #fff; max-width: 12ch; margin-bottom: 1.25rem; }
.hero__lead { font-size: 1.1875rem; line-height: 1.6; color: var(--on-dark-muted); max-width: 33rem; margin-bottom: 1.75rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.hero__visual { grid-column: media-start / full-end; align-self: stretch; margin: 0; padding: clamp(2rem, 4vw, 3rem) 0; }
.hero__visual img { width: 100%; height: 100%; min-height: 360px; max-height: 520px; object-fit: cover; object-position: center 35%; }
.hero__visual.framed::before { right: auto; width: calc(100% - 22px); top: calc(clamp(2rem, 4vw, 3rem) - 22px); bottom: calc(clamp(2rem, 4vw, 3rem) + 22px); left: -22px; }

@media (prefers-reduced-motion: no-preference) {
  .hero__text > * { animation: rise 0.8s cubic-bezier(.2,.7,.2,1) both; }
  .hero__text > :nth-child(2) { animation-delay: 0.08s; }
  .hero__text > :nth-child(3) { animation-delay: 0.16s; }
  .hero__text > :nth-child(4) { animation-delay: 0.24s; }
  .hero__visual.framed::before { animation: frame-in 1.1s 0.3s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } }
  @keyframes frame-in { from { opacity: 0; transform: translate(14px, 14px); } }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: [full-start] var(--gutter) [text-start] 1fr [gap-start media-start] var(--gutter) [full-end]; min-height: 0; }
  .hero__visual { grid-column: full-start / full-end; grid-row: 1; padding: 0; }
  .hero__visual img { min-height: 0; aspect-ratio: 4 / 3; height: auto; }
  .hero__visual.framed::before { display: none; }
  .hero__text { grid-column: text-start / gap-start; padding-block: 2.5rem 3rem; }
  .hero__title { max-width: 14ch; }
}

/* ---------- Approvals ---------- */
.approvals { border-bottom: 1px solid var(--line); background: #fff; }
.approvals__row { display: grid; grid-template-columns: repeat(3, 1fr); }
.approval { display: flex; align-items: center; gap: 1rem; padding-block: 1.15rem; }
.approvals__row .approval + .approval { border-left: 1px solid var(--line); padding-left: clamp(1rem, 3vw, 2.5rem); }
.approval img { width: 52px; height: 52px; object-fit: contain; flex: none; }
.approval p { margin: 0; color: var(--muted); line-height: 1.35; font-size: 0.95rem; }
.approval strong { display: block; color: var(--ink); font-weight: 600; font-size: 1rem; }
@media (max-width: 760px) {
  .approvals__row { grid-template-columns: 1fr; }
  .approvals__row .approval + .approval { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
}

/* ---------- Specialisations ---------- */
.specs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.spec { padding: 1.5rem clamp(1rem, 3vw, 2.5rem) 0 0; }
.spec + .spec { border-left: 1px solid var(--line); padding-left: clamp(1rem, 3vw, 2.5rem); }
.spec__name { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); font-weight: 400; margin-bottom: 0.65rem; }
.spec p { color: var(--muted); margin: 0; max-width: 36ch; }
@media (max-width: 760px) {
  .specs { grid-template-columns: 1fr; }
  .spec { padding: 1.75rem 0; }
  .spec + .spec { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
}

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--reverse .split__media { order: -1; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__text { max-width: 34rem; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media { margin-right: 22px; }
}

.prose h2 { margin-top: 1.75rem; font-size: var(--step-2); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { max-width: 68ch; }

.ticks { list-style: none; margin: 0 0 1.75rem; padding: 0; }
.ticks li { position: relative; padding-left: 1.6rem; margin-bottom: 0.75rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.75rem; height: 1px; background: var(--orange); }

/* ---------- Admission steps (a real sequence, so numbered) ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
.step { counter-increment: step; position: relative; padding-top: 4.5rem; border-top: 1px solid var(--line-strong); }
.step::before {
  content: counter(step);
  position: absolute; top: 0.7rem; left: 0;
  font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 3.6rem; line-height: 1;
  color: var(--orange);
}
.step h3 { font-size: 1.375rem; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 1.5rem 0 1.75rem 4.25rem; }
  .step::before { font-size: 3.25rem; top: 1.1rem; }
}

/* ---------- Leadership (home) ---------- */
.leaders { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
.leader { margin: 0; display: flex; flex-direction: column; }
.leader__photo {
  width: 104px; height: 104px; border-radius: 50%; object-fit: cover; object-position: top;
  margin-bottom: 1.1rem; box-shadow: 0 0 0 5px #fff, 0 0 0 6px var(--line-strong);
}
.leader__photo--initials, .profile__photo--initials {
  display: grid; place-items: center; background: var(--navy); color: #fff;
  font-family: var(--serif); font-weight: 400; font-size: 2.1rem; letter-spacing: 0.02em;
}
.leader blockquote { margin: 0 0 1.1rem; font-family: var(--serif); font-size: 1.375rem; font-weight: 400; line-height: 1.45; color: var(--ink); flex: 1; }
.leader figcaption { border-top: 1px solid var(--line); padding-top: 1rem; }
.leader figcaption strong { display: block; color: var(--navy); font-weight: 600; }
.leader figcaption span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 860px) { .leaders { grid-template-columns: 1fr; } }

/* ---------- Campus mosaic ---------- */
.mosaic { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.mosaic img:first-child { grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 640px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 10px; }
  .mosaic img:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 3 / 2; }
}

/* ---------- Social ---------- */
.social__grid { display: grid; grid-template-columns: 1fr minmax(0, 500px); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.social__text p { color: var(--muted); font-size: 1.1875rem; line-height: 1.6; max-width: 30rem; }
.follow { list-style: none; margin: 1.5rem 0 0; padding: 0; max-width: 28rem; border-top: 1px solid var(--line-strong); }
.follow__item {
  display: flex; align-items: center; gap: 1.1rem; padding: 1.1rem 0.25rem;
  border-bottom: 1px solid var(--line); text-decoration: none; transition: padding-left 0.2s;
}
.follow__item:hover { padding-left: 0.75rem; }
.follow__item .icon { width: 1.6rem; height: 1.6rem; }
.follow__item span { display: flex; flex-direction: column; line-height: 1.35; color: var(--muted); font-size: 0.95rem; overflow-wrap: anywhere; }
.follow__item strong { color: var(--ink); font-size: 1.0625rem; font-weight: 600; }
.follow__item--facebook .icon { color: #1877f2; }
.follow__item--instagram .icon { color: #c13584; }
.follow__item--whatsapp .icon { color: #1da851; }
.fb-frame { width: 100%; min-height: 440px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-panel); overflow: hidden; display: grid; place-items: center; }
.fb-frame iframe { width: 100%; height: 440px; border: 0; display: block; }
.fb-frame__fallback { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--navy); font-weight: 600; }
.fb-frame__fallback .icon { width: 1.5rem; height: 1.5rem; color: #1877f2; }
.insta-feed { margin-top: clamp(3rem, 6vw, 4.5rem); }
.insta-feed h3 { margin-bottom: 1.25rem; }
@media (max-width: 860px) { .social__grid { grid-template-columns: 1fr; } }

/* ---------- Call to action with form ---------- */
.cta { background: var(--midnight); color: var(--on-dark); padding-block: var(--section); }
.cta__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.cta h2 { color: #fff; }
.cta__text p { color: var(--on-dark-muted); font-size: 1.1875rem; line-height: 1.6; max-width: 30rem; }
.cta__contact { list-style: none; margin: 1.75rem 0 0; padding: 0; border-top: 1px solid var(--on-dark-line); }
.cta__contact li { display: flex; gap: 0.9rem; align-items: baseline; padding-block: 0.8rem; border-bottom: 1px solid var(--on-dark-line); }
.cta__contact .icon { color: var(--orange-soft); transform: translateY(2px); }
.cta__contact a { color: #fff; text-decoration: none; font-weight: 500; }
.cta__contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.cta__form { background: #fff; color: var(--ink); border-radius: var(--radius-panel); padding: clamp(1.5rem, 3.5vw, 2.75rem); box-shadow: 0 40px 80px -40px rgba(0,0,0,0.5); }
@media (max-width: 860px) { .cta__grid { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.enquiry { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.field label { font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0.65rem 0.9rem 0.55rem;
  font: inherit; color: var(--ink); background: #fff;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { min-height: 100px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #a9b0c3; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(14,28,78,0.12); }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.enquiry__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 0.25rem; }
.enquiry__alt { margin: 0; color: var(--muted); font-size: 0.95rem; }
.enquiry__alt a { color: var(--navy); font-weight: 600; }
.enquiry__status { margin: 0; font-weight: 500; }
.enquiry__status:empty { display: none; }
.enquiry__status.is-error { color: #b3261e; }
.enquiry__status.is-done { color: #146c2e; background: #ebf6ee; padding: 0.9rem 1rem; border-radius: var(--radius); }

/* ---------- Inner page header ---------- */
.pagehead { background: var(--midnight); color: var(--on-dark); padding-block: clamp(2rem, 4.5vw, 3.25rem) clamp(1.75rem, 3.5vw, 2.5rem); }
.crumbs { display: flex; gap: 0.6rem; font-size: 0.9rem; color: var(--on-dark-muted); margin-bottom: 0.9rem; }
.crumbs a { color: var(--orange-soft); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pagehead h1 { color: #fff; max-width: 18ch; font-size: clamp(2.5rem, 1.6rem + 3.2vw, 4rem); }
.pagehead__lead { font-size: 1.1875rem; line-height: 1.6; color: var(--on-dark-muted); max-width: 40rem; margin-bottom: 0; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; margin-top: 1.4rem; }
.share__label { color: var(--on-dark-muted); font-size: 0.9rem; margin-right: 0.5rem; }
.share__btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  border: 1px solid var(--on-dark-line); border-radius: 50%; background: transparent; color: #fff;
  cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.share__btn:hover { background: #fff; border-color: #fff; color: var(--navy); }
.share__copied { color: var(--orange-soft); font-size: 0.9rem; margin-left: 0.4rem; }

/* ---------- About ---------- */
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); margin-bottom: clamp(2rem, 4vw, 3rem); }
.vm__item { border-top: 1px solid var(--line-strong); padding-top: 1.25rem; }
.vm__statement { font-family: var(--serif); font-size: 1.5rem; line-height: 1.45; color: var(--ink); }
.vm__item p:not(.vm__statement) { color: var(--muted); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(2.5rem, 6vw, 5rem); margin: 0; }
.values div { display: grid; grid-template-columns: 12.5rem 1fr; gap: 1rem; padding-block: 0.85rem; border-top: 1px solid var(--line); }
.values dt { font-family: var(--serif); font-size: 1.15rem; color: var(--navy); }
.values dd { margin: 0; color: var(--muted); }
@media (max-width: 860px) {
  .vm, .values { grid-template-columns: 1fr; }
  .values div { grid-template-columns: 1fr; gap: 0.2rem; }
}

/* ---------- MBA ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 1px solid var(--line-strong); }
.facts div { padding: 1.1rem 1.5rem 0 0; }
.facts div + div { border-left: 1px solid var(--line); padding-left: 1.5rem; }
.facts dt { color: var(--muted); font-size: 0.92rem; }
.facts dd { margin: 0.35rem 0 0; font-family: var(--serif); font-size: 1.4rem; color: var(--navy); line-height: 1.3; }
@media (max-width: 860px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 480px) {
  .facts { grid-template-columns: 1fr; }
  .facts div + div { border-left: 0; padding-left: 0; }
}
.programmes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
.programme { border-top: 1px solid var(--orange); padding-top: 1.1rem; }
.programme h3 { font-size: 1.6rem; font-weight: 400; }
.programme p { color: var(--muted); }
@media (max-width: 860px) { .programmes { grid-template-columns: 1fr; } }

/* ---------- Admissions ---------- */
.admissions { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.admissions__aside { display: grid; gap: 1.75rem; position: sticky; top: 110px; }
.approvals-list h2, .panel h2 { font-size: 1.6rem; }
.approvals-list .approval { padding-block: 1rem; border-top: 1px solid var(--line); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-panel); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: 0 30px 60px -45px rgba(10,19,56,0.35); }
@media (max-width: 960px) {
  .admissions { grid-template-columns: 1fr; }
  .admissions__aside { position: static; }
}

/* ---------- Leadership page ---------- */
.profiles { display: grid; gap: clamp(2.5rem, 5vw, 3.75rem); }
.profile { display: grid; grid-template-columns: 220px 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.profile__media { margin: 0 22px 22px 0; }
.profile__photo { width: 100%; aspect-ratio: 6 / 7; object-fit: cover; object-position: top; }
.profile__photo--initials { font-size: 5rem; }
.profile__role { color: var(--muted); font-weight: 500; margin-top: -0.3rem; }
.profile blockquote {
  margin: 1.1rem 0; padding-left: 1.5rem; border-left: 1px solid var(--orange);
  font-family: var(--serif); font-size: 1.4rem; line-height: 1.5; max-width: 58ch; color: var(--ink);
}
.profile__body > p:last-child { color: var(--muted); max-width: 68ch; }
@media (max-width: 760px) {
  .profile { grid-template-columns: 1fr; }
  .profile__media { width: 200px; }
}

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__list { list-style: none; margin: 0 0 1.75rem; padding: 0; border-top: 1px solid var(--line-strong); }
.contact__list li { display: flex; gap: 1rem; align-items: flex-start; padding-block: 0.85rem; border-bottom: 1px solid var(--line); }
.contact__list .icon { width: 1.25rem; height: 1.25rem; color: var(--orange); margin-top: 0.2rem; }
.contact__list div { display: flex; flex-direction: column; }
.contact__list strong { color: var(--navy); font-weight: 600; }
.contact__list a:not(.link) { color: var(--ink); }
.map { border: 1px solid var(--line); border-radius: var(--radius-panel); overflow: hidden; }
.map iframe { display: block; width: 100%; height: 340px; border: 0; filter: grayscale(0.35); }
.enquiry-page { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.enquiry-page__aside h2 { font-size: 1.6rem; }
@media (max-width: 860px) { .contact, .enquiry-page { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; gap: 14px; }
.gallery__item { display: block; overflow: hidden; background: var(--porcelain); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery__item:hover img { transform: scale(1.025); }
.gallery__item--wide { grid-column: span 2; grid-row: span 2; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--span { grid-column: span 2; }
.gallery__more { margin-top: 1.5rem; color: var(--muted); }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap: 10px; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 1; }
  .gallery__item--span { grid-column: span 1; }
}
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10,19,56,0.96); color: #fff; }
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: 1fr auto; align-items: center; }
.lightbox::backdrop { background: rgba(10,19,56,0.6); }
.lightbox__img { grid-column: 2; max-width: 100%; max-height: 82vh; margin: auto; object-fit: contain; }
.lightbox__caption { grid-column: 1 / -1; text-align: center; margin: 0 0 1.5rem; color: var(--on-dark-muted); }
.lightbox button { background: rgba(255,255,255,0.08); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer; font-size: 1.2rem; margin: 1rem; }
.lightbox button:hover { background: rgba(255,255,255,0.2); }
.lightbox__close { position: absolute; top: 0; right: 0; }

/* ---------- Rules ---------- */
.rules { list-style: none; margin: 0; padding: 0; max-width: 52rem; border-top: 1px solid var(--line-strong); }
.rules li { position: relative; padding: 0.95rem 0 0.95rem 2.25rem; border-bottom: 1px solid var(--line); font-size: 1.1875rem; line-height: 1.5; }
.rules li::before { content: ""; position: absolute; left: 0; top: 1.75rem; width: 1rem; height: 1px; background: var(--orange); }
.rules .rules__strong { background: var(--midnight); color: #fff; padding: 1.6rem 1.75rem 1.6rem 3.5rem; border-bottom: 0; margin-top: 1.25rem; border-radius: var(--radius); }
.rules .rules__strong::before { left: 1.6rem; top: 2.4rem; background: var(--orange-soft); }

/* ---------- Mandatory disclosure ---------- */
.docs { list-style: none; margin: 0; padding: 0; max-width: 52rem; border-top: 1px solid var(--line-strong); }
.docs li { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.docs .icon { width: 1.4rem; height: 1.4rem; color: #b3261e; }
.docs__title { flex: 1; font-weight: 600; }
.docs__date { color: var(--muted); font-size: 0.95rem; white-space: nowrap; }
.docs__empty { color: var(--muted); }
.docs__note { margin-top: 1.5rem; color: var(--muted); }

.notfound { min-height: 40vh; }
.notfound__links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* ---------- Footer ---------- */
.footer { background: var(--midnight-deep); color: var(--on-dark-muted); padding-top: clamp(2.5rem, 5vw, 3.75rem); font-size: 0.97rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1.2fr 0.8fr 0.8fr; gap: clamp(2rem, 4vw, 3.5rem); }
.footer__brand img { height: 52px; width: auto; margin-bottom: 1.1rem; }
.footer__brand p { max-width: 30rem; }
.footer__title { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; color: #fff; margin-bottom: 1.1rem; }
.footer__list, .footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.footer__list li { display: flex; gap: 0.75rem; align-items: baseline; }
.footer__list .icon { color: var(--orange-soft); transform: translateY(2px); }
.footer a { color: var(--on-dark-muted); text-decoration: none; transition: color 0.15s; }
.footer a:hover { color: #fff; }
.footer__social { display: flex; gap: 0.5rem; margin-top: 1.5rem; }
.social-link { display: inline-grid; place-items: center; color: inherit; }
.footer .social-link { width: 40px; height: 40px; border: 1px solid var(--on-dark-line); border-radius: 50%; }
.footer .social-link:hover { background: #fff; border-color: #fff; color: var(--navy); }
.footer__base { margin-top: clamp(2rem, 4vw, 2.75rem); font-size: 0.875rem; }
.footer__base p { margin: 0; padding-block: 1.1rem; border-top: 1px solid var(--on-dark-line); }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #1da851; color: #fff;
  box-shadow: 0 12px 28px -10px rgba(0,0,0,0.45); font-size: 1.75rem;
}
.wa-float:hover { background: #178a42; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .topbar, .masthead, .wa-float, .share, .footer, .cta { display: none; }
  .pagehead, .hero { background: none; color: var(--ink); }
}
