/* ==========================================================================
   Rama School, Kuchaman City — Website Design System
   Shared by every page. To re-brand (e.g. match the official logo colours),
   change the tokens in section 1 only.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --indigo-900: #10173f;
  --indigo-800: #182260;
  --indigo-700: #233079;
  --indigo-600: #2f3f96;
  --indigo-100: #e7eaf8;
  --saffron-500: #f2a516;
  --saffron-400: #f8bd4a;
  --saffron-100: #fdf0d2;
  --terracotta: #c8282e;
  --terracotta-100: #fce3e3;
  --teal: #0f766e;
  --cream: #fbf6ec;
  --sand: #f4ead8;
  --ink: #151a2d;
  --text: #2b3145;
  --muted: #5e667a;
  --line: #e9e2d3;
  --white: #fff;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-hindi: "Tiro Devanagari Hindi", "Noto Serif Devanagari", serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(21, 26, 45, .06);
  --shadow: 0 14px 34px -14px rgba(21, 26, 45, .2);
  --shadow-lg: 0 30px 60px -22px rgba(16, 23, 63, .4);
  --container: 1200px;
  --header-h: 58px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.08'%3E%3Cpath d='M28 6c5 7 5 12 0 17-5-5-5-10 0-17zM28 50c5-7 5-12 0-17-5 5-5 10 0 17zM6 28c7-5 12-5 17 0-5 5-10 5-17 0zM50 28c-7-5-12-5-17 0 5 5 10 5 17 0z'/%3E%3Ccircle cx='28' cy='28' r='3'/%3E%3Ccircle cx='0' cy='0' r='4'/%3E%3Ccircle cx='56' cy='0' r='4'/%3E%3Ccircle cx='0' cy='56' r='4'/%3E%3Ccircle cx='56' cy='56' r='4'/%3E%3C/g%3E%3C/svg%3E");
}

/* Colour pairs used by photo placeholders, stream cards and stages */
[data-tone="indigo"]  { --c1: #3b4db0; --c2: #141c52; }
[data-tone="saffron"] { --c1: #f8bd4a; --c2: #d36f12; }
[data-tone="terra"]   { --c1: #e2585a; --c2: #8c1c1f; }
[data-tone="teal"]    { --c1: #2bb3a3; --c2: #0b4f4a; }
[data-tone="plum"]    { --c1: #a862c8; --c2: #4a1c63; }
[data-tone="green"]   { --c1: #6cbf5a; --c2: #1f5c1a; }
[data-tone="rose"]    { --c1: #ef8aa2; --c2: #9e2d4c; }
[data-tone="sky"]     { --c1: #5cb2ef; --c2: #1b4d8c; }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -.01em;
}
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; color: var(--terracotta); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
:focus-visible { outline: 3px solid var(--saffron-500); outline-offset: 3px; border-radius: 6px; }
.hindi { font-family: var(--font-hindi); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.section { position: relative; padding-block: clamp(64px, 9vw, 112px); }
.section--tight { padding-block: clamp(48px, 6vw, 72px); }
.section--cream { background: var(--cream); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--indigo-800); color: #cfd4ef; overflow: hidden; }
.section--dark::before {
  content: ""; position: absolute; inset: 0; background-image: var(--pattern); pointer-events: none;
}
.section--dark > .container { position: relative; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark h2 em { color: var(--saffron-400); }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }
.split--wide-left { grid-template-columns: 1.2fr .8fr; }
.split > *, .grid > * { min-width: 0; }
.center-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 44px; }
.mt-lg { margin-top: clamp(48px, 6vw, 80px); }
.muted { color: var(--muted); }

@media (max-width: 1024px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .split, .split--wide-left { grid-template-columns: 1fr; }
}
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* Section headings */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.section--dark .eyebrow { color: var(--saffron-400); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
.section-head p { color: var(--muted); font-size: 1.075rem; margin: 0; }
.section--dark .section-head p { color: #b4bbe0; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.section-head--split {
  max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
}
.section-head--split > div { max-width: 640px; }
.lead { font-size: 1.12rem; color: var(--muted); }
.section-hindi { margin: -6px 0 8px; font-family: var(--font-hindi); font-size: 1.22rem; line-height: 1.4; color: var(--terracotta); }
.section--dark .section-hindi { color: var(--saffron-400); }

/* ---------- 4. Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: .95rem; line-height: 1.2; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--saffron-500); color: var(--ink); box-shadow: 0 12px 24px -12px rgba(242, 165, 22, .8); }
.btn--primary:hover { background: var(--saffron-400); }
.btn--dark { background: var(--indigo-700); color: #fff; }
.btn--dark:hover { background: var(--indigo-600); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn--outline { border-color: var(--indigo-700); color: var(--indigo-700); }
.btn--outline:hover { background: var(--indigo-700); color: #fff; }
.btn--wa { background: #25d366; color: #fff; }
.btn--wa:hover { background: #1fb457; }
.btn--sm { padding: 10px 20px; font-size: .88rem; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--indigo-700); }
.link-arrow i { transition: transform .2s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }
.section--dark .link-arrow { color: var(--saffron-400); }

/* ---------- 5. Top bar, header, navigation ---------- */
.topbar { background: var(--indigo-900); color: #c4c9e8; font-size: .83rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; }
.topbar__info { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.topbar__info > * { display: inline-flex; align-items: center; gap: 8px; }
.topbar i { color: var(--saffron-400); }
.topbar__social { display: flex; align-items: center; gap: 4px; }
.topbar__social a { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; transition: background .2s; }
.topbar__social a:hover { background: rgba(255, 255, 255, .1); }
.topbar__social .topbar__app {
  width: auto; display: inline-flex; gap: 8px; padding: 0 14px; margin-right: 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); font-weight: 600;
}
@media (max-width: 860px) { .topbar__hide-md { display: none !important; } }
@media (max-width: 520px) { .topbar__hide-sm { display: none !important; } }

.topbar__blink { color: var(--saffron-400); font-weight: 800; letter-spacing: .04em; animation: pulse 1.4s infinite; }

/* Brand band: logo + school name (classic Indian school header) */
.brandbar { position: relative; z-index: 51; background: #fff; border-bottom: 1px solid var(--line); }
.brandbar::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--saffron-500) 0 33.3%, #fff 33.3% 66.6%, #138808 66.6%);
  opacity: .9;
}
.brandbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 16px 14px; }
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand__logo { height: 80px; width: auto; flex: none; }
.brand__text { min-width: 0; }
.brand__text strong {
  display: block; font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-weight: 700;
  letter-spacing: .03em; text-transform: uppercase; color: var(--indigo-800); line-height: 1.05;
}
.brand__sub { display: block; margin-top: 4px; font-family: var(--font-display); font-style: italic; font-size: clamp(.84rem, 1.4vw, 1rem); color: var(--terracotta); line-height: 1.3; }
.brand__text small {
  display: block; margin-top: 4px; font-size: .66rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}
.brand--sm .brand__logo { height: 52px; }
.brand--sm .brand__text strong { font-size: 1.2rem; }
.brandbar__contact { display: flex; align-items: center; gap: 26px; }
.contact-chip { display: flex; align-items: center; gap: 12px; }
.contact-chip .ic { width: 46px; height: 46px; border-radius: 50%; font-size: 1.05rem; }
.contact-chip small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-chip strong { display: block; color: var(--ink); font-size: .98rem; line-height: 1.3; }

/* Coloured menu bar */
.navbar { position: sticky; top: 0; z-index: 50; background: var(--indigo-700); border-bottom: 3px solid var(--saffron-500); transition: box-shadow .3s; }
.navbar.is-scrolled { box-shadow: 0 12px 30px -14px rgba(16, 23, 63, .6); }
.navbar__inner { display: flex; align-items: center; justify-content: center; height: var(--header-h); }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 14px; border-radius: 8px; font-weight: 600; font-size: .92rem; color: #fff;
  transition: color .2s, background .2s;
}
.nav__link i { font-size: .6rem; opacity: .8; transition: transform .2s; }
.nav__link .fa-house { font-size: .9rem; opacity: 1; }
.nav__link:hover, .nav__item:focus-within > .nav__link { background: rgba(255, 255, 255, .12); }
.nav__item:hover > .nav__link .fa-chevron-down { transform: rotate(180deg); }
.nav__link.is-active { color: var(--saffron-400); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: -11px; height: 3px; border-radius: 3px 3px 0 0;
  background: #fff;
}
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%; min-width: 240px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__item:hover .dropdown, .nav__item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 10px;
  font-size: .92rem; font-weight: 500; transition: background .2s, color .2s;
}
.dropdown a i { width: 18px; text-align: center; color: var(--saffron-500); }
.dropdown a:hover { background: var(--cream); color: var(--indigo-700); }

.header__actions { display: flex; align-items: center; gap: 12px; flex: none; }
.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: 12px; border: 0; background: var(--indigo-700);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; border-radius: 2px; background: #fff; }
@media (max-width: 1240px) { .contact-chip--visit { display: none; } }
@media (max-width: 1140px) {
  .navbar { display: none; }
  .brandbar { position: sticky; top: 0; z-index: 50; box-shadow: 0 8px 24px -16px rgba(16, 23, 63, .4); }
  .brandbar__contact .contact-chip { display: none; }
  .nav-toggle { display: inline-flex; }
  [id] { scroll-margin-top: 110px; }
}
@media (max-width: 640px) {
  .brandbar__inner { padding-block: 12px 10px; gap: 12px; }
  .brand { gap: 10px; }
  .brand__logo { height: 58px; }
  .brand__text strong { font-size: 1.2rem; }
  .brand__text small { display: none; }
  .header__actions .btn { display: none; }
}
@media (max-width: 480px) { .brand__amp, .brand__state { display: none; } }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; transition: visibility .35s; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(16, 23, 63, .55); opacity: 0; transition: opacity .35s; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(380px, 88vw);
  display: flex; flex-direction: column; overflow-y: auto;
  background: #fff; transform: translateX(100%); transition: transform .35s var(--ease);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer__close { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 1.1rem; }
.drawer__nav { flex: 1; padding: 8px 20px 20px; }
.drawer__nav > li > a, .drawer__nav summary {
  display: flex; justify-content: space-between; align-items: center; padding: 15px 2px;
  font-weight: 700; font-size: 1.05rem; color: var(--ink); border-bottom: 1px solid var(--line); cursor: pointer; list-style: none;
}
.drawer__nav summary::-webkit-details-marker { display: none; }
.drawer__nav i { font-size: .75rem; color: var(--muted); transition: transform .2s; }
.drawer__nav details[open] summary i { transform: rotate(180deg); }
.drawer__nav .is-active { color: var(--indigo-700); }
.drawer__sub { display: grid; padding: 8px 0 12px 12px; border-bottom: 1px solid var(--line); }
.drawer__sub a { padding: 9px 12px; border-radius: 10px; color: var(--muted); font-weight: 500; }
.drawer__sub a:hover { background: var(--cream); color: var(--indigo-700); }
.drawer__foot { display: grid; gap: 10px; padding: 20px; background: var(--cream); }

/* ---------- 6. Home hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #cdd2ee;
  background: var(--indigo-800);
  padding: clamp(48px, 7vw, 88px) 0 clamp(120px, 13vw, 180px);
}
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(620px 420px at 88% 18%, rgba(242, 165, 22, .22), transparent 62%),
    radial-gradient(560px 520px at 6% 92%, rgba(200, 40, 46, .3), transparent 62%);
}
.hero::after, .page-hero::after {
  content: ""; position: absolute; inset: 0; background-image: var(--pattern); pointer-events: none;
}
.hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 5vw, 64px); align-items: center;
}
.pill {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 6px 16px 6px 6px;
  border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  color: #fff; font-size: .85rem; font-weight: 600;
}
.pill b {
  padding: 4px 11px; border-radius: 999px; background: var(--saffron-500); color: var(--ink);
  font-size: .7rem; letter-spacing: .08em; text-transform: uppercase;
}
.hero__hindi {
  display: flex; align-items: center; gap: 14px; margin-bottom: 14px;
  font-family: var(--font-hindi); font-size: 1.35rem; color: var(--saffron-400);
}
.hero__hindi::after { content: ""; width: 60px; height: 1px; background: rgba(248, 189, 74, .5); }
.hero h1, .hero .h1-like { color: #fff; font-size: clamp(2.4rem, 5.2vw, 4.2rem); line-height: 1.04; margin-bottom: 22px; }
.hero h1 em, .hero .h1-like em { color: var(--saffron-400); }
.hero__lead { max-width: 560px; margin-bottom: 34px; font-size: 1.14rem; color: #c3c9ea; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: .92rem; font-weight: 500; }
.hero__trust li { display: flex; align-items: center; gap: 10px; }
.hero__trust i { color: var(--saffron-400); }

/* Hero image slider */
.hero__slides { position: relative; z-index: 2; display: grid; }
.hero__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility .8s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__slide.is-active .hero__content > * { animation: fadeUp .9s var(--ease) both; }
.hero__slide.is-active .hero__content > :nth-child(2) { animation-delay: .08s; }
.hero__slide.is-active .hero__content > :nth-child(3) { animation-delay: .16s; }
.hero__slide.is-active .hero__content > :nth-child(4) { animation-delay: .24s; }
.hero__slide.is-active .hero__content > :nth-child(5) { animation-delay: .32s; }
.hero__slide.is-active .hero__content > :nth-child(6) { animation-delay: .4s; }
.hero__slide.is-active .hero__visual { animation: fadeUp 1s var(--ease) .15s both; }
.hero__controls { position: relative; z-index: 3; display: flex; align-items: center; gap: 16px; margin-top: 40px; }
.hero__dots { display: flex; gap: 8px; }
.hero__dot { width: 30px; height: 6px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .25); transition: width .3s, background .3s; }
.hero__dot.is-active { width: 54px; background: var(--saffron-500); }
.hero__arrow {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; transition: all .2s;
}
.hero__arrow:hover { background: var(--saffron-500); border-color: var(--saffron-500); color: var(--ink); }
.hero__count { margin-left: auto; font-family: var(--font-display); color: #fff; font-size: 1.05rem; }
.hero__count span { color: #8d94bd; }

.hero__visual { position: relative; height: 540px; }
.hero__visual > .hero__main { position: absolute; top: 0; right: 0; width: 74%; height: 100%; border-radius: 220px 220px 28px 28px; box-shadow: var(--shadow-lg); }
.hero__visual > .hero__secondary {
  position: absolute; left: 0; bottom: 7%; width: 44%; aspect-ratio: 3 / 4;
  border-radius: 140px 140px 22px 22px; border: 8px solid var(--indigo-800); box-shadow: var(--shadow-lg);
}
.seal {
  position: absolute; top: 4%; left: 8%; z-index: 3; width: 126px; height: 126px; border-radius: 50%;
  display: grid; place-items: center; background: var(--saffron-500); color: var(--ink);
  box-shadow: 0 16px 34px -10px rgba(0, 0, 0, .45);
}
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.seal text { font-family: var(--font-body); font-size: 10px; font-weight: 800; letter-spacing: .08em; fill: var(--ink); }
.seal i { font-size: 1.9rem; }
.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  background: #fff; color: var(--ink); border-radius: 16px; box-shadow: var(--shadow-lg);
  animation: bob 6s ease-in-out infinite;
}
.float-card strong { display: block; font-family: var(--font-display); font-size: 1.45rem; line-height: 1.05; }
.float-card small { display: block; color: var(--muted); font-size: .78rem; font-weight: 600; }
.float-card .ic { width: 46px; height: 46px; font-size: 1.15rem; border-radius: 12px; }
.float-card--a { right: -14px; bottom: 9%; }
.float-card--b { right: 10%; top: 34%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { height: 480px; max-width: 540px; width: 100%; margin-inline: auto; }
}
@media (max-width: 560px) {
  .hero__visual { height: 400px; }
  .seal { width: 100px; height: 100px; left: 0; }
  .seal i { font-size: 1.5rem; }
  .float-card--a { right: 0; }
  .float-card--b { display: none; }
}

/* Fort skyline divider (SVG injected by main.js) */
.skyline {
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1;
  height: clamp(80px, 11vw, 150px); color: var(--cream); pointer-events: none;
}
.skyline[data-skyline="white"] { color: #fff; }
.skyline svg { width: 100%; height: 100%; }

/* ---------- 7. Inner page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; text-align: center; color: #c3c9ea;
  background: var(--indigo-800);
  padding: clamp(52px, 7vw, 88px) 0 clamp(120px, 13vw, 170px);
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; padding: 8px 18px;
  border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); font-size: .86rem;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb i { font-size: .55rem; opacity: .6; }
.breadcrumb span { color: var(--saffron-400); font-weight: 600; }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.8rem); margin-bottom: 8px; }
.page-hero h1 em { color: var(--saffron-400); }
.page-hero__hindi { font-family: var(--font-hindi); font-size: 1.3rem; color: var(--saffron-400); margin-bottom: 8px; }
.page-hero p { max-width: 660px; margin: 12px auto 0; font-size: 1.08rem; }
.page-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

/* ---------- 8. Ticker ---------- */
.ticker { display: flex; align-items: stretch; background: var(--saffron-500); color: var(--ink); font-size: .92rem; font-weight: 600; }
.ticker__label {
  position: relative; z-index: 1; flex: none; display: flex; align-items: center; gap: 8px; padding: 11px 20px;
  background: var(--terracotta); color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.ticker__viewport { flex: 1; overflow: hidden; display: flex; align-items: center; }
.ticker__track { display: flex; gap: 56px; padding-left: 28px; white-space: nowrap; animation: ticker 48s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track span { display: inline-flex; align-items: center; gap: 12px; }
.ticker__track span::before { content: "✦"; color: var(--terracotta); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- 9. Photo frames with illustrated fallback ---------- */
.media {
  position: relative; isolation: isolate; overflow: hidden; margin: 0;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--c1, #3b4db0), var(--c2, #141c52));
}
.media::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--pattern); opacity: .9;
}
.media::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .22), transparent 55%);
}
.media img {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover;
  color: transparent; font-size: 0; transition: transform .7s var(--ease);
}
.media img.is-missing { display: none; }
.media__ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 16px; text-align: center; color: rgba(255, 255, 255, .94);
}
.media__ph i { font-size: clamp(2rem, 4vw, 3.2rem); filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .2)); }
.media__ph span {
  padding: 6px 14px; border-radius: 999px; background: rgba(0, 0, 0, .18);
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.media__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 48px 18px 16px;
  background: linear-gradient(transparent, rgba(10, 14, 40, .85)); color: #fff; font-weight: 600; font-size: .95rem;
}
.media__cap small { display: block; color: var(--saffron-400); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ratio-1x1 { aspect-ratio: 1; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-3x4 { aspect-ratio: 3 / 4; }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-3x2 { aspect-ratio: 3 / 2; }
.arch { border-radius: 260px 260px var(--radius) var(--radius); }

/* ---------- 10. Icons, cards, tiles ---------- */
.ic {
  flex: none; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.35rem; background: var(--indigo-100); color: var(--indigo-700);
}
.ic--saffron { background: var(--saffron-100); color: #b06a00; }
.ic--terra { background: var(--terracotta-100); color: var(--terracotta); }
.ic--teal { background: #d6f1ed; color: var(--teal); }
.ic--plum { background: #f0e3f6; color: #7b2d8e; }
.ic--green { background: #e2f3dd; color: #2f7a1f; }
.ic--glass { background: rgba(255, 255, 255, .14); color: #fff; }

.card {
  position: relative; padding: 32px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { font-size: 1.3rem; margin: 22px 0 10px; }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }
.card__num { position: absolute; top: 20px; right: 26px; font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--line); font-weight: 700; }
.card--media { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card--media .media { border-radius: 0; }
.card--media:hover .media img { transform: scale(1.05); }
.card__body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.card__body h3 { margin-top: 0; }
.card__body .link-arrow { margin-top: auto; padding-top: 18px; }
.section--dark .card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
.section--dark .card p { color: #b4bbe0; }

.quick-card {
  position: relative; overflow: hidden; padding: 28px 26px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.quick-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.quick-card h3 { font-size: 1.22rem; margin: 18px 0 6px; }
.quick-card p { margin: 0; color: var(--muted); font-size: .93rem; }
.quick-card::after {
  content: ""; position: absolute; right: -34px; bottom: -34px; width: 110px; height: 110px; border-radius: 50%;
  background: var(--cream);
}

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
  display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--ink); font-size: .95rem;
  transition: border-color .2s, transform .2s;
}
.tile:hover { border-color: var(--saffron-500); transform: translateY(-3px); }
.tile .ic { width: 46px; height: 46px; font-size: 1.1rem; border-radius: 12px; }
@media (max-width: 1024px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .tiles { grid-template-columns: 1fr; } }

.tag {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; padding: 6px 12px; border-radius: 999px;
  background: var(--terracotta-100); color: var(--terracotta); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}

/* ---------- 11. About blocks, stats, checklists ---------- */
.about-visual { position: relative; isolation: isolate; padding: 0 0 44px 44px; }
.about-visual .media { aspect-ratio: 4 / 5; border-radius: 240px 240px 24px 24px; }
.about-visual::before {
  content: ""; position: absolute; z-index: -1; right: -18px; top: 48px; width: 150px; height: 150px; opacity: .55;
  background-image: radial-gradient(var(--saffron-500) 2px, transparent 2.6px); background-size: 16px 16px;
}
.about-visual__badge {
  position: absolute; left: 0; bottom: 0; z-index: 2; max-width: 230px; padding: 22px 26px; border-radius: 20px;
  background: var(--indigo-700); color: #dfe3f7; box-shadow: var(--shadow-lg); font-size: .9rem; font-weight: 600;
}
.about-visual__badge strong { display: block; font-family: var(--font-display); font-size: 2.3rem; line-height: 1; color: var(--saffron-400); margin-bottom: 6px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 28px 16px; text-align: center; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2.1rem, 4vw, 2.9rem); line-height: 1.05; color: var(--indigo-700); }
.stat span { display: block; margin-top: 6px; color: var(--muted); font-size: .88rem; font-weight: 600; }
.section--dark .stat { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
.section--dark .stat strong { color: var(--saffron-400); }
.section--dark .stat span { color: #b4bbe0; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }

.checklist { display: grid; gap: 12px; margin: 24px 0; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; }
.checklist li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .68rem;
  flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center;
  background: var(--saffron-100); color: #b06a00;
}
.checklist--2 { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
@media (max-width: 560px) { .checklist--2 { grid-template-columns: 1fr; } }
.section--dark .checklist li::before { background: rgba(248, 189, 74, .18); color: var(--saffron-400); }

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list li {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .92rem;
}
.pill-list i { color: var(--terracotta); }

/* ---------- 12. Academic stages & streams ---------- */
.stages { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.stage {
  position: relative; padding: 28px 22px; border-radius: var(--radius); background: #fff;
  border-top: 4px solid var(--c1); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s;
}
.stage:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.stage__name { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--c2); }
.stage__grades { display: block; margin: 6px 0 2px; font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); line-height: 1.2; }
.stage p { margin: 10px 0 0; color: var(--muted); font-size: .92rem; }
.stage .ic { width: 48px; height: 48px; font-size: 1.15rem; margin-bottom: 16px; background: linear-gradient(145deg, var(--c1), var(--c2)); color: #fff; }
@media (max-width: 1024px) { .stages { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .stages { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .stages { grid-template-columns: 1fr; } }

.stream { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.stream__head { position: relative; padding: 30px 28px; color: rgba(255, 255, 255, .88); background: linear-gradient(145deg, var(--c1), var(--c2)); }
.stream__head::after { content: ""; position: absolute; inset: 0; background-image: var(--pattern); }
.stream__head > * { position: relative; z-index: 1; }
.stream__head h3 { color: #fff; font-size: 1.7rem; margin: 16px 0 4px; }
.stream__head p { margin: 0; font-size: .95rem; }
.stream__body { flex: 1; padding: 24px 28px 28px; }
.stream__body h4 { font-family: var(--font-body); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.subject-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.subject-tags span { padding: 6px 13px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; }

/* ---------- 13. Toppers ---------- */
.toppers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.topper {
  position: relative; padding: 14px 14px 24px; text-align: center; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s;
}
.topper:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.topper .media { aspect-ratio: 1; margin-bottom: 18px; border-radius: 200px 200px 16px 16px; }
.topper__score { display: block; font-family: var(--font-display); font-size: 2.1rem; line-height: 1; color: var(--terracotta); font-weight: 700; }
.topper h3 { margin: 10px 0 2px; font-family: var(--font-body); font-size: 1.08rem; font-weight: 700; }
.topper small { color: var(--muted); font-weight: 500; }
.topper__tag {
  position: absolute; top: 26px; left: 26px; z-index: 2; padding: 5px 11px; border-radius: 999px;
  background: var(--saffron-500); color: var(--ink); font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.section--dark .topper { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.section--dark .topper:hover { background: rgba(255, 255, 255, .09); box-shadow: none; }
.section--dark .topper h3 { color: #fff; }
.section--dark .topper small { color: #aab1d8; }
.section--dark .topper__score { color: var(--saffron-400); }
@media (max-width: 1024px) { .toppers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .toppers { grid-template-columns: 1fr; max-width: 320px; margin-inline: auto; } }
.topper__hi { display: block; margin-bottom: 4px; color: var(--muted); font-size: .85rem; }
.section--dark .topper__hi { color: #c9cdea; }
.toppers--5 { grid-template-columns: repeat(5, 1fr); gap: 20px; }
.toppers--5 .topper__score { font-size: 1.85rem; }
.toppers--5 .topper__tag { top: 22px; left: 22px; }
.toppers--grid { grid-template-columns: repeat(6, 1fr); gap: 16px; }
.toppers--grid .topper { padding: 10px 10px 16px; }
.toppers--grid .media { margin-bottom: 12px; }
.toppers--grid .topper__score { font-size: 1.45rem; }
.toppers--grid h3 { margin-top: 8px; font-size: .95rem; }
.toppers--grid small { font-size: .78rem; }
@media (max-width: 1100px) { .toppers--5 { grid-template-columns: repeat(3, 1fr); } .toppers--grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 700px) { .toppers--5, .toppers--grid { grid-template-columns: repeat(2, 1fr); max-width: none; } }

.honours { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.honour {
  position: relative; overflow: hidden; padding: 34px 30px; border-radius: var(--radius-lg); color: #fff;
  background: linear-gradient(145deg, var(--c1), var(--c2));
}
.honour::after { content: ""; position: absolute; inset: 0; background-image: var(--pattern); }
.honour > * { position: relative; z-index: 1; }
.honour h3 { color: #fff; font-size: 1.5rem; margin: 18px 0 8px; }
.honour p { margin: 0; color: rgba(255, 255, 255, .85); }
@media (max-width: 900px) { .honours { grid-template-columns: 1fr; } }

/* ---------- 14. Principal / quote ---------- */
.principal { display: grid; grid-template-columns: 360px 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.principal .media { aspect-ratio: 4 / 5; border-radius: 220px 220px 24px 24px; box-shadow: var(--shadow-lg); }
.quote { position: relative; font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.72rem); line-height: 1.45; font-weight: 500; color: var(--ink); margin: 0 0 20px; }
.quote::before { content: "\201C"; display: block; height: 44px; font-size: 6rem; line-height: .8; color: var(--saffron-500); }
.signature { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.signature strong { display: block; color: var(--ink); font-size: 1.05rem; }
.signature small { color: var(--muted); }
.signature .ic { width: 52px; height: 52px; }
.principal--reverse { grid-template-columns: 1fr 360px; }
.principal--reverse > .media { order: 2; }
@media (max-width: 900px) {
  .principal, .principal--reverse { grid-template-columns: 1fr; }
  .principal--reverse > .media { order: 0; }
  .principal .media { max-width: 340px; width: 100%; }
}

/* Key facts (academics / admissions) */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.facts--4 { grid-template-columns: repeat(4, 1fr); }
.fact { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.fact .ic { width: 48px; height: 48px; font-size: 1.1rem; margin-bottom: 14px; }
.fact small { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fact strong { display: block; margin-top: 2px; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.25; color: var(--ink); }
@media (max-width: 900px) { .facts--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .facts, .facts--4 { grid-template-columns: 1fr; } }

/* ---------- 15. Events, notices, downloads ---------- */
.events { display: grid; gap: 16px; }
.event {
  display: flex; gap: 20px; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.event:hover { border-color: var(--saffron-500); box-shadow: var(--shadow); transform: translateY(-3px); }
.event h3 { margin: 2px 0 6px; font-family: var(--font-body); font-size: 1.08rem; font-weight: 700; }
.event p { margin: 0 0 8px; color: var(--muted); font-size: .93rem; }
.date-badge { flex: none; width: 74px; overflow: hidden; text-align: center; border-radius: 14px; background: var(--cream); border: 1px solid var(--line); align-self: flex-start; }
.date-badge b { display: block; padding: 4px 0; background: var(--terracotta); color: #fff; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.date-badge strong { display: block; padding-top: 4px; font-family: var(--font-display); font-size: 1.9rem; line-height: 1.15; color: var(--ink); }
.date-badge small { display: block; padding-bottom: 7px; color: var(--muted); font-size: .7rem; font-weight: 600; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: .84rem; font-weight: 500; }
.meta i { color: var(--saffron-500); margin-right: 4px; }

.noticeboard { height: 100%; padding: 30px; border-radius: var(--radius-lg); background: var(--indigo-800); color: #c3c9ea; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.noticeboard .link-arrow { color: var(--saffron-400); font-size: .9rem; }
.noticeboard .notice-scroll { flex: 1 1 372px; min-height: 0; }
.noticeboard::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); pointer-events: none; }
.noticeboard > * { position: relative; }
.noticeboard__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.noticeboard__head h3 { color: #fff; font-size: 1.5rem; margin: 0; display: flex; align-items: center; gap: 12px; }
.noticeboard__head h3 i { color: var(--saffron-400); font-size: 1.2rem; }
.notice { display: block; padding: 16px 0; border-bottom: 1px dashed rgba(255, 255, 255, .16); }
.notice:last-child { border-bottom: 0; }
.notice time { color: var(--saffron-400); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.notice p { margin: 4px 0 0; color: #fff; font-weight: 500; }
.notice:hover p { text-decoration: underline; text-decoration-color: var(--saffron-500); text-underline-offset: 4px; }
.tag-new {
  display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; vertical-align: 1px;
  background: var(--terracotta); color: #fff; font-size: .6rem; font-weight: 800; letter-spacing: .08em; animation: pulse 2s infinite;
}
@keyframes pulse { 50% { opacity: .55; } }

.download {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
  transition: border-color .2s, box-shadow .2s;
}
.download:hover { border-color: var(--indigo-600); box-shadow: var(--shadow-sm); }
.download .ic { width: 48px; height: 48px; font-size: 1.15rem; }
.download strong { display: block; color: var(--ink); }
.download small { color: var(--muted); }
.download > i { margin-left: auto; color: var(--indigo-700); }

/* ---------- 17. Gallery ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 16px; }
.mosaic .media { cursor: zoom-in; }
.mosaic .media:hover img { transform: scale(1.06); }
/* 6 photos fill a 4×3 grid exactly: big | small | tall / small / wide | wide */
.mosaic .media:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaic .media:nth-child(3) { grid-row: span 2; }
.mosaic .media:nth-child(5), .mosaic .media:nth-child(6) { grid-column: span 2; }
@media (max-width: 760px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
}

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.chip {
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-weight: 600; font-size: .9rem; color: var(--text); transition: all .2s;
}
.chip:hover { border-color: var(--indigo-700); color: var(--indigo-700); }
.chip.is-active { background: var(--indigo-700); border-color: var(--indigo-700); color: #fff; }
.gallery-grid { columns: 3 280px; column-gap: 18px; }
.gallery-grid .media { break-inside: avoid; margin-bottom: 18px; cursor: zoom-in; }
.gallery-grid .media:hover img { transform: scale(1.05); }
.is-hidden { display: none !important; }

.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center;
  padding: 72px 76px; background: rgba(8, 11, 32, .94);
}
.lightbox.is-open { display: flex; }
.lightbox__stage { width: min(1000px, 100%); }
.lightbox__stage .media { width: 100%; height: min(72vh, 640px); aspect-ratio: auto; border-radius: 16px; }
.lightbox__stage .media img { object-fit: contain; background: #05071a; }
.lightbox__cap { margin: 16px 0 0; text-align: center; color: #fff; font-weight: 600; }
.lightbox__cap span { margin-left: 10px; color: #8d94bd; font-weight: 500; font-size: .9rem; }
.lightbox__btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.1rem; transition: background .2s;
}
.lightbox__btn:hover { background: var(--saffron-500); color: var(--ink); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox { padding: 72px 12px 96px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 22px; transform: none; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
}

.insta {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px;
  margin-top: 32px; padding: 20px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
}
.insta__profile { display: flex; align-items: center; gap: 16px; }
.insta__avatar { flex: none; width: 60px; height: 60px; padding: 3px; border-radius: 50%; background: conic-gradient(from 200deg, #f9ce34, #ee2a7b, #6228d7, #f9ce34); }
.insta__avatar span { width: 100%; height: 100%; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 2px solid #fff; }
.insta__avatar img { width: 40px; height: auto; }

/* Reels / video gallery (9:16 Instagram-style) */
.reels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.reels--3 { grid-template-columns: repeat(3, 1fr); max-width: 920px; margin-inline: auto; }
.reel { aspect-ratio: 9 / 16; border-radius: var(--radius-lg); cursor: pointer; }
.reel video { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.reel video.is-missing { display: none; }
.reel__badge {
  position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px; background: rgba(0, 0, 0, .45); color: #fff; font-size: .72rem; font-weight: 700;
}
.reel__play {
  position: absolute; top: 50%; left: 50%; z-index: 2; width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center; transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, .92); color: var(--terracotta); font-size: 1.2rem;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .5); transition: transform .3s var(--ease);
}
.reel:hover .reel__play { transform: translate(-50%, -50%) scale(1.12); }
.reel .media__ph { justify-content: flex-start; padding-top: 30%; }
.lightbox__stage .media.reel { width: auto; height: min(78vh, 720px); aspect-ratio: 9 / 16; margin-inline: auto; }
.lightbox__stage video { object-fit: contain; background: #05071a; }
.lightbox .reel__play, .lightbox .reel__badge { display: none; }
@media (max-width: 900px) { .reels { grid-template-columns: repeat(2, 1fr); } }
.insta strong { display: block; color: var(--ink); }
.insta small { color: var(--muted); }

/* ---------- 18. Testimonials slider ---------- */
.slider__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 20px;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track > * { scroll-snap-align: start; }
.slider__nav { display: flex; gap: 10px; }
.round-btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); background: #fff; color: var(--ink); transition: all .2s;
}
.round-btn:hover { background: var(--indigo-700); border-color: var(--indigo-700); color: #fff; }
@media (max-width: 1024px) { .slider__track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 640px) { .slider__track { grid-auto-columns: 88%; } }

.testimonial { display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.stars { color: var(--saffron-500); letter-spacing: 3px; font-size: .9rem; }
.testimonial blockquote { flex: 1; margin: 16px 0 26px; font-size: 1.02rem; color: var(--text); }
.person { display: flex; align-items: center; gap: 14px; }
.person strong { display: block; color: var(--ink); }
.person small { color: var(--muted); }
.avatar {
  flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: #fff; background: linear-gradient(145deg, var(--c1), var(--c2));
}

/* ---------- 19. CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 32px;
  padding: clamp(36px, 6vw, 64px); border-radius: var(--radius-lg); color: #fde6de;
  background: linear-gradient(120deg, #d6342f, #8c1c1f);
}
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); }
.cta-band::after {
  content: ""; position: absolute; left: -80px; bottom: -160px; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(248, 189, 74, .4), transparent 65%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 10px; }
.cta-band h2 em { color: var(--saffron-400); }
.cta-band p { margin: 0; max-width: 560px; font-size: 1.05rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
@media (max-width: 860px) { .cta-band { flex-direction: column; align-items: flex-start; } }

/* ---------- 20. Tabs, steps, tables, FAQ, timeline ---------- */
.tabs__list {
  display: inline-flex; flex-wrap: wrap; gap: 6px; margin-bottom: 36px; padding: 6px;
  border-radius: 999px; background: #fff; border: 1px solid var(--line);
}
.tabs__btn { padding: 10px 22px; border: 0; border-radius: 999px; background: transparent; font-weight: 700; font-size: .92rem; color: var(--muted); transition: all .2s; }
.tabs__btn:hover { color: var(--indigo-700); }
.tabs__btn.is-active { background: var(--indigo-700); color: #fff; }
.tabs__panel { display: none; }
.tabs__panel.is-active { display: block; animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
@media (max-width: 560px) { .tabs__list { border-radius: 20px; } }

.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.steps::before {
  content: ""; position: absolute; top: 36px; left: 10%; right: 10%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--saffron-500) 0 8px, transparent 8px 16px);
}
.step { position: relative; padding: 0 6px; text-align: center; }
.step__num {
  position: relative; z-index: 1; width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 2px dashed var(--saffron-500); font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--indigo-700);
  transition: background .3s, color .3s;
}
.step:hover .step__num { background: var(--indigo-700); color: #fff; border-style: solid; }
.step h3 { font-family: var(--font-body); font-size: 1.06rem; font-weight: 700; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: .9rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .steps::before { top: 0; bottom: 0; left: 35px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--saffron-500) 0 8px, transparent 8px 16px); }
  .step { display: grid; grid-template-columns: 72px 1fr; gap: 0 20px; padding: 0; text-align: left; }
  .step__num { grid-row: span 2; margin: 0; }
}

.table-wrap { overflow-x: auto; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table--wide { min-width: 640px; }
@media (max-width: 480px) { .table th, .table td { padding: 12px 14px; } }
.table th { padding: 15px 20px; text-align: left; background: var(--indigo-700); color: #fff; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.table td { padding: 14px 20px; border-top: 1px solid var(--line); }
.table tbody tr:nth-child(even) td { background: var(--cream); }
.table td:first-child { font-weight: 700; color: var(--ink); }

.faq { display: grid; gap: 14px; }
.faq details { padding: 0 24px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--saffron-500); box-shadow: var(--shadow); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "\2b"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .8rem;
  flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); transition: transform .25s, background .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--saffron-500); }
.faq details p { margin: 0; padding-bottom: 22px; color: var(--muted); }

.timeline { position: relative; display: grid; gap: 26px; padding-left: 38px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--saffron-500), var(--terracotta)); }
.timeline__item { position: relative; }
.timeline__item::before {
  content: ""; position: absolute; left: -33px; top: 5px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--saffron-500);
}
.timeline__item time { color: var(--terracotta); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.timeline__item h3 { margin: 4px 0 4px; font-family: var(--font-body); font-size: 1.08rem; font-weight: 700; }
.timeline__item p { margin: 0; color: var(--muted); font-size: .94rem; }
.section--dark .timeline__item::before { background: var(--indigo-800); }
.section--dark .timeline__item time { color: var(--saffron-400); }
.section--dark .timeline__item p { color: #b4bbe0; }

/* ---------- 21. Values (vision / mission) ---------- */
.value { position: relative; overflow: hidden; padding: 38px 34px; border-radius: var(--radius-lg); color: rgba(255, 255, 255, .88); background: linear-gradient(145deg, var(--c1), var(--c2)); }
.value::after { content: ""; position: absolute; inset: 0; background-image: var(--pattern); }
.value > * { position: relative; z-index: 1; }
.value h3 { color: #fff; font-size: 1.7rem; margin: 22px 0 10px; }
.value p { margin: 0; }
.value .ic { background: rgba(255, 255, 255, .16); color: #fff; }

/* ---------- 22. Feature rows (facilities) ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 76px); align-items: center; padding-block: clamp(32px, 4vw, 48px); }
.feature-row + .feature-row { border-top: 1px solid var(--line); }
.feature-row:nth-child(even) > .media { order: 2; }
.feature-row > .media { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); }
.feature-row h3 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); }
.feature-row p { color: var(--muted); }
@media (max-width: 860px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row:nth-child(even) > .media { order: 0; }
}

/* ---------- 23. Forms & contact ---------- */
.form-card { padding: clamp(26px, 4vw, 44px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 1.7rem; margin-bottom: 6px; }
.form-card > p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 700; color: var(--ink); }
.field label span { color: var(--terracotta); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--cream);
  font: inherit; font-size: .95rem; color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo-600); background: #fff; box-shadow: 0 0 0 4px rgba(47, 63, 150, .12); }
.field__error { display: none; color: var(--terracotta); font-size: .8rem; font-weight: 600; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--terracotta); background: #fff; }
.field.has-error .field__error { display: block; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 24px; }
.form-note { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; color: var(--muted); font-size: .84rem; }
.form-note i { color: #25d366; margin-top: 3px; }
.form-success { display: none; align-items: center; gap: 12px; margin-top: 18px; padding: 14px 18px; border-radius: 12px; background: #dcf5e3; color: #17663a; font-weight: 600; }
.is-sent .form-success { display: flex; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.contact-card { display: flex; align-items: flex-start; gap: 18px; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-card h3 { margin: 0 0 4px; font-family: var(--font-body); font-size: 1.02rem; font-weight: 700; }
.contact-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.contact-card a { color: var(--indigo-700); font-weight: 700; }
.map { overflow: hidden; min-height: 380px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--sand); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }
.hours { display: grid; gap: 4px; margin-top: 18px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.hours dt { font-weight: 600; color: var(--ink); }
.hours dd { margin: 0; color: var(--muted); }

/* ---------- 24. Footer & floating actions ---------- */
.footer { position: relative; overflow: hidden; padding-top: clamp(64px, 8vw, 88px); background: var(--indigo-900); color: #a9b0d6; font-size: .95rem; }
.footer::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); opacity: .6; pointer-events: none; }
.footer > * { position: relative; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.35fr; gap: 40px; padding-bottom: 56px; }
.footer .brand { flex-direction: column; align-items: flex-start; gap: 14px; }
.footer .brand__logo { height: 104px; }
.footer .brand__text strong { color: #fff; font-size: 1.35rem; }
.footer .brand__text small { color: #8d94bd; }
.footer__about { margin: 20px 0 22px; }
.footer h4 { position: relative; margin-bottom: 22px; padding-bottom: 12px; font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: #fff; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; border-radius: 2px; background: var(--saffron-500); }
.footer__links li { margin-bottom: 11px; }
.footer__links a { display: inline-flex; align-items: center; gap: 10px; transition: color .2s, transform .2s; }
.footer__links a i { font-size: .6rem; color: var(--saffron-500); }
.footer__links a:hover { color: var(--saffron-400); transform: translateX(3px); }
.footer__contact li { display: flex; gap: 14px; margin-bottom: 16px; }
.footer__contact i { width: 18px; margin-top: 5px; color: var(--saffron-400); }
.footer__contact a:hover { color: #fff; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; transition: background .2s, transform .2s; }
.socials a:hover { background: var(--saffron-500); color: var(--ink); transform: translateY(-3px); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .86rem; }
.footer__bottom a:hover { color: #fff; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

.float-actions { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; gap: 12px; }
.float-btn {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.35rem;
  box-shadow: 0 12px 26px -8px rgba(0, 0, 0, .4); transition: transform .2s;
}
.float-btn:hover { transform: scale(1.08); }
.float-btn--wa { background: #25d366; font-size: 1.6rem; }
.float-btn--call { background: var(--indigo-700); }
.to-top {
  position: fixed; left: 18px; bottom: 18px; z-index: 60; width: 48px; height: 48px; border-radius: 50%; border: 0;
  display: grid; place-items: center; background: var(--saffron-500); color: var(--ink); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- 25. Indian-school components ---------- */
/* Colourful quick-link boxes under the slider */
.quicklinks { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.qlink {
  position: relative; overflow: hidden; isolation: isolate; min-height: 158px; padding: 22px 20px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  border-radius: var(--radius); color: #fff; background: linear-gradient(145deg, var(--c1), var(--c2));
  transition: transform .3s var(--ease), box-shadow .3s;
}
.qlink::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--pattern); }
.qlink > i { position: absolute; top: 20px; left: 20px; font-size: 1.7rem; }
.qlink strong { font-size: 1.04rem; line-height: 1.25; }
.qlink small { font-size: .8rem; opacity: .85; }
.qlink__go {
  position: absolute; top: 18px; right: 18px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .2); font-size: .72rem; transition: transform .3s var(--ease), background .3s;
}
.qlink:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.qlink:hover .qlink__go { transform: rotate(-45deg); background: rgba(255, 255, 255, .35); }
@media (max-width: 1024px) { .quicklinks { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .quicklinks { grid-template-columns: repeat(2, 1fr); } .qlink { min-height: 140px; } }

/* "Welcome" highlights */
.mini-features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; margin: 28px 0 34px; }
.mini-features li { display: flex; align-items: flex-start; gap: 14px; }
.mini-features .ic { width: 48px; height: 48px; border-radius: 14px; font-size: 1.1rem; }
.mini-features strong { display: block; color: var(--ink); line-height: 1.3; }
.mini-features span { font-size: .88rem; color: var(--muted); }
@media (max-width: 480px) { .mini-features { grid-template-columns: 1fr; } }

/* Director / Principal message cards */
.messages { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.message {
  position: relative; display: flex; flex-direction: column; padding: clamp(26px, 4vw, 38px);
  border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.message::after {
  content: "\201D"; position: absolute; right: 26px; top: 6px; font-family: var(--font-display);
  font-size: 7rem; line-height: 1; color: var(--saffron-100);
}
.message__head { position: relative; z-index: 1; display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.message__head .media { flex: none; width: 96px; height: 96px; border-radius: 50%; box-shadow: 0 0 0 5px var(--saffron-100); }
.message__head .media__ph i { font-size: 2rem; }
.message__head strong { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); line-height: 1.2; }
.message__head small { color: var(--terracotta); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.message blockquote { flex: 1; margin: 0 0 22px; padding-left: 20px; border-left: 3px solid var(--saffron-500); color: var(--text); }
@media (max-width: 860px) { .messages { grid-template-columns: 1fr; } }

/* Auto-scrolling notice board */
.notice-scroll {
  height: 372px; overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(transparent, #000 8%, #000 92%, transparent);
}
.notice-scroll__track { animation: scrollUp 32s linear infinite; }
.notice-scroll:hover .notice-scroll__track { animation-play-state: paused; }
@keyframes scrollUp { to { transform: translateY(-50%); } }

/* Thought of the day */
.thought { position: relative; overflow: hidden; padding: 28px 30px; border-radius: var(--radius-lg); background: var(--saffron-100); border: 1px solid #f3dba3; }
.thought::after { content: "\f10e"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: 22px; bottom: 10px; font-size: 4.5rem; color: rgba(196, 70, 43, .08); }
.thought__label { display: flex; align-items: center; gap: 10px; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--terracotta); }
.thought__hi { margin: 12px 0 6px; font-family: var(--font-hindi); font-size: 1.32rem; line-height: 1.55; color: var(--ink); }
.thought__en { margin: 0 0 10px; color: var(--text); font-style: italic; }
.thought cite { font-style: normal; font-weight: 700; color: var(--terracotta); font-size: .92rem; }

/* Admission popup (home page, once per visit) */
.popup { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; background: rgba(8, 11, 32, .72); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.popup.is-open { opacity: 1; visibility: visible; }
.popup__card { position: relative; width: min(460px, 100%); overflow: hidden; border-radius: var(--radius-lg); background: #fff; text-align: center; transform: translateY(24px) scale(.97); transition: transform .4s var(--ease); }
.popup.is-open .popup__card { transform: none; }
.popup__top { position: relative; padding: 38px 28px 30px; color: #cfd4ef; background: linear-gradient(145deg, var(--indigo-600), var(--indigo-900)); }
.popup__top::after { content: ""; position: absolute; inset: 0; background-image: var(--pattern); }
.popup__top > * { position: relative; z-index: 1; }
.popup__logo { width: 92px; height: auto; margin: 0 auto 14px; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .4)); }
.popup__top h3 { margin: 12px 0 6px; color: #fff; font-size: 2.1rem; }
.popup__top h3 em { color: var(--saffron-400); }
.popup__top .hindi { color: var(--saffron-400); font-size: 1.15rem; margin: 0; }
.popup__body { padding: 24px 28px 30px; }
.popup__body ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 22px; }
.popup__body li { padding: 6px 12px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); font-size: .84rem; font-weight: 600; }
.popup__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.popup__close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff; }
.popup__close:hover { background: var(--saffron-500); color: var(--ink); }

/* Disclosure / information tables */
.info-table td:first-child { width: 42%; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--saffron-100); color: #9a5c00; }
.status--ok { background: #dcf5e3; color: #17803d; }
.note-box { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: 14px; background: var(--indigo-100); color: var(--indigo-800); font-size: .93rem; }
.note-box i { margin-top: 4px; }

/* ---------- 26. Scroll reveal & motion preferences ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

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