/* ==========================================================================
   Hong Kong Institute of Business Administration (IBA)
   Design system — static site
   ========================================================================== */

/* ---------- Fonts (self-hosted variable) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-normal.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 300 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --navy-950: #05121f;
  --navy-900: #0a2540;
  --navy-800: #103456;
  --navy-700: #17466e;
  --gold: #c8a464;
  --gold-bright: #ddbd83;
  --gold-dark: #8a672f;
  --cream: #f6f1e7;
  --cream-deep: #ece4d4;
  --paper: #fcfaf6;
  --ink: #0e1c2b;
  --body: #2a3d50;
  --muted: #5b6f83;
  --line: rgba(10, 37, 64, 0.11);
  --line-strong: rgba(10, 37, 64, 0.2);
  --white: #ffffff;

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 44px);
  --section-y: clamp(64px, 8vw, 120px);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-card: 0 30px 60px -42px rgba(6, 23, 38, 0.55);
  --shadow-soft: 0 20px 40px -30px rgba(6, 23, 38, 0.45);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.65;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@supports (font-variation-settings: normal) {
  body { font-weight: 430; }
}

img, svg, iframe { max-width: 100%; }
img { display: block; height: auto; }

a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: var(--navy-950);
  font-weight: 400;
  text-wrap: balance;
}

h1, h2 { font-family: var(--font-display); }

h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: 1.03; letter-spacing: -0.018em; }
h2 { font-size: clamp(1.95rem, 3.4vw, 3rem); line-height: 1.08; letter-spacing: -0.012em; }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); line-height: 1.25; font-family: var(--font-display); }

::selection { background: var(--gold); color: var(--navy-950); }

:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 3px;
}

.hidden { display: none !important; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--navy-950);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

/* ---------- Layout utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding: var(--section-y) 0; }
.section--cream { background: var(--cream); }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy-950); color: rgba(255, 255, 255, 0.78); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--line { border-top: 1px solid var(--line); }
.section--tight { padding-top: clamp(40px, 5vw, 64px); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: clamp(34px, 4vw, 58px);
}
.section-head__title { max-width: 720px; }
.section-head__title h2 { margin: 0; }
.section-head__aside { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: var(--gold-dark);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
}
.eyebrow--light { color: var(--gold-bright); }

.lead {
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.7;
}
.section--navy .lead { color: rgba(255, 255, 255, 0.7); }

.rule {
  height: 1px;
  border: 0;
  margin: clamp(28px, 4vw, 48px) 0;
  background: var(--line);
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65em;
  padding: 0.95em 1.65em;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease);
}
.btn svg { width: 15px; height: 15px; flex: 0 0 auto; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn--gold { background: var(--gold); color: var(--navy-950); }
.btn--gold:hover { background: var(--gold-bright); }

.btn--navy { background: var(--navy-950); color: #fff; }
.btn--navy:hover { background: var(--navy-800); }

.btn--outline { border-color: var(--line-strong); color: var(--navy-900); background: transparent; }
.btn--outline:hover { background: var(--navy-950); border-color: var(--navy-950); color: #fff; }

.btn--ghost { border-color: rgba(255, 255, 255, 0.34); color: #fff; background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.65); }

.btn--sm { padding: 0.78em 1.25em; font-size: 0.68rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  color: var(--navy-900);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.25s ease;
}
.text-link svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.text-link:hover { color: var(--gold-dark); }
.text-link:hover svg { transform: translateX(4px); }
.text-link--light { color: var(--gold-bright); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1.2;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: rgba(252, 250, 246, 0.9);
  -webkit-backdrop-filter: saturate(1.25) blur(18px);
  backdrop-filter: saturate(1.25) blur(18px);
  border-bottom: 1px solid rgba(10, 37, 64, 0.08);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(252, 250, 246, 0.98);
  box-shadow: 0 16px 34px -28px rgba(6, 23, 38, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2.5vw, 42px);
  min-height: 88px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-950);
  text-decoration: none;
  flex: 0 0 auto;
}
.brand__crest { height: 50px; width: auto; }
.brand__text { display: flex; flex-direction: column; gap: 3px; line-height: 1.02; }
.brand__top {
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: 0.005em;
  color: var(--navy-950);
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 28px);
  margin-left: auto;
}
.primary-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.45vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  position: relative;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
  border: 0;
  background: none;
  color: var(--navy-900);
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav-link:hover { color: var(--gold-dark); }
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--navy-950); }

.nav-dropdown-toggle svg { width: 10px; height: 10px; transition: transform 0.25s ease; }
.has-dropdown { position: relative; }
.has-dropdown.is-open > .nav-dropdown-toggle svg { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  width: min(740px, calc(100vw - 48px));
  padding: 0;
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 42px 80px -46px rgba(6, 23, 38, 0.6);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 0.25s ease, transform 0.3s var(--ease), visibility 0.25s;
}
.has-dropdown.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav-dropdown__inner {
  display: grid;
  grid-template-columns: 1.55fr 0.85fr;
  gap: 10px;
  padding: 20px;
}
.nav-dropdown__label {
  grid-column: 1;
  margin: 0 0 4px;
  padding-left: 12px;
  color: var(--gold-dark);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav-dropdown__list {
  display: grid;
  grid-column: 1;
  grid-row: 2;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-dropdown__list a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--navy-900);
  font-size: 0.83rem;
  font-weight: 650;
  line-height: 1.25;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-dropdown__list a span {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-dropdown__list a:hover { background: var(--cream); color: var(--navy-950); }

.nav-dropdown__promo {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  grid-column: 2;
  grid-row: 1 / 3;
  padding: 20px;
  border-radius: 13px;
  background: linear-gradient(155deg, var(--navy-900), var(--navy-950));
  color: #fff;
}
.nav-dropdown__promo p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.2;
}
.nav-dropdown__promo span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
  line-height: 1.5;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.6px;
  background: var(--navy-950);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-950);
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 8% 20%, rgba(200, 164, 100, 0.14), transparent 60%),
    radial-gradient(55% 70% at 92% 85%, rgba(23, 70, 110, 0.55), transparent 65%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
  min-height: clamp(620px, 84vh, 830px);
  padding-top: clamp(48px, 5vw, 76px);
  padding-bottom: clamp(48px, 5vw, 76px);
}
.hero__content { max-width: 640px; }
.hero__eyebrow { color: var(--gold-bright); }
.hero__title {
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(2.7rem, 4.9vw, 4.35rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero__title-kicker {
  display: block;
  margin-bottom: 0.08em;
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 350;
  font-size: 0.56em;
  letter-spacing: 0.01em;
}
.hero__title-abbr { color: rgba(255, 255, 255, 0.55); font-style: italic; }
.hero__lead {
  max-width: 46ch;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.7;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin: 38px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  list-style: none;
}
.hero__meta li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.hero__meta span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero__media {
  position: relative;
  height: min(560px, 62vh);
  min-height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 50px 90px -50px rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 18, 31, 0.05) 40%, rgba(5, 18, 31, 0.62) 100%);
}
.hero__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(252, 250, 246, 0.96);
  color: var(--navy-950);
  box-shadow: var(--shadow-soft);
}
.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 164, 100, 0.18);
}
.hero__badge strong {
  display: block;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.3;
}
.hero__badge span { color: var(--muted); font-size: 0.6rem; font-weight: 600; }
.hero__caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(5, 18, 31, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hero__caption p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.7rem;
  line-height: 1.45;
  max-width: 34ch;
}
.hero__caption .hero__caption-label {
  color: var(--gold-bright);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- Trust strip ---------- */
