/* =========================================================
   Northwest London College — site styles
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --ink: #0d1a29;
  --navy: #13263b;
  --navy-2: #1c3651;
  --navy-3: #2a4a6b;
  --gold: #c49a58;
  --gold-2: #d9b57a;
  --gold-ink: #8b6630;
  --gold-soft: #f3ead9;
  --paper: #faf8f4;
  --paper-2: #f3efe7;
  --surface: #ffffff;
  --line: #e6e0d4;
  --line-2: #d6cebe;
  --text: #17212c;
  --muted: #5a6573;
  --muted-2: #8a94a1;
  --success: #1f7a4d;
  --danger: #b4372f;

  --font-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --shadow-s: 0 1px 2px rgba(13, 26, 41, .06), 0 2px 8px rgba(13, 26, 41, .04);
  --shadow: 0 2px 6px rgba(13, 26, 41, .05), 0 12px 32px -8px rgba(13, 26, 41, .14);
  --shadow-l: 0 30px 60px -20px rgba(13, 26, 41, .35);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 120px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  top: 0 !important; /* Google Translate */
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-weight: 500; letter-spacing: -.015em; }
h1, h2 { font-family: var(--font-serif); font-optical-sizing: auto; text-wrap: balance; }
h3, h4 { font-family: var(--font-sans); font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--gold-2); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.i--fill { fill: currentColor; stroke: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--paper2 { background: var(--paper-2); }
.section--white { background: var(--surface); }
.section--dark { background: var(--navy); color: #e8edf3; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-ink);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section--dark .eyebrow, .on-dark .eyebrow { color: var(--gold-2); }

.display { font-size: clamp(2.6rem, 6.2vw, 4.75rem); line-height: 1.02; letter-spacing: -.025em; }
.h2 { font-size: clamp(2rem, 4vw, 3rem); }
.h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); font-family: var(--font-serif); font-weight: 500; }
em, .accent { font-style: italic; color: var(--gold-ink); }
.section--dark em, .on-dark em { color: var(--gold-2); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); line-height: 1.6; }
.section--dark .lead { color: #b7c3d1; }
.muted { color: var(--muted); }

.section-head { display: grid; gap: 16px; max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--split { max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: 24px 48px; }
.section-head--split > :last-child { justify-self: end; }
@media (max-width: 760px) { .section-head--split { grid-template-columns: 1fr; } .section-head--split > :last-child { justify-self: start; } }

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1020px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy); --fg: #fff; --bd: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px;
  border-radius: 999px; border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: .98rem; line-height: 1; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn .i { transition: transform .2s var(--ease); }
.btn:hover { --bg: var(--navy-2); box-shadow: var(--shadow); }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--gold { --bg: var(--gold); --bd: var(--gold); --fg: var(--ink); }
.btn--gold:hover { --bg: var(--gold-2); --bd: var(--gold-2); }
.btn--ghost { --bg: transparent; --fg: var(--text); --bd: var(--line-2); }
.btn--ghost:hover { --bg: var(--surface); --bd: var(--text); }
.on-dark .btn--ghost, .section--dark .btn--ghost { --fg: #fff; --bd: rgba(255,255,255,.3); }
.on-dark .btn--ghost:hover, .section--dark .btn--ghost:hover { --bg: rgba(255,255,255,.08); --bd: #fff; }
.btn--sm { min-height: 42px; padding: 10px 18px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--text); }
.link-arrow .i { transition: transform .2s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }
.link-arrow:hover { color: var(--gold-ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 244, .86);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(13,26,41,.4); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 46px; height: 46px; }
.brand-name { font-family: var(--font-serif); font-size: 1.22rem; font-weight: 500; line-height: 1.05; letter-spacing: -.01em; }
.brand-name small { display: block; font-family: var(--font-sans); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 4px; }

.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px; border: 0; background: none;
  font-size: .95rem; font-weight: 500; color: var(--text); text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s;
}
.nav-link:hover, .nav-item.is-open > .nav-link { background: rgba(19, 38, 59, .06); }
.nav-link[aria-current="page"], .nav-item.is-current > .nav-link { color: var(--gold-ink); }
.nav-link .i-chevron { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.nav-item { position: relative; }
.nav-item.is-open > .nav-link .i-chevron { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  width: 340px; padding: 10px; margin: 0; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-l);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav-item.is-open > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 1081px) {
  .nav-item:hover > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .nav-item:hover > .nav-link { background: rgba(19, 38, 59, .06); }
  .nav-item:hover > .nav-link .i-chevron { transform: rotate(180deg); }
}
.dropdown a {
  display: grid; grid-template-columns: 40px 1fr; gap: 2px 14px; align-items: center;
  padding: 10px 12px; border-radius: 12px; text-decoration: none;
  transition: background .15s;
}
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--paper); }
.dropdown .dd-icon { grid-row: span 2; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-ink); }
.dropdown .dd-title { font-weight: 600; font-size: .95rem; color: var(--ink); }
.dropdown .dd-text { font-size: .82rem; color: var(--muted); line-height: 1.35; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang {
  position: relative; display: inline-flex; align-items: center;
}
.lang .i { position: absolute; left: 12px; width: 16px; height: 16px; pointer-events: none; color: var(--muted); }
.lang select {
  appearance: none; -webkit-appearance: none;
  height: 42px; padding: 0 30px 0 34px; border-radius: 999px;
  border: 1px solid var(--line-2); background: transparent; cursor: pointer;
  font-size: .85rem; font-weight: 600; color: var(--text);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235a6573' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.lang select:hover { border-color: var(--text); }

.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-2); background: var(--surface); cursor: pointer;
  align-items: center; justify-content: center; color: var(--ink);
}
.menu-toggle .i-close { display: none; }
.menu-open .menu-toggle .i-menu { display: none; }
.menu-open .menu-toggle .i-close { display: block; }

