/* ============================================================
   SKS WORLD SCHOOL — VIBRANT THEME
   Approved brand direction 2026
   Replaces the Warm theme. Layout/structure unchanged.
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Karla:wght@300;400;500&display=swap');

/* ── Design tokens ── */
:root{
  /* Four brand colours */
  --brick:    #A83B33;   /* hero, headings, links          */
  --navy:     #225E87;   /* utility bar, quote bands, tables */
  --emerald:  #2E7D4E;   /* CTAs, admissions bands         */
  --ochre:    #A8874E;   /* stat numbers, accents, hairlines */

  /* Derived shades */
  --brick-dark:   #8a2f28;
  --emerald-dark: #24663f;
  --ochre-dark:   #8a6c3a;
  --navy-dark:    #1a4a6a;

  /* Surfaces */
  --paper:     #FBF8F3;  /* main page background           */
  --paper-alt: #F3EDE2;  /* alternating section bands      */
  --surface:   #ffffff;  /* card backgrounds               */

  /* Text */
  --ink:       #1F211E;  /* body text, footer, stats band  */
  --ink-soft:  #5a5c57;
  --hairline:  #E0D7C6;  /* all 1px borders/dividers       */

  /* Typography */
  --font-display: 'Marcellus', Georgia, serif;
  --font-body:    'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(31,33,30,.07);
  --shadow-md: 0 4px 16px rgba(31,33,30,.09);
  --shadow-lg: 0 12px 32px rgba(31,33,30,.12);
}

/* ── Reset ── */
*{box-sizing:border-box;margin:0;padding:0;}
body{
  font-family:var(--font-body);
  font-size:17px;
  font-weight:400;
  line-height:1.65;
  color:var(--ink);
  background:var(--paper);
}
a{color:inherit;text-decoration:none;}
img{display:block;max-width:100%;}

/* ── Global typography ── */
h1,h2,h3,h4,h5,h6{
  font-family:var(--font-display);
  font-weight:400;
  color:var(--brick);
  line-height:1.15;
}
p,li,label,input,select,textarea,button,td,th,small,span{
  font-family:var(--font-body);
}

/* ── Layout helpers ── */
.wrap{max-width:1180px;margin:0 auto;padding:0 24px;}

/* ── Eyebrow labels ── */
.eyebrow{
  display:block;
  font-family:var(--font-body);
  font-size:11.5px;
  font-weight:500;
  letter-spacing:.28em;
  text-transform:uppercase;
  color:var(--brick);
}

/* ── Four-stripe signature device ── */
/* Standard — under every section heading, 120 px wide */
.stripe{
  display:block;
  width:120px;
  height:5px;
  margin-top:10px;
  background:linear-gradient(to right,
    var(--brick)    0%   25%,
    var(--navy)    25%   50%,
    var(--emerald) 50%   75%,
    var(--ochre)   75%  100%
  );
}
/* Centred — under pull quotes / testimonials, 88 px × 7 px */
.stripe-quote{
  display:block;
  width:88px;
  height:7px;
  margin:12px auto 0;
  background:linear-gradient(to right,
    var(--brick)    0%   25%,
    var(--navy)    25%   50%,
    var(--emerald) 50%   75%,
    var(--ochre)   75%  100%
  );
}
/* Full-width — above the footer */
.stripe-footer{
  display:block;
  width:100%;
  height:5px;
  background:linear-gradient(to right,
    var(--brick)    0%   25%,
    var(--navy)    25%   50%,
    var(--emerald) 50%   75%,
    var(--ochre)   75%  100%
  );
}

/* Stripe injection via pseudo-elements on section-head */
.section-head h2::after,
.section-head h3::after{
  content:'';
  display:block;
  width:120px;
  height:5px;
  margin-top:10px;
  background:linear-gradient(to right,
    var(--brick)    0%   25%,
    var(--navy)    25%   50%,
    var(--emerald) 50%   75%,
    var(--ochre)   75%  100%
  );
}
.section-head.center h2::after,
.section-head.center h3::after{
  margin-left:auto;
  margin-right:auto;
}

/* ── Buttons ── */
.btn{
  display:inline-block;
  padding:14px 28px;
  border-radius:3px;
  font-family:var(--font-body);
  font-size:13.5px;
  font-weight:500;
  letter-spacing:.14em;
  text-transform:uppercase;
  text-decoration:none;
  cursor:pointer;
  transition:background .18s ease, color .18s ease, border-color .18s ease;
}
/* Primary CTA — emerald (admissions / every action) */
.btn-gold{
  background:var(--emerald);
  color:#fff;
  border:none;
}
.btn-gold:hover{background:var(--emerald-dark);}

