/* ===========================
   THEME VARIABLES — Charcoal & Teal
   =========================== */
:root {
  --bg-deep:    #d9d9d9;
  --bg-dark:    #ffffff;
  --text-light: #353535;
  --text-muted: #284b63;
  --cyan-glow:  #3c6e71;
  --cyan-bright:#284b63;
  --white:      #353535;
  --card-border:rgba(53, 53, 53, 0.12);
  --amber:      #284b63;
  --amber-dim:  rgba(40, 75, 99, 0.12);
}

[data-theme="dark"] {
  --bg-deep:    #222222;
  --bg-dark:    #353535;
  --text-light: #ffffff;
  --text-muted: #d9d9d9;
  --cyan-glow:  #3c6e71;
  --cyan-bright:#4d8b8e;
  --white:      #ffffff;
  --card-border:rgba(255, 255, 255, 0.08);
  --amber:      #3c6e71;
  --amber-dim:  rgba(60, 110, 113, 0.20);
}

/* ===========================
   RESET & BASE
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-light);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ===========================
   HEADER & NAV
   =========================== */
header {
  background-color: var(--bg-dark);
  border-bottom: 2px solid rgba(60, 110, 113,0.18);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background-color 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 2rem;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
  flex-shrink: 0;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--cyan-glow);
}

.brand-text h1 { font-size: 1.15rem; font-weight: 700; letter-spacing: 0.4px; }
.brand-text p  { font-size: 0.72rem; color: var(--amber); text-transform: uppercase; letter-spacing: 1.2px; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

nav ul { display: flex; list-style: none; gap: 1.2rem; }

nav a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.92rem;
  transition: color 0.2s;
  padding-bottom: 3px;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--cyan-glow);
  transition: width 0.22s ease;
}

nav a:hover { color: var(--cyan-glow); }
nav a.active { color: var(--cyan-glow); }
nav a:hover::after, nav a.active::after { width: 100%; }

