/* =========================================================
   Pearl University, Calabar: "Layer by layer, brilliance."
   ========================================================= */

:root {
  --abyss: #07111f;
  --ocean: #0b1d33;
  --tide: #12304f;
  --pearl: #f8f5ef;
  --pearl-2: #efe9df;
  --ink: #0d1726;
  --muted: #5b6678;
  --line: rgba(13, 23, 38, .1);
  --gold: #c9a45c;
  --gold-soft: #e7cf9f;
  --blush: #f4d3e2;
  --lilac: #d7cff7;
  --mint: #c3ebe0;
  --sky: #c7dbf5;

  --nacre: linear-gradient(115deg, #f7d6e6 0%, #dcd3fa 28%, #c8e9f4 52%, #cdeedf 72%, #f6e6c4 100%);
  --nacre-strong: linear-gradient(115deg, #f2a7c9 0%, #b5a6f5 30%, #8fd3ea 55%, #9fe0c6 75%, #f1d08c 100%);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow: 0 30px 60px -30px rgba(7, 17, 31, .35);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--pearl);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.1; }
p { margin: 0; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 16px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - var(--gutter) * 2); margin-inline: auto; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--gold-soft); }

.section { padding: clamp(80px, 12vw, 150px) 0; position: relative; }
.section__head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.section__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(36px, 5.4vw, 64px); letter-spacing: -.02em; line-height: 1.04;
  font-variation-settings: "opsz" 144;
}
.section__title em { font-style: italic; color: var(--tide); font-weight: 300; }
.section__title--light { color: #fff; }
.section__title--light em { color: var(--gold-soft); }
.section__lede { margin-top: 22px; color: var(--muted); font-size: 19px; max-width: 600px; }
.section__head--center .section__lede { margin-inline: auto; }

.iridescent {
  background: var(--nacre-strong); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent !important;
  animation: shimmer 8s ease-in-out infinite alternate;
}
@keyframes shimmer { to { background-position: 100% 0; } }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 999px;
  font: 600 15px/1 var(--sans); text-decoration: none; letter-spacing: .01em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s;
}
.btn span { transition: transform .35s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--pearl {
  color: var(--ink); background: var(--nacre); background-size: 180% 100%;
  box-shadow: 0 10px 30px -10px rgba(181, 166, 245, .7), inset 0 1px 0 rgba(255,255,255,.8);
}
.btn--pearl:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 18px 40px -12px rgba(181, 166, 245, .9), inset 0 1px 0 rgba(255,255,255,.8); }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.04); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.1); }
.btn--dark { color: #fff; background: var(--ink); }
.btn--dark:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s, box-shadow .4s, transform .4s var(--ease);
}
.nav__inner {
  width: min(1280px, 100% - var(--gutter) * 2); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 84px; transition: height .4s var(--ease);
}
.nav.is-scrolled { background: rgba(7, 17, 31, .72); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.nav.is-scrolled .nav__inner { height: 68px; }
.nav.is-hidden { transform: translateY(-100%); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand__pearl {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background:
    radial-gradient(circle at 32% 28%, #fff 0 12%, transparent 30%),
    radial-gradient(circle at 70% 75%, rgba(181,166,245,.55), transparent 55%),
    radial-gradient(circle at 50% 50%, #f7f1ea, #d8d2ea 70%, #b9c7e2);
  box-shadow: 0 0 0 1px rgba(255,255,255,.25), 0 6px 18px -4px rgba(215, 207, 247, .7);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--serif); font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.brand__place { font-size: 10px; letter-spacing: .32em; text-transform: uppercase; opacity: .7; margin-top: 3px; }

.nav__links { display: flex; gap: 6px; }
.nav__links a {
  color: rgba(255,255,255,.78); text-decoration: none; font-size: 14.5px; font-weight: 500;
  padding: 8px 14px; border-radius: 999px; transition: color .3s, background .3s;
}
.nav__links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav__cta { display: flex; align-items: center; gap: 12px; }

.nav__toggle {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25); background: transparent; cursor: pointer;
  position: relative;
}
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px var(--gutter) 28px; background: rgba(7,17,31,.96); backdrop-filter: blur(16px);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { color: #fff; text-decoration: none; font-family: var(--serif); font-size: 26px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-menu .btn { margin-top: 18px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  background:
    radial-gradient(1200px 700px at 78% 40%, rgba(66, 92, 160, .35), transparent 60%),
    radial-gradient(900px 600px at 10% 100%, rgba(31, 107, 120, .35), transparent 60%),
    linear-gradient(180deg, var(--abyss) 0%, var(--ocean) 70%, #0e2742 100%);
  color: #fff; overflow: hidden; isolation: isolate;
  padding: 120px 0 90px;
}
.hero__sea { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__glow {
  position: absolute; z-index: -1; width: 70vmax; height: 70vmax; right: -20vmax; top: -15vmax;
  background: conic-gradient(from 90deg, rgba(242,167,201,.18), rgba(181,166,245,.2), rgba(143,211,234,.18), rgba(159,224,198,.15), rgba(242,167,201,.18));
  filter: blur(80px); border-radius: 50%; animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__inner {
  width: min(1280px, 100% - var(--gutter) * 2); margin-inline: auto;
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(30px, 5vw, 80px);
}
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px);
  color: rgba(255,255,255,.9); margin-bottom: 28px;
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: #7ee2b8; box-shadow: 0 0 0 0 rgba(126,226,184,.7); animation: ping 2.2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(126,226,184,0); } 100% { box-shadow: 0 0 0 0 rgba(126,226,184,0); } }

.hero__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(52px, 8.4vw, 116px); line-height: .95; letter-spacing: -.035em;
  font-variation-settings: "opsz" 144;
}
.hero__title em { font-style: italic; font-weight: 400; padding-right: .08em; }
.hero__lede { margin-top: 28px; max-width: 540px; font-size: clamp(17px, 1.5vw, 20px); color: rgba(255,255,255,.74); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__trust {
  list-style: none; padding: 0; margin: 48px 0 0; display: flex; flex-wrap: wrap; gap: 14px 34px;
  font-size: 14px; color: rgba(255,255,255,.6);
}
.hero__trust strong { display: block; font-family: var(--serif); font-size: 26px; font-weight: 400; color: #fff; }
.hero__trust sup { color: var(--gold-soft); }

/* The living pearl */
.hero__pearl-wrap {
  position: relative; aspect-ratio: 1; width: min(520px, 100%); justify-self: center;
  display: grid; place-items: center;
}
.pearl {
  position: relative; width: 64%; aspect-ratio: 1; border-radius: 50%;
  transform: translate3d(var(--px, 0), var(--py, 0), 0);
  transition: transform 1.2s var(--ease);
  animation: float 9s ease-in-out infinite;
  box-shadow:
    inset -30px -40px 80px rgba(80, 90, 150, .35),
    inset 20px 20px 60px rgba(255,255,255,.6),
    0 0 120px 10px rgba(199, 190, 250, .25),
    0 40px 80px -20px rgba(0,0,0,.6);
}
@keyframes float { 50% { translate: 0 -14px; } }
.pearl > div { position: absolute; inset: 0; border-radius: 50%; }
.pearl__nacre {
  background: radial-gradient(circle at 35% 30%, #fffefb 0%, #f3ede6 28%, #ddd6ec 58%, #a9b6d6 88%, #7d8ab3 100%);
}
.pearl__sheen {
  background: conic-gradient(from var(--angle, 0deg), rgba(242,167,201,.55), rgba(181,166,245,.45), rgba(143,211,234,.5), rgba(159,224,198,.45), rgba(241,208,140,.5), rgba(242,167,201,.55));
  mix-blend-mode: color; filter: blur(10px); opacity: .55;
  animation: sheen 12s linear infinite;
}
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes sheen { to { --angle: 360deg; } }
.pearl__highlight {
  background:
    radial-gradient(ellipse 22% 14% at 34% 26%, rgba(255,255,255,.95), transparent 70%),
    radial-gradient(ellipse 50% 30% at 60% 88%, rgba(255,255,255,.18), transparent 70%);
}
.pearl__shadow {
  position: absolute; bottom: 9%; width: 46%; height: 6%; border-radius: 50%;
  background: radial-gradient(rgba(0,0,0,.45), transparent 70%); filter: blur(6px);
  animation: shadow 9s ease-in-out infinite;
}
@keyframes shadow { 50% { transform: scale(.88); opacity: .7; } }

.orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.1); }
.orbit--1 { inset: 12%; }
.orbit--2 { inset: 3%; border-style: dashed; border-color: rgba(231, 207, 159, .18); animation: spin 80s linear infinite; }
.orbit--3 { inset: -6%; border-color: rgba(255,255,255,.05); }
.orbit--1 { animation: spin 24s linear infinite; }
.orbit--1::after {
  content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; top: 50%; left: -5px; margin-top: -5px;
  background: var(--gold-soft); box-shadow: 0 0 18px 4px rgba(231,207,159,.6);
}

.tag {
  position: absolute; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(10px);
  color: #fff; white-space: nowrap; animation: bob 7s ease-in-out infinite;
}
.tag::before { content: "✦ "; color: var(--gold-soft); }
.tag--a { top: 8%; left: 6%; }
.tag--b { top: 22%; right: -2%; animation-delay: -2s; }
.tag--c { bottom: 18%; left: -2%; animation-delay: -4s; }
.tag--d { bottom: 6%; right: 10%; animation-delay: -1s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

.hero__scroll {
  position: absolute; bottom: 28px; left: 50%; translate: -50% 0;
  width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,.35);
}
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: scroll 2s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 22px 0; border-block: 1px solid rgba(255,255,255,.06); }
.marquee__track { display: flex; gap: 34px; width: max-content; animation: marquee 60s linear infinite; align-items: center; }
.marquee__track span { font-family: var(--serif); font-size: 22px; font-style: italic; font-weight: 300; opacity: .85; }
.marquee__track i { font-style: normal; color: var(--gold); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Principle ---------- */
.principle { background: radial-gradient(900px 500px at 0% 0%, rgba(215, 207, 247, .35), transparent 60%), var(--pearl); }
.layers { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.layers__visual { position: sticky; top: 120px; }
.rings { width: 100%; max-width: 440px; margin-inline: auto; overflow: visible; }
.ring { fill: none; stroke: url(#ringStroke); stroke-width: 1.5; opacity: .25; transform-origin: 200px 200px; transform: scale(.6); transition: opacity 1s var(--ease), transform 1.2s var(--ease), stroke-width 1s; }
.ring.is-on { opacity: 1; transform: scale(1); stroke-width: 10; }
.ring-core { filter: drop-shadow(0 18px 30px rgba(120, 110, 190, .35)); }

.layers__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.layer {
  display: grid; grid-template-columns: auto 1fr; gap: 24px; padding: 30px;
  border-radius: var(--r); background: rgba(255,255,255,.6); border: 1px solid var(--line);
  transition: background .5s, box-shadow .5s, transform .5s var(--ease);
}
.layer.is-active { background: #fff; box-shadow: var(--shadow); transform: translateX(8px); }
.layer__num { font-family: var(--serif); font-size: 15px; color: var(--gold); font-weight: 600; padding-top: 6px; }
.layer h3 { font-family: var(--serif); font-size: 26px; margin-bottom: 8px; letter-spacing: -.01em; }
.layer p { color: var(--muted); }

/* ---------- Promises ---------- */
.promises { background: var(--pearl-2); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  position: relative; padding: 34px 28px; border-radius: var(--r-lg); background: var(--pearl);
  border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s;
}
.stat::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--nacre-strong); opacity: 0; transition: opacity .5s; }
.stat:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.stat:hover::before { opacity: 1; }
.stat__value { font-family: var(--serif); font-size: clamp(54px, 5vw, 76px); font-weight: 300; line-height: 1; letter-spacing: -.04em; color: var(--ink); margin-bottom: 22px; }
.stat__value small { font-size: .38em; color: var(--gold); margin-left: 4px; letter-spacing: 0; }
.stat h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.stat p { color: var(--muted); font-size: 15px; }

/* ---------- Programme finder ---------- */
.finder__bar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.finder__search {
  flex: 1 1 320px; max-width: 440px; display: flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 10px 30px -20px rgba(7,17,31,.3);
}
.finder__search:focus-within { border-color: var(--gold); }
.finder__search svg { width: 20px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.finder__search input { flex: 1; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); min-width: 0; }
.finder__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer;
  padding: 10px 16px; border-radius: 999px; font: 600 13.5px var(--sans); transition: all .3s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.finder__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.prog {
  position: relative; padding: 26px; border-radius: var(--r); background: #fff; border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px; min-height: 190px; overflow: hidden;
  animation: rise .6s var(--ease) both;
  transition: transform .45s var(--ease), box-shadow .45s, border-color .45s;
}
.prog::after {
  content: ""; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%;
  background: var(--nacre-strong); filter: blur(40px); opacity: 0; transition: opacity .6s;
}
.prog:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.prog:hover::after { opacity: .45; }
.prog__college { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.prog h3 { font-family: var(--serif); font-size: 24px; letter-spacing: -.01em; }
.prog__meta { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; position: relative; z-index: 1; }
.prog__meta span { font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--pearl-2); color: var(--muted); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.finder__more { display: flex; margin: 32px auto 0; }
.finder__more[hidden] { display: none; }
.finder__empty { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--r); }

/* ---------- Calabar ---------- */
.calabar { background: linear-gradient(180deg, var(--ocean), var(--abyss)); color: rgba(255,255,255,.78); overflow: hidden; }
.calabar__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.calabar__copy > p { margin-top: 24px; font-size: 18px; }
.checks { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--nacre) ; box-shadow: inset -3px -3px 6px rgba(80,90,150,.35);
}
.mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; gap: 14px; }
.tile {
  margin: 0; position: relative; border-radius: var(--r-lg); overflow: hidden; display: flex; align-items: flex-end;
  padding: 22px; color: #fff; isolation: isolate; transition: transform .6s var(--ease);
}
.tile:hover { transform: scale(1.02); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; transition: transform 1.4s var(--ease); }
.tile:hover::before { transform: scale(1.08); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.55)); }
.tile--tall { grid-row: span 2; }
.tile--wide { grid-column: span 2; }
.tile--sea::before { background: radial-gradient(circle at 70% 20%, #ffe2b8 0 6%, transparent 22%), linear-gradient(180deg, #f3a37a 0%, #c55f7a 35%, #2b4d82 62%, #0d2c4f 100%); }
.tile--forest::before { background: radial-gradient(circle at 20% 30%, rgba(195,235,224,.8), transparent 40%), linear-gradient(140deg, #134e44, #0a2b2a 70%); }
.tile--sunset::before { background: radial-gradient(circle at 80% 70%, rgba(241,208,140,.9), transparent 45%), linear-gradient(160deg, #d9467a, #7b2c8c 60%, #2a1d4f); }
.tile--pearl::before { background: radial-gradient(circle at 15% 50%, rgba(255,255,255,.9), transparent 35%), var(--nacre-strong); }
.tile--pearl { color: var(--ink); }
.tile--pearl::after { background: linear-gradient(90deg, rgba(255,255,255,.2), transparent); }
.tile figcaption { font-family: var(--serif); font-size: 22px; line-height: 1.15; }
.tile figcaption span { display: block; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .8; margin-bottom: 6px; }

/* ---------- Admissions ---------- */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.journey::before {
  content: ""; position: absolute; top: 27px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, var(--blush), var(--lilac), var(--sky), var(--mint));
}
.step { position: relative; text-align: center; padding: 0 6px; }
.step__dot {
  display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 24px; border-radius: 50%;
  font-family: var(--serif); font-size: 22px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 0 0 8px var(--pearl), 0 10px 24px -10px rgba(7,17,31,.35); position: relative;
}
.step h3 { font-family: var(--serif); font-size: 24px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15.5px; }

.deadline {
  margin-top: clamp(60px, 8vw, 90px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
  padding: 34px clamp(24px, 4vw, 48px); border-radius: var(--r-lg);
  background: var(--nacre); box-shadow: var(--shadow);
}
.deadline .eyebrow { color: var(--ink); margin-bottom: 6px; }
.deadline__date { font-family: var(--serif); font-size: 32px; }
.countdown { display: flex; gap: 10px; }
.countdown div {
  min-width: 82px; padding: 12px 10px; border-radius: 14px; text-align: center;
  background: rgba(255,255,255,.65); border: 1px solid rgba(255,255,255,.9);
}
.countdown span { display: block; font-family: var(--serif); font-size: 36px; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown small { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Scholarships ---------- */
.scholars { background: var(--pearl-2); }
.scholars__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: stretch; }
.scholars__card {
  position: relative; overflow: hidden; padding: clamp(32px, 5vw, 60px); border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line);
}
.scholars__card > p { margin-top: 20px; color: var(--muted); font-size: 18px; max-width: 520px; }
.scholars__shine {
  position: absolute; width: 380px; height: 380px; right: -140px; top: -140px; border-radius: 50%;
  background: var(--nacre-strong); filter: blur(70px); opacity: .5; animation: spin 30s linear infinite;
}
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 36px; position: relative; }
.tier { padding: 20px; border-radius: var(--r); background: var(--pearl); border: 1px solid var(--line); }
.tier strong { display: block; font-family: var(--serif); font-size: 38px; font-weight: 400; letter-spacing: -.03em; }
.tier span { font-size: 13.5px; color: var(--muted); font-weight: 600; }

.vision {
  margin: 0; padding: clamp(32px, 5vw, 56px); border-radius: var(--r-lg);
  background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  position: relative; overflow: hidden;
}
.vision::before { content: "“"; position: absolute; top: -40px; right: 20px; font-family: var(--serif); font-size: 260px; line-height: 1; color: rgba(231,207,159,.12); }
.vision p { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); font-weight: 300; line-height: 1.35; font-style: italic; position: relative; }
.vision footer { display: flex; align-items: center; gap: 16px; font-size: 14px; color: rgba(255,255,255,.7); }
.vision footer strong { color: #fff; }
.vision__mark { width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #fff 0 12%, transparent 30%), var(--nacre); flex: none; }

/* ---------- Apply ---------- */
.apply { background: var(--abyss); color: rgba(255,255,255,.78); overflow: hidden; isolation: isolate; }
.apply__aurora {
  position: absolute; inset: -30% -10% auto; height: 120%; z-index: -1;
  background:
    radial-gradient(600px 400px at 20% 30%, rgba(242,167,201,.22), transparent 70%),
    radial-gradient(700px 500px at 80% 20%, rgba(143,211,234,.2), transparent 70%),
    radial-gradient(600px 400px at 60% 80%, rgba(181,166,245,.22), transparent 70%);
  filter: blur(20px); animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate3d(-4%, 6%, 0) rotate(4deg); } }
.apply__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.apply__copy > p { margin-top: 24px; font-size: 18px; max-width: 520px; }
.contact-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; }
.contact-list li { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.08); color: #fff; word-break: break-word; }
.contact-list span { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); padding-top: 3px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.form {
  padding: clamp(26px, 4vw, 44px); border-radius: var(--r-lg); background: var(--pearl); color: var(--ink);
  display: grid; gap: 16px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.4);
}
.form h3 { font-family: var(--serif); font-size: 28px; margin-bottom: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.form input:not([type="checkbox"]), .form select {
  height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  font: 500 16px var(--sans); color: var(--ink); width: 100%; transition: border-color .3s, box-shadow .3s;
}
.form input:focus, .form select:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,164,92,.18); }
.form .is-invalid { border-color: #c2414b !important; }
.form__check { display: flex !important; align-items: center; gap: 10px; font-weight: 500 !important; }
.form__check input { width: 18px; height: 18px; accent-color: var(--ink); }
.form__status { font-size: 14px; min-height: 1.4em; font-weight: 600; }
.form__status.ok { color: #1f7a5a; }
.form__status.err { color: #c2414b; }

/* ---------- Footer ---------- */
.footer { background: #050c17; color: rgba(255,255,255,.6); padding: 80px 0 30px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer__brand p { margin-top: 18px; font-family: var(--serif); font-style: italic; font-size: 20px; color: rgba(255,255,255,.8); }
.footer h4 { color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; font-weight: 700; }
.footer nav { display: grid; gap: 10px; align-content: start; }
.footer nav a { text-decoration: none; transition: color .3s; }
.footer nav a:hover { color: #fff; }
.footer__small { font-size: 13px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); text-decoration: none; font-size: 12px; font-weight: 700; transition: all .3s; }
.socials a:hover { background: var(--nacre); color: var(--ink); border-color: transparent; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* The hero animates on load and never waits for scroll. */
.js .hero .reveal { opacity: 1; transform: none; transition: none; animation: heroIn 1.1s var(--ease) both; animation-delay: calc(var(--d, 0s) + .15s); }
@keyframes heroIn { from { opacity: 0; transform: translateY(28px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero__inner, .layers, .calabar__grid, .scholars__grid, .apply__grid { grid-template-columns: 1fr; }
  .hero { padding-top: 110px; }
  .hero__pearl-wrap { width: min(400px, 86%); order: -1; margin-bottom: -10px; }
  .layers__visual { position: relative; top: 0; max-width: 300px; margin-inline: auto; }
  .journey { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .journey::before { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav__cta .btn { display: none; }
  .hero__pearl-wrap { width: 62%; margin-bottom: -24px; }
  .hero { padding-top: 92px; }
  .hero__title { font-size: 50px; }
  .tag { font-size: 11px; padding: 6px 10px; }
  .hero__actions .btn { width: 100%; }
  .hero__trust { gap: 14px 24px; }
  .hero__trust strong { font-size: 22px; }
  .stats, .journey, .tiers, .footer__grid, .form__row { grid-template-columns: 1fr; }
  .step { text-align: left; display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; }
  .step__dot { margin: 0; grid-row: span 2; }
  .layer { padding: 22px; gap: 16px; }
  .layer.is-active { transform: none; }
  .mosaic { grid-auto-rows: 150px; gap: 10px; }
  .tile { padding: 16px; }
  .tile figcaption { font-size: 18px; }
  .countdown { width: 100%; }
  .countdown div { flex: 1; min-width: 0; }
  .countdown span { font-size: 28px; }
  .deadline .btn { width: 100%; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .finder__tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .chip { flex: none; }
  .finder__grid { gap: 10px; }
  .prog { min-height: 0; padding: 20px; gap: 6px; }
  .prog h3 { font-size: 21px; }
  .prog__meta { margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}
