/* ============================================================
   ABBA COTERIE SCHOOLS — Shared stylesheet
   "Unity & Love"  ·  Ikorodu, Lagos  ·  est. 1999
   Design system: morning-light palette, Fraunces + Plus Jakarta
   Signature: arched "chapel-window" frames + gold light-star
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --ink:    #16243f;   /* deep midnight navy — text + dark sections */
  --royal:  #2b4a8b;   /* warm royal blue — scholarly core */
  --royal-2:#3d63b0;   /* lighter royal for hovers/links */
  --gold:   #f0a92b;   /* marigold — the signature warmth */
  --gold-d: #d4901a;   /* deeper gold for text on cream */
  --coral:  #e8654f;   /* single energetic accent — use sparingly */
  --cream:  #fbf6ec;   /* warm paper background */
  --cream-2:#f3ead8;   /* slightly deeper cream for cards/bands */
  --white:  #ffffff;
  --mute:   #5c6b85;   /* muted body text on light */
  --line:   #e6dcc8;   /* hairline on cream */

  --maxw: 1200px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --radius: 18px;

  --shadow-sm: 0 2px 10px rgba(22,36,63,.06);
  --shadow-md: 0 16px 40px -18px rgba(22,36,63,.30);
  --shadow-lg: 0 30px 70px -30px rgba(22,36,63,.45);

  --ease: cubic-bezier(.22,.61,.36,1);

  --ff-display: "Fraunces", Georgia, serif;
  --ff-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
h1,h2,h3,h4 { font-family: var(--ff-display); font-weight: 600; line-height: 1.08; color: var(--ink); }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.center { text-align: center; }

/* ---------- Reusable type ---------- */
.eyebrow {
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-d);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--gold-d);
  display: inline-block;
}
.eyebrow.center-eb { justify-content: center; }
.eyebrow.center-eb::after {
  content: ""; width: 26px; height: 1px; background: var(--gold-d); display: inline-block;
}

.h-sec { font-size: clamp(1.9rem, 4.2vw, 3rem); letter-spacing: -.01em; }
.h-sec em { font-style: italic; color: var(--royal); }
.lead { font-size: 1.15rem; color: var(--mute); max-width: 60ch; }
.muted { color: var(--mute); }

