:root {
  --ink: #17211e;
  --muted-ink: #55625d;
  --evergreen: #183d37;
  --evergreen-deep: #0d2925;
  --leaf: #4f8068;
  --gold: #d6b45d;
  --sky: #e8f2f4;
  --paper: #fffdf7;
  --white: #ffffff;
  --line: #dce3de;
  --shadow: 0 18px 50px rgba(23, 33, 30, 0.14);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--gold);
  color: var(--ink);
  padding: 0.75rem 1rem;
  border-radius: 6px;
  transition: top 160ms ease;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  color: var(--white);
  background: rgba(13, 41, 37, 0.64);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(13, 41, 37, 0.96);
  box-shadow: 0 10px 35px rgba(13, 41, 37, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  text-decoration: none;
  font-weight: 700;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  object-position: center;
  background: var(--white);
  border-radius: 6px;
}

.brand span {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.8vw, 2rem);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 84vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--evergreen-deep);
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 28, 25, 0.88) 0%, rgba(8, 28, 25, 0.6) 42%, rgba(8, 28, 25, 0.1) 78%),
    linear-gradient(180deg, rgba(8, 28, 25, 0.22) 0%, rgba(8, 28, 25, 0.28) 100%);
}

.hero-content {
  position: relative;
  width: min(680px, calc(100% - 2rem));
  margin-left: clamp(1rem, 7vw, 6rem);
  padding-top: 88px;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.95;
}

.hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 1.35rem 0 0;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  border: 2px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  background: var(--gold);
  color: var(--ink);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #e4c872;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.68);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.section,
.section-band {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem);
}

.event-page-main {
  padding-top: 76px;
}

.convention-hero {
  padding: clamp(4rem, 9vw, 7.5rem) clamp(1rem, 4vw, 3rem);
  color: var(--white);
  background:
    radial-gradient(ellipse at 85% 15%, rgba(79, 128, 104, 0.62), transparent 38%),
    linear-gradient(135deg, var(--evergreen-deep), var(--evergreen));
}

.convention-hero-layout {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.88fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.convention-hero-inner {
  min-width: 0;
}

.convention-hero-image {
  margin: 0;
  padding: 0.55rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 10px;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.convention-hero-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
}

.convention-hero h1 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.7rem, 7vw, 5.5rem);
  line-height: 0.98;
}

.convention-when {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 2rem;
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
}

.convention-when p {
  margin: 0;
}

.convention-date {
  color: var(--gold);
}

.convention-details {
  padding-top: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

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

.convention-detail-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.convention-detail-card .eyebrow {
  color: var(--leaf);
}

.convention-detail-card h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.convention-detail-card address,
.convention-cost-card > p:last-child {
  margin-top: 0.85rem;
  color: var(--muted-ink);
  font-size: 1.08rem;
  font-style: normal;
}

.offering-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.offering-grid li {
  position: relative;
  min-height: 72px;
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem 1rem 3.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 700;
}

.offering-grid li::before {
  position: absolute;
  left: 1.25rem;
  width: 1.2rem;
  height: 1.2rem;
  content: "";
  background: var(--gold);
  border: 5px solid rgba(79, 128, 104, 0.16);
  border-radius: 50%;
}

.convention-back {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.fundraising-main {
  padding-top: 76px;
}

.fundraising-hero {
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 4vw, 3rem);
  color: var(--white);
  background:
    radial-gradient(ellipse at 85% 15%, rgba(79, 128, 104, 0.6), transparent 38%),
    linear-gradient(135deg, var(--evergreen-deep), var(--evergreen));
}

.fundraising-hero h1 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.7rem, 7vw, 5rem);
  line-height: 0.98;
}

