:root {
  --green-deep: #22301f;
  --green:      #2f4a2c;
  --moss:       #5f8050;
  --olive:      #808b4a;
  --leaf:       #8fae7d;
  --leaf-soft:  #cdddbf;
  --beige:      #f4efe3;
  --cream:      #fbf8f1;
  --tan:        #cbb89a;
  --tan-soft:   #e6dcc7;
  --ink:        #27331f;
  --muted:      #6c7563;
  --radius:     16px;
  --radius-sm:  10px;
  --shadow:     0 1px 2px rgba(34,48,31,.04), 0 8px 30px rgba(34,48,31,.06);
  --shadow-lift:0 6px 14px rgba(34,48,31,.08), 0 18px 50px rgba(34,48,31,.10);
  --ease:       cubic-bezier(.22,.61,.36,1);
  --display:    "Fraunces", Georgia, serif;
  --body:       "Manrope", system-ui, -apple-system, sans-serif;
  --marquee-h:  36px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--beige);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.wrap    { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; scroll-margin-top: 110px; }

.eyebrow {
  font-size: .74rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--moss); margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--tan); }

h1, h2, h3 {
  font-family: var(--display); font-weight: 500;
  color: var(--green-deep); line-height: 1.08; letter-spacing: -.01em;
}
h2  { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3  { font-size: 1.35rem; }
h4  { font-size: .98rem; font-weight: 700; color: var(--green-deep); margin-bottom: 2px; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 54ch; }

/* ── logo badge ─────────────────────────────────────────── */
.logo-badge {
  width: 36px; height: 36px; flex: 0 0 auto; border-radius: 9px;
  background: var(--green-deep); color: var(--olive);
  font-family: var(--display); font-weight: 600; font-size: 1.02rem;
  display: inline-flex; align-items: center; justify-content: center;
}
.logo-badge.alt { background: var(--olive); color: var(--green-deep); }

/* ── buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 9px; padding: 13px 24px; border-radius: 100px;
  font-weight: 600; font-size: .95rem; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s var(--ease),
              box-shadow .25s var(--ease), color .25s var(--ease);
}
.btn-primary { background: var(--green); color: #f3f0e6; }
.btn-primary:hover { background: var(--green-deep); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-ghost { background: transparent; color: var(--green); box-shadow: inset 0 0 0 1.5px var(--tan); }
.btn-ghost:hover { background: var(--cream); transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--moss); }
.btn-soft { background: var(--leaf-soft); color: var(--green-deep); }
.btn-soft:hover { background: var(--leaf); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn:active { transform: translateY(0) scale(.99); }

/* ── marquee ────────────────────────────────────────────── */
.marquee {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--marquee-h); background: var(--green-deep);
  color: #d7e0c9; z-index: 60;
  display: flex; align-items: center; overflow: hidden;
  font-size: .8rem; letter-spacing: .03em;
}
.marquee-track {
  display: inline-flex; align-items: center; white-space: nowrap;
  animation: marq 52s linear infinite; will-change: transform;
}
.marquee-track span { padding: 0 28px; position: relative; }
.marquee-track span::after {
  content: ""; position: absolute; right: -2px; top: 50%;
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--olive); transform: translateY(-50%);
}
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── nav ────────────────────────────────────────────────── */
.nav {
  position: fixed; top: var(--marquee-h); left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  padding: 16px 24px;
  transition: padding .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.scrolled {
  background: rgba(251,248,241,.92); backdrop-filter: blur(12px);
  padding: 11px 24px; box-shadow: 0 1px 0 rgba(203,184,154,.4);
}
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--green-deep); margin-right: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { padding: 8px 14px; border-radius: 100px; font-weight: 500; font-size: .92rem; color: var(--green); transition: background .2s; }
.nav-links a:hover { background: rgba(143,174,125,.18); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ── hero ───────────────────────────────────────────────── */
.hero { position: relative; padding: 150px 0 92px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(55% 50% at 88% 0%, rgba(143,174,125,.20), transparent 70%),
    radial-gradient(48% 60% at 0% 100%, rgba(203,184,154,.22), transparent 70%);
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; }
.hero h1 { font-size: clamp(2.7rem, 6vw, 4.4rem); font-weight: 500; margin: 16px 0 22px; }
.hero h1 em { font-style: italic; color: var(--moss); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-stats { display: flex; gap: 48px; margin-top: 48px; flex-wrap: wrap; }
.stat .n { font-family: var(--display); font-size: 2.3rem; font-weight: 600; color: var(--green-deep); line-height: 1; }
.stat .l { font-size: .84rem; color: var(--muted); margin-top: 6px; }

/* ── cards ──────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.card {
  background: var(--cream); border: 1px solid var(--tan-soft);
  border-radius: var(--radius); padding: 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--leaf); }
.card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--leaf-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--green); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .96rem; }
.step-num { font-family: var(--display); font-size: .95rem; color: var(--moss); font-weight: 600; display: block; margin-bottom: 6px; }

/* ── sort ───────────────────────────────────────────────── */
.sort-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.sort-col { background: var(--cream); border: 1px solid var(--tan-soft); border-radius: var(--radius); padding: 26px; }
.sort-col.yes { border-color: var(--leaf); }
.sort-col h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.sort-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.sort-list li { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--green); }
.sort-list .b { width: 6px; height: 6px; border-radius: 50%; flex: 0 0 auto; }
.yes .b { background: var(--moss); }
.no  .b { background: var(--tan); }

/* ── go green ───────────────────────────────────────────── */
.incentive {
  background: var(--green-deep); color: #eef2e7;
  border-radius: 28px; padding: 56px; position: relative; overflow: hidden;
}
.incentive::after {
  content: ""; position: absolute; right: -60px; bottom: -60px;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(143,174,125,.30), transparent 70%);
}
.incentive h2 { color: #fff; }
.incentive .lead { color: #c5d2b8; }
.incentive-inner { position: relative; z-index: 1; }
.gift-cards { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.gift-btn {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(207,221,191,.25);
  border-radius: var(--radius); padding: 14px 20px; cursor: pointer;
  transition: background .25s var(--ease), border-color .25s, transform .25s var(--ease);
  color: #eef2e7; font-family: var(--body); font-size: .96rem; font-weight: 600;
}
.gift-btn:hover { background: rgba(255,255,255,.13); border-color: var(--leaf); transform: translateY(-2px); }
.gift-btn img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; background: rgba(255,255,255,.1); flex: 0 0 auto; }

/* ── leaderboard ────────────────────────────────────────── */
.board { background: var(--cream); border: 1px solid var(--tan-soft); border-radius: var(--radius); overflow: hidden; }
.board-row { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 14px; padding: 16px 24px; border-bottom: 1px solid var(--tan-soft); transition: background .2s; }
.board-row:last-child { border-bottom: none; }
.board-row:hover { background: rgba(143,174,125,.08); }
.board-row .rank { font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--moss); text-align: center; }
.board-row.lead-row { background: linear-gradient(90deg, rgba(143,174,125,.14), transparent); }
.board-row.lead-row .rank { color: var(--green-deep); }
.board-row .who { font-weight: 600; color: var(--green-deep); }
.board-row .sub { font-size: .82rem; color: var(--muted); }
.board-row .count { font-weight: 700; color: var(--green); }
.empty-board { padding: 34px 24px; text-align: center; color: var(--muted); font-size: .95rem; }

/* ── volunteer ──────────────────────────────────────────── */
.vol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.vol-perk { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; }
.vol-perk .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--leaf-soft); display: flex; align-items: center; justify-content: center; color: var(--green); flex: 0 0 auto; }
.vol-perk p { font-size: .88rem; color: var(--muted); }

