:root {
  color-scheme: light;
  --community-blue: #775516;
  --community-blue-dark: #35280e;
  --community-teal: #efe7d6;
  --community-ink: #302a1e;
  --community-muted: #706653;
  --community-paper: #fbf8f1;
  --community-line: #e5dbc6;
  --community-accent: #b98224;
  --bs-primary: #775516;
  --bs-primary-rgb: 119, 85, 22;
  --bs-link-color: #775516;
  --bs-link-hover-color: #35280e;
  --bs-body-color: var(--community-ink);
  --bs-body-bg: var(--community-paper);
  --bs-border-color: var(--community-line);
  --bs-border-radius: 0.85rem;
  --bs-border-radius-lg: 1.15rem;
  --bs-border-radius-xl: 1.5rem;
  --bs-box-shadow-sm: 0 0.35rem 1.25rem rgba(66, 47, 15, 0.07);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--community-ink);
  background: var(--community-paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
}

a {
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 3px solid rgba(185, 130, 36, 0.8);
  outline-offset: 3px;
}

.site-nav {
  position: relative;
  z-index: 10;
  padding-block: 0.8rem;
  background: var(--community-blue-dark);
  box-shadow: 0 0.35rem 1.5rem rgba(53, 40, 14, 0.16);
}

.site-nav .navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  letter-spacing: -0.035em;
}

.brand-logo {
  width: 2.85rem;
  height: 2.85rem;
  border: 2px solid rgba(226, 190, 117, 0.78);
  border-radius: 50%;
  background: #f5ebd5;
  object-fit: cover;
}

.site-nav .nav-link {
  padding-inline: 0.75rem !important;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.94rem;
  font-weight: 550;
  transition: color 160ms ease;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus-visible {
  color: #fff;
}

.site-nav .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.35);
}

.site-nav .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.2);
}

.site-nav .btn-light {
  padding: 0.55rem 1rem;
  border: 0;
  border-radius: 999px;
  color: var(--community-blue-dark);
  font-weight: 700;
}

.site-nav .btn-light:hover {
  background: #f4ead6;
}

.site-nav form {
  margin: 0;
}

.site-nav form .nav-link {
  border: 0;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 86% 28%, rgba(185, 130, 36, 0.17), transparent 28%),
    linear-gradient(125deg, #f1e8d4 0%, #fbf8ef 100%);
}

.hero::after {
  position: absolute;
  right: -7rem;
  bottom: -13rem;
  width: 29rem;
  height: 29rem;
  border: 1px solid rgba(119, 85, 22, 0.15);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 760px;
  color: var(--community-blue-dark);
  font-size: clamp(2.6rem, 6vw, 5rem);
  letter-spacing: -0.065em;
  line-height: 1.02;
}

.hero .lead {
  max-width: 660px;
  color: #66583b;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-art {
  position: relative;
  display: grid;
  width: min(100%, 22rem);
  aspect-ratio: 1;
  overflow: hidden;
  place-items: center;
  border: 4px solid #d0a54b;
  border-radius: 50%;
  background: #3a3018;
  box-shadow: 0 1.5rem 4rem rgba(76, 52, 12, 0.24), 0 0 0 0.65rem rgba(193, 151, 66, 0.12);
}

.hero-art img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.eyebrow {
  margin-bottom: 0.75rem;
  color: #80621f;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--community-blue-dark);
  letter-spacing: -0.035em;
}

h1 {
  font-weight: 760;
}

.container.content-narrow {
  max-width: 900px;
}

.section-heading {
  margin-bottom: 0.5rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 750;
}

.card,
.payment-card {
  overflow: hidden;
  border: 1px solid rgba(119, 85, 22, 0.1) !important;
  border-radius: 1.2rem;
  background: #fff;
  box-shadow: 0 0.35rem 1.25rem rgba(66, 47, 15, 0.06) !important;
}

