/* ==========================================================
   Thayar International School — 2026 redesign
   Palette from the school logo: royal purple + marigold gold,
   with classroom-wall sky blue and school-bag coral as accents.
   ========================================================== */

:root {
  /* brand: logo violet + marigold, brightened for a modern look */
  --purple: #4a1fcf;
  --purple-700: #3a14a8;
  --purple-900: #160a3d;
  --purple-100: #ebe5ff;
  --purple-50: #f5f2ff;
  --violet: #8b5cf6;
  --gold: #fbbd18;
  --gold-300: #ffd866;
  --gold-50: #fff8e1;
  --coral: #ff5a6e;
  --coral-50: #ffecef;
  --sky: #38bdf8;
  --sky-50: #e6f6fe;
  --pink: #ec4899;
  --mint: #10b981;
  --mint-50: #e2f8ef;

  --bg: #fbfaff;
  --surface: #ffffff;
  --ink: #160f2e;
  --ink-2: #4a4565;
  --line: #e7e2f6;

  --r: 22px;
  --r-lg: 34px;
  --shadow-sm: 0 2px 8px rgba(74, 31, 207, .06);
  --shadow: 0 18px 40px -18px rgba(74, 31, 207, .28);
  --shadow-lg: 0 40px 80px -30px rgba(74, 31, 207, .38);

  --f-display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --f-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; font-family: var(--f-body); font-size: 16px; line-height: 1.65;
  color: var(--ink); background: var(--bg); overflow-x: clip; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.1; margin: 0; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--purple); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 16px; }
.break { overflow-wrap: anywhere; }
.show-xs { display: none; }