.trust { background: var(--paper); border-bottom: 1px solid var(--line); }
.trust__inner {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3.5vw, 52px);
  padding: 24px 0;
  flex-wrap: wrap;
}
.trust__label {
  max-width: 138px;
  padding-right: 30px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.6;
  text-transform: uppercase;
}
.trust__logos { display: flex; align-items: center; gap: clamp(22px, 3.5vw, 54px); flex-wrap: wrap; }
.trust__logo { display: inline-flex; }
.trust__logo img {
  height: 32px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.62;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.trust__logo:hover img { filter: none; opacity: 1; }
.trust__link { margin-left: auto; }

/* ---------- Course filters & cards ---------- */
.course-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--navy-900);
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}
.filter-btn:hover { border-color: var(--navy-700); }
.filter-btn.is-active { background: var(--navy-950); border-color: var(--navy-950); color: #fff; }

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}
.course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: var(--radius);
  background: #fff;
  text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease, border-color 0.35s ease;
}
.course-card:hover {
  transform: translateY(-6px);
  border-color: rgba(156, 122, 60, 0.42);
  box-shadow: 0 30px 55px -34px rgba(6, 23, 38, 0.5);
}
.course-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream-deep); }
.course-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}
.course-card:hover .course-card__media img { transform: scale(1.045); }
.course-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 18, 31, 0) 45%, rgba(5, 18, 31, 0.52));
}
.course-card__tag {
  position: absolute;
  left: 14px;
  bottom: 13px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(252, 250, 246, 0.95);
  color: var(--navy-950);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}
