/* Reset + base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #1a2233;
  background: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #c8102e; text-decoration: none; transition: color .15s ease; }
a:hover { color: #8a0a20; }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; color: #0a2540; }
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.5rem); }
h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: .5rem; }
p { margin-bottom: 1rem; }

/* Layout */
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
section { padding: 4rem 0; }

/* Header */
header.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid #e5e9f0;
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 1.25rem; max-width: 1180px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: .75rem; font-weight: 800; color: #0a2540; font-size: 1.05rem; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 50%;
  background: url('/assets/school-emblem.jpg') center/contain no-repeat, white;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(10,37,64,.15);
  font-size: 0;
}
.nav-list { display: flex; gap: 1.5rem; align-items: center; }
.nav-list a { color: #334155; font-weight: 500; font-size: .95rem; }
.nav-list a:hover, .nav-list a.active { color: #c8102e; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .5rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #0a2540; margin: 5px 0; transition: .25s; }

/* Hero */
.hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(10,37,64,.85) 0%, rgba(200,16,46,.75) 100%),
    url('hero.svg') center/cover;
  color: white;
  padding: 6rem 0 5rem;
  overflow: hidden;
}
.hero h1 { color: white; max-width: 880px; margin-bottom: 1.25rem; }
.hero .lead { font-size: clamp(1.05rem, 1vw + .8rem, 1.3rem); max-width: 700px; opacity: .95; margin-bottom: 2rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.badge {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  padding: .45rem .9rem; border-radius: 999px;
  font-size: .82rem; backdrop-filter: blur(6px);
}
.btn {
  display: inline-block; padding: .85rem 1.6rem; border-radius: 8px;
  font-weight: 600; transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary {
  background: white; color: #0a2540;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.25); color: #c8102e; }
.btn-outline { border: 2px solid white; color: white; }
.btn-outline:hover { background: white; color: #0a2540; }
.cta-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* Section helpers */
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title p { color: #64748b; max-width: 640px; margin: .75rem auto 0; font-size: 1.05rem; }
.eyebrow {
  display: inline-block; font-size: .75rem; letter-spacing: .14em;
  text-transform: uppercase; color: #c8102e; font-weight: 700; margin-bottom: .75rem;
}

/* Grid cards */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.card {
  background: white; border: 1px solid #e5e9f0; border-radius: 14px;
  padding: 1.75rem; transition: all .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(10,37,64,.08); border-color: #c8d0dc; }
.card .icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, #fff5f7 0%, #ffe4e9 100%);
  color: #c8102e; display: grid; place-items: center;
  font-size: 1.4rem; margin-bottom: 1rem;
}
.card p { color: #475569; }

/* Stats */
.stats {
  background: #0a2540; color: white;
  padding: 3.5rem 0;
}
.stats .grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); text-align: center; }
.stat-num {
  font-size: clamp(2rem, 3vw + 1rem, 3rem);
  font-weight: 800; color: white; line-height: 1;
}
.stat-label { opacity: .8; font-size: .9rem; margin-top: .5rem; }

/* Programs grid */
.programs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.program {
  position: relative; padding: 2rem 1.5rem;
  border-radius: 16px; background: #f8fafc;
  border-left: 4px solid #c8102e;
  transition: all .2s ease;
}
.program:hover { background: white; box-shadow: 0 10px 30px rgba(10,37,64,.07); transform: translateY(-2px); }
.program h3 { color: #0a2540; }
.program p { font-size: .95rem; color: #475569; margin: 0; }

/* Director quote */
.quote-block {
  background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
  border-radius: 18px; padding: 2.5rem;
  display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center;
}
.director-photo {
  width: 140px; height: 140px; border-radius: 50%;
  background: linear-gradient(135deg, #8a0a20 0%, #5a0010 100%);
  display: grid; place-items: center; color: white;
  font-size: 3rem; font-weight: 700;
  box-shadow: 0 8px 24px rgba(138,10,32,.3);
}
.quote-block blockquote {
  font-size: 1.1rem; color: #1a2233; font-style: italic; line-height: 1.7;
}
.quote-block cite {
  display: block; margin-top: 1rem; font-style: normal;
  color: #64748b; font-size: .9rem;
}
.quote-block cite strong { color: #0a2540; font-size: 1rem; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid #e5e9f0; border-radius: 12px; }
table { width: 100%; border-collapse: collapse; }
table th, table td { padding: .9rem 1.1rem; text-align: left; border-bottom: 1px solid #e5e9f0; }
table th { background: #f8fafc; color: #0a2540; font-weight: 600; font-size: .9rem; }
table tr:last-child td { border-bottom: 0; }
table tr:hover td { background: #fafbfc; }

/* Contact */
.contact-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.contact-card {
  background: white; border: 1px solid #e5e9f0; border-radius: 14px;
  padding: 1.75rem;
}
.contact-card .label {
  font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  color: #c8102e; font-weight: 700; margin-bottom: .5rem;
}
.contact-card .value { font-size: 1.1rem; color: #0a2540; font-weight: 600; }
.contact-card .sub { color: #64748b; font-size: .9rem; margin-top: .25rem; }

/* Footer */
footer.site-footer {
  background: #0a2540; color: #cbd5e1;
  padding: 3rem 0 2rem; margin-top: auto;
}
.footer-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 2fr 1fr 1fr;
  margin-bottom: 2rem;
}
.footer-grid h4 { color: white; margin-bottom: 1rem; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-grid a { color: #cbd5e1; }
.footer-grid a:hover { color: white; }
.footer-grid li { margin-bottom: .5rem; font-size: .9rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem; font-size: .85rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  color: #94a3b8;
}

/* Page hero (smaller, for sub-pages) */
.page-hero {
  background: linear-gradient(135deg, #0a2540 0%, #15355c 100%);
  color: white; padding: 4rem 0 3rem;
}
.page-hero h1 { color: white; }
.page-hero .breadcrumbs { font-size: .9rem; opacity: .8; margin-bottom: 1rem; }
.page-hero .breadcrumbs a { color: white; opacity: .85; }

.prose { max-width: 760px; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 1.75rem; color: #0a2540; }
.prose ul { padding-left: 1.5rem; margin-bottom: 1rem; list-style: disc; }
.prose li { margin-bottom: .35rem; }

/* Responsive */
@media (max-width: 768px) {
  .nav-list { display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: white; flex-direction: column; padding: 1rem 1.25rem;
    border-bottom: 1px solid #e5e9f0; gap: .25rem; }
  .nav-list a { padding: .75rem 0; display: block; border-bottom: 1px solid #f1f5f9; }
  .nav-list a:last-child { border-bottom: 0; }
  .nav-list.open { display: flex; }
  .nav-toggle { display: block; }
  .quote-block { grid-template-columns: 1fr; text-align: center; padding: 1.75rem; }
  .director-photo { margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 3rem 0; }
}