/* gold light-star divider/bullet */
.star { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.5rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: .95rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-primary { background: var(--gold); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); background: #f6b53f; }
.btn-royal { background: var(--royal); color: #fff; }
.btn-royal:hover { transform: translateY(-2px); background: var(--royal-2); box-shadow: var(--shadow-md); }
.btn-ghost { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }
.btn-ghost-light { border: 1.5px solid rgba(255,255,255,.5); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- Arched image frame (SIGNATURE) ---------- */
.arch {
  position: relative;
  border-radius: 1000px 1000px var(--radius) var(--radius);
  overflow: hidden;
  background: var(--cream-2);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.arch.bordered { box-shadow: var(--shadow-lg); border: 6px solid var(--white); }

/* image placeholder skin (used inside .arch or on its own) */
.ph {
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .5rem; text-align: center;
  background:
    repeating-linear-gradient(45deg, rgba(43,74,139,.05) 0 14px, rgba(43,74,139,.0) 14px 28px),
    linear-gradient(150deg, var(--cream-2), #ece0c8);
  color: var(--royal);
  min-height: 240px;
  padding: 1.5rem;
}
.ph::after {
  content: "Image placeholder";
  position: absolute; top: 12px; left: 12px;
  font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); background: rgba(255,255,255,.75);
  padding: .25rem .55rem; border-radius: 100px;
}
.ph .ph-icon { font-size: 1.6rem; opacity: .8; }
.ph .ph-label { font-family: var(--ff-body); font-weight: 700; font-size: .9rem; color: var(--ink); }
.ph .ph-desc { font-size: .78rem; color: var(--mute); max-width: 32ch; line-height: 1.45; }
.ph.tall { min-height: 460px; }
.ph.wide { min-height: 320px; }
.ph.square { aspect-ratio: 1; min-height: 0; }
.ph.portrait { aspect-ratio: 3/4; min-height: 0; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,246,236,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav {
  display: flex; align-items: center; gap: 1.5rem;
  padding-block: .7rem;
}
.brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; }
.brand .logo-ph {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  background: linear-gradient(145deg, var(--royal), var(--ink));
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-weight: 600; font-size: 1.3rem;
  box-shadow: var(--shadow-sm);
}
.brand .brand-text { line-height: 1.05; }
.brand .brand-name { font-family: var(--ff-display); font-weight: 600; font-size: 1.12rem; color: var(--ink); }
.brand .brand-tag { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-d); font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links a {
  padding: .5rem .8rem; border-radius: 100px;
  font-weight: 600; font-size: .92rem; color: var(--ink);
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: var(--cream-2); }
.nav-links a.active { color: var(--royal); }
.nav-links a.ext::after { content: "↗"; font-size: .8em; margin-left: .25rem; opacity: .7; }
.nav-cta { display: flex; align-items: center; gap: .6rem; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav-toggle { display: flex; }
  .nav-links, .nav-cta {
    position: fixed; inset: 64px 0 auto 0;
    flex-direction: column; align-items: stretch;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter); gap: .4rem;
    transform: translateY(-130%); transition: transform .4s var(--ease);
    box-shadow: var(--shadow-md);
  }
  .nav-cta { inset: auto 0 auto 0; top: auto; box-shadow: none; border: 0; padding-top: 0; }
  .nav-open .nav-links { transform: translateY(0); }
  .nav-open .nav-cta { transform: translateY(0); position: static; background: var(--cream); padding-inline: var(--gutter); padding-bottom: 1.2rem; }
  .nav-links a { padding: .8rem 1rem; border-radius: 12px; }
  .nav-cta .btn { justify-content: center; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background:
    radial-gradient(120% 80% at 85% -10%, rgba(240,169,43,.18), transparent 55%),
    radial-gradient(90% 70% at -10% 110%, rgba(43,74,139,.10), transparent 60%),
    var(--cream);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,5vw,4rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--white); border: 1px solid var(--line);
  padding: .4rem .9rem; border-radius: 100px;
  font-size: .78rem; font-weight: 700; color: var(--royal);
  box-shadow: var(--shadow-sm); margin-bottom: 1.4rem;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  letter-spacing: -.02em; margin-bottom: 1.2rem;
}
.hero h1 em { font-style: italic; color: var(--royal); position: relative; }
.hero h1 .underline {
  display: inline-block; position: relative;
}
.hero h1 .underline::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.08em; height: .28em;
  background: var(--gold); opacity: .5; border-radius: 50%; z-index: -1;
  transform: scaleX(0); transform-origin: left; animation: ul 1s var(--ease) .5s forwards;
}
@keyframes ul { to { transform: scaleX(1); } }
.hero p.lead { margin-bottom: 1.9rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2rem; }
.hero-meta { display: flex; gap: 2rem; flex-wrap: wrap; }
.hero-meta .stat .n { font-family: var(--ff-display); font-size: 1.8rem; color: var(--royal); font-weight: 600; }
.hero-meta .stat .l { font-size: .8rem; color: var(--mute); font-weight: 600; }

.hero-art { position: relative; }
.hero-art .arch { aspect-ratio: 4/5; }
.hero-art .float-card {
  position: absolute; bottom: 1.2rem; left: -1.2rem;
  background: var(--white); border-radius: 16px; padding: .9rem 1.1rem;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: .7rem;
  max-width: 230px;
}
.hero-art .float-card .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--cream-2); display: grid; place-items: center; font-size: 1.2rem; flex: none; }
.hero-art .float-card .t { font-weight: 700; font-size: .85rem; line-height: 1.2; }
.hero-art .float-card .s { font-size: .72rem; color: var(--mute); }
.hero-art .sticker {
  position: absolute; top: -.8rem; right: -.6rem;
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--coral); color: #fff;
  display: grid; place-items: center; text-align: center;
  font-family: var(--ff-display); font-weight: 600; font-size: .82rem; line-height: 1.1;
  box-shadow: var(--shadow-md); transform: rotate(8deg);
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 440px; margin-inline: auto; width: 100%; }
}

