/* ============================================================
   KEMELOI BOYS SENIOR & HIGH SCHOOL
   Design: Editorial-Institutional · Strong, warm, trustworthy
   Fonts:  DM Serif Display + DM Sans
   Colors: Deep Navy · Maroon · Warm Off-White · Ink
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* ── DESIGN TOKENS ── */
:root {
  --ink:         #0d1117;
  --navy:        #0f2044;
  --navy-2:      #162d5c;
  --maroon:      #8b1a2e;
  --maroon-2:    #a82038;
  --gold:        #b8922a;
  --gold-light:  #e8c96a;
  --cream:       #faf8f4;
  --cream-2:     #f2ede4;
  --line:        #e2ddd5;
  --muted:       #5a6070;
  --white:       #ffffff;

  --ff-head:  'DM Serif Display', Georgia, serif;
  --ff-body:  'DM Sans', 'Helvetica Neue', Arial, sans-serif;

  --r:    8px;
  --r-lg: 16px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur:  0.4s;

  --sh-xs: 0 1px 4px rgba(0,0,0,.06);
  --sh-sm: 0 4px 16px rgba(0,0,0,.08);
  --sh:    0 8px 36px rgba(0,0,0,.11);
  --sh-lg: 0 20px 60px rgba(0,0,0,.15);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── TYPE ── */
h1, h2, h3, h4 { font-family: var(--ff-head); line-height: 1.18; color: var(--navy); }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
h4 { font-size: 1.05rem; }

/* ── CONTAINER ── */
.container { width: min(1160px, 90%); margin: 0 auto; }
.container--narrow { width: min(820px, 90%); margin: 0 auto; }

/* ── SECTION SPACING ── */
.section        { padding: 5rem 0; }
.section--sm    { padding: 3.5rem 0; }
.section--dark  { background: var(--navy); }
.section--cream { background: var(--cream); }
.section--cream2{ background: var(--cream-2); }

/* ── OVERLINE + TITLE SYSTEM ── */
.overline {
  display: block;
  font-family: var(--ff-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: .65rem;
}
.overline--gold { color: var(--gold-light); }
.overline--white { color: rgba(255,255,255,.55); }

.title { font-family: var(--ff-head); color: var(--navy); }
.title--white { color: var(--white); }

/* Ruled title — thin line before the text */
.rule-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.rule-title::before {
  content: '';
  flex: 0 0 40px;
  height: 2px;
  background: var(--maroon);
}

/* ── GRID ── */
.grid { display: grid; gap: 1.5rem; }
.g2   { grid-template-columns: repeat(2, minmax(0,1fr)); }
.g3   { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g4   { grid-template-columns: repeat(4, minmax(0,1fr)); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .78rem 1.7rem;
  font-family: var(--ff-body);
  font-size: .9rem;
  font-weight: 600;
  border-radius: var(--r);
  border: 2px solid transparent;
  letter-spacing: .01em;
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--maroon);
  color: var(--white);
  border-color: var(--maroon);
}
.btn-primary:hover {
  background: var(--maroon-2);
  border-color: var(--maroon-2);
  box-shadow: 0 8px 24px rgba(139,26,46,.3);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-2);
  border-color: var(--navy-2);
  box-shadow: 0 8px 24px rgba(15,32,68,.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.45);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  font-weight: 700;
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 8px 24px rgba(184,146,42,.35);
}

/* ══════════════════════════════════════
   TOP STRIP
══════════════════════════════════════ */
.top-strip {
  background: var(--navy);
  color: rgba(255,255,255,.6);
  font-size: .8rem;
  font-weight: 400;
  padding: .42rem 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.top-strip .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.top-strip a { color: rgba(255,255,255,.75); transition: color .2s; }
.top-strip a:hover { color: var(--gold-light); }

/* ══════════════════════════════════════
   HEADER / NAV
══════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 600;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--sh-xs);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 0;
  gap: 1.5rem;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: .9rem;
  flex-shrink: 0;
  text-decoration: none;
}
.crest {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 400;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  letter-spacing: .02em;
  transition: transform var(--dur) var(--ease);
}
.logo:hover .crest { transform: rotate(-5deg); }
.logo-text strong {
  display: block;
  font-family: var(--ff-body);
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.logo-text span {
  font-size: .72rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .04em;
}

/* NAV LINKS (desktop) */
.nav-menu {
  display: flex;
  align-items: center;
  gap: .1rem;
}
.nav-menu a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--muted);
  padding: .5rem .8rem;
  border-radius: var(--r);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-menu a:hover { color: var(--navy); background: var(--cream); }
.nav-menu a.active { color: var(--navy); font-weight: 700; }

.nav-menu a.nav-cta {
  background: var(--maroon);
  color: var(--white) !important;
  margin-left: .5rem;
  padding: .5rem 1.1rem;
  font-weight: 600;
  border-radius: var(--r);
  transition: background .2s, transform .2s;
}
.nav-menu a.nav-cta:hover {
  background: var(--maroon-2);
  transform: translateY(-1px);
}

/* HAMBURGER */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 6px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  z-index: 700;
  position: relative;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE DRAWER */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .nav-menu {
    display: none;
    position: fixed;
    inset: 0 0 0 auto;
    width: min(300px, 80vw);
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
    padding: 5rem 1.5rem 2rem;
    box-shadow: -4px 0 32px rgba(0,0,0,.15);
    overflow-y: auto;
    z-index: 650;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
  }
  .nav-menu.open {
    display: flex;
    transform: translateX(0);
  }
  .nav-menu a {
    font-size: 1rem;
    padding: .8rem 1rem;
    border-radius: var(--r);
    color: var(--navy);
  }
  .nav-menu a:hover { background: var(--cream); }
  .nav-menu a.nav-cta {
    margin-left: 0;
    margin-top: .5rem;
    text-align: center;
    justify-content: center;
  }

  /* Overlay behind drawer */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 640;
  }
  .nav-overlay.show { display: block; }
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}

