/* ============================================================
   Jochebed Matriculation School — Inner-page components
   Loaded after styles.css on subpages. Reuses the homepage
   brand tokens (--navy, --gold, etc.) defined in styles.css.
   ============================================================ */

/* ---------- Page hero / banner header ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  --hero-motion: heroIconFloat 7s var(--ease) infinite alternate;
  --hero-bg: url("assets/images/campus.jpg");
  background-image:
    linear-gradient(90deg, rgba(7,22,52,.40) 0%, rgba(7,22,52,.28) 46%, rgba(7,22,52,.12) 100%),
    linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.10)),
    var(--hero-bg);
  /* Horizontal always centred; vertical focus set per page via --hero-pos */
  background-position: 50% var(--hero-pos, 50%);
  background-size: cover;
  /* Uniform banner height across every inner page (home uses .hero-banner) */
  min-height: clamp(300px, 30vw, 384px);
  display: flex;
  align-items: center;
  padding: clamp(40px, 5vw, 60px) 0;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(540px 420px at 88% -10%, rgba(246,180,10,.24), transparent 60%),
    radial-gradient(520px 420px at 4% 120%, rgba(255,255,255,.10), transparent 60%),
    radial-gradient(rgba(255,255,255,.07) 1.2px, transparent 1.2px);
  background-size: auto, auto, 26px 26px;
}
.page-hero::after {
  display: none;
}
.page-hero .wrap {
  position: relative;
}
.page-hero .wrap::before,
.page-hero .wrap::after {
  display: none;
}
.page-hero .wrap::before {
  right: clamp(220px, 28vw, 430px);
  top: -18px;
  width: clamp(58px, 6vw, 86px);
  aspect-ratio: 1;
  opacity: .52;
  background-image: url("data:image/svg+xml,%3Csvg width='92' height='92' viewBox='0 0 92 92' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='16' y='18' width='50' height='56' rx='8' stroke='%23ffd35c' stroke-width='5'/%3E%3Cpath d='M30 31h22M30 45h22M30 59h14' stroke='%23ffffff' stroke-width='5' stroke-linecap='round'/%3E%3Cpath d='M64 19l10 10-10 10' stroke='%23ffd35c' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  animation: heroSmallIcon 5.8s var(--ease) infinite alternate;
}
.page-hero .wrap::after {
  right: clamp(16px, 5vw, 74px);
  bottom: -28px;
  width: clamp(64px, 7vw, 104px);
  aspect-ratio: 1;
  opacity: .46;
  background-image: url("data:image/svg+xml,%3Csvg width='110' height='110' viewBox='0 0 110 110' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M23 75c16-15 48-15 64 0' stroke='%23ffffff' stroke-opacity='.78' stroke-width='5' stroke-linecap='round'/%3E%3Cpath d='M26 39l29-14 29 14-29 14-29-14z' stroke='%23ffd35c' stroke-width='5' stroke-linejoin='round'/%3E%3Cpath d='M39 47v18c0 10 32 10 32 0V47' stroke='%23ffd35c' stroke-width='5' stroke-linecap='round'/%3E%3Ccircle cx='55' cy='55' r='47' stroke='%23ffffff' stroke-opacity='.18' stroke-width='2'/%3E%3C/svg%3E");
  animation: heroSmallIcon 6.4s var(--ease) infinite alternate-reverse;
}
.page-hero .crumb {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: .9rem; color: rgba(255,255,255,.72); margin-bottom: 16px;
}
.page-hero .crumb a { color: rgba(255,255,255,.72); transition: color .2s; }
.page-hero .crumb a:hover { color: var(--gold-soft); }
.page-hero .crumb .sep { opacity: .5; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.08; text-shadow: 0 8px 28px rgba(0,0,0,.34); }
.page-hero p { color: rgba(255,255,255,.9); max-width: 720px; margin-top: 16px; font-size: clamp(1rem, 1.4vw, 1.14rem); line-height: 1.7; text-shadow: 0 5px 18px rgba(0,0,0,.34); }
.page-hero .ph-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.page-hero .wave-bottom path { fill: #fff; }

@keyframes heroIconFloat {
  from { transform: translateY(-50%) rotate(-2deg) scale(.98); }
  to { transform: translateY(calc(-50% - 14px)) rotate(2deg) scale(1.02); }
}

@keyframes heroSmallIcon {
  from { transform: translateY(0) rotate(-3deg); }
  to { transform: translateY(-12px) rotate(4deg); }
}

.page-hero.hero-academics {
  --hero-bg: url("assets/images/classroom.jpg");
  --hero-pos: 38%; /* keep students' faces + desks in frame */
  --hero-art: url("data:image/svg+xml,%3Csvg width='520' height='520' viewBox='0 0 520 520' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='260' cy='260' r='218' stroke='%23f6b40a' stroke-opacity='.18' stroke-width='2' stroke-dasharray='10 16'/%3E%3Ccircle cx='260' cy='260' r='158' fill='%23ffffff' fill-opacity='.045'/%3E%3Cg stroke='%23ffd35c' stroke-width='11' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M150 178h92c28 0 48 18 48 46v130c0-28-20-46-48-46h-92z'/%3E%3Cpath d='M370 178h-92c-28 0-48 18-48 46v130c0-28 20-46 48-46h92z'/%3E%3Cpath d='M176 220h66M176 258h56M278 220h66M278 258h54' stroke='%23ffffff' stroke-opacity='.86'/%3E%3Cpath d='M350 126l36 36-124 124-48 12 12-48z'/%3E%3C/g%3E%3Ccircle cx='123' cy='365' r='10' fill='%23ffffff' fill-opacity='.14'/%3E%3Ccircle cx='402' cy='137' r='12' fill='%23ffffff' fill-opacity='.14'/%3E%3C/svg%3E");
  --hero-motion: heroOrbitFloat 8s var(--ease) infinite alternate;
}
.page-hero.hero-about {
  --hero-bg: url("assets/images/campus.jpg");
  --hero-pos: 30%; /* lift to show the school name board + buildings, drop empty paving */
  --hero-art: url("data:image/svg+xml,%3Csvg width='520' height='520' viewBox='0 0 520 520' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='260' cy='260' r='220' stroke='%23f6b40a' stroke-opacity='.18' stroke-width='2' stroke-dasharray='8 14'/%3E%3Ccircle cx='260' cy='260' r='162' fill='%23ffffff' fill-opacity='.045'/%3E%3Cg stroke='%23ffd35c' stroke-width='11' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M132 338h256'/%3E%3Cpath d='M166 338V216l94-62 94 62v122'/%3E%3Cpath d='M202 338v-66h50v66M286 338v-88h42v88' stroke='%23ffffff' stroke-opacity='.84'/%3E%3Ccircle cx='260' cy='218' r='26' stroke='%23ffffff' stroke-opacity='.84'/%3E%3Cpath d='M224 154l36-24 36 24'/%3E%3C/g%3E%3Ccircle cx='394' cy='142' r='11' fill='%23ffffff' fill-opacity='.14'/%3E%3Ccircle cx='120' cy='372' r='8' fill='%23ffffff' fill-opacity='.14'/%3E%3C/svg%3E");
  --hero-motion: heroAboutFloat 7.4s ease-in-out infinite alternate;
}
.page-hero.hero-activities {
  --hero-bg: url("assets/images/schoolday.jpg");
  --hero-pos: 48%; /* stage event centred */
  --hero-art: url("data:image/svg+xml,%3Csvg width='520' height='520' viewBox='0 0 520 520' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='260' cy='260' r='214' fill='%23ffffff' fill-opacity='.04'/%3E%3Ccircle cx='260' cy='260' r='182' stroke='%23f6b40a' stroke-opacity='.2' stroke-width='2'/%3E%3Cg stroke='%23ffd35c' stroke-width='11' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M190 156h140v42c0 58-32 98-70 98s-70-40-70-98z'/%3E%3Cpath d='M190 184h-46c0 54 26 82 64 86M330 184h46c0 54-26 82-64 86'/%3E%3Cpath d='M260 296v58M216 354h88M198 388h124'/%3E%3Cpath d='M378 152v132c-12-9-34-6-43 7-10 15 1 33 20 31 18-2 30-17 30-40' stroke='%23ffffff' stroke-opacity='.84'/%3E%3Cpath d='M142 352c26-26 58-30 94-12' stroke='%23ffffff' stroke-opacity='.38'/%3E%3C/g%3E%3C/svg%3E");
  --hero-motion: heroPulseFloat 6.8s ease-in-out infinite alternate;
}
.page-hero.hero-admissions {
  --hero-bg: url("assets/images/kg-dance.jpg");
  --hero-pos: 55%; /* keep the young performers (lower-mid) in view */
  --hero-art: url("data:image/svg+xml,%3Csvg width='520' height='520' viewBox='0 0 520 520' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='260' cy='260' r='220' stroke='%23f6b40a' stroke-opacity='.17' stroke-width='2' stroke-dasharray='8 14'/%3E%3Crect x='164' y='122' width='192' height='276' rx='30' fill='%23ffffff' fill-opacity='.045' stroke='%23ffd35c' stroke-width='10'/%3E%3Cpath d='M220 122h80l-10 42h-60z' stroke='%23ffd35c' stroke-width='10' stroke-linejoin='round'/%3E%3Cg stroke='%23ffffff' stroke-opacity='.86' stroke-width='10' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M210 226l22 22 42-48'/%3E%3Cpath d='M210 302l22 22 42-48'/%3E%3Cpath d='M290 236h34M290 312h34'/%3E%3C/g%3E%3C/svg%3E");
  --hero-motion: heroSlideFloat 7.2s ease-in-out infinite alternate;
}
.page-hero.hero-facilities {
  --hero-bg: url("assets/images/library.jpg");
  --hero-pos: 42%; /* shelves fill the frame */
  --hero-art: url("data:image/svg+xml,%3Csvg width='520' height='520' viewBox='0 0 520 520' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='260' cy='260' r='210' fill='%23ffffff' fill-opacity='.04'/%3E%3Cg stroke='%23ffd35c' stroke-width='10' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M128 358h264'/%3E%3Cpath d='M158 358V210l102-62 102 62v148'/%3E%3Cpath d='M202 358v-68h54v68M294 358v-96h48v96' stroke='%23ffffff' stroke-opacity='.84'/%3E%3Cpath d='M206 226h32M282 226h32M206 262h32' stroke='%23ffffff' stroke-opacity='.84'/%3E%3Cpath d='M142 210h236'/%3E%3C/g%3E%3Ccircle cx='385' cy='162' r='16' fill='%23ffffff' fill-opacity='.12'/%3E%3C/svg%3E");
  --hero-motion: heroSlowDrift 9s ease-in-out infinite alternate;
}
.page-hero.hero-gallery {
  --hero-bg: url("assets/images/trophies1.jpg");
  --hero-pos: 38%; /* trophies + winners' faces */
  --hero-art: url("data:image/svg+xml,%3Csvg width='520' height='520' viewBox='0 0 520 520' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='260' cy='260' r='216' stroke='%23f6b40a' stroke-opacity='.18' stroke-width='2'/%3E%3Cg stroke='%23ffd35c' stroke-width='10' stroke-linejoin='round'%3E%3Crect x='136' y='164' width='184' height='140' rx='20'/%3E%3Crect x='204' y='222' width='184' height='140' rx='20' stroke='%23ffffff' stroke-opacity='.84'/%3E%3Cpath d='M166 276l48-44 42 36 28-24 34 32'/%3E%3Ccircle cx='272' cy='256' r='14'/%3E%3C/g%3E%3C/svg%3E");
  --hero-motion: heroPhotoFloat 7.5s var(--ease) infinite alternate;
}
.page-hero.hero-contact {
  --hero-bg: url("assets/images/campus2.jpg");
  --hero-pos: 30%; /* school name board + buildings */
  --hero-art: url("data:image/svg+xml,%3Csvg width='520' height='520' viewBox='0 0 520 520' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='260' cy='260' r='220' fill='%23ffffff' fill-opacity='.04'/%3E%3Cg stroke='%23ffd35c' stroke-width='11' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M294 145c0 56-62 116-84 136-22-20-84-80-84-136a84 84 0 01168 0z'/%3E%3Ccircle cx='210' cy='145' r='28' stroke='%23ffffff' stroke-opacity='.84'/%3E%3Cpath d='M312 268c24 9 40 24 40 42 0 34-54 62-120 62s-120-28-120-62c0-18 16-33 40-42' stroke='%23ffffff' stroke-opacity='.38'/%3E%3Cpath d='M320 196c28 14 48 42 52 76'/%3E%3Cpath d='M350 168c26 17 48 50 54 86'/%3E%3C/g%3E%3C/svg%3E");
  --hero-motion: heroPinFloat 6.5s ease-in-out infinite alternate;
}
.page-hero.hero-leadership {
  --hero-bg: url("assets/images/staff.jpg");
  --hero-pos: 28%; /* faces sit in the upper third */
  --hero-art: url("data:image/svg+xml,%3Csvg width='520' height='520' viewBox='0 0 520 520' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='260' cy='260' r='214' stroke='%23f6b40a' stroke-opacity='.18' stroke-width='2' stroke-dasharray='10 16'/%3E%3Cg stroke='%23ffd35c' stroke-width='11' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='260' cy='170' r='48'/%3E%3Cpath d='M168 354c18-62 56-96 92-96s74 34 92 96'/%3E%3Cpath d='M156 150c-28 22-44 50-44 86 0 34 14 62 40 84l-10 48 52-26' stroke='%23ffffff' stroke-opacity='.38'/%3E%3Cpath d='M364 150c28 22 44 50 44 86 0 34-14 62-40 84l10 48-52-26' stroke='%23ffffff' stroke-opacity='.38'/%3E%3C/g%3E%3C/svg%3E");
  --hero-motion: heroNodFloat 7.8s ease-in-out infinite alternate;
}
.page-hero.hero-parents {
  --hero-bg: url("assets/images/assembly.jpg");
  --hero-pos: 55%; /* seated students fill the lower-mid band */
  --hero-art: url("data:image/svg+xml,%3Csvg width='520' height='520' viewBox='0 0 520 520' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='260' cy='260' r='220' fill='%23ffffff' fill-opacity='.04'/%3E%3Cg stroke='%23ffd35c' stroke-width='11' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M260 368s-128-70-128-154c0-44 34-78 76-78 24 0 43 12 52 30 9-18 28-30 52-30 42 0 76 34 76 78 0 84-128 154-128 154z'/%3E%3Cpath d='M158 374c34-34 70-48 102-48s68 14 102 48' stroke='%23ffffff' stroke-opacity='.42'/%3E%3Cpath d='M186 226h48M286 226h48' stroke='%23ffffff' stroke-opacity='.82'/%3E%3C/g%3E%3C/svg%3E");
  --hero-motion: heroHeartFloat 7.4s ease-in-out infinite alternate;
}
.page-hero.hero-rules {
  --hero-bg: url("assets/images/flag.jpg");
  --hero-pos: 45%; /* flag ceremony, people centred */
  --hero-art: url("data:image/svg+xml,%3Csvg width='520' height='520' viewBox='0 0 520 520' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='260' cy='260' r='214' stroke='%23f6b40a' stroke-opacity='.18' stroke-width='2'/%3E%3Cg stroke='%23ffd35c' stroke-width='11' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M260 116l124 48v86c0 78-52 126-124 154-72-28-124-76-124-154v-86z'/%3E%3Cpath d='M210 254l34 34 74-84' stroke='%23ffffff' stroke-opacity='.86'/%3E%3Cpath d='M198 342h124' stroke='%23ffffff' stroke-opacity='.38'/%3E%3C/g%3E%3C/svg%3E");
  --hero-motion: heroShieldFloat 8s ease-in-out infinite alternate;
}
.page-hero.hero-uniform {
  --hero-bg: url("assets/images/certificate.jpg");
  --hero-pos: 40%; /* student in full uniform receiving certificate */
  --hero-art: url("data:image/svg+xml,%3Csvg width='520' height='520' viewBox='0 0 520 520' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='260' cy='260' r='218' fill='%23ffffff' fill-opacity='.04'/%3E%3Cg stroke='%23ffd35c' stroke-width='11' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M206 146c16 18 34 28 54 28s38-10 54-28l70 44-42 74-34-18v126h-96V246l-34 18-42-74z'/%3E%3Cpath d='M224 148c8 22 20 34 36 34s28-12 36-34' stroke='%23ffffff' stroke-opacity='.84'/%3E%3Cpath d='M212 284h96' stroke='%23ffffff' stroke-opacity='.38'/%3E%3C/g%3E%3C/svg%3E");
  --hero-motion: heroClothFloat 7s ease-in-out infinite alternate;
}
.page-hero.hero-careers {
  --hero-bg: url("assets/images/staff.jpg");
  --hero-pos: 28%; /* faces sit in the upper third */
  --hero-art: url("data:image/svg+xml,%3Csvg width='520' height='520' viewBox='0 0 520 520' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='260' cy='260' r='214' stroke='%23f6b40a' stroke-opacity='.18' stroke-width='2' stroke-dasharray='8 14'/%3E%3Cg stroke='%23ffd35c' stroke-width='11' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='140' y='184' width='240' height='156' rx='26'/%3E%3Cpath d='M214 184v-28h92v28'/%3E%3Cpath d='M140 246h240M238 246v30h44v-30' stroke='%23ffffff' stroke-opacity='.84'/%3E%3Cpath d='M208 374h104' stroke='%23ffffff' stroke-opacity='.38'/%3E%3C/g%3E%3C/svg%3E");
  --hero-motion: heroCareerFloat 7.8s ease-in-out infinite alternate-reverse;
}

/* ---------- Online fee payment ---------- */
.payment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.payment-copy {
  max-width: 760px;
}
.payment-copy h2 {
  margin: 18px 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
}
.payment-copy p {
  color: var(--muted);
  margin-top: 12px;
  font-size: 1.03rem;
}
.payment-copy strong {
  color: var(--navy-ink);
}
.payment-instructions {
  margin-top: 26px;
}
.payment-instructions h3 {
  margin-bottom: 14px;
  font-size: 1.28rem;
}
.payment-note {
  display: inline-flex;
  margin-top: 28px !important;
  padding: 12px 16px;
  border-left: 4px solid var(--gold);
  background: rgba(246,180,10,.12);
}
.payment-signoff {
  line-height: 1.75;
}
.payment-card {
  position: sticky;
  top: calc(var(--nav-height) + 28px);
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.qr-frame {
  padding: clamp(12px, 2vw, 18px);
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(18,60,138,.14);
}
.qr-frame img {
  width: min(100%, 340px);
  margin-inline: auto;
  image-rendering: pixelated;
}
.upi-box {
  display: grid;
  gap: 4px;
  margin: 18px 0 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.upi-box span {
  color: var(--muted);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.upi-box strong {
  color: var(--navy-ink);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.12rem, 2.2vw, 1.42rem);
  overflow-wrap: anywhere;
}
.payment-upi-link {
  width: 100%;
  justify-content: center;
}
.payment-card p {
  margin-top: 14px;
  color: var(--muted);
  font-size: .92rem;
}
.center-actions {
  justify-content: center;
}

@media (max-width: 860px) {
  .payment-layout {
    grid-template-columns: 1fr;
  }
  .payment-card {
    position: relative;
    top: auto;
    max-width: 440px;
    margin-inline: auto;
    width: 100%;
  }
}
.page-hero.hero-payment {
  --hero-bg: url("assets/images/campus2.jpg");
  --hero-pos: 34%;
}

@keyframes heroAboutFloat {
  from { transform: translateY(-50%) rotate(-2deg) scale(.97); }
  to { transform: translateY(calc(-50% - 16px)) rotate(1deg) scale(1.03); }
}

@keyframes heroOrbitFloat {
  from { transform: translateY(-50%) rotate(-5deg) scale(.96); }
  to { transform: translateY(calc(-50% - 10px)) rotate(6deg) scale(1.04); }
}

@keyframes heroPulseFloat {
  from { transform: translateY(-50%) scale(.94); opacity: .76; }
  to { transform: translateY(calc(-50% - 12px)) scale(1.05); opacity: .95; }
}

@keyframes heroHeartFloat {
  from { transform: translateY(-50%) rotate(3deg) scale(.95); }
  to { transform: translateY(calc(-50% - 13px)) rotate(-3deg) scale(1.04); }
}

@keyframes heroSlideFloat {
  from { transform: translate(-12px, -50%) rotate(-1deg); }
  to { transform: translate(12px, calc(-50% - 10px)) rotate(2deg); }
}

@keyframes heroSlowDrift {
  from { transform: translateY(-50%) rotate(1deg); }
  to { transform: translateY(calc(-50% - 18px)) rotate(-2deg); }
}

@keyframes heroPhotoFloat {
  from { transform: translateY(-50%) rotate(-7deg) scale(.98); }
  to { transform: translateY(calc(-50% - 12px)) rotate(3deg) scale(1.02); }
}

@keyframes heroPinFloat {
  from { transform: translateY(-47%) scale(.98); }
  to { transform: translateY(calc(-50% - 18px)) scale(1.03); }
}

@keyframes heroNodFloat {
  from { transform: translateY(-50%) rotate(2deg); }
  to { transform: translateY(calc(-50% - 10px)) rotate(-4deg); }
}

@keyframes heroShieldFloat {
  from { transform: translateY(-50%) rotate(0deg) scale(.98); }
  to { transform: translateY(calc(-50% - 8px)) rotate(3deg) scale(1.01); }
}

@keyframes heroClothFloat {
  from { transform: translateY(-50%) rotate(-3deg) skewX(-1deg); }
  to { transform: translateY(calc(-50% - 12px)) rotate(3deg) skewX(1deg); }
}

@keyframes heroCareerFloat {
  from { transform: translate(-10px, -50%) rotate(2deg) scale(.98); }
  to { transform: translate(14px, calc(-50% - 12px)) rotate(-2deg) scale(1.02); }
}

.subpage h1,
.subpage h2,
.subpage h3,
.subpage p,
.subpage li,
.subpage .btn {
  overflow-wrap: anywhere;
}

/* sections on subpages sit on white by default for clean reading */
.subpage .section { background: #fff; }
.subpage .section::before, .subpage .section::after { display: none; }
.subpage .section.tint {
  background:
    radial-gradient(640px 440px at 96% 4%, rgba(246,180,10,.10), transparent 62%),
    radial-gradient(580px 440px at 2% 96%, rgba(18,60,138,.09), transparent 60%),
    var(--paper);
}
.subpage .section.about-school-showcase {
  padding-block: clamp(58px, 7vw, 90px);
  background:
    radial-gradient(720px 460px at 96% 8%, rgba(246,180,10,.08), transparent 62%),
    radial-gradient(640px 420px at 0% 88%, rgba(18,60,138,.08), transparent 62%),
    linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}
.subpage .section.about-school-showcase::before,
.subpage .section.about-school-showcase::after {
  display: block;
  pointer-events: none;
}
.subpage .section.about-school-showcase::before {
  width: 190px;
  height: 130px;
  left: 32px;
  top: 74px;
  opacity: .45;
  background-image: radial-gradient(rgba(246,180,10,.45) 2px, transparent 2.5px);
  background-size: 22px 22px;
}
.subpage .section.about-school-showcase::after {
  width: 220px;
  height: 150px;
  right: 42px;
  bottom: 72px;
  opacity: .28;
  background:
    radial-gradient(rgba(18,60,138,.18) 1.7px, transparent 2.2px);
  background-size: 20px 20px;
}
.about-school-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(480px, 1.06fr);
  gap: clamp(44px, 5vw, 72px);
  align-items: center;
}
.about-school-media {
  position: relative;
  min-height: 460px;
}
.about-school-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 420px;
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
  object-position: center;
  border: 6px solid #fff;
  border-radius: 34px 34px 34px 70px;
  box-shadow: 0 26px 64px rgba(12,42,99,.18);
}
.about-dots {
  position: absolute;
  z-index: 0;
  width: 126px;
  height: 86px;
  background-image: radial-gradient(rgba(246,180,10,.38) 1.8px, transparent 2.4px);
  background-size: 20px 20px;
}
.about-dots-left {
  left: -28px;
  top: -26px;
}
.about-estab {
  position: absolute;
  z-index: 3;
  right: -18px;
  bottom: -30px;
  width: 136px;
  height: 116px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  color: #fff;
  background: linear-gradient(155deg, var(--navy-ink), var(--navy-deep));
  border: 3px solid var(--gold);
  border-radius: 18px;
  box-shadow: 0 20px 38px rgba(12,42,99,.24);
  text-align: center;
}
.about-estab .licon {
  color: var(--gold);
  width: 22px;
  height: 22px;
}
.about-estab b {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 2.28rem;
  line-height: .95;
  letter-spacing: .03em;
}
.about-estab span {
  color: var(--gold-soft);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.about-school-copy {
  position: relative;
  z-index: 2;
}
.about-ribbon {
  display: inline-flex;
  align-items: center;
  position: relative;
  gap: 12px;
  min-width: 286px;
  justify-content: center;
  min-height: 36px;
  padding: 0 46px;
  color: var(--navy-ink);
  background: var(--gold);
  box-shadow: 0 9px 18px rgba(246,180,10,.24);
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-weight: 800;
  font-size: .76rem;
  letter-spacing: .18em;
  line-height: 1;
  text-transform: uppercase;
  isolation: isolate;
}
.about-ribbon::before,
.about-ribbon::after {
  content: "";
  position: absolute;
  top: 0;
  width: 42px;
  height: 100%;
  background: #e6a000;
  z-index: -1;
}
.about-ribbon::before {
  left: -30px;
  clip-path: polygon(0 0, 100% 0, 74% 50%, 100% 100%, 0 100%, 22% 50%);
}
.about-ribbon::after {
  right: -30px;
  clip-path: polygon(0 0, 100% 0, 78% 50%, 100% 100%, 0 100%, 26% 50%);
  transform: scaleX(-1);
}
.about-ribbon .licon {
  width: 17px;
  height: 17px;
}
.about-school-copy h2 {
  margin-top: 24px;
  max-width: 680px;
  color: var(--navy-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 3.4vw, 3.35rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}
.about-title-rule {
  display: block;
  width: 78px;
  height: 3px;
  margin: 22px 0 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold) 0 58%, rgba(246,180,10,.26) 58% 100%);
}
.about-school-text {
  max-width: 740px;
}
.about-school-text p {
  color: var(--navy-ink);
  font-size: clamp(1rem, 1.18vw, 1.12rem);
  line-height: 1.68;
  margin-bottom: 20px;
}
.about-school-text p:last-child {
  margin-bottom: 0;
}
.about-school-text strong {
  color: var(--navy-ink);
  font-weight: 800;
}
.about-school-fulltext {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: clamp(26px, 3vw, 34px) auto 0;
}
.about-school-fulltext p {
  color: var(--navy-ink);
  font-size: clamp(1rem, 1.18vw, 1.12rem);
  line-height: 1.72;
  margin-bottom: 18px;
}
.about-school-fulltext p:last-child {
  margin-bottom: 0;
}
.about-feature-strip {
  position: relative;
  z-index: 2;
  width: min(1080px, 94%);
  margin: clamp(30px, 4vw, 44px) auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(18,60,138,.08);
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 16px 42px rgba(12,42,99,.10);
  backdrop-filter: blur(8px);
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(18,60,138,.08);
  border-radius: 14px;
  background: #fff;
}
.about-feature:last-child {
  border-color: rgba(18,60,138,.08);
}
.feature-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--gold);
  background: var(--navy-ink);
  border: 3px solid var(--gold);
  border-radius: 50%;
}
.feature-icon .licon {
  width: 25px;
  height: 25px;
}
.about-feature b,
.about-feature small {
  display: block;
}
.about-feature b {
  color: var(--navy-ink);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.25;
  text-transform: uppercase;
}
.about-feature small {
  margin-top: 3px;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.25;
}
.subpage .section.facilities-showcase {
  padding-block: clamp(58px, 7vw, 92px);
  background:
    radial-gradient(rgba(246,180,10,.25) 1.6px, transparent 2.2px) 4% 12% / 22px 22px no-repeat,
    radial-gradient(680px 420px at 9% 88%, rgba(18,60,138,.08), transparent 62%),
    radial-gradient(620px 380px at 94% 18%, rgba(246,180,10,.10), transparent 62%),
    linear-gradient(180deg, #fff 0%, #f7faff 100%);
}
.subpage .section.facilities-showcase::before,
.subpage .section.facilities-showcase::after {
  display: block;
  pointer-events: none;
}
.subpage .section.facilities-showcase::before {
  inset: 70px auto auto 6%;
  width: 150px;
  height: 104px;
  background-image: radial-gradient(rgba(246,180,10,.35) 1.8px, transparent 2.4px);
  background-size: 18px 18px;
}
.subpage .section.facilities-showcase::after {
  right: 7%;
  top: 120px;
  width: 170px;
  height: 120px;
  border: 2px solid rgba(18,60,138,.08);
  border-radius: 50%;
  background: transparent;
}
.facilities-showcase .wrap {
  position: relative;
  z-index: 1;
}
.facilities-showcase .section-head {
  max-width: 820px;
  margin-bottom: clamp(34px, 4vw, 50px);
}
.facilities-showcase .section-head h2 {
  max-width: 760px;
  margin-inline: auto;
}
.facilities-showcase .section-head p {
  max-width: 720px;
  margin-inline: auto;
  line-height: 1.72;
}
.facilities-showcase .bento {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: clamp(180px, 14vw, 230px);
  gap: 20px;
  max-width: 1180px;
}
.facilities-showcase .tile {
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(12,42,99,.13);
}
.facilities-showcase .tile::after {
  background:
    linear-gradient(180deg, rgba(10,31,74,.02) 18%, rgba(10,31,74,.18) 46%, rgba(10,31,74,.88) 100%),
    linear-gradient(135deg, rgba(246,180,10,.10), transparent 44%);
}
.facilities-showcase .tile.big {
  grid-column: 1 / span 3;
  grid-row: 1 / span 2;
}
.facilities-showcase .tile:nth-child(2) {
  grid-column: 4 / span 1;
  grid-row: 1;
}
.facilities-showcase .tile:nth-child(3) {
  grid-column: 5 / span 2;
  grid-row: 1;
}
.facilities-showcase .tile:nth-child(4) {
  grid-column: 4 / span 3;
  grid-row: 2;
}
.facilities-showcase .tile:nth-child(5) {
  grid-column: 1 / span 2;
  grid-row: 3;
}
.facilities-showcase .tile:nth-child(6) {
  grid-column: 3 / span 2;
  grid-row: 3;
}
.facilities-showcase .tile:nth-child(7) {
  grid-column: 5 / span 2;
  grid-row: 3;
}
.facilities-showcase .tile .cap {
  padding: clamp(18px, 2vw, 26px);
}
.facilities-showcase .tile .cap .ic {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(246,180,10,.18);
  color: var(--gold-soft);
}
.facilities-showcase .tile .cap h4 {
  text-shadow: 0 5px 18px rgba(0,0,0,.32);
}
.facilities-showcase .tile .cap p {
  max-width: 430px;
}
.subpage .section.vm-showcase {
  padding-block: clamp(58px, 7vw, 92px);
  background:
    radial-gradient(circle at 92% 10%, rgba(18,60,138,.11) 0 2px, transparent 3px) 0 0 / 18px 18px,
    radial-gradient(620px 420px at 101% 58%, rgba(246,180,10,.13), transparent 66%),
    radial-gradient(520px 360px at -4% 72%, rgba(246,180,10,.10), transparent 68%),
    linear-gradient(180deg, #fbfdff 0%, #f6f8fd 100%);
}
.subpage .section.vm-showcase::before,
.subpage .section.vm-showcase::after {
  display: block;
  pointer-events: none;
}
.subpage .section.vm-showcase::before {
  inset: 42px auto auto 34px;
  width: clamp(120px, 12vw, 190px);
  height: clamp(120px, 12vw, 190px);
  background: url("assets/images/crest-mark.png") center / contain no-repeat;
  opacity: .035;
  -webkit-mask-image: none;
          mask-image: none;
}
.subpage .section.vm-showcase::after {
  width: clamp(320px, 36vw, 620px);
  height: clamp(230px, 25vw, 390px);
  right: clamp(-190px, -10vw, -90px);
  top: auto;
  bottom: -120px;
  border-radius: 50% 44% 0 0;
  background: linear-gradient(140deg, rgba(246,180,10,.16), rgba(255,255,255,.4));
  filter: blur(.4px);
  animation: none;
}
.vm-heading {
  max-width: 780px;
  margin: 0 auto clamp(30px, 4vw, 42px);
  text-align: center;
}
.vm-heading img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  margin: 0 auto 10px;
}
.vm-heading h2 {
  font-size: clamp(2rem, 4.6vw, 3.75rem);
  line-height: 1.04;
  color: var(--navy-ink);
  letter-spacing: -.03em;
}
.vm-heading p {
  color: var(--muted);
  font-size: clamp(.98rem, 1.35vw, 1.15rem);
  font-weight: 600;
  margin-top: 14px;
}
.vm-rule,
.mini-rule {
  display: block;
  width: 86px;
  height: 3px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0 42%, var(--gold) 42% 58%, transparent 58% 100%),
              linear-gradient(90deg, var(--gold), var(--gold));
  background-size: 100% 100%, 100% 1px;
  background-position: center, center;
  background-repeat: no-repeat;
}
.mini-rule {
  width: 58px;
  height: 2px;
  margin: 14px 0 0;
  background: var(--gold);
}
.vm-layout {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(460px, 1.6fr);
  gap: clamp(22px, 3vw, 34px);
  align-items: stretch;
}
.vision-panel,
.mission-panel {
  border: 1px solid rgba(18,60,138,.11);
  border-radius: 16px;
  box-shadow: 0 22px 54px rgba(12,42,99,.12);
  overflow: hidden;
}
.vision-panel {
  position: relative;
  min-height: 540px;
  color: #fff;
  background: radial-gradient(circle at 30% 5%, rgba(255,255,255,.07), transparent 26%),
              linear-gradient(155deg, var(--navy-ink), var(--navy-deep));
}
.vision-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 88% 12%, rgba(246,180,10,.13), transparent 24%),
    radial-gradient(rgba(255,255,255,.06) 1.2px, transparent 1.8px) 0 0 / 24px 24px;
}
.vision-content {
  position: relative;
  z-index: 2;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(30px, 4vw, 48px) clamp(26px, 4vw, 46px) 74px;
  text-align: center;
}
.vision-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.vision-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 3px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(255,255,255,.06);
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
}
.vision-icon .licon { width: 31px; height: 31px; }
.vision-panel h3,
.mission-panel h3 {
  font-size: clamp(1.8rem, 3.1vw, 2.65rem);
}
.vision-panel h3 {
  color: #fff;
  margin: 0;
}
.vision-panel .mini-rule { margin-inline: auto; }
.vision-panel p {
  max-width: 500px;
  margin-top: 16px;
  color: rgba(255,255,255,.92);
  font-size: clamp(.98rem, 1.2vw, 1.08rem);
  line-height: 1.68;
}
.vision-photo {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 235px;
  overflow: hidden;
}
.vision-photo::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: -8%;
  right: -8%;
  top: -34px;
  height: 62px;
  border-radius: 0 0 50% 50%;
  background: linear-gradient(155deg, var(--navy-ink), var(--navy-deep));
  pointer-events: none;
}
.vision-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mission-panel {
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  padding: clamp(26px, 4vw, 42px) clamp(26px, 4vw, 48px);
}
.mission-title {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}
.mission-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--navy-ink);
  background: linear-gradient(145deg, var(--gold-soft), var(--gold));
}
.mission-icon .licon { width: 34px; height: 34px; }
.mission-list {
  list-style: none;
}
.mission-list li {
  position: relative;
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 12px 0 12px 64px;
  border-bottom: 1px solid rgba(18,60,138,.10);
  color: var(--navy-ink);
  font-size: clamp(.98rem, 1.15vw, 1.08rem);
  font-weight: 600;
  line-height: 1.45;
}
.mission-list li:last-child { border-bottom: 0; }
.mission-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(246,180,10,.16);
  transform: translateY(-50%);
}
.mission-list li::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 8px;
  height: 15px;
  border: solid var(--gold);
  border-width: 0 3px 3px 0;
  transform: translateY(-60%) rotate(45deg);
}
.subpage .section.navy {
  background: linear-gradient(155deg, var(--navy-ink), var(--navy-deep));
  color: #fff;
}
.subpage .section.navy .section-head h2 {
  color: #fff;
  background: none;
  -webkit-text-fill-color: currentColor;
  animation: none;
}
.subpage .section.navy .section-head p { color: rgba(255,255,255,.8); }
.subpage .section.assessment-showcase {
  padding-block: clamp(64px, 8vw, 104px);
  background:
    radial-gradient(rgba(255,255,255,.11) 1.4px, transparent 2px),
    radial-gradient(620px 360px at 12% 18%, rgba(246,180,10,.18), transparent 64%),
    radial-gradient(720px 420px at 88% 82%, rgba(83,132,214,.22), transparent 66%),
    linear-gradient(155deg, #071b42 0%, var(--navy-deep) 46%, #0d347b 100%);
  background-size: 26px 26px, auto, auto, auto;
}
.subpage .section.assessment-showcase::before,
.subpage .section.assessment-showcase::after {
  display: block;
  pointer-events: none;
}
.subpage .section.assessment-showcase::before {
  inset: 54px auto auto 7%;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(246,180,10,.24);
  border-radius: 24px;
  transform: rotate(10deg);
  background: rgba(246,180,10,.04);
}
.subpage .section.assessment-showcase::after {
  right: 7%;
  bottom: 52px;
  width: 190px;
  height: 120px;
  background-image: radial-gradient(rgba(255,211,92,.34) 1.8px, transparent 2.4px);
  background-size: 20px 20px;
}
.assessment-showcase .wrap {
  position: relative;
  z-index: 1;
}
.assessment-showcase .section-head {
  margin-bottom: clamp(34px, 4vw, 52px);
}
.assessment-showcase .section-head h2 {
  color: #fff !important;
  background: none;
  -webkit-background-clip: border-box;
          background-clip: border-box;
  -webkit-text-fill-color: #fff;
  animation: none;
  text-shadow: 0 8px 28px rgba(0,0,0,.22);
}
.assessment-showcase .step-grid {
  grid-template-columns: repeat(5, minmax(160px, 1fr));
  gap: clamp(14px, 1.7vw, 22px);
}
.assessment-showcase .step {
  min-height: 246px;
  padding: 26px 24px 24px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(246,249,255,.94)),
    linear-gradient(135deg, rgba(246,180,10,.22), rgba(18,60,138,.12));
  box-shadow: 0 20px 44px rgba(3,16,42,.22);
}
.assessment-showcase .step::before {
  content: "";
  position: absolute;
  inset: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
}
.assessment-showcase .step::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -34px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(246,180,10,.12);
}
.assessment-showcase .step:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 62px rgba(3,16,42,.28);
}
.assessment-showcase .step .num {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border-radius: 18px;
  color: var(--navy-ink);
  background: linear-gradient(145deg, var(--gold-soft), var(--gold));
  box-shadow: 0 12px 28px rgba(246,180,10,.28);
  font-size: 1.8rem;
}
.assessment-showcase .step h3 {
  color: var(--navy-ink);
  font-size: 1.08rem;
  line-height: 1.18;
}
.assessment-showcase .step p {
  color: #56617e;
  font-size: .96rem;
}
.assessment-showcase .wrap > p {
  max-width: 920px !important;
  margin-top: 38px !important;
  padding: 18px 24px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.88) !important;
  backdrop-filter: blur(8px);
}
.subpage .section.admissions-cta {
  padding-block: clamp(56px, 7vw, 86px);
  background:
    linear-gradient(rgba(18,60,138,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18,60,138,.055) 1px, transparent 1px),
    radial-gradient(520px 300px at 18% 18%, rgba(246,180,10,.20), transparent 62%),
    radial-gradient(580px 330px at 86% 78%, rgba(18,60,138,.12), transparent 64%),
    linear-gradient(180deg, #fff8e8 0%, #f3f7ff 100%);
  background-size: 34px 34px, 34px 34px, auto, auto, auto;
}
.subpage .section.admissions-cta::before,
.subpage .section.admissions-cta::after {
  display: block;
  pointer-events: none;
}
.subpage .section.admissions-cta::before {
  inset: 24px auto auto 5%;
  width: 150px;
  height: 96px;
  background-image: radial-gradient(rgba(246,180,10,.34) 1.8px, transparent 2.4px);
  background-size: 18px 18px;
}
.subpage .section.admissions-cta::after {
  right: 6%;
  bottom: 22px;
  width: 170px;
  height: 112px;
  border: 2px solid rgba(18,60,138,.08);
  border-left: 0;
  border-radius: 0 70px 70px 0;
  background: transparent;
}
.admissions-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin-inline: auto;
  padding: clamp(30px, 5vw, 48px);
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96) 0%, rgba(255,250,236,.92) 48%, rgba(237,244,255,.94) 100%),
    linear-gradient(135deg, rgba(246,180,10,.20), rgba(18,60,138,.12));
  box-shadow: 0 24px 64px rgba(12,42,99,.15);
  text-align: center;
  overflow: hidden;
}
.admissions-cta-inner::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: -1;
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(246,180,10,.18), transparent 38%, rgba(18,60,138,.11));
}
.admissions-cta-inner h2 {
  max-width: 760px;
  margin: 18px auto 14px;
  color: var(--navy-ink);
  font-size: clamp(1.85rem, 3.6vw, 2.65rem);
  line-height: 1.12;
}
.admissions-cta-inner p {
  max-width: 680px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.7;
}
.admissions-cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Prose / lead text ---------- */
.prose { max-width: 820px; }
.prose p { color: var(--muted); font-size: 1.04rem; line-height: 1.8; margin-bottom: 16px; }
.prose p strong { color: var(--navy-ink); }
.lead-row { display: grid; gap: 18px; }