.theme-toggle-btn {
  background: transparent;
  border: 2px solid var(--cyan-bright);
  color: var(--cyan-bright);
  padding: 0.32rem 0.75rem;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.theme-toggle-btn:hover { background-color: var(--cyan-bright); color: #fff; }

.hamburger {
  display: none;
  background: transparent;
  border: 2px solid var(--cyan-bright);
  color: var(--cyan-bright);
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
  transition: all 0.2s;
}

.hamburger:hover { background: var(--cyan-bright); color: #fff; }

/* ===========================
   LAYOUT
   =========================== */
.container { max-width: 1100px; margin: 0 auto; padding: 3.5rem 2rem; }

.page-header {
  background: linear-gradient(135deg, var(--bg-deep) 0%, var(--bg-dark) 100%);
  padding: 3rem 2rem 2.5rem;
  text-align: center;
  border-bottom: 1px solid var(--card-border);
  animation: pageFadeIn 0.45s ease forwards;
}

.page-header h2 { font-size: 2rem; color: var(--white); margin-bottom: 0.5rem; }
.page-header h2 span { color: var(--cyan-glow); }
.page-header p { color: var(--text-muted); max-width: 580px; margin: 0 auto; font-size: 1rem; }

.hero {
  background: linear-gradient(135deg, var(--bg-deep) 30%, var(--bg-dark) 100%);
  padding: 5rem 2rem 4.5rem;
  text-align: center;
  animation: pageFadeIn 0.5s ease forwards;
}

.hero h2 { font-size: 2.6rem; margin-bottom: 1rem; color: var(--white); line-height: 1.2; }
.hero h2 span { color: var(--amber); }
.hero p { font-size: 1.1rem; max-width: 640px; margin: 0 auto 2rem; color: var(--text-muted); }

.section-title { font-size: 1.75rem; margin-bottom: 2.5rem; text-align: center; }
.section-title span { color: var(--cyan-glow); }

.section-heading {
  font-size: 1.35rem;
  color: var(--cyan-glow);
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(60, 110, 113,0.18);
  padding-bottom: 0.5rem;
}

.section-heading.muted {
  color: var(--text-muted);
  border-color: rgba(60, 110, 113, 0.18);
}

/* ===========================
   PAGE LOAD ANIMATION
   =========================== */
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* ===========================
   SCROLL REVEAL
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.revealed { opacity: 1; transform: none; }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.reveal-stagger.revealed > * { opacity: 1; transform: none; }
.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.07s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.14s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.21s; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.28s; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.35s; }
.reveal-stagger.revealed > *:nth-child(7) { transition-delay: 0.42s; }
.reveal-stagger.revealed > *:nth-child(8) { transition-delay: 0.49s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > *, .hero, .page-header, .back-to-top {
    opacity: 1 !important; transform: none !important;
    transition: none !important; animation: none !important;
  }
}

@media (max-width: 767px) {
  .events-layout { grid-template-columns: 1fr; gap: 1rem; }
  .events-calendar-col { position: static; top: auto; }
  .events-calendar-col, .events-calendar-col .cal-container { max-width: 100%; }
  .event-card { grid-template-columns: 1fr; padding: 1rem; }
  .event-date { margin-bottom: 0.6rem; align-self: start; }
  .modal { width: 96%; padding: 0.9rem; }
  .modal .modal-grid { grid-template-columns: 80px 1fr; gap: 0.6rem; }
  .modal .modal-date { min-height: 86px; padding: 0.45rem; }
  .event-list { gap: 1rem; }
}

/* ===========================
   BACK TO TOP
   =========================== */
.back-to-top {
  position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 200;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--cyan-glow); color: #fff; border: none; cursor: pointer;
  font-size: 1.1rem; font-weight: 700;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(60, 110, 113,0.4);
  display: flex; align-items: center; justify-content: center;
}
.back-to-top.visible { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { background: var(--cyan-bright); box-shadow: 0 6px 22px rgba(60, 110, 113,0.55); }
.back-to-top:active { transform: scale(0.94); }

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-block;
  background-color: transparent;
  color: var(--cyan-glow);
  border: 2px solid var(--cyan-glow);
  padding: 0.7rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
  font-size: 0.95rem;
}
.btn:hover { background-color: var(--cyan-glow); color: #fff; box-shadow: 0 4px 16px rgba(60,110,113,0.35); }
.btn:active { transform: scale(0.96); }

.btn-sm {
  display: inline-block;
  background-color: transparent;
  color: var(--cyan-bright);
  border: 1px solid var(--cyan-bright);
  padding: 0.42rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-sm:hover { background-color: var(--cyan-bright); color: #fff; box-shadow: 0 3px 12px rgba(29,95,220,0.3); }
.btn-sm:active { transform: scale(0.96); }

.btn-muted {
  display: inline-block;
  background-color: rgba(107, 138, 171, 0.07);
  color: var(--text-muted);
  border: 1px solid rgba(107, 138, 171, 0.2);
  padding: 0.42rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.875rem;
}

.btn-amber {
  display: inline-block;
  background-color: transparent;
  color: var(--amber);
  border: 1px solid var(--amber);
  padding: 0.42rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-amber:hover { background-color: var(--amber); color: #fff; box-shadow: 0 3px 12px rgba(60,110,113,0.35); }
.btn-amber:active { transform: scale(0.96); }

/* ===========================
   MODAL (event detail)
   =========================== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6); display: none; align-items: center; justify-content: center; z-index: 300; padding: 1.25rem;
}
.modal-overlay.visible { display: flex; }
.modal {
  background: var(--bg-dark); border: 1px solid var(--card-border); border-radius: 12px; width: min(920px, 96%); max-height: 90vh; overflow: auto; padding: 1.5rem; box-shadow: 0 36px 90px rgba(0,0,0,0.6);
}
.modal h4 { margin: 0 0 0.4rem 0; color: var(--white); font-size: 1.28rem; }
.modal .meta { color: var(--text-muted); margin-bottom: 0.8rem; }
.modal .modal-actions { display:flex; gap:0.6rem; margin-top:1.2rem; align-items:center; }
.modal .modal-body { color: var(--text-muted); line-height:1.7; }
.modal .modal-grid { display: grid; grid-template-columns: 110px 1fr; gap: 1.25rem; align-items: start; }
.modal .modal-date { background: rgba(60,110,113,0.04); border: 1px solid rgba(60,110,113,0.08); border-radius: 10px; padding: 0.6rem; text-align: center; display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:110px; }
.modal .modal-date .month { font-size: 0.78rem; color: var(--cyan-glow); font-weight:700; text-transform:uppercase; }
.modal .modal-date .day { font-size: 2.1rem; font-weight:800; color: var(--white); margin: 0.2rem 0; }
.modal .modal-date .time { font-size: 0.82rem; color: var(--text-muted); }
.modal .modal-content { padding: 0.1rem 0; }
.modal .modal-session { margin-bottom: 1rem; }
.modal .session-heading { font-weight: 800; color: var(--white); margin-bottom: 0.35rem; font-size: 0.96rem; }
.modal .session-body { color: var(--text-muted); line-height:1.7; font-size: 0.95rem; }
.modal .modal-close { position: absolute; right: 1rem; top: 0.9rem; background: transparent; border: none; color: var(--text-muted); font-size: 1.45rem; cursor: pointer; padding: 6px; border-radius:6px; }
.modal .modal-close:hover { color: var(--white); background: rgba(60,110,113,0.06); }
.modal .modal-close:focus { outline: 3px solid rgba(76,182,195,0.12); }
.modal .btn { padding: 0.7rem 1.15rem; }
.modal .btn.btn-sm { padding: 0.48rem 0.9rem; }

/* Disabled button state */
.btn.disabled, .btn[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
  border-color: rgba(255,255,255,0.06);
  color: var(--text-muted);
  background: transparent;
}

/* ===========================
   BADGES
   =========================== */
.badge {
  display: inline-block;
  padding: 0.18rem 0.6rem;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: 0.5px;
}
.badge-cyan  { background: rgba(60, 110, 113,0.12); color: var(--cyan-glow); }
.badge-amber { background: var(--amber-dim); color: var(--amber); }
.badge-muted { background: rgba(107, 138, 171, 0.1); color: var(--text-muted); }

/* ===========================
   NOTICE BANNER
   =========================== */
.notice {
  background: var(--amber-dim);
  border: 1px solid rgba(60, 110, 113, 0.28);
  border-radius: 6px;
  padding: 0.75rem 1.25rem;
  color: var(--amber);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ===========================
   QUICK LINKS (homepage)
   =========================== */
.quick-links {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.quick-link-card {
  background-color: var(--bg-dark);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 1.5rem 1rem;
  text-align: center;
  text-decoration: none;
  color: var(--text-light);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.quick-link-card:hover {
  border-color: var(--cyan-glow);
  transform: translateY(-4px);
  color: var(--cyan-glow);
  box-shadow: 0 8px 28px rgba(60, 110, 113,0.18);
}

.quick-link-card:active { transform: translateY(-2px); }
.ql-icon  { font-size: 1.75rem; }
.ql-label { font-size: 0.875rem; font-weight: 600; }

/* ===========================
   NEXT EVENT SPOTLIGHT
   =========================== */
.next-event-spotlight {
  background: linear-gradient(135deg, var(--bg-dark) 0%, rgba(60, 110, 113,0.05) 100%);
  border: 1px solid rgba(60, 110, 113,0.28);
  border-left: 4px solid var(--cyan-glow);
  border-radius: 0 8px 8px 0;
  padding: 2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 4rem;
}

.date-badge {
  background: rgba(60, 110, 113,0.08);
  border: 1px solid rgba(60, 110, 113,0.22);
  border-radius: 6px;
  padding: 0.9rem 1.1rem;
  text-align: center;
  min-width: 76px;
}
.date-badge .month { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--cyan-glow); font-weight: 700; }
.date-badge .day   { font-size: 2rem; font-weight: 800; color: var(--white); line-height: 1.1; margin: 2px 0; }
.date-badge .year  { font-size: 0.7rem; color: var(--text-muted); }

.spotlight-title  { font-size: 1.15rem; color: var(--white); margin-bottom: 0.4rem; font-weight: 600; }
.spotlight-meta   { font-size: 0.875rem; color: var(--cyan-glow); font-weight: 500; margin-bottom: 0.35rem; }
.spotlight-detail { font-size: 0.85rem; color: var(--text-muted); }

/* ===========================
   OFFICER / TEAM CARDS — large, prominent layout
   =========================== */
.officer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.officer-card {
  background-color: var(--bg-dark);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.officer-card:hover {
  transform: translateY(-6px);
  border-color: rgba(60, 110, 113,0.35);
  box-shadow: 0 16px 48px rgba(60, 110, 113,0.16);
}

.officer-avatar {
  width: 150px; height: 150px;
  border-radius: 50%;
  background: rgba(60, 110, 113,0.1);
  border: 4px solid var(--cyan-glow);
  box-shadow: 0 0 0 6px rgba(60, 110, 113,0.1);
  margin: 0 auto 1.5rem;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  color: var(--cyan-glow);
  font-size: 2rem;
  overflow: hidden;
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
}
.officer-card:hover .officer-avatar {
  border-color: var(--amber);
  box-shadow: 0 0 0 6px rgba(60, 110, 113, 0.14);
  transform: scale(1.04);
}
.officer-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 50%; }

.officer-card h3 {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.officer-role-badge {
  display: inline-block;
  background: rgba(60, 110, 113,0.1);
  border: 1px solid rgba(60, 110, 113,0.22);
  color: var(--cyan-glow);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  padding: 0.25rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 1.1rem;
}

.officer-divider {
  width: 40px; height: 2px;
  background: linear-gradient(90deg, var(--cyan-glow), var(--amber));
  border-radius: 2px;
  margin: 0 auto 1.1rem;
}

.officer-bio {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.4rem;
}

.officer-links { margin-top: auto; }
.officer-linkedin {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(60, 110, 113,0.08);
  border: 1px solid rgba(60, 110, 113,0.2);
  color: var(--cyan-glow);
  font-size: 0.8rem; font-weight: 600;
  padding: 0.45rem 1rem; border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s;
}
.officer-linkedin:hover {
  background: var(--cyan-glow); color: #fff;
  box-shadow: 0 4px 14px rgba(60,110,113,0.3);
}
.officer-linkedin-placeholder {
  display: inline-block;
  font-size: 0.78rem; color: var(--text-muted);
  font-style: italic;
}

/* ===========================
   PILLAR CARDS
   =========================== */
.pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }

.pillar-card {
  background-color: var(--bg-dark);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 1.75rem;
  transition: background-color 0.3s, box-shadow 0.22s ease, transform 0.22s ease;
}
.pillar-card:hover {
  box-shadow: 0 6px 22px rgba(60, 110, 113,0.14);
  transform: translateY(-2px);
}
.pillar-card h3 { margin-bottom: 0.75rem; color: var(--white); border-left: 3px solid var(--cyan-glow); padding-left: 10px; }
.pillar-card p  { color: var(--text-muted); font-size: 0.925rem; }

/* ===========================
   EVENT CARDS
   =========================== */
.event-list { display: flex; flex-direction: column; gap: 1.5rem; }

.event-card {
  background-color: var(--bg-dark);
  border-left: 4px solid var(--cyan-bright);
  border-radius: 0 10px 10px 0;
  padding: 2rem; /* increased internal padding for better spacing */
  display: grid;
  grid-template-columns: 110px 1fr; /* slightly wider date column */
  gap: 1.25rem;
  transition: background-color 0.28s, border-left-color 0.2s, box-shadow 0.28s ease, transform 0.18s ease;
}
.event-card:hover {
  transform: translateY(-6px); /* subtle lift */
  box-shadow: 0 12px 28px rgba(0,0,0,0.34), 0 6px 16px rgba(60,110,113,0.06);
}
.event-card { position: relative; }
.event-card.highlighted { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,0,0,0.38), 0 6px 20px rgba(60,110,113,0.08); border-left-color: var(--amber); }

@keyframes highlightPulse {
  0% { box-shadow: 0 6px 18px rgba(60,110,113,0.05); }
  50% { box-shadow: 0 12px 28px rgba(60,110,113,0.09); }
  100% { box-shadow: 0 6px 18px rgba(60,110,113,0.05); }
}
.event-card.highlighted { animation: highlightPulse 1.25s ease-in-out; }
.event-card.past  { opacity: 0.78; border-left-color: var(--text-muted); }
.event-card.highlighted { border-left-color: var(--amber); background: rgba(60, 110, 113,0.04); }

.event-date {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  background-color: rgba(60, 110, 113,0.05);
  border: 1px solid rgba(60, 110, 113,0.12);
  border-radius: 6px; padding: 0.75rem 0.5rem; text-align: center; height: fit-content;
}
.event-date .month { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 2px; color: var(--cyan-glow); font-weight: 700; }
.event-date .day   { font-size: 1.75rem; font-weight: 800; color: var(--white); line-height: 1.15; margin: 2px 0; }
.event-date .time  { font-size: 0.7rem; color: var(--text-muted); }
.event-details h3  { font-size: 1.12rem; color: var(--white); margin-bottom: 0.55rem; line-height: 1.25; }
.event-meta        { font-size: 0.86rem; color: var(--cyan-glow); margin-bottom: 0.6rem; font-weight: 500; }
.event-details p   { color: var(--text-muted); margin-bottom: 1rem; font-size: 0.895rem; line-height: 1.6; }
.event-tags        { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }

/* Make event cards clearly interactive */
.event-card { cursor: pointer; }
.event-card:focus { outline: 3px solid rgba(76,182,195,0.12); box-shadow: 0 10px 34px rgba(60,110,113,0.12); transform: translateY(-4px); }

.event-card .card-cta {
  margin-top: 0.9rem; display: inline-block; font-weight:700; color:var(--cyan-glow); background:transparent; border-radius:8px; padding:0.38rem 0.72rem; border:1px dashed rgba(76,182,195,0.18); font-size:0.84rem;
}
.event-card:hover .card-cta { background: rgba(60,110,113,0.05); }

/* ===========================
   CALENDAR WIDGET
   =========================== */
.cal-container { max-width: 420px; }

.cal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.85rem; }
.cal-month-label { font-size: 1.05rem; font-weight: 700; color: var(--white); }

.cal-nav {
  background: transparent;
  border: 1px solid var(--cyan-bright);
  color: var(--cyan-bright);
  padding: 0.28rem 0.85rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.cal-nav:hover { background: var(--cyan-bright); color: #fff; }
.cal-nav:active { transform: scale(0.94); }

.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-day-name { text-align: center; font-size: 0.72rem; color: var(--text-muted); padding: 0.35rem 0; font-weight: 600; }

.cal-cell {
  text-align: center; padding: 0.45rem 0.2rem; border-radius: 4px;
  font-size: 0.85rem; position: relative; color: var(--text-muted);
  min-height: 36px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.cal-cell.empty { background: transparent; }
.cal-cell.has-event {
  cursor: pointer;
  background: rgba(60, 110, 113,0.14);
  color: var(--cyan-glow);
  font-weight: 600;
}
.cal-cell.has-event:hover { background: rgba(60, 110, 113,0.26); }
.cal-cell.has-volunteer {
  cursor: pointer;
  background: var(--amber-dim);
  color: var(--amber);
  font-weight: 600;
}
.cal-cell.has-volunteer:hover { background: rgba(60, 110, 113, 0.22); }
.cal-cell.today { box-shadow: inset 0 0 0 1px var(--cyan-bright); color: var(--text-light); }
.cal-cell.selected          { background: var(--cyan-glow)  !important; color: #fff !important; font-weight: 700; }
.cal-cell.selected-volunteer{ background: var(--amber)      !important; color: #fff !important; font-weight: 700; }

/* add subtle glow/border to selected date */
.cal-cell.selected { box-shadow: 0 6px 20px rgba(60,110,113,0.12); border-radius:6px; }

.cal-dot { display: block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; margin: 2px auto 0; }

.cal-detail {
  margin-top: 1.25rem; padding: 1.25rem;
  background: var(--bg-dark); border: 1px solid var(--card-border); border-radius: 8px;
  display: none;
  animation: pageFadeIn 0.2s ease;
}
.cal-detail.visible { display: block; }
.cal-detail h4 { color: var(--white); margin-bottom: 0.85rem; font-size: 0.95rem; }
.cal-detail-empty { color: var(--text-muted); font-size: 0.875rem; }

/* ===========================
   GUEST SPOTLIGHT (Events page)
   =========================== */
#guestSpotlight .section-heading { margin-bottom: 1.1rem; }

.guest-spotlight-card {
  background: var(--bg-dark);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2.75rem;
}

/* header: photo + identity */
.guest-header {
  display: flex;
  gap: 1.75rem;
  align-items: center;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(60,110,113,0.18);
}
.guest-avatar {
  width: 128px;
  height: 128px;
  border-radius: 16px;
  border: 3px solid var(--cyan-glow);
  box-shadow: 0 8px 20px rgba(60,110,113,0.3);
  flex-shrink: 0;
  object-fit: cover;
}
.guest-header-text { min-width: 0; }
.guest-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: var(--amber);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  margin-bottom: 0.5rem;
}
.guest-name { font-size: 1.5rem; font-weight: 800; color: var(--white); line-height: 1.15; }
.guest-tagline { font-size: 0.9rem; color: var(--text-muted); font-style: italic; margin: 0.3rem 0 0.5rem; }
.guest-title { font-size: 0.92rem; color: var(--cyan-glow); font-weight: 700; }

/* body: flowing text, no nested boxes */
.guest-body { margin-bottom: 1.5rem; }
.guest-line {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 0.75rem;
}
.guest-line-label {
  display: block;
  font-size: 0.72rem;
  color: var(--amber);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}
.guest-awards-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.guest-awards-list li { font-size: 0.88rem; color: var(--text-muted); line-height: 1.5; }
.guest-quote {
  margin: 1.25rem 0 0;
  padding-left: 1rem;
  border-left: 3px solid var(--cyan-glow);
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
}

/* footer actions */
.guest-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(60,110,113,0.18);
}
.guest-event-link { font-size: 0.85rem; color: var(--cyan-glow); font-weight: 600; text-decoration: none; }
.guest-event-link:hover { text-decoration: underline; }

@media (max-width: 700px) {
  .guest-spotlight-card { padding: 1.5rem; }
  .guest-header { flex-direction: column; align-items: center; text-align: center; }
  .guest-footer { justify-content: center; text-align: center; }
}

/* ===========================
   EVENTS PAGE LAYOUT
   =========================== */
.events-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 2.5rem; /* consistent horizontal gap */
  align-items: start;
}
.events-calendar-col { position: sticky; top: 80px; }

/* extra spacing before Past Events */
.section-heading.muted { margin-top: 3.5rem; }

/* ===========================
   JOIN CARDS
   =========================== */
.join-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin: 0 auto 3.5rem;
  max-width: 960px;
}

.join-card {
  background-color: var(--bg-dark);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 2.5rem 1.75rem;
  text-align: center;
  transition: transform 0.22s ease, border-color 0.2s, box-shadow 0.22s ease;
  display: flex; flex-direction: column; gap: 0.9rem;
}
.join-card:hover {
  transform: translateY(-5px);
  border-color: var(--cyan-glow);
  box-shadow: 0 10px 32px rgba(60, 110, 113,0.18);
}
.join-card:active { transform: translateY(-2px); }
.join-icon { font-size: 2.75rem; margin-bottom: 0.25rem; }
.join-card h3 { color: var(--white); font-size: 1.15rem; font-weight: 700; }
.join-card p  { color: var(--text-muted); font-size: 0.9rem; flex: 1; line-height: 1.65; }
.join-action  { margin-top: auto; padding-top: 0.75rem; }

/* ===========================
   WHAT WE DO CARDS
   =========================== */
.what-we-do-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.wwd-card {
  background-color: var(--bg-dark);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.22s ease, transform 0.22s ease;
}
.wwd-card:hover {
  border-color: var(--cyan-glow);
  box-shadow: 0 6px 22px rgba(60, 110, 113,0.14);
  transform: translateY(-2px);
}
.wwd-card .wwd-icon { font-size: 1.6rem; margin-bottom: 0.6rem; }
.wwd-card h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 0.4rem; }
.wwd-card p  { color: var(--text-muted); font-size: 0.82rem; line-height: 1.5; }

/* ===========================
   MEDIA CARDS
   =========================== */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.media-card {
  background-color: var(--bg-dark);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.2s, box-shadow 0.22s ease;
  text-decoration: none;
  display: block;
  color: var(--text-light);
}
.media-card:hover {
  transform: translateY(-5px);
  border-color: var(--cyan-glow);
  box-shadow: 0 10px 32px rgba(60, 110, 113,0.18);
}
.media-card.coming-soon { opacity: 0.65; cursor: default; }
.media-card.coming-soon:hover { transform: none; border-color: var(--card-border); box-shadow: none; }

.media-thumb {
  width: 100%; aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(60,110,113,0.1), rgba(29,95,220,0.04));
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.media-thumb img        { width: 100%; height: 100%; object-fit: cover; }
.media-thumb .thumb-icon{ font-size: 2.25rem; opacity: 0.45; }

.media-thumb .play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.32);
  opacity: 0; transition: opacity 0.2s;
}
.media-card:hover .play-overlay { opacity: 1; }
.play-overlay span { font-size: 2.5rem; }

.coming-soon-tag {
  position: absolute; top: 10px; right: 10px;
  background: rgba(0,0,0,0.6); color: var(--text-muted);
  font-size: 0.7rem; font-weight: 600; padding: 0.2rem 0.5rem; border-radius: 4px;
  text-transform: uppercase; letter-spacing: 0.5px;
}

.media-body     { padding: 1.1rem 1.25rem; }
.media-body h4  { color: var(--white); font-size: 0.95rem; margin-bottom: 0.3rem; line-height: 1.4; }
.media-meta     { color: var(--text-muted); font-size: 0.8rem; }

/* ===========================
   VOLUNTEER SLOT CARDS
   =========================== */
.slot-list { display: flex; flex-direction: column; gap: 0.9rem; margin-top: 0.25rem; }

.slot-card {
  background: var(--bg-dark);
  border: 1px solid rgba(60, 110, 113, 0.18);
  border-left: 4px solid var(--amber);
  border-radius: 0 8px 8px 0;
  padding: 1.1rem 1.25rem;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
  transition: box-shadow 0.2s;
}
.slot-card:hover { box-shadow: 0 4px 16px rgba(60,110,113,0.15); }
.slot-info h4   { color: var(--white); font-size: 0.95rem; margin-bottom: 0.2rem; }
.slot-meta      { color: var(--text-muted); font-size: 0.82rem; }
.slot-note      { color: var(--amber); font-size: 0.78rem; margin-top: 0.25rem; }
.slot-right     { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; flex-shrink: 0; }
.slot-spots     { font-size: 0.78rem; color: var(--amber); font-weight: 600; white-space: nowrap; }

/* ===========================
   OPEN POSITIONS
   =========================== */
.open-positions-notice {
  background: rgba(60,110,113,0.06);
  border: 1px solid rgba(60,110,113,0.2);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.open-position-card {
  background: var(--bg-dark);
  border: 1px solid rgba(60,110,113,0.2);
  border-left: 4px solid var(--cyan-bright);
  border-radius: 0 8px 8px 0;
  padding: 1.1rem 1.25rem;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
  margin-bottom: 0.75rem;
  transition: box-shadow 0.2s;
}
.open-position-card:hover { box-shadow: 0 4px 16px rgba(60,110,113,0.14); }
.open-position-card h4 { color: var(--white); font-size: 0.95rem; }

/* ===========================
   FOOTER
   =========================== */
footer {
  background-color: var(--bg-dark);
  border-top: 1px solid var(--card-border);
  padding: 3rem 2rem 2rem;
  margin-top: 3rem;
  transition: background-color 0.3s;
}

.footer-grid {
  max-width: 1100px; margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-tagline { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.85rem; max-width: 230px; line-height: 1.55; }

.footer-col h4 {
  color: var(--white); font-size: 0.82rem; font-weight: 700;
  margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.75px;
}
.footer-col ul   { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul a { text-decoration: none; color: var(--text-muted); font-size: 0.875rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--amber); }

.footer-social { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: rgba(60,110,113,0.06);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  text-decoration: none; font-size: 0.9rem; color: var(--text-muted);
  transition: all 0.2s;
  font-weight: 700;
}
.footer-social a:hover {
  background: rgba(60,110,113,0.16);
  border-color: var(--cyan-glow);
  color: var(--cyan-glow);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(60,110,113,0.25);
}

.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  border-top: 1px solid var(--card-border);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--text-muted); font-size: 0.8rem; flex-wrap: wrap; gap: 0.75rem;
}
.footer-bottom a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--amber); }

/* ===========================
   HERO SECTION (HOME — full redesign)
   =========================== */
.hero-section {
  background-image: url('../media/richmond-downtown-nano-banana.png');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  padding: 6rem 2rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: pageFadeIn 0.55s ease forwards;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.62);
  pointer-events: none;
}
.hero-content { position: relative; max-width: 780px; margin: 0 auto; }

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.35);
  color: #ffffff;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 0.35rem 1.1rem; border-radius: 20px;
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-size: 3rem; font-weight: 800; line-height: 1.15;
  color: #ffffff; margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.hero-headline span { color: var(--cyan-glow); }

