:root {
  --navy: #051e3d;
  --navy-light: #0d3768;
  --red: #f41a1b;
  --red-dark: #c01515;
  --bg: #f7f7f5;
  --card: #ffffff;
  --text: #1a1d24;
  --text-muted: #666a72;
  --border: #e3e3df;
  --radius: 10px;
  --font-head: "Oswald", "Segoe UI", sans-serif;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a { color: var(--navy); }

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px;
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--navy);
  color: #fff;
  border-bottom: 3px solid var(--red);
}

header.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
}

header.site-header .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
}

header.site-header .brand img {
  height: 36px;
  width: 36px;
  border-radius: 6px;
  display: block;
}

nav.site-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

nav.site-nav a {
  color: #d9e0ea;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

nav.site-nav a:hover { color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  padding: 4px 6px;
  cursor: pointer;
}

.hero {
  position: relative;
  background-image: linear-gradient(rgba(5, 30, 61, 0.82), rgba(5, 30, 61, 0.88)), url("/assets/school-hero.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 56px 20px 64px;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-inner img {
  height: 84px;
  width: 84px;
  border-radius: 10px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}

.hero h1 {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero p {
  margin: 0;
  color: #cfd8e4;
  font-size: 16px;
}

section {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

section:last-of-type { border-bottom: none; }

section h2 {
  font-family: var(--font-head);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

section h2 i {
  color: var(--red);
  font-size: 15px;
}

section > .section-intro {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0 0 18px;
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.event-card, .news-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.date-badge {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12px;
  line-height: 1.2;
}

.event-card h3, .news-card p { margin: 0 0 4px; font-size: 15px; }
.event-card .meta, .news-card .meta { font-size: 13px; color: var(--text-muted); margin: 0; }

.event-flyer {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
}

.news-image {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
}

.rsvp-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 6px 12px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.15s;
}

.rsvp-btn:hover { background: var(--red-dark); }
.rsvp-btn i { font-size: 11px; }

@media (max-width: 480px) {
  .event-flyer, .news-image { width: 48px; height: 48px; }
}

.empty-note {
  color: var(--text-muted);
  font-size: 14px;
  font-style: italic;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.program-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
  font-size: 13px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s, transform 0.15s;
}

.program-card:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}

.program-card i {
  display: block;
  font-size: 22px;
  color: var(--red);
  margin-bottom: 8px;
}

.help-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.help-step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.help-step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-size: 13px;
  margin-bottom: 8px;
}

.help-step h3 { margin: 0 0 4px; font-size: 15px; }
.help-step p { margin: 0; font-size: 13px; color: var(--text-muted); }

.board-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.board-columns h3 {
  font-family: var(--font-head);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
}

.person-list {
  display: flex;
  flex-direction: column;
}

.person-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.person-row:last-child { border-bottom: none; }

.person-avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 13px;
}

.person-info .name { margin: 0; font-size: 14px; font-weight: 600; }
.person-info .role { margin: 2px 0 0; font-size: 12px; color: var(--text-muted); }

@media (max-width: 620px) {
  .board-columns { grid-template-columns: 1fr; gap: 28px; }
}

.newsletter-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-align: center;
}

.mc-form-row {
  display: flex;
  gap: 8px;
  max-width: 420px;
  margin: 0 auto 10px;
}

.mc-form-row:last-of-type { margin-bottom: 14px; }

.mc-form-row.mc-name-row > div { flex: 1; }
.mc-form-row input[type="email"] { flex: 1; }
.mc-form-row button { flex-shrink: 0; }

.mc-disclosure {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

.mc-status {
  display: none;
  max-width: 420px;
  margin: 0 auto 14px;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 13.5px;
  text-align: left;
}

.mc-status.mc-status-success {
  display: block;
  background: #e9f6ec;
  color: #1e6b34;
}

.mc-status.mc-status-error {
  display: block;
  background: #fbeaea;
  color: #a32d2d;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 480px) {
  .mc-form-row { flex-direction: column; }
}

.contact-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: background 0.15s;
}

.social-links a:hover { background: var(--red); }

footer.site-footer {
  text-align: center;
  padding: 20px;
  font-size: 12px;
  color: var(--text-muted);
}

footer.site-footer a {
  color: var(--text-muted);
  text-decoration: underline;
}

.policy-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.policy-page h1 {
  font-family: var(--font-head);
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--navy);
  margin: 0 0 6px;
}

.policy-page .updated {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 32px;
}

.policy-page h2 {
  font-family: var(--font-head);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin: 32px 0 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
}

.policy-page p, .policy-page li {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.7;
}

.policy-page ul { padding-left: 20px; }
.policy-page a { color: var(--navy); text-decoration: underline; }

.policy-note {
  background: var(--card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 32px;
}

button, .btn {
  font: inherit;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  cursor: pointer;
}

button:hover, .btn:hover { background: var(--navy-light); }

input, textarea, select {
  font: inherit;
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
}

label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin: 12px 0 4px;
}

@media (max-width: 560px) {
  .hero h1 { font-size: 24px; }
  .hero-inner { flex-direction: column; gap: 12px; }
}

@media (max-width: 680px) {
  header.site-header .wrap { position: relative; }

  .nav-toggle { display: block; }

  nav.site-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 14px 20px 18px;
    gap: 16px;
    border-bottom: 3px solid var(--red);
  }

  nav.site-nav.open { display: flex; }
}
