/* Next Level Enrichment — portable stylesheet. No frameworks, no build step. */

:root {
  --pink: #e10087;
  --pink-dark: #b0006a;
  --blue: #3489e5;
  --blue-dark: #1f6ac0;
  --mint: #26e8b1;
  --ink: #16202c;
  --body: #4a5568;
  --muted: #7b8794;
  --line: #e5e9ef;
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --radius: 14px;
  --shadow: 0 2px 4px rgba(22, 32, 44, .04), 0 12px 32px rgba(22, 32, 44, .07);
  --wrap: 1140px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
a { color: var(--pink); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.section { padding: clamp(2.2rem, 4.5vw, 3.6rem) 0; }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 720px; margin: 0 auto clamp(1.4rem, 3vw, 2.2rem); text-align: center; }
.section__head p { font-size: 1.02rem; color: var(--muted); margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .8em 1.7em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--pink); color: #fff; box-shadow: 0 6px 20px rgba(225, 0, 135, .3); }
.btn--primary:hover { background: var(--pink-dark); }
.btn--ghost { border-color: currentColor; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--light { background: #fff; color: var(--pink); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
.brand img { height: 40px; width: auto; max-width: 62vw; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  padding: 10px; margin-left: auto; color: var(--ink);
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; transition: .2s; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
  color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500;
  padding: .5rem .7rem; border-radius: 8px; white-space: nowrap;
}
.nav a:hover { background: var(--bg-soft); color: var(--pink); }
.nav a[aria-current="page"] { color: var(--pink); font-weight: 600; }
.nav .btn { margin-left: .5rem; padding: .6em 1.3em; }
.nav .btn:hover { background: var(--pink-dark); color: #fff; }

/* ---------- Nav dropdown (Programmes) ---------- */
.navdrop { position: relative; }
.navdrop__btn {
  display: inline-flex; align-items: center; gap: .4rem;
  background: none; border: 0; cursor: pointer; font: inherit;
  font-size: .95rem; font-weight: 500; color: var(--ink);
  padding: .5rem .7rem; border-radius: 8px; white-space: nowrap;
}
.navdrop__btn:hover { background: var(--bg-soft); color: var(--pink); }
.navdrop[data-active="true"] > .navdrop__btn { color: var(--pink); font-weight: 600; }
.navdrop__caret {
  width: 0; height: 0; border-style: solid; border-width: 5px 4px 0 4px;
  border-color: currentColor transparent transparent transparent; transition: transform .2s ease;
}
.navdrop:hover .navdrop__caret, .navdrop.open .navdrop__caret { transform: rotate(180deg); }
.navdrop__menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 200px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: .4rem; z-index: 60;
  display: none; flex-direction: column;
}
.navdrop:hover .navdrop__menu, .navdrop.open .navdrop__menu { display: flex; }
.navdrop__menu a {
  color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500;
  padding: .55rem .8rem; border-radius: 8px; white-space: nowrap;
}
.navdrop__menu a:hover { background: var(--bg-soft); color: var(--pink); }
.navdrop__menu a[aria-current="page"] { color: var(--pink); font-weight: 600; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(2.4rem, 5.5vw, 4.2rem) 0;
  background:
    radial-gradient(1000px 500px at 80% -10%, rgba(38, 232, 177, .18), transparent 60%),
    radial-gradient(800px 500px at 0% 10%, rgba(52, 137, 229, .14), transparent 60%),
    var(--bg-soft);
  overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--pink);
  background: rgba(225, 0, 135, .09); padding: .45em 1em; border-radius: 999px; margin-bottom: 1.2rem;
}
.hero h1 { margin-bottom: 1rem; }
.hero__lead { font-size: 1.2rem; max-width: 32em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero__media img { border-radius: var(--radius); box-shadow: var(--shadow); }

.stats { display: flex; flex-wrap: wrap; gap: 2.5rem; margin-top: 2.8rem; }
.stats div strong { display: block; font-size: 2rem; color: var(--pink); line-height: 1; }
.stats div span { font-size: .9rem; color: var(--muted); }

/* ---------- Generic card grid ---------- */
.grid { display: grid; gap: 1.1rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .35rem; }
.card p { margin-bottom: .6rem; }
.card p:last-child { margin-bottom: 0; }
.card__icon {
  width: 46px; height: 46px; border-radius: 11px; object-fit: cover;
  margin-bottom: .9rem; background: var(--bg-soft);
}
.card__num {
  font-size: .72rem; font-weight: 700; color: var(--pink);
  letter-spacing: .08em; text-transform: uppercase; display: inline-block; margin-bottom: .5rem;
  background: rgba(225,0,135,.08); padding: .25em .7em; border-radius: 999px;
}

/* Coloured top-accent on feature-grid cards — cycles the brand palette */
.grid--3 > .card, .grid--4 > .card { border-top: 3px solid var(--line); }
.grid > .card:nth-child(4n+1) { border-top-color: var(--pink); }
.grid > .card:nth-child(4n+2) { border-top-color: var(--blue); }
.grid > .card:nth-child(4n+3) { border-top-color: var(--mint); }
.grid > .card:nth-child(4n+4) { border-top-color: #f6a609; }
.grid--3 > .card.prog, .grid--4 > .card.prog { border-top-width: 1px; }

/* ---------- Stat / KPI tiles (coloured widgets) ---------- */
.tilerow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.tile {
  border-radius: var(--radius); padding: 1.3rem 1.4rem; color: #fff;
  display: flex; flex-direction: column; gap: .2rem; box-shadow: var(--shadow);
}
.tile strong { font-size: 1.9rem; line-height: 1; font-weight: 800; }
.tile span { font-size: .85rem; opacity: .92; }
.tile--brand-pink  { background: linear-gradient(135deg, #e10087, #b0006a); }
.tile--brand-blue  { background: linear-gradient(135deg, #3489e5, #1f6ac0); }
.tile--brand-mint  { background: linear-gradient(135deg, #1fb488, #26e8b1); }
.tile--brand-amber { background: linear-gradient(135deg, #f6a609, #e07a00); }

/* ---------- Accordion (Edu Apps categories) ---------- */
.acc {
  border: 1px solid var(--line); border-radius: 16px; background: #fff;
  margin-bottom: 1rem; overflow: hidden; box-shadow: 0 1px 2px rgba(22,32,44,.04);
}
.acc__head {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 1rem;
  padding: 1.15rem 1.4rem; user-select: none;
}
.acc__head::-webkit-details-marker { display: none; }
.acc__head:hover .acc__title { color: var(--pink); }
.acc__title { font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.acc__hint { color: var(--muted); font-size: .85rem; margin-right: auto; }
.acc__icon { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-soft); flex: none; }
.acc__icon::before, .acc__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--pink);
  transform: translate(-50%,-50%);
}
.acc__icon::before { width: 12px; height: 2px; }
.acc__icon::after { width: 2px; height: 12px; transition: transform .2s ease; }
.acc[open] .acc__icon::after { transform: translate(-50%,-50%) scaleY(0); }
.acc__body { padding: 0 1.4rem 1.4rem; }
.acc__group {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted);
  margin: 1.5rem 0 .9rem; padding-top: 1.1rem; border-top: 1px solid var(--line);
}
.acc__body > .acc__group:first-child { border-top: 0; padding-top: .3rem; margin-top: .3rem; }
@media (max-width: 620px) {
  .acc__hint { display: none; }
  .acc__head { padding: 1rem 1.1rem; }
}

/* ---------- Programme cards ---------- */
.prog { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.prog img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.prog__body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.prog__body ul { list-style: none; padding: 0; margin: 0 0 1.4rem; flex: 1; }
.prog__body li { padding: .45rem 0 .45rem 1.6rem; position: relative; font-size: .96rem; border-bottom: 1px solid var(--line); }
.prog__body li:last-child { border-bottom: 0; }
.prog__body li::before {
  content: ""; position: absolute; left: 0; top: 1.05em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--mint);
}
.prog__body h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 1rem 0 .3rem; }
.prog__body h4:first-child { margin-top: 0; }

/* ---------- Lite YouTube (click to play) ---------- */
.ytlite::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.12); transition: background .2s; }
.ytlite:hover::after { background: rgba(0,0,0,0); }
.ytlite__btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 1;
  width: 62px; height: 44px; border-radius: 12px; background: rgba(225,0,135,.92);
  transition: transform .15s ease, background .15s ease;
}
.ytlite__btn::before {
  content: ""; position: absolute; top: 50%; left: 52%; transform: translate(-50%,-50%);
  border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff;
}
.ytlite:hover .ytlite__btn { transform: translate(-50%,-50%) scale(1.08); background: var(--pink); }

/* ---------- Breadcrumbs ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .85rem; margin-bottom: 1rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--pink); }
.crumbs > span[aria-hidden] { color: var(--line); }
.crumbs > span:not([aria-hidden]) { color: var(--muted); }
.crumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------- eLearning: subject headings + course cards ---------- */
.subj-head { display: flex; align-items: center; gap: .6rem; font-size: 1.4rem; margin: 2rem 0 1rem; }
.subj-head:first-of-type { margin-top: 0; }
.subj-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.course-card { display: block; text-decoration: none; color: inherit; border-top: 3px solid var(--line); }
.course-card__lvl {
  font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); display: block; margin-bottom: .35rem;
}
.course-card h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.course-card__meta { color: var(--muted); font-size: .88rem; margin: 0; }

/* ---------- eLearning: course player (master / detail) ---------- */
.course-app { display: grid; grid-template-columns: 300px 1fr; gap: 1.2rem; align-items: start; }

/* progress + left list */
.lesson-list { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.progress { padding: .9rem 1rem; border-bottom: 1px solid var(--line); }
.progress__row { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; margin-bottom: .5rem; }
.progress__pct { font-size: 1.35rem; color: var(--pink); }
.progress__count { font-size: .8rem; color: var(--muted); }
.progress__bar { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.progress__bar > i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--mint), #12b886); transition: width .3s ease; }
.lesson-scroll { max-height: 68vh; overflow-y: auto; padding: .5rem; }
.lgroup__t { font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; padding: .7rem .5rem .3rem; }
.lrow {
  display: flex; align-items: center; gap: .6rem; width: 100%; text-align: left;
  border: 0; background: none; cursor: pointer; padding: .4rem; border-radius: 10px; color: inherit;
}
.lrow:hover { background: var(--bg-soft); }
.lrow.is-active { background: rgba(225,0,135,.09); }
.lrow__thumb { width: 62px; aspect-ratio: 16/9; border-radius: 6px; overflow: hidden; flex: none; background: #0b1220; position: relative; }
.lrow__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb--pdf { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,#e5484d,#a4262c); font-size: 1.2rem; }
.lrow__body { flex: 1; min-width: 0; }
.lrow__title { display: block; font-size: .83rem; line-height: 1.25; color: var(--ink); }
.lrow__kind { display: block; font-size: .68rem; color: var(--muted); margin-top: .1rem; }
.lrow.is-active .lrow__title { color: var(--pink); font-weight: 600; }
.lrow__tick { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); flex: none; position: relative; }
.lrow.is-done .lrow__tick { background: var(--mint); border-color: var(--mint); }
.lrow.is-done .lrow__tick::after {
  content: ""; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* right viewer */
.viewer { position: sticky; top: 88px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #0b1220; }
.viewer__stage { position: relative; aspect-ratio: 16/9; background: #0b1220; }
.viewer__stage:fullscreen { aspect-ratio: auto; }
.viewer__empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #8fa0bd; font-size: .95rem; }
.ytbox { position: absolute; inset: 0; }
.ytbox #ytmount, .ytbox iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }
.ytoverlay { position: absolute; inset: 0 0 46px 0; z-index: 2; cursor: pointer; }         /* blocks click-through to YouTube; leaves our control bar free */
.vctrl { position: absolute; left: 0; right: 0; bottom: 0; height: 46px; z-index: 3;
  display: flex; align-items: center; gap: .7rem; padding: 0 .9rem;
  background: linear-gradient(0deg, rgba(0,0,0,.72), rgba(0,0,0,.35)); }
.vctrl__pp { flex: none; width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--pink); color: #fff; cursor: pointer; font-size: .8rem; line-height: 1; }
.vctrl__seek { flex: 1; accent-color: var(--pink); height: 4px; cursor: pointer; }
.vctrl__time { flex: none; color: #dce4f0; font-size: .75rem; font-variant-numeric: tabular-nums; }
.pdfframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
.viewer__bar { display: flex; align-items: center; gap: 1rem; padding: .6rem .9rem; background: #fff; }
.viewer__hint { font-size: .8rem; color: var(--muted); margin-right: auto; }
.viewer__fs { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 8px; padding: .4rem .8rem; font: inherit; font-size: .82rem; cursor: pointer; }
.viewer__fs:hover { background: var(--bg-soft); color: var(--pink); border-color: var(--pink); }

@media (max-width: 820px) {
  .course-app { grid-template-columns: 1fr; }
  .viewer { order: -1; position: static; }
  .lesson-scroll { max-height: none; }
}

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery img { border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .3s ease; }
.gallery img:hover { transform: scale(1.03); }

/* ---------- Testimonials carousel ---------- */
.carousel { position: relative; }
.carousel__track {
  display: flex; gap: .9rem; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: .4rem .15rem; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > .quote { flex: 0 0 calc((100% - 2 * .9rem) / 3); scroll-snap-align: start; }
.carousel__nav { display: flex; justify-content: center; gap: .6rem; margin-top: 1.2rem; }
.carousel__btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow); cursor: pointer;
  font-size: 1.4rem; line-height: 1; color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.carousel__btn:hover { background: var(--pink); color: #fff; border-color: var(--pink); transform: translateY(-2px); }

.quote {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 1.5rem 1.4rem 1.3rem; display: flex; flex-direction: column;
  box-shadow: 0 1px 2px rgba(22,32,44,.04);
  transition: transform .18s ease, box-shadow .18s ease;
}
.quote:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.quote::before {
  content: "\201C"; position: absolute; top: -.3rem; right: .9rem;
  font-family: Georgia, "Times New Roman", serif; font-size: 4.2rem; line-height: 1;
  color: rgba(225,0,135,.10); pointer-events: none;
}
.quote__stars { color: #f6a609; letter-spacing: 2px; margin-bottom: .7rem; font-size: .95rem; }
.quote blockquote { margin: 0 0 1.2rem; font-size: .94rem; line-height: 1.6; color: var(--body); flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: .7rem; border-top: 1px solid var(--line); padding-top: .9rem; }
.quote__avatar {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: .9rem; letter-spacing: .02em;
}
.quote__who { display: flex; flex-direction: column; line-height: 1.25; }
.quote__who strong { color: var(--ink); font-size: .93rem; }
.quote__who span { font-size: .82rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.band {
  background: linear-gradient(120deg, var(--pink) 0%, #a3009e 55%, var(--blue-dark) 100%);
  color: #fff; text-align: center; padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.band h2 { color: #fff; }
.band p { max-width: 44em; margin-inline: auto; opacity: .92; }
.band__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #a8b3c1; padding: 3.5rem 0 0; font-size: .93rem; }
.site-footer a { color: #a8b3c1; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer__grid ul { list-style: none; padding: 0; margin: 0; }
.footer__grid li { margin-bottom: .55rem; }
.footer__brand img { height: 40px; margin-bottom: 1rem; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 3rem;
  padding: 1.4rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 72px 0 auto; background: #fff; flex-direction: column;
    align-items: stretch; gap: 0; padding: 1rem 20px 1.6rem;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-130%); transition: transform .25s ease; max-height: calc(100dvh - 72px); overflow-y: auto;
  }
  .nav[data-open="true"] { transform: translateY(0); }
  .nav a { padding: .85rem .4rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .btn { margin: 1rem 0 0; text-align: center; border-bottom: 0; }

  /* Dropdown becomes an always-open indented group in the mobile panel */
  .navdrop { width: 100%; }
  .navdrop__btn {
    width: 100%; justify-content: space-between; padding: .85rem .4rem;
    border-bottom: 1px solid var(--line); border-radius: 0;
    font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
  }
  .navdrop__btn:hover { background: none; color: var(--muted); }
  .navdrop__caret { display: none; }
  .navdrop__menu {
    position: static; display: flex; box-shadow: none; border: 0;
    padding: 0 0 0 .8rem; min-width: 0;
  }
  .navdrop__menu a { border-bottom: 1px solid var(--line); border-radius: 0; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .grid--3, .grid--4, .tilerow { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .carousel__track > .quote { flex-basis: calc((100% - .9rem) / 2); }
}

@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .tilerow { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .stats { gap: 1.5rem 2rem; }
  .hero__cta .btn, .band__cta .btn { flex: 1 1 100%; text-align: center; }
  .footer__bottom { justify-content: center; text-align: center; }
  .carousel__track > .quote { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Students-only notice on the eLearning listing */
.notice{
  margin:0;padding:.9rem 1.1rem;border-radius:12px;
  background:color-mix(in srgb, var(--blue) 8%, #fff);
  border:1px solid color-mix(in srgb, var(--blue) 25%, #fff);
  color:var(--ink);font-size:.95rem;line-height:1.5;
}
.notice a{color:var(--pink);font-weight:600}
@media (prefers-color-scheme: dark){
  .notice{background:color-mix(in srgb, var(--blue) 18%, transparent)}
}

/* Local landing pages: prose, fact tables, breadcrumbs */
.prose{max-width:70ch}
.prose h2{margin:2rem 0 .6rem;font-size:1.3rem;line-height:1.3}
.prose h2:first-child{margin-top:0}
.prose p{margin:0 0 1rem;line-height:1.7}
.tablewrap{overflow-x:auto;margin:0 0 1.5rem}
.ftable{width:100%;border-collapse:collapse;font-size:.95rem}
.ftable th,.ftable td{padding:.7rem .9rem;text-align:left;vertical-align:top;
  border-bottom:1px solid var(--line)}
.ftable th{width:34%;font-weight:700;color:var(--ink);background:rgba(0,0,0,.02)}
.updated{font-size:.85rem;opacity:.65;margin-top:2rem}
@media (max-width:600px){
  .ftable,.ftable tbody,.ftable tr,.ftable th,.ftable td{display:block;width:auto}
  .ftable th{border-bottom:0;padding-bottom:.2rem;background:none}
  .ftable td{padding-top:0;padding-bottom:1rem}
}
