/* ===== Self-hosted fonts (no Google Fonts needed) ===== */
@font-face{font-family:'Cinzel';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/cinzel-latin-400-normal.woff2') format('woff2');}
@font-face{font-family:'Cinzel';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/cinzel-latin-500-normal.woff2') format('woff2');}
@font-face{font-family:'Cinzel';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/cinzel-latin-600-normal.woff2') format('woff2');}
@font-face{font-family:'Cinzel';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/cinzel-latin-700-normal.woff2') format('woff2');}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:300;font-display:swap;src:url('fonts/cormorant-garamond-latin-300-normal.woff2') format('woff2');}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2');}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2');}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2');}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:300;font-display:swap;src:url('fonts/cormorant-garamond-latin-300-italic.woff2') format('woff2');}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:400;font-display:swap;src:url('fonts/cormorant-garamond-latin-400-italic.woff2') format('woff2');}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:500;font-display:swap;src:url('fonts/cormorant-garamond-latin-500-italic.woff2') format('woff2');}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:300;font-display:swap;src:url('fonts/dm-sans-latin-300-normal.woff2') format('woff2');}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/dm-sans-latin-400-normal.woff2') format('woff2');}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/dm-sans-latin-500-normal.woff2') format('woff2');}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/dm-sans-latin-600-normal.woff2') format('woff2');}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/dm-sans-latin-700-normal.woff2') format('woff2');}

/* ================================================================
   APPLEGATE CHRISTIAN SCHOOLS
   Stylesheet — v2.0 Production
   applegateschool.sc.ke
   ================================================================ */

/* ── GOOGLE FONTS (loaded in <head> via link tag) ── */

/* ── DESIGN TOKENS ── */
:root {
  /* Brand colours */
  --pu:   #8c52ff;
  --pu2:  #6b3dd4;
  --pul:  #f0e9ff;
  --rd:   #ef0806;
  --gd:   #f8cb0c;
  --gd2:  #d9b000;

  /* Neutrals */
  --wh:   #ffffff;
  --s0:   #f9f8fc;
  --s1:   #f2f0f8;
  --s2:   #e4e0f0;
  --s3:   #bbb5d4;
  --s4:   #6b6485;
  --s5:   #2d2847;
  --bk:   #100e1d;

  /* Typography */
  --ff-d: 'Cinzel', serif;
  --ff-s: 'Cormorant Garamond', serif;
  --ff-b: 'DM Sans', sans-serif;

  /* Motion */
  --ease:  cubic-bezier(.16, 1, .3, 1);
  --ease2: cubic-bezier(.4, 0, .2, 1);

  /* Radii */
  --r1: 8px;
  --r2: 16px;
  --r3: 24px;
  --r4: 40px;

  /* Shadows */
  --sh1: 0 1px 3px rgba(16,14,29,.06), 0 4px 16px rgba(16,14,29,.06);
  --sh2: 0 8px 40px rgba(140,82,255,.14);

  /* Layout */
  --nav-h: 68px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: var(--ff-b);
  background: var(--wh);
  color: var(--bk);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: var(--ff-b); border: none; background: none; cursor: none; }
input, textarea, select { font-family: var(--ff-b); }
::selection { background: var(--pu); color: #fff; }

/* ── KEYBOARD FOCUS ── */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid var(--pu);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  .sr { opacity: 1; transform: none; transition: none; }
  * { cursor: auto !important; }
}

/* ── TOUCH DEVICE CURSOR OVERRIDE ── */
@media (hover: none), (pointer: coarse) {
  body { cursor: auto; }
  #cdot, #cring { display: none; }
  .faq-q, .radio-o, .ev-fil-btn, .sig-tab, .admin-tab, button { cursor: pointer !important; }
}

/* ================================================================
   CUSTOM CURSOR
   ================================================================ */
#cdot, #cring {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  z-index: 9999;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  will-change: transform;
}
#cdot {
  width: 7px; height: 7px;
  background: var(--pu);
  transition: background .2s, transform .15s var(--ease);
}
#cring {
  width: 30px; height: 30px;
  border: 1.5px solid var(--pu);
  opacity: .5;
  z-index: 9998;
  transition: width .22s var(--ease), height .22s var(--ease), border-color .2s, opacity .2s;
}
#cdot.h  { background: var(--gd); transform: translate(-50%,-50%) scale(1.7); }
#cring.h { width: 48px; height: 48px; border-color: var(--gd); opacity: 1; }

/* ================================================================
   SCROLL REVEAL
   ================================================================ */
