/* ==========================================================================
   Vedanth IIT & NEET Academy
   Brand: Navy + Gold (from logo). Type: Prata / Instrument Sans / Crimson Pro.
   ========================================================================== */

:root {
  --navy-950: #071431;
  --navy-900: #0B1F45;
  --navy-800: #102A5C;
  --navy-700: #1A3A73;
  --navy-100: #E6EAF2;
  --gold: #D7A42F;
  --gold-600: #B8871C;
  --gold-700: #8E6610;
  --gold-200: #F0D995;
  --gold-50:  #FBF4E2;
  --white: #FFFFFF;
  --cream: #F2F4F8;   /* light navy tint for chips, tabs, fills */
  --paper: #F7F8FB;   /* alternate section background */
  --ink: #0F1B33;
  --body: #3E485C;
  --muted: #6B7385;
  --line: rgba(11, 31, 69, .12);
  --line-light: rgba(255, 255, 255, .14);

  --f-display: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-accent: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --radius-lg: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 30px 60px -30px rgba(7, 20, 49, .35);
  --header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 400; line-height: 1.22; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
figure { margin: 0; }
::selection { background: var(--gold); color: var(--navy-950); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 999; background: var(--gold); color: var(--navy-950); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.h2, .h3, .hero__title, .page-hero__title { font-family: var(--f-display); letter-spacing: -.01em; color: var(--ink); }
.h2 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.15rem); line-height: 1.12; margin-bottom: .45em; }
.h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); line-height: 1.15; margin-bottom: .4em; }
.h2 em, .h3 em, .hero__title em, .page-hero__title em, .footer-cta__title em {
  font-family: var(--f-accent); font-style: italic; font-weight: 500; color: var(--gold-600); letter-spacing: 0;
}
.section--navy .h2 em, .page-hero__title em, .hero__title em, .footer-cta__title em { color: var(--gold); }
.lead { font-size: clamp(1.05rem, 1rem + .25vw, 1.2rem); line-height: 1.65; color: var(--body); }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-700); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--gold); --fg: var(--navy-950); --ic-bg: var(--navy-950); --ic-fg: var(--gold);
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  padding: 7px 7px 7px 26px; min-height: 56px;
  border-radius: 999px; background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .5s var(--ease), box-shadow .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--hover-bg, var(--navy-900));
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover { color: var(--hover-fg, #fff); }
.btn__icon {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--ic-bg); color: var(--ic-fg); flex: none;
  transition: transform .55s var(--ease), background .4s, color .4s;
}
.btn__icon .ico { width: 18px; height: 18px; }
.btn:hover .btn__icon { transform: rotate(45deg); background: var(--gold); color: var(--navy-950); }
.btn--sm { min-height: 48px; padding-left: 20px; font-size: .92rem; }
.btn--sm .btn__icon { width: 36px; height: 36px; }
.btn--navy { --bg: var(--navy-900); --fg: #fff; --ic-bg: var(--gold); --ic-fg: var(--navy-950); --hover-bg: var(--gold); --hover-fg: var(--navy-950); }
.btn--navy:hover .btn__icon { background: var(--navy-900); color: var(--gold); }
.btn--gold { --hover-bg: #fff; --hover-fg: var(--navy-950); }
.section--navy .btn--gold, .hero .btn--gold { --hover-bg: #fff; }
.btn--ghost-light {
  --bg: transparent; --fg: #fff; --ic-bg: rgba(255,255,255,.12); --ic-fg: #fff; --hover-bg: #fff; --hover-fg: var(--navy-950);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy-900);
  padding-bottom: 4px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.link-arrow .ico { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow:hover .ico { transform: translateX(4px); }

.ico { width: 22px; height: 22px; flex: none; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-content: center; justify-items: center; gap: 22px;
  background: var(--navy-950); color: #fff;
}
.loader__inner { position: relative; width: 120px; height: 120px; display: grid; place-items: center; }
.loader__inner img { width: 92px; height: 92px; }
.loader__ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.loader__ring circle { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 352; stroke-dashoffset: 352; }
.loader__word { font-family: var(--f-display); letter-spacing: .5em; font-size: .9rem; text-transform: uppercase; color: var(--gold); overflow: hidden; margin: 0; padding-left: .5em; }
.loader__word span { display: inline-block; }
html:not(.js) .loader { display: none; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 18px 0 auto; z-index: 100; transition: transform .6s var(--ease), inset .4s var(--ease); }
.site-header.is-hidden { transform: translateY(-130%); }
.nav-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 10px 12px 10px 18px; border-radius: 20px;
  background: rgba(11, 31, 69, .55);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255,255,255,.1);
  transition: background .4s var(--ease), box-shadow .4s;
}
.site-header.is-scrolled .nav-bar { background: rgba(9, 25, 58, .94); box-shadow: 0 18px 40px -20px rgba(0,0,0,.45); }
.site-header.is-scrolled { inset: 10px 0 auto; }

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__emblem { width: 52px; height: 52px; }
.brand__word { width: auto; height: 46px; }

.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px;
  color: rgba(255,255,255,.82); font-size: .95rem; font-weight: 500; white-space: nowrap; transition: color .3s, background .3s;
}
.nav__link:hover, .nav__item:focus-within > .nav__link { color: #fff; background: rgba(255,255,255,.08); }
.nav__link.is-active { color: var(--gold); }
.nav__caret { width: 10px; height: 6px; transition: transform .3s; }
.has-drop:hover .nav__caret { transform: rotate(180deg); }

.drop {
  position: absolute; top: calc(100% + 14px); left: 50%; width: 300px; padding: 8px;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px); transition: .35s var(--ease);
}
.drop::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop__link { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 12px; transition: background .3s; }
.drop__link:hover { background: var(--cream); }
.drop__link strong { display: block; color: var(--ink); font-weight: 600; font-size: .95rem; }
.drop__link small { color: var(--muted); font-size: .82rem; }
.drop__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--navy-900); color: var(--gold); flex: none; }

.nav-actions { display: flex; align-items: center; gap: 16px; flex: none; }
.nav-actions .btn { white-space: nowrap; flex: none; }
.nav { min-width: 0; }
.nav-call { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: .92rem; line-height: 1.2; white-space: nowrap; flex: none; }
.nav-call small { display: block; font-weight: 500; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.nav-call__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); color: var(--gold); }
.nav-call__icon .ico { width: 18px; height: 18px; }

.burger { display: none; width: 48px; height: 48px; border-radius: 14px; background: var(--gold); position: relative; }
.burger span { position: absolute; left: 13px; height: 2px; background: var(--navy-950); border-radius: 2px; transition: .45s var(--ease); }
.burger span:first-child { top: 19px; width: 22px; }
.burger span:last-child { top: 27px; width: 14px; }
.menu-open .burger span:first-child { top: 23px; transform: rotate(45deg); width: 22px; }
.menu-open .burger span:last-child { top: 23px; transform: rotate(-45deg); width: 22px; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--navy-950); color: #fff;
  clip-path: circle(0% at calc(100% - 50px) 50px); visibility: hidden;
  transition: clip-path .8s var(--ease), visibility 0s .8s;
  overflow-y: auto;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 50px) 50px); visibility: visible; transition: clip-path .8s var(--ease); }
.mobile-menu__inner { padding: 130px var(--gutter) 40px; min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.mobile-menu li { border-bottom: 1px solid var(--line-light); }
.mobile-menu li > a { display: block; padding: 14px 0; font-family: var(--f-display); font-size: clamp(1.8rem, 7vw, 2.6rem); line-height: 1.15; }
.mobile-menu li > a.is-active { color: var(--gold); }
.mobile-menu__sub { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-bottom: 16px; }
.mobile-menu__sub a { color: var(--gold-200); font-size: .95rem; }
.mobile-menu__foot { display: grid; gap: 12px; color: rgba(255,255,255,.75); }
.mobile-menu__foot a { display: flex; gap: 12px; align-items: center; }
.mobile-menu__foot .ico { color: var(--gold); width: 18px; height: 18px; }
.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(760px, 100svh); padding-top: calc(var(--header-h) + 70px); color: #fff; display: flex; flex-direction: column; justify-content: space-between; background: var(--navy-950); overflow: hidden; }
.hero__slides { position: absolute; inset: 0; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; overflow: hidden; visibility: hidden; }
.hero-slide.is-active { visibility: visible; z-index: 1; }
.hero-slide.is-entering { visibility: visible; z-index: 2; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 45%; transform-origin: 60% 50%; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7,20,49,.94) 0%, rgba(7,20,49,.82) 32%, rgba(7,20,49,.35) 62%, rgba(7,20,49,.15) 100%),
    linear-gradient(0deg, rgba(7,20,49,.9) 0%, rgba(7,20,49,0) 38%);
}
.hero__inner { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 780px) minmax(300px, 420px); justify-content: space-between; align-items: end; gap: 40px; }
.hero__shade { z-index: 2; }
.hero-cards { z-index: 3; }
.hero__captions { display: grid; margin-bottom: 34px; }
.hero-caption { grid-area: 1 / 1; visibility: hidden; opacity: 0; align-self: end; }
.hero-caption.is-active { visibility: visible; opacity: 1; }

