/* ============================================================
   Touch Grass Initiative — site styles
   Edit the :root variables below to retheme the whole site.
   ============================================================ */

:root {
  /* Brand palette (matched from the original site) */
  --ink:       #0f3318;   /* deep forest green — header, footer, hero */
  --green-mid: #1a5c2a;   /* mid green — stats band, accents */
  --green-700: #14421f;   /* between ink and mid */
  --cream:     #f5f0e8;   /* warm off-white — light sections */
  --cream-2:   #ece5d8;   /* slightly deeper cream for cards */
  --lime:      #a3e635;   /* lime accent — CTAs, links, highlights */
  --lime-600:  #84cc16;   /* darker lime for hover */
  --text:      #0a0a0a;   /* body text on light */
  --text-dim:  #4b5540;   /* muted text on light */
  --on-dark:   #f5f0e8;   /* text on dark */
  --on-dark-dim: rgba(245, 240, 232, .68);
  --line-dark: rgba(245, 240, 232, .14);
  --line-light: #d9d2c4;

  --maxw: 1160px;
  --radius: 14px;
  --shadow: 0 18px 50px -22px rgba(15, 51, 24, .45);
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
}

/* ---------- Display headings ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: .92;
  letter-spacing: .5px;
  margin: 0;
  text-transform: uppercase;
}
h1 { font-size: clamp(3.4rem, 11vw, 8.5rem); }
h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: .8px; }
h4 { font-size: 1.35rem; letter-spacing: 1px; }

p { margin: 0 0 1rem; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .74rem;
  font-weight: 700;
  color: var(--lime-600);
  margin: 0 0 18px;
}
.eyebrow--ondark { color: var(--lime); }

.lead { font-size: clamp(1.05rem, 1.5vw, 1.28rem); line-height: 1.65; }
.text-lime { color: var(--lime); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  padding: 15px 30px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--lime {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 10px 26px -12px rgba(163, 230, 53, .8);
}
.btn--lime:hover { background: #b4ef52; }
.btn--ghost-dark {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(245, 240, 232, .5);
}
.btn--ghost-dark:hover { border-color: var(--on-dark); background: rgba(245, 240, 232, .08); }
.btn--ghost-light {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-light);
}
.btn--ghost-light:hover { border-color: var(--ink); background: rgba(15, 51, 24, .05); }
.btn--sm { padding: 10px 20px; font-size: .85rem; }
.btn--lg { padding: 18px 40px; font-size: 1.05rem; }

/* Text link with arrow */
.tlink {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-mid);
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.tlink svg { transition: transform .18s ease; }
.tlink:hover svg { transform: translateX(4px); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid var(--line-dark);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
/* Reversed (light) variant of the real logo — cream mark/text + green grass —
   sits directly on the dark green header/footer, no chip needed. */
.nav__logo { display: inline-block; line-height: 0; }
.nav__logo img { height: 46px; width: auto; display: block; }
.footer__brand .nav__logo img { height: 54px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a:not(.btn) {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--on-dark-dim);
  transition: color .15s ease;
}
.nav__links a:not(.btn):hover { color: var(--lime); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 26px; height: 2px;
  background: var(--on-dark);
  transition: .25s;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 80% -10%, rgba(163, 230, 53, .16), transparent 55%),
    linear-gradient(175deg, rgba(18, 60, 28, .78) 0%, rgba(15, 51, 24, .84) 42%, rgba(11, 39, 18, .95) 100%),
    url("../img/photos/hero.jpg") center 32% / cover no-repeat;
  color: var(--on-dark);
  min-height: min(94vh, 900px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 90px 0 70px;
}
/* faint grass-blade silhouette at the base */
.hero__blades {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 220px;
  opacity: .5;
  pointer-events: none;
}
.hero__content { position: relative; max-width: 900px; }
.hero h1 { margin-bottom: 26px; }
.hero h1 .line { display: block; }
.hero .lead { max-width: 620px; color: var(--on-dark-dim); }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--on-dark-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero__scroll span {
  width: 1px; height: 34px;
  background: linear-gradient(var(--lime), transparent);
  animation: scrollpulse 1.8s ease-in-out infinite;
}
@keyframes scrollpulse { 0%,100%{opacity:.3;transform:scaleY(.6);} 50%{opacity:1;transform:scaleY(1);} }

/* ============================================================
   Sections
   ============================================================ */
.section { padding: clamp(70px, 10vw, 130px) 0; }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--cream { background: var(--cream); }
.center { text-align: center; }
.section__head { max-width: 720px; margin: 0 auto 60px; }
.section__head.center { text-align: center; }

/* Mission */
.mission h2 { max-width: 15ch; margin-bottom: 26px; }
.mission h2 .text-lime { display: inline; }
.mission p { color: var(--on-dark-dim); max-width: 560px; font-size: 1.12rem; }
.mission__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 50px;
  align-items: center;
}
.mission__photo { position: relative; }
.mission__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ============================================================
   App suite
   ============================================================ */