/* ---------- Check list ---------- */
.check-list { list-style: none; display: grid; gap: 13px; }
.check-list.cols { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 13px 28px; }
.check-list li { position: relative; padding-left: 36px; color: var(--ink); line-height: 1.55; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 1px;
  width: 23px; height: 23px; border-radius: 7px; background: rgba(246,180,10,.18);
}
.check-list li::after {
  content: ""; position: absolute; left: 8px; top: 5px;
  width: 5px; height: 10px; border: solid var(--gold); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.check-list.on-navy li { color: rgba(255,255,255,.9); }
.check-list.on-navy li::before { background: rgba(246,180,10,.22); }

/* ---------- Info cards grid ---------- */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px;
  box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.info-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); border-color: rgba(246,180,10,.4); }
.ic-badge {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--navy), var(--navy-deep)); color: var(--gold-soft); margin-bottom: 16px;
}
.ic-badge.gold { background: linear-gradient(140deg, var(--gold), #e09a00); color: var(--navy-ink); }
.ic-badge .licon { width: 24px; height: 24px; }
.info-card h3 { font-size: 1.16rem; margin-bottom: 8px; }
.info-card p { color: var(--muted); font-size: .95rem; line-height: 1.6; }
.info-card .check-list { margin-top: 12px; }
.info-card .check-list li { font-size: .92rem; padding-left: 30px; }
.info-card .check-list li::before { width: 19px; height: 19px; }
.info-card .check-list li::after { left: 6.5px; top: 4px; }
.facilities-detail .info-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}
.facilities-detail .info-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 24px;
  border-color: rgba(18,60,138,.10);
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,251,255,.96)),
    radial-gradient(220px 140px at 88% 0%, rgba(246,180,10,.12), transparent 70%);
  box-shadow: 0 18px 48px rgba(12,42,99,.10);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .35s var(--ease);
}
.facilities-detail .info-card::before,
.facilities-detail .info-card::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .45s var(--ease), transform .85s var(--ease), filter .85s var(--ease);
  pointer-events: none;
}
.facilities-detail .info-card::before {
  z-index: -2;
  background-image: var(--facility-img);
  background-position: center;
  background-size: cover;
  filter: saturate(.88) contrast(.96);
  transform: scale(1.16) translateY(10px);
}
.facilities-detail .info-card::after {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,31,74,.06) 0%, rgba(10,31,74,.28) 42%, rgba(10,31,74,.90) 100%),
    linear-gradient(135deg, rgba(246,180,10,.16), transparent 46%);
}
.facilities-detail .info-card:nth-child(1) { --facility-img: url("assets/images/classroom.jpg"); }
.facilities-detail .info-card:nth-child(2) { --facility-img: url("assets/images/computer-lab.jpg"); }
.facilities-detail .info-card:nth-child(3) { --facility-img: url("assets/images/library.jpg"); }
.facilities-detail .info-card:nth-child(4) { --facility-img: url("assets/images/computer-lab.jpg"); }
.facilities-detail .info-card:nth-child(5) { --facility-img: url("assets/images/sports-team.jpg"); }
.facilities-detail .info-card:nth-child(6) { --facility-img: url("assets/images/eco-campus.jpg"); }
.facilities-detail .info-card:nth-child(7) { --facility-img: url("assets/images/campus.jpg"); }
.facilities-detail .info-card:nth-child(8) { --facility-img: url("assets/images/campus2.jpg"); }
.facilities-detail .info-card:nth-child(9) { --facility-img: url("assets/images/eco-campus.jpg"); }
.facilities-detail .info-card:nth-child(10) { --facility-img: url("assets/images/campus.jpg"); }
.facilities-detail .info-card .ic-badge,
.facilities-detail .info-card .check-list {
  position: relative;
  z-index: 1;
  transition: opacity .25s var(--ease), transform .35s var(--ease), visibility .25s;
}
.facilities-detail .info-card .ic-badge {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  box-shadow: 0 14px 28px rgba(18,60,138,.16);
}
.facilities-detail .info-card h3 {
  position: relative;
  z-index: 1;
  max-width: 250px;
  font-size: clamp(1.18rem, 1.35vw, 1.35rem);
  line-height: 1.18;
  transition: color .25s var(--ease), transform .35s var(--ease), text-shadow .35s var(--ease);
}
.facilities-detail .info-card:hover {
  transform: translateY(-10px) scale(1.015);
  border-color: rgba(246,180,10,.62);
  box-shadow: 0 32px 76px rgba(12,42,99,.25), 0 0 0 1px rgba(246,180,10,.18);
}
.facilities-detail .info-card:hover::before,
.facilities-detail .info-card:hover::after {
  opacity: 1;
}
.facilities-detail .info-card:hover::before {
  filter: saturate(1.12) contrast(1.04);
  transform: scale(1.03) translateY(0);
}
.facilities-detail .info-card:hover .ic-badge,
.facilities-detail .info-card:hover .check-list {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
}
.facilities-detail .info-card:hover h3 {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 30px;
  max-width: none;
  color: #fff;
  transform: none;
  font-size: clamp(1.28rem, 1.65vw, 1.58rem);
  text-shadow: 0 8px 24px rgba(0,0,0,.35);
  animation: facilityTitleIn .42s var(--ease) both;
}