.course-card__body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 20px 22px 22px; }
.course-card__title {
  margin: 0;
  color: var(--navy-950);
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 450;
  line-height: 1.28;
}
.course-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: var(--gold-dark);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.course-card__link svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.course-card:hover .course-card__link svg { transform: translateX(4px); }
.course-card.is-hidden { display: none; }

/* ---------- Split layouts ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 84px);
  align-items: center;
}
.split--media-right .split__body { order: -1; }
.split--wide-media { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
.split__body { max-width: 620px; }
.split__media { position: relative; }

.media-frame {
  position: relative;
  padding: 12px;
  border: 1px solid rgba(156, 122, 60, 0.55);
  border-radius: var(--radius-lg);
}
.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 10px);
}
.media-frame--portrait img { aspect-ratio: 4 / 5; }

.badge-float {
  position: absolute;
  right: -18px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--navy-950);
  color: #fff;
  box-shadow: var(--shadow-card);
}
.badge-float strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  color: var(--gold-bright);
}
.badge-float span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 26px 42px;
  margin: 30px 0 34px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
}
.stat__value {
  display: block;
  color: var(--navy-950);
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1.05;
}
.stat__label {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Logo walls ---------- */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 150px;
  padding: 22px 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  text-align: center;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, border-color 0.25s ease;
}
.logo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(156, 122, 60, 0.4);
  box-shadow: var(--shadow-soft);
}
.logo-card img { max-height: 52px; max-width: 100%; width: auto; object-fit: contain; }
.logo-card__name {
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.35;
  text-transform: uppercase;
}

/* ---------- Band (membership promo) ---------- */
.band {
  position: relative;
  overflow: hidden;
  background: var(--navy-950);
  color: #fff;
}
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(55% 90% at 100% 50%, rgba(200, 164, 100, 0.16), transparent 60%);
  pointer-events: none;
}
.band__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
  padding: clamp(48px, 6vw, 88px) 0;
}
.band__media {
  position: relative;
  height: clamp(280px, 34vw, 420px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5, 18, 31, 0.55));
}
.band__media-tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.band h2 { color: #fff; }
.band .lead { color: rgba(255, 255, 255, 0.68); }

/* ---------- Accreditation feature ---------- */
.accredit {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.accredit__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--cream);
}
.accredit__media img { max-height: 190px; width: auto; object-fit: contain; }
.accredit h2 { margin-bottom: 14px; }
.accredit p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; }
.accredit p:last-of-type { margin-bottom: 18px; }

/* ---------- Contact ---------- */
.contact {
  position: relative;
  overflow: hidden;
  background: var(--navy-950);
  color: #fff;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--contact-img, url("../img/contact-hk.jpg"));
  background-size: cover;
  background-position: center 42%;
  opacity: 0.28;
}
.contact::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 18, 31, 0.96) 0%, rgba(5, 18, 31, 0.8) 45%, rgba(5, 18, 31, 0.55) 100%),
    linear-gradient(0deg, rgba(5, 18, 31, 0.7), transparent 40%);
}
.contact__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 84px);
  align-items: start;
  padding-top: clamp(56px, 7vw, 100px);
  padding-bottom: clamp(56px, 7vw, 100px);
}
.contact h2 { color: #fff; }
.contact .lead { color: rgba(255, 255, 255, 0.68); }
.contact-list {
  display: grid;
  gap: 18px;
  margin: 32px 0 34px;
  padding: 0;
  list-style: none;
}
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { width: 19px; height: 19px; margin-top: 3px; flex: 0 0 auto; color: var(--gold-bright); }
.contact-list strong {
  display: block;
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.contact-list address,
.contact-list p { margin: 0; color: rgba(255, 255, 255, 0.86); font-size: 0.9rem; font-style: normal; line-height: 1.6; }
.contact-list a { color: rgba(255, 255, 255, 0.9); text-decoration: none; }
.contact-list a:hover { color: var(--gold-bright); }

.map-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}
.map-card iframe { display: block; width: 100%; height: 230px; border: 0; filter: grayscale(0.25) contrast(1.02); }
.map-card__link svg { width: 15px; height: 15px; flex: 0 0 auto; }
.map-card__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}
.map-card__link:hover { color: var(--gold-bright); }

