:root {
  --bg: #f6f4ef;
  --bg-alt: #ebe6dc;
  --ink: #1a1f2b;
  --muted: #4a5568;
  --line: rgba(26, 31, 43, 0.12);
  --accent: #1e3a5f;
  --accent-soft: #2d5080;
  --accent-wash: rgba(30, 58, 95, 0.08);
  --card: #ffffff;
  --radius-lg: 20px;
  --radius-md: 12px;
  --shadow: 0 18px 50px rgba(26, 31, 43, 0.12);
  --max: 1120px;
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent);
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.narrow {
  max-width: 720px;
  margin-inline: auto;
}

.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;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  z-index: 100;
  font-weight: 600;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 244, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

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

.brand:hover {
  color: inherit;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 5px;
  background: #ffffff;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
}

.nav a:hover {
  color: var(--accent-soft);
}

.nav-cta {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff !important;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--accent-soft);
  color: #fff !important;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  width: 1.25rem;
  margin-inline: auto;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 0 1rem;
  border-bottom: 1px solid var(--line);
}

.mobile-nav a {
  padding: 0.65rem 0;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.mobile-nav a:last-child {
  margin-top: 0.25rem;
  color: var(--accent-soft);
}

@media (min-width: 880px) {
  .nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }
}

.hero {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 8vw, 5.5rem);
  background:
    radial-gradient(120% 80% at 100% 0%, var(--accent-wash), transparent 55%),
    radial-gradient(80% 60% at 0% 100%, rgba(235, 230, 220, 0.9), transparent 50%);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: stretch;
  }
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.35rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0 0 1.75rem;
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
}

.btn.primary:hover {
  background: var(--accent-soft);
  color: #fff;
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn.ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.kit-subscribe-embed {
  margin-top: 1rem;
  max-width: 34rem;
}

.kit-subscribe-embed[hidden] {
  display: none;
}

.kit-subscribe-fallback {
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.hero-card {
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--accent), #152a45);
  color: #e8edf5;
  box-shadow: var(--shadow);
}

.hero-card-inner {
  padding: clamp(1.5rem, 4vw, 2.25rem);
}

.hero-stat-label {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.85;
}

.hero-stat {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 600;
}

.hero-card-note {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  opacity: 0.92;
}

.section {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.section.alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}

.split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 840px) {
  .split {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
  }
}

.section h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.1rem);
}

.section p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.section p:last-child {
  margin-bottom: 0;
}

.aside-panel {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(26, 31, 43, 0.06);
}

.aside-panel h3 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.checklist {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.checklist li {
  margin-bottom: 0.65rem;
}

.checklist li:last-child {
  margin-bottom: 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 2rem;
}

.section-lead {
  margin: 0;
  font-size: 1.05rem;
  color: var(--muted);
}

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

@media (min-width: 720px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 720px) {
  .wide-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--line);
}

.card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  font-size: 0.98rem;
}

.fineprint {
  margin-top: 1.5rem !important;
  font-size: 0.9rem !important;
  color: var(--muted) !important;
}

.site-footer {
  padding: 2.5rem 0 3rem;
  background: var(--ink);
  color: #c8ced9;
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  margin: 0 0 0.35rem;
  font-weight: 600;
  color: #fff;
}

.footer-meta {
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.footer-links {
  margin: 0;
}

.footer-links a {
  color: #a8c4ff;
  font-weight: 600;
}

.footer-links a:hover {
  color: #d6e4ff;
}

.event-banner {
  background: var(--accent);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.event-banner[hidden] {
  display: none;
}

.event-banner-inner {
  display: grid;
  gap: 0.85rem;
  padding-block: 0.85rem;
}

.event-banner-label {
  align-self: center;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.event-banner-list {
  display: grid;
  gap: 0.75rem;
}

.event-banner-card {
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
}

.event-banner-name {
  margin: 0 0 0.15rem;
  font-weight: 700;
  line-height: 1.35;
}

.event-banner-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  opacity: 0.92;
}

.event-banner-empty {
  margin: 0;
  font-weight: 600;
}

.footer-event-total {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: #dfe6f2;
}

@media (min-width: 760px) {
  .event-banner-inner {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .event-banner-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