@keyframes facilityTitleIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Numbered steps ---------- */
.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 30px 26px 26px; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step .num {
  font-family: "Plus Jakarta Sans"; font-weight: 800; font-size: 2.6rem; line-height: 1;
  color: var(--gold); opacity: .9; margin-bottom: 10px;
}
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .94rem; line-height: 1.6; }

/* ---------- Activity benefits ---------- */
.subpage .section.activity-benefits {
  padding-block: clamp(46px, 6vw, 72px);
  background:
    radial-gradient(520px 320px at 12% 20%, rgba(246,180,10,.14), transparent 64%),
    radial-gradient(560px 340px at 88% 80%, rgba(18,60,138,.10), transparent 66%),
    linear-gradient(180deg, #fff 0%, #f7faff 100%);
}
.activity-benefits-card {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(420px, 1.35fr);
  gap: clamp(26px, 4vw, 52px);
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(18,60,138,.10);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(244,248,255,.94)),
    linear-gradient(135deg, rgba(246,180,10,.16), rgba(18,60,138,.08));
  box-shadow: 0 24px 64px rgba(12,42,99,.12);
}
.activity-benefits-copy h2 {
  margin: 18px 0 12px;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
}
.activity-benefits-copy p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.72;
}
.activity-benefits-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.activity-benefits-list li {
  position: relative;
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 12px 16px 12px 50px;
  border: 1px solid rgba(18,60,138,.08);
  border-radius: 16px;
  background: #fff;
  color: var(--navy-ink);
  font-weight: 650;
  line-height: 1.35;
  box-shadow: 0 10px 24px rgba(12,42,99,.06);
}
.activity-benefits-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(246,180,10,.18);
  transform: translateY(-50%);
}
.activity-benefits-list li::after {
  content: "";
  position: absolute;
  left: 24px;
  top: 50%;
  width: 6px;
  height: 11px;
  border: solid var(--gold);
  border-width: 0 2.4px 2.4px 0;
  transform: translateY(-60%) rotate(45deg);
}

