/* ==========================================================
   Future Focus Independent School
   Palette: midnight navy, ivory, champagne gold
   ========================================================== */
:root {
  --ink: #0b1626;
  --ink-2: #111f35;
  --ink-3: #1a2c47;
  --ivory: #f6f1e7;
  --ivory-2: #ede5d6;
  --paper: #fbf8f2;
  --gold: #c6a46a;
  --gold-2: #e2c896;
  --gold-deep: #9a7a43;
  --text: #1b2433;
  --muted: #5d6676;
  --muted-light: rgba(246, 241, 231, .66);
  --line: rgba(11, 22, 38, .12);
  --line-light: rgba(246, 241, 231, .14);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --radius: 22px;
  --gutter: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
::selection { background: var(--gold); color: var(--ink); }

.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(90px, 13vw, 180px) 0; position: relative; }

.eyebrow {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600;
  color: var(--gold-deep); margin: 0 0 24px; display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--light { color: var(--gold-2); }

.h2 {
  font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -.015em;
  font-size: clamp(42px, 6vw, 84px); margin: 0;
}
.h2 em, h1 em, .intro__statement em, .campus__title em { color: var(--gold); font-weight: 400; }

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 30px; border-radius: 999px; font: 600 14px/1 var(--sans); letter-spacing: .04em;
  border: 1px solid transparent; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::after { transform: translateY(0); }
.btn--gold { background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-deep)); color: var(--ink); }
.btn--gold::after { background: var(--ivory); }
.btn--ghost { border-color: rgba(246, 241, 231, .35); color: var(--ivory); }
.btn--ghost::after { background: var(--ivory); }
.btn--ghost:hover { color: var(--ink); }
.btn--ghost-dark { border-color: rgba(246, 241, 231, .35); color: var(--ivory); }
.btn--ghost-dark::after { background: var(--ivory); }
.btn--ghost-dark:hover { color: var(--ink); }
.btn--sm { padding: 13px 22px; font-size: 13px; }
.btn--block { width: 100%; }
.btn__arrow { transition: transform .4s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.link-arrow { display: inline-flex; gap: 10px; font-weight: 600; font-size: 15px; border-bottom: 1px solid var(--gold); padding-bottom: 4px; }
.link-arrow span { transition: transform .4s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--ink);
  display: grid; place-items: center; align-content: center; gap: 34px;
  transition: opacity .9s var(--ease), visibility .9s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__mark { width: 74px; animation: pulse 1.6s var(--ease) infinite alternate; }
.loader__bar { width: 140px; height: 1px; background: var(--line-light); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 40%; background: var(--gold); animation: load 1.1s var(--ease) infinite; }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
@keyframes pulse { from { transform: scale(.94); opacity: .7; } to { transform: scale(1); opacity: 1; } }

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none; mix-blend-mode: difference; }
.cursor span {
  display: block; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .3s;
}
.cursor.is-hover span { width: 54px; height: 54px; margin: -27px 0 0 -27px; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 32px; padding: 22px var(--gutter);
  color: var(--ivory); transition: background .5s var(--ease), padding .5s var(--ease), transform .6s var(--ease), color .4s;
}
.nav.is-scrolled {
  background: rgba(11, 22, 38, .78); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  padding-top: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line-light);
}
.nav.is-hidden { transform: translateY(-110%); }
.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.brand__mark { width: 40px; height: auto; filter: drop-shadow(0 0 1px rgba(246,241,231,.5)); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 25px; font-weight: 500; letter-spacing: .01em; }
.brand__sub { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-2); margin-top: 6px; }
.nav__links { display: flex; gap: 30px; font-size: 14px; font-weight: 500; }
.nav__links a { position: relative; opacity: .85; transition: opacity .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; z-index: 120; }
.nav__toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ivory); transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 26px; }
.menu-open .nav__toggle span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .nav__toggle span:last-child { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--ivory);
  display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px;
  clip-path: circle(0% at calc(100% - 40px) 40px); transition: clip-path .9s var(--ease); visibility: hidden;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; }