/* ---------- shared ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--purple); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--gold); }
.eyebrow--center::after { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--gold); }
.eyebrow--light { color: var(--gold-300); }
.spark { color: var(--gold); }

.h2 { font-size: clamp(30px, 4.2vw, 50px); font-weight: 800; margin-bottom: 18px; }
.h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin: 16px 0 14px; }
.muted { color: var(--ink-2); font-size: 17px; }
.hl {
  white-space: nowrap; padding: 0 .08em;
  background: linear-gradient(transparent 60%, var(--gold) 60%, var(--gold) 92%, transparent 92%);
}
.hl--pink { background: linear-gradient(transparent 60%, var(--pink) 60%, var(--pink) 92%, transparent 92%); }
.u { text-decoration: underline wavy var(--coral); text-decoration-thickness: 3px; text-underline-offset: 10px; }

.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.center-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.center-head .muted { margin: 0; }
.section-head { margin-bottom: 44px; }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; }

.btn {
  --bg-c: var(--purple); --fg-c: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg-c); color: var(--fg-c);
  font-weight: 700; font-size: 15px; line-height: 1.2; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(22, 10, 61, .45); }
.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--ink { --bg-c: var(--purple); }
.btn--coral { --bg-c: var(--coral); }
.btn--sun { --bg-c: var(--gold); --fg-c: var(--purple-900); }
.btn--outline-light { --bg-c: transparent; --fg-c: #fff; border-color: rgba(255,255,255,.65); }
.btn--outline-light:hover { --bg-c: #fff; --fg-c: var(--purple); }

.tag {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--gold); color: var(--purple-900);
}
.tag--pink { background: var(--pink); color: #fff; }

.ico--sky { background: var(--sky-50); }
.ico--sun { background: var(--gold-50); }
.ico--coral { background: var(--coral-50); }
.ico--mint { background: var(--mint-50); }

.mini-stat b { display: block; font-family: var(--f-display); font-size: clamp(36px, 4vw, 48px); font-weight: 800; line-height: 1; color: var(--purple); letter-spacing: -.03em; }
.mini-stat span { display: block; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- top bar ---------- */
.topbar { background: var(--purple-900); color: #e9e2f8; font-size: 13.5px; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar__info { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar__info > * { display: inline-flex; align-items: center; gap: 7px; }
.topbar__info > * + *::before { content: ""; width: 1px; height: 14px; background: rgba(255,255,255,.2); margin-right: 14px; }
.topbar svg { width: 15px; height: 15px; fill: var(--gold); flex: none; }
.topbar a:hover { color: #fff; }
.topbar__pill { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-300); font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(35,181,136,.6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(35,181,136,0); } }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(74,31,207,.45); }
.header__in { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; min-width: 0; }
.brand__logo { width: 66px; height: auto; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__text strong { font-family: var(--f-display); font-size: 21px; font-weight: 800; color: var(--purple); letter-spacing: -.01em; text-transform: uppercase; }
.brand__cbse { font-size: .7em; color: #c68f00; }
.brand__text small { font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); margin-top: 3px; }
.brand--light .brand__text strong { color: #fff; }
.brand--light .brand__cbse { color: var(--gold); }
.brand--light .brand__text small { color: #cfc4ea; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a { position: relative; padding: 10px 14px; font-weight: 600; font-size: 15px; color: var(--ink-2); border-radius: 999px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--purple); background: var(--purple-50); }
.nav a.is-active { color: var(--purple); background: var(--gold-50); }
.nav__cta-sm { display: none; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--purple); cursor: pointer; position: relative; flex: none; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- hero: full-width slider ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(560px, 82vh, 760px);
  display: grid; align-items: center;
  border-radius: 0 0 clamp(36px, 6vw, 90px) clamp(36px, 6vw, 90px);
  background: var(--purple-900);
}
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08); transition: opacity 1.4s ease, transform 7s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 50% 40%, rgba(22,10,61,.35), transparent 70%),
    linear-gradient(180deg, rgba(22,10,61,.55) 0%, rgba(74,31,207,.62) 55%, rgba(22,10,61,.9) 100%);
}
.hero__content { text-align: center; color: #fff; padding: 80px 0 150px; }
.hero__kicker {
  display: inline-flex; gap: 8px; align-items: center; padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px);
  font-size: 13.5px; font-weight: 600; letter-spacing: .04em; margin-bottom: 22px;
}
.hero__title { font-size: clamp(44px, 7.4vw, 92px); font-weight: 800; line-height: 1; letter-spacing: -.035em; margin-bottom: 22px; }
.hero__title .hl { color: #fff; background: linear-gradient(transparent 62%, rgba(248,184,24,.9) 62%, rgba(248,184,24,.9) 90%, transparent 90%); }
.hero__lead { font-size: clamp(16px, 1.5vw, 19px); color: #e9e2f8; max-width: 640px; margin: 0 auto 32px; }
.hero__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__dots { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.hero__dots button { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; background: rgba(255,255,255,.45); cursor: pointer; transition: width .4s var(--ease), background .3s; }
.hero__dots button.is-active { width: 34px; background: var(--gold); }

/* three cards overlapping the hero */
.feature-cards { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: -96px; }
.fcard {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--surface); border-radius: var(--r); padding: 26px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  transition: transform .35s var(--ease);
}
.fcard:hover { transform: translateY(-6px); }
.fcard__ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; font-size: 24px; flex: none; color: var(--purple); }
.fcard h3 { font-size: 20px; margin-bottom: 6px; }
.fcard p { color: var(--ink-2); margin: 0; font-size: 14.5px; line-height: 1.55; }
.fcard--accent { background: linear-gradient(135deg, var(--purple), var(--violet)); border-color: transparent; color: #fff; }
.fcard--accent p { color: #e3d9fb; }
.fcard--accent .fcard__ico { background: rgba(255,255,255,.14); }

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about__copy > p { color: var(--ink-2); font-size: 16.5px; }
.about__stats { display: flex; gap: 18px; margin: 30px 0 34px; }
.about__stats .mini-stat { flex: 1; padding: 20px 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.about__stats .mini-stat:last-child b { color: var(--coral); }
.about__media { position: relative; padding: 12px; }
.about__img1 { position: relative; width: 100%; aspect-ratio: 1245 / 1004; object-fit: cover; object-position: center; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.about__ring { position: absolute; top: -18px; right: -18px; left: 30px; aspect-ratio: 1245 / 1004; border: 2px dashed rgba(74,31,207,.25); border-radius: 40px; }
.about__badge {
  position: absolute; right: -10px; bottom: -14px; background: var(--gold); color: var(--purple-900);
  padding: 18px 24px; border-radius: 22px; box-shadow: var(--shadow); transform: rotate(-3deg);
}
.about__badge b { display: block; font-family: var(--f-display); font-size: 34px; line-height: 1; }
.about__badge span { font-size: 13px; font-weight: 700; }

/* ---------- marquee ---------- */
.marquee { background: var(--gold); color: var(--purple-900); overflow: hidden; padding: 18px 0; transform: rotate(-1.2deg); margin: 0 -10px; box-shadow: var(--shadow); }
.marquee__track { display: flex; gap: 28px; width: max-content; animation: marquee 38s linear infinite; font-family: var(--f-display); font-weight: 800; font-size: clamp(20px, 2.4vw, 28px); white-space: nowrap; align-items: center; }
.marquee i { font-style: normal; color: var(--coral); font-size: .8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- programmes ---------- */
.disc { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; margin-bottom: 56px; }
.disc__copy .h3 { margin-top: 0; }
.disc__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.disc__stats .mini-stat { padding: 18px; border-radius: 18px; background: var(--purple-50); border: 1px solid var(--line); }
.disc__stats .mini-stat:nth-child(2) b { color: #d39400; }
.disc__stats .mini-stat:nth-child(3) b { color: #1d93c9; }
.disc__imgs { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; align-items: end; }
.disc__imgs img { width: 100%; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.disc__imgs img:first-child { aspect-ratio: 4 / 4.6; object-position: 60% center; }
.disc__imgs img:last-child { aspect-ratio: 3 / 4.4; object-position: center 70%; margin-bottom: 40px; }

.prog-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 18px; }
.prog-feature {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-lg); min-height: 520px;
  display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow);
}
.prog-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; z-index: -2; transition: transform 1.2s var(--ease); }
.prog-feature:hover img { transform: scale(1.05); }
.prog-feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(22,10,61,0) 25%, rgba(22,10,61,.92) 75%); }
.prog-feature__body { padding: clamp(24px, 3.5vw, 40px); }
.prog-feature__body h3 { font-size: clamp(26px, 3vw, 36px); margin: 14px 0 10px; }
.prog-feature__body p { color: #e3dbf5; max-width: 480px; }
.prog-feature__meta { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0 22px; }
.prog-feature__meta span { padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); font-size: 13.5px; font-weight: 600; }

.prog-list { display: grid; gap: 14px; }
.prog-item {
  display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.prog-item:hover { transform: translateX(6px); border-color: var(--purple); box-shadow: var(--shadow); }
.prog-item__ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; font-size: 26px; flex: none; }
.prog-item small { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--coral); }
.prog-item h4 { font-size: 20px; margin: 2px 0 6px; color: var(--purple); }
.prog-item p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }

/* ---------- student life ---------- */
.life { background: linear-gradient(180deg, var(--bg), var(--purple-50)); padding-top: 40px; }
.life__split { display: grid; grid-template-columns: .85fr 1.5fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.life__copy .h3 { margin-top: 18px; }
.chips-static { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 30px; }
.chips-static span { padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.life__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start; }
.lcard {
  position: relative; display: block; overflow: hidden; isolation: isolate;
  border-radius: 999px 999px var(--r) var(--r); aspect-ratio: 3 / 4.6; box-shadow: var(--shadow);
}
.lcard:nth-child(2) { margin-top: 48px; border-radius: var(--r) var(--r) 999px 999px; }
.lcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; z-index: -2; transition: transform 1s var(--ease); }
.lcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 55%, rgba(22,10,61,.8)); }
.lcard:nth-child(2)::after { background: linear-gradient(0deg, transparent 55%, rgba(22,10,61,.8)); }
.lcard:hover img { transform: scale(1.06); }
.lcard__label {
  position: absolute; left: 14px; right: 14px; bottom: 16px; text-align: center;
  color: #fff; font-family: var(--f-display); font-weight: 700; font-size: 17px;
}
.lcard:nth-child(2) .lcard__label { bottom: auto; top: 18px; }

