/* MTTC College – public site */
:root {
  --ink: #0B2545;
  --ink-2: #123A63;
  --paper: #f7f5f0;
  --surface: #ffffff;
  --tint: #efebe3;
  --line: #e1dbcf;
  --text: #1a2233;
  --muted: #5d6576;
  --accent: #F09620;
  --accent-hover: #E2850F;
  --brand-blue: #0068B0;
  --brand-teal: #2BB197;
  --brand-orange: #F09620;
  --brand-pink: #E02858;
  --accent-ink: #0068B0;
  --accent-soft: #FFF4E3;
  --ok: #1E9C82;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgb(15 29 51 / 6%), 0 8px 24px -12px rgb(15 29 51 / 18%);
  --head: "Archivo", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
}
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font: 400 17px/1.6 var(--body); color: var(--text); background: var(--paper); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.12; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 1.18rem; font-weight: 700; }
p { margin: 0 0 1em; }
svg { width: 1.1em; height: 1.1em; flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.eyebrow { font: 600 .78rem/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.eyebrow.light { color: #F5C886; }
.eyebrow.center { justify-content: center; }
.eyebrow .num { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; color: var(--muted); letter-spacing: .05em; padding-right: 10px; border-right: 1px solid var(--line); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 640px; }
.sub { color: var(--muted); max-width: 720px; margin-top: -6px; margin-bottom: 28px; }
.muted-sm { color: var(--muted); font-size: .88rem; }
.note { padding: 18px 20px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius-sm); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 999px; font: 600 .95rem/1 var(--body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 15px 24px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.link { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; color: var(--accent-ink); text-decoration: none; }
.link:hover { text-decoration: underline; }

/* Announcement + header */
.announce { background: var(--ink); color: #fff; font-size: .9rem; text-align: center; padding: 9px 0; }
.announce a { color: #F5B35A; font-weight: 600; }
.hdr { position: sticky; top: 0; z-index: 40; background: rgb(247 245 240 / 92%); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 24px; height: 74px; }
.logo img { height: 42px; width: auto; }
.logo strong { font-family: var(--head); font-size: 1.3rem; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav > a, .has-mm > a { padding: 9px 12px; border-radius: 8px; text-decoration: none; font-weight: 500; font-size: .96rem; color: var(--ink); }
.nav > a:hover, .has-mm > a:hover, .nav a.on { background: var(--tint); }
.nav a.on { font-weight: 600; }
.nav-mobile-only { display: none; }
.has-mm { position: relative; }
.mm { position: absolute; top: calc(100% + 6px); left: -12px; width: 340px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; display: none; }
.has-mm:hover .mm, .has-mm:focus-within .mm { display: block; }
.mm::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.mm a { display: block; padding: 9px 12px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: .95rem; }
.mm a:hover { background: var(--tint); }
.mm-cat { display: block; font-size: .72rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.mm .mm-all { color: var(--accent-ink); border-top: 1px solid var(--line); margin-top: 6px; border-radius: 0 0 8px 8px; }
.hdr-cta { display: flex; gap: 8px; align-items: center; }
.btn-wa svg { color: #1faa53; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 12px 11px; flex-direction: column; justify-content: space-between; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero { position: relative; padding: 56px 0 40px; overflow: hidden;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; background-position: -1px -1px; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 30%, var(--paper) 30%, rgb(247 245 240 / 70%) 60%, rgb(247 245 240 / 20%)); pointer-events: none; }
.hero > * { position: relative; z-index: 1; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-media { position: relative; }
.frame { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: var(--tint); aspect-ratio: 4 / 3.2; border: 6px solid #fff; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.tick { position: absolute; width: 28px; height: 28px; border-color: var(--accent); border-style: solid; }
.t1 { top: -14px; left: -14px; border-width: 3px 0 0 3px; }
.t2 { bottom: -14px; right: -14px; border-width: 0 3px 3px 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 48px 0 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.stats div { padding: 22px 24px; border-left: 1px solid var(--line); }
.stats div:first-child { border-left: 0; }
.stats dt { font: 800 2rem/1 var(--head); color: var(--ink); letter-spacing: -.02em; }
.stats dd { margin: 8px 0 0; color: var(--muted); font-size: .92rem; line-height: 1.4; }

.intake-strip { background: var(--accent-soft); border-block: 1px solid #f8d6c0; }
.intake-in { display: flex; gap: 14px; align-items: center; padding-block: 14px; }
.intake-in p { margin: 0; flex: 1; }
.intake-in a { font-weight: 600; color: var(--accent-ink); text-decoration: none; white-space: nowrap; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgb(240 150 32 / 50%); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgb(240 150 32 / 0); } 100% { box-shadow: 0 0 0 0 rgb(240 150 32 / 0); } }

/* Sections */
.sec { padding: 80px 0; }
.sec-tint { background: var(--tint); }
.sec-ink { background: var(--ink); color: #dfe5ef; }
.sec-ink h2, .sec-ink h3 { color: #fff; }
.sec-ink .eyebrow { color: #F5B35A; }
.sec-ink .eyebrow .num { color: #8ea0bd; border-color: #1F4A78; }
.shead { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.shead h2 { margin: 0; max-width: 720px; }
.group-h { font-size: 1.35rem; margin: 8px 0 20px; }
.group-h.sm { font-size: 1.1rem; margin-top: 36px; }
.phead { padding: 64px 0 44px; border-bottom: 1px solid var(--line);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; position: relative; }
.phead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--paper) 35%, rgb(247 245 240 / 75%)); }
.phead > * { position: relative; z-index: 1; }
.phead h1 { max-width: 880px; }
.jump { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.jump a { padding: 8px 14px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .92rem; }
.jump a:hover { border-color: var(--ink); }

/* Programme cards */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 44px; }
.pgrid:last-child { margin-bottom: 0; }
.pcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfc6b5; }
.pcard-img { aspect-ratio: 16 / 10; background: var(--tint); overflow: hidden; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pcard:hover .pcard-img img { transform: scale(1.04); }
.pcard-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.pcard h3 { font-size: 1.28rem; margin: 12px 0 8px; }
.pcard p { color: var(--muted); font-size: .97rem; flex: 1; }
.pcard .more { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; color: var(--accent-ink); font-size: .93rem; }
.chip { display: inline-block; align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: #E6F1FA; color: var(--brand-blue); font-size: .74rem; font-weight: 600; letter-spacing: .03em; }
.chip-lg { font-size: .9rem; padding: 7px 13px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }

/* Why */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #1F4A78; border: 1px solid #1F4A78; border-radius: var(--radius); overflow: hidden; }
.why-item { background: var(--ink); padding: 30px 28px; }
.why-n { font: 600 .82rem ui-monospace, Menlo, monospace; color: #F5B35A; display: block; margin-bottom: 18px; }
.why-item p { color: #b6c2d6; margin: 0; }

/* Principal */
.principal { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.principal-img { border-radius: var(--radius); overflow: hidden; background: var(--tint); }
.principal blockquote { margin: 0 0 18px; font: 500 clamp(1.2rem, 2vw, 1.5rem)/1.5 var(--head); color: var(--ink); letter-spacing: -.01em; }
.principal blockquote p { margin-bottom: .8em; }
.sig { color: var(--muted); }
.sig strong { color: var(--ink); }

/* Projects */
.prjgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prj { text-decoration: none; display: block; }
.prj[hidden] { display: none; }
.prj-img { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--line); }
.prj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.prj:hover .prj-img img { transform: scale(1.04); }
.prj-body { padding: 14px 2px 0; }
.prj-body h3 { font-size: 1.05rem; margin-bottom: 4px; }
.prj-body p { color: var(--muted); font-size: .9rem; margin: 0; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filters a, .filters button { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font: 500 .93rem var(--body); color: var(--ink); cursor: pointer; text-decoration: none; }
.filters .on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* News */
.ngrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ncard { text-decoration: none; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.ncard:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.ncard-img { position: relative; aspect-ratio: 16 / 10; background: var(--tint); overflow: hidden; }
.ncard-img img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 12px; left: 12px; background: var(--brand-pink); color: #fff; font-size: .75rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; letter-spacing: .04em; }
.ncard-body { padding: 18px 20px 22px; }
.ncard h3 { font-size: 1.08rem; margin-bottom: 8px; }
.ncard-body p:last-child { color: var(--muted); font-size: .93rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.meta { font-size: .84rem; color: var(--muted); margin-bottom: 8px; }
.meta span { color: var(--accent-ink); font-weight: 600; }
.upcoming { display: grid; gap: 14px; margin-bottom: 48px; }
.up { display: grid; grid-template-columns: 92px 180px 1fr; gap: 22px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 16px; text-decoration: none; }
.up-date { text-align: center; }
.up-date strong { display: block; font: 800 2.4rem/1 var(--head); color: var(--accent); }
.up-date span { font-size: .85rem; color: var(--muted); }
.up-img { aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden; background: var(--tint); }
.up-img img { width: 100%; height: 100%; object-fit: cover; }
.up-body h3 { margin-bottom: 4px; }
.up-body p:last-child { margin: 0; color: var(--muted); }

/* Post */
.post-head { padding: 56px 0 28px; }
.post-head h1 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); }
.hero-shot { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; cursor: zoom-in; background: var(--tint); }
.hero-shot img { width: 100%; max-height: 640px; object-fit: cover; }
.event-box { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; padding: 18px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 28px; }
.event-box.is-up { border-color: #f5c3a2; background: var(--accent-soft); }
.event-box div { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.event-box div svg { color: var(--accent-ink); }
.event-box .btn { margin-left: auto; }
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.55rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose img { border-radius: var(--radius-sm); margin: 1.2em 0; }
.prose a { color: var(--accent-ink); }
.prose blockquote { border-left: 3px solid var(--accent); margin: 1.2em 0; padding: .2em 0 .2em 1.1em; color: var(--muted); }
.prose.big { font-size: 1.15rem; }
.post-body { margin-bottom: 32px; }
.back { margin-top: 40px; }

/* Gallery */
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gal-sm { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.gal-item { padding: 0; border: 0; background: var(--line); border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; aspect-ratio: 4/3; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gal-item:hover img { transform: scale(1.04); }
.hero-shot.gal-item { aspect-ratio: auto; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgb(8 14 26 / 94%); display: flex; align-items: center; justify-content: center; padding: 40px 64px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lightbox button { position: absolute; background: rgb(255 255 255 / 12%); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; translate: 0 -50%; }
.lb-next { right: 12px; top: 50%; translate: 0 -50%; }

/* Programme page */
.ph-hero { position: relative; color: #fff; padding: 110px 0 64px; overflow: hidden; background: var(--ink); }
.ph-bg { position: absolute; inset: 0; }
.ph-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.ph-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--ink) 25%, rgb(15 29 51 / 55%) 70%, rgb(15 29 51 / 30%)); }
.ph-in { position: relative; }
.ph-hero h1 { color: #fff; max-width: 820px; }
.ph-hero .lede { color: #cdd6e4; }
.ph-hero .eyebrow a { color: #F5C886; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: -32px 0 0; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.facts div { padding: 18px 22px; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; }
.facts dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.facts dd { margin: 6px 0 0; font-weight: 600; color: var(--ink); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
.two-col-even { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 32px; }
.side { display: grid; gap: 18px; position: sticky; top: 96px; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-decoration: none; }
.side-card h3 { margin-bottom: 14px; }
.side-card .btn { margin: 4px 6px 0 0; }
.side-cta { background: var(--ink); color: #c9d3e3; border-color: var(--ink); }
.side-cta h3 { color: #fff; }
.side-cta .btn-ghost { color: #fff; border-color: #3a5175; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg { color: var(--ok); margin-top: 4px; }
.years { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 1.5em; }
.year { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.year h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent-ink); }
.year ol { margin: 0; padding-left: 1.2em; }
.year li { padding: 4px 0; }

/* Admissions */
.intakes { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.intake { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); padding: 20px 22px; }
.intake-date { font: 800 1.5rem var(--head); color: var(--ink); display: block; margin-bottom: 6px; }
.intake p { color: var(--muted); margin: 0; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step-n { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 800 1.05rem var(--head); }
.steps p { color: var(--muted); margin: 0; }
.aid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.aid-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.aid-card p { color: var(--muted); }
.acc-logo { height: 48px; width: auto; margin-bottom: 14px; }

/* Student life */
.ach { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.ach-card { background: var(--ink-2); border: 1px solid #1F4A78; border-radius: var(--radius); overflow: hidden; }
.ach-img { aspect-ratio: 16/9; overflow: hidden; }
.ach-img img { width: 100%; height: 100%; object-fit: cover; }
.ach-body { padding: 22px; }
.ach-card .meta { color: #F5B35A; font-weight: 600; }
.ach-st { color: #fff; font-weight: 500; }
.ach-body p:last-child { color: #b6c2d6; margin: 0; }
.alu { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.alu-card { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.alu-img { aspect-ratio: 1; background: var(--tint); }
.alu-img img { width: 100%; height: 100%; object-fit: cover; }
.alu-card figcaption { padding: 20px; display: grid; gap: 4px; }
.alu-card blockquote { margin: 0 0 12px; font-style: italic; color: var(--text); }
.alu-card span { color: var(--muted); font-size: .92rem; }
.partners-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.cp { display: grid; gap: 4px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; }
.cp span { color: var(--muted); font-size: .9rem; }
.cp em { font-style: normal; color: var(--accent-ink); font-weight: 600; font-size: .88rem; }

/* Campus */
.campus-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 32px; }
.campus-cover { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; background: var(--line); }
.campus-cover img { width: 100%; height: 100%; object-fit: cover; }
.fac { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.fac-item { position: relative; text-align: left; }
.fac-item span { position: absolute; left: 10px; bottom: 10px; background: rgb(15 29 51 / 82%); color: #fff; font: 600 .86rem var(--body); padding: 6px 10px; border-radius: 6px; }
.aud-teaser { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.aud-teaser h2 { margin-bottom: 6px; }
.aud-teaser .sub { margin: 0; }
.big-num { font: 800 1.8rem var(--head); color: var(--ink); }

/* About */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.val { border-top: 2px solid #1F4A78; padding-top: 18px; }
.val-l { font: 800 3.2rem/1 var(--head); color: var(--accent); display: block; margin-bottom: 12px; }
.val p { color: #b6c2d6; }
.pillar { padding: 12px 0; border-top: 1px solid var(--line); }
.pillar:first-of-type { border-top: 0; padding-top: 0; }
.pillar p { color: var(--muted); margin: 4px 0 0; font-size: .95rem; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 22px; }
.person { margin: 0; }
.person-img { aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: var(--line); }
.person-img img { width: 100%; height: 100%; object-fit: cover; }
.person figcaption { padding-top: 12px; display: grid; gap: 2px; }
.person span { color: var(--muted); font-size: .88rem; line-height: 1.4; }

/* Partners / CTA / Footer */
.partners { padding: 56px 0; border-top: 1px solid var(--line); }
.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 28px; align-items: center; margin-top: 24px; }
.logo-item { display: flex; justify-content: center; }
.logo-item img { max-height: 58px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.logo-item:hover img { filter: none; opacity: 1; }
.cta { background: var(--brand-blue); color: #fff; background-image: radial-gradient(circle at 90% 10%, rgb(43 177 151 / 35%), transparent 45%); }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding-block: 56px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: 8px; }
.cta p { margin: 0; color: #d6e8f7; font-size: 1.08rem; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.ftr { background: var(--ink); color: #b6c2d6; padding: 64px 0 0; font-size: .95rem; }
.ftr h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.ftr a { color: #dfe5ef; text-decoration: none; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr .8fr; gap: 36px; }
.ftr-logo { height: 46px; width: auto; background: #fff; padding: 6px 10px; border-radius: 8px; margin-bottom: 16px; }
.socials { display: flex; gap: 8px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; background: #1c2f4d; display: grid; place-items: center; }
.socials a:hover { background: var(--accent); }
.ftr-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid #1A4170; margin-top: 48px; padding-block: 20px; font-size: .85rem; color: #8ea0bd; }
.fab-wa { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: #1faa53; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgb(0 0 0 / 25%); z-index: 50; }
.fab-wa svg { width: 30px; height: 30px; }

/* Forms */
.form { display: grid; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.form input, .form select, .form textarea { font: 400 1rem var(--body); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); color: var(--text); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.form .btn { justify-self: start; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 18px; font-weight: 500; }
.alert.ok { background: #e7f6ee; color: #0e5a36; border: 1px solid #b7e3cb; }
.alert.err { background: #fdecec; color: #8c1d1d; border: 1px solid #f3c2c2; }
.ico { display: flex; gap: 10px; align-items: flex-start; }
.ico svg { margin-top: 4px; color: var(--accent-ink); }
.wa-card { display: flex; gap: 14px; align-items: center; background: #1faa53; border-color: #1faa53; color: #fff; }
.wa-card svg { width: 34px; height: 34px; }
.wa-card div { display: grid; }
.wa-card span { opacity: .9; font-size: .9rem; }

/* Programme mega menu (3 columns) */
.mm.mm-3 { width: min(860px, 90vw); left: -200px; display: none; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 14px; }
.has-mm:hover .mm.mm-3, .has-mm:focus-within .mm.mm-3 { display: grid; }
.mm-col { display: grid; align-content: start; gap: 1px; }
.mm .mm-head { color: var(--accent-ink); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; border-bottom: 1px solid var(--line); border-radius: 8px 8px 0 0; margin-bottom: 4px; }
.mm-col a:not(.mm-head) { font-weight: 500; font-size: .92rem; line-height: 1.35; }
.mm-col .mm-cat { text-transform: none; letter-spacing: 0; font-size: .78rem; margin-top: 2px; }

/* Programme tabs */
.sec-tabs { padding-top: 40px; }
.tabs { display: flex; gap: 6px; border-bottom: 2px solid var(--line); margin-bottom: 32px; overflow-x: auto; scrollbar-width: none; }
.tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 14px 18px; text-decoration: none; font: 700 1.02rem var(--head); color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; }
.tabs a:hover { color: var(--ink); }
.tabs a.on { color: var(--ink); border-color: var(--accent); }
.tabs a span { font: 600 .74rem var(--body); background: var(--tint); color: var(--muted); padding: 2px 8px; border-radius: 999px; }
.tabs a.on span { background: var(--accent-soft); color: var(--accent-ink); }
.pcard .acc { display: flex; gap: 6px; align-items: center; font-size: .84rem; color: var(--ok); font-weight: 600; flex: 0; margin-bottom: 10px; }
.pcard-band { aspect-ratio: 16 / 7; background: linear-gradient(135deg, var(--ink), var(--ink-2)); display: flex; align-items: flex-end; padding: 18px 22px;
  background-image: linear-gradient(135deg, rgb(15 29 51 / 92%), rgb(28 47 77 / 92%)), linear-gradient(#1F4A78 1px, transparent 1px), linear-gradient(90deg, #1F4A78 1px, transparent 1px); background-size: auto, 28px 28px, 28px 28px; }
.pcard-band span { color: #F5B35A; font: 700 .78rem var(--body); text-transform: uppercase; letter-spacing: .12em; }

/* Pathway */
.sub.light { color: #b6c2d6; }
.pw-flow { display: grid; grid-template-columns: 1fr auto 1.15fr auto 1fr; gap: 14px; align-items: center; margin: 8px 0 36px; }
.pw-card { display: grid; gap: 4px; padding: 20px 22px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid #1F4A78; color: #c9d3e3; text-decoration: none; transition: transform .15s, border-color .15s; }
a.pw-card:hover { transform: translateY(-2px); border-color: #F5B35A; }
.pw-card strong { font: 800 1.2rem var(--head); color: #fff; }
.pw-card > span:last-child { font-size: .93rem; }
.pw-label { font-size: .74rem !important; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #F5B35A; }
.pw-hi { background: #f5b731; border-color: #f5b731; color: #3d2a00; }
.pw-hi strong { color: var(--ink); font-size: 1.45rem; }
.pw-hi .pw-label { color: #5c3d00; }
.pw-arrow { color: #6e819f; font-size: 1.8rem; text-align: center; }
.pw-out { display: grid; gap: 12px; }
.pw-tracks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pw-track { border: 1px solid #1F4A78; border-radius: var(--radius); padding: 22px; text-decoration: none; color: #c9d3e3; display: flex; flex-direction: column; }
.pw-track:hover { border-color: #F5B35A; }
.pw-track h3 { color: #f5b731; font-size: 1.05rem; }
.pw-track ul { margin: 0 0 14px; padding-left: 1.1em; font-size: .93rem; flex: 1; }
.pw-track li { margin-bottom: 4px; }
.pw-track em { color: #8ea0bd; font-style: normal; font-size: .85rem; }
.pw-track .more { color: #F5B35A; font-weight: 600; font-size: .9rem; }

/* At a glance */
.glance { background: var(--surface); border-bottom: 1px solid var(--line); }
.glance-in { padding-block: 36px; display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: start; }
.glance .prose { max-width: none; font-size: 1.08rem; }
.glance .prose p { margin: 0; }

/* FAQ */
.faq h2 { margin-bottom: 18px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; font: 700 1.08rem var(--head); color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font: 400 1.7rem var(--body); color: var(--accent); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq .prose { padding-bottom: 18px; color: var(--muted); }
.prose .faq { margin-top: 2em; }

/* Media / video cards */
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.vcard[hidden] { display: none; }
.vcard-body { padding: 16px 20px 20px; }
.vcard h3 { font-size: 1.04rem; margin-bottom: 6px; }
.vcard h3 a { text-decoration: none; }
.vcard h3 a:hover { text-decoration: underline; }
.vcard-body p:last-child { color: var(--muted); font-size: .92rem; margin: 0; }
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; background: #000; cursor: pointer; overflow: hidden; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: opacity .2s, transform .4s; }
.yt:hover img { opacity: 1; transform: scale(1.03); }
.yt-play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 68px; height: 48px; border-radius: 12px; background: var(--brand-pink); }
.yt-play::after { content: ""; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.yt-on iframe { width: 100%; height: 100%; border: 0; display: block; }
.logo-text { font: 800 1.4rem var(--head); color: var(--ink); opacity: .75; letter-spacing: .04em; }
.jump a.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Brand stripe (blue · teal · orange · pink) */
.hdr::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--brand-blue) 0 25%, var(--brand-teal) 25% 50%, var(--brand-orange) 50% 75%, var(--brand-pink) 75% 100%); }
.ftr { position: relative; }
.ftr::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--brand-blue) 0 25%, var(--brand-teal) 25% 50%, var(--brand-orange) 50% 75%, var(--brand-pink) 75% 100%); }

/* Hero animation */
.frame-anim { aspect-ratio: 600 / 520; background: #062F52; }
.hero-anim { width: 100%; height: 100%; display: block; }
.hero-anim .grid { fill: none; stroke: #2BB197; stroke-opacity: .16; stroke-width: 1; }
.hero-anim .crane { fill: none; stroke: #F09620; stroke-width: 2.5; stroke-linecap: round; opacity: .9; }
.hero-anim .hook { stroke: #F09620; stroke-width: 1.5; fill: #F09620; animation: ha-hook 4s ease-in-out infinite; }
.hero-anim .fl .slab, .hero-anim .fl .col, .hero-anim .fl .mul, .hero-anim .roof { fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; animation: ha-draw 9s ease-in-out infinite; animation-delay: var(--d, 0s); }
.hero-anim .fl .slab, .hero-anim .roof { stroke: #6FC3FF; stroke-width: 1.8; }
.hero-anim .fl .col { stroke: #ffffff; stroke-opacity: .85; stroke-width: 1.4; }
.hero-anim .fl .mul { stroke: #6FC3FF; stroke-opacity: .45; stroke-width: 1; }
.hero-anim .fl .glass { fill: #0068B0; opacity: 0; animation: ha-glass 9s ease-in-out infinite; animation-delay: calc(var(--d, 0s) + .6s); }
.hero-anim .roof { stroke: #F09620; animation-delay: 4s; }
.hero-anim .node { fill: #E02858; opacity: 0; transform-box: fill-box; transform-origin: center; animation: ha-node 9s ease-in-out infinite; animation-delay: var(--d); }
.hero-anim .scan { animation: ha-scan 4.5s ease-in-out infinite; }
.hero-anim .scan line { stroke: #2BB197; stroke-width: 1.5; stroke-dasharray: 6 6; }
.hero-anim .tag { opacity: 0; animation: ha-tag-fade 9s ease-in-out infinite; animation-delay: var(--d); }
.hero-anim .tag rect { fill: rgb(6 47 82 / 88%); stroke-width: 1.2; }
.hero-anim .tag text { fill: #fff; font: 600 12px var(--body); }
.hero-anim .t-teal rect { stroke: #2BB197; } .hero-anim .t-teal circle { fill: #2BB197; }
.hero-anim .t-orange rect { stroke: #F09620; } .hero-anim .t-orange circle { fill: #F09620; }
.hero-anim .t-pink rect { stroke: #E02858; } .hero-anim .t-pink circle { fill: #E02858; }
.hero-anim .t-blue rect { stroke: #6FC3FF; } .hero-anim .t-blue circle { fill: #6FC3FF; }
.hero-anim .hud text { fill: #9DB8D3; font: 600 10.5px var(--body); letter-spacing: .12em; }
.hero-anim .hud .bar { fill: #ffffff; opacity: .12; }
.hero-anim .hud .bar-fill { fill: #2BB197; transform-origin: left; animation: ha-bar 9s linear infinite; }
@keyframes ha-draw { 0% { stroke-dashoffset: 1; } 18%, 82% { stroke-dashoffset: 0; } 96%, 100% { stroke-dashoffset: 1; } }
@keyframes ha-glass { 0%, 8% { opacity: 0; } 25%, 80% { opacity: .22; } 95%, 100% { opacity: 0; } }
@keyframes ha-node { 0%, 10% { opacity: 0; transform: scale(.4); } 18% { opacity: 1; transform: scale(1.6); } 24%, 80% { opacity: 1; transform: scale(1); } 92%, 100% { opacity: 0; } }
@keyframes ha-scan { 0% { transform: translateY(440px); } 50% { transform: translateY(40px); } 100% { transform: translateY(440px); } }
@keyframes ha-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ha-hook { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(26px); } }
@keyframes ha-tag-fade { 0%, 4% { opacity: 0; } 12%, 70% { opacity: 1; } 82%, 100% { opacity: 0; } }

/* Admission tabs extras, forms */
.mm.mm-sm { width: 330px; }
.mm .mm-od { border-top: 1px solid var(--line); margin-top: 4px; border-radius: 0 0 8px 8px; color: var(--brand-pink); }
.fs { border: 0; padding: 0; margin: 0 0 6px; display: grid; gap: 14px; }
.fs legend { font: 700 .82rem var(--body); text-transform: uppercase; letter-spacing: .1em; color: var(--accent-ink); margin-bottom: 10px; padding: 0; }
.fs[hidden] { display: none; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; }
.checks-label { width: 100%; font-weight: 600; font-size: .92rem; color: var(--ink); }
.form .check { display: inline-flex; flex-direction: row; gap: 8px; align-items: center; font-weight: 500; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); cursor: pointer; }
.form .check input { width: 16px; height: 16px; accent-color: var(--brand-blue); }
.form .check:has(input:checked) { border-color: var(--brand-blue); background: #E6F1FA; }
.form .consent { border-radius: var(--radius-sm); align-items: flex-start; font-size: .88rem; color: var(--muted); }
.form .consent input { margin-top: 2px; flex: none; }
.mini-steps { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; color: var(--muted); }
.od-mini { display: grid; gap: 4px; border-color: #F5BFD0; background: #FDF0F4; }
.od-mini strong { color: var(--brand-pink); }
.alert.info-b { background: #E6F1FA; color: #00477A; border: 1px solid #BFDBF2; margin-bottom: 28px; }
.small-note { margin-top: 14px; font-size: .92rem; color: var(--muted); }
.journey { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; counter-reset: j; }
.journey li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); position: relative; }
.journey li:nth-child(4n+1) .j-n { background: var(--brand-blue); }
.journey li:nth-child(4n+2) .j-n { background: var(--brand-teal); }
.journey li:nth-child(4n+3) .j-n { background: var(--brand-orange); color: var(--ink); }
.journey li:nth-child(4n+4) .j-n { background: var(--brand-pink); }
.j-n { flex: none; width: 38px; height: 38px; border-radius: 50%; color: #fff; display: grid; place-items: center; font: 800 1rem var(--head); }
.journey h3 { font-size: 1.05rem; margin-bottom: 4px; }
.journey p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Open Day */
.od-hero { padding: 56px 0; background: linear-gradient(135deg, #FFF4E3 0%, #F7F5F0 55%, #E6F1FA 100%); border-bottom: 1px solid var(--line); }
.od-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.od-hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
.od-hero .zh { display: block; font-size: .55em; color: var(--brand-pink); margin-top: 6px; }
.od-aud { font-weight: 600; color: var(--ink); }
.od-sessions { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 22px 0 26px; }
.od-s { display: grid; gap: 2px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--brand-blue); border-radius: var(--radius-sm); font-size: .88rem; color: var(--muted); }
.od-s:nth-child(2) { border-top-color: var(--brand-teal); } .od-s:nth-child(3) { border-top-color: var(--brand-orange); } .od-s:nth-child(4) { border-top-color: var(--brand-pink); }
.od-s strong { font: 800 1.05rem var(--head); color: var(--ink); }
.od-s em { color: var(--brand-pink); font-style: normal; font-weight: 600; }
.od-poster { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); border: 6px solid #fff; }
.od-poster img { width: 100%; }
.why.why-light { background: var(--line); border-color: var(--line); }
.why-light .why-item { background: var(--surface); }
.why-light .why-item h3 { color: var(--ink); }
.why-light .why-item p { color: var(--muted); }
.why-light .why-n { color: var(--brand-pink); }
.od-band { background: var(--ink); color: #c9d6e6; }
.od-band-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 34px; flex-wrap: wrap; }
.od-band h2 { color: #fff; margin-bottom: 6px; }
.od-band p { margin: 0; max-width: 720px; }
.od-band strong { color: #fff; }
.od-band .eyebrow { color: #F5B35A; }

/* Responsive */
@media (max-width: 1080px) {
  .nav { position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px 20px 22px; gap: 2px; display: none; max-height: calc(100vh - 74px); overflow: auto; box-shadow: var(--shadow); }
  .nav-open .nav { display: flex; }
  .nav > a, .has-mm > a { padding: 13px 12px; font-size: 1.05rem; display: block; }
  .nav-mobile-only { display: block; }
  .mm, .mm.mm-3 { position: static; display: block; width: auto; box-shadow: none; border: 0; padding: 0 0 6px 12px; background: transparent; }
  .has-mm:hover .mm.mm-3 { display: block; }
  .mm-col .mm-cat { display: none; }
  .mm a { font-weight: 500; padding: 7px 12px; }
  .mm-cat { display: none; }
  .burger { display: flex; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .ftr-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero-in, .principal, .two-col, .campus-head { grid-template-columns: 1fr; gap: 32px; }
  .side { position: static; }
  .pgrid, .prjgrid, .ngrid, .why, .steps { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .up { grid-template-columns: 72px 1fr; }
  .vgrid, .pw-tracks { grid-template-columns: 1fr 1fr; }
  .pw-flow { grid-template-columns: 1fr; }
  .pw-arrow { rotate: 90deg; line-height: 1; }
  .glance-in { grid-template-columns: 1fr; gap: 6px; }
  .od-in { grid-template-columns: 1fr; }
  .od-poster { max-width: 420px; }
  .journey { grid-template-columns: 1fr; }
  .up-img { display: none; }
  .sec { padding: 60px 0; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .hdr-in { height: 66px; gap: 12px; }
  .nav { inset: 66px 0 auto 0; }
  .logo img { height: 34px; }
  .btn-wa span { display: none; }
  .btn-wa { padding: 10px; }
  .hdr-cta .btn-accent { padding: 10px 14px; font-size: .88rem; }
  .pgrid, .prjgrid, .ngrid, .why, .steps, .years, .two-col-even, .row2, .vgrid, .pw-tracks { grid-template-columns: 1fr; }
  .tabs a { padding: 12px 12px; font-size: .95rem; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(odd) { border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero { padding-top: 36px; }
  .ftr-grid { grid-template-columns: 1fr; }
  .lightbox { padding: 56px 8px; }
  .event-box .btn { margin-left: 0; }
  .form { padding: 20px; }
  .aud-teaser { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .hero-anim .fl .slab, .hero-anim .fl .col, .hero-anim .fl .mul, .hero-anim .roof { stroke-dashoffset: 0; }
  .hero-anim .fl .glass { opacity: .22; }
  .hero-anim .node, .hero-anim .tag { opacity: 1; }
  .hero-anim .scan { display: none; }
}
.side-card .ticks + .btn { margin-top: 18px; }

/* ===================================================================
   Lively refresh (v7) – brand colours, youthful but professional
   =================================================================== */
:root { --c0: var(--brand-blue); --c1: var(--brand-teal); --c2: var(--brand-orange); --c3: var(--brand-pink);
  --c0-soft: #E3F0FA; --c1-soft: #E0F5F0; --c2-soft: #FFF1DC; --c3-soft: #FCE6EC; }

/* Hero: colour blobs + highlighted words */
.hero { isolation: isolate; }
.hero .blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .45; z-index: 0; pointer-events: none; animation: blob-float 14s ease-in-out infinite; }
.hero .b1 { width: 380px; height: 380px; background: var(--c1); left: -120px; top: 40px; }
.hero .b2 { width: 320px; height: 320px; background: var(--c2); left: 38%; top: -120px; animation-delay: -5s; opacity: .35; }
.hero .b3 { width: 360px; height: 360px; background: var(--c3); right: -120px; bottom: -60px; animation-delay: -9s; opacity: .3; }
@keyframes blob-float { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30px, 20px) scale(1.08); } }
.hero::after { background: radial-gradient(ellipse at 20% 30%, rgb(247 245 240 / 70%) 25%, rgb(247 245 240 / 35%) 60%, transparent); }
.hl { position: relative; white-space: nowrap; background: linear-gradient(100deg, var(--c0), var(--c1)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hl::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .04em; height: .18em; background: var(--c2); border-radius: 99px; z-index: -1; opacity: .85; transform: skewX(-12deg); }
.hero .eyebrow { display: inline-flex; padding: 6px 12px; background: #fff; border-radius: 999px; box-shadow: 0 2px 10px rgb(11 37 69 / 8%); }

/* Stickers on the hero visual */
.hero-media { position: relative; }
.sticker { position: absolute; z-index: 3; width: 104px; height: 104px; border-radius: 50%; display: grid; place-content: center; text-align: center; font: 600 .78rem/1.1 var(--body); color: #fff; box-shadow: 0 10px 24px rgb(11 37 69 / 25%); text-transform: uppercase; letter-spacing: .04em; animation: sticker-bob 5s ease-in-out infinite; }
.sticker strong { display: block; font: 800 1.7rem/1 var(--head); letter-spacing: -.02em; text-transform: none; }
.sticker.s1 { background: var(--c3); left: -34px; bottom: 56px; rotate: -10deg; }
.sticker.s2 { background: var(--c2); color: var(--ink); right: -26px; top: -26px; rotate: 9deg; animation-delay: -2.5s; }
@keyframes sticker-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Stats: colourful numbers */
.stats { border: 0; box-shadow: 0 10px 30px -14px rgb(11 37 69 / 25%); overflow: hidden; }
.stats div { position: relative; }
.stats div::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; }
.stats div:nth-child(4n+1)::before { background: var(--c0); } .stats div:nth-child(4n+1) dt { color: var(--c0); }
.stats div:nth-child(4n+2)::before { background: var(--c1); } .stats div:nth-child(4n+2) dt { color: #178A73; }
.stats div:nth-child(4n+3)::before { background: var(--c2); } .stats div:nth-child(4n+3) dt { color: #C2700B; }
.stats div:nth-child(4n+4)::before { background: var(--c3); } .stats div:nth-child(4n+4) dt { color: var(--c3); }

/* Skills ticker */
.marquee { overflow: hidden; background: var(--ink); padding: 14px 0; border-block: 1px solid #1A4170; }
.mq-track { display: flex; width: max-content; animation: mq 38s linear infinite; }
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-set { display: flex; gap: 12px; padding-right: 12px; }
.mq-i { font: 700 .95rem var(--head); padding: 8px 16px; border-radius: 999px; white-space: nowrap; letter-spacing: .01em; }
.mq-i.c0 { background: var(--c0); color: #fff; } .mq-i.c1 { background: var(--c1); color: var(--ink); }
.mq-i.c2 { background: var(--c2); color: var(--ink); } .mq-i.c3 { background: var(--c3); color: #fff; }
@keyframes mq { to { transform: translateX(-50%); } }

/* Section headings: coloured number pill + underline */
.eyebrow .num { border: 0; padding: 3px 9px; border-radius: 999px; background: var(--c0); color: #fff; letter-spacing: .04em; }
.sec:nth-of-type(4n+2) .eyebrow .num { background: var(--c1); }
.sec:nth-of-type(4n+3) .eyebrow .num { background: var(--c2); color: var(--ink); }
.sec:nth-of-type(4n+4) .eyebrow .num { background: var(--c3); }
.sec-ink .eyebrow .num { color: #fff; }
.shead h2::after { content: ""; display: block; width: 72px; height: 5px; margin-top: 14px; border-radius: 9px; background: linear-gradient(90deg, var(--c0) 0 25%, var(--c1) 25% 50%, var(--c2) 50% 75%, var(--c3) 75%); }

/* What makes MTTC different – icon cards */
.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat-item { background: var(--surface); border-radius: 18px; padding: 26px 24px 24px; border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.feat-item::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; opacity: .5; transition: transform .4s; }
.feat-item:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -18px rgb(11 37 69 / 35%); }
.feat-item:hover::after { transform: scale(1.3); }
.feat-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; position: relative; z-index: 1; transition: transform .25s; }
.feat-item:hover .feat-ico { transform: rotate(-6deg) scale(1.06); }
.feat-ico svg { width: 30px; height: 30px; }
.feat-item h3 { position: relative; z-index: 1; font-size: 1.15rem; }
.feat-item p { color: var(--muted); margin: 0; position: relative; z-index: 1; }
.feat-item.c0 .feat-ico { background: var(--c0); color: #fff; } .feat-item.c0::after { background: var(--c0-soft); }
.feat-item.c1 .feat-ico { background: var(--c1); color: #fff; } .feat-item.c1::after { background: var(--c1-soft); }
.feat-item.c2 .feat-ico { background: var(--c2); color: var(--ink); } .feat-item.c2::after { background: var(--c2-soft); }
.feat-item.c3 .feat-ico { background: var(--c3); color: #fff; } .feat-item.c3::after { background: var(--c3-soft); }

/* Programme cards: colour per card, playful hover */
.pcard { border-radius: 18px; border-top: 5px solid var(--c0); }
.pgrid .pcard:nth-child(4n+2) { border-top-color: var(--c1); }
.pgrid .pcard:nth-child(4n+3) { border-top-color: var(--c2); }
.pgrid .pcard:nth-child(4n+4) { border-top-color: var(--c3); }
.pcard:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 22px 40px -20px rgb(11 37 69 / 40%); }
.pgrid .pcard:nth-child(4n+2) .chip { background: var(--c1-soft); color: #137563; }
.pgrid .pcard:nth-child(4n+3) .chip { background: var(--c2-soft); color: #9A5807; }
.pgrid .pcard:nth-child(4n+4) .chip { background: var(--c3-soft); color: #B81E48; }
.pcard .more { transition: gap .2s; }
.pcard:hover .more { gap: 10px; }
.route-mini { display: inline-block; align-self: flex-start; font: 700 .8rem var(--body); color: var(--ink); background: var(--c2-soft); border: 1px dashed var(--c2); padding: 4px 10px; border-radius: 8px; margin: 0 0 12px; flex: 0; }
.route-mini.inline { margin: 0 0 0 6px; padding: 2px 8px; }
.ncard, .vcard, .aid-card, .side-card, .intake, .year, .journey li, .od-s { border-radius: 16px; }
.ncard:hover .ncard-img img, .prj:hover .prj-img img { transform: scale(1.05); }
.ncard-img img { transition: transform .5s; }

/* Buttons: tactile */
.btn-accent { box-shadow: 0 4px 0 #C97510; }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #C97510; }
.btn-accent:active { transform: translateY(2px); box-shadow: 0 1px 0 #C97510; }
.btn-light:hover, .btn-ghost:hover { transform: translateY(-2px); }

/* Degree route timeline */
.route { background: linear-gradient(135deg, var(--c0-soft), var(--c1-soft)); border-radius: 18px; padding: 24px; margin-bottom: 2em; }
.route h2 { margin-top: 0 !important; font-size: 1.3rem; }
.route-steps { list-style: none; margin: 0; padding: 0 !important; display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; }
.route-steps li { margin: 0 !important; }
.route-steps li:not(.route-arrow) { flex: 1 1 160px; background: #fff; border-radius: 14px; padding: 14px 16px; display: grid; gap: 2px; align-content: start; border-top: 5px solid var(--c0); box-shadow: 0 6px 16px -10px rgb(11 37 69 / 30%); }
.route-steps li.c1 { border-top-color: var(--c1); } .route-steps li.c2 { border-top-color: var(--c2); } .route-steps li.c3 { border-top-color: var(--c3); }
.route-steps li.route-end { border-top-color: var(--c3); background: var(--ink); color: #c9d6e6; }
.route-steps li.route-end strong { color: #fff; }
.route-steps strong { font: 800 1rem/1.25 var(--head); color: var(--ink); }
.route-steps span { font-size: .88rem; color: var(--muted); }
.route-steps .route-end span { color: #9DB8D3; }
.route-len { font: 800 1.35rem var(--head) !important; color: var(--c0) !important; }
.route-steps li.c1 .route-len { color: #178A73 !important; } .route-steps li.route-end .route-len { color: #F5B35A !important; font-size: 1rem !important; text-transform: uppercase; letter-spacing: .1em; }
.route-arrow { align-self: center; color: var(--muted); font-size: 1.4rem; flex: 0 0 auto; }
.route-total { margin: 14px 0 0; font-size: .95rem; }

/* Intake chips */
.intake-chips { margin-bottom: 24px; }
.ic-lead { margin-bottom: 12px; }
.ic-row { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 12px; }
.ic { position: relative; min-width: 130px; padding: 16px 18px 14px; border-radius: 16px; background: #fff; border: 2px solid var(--line); display: grid; gap: 2px; }
.ic strong { font: 800 1.35rem var(--head); color: var(--ink); }
.ic span { color: var(--muted); font-weight: 600; }
.ic.c0 { border-color: var(--c0); } .ic.c1 { border-color: var(--c1); } .ic.c2 { border-color: var(--c2); } .ic.c3 { border-color: var(--c3); }
.ic.next { background: var(--c0); border-color: var(--c0); }
.ic.next strong, .ic.next span { color: #fff; }
.ic-tag { position: absolute; top: -11px; left: 14px; background: var(--c2); color: var(--ink) !important; font: 700 .68rem var(--body) !important; text-transform: uppercase; letter-spacing: .08em; padding: 3px 8px; border-radius: 999px; }

/* Pathway + Open Day bands get extra colour */
.pathway { background: linear-gradient(160deg, #0B2545 0%, #0A3560 100%); }
.od-band { background: linear-gradient(110deg, #0B2545 0%, #123A63 55%, #5A1B4A 100%); }
.cta h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }

/* Scroll reveal (only when JS runs) */
.js .rv { opacity: 0; translate: 0 18px; transition: opacity .6s ease, translate .6s ease, transform .25s, box-shadow .25s; }
.js .rv.in { opacity: 1; translate: none; }
.js .feat .rv:nth-child(2), .js .pgrid .rv:nth-child(2) { transition-delay: .08s; }
.js .feat .rv:nth-child(3), .js .pgrid .rv:nth-child(3) { transition-delay: .16s; }
.js .feat .rv:nth-child(5) { transition-delay: .08s; }
.js .feat .rv:nth-child(6) { transition-delay: .16s; }

@media (max-width: 900px) {
  .feat { grid-template-columns: 1fr 1fr; }
  .sticker { width: 86px; height: 86px; font-size: .7rem; }
  .sticker strong { font-size: 1.35rem; }
  .sticker.s1 { left: -10px; } .sticker.s2 { right: -6px; }
}
@media (max-width: 620px) {
  .feat { grid-template-columns: 1fr; }
  .route-arrow { display: none; }
  .hero .blob { filter: blur(40px); }
}
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; translate: none; }
  .mq-track { animation: none !important; }
}

/* Guaranteed job placement (v8) */
.placement { position: relative; overflow: hidden; background: linear-gradient(120deg, #062F52 0%, #0068B0 58%, #0B8F86 100%); color: #d6e8f7; }
.placement::before { content: ""; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgb(240 150 32 / 35%), transparent 65%); }
.placement::after { content: ""; position: absolute; left: -100px; bottom: -180px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgb(224 40 88 / 28%), transparent 65%); }
.pl-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; padding-block: 64px; }
.placement .eyebrow { color: #F5B35A; }
.placement h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.placement .hl { background: none; -webkit-background-clip: initial; background-clip: initial; color: #F5B35A; }
.pl-text { font-size: 1.08rem; max-width: 560px; }
.pl-stats { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.pl-stat { background: rgb(255 255 255 / 10%); border: 1px solid rgb(255 255 255 / 22%); border-radius: 18px; padding: 16px 20px; min-width: 190px; backdrop-filter: blur(6px); }
.pl-stat strong { display: block; font: 800 2.6rem/1 var(--head); color: #fff; letter-spacing: -.02em; }
.pl-stat sup { font-size: .5em; color: #F5B35A; }
.pl-stat span { display: block; margin-top: 6px; font-size: .9rem; }
.pl-salary { background: var(--c2); border-color: var(--c2); color: var(--ink); box-shadow: 0 14px 30px -12px rgb(240 150 32 / 70%); rotate: -2deg; }
.pl-salary strong { color: var(--ink); } .pl-salary sup { color: var(--ink); }
.pl-ptitle { font: 700 .82rem var(--body); text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 14px; }
.pt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pt { position: relative; background: #fff; border-radius: 18px; padding: 20px 18px 16px; display: grid; gap: 4px; text-decoration: none; color: var(--ink); box-shadow: 0 16px 30px -18px rgb(0 0 0 / 50%); transition: transform .2s; }
.pt:hover { transform: translateY(-4px); }
.pt-logo { height: 54px; display: flex; align-items: center; margin-bottom: 6px; }
.pt-logo img { max-height: 54px; max-width: 170px; width: auto; object-fit: contain; }
.pt-word { font: 800 1.5rem/1.1 var(--head); letter-spacing: -.02em; margin-bottom: 4px; min-height: 54px; display: flex; align-items: center; }
.pt-word.c0 { color: var(--c0); } .pt-word.c1 { color: #178A73; } .pt-word.c2 { color: #C2700B; } .pt-word.c3 { color: var(--c3); }
.pt-logo + .pt-name { font-weight: 700; }
.pt-word + .pt-name { display: none; }
.pt-note { font-size: .85rem; color: var(--muted); }
.pt-mou { position: absolute; top: 12px; right: 12px; font: 700 .66rem var(--body); text-transform: uppercase; letter-spacing: .08em; background: #E0F5F0; color: #137563; padding: 3px 8px; border-radius: 999px; }
.pl-terms { margin: 16px 0 0; font-size: .78rem; color: #9DB8D3; max-width: 560px; }
.pl-mini { background: linear-gradient(135deg, #0068B0, #0B8F86); border: 0; color: #e3f0fa; }
.pl-mini-badge { display: inline-block; background: var(--c2); color: var(--ink); font: 700 .72rem var(--body); text-transform: uppercase; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.pl-mini-salary { margin: 0 0 8px; } .pl-mini-salary strong { font: 800 1.8rem var(--head); color: #fff; }
.pl-mini-with { font-size: .9rem; } .pl-mini .link { color: #F5B35A; }

/* Campus life mosaic */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 170px; gap: 12px; grid-auto-flow: dense; }
.mosaic .gal-item { aspect-ratio: auto; border-radius: 16px; }
.mosaic .gal-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaic .gal-item:nth-child(6) { grid-row: span 2; }
.mosaic .gal-item:nth-child(8), .mosaic .gal-item:nth-child(10) { grid-column: span 2; }
@media (max-width: 900px) {
  .pl-in { grid-template-columns: 1fr; gap: 28px; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .mosaic .gal-item:nth-child(8), .mosaic .gal-item:nth-child(10) { grid-column: span 1; }
}
@media (max-width: 520px) { .pt-grid { grid-template-columns: 1fr; } }

/* ===================================================================
   v9 – Colourful MTTC identity (inspired by the original website)
   =================================================================== */
:root {
  --brand-blue: #016BED; --brand-teal: #00B794; --brand-orange: #FFA500; --brand-pink: #F52A62; --brand-yellow: #FFC94A;
  --c0: #016BED; --c1: #00B794; --c2: #FFA500; --c3: #F52A62;
  --c0-soft: #E6F0FE; --c1-soft: #E0F7F2; --c2-soft: #FFF3DC; --c3-soft: #FEE7EE;
  --accent: #FFA500; --accent-hover: #F29500; --accent-ink: #016BED; --accent-soft: #FFF3DC;
  --ink: #191B22; --ink-2: #252833; --text: #2A2D36; --muted: #626875;
  --paper: #FFFFFF; --tint: #F3F6FD; --line: #E3E8F2;
  --head: "Poppins", system-ui, sans-serif; --body: "Poppins", system-ui, sans-serif;
}
body { font-size: 16px; letter-spacing: 0; }
h1, h2, h3, h4 { font-family: var(--head); letter-spacing: -.015em; }
h1, h2 { font-weight: 400; }
h1 b, h2 b { font-weight: 700; color: var(--ink); }
.hero h1 { font-weight: 700; }
h3 { font-weight: 600; }
.script { font-family: "Kalam", cursive; font-weight: 700; font-size: 1.5rem; color: var(--c3); }
.lede { color: var(--muted); }

/* Eyebrows: pink square marker like the old site */
.eyebrow { color: var(--c3); font-weight: 600; letter-spacing: .12em; font-size: .74rem; }
.eyebrow::before { content: ""; width: 9px; height: 9px; background: var(--c3); border-radius: 2px; flex: none; }
.eyebrow .num { display: none; }
.hero .eyebrow { color: var(--c0); }
.hero .eyebrow::before { background: var(--c2); }
.sec-ink .eyebrow, .pathway .eyebrow, .placement .eyebrow, .od-band .eyebrow { color: #FFD27A; }
.sec-ink .eyebrow::before, .pathway .eyebrow::before, .placement .eyebrow::before, .od-band .eyebrow::before { background: var(--c2); }
.shead { justify-content: space-between; }
.shead h2::after { width: 64px; height: 6px; }

/* Buttons */
.btn { font-family: var(--body); font-weight: 600; }
.btn-accent { background: var(--c2); color: var(--ink); box-shadow: 0 4px 0 #D98A00; }
.btn-accent:hover { background: #FFB21F; box-shadow: 0 6px 0 #D98A00; }

/* Header & sections on crisp white */
.hdr { background: rgb(255 255 255 / 94%); }
.sec-tint { background: var(--tint); }
.nav > a:hover, .has-mm > a:hover, .nav a.on { background: var(--c0-soft); color: var(--c0); }

/* Geometric shapes */
.geo { position: absolute; pointer-events: none; z-index: 0; }
.hero .geo-hero { right: -40px; top: -10px; height: calc(100% + 20px); width: auto; opacity: .95; }
.hero::before { display: none; }
.hero { background-image: none; background: #fff; }
.hero::after { display: none; }
.hero .blob { display: none; }
.hero-in { position: relative; z-index: 1; }
.frame { border: 8px solid #fff; box-shadow: 0 30px 60px -24px rgb(1 50 120 / 45%); }
.phead { background: #fff; background-image: none; overflow: hidden; }
.phead::after { display: none; }
.phead .geo-head { right: -30px; top: 0; height: 100%; width: auto; max-width: 46%; opacity: .9; }
.phead .wrap { position: relative; z-index: 1; }
.has-corner { position: relative; overflow: hidden; }
.has-corner .geo-corner { right: 0; top: 0; width: 220px; height: 220px; }
.has-corner .wrap { position: relative; z-index: 1; }
.cta, .pathway, .od-band, .placement { position: relative; overflow: hidden; }
.cta > .wrap, .pathway > .wrap, .od-band > .wrap, .placement > .wrap { position: relative; z-index: 1; }
.cta .geo-band, .pathway .geo-band, .od-band .geo-band, .placement .geo-band { right: -60px; bottom: -40px; height: 115%; width: auto; opacity: .9; }
.pathway .geo-band, .placement .geo-band { opacity: .28; }

/* Colourful bands */
.cta { background: var(--c0); background-image: none; }
.cta h2 { font-weight: 700; color: #fff; }
.cta p { color: #DCEBFF; }
.cta .btn-light { color: var(--c0); }
.pathway { background: linear-gradient(135deg, #0B4FC9 0%, #016BED 55%, #0A86C9 100%); }
.pathway .pw-card { background: rgb(255 255 255 / 12%); border-color: rgb(255 255 255 / 25%); }
.pathway .pw-hi { background: var(--c2); border-color: var(--c2); }
.pathway .pw-track { border-color: rgb(255 255 255 / 30%); background: rgb(255 255 255 / 6%); }
.pathway .pw-track h3 { color: #FFD27A; }
.pathway .sub.light, .pathway .pw-track { color: #E3EEFF; }
.pathway .pw-track em { color: #BCD4FF; }
.pathway .shead h2, .pathway .shead h2 b { color: #fff; }
.od-band { background: linear-gradient(110deg, #F52A62 0%, #E0337F 45%, #8A3FD1 100%); color: #FFE6EE; }
.od-band .btn-accent { box-shadow: 0 4px 0 #B36E00; }
.placement { background: linear-gradient(120deg, #014BB0 0%, #016BED 55%, #00B794 100%); }
.placement::before, .placement::after { display: none; }
.marquee { background: var(--ink); }
.sec-ink { background: var(--ink); }

/* Stats */
.stats div:nth-child(4n+1) dt { color: var(--c0); }
.stats div:nth-child(4n+2) dt { color: #00A385; }
.stats div:nth-child(4n+3) dt { color: #E89400; }
.stats div:nth-child(4n+4) dt { color: var(--c3); }
.stats dt { font-weight: 700; }

/* Stickers */
.sticker.s1 { background: var(--c3); }
.sticker.s2 { background: var(--c2); }
.hl { background: linear-gradient(100deg, var(--c0), var(--c1)); -webkit-background-clip: text; background-clip: text; }
.hl::after { background: var(--c2); }

/* Expanding programme panels */
.pshow { display: flex; gap: 14px; height: 470px; }
.ps { position: relative; flex: 1; min-width: 0; border-radius: 22px; overflow: hidden; text-decoration: none; color: #fff; background: var(--ink); transition: flex .55s cubic-bezier(.2,.8,.2,1); isolation: isolate; }
.ps-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s; }
.ps::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(0 0 0 / 0%) 25%, rgb(0 0 0 / 55%) 100%); transition: background .4s; }
.ps.c0::after { background: linear-gradient(180deg, rgb(1 107 237 / 0%) 20%, rgb(1 107 237 / 92%) 100%); }
.ps.c1::after { background: linear-gradient(180deg, rgb(0 183 148 / 0%) 20%, rgb(0 160 130 / 92%) 100%); }
.ps.c2::after { background: linear-gradient(180deg, rgb(255 165 0 / 0%) 20%, rgb(230 140 0 / 94%) 100%); }
.ps.c3::after { background: linear-gradient(180deg, rgb(245 42 98 / 0%) 20%, rgb(225 30 85 / 92%) 100%); }
.ps-ac { position: absolute; left: 14px; bottom: 6px; font: 800 4.6rem/1 var(--head); color: transparent; -webkit-text-stroke: 2px rgb(255 255 255 / 92%); letter-spacing: -.02em; transition: opacity .3s; white-space: nowrap; }
.ps-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; display: grid; gap: 8px; opacity: 0; translate: 0 16px; transition: opacity .35s .1s, translate .35s .1s; max-width: 520px; }
.ps-cat { font-size: .78rem; font-weight: 500; opacity: .9; }
.ps-title { font: 700 1.9rem/1.15 var(--head); }
.ps-tag { font-size: .95rem; opacity: .95; }
.ps-btn { justify-self: start; display: inline-flex; gap: 8px; align-items: center; margin-top: 8px; padding: 9px 18px; border: 1.5px solid #fff; border-radius: 999px; font-weight: 500; font-size: .9rem; }
.ps.on { flex: 4; }
.ps.on .ps-body { opacity: 1; translate: none; }
.ps.on .ps-ac { opacity: 0; }
.pshow:hover .ps.on:not(:hover) { flex: 1; }
.pshow:hover .ps.on:not(:hover) .ps-body { opacity: 0; translate: 0 16px; }
.pshow:hover .ps.on:not(:hover) .ps-ac { opacity: 1; }
.ps:hover { flex: 4; }
.ps:hover .ps-body { opacity: 1; translate: none; }
.ps:hover .ps-ac { opacity: 0; }
.ps:hover .ps-img { transform: scale(1.04); }
.ps:focus-visible { outline: 3px solid var(--c2); outline-offset: 3px; }

/* Programme cards: colour wash on images */
.pcard-img { position: relative; }
.pcard-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgb(1 107 237 / 35%)); }
.pgrid .pcard:nth-child(4n+2) .pcard-img::after { background: linear-gradient(180deg, transparent 55%, rgb(0 183 148 / 35%)); }
.pgrid .pcard:nth-child(4n+3) .pcard-img::after { background: linear-gradient(180deg, transparent 55%, rgb(255 165 0 / 38%)); }
.pgrid .pcard:nth-child(4n+4) .pcard-img::after { background: linear-gradient(180deg, transparent 55%, rgb(245 42 98 / 35%)); }

/* Feature cards brighter */
.feat-item.c1 .feat-ico { background: var(--c1); }
.feat-item.c2 .feat-ico { background: var(--c2); }
.feat-item.c3 .feat-ico { background: var(--c3); }

/* Footer a touch lighter, like the original */
.ftr { background: #191B22; }

@media (max-width: 900px) {
  .pshow { flex-direction: column; height: auto; }
  .ps, .ps.on, .ps:hover, .pshow:hover .ps.on:not(:hover) { flex: none; height: 210px; }
  .ps .ps-body, .pshow:hover .ps.on:not(:hover) .ps-body { opacity: 1; translate: none; padding: 20px; }
  .ps .ps-ac, .pshow:hover .ps.on:not(:hover) .ps-ac { opacity: 0; }
  .ps-title { font-size: 1.4rem; }
  .ps-tag { display: none; }
  .phead .geo-head { opacity: .35; }
  .has-corner .geo-corner { width: 120px; height: 120px; }
}
@media (prefers-reduced-motion: reduce) { .ps, .ps-body, .ps-img { transition: none !important; } }

@media (max-width: 1100px) {
  .hero .geo-hero { height: 280px; top: -100px; right: -110px; opacity: .9; }
}
@media (max-width: 600px) {
  .hero .geo-hero { height: 220px; top: -90px; right: -100px; opacity: .45; }
}

/* Financial aid logos */
.aid-card { display: flex; flex-direction: column; }
.aid-card .link { margin-top: auto; padding-top: 6px; }
.aid-logo { height: 116px; margin: -4px -4px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; padding: 14px 20px; }
.aid-logo img { max-height: 84px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.aid-logo.dark { background: #13285A; border-color: #13285A; }
.aid-mono { font: 700 1.8rem/1 var(--head); color: #fff; background: linear-gradient(120deg, var(--c0), var(--c1)); border: 0; letter-spacing: .04em; }
.aid .aid-card:nth-child(4n+2) .aid-mono { background: linear-gradient(120deg, var(--c1), var(--c2)); }
.aid .aid-card:nth-child(4n+3) .aid-mono { background: linear-gradient(120deg, var(--c3), var(--c2)); }

/* Open Day pop-up */
.odp { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.odp[hidden] { display: none; }
.odp-bg { position: absolute; inset: 0; background: rgb(15 18 30 / 62%); backdrop-filter: blur(3px); opacity: 0; transition: opacity .25s; }
.odp-card { position: relative; width: min(440px, 100%); max-height: calc(100dvh - 32px); overflow: auto; background: #fff; border-radius: 22px; box-shadow: 0 30px 80px -20px rgb(0 0 0 / 50%); opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .25s, transform .3s cubic-bezier(.2,.8,.2,1); }
.odp.show .odp-bg { opacity: 1; }
.odp.show .odp-card { opacity: 1; transform: none; }
body.odp-open { overflow: hidden; }
.odp-x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgb(255 255 255 / 92%); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgb(0 0 0 / 20%); }
.odp-top { position: relative; height: 150px; background: linear-gradient(110deg, #F52A62 0%, #E0337F 45%, #8A3FD1 100%); overflow: hidden; border-radius: 22px 22px 0 0; display: flex; align-items: center; padding: 0 22px; }
.odp-top .geo-band { position: absolute; right: -40px; bottom: -30px; height: 130%; width: auto; opacity: .9; }
.odp-top.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(20 10 40 / 70%), transparent 75%); }
.odp-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.odp-date { position: relative; z-index: 1; background: var(--c2); color: var(--ink); border-radius: 16px; padding: 10px 16px 12px; box-shadow: 0 6px 0 #D98A00; display: grid; line-height: 1.1; transform: rotate(-3deg); }
.odp-cd { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #8A1438; }
.odp-date strong { font-size: 1.7rem; font-weight: 800; letter-spacing: -.01em; }
.odp-yr { font-size: .75rem; font-weight: 600; opacity: .7; }
.odp-body { padding: 20px 22px 20px; }
.odp-eye { margin: 0 0 4px; color: var(--c3); font-weight: 600; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.odp-body h2 { margin: 0; font-size: 1.45rem; line-height: 1.2; font-weight: 700; }
.odp-body h2 .zh { display: block; font-size: 1rem; color: var(--c0); font-weight: 600; margin-top: 2px; }
.odp-meta { margin: 6px 0 0; font-size: .86rem; font-weight: 600; color: var(--c0); }
.odp-text { margin: 10px 0 14px; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.odp-form { display: grid; gap: 10px; }
.odp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.odp-row input { width: 100%; min-width: 0; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-size: .92rem; }
.odp-row input:focus { outline: none; border-color: var(--c0); box-shadow: 0 0 0 3px var(--c0-soft); }
.odp-consent { display: flex; gap: 8px; align-items: flex-start; font-size: .76rem; color: var(--muted); }
.odp-consent input { margin-top: 2px; }
.odp-err { margin: 0; color: #C8102E; font-size: .85rem; }
.odp-done { background: var(--c1-soft); border-radius: 12px; padding: 14px 16px; }
.odp-done p { margin: 4px 0 0; font-size: .9rem; }
.odp-more { display: inline-block; margin-top: 12px; font-size: .85rem; font-weight: 600; color: var(--c0); }
@media (max-width: 420px) { .odp-row { grid-template-columns: 1fr; } .odp-top { height: 128px; } .odp-date strong { font-size: 1.4rem; } }
@media (prefers-reduced-motion: reduce) { .odp-bg, .odp-card { transition: none; } }

/* Campus visit booking */
.vb-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: -8px; margin-bottom: 8px; }
.vb-strip span { color: var(--muted); font-size: .92rem; }
.vb-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.vb { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; min-width: 0; }
.vb > * { min-width: 0; }
.vb-steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; counter-reset: s; }
.vb-steps li { flex: 1; font-size: .75rem; font-weight: 600; color: var(--muted); padding-top: 8px; border-top: 4px solid var(--line); }
.vb-steps li.on { color: var(--c0); border-color: var(--c0); }
.vb-steps li:nth-child(2).on { border-color: var(--c1); color: #00987B; }
.vb-steps li:nth-child(3).on { border-color: var(--c2); color: #C47F00; }
.vb-steps li:nth-child(4).on { border-color: var(--c3); color: var(--c3); }
.vb-block { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.vb-h { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 700; margin: 0 0 14px; }
.vb-h span { width: 28px; height: 28px; border-radius: 50%; background: var(--c0); color: #fff; display: grid; place-items: center; font-size: .85rem; flex: none; }
.vb-block:nth-of-type(2) .vb-h span { background: var(--c1); }
.vb-block:nth-of-type(3) .vb-h span { background: var(--c2); color: var(--ink); }
.vb-form .vb-h span { background: var(--c3); }
.vb-campus { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.vb-c { text-align: left; border: 2px solid var(--line); background: #fff; border-radius: 14px; padding: 14px 16px; cursor: pointer; display: grid; gap: 4px; font: inherit; color: var(--ink); }
.vb-c small { color: var(--muted); font-size: .8rem; line-height: 1.35; }
.vb-c.on { border-color: var(--c0); background: var(--c0-soft); box-shadow: 0 0 0 3px rgb(1 107 237 / 12%); }
.vb-hours { margin: -6px 0 12px; font-size: .85rem; color: var(--muted); }
.vb-dates { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x proximity; }
.vb-d { flex: none; width: 74px; scroll-snap-align: start; border: 2px solid var(--line); background: #fff; border-radius: 14px; padding: 8px 4px; display: grid; justify-items: center; gap: 1px; cursor: pointer; font: inherit; color: var(--ink); }
.vb-d small { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.vb-d strong { font-size: 1.35rem; line-height: 1.1; }
.vb-d em { font-style: normal; font-size: .66rem; font-weight: 600; color: #00987B; margin-top: 2px; }
.vb-d.on { border-color: var(--c1); background: var(--c1-soft); }
.vb-d.full, .vb-d:disabled { opacity: .45; cursor: not-allowed; }
.vb-d.full em, .vb-d:disabled em { color: var(--muted); }
.vb-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.vb-t { border: 2px solid var(--line); background: #fff; border-radius: 12px; padding: 11px 6px; font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; color: var(--ink); }
.vb-t:hover:not(:disabled) { border-color: var(--c2); }
.vb-t.on { border-color: var(--c2); background: var(--c2); color: var(--ink); box-shadow: 0 4px 0 #D98A00; }
.vb-t.taken { background: #F2F3F6; color: #A3A8B4; text-decoration: line-through; cursor: not-allowed; border-color: #F2F3F6; }
.vb-legend { margin: 12px 0 0; font-size: .78rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.vb-legend .lg { width: 14px; height: 14px; border-radius: 4px; display: inline-block; border: 2px solid var(--line); }
.vb-legend .lg.taken { background: #F2F3F6; border-color: #F2F3F6; margin-left: 10px; }
.vb-sum { margin: -4px 0 14px; padding: 10px 14px; border-radius: 10px; background: var(--c3-soft); color: #B0174A; font-weight: 600; font-size: .92rem; }
.vb-form { display: grid; gap: 12px; }
.vb-form .vb-sum { margin: 0; }
.vb-done { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px 22px; }
.vb-done .vb-sum { display: inline-block; }
.vb-done .hero-btns { justify-content: center; }
.vb-tick { width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 50%; background: var(--c1); color: #fff; font-size: 2rem; display: grid; place-items: center; }
.vb-side { display: grid; gap: 16px; position: sticky; top: 96px; }
.small { font-size: .85rem; }
@media (max-width: 900px) { .vb-wrap { grid-template-columns: 1fr; } .vb-side { position: static; } }

/* Professional Courses course library */
.pd-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pd-stats span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .88rem; color: var(--muted); }
.pd-stats b { color: var(--ink); }
.pd-tools { display: grid; gap: 12px; margin-bottom: 14px; }
.pd-cats { flex-wrap: wrap; }
.pd-cats button.on.c0 { background: var(--c0); border-color: var(--c0); color: #fff; }
.pd-cats button.on.c1 { background: var(--c1); border-color: var(--c1); color: #fff; }
.pd-cats button.on.c2 { background: var(--c2); border-color: var(--c2); color: var(--ink); }
.pd-cats button.on.c3 { background: var(--c3); border-color: var(--c3); color: #fff; }
.pd-row { display: flex; gap: 10px; flex-wrap: wrap; }
.pd-search { flex: 1 1 260px; }
.pd-search input, .pd-row select { width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; background: #fff; }
.pd-row select { width: auto; min-width: 160px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pd-count { margin: 0 0 12px; font-size: .85rem; color: var(--muted); }
.pd-none { text-align: center; padding: 30px 0; color: var(--muted); }
.crs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.crs { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: translate .2s, box-shadow .2s; scroll-margin-top: 100px; }
.crs[hidden] { display: none; }
.crs:hover { translate: 0 -3px; box-shadow: 0 18px 36px -20px rgb(1 50 120 / 35%); }
.crs-top { position: relative; height: 104px; display: flex; align-items: flex-end; padding: 0 18px 10px; overflow: hidden; background: linear-gradient(120deg, #016BED, #3D8BFF); }
.crs.c1 .crs-top { background: linear-gradient(120deg, #00A385, #2DD4AE); }
.crs.c2 .crs-top { background: linear-gradient(120deg, #F29500, #FFC94A); }
.crs.c3 .crs-top { background: linear-gradient(120deg, #F52A62, #A43CD6); }
.crs-top::after { content: ""; position: absolute; right: -30px; top: -40px; width: 130px; height: 130px; border-radius: 50%; border: 22px solid rgb(255 255 255 / 18%); }
.crs-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.crs-code { font: 800 3rem/1 var(--head); color: transparent; -webkit-text-stroke: 1.5px rgb(255 255 255 / 90%); letter-spacing: -.02em; }
.crs-lv { position: absolute; top: 12px; left: 14px; background: rgb(255 255 255 / 92%); color: var(--ink); font-size: .72rem; font-weight: 700; border-radius: 999px; padding: 3px 10px; }
.crs-hot { position: absolute; top: 12px; right: 14px; z-index: 1; background: var(--c3); color: #fff; font-size: .72rem; font-weight: 700; border-radius: 999px; padding: 3px 10px; }
.crs-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.crs-cat { margin: 0; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c0); }
.crs.c1 .crs-cat { color: #00987B; } .crs.c2 .crs-cat { color: #B87400; } .crs.c3 .crs-cat { color: var(--c3); }
.crs h3 { margin: 0; font-size: 1.12rem; line-height: 1.3; }
.crs-sum { margin: 0; font-size: .88rem; color: var(--muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.crs-meta { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crs-meta li { display: inline-flex; align-items: center; gap: 4px; font-size: .76rem; background: var(--tint); border-radius: 999px; padding: 3px 9px; color: #3C4252; }
.crs-meta svg { width: 13px; height: 13px; }
.crs-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; border-top: 1px dashed var(--line); }
.crs-price { display: grid; line-height: 1.1; }
.crs-price small { font-size: .7rem; color: var(--muted); }
.crs-price strong { font-size: 1.25rem; font-weight: 700; }
.crs-btns { display: flex; align-items: center; gap: 10px; }
.crs-br { font-size: .82rem; font-weight: 600; color: var(--c0); }
.crs-reg { padding: 9px 18px; }
.crs-sched { margin: 6px 0 0; font-size: .74rem; color: var(--muted); }
.pd-corp { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.pd-corp h2 { margin: 0 0 6px; font-weight: 700; }
.pd-corp p { margin: 0; color: var(--muted); max-width: 560px; }

/* Mobile polish: comfortable tap targets and readable small labels */
@media (max-width: 760px) {
  a.link { display: inline-flex; align-items: center; min-height: 40px; }
  .crs-br { display: inline-flex; align-items: center; min-height: 40px; padding: 0 4px; }
  .sticker, .ic-tag, .crs-price small { font-size: 12px; }
  .vb-d em, .crs-lv, .crs-hot { font-size: 11.5px; }
}
@media (max-width: 760px) {
  .announce { font-size: 12.5px; line-height: 1.35; padding-top: 6px; padding-bottom: 6px; }
  .announce a { padding: 8px 2px; }
  .nav-open .fab-wa, .odp-open .fab-wa { display: none; }
}

/* Course next date, calendar, course page, registration */
.crs-next { margin: 4px 0 0; font-size: .8rem; color: #3C4252; }
.crs-next b { color: var(--c3); }
.crs-next span { color: var(--muted); }
.crs h3 a { color: inherit; text-decoration: none; }
.crs h3 a:hover { color: var(--c0); }
.crs-hot.hrdc { background: var(--c1); }
.pd-months { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.pd-months button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font: 600 .9rem var(--body); cursor: pointer; }
.pd-months button.on { background: var(--c0); border-color: var(--c0); color: #fff; }
.pd-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.pd-table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 12px 14px; background: var(--tint); }
.pd-table td { padding: 12px 14px; border-top: 1px solid var(--line); font-size: .92rem; vertical-align: middle; }
.pd-table td:last-child { text-align: right; }
.btn-sm { padding: 7px 14px; font-size: .85rem; }
@media (max-width: 760px) {
  .pd-table thead { display: none; }
  .pd-table, .pd-table tbody, .pd-table tr, .pd-table td { display: block; width: 100%; }
  .pd-table tr { border-top: 1px solid var(--line); padding: 10px 14px; }
  .pd-table td { border: 0; padding: 2px 0; text-align: left !important; }
  .pd-table td:last-child { margin-top: 8px; }
}
.cd-hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(120deg, #014BB0, #016BED 60%, #3D8BFF); padding: 40px 0 46px; }
.cd-hero.c1 { background: linear-gradient(120deg, #007E68, #00B794 60%, #2DD4AE); }
.cd-hero.c2 { background: linear-gradient(120deg, #C76E00, #F29500 60%, #FFB21F); }
.cd-hero.c3 { background: linear-gradient(120deg, #B0174A, #F52A62 55%, #A43CD6); }
.cd-hero .geo { opacity: .35; right: -30px; top: 0; height: 100%; width: auto; }
.cd-hero-in { position: relative; z-index: 1; }
.cd-hero .eyebrow { color: #FFE2A8; }
.cd-hero .eyebrow::before { background: #FFD27A; }
.cd-hero h1 { color: #fff; font-weight: 700; margin: 6px 0 10px; max-width: 820px; }
.cd-loc { display: block; font-size: .5em; font-weight: 500; opacity: .85; margin-top: 4px; }
.cd-hero .lede { color: rgb(255 255 255 / 92%); max-width: 720px; }
.crumbs-mini { font-size: .82rem; opacity: .9; margin-bottom: 14px; }
.crumbs-mini a { color: #fff; }
.cd-facts { list-style: none; padding: 0; margin: 20px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.cd-facts li { background: rgb(255 255 255 / 14%); border: 1px solid rgb(255 255 255 / 28%); border-radius: 14px; padding: 8px 14px; display: grid; }
.cd-facts small { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
.cd-facts b { font-size: 1rem; }
.btn-ghost-light { border: 1.5px solid rgb(255 255 255 / 70%); color: #fff; background: transparent; }
.cd-badge { display: inline-block; margin-top: 14px; background: #fff; color: #007E68; font-weight: 700; font-size: .8rem; border-radius: 999px; padding: 4px 12px; }
.cd-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; }
.cd-block { margin-bottom: 28px; }
.cd-block h2 { font-size: 1.35rem; font-weight: 700; margin: 0 0 10px; }
.cd-day { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 8px; background: #fff; }
.cd-day summary { cursor: pointer; padding: 12px 16px; display: flex; justify-content: space-between; gap: 10px; font-weight: 600; }
.cd-day summary small { color: var(--muted); font-weight: 500; }
.cd-day ul { margin: 0; padding: 0 16px 14px 34px; }
.cd-day li { font-size: .92rem; margin: 3px 0; }
ul.dots li { margin: 4px 0; }
.cd-tags span { display: inline-block; background: var(--c1-soft); color: #00796A; border-radius: 999px; padding: 4px 12px; margin: 0 6px 6px 0; font-size: .85rem; }
.cd-side { display: grid; gap: 16px; position: sticky; top: 96px; }
.cd-sessions { list-style: none; margin: 0 0 10px; padding: 0; }
.cd-sessions li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.cd-sessions small { display: block; color: var(--muted); font-size: .78rem; }
.cd-sessions .cd-seats { color: var(--c3); font-weight: 600; }
.cd-full { font-size: .8rem; font-weight: 700; color: var(--muted); }
.cd-fee { display: flex; justify-content: space-between; align-items: baseline; margin: 8px 0 2px; }
.cd-fee b { font-size: 1.3rem; }
.crs-mini { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.crs-mini a { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 4px; text-decoration: none; color: var(--ink); }
.crs-mini a span { color: var(--muted); font-size: .85rem; }
.reg-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.reg-form { display: grid; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.reg-h { display: flex; gap: 10px; align-items: center; font-size: 1.1rem; font-weight: 700; margin: 8px 0 2px; }
.reg-h span { width: 28px; height: 28px; border-radius: 50%; background: var(--c0); color: #fff; display: grid; place-items: center; font-size: .85rem; }
.reg-dates, .reg-pay { display: grid; gap: 8px; }
.reg-date, .reg-opt { display: flex; gap: 12px; align-items: flex-start; border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; cursor: pointer; }
.reg-date:has(input:checked), .reg-opt:has(input:checked) { border-color: var(--c0); background: var(--c0-soft); }
.reg-date input, .reg-opt input { margin-top: 4px; }
.reg-date small, .reg-opt small { display: block; color: var(--muted); font-size: .82rem; font-weight: 400; }
.reg-total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-top: 1px dashed var(--line); }
.reg-total b { font-size: 1.4rem; }
.reg-terms summary { cursor: pointer; font-size: .85rem; color: var(--c0); }
.reg-secure { margin: 0; text-align: center; }
.reg-sum { position: sticky; top: 96px; }
.reg-done { max-width: 640px; }
.reg-dl { display: grid; grid-template-columns: 140px 1fr; gap: 6px 14px; margin: 0 0 18px; }
.reg-dl dt { color: var(--muted); }
.reg-dl dd { margin: 0; }
@media (max-width: 900px) { .cd-grid, .reg-wrap { grid-template-columns: 1fr; } .cd-side, .reg-sum { position: static; } }
.form .reg-date, .form .reg-opt { display: flex; flex-direction: row; align-items: flex-start; gap: 12px; }
.form .reg-date input, .form .reg-opt input, .reg-pay .check input { width: auto; flex: none; margin-top: 5px; }
.cd-hero .geo { max-width: 34%; }
.form label[hidden], .form [hidden] { display: none !important; }

/* Day-by-day programme on course pages */
.cd-days { display: grid; gap: 14px; }
.cd-dayc { position: relative; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--c0); border-radius: 16px; padding: 16px 18px 14px; }
.cd-dayc.c1 { border-left-color: var(--c1); } .cd-dayc.c2 { border-left-color: var(--c2); } .cd-dayc.c3 { border-left-color: var(--c3); }
.cd-dnum { margin: 0; font: 800 .78rem var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--c0); }
.cd-dayc.c1 .cd-dnum { color: #00987B; } .cd-dayc.c2 .cd-dnum { color: #C47F00; } .cd-dayc.c3 .cd-dnum { color: var(--c3); }
.cd-dayc h3 { margin: 2px 0 8px; font-size: 1.12rem; font-weight: 700; }
.cd-dayc ul { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 4px; }
.cd-dayc li { font-size: .93rem; line-height: 1.5; }
