:root {
  --bg: #f6f6f6;
  --bg-light: #ffffff;
  --bg-dark: #f2f2f2;
  --text: #1c1b1b;
  --muted: rgba(28, 27, 27, 0.7);
  --accent: #500000;
  --accent-soft: rgba(128, 0, 0, 0.12);
  --accent-strong: #2d0000;
  --gradient: linear-gradient(135deg, #500000, #7a1a1a);
  --card-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  --max-width: 1200px;
  --nav-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-light);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}

a {
  color: inherit;
}

\.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(80, 0, 0, 0.15);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text);
}

.brand__logo {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.brand__tagline {
  font-size: 0.75rem;
  color: rgba(28, 27, 27, 0.55);
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

\.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  color: #323131;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-links a.active {
  color: var(--accent);
}

.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  cursor: pointer;
}

.nav-toggle-label span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero {
  min-height: calc(100vh - var(--nav-height));
  background-size: cover;
  background-position: center;
  position: relative;
  display: grid;
  place-items: center;
  text-align: left;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(80, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
}

.hero__overlay {
  position: relative;
  max-width: var(--max-width);
  padding: 4rem 1.5rem 6rem;
  margin: 0 auto;
  color: #ffffff;
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  color: #ffeaea;
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(2.8rem, 6vw, 4rem);
  margin: 0;
  color: #ffffff;
}

.hero h2 {
  font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: rgba(255, 255, 255, 0.75);
  margin-top: 0.75rem;
}

.hero__description {
  max-width: 640px;
  margin: 1.5rem 0 2.5rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn--primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(80, 0, 0, 0.25);
}

.btn--ghost {
  border: 1px solid rgba(80, 0, 0, 0.35);
  color: var(--accent);
  background: #ffffff;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.section {
  padding: 6rem 1.5rem;
  position: relative;
  color: var(--text);
}

.section--light {
  background: var(--bg-light);
}

.section--dark {
  background: #f2eded;
}

.section--accent {
  background: linear-gradient(135deg, rgba(80, 0, 0, 0.08), rgba(0, 0, 0, 0.02));
}

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section__header {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.section__header h2 {
  margin: 0;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.section__header p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: 1rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--text);
  font-weight: 500;
}

.about__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.about__highlights ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.about__highlights li {
  padding: 1.2rem 1.4rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(80, 0, 0, 0.12);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.stats {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  padding: 1.8rem 1.4rem;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(80, 0, 0, 0.15);
  text-align: center;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.stat-card__value {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 2rem;
}

.stat-card__label {
  color: var(--muted);
  display: block;
  margin-top: 0.4rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.card {
  position: relative;
  min-height: 320px;
  border-radius: 24px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: var(--card-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid rgba(80, 0, 0, 0.15);
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.75) 100%);
  z-index: 0;
  pointer-events: none;
}

.card__content {
  position: absolute;
  inset: 0;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1rem;
  z-index: 1;
  color: #ffffff;
}

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

.card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.card__summary {
  color: rgba(255, 255, 255, 0.85);
}

.card__summary p {
  margin: 0;
}

.card:hover,
.card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.45);
}

.timeline {
  position: relative;
  padding-left: 1.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 0.4rem;
  width: 2px;
  background: rgba(80, 0, 0, 0.35);
}

.timeline__event {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 2.5rem;
}

.timeline__marker {
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(80, 0, 0, 0.12);
}

.timeline__date {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 0 0 0.3rem;
}

.timeline__location {
  color: var(--muted);
  margin: 0.3rem 0 0.8rem;
}

.gallery-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.gallery-grid figure {
  margin: 0;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(80, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.gallery-grid figcaption {
  padding: 1rem 1.3rem 1.3rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.join {
  display: grid;
}

.join__content {
  border-radius: 24px;
  padding: 3rem;
  background: #ffffff;
  border: 1px solid rgba(80, 0, 0, 0.18);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.join__steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: grid;
  gap: 1rem;
}

.join__steps li {
  position: relative;
  padding-left: 3rem;
  background: #fdfafa;
  border-radius: 16px;
  padding-block: 1.2rem;
  padding-inline: 3rem 1.5rem;
  border: 1px solid rgba(80, 0, 0, 0.12);
}

.join__steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 600;
}

.join__dues {
  margin: 2.5rem 0 2rem;
  padding: 1.8rem 2.2rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(80, 0, 0, 0.12), rgba(80, 0, 0, 0.02));
  border: 1px solid rgba(80, 0, 0, 0.18);
  display: grid;
  gap: 0.5rem;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.08);
}

.join__dues-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--accent);
}

.join__dues-amount {
  margin: 0;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  color: var(--text);
}

.join__dues-description {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.join__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.join__slack {
  margin-top: 1.5rem;
  color: var(--muted);
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  color: var(--text);
}

.footer-grid h3,
.footer-grid h4 {
  margin-top: 0;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.footer-brand p {
  color: var(--muted);
}

.footer-address {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(233, 236, 241, 0.6);
}

.footer-social ul {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  gap: 0.6rem;
}

.footer-social a {
  text-decoration: none;
  color: #4d4c4c;
  transition: color 0.2s ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  color: var(--accent);
}

.footer-meta {
  text-align: center;
  margin: 0;
  padding: 0 1.5rem 2.5rem;
  color: rgba(50, 49, 49, 0.6);
  font-size: 0.8rem;
}

.article {
  max-width: 760px;
  margin: 0 auto;
}

.article__meta {
  color: rgba(28, 27, 27, 0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.article__title {
  margin-top: 0.5rem;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
}

.article__description {
  font-size: 1.1rem;
  color: rgba(233, 236, 241, 0.75);
}

.article__body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-light);
  color: var(--text);
}

.article__tags {
  list-style: none;
  padding: 0;
  margin: 3rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.article__tags a {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(80, 0, 0, 0.12);
  color: var(--accent);
  font-size: 0.85rem;
  text-decoration: none;
}

.list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.list-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid rgba(80, 0, 0, 0.12);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.list-card__meta {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0;
}

.list-card h2 {
  margin: 0;
  font-size: 1.4rem;
}

.list-card p {
  margin: 0;
  color: var(--muted);
}

.list-card__link {
  margin-top: auto;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.pagination {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--muted);
}

.pagination__link {
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
}

.pagination__link.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pagination__status {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.prose > * + * {
  margin-top: 1.3rem;
}

.prose p {
  line-height: 1.75;
  color: var(--text);
}

.prose h2,
.prose h3,
.prose h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  margin-top: 2rem;
  margin-bottom: 0.6rem;
}

.prose ul,
.prose ol {
  padding-left: 1.3rem;
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: none;
  }
  .nav-links {
    gap: 1rem;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .nav-toggle-label {
    display: flex;
  }

  .nav-links {
    position: absolute;
    inset: calc(var(--nav-height)) 0 auto;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.2rem 1.5rem 2rem;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    border-bottom: 1px solid rgba(80, 0, 0, 0.12);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  }

  .nav-toggle:checked ~ .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle:checked + .nav-toggle-label span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle:checked + .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked + .nav-toggle-label span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .timeline {
    padding-left: 0;
  }

  .timeline::before {
    left: 0;
  }

  .timeline__event {
    padding-left: 2rem;
  }

  .join__content {
    padding: 2.5rem 2rem;
  }

  .join__steps li {
    padding-inline: 2.8rem 1.2rem;
  }
}

@media (max-width: 520px) {
  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand__tagline {
    display: none;
  }
}