.contact-form {
  position: relative;
  padding: clamp(24px, 3vw, 38px);
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0, 0.8);
}
.contact-form__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--navy-950);
}
.contact .contact-form__title { color: var(--navy-950); }
.contact-form__note { margin: 0 0 22px; color: var(--muted); font-size: 0.82rem; line-height: 1.5; }
.field { display: grid; gap: 8px; margin-bottom: 15px; }
.field label {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.field input,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(10, 37, 64, 0.16);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 164, 100, 0.2);
}
.field textarea { min-height: 110px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-footnote { margin: 12px 0 0; color: var(--muted); font-size: 0.68rem; line-height: 1.5; }
.form-success {
  display: none;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid #b7d7bf;
  border-radius: 11px;
  background: #eef6ef;
  color: #1e5b2d;
  font-size: 0.88rem;
  font-weight: 700;
}
.form-success.is-visible { display: block; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 82px) 0 0;
  background: #04101b;
  color: rgba(255, 255, 255, 0.65);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 164, 100, 0.12), transparent 65%);
  pointer-events: none;
}
.footer-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.55fr 0.85fr 1fr 1.1fr;
  gap: clamp(28px, 4vw, 60px);
  padding-bottom: clamp(36px, 5vw, 56px);
}
.footer-brand { max-width: 360px; }
.footer-brand .brand { color: #fff; margin-bottom: 18px; }
.footer-brand .brand__crest { height: 58px; }
.footer-brand .brand__name { color: #fff; font-size: 1.15rem; }
.footer-brand .brand__top { color: rgba(255, 255, 255, 0.45); }
.footer-brand p { margin: 0 0 20px; font-size: 0.84rem; line-height: 1.65; color: rgba(255, 255, 255, 0.58); }
.footer-asic { display: inline-flex; align-items: center; gap: 10px; }
.footer-asic img { height: 46px; width: auto; }
.footer-asic span {
  max-width: 92px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}
.footer-heading {
  margin: 0 0 18px;
  color: var(--gold-bright);
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.footer-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.footer-list a {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-list a:hover { color: #fff; }
.footer-contact address {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.65;
}
.footer-contact a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.footer-contact a:hover { color: var(--gold-bright); }
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}
.footer-social svg { width: 16px; height: 16px; }
.footer-social:hover { color: var(--gold-bright); }
.footer-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.68rem;
}
.footer-bottom p { margin: 0; }
.footer-top-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.footer-top-link:hover { color: var(--gold-bright); }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.78);
  padding: clamp(32px, 4vw, 48px) 0 clamp(48px, 6vw, 82px);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(200, 164, 100, 0.13), transparent 55%),
    radial-gradient(50% 90% at 100% 100%, rgba(23, 70, 110, 0.6), transparent 65%);
  pointer-events: none;
}
.page-hero--photo {
  background-image:
    linear-gradient(90deg, rgba(5, 18, 31, 0.94) 0%, rgba(5, 18, 31, 0.82) 48%, rgba(5, 18, 31, 0.5) 100%),
    var(--hero-img);
  background-size: cover;
  background-position: center;
}
.page-hero__inner {
  position: relative;
  z-index: 2;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: clamp(26px, 4vw, 46px);
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.breadcrumbs a { color: rgba(255, 255, 255, 0.68); text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold-bright); }
.breadcrumbs span[aria-current] { color: var(--gold-bright); }
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}
.page-hero h1 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(2.25rem, 4.3vw, 3.7rem);
  line-height: 1.04;
}
.page-hero .lead { max-width: 58ch; color: rgba(255, 255, 255, 0.72); }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0 30px; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.page-hero__aside { display: grid; gap: 16px; }
.page-hero__media {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  aspect-ratio: 16 / 10;
}
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__aside .glance { box-shadow: var(--shadow-card); }

/* ---------- Glance card ---------- */
.glance {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}
.glance__title {
  margin: 0 0 12px;
  color: var(--gold-dark);
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.glance__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  line-height: 1.45;
}
.glance__row dt { color: var(--muted); font-weight: 650; flex: 0 0 auto; }
.glance__row dd { margin: 0; color: var(--navy-950); font-weight: 700; text-align: right; }
.glance__cta { width: 100%; margin-top: 18px; }

