/* KIHPS — Kohsar Institute of Health & Professional Studies
   Palette from the seal: navy ring, sky book, red cap, yellow ribbon. */
:root {
  --navy: #074895;
  --navy-700: #063c7c;
  --navy-900: #052a57;
  --abyss: #031a38;
  --sky: #4ea0e5;
  --sky-200: #99cfeb;
  --sky-100: #d6ebf8;
  --sky-50: #eef6fd;
  --frost: #f5f8fb;
  --red: #cc1d29;
  --red-700: #a9141f;
  --gold: #ffffff; /* yellow removed at Bilal's request: the old gold accents now render white */
  --ink: #0f1b2b;
  --text: #2a3646;
  --muted: #5b6979;
  --line: #d9e2ec;
  --line-2: #e8eef4;
  --paper: #ffffff;
  --card: #ffffff;
  --brand: #074895;
  --brand-900: #052a57;
  --serif: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --sans: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --r: 6px;
  --r-lg: 14px;
  --arch: 999px 999px 14px 14px;
  --shadow: 0 1px 2px rgba(3, 26, 56, .05), 0 18px 40px -18px rgba(3, 26, 56, .22);
  --shadow-lg: 0 2px 6px rgba(3, 26, 56, .06), 0 32px 64px -24px rgba(3, 26, 56, .30);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- dark theme */
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #06111f;
  --card: #0c1c33;
  --frost: #091829;
  --sky-50: #0f2747;
  --sky-100: #18375f;
  --navy: #7cbcf0;
  --navy-700: #a3d0f5;
  --navy-900: #cfe6fa;
  --abyss: #020a15;
  --ink: #eef4fb;
  --text: #c4d2e2;
  --muted: #8aa0b9;
  --line: #1d3455;
  --line-2: #142a47;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 18px 40px -18px rgba(0,0,0,.7);
  --shadow-lg: 0 2px 6px rgba(0,0,0,.4), 0 32px 64px -24px rgba(0,0,0,.8);
}
:root[data-theme="dark"] .marks li img, :root[data-theme="dark"] .affil img { background: #fff; border-radius: 50%; padding: 4px; filter: none; opacity: .9; }
:root[data-theme="dark"] .brand img { background: #fff; border-radius: 50%; padding: 2px; }
:root[data-theme="dark"] .bg-deep, :root[data-theme="dark"] .ticker, :root[data-theme="dark"] .spec { box-shadow: inset 0 0 0 1px var(--line-2); }
:root[data-theme="dark"] .vm article:first-child { background: #0a3266; }
:root[data-theme="dark"] .photo-band img, :root[data-theme="dark"] .arch img, :root[data-theme="dark"] .story img { filter: brightness(.92); }
:root[data-theme="dark"] .hero::before, :root[data-theme="dark"] .page-hero::after { opacity: .7; }
:root[data-theme="dark"] .tag, :root[data-theme="dark"] .chip { color: var(--navy); }
/* smooth fallback when View Transitions are not supported */
.theme-fade, .theme-fade *, .theme-fade *::before, .theme-fade *::after {
  transition: background-color .6s ease, color .6s ease, border-color .6s ease, fill .6s ease, box-shadow .6s ease !important; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { z-index: 9999; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 calc(16.5px * var(--ts, 1))/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--sky-100); color: var(--ink); }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: var(--r); }
.skip:focus { top: 12px; }

/* ---------- type */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; color: var(--ink); margin: 0; letter-spacing: -.025em; }
h1 { font-size: calc(clamp(42px, 5.6vw, 76px) * var(--hs, 1)); line-height: 1.02; }
h2 { font-size: calc(clamp(34px, 3.8vw, 52px) * var(--hs, 1)); line-height: 1.06; }
h3 { font-size: calc(clamp(22px, 2vw, 27px) * var(--hs, 1)); line-height: 1.18; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--navy); }
p { margin: 0 0 1em; }
.lead { font-size: calc(clamp(17px, 1.4vw, 19.5px) * var(--ts, 1)); line-height: 1.6; color: var(--muted); }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font: 600 calc(12.5px * var(--ts, 1))/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--navy);
}
.eyebrow::before {
  content: ""; width: 11px; height: 11px; flex: none;
  background: linear-gradient(var(--red), var(--red)) center/100% 3.4px no-repeat,
              linear-gradient(var(--red), var(--red)) center/3.4px 100% no-repeat;
}
.on-dark .eyebrow { color: var(--sky-200); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark h1 em, .on-dark h2 em { color: var(--sky-200); }

/* ---------- buttons */
.btn {
  --bg: var(--brand); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bg); border-radius: 4px;
  font: 600 calc(15px * var(--ts, 1))/1 var(--sans); letter-spacing: .005em; white-space: nowrap;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover { --bg: var(--brand-900); }
.btn:hover svg.i-arrow { transform: translateX(4px); }
.btn-red { --bg: var(--red); }
.btn-red:hover { --bg: var(--red-700); }
.btn-line { --bg: transparent; --fg: var(--navy); border-color: var(--line); }
.btn-line:hover { --bg: var(--sky-50); border-color: var(--sky-200); }
.on-dark .btn-line, .btn-line.light { --fg: #fff; border-color: rgba(255,255,255,.32); }
.on-dark .btn-line:hover, .btn-line.light:hover { --bg: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6); }
.btn-sm { height: 42px; padding: 0 18px; font-size: calc(14px * var(--ts, 1)); }
.link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy);
  border-bottom: 1px solid var(--sky-200); padding-bottom: 3px; transition: border-color .2s, gap .25s var(--ease);
}
.link svg { width: 16px; height: 16px; }
.link:hover { border-color: var(--brand); gap: 12px; }
.on-dark .link { color: #fff; border-color: rgba(255,255,255,.35); }

/* ---------- top bar + masthead */
.topbar { background: var(--abyss); color: #b9c9dc; font-size: calc(13.5px * var(--ts, 1)); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 42px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 15px; height: 15px; color: var(--sky-200); }
.topbar .notice { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.topbar .notice b { font-weight: 600; }
.topbar .pip { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(255,255,255,.18); }
.topbar .contacts { display: flex; gap: 26px; }

.masthead { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line-2); transition: box-shadow .3s; }
.masthead.scrolled { box-shadow: 0 10px 30px -20px rgba(3,26,56,.35); }
.masthead .wrap { display: flex; align-items: center; gap: 28px; height: 84px; }
.brand { display: flex; align-items: center; gap: 14px; flex: none; }
.brand img { width: 54px; height: 54px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font: 700 calc(21px * var(--hs, 1))/1.05 var(--serif); color: var(--ink); letter-spacing: -.01em; }
.brand-text span { font-size: calc(11.5px * var(--ts, 1)); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .nav .menu-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 13px; border-radius: 4px;
  font-weight: 500; font-size: calc(15px * var(--ts, 1)); color: var(--ink); transition: background .2s, color .2s;
}
.nav > a:hover, .nav .menu-btn:hover, .has-menu:focus-within .menu-btn { background: var(--frost); color: var(--navy); }
.nav > a[aria-current="page"], .has-menu.current .menu-btn { color: var(--navy); }
.nav > a[aria-current="page"]::after, .has-menu.current .menu-btn::after { content: ""; }
.nav .menu-btn svg { width: 14px; height: 14px; transition: transform .25s; }
.has-menu { position: relative; }
.has-menu.open .menu-btn svg { transform: rotate(180deg); }
.menu {
  position: absolute; top: calc(100% + 12px); left: 50%; translate: -50% 0; min-width: 300px; padding: 10px;
  background: var(--card); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.menu::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.has-menu:hover .menu, .has-menu.open .menu, .has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: none; }
.menu a { display: flex; gap: 14px; align-items: flex-start; padding: 12px 14px; border-radius: 8px; transition: background .2s; }
.menu a:hover { background: var(--frost); }
.menu a b { display: block; font-weight: 600; color: var(--ink); font-size: calc(15px * var(--ts, 1)); }
.menu a small { display: block; color: var(--muted); font-size: calc(13px * var(--ts, 1)); line-height: 1.45; margin-top: 2px; }
.menu .code { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sky-50); color: var(--navy); font: 600 calc(11px * var(--ts, 1))/1 var(--sans); letter-spacing: .04em; }
.menu.wide { min-width: 640px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.menu .menu-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center;
  margin-top: 6px; padding: 14px; border-top: 1px solid var(--line-2); font-size: calc(14px * var(--ts, 1)); color: var(--muted); }
.masthead .btn { margin-left: 10px; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 4px;
  align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- hero (home) */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); }