/* ---------- Split image + text ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
.split.rev .media { order: 2; }
.split .media { position: relative; }
.split .media img { width: 100%; border-radius: 26px; box-shadow: var(--shadow-md); aspect-ratio: 4/3; object-fit: cover; }
.split .media .stamp {
  position: absolute; bottom: -20px; right: -14px; background: var(--gold); color: var(--navy-ink);
  border-radius: 16px; padding: 12px 18px; box-shadow: var(--shadow-md); font-family: "Plus Jakarta Sans"; transform: rotate(-3deg);
}
.split .media .stamp b { display: block; font-size: 1.3rem; line-height: 1; }
.split .media .stamp span { font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

/* ---------- Pills ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills span {
  background: #fff; border: 1px solid var(--line); padding: 9px 17px; border-radius: 999px;
  font-weight: 600; font-size: .92rem; color: var(--navy); box-shadow: var(--shadow-sm);
}
.section.navy .pills span, .pills.on-navy span { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; }

/* ---------- Uniform / two-column cards ---------- */
.uni-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.uni-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow-sm); }
.uni-card .tag {
  display: inline-block; background: var(--navy); color: #fff; font-family: "Plus Jakarta Sans";
  font-weight: 700; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 13px; border-radius: 999px; margin-bottom: 16px;
}
.uni-card h3 { font-size: 1.06rem; margin: 14px 0 8px; }
.uni-card h3:first-of-type { margin-top: 0; }