.fundraising-hero .section-inner > p:last-child {
  max-width: 620px;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.fundraising-details {
  padding-top: clamp(2.5rem, 6vw, 5rem);
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
}

.fundraising-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.fundraising-flyer {
  margin: 0;
  padding: 0.65rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.fundraising-flyer-image {
  position: relative;
}

.fundraising-flyer img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.fundraising-info {
  max-width: 560px;
}

.fundraising-info .eyebrow {
  color: var(--leaf);
}

.fundraising-info h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.fundraising-info > p:not(.eyebrow) {
  color: var(--muted-ink);
  font-size: 1.08rem;
}

.enrollment-code {
  display: inline-block;
  margin: 0.2rem 0 0.5rem;
  padding: 0.65rem 1rem;
  color: var(--evergreen-deep);
  background: var(--sky);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  font-weight: 800;
  letter-spacing: 0.06em;
}

.enrollment-code code {
  font-family: "Courier New", monospace;
}

.fundraising-info .button {
  margin-top: 0.75rem;
}

.fundraising-contact {
  margin-top: 1.5rem;
  font-size: 0.98rem !important;
}

.fundraising-contact a {
  color: var(--evergreen);
  font-weight: 700;
}

.fundraising-back {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.section-inner {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
}

.section-band {
  background: var(--evergreen);
  color: var(--white);
}

.section-muted {
  background: var(--sky);
}

.mission-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1.2fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
}

h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  line-height: 1.25;
}

.mission p:last-child,
.section-copy p,
.section-heading + p {
  margin: 1rem 0 0;
  color: var(--muted-ink);
  font-size: 1.08rem;
}

.mission p:last-child {
  color: rgba(255, 255, 255, 0.84);
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(320px, 1.12fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.split-reverse {
  grid-template-columns: minmax(320px, 1.05fr) minmax(280px, 0.95fr);
}

.section-copy {
  max-width: 560px;
}

.event-panel {
  display: grid;
  gap: 1rem;
}

.event-panel article {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.event-date {
  display: grid;
  place-items: center;
  min-height: 62px;
  color: var(--white);
  background: var(--leaf);
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
}

.event-panel p {
  margin: 0;
  color: var(--muted-ink);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2rem;
}

.image-panel {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-link {
  display: inline-block;
  margin-top: 1.25rem;
  color: var(--evergreen);
  font-weight: 800;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.connect-section {
  color: var(--white);
  background: var(--evergreen-deep);
}

.connect-grid {
  display: grid;
  grid-template-columns: minmax(280px, 760px);
  align-items: start;
}

.connect-grid p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-line a {
  color: var(--gold);
  font-weight: 800;
}

.site-footer {
  padding: 1.5rem clamp(1rem, 4vw, 3rem);
  color: rgba(255, 255, 255, 0.82);
  background: #071916;
}

.footer-inner {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 820px) {
  .site-header {
    min-height: 68px;
  }

  .brand span {
    white-space: normal;
    line-height: 1.1;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem clamp(1rem, 4vw, 3rem) 1rem;
    background: rgba(13, 41, 37, 0.98);
  }

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

  .site-nav a {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero {
    min-height: 760px;
  }

  .hero > img {
    object-position: 62% center;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(8, 28, 25, 0.9) 0%, rgba(8, 28, 25, 0.68) 58%, rgba(8, 28, 25, 0.28) 100%);
  }

  .hero-content {
    width: min(560px, calc(100% - 2rem));
    margin: 0 auto;
    padding-top: 92px;
  }

  .hero h1 {
    max-width: 11ch;
  }

  .mission-grid,
  .split,
  .split-reverse,
  .connect-grid,
  .convention-details-grid,
  .convention-hero-layout,
  .fundraising-grid {
    grid-template-columns: 1fr;
  }

  .fundraising-flyer {
    width: min(460px, 100%);
    justify-self: center;
  }

  .convention-hero-image {
    width: min(380px, 100%);
    justify-self: center;
    transform: none;
  }

  .offering-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand img {
    width: 44px;
    height: 44px;
  }

  .hero {
    min-height: 700px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .event-panel article {
    grid-template-columns: 1fr;
  }

  .event-date {
    width: 82px;
  }
}