.hero::before { /* clinical chart paper: minor + major grid, faded towards the copy */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(78,160,229,.10) 1px, transparent 1px) 0 0 / 120px 120px,
    linear-gradient(90deg, rgba(78,160,229,.10) 1px, transparent 1px) 0 0 / 120px 120px,
    linear-gradient(rgba(78,160,229,.05) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(78,160,229,.05) 1px, transparent 1px) 0 0 / 24px 24px;
  -webkit-mask-image: radial-gradient(70% 90% at 78% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(70% 90% at 78% 40%, #000 20%, transparent 75%);
}
.hero::after { content: ""; position: absolute; width: 760px; height: 760px; right: -160px; top: -120px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(153,207,235,.28) 0, rgba(238,246,253,0) 65%); z-index: -1; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero .wrap > *, .welcome > *, .path > *, .voices > *, .faq-layout > *, .split > *, .cta .wrap > * { min-width: 0; }
.hero h1 { margin-bottom: 26px; }
.hero h1 em { color: var(--red); }
.hero .lead { max-width: 33em; margin-bottom: 34px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.vitals { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border-top: 1px solid var(--line); }
.vitals div { padding: 22px 20px 0 0; }
.vitals div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.vitals strong { display: block; font: 700 calc(44px * var(--hs, 1))/1 var(--serif); color: var(--navy); letter-spacing: -.02em; }
.vitals span { display: block; margin-top: 8px; font-size: calc(14px * var(--ts, 1)); line-height: 1.4; color: var(--muted); }

.hero-figure { position: relative; justify-self: end; width: min(100%, 520px); }
.arch { position: relative; overflow: hidden; border-radius: var(--arch); background: var(--sky-50); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-figure .arch { aspect-ratio: 4 / 5.1; box-shadow: var(--shadow-lg); }
/* rotating seal ring around the arch top */
.seal-ring { position: absolute; left: -9%; top: -7%; width: 118%; aspect-ratio: 1; z-index: -1; pointer-events: none; color: var(--navy); }
.seal-ring svg { width: 100%; height: 100%; animation: spin 60s linear infinite; }
.seal-ring text { font: 600 calc(13px * var(--ts, 1)) var(--sans); letter-spacing: .32em; fill: currentColor; opacity: .42; }
.seal-ring circle { fill: none; stroke: var(--sky-200); stroke-width: 1; }
.seal-ring circle.dash { stroke: var(--red); stroke-width: 2; stroke-dasharray: 2 14; opacity: .5; }
@keyframes spin { to { transform: rotate(360deg); } }
/* hero slideshow */
.slides { position: absolute; inset: 0; }
.slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12);
  transition: opacity 1.4s ease, transform 7.5s linear; }
.slides img.on { opacity: 1; transform: scale(1); }
.slide-cap { position: absolute; right: 20px; bottom: 20px; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 9px 14px;
  border-radius: 99px; background: rgba(3,26,56,.72); backdrop-filter: blur(6px); color: #fff; font-size: calc(13px * var(--ts, 1)); font-weight: 500; }
.slide-cap .bars { display: flex; gap: 4px; }
.slide-cap .bars i { width: 18px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.3); overflow: hidden; position: relative; }
.slide-cap .bars i.on::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: bar 6s linear forwards; }
@keyframes bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.orb { position: absolute; top: 12%; left: -64px; width: 148px; height: 148px; border-radius: 50%; overflow: hidden;
  border: 6px solid #fff; box-shadow: var(--shadow); z-index: 3; }
.orb img { width: 100%; height: 100%; object-fit: cover; }
/* bedside monitor */
.monitor { position: absolute; left: -72px; bottom: 34px; z-index: 3; width: 318px; padding: 14px 16px 14px; border-radius: 16px;
  background: linear-gradient(160deg, #0a2a52, var(--abyss)); color: #cfe3f5; box-shadow: 0 30px 60px -24px rgba(3,26,56,.7), inset 0 0 0 1px rgba(153,207,235,.14); }
.mon-top { display: flex; justify-content: space-between; align-items: center; font: 600 calc(10.5px * var(--ts, 1))/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #8fb3d6; }
.mon-top .live { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.mon-top .live i { width: 7px; height: 7px; border-radius: 50%; background: #ff4d5a; box-shadow: 0 0 0 0 rgba(255,77,90,.6); animation: livepip 1.6s infinite; }
@keyframes livepip { 70% { box-shadow: 0 0 0 7px rgba(255,77,90,0); } 100% { box-shadow: 0 0 0 0 rgba(255,77,90,0); } }
.mon-screen { position: relative; margin: 12px 0 10px; height: 86px; border-radius: 8px; overflow: hidden;
  background: linear-gradient(rgba(153,207,235,.08) 1px, transparent 1px) 0 0 / 14px 14px, linear-gradient(90deg, rgba(153,207,235,.08) 1px, transparent 1px) 0 0 / 14px 14px, rgba(0,0,0,.22); }
.mon-screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.mon-read { display: grid; grid-template-columns: 1.1fr 1fr 1.2fr; gap: 8px; }
.mon-read div { display: grid; gap: 3px; }
.mon-read small { font: 600 calc(10px * var(--ts, 1))/1 var(--sans); letter-spacing: .12em; color: #8fb3d6; }
.mon-read b { font: 500 calc(26px * var(--ts, 1))/1 var(--sans); font-variant-numeric: tabular-nums; color: #fff; letter-spacing: -.02em; }
.mon-read em { font-style: normal; font-size: calc(11px * var(--ts, 1)); color: #8fb3d6; margin-left: 3px; }
.mon-read .hr b { color: #7ee0a8; }
.mon-read .hr small::after { content: " ♥"; color: #ff4d5a; display: inline-block; }
.mon-read .hr.beat small::after { animation: beat .32s ease-out; }
@keyframes beat { 40% { transform: scale(1.5); } }
.mon-read .sp b { color: var(--sky-200); }
.mon-foot { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid rgba(153,207,235,.14); font-size: calc(12.5px * var(--ts, 1)); line-height: 1.45; color: #a9c2dc; }
.mon-foot b { color: #fff; font-weight: 600; }
/* floating medical badges */
.fbadge { position: absolute; z-index: 4; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--card); color: var(--navy);
  box-shadow: var(--shadow); border: 1px solid var(--line-2); }
.fbadge svg { width: 26px; height: 26px; }
.fbadge.red { color: #fff; background: var(--red); border-color: var(--red); }
.fbadge > span { display: grid; place-items: center; width: 100%; height: 100%; animation: bob 6s ease-in-out infinite; }
.fbadge:nth-of-type(2n) > span { animation-duration: 7.5s; animation-delay: -2s; }
@keyframes bob { 50% { transform: translateY(-9px) rotate(-6deg); } }
.fb-1 { right: -26px; top: 30%; }
.fb-2 { right: 14%; top: -14px; }
.fb-3 { right: -14px; top: 58%; width: 50px; height: 50px; }
.ribbon-tag { position: absolute; right: 22px; top: 26px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
  background: var(--gold); color: var(--abyss); border-radius: 3px; font: 600 calc(12px * var(--ts, 1))/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }

/* ---------- accreditation strip */
.marks { border-block: 1px solid var(--line-2); background: var(--frost); }
.marks .wrap { display: flex; align-items: center; gap: 40px; min-height: 120px; }
.marks .label { flex: none; max-width: 190px; font-size: calc(13px * var(--ts, 1)); line-height: 1.45; color: var(--muted); }
.marks .label b { display: block; font: 700 calc(19px * var(--hs, 1))/1.2 var(--serif); color: var(--ink); margin-bottom: 4px; }
.marks ul { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; justify-content: flex-start; align-items: center; gap: clamp(28px, 6vw, 88px); }
.marks li { display: flex; align-items: center; gap: 12px; font-size: calc(13px * var(--ts, 1)); line-height: 1.35; color: var(--muted); }
.marks li img { width: 54px; height: 54px; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .72; transition: filter .3s, opacity .3s; }
.marks li:hover img { filter: none; opacity: 1; }
.marks li b { display: block; color: var(--ink); font-weight: 600; }

/* ---------- sections */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section.tight { padding: clamp(56px, 6vw, 88px) 0; }
.bg-frost { background: var(--frost); }
.bg-deep { background: var(--abyss); color: #c3d1e2; }
.section-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head p { margin: 0 0 6px; }
.section-head .side { display: grid; gap: 20px; justify-items: start; }
.section-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; max-width: 760px; margin-inline: auto; }

/* welcome */
.welcome > div:first-child { position: sticky; top: 140px; }
.welcome { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 104px); align-items: start; }
.statement { font: 700 calc(clamp(28px, 2.9vw, 40px) * var(--hs, 1))/1.2 var(--serif); color: var(--ink); letter-spacing: -.015em; margin: 0 0 28px; }
.statement em { color: var(--navy); font-style: normal; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 44px; }
.duo figure { margin: 0; }
.duo figure:last-child { margin-top: 56px; }
.duo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); }
figcaption { font-size: calc(13px * var(--ts, 1)); color: var(--muted); margin-top: 10px; display: flex; gap: 8px; align-items: center; }
figcaption::before { content: ""; width: 18px; height: 1px; background: var(--red); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: clamp(56px, 7vw, 96px); }
.pillar { border-top: 2px solid var(--navy); padding-top: 22px; }
.pillar .n { font: 700 calc(15px * var(--hs, 1))/1 var(--serif); font-style: normal; color: var(--red); }
.pillar h3 { margin: 12px 0 10px; }
.pillar p { color: var(--muted); margin: 0; }

/* programmes directory */
.dir { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.dir-row { position: relative; display: grid; grid-template-columns: 70px minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1fr) 56px;
  gap: 28px; align-items: center; padding: 34px 20px 34px 0; border-top: 1px solid var(--line);
  transition: background .35s var(--ease), padding .35s var(--ease); }
.dir-row:hover { background: var(--frost); padding-left: 20px; }
.dir-row .num { font: 700 calc(20px * var(--hs, 1))/1 var(--serif); color: var(--red); }
.dir-row .t { display: flex; gap: 22px; align-items: center; min-width: 0; }
.dir-thumb { flex: none; width: 0; height: 96px; border-radius: 999px 999px 8px 8px; overflow: hidden; opacity: 0;
  transition: width .45s var(--ease), opacity .35s; }
.dir-thumb img { width: 84px; height: 96px; object-fit: cover; }
.dir-row:hover .dir-thumb { width: 84px; opacity: 1; }
.dir-row h3 { font-size: calc(clamp(24px, 2.3vw, 32px) * var(--hs, 1)); }
.dir-row .t p { margin: 8px 0 0; font-size: calc(15px * var(--ts, 1)); color: var(--muted); line-height: 1.5; }
.dir-row .kind { display: inline-block; font: 600 calc(11.5px * var(--ts, 1))/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--navy);
  margin-bottom: 10px; }
.meta dt { font-size: calc(12px * var(--ts, 1)); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.meta dd { margin: 6px 0 0; font-weight: 600; color: var(--ink); line-height: 1.4; }
.meta { margin: 0; }
.go { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--navy);
  transition: background .3s, color .3s, border-color .3s, transform .35s var(--ease); }
.go svg { width: 20px; height: 20px; }
.dir-row:hover .go { background: var(--brand); border-color: var(--brand); color: #fff; transform: rotate(-45deg); }
.dir-row a.cover { position: absolute; inset: 0; z-index: 1; }

/* specialisations panel */
.spec { margin-top: 56px; display: grid; grid-template-columns: .8fr 1.1fr 1.1fr; gap: 48px; padding: clamp(32px, 4vw, 56px);
  background: var(--abyss); color: #c3d1e2; border-radius: 18px; position: relative; overflow: hidden; }
.spec::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%;
  border: 60px solid rgba(78,160,229,.07); }
.spec h3 { color: #fff; font-size: calc(clamp(26px, 2.4vw, 34px) * var(--hs, 1)); margin-bottom: 14px; }
.spec h4 { font: 600 calc(12px * var(--hs, 1))/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sky-200); margin-bottom: 14px; }
.leaders { list-style: none; margin: 0; padding: 0; }
.leaders li { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.08); color: #e6edf6; }
.leaders li::after { content: ""; order: 2; flex: 1; border-bottom: 1px dotted rgba(255,255,255,.22); }
.leaders li span { order: 3; color: var(--sky-200); font-size: calc(14px * var(--ts, 1)); white-space: nowrap; }
.spec .link { margin-top: 10px; }

/* campus rail */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 340px); gap: 26px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding: 4px 4px 24px; scrollbar-width: thin; scrollbar-color: var(--sky-200) transparent;
  overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--sky-200); border-radius: 6px; }
.facility { scroll-snap-align: start; }
.facility .arch { aspect-ratio: 3 / 3.9; }
.facility .arch img { transition: transform .8s var(--ease); }
.facility:hover .arch img { transform: scale(1.05); }
.facility .ico { position: absolute; left: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%; background: var(--card); color: var(--navy);
  display: grid; place-items: center; box-shadow: var(--shadow); }
.facility .ico svg { width: 21px; height: 21px; }
.facility h3 { margin: 20px 0 8px; }
.facility p { margin: 0; color: var(--muted); font-size: calc(15px * var(--ts, 1)); line-height: 1.55; }
.rail-ctrl { display: flex; gap: 10px; }
.rail-ctrl button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--navy);
  transition: background .2s, border-color .2s; }
.rail-ctrl button:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.rail-ctrl svg { width: 20px; height: 20px; }
.rail-ctrl .prev svg { transform: rotate(180deg); }

/* admission pathway */
.path { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.sticky { position: sticky; top: 120px; }
.fee { margin: 30px 0 30px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); overflow: hidden; }
.fee-head { padding: 14px 20px; background: var(--sky-50); font: 600 calc(12.5px * var(--ts, 1))/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--navy);
  display: flex; align-items: center; gap: 10px; }
.fee-head svg { width: 16px; height: 16px; }
.fee-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 20px; border-top: 1px solid var(--line-2); }
.fee-row span { color: var(--muted); font-size: calc(15px * var(--ts, 1)); }
.fee-row b { font: 700 calc(26px * var(--hs, 1))/1 var(--serif); color: var(--ink); }
.bank { margin: 0; padding: 6px 20px 10px; border-top: 1px solid var(--line-2); display: grid; }
.bank div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 8px 0; }
.bank div + div { border-top: 1px dashed var(--line-2); }
.bank dt { font-size: calc(13.5px * var(--ts, 1)); color: var(--muted); flex: none; }
.bank dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .bank div { flex-direction: column; align-items: flex-start; gap: 2px; }
  .bank dd { text-align: left; }
}
.bank.boxed { margin: 0 0 18px; padding: 8px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--frost); }
.fee-note { padding: 12px 20px 16px; font-size: calc(13px * var(--ts, 1)); color: var(--muted); border-top: 1px solid var(--line-2); margin: 0; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { position: relative; display: grid; grid-template-columns: 76px 1fr; gap: 10px; padding-bottom: 38px; counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--card); border: 1px solid var(--line); font: 700 calc(21px * var(--hs, 1))/1 var(--serif); color: var(--navy); position: relative; z-index: 1;
  transition: background .3s, color .3s, border-color .3s; }