@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; margin: 0;
    background: var(--paper); overflow-y: auto;
    padding: 12px var(--gutter) 40px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  /* backdrop-filter would make the header the containing block of the fixed panel */
  .menu-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); border-color: var(--line); }
  .menu-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 18px 4px; font-size: 1.15rem; border-radius: 0; }
  .nav-link:hover, .nav-item.is-open > .nav-link { background: none; }
  .dropdown {
    position: static; width: auto; transform: none; box-shadow: none; border: 0; padding: 0 0 12px;
    background: none; opacity: 1; visibility: visible; display: none;
  }
  .dropdown::before { display: none; }
  .nav-item.is-open > .dropdown { display: block; transform: none; }
  .nav .nav-mobile-cta { display: grid; gap: 12px; margin-top: 28px; }
}
.nav-mobile-cta { display: none; }
@media (max-width: 560px) {
  .header-inner { gap: 12px; }
  .header-actions { gap: 8px; margin-left: auto; }
  .brand { gap: 10px; min-width: 0; }
  .brand-name { font-size: .98rem; line-height: 1.1; max-width: 9.5em; }
  .brand-name small { display: none; }
  .brand img { width: 40px; height: 40px; }
  .lang .i { display: none; }
  .lang select { padding: 0 26px 0 14px; background-position: right 10px center; }
}
@media (max-width: 330px) { .brand-name { display: none; } }

