/* =========================================================
   KRM (blue)
   Parent first: what the school is, admissions, academics,
   timings, buses and fees come before the showpieces.
   Palette from the crest: school green, torch gold, flame orange.
   Type: Bricolage Grotesque (display, with condensed widths for the
   legacy band) and Plus Jakarta Sans (body).
   ========================================================= */
:root {
  --ink: #0c1328;
  --green-950: #081230;
  --green-900: #0b183c;
  --green-800: #10255c;
  --green-700: #173186;
  --green-500: #1c3f9e;
  --gold: #e4b64b;
  --gold-soft: #f6e2a8;
  --flame: #e8762c;
  --cream: #f6f0e3;
  --paper: #fffdf8;
  --white: #ffffff;
  --muted: #535c72;
  --line: rgba(12, 19, 40, .12);
  --display: 'Bricolage Grotesque', 'Plus Jakarta Sans', system-ui, sans-serif;
  --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --pad: clamp(20px, 4vw, 64px);
  --radius: 22px;
  --ease: cubic-bezier(.19, 1, .22, 1);
  --nav-h: 118px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 16.5px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); }
.mask, .line { display: block; overflow: hidden; padding-bottom: .06em; }
.mask > span, .line > span { display: inline-block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: var(--gold); color: var(--ink); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; }
em { font-style: normal; }
.label { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-500); }
.label::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.label--light { color: var(--gold); }
.h2 { margin: 0; font-size: clamp(2.1rem, 4.4vw, 3.9rem); line-height: 1.02; color: var(--ink); }
.h2 em { color: var(--green-500); }
.h2--light { color: var(--cream); }
.h2--light em { color: var(--gold); }
.h2 .w { display: inline-block; }
.h3 { margin: 0 0 18px; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1; }
.section__lede { max-width: 560px; color: var(--muted); font-size: 1.08rem; margin: 18px 0 0; }
.section__lede a { color: var(--green-500); font-weight: 700; }
.section__lede--light { color: rgba(246, 240, 227, .75); }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; overflow: hidden; padding: 16px 26px; border-radius: 100px; font-weight: 700; font-size: 15px; text-decoration: none; transition: color .5s var(--ease), background .5s var(--ease), border-color .5s var(--ease); isolation: isolate; will-change: transform; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .6s var(--ease); }
.btn:hover::before { transform: translateY(0); }
.btn__arrow { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold::before { background: var(--cream); }
.btn--ghost { color: var(--cream); border: 1.5px solid rgba(246, 240, 227, .4); }
.btn--ghost::before { background: var(--cream); }
.btn--ghost:hover { color: var(--ink); }
.btn--dark { background: var(--green-800); color: var(--cream); }
.btn--dark::before { background: var(--gold); }
.btn--dark:hover { color: var(--ink); }
.btn--outline { border: 1.5px solid var(--ink); color: var(--ink); }
.btn--outline::before { background: var(--ink); }
.btn--outline:hover { color: var(--cream); }
.btn--light { background: #fff; color: #000; }
.btn--light::before { background: var(--gold); }

/* ---------- Preloader ---------- */
.loader { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; }
.loader__panels { position: absolute; inset: 0; display: flex; z-index: -1; }
.loader__panels i { flex: 1; background: var(--green-900); transform-origin: top; }
.loader__panels i:nth-child(even) { background: var(--green-800); }
.loader__inner { display: grid; justify-items: center; gap: 16px; color: var(--cream); }
.loader__crest { width: 110px; opacity: 0; transform: scale(.8); }
.loader__word { display: flex; gap: .3em; font-family: var(--display); font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 700; overflow: hidden; }
.loader__word span { display: inline-block; transform: translateY(110%); }
.js .loader ~ * .hero__title .line > span { transform: translateY(110%); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; color: var(--cream); transition: transform .6s var(--ease), background .5s, box-shadow .5s; }
.topbar { background: var(--green-950); font-size: 13.5px; max-height: 44px; overflow: hidden; transition: max-height .5s var(--ease); }
.topbar__inner { max-width: 1440px; margin: 0 auto; padding: 9px var(--pad); display: flex; justify-content: space-between; gap: 20px; }
.topbar__news { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--gold); text-decoration: none; }
.topbar__news i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(228,182,75,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(228,182,75,0); } 100% { box-shadow: 0 0 0 0 rgba(228,182,75,0); } }
.topbar__contact { display: flex; gap: 22px; }
.topbar__contact a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; opacity: .85; }
.topbar__contact a:hover { opacity: 1; color: var(--gold); }
.topbar__contact svg { width: 15px; height: 15px; fill: currentColor; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px var(--pad); max-width: 1440px; margin: 0 auto; }
.nav.is-scrolled { background: rgba(8, 18, 48, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.nav.is-scrolled .topbar { max-height: 0; }
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav__crest { width: 58px; height: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.nav__wordmark { display: grid; line-height: 1.15; }
.nav__wordmark b { font-family: var(--display); font-size: 1.28rem; font-weight: 700; letter-spacing: -.01em; }
.nav__wordmark small { font-size: 11.5px; opacity: .7; }
.nav__links { display: flex; gap: 26px; font-size: 15px; font-weight: 600; }
.nav__links a { position: relative; text-decoration: none; opacity: .85; transition: opacity .3s; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { opacity: 1; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__right { display: flex; align-items: center; gap: 12px; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(246,240,227,.35); position: relative; }
.nav__burger i { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease); }
.nav__burger i:first-child { top: 17px; } .nav__burger i:last-child { top: 24px; }
.nav.is-open .nav__burger i:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.is-open .nav__burger i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav__mobile { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; overflow: hidden; color: var(--cream); background: var(--green-950); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* the film stays bright on the right; text sits on a soft shade at the lower left */
.hero__shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background:
  linear-gradient(0deg, rgba(8, 18, 48,.92) 0%, rgba(8, 18, 48,.55) 32%, rgba(8, 18, 48,0) 60%),
  linear-gradient(90deg, rgba(8, 18, 48,.75) 0%, rgba(8, 18, 48,.25) 45%, rgba(8, 18, 48,0) 70%),
  linear-gradient(180deg, rgba(8, 18, 48,.55) 0%, rgba(8, 18, 48,0) 22%); }
.hero__inner { max-width: none; padding-left: var(--pad); padding-right: var(--pad);  /* lines up with the logo */ position: relative; z-index: 2; min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--nav-h) + 20px); padding-bottom: 36px; }
.hero__copy { max-width: 640px; }
.hero__eyebrow { margin: 0 0 14px; font-size: 13.5px; font-weight: 700; letter-spacing: .08em; color: var(--gold); }
.hero__eyebrow .mask > span { transform: translateY(110%); }
.hero__title { margin: 0; font-size: clamp(2.8rem, 5.6vw, 5.4rem); line-height: 1; letter-spacing: -.02em; font-weight: 700; text-shadow: 0 4px 30px rgba(0,0,0,.35); }
.hero__title em { color: var(--gold); }
.hero__lede { max-width: 540px; margin: 20px 0 0; font-size: 1.12rem; color: rgba(246,240,227,.9); text-shadow: 0 2px 16px rgba(0,0,0,.4); opacity: 0; transform: translateY(20px); }
.hero__lede b { color: var(--cream); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; opacity: 0; transform: translateY(20px); }
.hero__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(246,240,227,.18); }
.hero__facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, auto); gap: 14px 34px; justify-content: start; opacity: 0; transform: translateY(20px); }
.hero__facts li { display: grid; padding-left: 14px; border-left: 2px solid rgba(228,182,75,.6); }
.hero__facts b { font-family: var(--display); font-size: 1.12rem; }
.hero__facts span { font-size: 13px; color: rgba(246,240,227,.72); }
.hero__pause { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(246,240,227,.14); border: 1px solid rgba(246,240,227,.3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--cream); transition: background .3s; }
.hero__pause:hover { background: rgba(246,240,227,.28); }
.hero__pause svg { width: 18px; height: 18px; fill: currentColor; }
.hero__pause .i-play, .hero__pause.is-paused .i-pause { display: none; }
.hero__pause.is-paused .i-play { display: block; }