.steps { position: relative; --fill: 0; }
.steps::before, .steps::after { content: ""; position: absolute; left: 30px; top: 30px; bottom: 30px; width: 2px; margin-left: -.5px; border-radius: 2px; }
.steps::before { background: var(--line); }
.steps::after { background: linear-gradient(var(--navy), var(--sky)); transform-origin: top; transform: scaleY(var(--fill)); transition: transform .2s linear; }
.steps li:last-child { padding-bottom: 0; }
.steps li.done::before, .steps li:hover::before { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: 0 0 0 6px rgba(7,72,149,.1); }
.steps li h3, .steps li p { transition: color .4s; }
.steps h3 { font: 600 calc(19px * var(--hs, 1))/1.3 var(--sans); color: var(--ink); letter-spacing: 0; margin: 15px 0 6px; }
.steps p { margin: 0; color: var(--muted); }

/* voices */
.voices { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.quote-stage { position: relative; min-height: 320px; }
.quote { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .5s, transform .6s var(--ease), visibility .5s; }
.quote.active { position: relative; opacity: 1; visibility: visible; transform: none; }
.quote .mark { font: 700 calc(150px * var(--hs, 1))/.7 var(--serif); color: var(--red); height: 64px; display: block; }
.quote blockquote { margin: 0 0 30px; font: 700 calc(clamp(24px, 2.5vw, 34px) * var(--hs, 1))/1.35 var(--serif); color: var(--ink); letter-spacing: -.01em; }
.quote cite { font-style: normal; display: flex; flex-direction: column; }
.quote cite b { color: var(--ink); font-size: calc(17px * var(--ts, 1)); }
.quote cite span { color: var(--muted); font-size: calc(14.5px * var(--ts, 1)); }
.people { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.people button { width: 100%; display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-radius: 12px; text-align: left;
  border: 1px solid transparent; transition: background .25s, border-color .25s; }
.people button:hover { background: var(--card); }
.people button[aria-selected="true"] { background: var(--card); border-color: var(--line); box-shadow: var(--shadow); }
.people img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .25s; }
.people button[aria-selected="true"] img { outline-color: var(--navy); }
.people b { display: block; color: var(--ink); font-weight: 600; }
.people span { display: block; color: var(--muted); font-size: calc(13.5px * var(--ts, 1)); }

/* news */
.news-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; }
.news-stack { display: grid; gap: 28px; }
.story { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden;
  transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.story:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.story .img { overflow: hidden; aspect-ratio: 16 / 10; }
.story .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.story:hover .img img { transform: scale(1.04); }
.story .body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.story h3 { font-size: calc(clamp(22px, 2vw, 28px) * var(--hs, 1)); }
.story p { margin: 0; color: var(--muted); font-size: calc(15.5px * var(--ts, 1)); }
.story .meta-line { display: flex; align-items: center; gap: 12px; font-size: calc(13px * var(--ts, 1)); color: var(--muted); }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 3px; background: var(--sky-50); color: var(--navy);
  font: 600 calc(11.5px * var(--ts, 1))/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.story.row { flex-direction: row; }
.story.row .img { aspect-ratio: auto; width: 42%; flex: none; }
.story.row .body { padding: 24px 26px; }
.story.row h3 { font-size: calc(22px * var(--hs, 1)); }
.story a.cover { position: absolute; inset: 0; }

/* faq */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.ask { margin-top: 32px; padding: 26px; border-radius: var(--r-lg); background: var(--frost); border: 1px solid var(--line-2); }
.ask h3 { font-size: calc(22px * var(--hs, 1)); margin-bottom: 8px; }
.ask p { color: var(--muted); font-size: calc(15px * var(--ts, 1)); }
.ask .actions { gap: 10px; }
.faqs details { border-bottom: 1px solid var(--line); }
.faqs details:first-child { border-top: 1px solid var(--line); }
.faqs summary { list-style: none; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 0; cursor: pointer;
  font: 500 calc(19px * var(--ts, 1))/1.4 var(--sans); color: var(--ink); transition: color .2s; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary:hover { color: var(--navy); }
.faqs summary .pm { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: background .25s, border-color .25s; }
.faqs summary .pm::before, .faqs summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: var(--navy);
  translate: -50% -50%; transition: transform .3s var(--ease), background .25s; }
.faqs summary .pm::after { transform: rotate(90deg); }
.faqs details[open] summary .pm { background: var(--brand); border-color: var(--brand); }
.faqs details[open] summary .pm::before, .faqs details[open] summary .pm::after { background: #fff; }
.faqs details[open] summary .pm::after { transform: rotate(0); }
.faqs .ans { padding: 0 60px 26px 0; color: var(--muted); }
.faqs .ans p { margin: 0; }

/* cta */
.cta { position: relative; overflow: hidden; background: radial-gradient(120% 140% at 100% 0, var(--navy) 0, var(--navy-900) 45%, var(--abyss) 100%);
  color: #c3d1e2; padding: clamp(64px, 8vw, 112px) 0; }
.cta .wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: 56px; align-items: center; }
.cta h2 { color: #fff; font-size: calc(clamp(38px, 4.6vw, 64px) * var(--hs, 1)); }
.cta h2 em { color: var(--sky-200); }
.cta .ribbon { display: block; width: 88px; height: 5px; background: var(--gold); margin: 26px 0 26px; border-radius: 2px; }
.cta p { max-width: 36em; font-size: calc(18px * var(--ts, 1)); }
.cta .actions { margin-top: 32px; }
.cta .phone { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; margin-left: 8px; }
.cta .phone svg { width: 18px; height: 18px; color: var(--sky-200); }
.seal-plate { justify-self: center; width: min(320px, 70vw); aspect-ratio: 1; border-radius: 50%; background: #fff; padding: 22px;
  box-shadow: 0 0 0 14px rgba(255,255,255,.05), 0 0 0 28px rgba(255,255,255,.035), 0 40px 80px -30px rgba(0,0,0,.6); }
.seal-plate img { width: 100%; height: 100%; object-fit: contain; }

/* footer */
.footer { background: var(--abyss); color: #9fb2c8; font-size: calc(15px * var(--ts, 1)); border-top: 1px solid rgba(255,255,255,.06); }
.footer .top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; padding: 72px 0 56px; }
.footer .brand-text strong { color: #fff; }
.footer .brand-text span { color: #8ea3bb; }
.footer .brand img { background: #fff; border-radius: 50%; padding: 3px; }
.footer .about { margin: 22px 0 24px; max-width: 30em; line-height: 1.6; }
.footer h4 { font: 600 calc(12.5px * var(--hs, 1))/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer a { transition: color .2s; }
.footer a:hover { color: #fff; }
.footer .contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer .contact svg { width: 17px; height: 17px; color: var(--sky-200); flex: none; margin-top: 4px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.socials a:hover { background: var(--brand); border-color: var(--brand); }
.socials svg { width: 18px; height: 18px; }
.footer .bottom { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: calc(13.5px * var(--ts, 1)); }
.footer .bottom .ribbon-line { display: inline-flex; align-items: center; gap: 10px; }
.footer .bottom .ribbon-line::before { content: ""; width: 22px; height: 3px; background: var(--gold); border-radius: 2px; }

/* ---------- inner pages */
.page-hero { position: relative; overflow: hidden; background: var(--frost); border-bottom: 1px solid var(--line-2); padding: clamp(40px, 5vw, 72px) 0 clamp(48px, 6vw, 84px); }
.page-hero::before { content: ""; position: absolute; width: 760px; height: 760px; right: -260px; top: -320px; border-radius: 50%;
  background: radial-gradient(circle, transparent 60%, rgba(78,160,229,.10) 60.3%, transparent 60.8%); pointer-events: none; }
.page-hero .wrap { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: end; }
.page-hero.solo .wrap { grid-template-columns: 1fr; }
.page-hero h1 { font-size: calc(clamp(40px, 5vw, 68px) * var(--hs, 1)); margin-bottom: 20px; }
.page-hero .lead { max-width: 36em; margin: 0; }
.page-hero .arch { aspect-ratio: 1 / 1.08; max-width: 380px; justify-self: end; width: 100%; box-shadow: var(--shadow-lg); margin-bottom: -20px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: calc(13.5px * var(--ts, 1)); color: var(--muted); margin-bottom: 28px; }
.crumbs a { color: var(--navy); font-weight: 500; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumbs span[aria-hidden] { color: var(--line); }

.prose p { font-size: calc(17.5px * var(--ts, 1)); line-height: 1.75; }
.prose p.eyebrow { font-size: calc(12.5px * var(--ts, 1)); line-height: 1; }
.prose > p:first-child:not(.eyebrow), .prose > .eyebrow + p { font: 700 calc(clamp(21px, 1.9vw, 25px) * var(--hs, 1))/1.5 var(--serif); color: var(--ink); letter-spacing: -.005em; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }

/* programme detail */
.prog { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(40px, 6vw, 88px); align-items: start; }
.prog section + section { margin-top: clamp(56px, 6vw, 80px); }
.prog h2 { font-size: calc(clamp(30px, 3vw, 40px) * var(--hs, 1)); margin-bottom: 26px; }
.facts { position: sticky; top: 116px; border-radius: var(--r-lg); overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.facts-head { position: relative; padding: 26px 26px 24px; background: var(--abyss); color: #c3d1e2; overflow: hidden; }
.facts-head::after { content: ""; position: absolute; right: -50px; top: -50px; width: 160px; height: 160px; border-radius: 50%; border: 26px solid rgba(78,160,229,.12); }
.facts-head .code { font: 600 calc(12px * var(--ts, 1))/1 var(--sans); letter-spacing: .14em; color: var(--sky-200); }
.facts-head b { display: block; margin-top: 12px; font: 700 calc(26px * var(--hs, 1))/1.15 var(--serif); color: #fff; }
.facts dl { margin: 0; padding: 8px 26px; }
.facts dl div { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line-2); font-size: calc(15px * var(--ts, 1)); }
.facts dl div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }
.facts .btns { padding: 6px 26px 26px; display: grid; gap: 10px; }
.facts .btns .btn { width: 100%; }
.focus { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.focus div { padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--frost); }
.focus .ico { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--card); color: var(--red); margin-bottom: 16px; border: 1px solid var(--line-2); }
.focus .ico svg { width: 20px; height: 20px; }
.focus h3 { font: 600 calc(17.5px * var(--hs, 1))/1.3 var(--sans); letter-spacing: 0; margin-bottom: 6px; }
.focus p { margin: 0; color: var(--muted); font-size: calc(15px * var(--ts, 1)); line-height: 1.55; }
.table { width: 100%; border-collapse: collapse; font-size: calc(16px * var(--ts, 1)); }
.table th, .table td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.table thead th { font: 600 calc(12px * var(--ts, 1))/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: var(--frost); border-bottom-color: var(--line); }
.table tbody th { font-weight: 500; color: var(--muted); width: 44%; }
.table td { font-weight: 600; color: var(--ink); }
.table-card { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--card); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 36px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--sky-50);
  border: 1px solid var(--sky-100); }
.checks li::after { content: ""; position: absolute; left: 7.5px; top: 7px; width: 7px; height: 11px; border: solid var(--navy); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.docs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; counter-reset: d; }
.docs li { counter-increment: d; display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.docs li::before { content: counter(d, decimal-leading-zero); font: 700 calc(15px * var(--hs, 1))/1 var(--serif); color: var(--red); flex: none; width: 22px; }
.note { display: flex; gap: 16px; padding: 22px 24px; border-radius: var(--r-lg); background: var(--sky-50); border: 1px solid var(--sky-100); color: var(--text); }
.note svg { flex: none; width: 24px; height: 24px; color: var(--navy); margin-top: 2px; }
.note p { margin: 0; }
.courses { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.courses li { list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 16px 18px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); }
.courses li b { font-weight: 600; color: var(--ink); }
.courses li span { font-size: calc(13.5px * var(--ts, 1)); color: var(--navy); background: var(--sky-50); padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.courses { margin: 0; padding: 0; }
.other-progs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prog-card { position: relative; padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); transition: box-shadow .3s, transform .3s var(--ease); }
.prog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.prog-card .kind { font: 600 calc(11.5px * var(--ts, 1))/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.prog-card h3 { margin: 12px 0 10px; font-size: calc(24px * var(--hs, 1)); }
.prog-card p { color: var(--muted); font-size: calc(15px * var(--ts, 1)); margin: 0 0 18px; }
.prog-card .dur { font-size: calc(14px * var(--ts, 1)); font-weight: 600; color: var(--navy); }
.prog-card a.cover { position: absolute; inset: 0; }

/* programme overview cards */
.prog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.prog-tile { position: relative; display: grid; grid-template-columns: 200px 1fr; gap: 28px; padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--card);
  transition: box-shadow .35s, transform .35s var(--ease); }
.prog-tile:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.prog-tile .arch { aspect-ratio: 3 / 4; }
.prog-tile .kind { font: 600 calc(11.5px * var(--ts, 1))/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.prog-tile h3 { margin: 12px 0 12px; font-size: calc(28px * var(--hs, 1)); }
.prog-tile p { color: var(--muted); font-size: calc(15.5px * var(--ts, 1)); }
.prog-tile .chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 20px; }
.chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 99px; background: var(--frost); border: 1px solid var(--line-2); font-size: calc(13.5px * var(--ts, 1)); color: var(--text); }
.prog-tile a.cover { position: absolute; inset: 0; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: calc(15px * var(--ts, 1)); }
.compare th, .compare td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.compare thead th { background: var(--abyss); color: #fff; font: 700 calc(18px * var(--hs, 1))/1.25 var(--serif); }
.compare thead th small { display: block; font: 600 calc(11px * var(--ts, 1))/1 var(--sans); letter-spacing: .12em; color: var(--sky-200); text-transform: uppercase; margin-bottom: 6px; }
.compare tbody th { color: var(--muted); font-weight: 500; background: var(--frost); width: 180px; }
.compare tbody tr:last-child > * { border-bottom: 0; }

/* admissions tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; padding: 6px; border-radius: 12px; background: var(--frost); border: 1px solid var(--line-2); width: max-content; max-width: 100%; }
.tabs button { height: 44px; padding: 0 18px; border-radius: 8px; font-weight: 600; font-size: calc(14.5px * var(--ts, 1)); color: var(--muted); transition: background .2s, color .2s, box-shadow .2s; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--card); color: var(--navy); box-shadow: 0 1px 3px rgba(3,26,56,.1); }
.panel[hidden] { display: none; }
.panel-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }
.panel-grid h3 { font: 600 calc(13px * var(--hs, 1))/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--navy); margin: 0 0 18px; }

/* apply form */
.apply { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.apply-nav { position: sticky; top: 116px; }
.apply-nav ol { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 4px; counter-reset: a; }
.apply-nav ol a { counter-increment: a; display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 10px; font-weight: 500; color: var(--muted); transition: background .2s, color .2s; }
.apply-nav ol a::before { content: counter(a); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); font-size: calc(13px * var(--ts, 1)); font-weight: 600; flex: none; background: var(--card); }
.apply-nav ol a:hover, .apply-nav ol a.active { background: var(--frost); color: var(--navy); }
.apply-nav ol a.active::before { background: var(--brand); border-color: var(--brand); color: #fff; }
.form-card { border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.form-card fieldset { border: 0; margin: 0; padding: clamp(24px, 3.4vw, 40px); border-bottom: 1px solid var(--line-2); }
.form-card legend { float: left; width: 100%; padding: 0; margin-bottom: 26px; }
.form-card legend span { display: block; font: 700 calc(28px * var(--hs, 1))/1.15 var(--serif); color: var(--ink); }
.form-card legend small { display: block; color: var(--muted); font-size: calc(14.5px * var(--ts, 1)); margin-top: 6px; }
.form-card legend + * { clear: both; }
.fgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px 20px; }
.f { grid-column: span 3; display: grid; gap: 7px; align-content: start; }
.f.s2 { grid-column: span 2; } .f.s6 { grid-column: 1 / -1; }
.f label, .f .lbl { font-size: calc(13.5px * var(--ts, 1)); font-weight: 600; color: var(--ink); }
.f label i { color: var(--red); font-style: normal; }
.f input, .f select, .f textarea { width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--card);
  font: 400 calc(15.5px * var(--ts, 1)) var(--sans); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.f textarea { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; }
.f select { appearance: none; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23074895' stroke-width='1.8'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center; padding-right: 40px; }
.f input:hover, .f select:hover, .f textarea:hover { border-color: #c4d1de; }
.f input:focus, .f select:focus, .f textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(7,72,149,.1); }
.f input[type="file"] { padding: 10px 12px; height: auto; font-size: calc(14px * var(--ts, 1)); }
.f input[type="file"]::file-selector-button { margin-right: 12px; height: 32px; padding: 0 14px; border-radius: 6px; border: 0; background: var(--sky-50); color: var(--navy); font-weight: 600; cursor: pointer; }
.radios { display: flex; flex-wrap: wrap; gap: 10px; }
.radios label { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 16px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; font-weight: 500; font-size: calc(15px * var(--ts, 1)); transition: border-color .2s, background .2s; }
.radios input { accent-color: var(--navy); width: 17px; height: 17px; margin: 0; }
.radios label:has(input:checked) { border-color: var(--brand); background: var(--sky-50); color: var(--navy); }
.sub-h { grid-column: 1 / -1; font: 600 calc(12.5px * var(--ts, 1))/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--navy); padding-top: 10px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 28px clamp(24px, 3.4vw, 40px); background: var(--frost); }
.form-foot label { display: flex; gap: 10px; align-items: flex-start; font-size: calc(14.5px * var(--ts, 1)); max-width: 34em; }
.form-foot input { accent-color: var(--navy); width: 18px; height: 18px; margin-top: 3px; flex: none; }
.pay-box { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 22px; }
.pay-box div { padding: 18px 20px; border-radius: 12px; border: 1px solid var(--line); background: var(--frost); }
.pay-box span { display: block; font-size: calc(13.5px * var(--ts, 1)); color: var(--muted); }
.pay-box b { display: block; font: 700 calc(28px * var(--hs, 1))/1.1 var(--serif); color: var(--ink); margin-top: 6px; }
.toast { position: fixed; left: 50%; bottom: 28px; translate: -50% 0; z-index: 90; display: flex; gap: 12px; align-items: center; max-width: calc(100% - 32px);
  padding: 16px 20px; border-radius: 12px; background: var(--abyss); color: #fff; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(16px);
  transition: opacity .3s, transform .4s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: none; }
.toast svg { width: 20px; height: 20px; color: var(--gold); flex: none; }

/* campus page */
.fac-block { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.fac-block + .fac-block { margin-top: clamp(72px, 8vw, 120px); }
.fac-block.flip .fac-media { order: 2; }
.fac-media { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: clamp(340px, 38vw, 500px); }
.fac-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-lg); }
.fac-media img:first-child { grid-row: 1 / 3; border-radius: var(--arch); }
.fac-media.one { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.fac-text .ico { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-50); color: var(--navy); margin-bottom: 22px; }
.fac-text .ico svg { width: 24px; height: 24px; }
.fac-text h2 { margin-bottom: 18px; font-size: calc(clamp(32px, 3.4vw, 46px) * var(--hs, 1)); }
.fac-text p { color: var(--muted); font-size: calc(17.5px * var(--ts, 1)); }
.fac-text .count { font-size: calc(14px * var(--ts, 1)); font-weight: 600; color: var(--navy); }

/* gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button { height: 40px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line); font-size: calc(14px * var(--ts, 1)); font-weight: 500; color: var(--text); background: var(--card); transition: all .2s; }
.filters button:hover { border-color: var(--sky-200); color: var(--navy); }
.filters button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.filters .grp { width: 100%; font: 600 calc(12px * var(--ts, 1))/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 10px 0 2px; }
.masonry { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.masonry button { display: block; width: 100%; border-radius: 10px; overflow: hidden; position: relative; aspect-ratio: 4 / 3; background: var(--frost); }
.masonry img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .3s; }
.masonry button:hover img { transform: scale(1.04); }
.masonry button span { position: absolute; left: 10px; bottom: 10px; padding: 6px 10px; border-radius: 6px; background: rgba(3,26,56,.78); color: #fff; font-size: calc(12.5px * var(--ts, 1));
  opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .3s var(--ease); }
.masonry button:hover span { opacity: 1; transform: none; }
.masonry button.hide { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(3,16,34,.94); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: min(1200px, 92vw); text-align: center; }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 8px; }
.lightbox figcaption { justify-content: center; color: #c3d1e2; margin-top: 16px; font-size: calc(14.5px * var(--ts, 1)); }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.08); transition: background .2s; }
.lb-btn:hover { background: rgba(255,255,255,.18); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; translate: 0 -50%; }
.lb-prev svg { transform: rotate(180deg); }
.lb-next { right: 20px; top: 50%; translate: 0 -50%; }

/* albums teaser */
.albums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.album { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; color: #fff; }
.album img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.album:hover img { transform: scale(1.05); }
.album::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,26,56,0) 40%, rgba(3,26,56,.85)); }
.album div { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; }
.album b { display: block; font: 700 calc(24px * var(--hs, 1))/1.15 var(--serif); }
.album span { font-size: calc(13.5px * var(--ts, 1)); color: #c9d7e8; }

/* news list + article */
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(40px, 6vw, 88px); align-items: start; }
.article .hero-img { border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; margin-bottom: 40px; }
.article .hero-img img { width: 100%; height: 100%; object-fit: cover; }
.side-list { position: sticky; top: 116px; display: grid; gap: 4px; }
.side-list h4 { font: 600 calc(12.5px * var(--hs, 1))/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--navy); margin-bottom: 12px; }
.side-list a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.side-list a b { display: block; font: 700 calc(19px * var(--hs, 1))/1.3 var(--serif); color: var(--ink); transition: color .2s; }
.side-list a:hover b { color: var(--navy); }
.side-list a span { font-size: calc(13px * var(--ts, 1)); color: var(--muted); }

/* about */
.needs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.1); border-radius: var(--r-lg); overflow: hidden; }
.needs div { background: var(--abyss); padding: 30px 26px; }
.needs .ico { color: var(--sky-200); margin-bottom: 26px; }
.needs .ico svg { width: 28px; height: 28px; }
.needs h3 { color: #fff; font-size: calc(23px * var(--hs, 1)); margin-bottom: 10px; }
.needs p { margin: 0; font-size: calc(15px * var(--ts, 1)); color: #a9bbd0; }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm article { position: relative; padding: clamp(30px, 4vw, 48px); border-radius: 18px; overflow: hidden; }
.vm article:first-child { background: var(--brand); color: #d7e5f5; }
.vm article:last-child { background: var(--frost); border: 1px solid var(--line-2); }
.vm h3 { font: 600 calc(12.5px * var(--hs, 1))/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 22px; }
.vm article:first-child h3 { color: var(--sky-200); }
.vm article:last-child h3 { color: var(--navy); }
.vm p { margin: 0; font: 700 calc(clamp(21px, 2vw, 26px) * var(--hs, 1))/1.42 var(--serif); }
.vm article:first-child p { color: #fff; }
.vm article:last-child p { color: var(--ink); }
.vm article::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; border: 30px solid rgba(255,255,255,.06); }
.vm article:last-child::after { border-color: rgba(7,72,149,.05); }
.photo-band { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 16px; height: clamp(260px, 30vw, 420px); }
.photo-band img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-lg); }
.photo-band img:nth-child(2) { border-radius: var(--arch); }

.affil-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.affil { padding: 30px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); display: grid; gap: 16px; align-content: start; transition: box-shadow .3s; }
.affil:hover { box-shadow: var(--shadow-lg); }
.affil img { width: 76px; height: 76px; object-fit: contain; }
.affil .role { font: 600 calc(11.5px * var(--ts, 1))/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.affil h3 { font-size: calc(22px * var(--hs, 1)); }
.affil p { margin: 0; font-size: calc(14.5px * var(--ts, 1)); color: var(--muted); }
.affil-progs { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; font-size: calc(15px * var(--ts, 1)); color: var(--ink); }
.affil-progs li { position: relative; padding-left: 18px; }
.affil-progs li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }

/* contact */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: clamp(48px, 6vw, 80px); }
.c-card { padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); display: grid; gap: 6px; align-content: start; transition: border-color .2s, box-shadow .3s; }
a.c-card:hover { border-color: var(--sky-200); box-shadow: var(--shadow); }
.c-card .ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-50); color: var(--navy); margin-bottom: 12px; }
.c-card .ico svg { width: 21px; height: 21px; }
.c-card span { font-size: calc(13px * var(--ts, 1)); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.c-card b { color: var(--ink); font-weight: 600; font-size: calc(16.5px * var(--ts, 1)); word-break: break-word; }
.map { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); min-height: 100%; background: var(--frost); }
.map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; filter: saturate(.85); }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- responsive */
@media (max-width: 1180px) {
  .nav > a, .nav .menu-btn { padding: 0 9px; font-size: calc(14.5px * var(--ts, 1)); }
  .brand-text span { display: none; }
  .marks ul { flex-wrap: wrap; justify-content: flex-start; gap: 22px 36px; }
  .dir-row { grid-template-columns: 56px minmax(0, 1.5fr) minmax(0, 1fr) 52px; }
  .dir-row .meta.entry { display: none; }
}
@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .masthead { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--card); }
  .masthead .btn.apply-top { display: none; }
  .nav { position: fixed; inset: 0 0 0 auto; z-index: 60; width: min(380px, 88vw); margin: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 90px 22px 32px; background: var(--card); box-shadow: var(--shadow-lg); overflow-y: auto; transform: translateX(105%); transition: transform .4s var(--ease); }
  .nav.open { transform: none; }
  .nav > a, .nav .menu-btn { height: 54px; width: 100%; justify-content: space-between; font-size: calc(17px * var(--ts, 1)); border-bottom: 1px solid var(--line-2); border-radius: 0; padding: 0 6px; }
  .menu, .menu.wide { position: static; translate: none; min-width: 0; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 6px 0 12px; grid-template-columns: 1fr; }
  .has-menu:hover .menu { display: none; }
  .has-menu.open .menu { display: grid; }
  .menu .menu-foot { display: none; }
  .nav .btn.apply-nav-btn { display: inline-flex; margin: 22px 0 0; }
  .nav-close { position: absolute; top: 20px; right: 20px; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 4px; }
  .nav-close svg { width: 22px; height: 22px; }
  .scrim { position: fixed; inset: 0; z-index: 55; background: rgba(3,26,56,.45); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .scrim.open { opacity: 1; visibility: visible; }
  .topbar .notice { display: none; }
  .hero .wrap, .welcome, .path, .voices, .faq-layout, .cta .wrap, .page-hero .wrap, .prog, .split, .fac-block, .article, .apply, .panel-grid { grid-template-columns: 1fr; }
  .hero-figure { justify-self: center; width: min(100%, 460px); margin-top: 20px; }
  .sticky, .facts, .apply-nav, .side-list, .welcome > div:first-child { position: static; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .spec { grid-template-columns: 1fr 1fr; }
  .spec > div:first-child { grid-column: 1 / -1; }
  .footer .top { grid-template-columns: 1fr 1fr; }
  .page-hero .arch { display: none; }
  .fac-block.flip .fac-media { order: 0; }
  .news-list, .albums, .other-progs { grid-template-columns: 1fr 1fr; }
  .prog-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .needs { grid-template-columns: 1fr 1fr; }
  .seal-plate { justify-self: start; width: 220px; }
  .apply-nav ol { display: flex; flex-wrap: wrap; }
}
@media (min-width: 1021px) {
  .nav .btn.apply-nav-btn, .nav-close, .scrim { display: none; }
}
@media (min-width: 1021px) and (max-width: 1180px) {
  .masthead .wrap { gap: 16px; }
  .nav { gap: 0; }
  .nav > a, .nav .menu-btn { padding: 0 7px; font-size: calc(14px * var(--ts, 1)); }
  .masthead .btn { margin-left: 4px; padding: 0 14px; }
  .brand-text strong { font-size: calc(19px * var(--ts, 1)); }
}
@media (max-width: 720px) {
  body { font-size: calc(16px * var(--ts, 1)); }
  .topbar .contacts a.mail { display: none; }
  .topbar .wrap { justify-content: center; }
  .masthead .wrap { height: 72px; }
  .brand img { width: 46px; height: 46px; }
  .brand-text strong { font-size: calc(18px * var(--ts, 1)); }
  .vitals { grid-template-columns: 1fr 1fr 1fr; margin-top: 40px; }
  .vitals strong { font-size: calc(28px * var(--ts, 1)); }
  .vitals div + div { padding-left: 14px; }
  .vitals span { font-size: calc(12.5px * var(--ts, 1)); }
  .orb { width: 104px; height: 104px; left: -10px; top: 8%; }
  .float-card { left: 12px; right: 12px; width: auto; bottom: 16px; }
  .marks .wrap { flex-direction: column; align-items: flex-start; gap: 20px; padding: 28px 0; }
  .marks ul { display: grid; grid-template-columns: 1fr 1fr; }
  .dir-row { grid-template-columns: 1fr 48px; gap: 14px; padding: 26px 0; }
  .dir-row:hover { padding-left: 0; }
  .dir-row .num, .dir-row .meta { display: none; }
  .dir-thumb { display: none; }
  .spec { grid-template-columns: 1fr; padding: 28px 22px; }
  .pillars { grid-template-columns: 1fr; gap: 28px; }
  .duo figure:last-child { margin-top: 32px; }
  .news-grid, .news-list, .albums, .other-progs, .focus, .docs, .courses, .vm, .contact-cards, .needs, .cols-2 { grid-template-columns: 1fr; }
  .story.row { flex-direction: column; }
  .story.row .img { width: 100%; aspect-ratio: 16 / 10; }
  .prog-tile { grid-template-columns: 1fr; }
  .prog-tile .arch { aspect-ratio: 16 / 10; border-radius: var(--r-lg); }
  .footer .top { grid-template-columns: 1fr; gap: 36px; padding: 56px 0 40px; }
  .footer .bottom { flex-direction: column; }
  .fgrid { grid-template-columns: 1fr; }
  .f, .f.s2 { grid-column: 1 / -1; }
  .pay-box { grid-template-columns: 1fr; }
  .photo-band { grid-template-columns: 1fr 1fr; height: auto; }
  .photo-band img { aspect-ratio: 1; }
  .photo-band img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .fac-media { height: 340px; }
  .faqs summary { font-size: calc(17px * var(--ts, 1)); }
  .faqs .ans { padding-right: 0; }
  .quote-stage { min-height: 0; }
  .tabs { width: 100%; }
  .tabs button { flex: 1 1 auto; }
  .masonry { grid-template-columns: 1fr 1fr; gap: 10px; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; translate: none; }
  .table tbody th { width: 50%; }
  .table th, .table td { padding: 14px 14px; }
}

/* =========================================================================== motion & clinical layer */
/* scroll progress */
.progress { position: fixed; left: 0; top: 0; z-index: 70; width: 100%; height: 3px; pointer-events: none;
  background: linear-gradient(90deg, var(--red), #e8505a 55%, var(--sky)); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* headline mask-up on reveal */
.js .reveal h1, .js .reveal h2, .js .reveal .statement { clip-path: inset(0 0 100% 0); transform: translateY(.35em);
  transition: clip-path 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: inherit; }
.js .reveal.in h1, .js .reveal.in h2, .js .reveal.in .statement { clip-path: inset(-25% -8% -30% -8%); transform: none; }

/* button sheen */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent); transition: transform .7s var(--ease); }
.btn:hover::after { transform: translateX(120%) skewX(-20deg); }

/* tilt */
.tilt { transform-style: preserve-3d; transition: transform .5s var(--ease); will-change: transform; }

/* programme directory icons */
.dir-ico { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--card); color: var(--navy);
  border: 1px solid var(--line); transition: background .35s, color .35s, border-color .35s, transform .5s var(--ease); }