/* Subtle geometric texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* Accent vertical stripe left */
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--maroon), var(--gold));
}

.hero .container { position: relative; z-index: 2; }

.hero-eyebrow {
  font-family: var(--ff-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px; height: 1px;
  background: var(--gold);
}

.hero h1 {
  color: var(--white);
  max-width: 680px;
  margin-bottom: 1rem;
  font-style: italic;
}
.hero h1 em { font-style: normal; color: var(--gold-light); }

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.68);
  max-width: 560px;
  margin-bottom: 2.5rem;
  font-weight: 400;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

/* Stats row inside hero */
.hero-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 2.5rem;
  flex-wrap: wrap;
}
.hero-stat {
  flex: 1 1 140px;
  padding: 0 2rem 0 0;
}
.hero-stat + .hero-stat {
  padding-left: 2rem;
  border-left: 1px solid rgba(255,255,255,.12);
}
.hero-stat-num {
  font-family: var(--ff-head);
  font-size: 2.6rem;
  color: var(--white);
  display: block;
  line-height: 1;
  margin-bottom: .3rem;
}
.hero-stat-label {
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255,255,255,.45);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ══════════════════════════════════════
   ANNOUNCEMENT TICKER
══════════════════════════════════════ */
.ticker-bar {
  background: var(--maroon);
  color: var(--white);
  padding: .55rem 0;
  font-size: .83rem;
  overflow: hidden;
}
.ticker-inner { display: flex; align-items: center; gap: 1.2rem; }
.ticker-tag {
  background: var(--white);
  color: var(--maroon);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .18rem .65rem;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.ticker-text {
  font-weight: 400;
  color: rgba(255,255,255,.9);
  transition: opacity .3s;
}

/* ══════════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════════ */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(to bottom, var(--maroon), var(--gold));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); margin-bottom: .5rem; }
.page-hero p  { color: rgba(255,255,255,.65); font-size: 1.05rem; max-width: 580px; }

