/* ============================
   Tokens
   ============================ */
:root {
  --forest: #16302a;
  --forest-dark: #0d1e1a;
  --rust: #d15a26;
  --rust-bright: #ef6c2e;
  --gold: #e8b04b;
  --cream: #f6f1e6;
  --cream-dim: #ece3d0;
  --charcoal: #211d17;
  --stone: #6b6255;

  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1180px;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--rust);
  margin-bottom: 14px;
}
.eyebrow.light { color: var(--gold); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
  color: var(--forest-dark);
}
h2.light, h3.light { color: var(--cream); }

/* subtle film-grain / texture overlay for the earthy feel */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================
   Buttons
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-large { padding: 17px 34px; font-size: 1.05rem; }
.btn-small { padding: 9px 18px; font-size: 0.82rem; }

.btn-accent {
  background: var(--rust-bright);
  color: var(--cream);
  box-shadow: 0 8px 20px rgba(239, 108, 46, 0.35);
}
.btn-accent:hover { background: var(--rust); box-shadow: 0 10px 26px rgba(239, 108, 46, 0.45); }

.btn-ghost {
  background: rgba(246, 241, 230, 0.08);
  color: var(--cream);
  border-color: rgba(246, 241, 230, 0.55);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(246, 241, 230, 0.16); border-color: var(--cream); }

.btn-outline {
  background: transparent;
  color: var(--forest-dark);
  border-color: var(--forest-dark);
}
.btn-outline:hover { background: var(--forest-dark); color: var(--cream); }

/* ============================
   Header
   ============================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(246, 241, 230, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(22, 48, 42, 0.08);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--forest-dark);
}
.logo span { color: var(--rust); }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a:not(.btn) {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--charcoal);
  position: relative;
  padding: 4px 0;
}
.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--rust);
  transition: width 0.2s ease;
}
.main-nav a:not(.btn):hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--forest-dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ============================
   Hero
   ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 140px 32px 100px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(239, 108, 46, 0.22), transparent 60%),
    linear-gradient(180deg, #0d1e1a 0%, #16302a 55%, #24443a 100%);
}
.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 46%;
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: cover;
}
.hero-bg::before {
  height: 60%;
  clip-path: polygon(0% 100%, 0% 55%, 8% 62%, 16% 40%, 24% 58%, 33% 30%, 42% 52%, 50% 18%, 58% 46%, 67% 26%, 76% 50%, 84% 34%, 92% 54%, 100% 42%, 100% 100%);
  background: linear-gradient(180deg, #1c3a32 0%, #0f2119 100%);
  opacity: 0.85;
}
.hero-bg::after {
  height: 40%;
  clip-path: polygon(0% 100%, 0% 70%, 10% 48%, 20% 66%, 30% 44%, 40% 64%, 50% 38%, 60% 60%, 70% 42%, 80% 62%, 90% 46%, 100% 64%, 100% 100%);
  background: linear-gradient(180deg, #0a1712 0%, #050c09 100%);
}

.hero-content {
  max-width: 880px;
  text-align: center;
  color: var(--cream);
}
.hero-content .eyebrow { color: var(--gold); justify-content: center; }
.hero h1 {
  color: var(--cream);
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  margin-bottom: 26px;
}
.hero h1 .highlight { color: var(--rust-bright); }
.hero-sub {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: rgba(246, 241, 230, 0.82);
  max-width: 620px;
  margin: 0 auto 40px;
}
.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--cream);
  font-size: 1.4rem;
  opacity: 0.7;
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================
   Marquee
   ============================ */
.marquee {
  background: var(--rust-bright);
  color: var(--forest-dark);
  overflow: hidden;
  white-space: nowrap;
  padding: 14px 0;
}
.marquee-track {
  display: inline-flex;
  gap: 18px;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.06em;
  animation: scroll-left 22s linear infinite;
}
.marquee-track span { display: inline-block; }
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================
   Mission
   ============================ */
.mission { padding: 120px 0 110px; }
.mission h2 { font-size: clamp(1.9rem, 4vw, 3rem); max-width: 780px; margin-bottom: 56px; }

.mission-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: start;
}
.mission-copy .lede {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--forest-dark);
  margin-bottom: 20px;
}
.mission-copy p { color: var(--stone); margin-bottom: 16px; font-size: 1.02rem; }
.mission-copy p:last-child { margin-bottom: 0; }