.dir-ico svg { width: 26px; height: 26px; }
.dir-row:hover .dir-ico { background: var(--red); border-color: var(--red); color: #fff; transform: rotate(-10deg) scale(1.05); }

/* skills ticker */
.ticker { position: relative; overflow: hidden; padding: 30px 0; background: var(--abyss); color: #fff; }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, var(--abyss), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--abyss), transparent); }
.ticker .row { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker .row + .row { margin-top: 14px; animation-direction: reverse; animation-duration: 56s; }
.ticker:hover .row { animation-play-state: paused; }
.ticker .row span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap;
  font: 700 calc(clamp(28px, 3.4vw, 46px) * var(--hs, 1))/1.1 var(--serif); letter-spacing: -.01em; }
.ticker .row.outline span { color: transparent; -webkit-text-stroke: 1px rgba(153,207,235,.55); font-style: normal; }
.ticker .row span svg { width: 30px; height: 30px; color: var(--red); flex: none; }
.ticker .row.outline span svg { color: var(--sky-200); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* CTA seal heartbeat rings */
.seal-plate { position: relative; }
.seal-plate::before, .seal-plate::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(153,207,235,.55);
  animation: sonar 3.2s var(--ease) infinite; pointer-events: none; }
.seal-plate::after { animation-delay: 1.6s; }
@keyframes sonar { from { transform: scale(1); opacity: .8; } to { transform: scale(1.45); opacity: 0; } }
.cta { isolation: isolate; }
.cta .cross { position: absolute; z-index: -1; color: rgba(153,207,235,.10); animation: drift 18s ease-in-out infinite; }
.cta .cross svg { width: 100%; height: 100%; }
.cta .cross.c1 { width: 120px; height: 120px; left: 2%; bottom: 8%; }
.cta .cross.c2 { width: 70px; height: 70px; left: 46%; bottom: 10%; animation-delay: -6s; color: rgba(204,29,41,.22); }
.cta .cross.c3 { width: 180px; height: 180px; right: 4%; top: -40px; animation-delay: -11s; }
@keyframes drift { 50% { transform: translate(18px, -22px) rotate(18deg); } }

/* inner page hero: chart paper + floating badge */
.page-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(rgba(78,160,229,.09) 1px, transparent 1px) 0 0 / 96px 96px, linear-gradient(90deg, rgba(78,160,229,.09) 1px, transparent 1px) 0 0 / 96px 96px,
              linear-gradient(rgba(78,160,229,.045) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, rgba(78,160,229,.045) 1px, transparent 1px) 0 0 / 24px 24px;
  -webkit-mask-image: linear-gradient(90deg, transparent 25%, #000 85%); mask-image: linear-gradient(90deg, transparent 25%, #000 85%); }
.page-hero .wrap { z-index: 1; }
.ph-fig { position: relative; justify-self: end; width: 100%; max-width: 380px; }
.ph-fig .arch { max-width: none; }
.ph-fig .fbadge { left: -26px; bottom: 34px; }
.ph-fig .fbadge.second { left: auto; right: -20px; bottom: auto; top: 22%; width: 48px; height: 48px; }

/* counters */
[data-count] { font-variant-numeric: tabular-nums; }

/* facility card hover lift */
.facility .arch { transition: box-shadow .5s var(--ease); }
.facility:hover .arch { box-shadow: var(--shadow-lg); }
.facility h3 { transition: color .3s; }
.facility:hover h3 { color: var(--navy); }

@media (max-width: 1020px) {
  .ph-fig { display: none; }
}
@media (max-width: 720px) {
  .monitor { left: 10px; right: 10px; width: auto; bottom: 12px; padding: 12px 14px; }
  .mon-screen { height: 64px; margin: 10px 0 8px; }
  .mon-read b { font-size: calc(21px * var(--ts, 1)); }
  .mon-foot { display: none; }
  .fb-1 { right: -6px; } .fb-2 { display: none; } .fb-3 { right: 6px; top: 46%; }
  .fbadge { width: 48px; height: 48px; }
  .fbadge svg { width: 22px; height: 22px; }
  .slide-cap { display: none; }
  .dir-ico { width: 46px; height: 46px; }
  .ticker { padding: 22px 0; }
  .ticker::before, .ticker::after { width: 40px; }
  .seal-ring { left: -6%; width: 112%; top: -5%; }
}
@media (prefers-reduced-motion: reduce) {
  .seal-ring svg, .ticker .row, .fbadge > span, .seal-plate::before, .seal-plate::after, .cta .cross, .mon-top .live i { animation: none !important; }
  .slides img { transition: none; transform: none; }
  .js .reveal h1, .js .reveal h2, .js .reveal .statement { clip-path: none; transform: none; }
}

@keyframes navIn { from { opacity: 0; transform: translateY(-14px); } }

/* ---------- hero options */
.hv { display: none; }
:root[data-hero="1"] .hv-1, :root[data-hero="2"] .hv-2, :root[data-hero="3"] .hv-3 { display: block; }
.hero-switching .hv { animation: heroIn .7s var(--ease); }
@keyframes heroIn { from { opacity: 0; } }
.bars { display: flex; gap: 5px; }
.bars i { width: 26px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.28); overflow: hidden; position: relative; }
.bars i.on::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: bar 6s linear forwards; }

/* hero 1: cinematic */
.hv-1 { position: relative; overflow: hidden; background: var(--abyss); }
:root[data-hero="1"] .hv-1 { display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(620px, calc(100svh - 126px), 860px); }
.hv1-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(2,16,36,.93) 0%, rgba(2,16,36,.72) 38%, rgba(2,16,36,.18) 78%), linear-gradient(0deg, rgba(2,16,36,.9) 0%, rgba(2,16,36,0) 42%); }
.hv1-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; padding-top: 110px; padding-bottom: 36px; }
.hv1-copy h1 { color: #fff; font-size: calc(clamp(46px, 6.6vw, 96px) * var(--hs, 1)); line-height: .98; margin-bottom: 24px; }
.hv1-copy h1 em { color: var(--sky-200); }
.hv1-copy .lead { color: #c9d8ea; max-width: 33em; margin-bottom: 32px; }
.hv1-meta { display: grid; justify-items: end; gap: 12px; color: #fff; padding-bottom: 8px; }
.hv1-count { font: 700 calc(16px * var(--hs, 1))/1 var(--serif); color: #a9c2dc; }
.hv1-count b { font-size: calc(46px * var(--ts, 1)); font-weight: 400; color: #fff; margin-right: 4px; }
.hv1-cap { font-size: calc(13px * var(--ts, 1)); letter-spacing: .12em; text-transform: uppercase; color: #c9d8ea; }
.hv1-dock { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-bottom: 30px; border-radius: 18px; overflow: hidden;
  background: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.dock-item { display: flex; align-items: center; gap: 14px; padding: 20px 22px; background: rgba(3,26,56,.5); color: #fff; transition: background .35s; min-width: 0; }
.dock-item:hover { background: rgba(204,29,41,.9); }
.dock-ico { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); }
.dock-ico svg { width: 22px; height: 22px; }
.dock-t { min-width: 0; }
.dock-t small { display: block; font-size: calc(11.5px * var(--ts, 1)); letter-spacing: .1em; text-transform: uppercase; color: #a9c2dc; }
.dock-item:hover .dock-t small { color: #ffe1e3; }
.dock-t b { display: block; font: 700 calc(19px * var(--hs, 1))/1.2 var(--serif); margin-top: 4px; }
.dock-item > svg { width: 18px; height: 18px; margin-left: auto; flex: none; transition: transform .35s var(--ease); }
.dock-item:hover > svg { transform: translateX(4px); }

/* hero 2: split + moving columns */
.hv-2 { position: relative; overflow: hidden; background: var(--frost); border-bottom: 1px solid var(--line-2); }
.hv-2::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(rgba(78,160,229,.08) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, rgba(78,160,229,.08) 1px, transparent 1px) 0 0 / 24px 24px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 55%); mask-image: linear-gradient(90deg, #000, transparent 55%); }
.hv2-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); min-height: clamp(660px, 90vh, 860px); }
.hv2-copy { align-self: center; padding: 64px 0; }
.hv2-copy h1 { font-size: calc(clamp(40px, 4.8vw, 68px) * var(--hs, 1)); margin-bottom: 20px; }
.hv2-copy h1 em { color: var(--red); }
.hv2-copy .lead { max-width: 32em; margin-bottom: 0; }
.finder { margin: 28px 0 30px; padding: 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); max-width: 540px; }
.finder-q { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-weight: 600; color: var(--ink); }
.finder-q svg { width: 22px; height: 22px; color: var(--red); }
.finder-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 99px; background: var(--frost); border: 1px solid var(--line-2); margin-bottom: 12px; }
.finder-tabs button { height: 38px; padding: 0 16px; border-radius: 99px; font-weight: 600; font-size: calc(14px * var(--ts, 1)); color: var(--muted); transition: background .25s, color .25s; }
.finder-tabs button[aria-selected="true"] { background: var(--brand); color: #fff; }
.finder-res[hidden] { display: none; }
.finder-res { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.finder-res.show li { animation: fadeUp .5s var(--ease) both; }
.finder-res.show li + li { animation-delay: .08s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
.finder-res a { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); transition: background .25s, border-color .25s; }
.finder-res a:hover { background: var(--sky-50); border-color: var(--sky-200); }
.finder-res a > svg { width: 18px; height: 18px; margin-left: auto; color: var(--navy); flex: none; transition: transform .3s var(--ease); }
.finder-res a:hover > svg { transform: translateX(4px); }
.f-ico { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-50); color: var(--navy); }
.f-ico svg { width: 21px; height: 21px; }
.finder-res b { display: block; color: var(--ink); font-weight: 600; }
.finder-res small { display: block; color: var(--muted); font-size: calc(13px * var(--ts, 1)); }
.hv2-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; overflow: hidden; height: clamp(660px, 90vh, 860px);
  -webkit-mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent); }
.hv2-track { animation: colUp 44s linear infinite; }
.hv2-col.c2 .hv2-track { animation-name: colDown; animation-duration: 52s; }
.hv2-col.c3 .hv2-track { animation-duration: 38s; }
.hv2-cols:hover .hv2-track { animation-play-state: paused; }
.hv2-col figure { margin: 0 0 14px; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--sky-50); }
.hv2-col.c2 figure:nth-child(odd) { border-radius: 999px 999px 18px 18px; }
.hv2-col img { width: 100%; height: 100%; object-fit: cover; }
@keyframes colUp { to { transform: translateY(-50%); } }
@keyframes colDown { from { transform: translateY(-50%); } to { transform: none; } }

/* hero 3: centred + expanding programme panels */
.hv-3 { position: relative; overflow: hidden; padding: clamp(44px, 5vw, 72px) 0 clamp(40px, 5vw, 72px);
  background: radial-gradient(70% 60% at 50% 0, var(--sky-50), transparent 70%); }
.hv-3::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(rgba(78,160,229,.08) 1px, transparent 1px) 0 0 / 96px 96px, linear-gradient(90deg, rgba(78,160,229,.08) 1px, transparent 1px) 0 0 / 96px 96px;
  -webkit-mask-image: radial-gradient(60% 50% at 50% 30%, #000, transparent 75%); mask-image: radial-gradient(60% 50% at 50% 30%, #000, transparent 75%); }
.hv3-head { position: relative; text-align: center; max-width: 1000px; }
.hv3-head .eyebrow { justify-content: center; }
.hv3-head h1 { font-size: calc(clamp(42px, 5.6vw, 82px) * var(--hs, 1)); line-height: 1; }
.rotator { display: inline-grid; vertical-align: bottom; text-align: left; }
.rotator em { grid-area: 1 / 1; color: var(--red); opacity: 0; transform: translateY(.45em); transition: opacity .55s, transform .7s var(--ease); }
.rotator em.on { opacity: 1; transform: none; }
.rotator em.out { opacity: 0; transform: translateY(-.45em); }
.hv3-head .lead { margin: 24px auto 32px; max-width: 40em; }
.hv3-head .actions { justify-content: center; }
.hv3-panels { position: relative; display: flex; gap: 14px; height: clamp(380px, 42vw, 540px); margin-top: clamp(40px, 5vw, 64px); }
.px { position: relative; flex: 1; min-width: 0; border-radius: 24px; overflow: hidden; color: #fff; transition: flex .9s var(--ease); background: var(--abyss); }
.px.open { flex: 3.4; }
.px img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.px.open img { transform: scale(1.04); }
.px::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,16,36,.05) 30%, rgba(2,16,36,.88)); transition: background .6s; }
.px:not(.open)::after { background: linear-gradient(180deg, rgba(2,16,36,.35), rgba(2,16,36,.8)); }
.px-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; align-items: flex-end; gap: 16px; padding: 22px; }
.px-ico { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--brand); transition: background .4s, color .4s; }
.px.open .px-ico { background: var(--red); color: #fff; }
.px-ico svg { width: 24px; height: 24px; }
.px-txt { min-width: 0; flex: 1; opacity: 0; transform: translateY(12px); transition: opacity .4s, transform .6s var(--ease); }
.px.open .px-txt { opacity: 1; transform: none; transition-delay: .3s; }
.px-txt small { display: block; font-size: calc(11.5px * var(--ts, 1)); letter-spacing: .12em; text-transform: uppercase; color: var(--sky-200); }
.px-txt b { display: block; font: 700 calc(clamp(22px, 2.2vw, 30px) * var(--hs, 1))/1.15 var(--serif); margin: 6px 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.px-sum { display: block; font-size: calc(14.5px * var(--ts, 1)); line-height: 1.5; color: #d4e1ef; max-width: 34em; }
.px .go { border-color: rgba(255,255,255,.4); color: #fff; opacity: 0; transition: opacity .4s, background .3s; }
.px.open .go { opacity: 1; }
.px:hover .go { background: #fff; color: var(--brand); }
.hv3-stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; border-top: 1px solid var(--line); }
.hv3-stats div { padding: 22px 20px 0; }
.hv3-stats div + div { border-left: 1px solid var(--line); }
.hv3-stats strong { display: block; font: 700 calc(44px * var(--hs, 1))/1 var(--serif); color: var(--navy); letter-spacing: -.02em; }
.hv3-stats span { display: block; margin-top: 8px; font-size: calc(14px * var(--ts, 1)); color: var(--muted); }

/* ---------- review switcher */
.review { position: fixed; left: 16px; bottom: 16px; z-index: 95; }
.review-tab { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px; border-radius: 99px; background: var(--red); color: #fff;
  font-weight: 600; font-size: calc(14px * var(--ts, 1)); box-shadow: 0 14px 30px -12px rgba(204,29,41,.7); transition: transform .3s var(--ease); }
.review-tab:hover { transform: translateY(-2px); }
.review-tab svg { width: 18px; height: 18px; }
.review-panel { position: absolute; left: 0; bottom: 58px; width: 340px; max-width: calc(100vw - 32px); padding: 18px; border-radius: 18px; background: var(--card);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px) scale(.97); transform-origin: bottom left;
  transition: opacity .25s, transform .35s var(--ease), visibility .25s; }
.review.open .review-panel { opacity: 1; visibility: visible; transform: none; }
.review-h { font: 700 calc(21px * var(--hs, 1))/1.2 var(--serif); color: var(--ink); margin: 0 0 16px; }
.review-row { display: grid; gap: 8px; margin-bottom: 14px; }
.review-row > span { font: 600 calc(11.5px * var(--ts, 1))/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.seg[data-set="theme"] { grid-template-columns: 1fr 1fr; }
.seg button { display: grid; justify-items: center; gap: 4px; padding: 10px 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--frost); color: var(--ink);
  transition: background .25s, border-color .25s, color .25s; }
.seg button:hover { border-color: var(--sky-200); }
.seg button b { font: 700 calc(22px * var(--hs, 1))/1 var(--serif); }
.seg button small { font-size: calc(12px * var(--ts, 1)); color: var(--muted); }
.seg button svg { width: 20px; height: 20px; }
.seg button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.seg button[aria-pressed="true"] small { color: #cfe0f3; }
.review-link { display: inline-flex; align-items: center; gap: 8px; font-size: calc(14px * var(--ts, 1)); font-weight: 600; color: var(--navy); }
.review-link svg { width: 16px; height: 16px; }
.review-note { margin: 4px 0 0; font-size: calc(12.5px * var(--ts, 1)); color: var(--muted); }

@media (max-width: 1020px) {
  .hv1-in { grid-template-columns: 1fr; }
  .hv1-meta { justify-items: start; grid-auto-flow: column; align-items: center; }
  .hv1-dock { grid-template-columns: 1fr 1fr; }
  .hv2-grid { grid-template-columns: 1fr; min-height: 0; }
  .hv2-copy { padding: 48px 0 8px; }
  .hv2-cols { height: 420px; margin-bottom: 40px; }
  .hv3-panels { height: 440px; }
  .hv3-stats { grid-template-columns: 1fr 1fr; }
  .hv3-stats div:nth-child(3) { border-left: 0; }
}
@media (max-width: 720px) {
  :root[data-hero="1"] .hv-1 { min-height: 0; }
  .hv1-in { padding-top: 120px; padding-bottom: 28px; }
  .hv1-meta { display: none; }
  .hv1-dock { grid-template-columns: 1fr 1fr; margin-bottom: 20px; }
  .dock-item { padding: 12px; gap: 10px; }
  .dock-ico { width: 34px; height: 34px; }
  .dock-ico svg { width: 18px; height: 18px; }
  .dock-t small { font-size: calc(10px * var(--ts, 1)); letter-spacing: .06em; }
  .dock-t b { font-size: calc(15px * var(--ts, 1)); }
  .dock-item > svg { display: none; }
  .hv1-shade { background: linear-gradient(0deg, rgba(2,16,36,.95) 15%, rgba(2,16,36,.55) 70%, rgba(2,16,36,.35)); }
  .finder { padding: 16px; }
  .finder-tabs { display: flex; }
  .finder-tabs button { flex: 1; padding: 0 10px; }
  .hv2-cols { height: 340px; gap: 10px; }
  .hv2-col figure { margin-bottom: 10px; border-radius: 12px; }
  .hv3-panels { flex-direction: column; height: 620px; gap: 10px; }
  .px.open { flex: 3; }
  .px-body { padding: 14px 16px; }
  .px-ico { width: 44px; height: 44px; }
  .px-sum { display: none; }
  .px .go { display: none; }
  .hv3-stats strong { font-size: calc(32px * var(--ts, 1)); }
  .hv3-stats div { padding: 18px 14px 0; }
  .review { left: 12px; bottom: 12px; }
  .review-tab span { display: none; }
  .review-tab { width: 46px; padding: 0; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hv2-track { animation: none; }
}
.toast.bad { background: #a9141f; }