.hero-mission {
  font-size: 1.12rem; color: rgba(255,255,255,0.82); line-height: 1.8;
  max-width: 640px; margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.btn-primary-large {
  display: inline-block;
  background: var(--cyan-glow); color: #fff;
  border: 2px solid var(--cyan-glow);
  padding: 0.9rem 2.1rem; border-radius: 6px;
  text-decoration: none; font-weight: 700; font-size: 1.02rem;
  transition: all 0.22s;
  box-shadow: 0 4px 22px rgba(60,110,113,0.3);
}
.btn-primary-large:hover { background: var(--cyan-bright); border-color: var(--cyan-bright); box-shadow: 0 6px 30px rgba(60,110,113,0.46); transform: translateY(-2px); }
.btn-primary-large:active { transform: translateY(0); }

.btn-outline-large {
  display: inline-block;
  background: transparent; color: #ffffff;
  border: 2px solid #ffffff;
  padding: 0.9rem 2.1rem; border-radius: 6px;
  text-decoration: none; font-weight: 700; font-size: 1.02rem;
  transition: all 0.22s;
}
.btn-outline-large:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn-outline-large:active { transform: translateY(0); }

.hero-stats {
  display: flex; gap: 3rem; justify-content: center; flex-wrap: wrap;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.stat .stat-num   { display: block; font-size: 2.1rem; font-weight: 800; color: #f8f9fa; line-height: 1; }
.stat .stat-label { display: block; font-size: 0.77rem; color: #e9ecef; text-transform: uppercase; letter-spacing: 1px; margin-top: 0.35rem; }

/* ===========================
   LINKEDIN UPDATE BANNER
   =========================== */
.linkedin-update-wrap {
  max-width: 1100px;
  margin: 1rem auto 0;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.linkedin-update-banner {
  max-width: 760px;
  margin: 0 auto;
  text-decoration: none;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.5rem;
  border: 1px solid rgba(60, 110, 113, 0.34);
  border-radius: 10px;
  padding: 0.48rem 0.68rem;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(110% 220% at 0% 0%, rgba(60, 110, 113, 0.24) 0%, rgba(60, 110, 113, 0.08) 34%, rgba(60, 110, 113, 0.02) 75%),
    linear-gradient(120deg, var(--bg-dark) 0%, var(--bg-deep) 100%);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.linkedin-update-banner::before {
  content: '';
  position: absolute;
  inset: auto -18% -150% auto;
  width: 230px;
  height: 230px;
  background: radial-gradient(circle, rgba(60, 110, 113, 0.24) 0%, rgba(60, 110, 113, 0) 74%);
  pointer-events: none;
}

.linkedin-update-banner:hover {
  transform: translateY(-2px);
  border-color: var(--cyan-glow);
  box-shadow: 0 12px 26px rgba(60, 110, 113, 0.22);
}

.linkedin-update-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0;
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cyan-glow);
  font-weight: 700;
  white-space: nowrap;
}

.linkedin-update-kicker::after {
  content: '';
  width: 1px;
  height: 14px;
  background: rgba(60, 110, 113, 0.4);
  margin-left: 0.55rem;
}

.linkedin-update-text {
  flex: 0 1 auto;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--white);
  opacity: 0.96;
}

.linkedin-update-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.36rem;
  min-width: 58px;
  color: #ffffff;
  background: linear-gradient(120deg, rgba(60, 110, 113, 0.88), rgba(77, 139, 142, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 0.2rem 0.36rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 6px 16px rgba(60, 110, 113, 0.34);
}

.linkedin-update-cta::after {
  content: '';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 75%);
  pointer-events: none;
}

.linkedin-update-icon {
  width: 14px;
  height: 14px;
  display: inline-block;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

.linkedin-update-orb {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
  animation: linkedinOrbPulse 1.6s ease-out infinite;
}

@keyframes linkedinOrbPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
    transform: scale(1);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    transform: scale(1);
  }
}

.linkedin-update-cta:hover {
  transform: translateY(-1px) scale(1.02);
  filter: brightness(1.06);
  box-shadow: 0 10px 20px rgba(60, 110, 113, 0.42);
}

/* ===========================
   STAY CONNECTED
   =========================== */
.stay-connected {
  background: linear-gradient(135deg, rgba(60,110,113,0.05) 0%, rgba(60,110,113,0.03) 100%);
  border: 1px solid rgba(60,110,113,0.16);
  border-radius: 12px;
  padding: 3rem 2.5rem;
  margin-bottom: 4rem;
  text-align: center;
}
.stay-connected h3 { font-size: 1.65rem; color: var(--white); margin-bottom: 0.5rem; }
.stay-connected-subtitle { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.75rem; max-width: 480px; margin-left: auto; margin-right: auto; }

.email-form-row {
  display: flex; gap: 0.55rem; justify-content: center; flex-wrap: wrap;
  margin: 0 auto 0.75rem; max-width: 500px;
}
.email-input {
  flex: 1 1 260px;
  background: var(--bg-dark);
  border: 1px solid rgba(60,110,113,0.22);
  border-radius: 6px;
  color: var(--text-light);
  padding: 0.78rem 1.1rem;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-width: 200px;
}
.email-input:focus { border-color: var(--cyan-glow); box-shadow: 0 0 0 3px rgba(60,110,113,0.12); }
.email-input::placeholder { color: var(--text-muted); }

.btn-submit {
  background: var(--amber); color: #fff; border: none;
  padding: 0.78rem 1.6rem; border-radius: 6px;
  font-weight: 700; font-size: 0.95rem; cursor: pointer;
  transition: all 0.2s; white-space: nowrap;
}
.btn-submit:hover { background: #d49a20; box-shadow: 0 4px 16px rgba(60,110,113,0.38); transform: translateY(-1px); }
.btn-submit:active { transform: translateY(0); }
.email-note { color: var(--text-muted); font-size: 0.78rem; margin-top: 0.6rem; }

/* ===========================
   RESPONSIVE
   =========================== */

/* ── Tablet landscape ── */
@media (max-width: 1024px) {
  .events-layout     { grid-template-columns: 320px 1fr; gap: 2rem; }
  .footer-grid       { grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .officer-grid      { grid-template-columns: repeat(2, 1fr); }
  .hero-headline     { font-size: 2.6rem; }
}

/* ── Tablet portrait ── */
@media (max-width: 900px) {
  .quick-links                  { grid-template-columns: repeat(3, 1fr); }
  .next-event-spotlight         { grid-template-columns: auto 1fr; }
  .next-event-spotlight .btn    { display: none; }
  .pillars-grid                 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid                  { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: auto; }
}

/* ── Large mobile / small tablet ── */
@media (max-width: 768px) {
  /* nav */
  .hamburger  { display: block; }
  .nav-right  {
    display: none; flex-direction: column; align-items: flex-start;
    width: 100%; padding: 1rem 0 0.5rem; gap: 1rem;
    border-top: 1px solid var(--card-border); margin-top: 0.5rem;
  }
  .nav-right.open { display: flex; }
  nav ul { flex-direction: column; gap: 0.6rem; }
  nav a  { font-size: 1rem; padding: 0.2rem 0; }

  /* typography */
  .page-header h2  { font-size: 1.65rem; }
  .page-header p   { font-size: 0.95rem; }
  .section-title   { font-size: 1.5rem; }
  .hero-headline   { font-size: 2rem; }
  .hero-mission    { font-size: 1.05rem; }

  /* hero */
  .hero-section  { padding: 4rem 1.5rem 3.5rem; }
  .hero-actions  { flex-direction: column; align-items: center; }
  .btn-primary-large,
  .btn-outline-large { width: 100%; max-width: 320px; text-align: center; }
  .hero-stats    { gap: 1.75rem; }
  .linkedin-update-wrap { margin-top: 0.8rem; padding: 0 1.5rem; }
  .linkedin-update-banner { border-radius: 12px; }
  .linkedin-update-text { font-size: 0.8rem; }

  /* officers */
  .officer-grid   { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .officer-avatar { width: 120px; height: 120px; font-size: 1.6rem; }
  .officer-card   { padding: 1.75rem 1.25rem; }

  /* quick links */
  .quick-links { grid-template-columns: repeat(3, 1fr); }

  /* next event */
  .next-event-spotlight { grid-template-columns: auto 1fr; }

  /* events */
  .events-layout       { grid-template-columns: 1fr; }
  .events-calendar-col { position: static; }
  .event-card  { grid-template-columns: 1fr; }
  .event-date  { flex-direction: row; gap: 10px; justify-content: flex-start; padding: 0.75rem; height: auto; }
  .event-date .day { font-size: 1.3rem; margin: 0; }

  /* stay connected */
  .stay-connected { padding: 2.25rem 1.5rem; }
  .stay-connected h3 { font-size: 1.35rem; }

  /* footer */
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.4rem; }
}

/* ── Medium mobile (landscape phones) ── */
@media (max-width: 600px) {
  .quick-links { grid-template-columns: repeat(2, 1fr); }

  /* next event spotlight stacks */
  .next-event-spotlight {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .date-badge { margin: 0 auto; }

  /* slot cards stack */
  .slot-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .slot-right {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  /* stats wrap to 2×2 */
  .stat { flex: 1 1 100px; }

  /* media grid single column */
  .media-grid { grid-template-columns: 1fr; }

  /* join + what-we-do go 2-col */
  .join-grid       { grid-template-columns: repeat(2, 1fr); }
  .what-we-do-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Small mobile (portrait phones) ── */
@media (max-width: 480px) {
  /* spacing */
  .container   { padding: 2.5rem 1rem; }
  .page-header { padding: 2rem 1rem; }
  .hero-section { padding: 3.5rem 1rem 3rem; }
  .stay-connected { padding: 2rem 1rem; }
  .linkedin-update-wrap { margin-top: 0.75rem; padding: 0 1rem; }
  .linkedin-update-banner {
    border-radius: 10px;
    padding: 0.56rem 0.65rem;
    justify-content: center;
    gap: 0.45rem;
    flex-wrap: wrap;
  }
  .linkedin-update-kicker { font-size: 0.62rem; }
  .linkedin-update-kicker::after { display: none; }
  .linkedin-update-text { font-size: 0.8rem; text-align: center; flex: 1 1 100%; }
  .linkedin-update-cta { min-width: 62px; padding: 0.23rem 0.46rem; }
  .linkedin-update-icon { width: 14px; height: 14px; }
  .linkedin-update-orb { width: 6px; height: 6px; }

  /* typography */
  .page-header h2  { font-size: 1.45rem; }
  .section-title   { font-size: 1.3rem; }
  .hero-headline   { font-size: 1.65rem; }
  .hero-mission    { font-size: 0.975rem; }
  .hero-stats      { gap: 1rem; }
  .stat .stat-num  { font-size: 1.7rem; }
  .stay-connected h3 { font-size: 1.2rem; }

  /* officers — single column */
  .officer-grid   { grid-template-columns: 1fr; }
  .officer-card   { padding: 2rem 1.5rem; }

  /* grids — single column */
  .quick-links     { grid-template-columns: repeat(2, 1fr); }
  .join-grid       { grid-template-columns: 1fr; }
  .what-we-do-grid { grid-template-columns: 1fr; }
  .pillars-grid    { grid-template-columns: 1fr; }

  /* footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:last-child { grid-column: auto; }

  /* buttons */
  .btn-primary-large,
  .btn-outline-large { font-size: 0.95rem; padding: 0.82rem 1.5rem; }

  /* email form stacks */
  .email-form-row   { flex-direction: column; align-items: stretch; }
  .email-input      { min-width: unset; width: 100%; }
  .btn-submit       { width: 100%; }

  /* notice text */
  .notice { font-size: 0.85rem; gap: 0.6rem; }
}

/* ===========================
   PHOTO GALLERY
   =========================== */
.gallery-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.35rem;
  background: rgba(0, 0, 0, 0.42);
  color: #fff; font-weight: 600;
  opacity: 0; transition: opacity 0.22s;
  pointer-events: none;
}
.media-card:hover .gallery-overlay { opacity: 1; }
.gallery-overlay .gallery-icon { font-size: 2rem; line-height: 1; }
.gallery-overlay .gallery-count { font-size: 0.8rem; letter-spacing: 0.5px; opacity: 0.9; }

.media-desc {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.45;
  margin-bottom: 0.3rem;
}

.gallery-modal {
  display: none;
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0, 0, 0, 0.93);
  flex-direction: column; align-items: center; justify-content: center;
}
.gallery-modal.open { display: flex; }

.gallery-img-wrap {
  max-width: 90vw; max-height: 80vh;
  display: flex; align-items: center; justify-content: center;
}
.gallery-img-wrap img {
  max-width: 100%; max-height: 80vh;
  object-fit: contain; border-radius: 4px;
  user-select: none;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.6);
}

.gallery-close {
  position: absolute; top: 1rem; right: 1.5rem;
  background: none; border: none; color: #fff;
  font-size: 2.5rem; cursor: pointer; line-height: 1; padding: 0.4rem;
  opacity: 0.75; transition: opacity 0.2s;
}
.gallery-close:hover { opacity: 1; }

.gallery-prev, .gallery-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff; font-size: 2rem; cursor: pointer;
  padding: 0.5rem 1rem; border-radius: 6px; line-height: 1;
  transition: background 0.2s; user-select: none;
}
.gallery-prev { left: 1.25rem; }
.gallery-next { right: 1.25rem; }
.gallery-prev:hover, .gallery-next:hover { background: rgba(255, 255, 255, 0.25); }

.gallery-counter {
  position: absolute; bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.7); font-size: 0.875rem;
}

@media (max-width: 480px) {
  .gallery-prev { left: 0.5rem; padding: 0.4rem 0.65rem; }
  .gallery-next { right: 0.5rem; padding: 0.4rem 0.65rem; }
}

/* ===========================
   PHOTO GALLERY PAGE
   =========================== */
.gallery-meta {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 2.5rem; flex-wrap: wrap;
}
.gallery-back {
  color: var(--cyan-glow); text-decoration: none; font-size: 0.875rem;
  display: inline-flex; align-items: center; gap: 0.3rem;
}
.gallery-back:hover { text-decoration: underline; }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
}
.photo-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  background: var(--bg-dark);
  border: 1px solid var(--card-border);
  transition: transform 0.2s ease, border-color 0.2s;
}
.photo-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
  display: block;
}
.photo-thumb:hover { border-color: var(--cyan-glow); }
.photo-thumb:hover img { transform: scale(1.05); }