/* ---------- Photo band ---------- */
.rail { position: relative; overflow: hidden; background: var(--cream); padding: clamp(50px, 6vw, 80px) 0 clamp(30px, 4vw, 50px); perspective: 1400px; }
.rail__inner { transform: rotateX(10deg) rotateZ(-3deg) scale(1.08); transform-origin: 50% 50%; }
.rail__row { display: flex; gap: 16px; width: max-content; will-change: transform; }
.rail__row + .rail__row { margin-top: 16px; }
.rail figure { position: relative; margin: 0; flex: none; width: clamp(220px, 23vw, 360px); aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; background: var(--green-800); box-shadow: 0 18px 40px rgba(12, 19, 40,.14); }
.rail img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.rail figure:hover img { transform: scale(1.08); }
.rail figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 100px; background: rgba(8, 18, 48,.72); backdrop-filter: blur(6px); color: var(--cream); font-size: 13px; font-weight: 700; }

/* ---------- Quick links ---------- */
.quick { position: relative; z-index: 3; background: var(--cream); padding: 70px 0 30px; }
.quick__title { margin: 0 0 26px; font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.quick__title em { color: var(--green-500); }
.quick__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; perspective: 1000px; }
.qcard { display: grid; align-content: start; gap: 6px; padding: 0 20px 22px; overflow: hidden; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); text-decoration: none; transform-style: preserve-3d; transition: border-color .4s, box-shadow .4s, background .4s; }
.qcard:hover { border-color: var(--green-500); box-shadow: 0 18px 40px rgba(12, 19, 40,.1); }
.qcard__img { display: block; margin: 0 -20px; aspect-ratio: 16 / 10; overflow: hidden; }
.qcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.qcard:hover .qcard__img img { transform: scale(1.08); }
.qcard__icon { position: relative; margin-top: -24px; border: 3px solid var(--paper); width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 6px; background: var(--green-800); color: var(--gold); transform: translateZ(20px); transition: background .4s, color .4s; }
.qcard:hover .qcard__icon { background: var(--gold); color: var(--green-900); }
.qcard__icon svg { width: 24px; height: 24px; fill: currentColor; }
.qcard b { font-family: var(--display); font-size: 1.15rem; line-height: 1.15; }
.qcard > span:last-child { font-size: 14px; color: var(--muted); line-height: 1.45; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 10vw, 140px) 0; }
.section--cream { background: var(--cream); }
.section--white { background: var(--paper); }
.section--green { background: var(--green-900); color: var(--cream); }
.section__head { max-width: 860px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head--split { max-width: none; display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: end; }

/* ---------- Admissions ---------- */
.admissions { padding-top: 70px; }
.admissions__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 60px; align-items: start; }
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; padding: 20px 22px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.steps i { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--display); font-weight: 800; font-size: 1.4rem; background: var(--gold); color: var(--green-900); }
.steps b { display: block; font-family: var(--display); font-size: 1.25rem; margin-bottom: 4px; }
.steps span { color: var(--muted); }
.steps a { color: var(--green-500); font-weight: 700; white-space: nowrap; }
.classes { margin-top: 30px; }
.classes h3 { margin: 0 0 12px; font-size: 1.2rem; }
.classes ul, .tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.classes li { padding: 8px 16px; border-radius: 100px; background: var(--green-800); color: var(--cream); font-weight: 600; font-size: 14.5px; }
.admissions__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.admissions__side { position: sticky; top: 110px; display: grid; gap: 0; }
.raffy canvas { display: block; width: 100%; height: 100%; }
.raffy--stand { height: 470px; margin-bottom: -22px; position: relative; z-index: 3; pointer-events: none; }
.admissions__card { position: relative; z-index: 2; padding: 28px 30px; border-radius: var(--radius); background: var(--green-900); color: var(--cream); }
.admissions__photo { width: calc(100% + 60px); max-width: none; margin: -28px -30px 22px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.admissions__card h3 { margin: 0 0 8px; font-size: 1.6rem; }
.admissions__card p { margin: 0; color: rgba(246,240,227,.85); }
.admissions__near { margin-top: 10px !important; font-size: 14px; color: var(--gold) !important; }

/* ---------- Academics ---------- */
.stages__tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 22px; }
.stages__tabs button { text-align: left; padding: 16px 18px; border-radius: 16px; background: var(--cream); border: 1.5px solid transparent; transition: background .4s, border-color .4s, color .4s; }
.stages__tabs button b { display: block; font-family: var(--display); font-size: 1.1rem; }
.stages__tabs button span { font-size: 13.5px; color: var(--muted); }
.stages__tabs button:hover { border-color: var(--green-500); }
.stages__tabs button.is-active { background: var(--green-800); color: var(--cream); }
.stages__tabs button.is-active span { color: var(--gold); }
.stage { display: grid; grid-template-columns: 1fr 1.25fr; gap: 0; border-radius: 28px; overflow: hidden; background: var(--cream); border: 1px solid var(--line); min-height: 400px; }
.stage[hidden] { display: none; }
.stage__media { overflow: hidden; }
.stage__media img { width: 100%; height: 100%; object-fit: cover; }
.stage__body { padding: clamp(26px, 3.5vw, 48px); }
.stage__motto { display: inline-block; padding: 6px 14px; border-radius: 100px; background: var(--gold-soft); color: var(--green-800); font-weight: 700; font-size: 13px; }
.stage__body h3 { margin: 14px 0 10px; font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.05; }
.stage__body p { margin: 0 0 20px; color: var(--muted); }
.tags li { padding: 7px 13px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.streams { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.streams div { padding: 14px 16px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.streams b { display: block; font-family: var(--display); font-size: 1.05rem; color: var(--green-500); }
.streams span { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.method { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; perspective: 1000px; }
.method__item { padding: 22px; border-radius: var(--radius); background: var(--green-800); color: var(--cream); }
.method__item b { display: block; font-family: var(--display); font-size: 1.15rem; color: var(--gold); margin-bottom: 4px; }
.method__item span { font-size: 14.5px; color: rgba(246,240,227,.8); }

/* ---------- Life at KRM: sticky list beside tall photos ---------- */
.life { position: relative; background: var(--green-950); color: var(--cream); padding: clamp(80px, 10vw, 140px) 0; }
.life__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 5vw, 80px); align-items: start; }
.life__sticky { position: sticky; top: 130px; }
.life__list { position: relative; list-style: none; margin: 40px 0 0; padding: 0 0 0 26px; display: grid; gap: 4px; }
.life__progress { position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: rgba(246,240,227,.14); }
.life__progress i { display: block; height: 100%; border-radius: 2px; background: var(--gold); transform-origin: top; }
.life__list button { display: grid; grid-template-columns: 46px 1fr; align-items: start; width: 100%; padding: 14px 0; text-align: left; color: rgba(246,240,227,.42); transition: color .5s var(--ease); }
.life__list button:hover { color: rgba(246,240,227,.75); }
.life__list i { font-style: normal; font-size: 13px; font-weight: 700; padding-top: .7em; transition: color .5s; }
.life__list b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(1.45rem, 2.3vw, 2.1rem); line-height: 1.12; letter-spacing: -.02em; }
.life__list small { display: block; max-height: 0; overflow: hidden; opacity: 0; font-size: 1rem; line-height: 1.55; color: rgba(246,240,227,.75); transition: max-height .6s var(--ease), opacity .5s, margin .6s var(--ease); }
.life__list li.is-active button { color: var(--cream); }
.life__list li.is-active i { color: var(--gold); }
.life__list li.is-active small { max-height: 120px; opacity: 1; margin-top: 8px; }
.life__media { display: grid; gap: 28px; }
.life__shot { position: relative; margin: 0; height: 76vh; min-height: 460px; max-height: 760px; border-radius: 28px; overflow: hidden; background: var(--green-800); }
.life__shot img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.life__shot--kalam img { object-position: 72% 30%; }
.life__shot figcaption { position: absolute; left: 18px; bottom: 18px; padding: 9px 16px; border-radius: 100px; background: rgba(8, 18, 48,.75); backdrop-filter: blur(8px); font-size: 14px; font-weight: 700; }
.life__shot figcaption span { display: none; }

/* ---------- Campus bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 280px; gap: 16px; perspective: 1400px; }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; transform-style: preserve-3d; background: var(--green-800); }
.tile--lg { grid-column: span 2; grid-row: span 2; }
.tile--wide { grid-column: span 2; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.tile:hover img { transform: scale(1.08); }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 18, 48,.9) 0%, rgba(8, 18, 48,.1) 62%); }
.tile__body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 24px; transform: translateZ(40px); }
.tile__body span { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.tile__body h3 { margin: 4px 0 4px; font-size: clamp(1.5rem, 2.1vw, 2.1rem); line-height: 1.05; }
.tile--lg .tile__body h3 { font-size: clamp(2rem, 3.2vw, 3rem); }
.tile__body p { margin: 0; font-size: .93rem; color: rgba(255,255,255,.82); max-width: 440px; }

/* ---------- A school day ---------- */
.daily__head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; margin-bottom: clamp(40px, 5vw, 60px); }
.daily__photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; }
.daily__photo img { width: 100%; height: 100%; object-fit: cover; }
.daily__grid { display: grid; grid-template-columns: 1fr 1.25fr .85fr; gap: 18px; align-items: start; }
.timings, .routes, .fees { padding: 28px; border-radius: var(--radius); background: var(--green-800); border: 1px solid rgba(228,182,75,.18); }
.daily h3 { margin: 0 0 16px; font-size: 1.45rem; color: var(--cream); }
.timings table { width: 100%; border-collapse: collapse; font-size: 15px; }
.timings th { text-align: left; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); padding: 0 0 8px; }
.timings td { padding: 11px 0; border-top: 1px solid rgba(246,240,227,.1); }
.timings td:first-child { font-weight: 700; }
.timings__note, .fees__note { margin: 16px 0 0; font-size: 13.5px; color: rgba(246,240,227,.65); }
.routes__search { display: flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: 14px; background: var(--cream); color: var(--ink); margin-bottom: 14px; }
.routes__search svg { width: 20px; height: 20px; flex: none; color: var(--muted); }
.routes__search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; padding: 14px 0; color: var(--ink); }
.routes__list { list-style: none; padding: 0; margin: 0; max-height: 330px; overflow-y: auto; scrollbar-width: thin; }
.routes__list li { display: grid; grid-template-columns: 50px 1fr; gap: 12px; align-items: baseline; padding: 10px 4px; border-top: 1px solid rgba(246,240,227,.1); font-size: 15px; }
.routes__list li[hidden] { display: none; }
.routes__list b { display: inline-grid; place-items: center; height: 30px; border-radius: 8px; background: var(--gold); color: var(--green-900); font-family: var(--display); }
.routes__list mark { background: rgba(228,182,75,.35); color: inherit; border-radius: 4px; padding: 0 2px; }
.routes__empty { margin: 10px 0 0; color: rgba(246,240,227,.8); }
.routes__empty a { color: var(--gold); font-weight: 700; }
.fees ul { list-style: none; padding: 0; margin: 0 0 4px; display: grid; gap: 12px; }
.fees li { padding: 14px 16px; border-radius: 14px; background: rgba(246,240,227,.06); }
.fees li b { display: block; color: var(--gold); font-family: var(--display); }
.fees li span { font-size: 14.5px; color: rgba(246,240,227,.8); }
.fees .btn { margin-top: 16px; }