/* ============================================================
   GENERIC PAGE HEADER (interior pages)
   ============================================================ */
.page-head {
  background:
    radial-gradient(100% 120% at 100% 0%, rgba(240,169,43,.16), transparent 50%),
    var(--ink);
  color: var(--cream);
  padding-block: clamp(3rem, 7vw, 5rem);
  position: relative;
}
.page-head .eyebrow { color: var(--gold); }
.page-head .eyebrow::before { background: var(--gold); }
.page-head h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4rem); margin: .6rem 0 1rem; letter-spacing: -.02em; }
.page-head h1 em { font-style: italic; color: var(--gold); }
.page-head p { color: rgba(255,255,255,.78); max-width: 62ch; font-size: 1.1rem; }
.crumbs { font-size: .82rem; color: rgba(255,255,255,.6); margin-bottom: 1rem; }
.crumbs a:hover { color: var(--gold); }

/* ============================================================
   CARD GRIDS
   ============================================================ */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card .ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.5rem; margin-bottom: 1rem;
  background: var(--cream-2); color: var(--royal);
}
.card h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.card p { color: var(--mute); font-size: .96rem; }

/* split feature row */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split, .split.reverse { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

/* mission / vision */
.mv-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; position: relative; overflow: hidden;
}
.mv-card::before { content: ""; position: absolute; top: 0; left: 0; width: 5px; height: 100%; background: var(--gold); }
.mv-card.vision::before { background: var(--royal); }
.mv-card .tag { font-family: var(--ff-display); font-size: 1.5rem; margin-bottom: .6rem; }
.mv-card p { color: var(--ink); opacity: .85; }

/* level cards (nursery/primary/secondary) */
.level { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.level:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.level .arch { border-radius: var(--radius) var(--radius) 0 0; box-shadow: none; border: 0; }
.level .arch .ph { min-height: 200px; border-radius: 0; }
.level .body { padding: 1.5rem 1.5rem 1.8rem; }
.level .kicker { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-d); font-weight: 700; }
.level h3 { font-size: 1.45rem; margin: .25rem 0 .6rem; }
.level ul.ticks li { display: flex; gap: .55rem; align-items: flex-start; font-size: .92rem; color: var(--mute); padding: .2rem 0; }
.level ul.ticks li::before { content: "✦"; color: var(--gold); font-size: .8rem; margin-top: .15rem; }

/* subjects */
.subjects { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 1rem; }
.subject {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.1rem 1.2rem; display: flex; align-items: center; gap: .8rem;
  transition: background .25s, transform .25s, color .25s;
}
.subject:hover { background: var(--ink); color: var(--cream); transform: translateY(-3px); }
.subject:hover .s-ic { background: rgba(255,255,255,.12); color: var(--gold); }
.subject .s-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--cream-2); color: var(--royal); display: grid; place-items: center; font-size: 1.15rem; flex: none; transition: inherit; }
.subject .s-name { font-weight: 700; font-size: .95rem; }

/* ============================================================
   STATS BAND
   ============================================================ */
