/* =========================================================
   Vivekodayam Vidyamandir – site styles (mobile-first)
   ========================================================= */
:root {
  --ink: #232222;
  --muted: #686462;
  --bg: #ffffff;
  --tint: #faf6f0;
  --card: #ffffff;
  --primary: #855520;
  --primary-d: #533513;
  --accent: #855520;
  --accent-d: #533513;
  --line: #e8e1d0;
  --ok: #17794a;
  --bad: #b42318;
  --radius: 16px;
  --shadow: 0 14px 34px -16px rgba(32,30,30,.35);
  --shadow-sm: 0 4px 14px -6px rgba(32,30,30,.25);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.65; font-size: 1rem; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open, body.lb-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; color: var(--primary-d); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.container { width: min(1280px, 100% - 2rem); margin-inline: auto; }
.container--narrow { width: min(860px, 100% - 2rem); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.i { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.15em; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: .6rem 1rem; z-index: 200; border-radius: 8px; }
.skip:focus { left: 8px; }
.hide-sm { display: none; }
.hide-md { display: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; text-decoration: none; line-height: 1.1; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-d); }
.btn--accent { background: var(--accent); color: #ffffff; }
.btn--accent:hover { background: var(--accent-d); }
.btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--ghost-dark { border-color: var(--primary); color: var(--primary); }
.btn--block { width: 100%; }
.more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; text-decoration: none; color: var(--primary); }
.more:hover .i { transform: translateX(3px); }
.more .i { transition: transform .15s; }
.more--light { color: #fff; }

/* ---------- Promo bar + topbar ---------- */
.promo { background: var(--accent); color: #ffffff; font-size: .9rem; font-weight: 600; }
.promo__in { display: flex; align-items: center; gap: .6rem; padding: .45rem 0; }
.promo__in p { margin: 0; flex: 1; line-height: 1.3; }
.promo__dot { width: 8px; height: 8px; border-radius: 50%; background: #ffffff; animation: pulse 1.6s infinite; flex: none; }
.promo__btn { color: #ffffff; text-decoration: none; display: inline-flex; gap: .3rem; align-items: center; background: rgba(255,255,255,.55); padding: .25rem .7rem; border-radius: 999px; white-space: nowrap; }
.promo__btn:hover { background: #fff; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(1.5); } }

.topbar { background: var(--primary-d); color: #e8e0dc; font-size: .85rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .4rem 0; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.topbar__right { margin-left: auto; }
.topbar__contact { display: flex; gap: 1.2rem; flex-wrap: wrap; justify-content: flex-end; }
.disclosure { background: var(--accent); color: #ffffff !important; font-weight: 700; padding: .25rem .8rem; border-radius: 999px; line-height: 1.3; font-size: .8rem; }
.disclosure:hover { background: #fff; color: var(--primary-d) !important; }
.disclosure span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.disclosure--nav { margin: .8rem 1rem .4rem; padding: .7rem 1rem; border-radius: 12px; font-size: .9rem; display: flex; text-decoration: none; }
.disclosure--nav span { white-space: normal; }
@media (min-width: 1040px) { .disclosure--nav { display: none; } }
@media (max-width: 639px) {
  .topbar__left { display: none; }          /* shown inside the menu drawer on phones */
  .topbar__in { justify-content: flex-end; padding: .3rem 0; }
  .topbar .social a { width: 26px; height: 26px; }
  .promo__in { flex-wrap: wrap; font-size: .82rem; }
  .brand__logo { width: 40px; height: 40px; }
  .brand__text strong { font-size: .92rem; }
}
.topbar a { color: inherit; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.topbar a:hover { color: #fff; }
.social { display: flex; gap: .35rem; }
.social a { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); }
.social a:hover { background: var(--accent); color: #ffffff; }

/* ---------- Header + nav ---------- */
.header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--primary-d); min-width: 0; }
.brand__logo { width: 46px; height: 46px; object-fit: contain; border-radius: 10px; flex: none; }
.brand__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.brand__text strong { font-family: var(--font-head); font-size: 1.02rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand__text small { color: var(--muted); font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand--light { color: #fff; }
.brand--light .brand__text small { color: #d2cac7; }

.burger { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--primary-d); }
.burger .i { width: 24px; height: 24px; }

.nav-backdrop { position: fixed; inset: 0; background: rgba(16,16,15,.55); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 70; }
.nav {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(88vw, 370px); background: #fff; z-index: 80;
  transform: translateX(100%); transition: transform .28s ease; overflow-y: auto; overscroll-behavior: contain;
  padding-bottom: 2rem; box-shadow: -12px 0 40px rgba(0,0,0,.25);
}
body.nav-open .nav { transform: none; }
body.nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }
.nav__head { display: flex; justify-content: space-between; align-items: center; padding: .9rem 1rem; border-bottom: 1px solid var(--line); font-family: var(--font-head); font-weight: 700; color: var(--primary-d); position: sticky; top: 0; background: #fff; z-index: 1; }
.menu__item { position: relative; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; }
.menu__link { flex: 1; padding: 1rem 1.1rem; text-decoration: none; color: var(--ink); font-weight: 600; }
.menu__link.is-active { color: var(--primary); box-shadow: inset 4px 0 0 var(--accent); background: var(--tint); }
.sub-toggle { width: 52px; height: 52px; background: none; border: 0; border-left: 1px solid var(--line); color: var(--primary); display: grid; place-items: center; }
.sub-toggle .i { transition: transform .2s; }
.has-sub.is-open > .sub-toggle .i { transform: rotate(180deg); }
.sub { display: none; width: 100%; background: var(--tint); padding: .3rem 0; }
.has-sub.is-open > .sub { display: block; }
.sub a { display: block; padding: .7rem 1.6rem; color: var(--ink); text-decoration: none; font-size: .95rem; }
.sub a:hover { background: #fff; color: var(--primary); }

@media (min-width: 1040px) {
  .topbar__left { display: flex; }
  .burger, .nav__head, .nav-backdrop, .sub-toggle { display: none; }
  .nav { position: static; transform: none; width: auto; overflow: visible; box-shadow: none; background: none; padding: 0; }
  .menu { display: flex; align-items: center; gap: .1rem; }
  .menu__item { border: 0; display: block; }
  .menu__link { padding: .6rem .8rem; border-radius: 10px; font-size: .92rem; white-space: nowrap; }
  .menu__link.is-active { background: var(--tint); box-shadow: none; color: var(--primary); }
  .menu__link:hover { background: var(--tint); }
  .has-sub > .menu__link::after { content: ""; display: inline-block; width: 6px; height: 6px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); margin-left: .45rem; opacity: .6; }
  .sub { display: block; position: absolute; left: 0; top: 100%; min-width: 250px; max-height: 70vh; overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: .5rem; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s; z-index: 5; }
  .menu__item:nth-last-child(-n+2) .sub { left: auto; right: 0; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.is-open > .sub { opacity: 1; visibility: visible; transform: none; }
  .sub a { border-radius: 8px; padding: .55rem .8rem; }
  .hide-sm { display: list-item; }
}
@media (min-width: 1240px) { .hide-md { display: list-item; } .menu__link { font-size: .95rem; padding: .6rem .95rem; } }
@media (min-width: 640px) { .hide-sm { display: list-item; } }

/* ---------- Ticker ---------- */
.ticker { background: var(--tint); border-bottom: 1px solid var(--line); font-size: .9rem; }
.ticker__in { display: flex; align-items: center; gap: .8rem; padding: .35rem 0; }
.ticker__label { background: var(--primary); color: #fff; padding: .2rem .7rem; border-radius: 999px; font-weight: 600; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; flex: none; }
.ticker__viewport { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker__track { display: inline-flex; gap: 3rem; white-space: nowrap; animation: scroll 38s linear infinite; padding-left: 100%; }
.ticker__track:hover { animation-play-state: paused; }
.ticker__track a { color: var(--ink); text-decoration: none; }
.ticker__track a::before { content: "●"; color: var(--accent); margin-right: .6rem; font-size: .6em; vertical-align: .2em; }
.ticker__track a:hover { color: var(--primary); text-decoration: underline; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Flash messages ---------- */
.flash-wrap { padding-top: 1rem; }
.flash { padding: .9rem 1.1rem; border-radius: 12px; margin-bottom: .6rem; font-weight: 500; border: 1px solid; }
.flash--success { background: #e8f6ee; border-color: #b9e2c9; color: #11613c; }
.flash--error { background: #fdecea; border-color: #f5c2bd; color: #8c1d14; }

/* ---------- Hero slider ---------- */
.hero { position: relative; background: var(--primary-d); overflow: hidden; }
.hero__track { position: relative; aspect-ratio: 4 / 3; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .55s ease; }
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__caption { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 1.4rem 0 3rem; background: linear-gradient(0deg, rgba(16,16,15,.78) 0%, rgba(16,16,15,.2) 55%, transparent 100%); color: #fff; }
.hero__caption h2 { color: #fff; font-size: clamp(1.4rem, 5vw, 2.8rem); margin-bottom: .3em; max-width: 18ch; text-wrap: balance; }
.hero__caption p { font-size: clamp(.9rem, 2.4vw, 1.15rem); max-width: 52ch; opacity: .95; margin-bottom: .9rem; }
.hero__nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); color: var(--primary-d); display: none; place-items: center; }
.hero__nav:hover { background: #fff; }
.hero__nav--prev { left: 1rem; } .hero__nav--next { right: 1rem; }
.hero__dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: .8rem; display: flex; justify-content: center; gap: .5rem; }
.hero__dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; background: rgba(255,255,255,.55); padding: 0; transition: .25s; }
.hero__dots button.is-active { width: 28px; background: var(--accent); }
.hero__fallback { padding: 4rem 0; color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-d)); }
.hero__fallback h1 { color: #fff; font-size: clamp(1.8rem, 6vw, 3rem); }
@media (min-width: 700px) { .hero__track { aspect-ratio: 16 / 7; } .hero__nav { display: grid; } .hero__caption { padding-bottom: 4rem; } }
@media (min-width: 1200px) { .hero__track { aspect-ratio: 16 / 6.2; } }

/* ---------- Stats ---------- */
.stats { margin-top: -1px; }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; transform: translateY(-1.4rem); }
.stat { background: #fff; border-radius: var(--radius); padding: 1rem; text-align: center; box-shadow: var(--shadow); border-bottom: 4px solid var(--accent); }
.stat strong { display: block; font-family: var(--font-head); font-size: 1.8rem; color: var(--primary); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .85rem; }
@media (min-width: 760px) { .stats__grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }

/* ---------- Sections ---------- */
.section { padding: 3rem 0; }
.section--tint { background: var(--tint); }
.section--dark { background: linear-gradient(160deg, var(--primary), var(--primary-d)); color: #f0e8e4; }
.section__head { margin-bottom: 1.6rem; }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.section__head--row .section__title { margin: 0; }
.section__title { font-size: clamp(1.5rem, 4.4vw, 2.2rem); }
.section__title span { color: var(--accent-d); }
.section__title--sm { font-size: clamp(1.2rem, 3.4vw, 1.5rem); }
.section__title--light { color: #fff; }
.eyebrow { color: var(--accent-d); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; margin-bottom: .4rem; }
.eyebrow--light { color: var(--accent); }
.lead { font-size: 1.08rem; color: var(--muted); }
.ticks { display: grid; gap: .5rem; margin: 1.2rem 0 1.5rem; }
.ticks li { display: flex; gap: .6rem; align-items: center; font-weight: 500; }
.ticks .i { color: #fff; background: var(--ok); border-radius: 50%; padding: 3px; width: 1.4em; height: 1.4em; }
@media (min-width: 900px) { .section { padding: 4.5rem 0; } }

/* Welcome */
.welcome { display: grid; gap: 2rem; align-items: center; }
.welcome__leaders { display: grid; gap: 1rem; }
.leader { display: flex; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow-sm); }
.leader__photo { width: 92px; height: 112px; border-radius: 12px; overflow: hidden; background: var(--tint); flex: none; }
.leader__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.leader h3 { margin-bottom: .3em; font-size: 1.1rem; }
.leader .eyebrow { margin-bottom: .2rem; }
@media (min-width: 900px) { .welcome { grid-template-columns: 1.1fr 1fr; gap: 3.5rem; } .leader__photo { width: 110px; height: 132px; } }

/* Cards */
.cards { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card__media { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #ebe3df, #f3e8c9); overflow: hidden; display: block; }
.card__media--tall { aspect-ratio: 4 / 3; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__media img { transform: scale(1.06); }
.card__ph { display: grid; place-items: center; height: 100%; color: var(--primary); opacity: .35; }
.card__ph .i { width: 3rem; height: 3rem; }
.card__body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .15rem; flex: 1; }
.card__body h3 { font-size: 1.08rem; margin: .1rem 0 .2rem; }
.card__body p { color: var(--muted); font-size: .94rem; margin-bottom: .6rem; }
.card__body .more { margin-top: auto; }
.card__body time { font-size: .82rem; display: inline-flex; gap: .3rem; align-items: center; }
@media (min-width: 560px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cards { grid-template-columns: repeat(4, 1fr); } .cards--3 { grid-template-columns: repeat(3, 1fr); } }

/* Split: news + enquiry */
.split { display: grid; gap: 2rem; }
@media (min-width: 960px) { .split { grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: start; } .split__side { position: sticky; top: calc(var(--header-h) + 1rem); } }
.news-list { display: grid; gap: .7rem; }
.news-list a { display: flex; gap: 1rem; align-items: center; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .8rem 1rem; transition: .15s; }
.news-list a:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); transform: translateX(3px); }
.date-chip { flex: none; width: 58px; text-align: center; background: var(--primary); color: #fff; border-radius: 12px; padding: .4rem 0; line-height: 1.1; }
.date-chip b { display: block; font-family: var(--font-head); font-size: 1.3rem; }
.date-chip span { font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; opacity: .85; }
.news-list__text { display: flex; flex-direction: column; min-width: 0; }
.news-list__text strong { font-weight: 600; line-height: 1.35; }
.news-list__text small { color: var(--muted); }

.panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.4rem; box-shadow: var(--shadow); }
.panel--wide { margin-top: 2.5rem; }
@media (min-width: 640px) { .panel { padding: 1.8rem; } }

/* Albums */
.albums { display: grid; gap: .8rem; grid-template-columns: repeat(2, 1fr); }
.album-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: linear-gradient(135deg, #ebe3df, #f3e8c9); display: block; text-decoration: none; }
.album-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.album-card:hover img { transform: scale(1.07); }
.album-card__label { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .8rem .7rem; color: #fff; font-weight: 600; font-size: .9rem; background: linear-gradient(0deg, rgba(16,16,15,.85), transparent); display: flex; gap: .4rem; align-items: center; line-height: 1.25; }
.album-card__label em { margin-left: auto; font-style: normal; font-size: .75rem; background: rgba(255,255,255,.22); border-radius: 99px; padding: .05rem .5rem; }
@media (min-width: 700px) { .albums { grid-template-columns: repeat(3, 1fr); gap: 1rem; } .albums--page { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .albums { grid-template-columns: repeat(3, 1fr); } .albums--page { grid-template-columns: repeat(4, 1fr); } }

.masonry { columns: 2; column-gap: .7rem; }
.masonry__item { display: block; margin-bottom: .7rem; break-inside: avoid; border-radius: 12px; overflow: hidden; background: var(--tint); }
.masonry__item img { width: 100%; transition: transform .4s; }
.masonry__item:hover img { transform: scale(1.05); }
@media (min-width: 700px) { .masonry { columns: 3; column-gap: 1rem; } .masonry__item { margin-bottom: 1rem; } }
@media (min-width: 1050px) { .masonry { columns: 4; } }

/* Videos */
.video { position: relative; border: 0; padding: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: #000; display: block; width: 100%; text-align: left; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: .3s; }
.video:hover img { opacity: 1; transform: scale(1.04); }
.video__play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: #ffffff; display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(133,85,32,.3); }
.video__play .i { width: 28px; height: 28px; }
.video__title { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem .9rem .7rem; color: #fff; font-weight: 600; font-size: .9rem; background: linear-gradient(0deg, rgba(0,0,0,.8), transparent); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* CTA */
.cta { background: linear-gradient(120deg, var(--primary-d), var(--primary)); color: #fff; padding: 2.6rem 0; }
.cta__in { display: grid; gap: 1.2rem; align-items: center; }
.cta h2 { color: #fff; font-size: clamp(1.4rem, 4vw, 2rem); margin-bottom: .3em; }
.cta p { margin: 0; color: #ddd5d2; max-width: 56ch; }
.cta__actions { display: flex; gap: .7rem; flex-wrap: wrap; }
@media (min-width: 860px) { .cta__in { grid-template-columns: 1fr auto; } }

/* ---------- Page hero ---------- */
.page-hero { background: linear-gradient(135deg, var(--primary), var(--primary-d)); color: #fff; padding: 2.2rem 0 2.4rem; position: relative; isolation: isolate; }
.page-hero--img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgba(32,31,30,.88), rgba(46,45,44,.8)), var(--hero-img) center/cover; }
.page-hero h1 { color: #fff; font-size: clamp(1.7rem, 5vw, 2.6rem); margin-bottom: .2em; text-wrap: balance; }
.page-hero__sub { color: #e4dcd9; max-width: 60ch; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: .85rem; color: #cac3c0; margin-bottom: .8rem; }
.crumbs a { color: #efe7e3; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: #fff; opacity: .9; }

/* ---------- Prose (rich-text content) ---------- */
.prose { font-size: 1.05rem; }
.prose::after { content: ""; display: block; clear: both; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.5em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.1em; }
.prose ul { list-style: disc; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--accent-d); }
.prose img { border-radius: 12px; height: auto; }
.prose figure { margin: 1.4rem 0; }
.prose figure.image { display: table; margin-inline: auto; }
.prose figure.image img { margin-inline: auto; }
.prose figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: .4rem; }
.prose blockquote { margin: 1.5rem 0; padding: .8rem 1.2rem; border-left: 4px solid var(--accent); background: var(--tint); border-radius: 0 12px 12px 0; font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; margin: 1.4rem 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; }
.prose th { background: var(--tint); }
.prose a { font-weight: 500; }
.prose iframe, .prose .video-embed iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; }
.prose__side { margin: 0 0 1.5rem; }
.prose__side img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
@media (min-width: 720px) {
  .prose__side { float: left; width: 42%; margin: .3rem 1.8rem 1rem 0; }
  .prose .image-style-align-left, .prose .image-style-side { float: left; margin: .4rem 1.4rem 1rem 0; max-width: 48%; }
  .prose .image-style-align-right { float: right; margin: .4rem 0 1rem 1.4rem; max-width: 48%; }
}
.detail-img { margin: 0 0 1.5rem; }
.detail-img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.meta { display: flex; gap: .4rem; align-items: center; }

/* ---------- People ---------- */
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem .8rem; text-align: center; transition: .2s; }
.person:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.person__photo { width: 96px; height: 96px; margin: 0 auto .8rem; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, var(--primary), #5b5857); display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; border: 4px solid var(--tint); box-shadow: 0 0 0 2px var(--accent); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.person h3 { font-size: 1rem; margin-bottom: .4rem; }
.chip { display: inline-block; background: var(--tint); color: var(--primary); padding: .18rem .75rem; border-radius: 999px; font-size: .8rem; font-weight: 600; margin: 0 0 .4rem; }
.person--large .person__photo { width: 140px; height: 140px; }
.person__photo--xl { width: 180px; height: 180px; font-size: 2.4rem; }
@media (min-width: 640px) { .people { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .people { grid-template-columns: repeat(4, 1fr); gap: 1.3rem; } .people--large { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .people { grid-template-columns: repeat(5, 1fr); } .people--large { grid-template-columns: repeat(4, 1fr); } }

.message { display: grid; gap: 2rem; }
.message__who { text-align: center; }
.message__who h2 { font-size: 1.3rem; }
@media (min-width: 860px) { .message { grid-template-columns: 260px 1fr; gap: 3rem; align-items: start; } .message__who { position: sticky; top: calc(var(--header-h) + 1rem); } }

/* ---------- Filter + docs ---------- */
.filter { display: flex; align-items: center; gap: .6rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .2rem 1rem; margin: 0 auto 1.5rem; max-width: 520px; box-shadow: var(--shadow-sm); }
.filter input { border: 0; outline: 0; flex: 1; padding: .7rem 0; font: inherit; background: none; min-width: 0; }
.filter .i { color: var(--muted); }
.docs { display: grid; gap: .7rem; }
.doc a { display: flex; align-items: center; gap: .9rem; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .8rem 1rem; transition: .15s; }
.doc a:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.doc__icon { width: 44px; height: 44px; border-radius: 12px; background: #fdebea; color: #c62828; display: grid; place-items: center; flex: none; }
.doc__icon .i { width: 24px; height: 24px; }
.doc__text { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.doc__text strong { font-weight: 600; line-height: 1.3; }
.doc__text small { color: var(--muted); }
.doc__go { color: var(--primary); font-weight: 600; font-size: .88rem; display: inline-flex; gap: .3rem; align-items: center; white-space: nowrap; }
@media (min-width: 800px) { .docs { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Tabs / pager ---------- */
.tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.tab { padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .92rem; }
.tab.is-active, .tab:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.pager { display: flex; justify-content: center; align-items: center; gap: 1.2rem; margin-top: 2rem; }
.pager a { text-decoration: none; font-weight: 600; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1rem; }

/* ---------- Forms ---------- */
.form__grid { display: grid; gap: .9rem; margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .3rem; color: var(--primary-d); }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font: inherit; color: var(--ink); transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
.field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2316305a' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .9rem center; padding-right: 2.4rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(46,45,44,.12); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--bad); }
.err { color: var(--bad); font-size: .82rem; display: block; margin-top: .25rem; }
@media (min-width: 560px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--wide { grid-column: 1 / -1; } }
.split__side .form__grid { grid-template-columns: 1fr; }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 1.6rem; }
.info-cards { display: grid; gap: .8rem; }
.info-card { display: flex; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; }
.info-card h3 { font-size: 1rem; margin-bottom: .15em; }
.info-card p { margin: 0; color: var(--muted); }
.info-card a { color: var(--ink); }
.info-card__icon { width: 46px; height: 46px; border-radius: 14px; background: var(--primary); color: #fff; display: grid; place-items: center; flex: none; }
@media (min-width: 900px) { .contact { grid-template-columns: .9fr 1.1fr; gap: 2.5rem; align-items: start; } }
.map-full iframe { display: block; width: 100%; height: 380px; border: 0; }
.map-mini iframe { width: 100%; height: 170px; border: 0; border-radius: 12px; }
.notfound { padding: 3rem 0; }
.notfound__code { font-family: var(--font-head); font-size: 6rem; font-weight: 800; color: var(--accent); line-height: 1; margin: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--primary-d); color: #d8d1ce; margin-top: 0; }
.footer__grid { display: grid; gap: 2rem; padding: 3rem 0 2rem; }
.footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.footer a { color: #eee6e2; text-decoration: none; }
.footer a:hover { color: var(--accent); text-decoration: underline; }
.footer__about { margin: 1rem 0; font-size: .94rem; }
.footer__links { display: grid; gap: .5rem; }
.footer__contact { display: grid; gap: .8rem; font-size: .94rem; }
.footer__contact li { display: flex; gap: .7rem; }
.footer__contact .i { color: var(--accent); margin-top: .25em; }
.footer .social a { background: rgba(255,255,255,.1); }
.footer__bar { border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.footer__bar-in { padding: 1rem 0 5rem; }
.footer__bar p { margin: 0; }
@media (min-width: 700px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .footer__grid { grid-template-columns: 1.3fr .8fr 1.2fr 1.2fr; gap: 2.5rem; } .footer__bar-in { padding-bottom: 1rem; } }

/* ---------- Floating buttons ---------- */
.fab { position: fixed; right: .9rem; bottom: calc(.9rem + env(safe-area-inset-bottom)); z-index: 50; display: flex; flex-direction: column; gap: .6rem; }
.fab__btn { width: 50px; height: 50px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff; box-shadow: 0 8px 22px -6px rgba(0,0,0,.45); text-decoration: none; }
.fab__btn .i { width: 24px; height: 24px; }
.fab__btn--wa { background: #25d366; }
.fab__btn--call { background: var(--primary); }
.fab__btn--top { background: var(--accent); color: #ffffff; opacity: 0; pointer-events: none; transform: translateY(10px); transition: .25s; }
.fab__btn--top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
@media (min-width: 1040px) { .fab__btn--call { display: none; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(10,10,10,.94); display: grid; grid-template-columns: auto 1fr auto; align-items: center; padding: 1rem; gap: .5rem; }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; text-align: center; min-width: 0; }
.lightbox__figure img { max-height: 82vh; max-width: 100%; margin: 0 auto; border-radius: 10px; object-fit: contain; }
.lightbox__figure figcaption { color: #e8e0dc; padding-top: .7rem; font-size: .92rem; }
.lightbox__close { position: absolute; top: .8rem; right: .8rem; z-index: 2; }
.lightbox__close, .lightbox__nav { width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--accent); color: #ffffff; }
@media (max-width: 640px) { .lightbox { grid-template-columns: 1fr; } .lightbox__nav { position: absolute; bottom: 1rem; } .lightbox__nav--prev { left: 1rem; } .lightbox__nav--next { right: 1rem; } .lightbox__figure img { max-height: 74vh; } }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
img.img-broken { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ticker__track { padding-left: 0; overflow-x: auto; }
}

@media print {
  .promo, .topbar, .header, .ticker, .fab, .footer, .hero__nav { display: none !important; }
}

/* ---------- Mobile polish ---------- */
@media (max-width: 639px) {
  .brand__text strong { white-space: normal; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .brand__text small { display: none; }
  .menu__link, .sub-toggle { min-height: 52px; }
  .btn { min-height: 46px; }
  .fab { bottom: calc(1rem + env(safe-area-inset-bottom)); }
  table { display: block; overflow-x: auto; max-width: 100%; }
  .prose img, .panel img { height: auto; }
}
img { image-rendering: auto; }

/* =========================================================
   Playful refresh (rounded cards, motion) – same colours & fonts
   ========================================================= */
:root { --radius: 24px; --ease: cubic-bezier(.22,.8,.3,1); }

/* Buttons: pill with arrow bubble */
.btn { padding: .85rem 1.5rem; transition: transform .25s var(--ease), box-shadow .25s, background .2s; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 24px -12px rgba(32,30,30,.55); }
.btn:active { transform: translateY(0) scale(.98); }
.btn__arrow { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #ffffff; transition: transform .25s var(--ease); margin-right: -.6rem; }
.btn:hover .btn__arrow { transform: translateX(4px) rotate(-45deg); }

/* Section headings */
.eyebrow.chip { display: inline-block; background: rgba(133,85,32,.16); color: var(--accent-d); padding: .3rem .85rem; border-radius: 999px; letter-spacing: .1em; }
.eyebrow--light.chip { background: rgba(255,255,255,.12); color: var(--accent); }
.section__title { letter-spacing: -.01em; text-wrap: balance; }

/* Hero: rounded frame, slow zoom */
.hero { margin: .6rem .6rem 0; border-radius: 26px; }
.hero__slide img { transform: scale(1.001); }
.hero__slide.is-active img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero__caption h2, .hero__caption p, .hero__caption .btn { opacity: 0; transform: translateY(18px); }
.hero__slide.is-active .hero__caption h2 { animation: rise .45s .05s var(--ease) forwards; }
.hero__slide.is-active .hero__caption p { animation: rise .45s .12s var(--ease) forwards; }
.hero__slide.is-active .hero__caption .btn { animation: rise .45s .2s var(--ease) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (min-width: 1040px) { .hero { margin: 1rem 1.5rem 0; border-radius: 36px; } }

/* Stats: colourful tiles */
.stats__grid { gap: .8rem; }
.stat { border-bottom: 0; border-radius: 24px; padding: 1.2rem 1rem; transition: transform .3s var(--ease); }
.stat:hover { transform: translateY(-6px) rotate(-1deg); }
.stat strong { font-size: clamp(1.9rem, 6vw, 2.8rem); letter-spacing: -.02em; }
.stat--a { background: var(--accent); } .stat--a strong { color: #ffffff; } .stat--a span { color: rgba(255,255,255,.88); }
.stat--b { background: var(--primary); } .stat--b strong { color: #fff; } .stat--b span { color: #d9d2cf; }

/* Decorative blobs */
.section--decor { position: relative; overflow: hidden; }
.section--decor > .container { position: relative; z-index: 1; }
.blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .5; z-index: 0; animation: floaty 9s ease-in-out infinite; }
.blob--1 { width: 220px; height: 220px; background: rgba(133,85,32,.22); top: -60px; right: -50px; }
.blob--2 { width: 150px; height: 150px; background: rgba(46,45,44,.10); bottom: 20px; left: -40px; animation-delay: -4s; }
@keyframes floaty { 50% { transform: translateY(-22px) translateX(10px); } }

/* Leader + panel + news rounding */
.leader { border-radius: 24px; transition: transform .3s var(--ease), box-shadow .3s; }
.leader:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.leader__photo { border-radius: 18px; }
.panel { border-radius: 28px; }
.news-list a { border-radius: 20px; }

/* Cards: bigger radius, colour accents, arrow bubble */
.card { border-radius: 26px; position: relative; transition: transform .35s var(--ease), box-shadow .35s; }
.card:hover { transform: translateY(-8px); box-shadow: 0 24px 40px -22px rgba(32,30,30,.5); }
.card__media { margin: .6rem .6rem 0; border-radius: 20px; }
.card__go { position: absolute; right: 1rem; bottom: 1rem; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #ffffff; display: grid; place-items: center; transform: scale(.85); transition: transform .3s var(--ease); }
.card:hover .card__go { transform: scale(1) rotate(-45deg); }
.cards--snap .card:nth-child(4n+1) { background: #f6efe6; }
.cards--snap .card:nth-child(4n+2) { background: #f3ebe7; }
.cards--snap .card:nth-child(4n+3) { background: #f6efe6; }
.cards--snap .card:nth-child(4n) { background: #f3ebe7; }
.cards--snap .card__body .more { padding-right: 3rem; }
@media (max-width: 559px) {
  .cards--snap { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .9rem; margin-inline: -1rem; padding: .3rem 1rem 1rem; scrollbar-width: none; }
  .cards--snap::-webkit-scrollbar { display: none; }
  .cards--snap .card { flex: 0 0 78%; scroll-snap-align: center; }
}
.album-card, .video { border-radius: 26px; }
.album-card { transition: transform .35s var(--ease); }
.album-card:hover { transform: translateY(-6px) rotate(-.6deg); }
.masonry__item { border-radius: 18px; }

/* Admission steps */
.steps { display: grid; gap: 1rem; counter-reset: s; margin: 1.6rem 0 2rem; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 1.4rem 1.3rem 1.3rem; transition: transform .35s var(--ease), box-shadow .35s, background .3s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: #f6efe6; }
.step b { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--primary); color: #fff; font-family: var(--font-head); font-size: 1.1rem; margin-bottom: .8rem; transition: background .3s, color .3s; }
.step:hover b { background: var(--accent); color: #ffffff; }
.step h3 { font-size: 1.1rem; margin-bottom: .3em; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}

/* CTA rounded band */
.cta { margin: 0 .6rem; border-radius: 30px; }
@media (min-width: 1040px) { .cta { margin: 0 1.5rem; border-radius: 40px; padding: 3.4rem 0; } }

/* Stronger staggered reveal */
.js .reveal { transform: translateY(28px) scale(.98); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { transform: none; }
.cards > .reveal:nth-child(2), .steps > .reveal:nth-child(2), .albums > .reveal:nth-child(2), .stats__grid > .reveal:nth-child(2) { transition-delay: .08s; }
.cards > .reveal:nth-child(3), .steps > .reveal:nth-child(3), .albums > .reveal:nth-child(3), .stats__grid > .reveal:nth-child(3) { transition-delay: .16s; }
.cards > .reveal:nth-child(4), .steps > .reveal:nth-child(4), .albums > .reveal:nth-child(4), .stats__grid > .reveal:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .hero__caption h2, .hero__caption p, .hero__caption .btn { opacity: 1; transform: none; }
  .blob { animation: none; }
}

/* ---------- Alignment + spacing fixes ---------- */
html { overflow-x: clip; }
.steps { list-style: none; padding: 0; }
.section { padding: 3rem 0; }
.section--tint { border-block: 1px solid var(--line); }
.steps-sec { padding-bottom: 1rem; }
.steps { margin: 1.4rem 0 1.6rem; }
.section__head { margin-bottom: 1.4rem; }
.section__head.center { text-align: center; }

.stats { padding: 1.2rem 0 0; }
.stats__grid { transform: none; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; align-items: stretch; }
.stat { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 108px; }
.stat strong { font-size: clamp(1.5rem, 5.2vw, 2.3rem); white-space: nowrap; }
.stat span { margin-top: .15rem; line-height: 1.25; }
@media (max-width: 759px) { .stats__grid > .stat:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 760px) { .stats__grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; } }

.welcome { align-items: center; }
.welcome__text, .welcome__leaders { min-width: 0; }
.leader { align-items: center; }
.section__head--row { align-items: center; }
.split { align-items: start; }
.cta { margin-block: 2.5rem 1rem; }
.cards--snap .card:nth-child(n) { background: #fff; }
@media (max-width: 559px) { .cards--snap { margin-inline: -1rem; scroll-padding-inline: 1rem; } }

/* CTA: spaced card between sections, never touching dark blocks */
.cta { margin: 2.5rem .8rem; }
@media (min-width: 1040px) { .cta { margin: 3rem 1.5rem; } }
.cta__in { padding-inline: .4rem; }
@media (min-width: 860px) { .cta__in { padding-inline: 1rem; } }
.section--dark + .cta { margin-top: 2.5rem; }

/* Prevent the scrolling ticker from widening the page on phones */
.ticker, .ticker__in { max-width: 100%; }
.ticker__viewport { min-width: 0; max-width: 100%; }
.topbar__in, .promo__in, .header__in { min-width: 0; }
.topbar__right { min-width: 0; flex-wrap: wrap; justify-content: flex-end; }

/* CBSE disclosure stays visible on phones: full-width bar above contact row */
@media (max-width: 639px) {
  .topbar__in { flex-direction: column; align-items: stretch; gap: .35rem; }
  .topbar__left { display: flex; }
  .topbar__left .disclosure { flex: 1; justify-content: center; padding: .45rem .8rem; font-size: .82rem; white-space: normal; text-align: center; }
  .topbar__right { justify-content: space-between; width: 100%; }
  .disclosure--nav { display: none; }
}

/* Align hero + CTA edges with the 1rem container gutter */
.hero { margin: .8rem 1rem 0; }
.cta { margin-inline: 1rem; }
@media (min-width: 1040px) { .hero { margin: 1rem max(1.5rem, calc((100% - 1280px) / 2)) 0; } .cta { margin-inline: max(1.5rem, calc((100% - 1280px) / 2)); } }

/* About Us drop-down: two columns, no inner scrolling on desktop */
@media (min-width: 1040px) {
  .sub--wide { min-width: 520px; max-height: none; overflow: visible; display: grid; grid-template-columns: 1fr 1fr; gap: 0 .4rem; }
}

/* Ticker sits below the hero on the home page */
.is-home .ticker { margin: .8rem 1rem 0; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.is-home .ticker__in { padding: .35rem .5rem; }
.is-home .stats { padding-top: .8rem; }
@media (min-width: 1040px) { .is-home .ticker { margin-inline: max(1.5rem, calc((100% - 1280px) / 2)); } }

/* CBSE disclosure: first item of the main menu on desktop */
.menu__item--cbse { display: none; }
@media (min-width: 1040px) {
  .topbar__left { display: none; }
  .topbar__in { justify-content: flex-end; }
  .menu__item--cbse { display: block; margin-right: .5rem; }
  .disclosure--menu { display: inline-flex; align-items: center; gap: .4rem; max-width: 210px; padding: .35rem .9rem; border-radius: 14px; font-size: .74rem; line-height: 1.2; text-decoration: none; }
  .disclosure--menu span { white-space: normal; overflow: visible; }
}
@media (min-width: 1040px) {
  .header__in.container { gap: .6rem; }
  .brand__text strong { overflow: visible; text-overflow: clip; }
  .menu { gap: 0; }
  .menu__link { padding: .6rem .6rem; font-size: .88rem; }
  .disclosure--menu { max-width: 250px; font-size: .72rem; padding: .4rem .8rem; }
}
@media (min-width: 1240px) { .menu__link { padding: .6rem .75rem; font-size: .92rem; } }

@media (min-width: 1040px) and (max-width: 1339px) { .brand__text small { display: none; } .disclosure--menu { max-width: 200px; } }

/* FINAL: CBSE disclosure lives in the top strip (left), not in the menu row */
.menu__item--cbse { display: none !important; }
@media (min-width: 1040px) {
  .topbar__left { display: flex; }
  .topbar__in { justify-content: space-between; }
  .brand__text small { display: block; }
}

/* Page banner picture shown clearly inside the content */
.prose__banner { margin: 0 0 1.6rem; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); background: var(--tint); }
.prose__banner img { width: 100%; height: auto; max-height: 520px; object-fit: cover; }
.page-hero--img::before { background: linear-gradient(135deg, rgba(32,31,30,.9), rgba(46,45,44,.85)), var(--hero-img) center/cover; }

/* =========================================================
   MODERN REFRESH v2 – full-width hero, airy layout
   ========================================================= */
:root { --shadow: 0 30px 60px -30px rgba(32,31,30,.35); --shadow-sm: 0 10px 30px -14px rgba(32,31,30,.25); }
body { background: #fff; }

/* Header: clean glass bar */
.header { background: rgba(255,255,255,.88); border-bottom: 1px solid rgba(32,31,30,.08); box-shadow: 0 6px 24px -18px rgba(32,31,30,.35); }
.menu__link { font-weight: 600; letter-spacing: .01em; }
.menu__link:hover, .menu__link.is-active { background: rgba(133,85,32,.14); color: var(--primary-d); }

/* HERO – edge to edge */
.hero { margin: 0; border-radius: 0; width: 100%; background: var(--primary-d); }
.hero__track { aspect-ratio: 4 / 3.4; max-height: 82vh; }
@media (min-width: 700px)  { .hero__track { aspect-ratio: 16 / 7; } }
@media (min-width: 1100px) { .hero__track { aspect-ratio: 21 / 8; max-height: 78vh; } }
@media (min-width: 1700px) { .hero__track { aspect-ratio: 21 / 7.5; } }
.hero__slide img { object-position: center; }
.hero__caption { padding: 0 0 clamp(2.6rem, 7vw, 5.5rem); background:
  linear-gradient(90deg, rgba(16,16,15,.78) 0%, rgba(16,16,15,.35) 48%, transparent 80%),
  linear-gradient(0deg, rgba(16,16,15,.6), transparent 45%); }
.hero__caption .container { width: min(1280px, 100% - 2rem); }
.hero__caption h2 { font-size: clamp(1.9rem, 5.2vw, 4rem); font-weight: 800; letter-spacing: -.02em; max-width: 16ch; text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.hero__caption p { font-size: clamp(1rem, 2vw, 1.3rem); max-width: 46ch; }
.hero__caption .btn { padding: 1rem 1.7rem; font-size: 1rem; }
.hero__nav { width: 52px; height: 52px; background: rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.4); transition: .2s; }
.hero__nav:hover { background: var(--accent); color: #ffffff; border-color: var(--accent); }
.hero__nav--prev { left: 1.6rem; } .hero__nav--next { right: 1.6rem; }
.hero__dots { bottom: 1.4rem; }
.hero__dots button { background: rgba(255,255,255,.6); }

/* Ticker: slim full-width strip under hero */
.is-home .ticker { margin: 0; border: 0; border-radius: 0; border-bottom: 1px solid var(--line); background: #fff; }
.is-home .ticker__in { padding: .55rem 0; }
@media (min-width: 1040px) { .is-home .ticker { margin: 0; } }

/* Stats: bold, floating */
.stats { padding: 1.8rem 0 .4rem; }
.stat { box-shadow: var(--shadow-sm); }

/* Sections: more air + big headings */
.section { padding: 4rem 0; }
@media (min-width: 900px) { .section { padding: 6rem 0; } }
.section__title { font-size: clamp(1.8rem, 4.6vw, 3rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
.section__head { margin-bottom: 2.2rem; }
.lead { font-size: 1.15rem; line-height: 1.75; }
.eyebrow.chip { font-size: .72rem; padding: .35rem 1rem; }

/* Alternate soft tint for rhythm (very light, still white-based) */
.section--tint { background: linear-gradient(180deg, #fff, #fbfcfe 60%, #fff); border-block: 0; }
.steps-sec { background: linear-gradient(180deg, #fff 0%, #fff6f2 100%); }

/* Cards: bigger imagery, soft shadow */
.card { border: 0; box-shadow: 0 1px 0 rgba(32,31,30,.05), 0 18px 40px -26px rgba(32,31,30,.45); background: #fff; }
.card__media { aspect-ratio: 4 / 3; margin: .7rem .7rem 0; }
.card__body { padding: 1.1rem 1.3rem 1.5rem; }
.card__body h3 { font-size: 1.2rem; }
.step, .leader, .news-list a, .panel { border: 0; box-shadow: 0 1px 0 rgba(32,31,30,.05), 0 18px 40px -28px rgba(32,31,30,.45); }
.step { padding: 1.7rem 1.5rem; }
.news-list a:hover { transform: translateX(6px); }

/* Welcome */
.welcome__text h2 { margin-bottom: .6em; }
.leader__photo { width: 120px; height: 144px; }

/* Page headers (inner pages) */
.page-hero { padding: 3.2rem 0 3.4rem; }
.page-hero h1 { font-weight: 800; letter-spacing: -.02em; }
.prose__banner { box-shadow: var(--shadow); }

/* Footer */
.footer { background: linear-gradient(180deg, #232221, #191818); }

/* CTA: full-bleed navy band with a gold glow */
.cta { margin: 0; border-radius: 0; padding: 4rem 0; position: relative; overflow: hidden; background: linear-gradient(120deg, #1c1b1a, #2e2d2c); }
.cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(133,85,32,.35), transparent 70%); }
.cta__in { position: relative; z-index: 1; padding-inline: 0; }
.cta h2 { font-size: clamp(1.8rem, 4.4vw, 2.8rem); font-weight: 800; }
@media (min-width: 1040px) { .cta { margin: 0; } }
.section--dark + .cta { margin-top: 0; }

/* Long drop-down (FOR CBSE): 3 columns on desktop, scroll on phones */
@media (min-width: 1040px) {
  .sub--xl { min-width: 860px; max-height: none; overflow: visible; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 .4rem; }
  .sub--xl a { font-size: .86rem; line-height: 1.3; }
}
@media (min-width: 1040px) {
  .menu__item:has(> .sub--xl) { position: static; }
  .sub--xl { left: max(1rem, calc((100% - 1000px) / 2)) !important; right: auto !important; width: min(1000px, 100% - 2rem); min-width: 0; top: 100%; }
}

/* Photo sections inside content pages start below any floated picture */
.prose h2 { clear: both; margin-top: 2rem; }
.prose .masonry { clear: both; margin-bottom: 1.5rem; }

/* Plain single-column drop-downs (scroll when long) */
@media (min-width: 1040px) { .sub { min-width: 300px; max-width: 380px; max-height: 70vh; overflow-y: auto; } }

/* Terracotta accent: lighter shade for text on navy */
.eyebrow--light, .eyebrow--light.chip, .ticker__track a::before { color: #DC9336; }
.promo { background: #855520; color: #fff; }
.promo__btn { color: #fff; background: rgba(255,255,255,.18); }
.promo__btn:hover { background: #fff; color: #855520; }
.disclosure { color: #fff !important; }
.disclosure:hover { background: #fff; color: #855520 !important; }
.social a:hover { background: #855520; color: #fff; }
.hero__dots button.is-active { background: #fff; }

/* Dark-blue palette: alternate stat tiles stay clearly distinct */
.stat--b { background: #533513; }
.promo { background: #855520; }

/* People photos: square with softly rounded corners (not circles) */
.person { padding: .8rem .8rem 1.2rem; }
.person__photo, .person--large .person__photo { width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 16px; border: 0; box-shadow: none; margin: 0 0 .9rem; }
.person__photo--xl { width: min(100%, 260px); height: auto; aspect-ratio: 1 / 1; border-radius: 20px; margin-inline: auto; }
.person__photo img { object-position: center top; }

/* Palette lock: terracotta #855520 + white + dark */
.promo { background: #855520; }
.stat--b { background: #533513; }


/* Nalanda-inspired palette: crimson #855520, deep navy #533513, white */
.page-hero { background: linear-gradient(135deg, #855520, #533513); }
.page-hero--img::before { background: linear-gradient(135deg, rgba(83,53,19,.86), rgba(133,85,32,.78)), var(--hero-img) center/cover; }
.section--dark { background: linear-gradient(160deg, #533513, #33200C); }
.cta { background: linear-gradient(120deg, #33200C, #533513); }
.footer { background: linear-gradient(180deg, #533513, #33200C); }
.hero__fallback { background: linear-gradient(135deg, #855520, #533513); }
.topbar { background: #533513; }
.ticker__label { background: #855520; }
.is-home .ticker__track a { color: #232222; }
.stat--b { background: #533513; }
.promo { background: #855520; }
.menu__link:hover, .menu__link.is-active { background: rgba(133,85,32,.09); color: #855520; }
h1, h2, h3, h4 { color: #533513; }
.page-hero h1, .cta h2, .section--dark h2, .footer h3, .hero__caption h2 { color: #fff; }


/* ===== Palette from reference: maroon #855520, peach #DC9336, light grey #F0F2F2, white ===== */
:root { --peach: #DC9336; --peach-d: #C98028; --maroon: #855520; --maroon-d: #533513; --accent: #855520; --accent-d: #533513; --primary: #855520; --primary-d: #533513; --bg: #ffffff; --tint: #faf6f0; --line: #ece4d8; }
body { background: #F0F2F2; }
.section, .steps-sec { background: transparent; }
.section--tint { background: #e8ebeb; border: 0; }
.steps-sec { background: transparent; }
.card, .step, .leader, .news-list a, .panel, .person { background: #fff; }

/* top bars */
.promo { background: #DC9336; color: #533513; }
.promo__dot { background: #855520; }
.promo__btn { background: #855520; color: #fff; }
.promo__btn:hover { background: #533513; color: #fff; }
.topbar { background: #855520; color: #f3e8d8; }
.disclosure { background: #DC9336; color: #533513 !important; }
.disclosure:hover { background: #fff; color: #855520 !important; }

/* header + peach menu bar */
.header { background: #DC9336; border-bottom: 0; box-shadow: 0 6px 18px -14px rgba(83,53,19,.6); }
.brand, .brand__text strong { color: #533513; }
.brand__text small { color: #7a5a2f; }
.menu__link { color: #533513; }
.menu__link:hover, .menu__link.is-active { background: #855520; color: #fff; box-shadow: none; }
.has-sub > .menu__link::after { opacity: .8; }
.burger { background: #fff; color: #855520; border-color: transparent; }
.sub { background: #fff; }
.sub a { color: #3a2a14; } .sub a:hover { background: #f6efe6; color: #855520; }
@media (max-width: 1039px) { .nav { background: #fff; } .menu__link { color: #3a2a14; } .menu__link.is-active { background: #f6efe6; color: #855520; box-shadow: inset 4px 0 0 #DC9336; } }

/* ticker */
.ticker { background: #fff; }
.ticker__label { background: #855520; }

/* hero controls */
.hero__nav:hover { background: #DC9336; color: #533513; border-color: #DC9336; }
.hero__dots button.is-active { background: #DC9336; }

/* accents that were filled with the old colour: peach with maroon text */
.btn--accent, .btn__arrow, .card__go { background: #DC9336; color: #533513; }
.btn--accent:hover { background: #C98028; }
.btn--primary { background: #855520; color: #fff; }
.btn--primary:hover { background: #533513; }
.stat--a { background: #DC9336; } .stat--a strong { color: #533513; } .stat--a span { color: #7a5a2f; }
.stat--b { background: #855520; }
.step:hover { background: #fbf1e2; }
.step:hover b { background: #DC9336; color: #533513; }
.eyebrow.chip { background: #DC9336; color: #533513; }
.eyebrow--light.chip { background: rgba(220,147,54,.2); color: #DC9336; }
.chip { background: #f6efe6; color: #855520; }
.social a:hover { background: #DC9336; color: #533513; }
.blob--1 { background: rgba(220,147,54,.4); } .blob--2 { background: rgba(133,85,32,.08); }
.ticker__track a::before { color: #855520; }

/* headings + dark areas in maroon */
h1, h2, h3, h4 { color: #533513; }
.page-hero { background: linear-gradient(135deg, #855520, #533513); }
.page-hero--img::before { background: linear-gradient(135deg, rgba(83,53,19,.88), rgba(133,85,32,.8)), var(--hero-img) center/cover; }
.page-hero h1, .cta h2, .section--dark h2, .footer h3, .hero__caption h2 { color: #fff; }
.section--dark { background: linear-gradient(160deg, #855520, #33200C); }
.cta { background: linear-gradient(120deg, #33200C, #855520); }
.cta::after { background: radial-gradient(circle, rgba(220,147,54,.3), transparent 70%); }
.footer { background: linear-gradient(180deg, #533513, #33200C); }
.footer a:hover { color: #DC9336; }
.fab__btn--top { background: #DC9336; color: #533513; }
.fab__btn--call { background: #855520; }


/* ===== Palette from reference 2: brown #855520, orange #DC9336, dark brown #533513, white ===== */
:root { --bg: #ffffff; --tint: #faf6f0; --line: #ece4d8; --ink: #2b2112; --muted: #6b5d4a; }
body { background: #ffffff; color: #2b2112; }
.section--tint { background: #faf6f0; }

/* brown menu bar header */
.header { background: #855520; box-shadow: 0 8px 20px -14px rgba(51,32,12,.7); }
.brand, .brand__text strong { color: #fff; }
.brand__text small { color: #f0dcc0; }
.menu__link { color: #fff; }
.menu__link:hover, .menu__link.is-active { background: #DC9336; color: #2a1706; }
.burger { background: #DC9336; color: #2a1706; }
.sub { background: #fff; border-color: #ece4d8; }
.sub a { color: #3a2a14; } .sub a:hover { background: #faf6f0; color: #855520; }
@media (max-width: 1039px) { .nav { background: #fff; } .menu__link { color: #3a2a14; } .menu__link:hover, .menu__link.is-active { background: #faf6f0; color: #855520; box-shadow: inset 4px 0 0 #DC9336; } .nav__head { color: #533513; } }

/* top strips */
.topbar { background: #533513; color: #f3e8d8; }
.promo { background: #DC9336; color: #2a1706; }
.promo__dot { background: #533513; }
.promo__btn { background: #533513; color: #fff; }
.disclosure { background: #DC9336; color: #2a1706 !important; }
.disclosure:hover { background: #fff; color: #533513 !important; }

/* orange fills use dark text; brown fills use white */
.btn--accent, .btn__arrow, .card__go, .eyebrow.chip, .stat--a, .fab__btn--top { background: #DC9336; color: #2a1706; }
.stat--a strong { color: #2a1706; } .stat--a span { color: #4a3210; }
.stat--b, .btn--primary, .ticker__label, .fab__btn--call { background: #855520; color: #fff; }
.btn--primary:hover { background: #533513; }
.chip { background: #faf6f0; color: #855520; }
.step:hover { background: #fbf1e2; }
.step:hover b { background: #DC9336; color: #2a1706; }
.hero__nav:hover, .social a:hover { background: #DC9336; color: #2a1706; border-color: #DC9336; }
.hero__dots button.is-active { background: #DC9336; }
.blob--1 { background: rgba(220,147,54,.25); } .blob--2 { background: rgba(133,85,32,.08); }
.ticker__track a::before { color: #DC9336; }
.eyebrow--light.chip { background: rgba(220,147,54,.2); color: #DC9336; }
.footer a:hover { color: #DC9336; }

/* headings, hero bands, footer */
h1, h2, h3, h4 { color: #533513; }
.section__title span, .welcome__text h2 span { color: #855520; }
.page-hero { background: linear-gradient(135deg, #855520, #533513); }
.page-hero--img::before { background: linear-gradient(135deg, rgba(83,53,19,.88), rgba(133,85,32,.8)), var(--hero-img) center/cover; }
.page-hero h1, .cta h2, .section--dark h2, .footer h3, .hero__caption h2 { color: #fff; }
.section--dark { background: linear-gradient(160deg, #855520, #33200C); }
.cta { background: linear-gradient(120deg, #33200C, #855520); }
.cta::after { background: radial-gradient(circle, rgba(220,147,54,.35), transparent 70%); }
.footer { background: linear-gradient(180deg, #533513, #33200C); }
a { color: #855520; }


/* ===== BLUE + WHITE theme (final): navy #16305a / #0e2142, blue #234B8F, white header + menu ===== */
:root { --bg:#ffffff; --tint:#f6f8fc; --line:#e3e8f1; --ink:#1c2333; --muted:#5d667a; --primary:#16305a; --primary-d:#0e2142; --accent:#234B8F; --accent-d:#173A75; --shadow: 0 30px 60px -30px rgba(14,33,66,.35); --shadow-sm: 0 10px 30px -14px rgba(14,33,66,.25); }
body { background:#fff; color:#1c2333; }
a { color:#16305a; }
h1,h2,h3,h4 { color:#0e2142; }
.section--tint { background:#f6f8fc; }
.steps-sec { background: linear-gradient(180deg,#fff,#f6f8fc); }

/* white header + menu */
.header { background: rgba(255,255,255,.96); border-bottom:1px solid #e3e8f1; box-shadow:0 6px 24px -18px rgba(14,33,66,.35); }
.brand, .brand__text strong { color:#0e2142; }
.brand__text small { color:#5d667a; }
.menu__link { color:#16305a; }
.menu__link:hover, .menu__link.is-active { background:#e8eef8; color:#0e2142; box-shadow:none; }
.burger { background:#fff; color:#16305a; border:1px solid #e3e8f1; }
.sub { background:#fff; border-color:#e3e8f1; }
.sub a { color:#1c2333; } .sub a:hover { background:#f6f8fc; color:#234B8F; }
@media (max-width:1039px){ .nav{background:#fff;} .menu__link{color:#1c2333;} .menu__link:hover,.menu__link.is-active{background:#f6f8fc;color:#16305a;box-shadow:inset 4px 0 0 #234B8F;} .nav__head{color:#0e2142;} }

/* top strips */
.topbar { background:#0e2142; color:#dbe4f5; }
.promo { background:#234B8F; color:#fff; }
.promo__dot { background:#fff; }
.promo__btn { background:rgba(255,255,255,.18); color:#fff; }
.promo__btn:hover { background:#fff; color:#234B8F; }
.disclosure { background:#234B8F; color:#fff !important; }
.disclosure:hover { background:#fff; color:#0e2142 !important; }

/* fills */
.btn--accent, .btn__arrow, .card__go, .eyebrow.chip, .stat--a, .fab__btn--top { background:#234B8F; color:#fff; }
.eyebrow.chip { background:#e8eef8; color:#234B8F; }
.stat--a strong { color:#fff; } .stat--a span { color:#dbe4f5; }
.stat--b { background:#0e2142; color:#fff; } .stat--b strong { color:#fff; } .stat--b span { color:#c9d6ef; }
.btn--primary, .ticker__label, .fab__btn--call { background:#16305a; color:#fff; }
.btn--primary:hover { background:#0e2142; }
.btn--accent:hover { background:#173A75; }
.chip { background:#f6f8fc; color:#234B8F; }
.step:hover { background:#eef3fb; }
.step b { background:#16305a; color:#fff; }
.step:hover b { background:#234B8F; color:#fff; }
.hero__nav:hover, .social a:hover { background:#234B8F; color:#fff; border-color:#234B8F; }
.hero__dots button.is-active { background:#fff; }
.blob--1 { background:rgba(35,75,143,.14); } .blob--2 { background:rgba(22,48,90,.08); }
.ticker__track a::before { color:#234B8F; }
.eyebrow--light.chip { background:rgba(255,255,255,.12); color:#9CC3F8; }
.footer a:hover { color:#9CC3F8; }
.section__title span, .welcome__text h2 span { color:#234B8F; }

/* bands */
.page-hero { background:linear-gradient(135deg,#16305a,#0e2142); }
.page-hero--img::before { background:linear-gradient(135deg,rgba(14,33,66,.9),rgba(22,48,90,.85)), var(--hero-img) center/cover; }
.page-hero h1, .cta h2, .section--dark h2, .footer h3, .hero__caption h2 { color:#fff; }
.section--dark { background:linear-gradient(160deg,#16305a,#0e2142); }
.cta { background:linear-gradient(120deg,#0c1c3d,#16305a); }
.cta::after { background:radial-gradient(circle, rgba(156,195,248,.3), transparent 70%); }
.footer { background:linear-gradient(180deg,#0f2447,#0a1a38); }

/* ===== LIGHT theme: mostly white, dark text, soft blue accents ===== */
:root { --ink:#1b2333; --muted:#566074; }

/* top strips: light */
.promo { background:#eef3fb; color:#0e2142; border-bottom:1px solid #dfe7f4; }
.promo__dot { background:#234B8F; }
.promo__btn { background:#234B8F; color:#fff; }
.promo__btn:hover { background:#16305a; color:#fff; }
.topbar { background:#fff; color:#1b2333; border-bottom:1px solid #e3e8f1; }
.topbar a:hover { color:#234B8F; }
.topbar .social a, .social a { background:#eef3fb; color:#16305a; }
.topbar .social a:hover, .social a:hover { background:#234B8F; color:#fff; }
.disclosure { background:#eaf1fb; color:#16305a !important; border:1px solid #cfdcf1; }
.disclosure:hover { background:#234B8F; color:#fff !important; border-color:#234B8F; }

/* stats: white cards, blue numbers */
.stat--a, .stat--b { background:#fff; border:1px solid #e3e8f1; border-top:3px solid #234B8F; box-shadow:0 18px 40px -28px rgba(14,33,66,.35); }
.stat--b { border-top-color:#16305a; }
.stat--a strong, .stat--b strong { color:#16305a; }
.stat--a span, .stat--b span { color:#566074; }

/* inner page headers: light */
.page-hero { background:linear-gradient(135deg,#f6f9fe,#e9f0fb); color:#1b2333; border-bottom:1px solid #e3e8f1; }
.page-hero--img::before { background:linear-gradient(135deg,rgba(255,255,255,.92),rgba(238,243,251,.88)), var(--hero-img) center/cover; }
.page-hero h1 { color:#0e2142; }
.page-hero__sub { color:#3d4a63; }
.crumbs, .crumbs [aria-current] { color:#566074; opacity:1; }
.crumbs a { color:#234B8F; }

/* video band + CTA: light */
.section--dark { background:#f6f8fc; color:#1b2333; }
.section--dark h2, .section__title--light { color:#0e2142; }
.eyebrow--light, .eyebrow--light.chip { background:#e8eef8; color:#234B8F; }
.more--light { color:#16305a; }
.cta { background:#f3f7fd; border-block:1px solid #e3e8f1; }
.cta::after { background:radial-gradient(circle, rgba(35,75,143,.10), transparent 70%); }
.cta h2 { color:#0e2142; }
.cta p { color:#3d4a63; }
.cta .btn--ghost { border-color:#16305a; color:#16305a; }
.cta .btn--ghost:hover { background:#16305a; color:#fff; }
.cta .btn--accent { background:#16305a; color:#fff; }

/* footer: light */
.footer { background:#f6f8fc; color:#3d4a63; border-top:1px solid #e3e8f1; }
.footer h3 { color:#0e2142; }
.footer a { color:#1b2333; }
.footer a:hover { color:#234B8F; }
.footer__contact .i { color:#234B8F; }
.footer .brand, .brand--light, .footer .brand__text strong { color:#0e2142; }
.brand--light .brand__text small, .footer .brand__text small { color:#566074; }
.footer .social a { background:#e8eef8; color:#16305a; }
.footer .social a:hover { background:#234B8F; color:#fff; }
.footer__bar { border-top:1px solid #e3e8f1; color:#566074; }

/* ticker + misc */
.ticker__label { background:#eaf1fb; color:#16305a; }
.is-home .ticker__track a { color:#1b2333; }
.stat--a, .stat--b { border: 1px solid #e3e8f1; }

/* ---------- Wide logo in a taller header ---------- */
:root { --header-h: 92px; }
.brand--logo { flex: 0 1 auto; }
.brand__logo--wide { height: 76px; width: auto; max-width: min(420px, 62vw); border-radius: 0; object-fit: contain; }
.header__in { min-height: var(--header-h); }
@media (max-width: 1039px) { .brand__logo--wide { height: 56px; max-width: 70vw; } :root { --header-h: 72px; } }
@media (min-width: 1040px) { .menu__link { font-size: .95rem; padding: .75rem .9rem; } }
.footer .brand__logo--wide { height: auto; width: min(100%, 360px); }
@media (min-width: 1040px) { :root { --header-h: 110px; } .brand__logo--wide { height: 94px; max-width: 420px; } }
@media (max-width: 1039px) { .brand__logo--wide { height: 62px; } :root { --header-h: 78px; } }

/* ---------- Second logo (right of the menu) ---------- */
.container { width: min(1360px, 100% - 2rem); }
.brand--logo2 { display: none; }
.nav__logo2 { display: block; padding: 1.2rem 1rem 0; }
.nav__logo2 img { height: 56px; width: auto; }
@media (min-width: 1040px) {
  .brand--logo2 { display: flex; flex: 0 0 auto; margin-left: .4rem; }
  .nav__logo2 { display: none; }
  .nav { flex: 1 1 auto; display: flex; justify-content: center; }
  .menu__link { padding: .75rem .55rem; font-size: .9rem; }
  .header__in { gap: .6rem; }
}
@media (min-width: 1240px) { .menu__link { padding: .75rem .7rem; font-size: .93rem; } }

/* logos are now transparent PNGs, trimmed tight; same height for both */
.brand__logo--wide { mix-blend-mode: normal; }
@media (min-width: 1040px) {
  :root { --header-h: 100px; }
  .brand--logo, .brand--logo2 { flex: 0 0 auto; }
  .brand__logo--wide { height: 72px; max-width: none; width: auto; }
  .nav { flex: 1 1 0; min-width: 0; }
  .menu__link { padding: .7rem .5rem; font-size: .9rem; }
}
@media (min-width: 1300px) { .menu__link { padding: .7rem .65rem; font-size: .93rem; } }
@media (min-width: 1040px) and (max-width: 1299px) {
  :root { --header-h: 84px; }
  .brand__logo--wide { height: 52px; }
  .menu__link { padding: .55rem .38rem; font-size: .84rem; }
  .brand--logo2 { margin-left: 0; }
}

/* ===== Mobile: working slide-out menu + tighter layout ===== */
/* backdrop-filter on the header traps position:fixed children (the drawer) – remove it */
.header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
@media (max-width: 1039px) {
  .nav { position: fixed; top: 0; right: 0; bottom: 0; height: 100vh; height: 100dvh; width: min(88vw, 380px); z-index: 120; background: #fff; padding-bottom: 2.5rem; }
  .nav-backdrop { z-index: 110; }
  .nav__head { padding: .8rem 1rem; }
  .nav__logo2 { order: 99; padding: 1.4rem 1.2rem 0; border-top: 1px solid var(--line); margin-top: 1rem; }
  .nav__logo2 img { height: auto; width: min(100%, 280px); max-width: 100%; }
  .disclosure--nav { display: flex; }
  .menu__link { font-size: 1rem; padding: .95rem 1.1rem; }
  .sub a { padding: .8rem 1.6rem; }
  body.nav-open .fab { display: none; }
  .header__in { min-height: 70px; padding-block: .35rem; }
  .brand__logo--wide { height: 50px; max-width: 64vw; }
}
@media (max-width: 639px) {
  .promo__in { padding: .35rem 0; gap: .5rem; }
  .promo__in p { font-size: .78rem; }
  .promo__btn { padding: .2rem .6rem; font-size: .78rem; }
  .topbar__in { padding: .35rem 0; }
  .topbar__left .disclosure { padding: .35rem .7rem; font-size: .78rem; }
  .section { padding: 2.6rem 0; }
  .section__title { font-size: clamp(1.5rem, 7vw, 2rem); }
  .hero__track { aspect-ratio: 4 / 3.2; }
  .hero__caption h2 { font-size: 1.7rem; }
  .stat { min-height: 92px; padding: .9rem .6rem; }
  .stat strong { font-size: 1.5rem; }
  .welcome { gap: 1.4rem; }
  .leader { padding: .8rem; }
  .leader__photo { width: 88px; height: 106px; }
  .cta { padding: 2.6rem 0; }
  .footer__grid { padding: 2.4rem 0 1.4rem; gap: 1.6rem; }
  .page-hero { padding: 2rem 0 2.2rem; }
  .people { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .person { padding: .6rem .6rem 1rem; }
  .prose__side { float: none; max-width: 100%; margin: 0 0 1rem; }
}
@media (max-width: 1039px) { .brand__logo--wide { height: 54px; } }

/* =========================================================
   Content-rich home sections
   ========================================================= */
.lead--center { max-width: 62ch; margin-inline: auto; }

/* quick links */
.quick { position: relative; z-index: 2; padding: 1.6rem 0 0; }
.quick__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.quick__item { display: flex; flex-direction: column; gap: .15rem; background: #fff; border: 1px solid #e3e8f1; border-radius: 20px; padding: 1rem 1.1rem; text-decoration: none; color: var(--ink); box-shadow: 0 18px 40px -30px rgba(14,33,66,.45); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.quick__item:hover { transform: translateY(-5px); border-color: #234B8F; box-shadow: 0 24px 44px -26px rgba(14,33,66,.55); }
.quick__ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: #e8eef8; color: #234B8F; margin-bottom: .4rem; transition: .3s; }
.quick__item:hover .quick__ico { background: #234B8F; color: #fff; }
.quick__ico .i { width: 1.25rem; height: 1.25rem; }
.quick__item strong { font-family: var(--font-head); color: #0e2142; font-size: 1rem; }
.quick__item small { color: var(--muted); font-size: .8rem; }
@media (min-width: 760px) { .quick__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .quick__grid { grid-template-columns: repeat(6, 1fr); } }

/* why-us feature cards */
.feature-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: .5rem; }
.feature { position: relative; background: #fff; border: 1px solid #e3e8f1; border-radius: 24px; padding: 1.6rem 1.4rem 1.5rem; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.feature:hover { transform: translateY(-6px); border-color: #234B8F; box-shadow: var(--shadow); }
.feature__num { position: absolute; right: 1rem; top: .6rem; font-family: var(--font-head); font-weight: 800; font-size: 3rem; line-height: 1; color: #e8eef8; transition: color .3s; }
.feature:hover .feature__num { color: #cdd9ee; }
.feature h3 { font-size: 1.15rem; margin: 0 0 .4em; position: relative; }
.feature p { color: var(--muted); margin: 0; position: relative; font-size: .96rem; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

/* featured video layout */
.video-feature { display: grid; gap: 1rem; }
.video--big { grid-column: 1 / -1; }
@media (min-width: 860px) {
  .video-feature { grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr; }
  .video--big { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: auto; min-height: 100%; }
  .video-feature .video:not(.video--big) { aspect-ratio: 16 / 9; }
}

/* horizontal scrollers */
.scroller { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .4rem .2rem 1.2rem; margin-inline: -.2rem; scrollbar-width: thin; }
.scroller > * { scroll-snap-align: start; flex: 0 0 auto; }
.teacher { width: 180px; text-align: center; background: #fff; border: 1px solid #e3e8f1; border-radius: 22px; padding: .7rem .7rem 1rem; transition: transform .3s var(--ease), box-shadow .3s; }
.teacher:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.teacher__photo { aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; background: #f6f8fc; margin-bottom: .7rem; }
.teacher__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.teacher h3 { font-size: .98rem; margin: 0 0 .1em; }
.teacher p { margin: 0; color: var(--muted); font-size: .85rem; }
@media (min-width: 900px) { .teacher { width: 210px; } }

/* photo marquee */
.life { overflow: hidden; }
.marquee { overflow: hidden; margin: .6rem 0 2rem; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; gap: 1rem; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track a { display: block; flex: none; }
.marquee__track img { height: 200px; width: auto; max-width: none; border-radius: 20px; object-fit: cover; box-shadow: 0 14px 30px -20px rgba(14,33,66,.6); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (min-width: 900px) { .marquee__track img { height: 260px; } }

/* downloads */
.docs-home { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.doc-tile { display: flex; flex-direction: column; gap: .2rem; background: #fff; border: 1px solid #e3e8f1; border-radius: 22px; padding: 1.2rem; text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.doc-tile:hover { transform: translateY(-5px); border-color: #234B8F; box-shadow: var(--shadow); }
.doc-tile__ico { width: 46px; height: 46px; border-radius: 14px; background: #e8eef8; color: #234B8F; display: grid; place-items: center; margin-bottom: .5rem; }
.doc-tile strong { font-family: var(--font-head); color: #0e2142; line-height: 1.3; }
.doc-tile small { color: #234B8F; font-weight: 600; }
@media (min-width: 600px) { .docs-home { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .docs-home { grid-template-columns: repeat(4, 1fr); } }

@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; overflow-x: auto; } }
.footer .brand--light, .footer .brand { display: block; }
.footer .brand__logo--wide { height: auto; width: min(100%, 340px); max-width: 100%; }
.footer .brand__text { display: none; }

/* ---------- Latest news in ONE row + admission form in ONE row ---------- */
.section--news { padding-bottom: 3rem; }
.news-row { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .3rem .2rem 1.2rem; margin: 0 -.2rem 1.4rem; scrollbar-width: thin; list-style: none; }
.news-row li { flex: 0 0 min(82%, 300px); scroll-snap-align: start; display: flex; }
.news-row a { display: flex; flex-direction: column; gap: .5rem; width: 100%; background: #fff; border: 1px solid #e3e8f1; border-radius: 22px; padding: 1.1rem 1.2rem; text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.news-row a:hover { transform: translateY(-5px); border-color: #234B8F; box-shadow: var(--shadow); }
.news-row .date-chip { align-self: flex-start; width: auto; padding: .35rem .8rem; display: inline-flex; align-items: baseline; gap: .4rem; }
.news-row .date-chip b { font-size: 1.15rem; display: inline; }
.news-row strong { font-family: var(--font-head); color: #0e2142; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-row small { color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 1100px) {
  .news-row { overflow: visible; display: grid; grid-template-columns: repeat(4, 1fr); }
  .news-row li { flex: none; }
  .news-row li:nth-child(n+5) { display: none; }
}

.enquiry-strip { background: #f3f7fd; border: 1px solid #e3e8f1; border-radius: 28px; padding: 1.4rem 1.4rem 1.5rem; display: grid; gap: 1rem; align-items: center; }
.enquiry-strip__head .section__title { margin: .3rem 0 .2rem; }
.enquiry-strip__head p { margin: 0; }
.enquiry-strip .form__grid { margin-bottom: .9rem; }
.form--row .field label { font-size: .8rem; }
.form--row .field input, .form--row .field select { padding: .7rem .85rem; }
@media (min-width: 1100px) {
  .enquiry-strip { grid-template-columns: 250px 1fr; gap: 1.8rem; padding: 1.6rem 1.8rem; }
  .form--row { display: flex; align-items: flex-end; gap: .8rem; }
  .form--row .form__grid { flex: 1; display: grid; grid-template-columns: 1.2fr .9fr 1.2fr 1fr 1.2fr; gap: .7rem; margin: 0; }
  .form--row .field--wide { grid-column: auto; }
  .form--row .btn { flex: none; white-space: nowrap; padding: .85rem 1.4rem; }
}
@media (min-width: 560px) and (max-width: 1099px) { .form--row .form__grid { grid-template-columns: 1fr 1fr; } .form--row .btn { width: 100%; } }
.enquiry-strip__head .section__title--sm { font-size: 1.45rem; line-height: 1.15; }
.form--row .field input::placeholder { font-size: .85rem; }
@media (min-width: 1100px) { .form--row .form__grid { grid-template-columns: 1.2fr 1fr 1.3fr 1.1fr 1.3fr; } .enquiry-strip { grid-template-columns: 220px 1fr; } }

/* ===== Tighter vertical rhythm (removes the large gaps between sections) ===== */
.section { padding: 2.6rem 0; }
@media (min-width: 900px) { .section { padding: 3.6rem 0; } }
.section__head { margin-bottom: 1.4rem; }
.quick { padding: 1.2rem 0 0; }
.stats { padding: 1rem 0 0; }
.is-home .section + .section:not(.section--tint):not(.section--dark):not(.steps-sec) { padding-top: 1.2rem; }
.section--decor { padding-bottom: 1.5rem; }
.why { padding-top: 1.2rem !important; }
.steps-sec { padding-bottom: 2.4rem; }
.steps { margin: 1rem 0 1.4rem; }
.section--news { padding-top: 2.4rem; padding-bottom: 2.4rem; }
.cta { padding: 3rem 0; }
.marquee { margin: .4rem 0 1.4rem; }
.feature-grid { margin-top: 0; }
.welcome { gap: 1.6rem; }
@media (max-width: 639px) { .section { padding: 2rem 0; } .section__head { margin-bottom: 1.1rem; } .why { padding-top: .8rem !important; } }
.footer .brand--light { display: block; }
.footer .brand__logo--wide { height: auto; width: min(100%, 320px); max-width: 100%; }

/* hero: no coloured backdrop showing while a picture loads */
.hero, .hero__track { background: #e9edf3; }
.hero__slide { background: #e9edf3; }

/* hero: slow, slight zoom-in on the active slide. The picture stays pinned to the full slide area,
   and keeps its zoom while the slide fades out so no edge or strip is ever exposed. */
.hero__slide { inset: 0; overflow: hidden; }
.hero__slide img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center;
  animation: none !important; transform: scale(1); transition: transform 0s linear .65s; will-change: transform; }
.hero__slide.is-zoom img { transform: scale(1.07); transition: transform 3.6s cubic-bezier(.2,.6,.3,1) 0s; }
@media (prefers-reduced-motion: reduce) { .hero__slide img, .hero__slide.is-zoom img { transform: none; transition: none; } }

/* hero: always full width – a height limit must never shrink the width (that left a strip on the right) */
.hero, .hero__track, .hero__slide { width: 100%; }
.hero__track { aspect-ratio: auto; height: clamp(300px, 36vw, 78vh); max-height: none; }
@media (max-width: 699px) { .hero__track { height: clamp(260px, 78vw, 70vh); } }
@media (min-width: 1700px) { .hero__track { height: clamp(300px, 34vw, 78vh); } }
.hero__slide img { min-width: 100%; min-height: 100%; object-fit: cover; object-position: center; }

/* ---------- Three full-width highlight panels (after the hero) ---------- */
.trio { display: grid; grid-template-columns: 1fr; background: #fff; }
.trio__item { display: flex; flex-direction: column; }
.trio__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e9edf3; }
.trio__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .7s var(--ease); }
.trio__item:hover .trio__img img { transform: scale(1.05); }
.trio__body { padding: 1.4rem 1.4rem 2rem; }
.trio__body h3 { font-size: 1.25rem; margin: 0 0 .5em; color: #0e2142; }
.trio__body p { color: var(--muted); font-size: 1rem; line-height: 1.75; margin: 0 0 1.1rem; }
.trio__link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: #234B8F; text-decoration: none; }
.trio__link .i { transition: transform .2s; }
.trio__link:hover { color: #0e2142; }
.trio__link:hover .i { transform: translateX(4px); }
@media (min-width: 860px) {
  .trio { grid-template-columns: repeat(3, 1fr); }
  .trio__img { aspect-ratio: 4 / 3; }
  .trio__body { padding: 1.6rem 1.8rem 2.4rem; }
}

/* =========================================================
   Inner pages: card layout, readable type, side picture
   ========================================================= */
.page-wrap { width: min(1120px, 100% - 2rem); }
.page-layout { display: block; }
.prose--card { background: #fff; border: 1px solid #e3e8f1; border-radius: 28px; padding: 1.6rem 1.4rem; box-shadow: 0 24px 50px -38px rgba(14,33,66,.5); font-size: 1.04rem; line-height: 1.85; color: #2a3347; }
.prose--card > p:first-of-type { font-size: 1.14rem; color: #1b2333; }
.prose h2 { color: #0e2142; font-size: 1.55rem; padding-bottom: .35em; border-bottom: 2px solid #e8eef8; position: relative; }
.prose h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 56px; height: 2px; background: #234B8F; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul > li { position: relative; padding-left: 1.7rem; }
.prose ul > li::before { content: ""; position: absolute; left: 0; top: .62em; width: .6rem; height: .6rem; border-radius: 50%; background: #234B8F; box-shadow: 0 0 0 4px #e8eef8; }
.prose ul > li::marker { content: ""; }
.prose a { color: #234B8F; text-underline-offset: 3px; }
.prose blockquote { border-left: 4px solid #234B8F; background: #f3f7fd; font-style: normal; color: #1b2333; }
.prose th { background: #eef3fb; color: #0e2142; }
.page-side { margin-bottom: 1.2rem; }
.prose__side { float: none !important; width: 100% !important; margin: 0 !important; }
.prose__side img { width: 100%; max-height: 360px; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); border: 6px solid #fff; }
@media (min-width: 960px) {
  .prose--card { padding: 2.6rem 3rem; }
  .page-layout--side { display: grid; grid-template-columns: 340px 1fr; gap: 2rem; align-items: start; }
  .page-layout--side .page-side { position: sticky; top: calc(var(--header-h) + 1.2rem); margin: 0; }
}
/* news / event cards without a picture: soft blue tile instead of beige */
.card__media { background: linear-gradient(135deg, #e8eef8, #f6f9fe); }
.card__ph { color: #234B8F; opacity: .35; }

/* ===== Mobile: slimmer top area (one row for CBSE + phone) ===== */
@media (max-width: 639px) {
  .topbar__in { flex-direction: row !important; align-items: center; gap: .5rem; padding: .3rem 0 !important; }
  .topbar__left { display: flex; flex: 1 1 auto; min-width: 0; }
  .topbar__left .disclosure { flex: 1; min-width: 0; padding: .4rem .6rem; font-size: .72rem; justify-content: center; }
  .topbar__left .disclosure span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .topbar__right { width: auto !important; flex: none; }
  .topbar__contact li:not(.hide-sm):not(.hide-md) a { font-size: 0; gap: 0; }
  .topbar__contact li a .i { font-size: 1rem; }
  .topbar__contact li:first-child a { width: 34px; height: 34px; border-radius: 50%; background: #eef3fb; justify-content: center; color: #16305a; }
  .topbar .social { display: none; }
  .promo__in p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* tick marks use the site blue (not green) */
.ticks .i { background: #234B8F; color: #fff; }

/* ---------- Shorts (vertical videos) ---------- */
.shorts-sec { background: #f6f8fc; }
.shorts-wrap { position: relative; }
.shorts { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .4rem .2rem 1.4rem; scrollbar-width: thin; scrollbar-color: #234B8F #e3e8f1; -webkit-overflow-scrolling: touch; }
.short { position: relative; flex: 0 0 min(62vw, 220px); aspect-ratio: 9 / 16; border: 0; padding: 0; border-radius: 24px; overflow: hidden; background: #0e2142; scroll-snap-align: start; cursor: pointer; box-shadow: 0 22px 40px -26px rgba(14,33,66,.65); transition: transform .35s var(--ease), box-shadow .35s; text-align: left; }
.short:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -26px rgba(14,33,66,.75); }
.short img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.short:hover img { transform: scale(1.06); }
.short::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,16,36,.82) 0%, rgba(8,16,36,.05) 55%, transparent); pointer-events: none; }
.short__play { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.92); color: #234B8F; display: grid; place-items: center; z-index: 2; box-shadow: 0 10px 24px -8px rgba(0,0,0,.5); transition: transform .3s var(--ease); }
.short:hover .short__play { transform: scale(1.12); }
.short__play .i { width: 24px; height: 24px; margin-left: 3px; }
.short__title { position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem .95rem .95rem; color: #fff; font-weight: 600; font-size: .9rem; line-height: 1.3; z-index: 2; }
.short iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
@media (min-width: 900px) { .short { flex-basis: 230px; } }

/* cards without a photo: school logo on a soft blue tile (never an empty box) */
.card__ph--logo { display: grid; place-items: center; height: 100%; width: 100%; background: linear-gradient(135deg, #eef3fb, #f8fafe); opacity: 1; }
.card__ph--logo img { width: 70%; max-width: 260px; height: auto; object-fit: contain; opacity: .9; }

/* footer bottom bar: copyright left, "Managed by" right */
.footer__bar-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .3rem 1.5rem; }
.footer__managed { text-align: right; }
@media (max-width: 639px) { .footer__bar-in { flex-direction: column; align-items: flex-start; } .footer__managed { text-align: left; } }
@media (min-width: 640px) { .footer__bar-in { padding-right: 4.2rem; } }

/* ---------- Notification bar (scrolling) ---------- */
.promo__in { gap: .8rem; }
.promo__viewport { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent); }
.promo__track { display: inline-flex; align-items: center; gap: 3.5rem; white-space: nowrap; animation: promo-scroll 32s linear infinite; padding-left: 100%; }
.promo__track--single { animation: none; padding-left: 0; display: flex; }
.promo__viewport:hover .promo__track { animation-play-state: paused; }
.promo__item { display: inline-flex; align-items: center; gap: .8rem; font-weight: 600; font-size: .92rem; }
.promo__item > a:not(.promo__btn) { color: inherit; text-decoration: none; }
.promo__item > a:not(.promo__btn):hover { text-decoration: underline; }
.promo__item .promo__btn { margin-left: .2rem; }
@keyframes promo-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .promo__track { animation: none; padding-left: 0; } .promo__viewport { overflow-x: auto; } }
.promo__viewport:has(.promo__track--single) { mask-image: none; }
/* notification text is visible straight away, then scrolls left in a seamless loop */
.promo__track { gap: 0; padding-left: 0; animation-duration: 28s; }
.promo__item { margin-right: 4rem; }
.promo__track--single .promo__item { margin-right: 0; }

/* =========================================================
   Notification bar v2: title | rotating message (slides up) | fixed button
   ========================================================= */
.promo__in { display: flex; align-items: center; gap: 1rem; padding: .5rem 0; }
.promo__title { display: inline-flex; align-items: center; gap: .5rem; flex: none; font-family: var(--font-head); font-weight: 800; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: #234B8F; padding: .35rem .85rem; border-radius: 999px; }
.promo__title .promo__dot { background: #fff; }
.promo__viewport { position: relative; flex: 1; min-width: 0; height: 1.6rem; overflow: hidden; mask-image: none !important; display: block; }
.promo__item { position: absolute; inset: 0; display: flex; align-items: center; margin: 0; padding: 0; font-weight: 600; font-size: .93rem; color: #0e2142; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: 0; transform: translateY(100%); transition: transform .6s var(--ease), opacity .6s; }
.promo__item > a { color: inherit; text-decoration: none; overflow: hidden; text-overflow: ellipsis; }
.promo__item > a:hover { text-decoration: underline; }
.promo__item.is-active { opacity: 1; transform: none; }
.promo__item.is-leaving { opacity: 0; transform: translateY(-100%); }
.promo__btn { flex: none; margin: 0; white-space: nowrap; font-weight: 700; }
@media (max-width: 559px) {
  .promo__title-text { display: none; }
  .promo__title { padding: .45rem; }
  .promo__item { font-size: .85rem; }
  .promo__btn { padding: .3rem .75rem; font-size: .8rem; }
  .promo__in { gap: .6rem; }
}
@media (prefers-reduced-motion: reduce) { .promo__item { transition: none; } }

/* left "Notifications" is a plain label (not a button): no fill, small pulsing dot, thin divider */
.promo__title { background: transparent !important; color: #0e2142; padding: 0 1rem 0 0; border-radius: 0; border-right: 1px solid #c9d6ee; font-size: .74rem; height: 1.6rem; letter-spacing: .12em; }
.promo__title .promo__dot { background: #234B8F; width: 9px; height: 9px; }
@media (max-width: 559px) { .promo__title { padding: 0 .7rem 0 0; } }

/* all hero banners: identical title / text / button strength */
.hero__caption { align-items: flex-end; }
.hero__caption h2 { font-size: clamp(1.7rem, 3.6vw, 3rem) !important; line-height: 1.12; font-weight: 800; max-width: 22ch; margin: 0 0 .4em; }
.hero__caption p { font-size: clamp(.98rem, 1.5vw, 1.2rem) !important; line-height: 1.5; max-width: 52ch; margin: 0 0 1.1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #fff; opacity: 1; }
.hero__caption .btn { padding: .85rem 1.6rem; font-size: 1rem; }
.hero__caption { background: linear-gradient(90deg, rgba(8,16,36,.82) 0%, rgba(8,16,36,.55) 45%, rgba(8,16,36,.1) 80%), linear-gradient(0deg, rgba(8,16,36,.55), transparent 50%); }
@media (max-width: 699px) { .hero__caption h2 { font-size: 1.6rem !important; } .hero__caption p { font-size: .95rem !important; } }

/* sticky header needs the body NOT to be its own scroll container */
body { overflow-x: visible !important; }
html { overflow-x: clip; }
.header { z-index: 100; }

/* =========================================================
   HOME PAGE ONLY – soft gradients + frosted glass (preview)
   To undo: delete this whole block.
   ========================================================= */
.is-home { background: linear-gradient(180deg, #ffffff 0%, #f3f7ff 38%, #ffffff 62%, #eef4ff 100%); }
.is-home main, .is-home .section { position: relative; }
.is-home .section:not(.section--dark) { background: transparent; }

/* soft colour glows behind the sections */
.is-home .section::before, .is-home .quick::before { content: ""; position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(70px); opacity: .55; }
.is-home .why::before { width: 420px; height: 420px; right: -120px; top: 10%; background: radial-gradient(circle, rgba(35,75,143,.25), transparent 70%); }
.is-home .steps-sec::before { width: 460px; height: 460px; left: -140px; top: 0; background: radial-gradient(circle, rgba(120,170,255,.35), transparent 70%); }
.is-home .section--tint::before { width: 480px; height: 480px; right: -100px; top: -60px; background: radial-gradient(circle, rgba(140,190,255,.35), transparent 70%); }
.is-home .shorts-sec::before { width: 420px; height: 420px; left: -100px; bottom: -80px; background: radial-gradient(circle, rgba(35,75,143,.2), transparent 70%); }
.is-home .section--tint { background: linear-gradient(135deg, rgba(232,240,255,.85), rgba(246,249,255,.6)); }
.is-home .shorts-sec { background: linear-gradient(180deg, rgba(238,244,255,.9), rgba(255,255,255,.4)); }
.is-home .section, .is-home .quick { isolation: isolate; }

/* frosted-glass cards */
.is-home .quick__item, .is-home .feature, .is-home .step, .is-home .news-row a, .is-home .doc-tile, .is-home .leader, .is-home .teacher {
  background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.85);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 18px 40px -26px rgba(14,33,66,.35), inset 0 1px 0 rgba(255,255,255,.9);
}
.is-home .card { background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 22px 44px -28px rgba(14,33,66,.4); }
.is-home .quick__item:hover, .is-home .feature:hover, .is-home .step:hover, .is-home .news-row a:hover, .is-home .doc-tile:hover { background: rgba(255,255,255,.9); }
.is-home .enquiry-strip { background: linear-gradient(135deg, rgba(226,237,255,.8), rgba(255,255,255,.7)); border: 1px solid rgba(255,255,255,.9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 24px 50px -32px rgba(14,33,66,.4); }
.is-home .eyebrow.chip { background: rgba(255,255,255,.7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(35,75,143,.15); }

/* translucent header (desktop only: blur would trap the phone menu drawer) */
@media (min-width: 1040px) {
  .is-home .header { background: rgba(255,255,255,.72) !important; -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); border-bottom: 1px solid rgba(255,255,255,.6); }
}
.is-home .topbar, .is-home .promo { background: linear-gradient(90deg, rgba(232,240,255,.95), rgba(255,255,255,.9)); }
.is-home .promo { border-bottom: 1px solid rgba(35,75,143,.08); }
.is-home .ticker { background: rgba(255,255,255,.7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.is-home .cta { background: linear-gradient(120deg, rgba(226,237,255,.9), rgba(255,255,255,.7) 60%, rgba(214,229,255,.9)); }
.is-home .footer { background: linear-gradient(180deg, #f3f7ff, #e6eefc); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .is-home .quick__item, .is-home .feature, .is-home .step, .is-home .news-row a, .is-home .card, .is-home .doc-tile { background: rgba(255,255,255,.95); }
}

/* =========================================================
   Buttons: slight blue gradient
   ========================================================= */
.btn--primary, .promo__btn, .btn--accent, .stat--b, .fab__btn--call, .ticker__label.is-solid {
  background-image: linear-gradient(135deg, #2a58a6 0%, #16305a 100%); background-color: #16305a; color: #fff;
}
.btn--primary:hover, .promo__btn:hover, .btn--accent:hover { background-image: linear-gradient(135deg, #1f4a94 0%, #0e2142 100%); color: #fff; }
.btn--accent { background-image: linear-gradient(135deg, #2f6bc7 0%, #234B8F 100%); background-color: #234B8F; }
.btn--accent:hover { background-image: linear-gradient(135deg, #2759a8 0%, #173A75 100%); }
.btn__arrow, .card__go { background-image: linear-gradient(135deg, #2f6bc7, #234B8F); background-color: #234B8F; color: #fff; }
.step b { background-image: linear-gradient(135deg, #2a58a6, #16305a); }
.hero__nav:hover { background-image: linear-gradient(135deg, #2f6bc7, #234B8F); }
.btn { box-shadow: 0 10px 22px -14px rgba(14,33,66,.7); }
.btn--ghost, .btn--ghost-dark, .cta .btn--ghost { background-image: none; box-shadow: none; }

/* blue title words (e.g. "Annamanada, Thrissur"): soft blue gradient text */
.section__title span, .welcome__text h2 span {
  background-image: linear-gradient(90deg, #2f6bc7 0%, #234B8F 55%, #16305a 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}

/* =========================================================
   Every title: slight navy → blue gradient (dark text on light backgrounds only)
   To undo: delete this block.
   ========================================================= */
h1:not(.hero__caption h1), h2:not(.hero__caption h2), h3, h4,
.section__title, .page-hero h1 {
  background-image: linear-gradient(90deg, #0e2142 0%, #16305a 45%, #2a5aa8 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
/* keep the gradient visible on short titles: the box hugs the text */
.section__title, .page-hero h1, .welcome__text h2, .card__body h3, .feature h3, .step h3, .teacher h3, .person h3, .leader h3, .trio__body h3 { width: fit-content; max-width: 100%; }
.center .section__title, .section__head.center .section__title, .section__head.center h2 { margin-inline: auto; }
.footer h3 { background-image: linear-gradient(90deg, #0e2142, #2a5aa8); }
/* titles that sit on photos or dark panels stay solid white */
.hero__caption h2, .hero__caption h1, .cta h2.on-dark, .short__title, .video__title, .album-card__label,
.vd-hero h1, .person__photo h3 { background-image: none !important; -webkit-text-fill-color: #fff !important; color: #fff !important; }
/* gradient words inside titles keep their own (blue) gradient */
.section__title span, .welcome__text h2 span { -webkit-text-fill-color: transparent; }

.step::after { content: none !important; }
.is-home main { overflow-x: clip; }

/* =========================================================================
   MILKY-WHITE BASE (final): white gradients everywhere – status bar, header,
   sections, footer – with faint school-themed elements in the background.
   To undo: delete this block and static/img/school-pattern.svg.
   ========================================================================= */
:root {
  --milk-1: #FFFFFF; --milk-2: #F8F9FA; --milk-3: #F1F2F4; --milk-line: #E6E8EB;
  --milk-grad: linear-gradient(180deg, #FFFFFF 0%, #F8F9FA 100%);
  --milk-grad-r: linear-gradient(90deg, #FFFFFF 0%, #F8F9FA 60%, #FFFFFF 100%);
  --bg: #FFFFFF; --tint: #F8F9FA; --line: #E6E8EB;
}
html { background: #FFFFFF; }
body, .is-home { background: linear-gradient(180deg, #FFFFFF 0%, #F9FAFB 35%, #FFFFFF 60%, #F6F7F8 100%) !important; background-attachment: scroll; }
/* faint school elements, fixed behind everything */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: none; opacity: 1; }
@media (max-width: 639px) { body::before { background-size: 220px 220px; } }

/* every band is transparent or a milky gradient (no blue fills) */
.section, .is-home .section, .quick, .stats { background: transparent !important; }
.section--tint, .is-home .section--tint, .shorts-sec, .is-home .shorts-sec, .life, .steps-sec { background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(246,247,248,.78)) !important; border: 0; }
.is-home .section::before, .is-home .quick::before { content: none !important; display: none; }
.section--dark { background: linear-gradient(180deg, #F8F9FA, #F1F2F4) !important; color: var(--ink); }

/* status bar, info strip, header, ticker */
.promo, .is-home .promo { background: var(--milk-grad-r) !important; border-bottom: 1px solid var(--milk-line); color: #0e2142; }
.topbar, .is-home .topbar { background: linear-gradient(90deg, #FFFFFF, #F6F7F8 55%, #FFFFFF) !important; border-bottom: 1px solid var(--milk-line); color: #1b2333; }
.header, .is-home .header { background: linear-gradient(180deg, rgba(255,255,255,.97), rgba(248,249,250,.95)) !important; border-bottom: 1px solid var(--milk-line); }
@media (min-width: 1040px) { .is-home .header { background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(248,249,250,.82)) !important; } }
.ticker, .is-home .ticker { background: linear-gradient(90deg, #FFFFFF, #F8F9FA 60%, #FFFFFF) !important; border-bottom: 1px solid var(--milk-line); }
.promo__title, .promo__title .promo__dot { color: #0e2142; }
.ticker__label, .eyebrow.chip, .is-home .eyebrow.chip, .chip { background: #FFFFFF; border: 1px solid var(--milk-line); color: #234B8F; }
.disclosure { background: linear-gradient(180deg, #FFFFFF, #F3F4F6); border: 1px solid var(--milk-line); }
.menu__link:hover, .menu__link.is-active { background: #F1F2F4; }
.topbar .social a, .social a, .footer .social a { background: #F1F2F4; }

/* inner-page title bars, enquiry strip, call-to-action, footer */
.page-hero { background: linear-gradient(180deg, #FFFFFF 0%, #F3F4F6 100%) !important; border-bottom: 1px solid var(--milk-line); }
.page-hero--img::before { background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(243,244,246,.9)), var(--hero-img) center/cover !important; }
.enquiry-strip, .is-home .enquiry-strip { background: linear-gradient(135deg, #FFFFFF, #F5F6F8) !important; border: 1px solid var(--milk-line); }
.cta, .is-home .cta { background: linear-gradient(180deg, #FFFFFF, #F3F4F6) !important; border-block: 1px solid var(--milk-line); }
.cta::after { background: radial-gradient(circle, rgba(0,0,0,.025), transparent 70%); }
.footer, .is-home .footer { background: linear-gradient(180deg, #F8F9FA 0%, #EEF0F2 100%) !important; border-top: 1px solid var(--milk-line); }
.footer__bar { border-top-color: var(--milk-line); }

/* soft tiles that were pale blue */
.quick__ico, .doc-tile__ico, .card__media, .card__ph--logo { background: linear-gradient(135deg, #FFFFFF, #F1F2F4); }
.stat--a, .stat--b { border-color: var(--milk-line); }
.card, .step, .feature, .quick__item, .doc-tile, .news-row a, .teacher, .person, .leader, .panel, .prose--card { border-color: var(--milk-line); }
.page-side .prose__side img { border-color: #fff; }
/* let the body gradient become the page canvas so the pattern layer shows above it */
html { background: transparent !important; }
body::before { opacity: 1; }
.page-hero { background: linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(243,244,246,.7) 100%) !important; }

/* =========================================================
   Big, faint school illustrations in a few zones only (footer + two home sections)
   Replaces the small repeating pattern. To remove: delete this block + deco-*.svg
   ========================================================= */
body::before { content: none !important; display: none !important; }
.blob { display: none !important; }

.is-home .section--decor, .is-home .steps-sec { overflow: clip; isolation: isolate; }
.is-home .section--decor::before { content: "" !important; display: block !important; position: absolute; z-index: -1; pointer-events: none; right: -50px; bottom: -20px; left: auto; top: auto; width: 440px; height: 316px; border-radius: 0; filter: none; opacity: 1; background: url("/static/img/deco-book.054b764b6f41.svg") no-repeat right bottom / contain; }
.is-home .steps-sec::before { content: "" !important; display: block !important; position: absolute; z-index: -1; pointer-events: none; right: 3%; top: 8px; left: auto; bottom: auto; width: 340px; height: 251px; border-radius: 0; filter: none; opacity: 1; background: url("/static/img/deco-cap.90760233ecc2.svg") no-repeat right top / contain; }
@media (max-width: 899px) {
  .is-home .section--decor::before { width: 300px; height: 215px; right: -60px; }
  .is-home .steps-sec::before { width: 230px; height: 170px; right: -20px; }
}


/* =========================================================
   VISIBLE milky-white gradients (stronger than before) – final
   ========================================================= */
html, body, .is-home { }
body, .is-home { background: linear-gradient(180deg, #FFFFFF 0%, #F3F4F6 28%, #FFFFFF 52%, #F1F2F4 78%, #E6E8EC 100%) !important; }

/* top bars: white → warm white → white, clearly banded */
.promo, .is-home .promo { background: linear-gradient(90deg, #FFFFFF 0%, #F0F1F3 50%, #FFFFFF 100%) !important; border-bottom: 1px solid #E4E6EA; }
.topbar, .is-home .topbar { background: linear-gradient(90deg, #FFFFFF 0%, #F1F2F4 50%, #FFFFFF 100%) !important; border-bottom: 1px solid #E4E6EA; }
.header, .is-home .header { background: linear-gradient(180deg, #FFFFFF 0%, #F1F2F4 100%) !important; border-bottom: 1px solid #E4E6EA; }
@media (min-width: 1040px) { .is-home .header { background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(241,242,244,.9) 100%) !important; } }
.ticker, .is-home .ticker { background: linear-gradient(90deg, #FFFFFF 0%, #F1F2F4 50%, #FFFFFF 100%) !important; border-bottom: 1px solid #E4E6EA; }

/* sections */
.section--tint, .is-home .section--tint, .shorts-sec, .is-home .shorts-sec, .life, .steps-sec { background: linear-gradient(180deg, #FFFFFF 0%, #F1F2F4 100%) !important; }
.section--dark { background: linear-gradient(180deg, #FFFFFF, #EDEEF1) !important; }
.page-hero { background: linear-gradient(180deg, #FFFFFF 0%, #EEF0F2 100%) !important; border-bottom: 1px solid #E1E3E7; }
.enquiry-strip, .is-home .enquiry-strip { background: linear-gradient(135deg, #FFFFFF 0%, #F0F1F3 100%) !important; border: 1px solid #E4E6EA; }
.cta, .is-home .cta { background: linear-gradient(180deg, #FFFFFF 0%, #EEF0F2 100%) !important; border-block: 1px solid #E4E6EA; }
.footer, .is-home .footer { background: linear-gradient(180deg, #F6F7F9 0%, #E4E6EA 100%) !important; border-top: 1px solid #DCDFE3; }
.footer__bar { border-top-color: #D9DCE0; }
.disclosure { background: linear-gradient(180deg, #FFFFFF, #EEF0F2); border-color: #DCDFE3; }
.menu__link:hover, .menu__link.is-active { background: #EEF0F2; }

/* admin */

/* neutral placeholder tiles (were warm beige) */
.album-card, .masonry__item, .leader__photo, .teacher__photo { background: linear-gradient(135deg, #FFFFFF, #EEF0F2); }
.cards--snap .card:nth-child(n) { background: #fff; }

/* =========================================================================
   SOFT CORNER-GLOW BACKGROUND (Devamatha-style) – final
   White page with a faint cream glow on the left and a faint cool-white glow on
   the right, repeating down the page. To undo: delete this block.
   ========================================================================= */
:root { --g-cream: 255, 246, 228; --g-cool: 238, 241, 251; }
body, .is-home {
  background-color: #FFFFFF !important;
  background-image:
    radial-gradient(780px 540px at -6% 0%, rgba(var(--g-cream), .95), transparent 70%),
    radial-gradient(860px 580px at 106% 36%, rgba(var(--g-cool), .98), transparent 70%),
    radial-gradient(720px 500px at -4% 76%, rgba(var(--g-cream), .85), transparent 70%) !important;
  background-size: 100% 1500px !important; background-repeat: repeat-y !important;
}

/* bars: cream on the left → white → cool on the right */
.promo, .is-home .promo, .topbar, .is-home .topbar, .ticker, .is-home .ticker {
  background: linear-gradient(90deg, rgb(255,247,232) 0%, #FFFFFF 45%, rgb(240,243,252) 100%) !important; border-bottom: 1px solid #EDE8DC;
}
.header, .is-home .header { background: linear-gradient(90deg, rgba(255,249,237,.97) 0%, rgba(255,255,255,.97) 45%, rgba(245,247,253,.97) 100%) !important; border-bottom: 1px solid #EDE8DC; }
@media (min-width: 1040px) { .is-home .header { background: linear-gradient(90deg, rgba(255,249,237,.9) 0%, rgba(255,255,255,.9) 45%, rgba(245,247,253,.9) 100%) !important; } }
.disclosure { background: #FFFFFF; border-color: #EDE8DC; }
.menu__link:hover, .menu__link.is-active { background: rgba(var(--g-cream), 1); }

/* sections: soft glows instead of flat fills */
.section--tint, .is-home .section--tint, .shorts-sec, .is-home .shorts-sec, .life {
  background:
    radial-gradient(900px 440px at 0% 0%, rgba(var(--g-cream), .9), transparent 70%),
    radial-gradient(900px 440px at 100% 100%, rgba(var(--g-cool), .95), transparent 70%) !important;
}
.steps-sec, .section--dark { background: transparent !important; }
.page-hero { background: linear-gradient(120deg, rgb(255,246,228) 0%, #FFFFFF 55%, rgb(240,243,252) 100%) !important; border-bottom: 1px solid #EDE8DC; }
.page-hero--img::before { background: linear-gradient(120deg, rgba(255,246,228,.94), rgba(255,255,255,.9) 55%, rgba(240,243,252,.94)), var(--hero-img) center/cover !important; }
.enquiry-strip, .is-home .enquiry-strip { background: linear-gradient(120deg, rgb(255,247,232) 0%, #FFFFFF 55%, rgb(241,244,252) 100%) !important; border: 1px solid #EDE8DC; }
.cta, .is-home .cta { background: linear-gradient(120deg, rgb(255,246,228) 0%, #FFFFFF 50%, rgb(239,242,251) 100%) !important; border-block: 1px solid #EDE8DC; }
.footer, .is-home .footer { background: linear-gradient(120deg, rgb(255,246,228) 0%, #FFFFFF 48%, rgb(238,241,251) 100%) !important; border-top: 1px solid #EDE8DC; }
.footer__bar { border-top-color: #E8E2D5; }
.page-wrap .prose--card, .card, .feature, .step, .quick__item, .news-row a, .doc-tile, .teacher, .person, .leader { border-color: #EDE8DC; }

/* text for search engines / screen readers only */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }


/* Notification bar on phones: the messages scroll right-to-left (like the LATEST strip) so long text can be read */
.promo__marquee { display: none; }
@media (max-width: 639px) {
  .promo__viewport { display: none; }
  .promo__marquee { display: block; flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
  .promo__mtrack { display: inline-flex; white-space: nowrap; animation: promo-m linear infinite; animation-duration: max(16s, calc(var(--chars) * .17s)); }
  .promo__mitem { flex: none; padding-right: 2.6rem; font-weight: 600; font-size: .85rem; color: #0e2142; }
  .promo__mitem a { color: inherit; text-decoration: none; }
  .promo__marquee:active .promo__mtrack { animation-play-state: paused; }
}
@keyframes promo-m { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .promo__mtrack { animation: none; } .promo__marquee { overflow-x: auto; } }


/* "More than a classroom" strip: fixed-size tiles (no layout jumps while photos load) */
.marquee__track a { width: 230px; height: 200px; border-radius: 20px; overflow: hidden; background: linear-gradient(135deg, #FFFFFF, #E9ECF1); box-shadow: 0 14px 30px -20px rgba(14,33,66,.6); }
.marquee__track img { width: 100%; height: 100%; max-width: none; border-radius: 0; box-shadow: none; object-fit: cover; object-position: center top; }
@media (min-width: 900px) { .marquee__track a { width: 300px; height: 260px; } }
.marquee__track { animation-duration: 45s; }
@media (max-width: 639px) { .marquee__track { gap: .8rem; animation-duration: 36s; } .marquee__track a { width: 210px; height: 190px; border-radius: 18px; } }

/* ---------- Home pop-up (admin: Web popup) ---------- */
.popup { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(14, 33, 66, .55); animation: popupFade .3s ease both; }
.popup[hidden] { display: none; }
.popup__box { position: relative; width: min(94vw, 460px); max-height: 92vh; overflow: auto; background: #fff; border-radius: 22px; box-shadow: 0 30px 70px -20px rgba(14, 33, 66, .6); animation: popupRise .35s ease both; }
.popup__img { display: block; width: 100%; height: auto; max-height: 70vh; object-fit: contain; border-radius: 22px 22px 0 0; background: #f4f6fb; }
.popup__text { margin: 0; padding: 1rem 1.2rem 1.2rem; text-align: center; color: var(--navy, #0e2142); font-size: 1.05rem; line-height: 1.5; }
.popup__text p { margin: 0; }
.popup__text p + p { margin-top: .5rem; }
.popup__close { position: absolute; top: .55rem; right: .55rem; z-index: 2; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .95); color: #0e2142; font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(14, 33, 66, .3); }
body.popup-open { overflow: hidden; }
@keyframes popupFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes popupRise { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }

/* =========================================================================
   Cream (yellowish) tint 50% fainter – final. Only the cream parts of the corner glows,
   bars and bands are lightened; the cool-white side and everything else is unchanged.
   To undo: delete this block.
   ========================================================================= */
:root { --g-cream: 255, 250, 241; }
body, .is-home {
  background-image:
    radial-gradient(780px 540px at -6% 0%, rgba(var(--g-cream), .95), transparent 70%),
    radial-gradient(860px 580px at 106% 36%, rgba(var(--g-cool), .98), transparent 70%),
    radial-gradient(720px 500px at -4% 76%, rgba(var(--g-cream), .85), transparent 70%) !important;
}
.promo, .is-home .promo, .topbar, .is-home .topbar, .ticker, .is-home .ticker {
  background: linear-gradient(90deg, rgb(255,251,244) 0%, #FFFFFF 45%, rgb(240,243,252) 100%) !important; border-bottom-color: #EDEBE4;
}
.header, .is-home .header { background: linear-gradient(90deg, rgba(255,252,246,.97) 0%, rgba(255,255,255,.97) 45%, rgba(245,247,253,.97) 100%) !important; border-bottom-color: #EDEBE4; }
@media (min-width: 1040px) { .is-home .header { background: linear-gradient(90deg, rgba(255,252,246,.9) 0%, rgba(255,255,255,.9) 45%, rgba(245,247,253,.9) 100%) !important; } }
.section--tint, .is-home .section--tint, .shorts-sec, .is-home .shorts-sec, .life {
  background:
    radial-gradient(900px 440px at 0% 0%, rgba(var(--g-cream), .9), transparent 70%),
    radial-gradient(900px 440px at 100% 100%, rgba(var(--g-cool), .95), transparent 70%) !important;
}
.page-hero { background: linear-gradient(120deg, rgb(255,250,241) 0%, #FFFFFF 55%, rgb(240,243,252) 100%) !important; border-bottom-color: #EDEBE4; }
.page-hero--img::before { background: linear-gradient(120deg, rgba(255,250,241,.94), rgba(255,255,255,.9) 55%, rgba(240,243,252,.94)), var(--hero-img) center/cover !important; }
.enquiry-strip, .is-home .enquiry-strip { background: linear-gradient(120deg, rgb(255,251,244) 0%, #FFFFFF 55%, rgb(241,244,252) 100%) !important; border-color: #EDEBE4; }
.cta, .is-home .cta { background: linear-gradient(120deg, rgb(255,250,241) 0%, #FFFFFF 50%, rgb(239,242,251) 100%) !important; border-block-color: #EDEBE4; }
.footer, .is-home .footer { background: linear-gradient(120deg, rgb(255,250,241) 0%, #FFFFFF 48%, rgb(238,241,251) 100%) !important; border-top-color: #EDEBE4; }
.disclosure { border-color: #EDEBE4; }
.footer__bar { border-top-color: #E9E7E0; }
.page-wrap .prose--card, .card, .feature, .step, .quick__item, .news-row a, .doc-tile, .teacher, .person, .leader { border-color: #EDEBE4; }

/* =========================================================================
   "KIDZ" PLAYFUL THEME – EXPERIMENT (home page only), branch kidz-theme
   Coloured tiles under the hero, ornament titles, coloured feature numbers, purple steps band.
   To undo: delete this block.
   ========================================================================= */
:root { --k-yellow: #F2BE45; --k-green: #4F8EDC; --k-coral: #EB6F67; --k-blue: #7FBCD8; --k-purple: #A090E4; --k-pink: #E9709F; }

/* 1. coloured tiles overlapping the bottom of the hero */
.is-home .quick { padding-top: 1.6rem; }
.is-home .quick__grid { gap: 1rem; }
.is-home .quick__item {
  position: relative; align-items: center; text-align: center; border: 0; border-radius: 10px; padding: 2.1rem 1rem 1.2rem; margin-top: 26px;
  color: #fff; box-shadow: 0 10px 0 -4px rgba(0,0,0,.12), 0 18px 28px -16px rgba(0,0,0,.35);
}
.is-home .quick__item:nth-child(6n+1) { background: var(--k-yellow); }
.is-home .quick__item:nth-child(6n+2) { background: var(--k-green); }
.is-home .quick__item:nth-child(6n+3) { background: var(--k-coral); }
.is-home .quick__item:nth-child(6n+4) { background: var(--k-blue); }
.is-home .quick__item:nth-child(6n+5) { background: var(--k-purple); }
.is-home .quick__item:nth-child(6n+6) { background: var(--k-pink); }
.is-home .quick__item strong, .is-home .quick__item small { color: #fff; }
.is-home .quick__item small { opacity: .92; }
.is-home .quick__ico { position: absolute; top: -26px; left: 50%; transform: translateX(-50%); width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 4px solid rgba(255,255,255,.55); box-shadow: 0 6px 14px -6px rgba(0,0,0,.3); margin: 0; }
.is-home .quick__item:nth-child(6n+1) .quick__ico { color: var(--k-yellow); }
.is-home .quick__item:nth-child(6n+2) .quick__ico { color: var(--k-green); }
.is-home .quick__item:nth-child(6n+3) .quick__ico { color: var(--k-coral); }
.is-home .quick__item:nth-child(6n+4) .quick__ico { color: var(--k-blue); }
.is-home .quick__item:nth-child(6n+5) .quick__ico { color: var(--k-purple); }
.is-home .quick__item:nth-child(6n+6) .quick__ico { color: var(--k-pink); }
.is-home .quick__item:hover { transform: translateY(-6px); border-color: transparent; }

/* 2. centred titles get the line – dot – line ornament */
.is-home .section__head.center .section__title { display: flex; justify-content: center; align-items: center; gap: .9rem; }
.is-home .section__head.center .section__title::before, .is-home .section__head.center .section__title::after { content: ""; width: 48px; height: 3px; border-radius: 3px; background: var(--k-coral); flex: none; }
.is-home .section__head.center .section__title::before { background: linear-gradient(90deg, transparent, var(--k-blue)); }
.is-home .section__head.center .section__title::after { background: linear-gradient(90deg, var(--k-coral), transparent); }
@media (max-width: 640px) { .is-home .section__head.center .section__title::before, .is-home .section__head.center .section__title::after { display: none; } }

/* 3. "Why" cards: each number in its own colour */
.is-home .feature:nth-child(6n+1) .feature__num { color: var(--k-yellow); }
.is-home .feature:nth-child(6n+2) .feature__num { color: var(--k-green); }
.is-home .feature:nth-child(6n+3) .feature__num { color: var(--k-coral); }
.is-home .feature:nth-child(6n+4) .feature__num { color: var(--k-blue); }
.is-home .feature:nth-child(6n+5) .feature__num { color: var(--k-purple); }
.is-home .feature:nth-child(6n+6) .feature__num { color: var(--k-pink); }
.is-home .feature .feature__num { opacity: .9; }
.is-home .feature:hover .feature__num { color: inherit; }
.is-home .feature:nth-child(6n+1) h3 { color: #C99112; } .is-home .feature:nth-child(6n+2) h3 { color: #2F6FB8; }
.is-home .feature:nth-child(6n+3) h3 { color: #D2493F; } .is-home .feature:nth-child(6n+4) h3 { color: #3F8FB3; }
.is-home .feature:nth-child(6n+5) h3 { color: #7A68CF; } .is-home .feature:nth-child(6n+6) h3 { color: #CC4A80; }

/* 4. "How to join us": purple band like the teachers band on the template */
.is-home .steps-sec { background: var(--k-purple) !important; color: #fff; padding-block: clamp(2.6rem, 6vw, 4.5rem); }
.is-home .steps-sec .section__title { color: #fff; -webkit-text-fill-color: #fff; background: none; }
.is-home .steps-sec .eyebrow.chip { background: rgba(255,255,255,.22); color: #fff; }
.is-home .steps-sec .section__title::before { background: linear-gradient(90deg, transparent, #fff); }
.is-home .steps-sec .section__title::after { background: linear-gradient(90deg, #fff, transparent); }
.is-home .steps-sec .step { border-color: transparent; }
.is-home .steps-sec .step:nth-child(1) b { background-image: linear-gradient(135deg, #F7CD63, var(--k-yellow)); }
.is-home .steps-sec .step:nth-child(2) b { background-image: linear-gradient(135deg, #80B2EC, var(--k-green)); }
.is-home .steps-sec .step:nth-child(3) b { background-image: linear-gradient(135deg, #F28B84, var(--k-coral)); }
.is-home .steps-sec .step:nth-child(4) b { background-image: linear-gradient(135deg, #9AD0E6, var(--k-blue)); }
.is-home .steps-sec .btn--primary { background: var(--k-coral); background-image: none; box-shadow: 0 10px 0 -4px rgba(0,0,0,.15); }
.is-home .quick__item strong { font-size: 1.08rem; font-weight: 700; }
.is-home .steps-sec .step { background: #fff; }

/* tiles sit on the bottom edge of the hero (slightly overlapping it) */
.is-home .quick { margin-top: -78px; padding: 0 0 1.4rem; position: relative; z-index: 6; }
.is-home .hero__dots { bottom: 96px; }
.is-home .hero__caption .container { padding-bottom: 84px; }
@media (max-width: 699px) { .is-home .quick { margin-top: -64px; } .is-home .hero__dots { bottom: 78px; } .is-home .hero__caption .container { padding-bottom: 70px; } }

/* =========================================================================
   KIDZ THEME – WHOLE HOME PAGE (experiment, branch kidz-theme). Still home page only.
   Rounded playful font, colour-cycled chips / cards / dates, pastel bands, coral buttons, blue contact band.
   To undo: delete this block (and the Fredoka link in home.html).
   ========================================================================= */
.is-home { --k-font: "Fredoka", "Plus Jakarta Sans", system-ui, sans-serif; --k-ink: #3a4a63; }
.is-home .section__title, .is-home .cta h2, .is-home .quick__item strong, .is-home .feature h3, .is-home .step h3,
.is-home .card h3, .is-home .news-row strong, .is-home .trio__body h3, .is-home .doc-tile strong, .is-home .enquiry-strip h2 { font-family: var(--k-font); letter-spacing: 0; }
.is-home .section__title { font-weight: 600; }

/* clean white page (no corner glows) */
body.is-home { background-color: #fff !important; background-image: none !important; }

/* every section title centred with the line – dot – line ornament */
.is-home .section__head, .is-home .section__head--row { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .6rem; }
.is-home .section__head > div { display: flex; flex-direction: column; align-items: center; }
.is-home .section__head .section__title { display: flex; justify-content: center; align-items: center; gap: .9rem; margin: 0; }
.is-home .section__head .section__title::before, .is-home .section__head .section__title::after { content: ""; width: 48px; height: 3px; border-radius: 3px; flex: none; }
.is-home .section__head .section__title::before { background: linear-gradient(90deg, transparent, var(--k-blue)); }
.is-home .section__head .section__title::after { background: linear-gradient(90deg, var(--k-coral), transparent); }
@media (max-width: 640px) { .is-home .section__head .section__title::before, .is-home .section__head .section__title::after { display: none; } }
.is-home .section__head .more { color: #fff; background: var(--k-coral); border-radius: 8px; padding: .4rem 1rem; font-weight: 600; font-size: .85rem; box-shadow: 0 4px 0 rgba(0,0,0,.14); text-decoration: none; }
.is-home .section__head .more svg { display: none; }

/* chips: a different colour per section */
.is-home .eyebrow.chip { color: #fff; }
.is-home .section:nth-of-type(6n+1) .eyebrow.chip { background: var(--k-yellow); }
.is-home .section:nth-of-type(6n+2) .eyebrow.chip { background: var(--k-green); }
.is-home .section:nth-of-type(6n+3) .eyebrow.chip { background: var(--k-coral); }
.is-home .section:nth-of-type(6n+4) .eyebrow.chip { background: var(--k-blue); }
.is-home .section:nth-of-type(6n+5) .eyebrow.chip { background: var(--k-purple); }
.is-home .section:nth-of-type(6n+6) .eyebrow.chip { background: var(--k-pink); }
.is-home .steps-sec .eyebrow.chip { background: rgba(255,255,255,.25); }

/* pastel bands instead of cream / grey */
.is-home .section--tint:not(.life), .is-home .section--tint:not(.life)::before { background: #EAF5FA !important; }
.is-home .shorts-sec, .is-home .shorts-sec::before { background: #F1EEFC !important; }
.is-home .life, .is-home .life::before { background: #FDEEEC !important; }
.is-home .section::before { background-image: none !important; }
.is-home .section--tint, .is-home .shorts-sec, .is-home .life { border-block: 0; }

/* cards: round, white, coloured bottom edge cycling through the palette */
.is-home .card, .is-home .news-row a, .is-home .doc-tile, .is-home .step, .is-home .feature, .is-home .enquiry-strip { border: 0; border-radius: 14px; box-shadow: 0 8px 24px -14px rgba(40,60,100,.35); border-bottom: 5px solid var(--k-blue); }
.is-home .card:nth-child(6n+1), .is-home .news-row li:nth-child(6n+1) a, .is-home .doc-tile:nth-child(6n+1) { border-bottom-color: var(--k-yellow); }
.is-home .card:nth-child(6n+2), .is-home .news-row li:nth-child(6n+2) a, .is-home .doc-tile:nth-child(6n+2) { border-bottom-color: var(--k-green); }
.is-home .card:nth-child(6n+3), .is-home .news-row li:nth-child(6n+3) a, .is-home .doc-tile:nth-child(6n+3) { border-bottom-color: var(--k-coral); }
.is-home .card:nth-child(6n+4), .is-home .news-row li:nth-child(6n+4) a, .is-home .doc-tile:nth-child(6n+4) { border-bottom-color: var(--k-blue); }
.is-home .card:nth-child(6n+5), .is-home .doc-tile:nth-child(6n+5) { border-bottom-color: var(--k-purple); }
.is-home .card:nth-child(6n+6), .is-home .doc-tile:nth-child(6n+6) { border-bottom-color: var(--k-pink); }
.is-home .feature:nth-child(6n+1) { border-bottom-color: var(--k-yellow); } .is-home .feature:nth-child(6n+2) { border-bottom-color: var(--k-green); }
.is-home .feature:nth-child(6n+3) { border-bottom-color: var(--k-coral); } .is-home .feature:nth-child(6n+4) { border-bottom-color: var(--k-blue); }
.is-home .feature:nth-child(6n+5) { border-bottom-color: var(--k-purple); } .is-home .feature:nth-child(6n+6) { border-bottom-color: var(--k-pink); }
.is-home .steps-sec .step { border-bottom: 0; }
.is-home .enquiry-strip { border-bottom-color: var(--k-coral); }
.is-home .card__media, .is-home .card__media img { border-radius: 14px 14px 0 0; }
.is-home .album-card, .is-home .short { border-radius: 14px; }

/* news dates in colour */
.is-home .news-row .date-chip { background: var(--k-blue); color: #fff; border-radius: 8px; }
.is-home .news-row li:nth-child(6n+1) .date-chip { background: var(--k-yellow); } .is-home .news-row li:nth-child(6n+2) .date-chip { background: var(--k-green); }
.is-home .news-row li:nth-child(6n+3) .date-chip { background: var(--k-coral); } .is-home .news-row li:nth-child(6n+5) .date-chip { background: var(--k-purple); }
.is-home .news-row li:nth-child(6n+6) .date-chip { background: var(--k-pink); }
.is-home .news-row .date-chip b, .is-home .news-row .date-chip span { color: #fff; }

/* the three panels under the hero */
.is-home .trio__item:nth-child(1) .trio__body h3 { color: #C99112; } .is-home .trio__item:nth-child(2) .trio__body h3 { color: #2F6FB8; } .is-home .trio__item:nth-child(3) .trio__body h3 { color: #D2493F; }

/* buttons: flat coral with a "pressed" edge */
.is-home main .btn--primary, .is-home main .btn--accent, .is-home .enquiry-strip .btn { background: var(--k-coral) !important; background-image: none !important; color: #fff !important; border: 0; border-radius: 10px; box-shadow: 0 5px 0 rgba(0,0,0,.16) !important; }
.is-home main .btn--primary:hover, .is-home main .btn--accent:hover { transform: translateY(2px); box-shadow: 0 3px 0 rgba(0,0,0,.16) !important; }
.is-home main .btn .btn__arrow { background: rgba(255,255,255,.3); color: #fff; }
.is-home .hero__caption .btn--accent { background: var(--k-yellow) !important; color: #3a2b00 !important; }

/* "Visit our campus": solid blue band like "Need more information?" */
.is-home .cta { background: #5E9FC2 !important; border: 0; color: #fff; }
.is-home .cta h2, .is-home .cta p { color: #fff !important; -webkit-text-fill-color: #fff; background: none; }
.is-home .cta::after { display: none; }
.is-home .cta .btn--ghost { background: rgba(255,255,255,.18) !important; color: #fff !important; border: 2px solid rgba(255,255,255,.8); box-shadow: none !important; }

/* =========================================================================
   KIDZ THEME – HEADER & TOP BARS (all pages; experiment, branch kidz-theme)
   Rainbow strip, dark contact bar with coloured icons, rounded-font menu with coloured pills, coral admission button.
   To undo: delete this block.
   ========================================================================= */
.promo { position: relative; }
.promo::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; z-index: 2; background: linear-gradient(90deg, var(--k-yellow) 0 20%, var(--k-green) 20% 40%, var(--k-coral) 40% 60%, var(--k-blue) 60% 80%, var(--k-purple) 80% 100%); }
.promo, .is-home .promo { background: #fff !important; padding-top: 4px; }
.promo__dot { background: var(--k-coral) !important; }
.promo__title-text { font-family: var(--k-font, "Fredoka", system-ui, sans-serif); color: var(--k-coral); }
.promo__btn { background: var(--k-coral) !important; background-image: none !important; color: #fff !important; border-radius: 8px !important; box-shadow: 0 4px 0 rgba(0,0,0,.16) !important; font-family: "Fredoka", system-ui, sans-serif; font-weight: 600; }

/* dark contact bar */
.topbar, .is-home .topbar { background: #2f3a52 !important; border-bottom: 0 !important; color: #e8edf7; }
.topbar a, .topbar li { color: #e8edf7 !important; }
.topbar__contact li:nth-child(1) .i { color: var(--k-yellow); } .topbar__contact li:nth-child(2) .i { color: var(--k-green); } .topbar__contact li:nth-child(3) .i { color: var(--k-pink); }
.topbar .disclosure { background: var(--k-yellow) !important; color: #3a2b00 !important; border: 0 !important; border-radius: 999px; font-weight: 600; }
.topbar .disclosure .i { color: #3a2b00; }
.topbar .social a { background: rgba(255,255,255,.12) !important; border-radius: 50%; }
.topbar .social li:nth-child(1) .i { color: #8fb3ff; } .topbar .social li:nth-child(2) .i { color: #ff9ecb; } .topbar .social li:nth-child(3) .i { color: #ff8a80; } .topbar .social li:nth-child(4) .i { color: #8fc5ff; }

/* white header with a rainbow underline */
.header, .is-home .header { background: #fff !important; border-bottom: 0 !important; box-shadow: 0 10px 24px -18px rgba(40,60,100,.5); }
.header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--k-blue), var(--k-green), var(--k-yellow), var(--k-coral), var(--k-purple)); }
.header { position: sticky; }
@media (min-width: 1040px) { .is-home .header { background: rgba(255,255,255,.96) !important; } }

/* menu: rounded font, coloured pill on hover / current page */
.menu__link { font-family: "Fredoka", system-ui, sans-serif; font-weight: 500; font-size: 1rem; border-radius: 10px; color: #3a4a63; }
.menu__item:nth-child(6n+1) .menu__link:hover, .menu__item:nth-child(6n+1) .menu__link.is-active { background: var(--k-yellow); }
.menu__item:nth-child(6n+2) .menu__link:hover, .menu__item:nth-child(6n+2) .menu__link.is-active { background: var(--k-green); }
.menu__item:nth-child(6n+3) .menu__link:hover, .menu__item:nth-child(6n+3) .menu__link.is-active { background: var(--k-coral); }
.menu__item:nth-child(6n+4) .menu__link:hover, .menu__item:nth-child(6n+4) .menu__link.is-active { background: var(--k-blue); }
.menu__item:nth-child(6n+5) .menu__link:hover, .menu__item:nth-child(6n+5) .menu__link.is-active { background: var(--k-purple); }
.menu__item:nth-child(6n+6) .menu__link:hover, .menu__item:nth-child(6n+6) .menu__link.is-active { background: var(--k-pink); }
.menu__link:hover, .menu__link.is-active { color: #fff !important; }
.sub { border-radius: 12px; border-top: 4px solid var(--k-coral); }
.sub a { font-family: "Fredoka", system-ui, sans-serif; }
.burger { background: var(--k-coral) !important; color: #fff !important; border-radius: 10px; box-shadow: 0 4px 0 rgba(0,0,0,.16); }
.nav__head span { font-family: "Fredoka", system-ui, sans-serif; }

/* =========================================================================
   KIDZ THEME – WHOLE WEBSITE (inner pages, forms, footer) – experiment, branch kidz-theme
   Same look as the home page: white page, blue title banner, rounded cards with coloured edges, coral buttons, dark footer.
   To undo: delete this block.
   ========================================================================= */
:root { --k-font: "Fredoka", "Plus Jakarta Sans", system-ui, sans-serif; }
body { background-color: #fff !important; background-image: none !important; }
h1, h2, h3, .section__title, .page-hero h1, .prose h2, .prose h3, .person h3, .card h3 { font-family: var(--k-font); letter-spacing: 0; }

/* page title banner: solid blue like "Need more information?" */
.page-hero, .page-hero--img { background: #5E9FC2 !important; border: 0 !important; color: #fff; position: relative; }
.page-hero--img::before { background: linear-gradient(0deg, rgba(94,159,194,.92), rgba(94,159,194,.92)), var(--hero-img) center/cover !important; }
.page-hero h1, .page-hero .page-hero__sub, .page-hero p { color: #fff !important; -webkit-text-fill-color: #fff; background: none; }
.page-hero h1 { font-weight: 600; }
.page-hero .crumbs, .page-hero .crumbs a, .page-hero .crumbs span { color: rgba(255,255,255,.9) !important; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--k-yellow), var(--k-green), var(--k-coral), var(--k-blue), var(--k-purple)); }

/* cards: round, soft shadow, coloured bottom edge */
.card, .person, .leader, .teacher, .prose--card, .info-card, .album-card, .enquiry-strip, .form {
  border: 0; border-radius: 14px; box-shadow: 0 8px 24px -14px rgba(40,60,100,.35); background-color: #fff;
}
.cards > .card, .teachers > *, .persons > *, .leaders > * { border-bottom: 5px solid var(--k-blue); }
.cards > *:nth-child(6n+1), .teachers > *:nth-child(6n+1) { border-bottom-color: var(--k-yellow); }
.cards > *:nth-child(6n+2), .teachers > *:nth-child(6n+2) { border-bottom-color: var(--k-green); }
.cards > *:nth-child(6n+3), .teachers > *:nth-child(6n+3) { border-bottom-color: var(--k-coral); }
.cards > *:nth-child(6n+4), .teachers > *:nth-child(6n+4) { border-bottom-color: var(--k-blue); }
.cards > *:nth-child(6n+5), .teachers > *:nth-child(6n+5) { border-bottom-color: var(--k-purple); }
.cards > *:nth-child(6n+6), .teachers > *:nth-child(6n+6) { border-bottom-color: var(--k-pink); }
.prose--card, .info-card { border-top: 5px solid var(--k-coral); }
.card__media, .card__media img { border-radius: 14px 14px 0 0; }
.album-card, .short { border-radius: 14px; }

/* chips, filters, pagination */
.eyebrow.chip { background: var(--k-coral); color: #fff; }
.tabs .tab, .filter { border-radius: 999px; font-family: var(--k-font); }
.tabs .tab.is-active, .tabs .tab[aria-selected="true"], .tabs .tab.active, .filter.is-active { background: var(--k-coral) !important; color: #fff !important; border-color: var(--k-coral) !important; }
.pager a, .pager span { border-radius: 10px; }
.pager .is-current, .pager a.is-current, .pager .current { background: var(--k-coral) !important; color: #fff !important; }

/* buttons: flat coral with a pressed edge (header and hero buttons already themed) */
.btn--primary, .btn--accent, .btn--block, .form button[type=submit], .enquiry-strip .btn { background: var(--k-coral) !important; background-image: none !important; color: #fff !important; border: 0; border-radius: 10px; box-shadow: 0 5px 0 rgba(0,0,0,.16) !important; }
.btn--primary:hover, .btn--accent:hover, .btn--block:hover { transform: translateY(2px); box-shadow: 0 3px 0 rgba(0,0,0,.16) !important; }
.btn--ghost, .btn--ghost-dark { border-radius: 10px; }
.btn .btn__arrow { background: rgba(255,255,255,.3); color: #fff; }
.more { color: var(--k-coral); font-weight: 600; }
a { text-decoration-color: rgba(235,111,103,.5); }
.prose a { color: #2F6FB8; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--k-coral); box-shadow: 0 0 0 3px rgba(235,111,103,.2); outline: 0; }

/* ticker strip under the header */
.ticker, .is-home .ticker { background: #fff !important; border-bottom: 1px solid #e6eef5 !important; }

/* footer: dark navy like the contact bar, coloured column headings */
.footer, .is-home .footer { background: #2f3a52 !important; border-top: 5px solid var(--k-coral) !important; color: #d7deec; }
.footer a, .footer p, .footer li, .footer small, .footer__about { color: #d7deec !important; }
.footer h2, .footer h3, .footer h4, .footer__title { color: #fff !important; font-family: var(--k-font); }
.footer a:hover { color: #fff !important; }
.footer__col:nth-child(2) h3, .footer__col:nth-child(2) h4 { color: var(--k-yellow) !important; }
.footer .footer__bar, .footer__bar { border-top: 1px solid rgba(255,255,255,.15) !important; background: transparent; }
.footer__contact .i { color: var(--k-yellow); }
.footer__contact li:nth-child(2) .i { color: var(--k-green); } .footer__contact li:nth-child(3) .i { color: var(--k-pink); } .footer__contact li:nth-child(4) .i { color: var(--k-coral); }
.footer .brand__logo, .footer img.brand__logo { background: #fff; border-radius: 12px; padding: .4rem .6rem; }

/* titles on the blue banner and the dark footer stay solid white (beats the gradient-title rule) */
.page-hero h1, .page-hero .page-hero__sub, .cta h2 { background-image: none !important; -webkit-text-fill-color: #fff !important; color: #fff !important; }
.footer h3 { background-image: none !important; -webkit-text-fill-color: #fff !important; color: #fff !important; font-family: var(--k-font); }
.footer__col:nth-child(2) h3 { -webkit-text-fill-color: var(--k-yellow) !important; color: var(--k-yellow) !important; }
.page-hero .crumbs, .page-hero .crumbs a, .page-hero .crumbs li, .page-hero .crumbs span { color: rgba(255,255,255,.92) !important; }

/* contact bar above the menu and the footer: same theme blue (not dark navy) */
.topbar, .is-home .topbar { background: #5E9FC2 !important; color: #fff; }
.topbar a, .topbar li { color: #fff !important; }
.topbar__contact li .i { color: #fff !important; }
.topbar .disclosure { background: var(--k-yellow) !important; color: #3a2b00 !important; }
.topbar .social a { background: rgba(255,255,255,.22) !important; }
.topbar .social li .i { color: #fff !important; }
.footer, .is-home .footer { background: #5E9FC2 !important; border-top: 5px solid var(--k-coral) !important; color: #fff; }
.footer a, .footer p, .footer li, .footer small, .footer__about { color: #fff !important; }
.footer .footer__bar, .footer__bar { border-top: 1px solid rgba(255,255,255,.3) !important; }
.footer__contact .i, .footer__contact li:nth-child(n) .i { color: #fff !important; }
.footer__col:nth-child(2) h3 { -webkit-text-fill-color: #fff !important; color: #fff !important; }
.footer__links a:hover { text-decoration: underline; }

/* disclosure pill in the contact bar: back to the original white pill */
.topbar .disclosure { background: #fff !important; color: #16305a !important; border: 1px solid #e3e8f1 !important; }
.topbar .disclosure .i { color: #16305a !important; }

/* titles inside panels / cards: a little bigger (the rounded font looks smaller at the same size) */
.trio__body h3 { font-size: 1.6rem; line-height: 1.2; }
.card__body h3, .card h3 { font-size: 1.35rem; line-height: 1.25; }
.feature h3 { font-size: 1.4rem; }
.step h3 { font-size: 1.35rem; }
.person h3, .teacher h3, .leader h3 { font-size: 1.3rem; }
.news-row strong { font-size: 1.15rem; line-height: 1.3; }
.doc-tile strong { font-size: 1.1rem; }
.is-home .quick__item strong { font-size: 1.2rem; }
.enquiry-strip h2 { font-size: 1.6rem; }

/* maps: placeholders until loaded (Google Maps is heavy) */
.map-full { min-height: 380px; background: #EAF5FA; }
.map-mini { min-height: 170px; border-radius: 12px; overflow: hidden; background: rgba(255,255,255,.18); }
.map-mini__btn { width: 100%; height: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem; border: 2px dashed rgba(255,255,255,.7); border-radius: 12px; background: transparent; color: #fff; cursor: pointer; font: inherit; }
.map-mini__btn:hover { background: rgba(255,255,255,.16); }
.map-mini__btn .i { width: 1.6rem; height: 1.6rem; }
.map-mini__btn small { opacity: .9; }
.map-mini__wait { display: flex; align-items: center; justify-content: center; height: 170px; color: rgba(255,255,255,.9); font-size: .9rem; }
