:root {
  --forest-black: #0f0f0f;
  --charcoal: #1f1f1f;
  --deep-red: #c22a1b;
  --bright-red: #ff4a3a;
  --warm-yellow: #ffd800;
  --gold: #c7b800;
  --light-gray: #e5e5e5;
  --medium-gray: #9a9a9a;
  --white: #f9faf8;
  --ink: #0f0f0f;
  --max-width: 1200px;
  --radius-sm: 0.6rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2.4rem;
  --shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
  --border: 1px solid rgba(199, 184, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Public Sans", "Segoe UI", sans-serif;
  color: var(--light-gray);
  background:
    radial-gradient(circle at 20% 8%, rgba(255, 74, 58, 0.14), transparent 34%),
    radial-gradient(circle at 82% 12%, rgba(255, 216, 0, 0.08), transparent 38%),
    linear-gradient(160deg, var(--forest-black) 0%, #151515 55%, var(--forest-black) 100%);
  line-height: 1.55;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: "Sora", "Segoe UI", sans-serif;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0;
}

p {
  margin: 0;
}

.page-shell {
  min-height: 100vh;
}

.container {
  width: min(var(--max-width), calc(100% - 2.2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(8px);
  background: rgba(15, 15, 15, 0.88);
  border-bottom: 1px solid rgba(199, 184, 0, 0.25);
}

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

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 2.55rem;
  max-width: 100%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--light-gray);
  font-weight: 500;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  background: rgba(255, 74, 58, 0.2);
  color: var(--white);
}

.nav-toggle {
  display: none;
  border: var(--border);
  border-radius: 999px;
  background: rgba(31, 31, 31, 0.95);
  color: var(--white);
  padding: 0.45rem 0.85rem;
  font-weight: 700;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.78rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(194, 42, 27, 0.35);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(120deg, var(--bright-red), var(--deep-red));
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--deep-red);
}

.btn-secondary {
  color: var(--light-gray);
  border-color: rgba(199, 184, 0, 0.75);
  background: rgba(31, 31, 31, 0.95);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  color: var(--white);
  background: rgba(194, 42, 27, 0.28);
}

.hero {
  position: relative;
  min-height: calc(100vh - 5rem);
  display: grid;
  align-items: end;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.55) 0%, rgba(10, 10, 10, 0.9) 78%),
    var(--hero-image) center / cover no-repeat;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 8%, rgba(255, 74, 58, 0.2), transparent 40%);
  z-index: -1;
}

.hero-content {
  padding: 4rem 0 3.2rem;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.8rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  color: var(--forest-black);
  background: rgba(255, 216, 0, 0.95);
  border: 1px solid rgba(199, 184, 0, 1);
  margin-bottom: 0.9rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 6.1vw, 4.7rem);
  max-width: 11ch;
}

.hero p {
  margin-top: 0.9rem;
  color: var(--light-gray);
  max-width: 55ch;
}

.section {
  padding: 4.2rem 0;
}

.section-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.9rem;
  align-items: end;
  margin-bottom: 1.3rem;
}

.section-title h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.8rem);
}

.section-title h1 {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
}

.section-title p {
  max-width: 60ch;
  color: var(--medium-gray);
}

.card {
  background: rgba(31, 31, 31, 0.94);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.next-meeting {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1.1rem;
  align-items: center;
}

.next-meeting .label {
  color: var(--warm-yellow);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
}

.next-meeting h3 {
  margin-top: 0.35rem;
  font-size: clamp(1.25rem, 2.8vw, 1.8rem);
}

.next-meeting p {
  color: var(--light-gray);
  font-size: 0.96rem;
}

.meeting-tag {
  padding: 0.6rem 0.85rem;
  border-radius: 0.7rem;
  background: rgba(194, 42, 27, 0.22);
  border: 1px solid rgba(199, 184, 0, 0.75);
  text-align: center;
  min-width: 8.8rem;
}

.carousel-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.carousel-track {
  display: flex;
  transition: transform 0.55s ease;
}

.campout-card {
  min-width: 100%;
  position: relative;
  min-height: 330px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.campout-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 13, 10, 0.15) 6%, rgba(6, 10, 8, 0.82) 80%),
    var(--campout-image) center / cover no-repeat;
}

.campout-content {
  position: relative;
  z-index: 1;
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 330px;
}