.sr {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.sr.in { opacity: 1; transform: none; }
.sr.d1 { transition-delay: .09s; }
.sr.d2 { transition-delay: .18s; }
.sr.d3 { transition-delay: .28s; }
.sr.d4 { transition-delay: .40s; }

/* ================================================================
   PAGE TRANSITIONS
   ================================================================ */
.page { display: none; animation: pgIn .5s var(--ease) both; }
.page.active { display: block; }
@keyframes pgIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   LAYOUT HELPERS
   ================================================================ */
.wrap    { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
.wrap--sm { max-width: 760px; margin: 0 auto; padding: 0 32px; }
.sect    { padding: 96px 0; }
.sect--sm { padding: 64px 0; }
.sect--dark   { background: var(--bk); color: #fff; }
.sect--tint   { background: var(--s0); }
.sect--purple { background: var(--pu); }
.feat-g { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

/* ================================================================
   TYPOGRAPHY
   ================================================================ */
.t-eye {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; color: var(--pu); margin-bottom: 14px;
}
.t-eye::before {
  content: ''; width: 24px; height: 1px;
  background: var(--gd); flex-shrink: 0;
}
.t-h1 {
  font-family: var(--ff-d);
  font-size: clamp(42px, 6.5vw, 88px);
  font-weight: 600; line-height: 1.03; letter-spacing: -.01em;
}
.t-h2 {
  font-family: var(--ff-d);
  font-size: clamp(28px, 3.8vw, 52px);
  font-weight: 600; line-height: 1.08; letter-spacing: -.005em;
}
.t-h3 {
  font-family: var(--ff-d);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 600; line-height: 1.2; letter-spacing: .02em;
}
.t-it {
  font-family: var(--ff-s);
  font-size: clamp(18px, 2.3vw, 26px);
  font-style: italic; font-weight: 300;
  color: var(--s4); line-height: 1.55; margin-top: 10px;
}
.t-body {
  font-size: 15px; font-weight: 300;
  color: var(--s4); line-height: 1.82; max-width: 520px;
}
.t-white { color: #fff; }

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 500; letter-spacing: .05em;
  padding: 13px 28px; border-radius: 50px;
  transition: all .25s var(--ease); white-space: nowrap;
}
.btn .arr {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%; font-size: 11px;
  transition: transform .22s var(--ease);
}
.btn:hover .arr { transform: translateX(4px); }

.btn-pu {
  background: var(--pu); color: #fff;
  box-shadow: 0 3px 18px rgba(140,82,255,.28);
}
.btn-pu:hover {
  background: var(--pu2); color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(140,82,255,.38);
}
.btn-pu .arr { background: rgba(255,255,255,.18); color: #fff; }

.btn-gd  { background: var(--gd); color: var(--bk); }
.btn-gd:hover {
  background: var(--gd2); color: var(--bk);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(248,203,12,.35);
}

.btn-ghost { border: 1.5px solid var(--s2); color: var(--s4); }
.btn-ghost:hover {
  border-color: var(--pu); color: var(--pu); transform: translateY(-1px);
}

.btn-wh { background: #fff; color: var(--pu); }
.btn-wh:hover {
  background: var(--s0); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.btn-wh .arr { background: rgba(140,82,255,.12); color: var(--pu); }

/* ================================================================
   NOTICE BAR
   ================================================================ */
.nbar {
  background: var(--rd); color: #fff;
  text-align: center; padding: 9px 20px;
  font-size: 12.5px; font-weight: 500; letter-spacing: .04em;
  position: relative; z-index: 200;
}
.nbar a { color: #fff; font-weight: 700; text-decoration: underline; margin-left: 6px; }
.nbar-in { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.nbadge {
  background: rgba(255,255,255,.18); padding: 2px 10px;
  border-radius: 50px; font-size: 10px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
}

/* ================================================================
   NAVIGATION
   ================================================================ */
.nav {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(228,224,240,.7);
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 4px 32px rgba(16,14,29,.07); }
.nav-in {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; max-width: 1160px; margin: 0 auto; padding: 0 32px;
}
.nav-logo { display: flex; align-items: center; gap: 11px; }
.nav-mark {
  width: 40px; height: 40px; background: var(--pu);
  border-radius: 10px; display: flex; align-items: center;
  justify-content: center; color: #fff;
  font-family: var(--ff-d); font-size: 16px; flex-shrink: 0;
  overflow: hidden;
}
.nav-name { font-family: var(--ff-d); font-size: 13.5px; letter-spacing: .06em; line-height: 1.2; }
.nav-sub  { font-size: 9.5px; letter-spacing: .14em; color: var(--s3); text-transform: uppercase; margin-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 13.5px; font-weight: 400; color: var(--s4);
  letter-spacing: .015em; position: relative;
  transition: color .2s; padding: 4px 0;
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -2px; left: 0; width: 0; height: 1.5px;
  background: var(--gd); transition: width .25s var(--ease);
}
.nav-links a:hover, .nav-links a.act { color: var(--pu); }
.nav-links a:hover::after, .nav-links a.act::after { width: 100%; }
.nav-cta {
  background: var(--pu) !important; color: #fff !important;
  padding: 8px 20px; border-radius: 50px;
  font-weight: 500 !important; font-size: 12.5px !important;
  box-shadow: 0 3px 14px rgba(140,82,255,.25);
  transition: all .22s var(--ease) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--pu2) !important; color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 7px 22px rgba(140,82,255,.35) !important;
}

/* Hamburger */
.nav-tog { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-tog span {
  display: block; width: 22px; height: 2px;
  background: var(--bk); border-radius: 2px;
  transition: all .25s var(--ease);
}
.nav-tog.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-tog.open span:nth-child(2) { opacity: 0; }
.nav-tog.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay nav */
.mob-nav {
  display: none; position: fixed; inset: 0;
  background: rgba(16,14,29,.97); backdrop-filter: blur(16px);
  z-index: 99; flex-direction: column;
  align-items: center; justify-content: center; gap: 28px;
}
.mob-nav.open { display: flex; }
.mob-nav a {
  font-family: var(--ff-d); font-size: 26px;
  letter-spacing: .04em; color: #fff; transition: color .2s;
}
.mob-nav a:hover { color: var(--gd); }
.mob-nav .mob-cta {
  margin-top: 8px; background: var(--pu); color: #fff;
  padding: 14px 40px; border-radius: 50px; font-size: 18px;
}
.mob-close {
  position: absolute; top: 22px; right: 24px;
  color: rgba(255,255,255,.5); font-size: 26px;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer { background: var(--bk); color: #fff; padding: 64px 0 0; }
.footer-g {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 52px; padding-bottom: 52px;
}
.foot-logo-m {
  width: 42px; height: 42px; background: var(--pu); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--ff-d); font-size: 17px; margin-bottom: 14px;
  overflow: hidden;
}
.foot-brand p {
  font-size: 13px; font-weight: 300; color: rgba(255,255,255,.45);
  line-height: 1.8; margin-top: 10px; max-width: 260px;
}
.foot-brand-name { font-family: var(--ff-d); font-size: 14px; letter-spacing: .06em; }
.foot-brand-sub  {
  font-size: 10px; letter-spacing: .12em;
  color: rgba(255,255,255,.35); text-transform: uppercase; margin-top: 2px;
}
.foot-col h5 {
  font-family: var(--ff-d); font-size: 11.5px; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 18px;
}
.foot-col ul  { display: flex; flex-direction: column; gap: 9px; }
.foot-col a   { font-size: 13px; font-weight: 300; color: rgba(255,255,255,.5); transition: color .2s; }
.foot-col a:hover { color: var(--gd); }
.foot-contact li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; font-weight: 300;
  color: rgba(255,255,255,.5); margin-bottom: 12px; line-height: 1.5;
}
.foot-contact .ic { color: var(--gd); flex-shrink: 0; margin-top: 1px; }
.foot-contact a   { color: rgba(255,255,255,.5); transition: color .2s; }
.foot-contact a:hover { color: var(--gd); }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.07); padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.foot-bottom p, .foot-bottom a { font-size: 12px; color: rgba(255,255,255,.25); }
.foot-bottom a:hover { color: var(--gd); }
.foot-links { display: flex; gap: 20px; }

/* ================================================================
   PAGE HERO
   ================================================================ */
.page-hero {
  position: relative; min-height: 60vh;
  display: flex; align-items: center;
  overflow: hidden; background: var(--s0);
}
.page-hero.tall { min-height: 88vh; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-msk {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.9) 44%, rgba(255,255,255,.2) 100%);
}
.hero-cnt { position: relative; z-index: 2; padding: 110px 0 72px; }

/* Breadcrumb */
.bc { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.bc a   { font-size: 11px; color: var(--s3); letter-spacing: .06em; transition: color .2s; }
.bc a:hover { color: var(--pu); }
.bc-sep { font-size: 11px; color: var(--s2); }
.bc-cur { font-size: 11px; color: var(--s4); }

/* ================================================================
   STATS STRIP
   ================================================================ */
.stat-strip { background: var(--pu); padding: 52px 0; color: #fff; }
.stat-g {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px; text-align: center;
}
.stat-n {
  font-family: var(--ff-s);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 300; line-height: 1; display: block; margin-bottom: 6px;
}
.stat-l { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; opacity: .7; }

/* ================================================================
   HOME — HERO ANIMATIONS
   ================================================================ */
.hero-word { display: block; }
.hero-em   { font-style: italic; color: var(--pu); font-family: var(--ff-d); }
.scroll-nudge { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 56px; }
.snl { width: 1px; height: 40px; background: var(--s2); position: relative; overflow: hidden; }
.snl::after {
  content: ''; position: absolute; top: -100%; left: 0;
  width: 100%; height: 100%; background: var(--pu);
  animation: snDrop 1.8s 1.4s infinite ease;
}
@keyframes snDrop { 0% { top: -100%; } 100% { top: 100%; } }
.snt { font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--s3); }

@keyframes upIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.a1 { animation: upIn .8s .20s both; }
.a2 { animation: upIn .8s .35s both; }
.a3 { animation: upIn .8s .50s both; }
.a4 { animation: upIn .8s .65s both; }
.a5 { animation: upIn .8s .80s both; }

/* ================================================================
   TIER CARDS (Home & Schools)
   ================================================================ */
.tier-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tier-c {
  background: var(--wh); border-radius: var(--r3);
  border: 1px solid var(--s1); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s;
  display: flex; flex-direction: column;
}
.tier-c:hover { transform: translateY(-7px); box-shadow: var(--sh2); }
.tier-bar  { height: 5px; }
.tier-ey .tier-bar { background: var(--gd); }
.tier-pr .tier-bar { background: var(--pu); }
.tier-jr .tier-bar { background: var(--bk); }
.tier-body { padding: 32px; flex: 1; display: flex; flex-direction: column; }
.tier-ico  { font-size: 28px; margin-bottom: 18px; }
.tier-age  { font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 5px; }
.tier-ey .tier-age { color: var(--gd2); }
.tier-pr .tier-age { color: var(--pu); }
.tier-jr .tier-age { color: var(--s4); }
.tier-nm   { font-family: var(--ff-d); font-size: 19px; color: var(--bk); margin-bottom: 10px; }
.tier-tx   { font-size: 13.5px; font-weight: 300; color: var(--s4); line-height: 1.75; flex: 1; margin-bottom: 20px; }
.tier-pills { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 20px; }
.pill      { font-size: 10px; font-weight: 500; padding: 3px 10px; border-radius: 50px; }
.tier-ey .pill { background: #fff9da; color: #8a6c00; }
.tier-pr .pill { background: var(--pul); color: var(--pu2); }
.tier-jr .pill { background: var(--s1); color: var(--s4); }
.tier-lnk  { font-size: 12.5px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; transition: gap .2s; }
.tier-ey .tier-lnk { color: var(--gd2); }
.tier-pr .tier-lnk { color: var(--pu); }
.tier-jr .tier-lnk { color: var(--bk); }
.tier-lnk:hover { gap: 12px; }

/* ================================================================
   WHY CHOOSE US
   ================================================================ */
.why-g { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.why-i {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 24px; background: var(--wh);
  border-radius: var(--r2); border: 1px solid var(--s1);
  transition: box-shadow .2s, transform .2s;
}
.why-i:hover { box-shadow: var(--sh1); transform: translateY(-2px); }
.why-n { font-family: var(--ff-s); font-size: 34px; font-weight: 300; color: var(--s2); line-height: 1; flex-shrink: 0; width: 44px; }
.why-i h4 { font-family: var(--ff-d); font-size: 13.5px; color: var(--bk); margin-bottom: 5px; letter-spacing: .03em; }
.why-i p  { font-size: 13px; font-weight: 300; color: var(--s4); line-height: 1.7; }

/* ================================================================
   FAITH / DARK SECTION
   ================================================================ */
.faith-qt {
  font-family: var(--ff-s); font-size: clamp(22px, 3.2vw, 40px);
  font-weight: 300; font-style: italic; line-height: 1.5;
  color: rgba(255,255,255,.9); max-width: 680px; margin-bottom: 18px;
  position: relative; z-index: 1;
}
.faith-qt::before {
  content: '\201C'; font-size: 5.5em; color: var(--pu); opacity: .3;
  position: absolute; top: -30px; left: -16px; line-height: 1;
  z-index: -1; font-family: var(--ff-s);
}
.faith-ref   { font-size: 13px; letter-spacing: .1em; color: var(--gd); position: relative; z-index: 1; }
.faith-blob  {
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: var(--pu); filter: blur(80px); opacity: .15;
  top: -80px; right: -80px; pointer-events: none;
}
.pillars-g {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 56px; position: relative; z-index: 1;
}
.pillar {
  padding: 32px 24px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.07); border-radius: var(--r3);
  text-align: center; transition: background .2s;
}
.pillar:hover { background: rgba(255,255,255,.09); }
.pillar-ico { font-size: 28px; margin-bottom: 14px; }
.pillar h4  { font-family: var(--ff-d); font-size: 14px; letter-spacing: .05em; color: #fff; margin-bottom: 8px; }
.pillar p   { font-size: 13px; font-weight: 300; color: rgba(255,255,255,.5); line-height: 1.7; }

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testi {
  background: var(--wh); border-radius: var(--r3);
  padding: 32px; border: 1px solid var(--s1);
}
.testi-stars { color: var(--gd); font-size: 13px; letter-spacing: 2px; margin-bottom: 14px; }
.testi-tx {
  font-family: var(--ff-s); font-size: 17px; font-weight: 300;
  font-style: italic; color: var(--s5); line-height: 1.7; margin-bottom: 20px;
}
.testi-auth  { display: flex; align-items: center; gap: 12px; }
.testi-av    { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid var(--pul); }
.testi-nm    { font-size: 13px; font-weight: 500; color: var(--bk); }
.testi-rl    { font-size: 11px; color: var(--s3); letter-spacing: .04em; }

/* ================================================================
   CTA BAND
   ================================================================ */
.cta-band {
  background: linear-gradient(130deg, var(--pu) 0%, var(--pu2) 100%);
  padding: 80px 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; width: 320px; height: 320px;
  border-radius: 50%; background: rgba(255,255,255,.07);
  top: -100px; left: -80px; filter: blur(40px);
}
.cta-band::after {
  content: ''; position: absolute; width: 280px; height: 280px;
  border-radius: 50%; background: rgba(248,203,12,.1);
  bottom: -80px; right: -60px; filter: blur(50px);
}
.cta-band h2 {
  font-family: var(--ff-d); font-size: clamp(24px, 3.8vw, 44px);
  color: #fff; margin-bottom: 10px; position: relative; z-index: 1;
}
.cta-band p {
  font-family: var(--ff-s); font-size: 20px; font-weight: 300;
  font-style: italic; color: rgba(255,255,255,.72);
  margin-bottom: 34px; position: relative; z-index: 1;
}
.cta-acts {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap; position: relative; z-index: 1;
}

/* ================================================================
   SCHOOLS PAGE
   ================================================================ */
.sch-block {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
  padding: 88px 0; border-bottom: 1px solid var(--s1);
}
.sch-block:last-child { border-bottom: none; }
.sch-block.flip { direction: rtl; }
.sch-block.flip > * { direction: ltr; }
.sch-img { border-radius: var(--r4); overflow: hidden; height: 440px; }
.sch-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sch-img:hover img { transform: scale(1.04); }
.sch-bar { height: 4px; width: 52px; border-radius: 2px; margin-bottom: 18px; }
.curr-g {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px; margin-top: 18px;
}
.curr-i {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 14px; background: var(--s0);
  border-radius: var(--r1); font-size: 12.5px; font-weight: 400; color: var(--s4);
}
.curr-i span { font-size: 15px; }
.cocurr-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cocurr-i {
  text-align: center; padding: 28px 18px;
  background: var(--wh); border-radius: var(--r3);
  border: 1px solid var(--s1); transition: transform .2s, box-shadow .2s;
}
.cocurr-i:hover { transform: translateY(-4px); box-shadow: var(--sh1); }
.cocurr-ico { font-size: 28px; margin-bottom: 10px; }
.cocurr-i h4 { font-family: var(--ff-d); font-size: 13.5px; letter-spacing: .04em; color: var(--bk); margin-bottom: 6px; }
.cocurr-i p  { font-size: 12.5px; color: var(--s4); font-weight: 300; line-height: 1.6; }

/* ================================================================
   ADMISSIONS PAGE
   ================================================================ */
.proc-step {
  display: flex; gap: 20px; align-items: flex-start;
  margin-bottom: 36px; position: relative;
}
.proc-step::before {
  content: ''; position: absolute; left: 25px; top: 52px;
  height: calc(100% - 16px); width: 1px; background: var(--s1);
}
.proc-step:last-child::before { display: none; }
.proc-n {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--pu); color: #fff;
  font-family: var(--ff-d); font-size: 17px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: 0 3px 14px rgba(140,82,255,.3);
}
.proc-cnt h4 { font-family: var(--ff-d); font-size: 15px; color: var(--bk); margin-bottom: 6px; margin-top: 12px; letter-spacing: .03em; }
.proc-cnt p  { font-size: 13.5px; font-weight: 300; color: var(--s4); line-height: 1.75; }

/* Fees table */
.fees-t {
  width: 100%; border-collapse: collapse;
  border-radius: var(--r2); overflow: hidden; border: 1px solid var(--s1);
}
.fees-t th {
  background: var(--pu); color: #fff;
  font-family: var(--ff-d); font-size: 12px; letter-spacing: .07em;
  padding: 15px 20px; text-align: left;
}
.fees-t td {
  padding: 15px 20px; font-size: 13.5px;
  color: var(--s4); border-bottom: 1px solid var(--s1); font-weight: 300;
}
.fees-t tr:last-child td { border-bottom: none; }
.fees-t tr:nth-child(even) td { background: var(--s0); }
.fees-t td:last-child { font-weight: 500; color: var(--bk); }
.fees-note {
  background: var(--pul); border-radius: var(--r2);
  padding: 18px 22px; margin-top: 16px;
  font-size: 13px; color: var(--s4); line-height: 1.75;
}
.fees-note strong { color: var(--pu2); }

/* Open day cards */
.od-c {
  background: var(--wh); border-radius: var(--r2);
  padding: 22px; border: 1px solid var(--s1);
  display: flex; gap: 16px; align-items: flex-start;
  transition: box-shadow .2s, transform .2s;
}
.od-c:hover { box-shadow: var(--sh1); transform: translateY(-2px); }
.od-dt {
  background: var(--pu); color: #fff;
  border-radius: var(--r1); padding: 10px 14px;
  text-align: center; min-width: 58px; flex-shrink: 0;
}
.od-mo { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.od-dy { font-family: var(--ff-s); font-size: 32px; font-weight: 300; line-height: 1; }
.od-info h4 { font-family: var(--ff-d); font-size: 14px; color: var(--bk); margin-bottom: 4px; }
.od-info p  { font-size: 13px; font-weight: 300; color: var(--s4); line-height: 1.6; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--s1); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; cursor: none;
  font-family: var(--ff-d); font-size: 14.5px; letter-spacing: .03em;
  color: var(--bk); transition: color .2s; gap: 16px;
}
.faq-q:hover { color: var(--pu); }
.faq-tog {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--s2);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--s3);
  transition: all .2s; flex-shrink: 0; line-height: 1;
}
.faq-item.open .faq-tog {
  background: var(--pu); border-color: var(--pu);
  color: #fff; transform: rotate(45deg);
}
.faq-a {
  font-size: 13.5px; font-weight: 300; color: var(--s4);
  line-height: 1.8; padding-bottom: 18px; display: none;
}
.faq-item.open .faq-a { display: block; }

/* Doc checklist */
.doc-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 11px 0; border-bottom: 1px solid var(--s1);
}
.doc-list li:last-child { border-bottom: none; }
.doc-ck {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--pul); color: var(--pu);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; flex-shrink: 0; margin-top: 2px;
}
.doc-list li p { font-size: 13.5px; font-weight: 300; color: var(--s4); line-height: 1.6; }

/* ================================================================
   COMMUNITY PAGE
   ================================================================ */
.chapel-g {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center; position: relative; z-index: 1;
}
.chapel-img  { border-radius: var(--r4); overflow: hidden; height: 480px; }
.chapel-img img { width: 100%; height: 100%; object-fit: cover; }
.chapel-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.chapel-f {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r2); padding: 18px;
}
.chapel-f h4 { font-family: var(--ff-d); font-size: 12.5px; color: #fff; margin-bottom: 5px; letter-spacing: .04em; }
.chapel-f p  { font-size: 12.5px; color: rgba(255,255,255,.45); font-weight: 300; line-height: 1.6; }

.ev-g  { display: flex; flex-direction: column; gap: 14px; max-width: 700px; }
.ev-c  {
  background: var(--wh); border-radius: var(--r2);
  padding: 20px; border: 1px solid var(--s1);
  display: flex; gap: 14px; transition: all .2s;
}
.ev-c:hover { box-shadow: var(--sh1); transform: translateY(-2px); }
.ev-dt {
  background: var(--s0); border-radius: var(--r1);
  padding: 9px 12px; text-align: center; min-width: 56px; flex-shrink: 0;
}
.ev-mo { font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--s3); }
.ev-dy { font-family: var(--ff-s); font-size: 28px; font-weight: 300; color: var(--pu); line-height: 1; }
.ev-info h4 { font-family: var(--ff-d); font-size: 13.5px; color: var(--bk); margin-bottom: 3px; }
.ev-info p  { font-size: 12.5px; color: var(--s4); font-weight: 300; line-height: 1.55; }
.ev-tag {
  display: inline-block; background: var(--pul); color: var(--pu2);
  font-size: 9.5px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; padding: 2px 8px; border-radius: 50px; margin-top: 7px;
}

/* Gallery */
.gal-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gal-i { border-radius: var(--r2); overflow: hidden; position: relative; }
.gal-i img { width: 100%; height: 210px; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.gal-i:hover img { transform: scale(1.06); }
.gal-i.tall img { height: 324px; }
.gal-ov {
  position: absolute; inset: 0;
  background: rgba(16,14,29,0); transition: background .3s;
  display: flex; align-items: center; justify-content: center;
}
.gal-i:hover .gal-ov { background: rgba(16,14,29,.28); }
.gal-ov span {
  color: #fff; font-size: 22px; opacity: 0;
  transform: scale(.8); transition: opacity .3s, transform .3s;
}
.gal-i:hover .gal-ov span { opacity: 1; transform: scale(1); }

/* ================================================================
   ABOUT PAGE
   ================================================================ */
.timeline { position: relative; padding-left: 38px; }
.timeline::before {
  content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px;
  width: 2px; background: var(--s1);
}
.tl-i  { position: relative; margin-bottom: 36px; }
.tl-i::before {
  content: ''; position: absolute; left: -35px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--pu); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--pu);
}
.tl-yr { font-family: var(--ff-s); font-size: 21px; color: var(--pu); font-weight: 300; margin-bottom: 4px; }
.tl-i h4 { font-family: var(--ff-d); font-size: 14px; color: var(--bk); margin-bottom: 4px; letter-spacing: .03em; }
.tl-i p  { font-size: 13.5px; font-weight: 300; color: var(--s4); line-height: 1.75; }

.staff-c {
  background: var(--wh); border-radius: var(--r3);
  overflow: hidden; border: 1px solid var(--s1);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.staff-c:hover { transform: translateY(-6px); box-shadow: var(--sh2); }
.staff-img { width: 100%; height: 240px; object-fit: cover; object-position: top; }
.staff-body { padding: 22px; }
.staff-nm { font-family: var(--ff-d); font-size: 15px; color: var(--bk); margin-bottom: 3px; letter-spacing: .03em; }
.staff-rl { font-size: 11px; font-weight: 500; color: var(--pu); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 9px; }
.staff-bio{ font-size: 13px; font-weight: 300; color: var(--s4); line-height: 1.7; }
.staff-qs { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.staff-q  { background: var(--pul); color: var(--pu2); font-size: 10px; font-weight: 500; padding: 2px 9px; border-radius: 50px; }

.val-i {
  padding: 32px; background: var(--wh);
  border-radius: var(--r2); border: 1px solid var(--s1);
  transition: transform .2s, box-shadow .2s;
}
.val-i:hover { transform: translateY(-3px); box-shadow: var(--sh1); }
.val-ico { font-size: 28px; margin-bottom: 14px; }
.val-i h4 { font-family: var(--ff-d); font-size: 15px; color: var(--bk); margin-bottom: 8px; letter-spacing: .04em; }
.val-i p  { font-size: 13.5px; font-weight: 300; color: var(--s4); line-height: 1.75; }

.accred-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.accred-b {
  display: flex; align-items: center; gap: 9px;
  padding: 12px 18px; background: var(--wh);
  border: 1px solid var(--s1); border-radius: var(--r1);
  font-size: 12.5px; color: var(--s4); transition: all .2s;
}
.accred-b:hover { border-color: var(--pu); color: var(--pu); }
.accred-b span { font-size: 18px; }

/* ================================================================
   CONTACT PAGE
   ================================================================ */
.contact-g { display: grid; grid-template-columns: 1fr 1.55fr; gap: 52px; align-items: start; }
.contact-card {
  background: var(--bk); border-radius: var(--r4);
  padding: 40px; position: sticky; top: 88px;
}
.contact-card h3 { font-family: var(--ff-d); font-size: 20px; letter-spacing: .04em; color: #fff; margin-bottom: 8px; }
.contact-card > p { font-size: 13.5px; font-weight: 300; color: rgba(255,255,255,.45); line-height: 1.75; margin-bottom: 32px; }
.cd-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.cd-icon {
  width: 42px; height: 42px; background: rgba(255,255,255,.07);
  border-radius: var(--r1); display: flex; align-items: center;
  justify-content: center; font-size: 17px; flex-shrink: 0;
}
.cd-text h4 { font-family: var(--ff-d); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 3px; }
.cd-text a, .cd-text p { font-size: 14px; color: rgba(255,255,255,.8); font-weight: 300; line-height: 1.5; transition: color .2s; }
.cd-text a:hover { color: var(--gd); }
.cd-div { height: 1px; background: rgba(255,255,255,.08); margin: 24px 0; }
.hr-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.06);
}
.hr-row:last-child { border-bottom: none; }
.hr-day  { font-size: 13px; color: rgba(255,255,255,.45); font-weight: 300; }
.hr-time { font-size: 13px; color: rgba(255,255,255,.75); }

/* Form */
.form-wrap {
  background: var(--wh); border-radius: var(--r4);
  padding: 40px; border: 1px solid var(--s1);
}
.form-wrap h3 { font-family: var(--ff-d); font-size: 20px; color: var(--bk); letter-spacing: .03em; margin-bottom: 6px; }
.form-wrap > p { font-size: 13.5px; font-weight: 300; color: var(--s4); line-height: 1.75; margin-bottom: 28px; }
.f-group { margin-bottom: 18px; }
.f-label { display: block; font-size: 12.5px; font-weight: 500; color: var(--s5); margin-bottom: 7px; letter-spacing: .02em; }
.f-label .req { color: var(--rd); }
.f-in, .f-ta, .f-sel {
  width: 100%; padding: 13px 16px;
  border-radius: var(--r2); border: 1.5px solid var(--s1);
  background: var(--wh); font-family: var(--ff-b);
  font-size: 13.5px; font-weight: 300; color: var(--bk);
  transition: border-color .2s, box-shadow .2s; outline: none;
}
.f-in:focus, .f-ta:focus, .f-sel:focus {
  border-color: var(--pu); box-shadow: 0 0 0 4px rgba(140,82,255,.08);
}
.f-ta { resize: vertical; min-height: 130px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.radio-g { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-o {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 14px; border: 1.5px solid var(--s1);
  border-radius: 50px; cursor: none;
  font-size: 12.5px; color: var(--s4); transition: all .2s;
}
.radio-o input { display: none; }
.radio-o.sel { border-color: var(--pu); color: var(--pu); background: var(--pul); }
.form-success {
  display: none; background: var(--pul);
  border: 1.5px solid var(--pu); border-radius: var(--r2);
  padding: 22px 26px; margin-top: 18px; text-align: center;
}
.form-success h4 { font-family: var(--ff-d); font-size: 15px; color: var(--pu2); margin-bottom: 5px; }
.form-success p  { font-size: 13.5px; color: var(--s4); font-weight: 300; }
.form-success.show { display: block; }
.wpforms-note {
  background: var(--s0); border: 1px solid var(--s2);
  border-radius: var(--r1); padding: 14px 18px; margin-top: 18px;
  font-size: 12px; color: var(--s3); line-height: 1.6;
}
.wpforms-note strong { color: var(--pu); }

/* ================================================================
   WHATSAPP FLOATING BUTTON
   ================================================================ */
.wa-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 500;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.wa-btn:hover { transform: translateY(-3px) scale(1.08); box-shadow: 0 8px 28px rgba(37,211,102,.5); }
.wa-btn svg { width: 28px; height: 28px; fill: #fff; }
.wa-tooltip {
  position: absolute; right: 68px; top: 50%; transform: translateY(-50%);
  background: var(--bk); color: #fff;
  font-family: var(--ff-b); font-size: 12px; font-weight: 400;
  letter-spacing: .03em; padding: 7px 14px; border-radius: 50px;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.wa-btn:hover .wa-tooltip { opacity: 1; }

/* ================================================================
   BACK TO TOP
   ================================================================ */
.btt {
  position: fixed; bottom: 96px; right: 28px; z-index: 500;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--wh); color: var(--pu);
  border: 1.5px solid var(--s2);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: none;
  box-shadow: var(--sh1);
  transition: all .25s var(--ease);
  opacity: 0; pointer-events: none;
}
.btt.show { opacity: 1; pointer-events: auto; }
.btt:hover { background: var(--pu); color: #fff; border-color: var(--pu); transform: translateY(-2px); box-shadow: var(--sh2); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .footer-g         { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stat-g           { grid-template-columns: repeat(2, 1fr); }
  .pillars-g        { grid-template-columns: 1fr 1fr; }
  .sch-block        { grid-template-columns: 1fr; gap: 40px; }
  .sch-block.flip   { direction: ltr; }
  .sch-img          { height: 300px; }
  .contact-g        { grid-template-columns: 1fr; }
  .contact-card     { position: static; }
  .chapel-g         { grid-template-columns: 1fr; gap: 40px; }
  .chapel-img       { height: 300px; }
  .feat-g           { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .wrap, .wrap--sm  { padding: 0 20px; }
  .sect             { padding: 64px 0; }
  .nav-links        { display: none; }
  .nav-tog          { display: flex; }
  .tier-g           { grid-template-columns: 1fr; }
  .why-g            { grid-template-columns: 1fr; }
  .pillars-g        { grid-template-columns: 1fr; }
  .footer-g         { grid-template-columns: 1fr; gap: 28px; }
  .foot-bottom      { flex-direction: column; text-align: center; }
  .gal-g            { grid-template-columns: repeat(2, 1fr); }
  .gal-i.tall img   { height: 210px; }
  .f-row            { grid-template-columns: 1fr; }
  .cocurr-g         { grid-template-columns: 1fr 1fr; }
  .curr-g           { grid-template-columns: 1fr; }
  .chapel-feats     { grid-template-columns: 1fr; }
  .page-hero.tall   { min-height: 70vh; }
  .hero-msk         { background: linear-gradient(180deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.85) 60%, rgba(255,255,255,.4) 100%); }
  .hero-cnt         { padding: 80px 0 56px; }
  .staff-g          { grid-template-columns: 1fr 1fr !important; }
  .fees-t           { font-size: 12px; }
}

@media (max-width: 480px) {
  .tier-g           { grid-template-columns: 1fr; }
  .gal-g            { grid-template-columns: 1fr; }
  .stat-g           { grid-template-columns: 1fr 1fr; }
  .cocurr-g         { grid-template-columns: 1fr; }
  .staff-g          { grid-template-columns: 1fr !important; }
  .cta-acts         { flex-direction: column; align-items: center; }
  .t-h1             { font-size: 36px; }
  .wa-btn           { bottom: 16px; right: 16px; }
  .btt              { bottom: 80px; right: 16px; }
}

/* ================================================================
   M-PESA PAYMENT SECTION — responsive
   ================================================================ */
@media (max-width: 600px) {
  .mpesa-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* ══════════════════════════════════════════
   NEW FEATURES — v3.0
   Events, Downloads, Admin, Maps, Consent
   ══════════════════════════════════════════ */

/* ── Events filter buttons ── */
.ev-fil-btn {
  padding: 8px 18px;
  border: 1px solid var(--s5);
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
  cursor: pointer;
  transition: all .2s;
  color: var(--s2);
  font-family: 'DM Sans', sans-serif;
}
.ev-fil-btn.active,
.ev-fil-btn:hover {
  background: var(--pu);
  color: #fff;
  border-color: var(--pu);
}

/* ── Notice cards (announcements) ── */
.notice-c {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--wh);
  border: 1px solid var(--s6);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.notice-icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.notice-body h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--bk);
}
.notice-body p {
  font-size: 14px;
  color: var(--s2);
  line-height: 1.7;
  margin-bottom: 8px;
}

/* ── Downloads grid ── */
.dl-g {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.dl-c {
  background: var(--wh);
  border: 1px solid var(--s6);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  transition: box-shadow .2s, transform .2s;
}
.dl-c:hover {
  box-shadow: 0 6px 24px rgba(140,82,255,.12);
  transform: translateY(-2px);
}
.dl-icon {
  font-size: 32px;
  line-height: 1;
}
.dl-body h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--bk);
}
.dl-body p {
  font-size: 13px;
  color: var(--s3);
  line-height: 1.6;
}
.dl-tag {
  display: inline-block;
  padding: 2px 8px;
  background: #f0ebff;
  color: var(--pu);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
}
.dl-tag-yr {
  display: inline-block;
  padding: 2px 8px;
  background: #fef9e7;
  color: #b7791f;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}
.dl-btn {
  margin-top: auto;
  align-self: flex-start;
  padding: 10px 20px;
  font-size: 13px;
}

/* ── Consent form ── */
.consent-wrap {
  background: var(--wh);
  border: 1px solid var(--s6);
  border-radius: 16px;
  padding: 36px;
  margin-top: 36px;
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
}
.cf-section {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--s6);
}
.cf-section:last-of-type { border-bottom: none; margin-bottom: 0; }
.cf-sec-h {
  font-size: 15px;
  font-weight: 700;
  color: var(--pu);
  margin-bottom: 16px;
  letter-spacing: .01em;
}
.cf-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) { .cf-row2 { grid-template-columns: 1fr; } }
.cf-f {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.cf-f label {
  font-size: 13px;
  font-weight: 600;
  color: var(--s2);
}
.cf-f input,
.cf-f select,
.cf-f textarea {
  border: 1px solid var(--s5);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: border-color .2s;
  background: var(--wh);
  color: var(--bk);
}
.cf-f input:focus,
.cf-f select:focus,
.cf-f textarea:focus {
  border-color: var(--pu);
  box-shadow: 0 0 0 3px rgba(140,82,255,.1);
}
.cf-checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cf-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 14px;
  color: var(--s2);
  line-height: 1.5;
}
.cf-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--pu);
  margin-top: 2px;
  border: none;
  padding: 0;
}
.cf-error {
  background: #fff5f5;
  border: 1px solid #fed7d7;
  color: #c53030;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  margin-top: 12px;
}

/* Signature canvas */
.sig-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.sig-tab {
  padding: 7px 18px;
  border: 1px solid var(--s5);
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all .2s;
}
.sig-tab.active {
  background: var(--pu);
  color: #fff;
  border-color: var(--pu);
}
#sigCanvas {
  border: 2px dashed var(--s5);
  border-radius: 8px;
  cursor: crosshair;
  display: block;
  width: 100%;
  max-width: 600px;
  height: 160px;
  background: var(--bg2);
  touch-action: none;
}
#sigCanvas.signed {
  border-color: var(--pu);
  border-style: solid;
}
.sig-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.btn-sm-ghost {
  padding: 6px 14px;
  border: 1px solid var(--s5);
  background: transparent;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  color: var(--s2);
  transition: all .2s;
}
.btn-sm-ghost:hover { border-color: var(--pu); color: var(--pu); }