@media (max-width: 600px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
}
@media (max-width: 360px) {
  .photo-grid { grid-template-columns: 1fr; }
}

/* ===========================
   FOOTER SOCIAL ICONS (SVG)
   =========================== */
.footer-social a { display: inline-flex; align-items: center; justify-content: center; }
.social-icon { width: 22px; height: 22px; display: block; }
[data-theme="dark"] .social-icon { filter: invert(1) opacity(0.75); }

/* ===========================
   OFFICER CARD — MORE INFO LINK
   =========================== */
.officer-links {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 0.75rem;
}
.officer-more-info {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cyan-glow);
  text-decoration: none;
  border: 1px solid var(--cyan-glow);
  border-radius: 4px;
  padding: 0.3rem 0.7rem;
  transition: background 0.18s, color 0.18s;
}
.officer-more-info:hover {
  background: var(--cyan-glow);
  color: #ffffff;
}

/* ===========================
   OFFICER PROFILE PAGE
   =========================== */
.officer-profile-card {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  background: var(--bg-dark);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 3rem;
  max-width: 860px;
  margin: 0 auto;
}
.profile-photo-wrap { flex-shrink: 0; }
.profile-photo {
  width: 280px; height: 280px;
  object-fit: cover;
  border-radius: 14px;
  border: 3px solid var(--card-border);
  display: block;
}
.profile-photo-initials {
  width: 280px; height: 280px;
  border-radius: 14px;
  background: var(--cyan-glow);
  display: flex; align-items: center; justify-content: center;
  font-size: 4.5rem; font-weight: 800; color: #ffffff;
}
.profile-details { flex: 1; min-width: 0; }
.profile-bio {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.85;
  margin: 0;
}
.profile-linkedin-btn {
  display: inline-flex; align-items: center; gap: 0.3rem;
}
@media (max-width: 640px) {
  .officer-profile-card { flex-direction: column; align-items: center; text-align: center; gap: 1.5rem; }
  .profile-photo { width: 200px; height: 200px; }
  .profile-photo-initials { width: 200px; height: 200px; font-size: 3.5rem; }
}