.breadcrumb {
  display: flex; align-items: center; gap: .45rem;
  font-size: .8rem; color: rgba(255,255,255,.4);
  margin-bottom: .8rem;
  font-weight: 500;
}
.breadcrumb a { color: rgba(255,255,255,.65); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb-sep { opacity: .35; }

/* ══════════════════════════════════════
   STATS BAND
══════════════════════════════════════ */
.stats-band {
  background: var(--cream-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2.5rem 0;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 1rem;
  position: relative;
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 15%; bottom: 15%;
  width: 1px;
  background: var(--line);
}
.stat-num {
  font-family: var(--ff-head);
  font-size: 2.8rem;
  color: var(--navy);
  display: block;
  line-height: 1;
  margin-bottom: .35rem;
}
.stat-label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ══════════════════════════════════════
   CARDS
══════════════════════════════════════ */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.8rem;
  transition: box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.card:hover {
  box-shadow: var(--sh);
  transform: translateY(-4px);
  border-color: rgba(15,32,68,.12);
}
.card--maroon-top { border-top: 3px solid var(--maroon); }
.card--gold-top   { border-top: 3px solid var(--gold); }
.card--navy-top   { border-top: 3px solid var(--navy); }

/* Numbered feature cards */
.feat-num {
  font-family: var(--ff-head);
  font-size: 3rem;
  color: var(--cream-2);
  line-height: 1;
  margin-bottom: .5rem;
  display: block;
  font-style: italic;
}

/* ── Icon box ── */
.icon-box {
  width: 52px; height: 52px;
  background: var(--navy);
  border-radius: var(--r);
  display: grid; place-items: center;
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-bottom: 1rem;
  flex-shrink: 0;
  transition: background var(--dur) var(--ease);
}
.card:hover .icon-box { background: var(--maroon); }

/* ── Activity tiles (sports grid) ── */
.activity-tile {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.2rem;
  text-align: center;
  transition: background var(--dur) var(--ease);
}
.activity-tile:hover { background: rgba(255,255,255,.11); }
.activity-tile .emoji { font-size: 2rem; margin-bottom: .6rem; }
.activity-tile h4 { color: var(--gold-light); font-size: .95rem; margin-bottom: .3rem; }
.activity-tile p { color: rgba(255,255,255,.55); font-size: .82rem; margin: 0; }

/* ══════════════════════════════════════
   VISION / MISSION BLOCKS
══════════════════════════════════════ */
.vm-strip {
  border-left: 3px solid var(--maroon);
  padding: 1.2rem 1.5rem;
  background: var(--cream);
  border-radius: 0 var(--r) var(--r) 0;
  margin-bottom: 1rem;
}
.vm-strip.gold-border { border-left-color: var(--gold); }
.vm-strip h4 { color: var(--navy); margin-bottom: .3rem; font-size: .95rem; }
.vm-strip p  { color: var(--muted); font-size: .92rem; margin: 0; }

/* ══════════════════════════════════════
   TIMELINE
══════════════════════════════════════ */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--maroon), var(--gold));
}
.tl-item { position: relative; margin-bottom: 2rem; padding-left: 1rem; }
.tl-dot {
  position: absolute; left: -2.45rem; top: .35rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--maroon);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--maroon);
}
.tl-dot.gold { background: var(--gold); box-shadow: 0 0 0 2px var(--gold); }
.tl-year {
  font-size: .72rem; font-weight: 700;
  color: var(--maroon); letter-spacing: .15em;
  text-transform: uppercase; margin-bottom: .2rem;
}
.tl-item h4 { color: var(--navy); margin-bottom: .2rem; }
.tl-item p  { color: var(--muted); font-size: .9rem; margin: 0; }