.menu nav { display: flex; flex-direction: column; gap: 6px; }
.menu nav a { font-family: var(--serif); font-size: clamp(38px, 10vw, 56px); line-height: 1.15; }
.menu__foot { margin-top: 40px; color: var(--muted-light); font-size: 15px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  background: radial-gradient(120% 90% at 75% 30%, #1b3152 0%, var(--ink-2) 45%, var(--ink) 100%);
  color: var(--ivory); display: flex; align-items: center;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero__glow {
  position: absolute; width: 60vw; height: 60vw; right: -10vw; top: -10vw; z-index: 0;
  background: radial-gradient(circle, rgba(198,164,106,.18), transparent 60%); filter: blur(20px);
}
.hero__ridge { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; z-index: 2; pointer-events: none; }
.hero__ridge--back { height: 26vh; fill: #13233a; opacity: .9; }
.hero__ridge--front { height: 16vh; fill: var(--ink); }
.hero__inner { position: relative; z-index: 3; width: 100%; max-width: 1320px; margin: 0 auto; padding: 140px var(--gutter) 180px; pointer-events: none; }
.hero__inner a { pointer-events: auto; }
.hero__eyebrow { color: var(--gold-2); gap: 12px; }
.hero__eyebrow::before { display: none; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(198,164,106,.6); animation: ping 2.4s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 12px rgba(198,164,106,0); } 100% { box-shadow: 0 0 0 0 rgba(198,164,106,0); } }
.hero__title {
  font-family: var(--serif); font-weight: 400; margin: 0 0 30px; max-width: 12.5em;
  font-size: clamp(50px, 6.4vw, 112px); line-height: .96; letter-spacing: -.025em;
}
@media (min-width: 1101px) {
  .hero__inner { padding-top: 130px; padding-bottom: 170px; }
}
@media (max-width: 1100px) {
  .hero__inner { padding-top: 130px; padding-bottom: 190px; }
  .hero--stacked .hero__inner { padding-top: max(300px, 42vh); }
  .hero__title { font-size: clamp(46px, 8.5vw, 92px); }
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.hero__lead { max-width: 33em; color: var(--muted-light); font-size: clamp(16px, 1.3vw, 19px); margin: 0 0 40px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__badge {
  position: absolute; z-index: 3; right: var(--gutter); bottom: 48px;
  display: flex; align-items: center; gap: 14px; padding: 14px 20px 14px 14px; border-radius: 16px;
  background: rgba(246,241,231,.06); border: 1px solid var(--line-light); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: 13px; line-height: 1.4; color: var(--muted-light);
}
.hero__badge strong { color: var(--ivory); font-weight: 600; }
.hero__badge-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-2), var(--gold-deep)); flex-shrink: 0; }
.hero__badge-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; }
.hero__badge-icon .tick { stroke-width: 1.8; stroke-linecap: round; }
.hero__scroll { position: absolute; z-index: 3; left: 50%; bottom: 34px; width: 26px; height: 42px; margin-left: -13px; border: 1px solid rgba(246,241,231,.35); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: scrolly 2s var(--ease) infinite; }
@keyframes scrolly { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: var(--ivory); overflow: hidden; padding: 22px 0; border-top: 1px solid var(--line-light); }
.marquee__track { display: flex; gap: 34px; width: max-content; animation: marquee 48s linear infinite; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 32px); font-style: italic; white-space: nowrap; align-items: center; }
.marquee__track i { color: var(--gold); font-style: normal; font-size: .5em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro ---------- */
.intro__statement {
  font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4.4vw, 62px); line-height: 1.12;
  letter-spacing: -.01em; margin: 0 0 clamp(60px, 8vw, 110px); max-width: 20em;
}
.split .w { display: inline-block; opacity: .14; transition: none; }
.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.intro__copy p { color: var(--muted); margin: 0 0 22px; }
.intro__copy .link-arrow { margin-top: 10px; color: var(--text); }
.stats { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid var(--line); }
.stat { padding: 30px 0 30px; border-bottom: 1px solid var(--line); }
.stat:nth-child(odd) { padding-right: 24px; border-right: 1px solid var(--line); }
.stat:nth-child(even) { padding-left: 28px; }
.stat dt { font-family: var(--serif); font-size: clamp(46px, 5vw, 70px); line-height: 1; color: var(--ink); }
.stat dd { margin: 10px 0 0; color: var(--muted); font-size: 14px; }