.hero-nav { padding-bottom: 6px; }
.hero-nav__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.hero-nav__count { margin: 0; color: rgba(255,255,255,.6); font-size: .9rem; font-weight: 500; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.hero-nav__count span { color: #fff; font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; margin-right: 4px; }
.hero-nav__arrows { display: flex; gap: 8px; }
.hero-nav__btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); transition: background .35s var(--ease), color .35s, box-shadow .35s; }
.hero-nav__btn:hover { background: var(--gold); color: var(--navy-950); box-shadow: none; }
.hero-nav__btn .ico { width: 18px; height: 18px; }
.ico.flip { transform: scaleX(-1); }
.hero-nav__btn .ico-play { display: none; }
.hero.is-paused .hero-nav__btn .ico-play { display: block; }
.hero.is-paused .hero-nav__btn .ico-pause { display: none; }
.hero-tabs { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 14px; }
.hero-tab { width: 100%; text-align: left; color: rgba(255,255,255,.55); transition: color .35s; }
.hero-tab:hover, .hero-tab.is-active { color: #fff; }
.hero-tab__bar { display: block; height: 2px; background: rgba(255,255,255,.22); border-radius: 2px; overflow: hidden; margin-bottom: 12px; }
.hero-tab__bar span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.hero-tab.is-done .hero-tab__bar span { transform: scaleX(1); }
.hero-tab__label { display: block; font-size: .78rem; font-weight: 500; line-height: 1.35; }
.hero-tab__label b { display: block; font-weight: 600; color: var(--gold); font-size: .72rem; letter-spacing: .1em; margin-bottom: 2px; }
.no-motion .hero-tab.is-active .hero-tab__bar span { transform: scaleX(1); }
.hero__title { color: #fff; font-size: clamp(2.2rem, 1.2rem + 3vw, 3.9rem); line-height: 1.1; margin-bottom: 24px; }
.hero__lead { max-width: 600px; font-size: clamp(1.02rem, .95rem + .3vw, 1.18rem); color: rgba(255,255,255,.8); margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__badge { justify-self: end; position: relative; width: 168px; height: 168px; display: grid; place-items: center; margin-bottom: 6px; }
.hero__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__badge text { font-family: var(--f-body); font-size: 13px; font-weight: 600; letter-spacing: 3.3px; fill: rgba(255,255,255,.85); }
.hero__badge img { width: 92px; height: 92px; }
.spin { animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-cards { position: relative; display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 18px; margin-top: 56px; transform: translateY(1px); }
.hero-card {
  display: flex; gap: 16px; align-items: flex-start; padding: 26px 24px 30px; color: #fff;
  background: var(--navy-900); border-radius: var(--radius) var(--radius) 0 0; border: 1px solid var(--line-light); border-bottom: 0;
  transition: background .4s var(--ease), transform .5s var(--ease);
}
.hero-card:hover { transform: translateY(-6px); background: var(--navy-800); }
.hero-card--gold { background: var(--gold); color: var(--navy-950); border-color: transparent; }
.hero-card--gold:hover { background: var(--gold-200); }
.hero-card__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: rgba(255,255,255,.08); color: var(--gold); flex: none; }
.hero-card--gold .hero-card__icon { background: var(--navy-950); color: var(--gold); }
.hero-card__body { flex: 1; }
.hero-card__body strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; line-height: 1.2; margin-bottom: 6px; }
.hero-card__body span { font-size: .93rem; line-height: 1.5; opacity: .78; }
.hero-card__go { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid currentColor; opacity: .55; transition: .4s var(--ease); flex: none; }
.hero-card__go .ico { width: 16px; height: 16px; }
.hero-card:hover .hero-card__go { opacity: 1; transform: rotate(45deg); }

/* ---------- Ticker ---------- */
.ticker { background: var(--navy-950); color: #fff; overflow: hidden; padding: 20px 0; border-top: 1px solid var(--line-light); }
.ticker__track { display: flex; width: max-content; }
.ticker__group { display: flex; flex: none; }
.ticker__group li { display: flex; align-items: center; gap: 36px; padding-right: 36px; font-family: var(--f-display); font-size: clamp(1.05rem, .9rem + .6vw, 1.5rem); white-space: nowrap; }
.ticker__star { width: 16px; height: 16px; fill: var(--gold); }
html:not(.js) .ticker__track, .no-motion .ticker__track { animation: marquee 40s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 9vw, 140px) 0; }
.section--navy { background: var(--navy-900); color: rgba(255,255,255,.76); }
.section--navy .h2, .section--navy h3 { color: #fff; }
.section--navy .lead { color: rgba(255,255,255,.75); }
.section-head { margin-bottom: clamp(44px, 5vw, 72px); }
.section-head--center { text-align: center; max-width: 760px; margin-inline: auto; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-head--split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px 80px; align-items: end; }
.section-head--split .h2 { margin-bottom: 0; }
.section-head--split .lead { margin-bottom: 8px; }
.hint { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-700); }
.hint .ico { width: 16px; height: 16px; }

.card { background: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(7,20,49,.25); }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.about__media { position: relative; padding: 0 0 14% 0; width: 100%; max-width: 620px; }
/* thin gold corner frame behind the main photo */
.about__media::before { content: ""; position: absolute; left: -14px; top: -14px; width: 38%; height: 38%; border-left: 1px solid var(--gold); border-top: 1px solid var(--gold); border-top-left-radius: calc(var(--radius-lg) + 14px); pointer-events: none; }
.about__img { overflow: hidden; border-radius: var(--radius-lg); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--main { width: 78%; aspect-ratio: 4 / 4.6; }
.about__img--main img { height: 112%; }
.about__img--small { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 1 / 1; border: 8px solid var(--white); border-radius: 26px; box-shadow: 0 30px 60px -30px rgba(7,20,49,.45); }
.about__stamp {
  position: absolute; left: 20px; top: 20px; display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; border-radius: 16px; background: var(--navy-900); color: #fff; box-shadow: var(--shadow);
}
.about__stamp-year { font-family: var(--f-display); font-size: 2.4rem; line-height: 1; color: var(--gold); }
.about__stamp-label { font-size: .8rem; line-height: 1.35; letter-spacing: .04em; color: rgba(255,255,255,.75); }

.values { display: grid; gap: 4px; margin: 34px 0 40px; border-top: 1px solid var(--line); }
.values li { display: flex; align-items: center; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.values li > span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--gold-50); color: var(--gold-700); flex: none; }
.values strong { display: block; color: var(--ink); font-weight: 600; font-size: 1.05rem; }
.values small { color: var(--muted); font-size: .9rem; }
.about__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 32px; }
.signature { margin: 0; font-family: var(--f-accent); font-style: italic; font-size: 1.35rem; color: var(--navy-800); }

/* ---------- Apart ---------- */
.apart { overflow: hidden; }
.apart__bg { position: absolute; inset: 0; background: radial-gradient(60% 50% at 0% 0%, rgba(215,164,47,.12), transparent 70%); pointer-events: none; }
.apart__grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 7vw, 110px); align-items: start; }
.apart__head { position: sticky; top: 130px; }
.apart__img { margin-top: 40px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; }
.apart__img img { width: 100%; height: 100%; object-fit: cover; }
.apart__list { border-top: 1px solid var(--line-light); }
.apart__item { display: grid; grid-template-columns: 64px 1fr 48px; gap: 20px; padding: 32px 0; border-bottom: 1px solid var(--line-light); align-items: start; transition: padding .5s var(--ease); }
.apart__item:hover { padding-left: 12px; }
.apart__num { font-family: var(--f-display); font-size: 1.1rem; color: var(--gold); padding-top: 6px; }
.apart__item h3 { font-family: var(--f-display); font-size: clamp(1.3rem, 1.1rem + .6vw, 1.7rem); line-height: 1.2; margin-bottom: 10px; }
.apart__item p { margin: 0; color: rgba(255,255,255,.66); }
.apart__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-light); color: var(--gold); transition: .5s var(--ease); }
.apart__item:hover .apart__icon { background: var(--gold); color: var(--navy-950); border-color: var(--gold); transform: rotate(-12deg); }

/* ---------- Programmes ---------- */
.prog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.prog-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.prog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.prog-card__media { position: relative; display: block; aspect-ratio: 16 / 8.5; overflow: hidden; }
.prog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.prog-card:hover .prog-card__media img { transform: scale(1.06); }
.prog-card__tag { position: absolute; left: 20px; top: 20px; padding: 8px 14px; border-radius: 999px; background: rgba(7,20,49,.78); color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .06em; backdrop-filter: blur(6px); }
.prog-card__body { padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; flex: 1; }
.prog-card__top { display: flex; gap: 18px; align-items: center; margin: -68px 0 22px; }
.prog-card__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; background: var(--navy-900); color: var(--gold); border: 5px solid #fff; flex: none; position: relative; }
.prog-card--bipc .prog-card__icon { background: var(--gold); color: var(--navy-950); }
.prog-card__icon .ico { width: 28px; height: 28px; }
.prog-card__top > div { padding-top: 34px; }
.prog-card__for { margin: 0 0 2px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700); }
.prog-card__title { font-family: var(--f-display); font-size: clamp(1.6rem, 1.3rem + .9vw, 2.1rem); line-height: 1.1; }
.prog-card__subjects { font-weight: 600; color: var(--navy-800); font-size: .95rem; margin-bottom: 12px; }
.prog-card__careers { margin: 8px 0 28px; padding-top: 22px; border-top: 1px dashed var(--line); }
.label { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border-radius: 999px; background: var(--cream); color: var(--navy-900); font-size: .88rem; font-weight: 500; }
.prog-card .link-arrow { margin-top: auto; align-self: flex-start; }