.apps__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}
.appcard {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 34px;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.appcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green-mid); }
.appcard__eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.appcard h3 { color: var(--ink); margin-bottom: 12px; }
.appcard p { color: var(--text-dim); flex: 1; }
.appcard__icon {
  width: 54px; height: 54px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--cream-2);
  color: var(--green-mid);
  margin-bottom: 20px;
}
.appcard__icon svg { width: 28px; height: 28px; }

/* Photo banner across the top of a card, bleeding to its edges */
.appcard__photo {
  margin: -34px -34px 24px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}
.appcard__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.appcard:hover .appcard__photo img { transform: scale(1.04); }

/* Featured (Screen Time Credits) */
.appcard--feature {
  grid-row: span 2;
  background:
    linear-gradient(165deg, rgba(15, 51, 24, .58) 0%, rgba(11, 39, 18, .93) 72%),
    url("../img/photos/kids-outdoors.jpg") center / cover no-repeat;
  border-color: transparent;
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
  justify-content: flex-end;
  min-height: 340px;
}
.appcard--feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 70% at 90% 0%, rgba(163,230,53,.18), transparent 60%);
}
.appcard--feature > * { position: relative; }
.appcard--feature h3 { color: var(--on-dark); font-size: clamp(1.8rem, 3vw, 2.6rem); }
.appcard--feature p { color: var(--on-dark-dim); flex: none; margin-bottom: 22px; }
.appcard--feature .appcard__icon { background: rgba(163,230,53,.15); color: var(--lime); }
.badge {
  position: absolute;
  top: 22px; right: 22px;
  background: var(--lime);
  color: var(--ink);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 100px;
}
.appcard--feature .appcard__eyebrow { color: var(--lime); }

/* ============================================================
   Pickleball strip
   ============================================================ */
.pickle {
  background: var(--cream-2);
  overflow: hidden;
}
.pickle__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}
.pickle h2 { color: var(--ink); margin-bottom: 20px; }
.pickle p { color: var(--text-dim); max-width: 46ch; }
.pickle__art { display: grid; place-items: center; }
.pickle__art img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ============================================================
   Stats band
   ============================================================ */
.stats { background: var(--green-mid); color: var(--on-dark); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.6rem);
  color: var(--lime);
  line-height: 1;
}
.stat__label {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--on-dark-dim);
  margin-top: 10px;
}

/* ============================================================
   Early access CTA
   ============================================================ */
.access { text-align: center; }
.access h2 { color: var(--ink); margin: 0 auto 22px; max-width: 12ch; }
.access .lead { max-width: 560px; margin: 0 auto 32px; color: var(--text-dim); }
.access .fineprint { margin-top: 18px; color: var(--text-dim); font-size: .85rem; }