/* ---------- Content layout / prose ---------- */
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(34px, 5vw, 76px);
  align-items: start;
}
.content-main { min-width: 0; }
.sidebar { position: sticky; top: 108px; display: grid; gap: 18px; }
.sidebar-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}
.sidebar-card--navy { border-color: var(--navy-950); background: var(--navy-950); color: rgba(255, 255, 255, 0.75); }
.sidebar-card--navy h2,
.sidebar-card--navy h3 { color: #fff; }
.sidebar-card__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 1.28rem;
  color: var(--navy-950);
}
.sidebar-card--navy .sidebar-card__title { color: #fff; }
.sidebar-card p { font-size: 0.85rem; line-height: 1.65; }
.sidebar-card .btn { width: 100%; margin-top: 6px; }
.sidebar-list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.sidebar-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--navy-900);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.2s ease;
}
.sidebar-list a:hover { color: var(--gold-dark); }
.sidebar-list svg { width: 13px; height: 13px; flex: 0 0 auto; color: var(--gold-dark); }

.content-section { margin-bottom: clamp(44px, 6vw, 68px); }
.content-section:last-child { margin-bottom: 0; }
.content-section > h2 {
  margin: 0 0 18px;
  font-size: clamp(1.65rem, 2.6vw, 2.2rem);
}

.prose { font-size: 1.01rem; line-height: 1.78; color: var(--body); }
.prose > p:first-child { color: var(--body); }
.prose h2 { margin: 2.4em 0 0.65em; font-size: clamp(1.65rem, 2.6vw, 2.2rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  margin: 1.9em 0 0.6em;
  color: var(--navy-950);
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.prose h3:first-child { margin-top: 0; }
.prose p { margin: 0 0 1.15em; }
.prose p:last-child { margin-bottom: 0; }
.prose a { color: var(--navy-800); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(156, 122, 60, 0.65); transition: color 0.2s ease; }
.prose a:hover { color: var(--gold-dark); }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 1.25em; }
.prose li { margin: 0.4em 0; }
.prose strong { color: var(--navy-950); font-weight: 750; }
.prose--wide { max-width: 76ch; }

/* ---------- Objectives & modules ---------- */
.objectives {
  margin: 22px 0 6px;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
  counter-reset: obj;
}
.objectives li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.97rem;
  line-height: 1.65;
}
.objectives li::before {
  counter-increment: obj;
  content: counter(obj, decimal-leading-zero);
  color: var(--gold-dark);
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.4;
}
.objectives li p { margin: 0; }

.module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 6px;
  padding: 0;
  list-style: none;
}
.module {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 0.89rem;
  line-height: 1.45;
}
.module__code {
  color: var(--gold-dark);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.module-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 28px;
  margin: 20px 0 6px;
  padding: 0;
  list-style: none;
  font-size: 0.94rem;
}
.module-list li {
  position: relative;
  padding: 8px 0 8px 22px;
  border-bottom: 1px solid var(--line);
}
.module-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 17px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.note-card {
  margin: 24px 0;
  padding: 22px 24px;
  border: 1px solid rgba(156, 122, 60, 0.35);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(200, 164, 100, 0.13), rgba(200, 164, 100, 0.035));
  font-size: 0.94rem;
  line-height: 1.7;
}
.note-card p:last-child { margin-bottom: 0; }
.note-card h3 { margin: 0 0 8px; font-family: var(--font-sans); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-dark); }