/* ---------- Contact ---------- */
.subpage .section.contact-showcase {
  position: relative;
  padding-block: clamp(54px, 7vw, 92px);
  background:
    linear-gradient(90deg, rgba(18,60,138,.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(18,60,138,.045) 1px, transparent 1px),
    radial-gradient(580px 360px at 8% 18%, rgba(246,180,10,.13), transparent 64%),
    radial-gradient(680px 420px at 92% 86%, rgba(18,60,138,.10), transparent 66%),
    linear-gradient(180deg, #fff 0%, #f7faff 100%);
  background-size: 52px 52px, 52px 52px, auto, auto, auto;
}
.subpage .section.contact-showcase::before,
.subpage .section.contact-showcase::after {
  content: "";
  position: absolute;
  z-index: 0;
  display: block;
  pointer-events: none;
}
.subpage .section.contact-showcase::before {
  left: 5%;
  top: 58px;
  width: 150px;
  height: 104px;
  background-image: radial-gradient(rgba(246,180,10,.36) 1.8px, transparent 2.4px);
  background-size: 18px 18px;
}
.subpage .section.contact-showcase::after {
  right: 7%;
  bottom: 46px;
  width: 190px;
  height: 128px;
  border: 2px solid rgba(18,60,138,.08);
  border-radius: 50%;
  background: transparent;
}
.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(340px, .9fr) minmax(460px, 1.1fr);
  gap: clamp(24px, 4vw, 46px);
  align-items: stretch;
}
.contact-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,251,255,.95)),
    radial-gradient(260px 160px at 94% 0%, rgba(246,180,10,.13), transparent 70%);
  border: 1px solid rgba(18,60,138,.10);
  border-radius: 26px;
  padding: clamp(24px, 3.2vw, 34px);
  box-shadow: 0 22px 56px rgba(12,42,99,.12);
}
.contact-card::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(246,180,10,.12);
}
.contact-card h2 {
  position: relative;
  z-index: 1;
  margin: 16px 0 10px;
  font-size: clamp(1.8rem, 2.65vw, 2.35rem);
  letter-spacing: -.03em;
}
.contact-intro {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.62;
}
.contact-list { position: relative; z-index: 1; list-style: none; display: grid; gap: 13px; }
.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid rgba(18,60,138,.08);
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.contact-list li:hover {
  transform: translateY(-3px);
  border-color: rgba(246,180,10,.42);
  box-shadow: 0 14px 30px rgba(12,42,99,.10);
}
.contact-list .ic-badge { margin: 0; flex: 0 0 auto; border-radius: 15px; }
.contact-list b { display: block; color: var(--navy-ink); font-size: 1rem; margin-bottom: 4px; }
.contact-list span, .contact-list a { color: var(--muted); font-size: .95rem; line-height: 1.5; }
.contact-list a:hover { color: var(--navy); }
.contact-card > .btn {
  position: relative;
  z-index: 1;
}
.map-frame { border: 0; width: 100%; height: 100%; min-height: 500px; }
.map-wrap {
  position: relative;
  min-height: 500px;
  border: 9px solid #fff;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(12,42,99,.16);
  background: var(--paper-2);
  transform: translateZ(0);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.map-wrap:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 72px rgba(12,42,99,.20);
}
.map-wrap::before {
  content: "Location Map";
  position: absolute;
  z-index: 2;
  left: 18px;
  top: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--navy-ink);
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 24px rgba(12,42,99,.12);
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  pointer-events: none;
}
.map-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(18,60,138,.10);
}

