:root {
  --ink: #243244;
  --ink-muted: #4d627a;
  --paper: #f2f6fb;
  --paper-bright: #ffffff;
  --line: #cdd9e8;
  --navy: #184d78;
  --navy-dark: #123b5d;
  --stone: #e7eef7;
  --radius: 14px;
  --shadow: 0 16px 34px rgba(20, 33, 46, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", Tahoma, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top right, #dce8f7 0%, #eef4fb 34%, #f7fbff 100%);
  line-height: 1.55;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0 0 0.6rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.3rem, 5.3vw, 4.1rem);
}

h2 {
  font-size: clamp(2rem, 3.9vw, 3.2rem);
}

h3 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

p {
  margin: 0 0 1rem;
  color: var(--ink-muted);
  font-size: 1.14rem;
}

.container {
  width: min(1240px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 25;
  background: rgba(244, 249, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1f577f;
  text-decoration: none;
  font-size: 2rem;
  font-family: "Cormorant Garamond", Georgia, serif;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-nav a {
  text-decoration: none;
  color: #334a61;
  font-size: 1.12rem;
}

.nav-item {
  position: relative;
}

.nav-parent::after {
  content: " ▾";
  font-size: 0.85em;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 220px;
  padding: 0.45rem;
  background: #f3f8fe;
  border: 1px solid #cbd9ea;
  border-radius: 10px;
  box-shadow: var(--shadow);
  display: none;
  z-index: 30;
}

.dropdown-menu a {
  display: block;
  padding: 0.45rem 0.6rem;
  border-radius: 6px;
  font-size: 1rem;
}

.dropdown-menu a:hover {
  background: #e4eef9;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  display: block;
}

.site-nav a[aria-current="page"] {
  color: #194a71;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper-bright);
  border-radius: 10px;
  color: #1f425f;
  padding: 0.38rem 0.72rem;
  font-size: 1rem;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  border: 1px solid transparent;
  padding: 0.72rem 1.4rem;
  background: var(--navy);
  color: #f7f8f9;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: 140ms ease;
}

.button:hover {
  background: var(--navy-dark);
}

.button--light {
  background: #e9f2fb;
  color: #2f4f6d;
  border-color: #c5d8ec;
}

.button--light:hover {
  background: #d9e9f8;
}

.button--dark {
  background: #4d4b4b;
}

.button--dark:hover {
  background: #373535;
}

.button--ghost-dark {
  background: transparent;
  color: #2d4b67;
  border: 1px solid #9fb7cf;
}

.button--ghost-dark:hover {
  background: #e3edf8;
}

.button--small {
  font-size: 0.97rem;
  padding: 0.52rem 1.05rem;
}

.cta-row {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.hero {
  position: relative;
  min-height: min(75vh, 760px);
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(21, 18, 14, 0.72) 7%,
    rgba(43, 33, 24, 0.58) 48%,
    rgba(52, 83, 118, 0.42) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 5.2rem 0;
}

.hero h1,
.hero p {
  color: #f4f2ef;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
}

.hero p {
  font-size: clamp(1.2rem, 2.2vw, 1.95rem);
  margin: 0 auto 1.7rem;
  max-width: 33ch;
}

.section {
  padding: clamp(3.2rem, 6vw, 5.6rem) 0;
}

.muted {
  background: linear-gradient(180deg, #eef4fb 0%, #e6eef8 100%);
  border-top: 1px solid #dae6f4;
  border-bottom: 1px solid #dae6f4;
}

.legacy {
  background: linear-gradient(180deg, #f7fbff 0%, #edf4fc 100%);
}

.split {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.visual-panel {
  margin: 0;
  padding: 1.1rem;
}

.visual-panel img {
  width: min(500px, 100%);
  margin-left: auto;
  filter: drop-shadow(0 20px 24px rgba(18, 48, 74, 0.18));
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.cards {
  display: grid;
  gap: 1.1rem;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.event-card {
  background: #f8fbff;
  border: 1px solid #d3e0ef;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 7px 20px rgba(42, 44, 52, 0.08);
}

.event-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid #d3e0ef;
}

.event-card-body {
  padding: 0.9rem 0.9rem 1rem;
}

.event-card-body p {
  margin-bottom: 0.9rem;
}

.feature-grid {
  align-items: stretch;
}

.promo-card {
  position: relative;
  border: 1px solid #c8d8ea;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 330px;
}

.promo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(27, 40, 58, 0.72) 0%, rgba(45, 49, 58, 0.38) 55%);
}

.promo-card-content {
  position: relative;
  z-index: 1;
  padding: 1.4rem;
}

.promo-card-content h3,
.promo-card-content p {
  color: #f3f4f6;
}

.intro-hero {
  padding: 4.8rem 0 3.8rem;
  background: linear-gradient(130deg, #dce9f8 0%, #edf4fc 58%, #f8fbff 100%);
  border-bottom: 1px solid #d4e2f1;
}

.intro-hero h1 {
  color: #26415d;
  margin-bottom: 0.8rem;
}

.intro-hero p {
  max-width: 64ch;
}

.content-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel {
  background: var(--paper-bright);
  border: 1px solid #d3e0ef;
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 6px 18px rgba(31, 36, 44, 0.06);
}

.panel h3 {
  margin-bottom: 0.35rem;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.member-card p {
  margin-bottom: 0.55rem;
}

.email-obf {
  font-family: "Source Sans 3", "Segoe UI", Tahoma, sans-serif;
  letter-spacing: 0.02em;
  color: #325067;
}

.site-footer {
  background: #eaf1fa;
  border-top: 1px solid #cfdded;
  padding: 1.5rem 0;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-wrap p {
  margin: 0;
  font-size: 1rem;
}

@media (max-width: 980px) {
  .site-nav {
    position: absolute;
    top: 69px;
    right: 1.2rem;
    width: min(320px, calc(100% - 2.4rem));
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    background: #f3f8fe;
    border: 1px solid #cbd9ea;
    border-radius: 12px;
    padding: 0.7rem;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 0.5rem 0.4rem;
  }

  .site-nav .nav-item {
    width: 100%;
  }

  .site-nav .dropdown-menu {
    position: static;
    display: block;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0 0 0.1rem 0.65rem;
  }

  .site-nav .dropdown-menu a {
    padding: 0.35rem 0.4rem;
  }

  .menu-toggle {
    display: inline-block;
  }

  .split,
  .cards-3,
  .content-grid,
  .board-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 68vh;
  }
}