.feature-list { margin: 20px 0; padding: 0; border-top: 1px solid var(--line); }
.feature {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 26px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.feature dt {
  padding-top: 3px;
  color: var(--gold-dark);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}
.feature dd { margin: 0; color: var(--body); font-size: 0.96rem; line-height: 1.68; }
.feature dd p { margin: 0 0 0.7em; }
.feature dd p:last-child { margin-bottom: 0; }

/* ---------- Awarding body page ---------- */
.award-block {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  padding: clamp(34px, 4vw, 56px) 0;
  border-top: 1px solid var(--line);
}
.award-block__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.award-block__media img { max-height: 112px; max-width: 100%; width: auto; object-fit: contain; }
.award-block__body h2 { margin: 0 0 6px; font-size: clamp(1.55rem, 2.4vw, 2rem); }
.award-block__kicker {
  margin: 0 0 14px;
  color: var(--gold-dark);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.award-block__body p { color: var(--body); font-size: 0.96rem; line-height: 1.72; }
.award-block__body .btn { margin-top: 8px; }

/* ---------- Partners ---------- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}
.partner-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
}
.partner-card:hover {
  transform: translateY(-4px);
  border-color: rgba(156, 122, 60, 0.35);
  box-shadow: var(--shadow-soft);
}
.partner-card__logo {
  display: flex;
  align-items: center;
  height: 66px;
}
.partner-card__logo img { max-height: 100%; max-width: 230px; width: auto; object-fit: contain; }
.partner-card__name { margin: 0; font-family: var(--font-display); font-size: 1.28rem; font-weight: 450; line-height: 1.3; }
.partner-card__text { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.68; }
.partner-card__text a { color: var(--navy-800); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(156, 122, 60, 0.6); }

/* ---------- Membership grades ---------- */
.grade-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 28px); }
.grade-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(26px, 3.2vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}
.grade-card--featured { border-color: var(--navy-950); background: var(--navy-950); color: rgba(255, 255, 255, 0.76); }
.grade-card__kicker {
  color: var(--gold-dark);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.grade-card--featured .grade-card__kicker { color: var(--gold-bright); }
.grade-card h3 { margin: 0; font-family: var(--font-display); font-size: clamp(1.7rem, 2.4vw, 2.15rem); font-weight: 400; }
.grade-card--featured h3 { color: #fff; }
.grade-card > p { margin: 0; font-size: 0.93rem; line-height: 1.7; }
.grade-card--featured > p { color: rgba(255, 255, 255, 0.72); }
.checklist { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; font-size: 0.87rem; line-height: 1.6; }
.checklist li { display: grid; grid-template-columns: 20px 1fr; gap: 11px; align-items: start; }
.checklist li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background-color: rgba(200, 164, 100, 0.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239c7a3c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 11px 11px;
  background-position: center;
  background-repeat: no-repeat;
}
.grade-card--featured .checklist li::before {
  background-color: rgba(221, 189, 131, 0.2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ddbd83' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.grade-card__foot { margin-top: auto; padding-top: 10px; }

/* ---------- Master programme cards ---------- */
.mba-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.8vw, 32px); }
.mba-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease, border-color 0.35s ease;
}
.mba-card:hover {
  transform: translateY(-6px);
  border-color: rgba(156, 122, 60, 0.4);
  box-shadow: 0 34px 60px -38px rgba(6, 23, 38, 0.52);
}
.mba-card__media { position: relative; aspect-ratio: 16 / 8.4; overflow: hidden; background: var(--cream-deep); }
.mba-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.65s var(--ease); }
.mba-card:hover .mba-card__media img { transform: scale(1.04); }
.mba-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 18, 31, 0.05) 40%, rgba(5, 18, 31, 0.6));
}
.mba-card__badge {
  position: absolute;
  left: 16px;
  bottom: 15px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(252, 250, 246, 0.95);
  color: var(--navy-950);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.mba-card__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 22px 24px 24px; }