.mission-card {
  background: var(--forest);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 38px;
  position: relative;
  overflow: hidden;
}
.mission-card::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: var(--rust-bright);
  border-radius: 50%;
  opacity: 0.18;
}
.mission-card h3 {
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.mission-card p { position: relative; color: rgba(246, 241, 230, 0.88); }

/* ============================
   Playground (dark section)
   ============================ */
.playground {
  background: var(--forest-dark);
  padding: 110px 0;
}
.playground h2 { max-width: 700px; margin-bottom: 56px; font-size: clamp(1.9rem, 4vw, 3rem); }

.playground-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.playground-card {
  background: rgba(246, 241, 230, 0.04);
  border: 1px solid rgba(246, 241, 230, 0.12);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.playground-card:hover {
  transform: translateY(-6px);
  background: rgba(246, 241, 230, 0.08);
  border-color: var(--rust-bright);
}
.playground-card .season {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rust-bright);
  margin-bottom: 14px;
}
.playground-card h3 {
  color: var(--cream);
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.playground-card p { color: rgba(246, 241, 230, 0.7); font-size: 0.96rem; }

/* ============================
   Programs
   ============================ */
.programs { padding: 120px 0; }
.programs h2 { max-width: 760px; margin-bottom: 56px; font-size: clamp(1.9rem, 4vw, 3rem); }

.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.program-card {
  background: var(--cream-dim);
  border-radius: var(--radius);
  padding: 34px;
  border: 1px solid rgba(22, 48, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(22, 48, 42, 0.1);
}
.program-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--rust);
  display: block;
  margin-bottom: 10px;
}
.program-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.program-card p { color: var(--stone); }

/* ============================
   Get Involved
   ============================ */
.involved { padding: 120px 0; background: var(--cream); }
.involved h2 { max-width: 700px; margin-bottom: 56px; font-size: clamp(1.9rem, 4vw, 3rem); }

.involved-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}
.involved-card {
  background: #fff;
  border: 1px solid rgba(22, 48, 42, 0.1);
  border-radius: var(--radius);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.involved-card h3 { font-size: 1.35rem; }
.involved-card p { color: var(--stone); flex-grow: 1; }
.involved-card .btn { align-self: flex-start; }
.involved-card .fine-print { flex-grow: 0; font-size: 0.8rem; opacity: 0.75; margin-top: -6px; }

.involved-card.featured {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--cream);
  transform: scale(1.03);
  box-shadow: 0 20px 44px rgba(22, 48, 42, 0.22);
}
.involved-card.featured h3 { color: var(--cream); }
.involved-card.featured p { color: rgba(246, 241, 230, 0.82); }

/* ============================
   Contact
   ============================ */
.contact { background: var(--forest-dark); padding: 110px 0; }
.contact-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.contact h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-bottom: 14px; }
.contact-sub { color: rgba(246, 241, 230, 0.72); font-size: 1.05rem; max-width: 440px; }

.contact-details { display: flex; flex-direction: column; gap: 14px; }
.contact-line {
  color: var(--cream);
  font-size: 1.05rem;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(246, 241, 230, 0.15);
}
a.contact-line { color: var(--rust-bright); font-weight: 700; font-size: 1.3rem; }
a.contact-line:hover { color: var(--gold); }

/* ============================
   Footer
   ============================ */
.site-footer { background: var(--forest-dark); padding: 28px 0 40px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid rgba(246, 241, 230, 0.12);
  padding-top: 24px;
}
.footer-inner .logo { color: var(--cream); font-size: 1rem; }
.footer-inner .logo span { color: var(--rust-bright); }
.footer-inner p { color: rgba(246, 241, 230, 0.55); font-size: 0.85rem; }

/* ============================
   Scroll reveal
   ============================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================
   Responsive
   ============================ */
@media (max-width: 980px) {
  .mission-grid { grid-template-columns: 1fr; }
  .playground-grid { grid-template-columns: repeat(2, 1fr); }
  .programs-grid { grid-template-columns: 1fr; }
  .involved-grid { grid-template-columns: 1fr; }
  .involved-card.featured { transform: none; order: -1; }
  .contact-inner { grid-template-columns: 1fr; text-align: left; }
}

@media (max-width: 920px) {
  .main-nav {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 32px 20px;
    border-bottom: 1px solid rgba(22, 48, 42, 0.08);
    transform: translateY(-130%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .main-nav.is-open { transform: translateY(0); opacity: 1; }
  .main-nav a:not(.btn) { padding: 12px 0; width: 100%; }
  .main-nav .btn { margin-top: 10px; }
  .nav-toggle { display: flex; }

  .playground-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
}

@media (max-width: 480px) {
  .section-inner { padding: 0 22px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
}