.card {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.event-card:hover,
.team-card:hover {
  box-shadow: 0 1rem 2.4rem rgba(66, 47, 15, 0.12) !important;
  transform: translateY(-4px);
}

.card-body {
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.event-date {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #80621f;
  font-size: 0.85rem;
  font-weight: 750;
}

.event-meta {
  color: var(--community-muted);
  font-size: 0.94rem;
}

.event-price {
  color: var(--community-blue-dark);
  font-size: 1.2rem;
  font-weight: 750;
}

.btn {
  border-radius: 0.75rem;
  font-weight: 650;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  --bs-btn-bg: var(--community-blue);
  --bs-btn-border-color: var(--community-blue);
  --bs-btn-hover-bg: var(--community-blue-dark);
  --bs-btn-hover-border-color: var(--community-blue-dark);
  --bs-btn-active-bg: var(--community-blue-dark);
  --bs-btn-active-border-color: var(--community-blue-dark);
  --bs-btn-focus-shadow-rgb: 119, 85, 22;
}

.btn-outline-primary {
  --bs-btn-color: var(--community-blue);
  --bs-btn-border-color: rgba(119, 85, 22, 0.4);
  --bs-btn-hover-bg: var(--community-blue);
  --bs-btn-hover-border-color: var(--community-blue);
  --bs-btn-active-bg: var(--community-blue-dark);
  --bs-btn-active-border-color: var(--community-blue-dark);
  --bs-btn-focus-shadow-rgb: 119, 85, 22;
}

.btn-success {
  --bs-btn-bg: #25866b;
  --bs-btn-border-color: #25866b;
  --bs-btn-hover-bg: #1d705a;
  --bs-btn-hover-border-color: #1d705a;
}

.form-control,
.form-select,
form p input:not([type="checkbox"]),
form p textarea,
form p select {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid #dccda9;
  border-radius: 0.7rem;
  background-color: #fff;
  color: var(--community-ink);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

form p textarea {
  min-height: 8rem;
}

.form-control:focus,
.form-select:focus,
form p input:focus,
form p textarea:focus,
form p select:focus {
  border-color: #ad8129;
  box-shadow: 0 0 0 0.22rem rgba(173, 129, 41, 0.16);
  outline: 0;
}

form p {
  margin-bottom: 1.15rem;
}

form p label {
  display: block;
  margin-bottom: 0.4rem;
  color: #4f3d16;
  font-size: 0.94rem;
  font-weight: 700;
}

form p input[type="checkbox"] {
  margin-right: 0.45rem;
}

.helptext,
.form-text {
  display: block;
  margin-top: 0.35rem;
  color: var(--community-muted);
  font-size: 0.86rem;
}

.errorlist {
  margin: 0.35rem 0 0;
  padding: 0;
  color: #a3312c;
  font-size: 0.9rem;
  list-style: none;
}

.alert {
  border: 0;
  border-radius: 0.85rem;
}

.payment-card {
  padding: clamp(1.25rem, 4vw, 2rem);
}

.payment-qr {
  width: min(280px, 100%);
  height: auto;
  padding: 0.75rem;
  border: 1px solid var(--community-line);
  border-radius: 1rem;
  background: #fff;
  image-rendering: pixelated;
}

.team-photo {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
}

.table {
  --bs-table-bg: transparent;
  --bs-table-hover-bg: #f6f1e4;
}

.table > :not(caption) > * > * {
  padding: 0.9rem 0.8rem;
}

.table thead th {
  color: var(--community-muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer {
  margin-top: 5rem;
  padding-block: 3rem;
  background: #efe7d6;
}

.site-footer .footer-title {
  color: var(--community-blue-dark);
  font-weight: 750;
}

.site-footer a {
  color: var(--community-blue);
  font-weight: 650;
}

.site-footer a:hover {
  color: var(--community-blue-dark);
}

@media (max-width: 991.98px) {
  .site-nav .navbar-collapse {
    padding-top: 0.8rem;
  }

  .site-nav .navbar-nav {
    align-items: stretch !important;
  }

  .site-nav .btn-light {
    align-self: flex-start;
    margin: 0.45rem 0;
  }

  .hero-art {
    width: min(78vw, 22rem);
    margin-inline: auto;
  }
}

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