/* ---------- Hero (home) ---------- */
.hero { position: relative; padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 110px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 60% at 85% 10%, rgba(196,154,88,.18), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(28,54,81,.08), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.hero-copy .lead { max-width: 34ch; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 12px 36px; margin-top: 12px; padding-top: 28px; border-top: 1px solid var(--line); width: 100%; }
.hero-stats div { display: grid; }
.hero-stats strong { font-family: var(--font-serif); font-weight: 500; font-size: 2rem; line-height: 1.1; color: var(--ink); }
.hero-stats span { font-size: .88rem; color: var(--muted); }
@media (max-width: 560px) {
  .hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .hero-stats strong { font-size: 1.4rem; }
  .hero-stats span { font-size: .78rem; line-height: 1.35; }
}

.hero-media { position: relative; }
.hero-media .frame {
  position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 4.4;
  box-shadow: var(--shadow-l);
}
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.hero-media .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(13,26,41,.45)); }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.6);
  padding: 14px 18px; border-radius: 16px; box-shadow: var(--shadow);
  font-size: .88rem; line-height: 1.35;
}
.float-card strong { display: block; color: var(--ink); font-size: .95rem; }
.float-card .badge-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--gold-2); flex: none; }
.float-card--a { left: -28px; bottom: 48px; }
.float-card--b { right: -18px; top: 36px; }
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media .frame { aspect-ratio: 16 / 11; }
  .float-card--a { left: 16px; bottom: 16px; }
  .float-card--b { right: 16px; top: 16px; }
}
@media (max-width: 520px) { .float-card--b { display: none; } }

/* ---------- Trust strip ---------- */
.strip { border-block: 1px solid var(--line); background: var(--surface); }
.strip-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding-block: 22px; }
.strip-item { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; font-size: .95rem; color: var(--text); }
.strip-item .i { color: var(--gold-ink); }

/* ---------- Feature cards ---------- */
.feature {
  display: grid; gap: 14px; align-content: start;
  padding: 30px; border-radius: var(--radius-l);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature .icon-badge { margin-bottom: 8px; }
.feature h3 { font-size: 1.15rem; }
.feature p { color: var(--muted); font-size: .97rem; }
.section--dark .feature { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.section--dark .feature:hover { background: rgba(255,255,255,.07); box-shadow: none; }
.section--dark .feature p { color: #aebccb; }

.icon-badge { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-ink); }
.icon-badge .i { width: 24px; height: 24px; }
.section--dark .icon-badge { background: rgba(196,154,88,.14); color: var(--gold-2); }

/* ---------- About / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }
.split-copy { display: grid; gap: 20px; justify-items: start; }
.collage { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-l); }
.collage .c1 { grid-row: span 2; aspect-ratio: 3 / 4; }
.collage .c2, .collage .c3 { aspect-ratio: 1; }
.collage-badge {
  position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px; white-space: nowrap;
  padding: 14px 22px; border-radius: 999px; background: var(--navy); color: #fff; box-shadow: var(--shadow);
  font-size: .9rem; font-weight: 500;
}
.collage-badge .i { color: var(--gold-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li { padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .88rem; font-weight: 500; }

/* ---------- Programme cards ---------- */
.prog-card {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius-l); overflow: hidden; background: var(--surface);
  border: 1px solid var(--line); text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.prog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); }
.prog-card .media { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; }
.prog-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.prog-card:hover .media img { transform: scale(1.05); }
.prog-card .tag {
  position: absolute; left: 16px; top: 16px;
  padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.94);
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink);
}
.prog-card .body { display: grid; gap: 10px; padding: 24px; flex: 1; align-content: start; }
.prog-card h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.5rem; }
.prog-card p { color: var(--muted); font-size: .95rem; }
.prog-card .meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding: 18px 24px; border-top: 1px solid var(--line); font-size: .9rem; font-weight: 600; }
.prog-card .meta .count { color: var(--muted); font-weight: 500; }
.prog-card .meta .go { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.prog-card:hover .meta .go { color: var(--gold-ink); }

/* Wide variant (all programmes page) */
.prog-row {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); overflow: hidden;
  border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.prog-row:hover { box-shadow: var(--shadow-l); transform: translateY(-3px); }
.prog-row .media { min-height: 280px; overflow: hidden; }
.prog-row .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.prog-row:hover .media img { transform: scale(1.04); }
.prog-row .body { display: grid; gap: 14px; align-content: center; padding: clamp(24px, 4vw, 48px); justify-items: start; }
.prog-row h3 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.prog-row p { color: var(--muted); }
.prog-row .facts { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--paper-2); font-size: .82rem; font-weight: 600; color: var(--text); }
.pill .i { width: 15px; height: 15px; color: var(--gold-ink); }
.pill--gold { background: var(--gold-soft); color: var(--gold-ink); }
@media (max-width: 760px) { .prog-row { grid-template-columns: 1fr; } .prog-row .media { min-height: 0; aspect-ratio: 16 / 9; } }

