:root {
  --cream: #fcfaf6;
  --paper: #fffdf9;
  --nav-bg: #e7efe6;
  --footer-bg: #e1ebdf;
  --ink: #231f20;
  --muted: #655f62;
  --red: #b32531;
  --green: #2f8450;
  --gold: #debb70;
  --line: #e8dfd6;
  --shadow: 0 20px 50px rgba(35, 31, 32, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}

.bg-shape {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 10% 5%, rgba(179, 37, 49, 0.035), rgba(255, 255, 255, 0) 42%);
  z-index: -1;
}

main {
  padding-top: 0;
}

.top-intro {
  background: linear-gradient(
    90deg,
    rgba(179, 37, 49, 0.12) 0%,
    rgba(255, 255, 255, 0.94) 48%,
    rgba(47, 132, 80, 0.12) 100%
  );
  padding-top: 0;
  padding-bottom: 0.4rem;
  margin-bottom: 0;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: var(--nav-bg);
  border-bottom: 1px solid rgba(35, 31, 32, 0.06);
}

.nav-row {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-block;
  text-decoration: none;
  color: #1f1a1b;
  font-family: "Satisfy", cursive;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1;
  white-space: nowrap;
}

nav {
  display: inline-flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

nav a {
  color: var(--ink);
  text-decoration: none;
  font-family: "Satisfy", cursive;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
}

nav a:hover {
  color: var(--red);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2.2rem 0 3rem;
  margin-top: 0;
}

.eyebrow {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: var(--red);
  margin: 0 0 0.7rem;
}

h1,
h2,
h3 {
  font-family: "Fraunces", serif;
  line-height: 1.1;
  margin: 0;
}

h1 {
  font-size: clamp(2.1rem, 4.8vw, 3.7rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  margin-bottom: 0.7rem;
  font-family: "Satisfy", cursive;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.hero-copy p {
  margin: 0;
  max-width: 58ch;
}

.hero-points {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.3rem;
}

.hero-points li {
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid rgba(47, 132, 80, 0.42);
  border-left: 6px solid var(--green);
  border-radius: 10px;
  padding: 0.35rem 0.55rem;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  font-weight: 800;
  padding: 0.74rem 1rem;
  border-radius: 999px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

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

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

.btn-secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.hero-media {
  margin: 0;
  position: relative;
}

.hero-logo-stage {
  border-radius: 22px;
  border: 2px solid rgba(47, 132, 80, 0.4);
  background:
    linear-gradient(90deg, rgba(179, 37, 49, 0.08), rgba(255, 255, 255, 0.1), rgba(47, 132, 80, 0.08)),
    #fff;
  box-shadow: var(--shadow);
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.hero-main-logo {
  width: min(460px, 95%);
  height: auto;
}

.section {
  padding: 2.8rem 0;
}

.alt {
  background: linear-gradient(170deg, rgba(240, 246, 242, 0.92), rgba(236, 243, 238, 0.78));
  border-top: 1px solid rgba(35, 31, 32, 0.05);
  border-bottom: 1px solid rgba(35, 31, 32, 0.05);
}

.section-head {
  margin-bottom: 1.2rem;
}

.lede {
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
}

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

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

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

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

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

.card {
  background: var(--paper);
  border: 2px solid rgba(47, 132, 80, 0.35);
  border-left: 6px solid var(--green);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.card p {
  margin: 0;
}

.card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.card li {
  margin-bottom: 0.25rem;
}

.support-card {
  display: grid;
  gap: 0.85rem;
}

.camp-gallery-card {
  margin-top: 1rem;
}

.support-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.support-gallery a {
  display: block;
  text-decoration: none;
  transition: transform 140ms ease;
}

.support-gallery a:hover {
  transform: translateY(-2px);
}

.support-gallery img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid rgba(47, 132, 80, 0.28);
}

.partner-logo-wrap {
  border-radius: 12px;
  padding: 0.8rem;
  background: linear-gradient(135deg, rgba(179, 37, 49, 0.9), rgba(47, 132, 80, 0.92));
}

.partner-logo-wrap img {
  max-width: 280px;
  width: 100%;
  height: auto;
  display: block;
}

.contribution-grid {
  margin-top: 1rem;
}

.event-notes {
  margin-top: 0.8rem;
}

.event-notes h3 {
  font-size: 1.05rem;
}

.event-notes ul {
  columns: 2;
  column-gap: 1.6rem;
}

.membership-cards .card {
  border-left-width: 6px;
}

.membership-cards .flag-green {
  border-color: rgba(47, 132, 80, 0.45);
  border-left-color: var(--green);
}

.membership-cards .flag-white {
  border-color: rgba(255, 255, 255, 0.92);
  border-left-color: #ffffff;
}

.membership-cards .flag-red {
  border-color: rgba(179, 37, 49, 0.45);
  border-left-color: var(--red);
}

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

.gallery img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 16px;
  border: 4px solid #fff;
  box-shadow: var(--shadow);
}

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

.officers li {
  background: #fff;
  border: 2px solid rgba(47, 132, 80, 0.35);
  border-left: 6px solid var(--green);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
}

.placeholder {
  color: var(--red);
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

.stack-links {
  margin-top: 1rem;
  display: grid;
  gap: 0.55rem;
}

.stack-links a {
  color: var(--red);
  text-decoration: none;
  font-weight: 700;
}

.stack-links a:hover {
  text-decoration: underline;
}

.fb-embed {
  background: #fff;
  border: 2px solid rgba(47, 132, 80, 0.35);
  border-left: 6px solid var(--green);
  border-radius: 16px;
  padding: 0.6rem;
  box-shadow: var(--shadow);
  position: relative;
}

.fb-embed iframe {
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
}

.fb-placeholder {
  position: absolute;
  inset: 0.6rem;
  border: 2px dashed rgba(35, 31, 32, 0.22);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.28rem;
  font-weight: 700;
  color: rgba(35, 31, 32, 0.5);
  background: rgba(255, 255, 255, 0.88);
  pointer-events: none;
  text-align: center;
  padding: 0.8rem;
  font-size: 0.8rem;
}

.fb-placeholder strong {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(35, 31, 32, 0.62);
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(20, 22, 24, 0.84);
  z-index: 1000;
  padding: 2rem;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 82vh;
  border-radius: 12px;
  border: 3px solid #fff;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.34);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.95);
  color: #1d1b1c;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
}

.lightbox-close {
  top: 1.2rem;
  right: 1.2rem;
}

.lightbox-nav.prev {
  left: 1rem;
}

.lightbox-nav.next {
  right: 1rem;
}

.site-footer {
  padding: 2rem 0 2.4rem;
  background: var(--footer-bg);
  border-top: 1px solid rgba(35, 31, 32, 0.08);
}

.footer-grid {
  color: var(--muted);
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  align-items: center;
  gap: 1rem;
}

.footer-grid p {
  margin: 0;
}

.footer-left {
  text-align: left;
  font-size: 0.92rem;
}

.footer-center {
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.45;
}

.footer-right {
  text-align: right;
  font-size: 0.9rem;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal {
  opacity: 1;
  transform: translateY(0);
  transition: none;
}

.js .reveal.delay-1 {
  transition-delay: 0ms;
}

.js .reveal.on {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .split,
  .cards.mission-grid,
  .cards.three,
  .cards.two,
  .cards.four,
  .officers,
  .gallery {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.45rem;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    text-align: center;
  }

  .gallery img {
    height: 260px;
  }

  .support-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-notes ul {
    columns: 1;
  }
}

@media (max-width: 680px) {
  .nav-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.7rem 0;
  }

  nav {
    gap: 0.9rem;
  }

  nav a {
    font-size: 1rem;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .brand {
    white-space: normal;
  }
}