/* ══════════════════════════════════════
   STEPS
══════════════════════════════════════ */
.step {
  display: flex; gap: 1.3rem; align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.4rem 1.5rem;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.step:hover { box-shadow: var(--sh-sm); transform: translateX(4px); }
.step-num {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--ff-head);
  font-size: 1.1rem;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.step-body h4 { color: var(--navy); margin-bottom: .3rem; }
.step-body p  { color: var(--muted); font-size: .9rem; margin: 0; }

/* ══════════════════════════════════════
   PATHWAY CARDS
══════════════════════════════════════ */
.pathway {
  background: var(--navy-2);
  border-radius: var(--r-lg);
  padding: 2.4rem 2rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.pathway:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.pathway--maroon { background: var(--maroon); }
.pathway::before {
  content: '';
  position: absolute; bottom: -30px; right: -30px;
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.08);
}
.pathway-icon { font-size: 2.2rem; margin-bottom: 1rem; display: block; }
.pathway h3   { color: var(--gold-light); margin-bottom: .8rem; }
.pathway p    { color: rgba(255,255,255,.72); font-size: .93rem; margin: 0; }

/* ══════════════════════════════════════
   TABLE
══════════════════════════════════════ */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: .88rem; background: var(--white); }
thead th {
  background: var(--navy); color: var(--white);
  padding: .9rem 1rem; text-align: left;
  font-size: .75rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
}
tbody tr { border-bottom: 1px solid var(--line); transition: background .15s; }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--cream); }
tbody td { padding: .82rem 1rem; color: var(--ink); }
tbody tr:nth-child(even) { background: var(--cream); }
tbody tr:nth-child(even):hover { background: var(--cream-2); }
.grade { padding: .15rem .6rem; border-radius: 6px; font-weight: 700; font-size: .78rem; }
.grade-b  { background: #dbeafe; color: #1e3a8a; }
.grade-bp { background: #dcfce7; color: #14532d; }
.grade-cp { background: #fef3c7; color: #78350f; }

/* ══════════════════════════════════════
   PERFORMANCE BARS
══════════════════════════════════════ */
.perf-item { padding: 1.2rem 1.5rem; background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--line); }
.perf-top { display: flex; justify-content: space-between; margin-bottom: .6rem; }
.perf-year { font-weight: 700; font-size: .88rem; color: var(--navy); }
.perf-score { font-family: var(--ff-head); font-size: 1.1rem; color: var(--maroon); }
.perf-bar { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
.perf-fill { height: 100%; background: linear-gradient(90deg, var(--maroon), var(--gold)); border-radius: 3px; transition: width 1.2s var(--ease); }

/* ══════════════════════════════════════
   FORMS
══════════════════════════════════════ */
.form-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  box-shadow: var(--sh-sm);
}
form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .35rem; }
label { font-size: .84rem; font-weight: 600; color: var(--navy); }
input, textarea, select {
  font-family: var(--ff-body);
  font-size: .92rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid #d8d2c8;
  border-radius: var(--r);
  padding: .75rem 1rem;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(15,32,68,.1);
}
textarea { min-height: 130px; resize: vertical; }

/* ══════════════════════════════════════
   GALLERY
══════════════════════════════════════ */
.filter-bar { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-btn {
  padding: .42rem 1.1rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  font-family: var(--ff-body);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
}
.photo-item {
  border-radius: var(--r);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 1/1;
  background: var(--cream-2);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.photo-item.wide { grid-column: span 2; aspect-ratio: 2/1; }
.photo-item.tall { grid-row: span 2; aspect-ratio: 1/2; }
.photo-item:hover { transform: scale(1.02); box-shadow: var(--sh); z-index: 2; }
.photo-item::after {
  content: 'View';
  position: absolute; inset: 0;
  background: rgba(15,32,68,.7);
  display: grid; place-items: center;
  color: var(--white);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity .25s;
}
.photo-item:hover::after { opacity: 1; }
.photo-inner {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 600;
  color: var(--muted); text-align: center; padding: .8rem;
  line-height: 1.4;
}
.photo-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(15,32,68,.85));
  color: var(--white); font-size: .76rem; font-weight: 600;
  padding: 1.5rem .8rem .6rem;
  opacity: 0; transition: opacity .25s;
}
.photo-item:hover .photo-label { opacity: 1; }

/* Lightbox */
.lb-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,.92);
  display: none; align-items: center; justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
}
.lb-overlay.open { display: flex; }
.lb-box {
  background: var(--navy);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  width: min(680px, 95vw);
  position: relative;
}
.lb-img {
  width: 100%; min-height: 300px;
  background: var(--navy-2);
  border-radius: var(--r);
  display: grid; place-items: center;
  color: rgba(255,255,255,.25); font-size: .9rem;
  margin-bottom: 1rem;
}
.lb-cap { color: rgba(255,255,255,.7); font-size: .88rem; }
.lb-close {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--maroon); color: var(--white);
  border: none; border-radius: 6px;
  padding: .32rem .75rem; font-size: .82rem; font-weight: 700;
  cursor: pointer; font-family: var(--ff-body);
}
.lb-close:hover { background: var(--maroon-2); }

