/* =====================================================================
   LSAL — Lincoln School of Arts and Languages
   Design language: light, misty, spacious; large two-weight display
   type; pill controls; rounded media; midnight sections. Royal blue + white.
   ===================================================================== */

@font-face { font-family: "Outfit"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("../fonts/outfit-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #0A1B4D;
  --ink-2: #33416B;
  --mute: #66749A;
  --faint: #B3BFDC;
  --line: rgba(10, 27, 77, .12);
  --line-2: rgba(10, 27, 77, .07);
  --bg: #FFFFFF;
  --mist: #F2F5FA;
  --mist-2: #E8EDF6;
  --royal: #1340D0;
  --royal-d: #0B2C9F;
  --royal-l: #4A72F0;
  --sky: #DCE6FF;
  --sky-2: #EEF3FF;
  --gold: #8FB0FF;
  --gold-l: #E3EBFF;
  --night: #0B2C9F;
  --night-2: #1340D0;
  --night-line: rgba(255, 255, 255, .26);
  --ok: #157347;
  --err: #C0362C;

  --f-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --f-body: "Manrope", "Segoe UI", system-ui, sans-serif;

  --r-sm: 12px;
  --r: 22px;
  --r-lg: 32px;
  --pad: clamp(20px, 3.2vw, 44px);
  --sec: clamp(88px, 11vw, 160px);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --hdr: 84px;
  --ann: 0px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; margin: 0; letter-spacing: -.01em; line-height: 1.04; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: var(--royal); color: #fff; }
:focus-visible { outline: 2px solid var(--royal); outline-offset: 3px; border-radius: 6px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1480px; margin: 0 auto; padding: 0 var(--pad); }
.muted { color: var(--mute); }
.ic { width: 1em; height: 1em; flex: none; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
}
.eyebrow .dot, .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); display: inline-block; flex: none; }
.eyebrow-light { color: rgba(255,255,255,.7); }
.eyebrow-blue { color: var(--royal); }
.display { font-size: clamp(44px, 6.4vw, 104px); line-height: .98; letter-spacing: -.025em; }
.h2 { font-size: clamp(36px, 4.6vw, 72px); line-height: 1.02; letter-spacing: -.02em; }
.h3 { font-size: clamp(24px, 2.2vw, 34px); line-height: 1.1; }
.w2 { font-weight: 200; }
.w3 { font-weight: 300; }
.w5 { font-weight: 500; }
.w6 { font-weight: 600; }
.fade { color: var(--faint); }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--ink-2); }
.small { font-size: 14px; color: var(--mute); }
.two-tone b { font-weight: 500; color: var(--ink); }
.two-tone { color: var(--mute); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--royal); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 52px; padding: 0 28px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 600 13px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid transparent; white-space: nowrap;
  box-shadow: 0 10px 30px -12px rgba(10, 27, 77, .45);
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.btn .ic { width: 16px; height: 16px; color: var(--gold); transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -16px rgba(19, 64, 208, .6); }
.btn:hover .ic { transform: translate(2px, -2px); }
.btn-dark:hover { --bg: var(--royal-d); }
.btn-dark:hover .ic { color: #fff; }
.btn-blue { --bg: var(--royal); }
.btn-blue .ic { color: #fff; }
.btn-blue:hover { --bg: var(--royal-d); }
.btn-ghost { --bg: rgba(255,255,255,.55); --fg: var(--ink); border-color: var(--line); box-shadow: none; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost .ic { color: var(--royal); }
.btn-ghost:hover { --bg: #fff; border-color: var(--ink); box-shadow: none; }
.btn-light { --bg: #fff; --fg: var(--ink); }
.btn-light .ic { color: var(--royal); }
.btn-outline-light { --bg: transparent; --fg: #fff; border-color: var(--night-line); box-shadow: none; }
.btn-outline-light:hover { --bg: #fff; --fg: var(--ink); }
.btn-sm { height: 42px; padding: 0 20px; font-size: 12px; }
.btn-block { width: 100%; height: 58px; }

.pill-arrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; }
.pill-arrow .lbl { height: 38px; padding: 0 20px; display: inline-flex; align-items: center; border: 1px solid currentColor; border-radius: 999px; opacity: .85; transition: background .3s, color .3s; }
.pill-arrow .circ { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: currentColor; transition: transform .35s var(--ease); }
.pill-arrow .circ .ic { width: 16px; height: 16px; color: var(--bg-c, #fff); }
.pill-arrow:hover .circ { transform: rotate(45deg); }
.on-dark .pill-arrow { color: #fff; --bg-c: var(--night); }
.pill-arrow { --bg-c: #fff; }

.link-u { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-u .ic { color: var(--royal); width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-u:hover .ic { transform: translate(2px, -2px); }

.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 999px; font: 500 12px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2);
  background: rgba(255,255,255,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.chip .ic { width: 14px; height: 14px; color: var(--royal); }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 300; background: radial-gradient(60% 60% at 50% 45%, #fff 0%, var(--mist) 100%); display: grid; place-items: center; transition: opacity .6s var(--ease), visibility .6s; }
.loader.done { opacity: 0; visibility: hidden; }
.loader-in { display: grid; justify-items: center; gap: 18px; text-align: center; }
.loader-in img { animation: breathe 1.6s ease-in-out infinite; }
.loader-in p { font: 300 15px/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.loader-bar { width: 140px; height: 1px; background: var(--line); overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 40%; background: var(--royal); animation: bar 1.1s var(--ease) infinite; }
@keyframes bar { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
@keyframes breathe { 50% { transform: scale(1.05); filter: drop-shadow(0 0 22px rgba(19,64,208,.35)); } }

/* ---------- Announcement ---------- */
.announce { position: relative; z-index: 60; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 10px var(--pad); background: var(--night); color: #fff; font-size: 14px; text-align: center; }
.announce a { display: inline-flex; align-items: center; gap: 6px; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.hdr { position: fixed; top: var(--ann); left: 0; right: 0; z-index: 50; height: var(--hdr); transition: background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s; }
.hdr.scrolled { background: rgba(255,255,255,.78); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 var(--line-2); }
.hdr-in { height: 100%; max-width: 1480px; margin: 0 auto; padding: 0 var(--pad); display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 44px; height: 44px; filter: drop-shadow(0 4px 10px rgba(19,64,208,.25)); }
.brand-txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand-txt b { font: 600 18px/1 var(--f-display); letter-spacing: .32em; }
.brand-txt small { font: 500 9.5px/1.25 var(--f-body); letter-spacing: .06em; color: var(--mute); text-transform: uppercase; margin-top: 4px; }
.vdiv { width: 1px; height: 18px; background: var(--ink); opacity: .55; flex: none; }
.nav { flex: 1; }
.nav ul { display: flex; justify-content: center; gap: clamp(14px, 1.8vw, 30px); }
.nav a { position: relative; font: 500 14px/1 var(--f-body); color: var(--ink-2); padding: 8px 0; transition: color .25s; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--royal); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.hdr-r { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.hdr-r .vdiv { display: none; }
.burger { width: 48px; height: 40px; position: relative; display: none; }
.burger i { position: absolute; right: 0; height: 1.5px; background: var(--ink); transition: transform .45s var(--ease), width .45s var(--ease), top .45s var(--ease); }
.burger i:nth-of-type(1) { top: 15px; width: 36px; right: 12px; }
.burger i:nth-of-type(2) { top: 23px; width: 36px; }
.burger[aria-expanded="true"] i:nth-of-type(1) { top: 19px; right: 6px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:nth-of-type(2) { top: 19px; right: 6px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 45; background: rgba(255,255,255,.96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: calc(var(--hdr) + 24px) var(--pad) 32px; overflow-y: auto; opacity: 0; transition: opacity .4s var(--ease); }
.menu.open { opacity: 1; }
.menu-in { max-width: 1480px; margin: 0 auto; display: flex; flex-direction: column; min-height: 100%; justify-content: space-between; gap: 40px; }
.menu ol a { display: flex; align-items: baseline; gap: 18px; padding: 10px 0; border-bottom: 1px solid var(--line-2); font: 300 clamp(32px, 7vw, 56px)/1.1 var(--f-display); letter-spacing: -.02em; transform: translateY(16px); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease), color .3s; }
.menu.open ol a { transform: none; opacity: 1; }
.menu ol li:nth-child(2) a { transition-delay: .04s; } .menu ol li:nth-child(3) a { transition-delay: .08s; } .menu ol li:nth-child(4) a { transition-delay: .12s; }
.menu ol li:nth-child(5) a { transition-delay: .16s; } .menu ol li:nth-child(6) a { transition-delay: .2s; } .menu ol li:nth-child(7) a { transition-delay: .24s; }
.menu ol a span { font: 500 12px/1 var(--f-body); color: var(--royal); letter-spacing: .1em; }
.menu ol a[aria-current], .menu ol a:hover { color: var(--royal); }
.menu-foot { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; color: var(--ink-2); }
body.menu-open { overflow: hidden; }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; } .js .reveal-d2 { transition-delay: .16s; } .js .reveal-d3 { transition-delay: .24s; }
.words .w { transition: color .5s var(--ease); }
.js .words .w { color: var(--faint); }
.js .words .w.lit { color: var(--ink); }

/* ---------- HERO (home) ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; background: var(--mist); }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; transform: scale(1.06); animation: heroZoom 2.4s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(85% 100% at 0% 100%, rgba(255,255,255,.97) 0%, rgba(255,255,255,.88) 40%, rgba(255,255,255,0) 75%),
    linear-gradient(180deg, rgba(242,245,250,.55) 0%, rgba(242,245,250,0) 22%, rgba(242,245,250,0) 62%, rgba(255,255,255,.9) 100%),
    linear-gradient(90deg, rgba(232,238,250,.5), rgba(232,238,250,0) 60%);
}
.hero-glow { position: absolute; z-index: -1; width: 46vw; height: 46vw; max-width: 720px; max-height: 720px; left: 28%; top: 6%; border-radius: 50%; background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.9) 0%, rgba(220,230,255,.55) 35%, rgba(255,255,255,0) 70%); filter: blur(10px); pointer-events: none; animation: glow 7s ease-in-out infinite; }
@keyframes glow { 50% { transform: translate(2%, 3%) scale(1.06); opacity: .8; } }
.hero-in { width: 100%; max-width: 1480px; margin: 0 auto; padding: calc(var(--hdr) + var(--ann) + 40px) var(--pad) clamp(56px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: end; }
.hero h1 { font-size: clamp(40px, 5.6vw, 92px); line-height: .98; letter-spacing: -.028em; }
.hero h1 span { display: block; }
.hero .tagline { margin-top: 22px; font: 400 clamp(17px, 1.5vw, 22px)/1.35 var(--f-display); color: var(--royal-d); max-width: 34ch; }
.hero .lead { margin-top: 14px; max-width: 52ch; font-size: 16px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-side { justify-self: end; max-width: 400px; padding: 22px 24px; border-radius: var(--r); background: rgba(255,255,255,.72); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border: 1px solid rgba(255,255,255,.8); box-shadow: 0 30px 60px -40px rgba(10,27,77,.5); }
.hero-side p { font: 400 17px/1.45 var(--f-display); color: var(--ink); }
.hero-side p span { color: var(--mute); }
.hero-side .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ticks { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: 18px; align-items: flex-end; height: 22px; }
.ticks i { width: 1.5px; height: 14px; background: var(--ink); opacity: .55; animation: tick 2.4s ease-in-out infinite; }
.ticks i:nth-child(2) { animation-delay: .2s; } .ticks i:nth-child(3) { animation-delay: .4s; } .ticks i:nth-child(4) { animation-delay: .6s; }
@keyframes tick { 0%, 100% { height: 12px; } 30% { height: 22px; opacity: 1; } }
.js .hero .h-in { opacity: 0; transform: translateY(30px); animation: hin 1.1s var(--ease) forwards; }
.hero .h-in:nth-child(2) { animation-delay: .1s; } .hero .h-in:nth-child(3) { animation-delay: .2s; } .hero .h-in:nth-child(4) { animation-delay: .3s; } .hero .h-in:nth-child(5) { animation-delay: .4s; }
@keyframes hin { to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.sec { padding: var(--sec) 0; position: relative; }
.sec-tight { padding: calc(var(--sec) * .6) 0; }
.sec-mist { background: linear-gradient(180deg, #fff 0%, var(--mist) 18%, var(--mist) 82%, #fff 100%); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 40px; align-items: end; margin-bottom: clamp(44px, 5vw, 80px); }
.sec-head .lead, .sec-head .side { justify-self: end; max-width: 400px; }
.sec-head .side { font: 400 18px/1.45 var(--f-display); }
.sec-head .side span { color: var(--mute); }

/* Statement */
.statement { text-align: center; }
.statement-grid { display: grid; grid-template-columns: 1fr minmax(240px, 400px) 1fr; gap: clamp(20px, 3vw, 48px); align-items: center; margin-top: 28px; }
.statement-grid h2 { font-size: clamp(34px, 4.6vw, 76px); line-height: 1; letter-spacing: -.025em; }
.statement-grid .l { text-align: left; }
.statement-grid .r { text-align: right; }
.statement-media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 40px 80px -40px rgba(10,27,77,.45); }
.statement-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.statement-media:hover img { transform: scale(1.04); }
.statement .words { margin: clamp(56px, 7vw, 100px) auto 0; max-width: 1080px; font: 300 clamp(24px, 2.7vw, 42px)/1.3 var(--f-display); letter-spacing: -.01em; }
.statement .after { margin: 36px auto 0; max-width: 640px; }

/* Pillars stage (floating cards around an orb) */
.stage { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: clamp(140px, 18vw, 260px) clamp(260px, 30vw, 460px); padding: 40px 0; }
.stage-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(520px, 46vw); aspect-ratio: 1; display: grid; place-items: center; text-align: center; pointer-events: none; }
.orb { position: absolute; inset: 6%; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 55%, rgba(19,64,208,.55) 0%, rgba(74,114,240,.32) 30%, rgba(220,230,255,.4) 55%, rgba(255,255,255,0) 72%),
    radial-gradient(circle at 35% 30%, rgba(255,255,255,.95) 0%, rgba(255,255,255,0) 40%);
  filter: blur(2px); animation: orb 9s ease-in-out infinite; }
.orb::after { content: ""; position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0) 50%, rgba(255,255,255,.5) 51%, rgba(255,255,255,0) 54%); opacity: .7; }
@keyframes orb { 50% { transform: scale(1.05) rotate(6deg); } }
.stage-core h2 { position: relative; font-size: clamp(30px, 3.4vw, 56px); line-height: 1.02; }
.stage-core p { position: relative; margin-top: 14px; color: var(--ink-2); font-size: 15px; max-width: 30ch; margin-inline: auto; }
.pillar {
  position: relative; z-index: 1; padding: 26px 26px 28px; border-radius: var(--r); max-width: 360px;
  background: rgba(255,255,255,.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(201,162,75,.38);
  box-shadow: 0 0 0 6px rgba(255,255,255,.45), 0 30px 60px -30px rgba(10,27,77,.35);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.pillar:hover { transform: translateY(-6px); border-color: var(--royal-l); box-shadow: 0 0 0 6px rgba(220,230,255,.7), 0 40px 70px -30px rgba(19,64,208,.4); }
.pillar:nth-child(2), .pillar:nth-child(4) { justify-self: end; }
.pillar:nth-child(3), .pillar:nth-child(4) { margin-top: 0; }
.pillar:nth-child(1) { margin-left: 4%; } .pillar:nth-child(3) { margin-left: 8%; }
.pillar .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--sky-2); color: var(--royal); margin-bottom: 18px; }
.pillar .ico .ic { width: 22px; height: 22px; }
.pillar h3 { font-size: 22px; font-weight: 500; }
.pillar p { margin-top: 8px; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.pillar .num { position: absolute; top: 22px; right: 24px; font: 500 12px/1 var(--f-body); letter-spacing: .12em; color: var(--faint); }

/* Media banner (showreel-style) */
.media-banner { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 21 / 9; isolation: isolate; color: #fff; }
.media-banner img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.media-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,22,92,.15), rgba(6,22,92,.55)); z-index: 1; }
.media-banner:hover img { transform: scale(1.04); }
.media-banner .mb-c { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 22px; font: 400 clamp(28px, 4vw, 64px)/1 var(--f-display); letter-spacing: -.01em; text-transform: uppercase; }
.media-banner .mb-c .ring { width: clamp(52px, 5vw, 80px); height: clamp(52px, 5vw, 80px); border: 1.5px solid #fff; border-radius: 50%; display: grid; place-items: center; transition: background .4s, color .4s; }
.media-banner .mb-c .ring .ic { width: 40%; height: 40%; }
.media-banner:hover .ring { background: #fff; color: var(--royal); }
.media-banner .mb-c .bar { width: 1.5px; height: .8em; background: rgba(255,255,255,.7); }

/* ---------- Dark section (events) ---------- */
.on-dark { background: var(--night); color: #fff; }
.on-dark .lead, .on-dark .small { color: rgba(255,255,255,.66); }
.on-dark .fade { color: rgba(255,255,255,.35); }
.dark-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 3vw, 44px); }
.filter { height: 48px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--line); font: 500 14px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); transition: all .3s var(--ease); }
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--royal); border-color: var(--royal); color: #fff; box-shadow: 0 10px 30px -10px rgba(19,64,208,.7); }
.on-dark .filter { border-color: var(--night-line); color: rgba(255,255,255,.82); }
.on-dark .filter:hover { border-color: #fff; color: #fff; }

.ev-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) 12px; }
.ev-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ev-card { display: flex; flex-direction: column; }
.ev-card[hidden] { display: none; }
.ev-media { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; background: var(--night-2); }
.ev-media img, .ev-media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ev-card:hover .ev-media img { transform: scale(1.05); }
.ev-media .badge { position: absolute; left: 16px; top: 16px; }
.ev-meta { margin-top: 18px; font: 500 13px/1.3 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.on-dark .ev-meta { color: rgba(255,255,255,.55); }
.ev-title { margin-top: 10px; display: flex; align-items: center; gap: 12px; font: 400 clamp(24px, 2.4vw, 36px)/1.1 var(--f-display); }
.ev-title .ic { color: var(--royal-l); width: .8em; height: .8em; transition: transform .35s var(--ease); flex: none; }
.ev-card:hover .ev-title .ic { transform: translate(3px, -3px); }
.ev-sum { margin-top: 10px; color: var(--ink-2); max-width: 52ch; }
.on-dark .ev-sum { color: rgba(255,255,255,.66); }
.ev-foot { margin-top: 18px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.date { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--mute); }
.date .ic { color: var(--royal); }
.on-dark .date { color: rgba(255,255,255,.6); }

.badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 12px; border-radius: 999px; font: 600 11px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.88); color: var(--ink); backdrop-filter: blur(6px); }
.badge .ic { width: 12px; height: 12px; color: var(--royal); }
.badge-sample { background: var(--gold-l); color: var(--royal-d); }

/* Placeholder for missing photos */
.ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 100%; min-height: 180px;
  background: radial-gradient(80% 80% at 30% 20%, rgba(74,114,240,.35), rgba(6,22,92,0) 60%), linear-gradient(135deg, #2A5BEA, #1340D0 55%, #0B2C9F); color: rgba(255,255,255,.75);
  font: 500 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; }
.ph img { width: 48px !important; height: 48px !important; object-fit: contain !important; transform: none !important; opacity: .9; filter: drop-shadow(0 0 18px rgba(74,114,240,.6)); }

/* ---------- Cards (light) ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 2.4vw, 34px); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; }
.card:hover { transform: translateY(-4px); border-color: rgba(19,64,208,.35); box-shadow: 0 30px 60px -35px rgba(19,64,208,.45); }
.card .ico { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--sky-2); color: var(--royal); margin-bottom: 22px; }
.card .ico .ic { width: 24px; height: 24px; }
.card h3 { font-size: 24px; font-weight: 500; }
.card p { margin-top: 10px; color: var(--ink-2); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ticks-list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line-2); }
.ticks-list li:first-child { border-top: 0; }
.ticks-list .ic { color: var(--royal); width: 18px; height: 18px; margin-top: 4px; }
.note-card { border: 1px dashed var(--faint); background: var(--mist); border-radius: var(--r); padding: 24px 26px; color: var(--ink-2); }
.note-card strong { display: block; font: 500 18px/1.2 var(--f-display); color: var(--ink); margin-bottom: 6px; }

/* ---------- Page hero (inner pages) ---------- */
.phero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 110px) 0 clamp(48px, 6vw, 90px); background: radial-gradient(60% 120% at 85% 0%, var(--sky) 0%, rgba(220,230,255,0) 60%), radial-gradient(50% 80% at 0% 100%, var(--sky-2) 0%, rgba(238,243,255,0) 70%), #fff; }
.phero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -120px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(19,64,208,.18), rgba(19,64,208,0) 65%); filter: blur(8px); pointer-events: none; }
.phero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 40px; align-items: end; }
.crumb { display: flex; gap: 8px; align-items: center; font: 500 12px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: 26px; }
.crumb a:hover { color: var(--royal); }
.phero h1 { font-size: clamp(44px, 6.6vw, 108px); line-height: .96; letter-spacing: -.03em; }
.phero .side { justify-self: end; max-width: 400px; font: 400 18px/1.5 var(--f-display); color: var(--ink); }
.phero .side span { color: var(--mute); }
.phero-media { margin-top: clamp(40px, 5vw, 72px); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 21 / 8; position: relative; z-index: 1; }
.phero-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Split / prose ---------- */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.split.rev { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.sticky { position: sticky; top: calc(var(--hdr) + 32px); }
.prose p + p { margin-top: 1.1em; }
.prose p { color: var(--ink-2); font-size: 17px; }
.rounded-media { border-radius: var(--r-lg); overflow: hidden; }
.rounded-media img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts > div { padding: 28px 24px 28px 0; }
.facts > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts b { display: block; font: 300 clamp(32px, 3.4vw, 54px)/1 var(--f-display); letter-spacing: -.02em; color: var(--ink); }
.facts span { display: block; margin-top: 10px; font-size: 14px; color: var(--mute); }

/* Program rows (academics) */
.prog { display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); padding: clamp(32px, 4vw, 56px) 0; border-top: 1px solid var(--line); align-items: start; }
.prog:last-child { border-bottom: 1px solid var(--line); }
.prog .n { font: 500 13px/1 var(--f-body); letter-spacing: .12em; color: var(--royal); padding-top: 12px; }
.prog h3 { font-size: clamp(30px, 3.4vw, 52px); line-height: 1; }
.prog .ico { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: var(--sky-2); color: var(--royal); margin-bottom: 22px; }
.prog .ico .ic { width: 26px; height: 26px; }
.prog .media { border-radius: var(--r); overflow: hidden; aspect-ratio: 16/10; margin-top: 22px; }
.prog .media img, .prog .media .ph { width: 100%; height: 100%; object-fit: cover; }
.track { padding: 28px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; }
.track h3 { font-size: 26px; font-weight: 500; }
.track ul { margin-top: 14px; }
.track li { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: var(--ink-2); }
.track li .ic { color: var(--royal); }

/* Steps (curriculum overview) */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { padding: 30px; border-radius: var(--r); background: rgba(255,255,255,.75); border: 1px solid var(--line); }
.step b { display: block; font: 500 12px/1 var(--f-body); letter-spacing: .16em; color: var(--royal); text-transform: uppercase; margin-bottom: 18px; }
.step h3 { font-size: 26px; }
.step p { margin-top: 10px; color: var(--ink-2); font-size: 15px; }

/* ---------- Form card ---------- */
.form-card { position: relative; border-radius: var(--r-lg); overflow: hidden; padding: clamp(28px, 5vw, 80px); background:
  radial-gradient(60% 70% at 0% 100%, rgba(220,230,255,.9) 0%, rgba(220,230,255,0) 70%),
  radial-gradient(50% 60% at 100% 0%, rgba(241,227,191,.45) 0%, rgba(241,227,191,0) 70%), #FBFCFF;
  border: 1px solid var(--line-2); box-shadow: 0 50px 100px -60px rgba(10,27,77,.35); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 100px); }
.form-card h2 { font-size: clamp(38px, 4.4vw, 70px); line-height: 1.02; font-weight: 300; letter-spacing: -.02em; }
.form-card .rule { width: 56px; height: 1px; background: var(--ink); opacity: .3; margin: 36px 0 22px; }
.form-card .contact-mini { margin-top: 36px; display: grid; gap: 12px; }
.contact-mini a, .contact-mini div { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.contact-mini .ic { color: var(--royal); width: 18px; height: 18px; margin-top: 3px; }
.contact-mini a:hover { color: var(--royal); }
.form h3 { font-size: clamp(28px, 2.6vw, 40px); margin-bottom: 26px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.f { position: relative; display: flex; flex-direction: column; }
.f.full { grid-column: 1 / -1; }
.f label, .f .lbl { font: 500 13px/1.3 var(--f-body); color: var(--mute); margin-bottom: 6px; }
.f label .req { color: var(--royal); }
.f input, .f select, .f textarea { width: 100%; font: 400 16px/1.4 var(--f-body); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid rgba(10,27,77,.35); border-radius: 0; padding: 10px 0 12px; transition: border-color .3s; appearance: none; -webkit-appearance: none; }
.f select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237A8399' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; padding-right: 26px; cursor: pointer; }
.f textarea { min-height: 96px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-bottom-color: var(--royal); box-shadow: 0 1px 0 0 var(--royal); }
.f .err { display: none; margin-top: 6px; font-size: 13px; color: var(--err); }
.f.invalid input, .f.invalid select, .f.invalid textarea { border-bottom-color: var(--err); }
.f.invalid .err { display: block; }
.chipset { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.chipset legend { font: 500 13px/1.3 var(--f-body); color: var(--mute); margin-bottom: 10px; padding: 0; }
.chipset label { position: relative; }
.chipset input { position: absolute; opacity: 0; pointer-events: none; }
.chipset span { display: inline-flex; align-items: center; height: 38px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(10,27,77,.35); font-size: 14px; color: var(--ink); cursor: pointer; transition: all .25s var(--ease); }
.chipset label:hover span { border-color: var(--royal); }
.chipset input:checked + span { background: var(--royal); color: #fff; border-color: var(--royal); }
.chipset input:focus-visible + span { outline: 2px solid var(--royal); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--ink-2); line-height: 1.5; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--royal); flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin-top: 18px; padding: 14px 18px; border-radius: 14px; font-size: 15px; line-height: 1.5; }
.form-status.show { display: flex; gap: 10px; align-items: flex-start; }
.form-status .ic { width: 20px; height: 20px; margin-top: 2px; }
.form-status.ok { background: #E8F5EE; color: var(--ok); }
.form-status.bad { background: #FBECEA; color: var(--err); }
.form-status.info { background: var(--sky-2); color: var(--royal-d); }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btn .spin { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; display: none; }
.btn.loading .spin { display: inline-block; }
.btn.loading .ic { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Requirements / info table */
.info-rows > div { display: grid; grid-template-columns: minmax(0, .4fr) minmax(0, 1fr); gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.info-rows > div:last-child { border-bottom: 1px solid var(--line); }
.info-rows dt { font: 500 18px/1.3 var(--f-display); }
.info-rows dd { margin: 0; color: var(--ink-2); }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font: 400 clamp(20px, 1.8vw, 26px)/1.25 var(--f-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .4s var(--ease), background .3s, color .3s; }
.faq summary .pm .ic { width: 18px; height: 18px; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--royal); color: #fff; border-color: var(--royal); }
.faq summary:hover .pm { border-color: var(--royal); }
.faq .ans { padding: 0 64px 28px 0; color: var(--ink-2); max-width: 72ch; }

/* Gallery */
.masonry { columns: 3 320px; column-gap: 14px; }
.g-item { break-inside: avoid; margin-bottom: 14px; position: relative; display: block; width: 100%; border-radius: var(--r); overflow: hidden; background: var(--mist); text-align: left; }
.g-item[hidden] { display: none; }
.g-item img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.g-item:hover img { transform: scale(1.04); }
.g-item .badge { position: absolute; left: 14px; top: 14px; }
.g-item .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; color: #fff; font-size: 14px; line-height: 1.4; background: linear-gradient(180deg, rgba(6,22,92,0), rgba(6,22,92,.75)); opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.g-item:hover .cap, .g-item:focus-visible .cap { opacity: 1; transform: none; }
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(6,22,92,.94); display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; padding: 60px 16px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 16px; max-height: 100%; }
.lightbox img { max-height: calc(100vh - 180px); max-width: 100%; border-radius: 14px; object-fit: contain; }
.lightbox figcaption { color: rgba(255,255,255,.8); font-size: 15px; text-align: center; max-width: 70ch; }
.lb-close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--night-line); color: #fff; display: grid; place-items: center; }
.lb-nav { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--night-line); color: #fff; display: grid; place-items: center; justify-self: center; transition: background .3s; }
.lb-nav:hover, .lb-close:hover { background: rgba(255,255,255,.12); }
.lb-close .ic, .lb-nav .ic { width: 22px; height: 22px; }

/* Map */
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: var(--mist); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Contact tiles */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile { padding: 30px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; gap: 12px; transition: border-color .4s, box-shadow .4s, transform .4s var(--ease); }
.tile:hover { border-color: rgba(19,64,208,.35); box-shadow: 0 30px 60px -40px rgba(19,64,208,.5); transform: translateY(-3px); }
.tile .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--sky-2); color: var(--royal); }
.tile .ico .ic { width: 22px; height: 22px; }
.tile h3 { font-size: 22px; font-weight: 500; }
.tile a { color: var(--ink); }
.tile a:hover { color: var(--royal); }
.tile .row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line-2); font-size: 15px; }
.tile .row:first-of-type { border-top: 0; }
.tile .row span { color: var(--mute); }

/* Event detail */
.ev-hero-media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 21 / 9; }
.ev-hero-media img, .ev-hero-media .ph { width: 100%; height: 100%; object-fit: cover; }
.cats { display: flex; flex-wrap: wrap; gap: 8px; }

/* CTA rows (home) */
.cta-rows a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); transition: padding .4s var(--ease), color .3s; }
.cta-rows a:last-child { border-bottom: 1px solid var(--line); }
.cta-rows b { display: block; font: 400 clamp(22px, 2.2vw, 32px)/1.15 var(--f-display); }
.cta-rows small { display: block; margin-top: 6px; color: var(--mute); font-size: 14px; }
.cta-rows .circ { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: all .4s var(--ease); }
.cta-rows .circ .ic { width: 20px; height: 20px; }
.cta-rows a:hover { padding-left: 12px; color: var(--royal); }
.cta-rows a:hover .circ { background: var(--royal); color: #fff; border-color: var(--royal); transform: rotate(45deg); }

/* ---------- Footer ---------- */
.ftr { background: var(--night); color: #fff; padding: clamp(80px, 10vw, 140px) 0 28px; overflow: hidden; position: relative; }
.ftr::before { content: ""; position: absolute; width: 900px; height: 900px; left: -300px; top: -500px; border-radius: 50%; background: radial-gradient(circle, rgba(19,64,208,.35), rgba(19,64,208,0) 65%); pointer-events: none; }
.ftr .wrap { position: relative; }
.ftr-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 48px; align-items: end; padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--night-line); }
.ftr-q { margin-top: 22px; font: 500 clamp(38px, 5vw, 80px)/1.02 var(--f-display); letter-spacing: -.025em; max-width: 14ch; }
.ftr-q .fade { color: rgba(255,255,255,.38); }
.ftr-mail { margin-top: 40px; display: inline-flex; align-items: center; gap: 16px; font: 400 clamp(20px, 2.3vw, 34px)/1.2 var(--f-display); word-break: break-all; }
.ftr-mail .ic { width: 1.1em; height: 1.1em; color: var(--royal-l); flex: none; }
.ftr-mail:hover { color: var(--sky); }
.ftr-visit { justify-self: end; max-width: 380px; display: grid; gap: 18px; color: rgba(255,255,255,.66); font-size: 15px; }
.ftr-visit address { color: #fff; }
.ftr-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: clamp(48px, 5vw, 72px) 0; border-bottom: 1px solid var(--night-line); }
.ftr-cols h3 { font: 500 11px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 20px; }
.ftr-cols li a { display: inline-block; padding: 5px 0; font: 300 clamp(17px, 1.4vw, 21px)/1.3 var(--f-display); color: rgba(255,255,255,.88); transition: color .25s, transform .3s var(--ease); }
.ftr-cols li a:hover { color: #fff; transform: translateX(4px); }
.ftr-cols .lbl { font: 500 11px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-right: 6px; }
.wordmark { display: flex; justify-content: space-between; overflow: hidden; font: 600 clamp(110px, 27vw, 420px)/.8 var(--f-display); letter-spacing: -.02em; padding: clamp(36px, 4vw, 60px) 0 clamp(24px, 3vw, 40px); background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,.18)); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.ftr-bot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.55); }
.socials { display: flex; gap: 10px; }
.socials a, .socials span { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--night-line); display: grid; place-items: center; color: rgba(255,255,255,.8); transition: all .3s; }
.socials a:hover { background: #fff; color: var(--night); }
.socials .ic { width: 17px; height: 17px; }
.totop { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.totop span { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--night-line); display: grid; place-items: center; transition: background .3s, color .3s; }
.totop:hover span { background: #fff; color: var(--night); }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .nav { display: none; }
  .burger { display: block; }
  .hdr-r .vdiv { display: block; }
  .stage { gap: 40px; grid-template-columns: 1fr 1fr; }
  .stage-core { position: relative; left: auto; top: auto; transform: none; grid-column: 1 / -1; order: -1; width: min(460px, 90vw); margin: 0 auto 10px; }
  .pillar, .pillar:nth-child(n) { max-width: none; margin: 0; justify-self: stretch; }
}
@media (max-width: 1024px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-side { justify-self: start; }
  .hero { background: #fff; }
  .hero-bg { bottom: auto; height: 50svh; height: 50vh; }
  .hero::before { bottom: auto; height: 50vh; background:
    linear-gradient(180deg, rgba(242,245,250,.5) 0%, rgba(255,255,255,0) 30%, rgba(255,255,255,0) 55%, #fff 100%); }
  .hero-in { padding-top: calc(50vh - 40px); }
  .hero-bg img { object-position: 62% 40%; }
  .hero-glow { display: none; }

  .ev-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-card { grid-template-columns: 1fr; }
  .ftr-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .prog { grid-template-columns: 1fr 1fr; }
  .prog .n { grid-column: 1 / -1; padding: 0; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  :root { --hdr: 72px; }
  .sec-head, .phero-grid, .split, .split.rev, .ftr-top { grid-template-columns: 1fr; }
  .sec-head .lead, .sec-head .side, .phero .side, .ftr-visit { justify-self: start; }
  .statement-grid { grid-template-columns: 1fr; }
  .statement-grid .l, .statement-grid .r { text-align: center; }
  .statement-media { max-width: 420px; margin: 0 auto; aspect-ratio: 4 / 4.4; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .media-banner { aspect-ratio: 4 / 3; }
  .phero-media, .ev-hero-media { aspect-ratio: 4 / 3; }
  .sticky { position: static; }
  .prog { grid-template-columns: 1fr; }
  .info-rows > div { grid-template-columns: 1fr; gap: 6px; }
  .hide-sm, .hdr-r .vdiv.hide-sm { display: none; }
  .lightbox { grid-template-columns: 1fr; padding: 70px 12px 90px; }
  .lb-nav { position: absolute; bottom: 20px; }
  .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); }
}
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .brand-txt small { display: none; }
  .brand img { width: 40px; height: 40px; }
  .hdr-r { gap: 10px; }
  .hdr-r .btn-sm { height: 38px; padding: 0 14px; font-size: 11px; letter-spacing: .08em; }
  .hero-cta .btn { width: 100%; }
  .stage { grid-template-columns: 1fr; }
  .grid-4, .tiles, .fgrid, .ftr-cols, .ev-grid, .ev-grid.three { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .filter { height: 40px; padding: 0 16px; font-size: 12px; }
  .faq .ans { padding-right: 0; }
  .ftr-bot { flex-direction: column; align-items: flex-start; }
  .masonry { columns: 2 140px; column-gap: 10px; }
  .g-item { margin-bottom: 10px; border-radius: 14px; }
  .g-item .badge { display: none; }
  .media-banner .mb-c .bar, .media-banner .mb-c .t2 { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .words .w { color: var(--ink); }
}
@media print {
  .hdr, .menu, .ftr, .loader, .lightbox { display: none !important; }
}

/* Inner-page title entrance */
.js .phero .h-in { opacity: 0; transform: translateY(26px); animation: hin 1.1s var(--ease) .05s forwards; }
.cta-sec { padding-top: 0; }
.on-dark + .cta-sec, .sec-mist + .cta-sec { padding-top: var(--sec); }
.f .consent input[type="checkbox"] { appearance: auto; -webkit-appearance: auto; width: 18px; height: 18px; padding: 0; border: 0; box-shadow: none; margin: 2px 0 0; }
.map { position: relative; }
.map::before { content: "Loading map…"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--mute); font-size: 14px; z-index: 0; }
.map iframe { position: relative; z-index: 1; }

/* ---------- Blue hero overlay (home) ---------- */
.hero { background: var(--royal-d); color: #fff; }
.hero::before {
  background:
    linear-gradient(90deg, rgba(6,22,92,.94) 0%, rgba(8,30,120,.88) 40%, rgba(11,44,159,.55) 62%, rgba(19,64,208,.25) 100%),
    linear-gradient(180deg, rgba(6,22,92,.45) 0%, rgba(6,22,92,0) 30%, rgba(6,22,92,0) 60%, rgba(6,22,92,.7) 100%);
}
.hero-glow { background: radial-gradient(circle, rgba(120,160,255,.45) 0%, rgba(74,114,240,.18) 40%, rgba(19,64,208,0) 70%); }
.hero .eyebrow { color: rgba(255,255,255,.82); }
.hero .tagline { color: #C9D7FF; }
.hero .lead { color: rgba(255,255,255,.82); }
.hero .btn-light:hover { --bg: var(--sky); }
.hero .btn-outline-light { border-color: rgba(255,255,255,.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero .btn-outline-light .ic { color: #fff; }
.hero .btn-outline-light:hover .ic { color: var(--royal); }
.hero-side { background: rgba(6,22,92,.35); border-color: rgba(255,255,255,.22); box-shadow: 0 30px 60px -40px rgba(0,0,0,.6); }
.hero-side p { color: #fff; }
.hero-side p span { color: rgba(255,255,255,.7); }
.hero .chip { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); color: #fff; }
.ticks i { background: #fff; }

/* Header sits on the blue hero until the page scrolls */
.hdr:not(.scrolled) .nav a { color: rgba(255,255,255,.85); }
.hdr:not(.scrolled) .nav a:hover, .hdr:not(.scrolled) .nav a[aria-current] { color: #fff; }
.hdr:not(.scrolled) .nav a::after { background: #fff; }
.hdr:not(.scrolled) .brand-txt b { color: #fff; }
.hdr:not(.scrolled) .brand-txt small { color: rgba(255,255,255,.7); }
.hdr:not(.scrolled) .vdiv { background: #fff; }
.hdr:not(.scrolled) .burger i { background: #fff; }
.hdr:not(.scrolled) .btn-dark { --bg: #fff; --fg: var(--ink); }
.hdr:not(.scrolled) .btn-dark .ic { color: var(--royal); }

@media (max-width: 1024px) {
  .hero { background: linear-gradient(180deg, #0A2690 0%, #0A2690 50vh, #071A66 100%); }
  .hero::before { background: linear-gradient(180deg, rgba(6,22,92,.55) 0%, rgba(11,44,159,.25) 35%, rgba(11,44,159,.35) 65%, #0A2690 100%); }
}
.hero h1 .w2 { font-weight: 300; }


/* =====================================================================
   WHITE + ROYAL BLUE THEME (replaces the navy/black sections)
   ===================================================================== */
.on-dark { background: radial-gradient(70% 60% at 85% 0%, rgba(120,160,255,.35) 0%, rgba(120,160,255,0) 60%), linear-gradient(165deg, #1846DA 0%, #1340D0 45%, #0B2C9F 100%); }
.on-dark .lead, .on-dark .small { color: rgba(255,255,255,.82); }
.on-dark .ev-meta { color: rgba(255,255,255,.78); }
.on-dark .ev-sum { color: rgba(255,255,255,.86); }
.on-dark .ev-title .ic, .on-dark .date .ic { color: #C9D7FF; }
.on-dark .date { color: rgba(255,255,255,.82); }
.on-dark .fade { color: rgba(255,255,255,.55); }
.on-dark .filter[aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--royal); box-shadow: 0 10px 30px -12px rgba(0,0,0,.35); }
.on-dark .ev-media { background: rgba(255,255,255,.1); box-shadow: 0 30px 60px -40px rgba(0,0,0,.5); }
.ftr { background: radial-gradient(60% 50% at 0% 0%, rgba(140,175,255,.35) 0%, rgba(140,175,255,0) 70%), linear-gradient(170deg, #1846DA 0%, #1340D0 40%, #0A2A98 100%); }
.ftr::before { background: radial-gradient(circle, rgba(255,255,255,.14), rgba(255,255,255,0) 65%); }
.ftr-q .fade { color: rgba(255,255,255,.55); }
.ftr-mail .ic { color: #C9D7FF; }
.ftr-mail:hover { color: #E3EBFF; }
.ftr-visit { color: rgba(255,255,255,.84); }
.ftr-cols h3 { color: rgba(255,255,255,.72); }
.ftr-cols .lbl { color: rgba(255,255,255,.66); }
.ftr-bot { color: rgba(255,255,255,.78); }
.wordmark { background: linear-gradient(180deg, #fff 25%, rgba(255,255,255,.22)); -webkit-background-clip: text; background-clip: text; }
.pillar { border-color: rgba(19,64,208,.22); }
.hero .eyebrow .dot, .on-dark .dot, .ftr .dot { background: #fff; }
.announce { background: var(--royal); }

/* =====================================================================
   LSAL SEAL ORB — particle sphere that forms the official seal
   ===================================================================== */
.seal-orb { position: relative; width: 100%; aspect-ratio: 1; display: grid; place-items: center; isolation: isolate; }
.seal-orb canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.seal-orb .seal-core { position: absolute; width: 74%; height: 74%; left: 13%; top: 13%; z-index: 2; opacity: 0; transform: scale(.94); transition: opacity .9s var(--ease), transform 1.2s var(--ease), filter 1.2s var(--ease); filter: drop-shadow(0 0 40px rgba(140,175,255,.6)); pointer-events: none; }
.seal-orb.formed .seal-core { opacity: 1; transform: none; }
.seal-orb::before { content: ""; position: absolute; inset: 4%; border-radius: 50%; z-index: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(5,18,80,.72) 0%, rgba(8,30,120,.55) 40%, rgba(19,64,208,.25) 56%, rgba(255,255,255,0) 70%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0) 52%, rgba(170,195,255,.22) 60%, rgba(255,255,255,0) 72%);
  animation: orbPulse 6s ease-in-out infinite; }
.seal-orb .orb-ring { position: absolute; inset: 2%; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); z-index: 0; animation: spin 26s linear infinite; }
.seal-orb .orb-ring::after { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #fff; top: 50%; left: -4px; box-shadow: 0 0 14px 4px rgba(170,195,255,.9); }
.seal-orb .orb-ring.r2 { inset: -5%; border-style: dashed; border-color: rgba(255,255,255,.12); animation-duration: 48s; animation-direction: reverse; }
.seal-orb .orb-ring.r2::after { width: 5px; height: 5px; left: auto; right: -3px; top: 30%; }
@keyframes orbPulse { 50% { transform: scale(1.06); opacity: .85; } }
.seal-orb.tone-blue::before { background: radial-gradient(circle, rgba(255,255,255,.95) 0%, rgba(220,230,255,.75) 35%, rgba(220,230,255,0) 70%); }
.seal-orb.tone-blue .orb-ring { border-color: rgba(19,64,208,.16); }
.seal-orb.tone-blue .orb-ring::after { background: var(--royal); box-shadow: 0 0 14px 4px rgba(19,64,208,.35); }
.seal-orb.tone-blue .orb-ring.r2 { border-color: rgba(19,64,208,.1); }
.no-canvas .seal-orb .seal-core, .seal-orb.static .seal-core { opacity: 1; transform: none; }

/* Hero with the orb */
.hero-in { align-items: center; }
.hero-visual { display: grid; justify-items: center; gap: 18px; }
.hero-visual .seal-orb { width: min(520px, 38vw, 56vh); }
.hero-side { background: none; border: 0; box-shadow: none; padding: 0; backdrop-filter: none; -webkit-backdrop-filter: none; justify-self: center; text-align: center; max-width: 420px; }
.hero-side .chips { justify-content: center; }
.hero::before {
  background:
    radial-gradient(45% 60% at 72% 45%, rgba(6,22,92,.35) 0%, rgba(6,22,92,0) 70%),
    linear-gradient(90deg, rgba(6,22,92,.94) 0%, rgba(8,30,120,.88) 40%, rgba(11,44,159,.72) 62%, rgba(19,64,208,.6) 100%),
    linear-gradient(180deg, rgba(6,22,92,.45) 0%, rgba(6,22,92,0) 30%, rgba(6,22,92,0) 60%, rgba(6,22,92,.7) 100%);
}
.hero-glow { left: auto; right: 4%; top: 10%; }

/* Loader */
.loader { background: radial-gradient(70% 70% at 50% 45%, #1846DA 0%, #0B2C9F 100%); }
.loader-in p { color: rgba(255,255,255,.85); }
.loader-in .seal-orb { width: 220px; }
.loader-bar { background: rgba(255,255,255,.2); }
.loader-bar i { background: #fff; }

/* Why Choose LSAL — particle sphere behind the heading */
.stage-core .seal-orb { position: absolute; inset: 0; width: 100%; }
.stage-core > div:last-child { position: relative; z-index: 3; }

@media (max-width: 1024px) {
  .hero-visual { position: absolute; top: calc(var(--hdr) + 10px); left: 0; right: 0; height: calc(50vh - var(--hdr) - 30px); display: grid; place-items: center; }
  .hero-visual .seal-orb { width: auto; height: 100%; max-height: 380px; }
  .hero-side { display: none; }
  .hero-mobile-side { display: block; }
}
.hero-mobile-side { display: none; margin-top: 28px; }
.hero-mobile-side .chips { display: flex; flex-wrap: wrap; gap: 8px; }
@media (prefers-reduced-motion: reduce) {
  .seal-orb .seal-core { opacity: 1; transform: none; }
  .seal-orb canvas { display: none; }
}
.on-dark .ph { background: radial-gradient(70% 70% at 30% 20%, rgba(255,255,255,.22), rgba(255,255,255,0) 60%), linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.05)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); border-radius: inherit; }


/* =====================================================================
   CONSISTENT PAGE TOPS — every page opens on the same royal-blue band
   ===================================================================== */
.has-announce { --ann: 42px; }
.announce { position: fixed; top: 0; left: 0; right: 0; height: 42px; z-index: 60; padding: 0 var(--pad); flex-wrap: nowrap; white-space: nowrap; overflow: hidden; background: var(--royal-d); }
.phero {
  color: #fff;
  padding-top: calc(var(--hdr) + var(--ann) + clamp(40px, 6vw, 96px));
  background:
    radial-gradient(55% 80% at 88% 10%, rgba(140,175,255,.38) 0%, rgba(140,175,255,0) 60%),
    radial-gradient(45% 70% at 0% 100%, rgba(6,22,92,.45) 0%, rgba(6,22,92,0) 70%),
    linear-gradient(165deg, #1846DA 0%, #1340D0 45%, #0B2C9F 100%);
}
.phero::after { background: radial-gradient(circle, rgba(255,255,255,.14), rgba(255,255,255,0) 65%); }
.phero .crumb { color: rgba(255,255,255,.72); }
.phero .crumb a:hover { color: #fff; }
.phero .side { color: #fff; }
.phero .side span { color: rgba(255,255,255,.74); }
.phero .lead, .phero .prose p { color: rgba(255,255,255,.86); }
.phero .link-u { color: #fff; }
.phero .link-u .ic { color: #C9D7FF; }
.phero .chip { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.32); color: #fff; }
.phero .chip .ic, .phero .date .ic { color: #C9D7FF; }
.phero .date { color: rgba(255,255,255,.86); }
.phero .btn-dark { --bg: #fff; --fg: var(--ink); }
.phero .btn-dark .ic { color: var(--royal); }
.phero .ticks-list li { border-color: rgba(255,255,255,.15); color: #fff; }
.phero .ticks-list .ic { color: #C9D7FF; }
.phero-media, .phero .ev-hero-media { box-shadow: 0 50px 90px -50px rgba(0,0,0,.55); }
.phero .wrap { position: relative; z-index: 1; }
.phero-orb { position: absolute; z-index: 0; right: -4%; top: calc(var(--hdr) + var(--ann) - 20px); width: min(560px, 46vw); opacity: .7; pointer-events: none; }
.phero-orb .seal-orb::before { background: radial-gradient(circle, rgba(5,18,80,.45) 0%, rgba(19,64,208,.2) 50%, rgba(255,255,255,0) 70%); }
/* A blue page top followed by a blue section reads as one band: add a hairline */
.phero + .on-dark { box-shadow: inset 0 1px 0 rgba(255,255,255,.14); }
@media (max-width: 860px) {
  .phero-orb { width: 78vw; right: -30%; top: calc(var(--hdr) + var(--ann)); opacity: .45; }
}
@media (max-width: 600px) {
  .has-announce { --ann: 38px; }
  .announce { height: 38px; font-size: 13px; justify-content: flex-start; }
}

.announce .ann-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.announce a { flex: none; }

/* ---------- Alumni ---------- */
.al-band { position: relative; overflow: hidden; border-radius: var(--r-lg); color: #fff; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 24px; padding: clamp(36px, 5vw, 80px);
  background: radial-gradient(60% 80% at 90% 20%, rgba(140,175,255,.4) 0%, rgba(140,175,255,0) 60%), linear-gradient(160deg, #1846DA 0%, #1340D0 45%, #0B2C9F 100%);
  box-shadow: 0 50px 100px -60px rgba(11,44,159,.8); }
.al-band h2 { margin-top: 22px; font-size: clamp(38px, 4.6vw, 74px); line-height: 1; letter-spacing: -.02em; }
.al-band p:not(.eyebrow) { margin-top: 20px; color: rgba(255,255,255,.86); font-size: 17px; max-width: 48ch; }
.al-band .btn-outline-light { border-color: rgba(255,255,255,.45); }
.al-band .btn-outline-light .ic { color: #fff; }
.al-band-orb { justify-self: center; width: min(420px, 100%); }
.al-empty { display: grid; grid-template-columns: minmax(220px, 380px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: var(--r-lg); background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.al-empty-t { margin-top: 18px; font: 300 clamp(32px, 3.6vw, 58px)/1.05 var(--f-display); letter-spacing: -.02em; }
@media (max-width: 860px) {
  .al-band, .al-empty { grid-template-columns: 1fr; }
  .al-band-orb { order: -1; width: min(300px, 80%); }
  .al-empty-orb { width: min(280px, 80%); justify-self: center; }
}

/* Alumni batch photos */
.filter .cnt { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-left: 8px; border-radius: 999px; background: var(--sky-2); color: var(--royal); font-size: 11px; letter-spacing: 0; }
.filter[aria-pressed="true"] .cnt { background: rgba(255,255,255,.22); color: #fff; }
.batch-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 280px); gap: 14px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.batch-card { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; scroll-snap-align: start; text-align: left; color: #fff; background: var(--royal); isolation: isolate; }
.batch-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.batch-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,44,159,.05) 30%, rgba(8,30,120,.85) 100%); }
.batch-card:hover img { transform: scale(1.06); }
.batch-card-t { position: absolute; left: 20px; right: 20px; bottom: 18px; display: grid; gap: 2px; }
.batch-card-t small { font: 500 11px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.batch-card-t b { font: 500 52px/1 var(--f-display); letter-spacing: -.02em; }
.batch-card-t em { font-style: normal; font-size: 13px; opacity: .9; }
.batch-card-t i { font-style: normal; font: 600 11px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; margin-top: 8px; opacity: .85; }
.batch-card[aria-pressed="true"] { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--royal); }
.batch-empty { display: flex; gap: 18px; align-items: flex-start; }
.batch-empty .ico { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--royal); }
.batch-empty .ico .ic { width: 22px; height: 22px; }

/* =====================================================================
   ONLINE APPLICATION
   ===================================================================== */
.apply { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.apply-steps { position: sticky; top: calc(var(--hdr) + 28px); }
.apply-steps ol { display: grid; gap: 4px; counter-reset: s; }
.apply-steps li { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 14px; font: 500 15px/1 var(--f-body); color: var(--mute); transition: all .3s var(--ease); }
.apply-steps li span { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); font: 600 13px/1 var(--f-body); background: #fff; }
.apply-steps li[aria-current] { background: var(--sky-2); color: var(--royal-d); }
.apply-steps li[aria-current] span { background: var(--royal); border-color: var(--royal); color: #fff; box-shadow: 0 8px 18px -8px rgba(19,64,208,.7); }
.apply-steps li.done span { background: var(--sky); border-color: var(--sky); color: var(--royal); }
.apply-form { min-width: 0; }
.apply-step { border: 0; padding: 0; margin: 0 0 48px; }
.js .apply-form.stepped .apply-step { display: none; margin: 0; }
.js .apply-form.stepped .apply-step.on { display: block; animation: hin .6s var(--ease) both; }
.apply-step legend { padding: 0; margin-bottom: 26px; font: 400 clamp(28px, 3vw, 44px)/1.05 var(--f-display); letter-spacing: -.02em; }
.apply-step legend span { display: block; margin-bottom: 10px; font: 600 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--royal); }
.fgrid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.apply-sub { margin: 34px 0 18px; font: 500 19px/1.2 var(--f-display); }
.apply .f.invalid .err, .apply .upl.invalid .err { display: block; }
.upl-list { display: grid; gap: 12px; }
.upl { position: relative; }
.upl label { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px dashed rgba(10,27,77,.25); border-radius: 18px; background: #fff; cursor: pointer; transition: all .25s var(--ease); }
.upl label:hover { border-color: var(--royal); background: var(--sky-2); }
.upl input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upl input:focus-visible + .err, .upl:focus-within label { outline: 2px solid var(--royal); outline-offset: 2px; }
.upl-ico { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--sky-2); color: var(--royal); }
.upl-ico .ic { width: 22px; height: 22px; }
.upl-t { display: grid; gap: 3px; min-width: 0; }
.upl-t b { font: 600 15px/1.3 var(--f-body); }
.upl-t b small { font-weight: 400; color: var(--mute); }
.upl-t small { font-size: 13px; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upl.has label { border-style: solid; border-color: var(--royal); background: var(--sky-2); }
.upl.has .upl-t small { color: var(--royal-d); font-weight: 600; }
.upl-btn { margin-left: auto; flex: none; height: 36px; padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center; background: var(--royal); color: #fff; font: 600 12px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; }
.upl.invalid label { border-color: var(--err); }
.upl .err { margin-top: 6px; font-size: 13px; color: var(--err); display: none; }
.apply-nav { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line-2); }
.js .apply-form.stepped .apply-nav [data-submit] { display: none; }
.js .apply-form.stepped.last .apply-nav [data-submit] { display: inline-flex; }
.js .apply-form.stepped.last .apply-nav [data-next] { display: none; }
.apply-nav [hidden] { display: none !important; }
.apply-review { display: grid; grid-template-columns: minmax(140px, 32%) 1fr; border-top: 1px solid var(--line); }
.apply-review dt, .apply-review dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; }
.apply-review dt { color: var(--mute); padding-right: 16px; }
.apply-review dd { color: var(--ink); word-break: break-word; }
.apply-review .grp { grid-column: 1 / -1; padding: 22px 0 8px; border: 0; font: 600 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--royal); }
.apply .form-status { margin: 0 0 24px; }
.apply-done-ico { width: 72px; height: 72px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--royal); color: #fff; box-shadow: 0 20px 40px -16px rgba(19,64,208,.7); }
.apply-done-ico .ic { width: 34px; height: 34px; }
.apply-ref { margin: 26px auto 14px; display: inline-block; padding: 16px 28px; border-radius: 18px; background: var(--sky-2); border: 1px dashed var(--royal); font: 600 clamp(26px, 3vw, 38px)/1 var(--f-display); letter-spacing: .06em; color: var(--royal-d); }
.status-card { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; }
.status-ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; color: #fff; background: var(--royal); }
.status-ico .ic { width: 30px; height: 30px; }
.status-ico.ok { background: #1F9D5B; } .status-ico.bad { background: #C0362C; } .status-ico.warn { background: #E0A100; }
@media (max-width: 960px) {
  .apply { grid-template-columns: 1fr; }
  .apply-steps { position: static; }
  .apply-steps ol { grid-template-columns: repeat(6, 1fr); gap: 6px; }
  .apply-steps li { flex-direction: column; gap: 6px; padding: 8px 2px; font-size: 11px; text-align: center; }
  .apply-steps .note-card { display: none; }
  .fgrid.three { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .fgrid.three { grid-template-columns: 1fr; }
  .apply-review { grid-template-columns: 1fr; }
  .apply-review dt { padding-bottom: 0; border: 0; }
  .upl label { flex-wrap: wrap; }
  .upl-btn { margin-left: 60px; }
  .apply-nav .btn { flex: 1; }
}
@media print { .hdr, .ftr, .apply-nav, .phero-orb, .loader { display: none !important; } .phero { padding-top: 20px; } }

/* Public academic calendar (Events page; entries come from the School Portal) */
.pubcal { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.pubcal li { display: flex; gap: 22px; align-items: flex-start; padding: 26px 0; border-top: 1px solid var(--line); }
.pubcal-date { flex: none; width: 72px; height: 78px; border-radius: 18px; display: grid; place-content: center; text-align: center; color: #fff;
  background: radial-gradient(80% 80% at 100% 0%, rgba(140,175,255,.5), rgba(140,175,255,0) 60%), linear-gradient(160deg, #1846DA, #0B2C9F); }
.pubcal-date b { font: 500 30px/1 var(--f-display); }
.pubcal-date small { font: 600 11px/1.5 var(--f-body); letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.pubcal-cat { font: 600 11px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--royal); }
.pubcal h3 { font: 500 clamp(19px, 1.5vw, 23px)/1.25 var(--f-display); margin-top: 8px; color: var(--ink); }
.pubcal-when { margin-top: 6px; color: var(--ink-2); font-size: 15px; }
.pubcal-desc { margin-top: 8px; color: var(--mute); font-size: 14.5px; line-height: 1.55; }
@media (max-width: 860px) { .pubcal { grid-template-columns: 1fr; } .pubcal-date { width: 60px; height: 66px; } .pubcal-date b { font-size: 24px; } }