.mba-card__uni {
  color: var(--gold-dark);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.mba-card__name { margin: 0; font-family: var(--font-display); font-size: 1.38rem; font-weight: 450; line-height: 1.25; }
.mba-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 6px;
  color: var(--navy-900);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.mba-card__link svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.mba-card:hover .mba-card__link svg { transform: translateX(4px); }

/* ---------- About page ---------- */
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(34px, 5vw, 80px);
  align-items: start;
}
.story-grid__media { position: sticky; top: 112px; }
.story-grid__media .media-frame img { aspect-ratio: 4 / 4.6; }
.story-copy p { font-size: 1.02rem; line-height: 1.78; }
.region-strip { display: flex; flex-wrap: wrap; gap: 9px; margin: 28px 0 0; padding: 0; list-style: none; }
.region-chip {
  padding: 8px 15px;
  border: 1px solid rgba(156, 122, 60, 0.45);
  border-radius: 999px;
  color: var(--gold-dark);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.value-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.value-card {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.value-card h3 { margin: 0 0 12px; font-family: var(--font-display); font-size: 1.42rem; font-weight: 450; }
.value-card p { margin: 0 0 0.9em; color: var(--body); font-size: 0.94rem; line-height: 1.72; }
.value-card p:last-child { margin-bottom: 0; }
.president {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: center;
}
.president__media { position: relative; max-width: 380px; }
.president__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 190px 190px 20px 20px;
}
.president__media::after {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid rgba(200, 164, 100, 0.5);
  border-radius: 190px 190px 20px 20px;
  z-index: -1;
}
.president__quote { margin: 0 0 22px; color: rgba(255, 255, 255, 0.86); font-size: 0.98rem; line-height: 1.78; }
.president__quote p { margin: 0 0 1em; }
.president__sign {
  margin: 26px 0 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
}
.president__sign span {
  display: block;
  margin-top: 4px;
  color: var(--gold-bright);
  font-family: var(--font-sans);
  font-size: 0.56rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; padding: clamp(48px, 6vw, 82px) 0; background: var(--navy-950); color: #fff; }
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 100% at 50% 0%, rgba(200, 164, 100, 0.2), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 120px);
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { margin: 0; color: #fff; font-size: clamp(1.95rem, 3.4vw, 2.9rem); }
.cta-band p { margin: 10px 0 0; max-width: 52ch; color: rgba(255, 255, 255, 0.62); font-size: 0.95rem; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Related programmes ---------- */
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }

/* ---------- Misc ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.pill {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.media-stack { display: grid; gap: 14px; }
.media-stack img { width: 100%; border-radius: 14px; object-fit: cover; }
.media-stack--two { grid-template-columns: 1fr 1fr; }
.media-stack--two img { aspect-ratio: 1; }

/* ---------- Reveal animation ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header-inner { min-height: 78px; }
  .brand__name { font-size: 0.94rem; }
  .nav-dropdown { width: min(680px, calc(100vw - 40px)); }
  .primary-nav { gap: 20px; }
  .logo-wall { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed;
    top: 78px;
    right: 0;
    bottom: auto;
    left: 0;
    height: calc(100vh - 78px);
    height: calc(100svh - 78px);
    z-index: 290;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 22px var(--gutter) 48px;
    background: var(--paper);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.3s var(--ease), visibility 0.25s;
  }
  body.nav-open .primary-nav { opacity: 1; visibility: visible; transform: none; }
  .primary-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav__list > li { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 2px; font-size: 0.78rem; }
  .has-dropdown .nav-dropdown {
    position: static;
    display: none;
    width: auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .has-dropdown.is-open .nav-dropdown { display: block; transform: none; }
  .nav-dropdown__inner { grid-template-columns: 1fr; padding: 8px 0 18px; }
  .nav-dropdown__label { padding-left: 0; }
  .nav-dropdown__list { grid-template-columns: 1fr; }
  .nav-dropdown__promo { grid-row: auto; margin-top: 12px; }
  .header-cta { margin-top: 24px; width: 100%; }
  .hero__inner { grid-template-columns: 1fr; min-height: 0; padding-top: 52px; padding-bottom: 56px; }
  .hero__content { max-width: 640px; }
  .hero__media { height: clamp(340px, 48vw, 460px); width: 100%; }
  .hero__meta { margin-top: 30px; }
  .split, .split--wide-media, .story-grid, .page-hero__grid, .band__inner, .president, .accredit, .contact__inner {
    grid-template-columns: 1fr;
  }
  .split--media-right .split__body { order: 0; }
  .split__body { max-width: 760px; }
  .story-grid__media { position: relative; top: 0; max-width: 560px; }
  .story-grid__media .media-frame img { aspect-ratio: 4 / 3.2; }
  .page-hero__aside { max-width: none; }
  .band__media { order: -1; height: clamp(260px, 42vw, 380px); }
  .accredit__media { min-height: 170px; }
  .accredit__media img { max-height: 120px; }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .sidebar > *:only-child { grid-column: 1 / -1; }
  .award-block { grid-template-columns: 220px 1fr; }
  .footer-grid { grid-template-columns: 1.3fr 0.8fr 1fr; }
  .footer-brand { grid-column: 1 / -1; max-width: 520px; }
  .president__media { max-width: 300px; }
}

@media (max-width: 820px) {
  .course-grid, .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mba-grid, .partner-grid, .grade-grid, .value-grid { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .module-grid, .module-list { grid-template-columns: 1fr; }
  .contact__inner { padding-top: 56px; padding-bottom: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hero__caption { flex-direction: column; align-items: flex-start; gap: 6px; }
  .award-block { grid-template-columns: 1fr; }
  .award-block__media { max-width: 300px; min-height: 150px; }
  .president { gap: 38px; }
  .president__media { max-width: 260px; }
  .section-head { align-items: flex-start; }
  .trust__label { border-right: 0; padding-right: 0; max-width: none; }
  .trust__inner { gap: 14px 26px; }
  .trust__link { margin-left: 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand__text { display: none; }
  .brand__crest { height: 44px; }
  .hero__inner { padding-top: 40px; padding-bottom: 44px; }
  .hero__title { font-size: clamp(2.35rem, 10.5vw, 3.1rem); }
  .hero__meta { gap: 12px 20px; }
  .hero__media { min-height: 300px; border-radius: 18px; }
  .hero__badge { top: 12px; left: 12px; padding: 8px 10px; }
  .hero__badge img { height: 28px; }
  .hero__caption { left: 12px; right: 12px; bottom: 12px; padding: 11px 13px; }
  .course-grid, .related-grid { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-card { min-height: 120px; }
  .form-row { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .page-hero { padding-top: 24px; }
  .breadcrumbs { margin-bottom: 24px; }
  .feature { grid-template-columns: 1fr; gap: 6px; }
  .feature dt { padding-top: 0; }
  .objectives li { grid-template-columns: 34px 1fr; gap: 12px; }
  .cta-band__inner { align-items: flex-start; }
  .cta-band__actions { width: 100%; }
  .cta-band__actions .btn { flex: 1; }
  .media-frame { padding: 8px; }
  .badge-float { right: 4px; bottom: 12px; padding: 10px 13px; }
  .badge-float strong { font-size: 1.1rem; }
  .president__media { max-width: 220px; }
  .map-card iframe { height: 200px; }
}

@media (max-width: 420px) {
  .hero__actions .btn, .page-hero__actions .btn { width: 100%; }
  .section-head__aside { width: 100%; }
  .course-filters { width: 100%; }
}

/* ---------- 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;
  }
  html.js .reveal { opacity: 1; transform: none; }
}

/* ---------- Marquee (partners) ---------- */
.marquee {
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 46s linear infinite;
}
.marquee__group {
  display: flex;
  align-items: center;
  gap: clamp(38px, 5vw, 78px);
  padding-right: clamp(38px, 5vw, 78px);
}
.marquee__group img {
  height: 30px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.marquee a { display: inline-flex; }
.marquee a:hover img { filter: none; opacity: 1; }
@keyframes marquee-scroll {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
}

.band__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Photo-hero image variants (URLs resolve from this stylesheet) */
.page-hero--about { --hero-img: url("../img/about-story.jpg"); }
.page-hero--partners { --hero-img: url("../img/partners-hk.jpg"); }
.page-hero--membership { --hero-img: url("../img/membership.jpg"); }
.page-hero--master { --hero-img: url("../img/master-hero.jpg"); }

/* ---------- QA polish ---------- */
.nav-toggle, .nav-link, .footer-top-link, .breadcrumbs { -webkit-tap-highlight-color: transparent; }

/* Accessible visually-hidden helper */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Footer brand: allow the long name to wrap on narrow laptop widths */
.footer-brand .brand__name { white-space: normal; font-size: 1.05rem; line-height: 1.18; max-width: 260px; }
.footer-brand .brand { align-items: flex-start; }
.footer-brand .brand__crest { margin-top: 2px; }

/* Trust strip / membership band: keep the container gutter */
.trust__inner { padding: 24px var(--gutter); }
.band__inner { padding: clamp(48px, 6vw, 88px) var(--gutter); }

/* Course dropdown promo must span the single column on tablet/mobile */
@media (max-width: 1080px) {
  .nav-dropdown__promo { grid-column: 1 / -1; grid-row: auto; }
  body.nav-open { overflow: hidden; }
}

/* Keep header from overflowing just above the mobile breakpoint */
@media (max-width: 1150px) and (min-width: 1081px) {
  .header-cta { display: none; }
  .brand__name { font-size: 0.92rem; }
  .primary-nav { gap: 16px; }
  .primary-nav__list { gap: 12px; }
  .nav-link { font-size: 0.62rem; letter-spacing: 0.08em; }
}


/* Footer ASIC tile: intentional white plate for the dark footer */
.footer-asic img { background: #fff; border-radius: 7px; padding: 5px; height: 48px; }

/* Value card headings now h2 */
.value-card h2.value-card__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 450;
  color: var(--navy-950);
}
.president__eyebrow { margin-bottom: 18px; }

/* Reduced motion: no duplicated marquee group */
@media (prefers-reduced-motion: reduce) {
  .marquee__group:nth-child(2) { display: none; }
}

/* Slightly larger micro-type for legibility */
.breadcrumbs { font-size: 0.64rem; }
.footer-bottom { font-size: 0.7rem; }

/* ---------- Prevent off-canvas dropdowns / marquees from creating page-level x-scroll ---------- */
html, body { overflow-x: clip; }

/* Align the Courses dropdown to the right edge on laptop widths so it never clips */
@media (max-width: 1250px) and (min-width: 1081px) {
  .nav-dropdown {
    left: auto;
    right: -10px;
    transform: translate(0, 10px);
    width: min(660px, calc(100vw - 40px));
  }
  .has-dropdown.is-open .nav-dropdown { transform: translate(0, 0); }
}

/* Touch comfort */
.btn { min-height: 44px; }
.filter-btn { min-height: 36px; }

/* Avoid duplicated CTA when the sidebar stacks under the content */
@media (max-width: 1080px) {
  .content-main .note-card { display: none; }
}