/* ---------- Pillars ---------- */
.pillars { background: var(--ivory); }
.section-head { margin-bottom: clamp(50px, 6vw, 80px); max-width: 860px; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.section-head--split > p { color: var(--muted); margin: 0; }
.pillars__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; perspective: 1200px; }
.card {
  position: relative; padding: 36px 30px 40px; border-radius: var(--radius); background: var(--paper);
  border: 1px solid var(--line); transform-style: preserve-3d; transition: box-shadow .5s var(--ease), border-color .5s;
  will-change: transform;
}
.card:hover { box-shadow: 0 40px 80px -40px rgba(11,22,38,.35); border-color: rgba(198,164,106,.5); }
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(198,164,106,.16), transparent 45%);
}
.card:hover::before { opacity: 1; }
.card__num { position: absolute; top: 30px; right: 28px; font-family: var(--serif); font-style: italic; color: var(--gold-deep); font-size: 18px; }
.card__icon { width: 58px; height: 58px; margin-bottom: 60px; transform: translateZ(40px); }
.card__icon svg { width: 100%; height: 100%; fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; }
.card h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.1; margin: 0 0 14px; transform: translateZ(30px); }
.card p { margin: 0; color: var(--muted); font-size: 15px; transform: translateZ(20px); }

/* ---------- Academics ---------- */
.academics { background: var(--ink); color: var(--ivory); position: relative; overflow: hidden; }
.academics__pin { min-height: 100vh; display: flex; align-items: center; gap: clamp(40px, 5vw, 80px); padding: 120px 0 120px var(--gutter); }
.academics__head { flex: 0 0 min(420px, 34vw); position: relative; z-index: 2; align-self: stretch; display: flex; flex-direction: column; justify-content: center; background: var(--ink); }
.academics__head::after { content: ""; position: absolute; top: 0; bottom: 0; right: -80px; width: 80px; background: linear-gradient(90deg, var(--ink), rgba(11,22,38,0)); pointer-events: none; }
.academics__track { position: relative; z-index: 1; }
.academics__head .eyebrow { color: var(--gold-2); }
.academics__note { color: var(--muted-light); font-size: 15px; margin: 28px 0 40px; max-width: 26em; }
.academics__progress { height: 1px; background: var(--line-light); max-width: 300px; }
.academics__progress span { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.academics__track { display: flex; gap: 24px; padding-right: var(--gutter); will-change: transform; }
.phase {
  position: relative; flex: 0 0 clamp(320px, 30vw, 420px); min-height: 540px; padding: 36px 34px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, rgba(246,241,231,.07), rgba(246,241,231,.02)); border: 1px solid var(--line-light);
  display: flex; flex-direction: column;
}
.phase--fet { background: linear-gradient(160deg, rgba(198,164,106,.22), rgba(198,164,106,.04)); border-color: rgba(198,164,106,.35); }
.phase__top { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 70px; }
.phase__grades { color: var(--gold-2); font-weight: 600; }
.phase h3 { font-family: var(--serif); font-weight: 400; font-size: 42px; line-height: 1; margin: 0 0 16px; }
.phase p { color: var(--muted-light); font-size: 15px; margin: 0 0 26px; }
.phase ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; }
.phase li { font-size: 12.5px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-light); color: var(--ivory); }
.phase__big {
  position: absolute; right: -8px; bottom: -40px; font-family: var(--serif); font-style: italic; font-size: 200px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(198,164,106,.28); pointer-events: none; white-space: nowrap;
}

.intro__statement { margin-bottom: clamp(44px, 5vw, 70px); }
.intro__photo { position: relative; margin: 0 0 clamp(60px, 8vw, 110px); border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 8; background: var(--ivory-2); }
.intro__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.intro__photo figcaption, .life__inset figcaption {
  position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px; font-size: 13px;
  background: rgba(11,22,38,.68); color: var(--ivory); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}