/* ===========================
   WHY JOIN US
   =========================== */
.why-join-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.why-join-card {
  background: var(--bg-dark);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.22s, box-shadow 0.22s;
}
.why-join-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px var(--amber-dim); }
.why-icon { font-size: 2.4rem; line-height: 1; margin-bottom: 1rem; }
.why-join-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--text-light); }
.why-join-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }
@media (max-width: 760px) { .why-join-grid { grid-template-columns: 1fr; } }

/* ===========================
   PARTNERSHIPS
   =========================== */
.partnerships-section { text-align: center; }
.partnerships-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}
.partner-logos {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  align-items: stretch;
}
.partner-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem 2.5rem;
  border-radius: 14px;
  min-width: 200px;
  border: 1px solid var(--card-border);
  transition: transform 0.22s;
}
.partner-tile:hover { transform: translateY(-3px); }
.partner-tile-teal { background: var(--cyan-glow); }
.partner-tile-dark { background: #1a1a2e; }
.partner-tile-coming {
  background: var(--bg-dark);
  border: 2px dashed var(--card-border);
}
.partner-coming-icon {
  font-size: 2rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1;
}
.partner-coming-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--cyan-glow);
}
.partner-name-muted { color: var(--text-muted); }
.partner-logo { height: 60px; width: auto; object-fit: contain; }
.partner-name { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.4px; color: rgba(255,255,255,0.85); text-align: center; }
.partner-name-light { color: rgba(255,255,255,0.85); }