.band {
  background:
    radial-gradient(80% 140% at 100% 0%, rgba(240,169,43,.14), transparent 55%),
    var(--ink);
  color: var(--cream);
}
.band .h-sec, .band h2, .band h3 { color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; text-align: center; }
@media (max-width: 760px){ .stats { grid-template-columns: repeat(2,1fr); } }
.stats .stat .n { font-family: var(--ff-display); font-size: clamp(2.2rem,5vw,3.2rem); color: var(--gold); font-weight: 600; line-height: 1; }
.stats .stat .l { margin-top: .5rem; font-size: .9rem; color: rgba(255,255,255,.75); font-weight: 600; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quote-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
@media (max-width: 900px){ .quote-grid { grid-template-columns: 1fr; } }
.quote {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.7rem; position: relative; box-shadow: var(--shadow-sm);
}
.quote .mark { font-family: var(--ff-display); font-size: 3.5rem; color: var(--gold); line-height: .6; height: .5em; }
.quote p { font-size: 1rem; color: var(--ink); margin: .6rem 0 1.2rem; }
.quote .who { display: flex; align-items: center; gap: .8rem; }
.quote .who .av { width: 44px; height: 44px; border-radius: 50%; background: var(--cream-2); display: grid; place-items: center; color: var(--royal); font-weight: 700; flex: none; }
.quote .who .nm { font-weight: 700; font-size: .9rem; }
.quote .who .rl { font-size: .78rem; color: var(--mute); }

/* ============================================================
   EVENTS / CALENDAR
   ============================================================ */
.event { display: flex; gap: 1.1rem; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem; transition: transform .25s var(--ease), box-shadow .25s; }
.event:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.event .date { flex: none; width: 64px; text-align: center; background: var(--ink); color: var(--cream); border-radius: 12px; padding: .5rem 0; }
.event .date .d { font-family: var(--ff-display); font-size: 1.4rem; line-height: 1; color: var(--gold); }
.event .date .m { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; }
.event .info h4 { font-size: 1.05rem; margin-bottom: .15rem; }
.event .info p { font-size: .85rem; color: var(--mute); }

/* ============================================================
   CTA / NEWSLETTER
   ============================================================ */
.cta-band {
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(43,74,139,.30), transparent 60%),
    linear-gradient(135deg, var(--gold), #f6b53f);
  border-radius: var(--radius);
  padding: clamp(2.2rem,5vw,3.5rem);
  text-align: center; color: var(--ink);
  box-shadow: var(--shadow-md);
}
.cta-band h2 { font-size: clamp(1.8rem,4vw,2.8rem); margin-bottom: .7rem; }
.cta-band p { max-width: 50ch; margin: 0 auto 1.6rem; opacity: .85; }
.cta-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

.newsletter { display: flex; gap: .6rem; max-width: 460px; margin: 1.4rem auto 0; flex-wrap: wrap; }
.newsletter input {
  flex: 1; min-width: 200px; padding: .9rem 1.2rem; border-radius: 100px;
  border: 1px solid var(--line); font: inherit; background: var(--white); color: var(--ink);
}
.newsletter input:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

/* ============================================================
   FORMS (contact / admissions)
   ============================================================ */
.form { display: grid; gap: 1.1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px){ .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 700; font-size: .85rem; }
.field input, .field select, .field textarea {
  padding: .85rem 1.05rem; border-radius: 12px; border: 1px solid var(--line);
  font: inherit; background: var(--white); color: var(--ink); width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--gold);
}

/* info tiles (contact) */
.info-tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; gap: 1rem; align-items: flex-start; box-shadow: var(--shadow-sm); }
.info-tile .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--cream-2); color: var(--royal); display: grid; place-items: center; font-size: 1.3rem; flex: none; }
.info-tile h4 { font-size: 1.05rem; margin-bottom: .25rem; }
.info-tile p, .info-tile a { font-size: .92rem; color: var(--mute); line-height: 1.5; }
.info-tile a:hover { color: var(--royal); }

/* ============================================================
   FACULTY
   ============================================================ */