/* ---------- Chairman ---------- */
.chair { background: var(--navy-950); color: #fff; overflow: hidden; position: relative; }
.chair::before { content: ""; position: absolute; right: -10%; top: -40%; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(215,164,47,.18); }
.chair::after { content: ""; position: absolute; right: 2%; top: -20%; width: 46%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(215,164,47,.12); }
.chair__grid { position: relative; z-index: 1; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: end; }
.chair__photo { align-self: end; margin-top: 70px; }
.chair__photo img { width: 100%; max-width: 460px; filter: drop-shadow(0 30px 40px rgba(0,0,0,.4)); }
.chair__copy { padding: clamp(70px, 8vw, 120px) 0; }
.chair__mark { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: var(--navy-950); margin-bottom: 28px; }
.chair__mark .ico { width: 28px; height: 28px; }
.chair__quote { margin: 0 0 26px; font-family: var(--f-display); font-size: clamp(1.7rem, 1.1rem + 2vw, 2.9rem); line-height: 1.22; color: #fff; }
.chair__advice { font-family: var(--f-accent); font-style: italic; font-size: 1.35rem; color: var(--gold-200); max-width: 560px; }
.chair__name { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line-light); display: grid; }
.chair__name strong { color: #fff; font-size: 1.1rem; }
.chair__name span { color: rgba(255,255,255,.6); font-size: .92rem; }

/* ---------- Campus life (horizontal) ---------- */
.campus-life { overflow: hidden; }
.campus-life .section-head { margin-bottom: 48px; }
.hscroll { padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.hscroll__track { display: flex; gap: 24px; width: max-content; padding-right: var(--gutter); }
.facility { width: clamp(300px, 32vw, 440px); flex: none; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.facility__media { aspect-ratio: 4 / 3.1; overflow: hidden; background: var(--navy-900); }
.facility__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.facility:hover .facility__media img { transform: scale(1.06); }
.facility--cutout .facility__media { display: grid; place-items: center; background: radial-gradient(circle at 50% 120%, var(--navy-700), var(--navy-950) 70%); }
.facility--cutout .facility__media { position: relative; }
.facility--cutout .facility__media img { position: absolute; inset: 8% 6%; width: 88%; height: 84%; object-fit: contain; }
.facility__body { padding: 26px 28px 30px; }
.facility__num { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .14em; color: var(--muted); margin-bottom: 14px; }
.facility h3 { display: flex; align-items: center; gap: 12px; font-family: var(--f-display); font-size: 1.4rem; line-height: 1.2; margin-bottom: 10px; }
.facility__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--gold-50); color: var(--gold-700); flex: none; }
.facility__icon .ico { width: 20px; height: 20px; }
.facility p { margin: 0; color: var(--body); }

/* ---------- Campuses ---------- */
.campuses { background: var(--paper); }
.campuses__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.campuses__img { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1; }
.campuses__img img { width: 100%; height: 100%; object-fit: cover; }
.campuses__img figcaption { position: absolute; inset: auto 16px 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.campuses__img figcaption span { padding: 10px 14px; border-radius: 12px; background: rgba(7,20,49,.8); color: #fff; font-size: .85rem; font-weight: 600; text-align: center; backdrop-filter: blur(6px); }
.campus-cards { display: grid; gap: 16px; margin-top: 30px; }
.campus-card { padding: 24px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: border-color .4s, transform .5s var(--ease); }
.campus-card:hover { border-color: var(--gold); transform: translateX(6px); }
.campus-card h3 { font-family: var(--f-display); font-size: 1.4rem; margin-bottom: 10px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.campus-card h3 span { font-family: var(--f-body); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-700); }
.campus-card p { display: flex; gap: 10px; font-size: .95rem; color: var(--muted); }
.campus-card p .ico { color: var(--gold-600); width: 20px; height: 20px; margin-top: 3px; }
.campus-card__foot { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-top: 14px; margin-top: 14px; border-top: 1px solid var(--line); }
.campus-card__foot a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy-900); font-size: .95rem; }
.campus-card__foot a:hover { color: var(--gold-700); }
.campus-card__foot .ico { width: 18px; height: 18px; color: var(--gold-600); }

/* ---------- Steps ---------- */
.steps__wrap { position: relative; }
.steps__line { position: absolute; left: 0; right: 0; top: 36px; height: 1px; background: var(--line-light); }
.section:not(.section--navy) .steps__line { background: var(--line); }
.steps__line span { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.steps__list { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 40px; counter-reset: s; }
.step { position: relative; }
.step__num { position: relative; z-index: 1; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; margin-bottom: 30px; background: var(--navy-900); border: 1px solid var(--gold); color: var(--gold); font-family: var(--f-display); font-size: 1.4rem; }
.section:not(.section--navy) .step__num { background: var(--cream); color: var(--gold-700); }
.step__title { font-family: var(--f-display); font-size: 1.6rem; margin-bottom: 12px; }
.step p { max-width: 340px; }
.steps__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 32px; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line-light); }
.section:not(.section--navy) .steps__cta { border-color: var(--line); }
.steps__cta p { margin: 0; }
.steps__cta a:not(.btn) { color: var(--gold); font-weight: 600; white-space: nowrap; }
.section:not(.section--navy) .steps__cta a:not(.btn) { color: var(--navy-900); }

/* ---------- Talk (form + FAQ) ---------- */
.talk__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.talk__form { position: sticky; top: 120px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; margin-top: 26px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__hp { position: absolute; left: -9999px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 26px 18px 10px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--paper); font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .3s, background .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field label { position: absolute; left: 19px; top: 18px; color: var(--muted); pointer-events: none; transition: .25s var(--ease); font-size: 1rem; }
.field label em { font-style: normal; opacity: .7; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(215,164,47,.15); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 8px; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: var(--gold-700); }
.field.is-invalid input { border-color: #B3261E; }
.choice { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.choice legend { width: 100%; margin-bottom: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.choice__opt { position: relative; }
.choice__opt input { position: absolute; opacity: 0; }
.choice__opt span { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-weight: 500; font-size: .95rem; cursor: pointer; transition: .3s var(--ease); }
.choice__opt .ico { width: 18px; height: 18px; color: var(--gold-600); }
.choice__opt input:checked + span { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.choice__opt input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.choice.is-invalid .choice__opt span { border-color: #B3261E; }
.form__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 6px; }
.form__status { margin: 0; font-size: .95rem; font-weight: 500; }
.form__status.is-error { color: #B3261E; }
.form__status.is-ok { color: #1E6B3A; }
.form.is-sent .form__grid, .form.is-sent .choice, .form.is-sent .field--area, .form.is-sent .form__foot .btn { display: none; }
.form-success { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 16px; background: var(--gold-50); color: var(--navy-900); }
.form-success .ico { width: 30px; height: 30px; color: var(--gold-700); }
.form-success strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; margin-bottom: 4px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); margin-top: 30px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { margin: 0; font-family: var(--f-body); }
.faq__q button { width: 100%; display: grid; grid-template-columns: 40px 1fr 40px; gap: 12px; align-items: center; text-align: left; padding: 22px 0; color: var(--ink); font-weight: 600; font-size: 1.05rem; line-height: 1.4; }
.faq__n { font-family: var(--f-display); font-weight: 400; color: var(--gold-600); font-size: .95rem; }
.faq__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); transition: .45s var(--ease); }
.faq__icon .ico { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.faq__q button[aria-expanded="true"] .faq__icon { background: var(--navy-900); color: var(--gold); border-color: var(--navy-900); }
.faq__q button[aria-expanded="true"] .faq__icon .ico { transform: rotate(135deg); }
.faq__a { overflow: hidden; }
.faq__a p { padding: 0 52px 24px; margin: 0; color: var(--body); }
.section--navy .faq, .section--navy .faq__item { border-color: var(--line-light); }
.section--navy .faq__q button { color: #fff; }
.section--navy .faq__a p { color: rgba(255,255,255,.7); }
.section--navy .faq__icon { border-color: var(--line-light); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + 110px) 0 clamp(70px, 8vw, 120px); color: #fff; background: var(--navy-950); overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 120%; object-fit: cover; opacity: .38; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,20,49,.95) 0%, rgba(7,20,49,.7) 55%, rgba(7,20,49,.4) 100%); }
.page-hero__inner { position: relative; z-index: 1; max-width: calc(980px + var(--gutter) * 2); margin-left: max(0px, calc((100vw - var(--container)) / 2 - var(--gutter))); }
@media (min-width: 1361px) { .page-hero__inner { margin-left: calc((100vw - var(--container)) / 2 - var(--gutter)); } }
.page-hero__title { color: #fff; font-size: clamp(2.1rem, 1.2rem + 3vw, 3.8rem); line-height: 1.1; margin-bottom: 24px; }
.page-hero__lead { max-width: 680px; color: rgba(255,255,255,.8); font-size: clamp(1.02rem, .95rem + .3vw, 1.2rem); margin-bottom: 32px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: .88rem; color: rgba(255,255,255,.6); margin-bottom: 28px; }
.crumbs a:hover { color: var(--gold); }
.crumbs [aria-current] { color: #fff; }

/* ---------- About page ---------- */
.intro__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.intro__text .lead:first-of-type::first-letter { float: left; font-family: var(--f-display); font-size: 4.6rem; line-height: .82; padding: 8px 12px 0 0; color: var(--gold-600); }
.facts { border-radius: var(--radius-lg); background: var(--navy-900); color: #fff; padding: clamp(26px, 3vw, 40px); }
.facts h3 { color: var(--gold); font-family: var(--f-body); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; }
.facts dl { margin: 0; }
.facts div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-light); }
.facts div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { color: rgba(255,255,255,.55); font-size: .9rem; }
.facts dd { margin: 0; color: #fff; font-weight: 500; }
.facts dd strong { font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; color: var(--gold); line-height: 1; }

.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm__card { position: relative; padding: clamp(30px, 4vw, 52px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; }
.vm__card--navy { background: var(--navy-900); color: rgba(255,255,255,.75); border: 0; }
.vm__card--navy h3, .vm__card--navy .h3 { color: #fff; }
.vm__card .h3 em { font-family: var(--f-accent); font-style: italic; color: var(--gold-600); }
.vm__card--navy .h3 em { color: var(--gold); }
.vm__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: var(--gold); color: var(--navy-950); margin-bottom: 26px; }
.ticks { display: grid; gap: 14px; margin-top: 20px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.ticks .ico { width: 22px; height: 22px; color: var(--gold-600); margin-top: 3px; }
.vm__card--navy .ticks .ico, .section--navy .ticks .ico { color: var(--gold); }

.pull { padding: clamp(60px, 7vw, 110px) 0; text-align: center; }
.pull blockquote { margin: 0 auto; max-width: 980px; font-family: var(--f-display); font-size: clamp(1.8rem, 1rem + 2.6vw, 3.4rem); line-height: 1.2; color: var(--ink); }
.pull blockquote em { font-family: var(--f-accent); color: var(--gold-600); }
.pull cite { display: block; margin-top: 24px; font-style: normal; font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.value-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { padding: 34px 30px; border-radius: var(--radius-lg); border: 1px solid var(--line-light); background: rgba(255,255,255,.03); transition: background .5s var(--ease), transform .5s var(--ease); }
.value-card:hover { background: rgba(255,255,255,.07); transform: translateY(-6px); }
.value-card span.vm__icon { margin-bottom: 30px; }
.value-card h3 { font-family: var(--f-display); font-size: 1.6rem; margin-bottom: 10px; }
.value-card p { color: rgba(255,255,255,.66); margin: 0; }

.leaders { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.leader { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.leader__photo { aspect-ratio: 4 / 4.6; overflow: hidden; background: linear-gradient(160deg, var(--navy-700), var(--navy-950)); }
.leader__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1s var(--ease), filter .6s; filter: grayscale(.15); }
.leader__photo--cutout img { object-fit: cover; object-position: center 10%; }
.leader:hover .leader__photo img { transform: scale(1.05); filter: none; }
.leader__body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.leader__name { font-family: var(--f-display); font-size: 1.35rem; line-height: 1.2; }
.leader__role { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-700); line-height: 1.4; }
.leader__quote { margin: 6px 0 0; font-family: var(--f-accent); font-style: italic; font-size: 1.15rem; line-height: 1.4; color: var(--navy-800); }
.leader__text { font-size: .93rem; color: var(--muted); margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.split--top { align-items: start; }
.split--top > .is-sticky { position: sticky; top: calc(var(--header-h) + 40px); }
.split__img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.4; }
.split__img img { width: 100%; height: 100%; object-fit: cover; }

/* Comparison table */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.compare { width: 100%; border-collapse: collapse; min-width: 820px; font-size: .97rem; }
.compare th, .compare td { padding: 22px 24px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--navy-900); color: #fff; font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.compare tbody th { font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; color: var(--ink); width: 18%; }
.compare tbody th small { display: block; margin-top: 6px; font-family: var(--f-body); font-size: .78rem; color: var(--gold-700); letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare tbody tr:hover { background: var(--paper); }
.note { margin-top: 22px; color: var(--muted); font-size: .95rem; max-width: 900px; }

/* Unique grid */
.unique { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.unique__item { background: var(--paper); padding: 36px 32px; transition: background .5s var(--ease); }
.unique__item:hover { background: #fff; }
.unique__item .facility__icon { width: 52px; height: 52px; border-radius: 16px; margin-bottom: 24px; }
.unique__item .facility__icon .ico { width: 24px; height: 24px; }
.unique__item h3 { font-family: var(--f-display); font-size: 1.35rem; margin-bottom: 10px; line-height: 1.2; }
.unique__item p { margin: 0; font-size: .97rem; }

/* Day / timetable */
.day { background: var(--paper); }
.day__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.day__intro { position: sticky; top: 130px; }
.tabs { display: inline-flex; padding: 6px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); margin: 14px 0 20px; }
.tabs__btn { padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--muted); transition: .35s var(--ease); }
.tabs__btn.is-active { background: var(--navy-900); color: #fff; }
.day__note { color: var(--muted); font-size: .97rem; max-width: 460px; }
.schedule { --time-w: 180px; --col-gap: 24px; --dot: 48px; --row-pad: 14px; position: relative; }
/* Line runs through the centre of the first dot to the centre of the last */
.schedule::before { content: ""; position: absolute; left: calc(var(--time-w) + var(--col-gap) + var(--dot) / 2 - .5px); top: calc(var(--row-pad) + var(--dot) / 2); bottom: calc(var(--row-pad) + var(--dot) / 2); width: 1px; background: var(--line); }
.schedule__row { position: relative; display: grid; grid-template-columns: var(--time-w) var(--dot) 1fr; gap: 0 var(--col-gap); align-items: center; padding: var(--row-pad) 0; }
.schedule__time { font-weight: 600; color: var(--navy-900); font-variant-numeric: tabular-nums; text-align: right; font-size: .97rem; }
.schedule__dot { position: relative; z-index: 1; display: grid; place-items: center; width: var(--dot); height: var(--dot); border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--gold-700); transition: .4s var(--ease); }
.schedule__dot .ico { width: 20px; height: 20px; }
.schedule__row:hover .schedule__dot { background: var(--navy-900); color: var(--gold); border-color: var(--navy-900); }
.schedule__what { font-family: var(--f-display); font-size: 1.2rem; color: var(--ink); line-height: 1.3; }


/* ---------- Course page ---------- */
.glance { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.glance div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.glance div:nth-child(odd) { padding-right: 32px; }
.glance div:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--line); }
.glance dt { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-700); padding-top: 3px; }
.glance dd { margin: 0; color: var(--ink); font-weight: 500; }

.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.offer { padding: 30px 28px; border-radius: var(--radius); border: 1px solid var(--line-light); background: rgba(255,255,255,.03); transition: background .4s, border-color .4s; }
.offer:hover { background: rgba(255,255,255,.07); border-color: rgba(215,164,47,.4); }
.offer__n { display: block; font-family: var(--f-display); color: var(--gold); font-size: 1rem; margin-bottom: 18px; }
.offer h3 { font-family: var(--f-display); font-size: 1.3rem; line-height: 1.25; margin-bottom: 10px; color: #fff; }
.offer p { margin: 0; color: rgba(255,255,255,.66); font-size: .96rem; }

.subjects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.subject { border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); padding: 34px 30px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.subject__letter { position: absolute; right: 16px; top: -18px; font-family: var(--f-display); font-size: 8rem; line-height: 1; color: var(--gold-50); pointer-events: none; }
.subject .vm__icon { width: 54px; height: 54px; margin-bottom: 6px; position: relative; }
.subject h3 { font-family: var(--f-display); font-size: 1.7rem; position: relative; }
.subject dl { margin: 0; display: grid; gap: 14px; position: relative; }
.subject dt { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 4px; }
.subject dd { margin: 0; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process__step { padding: 36px 28px 40px; border-right: 1px solid var(--line); position: relative; }
.process__step:first-child { padding-left: 0; }
.process__step:last-child { border-right: 0; padding-right: 0; }
.process__k { display: block; font-family: var(--f-accent); font-style: italic; font-size: 3.4rem; line-height: 1; color: var(--gold-600); margin-bottom: 22px; }
.process__step h3 { font-family: var(--f-display); font-size: 1.4rem; margin-bottom: 12px; }
.process__step p { font-size: .97rem; margin: 0; }
.callout { margin-top: 36px; display: flex; gap: 18px; align-items: center; padding: 22px 26px; border-radius: var(--radius); background: var(--gold-50); color: var(--navy-900); font-weight: 500; }
.callout .ico { width: 28px; height: 28px; color: var(--gold-700); }

.careers { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.career-path { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.career-path li { padding: 14px 22px; border-radius: 999px; border: 1px solid var(--gold); color: #fff; font-family: var(--f-display); font-size: 1.15rem; }
.career-path li:first-child { background: var(--gold); color: var(--navy-950); }

.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fit__card { padding: clamp(28px, 4vw, 46px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.fit__card--q { background: var(--navy-900); color: rgba(255,255,255,.75); border: 0; }
.fit__card--q .h3 { color: #fff; }
.qlist { counter-reset: q; display: grid; gap: 4px; margin-top: 18px; }
.qlist li { counter-increment: q; display: grid; grid-template-columns: 38px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line-light); }
.qlist li::before { content: counter(q, decimal-leading-zero); font-family: var(--f-display); color: var(--gold); font-size: .95rem; padding-top: 2px; }
.qlist li:last-child { border-bottom: 0; }
.fit__foot { margin-top: 20px; color: var(--gold-200); font-family: var(--f-accent); font-style: italic; font-size: 1.2rem; }

.faculty-list { display: grid; gap: 18px; }
.faculty-row { display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: center; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.faculty-row img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--navy-900); }
.faculty-row h3 { font-family: var(--f-display); font-size: 1.3rem; }
.faculty-row .leader__role { display: block; margin: 4px 0 8px; }
.faculty-row q { font-family: var(--f-accent); font-style: italic; font-size: 1.1rem; color: var(--navy-800); }
.faculty-row--plain { grid-template-columns: 56px 1fr; }
.faculty-row--plain .vm__icon { width: 56px; height: 56px; margin: 0; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-list { display: grid; gap: 14px; margin-top: 30px; }
.contact-item { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: center; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s, transform .4s var(--ease); }
a.contact-item:hover { border-color: var(--gold); transform: translateX(6px); }
.contact-item .facility__icon { width: 52px; height: 52px; border-radius: 14px; }
.contact-item small { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-item strong { color: var(--ink); font-weight: 600; }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 21 / 9; background: var(--navy-100); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.3) contrast(1.05); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--navy-950); color: rgba(255,255,255,.66); }

/* Gold admissions card that straddles page and footer */
.fcta-wrap { background: linear-gradient(180deg, var(--white) 50%, var(--navy-950) 50%); }
.fcta {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 56px; align-items: center;
  padding: clamp(32px, 4vw, 56px) clamp(26px, 4.5vw, 68px);
  border-radius: 32px; background: var(--gold); color: var(--navy-950);
  box-shadow: 0 40px 80px -40px rgba(7,20,49,.6);
}
.fcta::before, .fcta::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; border: 1px solid rgba(7,20,49,.14); pointer-events: none; }
.fcta::before { width: 520px; height: 520px; right: -140px; top: -260px; }
.fcta::after { width: 340px; height: 340px; right: -50px; top: -170px; }
.fcta__emblem { position: absolute; z-index: -1; right: 6%; bottom: -70px; width: 220px; opacity: .1; filter: grayscale(1) contrast(1.4); pointer-events: none; }
.fcta__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 7px 14px; border-radius: 999px; background: rgba(7,20,49,.08); font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.fcta__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--navy-950); }
.fcta__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--navy-950); animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.fcta__title { margin: 0; max-width: 720px; font-size: clamp(1.6rem, 1rem + 2vw, 2.7rem); font-weight: 600; line-height: 1.15; letter-spacing: -.028em; color: var(--navy-950); }
.fcta__title em { font-style: italic; font-weight: 500; color: var(--navy-700); }
.fcta__actions { display: flex; flex-direction: column; gap: 12px; }
.fcta__actions .btn { justify-content: space-between; }
.fcta .btn--navy { --hover-bg: #fff; --hover-fg: var(--navy-950); }
.btn--outline-navy { --bg: transparent; --fg: var(--navy-950); --ic-bg: rgba(7,20,49,.1); --ic-fg: var(--navy-950); --hover-bg: var(--navy-950); --hover-fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(7,20,49,.45); }

.footer-body { position: relative; overflow: hidden; padding-top: clamp(64px, 7vw, 100px); }
.footer-body::before { content: ""; position: absolute; left: -10%; top: -20%; width: 60%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(215,164,47,.09), transparent); pointer-events: none; }
.footer-body > .container { position: relative; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(44px, 6vw, 100px); }
.footer-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.footer-logo img:first-child { width: 64px; height: 64px; }
.footer-logo img:last-child { width: 170px; height: auto; }
.footer-brand > p { max-width: 430px; font-size: .97rem; line-height: 1.7; }

.ftiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 30px; }
.ftile { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.035); border: 1px solid var(--line-light); transition: border-color .35s, background .35s, transform .45s var(--ease); min-width: 0; }
.ftile:hover { border-color: rgba(215,164,47,.6); background: rgba(255,255,255,.06); transform: translateY(-3px); }
.ftile__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(215,164,47,.14); color: var(--gold); flex: none; transition: background .35s, color .35s; }
.ftile:hover .ftile__icon { background: var(--gold); color: var(--navy-950); }
.ftile__icon .ico { width: 19px; height: 19px; }
.ftile > span:last-child { min-width: 0; }
.ftile small { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.48); }
.ftile strong { display: block; color: #fff; font-weight: 500; font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 24px; align-content: start; }
.footer-col h3 { color: var(--gold); font-family: var(--f-body); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { display: inline-flex; align-items: center; gap: 0; color: rgba(255,255,255,.74); font-size: .97rem; transition: color .3s, transform .4s var(--ease); }
.footer-col a::before { content: ""; width: 0; height: 1px; margin-right: 0; background: var(--gold); transition: width .4s var(--ease), margin .4s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-col a:hover::before { width: 14px; margin-right: 8px; }

.fvisit { grid-column: 1 / -1; display: grid; grid-template-columns: 180px 1fr; border-radius: 20px; overflow: hidden; background: rgba(255,255,255,.035); border: 1px solid var(--line-light); transition: border-color .35s; }
.fvisit:hover { border-color: rgba(215,164,47,.6); }
.fvisit__img { display: block; overflow: hidden; min-height: 140px; }
.fvisit__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.fvisit:hover .fvisit__img img { transform: scale(1.06); }
.fvisit__body { display: flex; flex-direction: column; gap: 6px; padding: 20px 24px; }
.fvisit__body small { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.fvisit__body strong { color: #fff; font-weight: 500; font-size: .95rem; line-height: 1.55; }
.fvisit__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: .9rem; font-weight: 600; color: var(--gold); }
.fvisit__go .ico { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.fvisit:hover .fvisit__go .ico { transform: translate(3px, -3px); }

.footer-sign { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; margin-top: clamp(56px, 6vw, 90px); padding: clamp(28px, 3vw, 40px) 0; border-top: 1px solid var(--line-light); }
.footer-sign__motto { margin: 0; font-size: clamp(1.8rem, .9rem + 3.4vw, 4.2rem); font-weight: 600; line-height: 1.05; letter-spacing: -.035em; color: #fff; }
.footer-sign__motto em { font-style: italic; font-weight: 500; color: var(--gold); }
.footer-top { display: inline-flex; align-items: center; gap: 14px; color: rgba(255,255,255,.8); font-size: .9rem; font-weight: 600; flex: none; }
.footer-top__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(215,164,47,.5); color: var(--gold); transition: background .35s, color .35s, box-shadow .35s; }
.footer-top__icon .ico { width: 20px; height: 20px; transform: rotate(-45deg); transition: transform .45s var(--ease); }
.footer-top:hover { color: #fff; }
.footer-top:hover .footer-top__icon { background: var(--gold); color: var(--navy-950); box-shadow: none; }
.footer-top:hover .footer-top__icon .ico { transform: rotate(-45deg) translate(2px, -2px); }

.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 30px; padding: 22px 0 28px; border-top: 1px solid var(--line-light); font-size: .86rem; color: rgba(255,255,255,.45); }
.footer-bottom p { margin: 0; }

@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .fcta { grid-template-columns: 1fr; border-radius: 24px; }
  .fcta__actions .btn { width: 100%; }
  .fcta__emblem { width: 160px; right: -20px; bottom: -40px; }
  .ftiles { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .fvisit { grid-template-columns: 1fr; }
  .fvisit__img { height: 150px; }
  .footer-sign { flex-direction: column; align-items: flex-start; }
}

.to-top { position: fixed; right: 30px; bottom: 92px; z-index: 80; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy-900); color: #fff; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .4s var(--ease); }
.to-top .ico { width: 18px; height: 18px; transform: rotate(-45deg); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__scrim { position: absolute; inset: 0; background: rgba(7,20,49,.7); backdrop-filter: blur(4px); opacity: 0; transition: opacity .5s var(--ease); }
.modal.is-open .modal__scrim { opacity: 1; }
.modal__panel { position: relative; width: min(1000px, 100%); max-height: calc(100svh - 40px); overflow: auto; display: grid; grid-template-columns: .8fr 1.2fr; background: var(--white); border-radius: var(--radius-lg); box-shadow: 0 50px 100px -40px rgba(0,0,0,.6); opacity: 0; transform: translateY(40px) scale(.98); transition: .6s var(--ease); overscroll-behavior: contain; }
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__close { position: absolute; right: 16px; top: 16px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--navy-900); transition: transform .4s var(--ease); }
.modal__close:hover { transform: rotate(90deg); }
.modal__aside { position: relative; min-height: 100%; color: #fff; display: flex; align-items: flex-end; }
.modal__aside img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal__aside::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,20,49,.95) 10%, rgba(7,20,49,.15) 70%); }
.modal__aside-copy { position: relative; z-index: 1; padding: 30px; }
.modal__aside-title { font-family: var(--f-display); font-size: 1.6rem; line-height: 1.2; }
.modal__aside-copy a { display: inline-flex; gap: 10px; align-items: center; color: var(--gold); font-weight: 600; }
.modal__aside-copy .ico { width: 18px; height: 18px; }
.modal__body { padding: clamp(28px, 4vw, 48px); }
.modal__body h2 { font-family: var(--f-display); font-size: clamp(1.7rem, 1.3rem + 1vw, 2.3rem); line-height: 1.1; margin-bottom: 10px; }
.modal__lead { color: var(--muted); margin: 0; }
.modal-open { overflow: hidden; }

/* ---------- 404 ---------- */
.notfound { background: var(--paper); min-height: 80vh; display: grid; place-items: center; text-align: center; padding: 160px 0 100px; }
.notfound__code { font-family: var(--f-display); font-size: clamp(6rem, 20vw, 14rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--gold-600); }

/* ---------- Motion helpers ---------- */
.js [data-reveal], .js [data-reveal-list] > *, .js [data-hero-fade], .js [data-hero-card] { opacity: 0; }
.js [data-clip] { clip-path: inset(100% 0 0 0); }
.no-motion [data-reveal], .no-motion [data-reveal-list] > *, .no-motion [data-hero-fade], .no-motion [data-hero-card] { opacity: 1 !important; }
.no-motion [data-clip] { clip-path: none !important; }
.no-motion .steps__line span { transform: none !important; }
.split-line { overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }

/* ==========================================================================
   Responsive
   ========================================================================== */
/* Seven menu items and the full phone number don't fit the 1280px header, so the call
   button shows its icon only (the number is in its tooltip and the mobile menu). */
.nav-call__text { display: none; }
.nav-call__icon { transition: background .3s, color .3s, border-color .3s; }
.nav-call:hover .nav-call__icon { background: var(--gold); color: var(--navy-950); border-color: var(--gold); }

@media (max-width: 1240px) {
  .nav__link { padding: 10px 9px; font-size: .92rem; }
  .nav-bar { gap: 14px; }
  .nav-actions { gap: 10px; }
  .leaders { grid-template-columns: repeat(2, 1fr); }
}

/* With seven menu items the full menu needs ~1180px; below that use the menu button */
@media (max-width: 1180px) {
  .nav, .nav-call { display: none; }
  .burger { display: block; }
}

@media (max-width: 1080px) {
  :root { --header-h: 80px; }
  .nav, .nav-call { display: none; }
  .burger { display: block; }
  .brand__emblem { width: 46px; height: 46px; }
  .brand__word { height: 40px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__badge { display: none; }
  .hero-nav { max-width: 520px; }
  .hero-cards { grid-template-columns: 1fr; gap: 0; margin-top: 56px; }
  .hero-card { border-radius: 0; border-left: 0; border-right: 0; }
  .hero-card:first-child { border-radius: var(--radius) var(--radius) 0 0; }
  .hero-card:hover { transform: none; }
  .about__grid, .apart__grid, .campuses__grid, .talk__grid, .intro__grid, .split, .day__grid, .contact-grid, .careers { grid-template-columns: 1fr; }
  .apart__head, .talk__form, .day__intro { position: static; }
  .chair__grid { grid-template-columns: 1fr; }
  .chair__photo { order: 2; margin-top: 0; justify-self: center; }
  .chair__copy { padding-bottom: 20px; }
  .section-head--split { grid-template-columns: 1fr; gap: 20px; }
  .prog-grid, .vm, .fit { grid-template-columns: 1fr; }
  .value-cards, .unique, .offer-grid, .subjects { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .process__step:nth-child(2) { border-right: 0; }
  .process__step:nth-child(3) { padding-left: 0; }
  .process__step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .modal__panel { grid-template-columns: 1fr; }
  .modal__aside { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .site-header { inset: 10px 0 auto; }
  .nav-bar { padding: 8px 8px 8px 12px; border-radius: 16px; }
  .nav-actions .btn { display: none; }
  .brand__emblem { width: 42px; height: 42px; }
  .brand__word { height: 36px; }
  .hero { padding-top: calc(var(--header-h) + 60px); min-height: auto; }
  .hero__shade { background: linear-gradient(0deg, rgba(7,20,49,.96) 20%, rgba(7,20,49,.7) 70%, rgba(7,20,49,.5) 100%); }
  .hero-actions .btn { width: 100%; justify-content: space-between; }
  .hero-tab__label { display: none; }
  .hero-tab__bar { margin-bottom: 0; }
  .hero-nav__top { margin-bottom: 14px; justify-content: flex-start; gap: 22px; }
  .hero-nav__btn { width: 42px; height: 42px; }
  .hero-card { padding: 20px 4px; background: transparent; border-color: var(--line-light); }
  .hero-card:first-child { border-radius: 0; }
  .hero-card--gold { background: transparent; color: #fff; border-color: var(--line-light); }
  .hero-card--gold .hero-card__icon { background: var(--gold); color: var(--navy-950); }
  .about__stamp { left: 12px; top: 12px; padding: 12px 14px; gap: 10px; }
  .about__media::before { left: -8px; top: -8px; }
  .about__stamp-year { font-size: 1.9rem; }
  .apart__item { grid-template-columns: 44px 1fr; }
  .apart__icon { display: none; }
  .steps__list { grid-template-columns: 1fr; gap: 36px; }
  .steps__line { left: 36px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .steps__line span { transform-origin: top; transform: scaleY(0); }
  .step { display: grid; grid-template-columns: 72px 1fr; column-gap: 22px; }
  .step__num { grid-row: span 2; margin: 0; }
  .form__grid { grid-template-columns: 1fr; }
  .faq__q button { grid-template-columns: 30px 1fr 36px; font-size: 1rem; }
  .faq__icon { width: 36px; height: 36px; }
  .faq__a p { padding: 0 0 22px 42px; }
  .value-cards, .unique, .offer-grid, .subjects, .leaders { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .glance { grid-template-columns: 1fr; }
  .glance div, .glance div:nth-child(odd), .glance div:nth-child(even) { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; border-left: 0; }
  .process { grid-template-columns: 1fr; }
  .process__step, .process__step:nth-child(n) { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .process__step:last-child { border-bottom: 0; }
  /* Phones: dot is the first column */
  .schedule { --time-w: 0px; --col-gap: 0px; }
  .schedule__row { grid-template-columns: 48px 1fr; gap: 2px 18px; }
  .schedule__dot { grid-row: span 2; }
  .schedule__time { text-align: left; font-size: .85rem; color: var(--gold-700); order: 2; grid-column: 2; }
  .schedule__what { grid-column: 2; font-size: 1.1rem; }
  .facility { width: 82vw; }
  .hscroll { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); padding-bottom: 10px; scrollbar-width: none; }
  .hscroll::-webkit-scrollbar { display: none; }
  .facility { scroll-snap-align: start; }
  .faculty-row { grid-template-columns: 64px 1fr; align-items: start; gap: 16px; }
  .faculty-row img { width: 64px; height: 64px; }
  .prog-card__top { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: -62px; }
  .prog-card__top > div { padding-top: 0; }
  .prog-card__icon { width: 64px; height: 64px; }
  .to-top { display: none; }
  /* Comparison table → stacked cards */
  .table-wrap { overflow: visible; border: 0; background: none; border-radius: 0; }
  .compare { min-width: 0; display: block; }
  .compare thead { display: none; }
  .compare tbody { display: grid; gap: 16px; }
  .compare tbody tr { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
  .compare tbody th { display: block; width: auto; padding: 20px 20px 16px; background: var(--navy-900); color: #fff; border: 0; }
  .compare tbody th a { color: #fff; }
  .compare tbody th small { color: var(--gold); }
  .compare td { display: block; padding: 14px 20px; border-bottom: 1px solid var(--line); }
  .compare td::before { content: attr(data-label); display: block; margin-bottom: 4px; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-700); }
  .compare tbody tr:last-child > * { border-bottom: 1px solid var(--line); }
  .compare tbody tr > td:last-child { border-bottom: 0; }
  .compare tbody tr:hover { background: #fff; }
  .faculty-row img { width: 72px; height: 72px; }
  .to-top { right: 22px; bottom: 80px; }
  .map { aspect-ratio: 4 / 3.5; }
  .tabs { display: flex; }
  .tabs__btn { flex: 1; padding: 11px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
.fit__card--q .h3 em, .section--navy .h3 em { color: var(--gold); }

/* ---------- Poppins weights (headings) ---------- */
.h2, .h3, .hero__title, .page-hero__title, .footer-cta__title, .modal__body h2 { font-weight: 600; letter-spacing: -.025em; }
.h2 em, .h3 em, .hero__title em, .page-hero__title em, .footer-cta__title em, .vm__card .h3 em, .pull blockquote em { font-weight: 500; font-style: italic; letter-spacing: -.02em; }
.hero-card__body strong, .apart__item h3, .prog-card__title, .facility h3, .campus-card h3, .step__title,
.form-success strong, .value-card h3, .leader__name, .compare tbody th, .unique__item h3, .schedule__what,
.offer h3, .subject h3, .process__step h3, .faculty-row h3, .modal__aside-title, .mobile-menu li > a { font-weight: 600; letter-spacing: -.015em; }
.chair__quote, .pull blockquote { font-weight: 500; letter-spacing: -.02em; }
.ticker__group li, .career-path li { font-weight: 500; }
.about__stamp-year, .facts dd strong, .step__num, .apart__num, .faq__n, .offer__n, .qlist li::before { font-weight: 600; }
.subject__letter, .notfound__code { font-weight: 700; }
.process__k { font-weight: 500; }
.loader__word { font-weight: 600; }
.chair__quote { font-size: clamp(1.5rem, 1rem + 1.7vw, 2.5rem); }
.pull blockquote { font-size: clamp(1.6rem, 1rem + 2.1vw, 2.9rem); }
.schedule__what { font-size: 1.05rem; }
.mobile-menu li > a { font-size: clamp(1.6rem, 6vw, 2.2rem); }

/* ---------- Campus life: pinned row must fit one screen ---------- */
@media (min-width: 721px) {
  .campus-life {
    min-height: 100svh;
    padding: calc(var(--header-h) + 28px) 0 36px;
    display: flex; flex-direction: column; justify-content: center;
  }
  .campus-life .section-head { margin-bottom: 30px; }
  .campus-life .h2 { font-size: clamp(1.8rem, 1.1rem + 1.9vw, 2.7rem); }
  .facility__media { aspect-ratio: auto; height: clamp(150px, calc(100svh - 560px), 320px); }

  .facility__body { padding: 20px 24px 24px; }
  .facility__num { margin-bottom: 10px; }
  .facility h3 { font-size: 1.2rem; }
  .facility p { font-size: .95rem; line-height: 1.55; }
}

/* ---------- Quick enquiry (hero form) ---------- */
.quick-form {
  position: relative; width: 100%; max-width: 420px; justify-self: end; align-self: center;
  background: #fff; color: var(--body); border-radius: var(--radius-lg);
  padding: 26px 26px 22px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.55);
}
.quick-form::before { content: ""; position: absolute; inset: 0 26px auto; height: 4px; border-radius: 0 0 4px 4px; background: var(--gold); }
.quick-form__head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.quick-form__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--navy-900); color: var(--gold); flex: none; }
.quick-form__icon .ico { width: 22px; height: 22px; }
.quick-form__title { font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; color: var(--ink); line-height: 1.2; }
.quick-form__head p { margin: 2px 0 0; font-size: .86rem; color: var(--muted); line-height: 1.4; }
.form--compact { gap: 12px; margin-top: 0; }
.form--compact .field input, .form--compact .field select { padding-top: 24px; padding-bottom: 8px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field select {
  width: 100%; padding: 26px 36px 10px 18px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%230B1F45' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 16px center / 10px;
  font: inherit; font-size: .95rem; color: var(--ink); appearance: none; -webkit-appearance: none; cursor: pointer;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.field select:invalid { color: var(--muted); }
.field select:focus { outline: 0; border-color: var(--gold); background-color: #fff; box-shadow: 0 0 0 4px rgba(215,164,47,.15); }
.field--select label { top: 8px; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: var(--gold-700); }
.field.is-invalid select { border-color: #B3261E; }
.btn--block { width: 100%; justify-content: space-between; }
.quick-form .form__status:empty { display: none; }
.quick-form__note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 2px 0 0; font-size: .85rem; color: var(--muted); }
.quick-form__note .ico { width: 15px; height: 15px; color: var(--gold-600); }
.quick-form__note a { color: var(--navy-900); font-weight: 600; }
.form.is-sent > :not(.form-success) { display: none !important; }



/* Course hero: copy | form */
.page-hero--form .page-hero__inner { max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 420px); gap: 56px; align-items: center; }
.page-hero--form .page-hero__title { font-size: clamp(2rem, 1.2rem + 2.4vw, 3.3rem); }

@media (max-width: 1080px) {
  .page-hero--form .page-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .quick-form { justify-self: stretch; max-width: 560px; }
}
@media (max-width: 720px) {
  .quick-form { padding: 22px 18px 18px; }
  .form__row { grid-template-columns: 1fr; }
}

/* ---------- Contact page ---------- */
.quick-form--full { max-width: 480px; }
.quick-form--full .form { margin-top: 0; gap: 14px; }
.quick-form--full .choice legend { margin-bottom: 8px; }
.quick-form--full .choice__opt span { padding: 9px 14px; font-size: .9rem; }
.quick-form--full .field textarea { min-height: 84px; }
.quick-form--full .form__foot .btn { width: 100%; justify-content: space-between; }

.reach__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.reach-card {
  display: flex; flex-direction: column; gap: 4px; padding: 26px 24px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease);
}
.reach-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow); }
.reach-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--navy-900); color: var(--gold); margin-bottom: 18px; transition: background .4s, color .4s; }
.reach-card:hover .reach-card__icon { background: var(--gold); color: var(--navy-950); }
.reach-card small { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.reach-card strong { color: var(--ink); font-weight: 600; font-size: 1.08rem; word-break: break-word; }
.reach-card__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .9rem; font-weight: 600; color: var(--gold-700); }
.reach-card__go .ico { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.reach-card:hover .reach-card__go .ico { transform: translateX(4px); }

.map-wrap { position: relative; }
.map-wrap .map { aspect-ratio: 21 / 8; }
.map-card {
  position: absolute; left: 28px; top: 50%; transform: translateY(-50%); width: min(380px, calc(100% - 56px));
  padding: 28px; border-radius: var(--radius-lg); background: var(--navy-900); color: rgba(255,255,255,.78); box-shadow: var(--shadow);
}
.map-card h3 { color: #fff; font-size: 1.3rem; font-weight: 600; letter-spacing: -.015em; margin-bottom: 14px; }
.map-card__addr { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: .92rem; margin-bottom: 10px; }
.map-card__addr .ico { width: 18px; height: 18px; color: var(--gold); margin-top: 3px; }
.map-card .btn { margin-top: 10px; }

@media (max-width: 1080px) {
  .reach__grid { grid-template-columns: 1fr 1fr; }
  .quick-form--full { max-width: 600px; }
}
@media (max-width: 720px) {
  .reach__grid { grid-template-columns: 1fr; gap: 12px; }
  .reach-card { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 18px; }
  .reach-card__icon { width: 48px; height: 48px; margin: 0; grid-row: span 2; }
  .reach-card__go { display: none; }
  .map-wrap .map { aspect-ratio: 4 / 3.4; }
  .map-card { position: relative; left: auto; top: auto; transform: none; width: 100%; margin-top: -40px; border-radius: var(--radius); }
}

/* ---------- Contact dock ---------- */
.cdock {
  position: fixed; right: 16px; top: 50%; z-index: 85;
  display: flex; flex-direction: column; gap: 6px; padding: 6px;
  border-radius: 999px; background: rgba(9, 25, 58, .82);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255,255,255,.12); box-shadow: 0 24px 50px -20px rgba(7,20,49,.6);
  transform: translate(30px, -50%); opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease), transform .6s var(--ease), visibility .5s;
}
/* Desktop: slides in once the hero has scrolled away, so it never covers hero content */
.cdock.is-shown { opacity: 1; visibility: visible; transform: translate(0, -50%); }
.menu-open .cdock, .modal-open .cdock { opacity: 0; visibility: hidden; }
.cdock__item { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #fff; transition: background .35s var(--ease), color .35s; }
.cdock__icon { display: grid; place-items: center; }
.cdock__icon .ico { width: 21px; height: 21px; }
.cdock__item:hover, .cdock__item:focus-visible { background: var(--gold); color: var(--navy-950); }
.cdock__item--wa { background: var(--gold); color: var(--navy-950); }
.cdock__item--wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(215,164,47,.55); animation: dock-ping 2.6s ease-out infinite 2.5s; pointer-events: none; }
@keyframes dock-ping { 0% { box-shadow: 0 0 0 0 rgba(215,164,47,.55); } 70%, 100% { box-shadow: 0 0 0 14px rgba(215,164,47,0); } }
.cdock__item--wa:hover { background: #fff; }
.cdock__label {
  position: absolute; right: calc(100% + 14px); top: 50%; display: grid; gap: 1px; white-space: nowrap;
  padding: 9px 16px; border-radius: 12px; background: #fff; color: var(--ink); box-shadow: 0 18px 40px -16px rgba(7,20,49,.45);
  opacity: 0; visibility: hidden; transform: translate(10px, -50%); transition: opacity .3s, transform .45s var(--ease), visibility .3s; pointer-events: none;
}
.cdock__label::after { content: ""; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; background: #fff; transform: translateY(-50%) rotate(45deg); border-radius: 2px; }
.cdock__label small { font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700); }
.cdock__label b { font-size: .9rem; font-weight: 600; }
.cdock__item:hover .cdock__label, .cdock__item:focus-visible .cdock__label { opacity: 1; visibility: visible; transform: translate(0, -50%); }

@media (max-width: 720px) {
  .site-footer { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .cdock {
    top: auto; right: 0; left: 0; bottom: 0; transform: none;
    flex-direction: row; gap: 0; padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    border-radius: 20px 20px 0 0; border-width: 1px 0 0; background: rgba(7, 20, 49, .94);
    opacity: 1; visibility: visible;
    animation: dock-up .8s var(--ease) 1s both;
  }
  @keyframes dock-up { from { transform: translateY(100%); } }
  .cdock.is-shown { transform: none; }
  .cdock__item { flex: 1; width: auto; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 10px; }
  .cdock__item:hover { background: rgba(255,255,255,.08); color: #fff; }
  .cdock__item--wa { background: var(--gold); color: var(--navy-950); }
  .cdock__item--wa:hover { background: var(--gold); color: var(--navy-950); }
  .cdock__item--wa::after { border-radius: 14px; animation: none; }
  .cdock__item + .cdock__item { margin-left: 8px; }
  .cdock__icon .ico { width: 20px; height: 20px; }
  .cdock__label { position: static; opacity: 1; visibility: visible; transform: none; padding: 0; background: none; color: inherit; box-shadow: none; transition: none; }
  .cdock__label::after, .cdock__label b { display: none; }
  .cdock__label small { font-size: .82rem; letter-spacing: .02em; text-transform: none; color: inherit; }
}

/* ---------- Scroll to top (progress ring) ---------- */
.scrolltop {
  position: fixed; right: 22px; bottom: 26px; z-index: 84;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: rgba(9, 25, 58, .86); color: #fff;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px -16px rgba(7,20,49,.55);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9);
  transition: opacity .45s var(--ease), transform .55s var(--ease), visibility .45s, background .35s, color .35s;
}
.scrolltop.is-visible { opacity: 1; visibility: visible; transform: none; }
.menu-open .scrolltop, .modal-open .scrolltop { opacity: 0; visibility: hidden; }
.scrolltop__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.scrolltop__ring circle { fill: none; stroke-width: 2; }
.scrolltop__track { stroke: rgba(255,255,255,.14); }
.scrolltop__bar { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .15s linear; }
.scrolltop__arrow { position: relative; width: 20px; height: 20px; overflow: hidden; }
.scrolltop__arrow svg { position: absolute; inset: 0; width: 20px; height: 20px; transition: transform .5s var(--ease); }
.scrolltop__arrow svg + svg { transform: translateY(110%); }
.scrolltop:hover { background: var(--gold); color: var(--navy-950); }
.scrolltop:hover .scrolltop__bar { stroke: var(--navy-950); }
.scrolltop:hover .scrolltop__track { stroke: rgba(7,20,49,.15); }
.scrolltop:hover .scrolltop__arrow svg:first-child { transform: translateY(-110%); }
.scrolltop:hover .scrolltop__arrow svg + svg { transform: none; }

@media (max-width: 720px) {
  .scrolltop { right: 14px; bottom: calc(80px + env(safe-area-inset-bottom)); width: 48px; height: 48px; }
  .scrolltop__arrow, .scrolltop__arrow svg { width: 18px; height: 18px; }
}

/* Timetable directly after a same-colour section */
.day--flush { padding-top: 0; }

/* Current page inside the Programmes dropdown */
.drop__link { position: relative; }
.drop__link.is-current { background: var(--cream); }
.drop__link.is-current::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--gold); }
.drop__link.is-current .drop__icon { background: var(--gold); color: var(--navy-950); }
.drop__link.is-current strong { color: var(--gold-700); }
.drop__link.is-current small::after { content: " · You are here"; color: var(--gold-700); font-weight: 600; }
.mobile-menu__sub a.is-current { color: var(--gold); font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* Floating labels never wrap; narrow form cards stack their fields */
.field label { right: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.field--select label { right: 40px; }
.quick-form--full .form__grid { grid-template-columns: 1fr; gap: 12px; }

/* ---------- Mobile polish: readable micro-labels, comfortable tap targets ---------- */
@media (max-width: 720px) {
  .ftile small { font-size: .74rem; }
  .fvisit__body small { font-size: .74rem; }
  .prog-card .link-arrow { padding: 8px 0; }
  .field--select label { font-size: .74rem; }
  /* slider tabs: the bar stays thin, the tap area is 40px tall */
  .hero-tab { padding: 19px 0; margin: -19px 0; }
  .hero-tabs { gap: 10px; }
  .campus-card__foot a { padding: 10px 0; }
  .campus-card__foot { gap: 0 24px; padding-top: 6px; }
  .quick-form__note a { display: inline-block; padding: 10px 4px; margin: -10px -4px; }
}

.hint__touch { display: none; }
@media (max-width: 720px) { .hint__desk { display: none; } .hint__touch { display: inline; } }

/* ---------- Programmes page ---------- */
.prog-card__ticks { margin: 4px 0 6px; gap: 10px; }
.prog-card__ticks li { font-size: .95rem; color: var(--ink); }

.guide { border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.guide__head, .guide__row { display: grid; grid-template-columns: 200px 1fr 1fr; }
.guide__head { background: var(--navy-900); }
.guide__prog { display: flex; align-items: center; gap: 14px; padding: 22px 26px; color: #fff; font-weight: 600; font-size: 1.1rem; letter-spacing: -.01em; transition: background .3s; }
.guide__prog:hover { background: rgba(255,255,255,.06); }
.guide__prog small { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
.guide__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.08); color: var(--gold); flex: none; }
.guide__prog--gold .guide__icon { background: var(--gold); color: var(--navy-950); }
.guide__row { border-top: 1px solid var(--line); }
.guide__row:hover { background: var(--paper); }
.guide__label { padding: 22px 26px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-700); }
.guide__cell { padding: 20px 26px; color: var(--ink); border-left: 1px solid var(--line); }
.guide__row:last-child .guide__cell { font-weight: 600; color: var(--navy-800); }

@media (max-width: 720px) {
  .guide__head { display: none; }
  .guide__row { grid-template-columns: 1fr; padding: 18px 20px; gap: 10px; }
  .guide__row:first-of-type { border-top: 0; }
  .guide__label { padding: 0; }
  .guide__cell { padding: 0 0 0 14px; border-left: 2px solid var(--navy-900); }
  .guide__cell + .guide__cell { border-left-color: var(--gold); }
  .guide__cell::before { content: attr(data-prog); display: block; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
}

/* ---------- Mobile contact bar: labels never move on tap ---------- */
@media (max-width: 720px) {
  .cdock__item:hover .cdock__label, .cdock__item:focus-visible .cdock__label, .cdock__item:active .cdock__label { transform: none; opacity: 1; visibility: visible; }
  .cdock__item:focus-visible { outline-offset: -2px; }
}

/* ---------- "Fully residential" badge (every hero) ---------- */
.res-badge {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 6px 16px 6px 6px;
  border-radius: 999px; background: rgba(215,164,47,.14); border: 1px solid rgba(215,164,47,.45);
  color: #fff; font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.res-badge b { color: var(--gold); font-weight: 700; }
.res-badge__icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--navy-950); flex: none; }
.res-badge__icon .ico { width: 16px; height: 16px; }
.footer-res { color: var(--gold); font-weight: 600; }
@media (max-width: 720px) {
  .res-badge { font-size: .74rem; gap: 8px; padding-right: 12px; margin-bottom: 18px; }
  .res-badge__icon { width: 26px; height: 26px; }
}

/* ---------- Journey: figures + coaching ---------- */
.journey { background: var(--paper); }
.stats { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 16px; }
.stat { padding: 28px 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; min-height: 170px; }
.stat__num { margin: 0 0 6px; font-size: clamp(2.2rem, 1.5rem + 2vw, 3.2rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.stat__num small { font-size: .5em; font-weight: 600; letter-spacing: -.01em; color: var(--gold-600); margin-left: 2px; }
.stat__label { margin: 0; font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.stat__note { margin: 8px 0 0; font-size: .92rem; color: rgba(7,20,49,.75); }
.stat--feature { background: var(--gold); border-color: var(--gold); position: relative; overflow: hidden; }
.stat--feature::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 1px solid rgba(7,20,49,.15); }
.stat--feature .stat__num, .stat--feature .stat__num small { color: var(--navy-950); }
.stat--feature .stat__label { color: var(--navy-950); }

.coach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.coach { padding: clamp(26px, 3vw, 38px); border-radius: var(--radius-lg); background: var(--navy-900); color: rgba(255,255,255,.8); display: flex; flex-direction: column; }
.coach__top { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.coach__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.08); color: var(--gold); }
.coach--bipc .coach__icon { background: var(--gold); color: var(--navy-950); }
.coach__tag { padding: 8px 16px; border-radius: 999px; background: var(--gold); color: var(--navy-950); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.coach__list { display: grid; gap: 12px; margin-bottom: 26px; }
.coach__list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: #fff; }
.coach__list .ico { width: 20px; height: 20px; color: var(--gold); margin-top: 3px; }
.coach__link { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; color: var(--gold); font-weight: 600; padding: 6px 0; }
.coach__link .ico { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.coach__link:hover .ico { transform: translateX(4px); }

@media (max-width: 1080px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat--feature { grid-column: 1 / -1; }
  .stat:last-child:nth-child(even) { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .stats { gap: 12px; }
  .stat { padding: 20px 18px; min-height: 0; }
  .stat__label { font-size: .72rem; }
  .coach-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Career after 10th (parent guide)
   ========================================================================== */
.cintro { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.jump { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 26px; }
.jump__label { width: 100%; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.jump a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .9rem; font-weight: 500; color: var(--navy-900); transition: .3s var(--ease); }
.jump a:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.tips { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tip { padding: 26px 24px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); }
.tip .facility__icon { width: 46px; height: 46px; margin-bottom: 18px; }
.tip h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }
.tip p { margin: 0; font-size: .95rem; }

/* Roadmap */
.road-wrap { position: relative; }
.road__line { position: absolute; left: 10%; right: 10%; top: 32px; height: 2px; background: var(--line); }
.road__line span { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.no-motion .road__line span { transform: none; }
.road { position: relative; display: grid; grid-template-columns: repeat(var(--cols, 5), 1fr); gap: 24px; }
.road__step { text-align: center; }
.road__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: var(--navy-900); color: var(--gold); box-shadow: 0 0 0 8px var(--paper); }
.road__step:last-child .road__dot { background: var(--gold); color: var(--navy-950); }
.road__n { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 6px; }
.road__step h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; }
.road__step p { margin: 0; font-size: .93rem; }

/* Streams */
.streams { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stream { display: flex; flex-direction: column; padding: 26px 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s; }
.stream:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.stream__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 18px; }
.stream__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--cream); color: var(--navy-800); }
.stream h3 { font-size: 1.35rem; font-weight: 600; margin-bottom: 4px; }
.stream__full { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.stream__leads { font-size: .95rem; color: var(--ink); margin-bottom: 18px; }
.stream__leads span { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 4px; }
.stream .link-arrow { margin-top: auto; align-self: flex-start; font-size: .93rem; }
.stream--ours { border: 2px solid var(--gold); background: linear-gradient(180deg, var(--gold-50), #fff 60%); }
.stream--ours .stream__icon { background: var(--navy-900); color: var(--gold); }
.stream__badge { padding: 6px 12px; border-radius: 999px; background: var(--gold); color: var(--navy-950); font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.stream--note { background: var(--navy-900); color: rgba(255,255,255,.75); border-color: var(--navy-900); }
.stream--note .stream__icon { background: rgba(255,255,255,.08); color: var(--gold); margin-bottom: 18px; }
.stream--note h3 { color: #fff; font-size: 1.15rem; margin-bottom: 8px; }
.stream--note p { margin: 0; font-size: .93rem; }

/* Which fits */
.fit-rows { display: grid; gap: 12px; }
.fit-row { display: grid; grid-template-columns: 1.1fr 1.3fr 1fr; gap: 28px; align-items: center; padding: 22px 26px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid var(--line-light); transition: background .4s, border-color .4s; }
.fit-row:hover { background: rgba(255,255,255,.07); border-color: rgba(215,164,47,.4); }
.fit-row small { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 4px; }
.fit-row small b { color: var(--gold); }
.fit-row__enjoy { display: flex; align-items: center; gap: 16px; }
.fit-row__enjoy strong { color: #fff; font-size: 1.1rem; font-weight: 600; line-height: 1.3; }
.fit-row__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--gold); color: var(--navy-950); flex: none; }
.fit-row__col p { margin: 0; color: rgba(255,255,255,.8); font-size: .95rem; }

/* Tabs */
.ctabs__bar { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); width: max-content; max-width: 100%; margin: 0 auto 36px; overflow-x: auto; scrollbar-width: none; }
.ctabs__bar::-webkit-scrollbar { display: none; }
.ctabs__btn { flex: none; padding: 12px 20px; border-radius: 999px; font-size: .93rem; font-weight: 600; color: var(--muted); white-space: nowrap; transition: .35s var(--ease); }
.ctabs__btn:hover { color: var(--navy-900); }
.ctabs__btn.is-active { background: var(--navy-900); color: #fff; }
.guide-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 40px; flex-wrap: wrap; padding-bottom: 28px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.guide-intro > div { max-width: 760px; }
.guide-intro h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); font-weight: 600; letter-spacing: -.02em; margin: 12px 0 10px; }
.guide-intro p { margin: 0; }
.pill { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--cream); color: var(--navy-800); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pill--ours { background: var(--gold); color: var(--navy-950); }
.guide-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.ghead { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700); margin: 0 0 16px; }
.guide-grid > div > .ghead ~ .ghead, .guide-grid .ctable-wrap + .ghead, .guide-grid .vsteps + .ghead { margin-top: 32px; }
.vsteps { counter-reset: v; display: grid; gap: 0; }
.vsteps li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding-bottom: 22px; }
.vsteps li:not(:last-child)::before { content: ""; position: absolute; left: 19.5px; top: 40px; bottom: 0; width: 1px; background: var(--line); }
.vsteps__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy-900); color: var(--gold); font-weight: 700; font-size: .95rem; }
.vsteps strong { display: block; color: var(--ink); font-weight: 600; margin: 8px 0 2px; }
.vsteps p { margin: 0; font-size: .95rem; }
.ctable-wrap { border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; background: #fff; }
.ctable-wrap--narrow { max-width: 920px; margin: 0 auto; }
.ctable { width: 100%; border-collapse: collapse; font-size: .93rem; }
.ctable th, .ctable td { padding: 13px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.ctable thead th { background: var(--navy-900); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.ctable tbody th { color: var(--ink); font-weight: 600; width: 38%; }
.ctable tbody tr:last-child > * { border-bottom: 0; }
.ctable tbody tr:nth-child(even) { background: var(--paper); }
.areas { display: grid; gap: 10px; }
.areas li { display: grid; grid-template-columns: 170px 1fr; gap: 14px; padding: 12px 16px; border-radius: 12px; background: var(--paper); font-size: .93rem; }
.areas strong { color: var(--navy-900); font-weight: 600; }
.gnote { display: grid; grid-template-columns: 24px 1fr; gap: 12px; margin-top: 22px; padding: 16px 18px; border-radius: 14px; background: var(--gold-50); color: var(--navy-900); font-size: .93rem; }
.gnote .ico { width: 22px; height: 22px; color: var(--gold-700); }
.gnote--warn { background: var(--cream); }
.glinks { margin-top: 16px; font-size: .9rem; color: var(--muted); }
.glinks a { color: var(--navy-900); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.gsmall { margin-top: 12px; font-size: .84rem; color: var(--muted); }
.ctable-wrap--narrow + .gsmall { text-align: center; }
.skill-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.skill-card { padding: 26px 24px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); }
.skill-card h4 { font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; }
.skill-card p { font-size: .94rem; }
.skill-card .ticks { margin-top: 12px; gap: 10px; }
.skill-card .ticks li { font-size: .92rem; }

/* College checklist */
.cchk { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: .95rem; }
.checklist .ico { width: 24px; height: 24px; color: var(--gold-600); }
.ccta { position: sticky; top: calc(var(--header-h) + 40px); padding: clamp(28px, 3vw, 40px); border-radius: var(--radius-lg); background: var(--navy-900); color: rgba(255,255,255,.78); }
.ccta__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--gold); color: var(--navy-950); margin-bottom: 22px; }
.ccta h3 { color: #fff; font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; margin-bottom: 10px; }
.ccta p { margin-bottom: 24px; }
.ccta .btn { width: 100%; justify-content: space-between; }
.ccta__call { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--gold); font-weight: 600; padding: 6px 0; }
.ccta__call .ico { width: 18px; height: 18px; }

/* Resources + disclaimer */
.res-list { display: grid; gap: 8px; }
.res-list a { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); background: #fff; transition: border-color .3s, transform .4s var(--ease); }
.res-list a:hover { border-color: var(--gold); transform: translateX(4px); }
.res-list strong { display: block; color: var(--ink); font-weight: 600; font-size: .95rem; }
.res-list small { color: var(--muted); font-size: .84rem; }
.res-list .ico { width: 18px; height: 18px; color: var(--gold-600); flex: none; }
.disclaimer { display: grid; grid-template-columns: 22px 1fr; gap: 12px; margin-top: 28px; padding: 18px 20px; border-radius: 14px; background: var(--paper); border: 1px dashed var(--line); font-size: .86rem; color: var(--muted); }
.disclaimer .ico { width: 20px; height: 20px; color: var(--gold-700); }
.disclaimer b { color: var(--navy-900); }

@media (max-width: 1080px) {
  .cintro, .guide-grid, .cchk { grid-template-columns: 1fr; }
  .streams { grid-template-columns: 1fr 1fr; }
  .road { grid-template-columns: 1fr; gap: 0; max-width: 560px; margin: 0 auto; }
  .road__line { left: 31px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; }
  .road__line span { transform-origin: top; transform: scaleY(0); }
  .no-motion .road__line span { transform: none; }
  .road__step { display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; text-align: left; padding-bottom: 26px; }
  .road__dot { grid-row: span 3; margin: 0; }
  .fit-row { grid-template-columns: 1fr; gap: 14px; }
  .skill-cards { grid-template-columns: 1fr; }
  .ccta { position: static; }
  .wrap-road-fix {}
}
@media (max-width: 1080px) and (min-width: 721px) {
  .road-wrap .road__line { left: calc(50% - 280px + 31px); }
}
@media (max-width: 720px) {
  .tips, .streams, .checklist { grid-template-columns: 1fr; }
  .ctabs__bar { border-radius: 16px; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); width: auto; max-width: none; padding: 6px var(--gutter); background: transparent; border: 0; }
  .ctabs__btn { background: var(--paper); border: 1px solid var(--line); }
  .ctabs__btn.is-active { border-color: var(--navy-900); }
  .areas li { grid-template-columns: 1fr; gap: 2px; }
  .ctable thead { display: none; }
  .ctable, .ctable tbody, .ctable tr, .ctable th, .ctable td { display: block; width: auto; }
  .ctable tbody tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .ctable tbody tr:last-child { border-bottom: 0; }
  .ctable th, .ctable td { padding: 0; border: 0; }
  .ctable tbody th { font-size: 1rem; margin-bottom: 6px; width: auto; }
  .ctable td { font-size: .9rem; margin-top: 4px; }
  .ctable td::before { content: attr(data-label) ": "; font-weight: 600; color: var(--gold-700); }
  .guide-intro .btn { width: 100%; justify-content: space-between; }
}
/* Residential badge sits on its own line above the eyebrow */
.res-badge { display: flex; width: max-content; max-width: 100%; }
.res-block { margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(36px, 4vw, 52px); border-top: 1px solid var(--line); }
.res-block .res-list { grid-template-columns: repeat(4, 1fr); gap: 12px; }
.res-block .res-list a { height: 100%; align-items: flex-start; }
@media (max-width: 1080px) { .res-block .res-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .res-block .res-list { grid-template-columns: 1fr; } }


/* ==========================================================================
   Section options set in the dashboard (background, spacing, visibility)
   ========================================================================== */
.sbg-white { background: var(--white); }
.sbg-paper { background: var(--paper); }
.sbg-tint  { background: var(--gold-50); }
.sbg-deep  { background: var(--navy-950); }
.pt-compact { padding-top: clamp(44px, 5vw, 72px) !important; }
.pb-compact { padding-bottom: clamp(44px, 5vw, 72px) !important; }
.pt-none { padding-top: 0 !important; }
.pb-none { padding-bottom: 0 !important; }
@media (max-width: 767px) { .hide-sm { display: none !important; } }
@media (min-width: 768px) { .hide-lg { display: none !important; } }

/* A light section given a dark colour or photo in the dashboard */
.tone-dark .eyebrow { color: var(--gold); }
.tone-dark .eyebrow::before, .tone-dark .eyebrow::after { background: var(--gold); }
.tone-dark .h2 em { color: var(--gold); }
.tone-dark .lead, .tone-dark .section-head p { color: rgba(255,255,255,.78); }
.tone-dark > .container > p, .tone-dark .link-arrow { color: rgba(255,255,255,.85); }

/* Text block */
.rtext__inner { max-width: calc(820px + var(--gutter) * 2); }
.rtext--center .rtext__inner { text-align: center; }
.rtext--center .hero-actions { justify-content: center; }
.rtext .h2 { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.9rem); line-height: 1.15; margin-bottom: 22px; }
.rtext__body p { font-size: 1.04rem; line-height: 1.8; margin-bottom: 1.1em; }
.rtext__body .ticks { margin: 0 0 1.2em; text-align: left; }
.rtext--center .rtext__body .ticks { display: inline-grid; }
.tone-dark .rtext__body, .section--navy .rtext__body { color: rgba(255,255,255,.8); }

/* Call-to-action banner */
.cta-ban { overflow: hidden; }
.cta-ban__inner { display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center; }
.cta-ban .h2 { font-size: clamp(1.8rem, 1.1rem + 2.2vw, 2.8rem); line-height: 1.15; }
.cta-ban .lead { margin-top: 14px; max-width: 620px; }
.cta-ban .hero-actions { justify-content: flex-end; }
@media (max-width: 900px) {
  .cta-ban__inner { grid-template-columns: 1fr; gap: 28px; }
  .cta-ban .hero-actions { justify-content: flex-start; }
}

/* ==========================================================================
   Blog
   ========================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.blog-bar { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.blog-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-cats a { padding: 9px 16px; border-radius: 999px; background: var(--cream); color: var(--navy-900); font-weight: 500; font-size: .92rem; transition: background .3s, color .3s; }
.blog-cats a:hover { background: var(--gold-50); }
.blog-cats a.is-on { background: var(--navy-900); color: #fff; }
.blog-search { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; padding: 4px 4px 4px 18px; min-width: min(320px, 100%); }
.blog-search input { flex: 1; border: 0; outline: 0; background: none; font: inherit; color: var(--ink); min-width: 0; padding: 8px 0; }
.blog-search button { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: var(--gold); flex: none; }
.blog-search button .ico { width: 18px; height: 18px; }
.blog-search:focus-within { border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(11,31,69,.08); }
.blog-note { margin: -16px 0 28px; color: var(--muted); }
.blog-note a { color: var(--navy-900); font-weight: 600; }
.blog-empty { text-align: center; padding: 60px 20px; border: 1px dashed var(--line); border-radius: var(--radius-lg); }
.blog-empty a { color: var(--navy-900); font-weight: 600; text-decoration: underline; }
.blog-more { margin-top: 44px; text-align: center; }
.post-grid-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-900); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold); }
.post-card__ph .ico { width: 40px; height: 40px; }
.post-card__cat { position: absolute; left: 16px; top: 16px; padding: 7px 13px; border-radius: 999px; background: rgba(7,20,49,.78); color: #fff; font-size: .78rem; font-weight: 600; letter-spacing: .04em; backdrop-filter: blur(6px); }
.post-card__body { padding: clamp(22px, 2.4vw, 30px); display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-700); margin: 0 0 10px; }
.post-card__title { font-family: var(--f-display); font-weight: 600; letter-spacing: -.01em; font-size: clamp(1.2rem, 1.05rem + .4vw, 1.4rem); line-height: 1.3; margin: 0 0 12px; color: var(--ink); }
.post-card__title a { color: inherit; }
.post-card__title a:hover { color: var(--navy-700); }
.post-card__excerpt { color: var(--body); margin: 0 0 22px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .link-arrow { margin-top: auto; align-self: flex-start; }
.post-card--big { display: grid; grid-template-columns: 1.25fr 1fr; margin-bottom: clamp(20px, 2.4vw, 32px); }
.post-card--big .post-card__media { aspect-ratio: auto; min-height: 380px; }
.post-card--big .post-card__body { padding: clamp(28px, 4vw, 56px); justify-content: center; }
.post-card--big .post-card__title { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); line-height: 1.15; }
.post-card--big .post-card__excerpt { -webkit-line-clamp: 4; font-size: 1.05rem; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 48px; }
.pager a { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; display: inline-grid; place-items: center; border: 1px solid var(--line); color: var(--navy-900); font-weight: 600; }
.pager a:hover { border-color: var(--navy-900); }
.pager a.is-on { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

/* Article */
.post-hero { position: relative; background: var(--navy-950); color: #fff; padding: calc(var(--header-h) + 90px) 0 clamp(120px, 12vw, 170px); overflow: hidden; }
.post-hero::before { content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; border: 70px solid rgba(215,164,47,.08); }
.post-hero__inner { position: relative; max-width: calc(880px + var(--gutter) * 2); }
.post-hero__title { font-family: var(--f-display); font-weight: 600; letter-spacing: -.025em; color: #fff; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); line-height: 1.12; margin: 18px 0 18px; }
.post-hero__lead { color: rgba(255,255,255,.78); font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.7; margin: 0 0 24px; max-width: 720px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0; color: rgba(255,255,255,.8); font-size: .93rem; }
.post-meta span { display: inline-flex; gap: 8px; align-items: center; }
.post-meta .ico { width: 17px; height: 17px; color: var(--gold); }
.post-cover { position: relative; z-index: 1; margin-top: clamp(-120px, -9vw, -80px); max-width: calc(1080px + var(--gutter) * 2); }
.post-cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.post-wrap { padding-top: clamp(48px, 6vw, 80px); }
.post-wrap--nocover { padding-top: clamp(60px, 7vw, 96px); }
.post-grid { display: grid; grid-template-columns: minmax(0, 760px) 64px; gap: clamp(30px, 5vw, 70px); justify-content: center; }
.prose { font-size: 1.07rem; line-height: 1.85; color: var(--body); min-width: 0; }
.prose > * { margin: 0; }
.prose > * + * { margin-top: 1.25em; }
.prose h2, .prose h3 { font-family: var(--f-display); font-weight: 600; color: var(--ink); letter-spacing: -.015em; line-height: 1.25; scroll-margin-top: calc(var(--header-h) + 30px); }
.prose h2 { font-size: clamp(1.5rem, 1.25rem + .8vw, 1.95rem); margin-top: 2em; }
.prose h3 { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.4rem); margin-top: 1.7em; }
.prose h2 em, .prose h3 em, .prose p em { color: var(--gold-700); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a:not(.btn) { color: var(--navy-800); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:not(.btn):hover { color: var(--gold-700); }
.prose ul, .prose ol { padding-left: 0; list-style: none; display: grid; gap: .6em; }
.prose ul li { position: relative; padding-left: 28px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.prose ol { counter-reset: n; }
.prose ol li { position: relative; padding-left: 46px; counter-increment: n; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: .15em; width: 30px; height: 30px; border-radius: 50%; background: var(--navy-900); color: var(--gold); display: grid; place-items: center; font-size: .85rem; font-weight: 600; line-height: 1; }
.prose > blockquote { margin-top: 2em; margin-bottom: .6em; }
.prose blockquote { padding: 28px 32px; border-left: 4px solid var(--gold); background: var(--paper); border-radius: 0 var(--radius) var(--radius) 0; }
.prose blockquote p { font-family: var(--f-display); font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); line-height: 1.5; color: var(--ink); font-style: italic; }
.prose blockquote cite { display: block; margin-top: 12px; font-style: normal; font-size: .9rem; color: var(--muted); }
.prose-note { display: grid; grid-template-columns: 26px 1fr; gap: 14px; padding: 22px 24px; border-radius: var(--radius); background: var(--gold-50); color: var(--navy-900); }
.prose-note .ico { width: 24px; height: 24px; color: var(--gold-700); margin-top: 3px; }
.prose-note p + p { margin-top: .8em; }
.prose > figure { margin-top: 2em; margin-bottom: .8em; }
.prose figure img { width: 100%; height: auto; border-radius: var(--radius); }
.prose figcaption { margin-top: 10px; font-size: .9rem; color: var(--muted); text-align: center; }
.prose-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.prose-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose > hr { border: 0; height: 1px; background: var(--line); margin-top: 2.4em; margin-bottom: 1.2em; }
.prose > .prose-btn { margin-top: 1.8em; }
.prose .post-tags { margin-top: 2.4em; display: flex; flex-wrap: wrap; gap: 8px; }
.prose .post-tags li { padding: 0; }
.prose .post-tags li::before { content: none; }
.prose .post-tags a { display: block; padding: 7px 14px; border-radius: 999px; background: var(--cream); color: var(--navy-900); font-size: .88rem; font-weight: 500; text-decoration: none; }
.prose .post-tags a:hover { background: var(--gold-50); color: var(--navy-900); }
.prose > .post-cta { margin-top: 2.6em; }
.post-cta { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; padding: clamp(26px, 3vw, 38px); border-radius: var(--radius-lg); background: var(--navy-900); color: rgba(255,255,255,.78); }
.post-cta__title { font-family: var(--f-display); font-size: clamp(1.3rem, 1.15rem + .5vw, 1.6rem); color: #fff; font-weight: 600; margin: 0 0 6px; line-height: 1.25; }
.post-cta p { margin: 0; }
.post-cta__title em { color: var(--gold); }
.post-cta > div { flex: 1; min-width: 240px; }
.post-side { position: relative; }
.share { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 10px; justify-items: center; }
.share__label { margin: 0 0 4px; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.share__btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--navy-900); background: #fff; transition: background .3s, color .3s, border-color .3s; cursor: pointer; }
.share__btn:hover { background: var(--navy-900); color: var(--gold); border-color: var(--navy-900); }
.share__btn .ico { width: 20px; height: 20px; }
.share__btn.is-copied { background: var(--gold); color: var(--navy-950); border-color: var(--gold); }
.post-related { background: var(--paper); }
@media (max-width: 1080px) {
  .post-grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-card--big { grid-template-columns: 1fr; }
  .post-card--big .post-card__media { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 860px) {
  .post-grid { grid-template-columns: minmax(0, 1fr); }
  .share { position: static; display: flex; justify-content: flex-start; gap: 10px; align-items: center; }
  .share__label { margin: 0 6px 0 0; }
  .post-side { order: -1; }
}
@media (max-width: 640px) {
  .post-grid-cards { grid-template-columns: 1fr; }
  .blog-bar { flex-direction: column; align-items: stretch; }
  .blog-cats { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .blog-cats a { white-space: nowrap; }
  .post-cover img { aspect-ratio: 4 / 3; }
  .prose blockquote { padding: 22px 20px; }
}