/* Signup form */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.signup { max-width: 540px; margin: 32px auto 0; }
.signup__row { display: flex; gap: 12px; }
.signup__input {
  flex: 1;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 1.02rem;
  padding: 16px 20px;
  border-radius: 6px;
  border: 2px solid var(--line-light);
  background: #fff;
  color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.signup__input::placeholder { color: #9aa08f; }
.signup__input:focus {
  outline: none;
  border-color: var(--green-mid);
  box-shadow: 0 0 0 4px rgba(163, 230, 53, .28);
}
.signup__input[aria-invalid="true"] { border-color: #c0472f; }
.signup__btn { white-space: nowrap; }
.signup__btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.signup__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.signup__msg {
  min-height: 1.4em;
  margin: 14px 0 0;
  font-size: .92rem;
  font-weight: 600;
}
.signup__msg--ok { color: var(--green-mid); }
.signup__msg--err { color: #c0472f; }

@media (max-width: 560px) {
  .signup__row { flex-direction: column; }
  .signup__btn { width: 100%; }
}

/* ============================================================
   Marquee
   ============================================================ */
.marquee {
  background: var(--ink);
  color: var(--on-dark);
  padding: 26px 0;
  overflow: hidden;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.marquee__track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0 26px;
  white-space: nowrap;
  color: var(--on-dark-dim);
}
.marquee__track .sep { color: var(--lime); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--on-dark);
  padding: 70px 0 34px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line-dark);
}
.footer__brand .brand-word { font-size: 1.7rem; }
.footer__tag { color: var(--on-dark-dim); margin-top: 16px; max-width: 34ch; font-size: .95rem; }
.footer__col h5 {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--lime);
  margin: 0 0 16px;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer__col a { color: var(--on-dark-dim); font-size: .92rem; transition: color .15s ease; }
.footer__col a:hover { color: var(--on-dark); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 26px;
  font-size: .84rem;
  color: var(--on-dark-dim);
}
.footer__legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__legal a:hover { color: var(--lime); }

/* ============================================================
   Sub-page components
   ============================================================ */

/* Nav active state */
.nav__links a.is-active { color: var(--lime); }

/* Compact page hero — photo-forward: the image reads clearly under a
   dark gradient, matching the original site's photographic hero bands. */
.page-hero {
  position: relative;
  background:
    linear-gradient(rgba(10, 25, 12, .55) 0%, rgba(10, 25, 12, .72) 60%, rgba(10, 25, 12, .88) 100%),
    var(--page-hero-img, none) center 30% / cover no-repeat;
  background-color: var(--ink);
  color: var(--on-dark);
  padding: clamp(90px, 14vw, 170px) 0 clamp(70px, 9vw, 110px);
}
.page-hero h1 { font-size: clamp(3rem, 8vw, 6.2rem); margin-bottom: 22px; }
.page-hero .lead { max-width: 640px; color: var(--on-dark-dim); }
.page-hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.page-hero__links a {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--on-dark-dim);
  border: 1px solid var(--line-dark);
  border-radius: 100px;
  padding: 9px 18px;
  transition: color .15s ease, border-color .15s ease;
}
.page-hero__links a:hover { color: var(--lime); border-color: var(--lime); }

/* Mid-green band (original uses #1a5c2a for closing CTAs and the signup form) */
.section--mid { background: var(--green-mid); color: var(--on-dark); }
.section--mid h2, .section--mid h3 { color: var(--on-dark); }
.section--mid .lead, .section--mid p { color: var(--on-dark-dim); }

/* Full-bleed photo band (About hero / team band on the original) */
.photo-band {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(360px, 48vw, 560px);
  color: var(--on-dark);
  overflow: hidden;
}
.photo-band > img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.photo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(10, 25, 12, .35) 0%, rgba(10, 25, 12, .55) 55%, rgba(10, 25, 12, .88) 100%);
}
.photo-band .container { position: relative; z-index: 1; padding-top: 60px; padding-bottom: clamp(40px, 6vw, 70px); }
.photo-band h1 { font-size: clamp(3rem, 8vw, 6.4rem); margin-bottom: 14px; }
.photo-band h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); margin-bottom: 12px; }
.photo-band .lead { max-width: 640px; color: rgba(245, 240, 232, .85); }

/* Alternating detail sections (apps, get-involved pathways) */
.detail { padding: clamp(60px, 8vw, 100px) 0; }
.detail + .detail { border-top: 1px solid var(--line-light); }