/* ---------- testimonials ---------- */
.voices { background: var(--purple-900); color: #fff; }
.voices .h2 { color: #fff; }
.gscore { display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); padding: 14px 22px; border-radius: 20px; }
.gscore b { font-family: var(--f-display); font-size: 52px; line-height: 1; color: var(--gold); }
.stars { color: var(--gold); letter-spacing: 1px; }
.gscore .stars { font-size: 20px; display: block; }
.gscore small { color: #cfc4ea; font-weight: 600; }
.quotes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; }
.quote { margin: 0; padding: 28px; border-radius: var(--r); background: #fff; color: var(--ink); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 280px; }
.quote:nth-child(even) { margin-top: 40px; }
.quote blockquote { margin: 0; font-size: 16px; line-height: 1.55; font-weight: 500; }
.quote blockquote::before { content: "“"; display: block; font-family: var(--f-display); font-size: 70px; line-height: .6; color: var(--gold); height: 36px; }
.quote--sun { background: var(--gold); }
.quote--sun blockquote::before { color: var(--purple); }
.quote--coral { background: var(--coral); color: #fff; }
.quote--coral blockquote::before { color: #fff; }
.quote--coral small { color: #ffe0dc !important; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote figcaption b { display: block; font-size: 15px; }
.quote figcaption small { font-size: 12.5px; color: var(--ink-2); font-weight: 600; }
.ava { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--purple); color: var(--gold); font-family: var(--f-display); font-weight: 800; flex: none; }

/* ---------- why / mission CTA ---------- */
.why__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.why__copy .h2 { margin-top: 18px; }
.why__counters { display: flex; gap: 14px; margin: 28px 0 32px; }
.why__counters div { flex: 1; padding: 20px 22px; border-radius: 20px; background: var(--purple); color: #fff; }
.why__counters div:last-child { background: var(--gold); color: var(--purple-900); }
.why__counters b { display: block; font-family: var(--f-display); font-size: clamp(28px, 3vw, 38px); line-height: 1; }
.why__counters span { display: block; margin-top: 6px; font-size: 14px; font-weight: 600; opacity: .85; }
.why__visual { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: stretch; }
.why__img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; object-position: center 60%; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.why__items { display: grid; gap: 12px; }
.why-item { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: transform .3s var(--ease); }
.why-item:hover { transform: translateY(-4px); }
.why-item > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--gold-50); font-size: 20px; flex: none; }
.why-item h4 { font-size: 18px; margin-bottom: 4px; color: var(--purple); }
.why-item p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.why-item--mission { background: var(--purple); border-color: var(--purple); }
.why-item--mission h4 { color: var(--gold); }
.why-item--mission p { color: #e3d9fb; }
.why-item--mission > span { background: rgba(255,255,255,.14); }

/* ---------- gallery ---------- */
.gallery { background: linear-gradient(180deg, var(--bg), var(--sky-50) 30%, var(--sky-50) 70%, var(--bg)); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1.5px solid var(--line); background: var(--surface); padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--ink-2); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--purple); color: var(--purple); }
.chip.is-active { background: var(--purple); border-color: var(--purple); color: #fff; }
.masonry { columns: 4 240px; column-gap: 14px; }
.masonry figure { position: relative; margin: 0 0 14px; break-inside: avoid; border-radius: var(--r); overflow: hidden; cursor: zoom-in; background: var(--purple-100); }
.masonry figure.is-hidden { display: none; }
.masonry img { width: 100%; transition: transform .8s var(--ease); }
.masonry figure:hover img { transform: scale(1.05); }
.masonry figcaption {
  position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 8px 14px; border-radius: 14px;
  background: rgba(255,255,255,.92); font-size: 13px; font-weight: 700; color: var(--purple);
  transform: translateY(8px); opacity: 0; transition: all .3s var(--ease);
}
.masonry figure:hover figcaption, .masonry figure:focus-visible figcaption { transform: none; opacity: 1; }

.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(22, 10, 61, .92); backdrop-filter: blur(8px); padding: 60px 16px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1000px, 100%); text-align: center; }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 18px; }
.lightbox figcaption { color: #fff; margin-top: 14px; font-weight: 600; }
.lb-btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; transition: background .2s; }
.lb-btn:hover { background: var(--gold); color: var(--purple-900); }
.lb-close { top: 18px; right: 18px; font-size: 20px; }
.lb-prev { left: 18px; top: 50%; translate: 0 -50%; }
.lb-next { right: 18px; top: 50%; translate: 0 -50%; }