/* ── forms ──────────────────────────────────────────────── */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--green); margin-bottom: 6px; }
.field label .req { color: var(--moss); }
.field input, .field select {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--tan-soft); background: #fff;
  font-family: inherit; font-size: .95rem; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--moss); box-shadow: 0 0 0 3px rgba(143,174,125,.18);
}
.form-card { background: var(--cream); border: 1px solid var(--tan-soft); border-radius: var(--radius); padding: 32px; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 10px; text-align: center; }

/* ── footer ─────────────────────────────────────────────── */
.footer { background: var(--green-deep); color: #c5d2b8; padding: 64px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer .brand { color: #eef3e6; }
.footer h5 { color: #eef3e6; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; font-weight: 700; }
.footer a { display: block; padding: 5px 0; font-size: .92rem; transition: color .2s; }
.footer a:hover { color: var(--leaf); }
.footer-bot { border-top: 1px solid rgba(197,210,184,.2); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; }

/* ── reveal animation ───────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ── responsive ─────────────────────────────────────────── */
/* ── mobile ──────────────────────────────────────────────── */
@media (max-width: 860px) {
  .section { padding: 56px 0; }
  .hero { padding: 120px 0 64px; }
  .hero-stats { gap: 28px; }
  .hero-stats .n { font-size: 1.9rem; }
  .vol-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .sort-grid { grid-template-columns: 1fr; }
  .incentive { padding: 28px 22px; border-radius: 20px; }
  .gift-cards { flex-direction: column; }
  .gift-btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: 1fr 1fr; }
  .dash-cols { grid-template-columns: 1fr; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .btn { min-height: 48px; }
  .modal { padding: 28px 22px; border-radius: 20px; }
  .form-card { padding: 24px 20px; }
  .board-row { padding: 14px 16px; gap: 10px; }
  .wrap { padding: 0 18px; }
}

@media (max-width: 480px) {
  .dash-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.4rem; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .sort-grid { grid-template-columns: 1fr; }
  .modal { padding: 24px 18px; }
  .nav { padding: 12px 18px; }
  .nav.scrolled { padding: 10px 18px; }
  .marquee { font-size: .72rem; }
}

/* ── hamburger menu ──────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s;
}
.nav-hamburger:hover { background: rgba(143,174,125,.15); }
.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: calc(var(--marquee-h) + 60px);
  left: 0; right: 0;
  background: rgba(251,248,241,.97);
  backdrop-filter: blur(12px);
  z-index: 49;
  padding: 16px 18px 24px;
  border-bottom: 1px solid var(--tan-soft);
  display: none;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-lift);
}
.mobile-menu.open { display: flex; }
.mobile-menu a, .mobile-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  color: var(--green);
  transition: background .2s;
}
.mobile-menu a:hover, .mobile-menu button:hover { background: rgba(143,174,125,.12); }
.mobile-menu .m-divider {
  height: 1px;
  background: var(--tan-soft);
  margin: 8px 0;
}
.mobile-menu .m-primary {
  background: var(--green);
  color: #f3f0e6;
  border-radius: var(--radius-sm);
  margin-top: 4px;
}
.mobile-menu .m-primary:hover { background: var(--green-deep); }

@media (max-width: 860px) {
  .nav-hamburger { display: flex; }
  .nav-cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* ── modals ─────────────────────────────────────────────── */
.overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(34,48,31,.45); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.overlay.open { display: flex; }
.modal {
  background: var(--cream); border-radius: 24px;
  max-width: 420px; width: 100%; padding: 36px;
  box-shadow: var(--shadow-lift); position: relative;
  max-height: 90vh; overflow-y: auto;
  animation: modalIn .3s var(--ease);
}
@keyframes modalIn { from { transform: translateY(16px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
.modal .x {
  position: absolute; top: 18px; right: 18px;
  padding: 6px 12px; font-size: .82rem; font-weight: 600; color: var(--muted);
}
.modal .x:hover { color: var(--ink); }
.modal-head { text-align: center; margin-bottom: 24px; }
.modal-head h3 { font-size: 1.5rem; }
.modal-head p  { color: var(--muted); font-size: .92rem; margin-top: 6px; }
.modal-tabs {
  display: flex; gap: 6px; background: var(--tan-soft);
  padding: 4px; border-radius: 100px; margin-bottom: 22px;
}
.modal-tabs button {
  flex: 1; padding: 9px; border-radius: 100px;
  font-weight: 600; font-size: .88rem; color: var(--green);
  transition: background .2s, color .2s;
}
.modal-tabs button.active { background: var(--cream); color: var(--green-deep); box-shadow: var(--shadow); }
.modal-pane { display: none; }
.modal-pane.active { display: block; }
.modal-foot { text-align: center; margin-top: 18px; font-size: .88rem; color: var(--muted); }
.modal-foot button { color: var(--moss); font-weight: 600; text-decoration: underline; }
.guest-link { display: block; text-align: center; margin-top: 12px; font-size: .86rem; color: var(--muted); }
.guest-link button { color: var(--green); font-weight: 600; text-decoration: underline; }

/* ── toast ──────────────────────────────────────────────── */
.toast-wrap {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 200; display: flex; flex-direction: column; gap: 10px;
  align-items: center; pointer-events: none;
}
.toast {
  background: var(--green-deep); color: #eef3e6;
  padding: 13px 22px; border-radius: 100px;
  font-size: .9rem; font-weight: 500; box-shadow: var(--shadow-lift);
  animation: toastIn .35s var(--ease); white-space: nowrap;
}
.toast.bad { background: #7a3b2c; }
.toast.ok  { background: var(--green); }
@keyframes toastIn { from { transform: translateY(14px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ── leaderboard rows ───────────────────────────────────── */
.board-row {
  display: grid; grid-template-columns: 48px 1fr auto;
  align-items: center; gap: 14px;
  padding: 14px 24px; border-bottom: 1px solid var(--tan-soft);
  transition: background .2s;
}
.board-row:last-child { border-bottom: none; }
.board-row:hover { background: rgba(143,174,125,.07); }
.board-row.lead-row { background: linear-gradient(90deg, rgba(143,174,125,.13), transparent); }
.board-row .rank { font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: var(--moss); text-align: center; }
.board-row.lead-row .rank { color: var(--green-deep); }
.board-row .who { font-weight: 600; color: var(--green-deep); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.board-row .count { font-weight: 700; color: var(--green); font-variant-numeric: tabular-nums; }
.lead-tag { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-deep); background: var(--leaf-soft); padding: 2px 8px; border-radius: 100px; }
.you-tag  { font-size: .78rem; font-weight: 600; color: var(--moss); }

/* ── announcements ──────────────────────────────────────── */
.announcement {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--cream); border: 1px solid var(--tan-soft);
  border-radius: var(--radius); padding: 22px 26px;
  margin-bottom: 14px; transition: box-shadow .2s;
}
.announcement:last-child { margin-bottom: 0; }
.announcement.pinned { border-color: var(--moss); background: rgba(143,174,125,.06); }
.announcement .a-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--moss); flex: 0 0 auto; margin-top: 6px;
}
.announcement.pinned .a-dot { background: var(--green-deep); }
.announcement .a-body { flex: 1; }
.announcement .a-title {
  font-weight: 700; color: var(--green-deep); font-size: .98rem; margin-bottom: 4px;
  display: flex; align-items: center; gap: 8px;
}
.announcement .a-pin {
  font-size: .68rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--green-deep);
  background: var(--leaf-soft); padding: 2px 8px; border-radius: 100px;
}
.announcement .a-msg  { color: var(--muted); font-size: .92rem; line-height: 1.55; }
.announcement .a-date { font-size: .78rem; color: var(--tan); margin-top: 8px; }