/* Outline variant */
.btn-outline{
  border:1.5px solid var(--brick);
  color:var(--brick);
  background:transparent;
}
.btn-outline:hover{background:var(--brick);color:#fff;}

/* Outline on dark hero background */
.hero-carousel .btn-outline{border-color:rgba(251,248,243,.7);color:#FBF8F3;}
.hero-carousel .btn-outline:hover{background:rgba(251,248,243,.15);}

/* ── Sections ── */
.section{padding:64px 24px;}
.section.alt{background:var(--paper-alt);}
.section.deep{
  background:var(--surface);
  color:var(--ink);
  border-top:1px solid var(--hairline);
  border-bottom:1px solid var(--hairline);
}
.section.deep h2{color:var(--brick);}

.section-head{max-width:660px;margin:0 auto 40px;}
.section-head.center{text-align:center;}
.section-head h2{
  font-size:clamp(28px,3.2vw,42px);
  line-height:1.15;
  margin-top:6px;
}
.section-head p{color:var(--ink-soft);margin-top:12px;font-size:15px;font-family:var(--font-body);}
.deep .section-head p{color:var(--ink-soft);}

/* ── Hero carousel ── */
.hero-carousel{
  position:relative;overflow:hidden;
  background:var(--brick);
}
.carousel-slide{
  position:absolute;inset:0;opacity:0;visibility:hidden;
  transition:opacity 1.1s ease-in-out, visibility 0s linear 1.1s;
  z-index:1;
}
.carousel-slide.is-active{
  opacity:1;visibility:visible;z-index:2;
  transition:opacity 1.1s ease-in-out;
}
.slide-media{position:absolute;inset:0;overflow:hidden;}
.slide-media .kb{
  position:absolute;top:50%;left:50%;width:110%;height:110%;
  object-fit:cover;transform:translate(-50%,-50%) scale(1);
}
.carousel-slide.is-active .slide-media .kb{animation:kenburns 7s ease-out forwards;}
@keyframes kenburns{
  from{transform:translate(-50%,-50%) scale(1);}
  to{transform:translate(-50%,-50%) scale(1.12);}
}
@media (prefers-reduced-motion:reduce){
  .carousel-slide.is-active .slide-media .kb{animation:none;}
}
/* Brick-to-navy wash at ~40% — per brand doc */
.slide-overlay{
  position:absolute;inset:0;
  background:linear-gradient(160deg,
    rgba(168,59,51,.55)  0%,
    rgba(34,94,135,.45)  60%,
    rgba(34,94,135,.55) 100%
  );
}

/* Arch decor — tinted brick */
.hero-arch-decor{position:absolute;inset:0;z-index:2;overflow:hidden;pointer-events:none;}
.hero-arch-decor .arch{position:absolute;bottom:0;background:var(--brick);opacity:.22;border-radius:999px 999px 0 0;}
.hero-arch-decor .arch-1{right:6%;width:150px;height:320px;}
.hero-arch-decor .arch-2{right:20%;width:130px;height:260px;}
.hero-arch-decor .arch-3{right:32%;width:110px;height:400px;}
@media (max-width:900px){.hero-arch-decor{display:none;}}

.carousel-arrow{display:none;}
.carousel-dots{
  position:absolute;bottom:26px;left:0;right:0;z-index:5;
  display:flex;justify-content:center;gap:9px;
}
.carousel-dots button{
  width:9px;height:9px;border-radius:50%;border:none;
  background:rgba(255,255,255,.40);cursor:pointer;padding:0;
  transition:width .25s ease,background .25s ease;
}
.carousel-dots button.is-active{background:var(--ochre);width:26px;border-radius:5px;}

/* Hero grid */
.hero-grid{
  position:relative;z-index:10;
  max-width:1180px;margin:0 auto;
  display:grid;grid-template-columns:1.5fr 1fr;gap:44px;
  align-items:start;padding:56px 24px;
}
.hero-grid > div:first-child{position:relative;}
.hero-grid > div:first-child::before{
  content:'';
  position:absolute;inset:-20px -28px -20px -28px;
  background:linear-gradient(135deg,rgba(20,10,8,.62) 0%,rgba(30,15,10,.54) 60%,rgba(30,15,10,.28) 100%);
  border-radius:6px;z-index:-1;pointer-events:none;
}
.hero-title{
  font-family:var(--font-display);
  color:#FBF8F3;
  font-size:clamp(28px,3.6vw,42px);
  font-weight:400;
  line-height:1.25;
  text-shadow:0 1px 6px rgba(0,0,0,.55);
}
.hero-desc{
  color:#F3EDE2;margin-top:16px;font-size:15.5px;
  max-width:560px;text-shadow:0 1px 4px rgba(0,0,0,.65);
  font-family:var(--font-body);
}
.trust-list{
  margin-top:26px;display:grid;grid-template-columns:repeat(2,1fr);
  align-items:start;gap:12px;padding:0;
}
@media (max-width:640px){.trust-list{grid-template-columns:1fr;}}
.trust-list li{
  list-style:none;display:flex;align-items:center;gap:8px;
  color:#FBF8F3;font-size:13.5px;font-weight:500;
  font-family:var(--font-body);
  background:rgba(168,59,51,.50);border:1px solid rgba(251,248,243,.22);
  border-radius:999px;padding:7px 16px 7px 7px;
}
.trust-icon{
  width:22px;height:22px;border-radius:50%;background:var(--ochre);
  display:flex;align-items:center;justify-content:center;flex:0 0 auto;
}
.trust-icon svg{width:12px;height:12px;color:#fff;}
@media (max-width:560px){
  .trust-list{gap:10px 12px;}
  .trust-list li{font-size:12.5px;padding:6px 13px 6px 6px;gap:6px;}
  .trust-icon{width:19px;height:19px;}
  .trust-icon svg{width:10px;height:10px;}
}
.hero-cta{margin-top:28px;}
.hero-cta .fine{color:rgba(243,237,226,.7);font-size:12px;margin-top:10px;font-family:var(--font-body);}

/* Hero card */
.hero-card{
  background:var(--surface);border-radius:8px;
  box-shadow:var(--shadow-lg);padding:26px;
}
.hero-card h3{
  font-family:var(--font-display);font-size:17px;
  color:var(--brick);margin-bottom:14px;
}
.hero-card .stat-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.hero-card .stat{
  background:var(--ink);border-radius:6px;
  padding:14px;text-align:center;
}
.hero-card .stat h4{
  font-family:var(--font-display);font-size:22px;
  color:var(--ochre);font-weight:400;
}
.hero-card .stat p{
  font-size:11px;color:#8a8880;margin-top:2px;
  text-transform:uppercase;letter-spacing:.04em;
  font-family:var(--font-body);
}

/* ── Utility bar — navy ── */
.site-utility-bar{
  background:var(--navy);
  color:#d4e8f5;
  font-size:12px;font-weight:500;
  font-family:var(--font-body);
  letter-spacing:.03em;
  padding:6px 24px;
}
.utility-bar-inner{
  max-width:1180px;margin:0 auto;
  display:flex;align-items:center;justify-content:space-between;
  gap:16px;flex-wrap:wrap;
}
.utility-bar-left{display:flex;align-items:center;gap:18px;}
.utility-bar-right{display:flex;align-items:center;gap:18px;}
.utility-bar-item{color:#d4e8f5;opacity:.9;}
.utility-bar-item a{color:var(--ochre);text-decoration:none;transition:color .18s;}
.utility-bar-item a:hover{color:#FBF8F3;}
@media (max-width:640px){
  .utility-bar-right{display:none;}
  .site-utility-bar{padding:5px 16px;}
}

/* ── Header nav ── */
.header-inner{
  max-width:1180px;margin:0 auto;
  display:flex;align-items:center;justify-content:space-between;
  gap:20px;padding:7px 24px;flex-wrap:wrap;
}
.brand-lockup{display:flex;flex-direction:column;align-items:flex-start;row-gap:6px;}
/* The logo sits on a white card so its white background reads as intentional
   on the red header. */
.logo-plate{
  background:#fff;border-radius:12px;
  padding:8px 10px;display:inline-flex;align-items:center;
  box-shadow:0 6px 18px rgba(60,12,10,.22),0 1px 3px rgba(60,12,10,.18);
}
.logo-mark{height:48px;width:auto;object-fit:contain;display:block;}
/* Invisible twin of the tagline above the card, so the card (not card +
   tagline) is what lines up with the nav when the header centres its items. */
.brand-lockup::before,
.brand-lockup small{
  font-family:var(--font-body);font-size:10.5px;line-height:1.3;
  letter-spacing:.08em;
}
.brand-lockup::before{content:"\200b";display:block;visibility:hidden;}
.brand-lockup small{
  display:block;color:var(--ink-soft);font-weight:500;
  text-transform:uppercase;
}
.header-cta{display:flex;align-items:center;gap:10px;}
.header-cta .icon{
  width:38px;height:38px;border-radius:50%;
  background:var(--emerald);color:#fff;
  display:flex;align-items:center;justify-content:center;
  flex:0 0 auto;font-size:16px;
}
.header-cta .txt small{
  display:block;font-size:11px;color:var(--ink-soft);
  font-weight:500;text-transform:uppercase;letter-spacing:.03em;
  font-family:var(--font-body);
}
.header-cta .txt strong{
  font-size:15px;color:var(--ink);
  font-family:var(--font-body);font-weight:500;
}

/* ── Primary nav ── */
.site-nav{flex:0 0 auto;}
.nav-list{list-style:none;display:flex;align-items:center;gap:22px;}
.nav-item{position:relative;}
.nav-link{
  font-family:var(--font-body);font-size:14px;font-weight:500;
  color:var(--ink);display:inline-flex;align-items:center;padding:8px 2px;
}
.dropdown-trigger{
  display:flex;align-items:center;gap:6px;
  background:none;border:none;padding:8px 2px;cursor:pointer;
  font-family:var(--font-body);font-size:14px;font-weight:500;color:var(--ink);
}
.nav-link.is-active,.dropdown-trigger.is-active{
  color:var(--brick);box-shadow:inset 0 -2px 0 var(--brick);
}
.dropdown-trigger .caret{
  font-size:10px;color:var(--ochre);
  transition:transform .18s ease;
}
.nav-item.has-dropdown.open .dropdown-trigger .caret,
.dropdown-trigger[aria-expanded="true"] .caret{transform:rotate(180deg);}

.dropdown-menu{
  list-style:none;margin:0;padding:8px 0;
  position:absolute;top:100%;left:0;min-width:290px;
  background:var(--surface);border:1px solid var(--hairline);
  border-radius:10px;box-shadow:var(--shadow-md);
  opacity:0;visibility:hidden;transform:translateY(-6px);
  transition:opacity .18s ease,transform .18s ease,visibility .18s;
  z-index:70;
}
.dropdown-menu a{
  display:block;padding:.65rem 1.1rem;
  color:var(--ink-soft);font-size:13.5px;font-weight:500;
  font-family:var(--font-body);
}
.dropdown-menu a:hover,.dropdown-menu a:focus-visible{
  background:#f0f7f2;color:var(--emerald);
}
.nav-item.has-dropdown.open .dropdown-menu,
.dropdown-trigger[aria-expanded="true"] + .dropdown-menu{
  opacity:1;visibility:visible;transform:translateY(0);
}
@media (hover:hover) and (pointer:fine){
  .nav-item.has-dropdown:hover .dropdown-menu{
    opacity:1;visibility:visible;transform:translateY(0);
  }
}

@media (max-width:960px){
  .nav-list{display:block;width:100%;}
  .nav-link{width:100%;padding:10px 2px;font-size:13.5px;}
  .dropdown-trigger{width:100%;justify-content:space-between;padding:10px 2px;font-size:13.5px;}
  .dropdown-menu{
    position:static;min-width:0;width:100%;border:none;box-shadow:none;
    background:transparent;opacity:1;visibility:visible;transform:none;
    padding:0;max-height:0;overflow:hidden;transition:max-height .25s ease;
  }
  .nav-item.has-dropdown.open .dropdown-menu{max-height:400px;padding-bottom:6px;}
  .dropdown-menu a{padding:.55rem .5rem .55rem 1rem;border-left:2px solid var(--hairline);font-size:13px;}
  .dropdown-menu a:hover,.dropdown-menu a:focus-visible{
    background:transparent;border-left-color:var(--emerald);color:var(--emerald);
  }
}
@media (max-width:480px){
  .nav-link{font-size:12.5px;}
  .dropdown-trigger{font-size:12.5px;}
}

/* ── Theme toggle — kept in DOM for JS; styled neutrally ── */
.theme-toggle{
  display:flex;align-items:center;background:var(--paper);
  border:1px solid var(--hairline);border-radius:999px;
  padding:3px;gap:2px;flex:0 0 auto;
}
.theme-toggle-btn{
  border:none;background:transparent;padding:7px 14px;border-radius:999px;
  font-size:12.5px;font-weight:500;color:var(--ink-soft);
  cursor:pointer;font-family:var(--font-body);
  transition:background .2s ease,color .2s ease;
}
.theme-toggle-btn.is-active{
  background:var(--surface);color:var(--brick);box-shadow:var(--shadow-sm);
}

/* ── Responsive header ── */
@media (max-width:960px){
  .header-inner{
    display:grid;grid-template-columns:1fr auto;
    grid-template-areas:"brand cta" "nav nav";
    padding:10px 16px;column-gap:10px;row-gap:8px;
  }
  .brand-lockup{grid-area:brand;justify-self:start;}
  .header-cta{grid-area:cta;justify-self:end;}
  .site-nav{grid-area:nav;width:100%;}
  .logo-mark{height:40px;}
  .logo-plate{padding:7px 9px;border-radius:10px;}
  /* Nav moves to its own row here, so the card only has to line up with the
     helpline button: drop the spacer and top-align the button with the card
     (both are ~54px tall), leaving the tagline below. */
  .brand-lockup::before{display:none;}
  .header-cta{align-self:start;}
  .header-cta{gap:8px;padding:5px 0;min-height:44px;box-sizing:border-box;}
  .header-cta .icon{width:36px;height:36px;font-size:15px;}
  .header-cta .txt small{font-size:9px;}
  .header-cta .txt strong{font-size:12.5px;}
  .theme-toggle-btn{padding:6px 10px;font-size:11px;}
}
@media (max-width:480px){
  .brand-lockup small,
  .brand-lockup::before{display:none;}
  .header-cta{align-self:center;}
  .logo-mark{height:34px;}
  .logo-plate{padding:6px 8px;border-radius:10px;box-shadow:0 4px 12px rgba(60,12,10,.22),0 1px 2px rgba(60,12,10,.16);}
  .header-cta .txt strong{font-size:11.5px;}
  .theme-toggle-btn{padding:6px 8px;font-size:10px;}
}

/* ── About grid ── */
.about-grid{
  max-width:1180px;margin:0 auto;
  display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;
}
.about-grid p{color:var(--ink);margin-top:14px;font-size:15px;font-family:var(--font-body);}
.highlight-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;}
.highlight-card{
  background:var(--ink);border-radius:8px;
  padding:18px;text-align:center;
}
.highlight-card h4{
  font-family:var(--font-display);font-size:24px;
  color:var(--ochre);font-weight:400;
}
.highlight-card p{
  font-size:11px;color:#8a8880;margin-top:4px;
  text-transform:uppercase;letter-spacing:.04em;
  font-family:var(--font-body);
}

/* ── Feature / Why-Choose cards ── */
.feature-grid{
  max-width:1180px;margin:0 auto;
  display:grid;grid-template-columns:repeat(3,1fr);gap:22px;
}
.feature-card{
  background:var(--surface);border:1px solid var(--hairline);
  border-radius:8px;border-top:3px solid var(--brick);
  overflow:hidden;box-shadow:var(--shadow-sm);
}
.feature-card-img{width:100%;aspect-ratio:4/3;height:auto;object-fit:cover;object-position:center;display:block;}
.feature-card-body{padding:16px 26px 26px;}
.feature-card h3{font-size:17px;margin-bottom:8px;color:var(--brick);}
.feature-card p{font-size:13.5px;color:var(--ink);font-family:var(--font-body);}

/* ── Course / Class selector tabs ── */
.course-tabs{max-width:1180px;margin:0 auto;}
.tab-input{display:none;}
.tab-labels{
  display:flex;flex-wrap:wrap;gap:8px;
  margin-bottom:0;border-bottom:2px solid var(--hairline);
}
.tab-labels label{
  padding:14px 18px;font-size:13.5px;font-weight:500;
  font-family:var(--font-body);
  color:var(--ink-soft);cursor:pointer;
  border-bottom:3px solid transparent;margin-bottom:-2px;
}
.tab-panels{
  background:var(--surface);border:1px solid var(--hairline);
  border-top:none;padding:32px;border-radius:0 0 8px 8px;
}
.tab-panel{display:none;}
.tab-panel h3{font-size:20px;margin-bottom:10px;color:var(--brick);}
.tab-panel p.desc{
  color:var(--ink);font-size:14.5px;margin-bottom:18px;max-width:680px;
  font-family:var(--font-body);
}
.meta-row{display:flex;gap:24px;flex-wrap:wrap;margin-bottom:20px;}
.meta-item{font-size:13px;font-family:var(--font-body);}
.meta-item strong{display:block;color:var(--brick);font-family:var(--font-display);font-size:15px;}
.career-list{
  display:grid;grid-template-columns:repeat(2,1fr);
  gap:8px 20px;margin-bottom:22px;
}
.career-list li{
  list-style:none;font-size:13.5px;
  padding-left:18px;position:relative;
  color:var(--ink);font-family:var(--font-body);
}
.career-list li::before{
  content:"\203A";position:absolute;left:0;
  color:var(--ochre);font-weight:700;
}

/* CSS tab activation */
#t1:checked ~ .tab-labels label[for="t1"],
#t2:checked ~ .tab-labels label[for="t2"],
#t3:checked ~ .tab-labels label[for="t3"],
#t4:checked ~ .tab-labels label[for="t4"]{
  color:var(--brick);border-bottom-color:var(--ochre);
}
#t1:checked ~ .tab-panels #p1,
#t2:checked ~ .tab-panels #p2,
#t3:checked ~ .tab-panels #p3,
#t4:checked ~ .tab-panels #p4{display:block;}

/* ── Timeline (Admission Process) ── */
.timeline{max-width:760px;margin:0 auto;position:relative;padding-left:44px;}
.timeline::before{
  content:'';position:absolute;left:17px;top:6px;bottom:6px;
  width:2px;background:var(--hairline);
}
.tl-step{position:relative;padding-bottom:34px;}
.tl-step:last-child{padding-bottom:0;}
.tl-num{
  position:absolute;left:-44px;top:0;
  width:36px;height:36px;border-radius:50%;
  background:var(--brick);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-family:var(--font-display);font-weight:400;font-size:15px;
}
.tl-step h3{font-size:16.5px;margin-bottom:4px;color:var(--brick);}
.tl-step p{font-size:13.5px;color:var(--ink);font-family:var(--font-body);}

/* ── Eligibility table — navy header ── */
.elig-table{
  max-width:900px;margin:0 auto 28px;width:100%;
  border-collapse:collapse;background:var(--surface);
  border-radius:8px;overflow:hidden;
  box-shadow:0 1px 0 var(--hairline);
}
.elig-table th,.elig-table td{
  padding:14px 18px;text-align:left;
  font-size:13.5px;border-bottom:1px solid var(--hairline);
  font-family:var(--font-body);
}
.elig-table th{
  background:var(--navy);color:#fff;font-weight:500;
  font-size:12.5px;text-transform:uppercase;letter-spacing:.03em;
}
.elig-table tr:last-child td{border-bottom:none;}
.elig-note{
  max-width:760px;margin:0 auto 28px;text-align:center;
  color:var(--ink);font-size:14px;font-family:var(--font-body);
}

/* ── Pending callout ── */
.pending-callout{
  max-width:760px;margin:32px auto 0;
  background:var(--paper);border:1.5px dashed var(--hairline);
  border-radius:10px;padding:22px 24px;text-align:left;
}
.pending-callout .pending-label{
  display:inline-block;font-size:10.5px;font-weight:500;
  letter-spacing:.08em;text-transform:uppercase;
  color:var(--ochre);background:#f7f0e4;
  padding:3px 10px;border-radius:999px;margin-bottom:12px;
  font-family:var(--font-body);
}
.pending-callout h3{font-family:var(--font-display);font-size:18px;color:var(--brick);margin-bottom:10px;}
.pending-callout p{color:var(--ink-soft);font-size:14px;line-height:1.6;font-family:var(--font-body);}
.pending-callout ul{margin:12px 0 0;padding-left:20px;color:var(--ink-soft);font-size:14px;line-height:1.6;font-family:var(--font-body);}
.pending-callout ul li + li{margin-top:6px;}

/* ── Chips ── */
.chip-row{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;max-width:820px;margin:0 auto;}
.chip{
  background:var(--surface);border:1px solid var(--hairline);
  padding:9px 16px;border-radius:20px;font-size:13px;
  font-weight:500;color:var(--brick);font-family:var(--font-body);
}

/* ── Institution / network grid ── */
.institution-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  gap:14px;max-width:900px;margin:0 auto;
}
.institution-box{
  background:var(--surface);border:1px solid var(--hairline);
  border-radius:10px;padding:18px 14px;text-align:center;
  font-family:var(--font-display);font-size:14px;font-weight:400;
  color:var(--brick);box-shadow:var(--shadow-sm);
  display:flex;align-items:center;justify-content:center;min-height:70px;
}
.institution-box.more{
  font-family:var(--font-body);font-weight:500;font-size:13px;
  color:var(--ink-soft);border-style:dashed;background:var(--paper);box-shadow:none;
}

/* ── Approval badge grid ── */
.approval-grid{
  display:grid;grid-template-columns:repeat(4,1fr);
  gap:14px;max-width:1180px;margin:0 auto;
}
.approval-grid .badge-card{
  background:var(--surface);border:1px solid var(--hairline);
  border-radius:8px;padding:16px 14px;text-align:center;
  box-shadow:var(--shadow-sm);
  display:flex;align-items:center;justify-content:center;min-height:64px;
}
.approval-grid .badge-card p{
  font-size:13px;font-weight:500;color:var(--brick);
  margin:0;line-height:1.35;font-family:var(--font-body);
}
@media (max-width:768px){.approval-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:480px){.approval-grid{grid-template-columns:1fr;}}

/* ── Section spacing variants ── */
.section.compact{padding:36px 24px;}
.section.compact .section-head{margin-bottom:22px;}
.section.snug{padding:48px 24px;}
.legacy-timeline + .prose{margin-top:32px;}

/* ── Campus/Hospital USP list ── */
.hosp-list{max-width:900px;margin:32px auto 0;display:grid;gap:14px;}
.hosp-list li{
  list-style:none;font-size:14px;color:var(--ink);
  padding:14px 18px 14px 46px;position:relative;
  background:var(--surface);border:1px solid var(--hairline);border-radius:8px;
  font-family:var(--font-body);
}
.hosp-list li strong{color:var(--brick);}
.hosp-list li::before{
  content:"+";position:absolute;left:16px;top:12px;
  color:var(--emerald);font-weight:700;font-size:18px;
}

/* ── Regs / curriculum cards ── */
.regs-grid{max-width:980px;margin:0 auto;display:grid;gap:24px;}
.regs-card{
  background:var(--surface);border:1px solid var(--hairline);
  border-radius:8px;padding:22px 24px;
}
.regs-card h3{font-size:16px;margin-bottom:8px;color:var(--brick);}
.regs-card p{font-size:13.5px;color:var(--ink);font-family:var(--font-body);}

/* ── Exam table — navy header ── */
.exam-table{
  width:100%;border-collapse:collapse;
  background:var(--surface);border-radius:8px;overflow:hidden;margin-top:8px;
}
.exam-table th,.exam-table td{
  padding:11px 16px;text-align:left;
  font-size:13.5px;border-bottom:1px solid var(--hairline);
  font-family:var(--font-body);
}
.exam-table th{
  background:var(--navy);color:#fff;
  font-weight:500;font-size:12px;
  text-transform:uppercase;letter-spacing:.02em;
}
.exam-table tr:last-child td{border-bottom:none;}

/* ── Course meta panel ── */
.course-meta-panel{
  display:grid;gap:8px;margin-bottom:20px;
  padding:14px 18px;background:var(--paper-alt);border-radius:8px;
}
.course-meta-panel p{font-size:13.5px;color:var(--ink);font-family:var(--font-body);}
.course-meta-panel p strong{color:var(--brick);}

/* ── Syllabus list ── */
.syllabus-list{
  display:grid;grid-template-columns:repeat(2,1fr);
  gap:8px 20px;margin-bottom:22px;
}
.syllabus-list li{
  list-style:none;font-size:13.5px;
  padding-left:18px;position:relative;
  color:var(--ink);font-family:var(--font-body);
}
.syllabus-list li::before{
  content:"\2022";position:absolute;left:0;
  color:var(--brick);font-weight:700;
}

.tab-panel h4.sub-head{
  font-size:13.5px;text-transform:uppercase;letter-spacing:.03em;
  color:var(--emerald);margin-bottom:10px;
  font-family:var(--font-body);font-weight:500;
}
/* Full-width banner, same fixed height on every tab so switching tabs
   doesn't shift the layout. */
.tab-panel-media{width:100%;margin:0 0 24px;border-radius:16px;overflow:hidden;box-shadow:0 10px 28px rgba(0,0,0,.14),0 2px 6px rgba(0,0,0,.08);}
.course-tab-image{width:100%;height:380px;object-fit:cover;object-position:center;border-radius:16px;display:block;}
@media (max-width:640px){.course-tab-image{height:220px;}}

/* ── Gallery ── */
.gallery-filters{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-bottom:28px;}
.gallery-filters button{
  background:var(--surface);border:1px solid var(--hairline);
  padding:9px 18px;border-radius:20px;font-size:13px;
  font-weight:500;color:var(--ink-soft);
  cursor:pointer;font-family:var(--font-body);
}
.gallery-filters button.is-active{
  background:var(--brick);border-color:var(--brick);color:#fff;
}
.gallery-grid{
  max-width:1180px;margin:0 auto;
  display:grid;grid-template-columns:repeat(4,1fr);gap:16px;
}
.gallery-item{
  position:relative;border-radius:8px;overflow:hidden;
  aspect-ratio:4/3;cursor:pointer;display:block;
}
.gallery-item.is-hidden{display:none;}
.gallery-item img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease;}
.gallery-item:hover img{transform:scale(1.06);}
.gallery-item .gcap{
  position:absolute;inset:auto 0 0 0;padding:8px 10px;
  background:linear-gradient(180deg,rgba(34,94,135,0),rgba(34,94,135,.82));
  color:#fff;font-size:11.5px;font-weight:500;
  font-family:var(--font-body);
  opacity:0;transition:opacity .25s ease;
}
.gallery-item:hover .gcap{opacity:1;}
.gallery-item.video-item::after{
  content:"\25B6";position:absolute;top:50%;left:50%;
  transform:translate(-50%,-50%);width:44px;height:44px;border-radius:50%;
  background:rgba(255,255,255,.9);color:var(--brick);
  display:flex;align-items:center;justify-content:center;font-size:16px;
}
@media (max-width:960px){.gallery-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:560px){
  .gallery-grid{grid-template-columns:1fr;}
  .gallery-filters{flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;padding-bottom:4px;}
  .gallery-filters button{flex:0 0 auto;}
}
.lightbox-overlay{
  display:none;position:fixed;inset:0;
  background:rgba(34,94,135,.92);z-index:300;
  align-items:center;justify-content:center;padding:24px;
}
.lightbox-overlay.is-open{display:flex;}
.lightbox-overlay img{max-width:100%;max-height:88vh;border-radius:6px;display:block;}
.lightbox-close{
  position:absolute;top:20px;right:24px;font-size:32px;
  color:#fff;background:none;border:none;cursor:pointer;line-height:1;
}
.lightbox-caption{color:#F3EDE2;font-size:13px;text-align:center;margin-top:10px;font-family:var(--font-body);}

/* ── Video wrap ── */
.video-wrap{
  max-width:900px;margin:0 auto;position:relative;
  aspect-ratio:16/9;border-radius:8px;overflow:hidden;
  box-shadow:0 24px 48px rgba(0,0,0,.22);background:var(--navy);
}
@supports not (aspect-ratio:16/9){
  .video-wrap{height:0;padding-bottom:56.25%;}
}
.video-wrap iframe,.video-wrap video{
  position:absolute;inset:0;width:100%;height:100%;border:0;object-fit:cover;
}

/* ── Testimonials — navy band ── */
.testi-grid{
  max-width:1180px;margin:0 auto;
  display:grid;grid-template-columns:repeat(3,1fr);gap:20px;
}
.testi-card{
  background:var(--navy);border-radius:8px;
  padding:24px;text-align:center;color:#d4e8f5;font-size:13.5px;
  font-family:var(--font-body);
}
.testi-card .avatar{
  width:44px;height:44px;border-radius:50%;
  background:rgba(255,255,255,.12);
  margin:0 auto 12px;
  display:flex;align-items:center;justify-content:center;
}
.testi-card .avatar svg{width:22px;height:22px;color:#d4e8f5;}
.testi-card::after{
  content:'';display:block;
  width:88px;height:7px;margin:14px auto 0;
  background:linear-gradient(to right,
    var(--brick)    0%   25%,
    var(--navy)    25%   50%,
    var(--emerald) 50%   75%,
    var(--ochre)   75%  100%
  );
}

/* ── FAQ accordion ── */
.faq-list{max-width:820px;margin:0 auto;}
.faq-item{border-bottom:1px solid var(--hairline);}
.faq-item summary{
  padding:18px 4px;font-weight:500;font-size:14.5px;
  cursor:pointer;color:var(--brick);
  list-style:none;display:flex;justify-content:space-between;align-items:center;
  font-family:var(--font-body);
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{content:"+";font-size:20px;color:var(--ochre);font-weight:400;}
.faq-item[open] summary::after{content:"\2013";}
.faq-item p{padding:0 4px 18px;color:var(--ink);font-size:13.5px;font-family:var(--font-body);}

/* ── Final CTA ── */
.final-cta{max-width:760px;margin:0 auto;text-align:center;}
.final-cta h2{color:var(--brick);font-size:clamp(24px,3vw,30px);}
.final-cta p{color:var(--ink);margin:14px 0 26px;font-size:15px;font-family:var(--font-body);}

/* ── Enquiry form / map ── */
.enquiry-grid{
  max-width:1180px;margin:0 auto;
  display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:stretch;
}
.enquiry-form-card{
  background:var(--surface);border:1px solid var(--hairline);
  border-radius:8px;padding:28px;box-shadow:var(--shadow-md);
}
.enquiry-form-card h3{font-size:18px;margin-bottom:16px;color:var(--brick);}
.enquiry-map{border-radius:8px;overflow:hidden;box-shadow:0 4px 14px rgba(0,0,0,.06);min-height:400px;}
.enquiry-map iframe{width:100%;height:100%;display:block;}
@media (max-width:900px){
  .enquiry-grid{grid-template-columns:1fr;}
  .enquiry-map{min-height:320px;}
}

/* ── Footer — ink background with full-width stripe above ── */
footer.site-footer{
  background:var(--ink);
  color:#9a9a94;
  padding:0 0 96px;
}
/* Full-width four-stripe sits right at the top of the footer */
footer.site-footer::before{
  content:'';display:block;width:100%;height:5px;
  background:linear-gradient(to right,
    var(--brick)    0%   25%,
    var(--navy)    25%   50%,
    var(--emerald) 50%   75%,
    var(--ochre)   75%  100%
  );
}
.footer-grid{
  max-width:1180px;margin:0 auto;
  display:grid;grid-template-columns:1.2fr .9fr .9fr .9fr 1.2fr;
  gap:26px;font-size:13.5px;padding:40px 24px 0;
}
.footer-grid h5{
  color:#fff;font-size:12.5px;letter-spacing:.05em;
  text-transform:uppercase;margin-bottom:10px;
  font-family:var(--font-body);font-weight:500;
}
.footer-grid p{line-height:1.7;font-family:var(--font-body);}
.footer-links{list-style:none;display:flex;flex-direction:column;gap:8px;margin-top:4px;}
.footer-links a{color:#9a9a94;transition:color .18s ease;font-family:var(--font-body);}
.footer-links a:hover,.footer-links a:focus-visible{color:var(--ochre);}
.footer-social{display:flex;gap:10px;margin-top:16px;}
.footer-social a{
  width:34px;height:34px;border-radius:50%;
  background:rgba(255,255,255,.08);
  display:flex;align-items:center;justify-content:center;color:#fff;
  transition:background .18s ease,color .18s ease;
}
.footer-social a:hover,.footer-social a:focus-visible{
  background:var(--ochre);color:var(--ink);
}
.footer-social svg{width:16px;height:16px;}
.footer-bottom{
  max-width:1180px;margin:26px auto 0;
  border-top:1px solid rgba(255,255,255,.08);padding:16px 24px 0;
  font-size:12px;color:#9a9a94;
  display:flex;justify-content:space-between;align-items:center;
  flex-wrap:wrap;gap:10px;font-family:var(--font-body);
}
.footer-bottom-links a{color:#9a9a94;transition:color .18s ease;font-family:var(--font-body);}
.footer-bottom-links a:hover,.footer-bottom-links a:focus-visible{color:var(--ochre);}
.footer-bottom-links span{margin:0 6px;}

/* ── Stats band — ink bg, ochre numbers ── */
.hero-card .stat{background:var(--ink);}
.hero-card .stat h4{color:var(--ochre);}

/* ── Mobile sticky bar ── */
.mobile-sticky-bar{
  position:fixed;left:0;right:0;bottom:0;
  background:var(--emerald);display:none;z-index:99;
  box-shadow:0 -8px 16px rgba(0,0,0,.18);
}
.mobile-sticky-bar a{
  flex:1;text-align:center;color:#fff;text-decoration:none;
  font-weight:500;font-size:14px;padding:16px 0;display:block;
  font-family:var(--font-body);letter-spacing:.06em;text-transform:uppercase;
}
.mobile-sticky-bar a:first-child{border-right:1px solid rgba(255,255,255,.28);}

/* ── Floating call button ── */
.floating-call{
  position:fixed;right:26px;bottom:26px;z-index:120;
  background:var(--navy);color:#fff;
  padding:15px 24px;border-radius:30px;
  font-weight:500;font-size:14px;
  font-family:var(--font-body);
  box-shadow:0 10px 24px rgba(0,0,0,.22);
  display:flex;align-items:center;gap:8px;text-decoration:none;
}
.floating-call:hover{background:var(--navy-dark);}
.floating-call .ico{font-size:15px;}
@media (max-width:960px){.floating-call{display:none;}}

/* ── Scroll-triggered popup ── */
.scroll-popup-overlay{
  display:none;position:fixed;inset:0;
  background:rgba(34,94,135,.68);
  z-index:200;align-items:center;justify-content:center;padding:20px;
}
.scroll-popup-overlay.is-open{display:flex;}
.scroll-popup-box{
  background:var(--surface);border-radius:10px;
  max-width:420px;width:100%;padding:32px 28px 28px;
  position:relative;box-shadow:0 30px 70px rgba(0,0,0,.36);
  animation:popupIn .35s ease;
}
@keyframes popupIn{
  from{opacity:0;transform:translateY(14px) scale(.98);}
  to{opacity:1;transform:translateY(0) scale(1);}
}
.scroll-popup-close{
  position:absolute;top:14px;right:16px;font-size:24px;line-height:1;
  cursor:pointer;color:var(--ink-soft);background:none;border:none;
}
.scroll-popup-box .eyebrow{margin-bottom:6px;}
.scroll-popup-box h3{font-size:19px;margin-bottom:8px;color:var(--brick);}
.scroll-popup-box p.sub{font-size:13px;color:var(--ink-soft);margin-bottom:20px;font-family:var(--font-body);}
.scroll-popup-form{display:flex;flex-direction:column;gap:12px;}
.scroll-popup-form input,.scroll-popup-form select{
  width:100%;padding:12px 13px;
  border:1px solid var(--hairline);border-radius:5px;
  font-size:14px;font-family:var(--font-body);
}
.scroll-popup-form button{
  background:var(--emerald);color:#fff;border:none;
  padding:13px;border-radius:5px;font-size:15px;
  font-weight:500;cursor:pointer;margin-top:2px;
  font-family:var(--font-body);letter-spacing:.08em;text-transform:uppercase;
}
.scroll-popup-form button:hover{background:var(--emerald-dark);}
.scroll-popup-fine{
  font-size:11px;color:var(--ink-soft);text-align:center;
  margin-top:10px;font-family:var(--font-body);
}

/* ── Responsive layout breakpoints ── */
@media (max-width:960px){
  .hero-grid,.about-grid{grid-template-columns:1fr;}
  .feature-grid{grid-template-columns:repeat(2,1fr);}
  .career-list{grid-template-columns:1fr;}
  .testi-grid{grid-template-columns:1fr;}
  .highlight-grid{grid-template-columns:repeat(2,1fr);}
  .footer-grid{grid-template-columns:1fr;}
  .footer-bottom{justify-content:center;text-align:center;}
  .mobile-sticky-bar{display:flex;}
  footer.site-footer{padding-bottom:96px;}
  .tab-labels{overflow-x:auto;flex-wrap:nowrap;}
  .elig-table{font-size:12px;}
}
@media (max-width:560px){
  .feature-grid,.highlight-grid{grid-template-columns:1fr;}
  .meta-row{gap:14px;}
}

/* ============================================================
   ABOUT SUB-PAGES
   ============================================================ */
.about-page-hero{padding:48px 24px 8px;text-align:center;}
.about-page-hero .eyebrow{justify-content:center;}
.about-page-hero h1{
  font-family:var(--font-display);color:var(--brick);
  font-size:clamp(26px,4vw,42px);margin-top:8px;
  line-height:1.15;
}
.about-page-hero p{
  color:var(--ink-soft);max-width:640px;
  margin:14px auto 0;font-size:15px;
  font-family:var(--font-body);
}
@media (max-width:960px){.about-page-hero{padding:32px 20px 4px;}}

/* Leadership message block */
.about-message{
  display:grid;grid-template-columns:220px 1fr;
  gap:32px;align-items:start;max-width:900px;margin:0 auto;
}
.about-message-photo{
  aspect-ratio:1/1;background:var(--paper-alt);
  border:1px dashed var(--hairline);border-radius:8px;overflow:hidden;
}
.about-message-photo img{width:100%;height:100%;object-fit:cover;display:block;}
.about-message-body p{color:var(--ink-soft);font-size:15px;font-family:var(--font-body);}
.about-message-body p + p{margin-top:14px;}
.about-message-name{margin-top:20px;padding-top:16px;border-top:1px solid var(--hairline);}
.about-message-name strong{
  display:block;font-family:var(--font-display);
  color:var(--brick);font-size:16px;
}
.about-message-name span{
  display:block;color:var(--ink-soft);font-size:12.5px;
  margin-top:2px;font-family:var(--font-body);
}
@media (max-width:900px){
  .about-message{grid-template-columns:1fr;}
  .about-message-photo{max-width:220px;}
}

/* Card grid */
.cards-grid{
  max-width:1180px;margin:0 auto;
  display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:20px;
}
.cards-grid + .cards-grid{margin-top:20px;}

/* Member card */
.member-card{
  background:var(--surface);border:1px solid var(--hairline);
  border-radius:8px;overflow:hidden;box-shadow:var(--shadow-sm);text-align:center;
}
.member-card-photo{
  aspect-ratio:1/1;background:var(--paper-alt);
  border-bottom:1px dashed var(--hairline);overflow:hidden;
}
.member-card-photo img{width:100%;height:100%;object-fit:cover;display:block;}
.member-card-body{padding:16px;}
.member-card-body h4{font-size:15px;color:var(--brick);margin-bottom:3px;}
.member-card-body p{font-size:12.5px;color:var(--ink-soft);font-family:var(--font-body);}
.member-card-body .faculty-degree{font-size:11.5px;color:var(--ink-soft);margin-top:6px;line-height:1.4;font-family:var(--font-body);}
.member-card-body .faculty-exp{font-size:11px;color:var(--ochre);font-weight:500;margin-top:5px;font-family:var(--font-body);}

/* Faculty dept */
.faculty-dept-block{margin-bottom:48px;}
.faculty-dept-block:last-of-type{margin-bottom:0;}
.faculty-dept-head{margin-bottom:20px;}
.faculty-dept-head h3{font-family:var(--font-display);font-size:22px;color:var(--brick);margin-top:4px;}

/* About banner */
.about-banner{
  display:block;width:100%;max-width:900px;height:280px;
  margin:0 auto 32px;object-fit:cover;border-radius:8px;box-shadow:var(--shadow-sm);
}
@media (max-width:640px){.about-banner{height:200px;}}

.about-dept-heading{font-size:17px;margin:36px 0 16px;color:var(--brick);}
.about-dept-heading:first-child{margin-top:0;}

/* Prose */
.prose{max-width:820px;margin:0 auto;color:var(--ink-soft);font-size:15px;font-family:var(--font-body);}
.prose p + p{margin-top:14px;}
.prose h3{font-family:var(--font-display);color:var(--brick);font-size:18px;margin:8px 0 10px;}
.prose ul{margin:10px 0;padding-left:22px;}
.prose ul li{margin-top:6px;}

/* ── Mission & Vision split ── */
.mv-split{
  display:grid;grid-template-columns:1fr 1fr;
  max-width:1180px;margin:40px auto 0;
  border-radius:12px;overflow:hidden;box-shadow:var(--shadow-sm);
}
.mv-split-col{padding:48px 40px;}
.mv-split-col .section-head{max-width:none;margin:0 0 20px;}
.mv-split-col .prose{max-width:none;margin:0;}
.mv-split-mission{background:var(--paper);}
.mv-split-vision{background:var(--paper-alt);}
@media (max-width:768px){
  .mv-split{grid-template-columns:1fr;border-radius:8px;}
  .mv-split-col{padding:32px 24px;}
}
.mv-stats-row{grid-template-columns:repeat(4,1fr);max-width:1180px;}
@media (max-width:768px){.mv-stats-row{grid-template-columns:repeat(2,1fr);}}

/* Values grid */
.values-grid{
  max-width:1180px;margin:0 auto;
  display:grid;grid-template-columns:repeat(4,1fr);gap:16px;
}
.value-card{
  background:var(--surface);border:1px solid var(--hairline);
  border-radius:8px;padding:18px 16px;
}
.value-icon{
  width:38px;height:38px;border-radius:50%;
  background:var(--paper-alt);
  display:flex;align-items:center;justify-content:center;margin-bottom:12px;
}
.value-icon svg{width:19px;height:19px;color:var(--brick);}
.value-card h3{font-size:15px;margin-bottom:6px;color:var(--brick);}
.value-card p{font-size:13px;color:var(--ink-soft);font-family:var(--font-body);}
@media (max-width:960px){.values-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:560px){.values-grid{grid-template-columns:1fr;}}

/* Legacy timeline */
.legacy-timeline{
  position:relative;display:flex;justify-content:space-between;
  gap:24px;max-width:640px;margin:36px auto 0;
}
.legacy-timeline::before{
  content:'';position:absolute;top:9px;left:9px;right:9px;
  height:2px;background:var(--hairline);z-index:0;
}
.legacy-point{position:relative;z-index:1;text-align:center;flex:1;}
.legacy-point .dot{
  width:18px;height:18px;border-radius:50%;
  background:var(--brick);border:3px solid var(--paper-alt);
  margin:0 auto 14px;
}
.legacy-point h3{font-family:var(--font-display);color:var(--brick);font-size:17px;margin-bottom:4px;}
.legacy-point p{font-size:12.5px;color:var(--ink-soft);font-family:var(--font-body);}
@media (max-width:640px){
  .legacy-timeline{flex-direction:column;align-items:stretch;gap:28px;max-width:420px;}
  .legacy-timeline::before{top:9px;bottom:9px;left:9px;right:auto;width:2px;height:auto;}
  .legacy-point{text-align:left;padding-left:32px;}
  .legacy-point .dot{position:absolute;left:0;top:0;margin:0;}
}

/* ── VC/Profile desk pages ── */
.about-breadcrumb{max-width:660px;margin:0 auto 14px;text-align:left;font-size:12.5px;color:var(--ink-soft);font-family:var(--font-body);}
.about-breadcrumb a{color:var(--ink-soft);}
.about-breadcrumb a:hover,.about-breadcrumb a:focus-visible{color:var(--ochre);}
.about-breadcrumb .sep{margin:0 6px;color:var(--hairline);}
.about-breadcrumb .current{color:var(--brick);font-weight:500;}

.about-message.vc-layout{grid-template-columns:260px 1fr;align-items:center;}
.about-message-photo.vc-photo{border-radius:50%;}
@media (max-width:900px){
  .about-message.vc-layout{grid-template-columns:1fr;}
  .about-message-photo.vc-photo{max-width:220px;margin:0 auto;}
}

/* Pull quote — navy band */
.pull-quote{
  font-family:var(--font-display);font-size:20px;line-height:1.5;
  color:#d4e8f5;
  padding:24px 28px;margin:24px 0;
  background:var(--navy);border-radius:6px;
}
.pull-quote::after{
  content:'';display:block;
  width:88px;height:7px;margin:14px auto 0;
  background:linear-gradient(to right,
    var(--brick)    0%   25%,
    var(--navy)    25%   50%,
    var(--emerald) 50%   75%,
    var(--ochre)   75%  100%
  );
}
.pull-quote-mark{font-size:34px;color:var(--ochre);line-height:0;vertical-align:-8px;margin-right:2px;font-family:var(--font-display);}

.about-message-body .salutation{font-family:var(--font-display);font-style:italic;color:var(--ink);margin-bottom:16px;display:block;}
.signoff-line{font-family:var(--font-display);font-style:italic;color:var(--ink);margin-top:20px;}
.about-message-name.signature{margin-top:8px;padding-top:0;border-top:none;}
.about-message-name.signature .signature-name{font-family:var(--font-display);font-size:19px;color:var(--brick);display:block;}
.about-message-name.signature .signature-title{display:block;font-size:11px;letter-spacing:.05em;text-transform:uppercase;color:var(--ink-soft);margin-top:4px;font-family:var(--font-body);}
.about-message-name.signature .signature-contact{display:block;font-size:12.5px;color:var(--ochre);margin-top:6px;font-family:var(--font-body);}
.about-message-name.signature .signature-credentials{display:block;font-size:11.5px;color:var(--ink-soft);margin-top:6px;font-style:italic;font-family:var(--font-body);}

.vc-closing-link{text-align:center;margin-top:40px;}
.vc-closing-link a{color:var(--ochre);font-weight:500;font-size:14px;font-family:var(--font-body);}
.vc-closing-link a:hover,.vc-closing-link a:focus-visible{color:var(--brick);}
.vc-closing-link .closing-links-more{display:flex;gap:22px;justify-content:center;flex-wrap:wrap;margin-top:14px;}
.vc-closing-link .closing-links-more a{color:var(--ink-soft);font-weight:500;font-size:13px;font-family:var(--font-body);}
.vc-closing-link .closing-links-more a:hover,.vc-closing-link .closing-links-more a:focus-visible{color:var(--ochre);}

/* Profile layout card */
.about-message.profile-layout{grid-template-columns:240px 1fr;align-items:start;}
.profile-card{
  background:var(--surface);border:1px solid var(--hairline);
  border-radius:10px;padding:24px 20px;text-align:center;box-shadow:var(--shadow-sm);
}
.profile-card .about-message-photo{width:130px;height:130px;margin:0 auto 16px;}
.profile-name{display:block;font-family:var(--font-display);font-size:17px;color:var(--brick);}
.profile-title{display:block;font-size:10.5px;letter-spacing:.05em;text-transform:uppercase;color:var(--ink-soft);margin-top:6px;font-family:var(--font-body);}
.profile-contact{display:block;font-size:12px;color:var(--ochre);margin-top:10px;word-break:break-word;font-family:var(--font-body);}
.profile-credentials{display:block;font-size:11px;color:var(--ink-soft);margin-top:8px;font-style:italic;font-family:var(--font-body);}
.message-divider{border:none;border-top:1px solid var(--hairline);margin:28px 0 20px;}
@media (max-width:900px){
  .about-message.profile-layout{grid-template-columns:1fr;}
  .profile-card{max-width:280px;margin:0 auto;}
}

/* Utility bar sticky offset */
.site-utility-bar + .site-header{top:0;}

/* ── Override: remove old data-theme variants no longer needed ── */
/* The Warm/Dusk/Dark theme overrides in the old file are intentionally
   removed. This file is the single source of truth for the Vibrant theme. */


/* ============================================================
   SATURATION PASS — more vibrant, bold colour blocks
   Pure CSS additions. Zero HTML changes.
   ============================================================ */

/* ── 1. HEADER — solid brick red background ── */
.site-header{
  background:var(--brick);
  border-bottom:none;
}
/* Nav links go white on the dark header */
.nav-link,
.dropdown-trigger{
  color:#fff !important;
}
/* Active/hover state: ochre underline */
.nav-link.is-active,
.dropdown-trigger.is-active{
  color:#fff !important;
  box-shadow:inset 0 -2px 0 var(--ochre) !important;
}
.nav-link:hover,
.dropdown-trigger:hover{
  color:var(--ochre) !important;
}
/* Caret stays ochre */
.dropdown-trigger .caret{color:var(--ochre);}
/* Brand tagline readable on brick */
.brand-lockup small{color:rgba(251,248,243,.70);}
/* Header CTA text readable on brick */
.header-cta .txt small{color:rgba(251,248,243,.70);}
.header-cta .txt strong{color:#fff;}
/* Dropdown menu stays white-surface — no change needed */

/* Mobile nav: make background match */
@media (max-width:960px){
  .nav-link{color:#fff !important;}
  .dropdown-trigger{color:#fff !important;}
  .dropdown-menu{background:rgba(168,59,51,.12);}
  .dropdown-menu a{color:rgba(251,248,243,.85);}
  .dropdown-menu a:hover,.dropdown-menu a:focus-visible{
    color:#fff;border-left-color:var(--ochre);
  }
}

/* ── 2. HERO OVERLAY — stronger, more saturated brick-to-navy ── */
.slide-overlay{
  background:linear-gradient(160deg,
    rgba(168,59,51,.72)  0%,
    rgba(168,59,51,.52) 30%,
    rgba(34,94,135,.60)  70%,
    rgba(34,94,135,.72) 100%
  ) !important;
}
/* Darken the scrim behind the left hero text column */
.hero-grid > div:first-child::before{
  background:linear-gradient(135deg,
    rgba(10,5,4,.72) 0%,
    rgba(20,8,6,.62) 55%,
    rgba(20,8,6,.32) 100%
  ) !important;
}

/* ── 3. WHY-CHOOSE / KEY-FACTORS section (.section.alt) → solid emerald ── */
/*    Targets alternating-background sections (the .alt class)            */
.section.alt{
  background:var(--emerald) !important;
}
/* All text inside alt sections goes white/cream */
.section.alt .section-head h2,
.section.alt h2,
.section.alt h3,
.section.alt .eyebrow{
  color:#fff !important;
}
.section.alt .section-head h2::after,
.section.alt .section-head h3::after{
  /* Keep the stripe — but use a lighter version on dark bg */
  background:linear-gradient(to right,
    rgba(251,248,243,.9)  0%  25%,
    rgba(251,248,243,.6) 25%  50%,
    rgba(251,248,243,.9) 50%  75%,
    var(--ochre)         75% 100%
  ) !important;
}
.section.alt .section-head p,
.section.alt .prose,
.section.alt .prose p{
  color:rgba(251,248,243,.85) !important;
}
/* Cards inside alt sections stay white-surface with ink text */
.section.alt .regs-card,
.section.alt .feature-card,
.section.alt .tl-step{
  background:#fff;
}
.section.alt .regs-card h3,
.section.alt .feature-card h3{
  color:var(--brick) !important;
}
/* Chips inside alt sections */
.section.alt .chip{
  background:rgba(255,255,255,.18);
  border-color:rgba(255,255,255,.35);
  color:#fff;
}
/* Timeline step text */
.section.alt .tl-step h3{color:var(--brick) !important;}
.section.alt .tl-step p{color:var(--ink) !important;}
/* syllabus-list bullets inside emerald section */
.section.alt .syllabus-list li{color:rgba(251,248,243,.9) !important;}
.section.alt .syllabus-list li::before{color:#fff !important;}
/* CTA buttons inside alt stay emerald-dark for contrast */
.section.alt .btn-gold{
  background:var(--ink) !important;
  color:#fff !important;
}
.section.alt .btn-gold:hover{background:#000 !important;}
/* Eligibility table inside alt sections */
.section.alt .elig-note{color:rgba(251,248,243,.85) !important;}

/* ── 4. TESTIMONIALS section — full solid navy band ── */
/*    The testi-grid cards are already navy; make the section bg match    */
section:has(.testi-grid){
  background:var(--navy) !important;
}
section:has(.testi-grid) .section-head h2,
section:has(.testi-grid) .eyebrow{
  color:#fff !important;
}
section:has(.testi-grid) .section-head h2::after{
  background:linear-gradient(to right,
    rgba(251,248,243,.9)  0%  25%,
    rgba(251,248,243,.5) 25%  50%,
    var(--emerald)       50%  75%,
    var(--ochre)         75% 100%
  ) !important;
}

/* ── 5. STATS / ABOUT section with highlight-cards stays dark-ink ── */
/*    Already handled (highlight-cards use var(--ink) bg). The section   */
/*    itself is plain paper — make it ink for a bold stats band          */
section:has(.highlight-grid){
  background:var(--ink) !important;
}
section:has(.highlight-grid) h2,
section:has(.highlight-grid) h3{
  color:#fff !important;
}
section:has(.highlight-grid) h2::after{
  background:linear-gradient(to right,
    var(--brick)   0%  25%,
    var(--navy)   25%  50%,
    var(--emerald)50%  75%,
    var(--ochre)  75% 100%
  );
}
section:has(.highlight-grid) .eyebrow{
  color:var(--ochre) !important;
}
section:has(.highlight-grid) .about-grid p{
  color:rgba(251,248,243,.80) !important;
}

/* ── 6. CAMPUS TOUR VIDEO section — deep navy bg ── */
section:has(.video-wrap){
  background:var(--navy-dark) !important;
}
section:has(.video-wrap) .section-head h2,
section:has(.video-wrap) .eyebrow{
  color:#fff !important;
}
section:has(.video-wrap) .section-head h2::after{
  background:linear-gradient(to right,
    var(--brick)   0%  25%,
    rgba(255,255,255,.3) 25% 50%,
    var(--emerald) 50%  75%,
    var(--ochre)   75% 100%
  ) !important;
}
section:has(.video-wrap) .section-head p{
  color:rgba(212,232,245,.85) !important;
}

/* ── 7. FAQ section — brick background ── */
section:has(.faq-list){
  background:var(--brick) !important;
}
section:has(.faq-list) .section-head h2,
section:has(.faq-list) .eyebrow{
  color:#fff !important;
}
section:has(.faq-list) .section-head h2::after{
  background:linear-gradient(to right,
    rgba(251,248,243,.9)  0%  25%,
    var(--navy)          25%  50%,
    var(--emerald)       50%  75%,
    var(--ochre)         75% 100%
  ) !important;
}
.faq-item{
  border-bottom-color:rgba(251,248,243,.25) !important;
}
.faq-item summary{
  color:#fff !important;
}
.faq-item summary::after{color:var(--ochre) !important;}
.faq-item p{color:rgba(251,248,243,.85) !important;}
/* Open FAQ item: light bg inside the answer */
.faq-item[open]{
  background:rgba(255,255,255,.08);
  border-radius:6px;
}

/* ── 8. ABOUT PAGE HERO — brick background ── */
.about-page-hero{
  background:var(--brick);
  padding:56px 24px 24px;
}
.about-page-hero h1{color:#fff !important;}
.about-page-hero .eyebrow{color:var(--ochre) !important;}
.about-page-hero p{color:rgba(251,248,243,.85) !important;}

/* ── 9. CARD / BADGE ACCENT PILLS ── */
/* Coloured left-border accent on regs-cards (curriculum, rules, etc.) */
.regs-grid .regs-card{
  border-left:4px solid var(--brick);
}
/* Alternating card accent colours */
.regs-grid .regs-card:nth-child(2){border-left-color:var(--navy);}
.regs-grid .regs-card:nth-child(3){border-left-color:var(--emerald);}
.regs-grid .regs-card:nth-child(4){border-left-color:var(--ochre);}

/* Institution boxes — house-colour border cycle */
.institution-grid .institution-box:nth-child(4n+1){border-top:3px solid var(--brick);}
.institution-grid .institution-box:nth-child(4n+2){border-top:3px solid var(--navy);}
.institution-grid .institution-box:nth-child(4n+3){border-top:3px solid var(--emerald);}
.institution-grid .institution-box:nth-child(4n+4){border-top:3px solid var(--ochre);}

/* Approval badge cards — coloured top stripe */
.approval-grid .badge-card:nth-child(4n+1){border-top:3px solid var(--brick);}
.approval-grid .badge-card:nth-child(4n+2){border-top:3px solid var(--navy);}
.approval-grid .badge-card:nth-child(4n+3){border-top:3px solid var(--emerald);}
.approval-grid .badge-card:nth-child(4n+4){border-top:3px solid var(--ochre);}

/* Feature cards — cycle top border through house colours */
.feature-grid .feature-card:nth-child(4n+1){border-top-color:var(--brick);}
.feature-grid .feature-card:nth-child(4n+2){border-top-color:var(--navy);}
.feature-grid .feature-card:nth-child(4n+3){border-top-color:var(--emerald);}
.feature-grid .feature-card:nth-child(4n+4){border-top-color:var(--ochre);}
.feature-grid .feature-card:nth-child(4n+5){border-top-color:var(--brick);}
.feature-grid .feature-card:nth-child(4n+6){border-top-color:var(--navy);}

/* Hosp-list (facility list items) — coloured left accent */
.hosp-list li:nth-child(4n+1){border-left:4px solid var(--brick);}
.hosp-list li:nth-child(4n+2){border-left:4px solid var(--navy);}
.hosp-list li:nth-child(4n+3){border-left:4px solid var(--emerald);}
.hosp-list li:nth-child(4n+4){border-left:4px solid var(--ochre);}

/* Member cards — coloured top bar cycle */
.cards-grid .member-card:nth-child(4n+1){border-top:3px solid var(--brick);}
.cards-grid .member-card:nth-child(4n+2){border-top:3px solid var(--navy);}
.cards-grid .member-card:nth-child(4n+3){border-top:3px solid var(--emerald);}
.cards-grid .member-card:nth-child(4n+4){border-top:3px solid var(--ochre);}

/* ── 10. GALLERY section — ink/dark background ── */
section:has(.gallery-grid){
  background:var(--ink) !important;
}
section:has(.gallery-grid) .section-head h2,
section:has(.gallery-grid) .eyebrow{
  color:#fff !important;
}
section:has(.gallery-grid) .section-head h2::after{
  background:linear-gradient(to right,
    var(--brick)   0%  25%,
    var(--navy)   25%  50%,
    var(--emerald)50%  75%,
    var(--ochre)  75% 100%
  ) !important;
}
section:has(.gallery-grid) .section-head p{
  color:rgba(212,232,245,.80) !important;
}
.gallery-filters button{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.18);
  color:rgba(255,255,255,.80);
}
.gallery-filters button.is-active{
  background:var(--brick);border-color:var(--brick);color:#fff;
}
section:has(.gallery-grid) .btn-outline{
  border-color:rgba(251,248,243,.60) !important;
  color:#fff !important;
}
section:has(.gallery-grid) .btn-outline:hover{
  background:rgba(251,248,243,.15) !important;
}

/* ── 11. LOCATION / REACH section — navy ── */
section:has(.chip-row){
  background:var(--navy) !important;
}
section:has(.chip-row) .section-head h2,
section:has(.chip-row) .eyebrow{
  color:#fff !important;
}
section:has(.chip-row) .section-head h2::after{
  background:linear-gradient(to right,
    rgba(251,248,243,.9)  0%  25%,
    rgba(251,248,243,.5) 25%  50%,
    var(--emerald)       50%  75%,
    var(--ochre)         75% 100%
  ) !important;
}
section:has(.chip-row) .section-head p{
  color:rgba(212,232,245,.85) !important;
}
section:has(.chip-row) .chip{
  background:rgba(255,255,255,.12);
  border-color:rgba(255,255,255,.28);
  color:#fff;
}

/* ── 12. ADMISSION PROCESS section (.section.alt with .timeline) ── */
/*    .section.alt already goes emerald from rule 3; timeline numbers    */
/*    need to stay readable                                              */
.section.alt .tl-num{
  background:#fff !important;
  color:var(--brick) !important;
}
.section.alt .timeline::before{background:rgba(255,255,255,.35) !important;}

/* ── 13. HEADER responsive override ── */
@media (max-width:960px){
  .site-header{background:var(--brick);}
  /* nav drawer on brick bg */
  .nav-link,.dropdown-trigger{color:#fff !important;}
  .dropdown-menu a{color:rgba(255,255,255,.85) !important;}
}

/* ── 14. PAGE-LEVEL hero for sub-pages — brick ── */
/* (already set in rule 8; also cover the plain section version) */
.about-page-hero + .section{
  /* first content section after hero gets paper bg for contrast relief */
  background:var(--paper) !important;
}
.about-page-hero + .section h2,
.about-page-hero + .section h3{
  color:var(--brick) !important;
}

/* ── 15. Eyebrow labels on dark sections → ochre ── */
.section.alt .eyebrow,
section:has(.testi-grid) .eyebrow,
section:has(.video-wrap) .eyebrow,
section:has(.gallery-grid) .eyebrow,
section:has(.chip-row) .eyebrow{
  color:var(--ochre) !important;
}
section:has(.highlight-grid) .eyebrow{color:var(--ochre) !important;}
section:has(.faq-list) .eyebrow{color:var(--ochre) !important;}

/* ── 16. Value cards on dark section backgrounds ── */
.section.alt .value-card{background:#fff;}
.section.alt .value-card h3{color:var(--brick) !important;}
.section.alt .value-card p{color:var(--ink) !important;}

/* ── 17. Tab labels on dark tab-section ── */
section:has(.course-tabs) .tab-labels label{color:var(--ink-soft);}
section:has(.course-tabs){background:var(--paper);}


/* ============================================================
   STANDALONE CAROUSEL — no overlaid content, explicit height
   ============================================================ */

/* The carousel previously got its height from the .hero-grid content
   inside it. Now it's content-free so we give it an explicit height. */
.hero-carousel--standalone{
  height: clamp(300px, 52vw, 620px);
}
/* slides fill the container as before */
.hero-carousel--standalone .carousel-slide{
  position:absolute;
  inset:0;
}
/* dots sit at the bottom as before — no change needed */

/* Remove the overlay on the standalone carousel — it's purely a photo
   slider now, no readability requirement */
.hero-carousel--standalone .slide-overlay{
  background:linear-gradient(180deg,
    rgba(168,59,51,.18) 0%,
    rgba(34,94,135,.22) 100%
  ) !important;
}

/* ── HERO INTRO SECTION (below carousel) ── */
.hero-intro-section{
  background:var(--brick);
  padding:52px 24px 56px;
}

/* Re-use the existing .hero-grid two-column layout */
.hero-intro-grid{
  /* inherits max-width:1180px, grid 1.5fr 1fr, gap:44px from .hero-grid */
  padding:0; /* override the hero-grid padding since .section already pads */
}

/* Title: same Marcellus but now on a solid brick background */
.hero-intro-title{
  color:#FBF8F3 !important;
  font-size:clamp(28px,3.6vw,48px) !important;
  text-shadow:none !important;
  line-height:1.15 !important;
}

/* Description paragraph */
.hero-intro-desc{
  color:rgba(251,248,243,.88) !important;
  text-shadow:none !important;
}

/* Badge pills — on solid brick they look great in a slightly lighter brick */
.trust-list--light li{
  background:rgba(255,255,255,.12) !important;
  border-color:rgba(251,248,243,.28) !important;
  color:#FBF8F3 !important;
}
/* trust-icon dot stays ochre */
.trust-list--light .trust-icon{
  background:var(--ochre) !important;
}

/* Fine print under CTA */
.hero-intro-fine{
  color:rgba(251,248,243,.65) !important;
}

/* Hero card on brick background: white card lifts off nicely */
.hero-intro-section .hero-card{
  background:#fff;
  box-shadow:0 8px 32px rgba(0,0,0,.22);
}
.hero-intro-section .hero-card h3{
  color:var(--brick);
}

/* Responsive — stack on mobile */
@media (max-width:960px){
  .hero-intro-grid{
    grid-template-columns:1fr !important;
  }
  .hero-carousel--standalone{
    height:clamp(220px,56vw,460px);
  }
}
@media (max-width:640px){
  .hero-carousel--standalone{
    height:clamp(180px,60vw,360px);
  }
  .hero-intro-section{
    padding:36px 16px 40px;
  }
}


/* ── Hide arch-motif overlay on the standalone carousel ── */
.hero-carousel--standalone .hero-arch-decor{display:none;}

/* ── Hero background video (replaces the photo slideshow) ── */
.hero-video .hero-video-media{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:center;display:block;
}