/* ── Admin panel ── */
.admin-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--s6);
  padding-bottom: 0;
  margin-bottom: 0;
}
.admin-tab {
  padding: 10px 20px;
  border: none;
  background: transparent;
  font-size: 14px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  color: var(--s3);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all .2s;
}
.admin-tab.active {
  color: var(--pu);
  border-bottom-color: var(--pu);
  font-weight: 600;
}
.atab { padding-top: 8px; }
.admin-ev-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg2);
  border-radius: 8px;
  margin-bottom: 8px;
  gap: 12px;
}
.admin-ev-row .ev-info-sm { flex: 1; }
.admin-ev-row h5 { font-size: 14px; margin: 0 0 2px; }
.admin-ev-row p { font-size: 12px; color: var(--s3); margin: 0; }
.btn-del {
  padding: 5px 12px;
  background: #fff5f5;
  border: 1px solid #fed7d7;
  color: #c53030;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  flex-shrink: 0;
}
.btn-del:hover { background: #fed7d7; }

/* ── Map wrapper ── */
.map-wrap { position: relative; }

/* ================================================================
   MOBILE RESPONSIVENESS — v3.1 COMPREHENSIVE
   ================================================================ */

/* ── Tablet (max 1024px) improvements ── */
@media (max-width: 1024px) {
  .wrap { padding: 0 24px; }
  .nav-links a { font-size: 12.5px; gap: 20px; }
  .t-h1 { font-size: clamp(36px, 5vw, 68px); }
}

/* ── Mobile (max 768px) improvements ── */
@media (max-width: 768px) {
  /* Nav */
  .nav-in { padding: 0 16px; }
  .nav-name { font-size: 11.5px; }

  /* Hero */
  .page-hero { min-height: 52vh; }
  .page-hero.tall { min-height: 62vh; }
  .hero-cnt { padding: 72px 0 48px; }

  /* Sections */
  .sect { padding: 52px 0; }
  .sect--sm { padding: 40px 0; }

  /* Feature grid (2-col → 1-col) */
  .feat-g { grid-template-columns: 1fr; gap: 36px; }
  .feat-g.rev { flex-direction: column-reverse; }

  /* Stats strip */
  .stat-strip { padding: 36px 0; }
  .stat-g { grid-template-columns: 1fr 1fr; gap: 20px; }
  .stat-n { font-size: clamp(30px, 8vw, 44px); }

  /* Tier cards */
  .tier-g { grid-template-columns: 1fr; gap: 16px; }
  .tier-body { padding: 24px; }

  /* Why cards */
  .why-g { grid-template-columns: 1fr; gap: 10px; }

  /* Pillars */
  .pillars-g { grid-template-columns: 1fr; gap: 12px; }

  /* Schools blocks */
  .sch-block { grid-template-columns: 1fr; gap: 28px; padding: 52px 0; }
  .sch-block.flip { direction: ltr; }
  .sch-img { height: 240px; border-radius: 20px; }

  /* Faith section */
  .faith-qt { font-size: clamp(18px, 4.5vw, 26px); }
  .faith-blob { display: none; }

  /* Community chapel */
  .chapel-g { grid-template-columns: 1fr; gap: 28px; }
  .chapel-img { height: 240px; }
  .chapel-feats { grid-template-columns: 1fr 1fr; gap: 10px; }

  /* Gallery */
  .gal-g { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gal-i img { height: 160px; }
  .gal-i.tall img { height: 230px; }

  /* CTA band */
  .cta-band { padding: 56px 0; }
  .cta-band h2 { font-size: clamp(20px, 5vw, 32px); }
  .cta-band p { font-size: 16px; }
  .cta-acts { flex-direction: column; align-items: stretch; }
  .cta-acts .btn { justify-content: center; }

  /* Contact */
  .contact-g { grid-template-columns: 1fr; gap: 24px; }
  .contact-card { position: static; border-radius: 20px; padding: 28px; }
  .form-wrap { border-radius: 20px; padding: 24px; }

  /* Footer */
  .footer-g { grid-template-columns: 1fr; gap: 24px; }
  .foot-bottom { flex-direction: column; text-align: center; gap: 8px; }
  .foot-links { justify-content: center; }

  /* Fees table — horizontal scroll */
  .fees-t-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .fees-t { min-width: 480px; }

  /* Process steps */
  .proc-step { gap: 14px; }
  .proc-n { width: 42px; height: 42px; font-size: 15px; flex-shrink: 0; }

  /* Buttons */
  .btn { font-size: 12.5px; padding: 12px 22px; }

  /* Downloads */
  .dl-g { grid-template-columns: 1fr; }

  /* Events filter buttons — wrap nicely */
  .ev-fil-btn { font-size: 12px; padding: 7px 14px; }

  /* Admin */
  .admin-tabs { gap: 4px; }
  .admin-tab { padding: 8px 14px; font-size: 13px; }

  /* Consent form */
  .cf-row2 { grid-template-columns: 1fr; }
  .consent-wrap { padding: 22px 18px; }

  /* Signature canvas */
  #sigCanvas { height: 140px; }

  /* Notice/announcement cards */
  .notice-c { padding: 16px; }
}

/* ── Small mobile (max 480px) ── */
@media (max-width: 480px) {
  .wrap, .wrap--sm { padding: 0 16px; }
  .sect { padding: 44px 0; }

  /* Nav logo — hide subtitle on very small screens */
  .nav-sub { display: none; }
  .nav-name { font-size: 10.5px; }

  /* Typography scale down */
  .t-h1 { font-size: clamp(28px, 8vw, 38px); line-height: 1.1; }
  .t-h2 { font-size: clamp(22px, 6vw, 32px); }
  .t-h3 { font-size: clamp(16px, 4.5vw, 20px); }
  .t-it { font-size: clamp(15px, 4vw, 18px); }

  /* Notice bar */
  .nbar { font-size: 11px; padding: 7px 12px; }
  .nbadge { display: none; }

  /* Stats strip — 2 wide */
  .stat-g { grid-template-columns: 1fr 1fr; gap: 16px; }

  /* Tier cards */
  .tier-body { padding: 20px 18px; }

  /* Gallery — single column */
  .gal-g { grid-template-columns: 1fr; }
  .gal-i img, .gal-i.tall img { height: 220px; }

  /* CTA acts stack */
  .cta-acts .btn { width: 100%; }

  /* Contact card */
  .contact-card { padding: 22px 18px; }
  .form-wrap { padding: 20px 16px; }

  /* FAQ */
  .faq-q { font-size: 13.5px; }

  /* Open day cards */
  .od-c { flex-direction: column; gap: 10px; }
  .od-dt { align-self: flex-start; }

  /* WhatsApp + back to top buttons */
  .wa-btn { bottom: 16px; right: 16px; width: 50px; height: 50px; }
  .btt { bottom: 78px; right: 16px; width: 40px; height: 40px; font-size: 16px; }

  /* Events */
  .ev-c { flex-direction: column; }
  .ev-dt { align-self: flex-start; }

  /* Scroll nudge — hide on mobile */
  .scroll-nudge { display: none; }

  /* Faith quote */
  .faith-qt::before { font-size: 3.5em; top: -20px; left: -8px; }

  /* Testimonials */
  .testi { padding: 24px 20px; }

  /* Form row */
  .f-row { grid-template-columns: 1fr; }

  /* Curriculum grid */
  .curr-g { grid-template-columns: 1fr; }
  .cocurr-g { grid-template-columns: 1fr; }

  /* Staff grid */
  .staff-g { grid-template-columns: 1fr !important; }

  /* Admin ev rows */
  .admin-ev-row { flex-direction: column; align-items: flex-start; }
  .admin-ev-row .btn-del { align-self: flex-end; }
}

/* ── Extra small (max 360px) ── */
@media (max-width: 360px) {
  .t-h1 { font-size: 26px; }
  .btn { font-size: 12px; padding: 11px 18px; }
  .nav-mark img, .nav-mark { width: 36px !important; height: 36px !important; }
}

/* ================================================================
   v4.0 — PREMIUM REDESIGN
   Header · Hero · School name · Cards · Footer · Social icons
   (appended last so it overrides earlier rules)
   ================================================================ */
:root { --nav-h: 84px; --bar-h: 42px; }

/* ── Social icons ── */
.soc { display: flex; align-items: center; gap: 10px; }
.soc a { display: inline-flex; align-items: center; justify-content: center; transition: all .25s var(--ease); }
.soc svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.soc--bar { position: absolute; right: 32px; top: 50%; transform: translateY(-50%); gap: 4px; }
.soc--bar a { width: 30px; height: 30px; color: rgba(255,255,255,.7); border-radius: 50%; }
.soc--bar svg { width: 15px; height: 15px; }
.soc--bar a:hover { color: var(--gd); background: rgba(255,255,255,.08); }
.soc--mob { justify-content: center; gap: 14px; margin-top: 26px; }
.soc--mob a { width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.14); }
.soc--mob a:hover { background: var(--pu); border-color: var(--pu); }
.soc--foot { margin-top: 24px; }
.soc--foot a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.8); }
.soc--foot a:hover { background: var(--pu); border-color: var(--pu); color: #fff; transform: translateY(-3px); }
.soc--card { flex-wrap: wrap; }
.soc--card a { gap: 9px; padding: 11px 18px; border-radius: 50px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.88); font-size: 13px; font-weight: 500; }
.soc--card a:hover { background: var(--pu); color: #fff; }
.soc--card svg { width: 16px; height: 16px; }

/* ── Top notice bar ── */
.nbar { background: var(--bk); color: rgba(255,255,255,.85); padding: 0; font-size: 12.5px; letter-spacing: .03em; text-align: center; }
.nbar-in { position: relative; display: flex; align-items: center; justify-content: center; min-height: var(--bar-h); }
.nbar-msg { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 0; padding: 6px 0; }
.nbar .nbadge { background: var(--gd); color: var(--bk); padding: 3px 11px; font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.nbar-msg a { color: var(--gd); font-weight: 600; text-decoration: none; margin: 0; border-bottom: 1px solid rgba(248,203,12,.4); }
.nbar-msg a:hover { border-bottom-color: var(--gd); }

/* ── Header ── */
.nav { height: var(--nav-h); background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(228,224,240,.8); transition: height .3s var(--ease), box-shadow .3s; }
.nav.scrolled { height: 70px; box-shadow: 0 8px 36px rgba(16,14,29,.09); }
.nav-in { max-width: 1280px; padding: 0 32px; gap: 28px; }
.nav-logo { display: flex; align-items: center; gap: 15px; flex-shrink: 0; min-width: 0; }
.nav-mark {
  position: relative; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 62px; height: 62px; background: transparent; border-radius: 0; overflow: visible;
  transition: width .3s var(--ease), height .3s var(--ease);
}
.nav.scrolled .nav-mark { width: 52px; height: 52px; }
.nav-mark img { width: 100%; height: 100%; object-fit: contain; }
.nav-mark b { display: none; font-family: var(--ff-d); font-weight: 700; }
.nav-mark.nomark { background: var(--pu); border-radius: 14px; color: #fff; }
.nav-mark.nomark b { display: block; font-size: 24px; }
.nav-brand { display: flex; flex-direction: column; min-width: 0; }
.nav-name {
  font-family: var(--ff-d); font-weight: 700; font-size: 28px; line-height: 1;
  letter-spacing: .05em; color: var(--bk); text-transform: uppercase; white-space: nowrap;
  transition: font-size .3s var(--ease);
}
.nav.scrolled .nav-name { font-size: 24px; }
.nav-sub {
  display: block; margin-top: 6px; font-size: 11px; font-weight: 600; letter-spacing: .34em;
  text-transform: uppercase; color: var(--pu); white-space: nowrap;
}
.nav-links { gap: 24px; margin-left: auto; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--s5); letter-spacing: .02em; }
.nav-links a::after { height: 2px; bottom: -6px; border-radius: 2px; }
.nav-cta { padding: 11px 24px !important; font-size: 12.5px !important; font-weight: 600 !important; letter-spacing: .06em; }

.nav-tog {
  display: none; align-items: center; justify-content: center; gap: 5px; flex-direction: column;
  width: 48px; height: 48px; padding: 0; border-radius: 14px; border: 1.5px solid var(--s2);
  background: #fff; cursor: pointer; flex-shrink: 0; margin-left: auto;
}
.nav-tog span { width: 20px; height: 2px; background: var(--bk); }
.nav-tog.open { border-color: var(--pu); }
.nav-tog.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-tog.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mob-nav {
  display: none; position: fixed; inset: 0; z-index: 99; flex-direction: column; align-items: stretch;
  justify-content: flex-start; gap: 0; padding: 150px 28px 40px; overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: linear-gradient(160deg, rgba(16,14,29,.985), rgba(45,24,100,.985));
}
.mob-nav.open { display: flex; animation: pgIn .35s var(--ease) both; }
.mob-close { display: none; }
.mob-nav a { font-family: var(--ff-d); font-size: 21px; letter-spacing: .05em; padding: 15px 4px; border-bottom: 1px solid rgba(255,255,255,.09); color: #fff; text-align: left; }
.mob-nav a:hover { color: var(--gd); }
.mob-nav .mob-cta { margin-top: 24px; padding: 16px 24px; border: none; border-radius: 50px; background: var(--gd); color: var(--bk); text-align: center; font-family: var(--ff-b); font-size: 15px; font-weight: 700; letter-spacing: .04em; }
.mob-nav .mob-cta:hover { color: var(--bk); background: var(--gd2); }

/* ── Buttons ── */
.btn { padding: 15px 32px; font-size: 13px; font-weight: 600; letter-spacing: .06em; }
.btn-line { border: 1.5px solid rgba(255,255,255,.55); color: #fff; }
.btn-line:hover { background: #fff; color: var(--pu); border-color: #fff; transform: translateY(-2px); }
.btn-gd { box-shadow: 0 6px 26px rgba(248,203,12,.3); }

/* ── Hero (all pages) ── */
.page-hero { min-height: 48vh; background: linear-gradient(135deg, #17122e 0%, #3b2480 55%, #6b3dd4 100%); color: #fff; }
.page-hero.tall { min-height: 62vh; }
.hero-bg img { object-position: center 32%; transform-origin: center; animation: heroZoom 26s ease-in-out infinite alternate; }
@keyframes heroZoom { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.hero-msk { background:
  linear-gradient(100deg, rgba(16,14,29,.86) 0%, rgba(33,20,72,.62) 42%, rgba(16,14,29,.10) 100%),
  linear-gradient(0deg, rgba(16,14,29,.5) 0%, transparent 38%); }
.hero-cnt { padding: 104px 0 72px; }
.page-hero .t-h1 { color: #fff; }
.page-hero .t-it { color: rgba(255,255,255,.82); }
.page-hero .t-body { color: rgba(255,255,255,.8); max-width: 560px; }
.page-hero .t-eye { color: var(--gd); }
.page-hero .bc a, .page-hero .bc-sep, .page-hero .bc-cur { color: rgba(255,255,255,.7); }
.page-hero .bc a:hover { color: var(--gd); }
.page-hero .btn-pu { background: var(--gd); color: var(--bk); box-shadow: 0 6px 26px rgba(248,203,12,.28); }
.page-hero .btn-pu:hover { background: var(--gd2); color: var(--bk); }
.page-hero .btn-pu .arr { background: rgba(16,14,29,.12); color: var(--bk); }

/* Home hero — big school name */
.hero-home { min-height: max(640px, calc(100svh - var(--nav-h) - var(--bar-h))); align-items: center; }
.hero-home .hero-cnt { padding: 90px 0 170px; }
.hero-name { line-height: 1; margin-top: 4px; }
.hero-name .hero-word:first-child {
  font-size: clamp(42px, 11vw, 132px); font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  text-shadow: 0 6px 40px rgba(0,0,0,.35); line-height: .95;
}
.hero-name .hero-sub {
  margin-top: clamp(10px, 1.6vw, 20px); font-size: clamp(14px, 3.5vw, 46px); font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gd); line-height: 1.1;
}
.hero-tag { font-family: var(--ff-s); font-style: italic; font-weight: 400; font-size: clamp(22px, 3vw, 38px); color: rgba(255,255,255,.94); margin: 26px 0 14px; line-height: 1.25; }
.hero-acts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; align-items: center; }
.hero-strip { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; background: rgba(16,14,29,.5); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-top: 1px solid rgba(255,255,255,.14); }
.hero-strip-in { display: grid; grid-template-columns: repeat(3, 1fr); }
.hero-strip-in > div { padding: 22px 28px 22px 0; display: flex; flex-direction: column; gap: 3px; }
.hero-strip-in > div + div { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.14); }
.hero-strip b { font-size: 14px; font-weight: 600; color: #fff; letter-spacing: .02em; }
.hero-strip span { font-size: 12px; color: rgba(255,255,255,.58); letter-spacing: .04em; }

/* ── Sections & type ── */
.sect { padding: 112px 0; }
.t-eye { font-weight: 600; letter-spacing: .24em; }
.t-h2 { letter-spacing: 0; }
.t-body { color: var(--s4); }

/* ── Stats ── */
.stat-strip { background: linear-gradient(120deg, var(--pu2) 0%, var(--pu) 100%); padding: 60px 0; position: relative; overflow: hidden; }
.stat-strip::after { content: ''; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: rgba(248,203,12,.14); filter: blur(70px); right: -80px; top: -140px; }
.stat-g { position: relative; z-index: 1; gap: 0; }
.stat-g > div { padding: 0 16px; }
.stat-g > div + div { border-left: 1px solid rgba(255,255,255,.2); }
.stat-n { font-weight: 400; }
.stat-l { font-weight: 500; opacity: .8; }

/* ── Cards ── */
.tier-c { border: 1px solid rgba(228,224,240,.7); border-radius: 28px; box-shadow: 0 1px 2px rgba(16,14,29,.04), 0 16px 44px -18px rgba(16,14,29,.16); }
.tier-c:hover { box-shadow: 0 26px 60px -20px rgba(140,82,255,.35); }
.tier-body { padding: 36px 32px 32px; }
.tier-ico, .pillar-ico, .val-ico, .cocurr-ico {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px;
  font-size: 26px; background: var(--pul); margin-bottom: 20px;
}
.tier-ey .tier-ico { background: #fff6cc; }
.tier-jr .tier-ico { background: var(--s1); }
.pillar-ico { background: rgba(255,255,255,.08); margin-left: auto; margin-right: auto; }
.cocurr-ico { margin-left: auto; margin-right: auto; }
.why-i, .val-i, .cocurr-i { border-radius: 22px; border-color: rgba(228,224,240,.7); }
.why-n { color: var(--gd2); opacity: .55; }
.pillar { border-radius: 26px; padding: 36px 26px; }

.testi { border-radius: 28px; padding: 36px 32px; position: relative; box-shadow: 0 16px 44px -22px rgba(16,14,29,.18); border-color: rgba(228,224,240,.7); }
.testi::before { content: '\201C'; position: absolute; top: 8px; right: 26px; font-family: var(--ff-s); font-size: 90px; line-height: 1; color: var(--pul); }
.testi-av { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: none; background: linear-gradient(135deg, var(--pu), var(--pu2)); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .06em; flex-shrink: 0; }

.sch-img { border-radius: 32px; box-shadow: 0 30px 60px -28px rgba(16,14,29,.35); }
.gal-i, .chapel-img { border-radius: 22px; }
.chapel-img { box-shadow: 0 30px 60px -28px rgba(0,0,0,.6); }

.cta-band { padding: 110px 0; }
.cta-band h2 { font-size: clamp(26px, 4.4vw, 52px); }
.cta-band p { font-size: clamp(18px, 2.2vw, 24px); }

/* ── Footer ── */
.footer { background: linear-gradient(180deg, #14112a 0%, var(--bk) 100%); padding: 84px 0 0; }
.footer-g { grid-template-columns: 1.7fr 1fr 1fr 1.5fr; gap: 56px; }
.foot-lock { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.foot-logo-m { position: relative; display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 76px; height: 76px; margin: 0; padding: 8px; background: #fff; border-radius: 20px; overflow: hidden; }
.foot-logo-m img { width: 100%; height: 100%; object-fit: contain; }
.foot-logo-m b { display: none; color: var(--pu); font-family: var(--ff-d); font-size: 30px; }
.foot-logo-m.nomark b { display: block; }
.foot-brand-name { display: block; font-family: var(--ff-d); font-size: 26px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1; }
.foot-brand-sub { display: block; margin-top: 7px; font-size: 11px; font-weight: 600; letter-spacing: .3em; color: var(--gd); }
.foot-brand p { max-width: 330px; color: rgba(255,255,255,.55); margin-top: 0; }
.foot-col h5 { color: rgba(255,255,255,.4); letter-spacing: .16em; }
.foot-dir { display: inline-block; margin-top: 4px; font-size: 12px; color: var(--gd); }

/* ================= RESPONSIVE v4 ================= */
@media (max-width: 1320px) {
  .nav-in { padding: 0 24px; gap: 20px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 12.5px; }
  .nav-name { font-size: 25px; }
  .soc--bar { right: 24px; }
}
@media (max-width: 1200px) {
  :root { --nav-h: 74px; }
  .nav-links { display: none; }
  .nav-tog { display: flex; }
  .nav.scrolled { height: 66px; }
  .nav-mark { width: 54px; height: 54px; }
  .nav.scrolled .nav-mark { width: 48px; height: 48px; }
  .nav-name, .nav.scrolled .nav-name { font-size: 24px; }
  .mob-nav { padding-top: 130px; }
}
@media (max-width: 1024px) {
  .footer-g { grid-template-columns: 1fr 1fr; gap: 44px; }
  .stat-g > div:nth-child(3) { border-left: none; }
  .stat-g { row-gap: 32px; }
  .sect { padding: 88px 0; }
}
@media (max-width: 860px) {
  .soc--bar { display: none; }
  .hero-strip-in > div { padding: 18px 18px 18px 0; }
  .hero-strip-in > div + div { padding-left: 18px; }
  .hero-strip b { font-size: 13px; }
}
@media (max-width: 768px) {
  :root { --bar-h: 38px; }
  .nbar { font-size: 11.5px; }
  .nbar-txt { display: none; }
  .nav-in { padding: 0 16px; gap: 12px; }
  .nav-logo { gap: 12px; }
  .hero-cnt { padding: 72px 0 52px; }
  .hero-home .hero-cnt { padding: 64px 0 56px; }
  .hero-home { min-height: 0; padding-bottom: 0; flex-direction: column; align-items: stretch; justify-content: flex-start; }
  .hero-strip { position: relative; margin-top: 0; }
  .hero-strip-in { grid-template-columns: 1fr; }
  .hero-strip-in > div, .hero-strip-in > div + div { padding: 13px 0; border-left: none; border-top: 1px solid rgba(255,255,255,.1); }
  .hero-strip-in > div:first-child { border-top: none; }
  .hero-msk { background: linear-gradient(180deg, rgba(16,14,29,.8) 0%, rgba(33,20,72,.78) 55%, rgba(16,14,29,.92) 100%); }
  .page-hero { min-height: 0; }
  .page-hero.tall { min-height: 0; }
  .sect { padding: 64px 0; }
  .stat-strip { padding: 44px 0; }
  .tier-body { padding: 28px 24px; }
  .cta-band { padding: 70px 0; }
  .footer { padding-top: 60px; }
  .footer-g { grid-template-columns: 1fr; gap: 36px; }
  .foot-bottom { align-items: center; }
  .hero-acts .btn { flex: 1 1 100%; justify-content: center; }
}
@media (max-width: 480px) {
  :root { --nav-h: 66px; }
  .nav.scrolled { height: 60px; }
  .nav-mark, .nav.scrolled .nav-mark { width: 44px; height: 44px; }
  .nav-name, .nav.scrolled .nav-name { font-size: 20px; letter-spacing: .04em; }
  .nav-sub { display: block; margin-top: 5px; font-size: 8.5px; letter-spacing: .24em; }
  .nav-tog { width: 44px; height: 44px; }
  .mob-nav { padding: 118px 22px 36px; }
  .mob-nav a { font-size: 19px; padding: 13px 4px; }
  .nbar-msg { gap: 8px; }
  .stat-g > div { padding: 0 6px; }
  .stat-l { font-size: 9.5px; letter-spacing: .1em; }
  .hero-tag { margin-top: 18px; }
  .foot-lock { gap: 13px; }
  .foot-logo-m { width: 64px; height: 64px; border-radius: 16px; }
  .foot-brand-name { font-size: 22px; }
  .foot-brand-sub { font-size: 9.5px; letter-spacing: .24em; }
}
@media (max-width: 360px) {
  .nav-in { padding: 0 12px; }
  .nav-logo { gap: 9px; }
  .nav-name, .nav.scrolled .nav-name { font-size: 18px; }
  .nav-sub { font-size: 7.5px; letter-spacing: .2em; }
  .nav-mark, .nav.scrolled .nav-mark { width: 40px; height: 40px; }
}
@media (max-height: 700px) and (max-width: 1200px) {
  .mob-nav { padding-top: 110px; }
  .mob-nav a { padding: 10px 4px; font-size: 18px; }
  .mob-nav .mob-cta { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) { .hero-bg img { animation: none; } }

/* ── v4 fluidity fixes: grid children may shrink, hero content fills width ── */
.hero-cnt { width: 100%; }
.feat-g > *, .tier-g > *, .why-g > *, .pillars-g > *, .sch-block > *, .contact-g > *,
.chapel-g > *, .footer-g > *, .stat-g > *, .gal-g > *, .cocurr-g > *, .curr-g > *,
.staff-g > *, .dl-g > *, .cf-row2 > *, .f-row > * { min-width: 0; }
.why-g { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 768px) {
  .why-g, .tier-g, .pillars-g { grid-template-columns: minmax(0, 1fr); }
  h1, h2, h3, h4, p, a, li { overflow-wrap: anywhere; }
  .fees-t-wrap, .map-wrap iframe { max-width: 100%; }
}
img, iframe, table, canvas { max-width: 100%; }

/* ── v4: collapse inline-styled grids (inline styles beat normal media queries) ── */
@media (max-width: 1024px) {
  .feat-g { gap: 40px !important; }
  .feat-g[style*="repeat(3"], .staff-g { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 18px !important; }
  .feat-g[style*="repeat(3"] > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .feat-g[style*="1fr 1fr"] { grid-template-columns: minmax(0, 1fr) !important; }
  div[style*="grid-template-columns:auto 1fr"] { grid-template-columns: minmax(0, 1fr) !important; padding: 30px 24px !important; gap: 22px !important; }
}
@media (max-width: 640px) {
  .feat-g, .feat-g[style*="repeat(3"], .feat-g[style*="1fr 1fr"], .staff-g { grid-template-columns: minmax(0, 1fr) !important; gap: 16px !important; }
  .feat-g[style*="gap:80px"], .feat-g[style*="gap:72px"] { gap: 36px !important; }
}

/* ── v4: hero side padding (padding shorthand had wiped the .wrap gutters) ── */
.hero-cnt, .hero-home .hero-cnt { padding-left: 32px; padding-right: 32px; }
@media (max-width: 768px) {
  .hero-cnt, .hero-home .hero-cnt { padding-left: 20px; padding-right: 20px; }
  .hero-strip-in > div, .hero-strip-in > div + div { padding: 11px 0; }
  .hero-strip span { display: none; }
  .hero-strip b { font-size: 12.5px; }
}
@media (max-width: 480px) {
  .hero-cnt, .hero-home .hero-cnt { padding-left: 16px; padding-right: 16px; }
  .nbar .nbadge { display: inline-block; }
  .nav-name, .nav.scrolled .nav-name { font-size: 22px; }
}
@media (max-width: 380px) { .nav-name, .nav.scrolled .nav-name { font-size: 20px; } }
@media (max-width: 340px) { .nav-name, .nav.scrolled .nav-name { font-size: 18px; } }

/* v4.3 — tier colours: Early Years red, Primary gold, Junior purple */
.tier-ey .tier-bar { background: var(--rd); }
.tier-pr .tier-bar { background: var(--gd); }
.tier-jr .tier-bar { background: var(--pu); }
.tier-ey .tier-age, .tier-ey .tier-lnk { color: var(--rd); }
.tier-pr .tier-age, .tier-pr .tier-lnk { color: #a88700; }
.tier-jr .tier-age, .tier-jr .tier-lnk { color: var(--pu2); }
.tier-ey .pill { background: #ffe9e8; color: #b30504; }
.tier-pr .pill { background: #fff6cc; color: #7a5f00; }
.tier-jr .pill { background: var(--pul); color: var(--pu2); }
.tier-ey .tier-ico { background: #ffe9e8; }
.tier-pr .tier-ico { background: #fff6cc; }
.tier-jr .tier-ico { background: var(--pul); }
.cocurr-g { grid-template-columns: repeat(3, 1fr); }
.staff-img { object-position: center; }
@media (max-width: 900px) { .cocurr-g { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cocurr-g { grid-template-columns: 1fr 1fr; gap: 10px; } .cocurr-i { padding: 18px 12px; } }