/* ---------- Timings strip ---------- */
.timings { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }
.timing { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px 18px; box-shadow: var(--shadow-sm); }
.timing .licon { width: 28px; height: 28px; color: var(--navy); margin-bottom: 8px; }
.timing b { display: block; font-family: "Plus Jakarta Sans"; font-size: 1.5rem; color: var(--navy); }
.timing span { font-size: .86rem; color: var(--muted); }

/* ---------- Leadership messages (full text) ---------- */
.leader-msg { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow-sm); }
.leader-msg + .leader-msg { margin-top: 24px; }
.leader-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.leader-head .av { width: 62px; height: 62px; border-radius: 16px; background: linear-gradient(140deg, var(--navy), var(--navy-deep)); color: var(--gold-soft); display: grid; place-items: center; font-family: "Plus Jakarta Sans"; font-weight: 800; font-size: 1.2rem; flex-shrink: 0; overflow: hidden; }
.leader-msg .leader-head .av { width: 96px; height: 96px; border-radius: 22px; }
.leader-head .av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.leader-head b { display: block; color: var(--navy-ink); font-size: 1.12rem; }
.leader-head span { font-size: .86rem; color: var(--muted); }
.leader-msg p { color: var(--muted); line-height: 1.8; margin-bottom: 12px; font-size: .99rem; }
.leader-msg p:last-child { margin-bottom: 0; }
.leader-msg .sign { color: var(--navy); font-weight: 600; }

