:root {
  --ink: #132017;
  --ink-soft: #3d4a40;
  --cream: #f4f0e7;
  --paper: #fffdf8;
  --line: #d9d3c6;
  --green: #0d8a46;
  --green-deep: #086635;
  --green-mist: #e5f5ea;
  --gold: #b0894f;
  --shadow: 0 24px 60px rgba(19, 32, 23, 0.12);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Outfit", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; }

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.kicker {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  color: var(--green-deep);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-deep); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.45); }
.btn-dark { background: var(--ink); color: #fff; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-brand img { height: 46px; width: auto; }
.nav-brand span { font-weight: 650; font-size: 14px; letter-spacing: 0.02em; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; font-size: 22px; }

.hero {
  position: relative;
  min-height: calc(100svh - 78px);
  border-radius: 28px;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.hero img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 22, 14, 0.18), rgba(10, 22, 14, 0.62) 70%),
    linear-gradient(90deg, rgba(10, 22, 14, 0.45), transparent 55%);
}
.hero-inner { padding: 12vh 56px 56px; max-width: 760px; }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.92;
  font-weight: 400;
  margin: 16px 0 20px;
  white-space: pre-line;
}
.hero p.lead { font-size: 20px; max-width: 34rem; color: rgba(255,255,255,0.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: -36px;
  position: relative;
  z-index: 2;
}
.stat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: var(--shadow);
}
.stat b {
  display: block;
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 400;
  color: var(--green-deep);
}
.stat span { color: var(--ink-soft); font-size: 14px; }

section { padding: 88px 0 0; }
section h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 400;
  line-height: 1.05;
  margin: 10px 0 18px;
}
.grid-2 { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.mission p { font-size: 19px; color: var(--ink-soft); }
.quote {
  background: var(--ink);
  color: #edf6ef;
  border-radius: 24px;
  padding: 32px;
}
.quote p { font-family: var(--serif); font-size: 26px; line-height: 1.25; margin: 0 0 20px; }
.quote cite { font-style: normal; font-size: 14px; color: #b7d4c0; }

.reasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.reason {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.reason h3 { margin: 0 0 8px; font-size: 18px; }
.reason p { margin: 0; color: var(--ink-soft); font-size: 15px; }

.photos { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 180px 180px; gap: 12px; margin-top: 40px; }
.photos img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.photos img:first-child { grid-row: 1 / span 2; }

.events { display: grid; gap: 16px; margin-top: 28px; }
.event {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 24px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 24px;
}
.event time { display: block; font-weight: 650; color: var(--green-deep); }
.event .meta { color: var(--ink-soft); font-size: 14px; margin-top: 4px; }
.event h3 { margin: 0 0 6px; font-size: 22px; }
.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  background: var(--green-mist);
  color: var(--green-deep);
}
.badge.soon { background: #efe6d4; color: #7a5a22; }
.recent { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 22px; color: var(--ink-soft); font-size: 14px; }
.recent b { color: var(--ink); font-weight: 600; }

.join {
  margin: 88px 0 0;
  background: var(--ink);
  color: #f3f7f4;
  border-radius: 28px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.join h2 { color: #fff; }
.join p { color: #c5d4ca; }
.form { display: grid; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form input {
  width: 100%;
  border: 1px solid #2c3b31;
  background: #1b2a21;
  color: #fff;
  border-radius: 12px;
  padding: 13px 14px;
}
.form input::placeholder { color: #8ea396; }
.form small { color: #8ea396; }
.success {
  background: var(--green-mist);
  color: var(--green-deep);
  border-radius: 16px;
  padding: 22px;
}
.success h3 { margin: 0 0 8px; }

.board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.member { text-align: center; }
.member img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  border-radius: 18px;
  margin-bottom: 12px;
  background: #f4f0e7;
}
.member h3 { margin: 0; font-size: 16px; }
.member p { margin: 4px 0 0; color: var(--ink-soft); font-size: 13px; }

footer {
  padding: 48px 0 36px;
  color: var(--ink-soft);
  font-size: 14px;
}
.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 24px; }
footer a { color: var(--green-deep); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    right: 20px;
    background: var(--paper);
    padding: 16px;
    border-radius: 16px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-toggle { display: block; }
  .hero-inner { padding: 10vh 24px 36px; }
  .stats, .reasons, .join, .grid-2, .form-row { grid-template-columns: 1fr; }
  .board { grid-template-columns: 1fr 1fr; }
  .event { grid-template-columns: 1fr; }
  .photos { grid-template-columns: 1fr 1fr; grid-template-rows: 160px 160px 160px; }
  .photos img:first-child { grid-row: auto; grid-column: 1 / -1; height: 220px; }
  .join { padding: 28px 20px; }
}

[x-cloak]{display:none!important}