/* ---------- About: soft cream band, Raffy close up on the right ---------- */
.about { background: #faf8ef; }
.about__hero { position: relative; min-height: min(100vh, 920px); display: flex; align-items: center; overflow: hidden; padding: 120px 0 90px; }
.about__decor { position: absolute; inset: 0; pointer-events: none; }
.about__disc { position: absolute; right: -6%; top: 16%; width: min(62vw, 880px); aspect-ratio: 1; border-radius: 50%; background: #e8ecf6; }
.about__dot { position: absolute; border-radius: 50%; }
.about__dot--sage { right: 4%; top: 44%; width: clamp(70px, 7vw, 110px); aspect-ratio: 1; background: #c6d3ef; }
.about__dot--gold { right: 11%; top: 64%; width: clamp(30px, 3vw, 46px); aspect-ratio: 1; background: #f4c12e; }
.about__curves { position: absolute; right: 0; bottom: 0; width: 60%; height: 100%; }
.about__curves path { fill: none; stroke: #c4d0ea; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.raffy--bust { position: absolute; right: 0; top: 0; bottom: 0; width: 54%; z-index: 1; }
.about__intro { position: relative; z-index: 2; }
.about__intro > * { max-width: 620px; }
.about__eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; font-size: 13.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--green-800); }
.about__eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: #f4c12e; }
.about__title { margin: 0; font-size: clamp(2.8rem, 6vw, 5.6rem); font-weight: 800; line-height: 1; letter-spacing: -.035em; color: #1c3f9e; }
.about__title em { color: #f2b21c; }
.about__title .w { display: inline-block; }
.about__lede { margin: 26px 0 0; font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.6; color: #5a6278; }
.about__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.about__cta .btn--gold { background: #f4c12e; }
.about__cta .btn--outline { border-color: #1c3f9e; color: #1c3f9e; }
.about__raffy { margin: 26px 0 0; font-size: 14.5px; color: var(--muted); }
.about__raffy b { color: #1c3f9e; }
.about__more { padding-bottom: clamp(80px, 10vw, 130px); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; perspective: 900px; }
.stat { padding: 30px 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); transform-style: preserve-3d; }
.stat b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 4.4vw, 4rem); line-height: 1; color: var(--green-500); letter-spacing: -.03em; }
.stat > span { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); }
.pillars { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: center; margin-top: clamp(60px, 8vw, 110px); }
.pillars__tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.pillars__tabs button { padding: 12px 22px; border-radius: 100px; border: 1.5px solid var(--line); font-weight: 700; transition: background .4s, color .4s, border-color .4s; }
.pillars__tabs button:hover { border-color: var(--green-500); }
.pillars__tabs button.is-active { background: var(--green-800); border-color: var(--green-800); color: var(--cream); }
.prism-stage { perspective: 1600px; height: 380px; display: grid; place-items: center; }
.prism { --h: 330px; position: relative; width: min(560px, 100%); height: var(--h); transform-style: preserve-3d; will-change: transform; }
.prism__face { position: absolute; inset: 0; padding: 40px; border-radius: 26px; display: flex; flex-direction: column; justify-content: center; gap: 14px; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: linear-gradient(145deg, #2a4db0, #10255c); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 30px 60px rgba(0,0,0,.2); }
.prism__face p { margin: 0; font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--cream); }
.prism__tag { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.prism__face--1 { transform: rotateX(0deg) translateZ(calc(var(--h) * .2887)); }
.prism__face--2 { transform: rotateX(-120deg) translateZ(calc(var(--h) * .2887)); background: linear-gradient(145deg, #eccb72, #cf9f33); }
.prism__face--2 p { color: var(--ink); }
.prism__face--2 .prism__tag { color: var(--green-700); }
.prism__face--3 { transform: rotateX(-240deg) translateZ(calc(var(--h) * .2887)); background: linear-gradient(145deg, #fffdf8, #ece2cb); }
.prism__face--3 p { color: var(--ink); }
.prism__face--3 .prism__tag { color: var(--green-500); }
.prism__motto { font-family: var(--display); font-weight: 800; font-size: clamp(2.8rem, 5vw, 4.4rem) !important; line-height: .95 !important; color: var(--green-500) !important; letter-spacing: -.03em; }

/* ---------- Legacy (reference video 2) ---------- */
.legacy { position: relative; background: radial-gradient(120% 90% at 70% 50%, #173186 0%, #0b183c 45%, #081230 100%); color: #fff; }
.legacy__pin { position: relative; height: 100vh; overflow: hidden; }
.legacy__glow { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.legacy__glow i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: glow 14s ease-in-out infinite alternate; }
.legacy__glow i:first-child { width: 46vw; height: 46vw; left: -12vw; top: -14vw; background: radial-gradient(circle, rgba(228,182,75,.45), transparent 65%); }
.legacy__glow i:last-child { width: 40vw; height: 40vw; right: 20vw; bottom: -18vw; background: radial-gradient(circle, rgba(54, 96, 210,.5), transparent 65%); animation-delay: -7s; }
@keyframes glow { to { transform: translate(6vw, 4vw) scale(1.15); } }
.legacy__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; will-change: transform; }
.ll { fill: none; stroke: rgba(255,255,255,.5); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
/* One rigid lattice of diamonds with thick black gaps, slid up from below
   the screen as a unit. Centre tile sits at 63% of the width, half-way down. */
.diamonds { position: absolute; width: 170vh; height: 170vh; left: calc(63vw - 85vh); top: calc(48vh - 85vh); will-change: transform; }
.dia { --r: 23.4%; filter: drop-shadow(0 20px 40px rgba(0,0,0,.35)); position: absolute; inset: 0; pointer-events: none; clip-path: polygon(var(--x) calc(var(--y) - var(--r)), calc(var(--x) + var(--r)) var(--y), var(--x) calc(var(--y) + var(--r)), calc(var(--x) - var(--r)) var(--y)); will-change: transform; }
.dia i { position: absolute; left: calc(var(--x) - var(--r)); top: calc(var(--y) - var(--r)); width: calc(var(--r) * 2); height: calc(var(--r) * 2); background: var(--img) var(--pos, 50% 50%) / cover no-repeat; will-change: transform; }
.dia--c  { --x: 50%; --y: 50%; --img: url('../assets/img/ban2.jpg'); --pos: 39% 0%; }
.dia--c i { background-size: auto 118%; }
.dia--ne { --x: 75%; --y: 25%; --img: url('../assets/img/building.jpg'); --pos: 30% 60%; }
.dia--e  { --x: 100%; --y: 50%; --img: url('../assets/img/exc8.jpg'); --pos: 40% 50%; }
.dia--se { --x: 75%; --y: 75%; --img: url('../assets/img/lab2.jpg'); --pos: 45% 40%; }
.legacy__copy { position: absolute; left: 0; right: 0; top: 30vh; z-index: 3; will-change: transform; }
.legacy__copy > * { display: block; will-change: transform; }
.legacy__kicker { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.legacy__title { margin: 0; font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(3rem, 6.6vw, 6.6rem); line-height: .98; letter-spacing: -.01em; text-shadow: 0 6px 40px rgba(0,0,0,.6); }
.legacy__title .line { overflow: visible; }
.legacy__text { max-width: 520px; margin: 20px 0 24px; font-size: 14px; line-height: 1.8; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.legacy__btn { display: inline-flex !important; }

/* ---------- Leaders ---------- */
.leaders__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; perspective: 1200px; }
.leader { padding: 16px 16px 28px; border-radius: 26px; background: var(--paper); border: 1px solid var(--line); transform-style: preserve-3d; }
.leader__photo { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3.3; transform: translateZ(30px); }
.leader__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.leader:hover .leader__photo img { transform: scale(1.06); }
.leader__role { display: block; margin: 20px 10px 4px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-500); }
.leader h3 { margin: 0 10px; font-size: 1.6rem; line-height: 1.1; transform: translateZ(30px); }
.leader p { margin: 10px 10px 0; color: var(--muted); font-size: .97rem; }

/* ---------- Activities ---------- */
.activities { overflow: hidden; }
.marquee { display: grid; gap: 2px; margin-bottom: clamp(60px, 8vw, 100px); }
.marquee__row { display: flex; width: max-content; font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 5.4vw, 5rem); line-height: 1.1; letter-spacing: -.03em; white-space: nowrap; will-change: transform; }
.marquee__row span { padding-right: .3em; }
.marquee__row--rev { font-weight: 500; color: transparent; -webkit-text-stroke: 1.2px rgba(228,182,75,.75); }
.activities__head { margin-bottom: 48px; }
.strip { overflow: hidden; cursor: grab; padding: 10px 0 30px; }
.strip.is-dragging { cursor: grabbing; }
.strip__track { display: flex; gap: 18px; width: max-content; padding: 0 var(--pad); will-change: transform; }
.shot { position: relative; margin: 0; width: clamp(250px, 28vw, 400px); aspect-ratio: 850 / 520; border-radius: 20px; overflow: hidden; user-select: none; }
.shot img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform 1.2s var(--ease); }
.shot:hover img { transform: scale(1.07); }
.shot figcaption { position: absolute; left: 14px; bottom: 14px; padding: 7px 14px; border-radius: 100px; background: rgba(8, 18, 48,.75); backdrop-filter: blur(8px); font-size: 14px; font-weight: 700; }
.futures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(50px, 6vw, 80px); perspective: 1200px; }
.chapter { border-radius: var(--radius); overflow: hidden; background: var(--green-800); border: 1px solid rgba(228,182,75,.18); transform-style: preserve-3d; }
.chapter img { width: 100%; aspect-ratio: 499 / 302; object-fit: cover; }
.chapter > div { padding: 20px 22px 24px; transform: translateZ(24px); }
.chapter h3 { margin: 0 0 4px; font-size: 1.35rem; }
.chapter p { margin: 0; font-size: 14.5px; color: rgba(246,240,227,.75); }

/* ---------- Pride ---------- */
.awards { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.awards li { position: relative; display: grid; grid-template-columns: 56px 1fr auto; align-items: baseline; gap: 18px; padding: 22px 8px; border-bottom: 1px solid var(--line); transition: padding .6s var(--ease), color .4s; }
.awards li::before { content: ''; position: absolute; inset: 0; background: var(--green-800); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: 0; }
.awards li > * { position: relative; z-index: 1; }
.awards li:hover { color: var(--cream); padding-left: 26px; }
.awards li:hover::before { transform: scaleY(1); }
.awards i { font-style: normal; font-size: 13px; font-weight: 700; color: var(--green-500); }
.awards li:hover i { color: var(--gold); }
.awards b { font-family: var(--display); font-size: clamp(1.3rem, 2.3vw, 2rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.awards span { font-size: 14px; color: var(--muted); }
.awards li:hover span { color: rgba(246,240,227,.75); }
.awards__float { position: fixed; left: 0; top: 0; z-index: 40; width: 270px; aspect-ratio: 341 / 221; border-radius: 16px; overflow: hidden; pointer-events: none; opacity: 0; transform: scale(.6); box-shadow: 0 30px 60px rgba(0,0,0,.3); }
.awards__float img { width: 100%; height: 100%; object-fit: cover; }
.stars { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 60px; perspective: 1200px; }
.star { display: grid; grid-template-columns: 170px 1fr; gap: 22px; align-items: center; padding: 14px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); transform-style: preserve-3d; }
.star img { border-radius: 14px; aspect-ratio: 1; object-fit: cover; transform: translateZ(30px); }
.star h3 { margin: 0 0 6px; font-size: 1.5rem; }
.star p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- Voices: 3D carousel ---------- */
.voices { position: relative; padding: clamp(80px, 10vw, 140px) 0 70px; background: radial-gradient(90% 70% at 50% 60%, #173186 0%, var(--green-950) 70%); color: var(--cream); overflow: hidden; }
.voices__head { text-align: center; display: grid; justify-items: center; }
.carousel { height: 500px; margin-top: 30px; perspective: 1500px; display: grid; place-items: center; cursor: grab; touch-action: pan-y; }
.carousel.is-dragging { cursor: grabbing; }
.carousel__ring { position: relative; width: 340px; height: 390px; transform-style: preserve-3d; will-change: transform; }
.quote { position: absolute; inset: 0; margin: 0; padding: 30px 28px; border-radius: 24px; display: flex; flex-direction: column; gap: 16px; background: linear-gradient(160deg, #fffdf8, #efe6d3); color: var(--ink); backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.35); user-select: none; }
.quote img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); pointer-events: none; }
.quote p { margin: 0; flex: 1; font-size: 1.08rem; line-height: 1.5; }
.quote cite { font-style: normal; font-size: 13px; color: var(--muted); }
.quote cite b { display: block; font-family: var(--display); font-size: 1.05rem; color: var(--ink); }
.voices__hint { width: max-content; margin: 10px auto 0; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(246,240,227,.5); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq__list { display: grid; gap: 10px; }
.faq__photo { margin: 30px 0 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.faq__photo img { width: 100%; height: 100%; object-fit: cover; }
.faq details { border-radius: 18px; background: var(--cream); border: 1px solid var(--line); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 22px; font-family: var(--display); font-weight: 700; font-size: 1.12rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--green-800); color: var(--gold); font-size: 1.3rem; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

/* ---------- Footer / contact ---------- */
.footer { position: relative; background: var(--green-950); color: rgba(246,240,227,.8); padding-top: clamp(80px, 9vw, 120px); overflow: hidden; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: end; padding-bottom: 70px; border-bottom: 1px solid rgba(246,240,227,.1); }
.contact__lead p { margin: 18px 0 26px; font-size: 1.1rem; }
.contact__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ccard { display: grid; gap: 2px; padding: 20px 22px; border-radius: 18px; background: var(--green-800); border: 1px solid rgba(228,182,75,.18); text-decoration: none; transition: background .4s, transform .4s var(--ease); }
.ccard:hover { background: var(--green-700); transform: translateY(-3px); }
.ccard span { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.ccard b { font-family: var(--display); font-size: 1.2rem; color: var(--cream); word-break: break-word; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-top: 50px; }
.footer__crest { width: 84px; margin-bottom: 16px; }
.footer__brand p { max-width: 420px; font-size: .94rem; margin: 0; }
.footer__links { display: grid; grid-template-columns: repeat(2, max-content); gap: 8px 50px; justify-content: end; align-content: start; }
.footer__links a { text-decoration: none; transition: color .3s; }
.footer__links a:hover { color: var(--gold); }
.footer__big { margin-top: 40px; display: flex; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 30vw; line-height: .9; letter-spacing: -.05em; overflow: hidden; padding-bottom: .04em; }
.footer__big span { display: block; background: linear-gradient(180deg, #f4c94f 0%, #e4b64b 45%, rgba(228,182,75,.25) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__base { display: flex; justify-content: space-between; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(246,240,227,.1); font-size: 13.5px; }
.footer__base a { text-decoration: none; }
.mobilebar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .quick__grid { grid-template-columns: repeat(3, 1fr); }
  .daily__grid { grid-template-columns: 1fr 1fr; }
  .fees { grid-column: span 2; }
  .stages__tabs { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1080px) {
  .nav__links, .topbar__contact a:last-child { display: none; }
  .nav__burger { display: block; }
  .nav__mobile { display: grid; gap: 2px; padding: 0 var(--pad); max-height: 0; overflow: hidden; background: var(--green-950); transition: max-height .6s var(--ease), padding .6s var(--ease); }
  .nav__mobile a { font-family: var(--display); font-weight: 700; font-size: 1.6rem; text-decoration: none; padding: 4px 0; }
  .nav__mobile-call { margin-top: 10px; font-size: 1.1rem !important; color: var(--gold); }
  .nav.is-open .nav__mobile { max-height: 560px; padding: 10px var(--pad) 26px; }
  .nav.is-open { background: var(--green-950); }
  .section__head--split, .admissions__grid, .faq__grid, .pillars, .contact, .daily__head { grid-template-columns: 1fr; }
  .faq__photo { max-width: 460px; }
  /* About: text first, Raffy underneath, never behind the words */
  .about__hero { flex-direction: column; align-items: stretch; padding: 100px 0 0; min-height: 0; }
  .raffy--bust { position: relative; width: 100%; height: 520px; order: 2; }
  .about__disc { right: -20%; top: auto; bottom: -15%; width: 90vw; }
  .about__dot--sage { top: auto; bottom: 330px; right: 6%; }
  .about__dot--gold { top: auto; bottom: 160px; right: 14%; }
  .about__curves { width: 100%; height: 55%; top: auto; }
  .admissions__side { position: static; max-width: 460px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .leaders__grid, .futures { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .stars { grid-template-columns: 1fr; }
  .method { grid-template-columns: 1fr 1fr; }
  .stage { grid-template-columns: 1fr; }
  .stage__media { max-height: 260px; }
  .life__grid { grid-template-columns: 1fr; }
  .life__sticky { position: static; }
  .life__list { display: none; }
  .life__shot { height: 64vh; min-height: 380px; }
  .life__shot figcaption { right: 18px; border-radius: 18px; padding: 14px 16px; }
  .life__shot figcaption b { display: block; font-family: var(--display); font-size: 1.2rem; }
  .life__shot figcaption span { display: block; font-weight: 500; color: rgba(246,240,227,.8); margin-top: 2px; }
  .footer__links { justify-content: start; }
}
@media (max-width: 900px) {
  .hero__shade { background: linear-gradient(0deg, rgba(8, 18, 48,.95) 0%, rgba(8, 18, 48,.7) 45%, rgba(8, 18, 48,.15) 75%), linear-gradient(180deg, rgba(8, 18, 48,.6) 0%, rgba(8, 18, 48,0) 25%); }
}
@media (max-width: 720px) {
  :root { --nav-h: 108px; }
  body { font-size: 16px; padding-bottom: 64px; }
  .topbar__contact { display: none; }
  .topbar__news { font-size: 12.5px; }
  .nav__right .btn { display: none; }
  .nav__wordmark small { display: none; }
  .hero__facts { grid-template-columns: 1fr 1fr; gap: 12px 18px; }
  .hero__bottom { align-items: flex-end; margin-top: 28px; }
  /* phones: keep the film visible, lift the text clear of the sticky bar */
  .hero__inner { padding-bottom: 92px; }
  .hero__lede { display: none; }
  .hero__title { font-size: clamp(2.4rem, 10.5vw, 3.2rem); }
  .hero__eyebrow { font-size: 12px; }
  .hero__cta { margin-top: 20px; }
  .hero__cta .btn { padding: 14px 20px; font-size: 14px; }
  .hero__bottom { margin-top: 22px; padding-top: 16px; }
  .hero__facts b { font-size: 1rem; }
  .quick__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .qcard { padding: 0 14px 16px; }
  .qcard__img { margin: 0 -14px; }
  .rail figure { width: 190px; }
  .qcard > span:last-child { font-size: 13px; }
  .stages__tabs { grid-template-columns: 1fr 1fr; }
  .streams, .method, .contact__cards, .daily__grid, .leaders__grid, .bento, .futures, .footer__grid { grid-template-columns: 1fr; }
  .fees { grid-column: auto; }
  .tile--lg, .tile--wide { grid-column: auto; grid-row: auto; }
  .raffy--stand { height: 380px; }
  .about__hero { padding-top: 80px; }
  .raffy--bust { height: 430px; }
  .about__disc { right: -40%; bottom: -10%; width: 130vw; }
  .about__dot--sage { bottom: 290px; }
  .about__dot--gold { bottom: 140px; }
  .prism-stage { height: 400px; }
  .prism { --h: 360px; }
  .prism__face { padding: 26px; }
  .star { grid-template-columns: 100px 1fr; }
  .diamonds { left: calc(60vw - 85vh); opacity: .5; }
  .awards li { grid-template-columns: 34px 1fr; gap: 4px 14px; }
  .awards li span { grid-column: 2; }
  .carousel__ring { width: 290px; height: 380px; }
  .mobilebar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(8, 18, 48,.95); backdrop-filter: blur(10px); }
  .mobilebar a { display: grid; place-items: center; height: 48px; border-radius: 14px; font-weight: 700; text-decoration: none; color: var(--cream); border: 1.5px solid rgba(246,240,227,.3); }
  .mobilebar .mobilebar__primary { background: var(--gold); color: var(--ink); border-color: var(--gold); }
}

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

/* ---------- Founder card (inside About) ---------- */
.founder { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: 22px; padding: 18px; border-radius: 28px; background: var(--green-900); color: var(--cream); }
.founder__photo { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 4.2; }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; }
.founder__body { padding: 10px 20px 10px 0; }
.founder__body .label { color: var(--gold); }
.founder h3 { margin: 0 0 14px; font-size: clamp(1.8rem, 3.2vw, 2.8rem); line-height: 1.05; }
.founder p { margin: 0; color: rgba(246,240,227,.8); max-width: 640px; }
.founder__quote { margin-top: 18px !important; padding-left: 16px; border-left: 3px solid var(--gold); font-family: var(--display); font-size: 1.15rem; color: var(--cream) !important; }

/* ---------- Beyond academics: alternating feature rows ---------- */
.beyond .feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; align-items: stretch; }
.beyond .feature + .feature { margin-top: 18px; }
.beyond .feature--reverse { grid-template-columns: 1fr 1.15fr; }
.feature__media { border-radius: 28px; overflow: hidden; min-height: 380px; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.feature__media:hover img { transform: scale(1.06); }
.feature__card { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: clamp(28px, 4vw, 52px); border-radius: 28px; background: var(--green-800); border: 1px solid rgba(228,182,75,.18); }
.feature__card h3 { margin: 0; font-size: clamp(1.9rem, 3.2vw, 2.9rem); line-height: 1.02; color: var(--cream); }
.feature__card p { margin: 0; color: rgba(246,240,227,.78); font-size: 1.05rem; }
.pill { align-self: flex-start; padding: 7px 14px; border-radius: 100px; background: var(--gold); color: var(--green-900); font-size: 13px; font-weight: 700; }

/* ---------- Campus life: stats band + big photo ---------- */
.campuslife { position: relative; background: var(--green-950); color: var(--cream); padding: clamp(70px, 8vw, 110px) 0 0; overflow: hidden; }
.campuslife__frame { border-radius: 32px !important; margin-bottom: clamp(70px, 8vw, 110px) !important; }
.campuslife__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding-bottom: clamp(60px, 7vw, 90px); border-bottom: 1px solid rgba(246,240,227,.1); }
.campuslife__stats > div { padding: 0 26px; border-left: 1px solid rgba(246,240,227,.12); }
.campuslife__stats > div:first-child { border-left: 0; padding-left: 0; }
.campuslife__stats b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(2.8rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -.03em; color: var(--gold); }
.campuslife__stats h4 { margin: 12px 0 6px; font-size: 1.15rem; }
.campuslife__stats p { margin: 0; font-size: 14.5px; color: rgba(246,240,227,.65); }
.campuslife__head { padding-top: clamp(60px, 7vw, 100px); max-width: 1320px; }
.campuslife__head .h2, .campuslife__head .section__lede { max-width: 760px; }
.campuslife__frame { margin: clamp(40px, 5vw, 70px) var(--pad) 0; height: min(78vh, 720px); border-radius: 32px 32px 0 0; overflow: hidden; }
.campuslife__frame img { width: 100%; height: 125%; object-fit: cover; will-change: transform; }

/* ---------- Clubs: a drifting, draggable row of cards ---------- */
.clubs__head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 40px; }
.clubs__head .section__lede { margin: 0; max-width: 380px; }
.clubs__strip { padding-bottom: 10px; }
.shot.club { aspect-ratio: auto; width: clamp(260px, 24vw, 340px); overflow: visible; border-radius: 0; }
.club__media { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3.3; }
.club__media img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform 1.2s var(--ease); }
.club:hover .club__media img { transform: scale(1.07); }
.club__tag { display: inline-block; margin: 16px 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-500); }
.club h3 { margin: 0 0 4px; font-size: 1.35rem; }
.club p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ---------- Voices: three columns drifting up and down ---------- */
.voices2 { background: #faf8ef; color: var(--ink); overflow: hidden; }
.voices2__grid { display: grid; grid-template-columns: .8fr 1.6fr; gap: 50px; align-items: center; }
.voices2__head .btn { margin-top: 28px; }
.voices2__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; height: 620px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); }
.voices2__col { display: flex; flex-direction: column; animation: vUp 38s linear infinite; }
.voices2__col--down { animation-name: vDown; }
.voices2__col--slow { animation-duration: 50s; }
.voices2__cols:hover .voices2__col { animation-play-state: paused; }
.voices2__stack { display: grid; gap: 16px; padding-bottom: 16px; }
@keyframes vUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes vDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.voice { margin: 0; padding: 22px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(12, 19, 40,.05); }
.voice p { margin: 0 0 16px; font-size: 1.02rem; line-height: 1.5; color: var(--ink); }
.voice footer { display: flex; align-items: center; gap: 12px; }
.voice i { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 13px; background: var(--gold); color: var(--green-900); }
.voice b { display: block; font-family: var(--display); }
.voice span { font-size: 13px; color: var(--muted); }

@media (max-width: 1080px) {
  .founder { grid-template-columns: 220px 1fr; }
  .beyond .feature, .beyond .feature--reverse { grid-template-columns: 1fr; }
  .beyond .feature--reverse .feature__media { order: -1; }
  .feature__media { min-height: 280px; }
  .campuslife__stats { grid-template-columns: 1fr 1fr; gap: 36px 0; }
  .campuslife__stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .voices2__grid { grid-template-columns: 1fr; }
  .voices2__cols { grid-template-columns: 1fr 1fr; height: 520px; }
  .voices2__col--slow { display: none; }
}
@media (max-width: 720px) {
  .founder { grid-template-columns: 1fr; }
  .founder__body { padding: 4px 8px 12px; }
  .clubs__head { flex-direction: column; align-items: start; gap: 14px; }
  .campuslife__frame { height: 52vh; margin: 36px 12px 0; }
  .voices2__cols { grid-template-columns: 1fr; height: 480px; }
  .voices2__col--up { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .voices2__col { animation: none; }
}

/* Raffy says hi while he waves (js/raffy.js toggles .is-waving) */
.raffy__hi { position: absolute; z-index: 2; left: 2%; top: 4%; padding: 10px 16px; border-radius: 18px 18px 4px 18px; background: var(--green-800); color: var(--cream); font-family: var(--display); font-weight: 700; font-size: 15px; white-space: nowrap; box-shadow: 0 12px 30px rgba(12, 19, 40,.18); opacity: 0; transform: translateY(8px) scale(.85); transform-origin: right bottom; transition: opacity .35s, transform .5s cubic-bezier(.34,1.56,.64,1); pointer-events: none; }
.raffy.is-waving .raffy__hi { opacity: 1; transform: none; }

/* ---------- KRM Prodigies: a gold band between Beyond academics and Clubs ---------- */
.prodigies { background: linear-gradient(160deg, #f6cf5c 0%, #eeb73a 100%); color: var(--ink); }
.prodigies .label { color: var(--green-800); }
.prodigies .alumni .label { color: var(--gold); }
.prodigies .h2 em { color: var(--green-800); }
.prodigies .section__lede { color: #3d3a22; }
.prodigies .section__lede b { color: var(--ink); }
.prodigies__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.prodigies__award { display: flex; gap: 16px; align-items: center; margin-top: 30px; padding: 18px 20px; border-radius: 20px; background: rgba(255,253,248,.55); border: 1px solid rgba(12, 19, 40,.1); }
.prodigies__award-icon { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--green-800); color: var(--gold); }
.prodigies__award-icon svg { width: 26px; height: 26px; fill: currentColor; }
.prodigies__award b { display: block; font-family: var(--display); font-size: 1.15rem; }
.prodigies__award span { font-size: 14.5px; color: #3d3a22; }
.talents { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; perspective: 1000px; }
.talent { display: flex; flex-direction: column; justify-content: space-between; gap: 26px; aspect-ratio: 1; padding: 16px; border-radius: 20px; background: var(--green-900); color: var(--cream); transform-style: preserve-3d; transition: background .4s; }
.talent:hover { background: var(--green-700); }
.talent i { font-style: normal; font-size: 12px; font-weight: 700; color: var(--gold); }
.talent b { font-family: var(--display); font-size: clamp(.95rem, 1.35vw, 1.25rem); line-height: 1.1; transform: translateZ(24px); }
.alumni { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: 40px; align-items: center; margin-top: clamp(40px, 5vw, 64px); padding: clamp(26px, 3.5vw, 44px); border-radius: 28px; background: var(--green-950); color: var(--cream); }
.alumni__head h3 { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.08; }
.alumni__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.alumni__list > div { padding: 18px; border-radius: 18px; background: rgba(246,240,227,.06); border: 1px solid rgba(246,240,227,.1); }
.alumni__list b { display: block; font-family: var(--display); font-size: 1.2rem; }
.alumni__list span { font-size: 14px; color: rgba(246,240,227,.7); }
.alumni__star { background: var(--gold) !important; color: var(--ink); border-color: var(--gold) !important; }
.alumni__star span { color: #3d3a22 !important; }
@media (max-width: 1080px) {
  .prodigies__grid, .alumni { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .talents { grid-template-columns: repeat(2, 1fr); }
  .talent { aspect-ratio: auto; min-height: 96px; }
  .alumni__list { grid-template-columns: 1fr; }
}
.talent { gap: 14px; }
.talent__top { display: flex; justify-content: space-between; align-items: flex-start; }
.talent__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(228,182,75,.14); color: var(--gold); transform: translateZ(30px); transition: background .4s, color .4s, transform .5s var(--ease); }
.talent__icon svg { width: 22px; height: 22px; }
.talent:hover .talent__icon { background: var(--gold); color: var(--green-900); transform: translateZ(30px) rotate(-8deg) scale(1.08); }
.talent b { display: block; }
.talent b + span { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.35; color: rgba(246,240,227,.65); }

.alumni__star b small { font-family: var(--sans); font-size: .72em; font-weight: 600; opacity: .7; }
.nowrap { white-space: nowrap; display: inline !important; color: inherit !important; font-size: inherit !important; margin: 0 !important; }

/* nav: never wrap menu items; tighten on mid-size screens so a long school name fits */
.nav__links a, .nav__right .btn { white-space: nowrap; }
@media (max-width: 1360px) and (min-width: 1081px) {
  .nav__links { gap: 18px; font-size: 14px; }
  .nav__wordmark b { font-size: 1.12rem; }
  .nav__inner { gap: 16px; }
}

/* =========================================================
   Blue-forward: blue leads, gold only where the crest uses it
   (buttons and small highlights). Cream grounds turn a pale blue,
   the About headline and the Prodigies band go blue.
   ========================================================= */
:root { --cream: #eef2fa; --paper: #fafbfe; --gold-soft: #dbe4f7; }
.about, .voices2 { background: #f2f5fc; }
.about__disc { background: #dfe7f7; }
.about__dot--sage { background: #b9cbee; }
.about__title { color: #0b183c; }
.about__title em { color: #1c3f9e; }
.quote { background: linear-gradient(160deg, #fafbfe, #e3e9f6); }

.prodigies { background: linear-gradient(160deg, #1c3f9e 0%, #10255c 100%); color: #fff; }
.prodigies .h2 { color: #fff; }
.prodigies .h2 em, .prodigies .label { color: var(--gold); }
.prodigies .section__lede { color: rgba(255,255,255,.82); }
.prodigies .section__lede b { color: #fff; }
.prodigies__award { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #fff; }
.prodigies__award span { color: rgba(255,255,255,.75); }
.prodigies__award-icon { background: var(--gold); color: #0b183c; }
.talent { background: #0b183c; border: 1px solid rgba(255,255,255,.08); }
.talent:hover { background: #173186; }
.alumni { background: #081230; }

/* ---------- Prodigies: stories that play a glimpse, then open with sound ---------- */
.stories { margin-top: clamp(40px, 5vw, 64px); padding: clamp(18px, 2.4vw, 28px); border-radius: 28px; background: var(--green-950); color: var(--cream); }
.stories__head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.stories__head .label { color: var(--gold); margin: 0; }
.stories__head h3 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2.2rem); color: var(--cream); }
.stories__body { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.stories__stage { all: unset; box-sizing: border-box; position: relative; display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; cursor: pointer; background: #000; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.stories__stage:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.stories__stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.stories__stage video.is-active { opacity: 1; }
.stories__play { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(0,0,0,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-size: 14px; font-weight: 700; transition: background .3s; }
.stories__play svg { width: 34px; height: 34px; padding: 9px; border-radius: 50%; background: var(--gold); fill: var(--green-950); }
.stories__play em { font-style: normal; }
.stories__stage:hover .stories__play { background: rgba(0,0,0,.72); }
.stories__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; align-content: stretch; }
.stories__list button { all: unset; box-sizing: border-box; position: relative; display: grid; gap: 2px; width: 100%; height: 100%; padding: 12px 16px 14px; border-radius: 14px; cursor: pointer; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); overflow: hidden; transition: background .3s, border-color .3s; }
.stories__list button:hover { background: rgba(255,255,255,.08); }
.stories__list button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.stories__list button.is-active { background: rgba(255,255,255,.1); border-color: rgba(228,182,75,.45); }
.stories__list b { font-family: var(--display); font-size: 1.05rem; color: var(--cream); }
.stories__list span { font-size: 13px; line-height: 1.4; color: rgba(246,240,227,.7); }
.stories__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }

/* the pop-up: a framed player, dimmed page behind */
.film-modal { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; overflow: hidden; }
.film-modal[open] { display: grid; place-items: center; }
.film-modal::backdrop { background: rgba(4, 8, 6, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.film-modal__frame { width: min(1100px, 92vw); padding: 12px; border-radius: 24px; background: var(--green-900); border: 1px solid rgba(228,182,75,.45); box-shadow: 0 30px 80px rgba(0,0,0,.5), inset 0 0 0 5px rgba(228,182,75,.08); animation: filmIn .45s cubic-bezier(.19,1,.22,1); }
.film-modal.is-portrait .film-modal__frame { width: auto; }
@keyframes filmIn { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.film-modal__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 4px 6px 12px 10px; color: var(--cream); }
.film-modal__kicker { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.film-modal__title { font-family: var(--display); font-size: 1.15rem; }
.film-modal__close { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--cream); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); transition: background .3s; }
.film-modal__close:hover { background: rgba(255,255,255,.18); }
.film-modal__close svg { width: 18px; height: 18px; }
.film-modal__screen { border-radius: 14px; overflow: hidden; background: #000; }
.film-modal__screen video { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 78vh; background: #000; }
.film-modal.is-portrait .film-modal__screen video { width: auto; height: min(78vh, 900px); aspect-ratio: 9 / 16; }
@media (max-width: 900px) {
  .stories__body { grid-template-columns: 1fr; }
  .stories__list { grid-template-columns: 1fr 1fr; }
  .stories__list li:last-child { grid-column: span 2; }
}
@media (max-width: 560px) {
  .stories__list { grid-template-columns: 1fr; }
  .stories__list li:last-child { grid-column: auto; }
  .stories__list span { display: none; }
  .film-modal__frame { padding: 8px; border-radius: 18px; }
  .film-modal.is-portrait .film-modal__screen video { height: min(72vh, 640px); }
}
@media (prefers-reduced-motion: reduce) {
  .stories__stage video, .film-modal__frame { transition: none; animation: none; }
}