/* ══════════════════════════════════════
   NEWS CARDS
══════════════════════════════════════ */
.news-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.news-card:hover { box-shadow: var(--sh); transform: translateY(-4px); }
.news-img {
  height: 165px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  position: relative;
  display: flex; align-items: flex-end; padding: .9rem;
}
.news-date-tag {
  background: var(--maroon); color: var(--white);
  font-size: .72rem; font-weight: 700;
  padding: .22rem .6rem; border-radius: 5px;
}
.news-body { padding: 1.3rem; }
.news-kicker {
  font-size: .7rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--maroon); margin-bottom: .4rem;
}
.news-title {
  font-family: var(--ff-head); font-size: 1.05rem;
  color: var(--navy); line-height: 1.38; margin-bottom: .65rem;
}
.news-excerpt { color: var(--muted); font-size: .88rem; line-height: 1.6; }
.read-more {
  display: inline-flex; align-items: center; gap: .3rem;
  color: var(--maroon); font-weight: 700; font-size: .83rem;
  margin-top: .8rem; letter-spacing: .02em;
  transition: gap .2s;
}
.read-more:hover { gap: .5rem; color: var(--navy); }

/* ══════════════════════════════════════
   EVENT ROWS
══════════════════════════════════════ */
.event-row {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 1.2rem; align-items: center;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.2rem 1.5rem;
  transition: box-shadow .2s, transform .2s;
}
.event-row:hover { box-shadow: var(--sh-sm); transform: translateX(4px); }
.event-date-box {
  text-align: center; background: var(--navy); color: var(--white);
  border-radius: var(--r); padding: .8rem .4rem;
}
.event-date-box strong {
  display: block; font-family: var(--ff-head);
  font-size: 1.5rem; font-weight: 400; line-height: 1;
}
.event-date-box span { font-size: .68rem; font-weight: 600; letter-spacing: .06em; color: var(--gold-light); text-transform: uppercase; }
.event-tag { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--maroon); margin-bottom: .25rem; }
.event-title { font-family: var(--ff-head); color: var(--navy); font-size: .98rem; margin-bottom: .2rem; }
.event-desc { color: var(--muted); font-size: .86rem; margin: 0; }

/* ══════════════════════════════════════
   CONTACT
══════════════════════════════════════ */
.contact-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.8rem; }
.contact-icon {
  width: 44px; height: 44px;
  background: var(--navy); border-radius: var(--r);
  display: grid; place-items: center;
  color: var(--gold-light); font-size: 1.1rem; flex-shrink: 0;
}
.contact-item h4 { color: var(--navy); margin-bottom: .2rem; font-size: .9rem; }
.contact-item p  { color: var(--muted); margin: 0; font-size: .88rem; line-height: 1.6; }
.contact-item a  { color: var(--maroon); font-weight: 600; }
.map-placeholder {
  min-height: 320px; border-radius: var(--r-lg);
  background: var(--cream-2); border: 2px dashed var(--line);
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; color: var(--muted); gap: .5rem;
  font-size: .9rem; font-weight: 600; text-align: center; padding: 2rem;
}

/* ══════════════════════════════════════
   LEADER CARDS
══════════════════════════════════════ */
.leader-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  text-align: center;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.leader-card:hover { box-shadow: var(--sh); transform: translateY(-4px); }
.leader-photo {
  height: 200px;
  background: linear-gradient(140deg, var(--navy), var(--navy-2));
  display: grid; place-items: center;
  color: rgba(255,255,255,.22); font-size: .82rem;
}
.leader-info { padding: 1.3rem; }
.leader-name { font-family: var(--ff-head); font-size: 1.1rem; color: var(--navy); margin-bottom: .2rem; }
.leader-role { font-size: .72rem; font-weight: 700; color: var(--maroon); text-transform: uppercase; letter-spacing: .1em; }

/* ══════════════════════════════════════
   FAQ
══════════════════════════════════════ */
.faq-item {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); margin-bottom: .75rem; overflow: hidden;
}
.faq-q { padding: 1.1rem 1.4rem; font-weight: 600; color: var(--navy); font-size: .95rem; }
.faq-a { padding: 0 1.4rem 1.1rem; color: var(--muted); font-size: .9rem; }