/* ---------- See-through photo backgrounds ---------- */
.has-bg { position: relative; overflow: hidden; isolation: isolate; }
.bg-photo { position: absolute; inset: -12% 0; z-index: -2; }
.bg-photo img { width: 100%; height: 100%; object-fit: cover; }
.has-bg::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.quote.has-bg::before {
  background:
    linear-gradient(180deg, var(--ink) 0%, rgba(11,22,38,.35) 28%, rgba(11,22,38,.35) 72%, var(--ink) 100%),
    radial-gradient(60% 55% at 50% 50%, rgba(11,22,38,.6), rgba(11,22,38,.1));
}
.quote .bg-photo img { object-position: 50% 62%; opacity: .9; }
.quote blockquote { text-shadow: 0 2px 30px rgba(11,22,38,.7); }
.contact.has-bg::before {
  background:
    linear-gradient(180deg, var(--ink) 0%, rgba(11,22,38,.78) 22%, rgba(11,22,38,.78) 60%, var(--ink) 92%),
    linear-gradient(90deg, rgba(11,22,38,.55), rgba(11,22,38,.2) 60%, rgba(11,22,38,.5));
}
.bg-photo--contact img { opacity: .55; object-position: 50% 55%; }
.contact .form { background: rgba(11,22,38,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.contact__info { text-shadow: 0 1px 18px rgba(11,22,38,.8); }

/* ---------- Campus ---------- */
.campus { background: var(--paper); }
.campus__hero { position: relative; height: 115vh; min-height: 640px; overflow: hidden; color: var(--ivory); display: flex; align-items: flex-end; }
.campus__img { position: absolute; inset: -12% 0; }
.campus__img img { width: 100%; height: 100%; object-fit: cover; }
.campus__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,22,38,.25) 0%, rgba(11,22,38,.05) 35%, rgba(11,22,38,.85) 100%); }
.campus__overlay { position: relative; z-index: 1; width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter) clamp(60px, 9vw, 120px); }
.campus__title { font-family: var(--serif); font-weight: 400; font-size: clamp(50px, 8vw, 120px); line-height: .95; letter-spacing: -.02em; margin: 0 0 24px; max-width: 9em; }
.campus__title em { color: var(--gold-2); }
.campus__lead { max-width: 34em; color: rgba(246,241,231,.82); margin: 0; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 300px; gap: 20px; margin-top: clamp(60px, 8vw, 110px); }
.gallery__item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--ivory-2); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item figcaption {
  position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px; font-size: 13px;
  background: rgba(11,22,38,.55); color: var(--ivory); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}

/* ---------- Life ---------- */
.life { background: var(--ivory); }
.life__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.life__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.life__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.life__visual { position: relative; padding: 0 12% 70px 0; }
.life__inset { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 3; margin: 0; border-radius: 18px; overflow: hidden; border: 6px solid var(--ivory); box-shadow: 0 30px 60px -30px rgba(11,22,38,.45); }
.life__inset img { width: 100%; height: 100%; object-fit: cover; }
.life__tag { position: absolute; left: 18px; top: 18px; max-width: calc(100% - 36px); padding: 14px 18px; border-radius: 14px; background: rgba(11,22,38,.7); color: var(--ivory); font-size: 14px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.life__copy > p { color: var(--muted); margin: 30px 0 30px; }
.life__list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.life__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease); }
.life__list li:hover { padding-left: 12px; }
.life__list span { font-family: var(--serif); font-size: 28px; }
.life__list small { color: var(--muted); font-size: 14px; text-align: right; }

/* ---------- Quote ---------- */
.quote { background: var(--ink); color: var(--ivory); padding: clamp(100px, 14vw, 190px) 0; text-align: center; }
.quote blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(30px, 4.2vw, 58px); line-height: 1.18; margin: 0 auto; max-width: 22em; }
.quote__by { margin: 36px 0 0; color: var(--gold-2); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; }

/* ---------- Admissions ---------- */
.admissions { background: var(--paper); }
.steps { list-style: none; padding: 0; margin: 0 0 clamp(60px, 8vw, 100px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.step { padding: 34px 28px 10px 0; border-top: 1px solid var(--line); position: relative; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 0; background: var(--gold); transition: width 1.2s var(--ease); }
.step.is-in::before { width: 100%; }
.step__n { font-family: var(--serif); font-style: italic; color: var(--gold-deep); font-size: 20px; }
.step h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; margin: 18px 0 10px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  padding: clamp(36px, 5vw, 60px); border-radius: calc(var(--radius) + 6px); color: var(--ivory);
  background: radial-gradient(120% 140% at 100% 0%, #26406a 0%, var(--ink-2) 45%, var(--ink) 100%); position: relative; overflow: hidden;
}
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; background: url("../img/mark.svg") no-repeat center / contain; opacity: .12; transform: rotate(-12deg); }
.cta-band h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4vw, 52px); margin: 0 0 6px; line-height: 1.05; }
.cta-band p { margin: 0; color: var(--muted-light); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: var(--ivory); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.contact__list { margin: 50px 0 0; display: grid; gap: 26px; }
.contact__list dt { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 6px; }
.contact__list dd { margin: 0; font-size: 18px; color: rgba(246,241,231,.9); overflow-wrap: anywhere; }
.contact__list a { border-bottom: 1px solid var(--line-light); transition: border-color .3s; }
.contact__list a:hover { border-color: var(--gold); }
.form { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); background: rgba(246,241,231,.04); border: 1px solid var(--line-light); }
.form h3 { font-family: var(--serif); font-weight: 400; font-size: 36px; margin: 0 0 26px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 18px; }
.field span { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-light); background: rgba(11,22,38,.5);
  color: var(--ivory); font: 400 16px/1.4 var(--sans); transition: border-color .3s, background .3s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { background: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(11,22,38,.8); }