/* Dark variant — original alternates cream / deep green */
.detail--dark { background: var(--ink); color: var(--on-dark); }
.detail--dark + .detail, .detail + .detail--dark { border-top: 0; }
.detail--dark h2 { color: var(--on-dark); }
.detail--dark .detail__tag { color: var(--lime); }
.detail--dark p { color: var(--on-dark-dim); }
.detail--dark .checks li { color: var(--on-dark); }
.detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.detail__grid--rev .detail__media { order: 2; }
.detail__media { position: relative; }
.detail__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  /* square corners — matches the original's sharp editorial photo style */
}

/* App screenshot variant — tall phone capture instead of a landscape photo */
.detail__media--shot { display: grid; place-items: center; }
.detail__media--shot img {
  width: min(320px, 82%);
  aspect-ratio: auto;
  object-fit: contain;
  border: 1px solid var(--line-light);
  border-radius: 18px;
  box-shadow: 0 24px 60px -28px rgba(15, 51, 24, .5);
  background: #fff;
}
.detail--dark .detail__media--shot img { border-color: var(--line-dark); }
.detail__badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--lime);
  color: var(--ink);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 100px;
}
.detail__num {
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--lime-600);
  margin: 0 0 10px;
}
.detail h2 { color: var(--ink); margin-bottom: 8px; }
.detail__tag {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green-mid);
  margin: 0 0 16px;
}
.detail p { color: var(--text-dim); }

/* Lime feature checklist */
.checks {
  list-style: none;
  margin: 20px 0 26px;
  padding: 0;
  display: grid;
  gap: 11px;
}
.checks li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
  font-size: .98rem;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--lime) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%230f3318" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><path d="M4.5 12.5l5 5 10-11"/></svg>') center / 11px no-repeat;
}

/* Filter chips (static) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 34px; }
.chips span {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--line-light);
  border-radius: 100px;
  padding: 8px 16px;
  background: #fff;
}
.chips span.is-on { background: var(--ink); color: var(--lime); border-color: var(--ink); }

/* Club cards */
.clubs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.club {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.club:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--green-mid); }
.club__sport {
  align-self: flex-start;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-mid);
  background: var(--cream-2);
  border-radius: 100px;
  padding: 5px 12px;
  margin-bottom: 6px;
}
.club h3 { color: var(--ink); font-size: 1.4rem; }
.club__meta { color: var(--text-dim); font-size: .88rem; margin: 0; }
.club .tlink { margin-top: 12px; }

/* Event rows */
.event-feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 30px;
  align-items: center;
  background: var(--green-700);
  color: var(--on-dark);
  overflow: hidden;
  margin-bottom: 22px;
}
.event-feature img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.event-feature__body { padding: 34px; }
.event-feature__body h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 10px; }
.event-feature__body p { color: var(--on-dark-dim); }
.events-list { display: grid; gap: 12px; }
.event-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: 12px;
  padding: 18px 22px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.event-row:hover { border-color: var(--green-mid); box-shadow: var(--shadow); }
.event-row__date {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--green-mid);
  min-width: 92px;
}
.event-row__main { flex: 1; min-width: 220px; }
.event-row__main h4 { color: var(--ink); margin-bottom: 2px; }
.event-row__main p { margin: 0; color: var(--text-dim); font-size: .86rem; }
.event-row__spots { font-size: .8rem; font-weight: 700; color: var(--text-dim); }
.event-row__spots.is-low { color: #c0472f; }

/* Map placeholder */
.map-card {
  position: relative;
  overflow: hidden;
}
.map-card img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.map-card__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  background: rgba(15, 51, 24, .62);
  color: var(--on-dark);
  padding: 24px;
}
.map-card__overlay h3 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: 10px; }
.map-card__overlay p { color: var(--on-dark-dim); max-width: 40ch; }

/* Values — plain text blocks in a 2×2 grid on deep green (as the original) */
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 60px) clamp(30px, 5vw, 70px);
  max-width: 980px;
  margin: 0 auto;
}
.value h3 {
  color: var(--lime);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin-bottom: 10px;
}
.value p { color: var(--on-dark-dim); margin: 0; }

