:root {
  --navy: #082b63;
  --blue: #0d4d9f;
  --blue-bright: #1767c3;
  --gold: #f7c843;
  --gold-soft: #fff4c7;
  --ink: #142033;
  --muted: #657186;
  --paper: #ffffff;
  --wash: #f3f7fc;
  --line: #dce5f0;
  --shadow: 0 18px 45px rgba(8, 43, 99, 0.12);
  --radius: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.drawer-open { overflow: hidden; }

a { color: inherit; }

img { display: block; max-width: 100%; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: .75rem 1rem;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
}

.skip-link:focus { top: 1rem; }

.connect-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 42px;
  padding: .45rem 1rem;
  background: var(--gold);
  color: var(--navy);
  font-size: .86rem;
  font-weight: 800;
  text-align: center;
}

.connect-bar a { text-decoration-thickness: 2px; text-underline-offset: 3px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  padding: .85rem clamp(1rem, 4vw, 4rem);
  background: rgba(8, 43, 99, .97);
  color: white;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .16);
}

.brand {
  display: flex;
  align-items: center;
  gap: .85rem;
  text-decoration: none;
}

.brand img {
  width: 58px;
  height: 58px;
  border: 3px solid var(--gold);
  border-radius: 50%;
  background: white;
  object-fit: cover;
}

.brand strong { display: block; font-size: clamp(1.05rem, 3vw, 1.4rem); line-height: 1.15; }
.brand span { display: block; margin-top: .15rem; color: #cad9ef; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }

.menu-button,
.drawer-close {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: transparent;
  color: white;
  cursor: pointer;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  width: 23px;
  height: 3px;
  border-radius: 99px;
  background: currentColor;
}

.menu-icon { position: relative; }
.menu-icon::before,
.menu-icon::after { position: absolute; left: 0; content: ""; }
.menu-icon::before { top: -8px; }
.menu-icon::after { top: 8px; }

.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(7, 18, 36, .64);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.drawer-overlay.is-open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 60;
  width: min(92vw, 420px);
  height: 100dvh;
  padding: 1.25rem;
  overflow-y: auto;
  background: white;
  color: var(--ink);
  transform: translateX(105%);
  transition: transform .25s ease;
  box-shadow: -25px 0 60px rgba(0,0,0,.2);
}

.drawer.is-open { transform: translateX(0); }

.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.drawer-head strong { color: var(--navy); font-size: 1.2rem; }
.drawer-close { border-color: var(--line); color: var(--navy); font-size: 1.6rem; }

.drawer-nav { display: grid; gap: .35rem; }
.drawer-nav > a,
.drawer-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: .82rem .95rem;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-weight: 750;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.drawer-nav > a:hover,
.drawer-nav > a:focus-visible,
.drawer-toggle:hover,
.drawer-toggle:focus-visible { background: var(--wash); }

.drawer-toggle::after { content: "+"; font-size: 1.35rem; }
.drawer-toggle[aria-expanded="true"]::after { content: "−"; }

.international-links {
  display: grid;
  gap: .2rem;
  margin: .1rem 0 .6rem .75rem;
  padding-left: .8rem;
  border-left: 3px solid var(--gold);
}
.international-links a { padding: .45rem; color: var(--blue); font-size: .92rem; }

.hero {
  position: relative;
  min-height: min(720px, 72vh);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--navy);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(5, 28, 66, .96) 0%, rgba(5, 28, 66, .78) 45%, rgba(5, 28, 66, .35) 100%), url("images/pancake-breakfast-2024.webp") center/cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 8rem) clamp(1.25rem, 5vw, 4.5rem);
  color: white;
}

.eyebrow {
  display: block;
  margin-bottom: .65rem;
  color: var(--gold);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  max-width: 800px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.55rem, 8vw, 5.75rem);
  line-height: .98;
  letter-spacing: -.045em;
}

.hero p { max-width: 650px; margin: 1.3rem 0 0; color: #e6eef9; font-size: clamp(1rem, 2.4vw, 1.25rem); }

.button-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .7rem 1.15rem;
  border: 2px solid var(--gold);
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 850;
  text-decoration: none;
}
.button.secondary { background: transparent; color: white; }
.button.blue { border-color: var(--blue); background: var(--blue); color: white; }

.home-intro,
.content-shell { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }

.home-intro { display: grid; gap: 1rem; padding: 2rem 0 4rem; }

.meeting-card {
  display: grid;
  gap: .5rem;
  margin-top: -2.4rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}
.meeting-card h2 { margin: 0; color: var(--navy); font-family: Georgia, serif; font-size: 1.55rem; }
.meeting-card p { margin: 0; }

.home-message { padding: 2.5rem 0 1rem; text-align: center; }
.home-message h2 { margin: 0 auto .8rem; max-width: 780px; color: var(--navy); font-family: Georgia, serif; font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.1; }
.home-message p { max-width: 740px; margin: 0 auto; color: var(--muted); }

