/* ==========================================================================
   BIMT CAMPUS — Premium Revamp Stylesheet
   Brand: Royal Blue + Signal Red + Charcoal (from BIMT logo)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  /* Brand */
  --blue-900: #0c1445;
  --blue-800: #131c63;
  --blue-700: #1c2a8f;
  --blue-600: #263bb5;
  --blue-500: #3b52d6;
  --blue-300: #8b9bf0;
  --blue-100: #e8ecff;
  --red-600:  #d81f2a;
  --red-500:  #e2231a;
  --red-400:  #ff4b52;
  --gold:     #f6b73c;

  /* Neutrals */
  --ink:      #12141d;
  --ink-2:    #2b2f3e;
  --muted:    #5b6172;
  --line:     #e7e9f2;
  --surface:  #ffffff;
  --surface-2:#f5f6fb;
  --surface-3:#eef1fb;

  /* Effects */
  --grad-brand: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-500) 60%, var(--blue-600) 100%);
  --grad-hero:  linear-gradient(115deg, rgba(9,14,50,.94) 0%, rgba(18,28,99,.82) 42%, rgba(28,42,143,.55) 100%);
  --grad-red:   linear-gradient(135deg, var(--red-500), var(--red-600));
  --shadow-sm:  0 1px 3px rgba(18,20,29,.05), 0 6px 16px -10px rgba(18,20,29,.08);
  --shadow-md:  0 10px 30px -14px rgba(18,28,99,.20);
  --shadow-lg:  0 34px 70px -26px rgba(12,20,69,.32);
  --radius:     18px;
  --radius-sm:  12px;
  --radius-lg:  26px;

  /* Type */
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Fraunces", "Plus Jakarta Sans", Georgia, "Times New Roman", serif;
  --container: 100%;
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

/* ---------- Layout Helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(24px, 4vw, 72px); }
.section { padding: clamp(74px, 8.5vw, 108px) 0; }
.section-sm { padding: clamp(52px, 6vw, 76px) 0; }
.center { text-align: center; }
.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Kicker + Headings ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-600); background: var(--surface-3);
  padding: 7px 15px; border-radius: 100px; margin-bottom: 18px;
}
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red-500); }
.kicker.on-dark { color: #cdd6ff; background: rgba(255,255,255,.1); }

h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.02em; font-weight: 800; color: var(--ink); }
.h-xl { font-size: clamp(2.5rem, 5.6vw, 4.2rem); }
.h-lg { font-size: clamp(2.05rem, 4vw, 3.05rem); }
.h-md { font-size: clamp(1.5rem, 2.5vw, 2.1rem); }
/* Editorial serif display for large headings — premier education feel */
.h-xl, .h-lg, .h-md, .hero h1, .page-hero h1, .cta-band h2, .amb-body h2, .split-body h2, .section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.08;
}
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); line-height: 1.7; }
.section-head { max-width: 680px; margin: 0 auto 56px; }
.section-head p { color: var(--muted); font-size: 1.1rem; line-height: 1.7; margin-top: 16px; }
.section-head h2 { margin-top: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: .96rem; letter-spacing: .01em;
  padding: 14px 26px; border-radius: 100px; transition: .25s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-red); color: #fff; box-shadow: 0 12px 24px -10px rgba(226,35,26,.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 32px -10px rgba(226,35,26,.7); }
.btn-blue { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-md); }
.btn-blue:hover { transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.2); }
.btn-outline { background: #fff; color: var(--blue-700); border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-outline:hover { border-color: var(--blue-500); color: var(--blue-600); transform: translateY(-2px); }
.btn-lg { padding: 17px 34px; font-size: 1.02rem; }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.topbar {
  background: var(--blue-900); color: #cdd6ff;
  font-size: .84rem; font-weight: 500;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 42px; gap: 20px; }
.topbar a { transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar-info { display: flex; gap: 22px; align-items: center; }
.topbar-info span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-info svg { width: 15px; height: 15px; color: var(--blue-300); }
.topbar-social { display: flex; gap: 14px; align-items: center; }
.topbar-social a { display: inline-flex; }
.topbar-social svg { width: 16px; height: 16px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 50px; width: auto; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-weight: 600; font-size: .95rem; color: var(--ink-2);
  padding: 10px 15px; border-radius: 10px; transition: .2s;
}
.nav-link:hover, .nav-link.active { color: var(--blue-600); background: var(--surface-3); }
.nav-link svg { width: 15px; height: 15px; opacity: .6; transition: transform .2s; }
.has-drop:hover .nav-link svg { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 240px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-lg); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: .25s ease;
}
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 13px; border-radius: 10px; font-size: .92rem; font-weight: 500;
  color: var(--ink-2); transition: .18s;
}
.dropdown a:hover { background: var(--surface-3); color: var(--blue-600); }
.dropdown a svg { width: 17px; height: 17px; color: var(--blue-500); flex-shrink: 0; }

.nav-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; background: var(--surface-3); }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   HOME: full-bleed hero video behind transparent topbar + header
   (solid header on scroll — the .scrolled state)
   ========================================================================== */