/* ---------- Leadership profile (single-card wrap-around photo) ---------- */
.leader-profile { display: grid; gap: clamp(22px, 3vw, 30px); }
.leader-intro {
  text-align: center;
  margin-bottom: 6px;
}
.leader-intro h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--navy-ink);
  line-height: 1.12;
  margin-bottom: 6px;
}
.leader-intro .role {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
  font-size: 1.02rem;
}
.leader-intro .role::after {
  content: "";
  display: inline-block;
  width: 44px;
  height: 3px;
  border-radius: 999px;
  background: var(--gold);
}
.leader-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-sm);
}
.leader-card::after {
  content: "";
  display: table;
  clear: both;
}
.leader-photo-float {
  float: left;
  width: clamp(260px, 42%, 420px);
  margin: 0 clamp(22px, 3vw, 38px) 18px 0;
  position: relative;
}
.leader-photo-frame {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--navy-ink), var(--navy-deep));
  box-shadow: 0 28px 70px rgba(12,42,99,.22), 0 0 0 1px rgba(18,60,138,.1);
}
.leader-photo-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(420px 320px at 8% 6%, rgba(246,180,10,.22), transparent 58%),
    linear-gradient(180deg, rgba(10,31,74,0) 62%, rgba(10,31,74,.55) 100%);
  pointer-events: none;
}
.leader-photo-frame img {
  width: 100%;
  aspect-ratio: 3 / 4.7;
  object-fit: cover;
  object-position: center top;
  display: block;
  position: relative;
  z-index: 1;
  transition: transform .8s var(--ease);
}
.leader-photo-frame:hover img { transform: scale(1.04); }
.leader-photo-badge {
  position: absolute;
  left: 50%;
  bottom: -22px;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  background: #fff;
  color: var(--navy-ink);
  border: 2px solid var(--gold);
  box-shadow: 0 12px 32px rgba(12,42,99,.18);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: .9rem;
  white-space: nowrap;
}
.leader-photo-badge .licon { color: var(--gold); width: 18px; height: 18px; }
.leader-card > p {
  color: var(--muted);
  line-height: 1.82;
  margin-bottom: 16px;
  font-size: clamp(.97rem, 1.1vw, 1.05rem);
}
.leader-card > p:first-of-type {
  font-size: clamp(1.08rem, 1.25vw, 1.18rem);
  color: var(--navy-ink);
  font-weight: 600;
}
.leader-card > p:last-child { margin-bottom: 0; }
.leader-card .sign {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--navy-ink);
  font-weight: 700;
  font-style: italic;
  line-height: 1.7;
  clear: both;
}
.leader-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  justify-content: center;
}

@media (max-width: 720px) {
  .leader-photo-float {
    float: none;
    width: 100%;
    max-width: 360px;
    margin: 0 auto 38px;
  }
  .leader-intro { margin-bottom: 18px; }
}