/* ---------- Pathway ---------- */
.pathway { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; list-style: none; padding: 0; margin: 0; counter-reset: lvl; }
.pathway li { position: relative; padding: 0 20px 0 0; display: grid; gap: 10px; align-content: start; }
.pathway .node { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.pathway .dot {
  width: 54px; height: 54px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-family: var(--font-serif); font-size: 1.35rem; font-weight: 500;
  background: var(--navy-2); color: var(--gold-2); border: 1px solid rgba(217,181,122,.4);
}
.pathway .line { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(217,181,122,.6), rgba(217,181,122,.1)); }
.pathway li:last-child .line { display: none; }
.pathway h3 { font-size: 1.05rem; }
.pathway .stage { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); }
.pathway p { font-size: .92rem; color: #aebccb; }
@media (max-width: 960px) {
  .pathway { grid-template-columns: 1fr; gap: 0; }
  .pathway li { grid-template-columns: 54px 1fr; column-gap: 20px; padding: 0 0 28px; }
  .pathway .node { grid-row: span 3; flex-direction: column; margin: 0; align-self: stretch; }
  .pathway .line { width: 1px; height: auto; flex: 1; background: linear-gradient(180deg, rgba(217,181,122,.6), rgba(217,181,122,.1)); }
}

/* ---------- Steps ---------- */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding: 30px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.steps .num { font-family: var(--font-serif); font-size: 2.6rem; line-height: 1; color: var(--gold); font-weight: 400; }
.steps h3 { font-size: 1.12rem; }
.steps p { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Timeline (application guide) */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 64px 1fr; gap: 24px; }
.timeline .rail { display: flex; flex-direction: column; align-items: center; }
.timeline .num {
  width: 64px; height: 64px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line-2);
  font-family: var(--font-serif); font-size: 1.4rem; color: var(--gold-ink);
}
.timeline .rail::after { content: ""; flex: 1; width: 1px; background: var(--line-2); margin-block: 8px; }
.timeline li:last-child .rail::after { display: none; }
.timeline .content { padding: 14px 0 48px; display: grid; gap: 10px; justify-items: start; }
.timeline h3 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.timeline p { color: var(--muted); max-width: 62ch; }
.checklist { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .i { color: var(--success); margin-top: 3px; }
@media (max-width: 560px) { .timeline li { grid-template-columns: 48px 1fr; gap: 16px; } .timeline .num { width: 48px; height: 48px; font-size: 1.15rem; } }

/* ---------- Page hero ---------- */
.page-hero { position: relative; padding-block: clamp(48px, 7vw, 96px) clamp(48px, 6vw, 80px); overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(55% 80% at 100% 0%, rgba(196,154,88,.16), transparent 70%);
}
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.page-hero-copy { display: grid; gap: 20px; justify-items: start; }
.page-hero-copy .lead { max-width: 54ch; }
.page-hero-media { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow-l); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--simple .page-hero-grid { grid-template-columns: 1fr; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; } .page-hero-media { aspect-ratio: 16 / 9; } }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); list-style: none; margin: 0; padding: 0; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--text); text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; }