/* Timeline — on cream, small lime year label above each milestone */
.timeline { display: grid; gap: 0; max-width: 720px; margin: 0 auto; }
.tl-item {
  position: relative;
  padding: 0 0 38px 42px;
  border-left: 2px solid var(--line-light);
  margin-left: 8px;
}
.tl-item:last-child { border-left-color: transparent; padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -9px; top: 2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--lime);
  border: 3px solid var(--cream);
}
.tl-item .tl-year {
  display: block;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .2em;
  color: var(--lime-600);
  margin-bottom: 4px;
}
.tl-item h3 { color: var(--ink); font-size: 1.5rem; margin-bottom: 6px; }
.tl-item p { color: var(--text-dim); margin: 0; max-width: 56ch; }

/* Founder figure — large square photo with the quote overlaid at its base */
.founder-figure { position: relative; overflow: hidden; }
.founder-figure img {
  width: 100%;
  aspect-ratio: 9 / 8;
  object-fit: cover;
  display: block;
}
.founder-figure figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: clamp(50px, 8vw, 80px) clamp(20px, 3vw, 32px) clamp(18px, 3vw, 28px);
  background: linear-gradient(transparent, rgba(10, 25, 12, .88));
  color: var(--on-dark);
}
.founder-figure blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.founder-figure cite {
  display: block;
  margin-top: 8px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lime);
}

/* FAQ accordion */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: 12px;
  padding: 0 22px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--ink);
  padding: 20px 30px 20px 0;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--green-mid);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--text-dim); padding-bottom: 20px; margin: 0; }

/* Extended signup form (get-involved) */
.bigform { max-width: 640px; margin: 36px auto 0; text-align: left; display: grid; gap: 14px; }
.bigform label { font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.bigform input, .bigform select, .bigform textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 18px;
  border-radius: 6px;
  border: 2px solid var(--line-light);
  background: #fff;
  color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.bigform input:focus, .bigform select:focus, .bigform textarea:focus {
  outline: none;
  border-color: var(--green-mid);
  box-shadow: 0 0 0 4px rgba(163, 230, 53, .28);
}
.bigform .btn { justify-self: start; }

/* Small stat chips row (get-involved form header) */
.mini-stats { display: flex; flex-wrap: wrap; gap: 26px; justify-content: center; margin: 24px 0 6px; }
.mini-stats div { text-align: center; }
.mini-stats .n { font-family: var(--font-display); font-size: 2rem; color: var(--lime-600); line-height: 1; }
.mini-stats .l { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }

/* Legal pages (privacy / terms) */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 {
  color: var(--ink);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: 44px 0 14px;
}
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text-dim); }
.prose ul { padding-left: 22px; margin: 0 0 1rem; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--green-mid); font-weight: 600; text-decoration: underline; }
.prose .updated {
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 34px;
}

/* Form on the mid-green band (original places the signup form there) */
.section--mid .eyebrow { color: var(--lime); }
.section--mid .bigform label { color: var(--on-dark); }
.section--mid .mini-stats .n { color: var(--lime); }
.section--mid .mini-stats .l { color: var(--on-dark-dim); }
.section--mid .signup__msg--ok { color: var(--lime); }
.section--mid .signup__msg--err { color: #ffb4a4; }
.section--mid .fineprint { color: var(--on-dark-dim); }

@media (max-width: 900px) {
  .detail__grid { grid-template-columns: 1fr; }
  .detail__grid--rev .detail__media { order: 0; }
  .clubs-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .event-feature { grid-template-columns: 1fr; }
  .quote { grid-template-columns: 1fr; text-align: center; }
  .quote img { margin: 0 auto; }
}
@media (max-width: 620px) {
  .clubs-grid, .values-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .marquee__track, .hero__scroll span { animation: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .mission__grid,
  .apps__grid,
  .pickle__grid { grid-template-columns: 1fr; }
  .appcard--feature { grid-row: auto; min-height: 300px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute;
    top: 74px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--ink);
    border-bottom: 1px solid var(--line-dark);
    padding: 14px 22px 22px;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links li { width: 100%; }
  .nav__links a:not(.btn) { display: block; padding: 10px 0; }
  .nav__links .btn { width: 100%; margin-top: 6px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; }
}