/* ---------- admission ---------- */
.admission__grid { display: grid; grid-template-columns: 1fr .95fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.steps { counter-reset: s; display: grid; gap: 12px; margin-top: 30px; }
.steps li { counter-increment: s; position: relative; padding: 18px 20px 18px 78px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.steps li::before {
  content: counter(s, decimal-leading-zero); position: absolute; left: 18px; top: 50%; translate: 0 -50%;
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 800; background: var(--gold-50); color: var(--purple);
}
.steps li:last-child::before { background: var(--purple); color: var(--gold); }
.steps b { display: block; font-family: var(--f-display); font-size: 19px; }
.steps span { color: var(--ink-2); font-size: 14.5px; }

.enquiry { position: sticky; top: calc(var(--header-h) + 24px); overflow: hidden; background: var(--surface); border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.enquiry::before { content: ""; position: absolute; inset: 0 0 auto; height: 8px; background: linear-gradient(90deg, var(--purple), var(--coral), var(--gold)); }
.enquiry h3 { font-size: 28px; margin-bottom: 6px; }
.enquiry__sub { color: var(--ink-2); font-size: 14.5px; margin-bottom: 22px; }
.enquiry__sub a { color: var(--purple); font-weight: 700; overflow-wrap: anywhere; }
.enquiry label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.enquiry .row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.opt { font-weight: 500; color: var(--ink-2); }
.enquiry input, .enquiry select, .enquiry textarea {
  display: block; width: 100%; margin-top: 6px; padding: 13px 16px; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--bg); font-weight: 500; font-size: 15px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.enquiry textarea { resize: vertical; }
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { outline: none; border-color: var(--purple); background: #fff; box-shadow: 0 0 0 4px var(--purple-100); }
.enquiry .is-invalid { border-color: var(--coral); background: var(--coral-50); }
.form-note { margin: 12px 0 0; font-size: 14px; font-weight: 600; min-height: 1.4em; color: var(--coral); }
.form-note.ok { color: var(--mint); }

/* ---------- contact ---------- */
.contact { padding-top: 0; }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: stretch; }
.ccard { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; margin-bottom: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; transition: border-color .2s, transform .3s var(--ease); }
a.ccard:hover { border-color: var(--purple); transform: translateX(4px); }
.ccard__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; font-size: 22px; flex: none; }
.ccard b { display: block; font-family: var(--f-display); font-size: 18px; margin-bottom: 2px; }
.ccard > span:last-child { color: var(--ink-2); font-size: 15px; line-height: 1.5; min-width: 0; }
.map { border-radius: var(--r-lg); overflow: hidden; min-height: 420px; box-shadow: var(--shadow); border: 6px solid #fff; }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------- footer ---------- */
.footer { background: var(--purple-900); color: #cfc4ea; padding: 0 0 28px; margin-top: clamp(80px, 9vw, 120px); }
.footer__cta {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(120deg, var(--purple), var(--violet)); color: #fff;
  padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); transform: translateY(-50%); box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.footer__cta::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: var(--gold); opacity: .18; right: -60px; top: -120px; }
.footer__cta h2 { font-size: clamp(26px, 3.4vw, 42px); font-weight: 800; position: relative; }
.footer__cta-btns { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }
.footer__grid { display: grid; grid-template-columns: 1.6fr .9fr 1fr 1.2fr; gap: 36px; margin-top: -10px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .brand__text strong { font-size: 18px; }
.footer h4 { color: #fff; font-size: 17px; margin-bottom: 14px; }
.footer ul { display: grid; gap: 8px; }
.footer a:hover { color: var(--gold); }
.footer__about { margin-top: 16px; max-width: 360px; font-size: 15px; }
.footer__grid p { font-size: 15px; }
.footer__review { display: inline-block; margin-top: 4px; color: var(--gold-300); font-weight: 700; font-size: 14px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: 13.5px; }
.footer__bottom p { margin: 0; }

.wa { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 14px 30px -8px rgba(37,211,102,.6); transition: transform .3s var(--ease); }
.wa:hover { transform: scale(1.08) rotate(-6deg); }
.wa svg { width: 30px; height: 30px; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1180px) {
  .header__cta { display: none; }
  .nav a { padding: 9px 11px; }
  .brand__text strong { font-size: 19px; }
  .quotes { grid-template-columns: repeat(2, 1fr); }
  .hide-md { display: none !important; }
}

@media (max-width: 960px) {
  :root { --header-h: 74px; }
  .burger { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 16px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .3s var(--ease);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 16px; font-size: 17px; border-radius: 14px; }
  .nav__cta-sm { display: inline-flex; margin-top: 8px; }

  .feature-cards { grid-template-columns: 1fr; margin-top: -70px; }
  .about__grid, .disc, .prog-layout, .life__split, .why__grid, .admission__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; margin: 20px auto 0; width: 100%; }
  .prog-feature { min-height: 460px; }
  .enquiry { position: relative; top: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .hide-xs { display: none; }
  .show-xs { display: inline; }
  .topbar__in { justify-content: center; flex-wrap: wrap; gap: 4px 16px; padding: 8px 0; }
  .topbar__info { gap: 14px; }
  .brand { gap: 8px; }
  .brand__logo { width: 50px; }
  .brand__text strong { font-size: 15px; }
  .brand__text small { font-size: 9.5px; }
  .hero { min-height: 600px; }
  .hero__content { padding: 60px 0 130px; }
  .hero__kicker { font-size: 12px; }
  .hero__ctas .btn { width: 100%; }
  .fcard { padding: 22px; }
  .about__stats { gap: 10px; }
  .about__badge { right: 0; }
  .about__ring { display: none; }
  .disc__stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .disc__stats .mini-stat { padding: 14px 10px; }
  .disc__stats .mini-stat b { font-size: 30px; }
  .disc__stats .mini-stat span { font-size: 12px; }
  .disc__imgs img:last-child { margin-bottom: 24px; }
  .life__cards { gap: 8px; }
  .lcard:nth-child(2) { margin-top: 28px; }
  .lcard__label { font-size: 13px; left: 6px; right: 6px; }
  .quotes { grid-template-columns: 1fr; }
  .quote:nth-child(even) { margin-top: 0; }
  .quote { min-height: auto; }
  .why__visual { grid-template-columns: 1fr; }
  .why__img { min-height: 0; aspect-ratio: 4 / 3.6; }
  .masonry { columns: 2 140px; column-gap: 10px; }
  .masonry figure { margin-bottom: 10px; }
  .enquiry .row { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__cta { transform: translateY(-30%); }
  .lb-prev, .lb-next { top: auto; bottom: 18px; translate: none; }
  .wa { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}

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

/* arch cards: explicit radii so the bottom corners stay rounded */
.lcard { border-radius: 240px 240px var(--r) var(--r); }
.lcard:nth-child(2) { border-radius: var(--r) var(--r) 240px 240px; }

/* ---------- Life Style ---------- */
.tag--sky { background: var(--sky); color: var(--purple-900); }
.tag--mint { background: var(--mint); color: #fff; }
.btn--ghost { --bg-c: transparent; --fg-c: var(--purple); border-color: var(--purple); }
.btn--ghost:hover { --bg-c: var(--purple); --fg-c: #fff; }

.lifestyle { background: radial-gradient(900px 420px at 50% 0%, var(--gold-50), transparent 70%); }
.ls-tabs {
  display: flex; justify-content: center; gap: 8px; flex-wrap: wrap;
  width: fit-content; max-width: 100%; margin: 0 auto 40px; padding: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm);
}
.ls-tab {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border: 0; border-radius: 999px;
  background: transparent; font-weight: 700; font-size: 15px; color: var(--ink-2); cursor: pointer;
  transition: background .25s, color .25s;
}
.ls-tab:hover { background: var(--purple-50); color: var(--purple); }
.ls-tab.is-active { background: var(--purple); color: #fff; }
.ls-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; animation: lsIn .5s var(--ease); }
.ls-panel[hidden] { display: none; }
@keyframes lsIn { from { opacity: 0; transform: translateY(14px); } }
.ls-copy .h3 { margin-top: 16px; }
.ls-points { display: grid; gap: 10px; margin-top: 22px; }
.ls-points li { display: flex; gap: 12px; align-items: center; padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; font-weight: 600; font-size: 15px; }
.ls-points li span { font-size: 20px; }

.ls-mosaic { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 12px; }
.ls-mosaic figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--r); background: var(--purple-100); box-shadow: var(--shadow-sm); }
.ls-mosaic .ls-big { grid-row: span 2; border-radius: 160px 160px var(--r) var(--r); }
.ls-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.ls-mosaic figure:hover img { transform: scale(1.06); }
.ls-mosaic figcaption {
  position: absolute; left: 10px; bottom: 10px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.92); font-size: 12.5px; font-weight: 700; color: var(--purple);
}

.cycles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cycle { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 20px 28px; text-align: center; box-shadow: var(--shadow-sm); }
.cycle h4 { font-size: 19px; color: var(--purple); margin-bottom: 18px; }
.cycle__ring {
  --size: 240px; position: relative; width: var(--size); height: var(--size); margin: 0 auto; max-width: 100%;
  border-radius: 50%; border: 3px dashed rgba(35,181,136,.45);
}
.cycle--b .cycle__ring { border-color: rgba(255,111,174,.5); }
.cycle__ring::after {
  content: "↻"; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 46px; color: var(--mint); opacity: .5; animation: spin 14s linear infinite;
}
.cycle--b .cycle__ring::after { color: var(--pink); }
@keyframes spin { to { transform: rotate(360deg); } }
.cycle__ring li {
  position: absolute; left: 50%; top: 50%; width: 88px; margin: -44px 0 0 -44px;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 12.5px; font-weight: 700; color: var(--ink);
  transform: rotate(calc(var(--i) * 90deg - 90deg)) translate(calc(var(--size) / 2)) rotate(calc(var(--i) * -90deg + 90deg));
}
.cycle__ring li span {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--mint-50); border: 3px solid #fff; box-shadow: var(--shadow-sm); font-size: 26px;
}
.cycle--b .cycle__ring li span { background: #ffecf4; }

/* ---------- Location ---------- */
.loc-sub { margin-bottom: 22px; }
.plus { display: block; margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--purple); }
.map-col { display: flex; flex-direction: column; gap: 14px; }
.map-col .map { flex: 1; }
.map-actions { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .ls-panel { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ls-tabs { border-radius: 24px; width: 100%; }
  .ls-tab { flex: 1 1 100%; justify-content: center; padding: 11px 14px; }
  .ls-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 150px 150px; }
  .ls-mosaic .ls-big { grid-column: span 2; grid-row: auto; border-radius: 120px 120px var(--r) var(--r); }
  .cycles { grid-template-columns: 1fr; }
  .cycle__ring { --size: 200px; }
  .map-actions .btn { flex: 1; }
}
.cycle__ring { --size: 170px; margin: 46px auto; }
.cycle__ring li { width: 84px; margin: -40px 0 0 -42px; }
.cycle__ring li span { width: 50px; height: 50px; font-size: 23px; }
@media (max-width: 600px) { .cycle__ring { --size: 190px; } }
/* mosaic: big photo + two on top + one wide below, no empty cell */
.ls-mosaic { grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: 220px 220px; grid-template-areas: "big a b" "big c c"; }
.ls-mosaic .ls-big { grid-area: big; }
.ls-mosaic figure:nth-child(2) { grid-area: a; }
.ls-mosaic figure:nth-child(3) { grid-area: b; }
.ls-mosaic figure:nth-child(4) { grid-area: c; }
.ls-mosaic figure:nth-child(4) img { object-position: center 25%; }
@media (max-width: 600px) {
  .ls-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 160px 170px; grid-template-areas: "big big" "a b" "c c"; }
}

/* ---------- Leadership ---------- */
.leadership { padding-top: 40px; }
.leader {
  position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 52px); box-shadow: var(--shadow); overflow: hidden;
}
.leader + .leader { margin-top: 24px; }
.leader::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold-50), transparent 70%); top: -160px; right: -120px; pointer-events: none;
}
.leader--flip { grid-template-columns: 1.2fr .8fr; }
.leader--flip .leader__photo { order: 2; }
.leader__photo { position: relative; max-width: 380px; width: 100%; justify-self: center; }
.leader__arch {
  position: relative; border-radius: 200px 200px 28px 28px; overflow: hidden; aspect-ratio: 900 / 1062;
  background: linear-gradient(180deg, var(--purple-50), #fff);
  box-shadow: 0 0 0 8px #fff, 0 0 0 10px var(--gold), var(--shadow-lg);
}
.leader__arch img { width: 100%; height: 100%; object-fit: cover; object-position: center top; mix-blend-mode: multiply; }
.leader__badge {
  position: absolute; left: 50%; bottom: -18px; translate: -50% 0; white-space: nowrap;
  padding: 10px 22px; border-radius: 999px; background: var(--purple); color: #fff;
  font-family: var(--f-display); font-weight: 700; font-size: 16px; box-shadow: var(--shadow);
}
.leader__badge span { color: var(--gold); }
.leader__body { position: relative; }
.leader__msg { position: relative; margin: 22px 0 26px; padding-left: 28px; border-left: 4px solid var(--gold); }
.leader__msg::before {
  content: "“"; position: absolute; left: -6px; top: -64px; font-family: var(--f-display);
  font-size: 140px; line-height: 1; color: var(--purple-100); z-index: -1;
}
.leader__msg p { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.75; color: var(--ink-2); }
.leader__msg p:first-child { font-family: var(--f-display); font-size: clamp(19px, 1.9vw, 23px); font-weight: 600; line-height: 1.5; color: var(--ink); }
.leader__sign b { display: block; font-family: var(--f-display); font-size: 24px; color: var(--purple); }
.leader__sign span { font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #c68f00; }

@media (max-width: 860px) {
  .leader, .leader--flip { grid-template-columns: 1fr; }
  .leader--flip .leader__photo { order: 0; }
  .leader__photo { max-width: 300px; margin-bottom: 18px; }
}
.leader__body { isolation: isolate; }
.leader__msg::before { display: none; }
.leader__msg--pink { border-left-color: var(--pink); }
.leader--flip .leader__arch { box-shadow: 0 0 0 8px #fff, 0 0 0 10px var(--pink), var(--shadow-lg); }
.leader--flip .leader__badge { background: var(--pink); }
.leader--flip .leader__badge span { color: #fff; }
.leader--flip::before { right: auto; left: -120px; background: radial-gradient(circle, #ffecf4, transparent 70%); }

/* ticker: Life Style links */
.marquee__set { display: flex; align-items: center; gap: 28px; padding-right: 28px; }
.marquee__track { gap: 0; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__label {
  font-size: .62em; letter-spacing: .14em; text-transform: uppercase; padding: 8px 16px; border-radius: 999px;
  background: var(--purple); color: var(--gold);
}
.marquee a { padding: 2px 14px; border-radius: 999px; border: 2px dashed rgba(22,10,61,.35); transition: background .2s, color .2s, border-color .2s; }
.marquee a:hover, .marquee a:focus-visible { background: var(--purple); color: #fff; border-color: var(--purple); }

/* ticker alignment: straight strip, every item the same height on one centre line */
.marquee { transform: none; margin: 0; }
.marquee__track { align-items: center; }
.marquee__set { align-items: center; }
.marquee__set > span, .marquee__set > a, .marquee__label {
  display: inline-flex; align-items: center; gap: 8px; height: 46px; line-height: 1;
  padding: 0 16px; border: 2px dashed transparent; border-radius: 999px; white-space: nowrap;
}
.marquee__set > a { border-color: rgba(22,10,61,.35); }
.marquee__label { height: 34px; border: 0; }
.marquee i { display: inline-flex; align-items: center; height: 46px; line-height: 1; }

/* ticker: Life Style items look exactly like the other ticker text */
.marquee__set > span, .marquee__set > a { padding: 0; border: 0; border-radius: 0; background: none; color: inherit; height: 46px; }
.marquee__set > a:hover, .marquee__set > a:focus-visible { background: none; color: inherit; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* programme feature: photo on top (fully visible), content on a solid panel below */
.prog-feature { flex-direction: column; align-items: stretch; min-height: 0; background: linear-gradient(160deg, var(--purple), #6d3cf0); }
.prog-feature::after { display: none; }
.prog-feature img { position: relative; inset: auto; z-index: 0; height: 330px; object-position: center 62%; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.prog-feature__body { position: relative; }
.prog-feature__body::before {
  content: ""; position: absolute; left: 0; right: 0; top: -60px; height: 60px; pointer-events: none;
  background: linear-gradient(transparent, rgba(74,31,207,.55));
}
.why__img { object-position: center center; }
@media (max-width: 600px) { .prog-feature img { height: 240px; } }
.why__img { object-position: center 40%; }

/* ---------- gallery albums ---------- */
.masonry figure.is-more { display: none; }
.chip span { display: inline-grid; place-items: center; min-width: 24px; height: 20px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: var(--purple-50); color: var(--purple); font-size: 12px; }
.chip.is-active span { background: rgba(255,255,255,.2); color: #fff; }
.masonry img { height: auto; }
.gallery__more { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 28px; }
.gallery__more [hidden] { display: none; }
.gallery__count { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink-2); }

/* ---------- videos ---------- */
.videos { padding-top: 40px; }
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.vcard { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.vcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.vcard video { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--purple-900); }
.vcard figcaption { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 14px; }
.vcard b { font-family: var(--f-display); font-size: 15.5px; color: var(--purple); line-height: 1.25; }
.vcard span { flex: none; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--gold-50); color: #9a6b00; }
@media (max-width: 960px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .video-grid { gap: 10px; } .vcard figcaption { flex-direction: column; align-items: flex-start; } }
.vcard video { object-fit: contain; }

/* ---------- gallery albums (folder-wise) ---------- */
.gallery .filters { margin: -12px 0 34px; }
.albums { display: grid; gap: 40px; }
.album[hidden] { display: none; }
.album__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 2px dashed var(--line); }
.album__head h3 { font-size: clamp(22px, 2.4vw, 28px); color: var(--purple); }
.album__head p { margin: 4px 0 0; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.album__folder { color: var(--ink); }
.album__video { font-weight: 700; font-size: 14px; color: var(--coral); padding: 8px 14px; border-radius: 999px; background: var(--coral-50); }
.album__video:hover { background: var(--coral); color: #fff; }
.album .masonry { columns: 4 220px; }
.album__more { display: flex; margin: 18px auto 0; }
.album__more[hidden] { display: none; }
.gallery__back {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 10px 18px; border-radius: 999px;
  border: 2px solid var(--purple); background: #fff; color: var(--purple); font-weight: 700; font-size: 14px; cursor: pointer;
}
.gallery__back:hover { background: var(--purple); color: #fff; }
.gallery__back[hidden] { display: none; }
[data-album-link] { cursor: pointer; }
[data-album-link]::after {
  content: "View gallery →"; position: absolute; right: 10px; top: 10px; padding: 5px 10px; border-radius: 999px;
  background: rgba(22,10,61,.75); color: #fff; font-size: 11.5px; font-weight: 700; opacity: 0; transition: opacity .25s;
}
[data-album-link]:hover::after, [data-album-link]:focus-visible::after { opacity: 1; }
@media (hover: none) { [data-album-link]::after { opacity: 1; } }

/* ---------- Call the school ---------- */
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--call { --bg-c: var(--mint); --fg-c: #fff; }
.header__call { margin-right: -12px; }
.call-card { display: inline-flex; align-items: center; gap: 14px; margin-top: 6px; padding: 14px 22px 14px 14px; border-radius: 20px; background: var(--mint-50); border: 1px solid rgba(35,181,136,.3); transition: transform .3s var(--ease); }
.call-card:hover { transform: translateY(-3px); }
.call-card__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--mint); color: #fff; }
.call-card__ico svg { width: 22px; height: 22px; }
.call-card small { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.call-card b { font-family: var(--f-display); font-size: 22px; color: var(--purple); }
.fab-call {
  position: fixed; right: 20px; bottom: 90px; z-index: 60; display: flex; align-items: center; gap: 8px;
  height: 52px; padding: 0 18px 0 15px; border-radius: 999px; background: var(--purple); color: #fff;
  font-weight: 700; font-size: 14.5px; box-shadow: 0 14px 30px -8px rgba(74,31,207,.55); transition: transform .3s var(--ease);
}
.fab-call:hover { transform: translateY(-3px); }
.fab-call svg { width: 22px; height: 22px; color: var(--gold); }

/* Enrichment tags */
.enrich-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.enrich-tags li { padding: 5px 11px; border-radius: 999px; background: var(--purple-50); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--purple); }

@media (max-width: 1180px) { .header__call span { display: none; } .header__call { padding: 12px; } }
@media (max-width: 960px) { .header__call { display: none; } }
@media (max-width: 600px) {
  .fab-call { right: 14px; bottom: 76px; width: 52px; padding: 0; justify-content: center; }
  .fab-call span { display: none; }
  .album .masonry { columns: 2 140px; }
  .call-card b { font-size: 19px; }
}

/* Principal card: sky accent, letter-style message */
.leader--sky .leader__arch { box-shadow: 0 0 0 8px #fff, 0 0 0 10px var(--sky), var(--shadow-lg); }
.leader--sky .leader__badge { background: #1d93c9; }
.leader--sky .leader__badge span { color: #fff; }
.leader--sky::before { background: radial-gradient(circle, var(--sky-50), transparent 70%); }
.leader--sky .leader__arch img { mix-blend-mode: normal; object-position: center 20%; }
.leader__msg--sky { border-left-color: var(--sky); }
.leader__msg--letter p { font-size: 16px; line-height: 1.75; margin-bottom: .8em; }
.leader__msg--letter p:first-child { font-family: var(--f-display); font-size: 19px; font-weight: 700; color: var(--purple); }
.leader__msg--letter .leader__regards { margin: 1.2em 0 0; font-style: italic; font-weight: 600; color: var(--ink); }
.leader__sign small { font-family: var(--f-body); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.leader--sky { align-items: start; }
.leader--sky .leader__photo { position: sticky; top: calc(var(--header-h) + 30px); }
@media (max-width: 860px) { .leader--sky .leader__photo { position: relative; top: 0; } }
.leader--sky .leader__photo { position: relative; top: 0; }
/* header room: name stays on one line */
.brand__text strong { white-space: nowrap; }
@media (max-width: 1400px) { .header__call span { display: none; } .header__call { padding: 12px; } }
@media (max-width: 1280px) { .brand__text strong { font-size: 18px; } .nav a { padding: 9px 10px; } }
/* floating call: phones/tablets only (desktop has the header button) */
.fab-call { display: none; }
@media (max-width: 960px) { .fab-call { display: flex; } }
@media (max-width: 1400px) { .brand__text strong { font-size: 19px; } .nav a { padding: 9px 11px; } .header__in { gap: 16px; } }
@media (max-width: 600px) { .brand__text strong { white-space: normal; font-size: 15px; } .brand { padding-right: 8px; } }

/* Principal: larger photo, message unchanged */
.leader--sky { grid-template-columns: 1fr 1.15fr; }
.leader--sky .leader__photo { max-width: 500px; }
@media (max-width: 860px) { .leader--sky { grid-template-columns: 1fr; } .leader--sky .leader__photo { max-width: 420px; } }
.footer__grid .break { font-size: 13.5px; overflow-wrap: normal; word-break: keep-all; }
@media (max-width: 400px) { .footer__grid .break { overflow-wrap: anywhere; } }

/* Instagram */
.topbar__in { gap: 18px; }
.topbar__ig { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-weight: 600; }
.topbar__ig svg { fill: none; color: var(--gold); }
.topbar__ig:hover { color: #fff; }
.ico--ig { background: linear-gradient(45deg, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 100%); color: #fff; }
.ico--ig svg { width: 24px; height: 24px; }
.footer__ig { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 10px; font-weight: 600; font-size: 14px; color: #fff; }
.footer__ig svg { width: 20px; height: 20px; color: var(--gold); }
.footer__ig + .footer__review { display: block; }
@media (max-width: 600px) { .topbar__ig { margin-left: 0; } .topbar__ig span { display: none; } }

/* Instagram icon in the main menu bar */
.header__ig {
  display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #fff; box-shadow: 0 8px 18px -8px rgba(214,36,159,.6); transition: transform .25s var(--ease);
}
.header__ig:hover { transform: translateY(-2px) scale(1.06); }
.header__ig svg { width: 22px; height: 22px; }
.nav__ig { display: none !important; }
@media (max-width: 960px) {
  .header__ig { width: 42px; height: 42px; margin-left: auto; }
  .brand { margin-right: 0; }
  .nav__ig { display: flex !important; align-items: center; gap: 10px; }
  .nav__ig svg { width: 20px; height: 20px; color: #d6249f; }
}

/* ==========================================================
   2026-10 refresh: prominent school name + modern colour
   ========================================================== */
:root { --header-h: 96px; }
.topbar { background: linear-gradient(90deg, var(--purple-900), #2a1270); }
.header { background: rgba(255,255,255,.94); border-bottom: 3px solid transparent; border-image: linear-gradient(90deg, var(--purple), var(--violet), var(--gold)) 1; }

/* school name: bold, large, high-contrast */
.brand__logo { width: 76px; }
.brand__text strong {
  font-family: var(--f-display); font-size: 27px; font-weight: 800; line-height: 1.05;
  letter-spacing: -.005em; color: var(--purple-900);
}
.brand__cbse {
  display: inline-block; vertical-align: middle; margin-left: 4px; padding: 3px 8px; border-radius: 8px;
  font-size: .5em; letter-spacing: .08em; background: var(--gold); color: var(--purple-900);
}
.brand__text small { font-size: 12px; font-weight: 700; color: var(--purple); margin-top: 5px; }
.brand--light .brand__text strong { color: #fff; }
.brand--light .brand__cbse { background: var(--gold); color: var(--purple-900); }
.footer .brand__text strong { font-size: 22px; }

.btn--ink { --bg-c: var(--purple); background: linear-gradient(135deg, var(--purple), var(--violet)); }
.btn--sun { box-shadow: 0 10px 22px -12px rgba(251,189,24,.9); }

/* hero: school name is the headline */
.hero__shade {
  background:
    radial-gradient(900px 520px at 50% 42%, rgba(22,10,61,.45), transparent 70%),
    linear-gradient(180deg, rgba(22,10,61,.6) 0%, rgba(74,31,207,.55) 55%, rgba(22,10,61,.92) 100%);
}
.hero__name {
  margin: 0 auto 10px; max-width: 1000px; color: #fff;
  font-size: clamp(38px, 6.4vw, 84px); font-weight: 800; line-height: 1.02; letter-spacing: -.03em;
  text-transform: uppercase; text-shadow: 0 4px 30px rgba(0,0,0,.45), 0 2px 4px rgba(0,0,0,.35);
}
.hero__name-main { background: linear-gradient(180deg, #fff 55%, #ffe9a8); -webkit-background-clip: text; background-clip: text; }
@supports (-webkit-background-clip: text) { .hero__name-main { -webkit-text-fill-color: transparent; text-shadow: none; filter: drop-shadow(0 4px 18px rgba(0,0,0,.45)); } }
.hero__name-cbse {
  display: inline-block; vertical-align: middle; margin-left: .2em; padding: .14em .4em; border-radius: .25em;
  font-size: .32em; letter-spacing: .1em; background: var(--gold); color: var(--purple-900); text-shadow: none;
}
.hero__trust { margin: 0 0 18px; font-size: clamp(13px, 1.3vw, 16px); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); }
.hero__title { font-size: clamp(26px, 3.6vw, 44px); margin-bottom: 18px; }

/* livelier accents */
.fcard--accent { background: linear-gradient(135deg, var(--purple), var(--violet)); }
.voices { background: radial-gradient(800px 400px at 85% 0%, rgba(139,92,246,.35), transparent 60%), var(--purple-900); }
.footer { background: radial-gradient(900px 400px at 10% 100%, rgba(139,92,246,.25), transparent 60%), var(--purple-900); }
.gallery { background: linear-gradient(180deg, var(--bg), var(--purple-50) 30%, var(--sky-50) 75%, var(--bg)); }
.album__folder { color: var(--purple); font-weight: 700; }

@media (max-width: 1400px) { .brand__text strong { font-size: 24px; } }
@media (max-width: 1280px) { .brand__text strong { font-size: 22px; } .brand__logo { width: 68px; } }
@media (max-width: 960px) { :root { --header-h: 80px; } .brand__text strong { font-size: 22px; } .brand__logo { width: 60px; } }
@media (max-width: 600px) {
  .brand__logo { width: 50px; }
  .brand__text strong { font-size: 17.5px; white-space: normal; }
  .brand__text small { font-size: 9.5px; }
  .hero__name { font-size: clamp(32px, 9.6vw, 44px); }
}

/* two-tier header: name row + colour menu bar */
html { scroll-padding-top: 170px; }
.header { border-bottom: 0; border-image: none; }
.header__in { height: 96px; }
.header__bar { background: linear-gradient(90deg, var(--purple-900), var(--purple) 55%, var(--violet)); }
.header__bar .nav { justify-content: center; gap: 6px; min-height: 52px; }
.header__bar .nav a { color: #e9e3ff; font-size: 15.5px; padding: 9px 18px; }
.header__bar .nav a:hover { color: #fff; background: rgba(255,255,255,.12); }
.header__bar .nav a.is-active { color: var(--purple-900); background: var(--gold); }
.brand__text strong { font-size: clamp(24px, 2.5vw, 34px); white-space: nowrap; }
.brand__logo { width: 80px; }
.header__phone { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.header__phone-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--mint-50); color: var(--mint); }
.header__phone-ico svg { width: 20px; height: 20px; }
.header__phone small { display: block; font-size: 12px; font-weight: 600; color: var(--ink-2); line-height: 1.2; }
.header__phone b { font-family: var(--f-display); font-size: 17px; color: var(--purple-900); }
.header__cta { display: inline-flex !important; }
@media (max-width: 1180px) { .header__phone { display: none; } }
@media (max-width: 960px) {
  html { scroll-padding-top: 90px; }
  .header__in { height: 80px; }
  .header__cta { display: none !important; }
  .header__bar { background: none; }
  .header__bar .wrap { width: auto; }
  .header__bar .nav { justify-content: stretch; min-height: 0; }
  .header__bar .nav a { color: var(--ink); }
  .header__bar .nav a:hover { color: var(--purple); background: var(--purple-50); }
  .brand__text strong { font-size: 22px; white-space: normal; }
}
@media (max-width: 600px) {
  .brand__logo { width: 48px; }
  .brand__text strong { font-size: 18px; }
  .hero__name { font-size: clamp(26px, 8.2vw, 38px); overflow-wrap: anywhere; }
  .hero__name-cbse { font-size: .42em; }
  .hero__trust { letter-spacing: .08em; }
  .hero__kicker { max-width: 100%; }
}
@media (max-width: 600px) {
  .brand__text strong { font-size: 16.5px; line-height: 1.1; }
  .brand__cbse { font-size: .62em; padding: 2px 6px; }
  .brand__text small { font-size: 9px; letter-spacing: .02em; }
}
@media (max-width: 420px) { .brand__text small { display: none; } }

/* school title in Times New Roman (header, footer, hero) */
.brand__text strong, .hero__name {
  font-family: "Times New Roman", Times, serif; font-weight: 700; letter-spacing: 0;
}
.brand__cbse, .hero__name-cbse { font-family: var(--f-display); font-weight: 800; }

/* keep phone numbers on one line */
.header__phone { flex: none; }
.header__phone b, a[href^="tel:"] { white-space: nowrap; }