.feature-grid { display: grid; gap: 1rem; margin-top: 1.5rem; }
.feature-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--wash);
  color: var(--navy);
  text-decoration: none;
}
.feature-card strong { font-family: Georgia, serif; font-size: 1.65rem; }
.feature-card span { margin-top: .35rem; color: var(--muted); }
.feature-card:first-child { background: var(--gold-soft); }

.page-hero { padding: clamp(3.5rem, 8vw, 6rem) 1rem; background: linear-gradient(135deg, var(--navy), var(--blue)); color: white; }
.page-hero > div { width: min(1120px, 100%); margin: 0 auto; }
.page-hero h1 { font-size: clamp(2.35rem, 7vw, 4.5rem); }
.page-hero p { max-width: 720px; margin: 1rem 0 0; color: #dce9fa; font-size: 1.1rem; }

.content-shell { padding: 3rem 0 5rem; }
.prose { max-width: 790px; }
.prose h2,
.section-title { margin: 2rem 0 .75rem; color: var(--navy); font-family: Georgia, serif; font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.15; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: #354158; }
.prose ul { padding-left: 1.2rem; }

.callout {
  margin: 1.5rem 0;
  padding: 1.35rem;
  border-left: 6px solid var(--gold);
  border-radius: 0 16px 16px 0;
  background: var(--gold-soft);
}
.callout p { margin: .35rem 0; color: var(--ink); }

.event-list,
.people-grid,
.project-grid,
.contact-grid { display: grid; gap: 1rem; }
.event-card,
.person-card,
.project-card,
.contact-card {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: 0 10px 30px rgba(8,43,99,.06);
}
.event-card h2,
.person-card h2,
.project-card h2,
.contact-card h2 { margin: .2rem 0 .5rem; color: var(--navy); font-family: Georgia, serif; }
.event-card p,
.project-card p,
.contact-card p { margin: .35rem 0; color: var(--muted); }
.person-role { color: var(--blue); font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

.member-list { display: grid; gap: .7rem; padding: 0; list-style: none; }
.member-list li { padding: 1rem 1.15rem; border: 1px solid var(--line); border-radius: 14px; background: var(--wash); font-weight: 750; }
.member-list .empty-state { display: grid; gap: .25rem; border-style: dashed; color: var(--muted); font-weight: 500; }
.member-list .empty-state strong { color: var(--navy); }

.gallery { columns: 1; column-gap: 1rem; }
.gallery figure { break-inside: avoid; margin: 0 0 1rem; overflow: hidden; border-radius: 18px; background: var(--wash); box-shadow: var(--shadow); }
.gallery img { width: 100%; height: auto; }
.gallery figcaption { padding: .85rem 1rem; color: var(--navy); font-weight: 750; }

.link-list { display: grid; gap: .65rem; padding: 0; list-style: none; }
.link-list a { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 14px; color: var(--blue); font-weight: 800; text-decoration: none; }
.link-list a::after { content: "↗"; }

.site-footer { padding: 2.5rem 1rem; background: #061d43; color: #dbe7f7; }
.footer-inner { width: min(1120px, 100%); margin: 0 auto; display: grid; gap: 1.2rem; }
.site-footer strong { color: white; }
.site-footer p { margin: .25rem 0; }
.site-footer a { color: var(--gold); }

@media (min-width: 720px) {
  .home-intro { grid-template-columns: 1fr 1fr; }
  .meeting-card { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; align-items: center; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .event-list,
  .people-grid,
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { columns: 2; }
  .footer-inner { grid-template-columns: 1.5fr 1fr; }
}

@media (min-width: 1020px) {
  .gallery { columns: 3; }
  .project-grid { grid-template-columns: repeat(3, 1fr); }
  .people-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}


.past-events { display: grid; gap: 2.5rem; }
.past-year .section-title { margin-top: 0; }
.past-event-list { display: grid; gap: 1rem; }
.past-event-card {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: 0 10px 30px rgba(8,43,99,.06);
}
.past-event-card h3 { margin: .3rem 0 .55rem; color: var(--navy); font-family: Georgia, serif; font-size: 1.45rem; line-height: 1.2; }
.past-event-card p { margin: 0; color: var(--muted); }
.event-date { color: var(--blue); font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.event-link { display: inline-block; margin-top: .85rem; color: var(--blue); font-weight: 800; text-underline-offset: 3px; }

@media (min-width: 720px) {
  .past-event-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


.home-events {
  grid-column: 1 / -1;
  margin-top: 1rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--wash);
}
.home-section-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: .75rem; margin-bottom: 1rem; }
.home-section-head .eyebrow { margin-bottom: .2rem; }
.home-section-head h2 { margin: 0; color: var(--navy); font-family: Georgia, serif; font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.1; }
.home-event-list { display: grid; gap: 1rem; }
.home-upcoming-card { padding: 1.2rem; border: 1px solid var(--line); border-radius: 16px; background: white; }
.home-upcoming-card h3 { margin: .3rem 0 .4rem; color: var(--navy); font-family: Georgia, serif; font-size: 1.4rem; }
.home-upcoming-card p { margin: 0; color: var(--muted); }
.home-event-actions { margin-top: .75rem; }
.home-events-empty { margin: 0; color: var(--muted); }

@media (min-width: 720px) {
  .home-event-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