/* navy-outline ghost button for light sections */
.btn-ghost-navy { background: #fff; color: var(--navy) !important; border: 1.5px solid var(--line); }
.btn-ghost-navy:hover { background: var(--paper-2); border-color: var(--navy); transform: translateY(-3px); }

/* ---------- Leadership teaser links ---------- */
a.info-card.leader-link { display: block; color: inherit; }
.leader-link .leader-head { margin-bottom: 14px; }
.leader-link p { color: var(--muted); font-size: .94rem; line-height: 1.6; margin-bottom: 14px; }
.leader-link .more { color: var(--navy); font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
a.info-card.leader-link:hover .more { color: var(--gold); }

/* ---------- Forms ---------- */
.form-card { max-width: 760px; margin-inline: auto; }
.jform .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: var(--navy-ink); }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .96rem; color: var(--ink); width: 100%;
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(18,60,138,.12);
}
.jform .form-submit { margin-top: 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.jform .hint { font-size: .84rem; color: var(--muted); }
.form-note {
  margin-top: 18px; padding: 14px 18px; border-radius: 12px;
  background: rgba(46,158,84,.12); border: 1px solid rgba(46,158,84,.4); color: #1c7c43;
  font-weight: 600; font-size: .93rem;
}
@media (max-width: 640px) { .jform .form-grid { grid-template-columns: 1fr; } }

/* ---------- Embedded Zoho forms ---------- */
.form-embed {
  max-width: 820px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 10px;
  box-shadow: var(--shadow-sm);
}
.form-embed iframe {
  width: 100%;
  border-radius: 14px;
  display: block;
}

@media (max-width: 640px) {
  .leader-msg .leader-head { align-items: flex-start; }
  .leader-msg .leader-head .av { width: 84px; height: 84px; border-radius: 18px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .page-hero {
    padding-block: clamp(44px, 8vw, 70px);
  }
  .page-hero::after {
    right: -72px;
    top: 54%;
    width: clamp(230px, 46vw, 330px);
    opacity: .32;
  }
  .page-hero .wrap::before {
    right: 8%;
    top: -28px;
    width: 58px;
    opacity: .34;
  }
  .page-hero .wrap::after {
    right: 2%;
    bottom: -36px;
    width: 66px;
    opacity: .28;
  }
  .activity-benefits-card {
    grid-template-columns: 1fr;
  }
  .facilities-showcase .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 230px;
  }
  .facilities-showcase .tile.big,
  .facilities-showcase .tile.wide,
  .facilities-showcase .tile:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }
  .facilities-showcase .tile.big,
  .facilities-showcase .tile.wide {
    grid-column: span 2;
  }
  .facilities-showcase .tile.big {
    grid-row: span 2;
  }
  .assessment-showcase .step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .assessment-showcase .step {
    min-height: 220px;
  }
  .about-school-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }
  .about-school-media {
    min-height: 0;
  }
  .about-school-media img {
    min-height: 320px;
  }
  .about-estab {
    right: 18px;
  }
  .about-feature-strip {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }
  .split, .split.rev { grid-template-columns: 1fr; }
  .split.rev .media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .vm-layout { grid-template-columns: 1fr; }
  .vision-panel { min-height: 500px; }
  .mission-panel { padding: 26px 22px; }
  .mission-list li { padding-left: 54px; }
}

@media (max-width: 560px) {
  .page-hero {
    padding: 38px 0 54px;
  }
  .page-hero::after {
    right: -98px;
    top: 60%;
    width: 240px;
    opacity: .22;
  }
  .page-hero .wrap::before {
    right: 2%;
    top: -18px;
    width: 48px;
    opacity: .28;
  }
  .page-hero .wrap::after {
    display: none;
  }
  .page-hero h1 {
    max-width: 78%;
  }
  .page-hero p {
    max-width: 92%;
  }
  .subpage .section.contact-showcase {
    padding-block: 46px;
  }
  .subpage .section.contact-showcase::before,
  .subpage .section.contact-showcase::after {
    display: none;
  }
  .contact-card {
    border-radius: 20px;
    padding: 20px 16px;
  }
  .contact-card > .eyebrow {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
    padding: 0 18px;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    font-size: .6rem;
    letter-spacing: .08em;
    transform: none;
  }
  .contact-card > .eyebrow::before,
  .contact-card > .eyebrow::after {
    width: 18px;
  }
  .contact-card > .eyebrow::before { left: -12px; }
  .contact-card > .eyebrow::after { right: -12px; }
  .contact-card::before {
    width: 120px;
    height: 120px;
    right: -42px;
    top: -42px;
  }
  .contact-card h2 {
    max-width: 11ch;
    font-size: 1.28rem;
    line-height: 1.16;
    margin: 12px 0 10px;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
  }
  .contact-intro {
    font-size: .92rem;
    line-height: 1.55;
  }
  .contact-list li {
    padding: 12px;
    gap: 10px;
    align-items: center;
  }
  .contact-list li > div:last-child {
    min-width: 0;
  }
  .contact-list b {
    font-size: .95rem;
  }
  .contact-list span,
  .contact-list a {
    font-size: .88rem;
    line-height: 1.42;
  }
  .contact-list .ic-badge {
    width: 40px;
    height: 40px;
  }
  .map-wrap,
  .map-frame {
    min-height: 280px;
  }
  .map-wrap {
    border-width: 4px;
    border-radius: 20px;
  }
  .subpage .two-col-grid {
    grid-template-columns: 1fr !important;
  }
  .activity-benefits-card {
    padding: 26px 20px;
    border-radius: 22px;
  }
  .activity-benefits-list {
    grid-template-columns: 1fr;
  }
  .facilities-showcase .bento {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
    gap: 16px;
  }
  .facilities-showcase .tile.big,
  .facilities-showcase .tile.wide,
  .facilities-showcase .tile:nth-child(n) {
    grid-column: 1;
    grid-row: auto;
  }
  .facilities-showcase .tile.big {
    min-height: 360px;
  }
  .assessment-showcase .step-grid {
    grid-template-columns: 1fr;
  }
  .assessment-showcase .step {
    min-height: 0;
  }
  .assessment-showcase .wrap > p {
    padding: 16px 18px;
    font-size: .96rem;
  }
  .subpage .section.about-school-showcase {
    padding-block: 48px;
  }
  .about-school-grid {
    gap: 38px;
  }
  .about-school-media img {
    min-height: 260px;
    border-width: 4px;
    border-radius: 22px 22px 22px 42px;
  }
  .about-dots {
    width: 128px;
    height: 92px;
    background-size: 18px 18px;
  }
  .about-dots-left {
    left: 0;
    top: -18px;
  }
  .about-estab {
    width: 108px;
    height: 94px;
    right: 10px;
    bottom: -24px;
    border-radius: 16px;
  }
  .about-estab b {
    font-size: 1.75rem;
  }
  .about-estab span {
    font-size: .62rem;
  }
  .about-ribbon {
    min-width: 0;
    width: calc(100% - 60px);
    margin-inline: 30px;
    padding-inline: 28px;
    font-size: .78rem;
    letter-spacing: .09em;
  }
  .about-school-copy h2 {
    font-size: clamp(2rem, 11vw, 2.7rem);
    margin-top: 20px;
  }
  .about-school-text p {
    font-size: .98rem;
    line-height: 1.68;
  }
  .about-feature-strip {
    grid-template-columns: 1fr;
    padding: 10px 16px;
  }
  .about-feature,
  .about-feature:nth-child(2),
  .about-feature:nth-child(-n+2),
  .about-feature:nth-child(n+3) {
    padding: 14px;
    border: 1px solid rgba(18,60,138,.08);
  }
  .about-feature b,
  .about-feature small {
    white-space: normal;
  }
  .subpage .section.vm-showcase { padding-block: 48px; }
  .vm-heading img { width: 38px; height: 38px; }
  .vision-panel,
  .mission-panel { border-radius: 14px; }
  .vision-panel {
    min-height: 0;
  }
  .vision-content {
    min-height: 0;
    padding: 28px 20px 18px;
  }
  .vision-title {
    gap: 12px;
    flex-direction: column;
  }
  .vision-icon {
    width: 52px;
    height: 52px;
  }
  .vision-icon .licon { width: 26px; height: 26px; }
  .vision-panel p {
    font-size: .95rem;
    line-height: 1.58;
  }
  .vision-photo {
    position: relative;
    height: 190px;
  }
  .vision-photo::before {
    top: -26px;
    height: 48px;
  }
  .vision-photo img {
    object-position: center top;
  }
  .mission-title {
    align-items: flex-start;
    gap: 14px;
  }
  .mission-icon {
    width: 54px;
    height: 54px;
  }
  .mission-icon .licon { width: 28px; height: 28px; }
  .mission-list li {
    min-height: 44px;
    padding: 11px 0 11px 46px;
    font-size: .95rem;
  }
  .mission-list li::before {
    width: 30px;
    height: 30px;
  }
  .mission-list li::after {
    left: 10px;
    width: 7px;
    height: 13px;
  }
}