.teacher { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.teacher:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.teacher .arch { border-radius: 0; box-shadow: none; border: 0; }
.teacher .ph.portrait { border-radius: 0; }
.teacher .body { padding: 1.2rem 1.3rem 1.5rem; }
.teacher .subj { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-d); font-weight: 700; }
.teacher h3 { font-size: 1.2rem; margin: .2rem 0 .4rem; }
.teacher p { font-size: .86rem; color: var(--mute); }
.teacher .soc { display: flex; gap: .5rem; margin-top: .9rem; }
.teacher .soc a { width: 32px; height: 32px; border-radius: 50%; background: var(--cream-2); color: var(--royal); display: grid; place-items: center; font-size: .85rem; transition: background .2s, color .2s; }
.teacher .soc a:hover { background: var(--royal); color: #fff; }

/* ============================================================
   VALUES (about) — alternating
   ============================================================ */
.value-row { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start; padding: 1.4rem 0; border-bottom: 1px dashed var(--line); }
.value-row:last-child { border-bottom: 0; }
.value-row .num { font-family: var(--ff-display); font-size: 2rem; color: var(--gold); font-weight: 600; line-height: 1; }
.value-row h4 { font-size: 1.25rem; margin-bottom: .35rem; }
.value-row p { color: var(--mute); font-size: .96rem; }

/* timeline */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ""; position: absolute; left: 7px; top: .4rem; bottom: .4rem; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 2rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -2rem; top: .35rem; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); border: 3px solid var(--cream); box-shadow: 0 0 0 1px var(--line); }
.tl-item .yr { font-family: var(--ff-display); font-size: 1.3rem; color: var(--royal); font-weight: 600; }
.tl-item h4 { font-size: 1.1rem; margin: .15rem 0 .3rem; }
.tl-item p { color: var(--mute); font-size: .92rem; }

/* admissions steps */
.steps { counter-reset: step; display: grid; gap: 1.2rem; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.step::before { counter-increment: step; content: counter(step); font-family: var(--ff-display); font-weight: 600; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--gold); display: grid; place-items: center; font-size: 1.3rem; }
.step h4 { font-size: 1.2rem; margin-bottom: .35rem; }
.step p { color: var(--mute); font-size: .94rem; }

/* faq */
.faq { background: var(--white); border: 1px solid var(--line); border-radius: 14px; margin-bottom: .8rem; overflow: hidden; }
.faq summary { cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--gold-d); transition: transform .25s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 1.3rem 1.2rem; color: var(--mute); font-size: .95rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding-block: clamp(3rem,6vw,4.5rem) 2rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
@media (max-width: 900px){ .foot-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 520px){ .foot-grid { grid-template-columns: 1fr; } }
.site-footer .brand .brand-name, .site-footer h4 { color: #fff; }
.site-footer h4 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.1rem; color: var(--gold); font-family: var(--ff-body); font-weight: 700; }
.site-footer p { font-size: .92rem; line-height: 1.7; }
.foot-links li { margin-bottom: .55rem; }
.foot-links a { font-size: .92rem; transition: color .2s, padding .2s; }
.foot-links a:hover { color: var(--gold); padding-left: 4px; }
.foot-contact a:hover { color: var(--gold); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .82rem; color: rgba(255,255,255,.55); }
.foot-social { display: flex; gap: .6rem; }
.foot-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .2s, transform .2s; }
.foot-social a:hover { background: var(--gold); color: var(--ink); transform: translateY(-2px); }
.footer-logo { display:flex; align-items:center; gap:.7rem; margin-bottom: 1rem; }
.footer-logo .logo-ph { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(145deg, var(--royal), #1d3361); color: var(--gold); display: grid; place-items: center; font-family: var(--ff-display); font-weight: 600; font-size: 1.25rem; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .underline::after { transform: scaleX(1); }
}
/* === School logo (header + footer) === */
.brand-logo{
  width:46px;
  height:46px;
  object-fit:contain;   /* never distorts, whatever shape the logo is */
  border-radius:10px;   /* soft corners like the old tile — delete for square */
  display:block;
  flex:0 0 auto;
}
/* Footer is on a dark background and the logo is a JPG (no transparency),
   so sit it on a clean white chip instead of looking like a stray box. */
.footer-logo .brand-logo{
  background:#fff;
  padding:5px;
}