/* Sub navigation (sticky anchors) */
.subnav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(250,248,244,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.subnav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; text-decoration: none; font-size: .9rem; font-weight: 600; white-space: nowrap; color: var(--muted); transition: background .2s, color .2s; }
.subnav a:hover { color: var(--text); background: var(--surface); }
.subnav a.is-active { background: var(--navy); color: #fff; }
.subnav a .n { font-weight: 500; opacity: .7; }

/* ---------- Course cards ---------- */
.course-group + .course-group { margin-top: clamp(64px, 8vw, 104px); }
.course-group-head { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; align-items: end; margin-bottom: 32px; }
.course-group-head .lvl {
  grid-row: span 2; width: 84px; height: 84px; border-radius: 22px; display: grid; place-items: center; text-align: center;
  background: var(--navy); color: var(--gold-2); font-family: var(--font-serif); line-height: 1;
}
.course-group-head .lvl b { display: block; font-size: 2rem; font-weight: 500; }
.course-group-head .lvl small { display: block; font-family: var(--font-sans); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: #c7d2de; margin-top: 4px; }
.course-group-head p { color: var(--muted); max-width: 70ch; }
@media (max-width: 560px) { .course-group-head { grid-template-columns: 1fr; } .course-group-head .lvl { grid-row: auto; width: 64px; height: 64px; border-radius: 16px; } .course-group-head .lvl b { font-size: 1.5rem; } }

.course-card {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.course-card .media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.course-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.course-card:hover .media img { transform: scale(1.05); }
.course-card .media .tag { position: absolute; left: 14px; top: 14px; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.95); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.course-card .body { display: grid; gap: 8px; padding: 22px 22px 18px; flex: 1; align-content: start; }
.course-card h3 { font-size: 1.12rem; }
.course-card p { font-size: .93rem; color: var(--muted); line-height: 1.55; }
.course-card .foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; border-top: 1px solid var(--line); }
.course-card .price { display: grid; line-height: 1.15; }
.course-card .price small { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.course-card .price b { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 500; color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow-s); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 24px; font-weight: 600; font-size: 1.02rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--paper-2); transition: transform .25s var(--ease), background .2s; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--gold-soft); color: var(--gold-ink); }
.faq .answer { padding: 0 24px 24px; color: var(--muted); }
.faq .answer ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin: 0; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } .faq-layout .section-head { position: static; } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 32px; padding: clamp(40px, 6vw, 80px);
  background: var(--navy); color: #fff;
  display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center;
}
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(/assets/img/campus.webp) center / cover; opacity: .16; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 120% at 100% 0%, rgba(196,154,88,.35), transparent 60%), linear-gradient(90deg, var(--navy) 30%, rgba(19,38,59,.6)); }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); color: #fff; }
.cta-band p { color: #c3cfdc; margin-top: 14px; max-width: 52ch; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-s); }
.form { display: grid; gap: 20px; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 18px; }
.form legend { float: left; width: 100%; font-family: var(--font-serif); font-size: 1.3rem; font-weight: 500; margin-bottom: 4px; padding: 0; display: flex; align-items: center; gap: 12px; }
.form legend .step { width: 30px; height: 30px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-ink); display: grid; place-items: center; font-family: var(--font-sans); font-size: .85rem; font-weight: 700; }
.form fieldset + fieldset { padding-top: 24px; border-top: 1px solid var(--line); }
.form-row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--text); }
.field label .opt { font-weight: 400; color: var(--muted-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px;
  border: 1px solid var(--line-2); border-radius: 12px; background: var(--paper);
  font-size: 1rem; line-height: 1.4; color: var(--text);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a6573' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background-color: #fff; box-shadow: 0 0 0 4px rgba(196,154,88,.18); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field .error { font-size: .82rem; color: var(--danger); font-weight: 500; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-note { font-size: .82rem; color: var(--muted); }
.form-status { display: none; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: 12px; font-size: .95rem; font-weight: 500; }
.form-status.is-visible { display: flex; }
.form-status.is-success { background: #e8f4ed; color: var(--success); }
.form-status.is-error { background: #fbecea; color: var(--danger); }
.form-status .i { margin-top: 2px; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; display: none; }
.is-loading .spinner { display: inline-block; }
.is-loading .i-send { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { display: grid; gap: 14px; }
.info-item { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.info-item h3 { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.info-item a { text-decoration: none; font-weight: 600; color: var(--ink); }
.info-item a:hover { color: var(--gold-ink); text-decoration: underline; }
.info-item .lines { display: grid; gap: 2px; word-break: break-word; }
.map { border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--line); background: var(--paper-2); aspect-ratio: 21 / 9; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.3) contrast(1.05); }
@media (max-width: 700px) { .map { aspect-ratio: 4 / 3; } }

.bank { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 860px) { .bank { grid-template-columns: 1fr; } }
.bank-card { border-radius: var(--radius-l); padding: clamp(24px, 4vw, 36px); background: linear-gradient(140deg, var(--navy-2), var(--ink)); color: #fff; box-shadow: var(--shadow-l); display: grid; gap: 4px; }
.bank-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.bank-row:last-child { border-bottom: 0; }
.bank-row dt { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: #9fb0c3; font-weight: 600; grid-column: 1; }
.bank-row dd { margin: 0; font-size: 1.05rem; font-weight: 600; font-variant-numeric: tabular-nums; grid-column: 1; letter-spacing: .02em; }
.copy-btn { grid-column: 2; grid-row: 1 / span 2; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #dfe6ee; font-size: .8rem; font-weight: 600; cursor: pointer; }
.copy-btn:hover { background: rgba(255,255,255,.08); }
.copy-btn.is-copied { color: var(--gold-2); border-color: var(--gold-2); }
.copy-btn .i { width: 15px; height: 15px; }

/* ---------- Registration layout ---------- */
.apply-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.apply-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
@media (max-width: 1000px) { .apply-grid { grid-template-columns: 1fr; } .apply-aside { position: static; } }
.aside-card { border-radius: var(--radius-l); padding: 28px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 16px; }
.aside-card--dark { background: var(--navy); color: #dde5ee; border-color: var(--navy); }
.aside-card--dark h3 { color: #fff; }
.aside-card h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.35rem; }
.mini-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.mini-steps li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; font-size: .93rem; color: #b8c5d3; }
.mini-steps b { display: block; color: #fff; font-weight: 600; }
.mini-steps .n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(196,154,88,.18); color: var(--gold-2); font-weight: 700; font-size: .85rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #a9b6c5; padding-top: clamp(56px, 7vw, 88px); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { color: #fff; }
.site-footer .brand-name small { color: #8293a6; }
.footer-about p { margin-top: 18px; max-width: 34ch; }
.site-footer h4 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; font-weight: 600; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { text-decoration: none; transition: color .15s; }
.footer-links a:hover { color: var(--gold-2); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .i { color: var(--gold-2); margin-top: 4px; width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; color: #7d8ea1; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ---------- WhatsApp button ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 18px 0 16px; border-radius: 999px;
  background: #25d366; color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, .6);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(37, 211, 102, .7); }
.wa-float .i { width: 26px; height: 26px; }
@media (min-width: 641px) { .wa-float { bottom: 84px; } } /* sit above the footer's "Powered by" line */
@media (max-width: 640px) { .wa-float { width: 56px; padding: 0; justify-content: center; } .wa-float span { display: none; } }

/* ---------- Scholarships ---------- */
.scholar-hero-media { position: relative; }
.scholar-hero-media img { object-position: 45% 30%; }
.scholar-hero-badge {
  position: absolute; left: 18px; bottom: 18px; display: grid; gap: 2px;
  padding: 14px 20px; border-radius: 16px; background: var(--navy); color: #fff; box-shadow: var(--shadow);
}
.scholar-hero-badge b { font-family: var(--font-serif); font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 500; line-height: 1; color: var(--gold-2); }
.scholar-hero-badge span { font-size: .82rem; color: #c9d3de; }

.scholar-no { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.scholar-rate { display: grid; justify-items: end; line-height: 1; }
.scholar-rate b { font-family: var(--font-serif); font-size: 2rem; font-weight: 500; color: var(--navy); letter-spacing: -.02em; }
.scholar-rate small { margin-top: 4px; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

.scholar-feature {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 48px); align-items: center;
  padding: clamp(26px, 4vw, 44px); margin-bottom: clamp(16px, 2.4vw, 28px);
  border-radius: var(--radius-l); background: var(--navy); color: #fff;
  background-image: radial-gradient(60% 120% at 100% 0%, rgba(196,154,88,.22), transparent 70%);
}
.scholar-feature .scholar-rate { justify-items: center; padding-right: clamp(20px, 4vw, 48px); border-right: 1px solid rgba(255,255,255,.14); }
.scholar-feature .scholar-rate b { font-size: clamp(3.4rem, 8vw, 5.5rem); color: var(--gold-2); }
.scholar-feature .scholar-rate small { color: #c9d3de; }
.scholar-feature .scholar-no { color: var(--gold-2); }
.scholar-feature h3 { margin: 8px 0 10px; font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.15; }
.scholar-feature p { color: #c9d3de; max-width: 56ch; }
@media (max-width: 640px) {
  .scholar-feature { grid-template-columns: 1fr; }
  .scholar-feature .scholar-rate { justify-items: start; padding: 0 0 18px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
}

.scholar-card {
  display: grid; grid-template-rows: auto auto 1fr; gap: 12px; align-content: start;
  padding: 26px; border-radius: var(--radius-l); background: var(--paper); border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.scholar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.scholar-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.scholar-card h3 { font-size: 1.12rem; }
.scholar-card p { color: var(--muted); font-size: .95rem; }
.scholar-card .scholar-tag { display: flex; gap: 8px; align-items: flex-start; align-self: end; padding: 10px 12px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-ink); font-size: .85rem; font-weight: 500; line-height: 1.4; }
.scholar-tag .i { width: 16px; height: 16px; flex: none; margin-top: 2px; }

.scholar-note {
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
  margin-top: clamp(24px, 3vw, 40px); padding: 22px 26px; border-radius: var(--radius-l);
  border: 1px dashed var(--gold); background: var(--gold-soft);
}
.scholar-note strong { display: block; font-size: 1.05rem; margin-bottom: 2px; }
.scholar-note p { color: var(--muted); font-size: .95rem; }
@media (max-width: 640px) { .scholar-note { grid-template-columns: 1fr; justify-items: start; } }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .big { font-family: var(--font-serif); font-size: clamp(6rem, 20vw, 12rem); line-height: 1; color: var(--gold); font-weight: 400; }

/* ---------- Accreditation partners (logo marquee) ---------- */
.partners .section-head { margin-bottom: clamp(16px, 3vw, 28px); }
.partners .h2 { color: var(--navy); }
.marquee { overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; flex-shrink: 0; margin: 0; padding: 0; list-style: none; }
.marquee-list li { flex-shrink: 0; width: 300px; height: 200px; margin-right: 70px; display: grid; place-items: center; }
.marquee-list img { width: 100%; height: 100%; object-fit: contain; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-25%); } }
@media (max-width: 760px) {
  .marquee-track { animation-duration: 20s; }
  .marquee-list li { width: 200px; height: 130px; margin-right: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none !important; width: auto; justify-content: center; }
  .marquee-list { flex-wrap: wrap; justify-content: center; }
  .marquee-list li { margin-inline: 20px; }
  .marquee-list[aria-hidden="true"] { display: none; }
}

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Google Translate UI suppression ---------- */
.skiptranslate iframe, iframe.skiptranslate, .goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame, .goog-tooltip, #google_translate_element { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
font[style] { background: none !important; box-shadow: none !important; }

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .wa-float, .subnav, .cta-band { display: none !important; }
  body { background: #fff; }
}