.campout-meta {
  color: var(--light-gray);
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

.carousel-controls {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.carousel-controls button {
  border: var(--border);
  background: rgba(31, 31, 31, 0.95);
  color: var(--white);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-weight: 700;
}

.carousel-controls button:hover,
.carousel-controls button:focus-visible {
  background: var(--deep-red);
  border-color: rgba(199, 184, 0, 0.95);
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
}

.quick-link {
  background: linear-gradient(160deg, #252525, #1f1f1f);
  border: var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  min-height: 130px;
  text-decoration: none;
  display: grid;
  gap: 0.5rem;
  align-content: start;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.quick-link:hover,
.quick-link:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(199, 184, 0, 0.85);
}

.quick-link .icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.65rem;
  background: rgba(255, 74, 58, 0.25);
  border: 1px solid rgba(255, 216, 0, 0.55);
  display: grid;
  place-items: center;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 0.75rem;
}

.collage {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.75rem;
}

.collage a {
  position: relative;
  min-height: 180px;
  border-radius: 1rem;
  overflow: hidden;
  border: var(--border);
  text-decoration: none;
}

.collage a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 10, 8, 0.75), rgba(6, 10, 8, 0.1));
}

.collage span {
  position: absolute;
  left: 0.85rem;
  bottom: 0.7rem;
  font-family: "Sora", "Segoe UI", sans-serif;
}

.col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; }
.col-8 { grid-column: span 8; }

.photo-block {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.info-card {
  padding: 1rem;
}

.label {
  display: inline-block;
  color: var(--warm-yellow);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.info-card h3 {
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
}

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

.story {
  padding: 1rem;
}

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

.signature {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem;
}

.signature .pill {
  border-radius: 999px;
  padding: 0.62rem 0.85rem;
  text-align: center;
  font-weight: 700;
  border: var(--border);
  background: rgba(31, 31, 31, 0.96);
}

.calendar-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.filter-btn {
  border: var(--border);
  background: rgba(31, 31, 31, 0.95);
  color: var(--light-gray);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.filter-btn.active {
  background: rgba(255, 216, 0, 0.18);
  color: var(--warm-yellow);
  border-color: rgba(255, 216, 0, 0.95);
}

.filter-btn:hover,
.filter-btn:focus-visible {
  background: rgba(194, 42, 27, 0.28);
  border-color: rgba(199, 184, 0, 0.9);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.month-card {
  padding: 1rem;
}

.month-card h3 {
  margin-bottom: 0.7rem;
}

.event-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.event-item {
  background: rgba(20, 20, 20, 0.98);
  border: 1px solid rgba(60, 60, 60, 0.85);
  border-radius: 0.8rem;
  padding: 0.65rem;
}

.event-item .event-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--warm-yellow);
  margin-bottom: 0.25rem;
}

.gallery-columns {
  column-count: 3;
  column-gap: 0.8rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 0.8rem;
  border-radius: 0.9rem;
  overflow: hidden;
  border: var(--border);
  cursor: pointer;
  position: relative;
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 12, 9, 0.55), transparent 45%);
}

.gallery-item span {
  position: absolute;
  left: 0.7rem;
  bottom: 0.5rem;
  font-size: 0.86rem;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.product-card {
  padding: 0.9rem;
}

.product-card img {
  border-radius: 0.8rem;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 0.7rem;
}

.product-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.contact-form {
  padding: 1rem;
}

.contact-form label {
  display: block;
  margin-top: 0.6rem;
  margin-bottom: 0.3rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border-radius: 0.7rem;
  border: 1px solid rgba(199, 184, 0, 0.4);
  background: rgba(15, 15, 15, 0.95);
  color: var(--light-gray);
  padding: 0.65rem 0.7rem;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid rgba(255, 216, 0, 0.55);
  outline-offset: 1px;
  border-color: rgba(255, 216, 0, 0.9);
}

.contact-leaders {
  display: grid;
  gap: 0.7rem;
}

.leader-card {
  padding: 0.85rem;
}

.leader-card h3 {
  font-size: 1rem;
}

.map-frame {
  margin-top: 1rem;
  border-radius: 1rem;
  overflow: hidden;
  border: var(--border);
}

.site-footer {
  margin-top: 4rem;
  border-top: 1px solid rgba(199, 184, 0, 0.3);
  background: rgba(15, 15, 15, 0.96);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 1rem;
  padding: 2rem 0;
}

.footer-grid h3 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(199, 184, 0, 0.18);
  font-size: 0.86rem;
  color: var(--medium-gray);
  padding: 0.8rem 0 1.4rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 15, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 60;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-height: 84vh;
  border-radius: 0.8rem;
  border: var(--border);
}

.lightbox button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: var(--border);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  cursor: pointer;
}

@media (max-width: 1000px) {
  .quick-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .form-grid,
  .info-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.6rem;
    background: rgba(15, 15, 15, 0.98);
    border-bottom: var(--border);
  }

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

  .site-nav a {
    width: 100%;
  }

  .brand-logo {
    height: 2.2rem;
  }

  .hero {
    min-height: 85vh;
  }

  .next-meeting {
    grid-template-columns: 1fr;
  }

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

  .collage {
    grid-template-columns: repeat(2, 1fr);
  }

  .col-6,
  .col-4,
  .col-8 {
    grid-column: span 1;
  }

  .calendar-grid,
  .shop-grid {
    grid-template-columns: 1fr;
  }

  .gallery-columns {
    column-count: 1;
  }
}
