@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/montserrat-latin-var.woff2") format("woff2");
}

:root {
  --navy-950: #051f2d;
  --navy-900: #072e43;
  --navy: #0b4560;
  --navy-600: #1b6489;
  --maroon: #8e1a08;
  --maroon-600: #a8230f;
  --gold: #f0b95a;
  --sand: #faf6f0;
  --sand-2: #f2ebe0;
  --ink: #14232b;
  --muted: #56666f;
  --line: #e7dfd3;
  --white: #fff;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(7, 46, 67, .06), 0 14px 34px -14px rgba(7, 46, 67, .22);
    --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 60px;
  --display: var(--sans);
  --serif: var(--sans);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--sand); line-height: 1.65; font-size: 1.0625rem; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; color: var(--navy-900); font-family: var(--display); font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 100; border-radius: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: inherit; font-weight: 650; font-size: 1rem; line-height: 1; padding: .95rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, border-color .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-maroon { background: var(--maroon); color: #fff; box-shadow: 0 8px 20px -8px rgba(142, 26, 8, .6); }
.btn-maroon:hover { background: var(--maroon-600); }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { background: var(--sand); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
.btn:disabled { opacity: .65; cursor: progress; transform: none; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(250, 246, 240, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -16px rgba(7, 46, 67, .35); }
.bar { height: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; }
.nav { justify-self: center; }
.bar-cta { justify-self: end; }

/* big school title above the menu */
.masthead { background: #fff; padding: clamp(.9rem, 2.5vw, 1.6rem) 1.25rem; }
.brand { display: flex; align-items: center; justify-content: center; gap: clamp(.9rem, 3vw, 2.2rem); width: min(1180px, 100%); margin-inline: auto; text-decoration: none; }
.brand img { width: clamp(64px, 10vw, 112px); height: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; align-items: center; line-height: 1; min-width: 0; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 10.5vw, 6.4rem); letter-spacing: .03em; color: var(--navy); }
.brand-sub { margin-top: .35em; font-family: var(--display); font-weight: 800; font-size: clamp(.78rem, 3.1vw, 2.15rem); letter-spacing: .02em; text-transform: uppercase; color: var(--navy); text-align: center; }

/* small brand that fades into the menu bar after scrolling */
.mini-brand { display: flex; align-items: center; gap: .6rem; justify-self: start; text-decoration: none; color: var(--navy); font-family: var(--display); font-weight: 800; font-size: 1.25rem; letter-spacing: .06em; opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity .25s, transform .25s; }
.mini-brand img { width: 28px; height: auto; }
.site-header.scrolled .mini-brand { opacity: 1; transform: none; pointer-events: auto; }

.nav ul { display: flex; gap: .15rem; }
.nav a { position: relative; display: block; white-space: nowrap; padding: .5rem .8rem; font-size: .92rem; font-weight: 600; color: var(--ink); text-decoration: none; border-radius: 999px; transition: background-color .15s, color .15s; }
.nav a:hover { background: rgba(11, 69, 96, .08); }
.nav a.active { color: var(--maroon); background: rgba(142, 26, 8, .08); }
.bar-cta { padding: .75rem 1.25rem; font-size: .95rem; white-space: nowrap; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(11, 69, 96, .08); cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; background: var(--navy-950); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: min(78svh, 800px); padding-top: clamp(2rem, 5vw, 4rem); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform: scale(1.04); animation: settle 1.6s ease-out forwards; }
@keyframes settle { to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(5, 31, 45, .93) 0%, rgba(5, 31, 45, .72) 42%, rgba(5, 31, 45, .12) 100%),
  linear-gradient(0deg, rgba(5, 31, 45, .9) 0%, rgba(5, 31, 45, 0) 38%); }
.hero-inner { position: relative; padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.chip { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.4rem; padding: .45rem 1rem; border-radius: 999px; font-size: .85rem; font-weight: 600; letter-spacing: .02em; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(8px); }
.dot { width: .55rem; height: .55rem; border-radius: 50%; background: #5be08a; box-shadow: 0 0 0 4px rgba(91, 224, 138, .25); }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 4.1rem); line-height: 1.06; letter-spacing: -.03em; font-weight: 700; max-width: 17ch; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-sub { margin: 1.4rem 0 2rem; max-width: 34rem; font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: rgba(255, 255, 255, .86); line-height: 1.5; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .85rem; }

.hero-stats-wrap { position: relative; padding-bottom: clamp(1.25rem, 3vw, 2rem); }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 22px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); overflow: hidden; }
.hero-stats li { padding: 1.3rem 1.5rem; border-left: 1px solid rgba(255, 255, 255, .16); }
.hero-stats li:first-child { border-left: 0; }
.hero-stats strong { display: block; font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 700; line-height: 1.05; font-variant-numeric: tabular-nums; }
.hero-stats strong::after { content: "+"; color: var(--gold); }
.hero-stats span { display: block; margin-top: .25rem; font-size: .88rem; color: rgba(255, 255, 255, .78); line-height: 1.3; }

/* ---------- sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.eyebrow { margin: 0 0 .9rem; font-size: .78rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; color: var(--maroon); display: flex; align-items: center; gap: .7rem; }
.eyebrow::before { content: ""; width: 1.8rem; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow-light { color: var(--gold); }
h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section-sub { margin: 1rem 0 0; max-width: 36rem; color: var(--muted); font-size: 1.1rem; }
.pill { display: inline-block; padding: .55rem 1.3rem; border: 1.5px solid var(--navy); border-radius: 999px; font-weight: 700; color: var(--navy); background: #fff; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.lead { margin-top: 1.5rem; font-size: 1.2rem; line-height: 1.7; color: #2c3d46; }
.foreword { margin: 0; padding: clamp(1.6rem, 3.5vw, 2.5rem); background: #fff; border-radius: 28px; box-shadow: var(--shadow); position: relative; }
.foreword::before { content: "\201C"; position: absolute; top: .4rem; right: 1.4rem; font-family: Georgia, serif; font-size: 7rem; line-height: 1; color: rgba(142, 26, 8, .12); }
.foreword-label { font-size: .78rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; color: var(--maroon); margin-bottom: 1rem; }
.foreword blockquote { margin: 0; }
.foreword-lead { font-size: 1.05rem; line-height: 1.7; font-weight: 500; color: var(--navy-900); }
.foreword details p { color: #34464f; }
.foreword summary { cursor: pointer; font-weight: 700; color: var(--maroon); list-style: none; display: inline-flex; align-items: center; gap: .4rem; margin-bottom: .8rem; }
.foreword summary::-webkit-details-marker { display: none; }
.foreword summary::after { content: "+"; display: grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: rgba(142, 26, 8, .1); font-size: 1rem; line-height: 1; }
.foreword details[open] summary::after { content: "\2212"; }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: clamp(3rem, 7vw, 5rem); }
.values li { padding: 1.5rem 0 0; border-top: 2px solid var(--navy-900); }
.values svg { width: 2rem; height: 2rem; color: var(--maroon); margin-bottom: 1rem; }
.values h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.values p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.55; }

.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: clamp(2rem, 5vw, 3.5rem); }
.card { padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: 28px; color: rgba(255, 255, 255, .9); }
.card h3 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
.card p:last-child { margin: 0; }
.card-tag { margin-bottom: 1.2rem !important; display: inline-block; padding: .3rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.card-navy { background: linear-gradient(150deg, var(--navy) 0%, var(--navy-900) 100%); }
.card-maroon { background: linear-gradient(150deg, var(--maroon-600) 0%, #6b1206 100%); }

/* academics */
.academics { background: #fff; }
.group-title { font-family: var(--sans); font-size: .9rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.25rem; display: flex; align-items: center; gap: 1rem; }
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.course { display: flex; flex-direction: column; padding: 1.75rem; border-radius: var(--radius); background: var(--sand); border: 1px solid var(--line); transition: transform .22s ease, box-shadow .22s ease, background-color .22s; }
.course:hover { transform: translateY(-4px); background: #fff; box-shadow: var(--shadow); }
.stream { align-self: flex-start; margin: 0 0 1.4rem; padding: .28rem .75rem; border-radius: 999px; font-size: .72rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.stream-sci { background: rgba(11, 69, 96, .1); color: var(--navy); }
.stream-com { background: rgba(142, 26, 8, .1); color: var(--maroon); }
.course h4 { font-size: 1.55rem; margin-bottom: 1.1rem; }
.subjects { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: auto; }
.subjects li { padding: .35rem .8rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; color: #2c3d46; }
.course:hover .subjects li { background: var(--sand); }

/* stages */
.stages { background: #fff; }
.stage-tabs { display: none; gap: .6rem; margin-bottom: 1.5rem; overflow-x: auto; scrollbar-width: none; padding-bottom: .25rem; }
.stage-tabs::-webkit-scrollbar { display: none; }
.js .stage-tabs { display: flex; }
.stage-tabs button { flex: 1 0 auto; display: grid; gap: .1rem; text-align: left; font: inherit; padding: .9rem 1.2rem; border: 1.5px solid var(--line); border-radius: 16px; background: var(--sand); color: var(--navy-900); cursor: pointer; transition: background-color .18s, color .18s, border-color .18s, transform .18s; }
.stage-tabs b { font-weight: 700; font-size: 1.02rem; white-space: nowrap; }
.stage-tabs small { font-size: .82rem; font-weight: 600; color: var(--muted); }
.stage-tabs button:hover { border-color: var(--navy-600); }
.stage-tabs button[aria-selected="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; transform: translateY(-2px); }
.stage-tabs button[aria-selected="true"] small { color: var(--gold); }
.stage-panels { display: grid; }
.stage { display: grid; grid-template-columns: 1.05fr 1fr; border-radius: 28px; overflow: hidden; background: var(--sand); border: 1px solid var(--line); }
.stage[hidden] { display: none; }
.stage > img { width: 100%; height: 100%; min-height: 340px; max-height: 520px; object-fit: cover; }
.stage-body { padding: clamp(1.6rem, 4vw, 3rem); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.stage-age { margin: 0 0 .6rem; padding: .3rem .8rem; border-radius: 999px; background: rgba(142, 26, 8, .1); color: var(--maroon); font-size: .78rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.stage h3 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: .9rem; }
.stage-body > p:not(.stage-age) { color: #34464f; }
.ticks { display: grid; gap: .65rem; margin: .4rem 0 1.6rem; }
.ticks li { position: relative; padding-left: 1.9rem; color: var(--ink); font-size: .98rem; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .15rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: rgba(28, 107, 61, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c6b3d' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / .75rem no-repeat; }

/* campus bento */
.campus { background: var(--sand); }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(150px, 19vw, 250px); gap: .9rem; }
.bento a { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--sand-2); }
.bento img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.bento a:hover img { transform: scale(1.05); }
.bento span { position: absolute; left: .8rem; bottom: .8rem; right: .8rem; padding: .45rem .85rem; width: fit-content; max-width: calc(100% - 1.6rem); border-radius: 999px; background: rgba(5, 31, 45, .62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-size: .85rem; font-weight: 600; line-height: 1.3; }
.b1 { grid-column: span 4; grid-row: span 2; }
.b2 { grid-column: span 2; }
.b3 { grid-column: span 2; }
.b4 { grid-column: span 2; }
.b5 { grid-column: span 2; }
.b6 { grid-column: span 2; }
.bento-title { margin: 2.6rem 0 1rem; font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--navy-900); }
.bento-life .c1 { grid-column: span 4; grid-row: span 2; }
.bento-life .c2, .bento-life .c3, .bento-life .c4, .bento-life .c5, .bento-life .c6 { grid-column: span 2; }
.bento img.pos-top { object-position: 50% 25%; }

/* achievements */
.achievements { background: radial-gradient(800px 420px at 90% 0%, rgba(27, 100, 137, .5), transparent 60%), linear-gradient(165deg, var(--navy-900), var(--navy-950)); color: #fff; }
.achievements h2 { color: #fff; }
.achievements .section-sub { color: rgba(255, 255, 255, .78); }
.ach-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 1rem; }
.ach-feature { grid-row: span 2; padding: clamp(1.6rem, 3.5vw, 2.4rem); border-radius: 28px; background: linear-gradient(155deg, rgba(240, 185, 90, .22), rgba(255, 255, 255, .06)); border: 1px solid rgba(240, 185, 90, .45); }
.ach-tag { margin: 0 0 .8rem; font-size: .78rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.ach-feature h3 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.ach-score { display: flex; align-items: baseline; gap: .5rem; margin: .8rem 0 1.4rem; }
.ach-score strong { font-size: clamp(3.4rem, 8vw, 5.4rem); font-weight: 800; line-height: 1; color: var(--gold); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ach-score span { font-size: 1.5rem; font-weight: 600; color: rgba(255, 255, 255, .75); }
.marks { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin-bottom: 1.4rem; }
.marks li { display: flex; justify-content: space-between; gap: .6rem; padding: .6rem .85rem; border-radius: 12px; background: rgba(255, 255, 255, .08); font-size: .9rem; }
.marks b { color: var(--gold); font-variant-numeric: tabular-nums; }
.ach-note { margin: 0; color: rgba(255, 255, 255, .82); font-size: .95rem; }
.ach { padding: 1.6rem; border-radius: 24px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); transition: transform .22s ease, background-color .22s; }
.ach:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .11); }
.ach svg { width: 2.2rem; height: 2.2rem; color: var(--gold); margin-bottom: 1rem; }
.ach h3 { color: #fff; font-size: 1.25rem; margin-bottom: .5rem; }
.ach p { margin: 0; color: rgba(255, 255, 255, .78); font-size: .96rem; line-height: 1.55; }

/* life */
.life { background: #fff; }
.life-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.life-grid li { padding: 1.6rem; border-radius: var(--radius); background: var(--sand); border: 1px solid var(--line); transition: transform .22s ease, box-shadow .22s ease, background-color .22s; }
.life-grid li:hover { transform: translateY(-4px); background: #fff; box-shadow: var(--shadow); }
.life-grid svg { width: 2.4rem; height: 2.4rem; padding: .55rem; border-radius: 12px; background: rgba(142, 26, 8, .1); color: var(--maroon); margin-bottom: 1rem; }
.life-grid h3 { font-size: 1.2rem; margin-bottom: .45rem; }
.life-grid p { margin: 0; color: var(--muted); font-size: .97rem; line-height: 1.55; }

/* lightbox */
#lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; overflow: visible; }
#lightbox::backdrop { background: rgba(5, 31, 45, .88); backdrop-filter: blur(4px); }
#lightbox img { max-width: 100%; max-height: 82vh; margin: auto; border-radius: 14px; }
.lb-cap { margin: .8rem 0 0; text-align: center; color: #fff; font-weight: 600; }
.lb-close { position: absolute; top: -.6rem; right: -.6rem; width: 2.6rem; height: 2.6rem; border: 0; border-radius: 50%; background: #fff; color: var(--navy-900); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow); }

/* admission */
.admission { position: relative; background: radial-gradient(900px 500px at 85% -10%, rgba(27, 100, 137, .55), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-950) 100%); color: #fff; }
.admission-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.admission h2 { color: #fff; font-size: clamp(2.2rem, 5.5vw, 4rem); line-height: 1.05; }
.admission-copy p { margin-top: 1.4rem; max-width: 30rem; font-size: 1.15rem; color: rgba(255, 255, 255, .82); }
.contact-list { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-list li { display: flex; align-items: center; gap: 1rem; }
.contact-list svg { width: 2.8rem; height: 2.8rem; padding: .75rem; border-radius: 50%; background: rgba(255, 255, 255, .12); color: var(--gold); }
.contact-list a { color: #fff; font-size: 1.1rem; font-weight: 600; text-decoration-color: rgba(255, 255, 255, .35); }
.contact-list a:hover { text-decoration-color: var(--gold); }

.form { display: grid; gap: 1.1rem; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 28px; background: #fff; color: var(--ink); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55); }
.form h3 { font-size: 1.7rem; }
.form label { display: grid; gap: .4rem; font-size: .9rem; font-weight: 650; color: var(--navy-900); }
.form input, .form select { font: inherit; font-weight: 400; font-size: 1rem; width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--sand); color: var(--ink); transition: border-color .15s, background-color .15s, box-shadow .15s; }
.form select { appearance: none; -webkit-appearance: none; padding-right: 2.6rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b4560' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 1.2rem; }
.form input::placeholder { color: #93a1a8; }
.form input:focus, .form select:focus { outline: 0; border-color: var(--navy-600); background-color: #fff; box-shadow: 0 0 0 4px rgba(27, 100, 137, .16); }
.form [aria-invalid="true"] { border-color: #c0392b; background-color: #fff6f4; }
.form .btn { width: 100%; padding-block: 1.05rem; font-size: 1.05rem; }
.form-msg { margin: 0; min-height: 1.4em; font-size: .95rem; }
.form-msg.ok { color: #1c6b3a; font-weight: 600; }
.form-msg.err { color: #b3261e; }

.btn-wa { margin-top: 1.6rem; background: #1fa855; color: #fff; box-shadow: 0 8px 20px -8px rgba(31, 168, 85, .6); }
.btn-wa:hover { background: #178a45; }
.btn-wa svg { width: 1.3rem; height: 1.3rem; }
.steps { counter-reset: step; display: grid; gap: .9rem; margin: 1.8rem 0 0; padding: 0; list-style: none; }
.steps li { counter-increment: step; position: relative; display: grid; padding-left: 3.4rem; line-height: 1.45; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--gold); color: var(--navy-950); font-weight: 800; }
.steps b { color: #fff; font-size: 1.05rem; }
.steps span { color: rgba(255, 255, 255, .78); font-size: .97rem; }
.form-note { margin: -.4rem 0 0; font-size: .82rem; color: var(--muted); }

/* faq */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq-list { display: grid; gap: .8rem; }
.faq-list details { border-radius: 18px; background: #fff; border: 1px solid var(--line); padding: 0 1.3rem; transition: box-shadow .2s; }
.faq-list details[open] { box-shadow: var(--shadow); }
.faq-list summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; font-weight: 700; color: var(--navy-900); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: rgba(142, 26, 8, .1); color: var(--maroon); font-size: 1.15rem; line-height: 1; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { margin: 0 0 1.2rem; color: #34464f; }

/* footer */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, .78); font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr .7fr; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 4.5rem); }
.logo-badge { display: inline-grid; place-items: center; padding: .6rem .8rem; border-radius: 16px; background: #fff; margin-bottom: 1.2rem; }
.logo-badge img { width: 44px; height: auto; }
.footer-name { font-family: var(--serif); font-size: 1.35rem; color: #fff; margin-bottom: .4rem; }
.footer-tag { color: var(--gold); margin: 0; }
.footer h3 { font-family: var(--sans); font-size: .78rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer address { font-style: normal; margin-bottom: .8rem; }
.footer p { margin-bottom: .6rem; }
.footer a { color: #fff; text-decoration-color: rgba(255, 255, 255, .3); }
.footer a:hover { text-decoration-color: var(--gold); }
.map-link { font-weight: 650; }
.footer-links { display: grid; gap: .5rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--gold); }
.footer-base { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; }
.footer-base p { margin: 0; }
.top { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: rgba(255, 255, 255, .12); text-decoration: none !important; font-size: 1.2rem; transition: background-color .15s, transform .15s; }
.top:hover { background: var(--maroon); transform: translateY(-2px); }

/* mobile call button */
.call-fab { display: none; }

/* ---------- reveal on scroll (JS adds .reveal-ready to <html>) ---------- */
.reveal-ready .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal-ready .reveal.in { opacity: 1; transform: none; }
.reveal-ready .courses .reveal:nth-child(3n+2) { transition-delay: .08s; }
.reveal-ready .courses .reveal:nth-child(3n+3) { transition-delay: .16s; }
.reveal-ready .bento .reveal:nth-child(even), .reveal-ready .life-grid .reveal:nth-child(3n+2), .reveal-ready .ach-grid .reveal:nth-child(even) { transition-delay: .08s; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .bar { display: flex; justify-content: space-between; }
  .bar-cta { display: none; }
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: var(--header-h); background: var(--sand); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(7, 46, 67, .4); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: .5rem 1.25rem 1rem; }
  .nav a { padding: .85rem .5rem; font-size: 1.05rem; border-radius: 10px; }
  .courses { grid-template-columns: repeat(2, 1fr); }
  .life-grid { grid-template-columns: repeat(2, 1fr); }
  .ach-grid { grid-template-columns: 1fr 1fr; }
  .ach-feature { grid-column: span 2; grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  :root { --header-h: 56px; }
  .about-grid, .admission-grid, .cards-2, .faq-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats li:nth-child(3) { border-left: 0; }
  .hero-stats li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .16); }
  .hero-stats li { padding: 1rem 1.15rem; }
  .stage { grid-template-columns: 1fr; }
  .stage > img { min-height: 220px; max-height: 300px; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(140px, 30vw, 220px); }
  .b1 { grid-column: span 2; grid-row: span 1; }
  .b2, .b3, .b4, .b5, .b6 { grid-column: span 1; }
  .bento-life .c1 { grid-column: span 2; grid-row: span 1; }
  .bento-life .c2, .bento-life .c3, .bento-life .c4, .bento-life .c5, .bento-life .c6 { grid-column: span 1; }
  .call-fab { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; display: inline-flex; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .25s, transform .25s; align-items: center; gap: .5rem; padding: .85rem 1.2rem; border-radius: 999px; background: var(--maroon); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 12px 28px -8px rgba(142, 26, 8, .7); }
  .call-fab.show { opacity: 1; pointer-events: auto; transform: none; }
  .call-fab svg { width: 1.2rem; height: 1.2rem; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .hero-img { object-position: 62% 50%; }
  .hero-shade { background: linear-gradient(180deg, rgba(5, 31, 45, .2) 0%, rgba(5, 31, 45, .5) 38%, rgba(5, 31, 45, .93) 78%); }
  .brand-sub { font-size: .58rem; letter-spacing: .08em; }
  .hero { padding-top: 2.5rem; }
  .hero-cta .btn { flex: 1 1 100%; }
  .courses { grid-template-columns: 1fr; }
  .life-grid { grid-template-columns: 1fr; }
  .ach-grid { grid-template-columns: 1fr; }
  .ach-feature { grid-column: auto; }
  .marks { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .b1, .b2, .b3, .b4, .b5, .b6, .bento-life .c1, .bento-life .c2, .bento-life .c3, .bento-life .c4, .bento-life .c5, .bento-life .c6 { grid-column: auto; }
  .stage-body .btn { width: 100%; }
  .values { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .section-head .pill { order: -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal-ready .reveal { opacity: 1; transform: none; }
}