/* ===========================
   CONTACT PAGE
   =========================== */
.contact-hero {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 3rem;
  background: var(--bg-dark);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 3rem 2.5rem;
}
.contact-email-icon {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
}
.contact-hero h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.85rem;
}
.contact-hero p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.contact-email-link {
  color: var(--cyan-glow);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.05rem;
}
.contact-email-link:hover { text-decoration: underline; }
.contact-cta-btn { font-size: 1rem; padding: 0.7rem 2rem; }
.contact-respond-note {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.75;
}

.contact-topics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}
.contact-topic-card {
  background: var(--bg-dark);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.contact-topic-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan-glow);
  box-shadow: 0 8px 28px rgba(60, 110, 113, 0.15);
}
.contact-topic-icon { font-size: 2.25rem; line-height: 1; }
.contact-topic-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-light);
  margin: 0.15rem 0 0;
}
.contact-topic-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin: 0;
}
.contact-topic-link {
  display: inline-block;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--cyan-glow);
  text-decoration: none;
  margin-top: 0.5rem;
  letter-spacing: 0.2px;
}
.contact-topic-link:hover { text-decoration: underline; }
@media (max-width: 768px) {
  .contact-topics { grid-template-columns: 1fr; }
  .contact-hero { padding: 2rem 1.5rem; }
}