/* ══════════════════════════════════════
   TAB SYSTEM
══════════════════════════════════════ */
.tab-bar { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.tab-btn {
  padding: .45rem 1.2rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--white); color: var(--muted);
  font-family: var(--ff-body); font-size: .82rem; font-weight: 600;
  cursor: pointer; transition: all .2s;
}
.tab-btn.active, .tab-btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeUp .35s var(--ease) both; }

/* ══════════════════════════════════════
   SUBJECT PILLS
══════════════════════════════════════ */
.subject-pill {
  display: inline-block;
  padding: .28rem .85rem;
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--navy);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  margin: .25rem;
  transition: background .2s, color .2s;
}
.subject-pill:hover { background: var(--navy); color: var(--white); }

/* ══════════════════════════════════════
   CTA BAND
══════════════════════════════════════ */
.cta-band {
  background: var(--maroon);
  padding: 4.5rem 0;
  text-align: center;
}
.cta-band h2    { color: var(--white); margin-bottom: .8rem; }
.cta-band p     { color: rgba(255,255,255,.75); max-width: 500px; margin: 0 auto 2rem; }
.cta-buttons    { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════════
   PLACEHOLDER IMAGES
══════════════════════════════════════ */
.ph-img {
  border-radius: var(--r-lg);
  background: var(--cream-2);
  border: 2px dashed var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: .82rem; font-weight: 600;
  text-align: center; padding: 1.5rem;
}
.ph-img--dark {
  background: linear-gradient(140deg, var(--navy), var(--navy-2));
  border: none;
  color: rgba(255,255,255,.22);
}

/* ══════════════════════════════════════
   BACK TO TOP
══════════════════════════════════════ */
.to-top {
  position: fixed; right: 1rem; bottom: 1.2rem; z-index: 500;
  width: 42px; height: 42px;
  background: var(--navy); color: var(--white);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: none; place-items: center;
  font-size: 1rem; box-shadow: var(--sh-sm);
  transition: background .2s, transform .2s;
}
.to-top.show { display: grid; }
.to-top:hover { background: var(--maroon); transform: translateY(-3px); }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  background: var(--ink);
  color: rgba(255,255,255,.55);
  padding: 3.5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand h4 {
  font-family: var(--ff-body);
  font-weight: 700; font-size: .95rem;
  color: var(--white); margin-bottom: .6rem; margin-top: .8rem;
}
.footer-brand p { font-size: .86rem; line-height: 1.75; }
.footer-motto {
  font-family: var(--ff-head);
  font-style: italic;
  color: var(--gold-light);
  font-size: .92rem; margin-top: .75rem;
}
footer h5 {
  font-family: var(--ff-body);
  color: var(--white); font-size: .88rem;
  font-weight: 700; margin-bottom: 1rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
footer ul { display: flex; flex-direction: column; gap: .48rem; }
footer ul a { font-size: .84rem; color: rgba(255,255,255,.5); transition: color .2s, padding-left .2s; }
footer ul a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-contact-row { display: flex; gap: .65rem; align-items: flex-start; margin-bottom: .85rem; font-size: .84rem; }
.footer-contact-row span:first-child { color: var(--gold-light); margin-top: 2px; flex-shrink: 0; }
.footer-contact-row a { color: rgba(255,255,255,.6); }
.footer-contact-row a:hover { color: var(--gold-light); }
.copyright {
  padding: 1.2rem 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .8rem; flex-wrap: wrap; gap: .5rem;
}
.copyright a { color: var(--gold-light); }

/* ══════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .g2, .g3 { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .photo-item.wide, .photo-item.tall { grid-column: span 1; grid-row: span 1; aspect-ratio: 1/1; }
}
@media (max-width: 640px) {
  .section { padding: 3.2rem 0; }
  .hero { padding: 4rem 0 3.5rem; }
  .page-hero { padding: 2.5rem 0; }
  .g4 { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .form-row { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .hero-stats { flex-direction: column; gap: 1.5rem; }
  .hero-stat + .hero-stat { padding-left: 0; border-left: none; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.5rem; }
  .top-strip .container { justify-content: center; text-align: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .copyright { flex-direction: column; text-align: center; }
  .stat-item + .stat-item::before { display: none; }
}
@media (max-width: 400px) {
  .photo-grid { grid-template-columns: 1fr; }
  h1 { font-size: 1.9rem; }
}