.field.is-invalid input, .field.is-invalid select { border-color: #e07a6a; }
.form__status { margin: 14px 0 0; font-size: 14px; color: var(--gold-2); min-height: 1.4em; }
.map { margin-top: clamp(60px, 8vw, 100px); border-radius: var(--radius); overflow: hidden; height: 380px; border: 1px solid var(--line-light); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.85) invert(.92) hue-rotate(180deg) contrast(.9); }

/* ---------- Footer ---------- */
.footer { background: #070f1b; color: var(--muted-light); padding: 90px 0 100px; font-size: 14px; } /* bottom space keeps the WhatsApp button off the credits */
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 50px; padding-bottom: 60px; border-bottom: 1px solid var(--line-light); }
.footer__mark { width: 54px; margin-bottom: 20px; }
.footer__name { font-family: var(--serif); font-size: 34px; line-height: 1.05; color: var(--ivory); margin: 0 0 16px; }
.footer__name em { color: var(--gold-2); }
.footer__small { margin: 0; }
.footer h4 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); font-weight: 600; margin: 0 0 18px; }
.footer__grid > div:not(.footer__brand) a, .footer__grid p { display: block; margin: 0 0 10px; overflow-wrap: anywhere; }
.footer a:hover { color: var(--ivory); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-size: 13px; }

/* ---------- WhatsApp ---------- */
.wa { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0,0,0,.45); transition: transform .4s var(--ease); }
.wa:hover { transform: scale(1.08); }
.wa { transition: transform .4s var(--ease), opacity .4s; }
.wa.is-off { opacity: 0; transform: scale(.6); pointer-events: none; }
.wa svg { width: 28px; height: 28px; fill: #fff; }

/* ---------- Reveal states (JS adds .js on <html>) ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); }
.js .reveal-img { clip-path: inset(12% 6% 12% 6% round var(--radius)); }
.js .reveal-img img { transform: scale(1.25); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .pillars__grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav__cta { display: none; }
  .intro__grid, .life__grid, .contact__grid, .section-head--split { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .hero__badge { left: var(--gutter); right: auto; bottom: 90px; }
  .hero__scroll { display: none; }
  .academics__pin { flex-direction: column; align-items: stretch; padding: 100px var(--gutter); }
  .academics__head { flex: none; }
  .academics__progress { display: none; }
  .academics__track { flex-direction: column; padding-right: 0; }
  .phase { flex: none; min-height: 0; }
  .phase__top { margin-bottom: 40px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .gallery__item--wide { grid-column: span 2; }
  .campus__hero { height: 90vh; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand__name { font-size: 21px; }
  .brand__mark { width: 34px; }
  .pillars__grid, .steps, .form__row, .stats { grid-template-columns: 1fr; }
  .stat:nth-child(odd) { border-right: 0; padding-right: 0; }
  .stat:nth-child(even) { padding-left: 0; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .gallery__item--tall { grid-row: span 1; }
  .gallery__item--wide { grid-column: span 1; }
  .footer__grid { grid-template-columns: 1fr; }
  .intro__photo { aspect-ratio: 4 / 3; }
  .life__visual { padding: 0 8% 60px 0; }
  .life__inset { width: 58%; border-width: 4px; }
  .life__list li { flex-direction: column; gap: 4px; }
  .life__list small { text-align: left; }
  .hero__actions .btn { flex: 1 1 100%; }
  .wa { width: 50px; height: 50px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal-img { clip-path: none; }
  .js .reveal-img img { transform: none; }
  .split .w { opacity: 1 !important; }
}