.home .topbar { position: relative; z-index: 30; background: transparent; border-bottom: 1px solid rgba(255,255,255,.14); }
.home .topbar-info svg { color: var(--gold); }
.home .site-header { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
.home .site-header.scrolled { background: rgba(255,255,255,.9); border-bottom-color: var(--line); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); box-shadow: var(--shadow-sm); }
/* Legibility scrim: keeps light nav text readable over any part of the hero image */
.home .topbar::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0;
  height: calc(42px + var(--header-h) + 36px);
  background: linear-gradient(180deg, rgba(8,12,42,.74) 0%, rgba(8,12,42,.40) 52%, rgba(8,12,42,0) 100%);
  z-index: -1; pointer-events: none;
}
.home .site-header:not(.scrolled) .nav-link { color: #eef1ff; text-shadow: 0 1px 10px rgba(0,0,0,.35); }
.home .site-header:not(.scrolled) .nav-link svg { color: #eef1ff; }
.home .site-header:not(.scrolled) .nav-link:hover,
.home .site-header:not(.scrolled) .nav-link.active { color: #fff; background: rgba(255,255,255,.15); }
.home .site-header:not(.scrolled) .brand img { filter: drop-shadow(0 3px 12px rgba(0,0,0,.6)); }
.home .site-header:not(.scrolled) .nav-toggle { background: rgba(255,255,255,.2); }
.home .site-header:not(.scrolled) .nav-toggle span { background: #fff; }
/* Pull the hero up so the video sits behind the topbar + header */
.home .hero { margin-top: calc(-42px - var(--header-h)); }
.home .hero-inner { padding-top: clamp(170px, 16vw, 240px); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; top: -12%; left: 0; right: 0; height: 124%; z-index: -2; will-change: transform; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(102deg, rgba(7,11,40,.96) 0%, rgba(10,16,58,.9) 26%, rgba(12,20,69,.62) 55%, rgba(12,20,69,.34) 78%, rgba(28,42,143,.28) 100%),
    linear-gradient(to top, rgba(7,11,40,.9) 0%, rgba(7,11,40,.15) 32%, transparent 55%),
    radial-gradient(1100px 520px at 78% 12%, rgba(59,82,214,.28), transparent 60%);
}
.hero-inner { padding-block: clamp(70px, 11vw, 130px) clamp(90px, 12vw, 140px); position: relative; }
.hero-content { max-width: 720px; }
.hero h1 { color: #fff; margin: 10px 0 22px; }
.hero h1 .grad-text {
  background: linear-gradient(120deg,#ffd76a,#ff8a5c,#ff5c7a);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: #dfe4ff; max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 46px; }
.hero-badges .hb { display: flex; align-items: center; gap: 11px; }
.hero-badges svg { width: 26px; height: 26px; color: var(--gold); flex-shrink: 0; }
.hero-badges b { display: block; font-size: 1rem; color: #fff; }
.hero-badges small { color: #b9c1ee; font-size: .82rem; }

/* Hero content + stat bar share one row, bottoms aligned (stat sits at badge level) */
.hero-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.hero-content { flex: 0 1 auto; }

/* Stat bar — glass card on the right, aligned with the badges */
.hero-float {
  position: relative; z-index: 5; flex-shrink: 0;
  background: rgba(255,255,255,.96); color: var(--ink);
  border-radius: 22px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.7);
  padding: 20px 30px; display: flex; align-items: center; gap: 28px;
}
.hero-float .hf { text-align: center; }
.hero-float .hf b { display: block; font-size: clamp(1.8rem, 2.6vw, 2.3rem); font-weight: 800; color: var(--blue-700); line-height: 1; }
.hero-float .hf span { display: block; margin-top: 8px; font-size: .82rem; color: var(--muted); font-weight: 600; }
.hero-float .divider { width: 1px; align-self: stretch; background: var(--line); }

/* Video hero background — poster is the always-on base layer (loads on every
   device, ~36KB); the video is rendered on top only on desktop/fine-pointer. */
.hero-bg video, .hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.14) contrast(1.06) brightness(.96); }
.hero-poster { display: block; z-index: 0; }
.hero-bg video { z-index: 1; }
.hero-bg::after { content:""; position:absolute; inset:0; background: radial-gradient(circle at 70% 30%, transparent, rgba(9,14,50,.25)); }
.hero-scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 6; color:#cdd6ff; display:flex; flex-direction:column; align-items:center; gap:6px; font-size:.72rem; letter-spacing:.18em; text-transform:uppercase; }
.hero-scroll .mouse { width:24px; height:38px; border:2px solid rgba(255,255,255,.5); border-radius:14px; position:relative; }
.hero-scroll .mouse::after { content:""; position:absolute; top:7px; left:50%; transform:translateX(-50%); width:4px; height:7px; border-radius:3px; background:#fff; animation: scrolldot 1.6s infinite; }
@keyframes scrolldot { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%{opacity:0;transform:translate(-50%,10px)} 100%{opacity:0} }

/* ==========================================================================
   WATCH OUR STORY — click-to-play video card
   ========================================================================== */
.video-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.video-card video { display: block; width: 100%; aspect-ratio: 16/11; object-fit: cover; background: #0b1030; }
.video-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(12,20,69,.35), transparent 55%); pointer-events: none; transition: opacity .4s; }
.video-card.playing::after { opacity: 0; }
.video-play {
  position: absolute; inset: 0; margin: auto; width: 88px; height: 88px; border-radius: 50%;
  background: rgba(255,255,255,.95); display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 16px 40px -10px rgba(0,0,0,.5); transition: transform .25s, opacity .3s, visibility .3s;
}
.video-play:hover { transform: scale(1.08); }
.video-play svg { width: 34px; height: 34px; color: var(--red-500); margin-left: 5px; }
.video-play::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(255,255,255,.55); animation: pulse 2.2s infinite; z-index: -1; }
.video-card.playing .video-play { opacity: 0; visibility: hidden; }
.video-tag { position: absolute; left: 18px; bottom: 18px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; background: rgba(9,14,50,.6); backdrop-filter: blur(6px); color: #fff; padding: 8px 14px; border-radius: 100px; font-size: .82rem; font-weight: 600; transition: opacity .3s; }
.video-tag svg { width: 15px; height: 15px; color: var(--red-400); }
.video-card.playing .video-tag { opacity: 0; }

/* YouTube facade — loads the iframe only on click */
.yt-facade { position: relative; cursor: pointer; overflow: hidden; background-size: cover; background-position: center; background-color: #0b1030; }
.yt-facade.video-card { aspect-ratio: 16/9; max-width: 960px; margin: 0 auto; }
.yt-facade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(12,20,69,.4), rgba(9,14,50,.2)); transition: background .3s; }
.yt-facade:hover::after { background: linear-gradient(160deg, rgba(12,20,69,.22), rgba(9,14,50,.08)); }
.yt-facade.playing::after { display: none; }
.yt-play { position: absolute; inset: 0; margin: auto; width: 78px; height: 78px; border-radius: 50%; background: rgba(226,35,26,.95); display: grid; place-items: center; z-index: 2; box-shadow: 0 16px 38px -8px rgba(226,35,26,.65); transition: transform .25s; }
.yt-facade:hover .yt-play { transform: scale(1.09); }
.yt-play svg { width: 30px; height: 30px; color: #fff; margin-left: 4px; }
.yt-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 5; }
/* Player + playlist layout */
.yt-player-wrap { display: grid; grid-template-columns: 1.9fr 1fr; gap: 22px; align-items: stretch; }
.yt-main { display: flex; flex-direction: column; }
.yt-stage { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background-size: cover; background-position: center; background-color: #0b1030; cursor: pointer; box-shadow: var(--shadow-lg); }
.yt-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(12,20,69,.35), rgba(9,14,50,.12)); transition: background .3s; }
.yt-stage:hover::after { background: linear-gradient(160deg, rgba(12,20,69,.2), rgba(9,14,50,.05)); }
.yt-stage.playing { cursor: default; }
.yt-stage.playing::after, .yt-stage.playing .yt-play { display: none; }
.yt-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 5; }
.yt-stage-title { margin-top: 16px; font-size: 1.2rem; font-weight: 700; }
.yt-list { display: flex; flex-direction: column; justify-content: space-between; }
.yt-list-item { display: flex; gap: 12px; align-items: center; text-align: left; padding: 8px; border-radius: 14px; border: 1px solid var(--line); background: #fff; transition: .2s; width: 100%; cursor: pointer; }
.ytl-thumb { width: 104px; height: 58px; }
.yt-list-item:hover { background: var(--surface-2); border-color: var(--blue-300); }
.yt-list-item.active { border-color: var(--blue-500); background: var(--surface-3); box-shadow: var(--shadow-sm); }
.ytl-thumb { width: 116px; height: 66px; flex-shrink: 0; border-radius: 10px; background-size: cover; background-position: center; background-color: #0b1030; position: relative; }
.ytl-thumb::after { content: ""; position: absolute; inset: 0; margin: auto; width: 28px; height: 28px; border-radius: 50%; background: rgba(0,0,0,.5); transition: background .2s; }
.ytl-thumb::before { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%,-50%); border-style: solid; border-width: 5px 0 5px 9px; border-color: transparent transparent transparent #fff; z-index: 2; }
.yt-list-item.active .ytl-thumb::after, .yt-list-item:hover .ytl-thumb::after { background: var(--red-500); }
.ytl-meta { min-width: 0; }
.ytl-meta b { font-size: .9rem; display: block; line-height: 1.3; color: var(--ink); }
.ytl-meta small { font-size: .78rem; color: var(--muted); }

.yt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.yt-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .3s; }
.yt-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.yt-item .yt-facade { aspect-ratio: 16/9; }
.yt-item .yt-play { width: 54px; height: 54px; }
.yt-item .yt-play svg { width: 20px; height: 20px; }
.yt-item h4 { font-size: .92rem; font-weight: 700; padding: 15px 17px; line-height: 1.35; color: var(--ink); }

/* YouTube channel subscribe banner */
.yt-channel { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: linear-gradient(120deg, #141414, #2a0808); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 22px 30px; margin-top: 38px; }
.yt-channel .yc-left { display: flex; align-items: center; gap: 16px; }
.yt-channel .yc-ic { width: 54px; height: 54px; border-radius: 14px; background: #ff0000; display: grid; place-items: center; flex-shrink: 0; }
.yt-channel .yc-ic svg { width: 32px; height: 32px; color: #fff; }
.yt-channel b { color: #fff; font-size: 1.12rem; display: block; letter-spacing: -.01em; }
.yt-channel span { color: #b9b9b9; font-size: .88rem; }
.btn-youtube { background: #ff0000; color: #fff; box-shadow: 0 12px 26px -10px rgba(255,0,0,.6); }
.btn-youtube:hover { background: #e00000; transform: translateY(-2px); }

/* Awards strip under the About image */
.about-awards { margin-top: 26px; }
.about-awards .aa-label { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: 14px; }
.aa-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.aa-track { display: flex; gap: 18px; width: max-content; align-items: center; animation: marquee 26s linear infinite; }
.aa-marquee:hover .aa-track { animation-play-state: paused; }
.aa-track img { height: 108px; width: auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 20px; box-shadow: var(--shadow-sm); }

/* Awards & Recognition */
.awards-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.award-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; text-align: center; transition: .3s; }
.award-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: transparent; }
.award-card .aw-pic { height: 118px; display: grid; place-items: center; margin-bottom: 20px; }
.award-card .aw-pic img { max-height: 118px; max-width: 100%; width: auto; object-fit: contain; }
.award-card h4 { font-size: 1.05rem; margin-bottom: 4px; }
.award-card p { color: var(--muted); font-size: .88rem; }

/* ==========================================================================
   AMBASSADOR BAND
   ========================================================================== */
.ambassador { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--blue-900), var(--blue-700)); color:#fff; }
.ambassador::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 85% 20%, rgba(226,35,26,.35), transparent 45%); }
.amb-grid { position: relative; display:grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items:center; }
.amb-body .kicker { color:#ffd76a; background: rgba(255,255,255,.1); }
.amb-body h2 { color:#fff; margin-bottom: 18px; }
.amb-quote { font-size: 1.35rem; line-height:1.5; font-weight:600; color:#eef1ff; border-left: 4px solid var(--red-500); padding-left: 22px; margin-bottom: 26px; }
.amb-name b { display:block; font-size:1.15rem; }
.amb-name span { color:#b9c1ee; font-size:.92rem; }
.amb-photo { position: relative; text-align:center; }
.amb-photo .ring { width: min(320px, 80%); aspect-ratio:1; margin: 0 auto; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--red-500)); padding: 6px; box-shadow: var(--shadow-lg); }
.amb-photo .ring .inner { width:100%; height:100%; border-radius:50%; background: var(--blue-800); display:grid; place-items:center; overflow:hidden; }
.amb-photo .ring .inner svg { width: 46%; height:46%; color:#8b9bf0; }
.amb-photo .cap { margin-top:16px; font-weight:700; }
.amb-photo .cap small { display:block; color:#b9c1ee; font-weight:500; }
/* Real ambassador photo (transparent PNG) */
.amb-stage { position:relative; width:min(400px,86%); margin:0 auto; }
.amb-stage .amb-disc { position:absolute; left:50%; bottom:6%; transform:translateX(-50%); width:86%; aspect-ratio:1; border-radius:50%; background:radial-gradient(circle at 50% 42%, rgba(246,183,60,.9), rgba(226,35,26,.45) 58%, transparent 72%); filter:blur(4px); }
.amb-stage .amb-ring2 { position:absolute; left:50%; bottom:6%; transform:translateX(-50%); width:96%; aspect-ratio:1; border-radius:50%; border:2px dashed rgba(255,255,255,.3); }
.amb-stage img { position:relative; z-index:1; width:100%; display:block; filter:drop-shadow(0 26px 44px rgba(0,0,0,.5)); }
.amb-stage .amb-tag { position:absolute; right:-6px; top:20%; z-index:2; background:#fff; color:var(--ink); border-radius:14px; padding:12px 16px; box-shadow:var(--shadow-lg); display:flex; align-items:center; gap:10px; }
.amb-stage .amb-tag svg { width:22px; height:22px; color:var(--red-500); }
.amb-stage .amb-tag b { display:block; font-size:.92rem; line-height:1.1; }
.amb-stage .amb-tag span { font-size:.72rem; color:var(--muted); }

/* ==========================================================================
   AMBASSADOR + ECO — merged duo cards
   ========================================================================== */
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.duo-card { border-radius: var(--radius-lg); padding: 36px; position: relative; overflow: hidden; }
.duo-amb { background: linear-gradient(120deg, var(--blue-800), var(--blue-600)); color: #fff; display: flex; align-items: center; gap: 26px; }
.duo-amb::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 82% 18%, rgba(226,35,26,.32), transparent 55%); }
.duo-amb-media { position: relative; flex: 0 0 160px; align-self: flex-end; }
.duo-amb-media .amb-disc { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 160px; height: 160px; }
.duo-amb-media img { position: relative; z-index: 1; width: 160px; display: block; filter: drop-shadow(0 16px 30px rgba(0,0,0,.5)); }
.duo-amb-body { position: relative; z-index: 1; }
.duo-amb-body h3 { color: #fff; margin: 6px 0 10px; }
.duo-amb-body p { color: #dfe4ff; font-size: .95rem; }
.duo-role { display: inline-block; margin-top: 14px; font-size: .82rem; font-weight: 700; color: var(--gold); }
.duo-eco { background: linear-gradient(160deg, #12401f, #0c3d3a); color: #fff; }
.duo-eco .kicker { color: #9ff0b6; background: rgba(255,255,255,.1); }
.duo-eco h3 { color: #fff; margin: 6px 0 20px; }
.duo-eco p { color: #c9e8d3; font-size: .95rem; margin-bottom: 20px; }
.duo-eco-stats { display: flex; gap: 26px; margin-bottom: 20px; flex-wrap: wrap; }
.duo-eco-stats b { display: block; font-size: 1.7rem; font-weight: 800; color: #fff; line-height: 1; }
.duo-eco-stats span { font-size: .76rem; color: #bfe6cc; font-weight: 600; }

/* ==========================================================================
   ECO PROMISE
   ========================================================================== */
.eco { background: linear-gradient(160deg, #0f2e1a, #12401f 60%, #0c3d3a); color:#fff; position:relative; overflow:hidden; }
.eco::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 15% 20%, rgba(120,220,140,.18), transparent 45%), radial-gradient(circle at 85% 80%, rgba(60,200,180,.14), transparent 45%); }
.eco > .container { position: relative; }
.eco .kicker { color:#9ff0b6; background: rgba(255,255,255,.1); }
.eco h2 { color:#fff; }
.eco .lead { color:#c9e8d3; }
.eco-stats { display:grid; grid-template-columns: repeat(4,1fr); gap:22px; margin-top:44px; }
.eco-stat { background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 26px 22px; text-align:center; backdrop-filter: blur(4px); }
.eco-stat b { display:block; font-size: clamp(1.8rem,3.5vw,2.6rem); font-weight:800; color:#fff; line-height:1; }
.eco-stat b .u { color:#6ee7a0; }
.eco-stat span { display:block; margin-top:8px; color:#bfe6cc; font-size:.9rem; font-weight:600; }
.eco-goals { display:flex; flex-wrap:wrap; gap:12px; justify-content:center; margin-top:34px; }
.eco-goals .g { display:inline-flex; align-items:center; gap:8px; background: rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.14); padding:10px 18px; border-radius:100px; font-weight:600; font-size:.92rem; }
.eco-goals .g svg { width:18px; height:18px; color:#6ee7a0; }

/* ==========================================================================
   MAGAZINE
   ========================================================================== */
.mag-grid { display:grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items:center; }
.mag-cover { position: relative; perspective: 1400px; }
.mag-cover .book { border-radius: 6px 14px 14px 6px; overflow:hidden; box-shadow: var(--shadow-lg); transform: rotateY(-14deg) rotateX(3deg); transition: transform .5s; border-left: 6px solid var(--blue-700); }
.mag-cover .book:hover { transform: rotateY(-6deg); }
.mag-cover .book .top { background: var(--grad-brand); color:#fff; padding: 30px 28px 22px; }
.mag-cover .book .top small { letter-spacing:.16em; text-transform:uppercase; font-size:.72rem; color:#cdd6ff; font-weight:700; }
.mag-cover .book .top h3 { color:#fff; font-size:1.8rem; margin-top:6px; line-height:1.1; }
.mag-cover .book .pic { aspect-ratio: 3/2.4; overflow:hidden; }
.mag-cover .book .pic img { width:100%; height:100%; object-fit:cover; }
.mag-cover .book .bar { background:var(--red-500); color:#fff; text-align:center; padding:12px; font-weight:700; letter-spacing:.05em; font-size:.85rem; }
.mag-features { display:grid; gap:16px; margin:26px 0 30px; }
.mag-features .mf { display:flex; gap:14px; align-items:flex-start; }
.mag-features .mf .ic { width:44px; height:44px; border-radius:12px; background:var(--surface-3); color:var(--blue-600); display:grid; place-items:center; flex-shrink:0; }
.mag-features .mf .ic svg { width:21px; height:21px; }
.mag-features .mf h4 { font-size:1.02rem; margin-bottom:2px; }
.mag-features .mf p { color:var(--muted); font-size:.9rem; }

/* ==========================================================================
   MAGAZINE — EDITORIAL (CCL style)
   ========================================================================== */
.mag-intro { background: var(--grad-brand); color:#fff; position:relative; overflow:hidden; }
.mag-intro::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 85% 15%, rgba(226,35,26,.35), transparent 45%); }
.mag-intro .container { position:relative; display:grid; grid-template-columns: 1.4fr 1fr; gap:40px; align-items:center; }
.mag-intro .kicker { color:#ffd76a; background:rgba(255,255,255,.12); }
.mag-intro h2 { color:#fff; margin-bottom:14px; }
.mag-intro p { color:#dfe4ff; }
.mag-intro .mi-cta { text-align:right; }

/* Filter chips */
.mag-filter { display:flex; gap:10px; flex-wrap:wrap; justify-content:center; margin-bottom:44px; }
.mag-filter button {
  font-weight:600; font-size:.92rem; color:var(--ink-2);
  background:#fff; border:1.5px solid var(--line); padding:10px 20px; border-radius:100px; transition:.2s;
}
.mag-filter button:hover { border-color:var(--blue-400,#8b9bf0); color:var(--blue-600); }
.mag-filter button.active { background:var(--grad-brand); color:#fff; border-color:transparent; box-shadow:var(--shadow-md); }

/* Featured article */
.mag-featured { display:grid; grid-template-columns: 1.1fr 1fr; gap:0; background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-md); margin-bottom:44px; }
.mag-featured .mfa-img { position:relative; min-height:340px; background:var(--surface-3); }
.mag-featured .mfa-img img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.mag-featured .mfa-img .fbadge { position:absolute; top:18px; left:18px; background:var(--grad-red); color:#fff; font-size:.74rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; padding:7px 14px; border-radius:100px; }
.mag-featured .mfa-body { padding: clamp(28px,4vw,44px); display:flex; flex-direction:column; justify-content:center; }
.mag-featured .cat { font-size:.76rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--red-500); margin-bottom:12px; }
.mag-featured h3 { font-size:clamp(1.5rem,2.5vw,2rem); margin-bottom:14px; }
.mag-featured p { color:var(--muted); margin-bottom:22px; }

/* Article cards */
.art-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; transition:.3s; display:flex; flex-direction:column; }
.art-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.art-card .ac-img { position:relative; aspect-ratio: 16/11; overflow:hidden; background:linear-gradient(135deg,var(--surface-3),#fff); }
.art-card .ac-img img { width:100%; height:100%; object-fit:cover; object-position:center top; transition:transform .5s; }
.art-card:hover .ac-img img { transform:scale(1.05); }
.art-card .ac-cat { position:absolute; top:14px; left:14px; font-size:.7rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#fff; padding:6px 12px; border-radius:100px; }
.art-card .ac-cat.industry { background:var(--grad-brand); }
.art-card .ac-cat.future { background:var(--grad-red); }
.art-card .ac-body { padding:22px 24px 24px; display:flex; flex-direction:column; flex:1; }
.art-card .ac-body h3 { font-size:1.15rem; line-height:1.3; margin-bottom:10px; }
.art-card .ac-body p { color:var(--muted); font-size:.92rem; margin-bottom:18px; flex:1; }
.art-meta { display:flex; align-items:center; gap:11px; padding-top:16px; border-top:1px solid var(--line); }
.art-meta .am-av { width:38px; height:38px; border-radius:50%; overflow:hidden; background:var(--surface-3); flex-shrink:0; }
.art-meta .am-av img { width:100%; height:100%; object-fit:cover; }
.art-meta b { font-size:.86rem; display:block; line-height:1.2; }
.art-meta span { font-size:.76rem; color:var(--muted); }
.art-meta .prog-link { margin-left:auto; }

/* ==========================================================================
   NEWS & EVENTS
   ========================================================================== */
.news-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; transition:.3s; display:flex; flex-direction:column; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-card .np { aspect-ratio: 16/10; overflow:hidden; position:relative; }
.news-card .np img { width:100%; height:100%; object-fit:cover; transition: transform .5s; }
.news-card:hover .np img { transform: scale(1.06); }
.news-card .np .date { position:absolute; top:14px; left:14px; background:#fff; color:var(--blue-700); border-radius:12px; padding:8px 12px; text-align:center; box-shadow: var(--shadow-sm); line-height:1; }
.news-card .np .date b { display:block; font-size:1.15rem; font-weight:800; }
.news-card .np .date span { font-size:.68rem; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); }
.news-card .nb { padding: 22px 24px 26px; display:flex; flex-direction:column; flex:1; }
.news-card .cat { font-size:.74rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--red-500); margin-bottom:8px; }
.news-card h3 { font-size:1.15rem; margin-bottom:10px; }
.news-card p { color:var(--muted); font-size:.92rem; margin-bottom:16px; flex:1; }
.news-card .prog-link { margin-top:auto; }

/* ==========================================================================
   MARQUEE / LOGOS BAR
   ========================================================================== */
.trust { background: var(--surface-2); border-bottom: 1px solid var(--line); padding: 34px 0; }
.trust-head { text-align: center; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px; }
.trust-chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line); border-radius: 100px;
  padding: 11px 20px; font-weight: 700; font-size: .9rem; color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.trust-chip svg { width: 18px; height: 18px; color: var(--blue-600); }

/* ==========================================================================
   STAT STRIP
   ========================================================================== */
.stats { background: var(--grad-brand); color: #fff; position: relative; overflow: hidden; }
.stats::before, .stats::after {
  content: ""; position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.14), transparent 70%);
}
.stats::before { width: 420px; height: 420px; top: -160px; left: -120px; }
.stats::after { width: 380px; height: 380px; bottom: -180px; right: -100px; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; position: relative; }
.stat { text-align: center; padding: 12px; }
.stat b { display: block; font-size: clamp(2.2rem,4vw,3.2rem); font-weight: 800; line-height: 1; }
.stat b .plus { color: var(--gold); }
.stat span { display: block; margin-top: 10px; color: #cdd6ff; font-weight: 600; font-size: .95rem; }

/* ==========================================================================
   CARDS / PROGRAMMES
   ========================================================================== */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }

.prog-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: .3s ease; position: relative; overflow: hidden;
}
.prog-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.prog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.prog-card:hover::before { transform: scaleX(1); }
.prog-icon {
  width: 58px; height: 58px; border-radius: 15px; display: grid; place-items: center;
  background: var(--surface-3); color: var(--blue-600); margin-bottom: 20px; transition: .3s;
}
.prog-card:hover .prog-icon { background: var(--grad-brand); color: #fff; }
.prog-icon svg { width: 27px; height: 27px; }
.prog-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.prog-card p { color: var(--muted); font-size: .96rem; margin-bottom: 18px; }
.prog-card .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.prog-card .tag { font-size: .78rem; font-weight: 600; color: var(--blue-600); background: var(--surface-3); padding: 5px 11px; border-radius: 100px; }
.prog-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--red-500); font-size: .92rem; }
.prog-link svg { width: 16px; height: 16px; transition: transform .2s; }
.prog-card:hover .prog-link svg { transform: translateX(4px); }

/* Level badge card variant */
.level-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .3s; }
.level-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.level-card .lc-head { padding: 24px 26px; background: var(--grad-brand); color: #fff; }
.level-card .lc-head .lvl { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #cdd6ff; }
.level-card .lc-head h3 { color: #fff; font-size: 1.35rem; margin-top: 4px; }
.level-card .lc-body { padding: 24px 26px; }
.level-card ul li { display: flex; gap: 11px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; color: var(--ink-2); }
.level-card ul li:last-child { border-bottom: 0; }

/* Team member photo */
.team-photo { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; object-position: center top; margin: 0 auto 16px; border: 3px solid #fff; box-shadow: var(--shadow-md); background: var(--surface-3); }
.prog-card:hover .team-photo { box-shadow: var(--shadow-lg); }
.team-initials { display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: 2rem; letter-spacing: .02em; color: var(--blue-700); background: linear-gradient(145deg, var(--surface-3), #e7ebff); }
.team-group { font-family: var(--font-display); font-size: clamp(1.15rem, 1.6vw, 1.45rem); color: var(--blue-700); text-align: center; margin: clamp(32px, 4vw, 52px) 0 22px; position: relative; }
.team-group::after { content: ""; display: block; width: 46px; height: 3px; border-radius: 3px; background: var(--red-500); margin: 12px auto 0; }
.team-group:first-of-type { margin-top: 8px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .team-initials { background: linear-gradient(145deg, #1b2448, #232e5c); color: #c9d4ff; } }
:root[data-theme="dark"] .team-initials { background: linear-gradient(145deg, #1b2448, #232e5c); color: #c9d4ff; }

/* ==========================================================================
   AUDIENCE ROUTER — three journeys (students / industry / universities)
   ========================================================================== */
.audience { background: var(--surface-2); }
.aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 26px); }
.aud-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(26px, 2.6vw, 38px); background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-lg); text-decoration: none; color: inherit; overflow: hidden; transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s, border-color .45s; box-shadow: var(--shadow-sm); }
.aud-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--blue-700), var(--red-500)); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.aud-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl, var(--shadow-lg)); border-color: transparent; }
.aud-card:hover::before { transform: scaleX(1); }
.aud-ic { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; color: var(--blue-700); background: linear-gradient(145deg, #eef1ff, #e2e8ff); }
.aud-ic svg { width: 28px; height: 28px; }
.aud-tag { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red-500); }
.aud-card h3 { font-family: var(--font-display); font-size: clamp(1.25rem, 1.8vw, 1.55rem); line-height: 1.15; margin: 0; }
.aud-card p { color: var(--muted); font-size: .96rem; line-height: 1.6; margin: 0; flex: 1; }
.aud-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue-700); margin-top: 4px; }
.aud-link svg { width: 18px; height: 18px; transition: transform .35s; }
.aud-card:hover .aud-link svg { transform: translateX(5px); }
@media (max-width: 900px) { .aud-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .aud-ic { background: linear-gradient(145deg, #1b2448, #232e5c); color: #c9d4ff; } }
:root[data-theme="dark"] .aud-ic { background: linear-gradient(145deg, #1b2448, #232e5c); color: #c9d4ff; }

/* ==========================================================================
   PARTNERSHIPS & ACCREDITATION — foreign-university credibility band
   ========================================================================== */
.partners { background: linear-gradient(170deg, var(--blue-900, #0f1636), var(--blue-700)); color: #fff; }
.partners .section-head p, .partners .pt-intro { color: rgba(255,255,255,.82); }
.pt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(14px, 1.6vw, 20px); margin-top: 8px; }
.pt-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); padding: clamp(22px, 2.2vw, 30px); backdrop-filter: blur(6px); transition: transform .4s cubic-bezier(.2,.8,.2,1), background .4s; }
.pt-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.1); }
.pt-card .pt-badge { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.pt-card h3 { font-family: var(--font-display); font-size: 1.18rem; margin: 10px 0 8px; color: #fff; }
.pt-card p { color: rgba(255,255,255,.78); font-size: .92rem; line-height: 1.55; margin: 0; }
.pt-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; margin-top: clamp(32px, 4vw, 48px); }
.pt-cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.pt-cta .btn-ghost:hover { background: rgba(255,255,255,.12); }

/* Partner-with-BIMT corporate list */
.corp-list { display: grid; gap: 18px; margin-top: 26px; }
.corp-item { display: flex; gap: 16px; align-items: flex-start; }
.corp-item .ci-ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: var(--blue-700); background: linear-gradient(145deg, #eef1ff, #e2e8ff); }
.corp-item .ci-ic svg { width: 22px; height: 22px; }
.corp-item h4 { margin: 2px 0 4px; font-size: 1.05rem; }
.corp-item p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.55; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .corp-item .ci-ic { background: linear-gradient(145deg, #1b2448, #232e5c); color: #c9d4ff; } }
:root[data-theme="dark"] .corp-item .ci-ic { background: linear-gradient(145deg, #1b2448, #232e5c); color: #c9d4ff; }

/* ==========================================================================
   PROGRAMME DETAIL PAGE
   ========================================================================== */
.prog-hero-meta { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 20px; }
.prog-hero-meta span { display: inline-flex; align-items: center; gap: 9px; font-size: .95rem; color: rgba(255,255,255,.9); font-weight: 500; }
.prog-hero-meta svg { width: 19px; height: 19px; color: var(--gold); }
.pd-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: clamp(30px, 4vw, 60px); align-items: start; }
.pd-main { min-width: 0; }
.pd-section { padding-bottom: clamp(30px, 3.4vw, 46px); margin-bottom: clamp(30px, 3.4vw, 46px); border-bottom: 1px solid var(--border); scroll-margin-top: 112px; }
.pd-section:last-child { border-bottom: 0; margin-bottom: 0; }
.pd-eyebrow { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red-500); margin-bottom: 14px; }
.pd-section h4.pd-sub { font-size: 1.15rem; margin: 20px 0 12px; color: var(--ink); }
.pd-section > h4.pd-sub:first-of-type { margin-top: 0; }
.pd-section p { color: var(--muted); line-height: 1.7; margin: 0 0 14px; max-width: 65ch; }
.module-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-top: 6px; }
.module-chip { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-md); font-size: .92rem; font-weight: 500; line-height: 1.35; transition: transform .35s, border-color .35s, box-shadow .35s; }
.module-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red-500); flex-shrink: 0; }
.module-chip:hover { transform: translateY(-3px); border-color: var(--blue-700); box-shadow: var(--shadow-sm); }
.pd-aside { position: sticky; top: 100px; }
.pd-meta-card { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(22px, 2vw, 30px); box-shadow: var(--shadow-md); }
.pd-meta-card h3 { font-family: var(--font-display); font-size: 1.2rem; margin: 0 0 16px; }
.pd-meta-card dl { margin: 0 0 20px; display: grid; gap: 12px; }
.pd-meta-card dl > div { display: flex; justify-content: space-between; gap: 14px; padding-bottom: 12px; border-bottom: 1px dashed var(--border); }
.pd-meta-card dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.pd-meta-card dt { color: var(--muted); font-size: .85rem; }
.pd-meta-card dd { margin: 0; font-weight: 600; font-size: .9rem; text-align: right; }
.btn-block { display: flex; width: 100%; justify-content: center; margin-bottom: 10px; }
.pd-jump { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 9px; }
.pd-jump span { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.pd-jump a { color: var(--blue-700); font-size: .92rem; font-weight: 500; text-decoration: none; transition: padding-left .3s; }
.pd-jump a:hover { padding-left: 6px; text-decoration: underline; }
@media (max-width: 980px) { .pd-layout { grid-template-columns: 1fr; } .pd-aside { position: static; order: -1; } .pd-meta-card .pd-jump { display: none; } }
.level-card ul li svg { width: 18px; height: 18px; color: var(--red-500); flex-shrink: 0; margin-top: 3px; }

/* ==========================================================================
   CAROUSEL (Programmes, Testimonials)
   ========================================================================== */
.carousel { position: relative; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 52px) / 3); gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 14px; -ms-overflow-style: none; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
.carousel-nav { display: flex; gap: 14px; justify-content: center; align-items: center; margin-top: 26px; }
.carousel-btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; transition: .2s; box-shadow: var(--shadow-sm); color: var(--blue-700); flex-shrink: 0; }
.carousel-btn:hover { border-color: var(--blue-500); color: var(--blue-600); transform: translateY(-2px); }
.carousel-btn svg { width: 20px; height: 20px; }

/* ==========================================================================
   FEES / PROGRAMME COMPARISON TABLE
   ========================================================================== */
.fees-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.ft-row { display: grid; grid-template-columns: 1.5fr 1.3fr .9fr .9fr auto; gap: 18px; align-items: center; padding: 20px 26px; border-bottom: 1px solid var(--line); transition: background .2s; }
.ft-row:last-child { border-bottom: 0; }
.ft-body .ft-row:hover { background: var(--surface-2); }
.ft-head { background: var(--surface-3); font-weight: 700; font-size: .76rem; text-transform: uppercase; letter-spacing: .07em; color: var(--blue-700); }
.ft-row .ft-prog { font-weight: 700; color: var(--ink); }
.ft-row .ft-prog small { display: block; font-weight: 500; color: var(--muted); font-size: .82rem; margin-top: 2px; }
.ft-row .ft-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--blue-600); background: var(--surface-3); padding: 5px 11px; border-radius: 100px; }
.ft-row span { color: var(--ink-2); font-size: .94rem; }
.ft-row .btn { padding: 10px 18px; font-size: .88rem; }
.fees-note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 18px; }
@media (max-width: 820px) {
  .ft-head { display: none; }
  .ft-row { grid-template-columns: 1fr; gap: 8px; padding: 20px; }
  .ft-row > span:not(.ft-prog)::before { content: attr(data-l) ": "; font-weight: 700; color: var(--ink); }
  .ft-row .btn { justify-self: start; margin-top: 6px; }
}

/* Form success / error states */
.form-note { display: none; margin-top: 16px; padding: 14px 18px; border-radius: 12px; font-weight: 600; font-size: .95rem; }
.form-note.ok { display: block; background: #e6f7ec; color: #1a7a44; border: 1px solid #b7e6c7; }
.form-note.err { display: block; background: #fdeaea; color: #c0341d; border: 1px solid #f4c4bd; }
.field .req { color: var(--red-500); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: var(--red-400); background: #fff7f6; }

/* ==========================================================================
   FEATURE / WHY GRID
   ========================================================================== */
.feature { display: flex; gap: 18px; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: .3s; }
.feature:hover { background: var(--surface-2); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature .fi { width: 52px; height: 52px; border-radius: 14px; background: var(--surface-3); color: var(--blue-600); display: grid; place-items: center; flex-shrink: 0; }
.feature .fi svg { width: 25px; height: 25px; }
.feature h4 { font-size: 1.1rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .92rem; }

/* ==========================================================================
   SPLIT / ABOUT
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-media, .split-body { min-width: 0; }
.aa-marquee { min-width: 0; max-width: 100%; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media .frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-media .frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; aspect-ratio: 16/10; }
.split-media .badge-float {
  position: absolute; left: -22px; bottom: 28px;
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 18px 22px;
  display: flex; align-items: center; gap: 14px; max-width: 250px;
}
.split-media .badge-float .bf-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--grad-red); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.split-media .badge-float b { display: block; font-size: 1.5rem; color: var(--blue-700); line-height: 1; }
.split-media .badge-float span { font-size: .8rem; color: var(--muted); }
.split-body h2 { margin-bottom: 22px; }
.split-body > p { color: var(--muted); margin-bottom: 18px; line-height: 1.75; font-size: 1.02rem; }
.check-list { display: grid; gap: 14px; margin: 24px 0 30px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--ink-2); }
.check-list li svg { width: 22px; height: 22px; color: #fff; background: var(--grad-brand); border-radius: 50%; padding: 4px; flex-shrink: 0; }

/* ==========================================================================
   GALLERY / CAMPUS LIFE
   ========================================================================== */
/* Activity chips */
.life-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.life-chips .lc {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 100px;
  padding: 9px 18px; font-weight: 600; font-size: .9rem; color: var(--ink-2); box-shadow: var(--shadow-sm);
  transition: .25s;
}
.life-chips .lc:hover { transform: translateY(-3px); border-color: var(--blue-300); color: var(--blue-600); }
.life-chips .lc svg { width: 17px; height: 17px; color: var(--blue-600); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 18px; }
.gallery figure { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); cursor: pointer; }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.gallery figure:hover img { transform: scale(1.1); }
.gallery figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9,14,50,.9) 0%, rgba(9,14,50,.28) 42%, transparent 68%);
  opacity: .85; transition: opacity .4s;
}
.gallery figure:hover::after { opacity: 1; }
.gallery .g-tag {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(6px);
  padding: 6px 12px; border-radius: 100px; opacity: 0; transform: translateY(-6px); transition: .35s;
}
.gallery figure:hover .g-tag { opacity: 1; transform: none; }
.gallery .g-view {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.92); color: var(--blue-700);
  opacity: 0; transform: scale(.6) rotate(-20deg); transition: .35s;
}
.gallery figure:hover .g-view { opacity: 1; transform: none; }
.gallery .g-view svg { width: 18px; height: 18px; }
.gallery figcaption { position: absolute; left: 20px; right: 20px; bottom: 18px; color: #fff; z-index: 2; transition: transform .4s; }
.gallery figure:hover figcaption { transform: translateY(-4px); }
.gallery figcaption b { display: block; font-size: 1.12rem; font-weight: 800; letter-spacing: -.01em; }
.gallery figcaption span { display: block; font-size: .82rem; color: #c7cdf0; margin-top: 2px; opacity: 0; max-height: 0; transition: .4s; }
.gallery figure:hover figcaption span { opacity: 1; max-height: 40px; }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testi {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; position: relative; transition: .3s;
}
.testi:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.testi .quote { font-size: 3rem; line-height: 1; color: var(--blue-100); font-weight: 800; font-family: Georgia, serif; }
.testi p { color: var(--ink-2); margin: 6px 0 22px; font-size: .98rem; }
.testi .stars { display: flex; gap: 3px; margin-bottom: 16px; }
.testi .stars svg { width: 17px; height: 17px; color: var(--gold); }
.testi .person { display: flex; align-items: center; gap: 13px; }
.testi .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--grad-brand); color: #fff; display: grid; place-items: center; font-weight: 700; }
.testi .person b { display: block; font-size: .95rem; }
.testi .person span { font-size: .82rem; color: var(--muted); }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(135deg, #090e34 0%, #131c63 52%, #1c2a8f 100%); color: #fff; border-radius: var(--radius-lg); padding: clamp(52px,7vw,90px) clamp(26px,5vw,64px); text-align: center; border: 1px solid rgba(255,255,255,.08); box-shadow: var(--shadow-lg); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 14% 18%, rgba(59,82,214,.55), transparent 46%), radial-gradient(circle at 86% 82%, rgba(226,35,26,.42), transparent 46%), radial-gradient(circle at 72% 12%, rgba(246,183,60,.22), transparent 40%); }
.cta-band::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 5px 5px; opacity: .5; pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band .kicker.on-dark { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); }
.cta-band h2 { color: #fff; margin: 16px 0 16px; }
.cta-band p { color: #dfe4ff; max-width: 580px; margin: 0 auto 32px; font-size: 1.12rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; position: relative; }
.live-dot::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: #34d399; opacity: .5; animation: pulse 2s infinite; }
.cta-meta { display: flex; gap: 14px 30px; justify-content: center; flex-wrap: wrap; margin-top: 34px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); }
.cta-meta span { display: inline-flex; align-items: center; gap: 9px; color: #cdd6ff; font-size: .92rem; font-weight: 500; }
.cta-meta svg { width: 20px; height: 20px; color: #fff; background: var(--grad-red); border-radius: 50%; padding: 4px; flex-shrink: 0; }

/* ==========================================================================
   PAGE HEADER (inner pages)
   ========================================================================== */
.page-hero { position: relative; color: #fff; overflow: hidden; background: var(--blue-900); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 0%, rgba(59,82,214,.55), transparent 50%), radial-gradient(circle at 90% 100%, rgba(226,35,26,.28), transparent 45%); }
.page-hero-inner { position: relative; padding-block: clamp(64px,9vw,110px) clamp(56px,8vw,90px); text-align: center; }
.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero p { color: #cdd6ff; max-width: 620px; margin: 0 auto; font-size: 1.12rem; }
.crumbs { display: inline-flex; gap: 8px; align-items: center; font-size: .88rem; color: #b9c1ee; margin-bottom: 22px; }
.crumbs a:hover { color: #fff; }
.crumbs svg { width: 14px; height: 14px; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: .3s; }
.contact-card:hover { box-shadow: var(--shadow-md); border-color: var(--blue-300); }
.contact-card .cc-ic { width: 50px; height: 50px; border-radius: 13px; background: var(--grad-brand); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.contact-card .cc-ic svg { width: 23px; height: 23px; }
.contact-card h4 { font-size: 1.05rem; margin-bottom: 4px; }
.contact-card p, .contact-card a { color: var(--muted); font-size: .94rem; display: block; }
.contact-card a:hover { color: var(--blue-600); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 8px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: .95rem; color: var(--ink); background: var(--surface-2); transition: .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px var(--blue-100); }
.field textarea { resize: vertical; min-height: 130px; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { position: relative; background: var(--blue-900); color: #aeb7e6; padding-top: 76px; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue-500), var(--red-500) 55%, var(--gold)); opacity: .9; }
.site-footer::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px 300px at 85% 0%, rgba(59,82,214,.18), transparent 70%); }
.site-footer .container { position: relative; z-index: 1; }
.footer-col h5 { position: relative; padding-bottom: 12px; }
.footer-col h5::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--grad-red); border-radius: 2px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 50px; }
.footer-brand img { height: 54px; margin-bottom: 20px; background: #fff; padding: 8px 12px; border-radius: 12px; }
.footer-brand p { font-size: .94rem; max-width: 300px; margin-bottom: 22px; }
.footer-social { display: flex; gap: 11px; }
.footer-social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: .25s; }
.footer-social a:hover { background: var(--red-500); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; color: #fff; }
.footer-col h5 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { font-size: .93rem; transition: .2s; display: inline-flex; align-items: center; gap: 8px; }
.footer-col ul a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 16px; font-size: .93rem; }
.footer-contact svg { width: 19px; height: 19px; color: var(--blue-300); flex-shrink: 0; margin-top: 2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 8px; padding: 24px 90px 30px; display: flex; justify-content: center; align-items: center; gap: 6px 0; flex-wrap: wrap; font-size: .86rem; text-align: center; }
.footer-bottom > span { position: relative; padding: 2px 28px; color: #97a1d0; white-space: nowrap; }
.footer-bottom > span:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 15px; background: rgba(255,255,255,.2); }
.footer-bottom .credit { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.footer-bottom a:hover { color: #fff; }
.credit-name {
  font-weight: 800; letter-spacing: .06em; padding-left: 2px;
  background: linear-gradient(100deg, var(--gold), #ff8a5c, var(--red-400));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  transition: filter .2s;
}
.credit-name:hover { filter: brightness(1.2); }

/* ==========================================================================
   REVEAL ANIMATION
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ==========================================================================
   PREMIUM UPGRADES (Home)
   ========================================================================== */

/* Decorative gradient orbs (reusable) */
.orbs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.orb-blue { width: 480px; height: 480px; background: radial-gradient(circle, #3b52d6, transparent 70%); }
.orb-red { width: 400px; height: 400px; background: radial-gradient(circle, #e2231a, transparent 70%); }
.orb-gold { width: 360px; height: 360px; background: radial-gradient(circle, #f6b73c, transparent 70%); }
.section > .container, .stats > .container { position: relative; z-index: 1; }

@keyframes floaty { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-26px) } }
.float-anim { animation: floaty 9s ease-in-out infinite; }

/* --- Hero refinements --- */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 4px 4px; opacity: .5;
}
.hero-inner { z-index: 2; }
.hero .kicker.on-dark {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero h1 { text-shadow: 0 4px 40px rgba(9,14,50,.4); }

/* Hero social-proof row */
.hero-proof { display: flex; align-items: center; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.avatars { display: flex; }
.avatars span {
  width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(255,255,255,.9);
  margin-left: -12px; display: grid; place-items: center; font-weight: 700; font-size: .82rem; color: #fff;
  background: var(--grad-brand); box-shadow: var(--shadow-sm);
}
.avatars span:first-child { margin-left: 0; }
.avatars span:nth-child(2) { background: linear-gradient(135deg,#e2231a,#ff6a5c); }
.avatars span:nth-child(3) { background: linear-gradient(135deg,#f6b73c,#e2231a); }
.avatars span:nth-child(4) { background: linear-gradient(135deg,#3b52d6,#8b9bf0); }
.hero-proof .pf-stars { display: flex; gap: 2px; }
.hero-proof .pf-stars svg { width: 16px; height: 16px; color: var(--gold); }
.hero-proof .pf-text { color: #dfe4ff; font-size: .88rem; }
.hero-proof .pf-text b { color: #fff; }

/* Glass hero float bar */
.hero-float {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.6);
}

/* --- Partner marquee --- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --- Section eyebrow accent --- */
.section-head .kicker { position: relative; }

/* Enhanced program & feature card hover glow */
.prog-card, .feature, .art-card, .news-card, .level-card, .testi { will-change: transform; }
.prog-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: linear-gradient(135deg, var(--blue-500), var(--red-500)); opacity: 0; transition: opacity .35s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.prog-card:hover::after { opacity: 1; }

/* Button shine */
.btn-primary, .btn-blue { position: relative; overflow: hidden; }
.btn-primary::after, .btn-blue::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .6s;
}
.btn-primary:hover::after, .btn-blue:hover::after { left: 130%; }

/* --- Admissions steps --- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 32px; left: 16%; right: 16%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--blue-300) 0 8px, transparent 8px 16px); z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; }
.step .num {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center;
  background: var(--grad-brand); color: #fff; font-size: 1.4rem; font-weight: 800;
  box-shadow: 0 14px 30px -10px rgba(28,42,143,.5); border: 4px solid #fff; position: relative;
}
.step .num span { position: absolute; top: -6px; right: -6px; width: 26px; height: 26px; border-radius: 50%; background: var(--grad-red); display: grid; place-items: center; }
.step .num span svg { width: 14px; height: 14px; color: #fff; }
.step h4 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .95rem; max-width: 300px; margin: 0 auto; }

/* --- Floating action buttons --- */
.fab-wa {
  position: fixed; left: 22px; bottom: 22px; z-index: 90;
  width: 52px; height: 52px; border-radius: 50%; background: #25d366; display: grid; place-items: center;
  box-shadow: 0 12px 30px -6px rgba(37,211,102,.6); transition: transform .25s, bottom .35s ease;
}
.fab-wa:hover { transform: scale(1.08); }
.fab-wa svg { width: 30px; height: 30px; color: #fff; }
.fab-wa::before { content:""; position:absolute; inset:0; border-radius:50%; background:#25d366; opacity:.5; animation: pulse 2.2s infinite; z-index:-1; }
@keyframes pulse { 0%{transform:scale(1);opacity:.5} 70%{transform:scale(1.6);opacity:0} 100%{opacity:0} }
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 52px; height: 52px; border-radius: 50%; background: var(--blue-700); display: grid; place-items: center;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, visibility .3s, transform .3s, bottom .35s ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue-600); transform: translateY(-2px); }
.to-top svg { width: 22px; height: 22px; color: #fff; }

/* --- Sticky Apply bar (appears on scroll) --- */
.apply-bar {
  position: fixed; left: 50%; bottom: 22px; z-index: 80;
  transform: translateX(-50%) translateY(180%); opacity: 0;
  display: flex; align-items: center; gap: 16px;
  padding: 11px 12px 11px 24px; max-width: calc(100vw - 190px);
  background: var(--surface-1); border: 1px solid var(--border); border-radius: 60px;
  box-shadow: 0 18px 50px -12px rgba(16,22,54,.4);
  transition: transform .55s cubic-bezier(.2,.8,.2,1), opacity .4s;
}
.apply-bar.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.apply-bar .ab-text { font-size: .94rem; white-space: nowrap; color: var(--ink); }
.apply-bar .ab-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red-500); margin-right: 9px; vertical-align: middle; animation: pulse 2.2s infinite; }
.apply-bar .ab-btn { padding: 10px 18px; font-size: .88rem; white-space: nowrap; }
.ab-close { flex-shrink: 0; background: none; border: 0; width: 30px; height: 30px; border-radius: 50%; font-size: 1.35rem; line-height: 1; color: var(--muted); cursor: pointer; display: grid; place-items: center; transition: background .25s, color .25s; }
.ab-close:hover { background: var(--surface-2); color: var(--ink); }
@media (max-width: 620px) {
  .apply-bar { left: 0; right: 0; bottom: 0; transform: translateY(100%); max-width: none; border-radius: 16px 16px 0 0; gap: 10px; padding: 12px 12px calc(12px + env(safe-area-inset-bottom)) 16px; justify-content: space-between; }
  .apply-bar.show { transform: translateY(0); }
  .apply-bar .ab-text { font-size: .8rem; white-space: normal; line-height: 1.25; }
  .apply-bar .ab-wa { display: none; }
  body.ab-open .fab-wa, body.ab-open .to-top { bottom: 86px; }
}
@media (prefers-reduced-motion: reduce) { .apply-bar { transition: opacity .3s; } }

/* ==========================================================================
   MAGAZINE ARTICLE PAGE (single-domain)
   ========================================================================== */
.article-byline { display: flex; align-items: center; gap: 14px; margin-top: 22px; color: rgba(255,255,255,.92); }
.article-byline .ab-av { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 2px solid rgba(255,255,255,.4); background: rgba(255,255,255,.1); display: grid; place-items: center; }
.article-byline .ab-av img { width: 100%; height: 100%; object-fit: cover; }
.article-byline .av-ini { font-weight: 700; font-size: 1.05rem; color: #fff; }
.article-byline b { font-size: 1rem; }
.article-byline small { color: rgba(255,255,255,.75); font-size: .85rem; }
.article-wrap { padding-top: clamp(40px, 5vw, 70px); }
.article-body { max-width: 760px; margin: 0 auto; }
.article-body > p { color: var(--ink); font-size: 1.06rem; line-height: 1.85; margin: 0 0 22px; }
.article-body > p:first-of-type { font-size: 1.2rem; line-height: 1.7; color: var(--ink); }
.article-body h2 { font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin: 38px 0 16px; line-height: 1.2; }
.article-body ul { margin: 0 0 22px; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.article-body ul li { position: relative; padding-left: 28px; color: var(--muted); line-height: 1.65; }
.article-body ul li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--red-500); }
.article-body blockquote { margin: 28px 0; padding: 18px 26px; border-left: 4px solid var(--blue-700); background: var(--surface-2); border-radius: 0 var(--radius-md) var(--radius-md) 0; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.5; color: var(--ink); }
.article-foot { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--border); }

/* Magazine team + editorial intro */
.mag-team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 760px) { .mag-team-grid { grid-template-columns: repeat(2, 1fr); } }
.mag-editorial { max-width: 820px; margin: 0 auto; }
.mag-editorial p { color: var(--muted); line-height: 1.8; margin: 0 0 18px; }
.mag-editorial p:first-of-type { font-size: 1.15rem; color: var(--ink); }

/* ==========================================================================
   PREMIUM MICRO-POLISH
   ========================================================================== */
/* Branded text selection */
::selection { background: var(--blue-600); color: #fff; }
::-moz-selection { background: var(--blue-600); color: #fff; }

/* Anchor links (nav dropdowns, footer) land below the sticky header */
html { scroll-padding-top: 104px; }

/* Refined page scrollbar */
html { scrollbar-width: thin; scrollbar-color: var(--blue-300) var(--surface-2); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--surface-2); }
::-webkit-scrollbar-thumb { background: var(--blue-300); border-radius: 20px; border: 3px solid var(--surface-2); }
::-webkit-scrollbar-thumb:hover { background: var(--blue-500); }

/* Springier, more refined card lift */
.prog-card, .feature, .news-card, .level-card, .testi, .award-card, .contact-card, .life-chips .lc {
  transition: transform .38s cubic-bezier(.2,.7,.2,1), box-shadow .38s ease, border-color .3s ease, background .3s ease;
}

/* Dropdown items: gentle slide + accent on hover */
.dropdown a { transition: background .18s, color .18s, padding-left .18s ease; }
.dropdown a:hover { padding-left: 17px; }

/* Kicker: subtle refinement */
.kicker { backdrop-filter: saturate(120%); }

/* Frames & media: crisper rendering */
.frame, .prog-icon, .feature .fi, .contact-card .cc-ic { will-change: transform; }

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */
/* Visible keyboard focus (mouse users unaffected) */
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible, .carousel-btn:focus-visible, .fab-wa:focus-visible, .to-top:focus-visible { outline-offset: 4px; }
.site-header:not(.scrolled) .nav-link:focus-visible { outline-color: #fff; }
/* Skip link */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--blue-700); color: #fff; padding: 12px 20px; border-radius: 10px; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .marquee-track, .aa-track, .float-anim, .live-dot::before, .fab-wa::before { animation: none !important; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 34px; }
  .split { gap: 40px; }
  .gallery { grid-template-columns: repeat(2,1fr); }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .yt-grid { grid-template-columns: repeat(2,1fr); }
  .carousel-track { grid-auto-columns: calc((100% - 26px) / 2); }
  .yt-player-wrap { grid-template-columns: 1fr; }
  .yt-list { flex-direction: row; overflow-x: auto; max-height: none; padding-bottom: 6px; }
  .yt-list-item { flex: 0 0 250px; }
}
@media (max-width: 1150px) {
  .topbar { display: none; }
  .home .hero { margin-top: calc(-1 * var(--header-h)); }
  .nav-menu {
    position: fixed; inset: 0 0 0 auto; top: 0; width: min(360px, 86vw); height: 100vh;
    flex-direction: column; align-items: stretch; background: #fff;
    padding: 90px 22px 30px; gap: 4px; box-shadow: var(--shadow-lg);
    transform: translateX(105%); transition: transform .35s ease; overflow-y: auto;
  }
  .nav-menu.open { transform: none; }
  .nav-link { padding: 13px 16px; font-size: 1rem; justify-content: space-between; }
  .has-drop:hover .nav-link svg { transform: none; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 4px 0 4px 14px; min-width: 0;
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .has-drop.open .dropdown { max-height: 500px; }
  .nav-toggle { display: block; z-index: 120; }
  .nav-cta .btn:not(.nav-toggle) { display: none; }
  .nav-drawer-cta { margin-top: 16px; padding: 0 2px; }
  .nav-drawer-cta .btn { width: 100%; justify-content: center; }
}
.nav-drawer-cta { display: none; }
@media (max-width: 1150px) { .nav-drawer-cta { display: block; } }
@media (max-width: 900px) {
  .amb-grid { grid-template-columns: 1fr; gap: 36px; }
  .amb-photo { order: -1; }
  .duo-grid { grid-template-columns: 1fr; }
  .duo-amb { flex-direction: column; text-align: center; }
  .duo-amb-media { align-self: center; }
  .awards-row { grid-template-columns: 1fr; }
  .mag-grid { grid-template-columns: 1fr; gap: 40px; }
  .eco-stats { grid-template-columns: repeat(2,1fr); }
  .mag-intro .container { grid-template-columns: 1fr; gap:24px; }
  .mag-intro .mi-cta { text-align:left; }
  .mag-featured { grid-template-columns: 1fr; }
  .mag-featured .mfa-img { min-height:260px; }
}
@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .amb-quote { font-size: 1.15rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media .badge-float { left: 12px; }
  .testi-grid { grid-template-columns: 1fr; }
  .yt-grid { grid-template-columns: 1fr; }
  .carousel-track { grid-auto-columns: 88%; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-inner { flex-direction: column; align-items: flex-start; }
  .hero-float { margin-top: 34px; justify-content: center; flex-wrap: wrap; align-self: stretch; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps::before { display: none; }
  .hero-proof { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; padding: 22px 16px 30px; }
  .footer-bottom > span::after { display: none; }
  .footer-bottom > span { padding: 2px 10px; white-space: normal; }
  .gallery { grid-auto-rows: 170px; }
}
@media (max-width: 460px) {
  .container { padding-inline: 18px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .wide, .gallery .tall { grid-column: auto; grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
}

/* ===== Our Journey (premium timeline) ===== */
.journey .jtimeline { list-style:none; margin:46px 0 0; padding:0; position:relative; max-width:900px; margin-inline:auto; }
.journey .jtimeline::before { content:""; position:absolute; left:50%; top:0; bottom:0; width:2px; background:linear-gradient(var(--blue-700),var(--red-500)); transform:translateX(-50%); }
.journey .jitem { position:relative; display:grid; grid-template-columns:1fr 1fr; gap:0; margin-bottom:34px; }
.journey .jitem .jcard { grid-column:1; margin-right:54px; background:var(--surface-1); border:1px solid var(--border); border-radius:var(--radius-lg); padding:22px 26px; box-shadow:var(--shadow-sm); transition:transform .4s, box-shadow .4s; }
.journey .jitem.alt .jcard { grid-column:2; margin-right:0; margin-left:54px; }
.journey .jitem .jcard:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.journey .jitem .jcard h3 { font-family:var(--font-display); font-size:1.15rem; margin:0 0 8px; }
.journey .jitem .jcard p { margin:0; color:var(--muted); line-height:1.6; font-size:.95rem; }
.journey .jdot { position:absolute; left:50%; top:14px; transform:translateX(-50%); z-index:2; }
.journey .jdot span { display:grid; place-items:center; width:62px; height:62px; border-radius:50%; background:var(--grad-brand,linear-gradient(135deg,var(--blue-700),var(--red-500))); color:#fff; font-family:var(--font-display); font-weight:600; font-size:.95rem; box-shadow:0 10px 24px -8px rgba(28,42,143,.6); border:3px solid var(--surface-1); }
@media (max-width:760px){
  .journey .jtimeline::before { left:31px; }
  .journey .jitem { grid-template-columns:1fr; }
  .journey .jitem .jcard, .journey .jitem.alt .jcard { grid-column:1; margin:0 0 0 76px; }
  .journey .jdot { left:31px; }
  .journey .jdot span { width:54px; height:54px; font-size:.82rem; }
}

/* ===== FAQ accordion ===== */
.faq-list { margin-top:30px; display:grid; gap:12px; }
.faq-item { border:1px solid var(--border); border-radius:var(--radius-md); background:var(--surface-1); overflow:hidden; transition:box-shadow .3s; }
.faq-item.open { box-shadow:var(--shadow-sm); }
.faq-q { width:100%; text-align:left; background:none; border:0; cursor:pointer; padding:18px 22px; font-weight:600; font-size:1rem; color:var(--ink); display:flex; justify-content:space-between; align-items:center; gap:14px; }
.faq-q span { font-size:1.4rem; color:var(--blue-700); line-height:1; }
.faq-a { padding:0 22px 20px; }
.faq-a p { margin:0; color:var(--muted); line-height:1.65; }

/* ===== Partner / accreditation logo strip ===== */
.logo-strip { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:clamp(28px,5vw,64px); }
.logo-strip img { height:clamp(40px,5vw,62px); width:auto; object-fit:contain; filter:grayscale(1); opacity:.72; transition:filter .35s, opacity .35s, transform .35s; }
.logo-strip img:hover { filter:none; opacity:1; transform:translateY(-3px); }

/* ===== Journey Map (ascending milestone visual) ===== */
.jmap { position:relative; height:clamp(400px,42vw,500px); margin-top:40px; }
.jmap-curve { position:absolute; inset:0; width:100%; height:100%; border-radius:var(--radius-lg); overflow:hidden; }
.jmap-nodes { position:absolute; inset:0; }
.jnode { position:absolute; bottom:var(--b); left:0; transform:translateX(-50%); display:flex; flex-direction:column; align-items:center; width:170px; }
.jnode .jdot { order:3; width:18px; height:18px; border-radius:50%; background:#fff; border:4px solid var(--gold); box-shadow:0 4px 14px rgba(0,0,0,.3); }
.jnode .jpin { order:2; width:2px; height:46px; background:repeating-linear-gradient(to bottom, rgba(255,255,255,.7) 0 4px, transparent 4px 10px); }
.jnode .jlabel { order:1; margin-bottom:8px; text-align:center; background:var(--surface-1); border:1px solid var(--border); border-radius:14px; padding:12px 14px; box-shadow:var(--shadow-md); transition:transform .4s; }
.jnode:hover .jlabel { transform:translateY(-5px); }
.jnode .jyear { display:inline-block; font-family:var(--font-display); font-weight:700; font-size:.95rem; color:#fff; background:var(--grad-brand,linear-gradient(135deg,var(--blue-700),var(--red-500))); padding:2px 12px; border-radius:30px; margin-bottom:6px; }
.jnode .jlabel h4 { margin:0 0 4px; font-size:.95rem; }
.jnode .jlabel p { margin:0; font-size:.76rem; color:var(--muted); line-height:1.4; }
.jmap-mobile { display:none; }
@media (max-width:820px){
  .jmap { display:none; }
  .jmap-mobile { display:block; }
}

/* Journey map emblem */
.jmap-emblem { position:absolute; right:clamp(18px,4vw,56px); bottom:clamp(22px,5vw,60px); display:flex; align-items:center; gap:14px; color:#fff; max-width:300px; text-align:left; z-index:1; }
.jmap-emblem svg { width:clamp(44px,5vw,60px); height:clamp(44px,5vw,60px); color:var(--gold); flex-shrink:0; opacity:.95; }
.jmap-emblem b { display:block; font-family:var(--font-display); font-size:clamp(1.1rem,1.8vw,1.5rem); line-height:1.1; }
.jmap-emblem span { display:block; font-size:.82rem; color:rgba(255,255,255,.75); margin-top:3px; }
@media (max-width:860px){ .jmap-emblem{ display:none; } }

.jmap-emblem .jme-logo { flex-shrink:0; width:clamp(52px,6vw,74px); height:clamp(52px,6vw,74px); background:#fff; border-radius:16px; display:grid; place-items:center; padding:9px; box-shadow:0 10px 26px -8px rgba(0,0,0,.4); }
.jmap-emblem .jme-logo img { max-width:100%; max-height:100%; object-fit:contain; }

/* ============================================================
   UI/UX POLISH PASS — menu, header, interactions
   ============================================================ */
/* Header: glassy when scrolled */
.site-header { transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease, padding .35s ease; }
.site-header.scrolled { background: color-mix(in srgb, var(--surface-1) 86%, transparent); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); box-shadow: 0 8px 30px -14px rgba(16,22,54,.3); border-bottom: 1px solid var(--border); }

/* Nav links: animated underline + active state */
.nav-menu .nav-link { position: relative; }
.nav-menu .nav-link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue-700), var(--red-500)); transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.nav-menu .nav-link:hover::after, .nav-menu .nav-link.active::after { transform: scaleX(1); }
.nav-menu .nav-link.active { color: var(--blue-700); font-weight: 600; }
.has-drop > .nav-link svg { transition: transform .3s ease; }
.has-drop:hover > .nav-link svg { transform: rotate(180deg); }

/* Dropdown: refined entrance + hover rail */
.dropdown { box-shadow: 0 24px 60px -20px rgba(16,22,54,.35); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; padding: 8px; }
.dropdown a { border-radius: 10px; }
.dropdown a:hover { background: color-mix(in srgb, var(--blue-700) 8%, var(--surface-1)); color: var(--blue-700); }

/* Buttons: springy lift + sheen */
.btn { transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, background .3s, color .3s, border-color .3s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary:hover, .btn-blue:hover { box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--blue-700) 60%, transparent); }

/* Cards: unified hover feel */
.prog-card, .art-card, .news-card, .level-card, .testi, .aud-card, .pt-card { transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s, border-color .45s; }
.prog-card:hover, .art-card:hover, .news-card:hover, .level-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* Links/arrows nudge */
.prog-link svg, .aud-link svg { transition: transform .3s ease; }
.prog-link:hover svg, .aud-link:hover svg { transform: translateX(4px); }

/* Nicer focus-visible everywhere */
a:focus-visible, button:focus-visible, .btn:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--blue-700); outline-offset: 3px; border-radius: 6px; }

/* Smooth anchor scrolling + sticky offset */
html { scroll-behavior: smooth; scroll-padding-top: 110px; }

/* Mobile nav: smoother accordion + active */
@media (max-width: 1024px) {
  .nav-menu .nav-link.active { background: color-mix(in srgb, var(--blue-700) 8%, transparent); }
  .has-drop.open > .nav-link svg { transform: rotate(180deg); }
}
@media (prefers-reduced-motion: reduce) {
  .btn:hover, .prog-card:hover, .art-card:hover, .news-card:hover, .level-card:hover { transform: none; }
  html { scroll-behavior: auto; }
}

/* ===== Desktop menu fit (>=1151px): no wrapping, compact, balanced ===== */
@media (min-width: 1151px) {
  .site-header .nav { gap: clamp(14px, 1.6vw, 28px); }
  .nav-menu { flex-wrap: nowrap; gap: clamp(2px, .5vw, 8px); }
  .nav-menu > li > .nav-link {
    white-space: nowrap;
    font-size: clamp(.82rem, .92vw, .95rem);
    padding: 8px clamp(7px, .62vw, 12px);
    line-height: 1.1;
  }
  .nav-menu .nav-link svg { width: 15px; height: 15px; }
  .nav-cta { flex-shrink: 0; }
  .nav-cta .btn { white-space: nowrap; padding: 10px 18px; font-size: .9rem; }
  .brand img { height: 46px; width: auto; }
}
/* A touch more room on large laptops */
@media (min-width: 1151px) and (max-width: 1360px) {
  .nav-menu > li > .nav-link { font-size: .84rem; padding: 7px 8px; }
  .nav-menu .nav-link::after { left: 8px; right: 8px; }
}

/* ============================================================
   PREMIUM VISUAL UPGRADE
   ============================================================ */
:root { --ring: color-mix(in srgb, var(--blue-700) 14%, transparent); }

/* Hero: cinematic depth + refined type */
.hero .hero-bg::after { content:""; position:absolute; inset:0; background:
   radial-gradient(120% 90% at 18% 15%, rgba(28,42,143,.30), transparent 55%),
   linear-gradient(180deg, rgba(10,14,40,.55) 0%, rgba(10,14,40,.30) 40%, rgba(10,14,40,.72) 100%);
   pointer-events:none; }
.hero h1 { letter-spacing:-.02em; text-wrap:balance; text-shadow:0 2px 30px rgba(0,0,0,.25); }
.hero .grad-text { background:linear-gradient(100deg,#fff, var(--gold) 55%, #ffd98a); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero p { text-wrap:pretty; }

/* Kicker → premium pill */
.kicker { display:inline-flex; align-items:center; gap:8px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; font-size:.72rem; color:var(--blue-700); }
.kicker::before { content:""; width:22px; height:2px; border-radius:2px; background:linear-gradient(90deg,var(--blue-700),var(--red-500)); }
.kicker.on-dark { color:#dfe5ff; }
.kicker.on-dark::before { background:linear-gradient(90deg,var(--gold),#ffd98a); }

/* Section headings: display, balanced, tight */
.section-head h2, .h-lg, .h-xl { font-family:var(--font-display); letter-spacing:-.02em; text-wrap:balance; }
.section-head.center { max-width:760px; margin-inline:auto; }
.section-head p { color:var(--muted); font-size:1.02rem; line-height:1.7; text-wrap:pretty; }

/* Cards: premium surface with gradient hairline on hover */
.prog-card, .art-card, .news-card, .level-card, .testi, .aud-card {
  border:1px solid var(--line); border-radius:var(--radius-lg);
  background:linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface-2) 40%, var(--surface)));
  position:relative;
}
.prog-card::after, .aud-card::after, .level-card::after {
  content:""; position:absolute; inset:0; border-radius:inherit; padding:1px;
  background:linear-gradient(140deg, color-mix(in srgb,var(--blue-700) 40%, transparent), transparent 45%);
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude; opacity:0; transition:opacity .4s;
}
.prog-card:hover::after, .aud-card:hover::after, .level-card:hover::after { opacity:1; }

/* Buttons: gradient primary with soft glow */
.btn-primary { background:linear-gradient(135deg, var(--red-500), var(--red-600)); border:0; box-shadow:0 10px 24px -10px color-mix(in srgb,var(--red-500) 70%, transparent); }
.btn-blue { background:linear-gradient(135deg, var(--blue-700), var(--blue-800)); border:0; }
.btn-primary:hover { box-shadow:0 16px 34px -10px color-mix(in srgb,var(--red-500) 75%, transparent); }
.btn-outline { border:1.5px solid var(--line); }
.btn-outline:hover { border-color:var(--blue-700); color:var(--blue-700); }

/* Stat numbers emphasis */
.hf b, .stat b, .pd-meta-card dd { font-family:var(--font-display); }

/* Footer: premium dark gradient + gold accent */
.site-footer { background:linear-gradient(180deg, var(--blue-900, #0f1636), #0a0e28); }
.site-footer h5 { color:#fff; letter-spacing:.04em; }
.site-footer a { transition:color .25s, padding-left .25s; }
.site-footer .footer-col a:hover { color:var(--gold); padding-left:4px; }
.site-footer .credit-name { color:var(--gold); }
.site-footer .footer-bottom { border-top:1px solid rgba(255,255,255,.1); }

/* Page hero (inner pages): richer gradient */
.page-hero { background:linear-gradient(135deg, var(--blue-800), var(--blue-900, #0f1636)); position:relative; overflow:hidden; }
.page-hero::before { content:""; position:absolute; inset:0; background:radial-gradient(90% 120% at 85% -10%, color-mix(in srgb,var(--red-500) 26%, transparent), transparent 55%); pointer-events:none; }
.page-hero .crumbs a { color:#c9d4ff; } .page-hero .crumbs a:hover { color:#fff; }

/* Nicer section dividers via subtle top accent on alternating surfaces */
.section[style*="surface-2"] { position:relative; }

/* Top-bar Contact Us link (next to social icons) */
.topbar-social { display:flex; align-items:center; gap:10px; }
.topbar-social .tb-contact { display:inline-flex; align-items:center; gap:6px; font-size:.8rem; font-weight:600; color:inherit; text-decoration:none; opacity:.92; transition:opacity .25s, color .25s; }
.topbar-social .tb-contact svg { width:14px; height:14px; }
.topbar-social .tb-contact:hover { opacity:1; color:var(--gold); }
.topbar-social .tb-sep { width:1px; height:15px; background:currentColor; opacity:.28; margin:0 4px; }
@media (max-width:600px){ .topbar-social .tb-contact span, .topbar-social .tb-sep { display:none; } }

/* ============================================================
   OUR JOURNEY — premium upgrade
   ============================================================ */
.jmap { height: clamp(440px, 44vw, 560px); }
.jmap-curve { filter: drop-shadow(0 20px 40px rgba(16,22,54,.25)); }
/* flowing dashed path */
.jcurve-dash { stroke-dashoffset: 0; animation: jflow 2.4s linear infinite; }
@keyframes jflow { to { stroke-dashoffset: -160; } }

/* Nodes: entrance + floating icon badge + glass label */
.jnode { animation: jrise .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 0ms); }
@keyframes jrise { from { opacity: 0; transform: translateX(-50%) translateY(14px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

.jnode .jlabel {
  position: relative; padding: 18px 16px 14px; border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px -18px rgba(16,22,54,.5);
}
.jnode .jlabel::after {
  content:""; position:absolute; inset:0; border-radius:inherit; padding:1px;
  background: linear-gradient(140deg, color-mix(in srgb,var(--blue-700) 55%, transparent), color-mix(in srgb,var(--gold) 40%, transparent) 70%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity:.5; transition: opacity .4s;
}
.jnode:hover .jlabel { transform: translateY(-7px); box-shadow: 0 26px 56px -18px rgba(16,22,54,.6); }
.jnode:hover .jlabel::after { opacity: 1; }

.jnode .jlabel-ic {
  position:absolute; top:-20px; left:50%; transform:translateX(-50%);
  width:40px; height:40px; border-radius:12px; display:grid; place-items:center; color:#fff;
  background: linear-gradient(140deg, var(--blue-700), var(--blue-900,#0f1636));
  box-shadow: 0 10px 22px -8px rgba(28,42,143,.7); border:2px solid var(--surface);
}
.jnode .jlabel-ic svg { width:20px; height:20px; }
.jnode .jlabel .jyear { margin-top: 12px; box-shadow: 0 6px 16px -6px color-mix(in srgb,var(--red-500) 60%, transparent); }

/* Pins + dots: glow */
.jnode .jpin { background: repeating-linear-gradient(to bottom, var(--gold) 0 4px, transparent 4px 11px); opacity:.85; }
.jnode .jdot { width:16px; height:16px; background:var(--gold); border:3px solid #fff; box-shadow:0 0 0 4px color-mix(in srgb,var(--gold) 35%, transparent), 0 6px 16px rgba(0,0,0,.35); animation: jpulse 2.6s ease-in-out infinite; }
@keyframes jpulse { 0%,100% { box-shadow:0 0 0 4px color-mix(in srgb,var(--gold) 35%, transparent), 0 6px 16px rgba(0,0,0,.35); } 50% { box-shadow:0 0 0 8px color-mix(in srgb,var(--gold) 18%, transparent), 0 6px 16px rgba(0,0,0,.35); } }

/* Mobile timeline: icon badge */
.jcard-ic { display:inline-grid; place-items:center; width:34px; height:34px; border-radius:10px; color:#fff; background:linear-gradient(140deg,var(--blue-700),var(--blue-900,#0f1636)); margin-bottom:8px; }
.jcard-ic svg { width:18px; height:18px; }

@media (prefers-reduced-motion: reduce) {
  .jcurve-dash, .jnode, .jnode .jdot { animation: none !important; }
}

/* Testimonial avatar photos */
.testi .avatar { overflow:hidden; padding:0; }
.testi .avatar img { width:100%; height:100%; object-fit:cover; border-radius:50%; display:block; }
.art-meta .am-av img, .person .avatar img { object-fit:cover; }

/* ============================================================
   WHOLE-SITE PREMIUM PASS v2
   ============================================================ */
:root { --ease: cubic-bezier(.2,.8,.2,1); --shadow-xl: 0 44px 90px -34px rgba(16,22,54,.5); }

/* Rendering + rhythm */
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
.h-xl { font-size: clamp(2.5rem, 5.2vw, 4.1rem); line-height: 1.04; letter-spacing: -.025em; }
.h-lg { line-height: 1.1; letter-spacing: -.02em; }
p { text-wrap: pretty; }
.section-head p, .mag-editorial p, .split-body p { max-width: 66ch; }
.section { padding-block: clamp(72px, 8vw, 118px); }
.section-sm { padding-block: clamp(48px, 6vw, 84px); }

/* Depth on tinted sections */
.section[style*="surface-2"] { background: linear-gradient(180deg, var(--surface-2), color-mix(in srgb, var(--surface-3) 55%, var(--surface-2))) !important; }

/* Image frames: premium + subtle zoom */
.frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl); position: relative; }
.frame img { transition: transform .9s var(--ease); display: block; width: 100%; }
.split-media:hover .frame img, .frame:hover img { transform: scale(1.045); }

/* Buttons: refined premium */
.btn { border-radius: 12px; font-weight: 600; letter-spacing: .01em; }
.btn-lg { padding: 15px 30px; font-size: 1rem; border-radius: 14px; }

/* Premium scrollbar */
* { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--blue-700) 50%, transparent) transparent; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--blue-700) 42%, transparent); border-radius: 10px; border: 3px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: var(--blue-700); background-clip: content-box; }

/* Selection */
::selection { background: color-mix(in srgb, var(--blue-700) 88%, transparent); color: #fff; }
::-moz-selection { background: color-mix(in srgb, var(--blue-700) 88%, transparent); color: #fff; }

/* CTA band: richer depth */
.cta-band { background: linear-gradient(135deg, var(--blue-800), var(--blue-900, #0f1636)); box-shadow: var(--shadow-xl); position: relative; overflow: hidden; }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(80% 120% at 90% -10%, color-mix(in srgb,var(--red-500) 30%, transparent), transparent 55%); pointer-events:none; }
.cta-band > * { position: relative; }

/* Crumbs: premium separators */
.crumbs { opacity: .95; }

/* Stat numbers: gradient emphasis */
.stat b, .hf b { background: linear-gradient(135deg, var(--blue-700), var(--red-500)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .hf b { background: none; -webkit-text-fill-color: #fff; color: #fff; }

/* Lists: refined check-list */
.check-list li { line-height: 1.6; }
.check-list li svg { color: var(--red-500); }

/* Dropdown icons premium tint */
.dropdown a svg { color: var(--blue-700); opacity: .8; }

/* Subtle top accent between alternating sections */
.section { position: relative; }

@media (prefers-reduced-motion: reduce) {
  .frame img, .split-media:hover .frame img, .frame:hover img { transform: none !important; }
}

/* Close dropdowns during Inertia navigation (submenu click -> closes on load) */
body.nav-navigating .dropdown { opacity:0 !important; visibility:hidden !important; transform:translateY(8px) !important; pointer-events:none !important; }

/* ===== News card media (index thumbnails + branded fallback) ===== */
.news-card .news-media { display:block; aspect-ratio:16/10; overflow:hidden; position:relative; background:var(--surface-2); }
.news-card .news-media img { width:100%; height:100%; object-fit:cover; transition:transform .5s; }
.news-card:hover .news-media img { transform:scale(1.06); }
.news-card .news-media.is-ph { display:grid; place-items:center; background:linear-gradient(135deg,var(--blue-700),var(--blue-500)); }
.news-card .news-media.is-ph .news-media-logo { width:auto; height:54px; object-fit:contain; filter:brightness(0) invert(1); opacity:.92; transform:none; }
.news-card:hover .news-media.is-ph .news-media-logo { transform:none; }

/* ===== Programme cards: branded visual header ===== */
.p-card { background:var(--surface-1,#fff); border:1px solid var(--line); border-radius:var(--radius-lg,18px); overflow:hidden; display:flex; flex-direction:column; box-shadow:var(--shadow-sm); transition:transform .35s ease, box-shadow .35s ease; }
.p-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.p-card .p-top { position:relative; display:grid; place-items:center; height:132px; color:#fff; background:linear-gradient(135deg,var(--blue-700,#1c2a8f),var(--blue-500,#3b4fd4)); overflow:hidden; }
.p-card .p-top::before { content:""; position:absolute; inset:0; background:radial-gradient(120px 120px at 80% -10%,rgba(255,255,255,.22),transparent 70%); }
.p-card .p-top svg { width:56px; height:56px; position:relative; z-index:1; opacity:.96; }
.p-card:hover .p-top svg { transform:scale(1.06); transition:transform .35s ease; }
.p-card .p-tag { position:absolute; left:14px; top:14px; z-index:1; font-size:.68rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#fff; background:rgba(255,255,255,.18); border:1px solid rgba(255,255,255,.28); padding:5px 11px; border-radius:999px; backdrop-filter:blur(4px); }
/* category accents (kept within BIMT blue/red family) */
.p-card .p-top[data-kind="master"] { background:linear-gradient(135deg,#17205f,#2c3bb0); }
.p-card .p-top[data-kind="pg"] { background:linear-gradient(135deg,#1c2a8f,#4257d6); }
.p-card .p-top[data-kind="hnd"] { background:linear-gradient(135deg,#8f1020,#d12236); }
.p-card .p-top[data-kind="cmi"] { background:linear-gradient(135deg,#b01223,#e2231a); }
.p-card .p-top[data-kind="diploma"] { background:linear-gradient(135deg,#243089,#3f54cf); }
.p-card .p-body { padding:22px 24px 26px; display:flex; flex-direction:column; gap:10px; flex:1; }
.p-card .p-body h3 { font-family:var(--font-display); font-size:1.12rem; line-height:1.32; margin:0; }
.p-card .p-body h3 a { color:inherit; }
.p-card .p-body h3 a:hover { color:var(--blue-700); }
.p-card .p-body > p { color:var(--muted); font-size:.92rem; margin:0; flex:1; }
.p-card .p-body .prog-link { margin-top:4px; }

/* ===== About: big BIMT logo brand band ===== */
.about-brand-band { background:var(--surface-2); }
.about-brand-inner { text-align:center; display:flex; flex-direction:column; align-items:center; gap:14px; }
.about-brand-logo { height:clamp(96px,13vw,150px); width:auto; }
.about-brand-tag { font-family:var(--font-display); font-size:clamp(1.3rem,2.2vw,1.9rem); font-weight:700; color:var(--blue-700); letter-spacing:.02em; margin:0; }
.about-brand-sub { color:var(--muted); font-size:.95rem; margin:0; }

/* ===== Our Team — premium leadership cards ===== */
.team-block { margin-bottom: clamp(44px, 6vw, 72px); }
.team-block:last-of-type { margin-bottom: 0; }
.team-head { text-align: center; max-width: 640px; margin: 0 auto clamp(26px, 3vw, 38px); }
.team-head .team-group { margin: 10px 0 0; }
.team-head .team-group::after { margin-top: 14px; }
.team-blurb { color: var(--muted); margin: 18px 0 0; font-size: 1rem; line-height: 1.6; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); gap: clamp(18px, 2vw, 26px); align-items: start; }
.team-grid:has(> :only-child) { grid-template-columns: minmax(228px, 320px); justify-content: center; }
.tcard { position: relative; display: flex; flex-direction: column; background: var(--surface-1, #fff); border: 1px solid var(--line); border-radius: var(--radius-lg, 18px); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s; }
.tcard:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.tcard-photo { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: linear-gradient(165deg, #eef1ff 0%, #dfe6ff 100%); }
.tcard-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.tcard:hover .tcard-photo img { transform: scale(1.055); }
.tcard-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, rgba(9,14,52,.28)); opacity: 0; transition: opacity .4s; }
.tcard:hover .tcard-photo::after { opacity: 1; }
.tcard-ini { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 2.6rem; color: var(--blue-700); background: linear-gradient(165deg, #eef1ff, #dbe3ff); }
.tcard-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.tcard-body h3 { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.3; margin: 0; color: var(--ink); }
.tcard-role { color: var(--red-500); font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; margin: 0; }
.tcard-bio { color: var(--muted); font-size: .84rem; line-height: 1.6; margin: 6px 0 0; }
.tcard-accent { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--blue-700), var(--red-500)); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.tcard:hover .tcard-accent { transform: scaleX(1); }

/* light button for use on dark CTA bands */
.btn-light { background: #fff; color: var(--blue-700); }
.btn-light:hover { background: #eef1ff; color: var(--blue-800, #16205f); }

/* Team card: expandable bio */
.tcard-bio-wrap { position: relative; max-height: 88px; overflow: hidden; margin-top: 8px; transition: max-height .45s cubic-bezier(.2,.8,.2,1); }
.tcard-bio-wrap.open { max-height: 2400px; }
.tcard-bio-wrap::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42px; background: linear-gradient(transparent, var(--surface-1, #fff)); pointer-events: none; transition: opacity .3s; }
.tcard-bio-wrap.open::after { opacity: 0; }
.tcard-bio-wrap .tcard-bio { margin: 0 0 10px; }
.tcard-bio-wrap .tcard-bio:last-child { margin-bottom: 0; }
.tcard-more { display: inline-flex; align-items: center; gap: 5px; margin-top: 12px; padding: 0; background: none; color: var(--blue-700); font-weight: 700; font-size: .82rem; letter-spacing: .01em; cursor: pointer; align-self: flex-start; }
.tcard-more:hover { color: var(--red-500); }
.tcard-more svg { width: 15px; height: 15px; transition: transform .3s; }
.tcard-more[aria-expanded="true"] svg { transform: rotate(180deg); }

/* ===== Our Team — master/detail (thumbnails + featured leader) ===== */
.team-hero .grad-text { background: linear-gradient(90deg, var(--red-500), var(--gold, #f6b73c)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.team-board { display: grid; grid-template-columns: 330px 1fr; gap: clamp(26px, 3.6vw, 54px); align-items: start; margin-bottom: clamp(46px, 7vw, 84px); }
.team-board:last-of-type { margin-bottom: 0; }
.tb-left { position: sticky; top: calc(var(--header-h) + 18px); }
.tb-badge { display: inline-block; background: linear-gradient(135deg, var(--blue-700), var(--blue-500)); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; letter-spacing: .01em; padding: 11px 22px; border-radius: 12px 12px 12px 2px; box-shadow: var(--shadow-sm); }
.tb-desc { color: var(--muted); line-height: 1.7; font-size: .9rem; margin: 18px 0 22px; }
.tb-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tb-thumb { position: relative; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; cursor: pointer; padding: 0; border: 2px solid transparent; background: linear-gradient(165deg, #eef1ff, #dfe6ff); transition: transform .25s, border-color .25s, box-shadow .25s; }
.tb-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.tb-thumb:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tb-thumb.active { border-color: var(--red-500); box-shadow: 0 10px 24px -10px rgba(226,35,26,.55); transform: translateY(-2px); }
.tb-thumb-ini { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--font-display); font-weight: 600; color: var(--blue-700); font-size: 1.25rem; }

.tb-featured { background: var(--surface-1, #fff); border: 1px solid var(--line); border-radius: var(--radius-lg, 20px); box-shadow: var(--shadow-md); padding: clamp(22px, 2.6vw, 34px); overflow: hidden; }
.tb-feat-inner { display: grid; grid-template-columns: 236px 1fr; gap: clamp(22px, 2.6vw, 36px); align-items: start; }
.tb-feat-photo { position: relative; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; background: linear-gradient(165deg, #eef1ff, #dfe6ff); box-shadow: var(--shadow-sm); }
.tb-feat-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.tb-feat-ini { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--font-display); font-weight: 600; font-size: 3rem; color: var(--blue-700); }
.tb-feat-body h3 { font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 1.68rem); margin: 0; line-height: 1.2; }
.tb-feat-role { color: var(--red-500); font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; margin: 10px 0 0; }
.tb-feat-role::after { content: ""; display: block; width: 48px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--blue-700), var(--red-500)); margin: 14px 0 0; }
.tb-feat-bio { margin-top: 18px; }
.tb-feat-bio p { color: var(--ink-2, #4a4a55); line-height: 1.76; font-size: .93rem; margin: 0 0 12px; }
.tb-feat-bio p:last-child { margin-bottom: 0; }
.tb-fade-enter-active, .tb-fade-leave-active { transition: opacity .25s ease, transform .25s ease; }
.tb-fade-enter-from { opacity: 0; transform: translateY(8px); }
.tb-fade-leave-to { opacity: 0; transform: translateY(-8px); }

@media (max-width: 920px) {
  .team-board { grid-template-columns: 1fr; gap: 26px; }
  .tb-left { position: static; }
  .tb-thumbs { grid-template-columns: repeat(6, 1fr); }
  .tb-feat-inner { grid-template-columns: 200px 1fr; }
}
@media (max-width: 560px) {
  .tb-thumbs { grid-template-columns: repeat(4, 1fr); }
  .tb-feat-inner { grid-template-columns: 1fr; }
  .tb-feat-photo { max-width: 240px; }
}

/* ===== Our Team — premium polish (v2) ===== */
.team-hero { position: relative; overflow: hidden; }
.team-hero .th-dots { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.14) 1.4px, transparent 1.4px);
  background-size: 22px 22px; mask-image: linear-gradient(120deg, #000 0%, transparent 46%); -webkit-mask-image: linear-gradient(120deg, #000 0%, transparent 46%); }
.team-hero .page-hero-inner { position: relative; z-index: 1; }
.th-pill { display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 8px 18px; border-radius: 999px; margin-bottom: 18px; backdrop-filter: blur(4px); }

.tb-badge { display: inline-flex; align-items: center; gap: 10px; }
.tb-badge svg { width: 20px; height: 20px; flex-shrink: 0; }

.tb-thumb-name { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 14px 8px 7px; font-size: .64rem; font-weight: 700; line-height: 1.2; color: #fff; text-align: center; background: linear-gradient(transparent, rgba(8,12,42,.86)); opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; pointer-events: none; }
.tb-thumb:hover .tb-thumb-name, .tb-thumb.active .tb-thumb-name { opacity: 1; transform: none; }

.tb-featured { position: relative; }
.tb-feat-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.tb-feat-count { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: var(--blue-700); line-height: 1; }
.tb-feat-count i { font-style: normal; font-size: .9rem; color: var(--muted); font-family: var(--font-sans, inherit); font-weight: 600; }
.tb-feat-arrows { display: flex; gap: 8px; }
.tb-feat-arrows button { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2, #f3f5fb); color: var(--blue-700); cursor: pointer; transition: .2s; }
.tb-feat-arrows button:hover { background: var(--blue-700); color: #fff; border-color: var(--blue-700); transform: translateY(-1px); }
.tb-feat-arrows svg { width: 17px; height: 17px; }

.tb-feat-bio { position: relative; }
.tb-quote { position: absolute; top: -6px; left: -4px; width: 40px; height: 40px; color: var(--blue-700); opacity: .07; z-index: 0; }
.tb-feat-bio p { position: relative; z-index: 1; }

@media (max-width: 920px) {
  .tb-feat-nav { margin-bottom: 14px; }
}

/* =====================================================================
   MOBILE UX POLISH (audit fixes) — appended last so same-specificity wins
   ===================================================================== */
/* Bigger tap targets */
.tb-feat-arrows { gap: 12px; }
.tb-feat-arrows button { width: 44px; height: 44px; }
.tcard-more { padding: 8px 0; min-height: 40px; }
.ab-close { width: 40px; height: 40px; }
.mag-filter { gap: 12px; }
.mag-filter button { padding: 12px 20px; }
/* Readability */
.tcard-bio { font-size: .9rem; }
.tb-thumb-name { font-size: .72rem; }

/* Mobile drawer scrim + scroll lock */
.nav-overlay { position: fixed; inset: 0; background: rgba(8,12,42,.5); z-index: 90; }
body.nav-open { overflow: hidden; }

/* Intentional mobile vertical rhythm (supersedes the dead 720 override) */
@media (max-width: 720px) {
  .section { padding-block: 58px; }
  .section-head { margin-bottom: clamp(28px, 6vw, 56px); }
  .footer-col ul a { display: inline-block; padding: 7px 0; }
  .footer-col ul li { margin-bottom: 2px; }
  .h-xl { font-size: clamp(2.15rem, 7.4vw, 3.4rem); }
}
@media (max-width: 560px) {
  .tb-feat-photo { margin-inline: auto; }
  .tb-thumbs { gap: 10px; }
}

/* Lighten header blur on touch devices (perf on low-end phones) */
@media (hover: none) {
  .site-header { backdrop-filter: saturate(140%) blur(8px); -webkit-backdrop-filter: saturate(140%) blur(8px); }
}

/* Fill reduced-motion gaps */
@media (prefers-reduced-motion: reduce) {
  .tb-fade-enter-active, .tb-fade-leave-active { transition: none !important; }
  .carousel-track { scroll-behavior: auto; }
}

/* ===== Careers / vacancies accordion ===== */
.vac-list { display: flex; flex-direction: column; gap: 14px; }
.vac-item { background: var(--surface-1, #fff); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.vac-item.open { box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--blue-700) 30%, var(--line)); }
.vac-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; background: none; cursor: pointer; text-align: left; }
.vac-ttl { display: flex; flex-direction: column; gap: 4px; }
.vac-ttl strong { font-family: var(--font-display); font-size: 1.08rem; color: var(--ink); }
.vac-ttl small { color: var(--muted); font-size: .88rem; line-height: 1.5; }
.vac-head svg { width: 20px; height: 20px; color: var(--blue-700); flex-shrink: 0; transition: transform .3s; }
.vac-item.open .vac-head svg { transform: rotate(180deg); }
.vac-body { padding: 0 22px 24px; }
.vac-body .article-body { margin-bottom: 18px; }
@media (max-width: 560px) { .vac-head { padding: 16px 16px; } .vac-body { padding: 0 16px 20px; } }

/* ===== Fix: horizontal scroll on phones from the fixed off-canvas drawer =====
   body{overflow-x:hidden} cannot clip position:fixed children, so the drawer
   parked off-screen right created horizontal scroll. Clip at the root — `clip`
   (not `hidden`) so the sticky header keeps working. Also hard-cap stray widths. */
html { overflow-x: clip; }
body { overflow-x: clip; }
.nav-overlay { max-width: 100vw; }
@media (max-width: 1150px) {
  .nav-menu:not(.open) { transform: translateX(110%); }
}

/* ===== Mobile hero readability =====
   Desktop overlay is weighted left (content side); on full-width phones that
   leaves the right lighter and the poster's baked-in text bleeds through behind
   the heading. Use a uniform vertical scrim + dim the poster on mobile. */
@media (max-width: 900px) {
  .hero::after {
    background: linear-gradient(180deg, rgba(7,11,40,.9) 0%, rgba(9,14,52,.7) 44%, rgba(9,14,52,.93) 100%) !important;
  }
  .hero-poster, .hero-bg video { filter: saturate(1.04) brightness(.62); }
  .hero h1 { text-shadow: 0 2px 24px rgba(0,0,0,.55); }
  .hero p { color: #e9ecff; }
}

/* ===== Fix: hero stat numbers were forced white on a light frosted card =====
   .hero-float is rgba(255,255,255,.92) but .hero .hf b was color:#fff — so
   10/17/5k were nearly invisible. Use the brand gradient (dark fallback). */
.hero .hf b {
  background: linear-gradient(135deg, var(--blue-700), var(--red-500)) !important;
  -webkit-background-clip: text !important; background-clip: text !important;
  -webkit-text-fill-color: transparent !important; color: var(--blue-700) !important;
}
.hero-float .hf span { color: #3a4668; }

/* ===== Fix: mobile drawer nav text invisible on home =====
   On the home page .nav-link is light (#eef1ff) for the transparent hero header,
   but the mobile drawer has a WHITE background, so the items were near-invisible.
   Force dark, readable text inside the drawer. */
@media (max-width: 1150px) {
  .home .site-header:not(.scrolled) .nav-link,
  .nav-menu .nav-link { color: var(--ink, #10162e) !important; text-shadow: none !important; }
  .nav-menu .nav-link.active { color: var(--blue-700) !important; }
  .nav-menu .nav-link svg { color: var(--ink-2, #44506e) !important; opacity: .65; }
  .home .site-header:not(.scrolled) .nav-menu .dropdown a { color: var(--ink-2, #44506e); }
}

/* Accessibility: skip-to-content link (visible only on keyboard focus) */
.skip-link { position: fixed; top: -60px; left: 12px; z-index: 200; background: var(--blue-700); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 10px; font-weight: 700; font-size: .9rem; transition: top .2s; }
.skip-link:focus { top: 0; outline: 2px solid #fff; outline-offset: 2px; }

/* ===== Programme: Fees & Funding card ===== */
.fund-card { margin-top: 36px; background: var(--surface-1, #fff); border: 1px solid var(--line); border-left: 4px solid var(--blue-700); border-radius: var(--radius-lg, 18px); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-sm); }
.fund-head .pd-eyebrow { color: var(--red-500); }
.fund-head h3 { font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.5rem); margin: 6px 0 18px; }
.fund-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; }
.fund-list li { display: flex; align-items: flex-start; gap: 12px; font-size: .95rem; line-height: 1.55; color: var(--ink-2); }
.fund-list svg { width: 18px; height: 18px; color: #1a7f45; flex-shrink: 0; margin-top: 3px; }
.fund-cta { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 560px) { .fund-cta .btn { flex: 1 1 auto; justify-content: center; } }
