/* =====================================================================
   HOME — Common Ground
   ===================================================================== */

/* ---------- Hero (full-bleed background) ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; padding: clamp(120px, 16vh, 180px) 0 clamp(28px, 4vw, 52px); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img, .hero-bg video { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg,
    color-mix(in srgb, var(--cream) 97%, transparent) 0%,
    color-mix(in srgb, var(--cream) 94%, transparent) 38%,
    color-mix(in srgb, var(--cream) 62%, transparent) 62%,
    color-mix(in srgb, var(--teal-deep) 30%, transparent) 100%);
}
.hero-inner { position: relative; width: 100%; display: grid; grid-template-columns: 1.35fr 0.65fr; gap: clamp(24px, 4vw, 54px); align-items: end; }
.hero .seal { position: absolute; top: 2px; right: 0; color: var(--ink); }
.sec-sub { margin: 0.9rem 0 0; font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.5; color: var(--ink-70); max-width: 46ch; }
.mission-kicker { color: var(--orange-deep); margin-bottom: clamp(16px, 2vw, 26px); }
.hero-lead { align-self: start; }
.hero-label { display: block; font-size: clamp(1.05rem, 1.35vw, 1.3rem); font-weight: 500; line-height: 1.45; letter-spacing: -0.005em; color: var(--ink); margin: clamp(18px, 2.2vw, 28px) 0 0; max-width: 40ch; }
.hero-title { font-size: clamp(2.8rem, 8vw, 7.6rem); line-height: 0.9; letter-spacing: -0.035em; }
.hero-title > span { display: block; }
.hero-title .amp { color: var(--orange); }
.hero-card { background: var(--teal); color: var(--on-teal); border-radius: var(--r-lg); padding: clamp(30px, 3vw, 46px); box-shadow: 0 30px 70px rgba(2, 51, 45, 0.28); }
.hero-card .lede { color: var(--on-teal); margin: 0; }
.hero-card .stat { display: flex; gap: 20px; margin: clamp(22px, 2.6vw, 32px) 0; padding: clamp(18px, 2vw, 24px) 0; border-top: 1.5px solid var(--line-teal); border-bottom: 1.5px solid var(--line-teal); }
.hero-card .stat div { flex: 1; }
.hero-card .stat b { font-family: var(--disp); font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.5rem); display: block; line-height: 1; }
.hero-card .stat span { font-size: 0.82rem; color: var(--on-teal-dim); }
.hero-card .btn-row { flex-wrap: nowrap; gap: 0.6rem; }
.hero-card .btn-row .btn { flex: 1 1 0; min-width: 0; justify-content: center; padding: 0 1.1rem; font-size: 0.92rem; }

@media (max-width: 940px) {
  .hero { min-height: 0; padding-top: clamp(108px, 14vh, 148px); }
  .hero-inner { grid-template-columns: 1fr; align-items: start; }
  .hero .seal { display: none; }
}

/* ---------- Marquee (bold, not editorial) ---------- */
.strip { background: var(--ink); color: var(--cream); overflow: hidden; padding: 16px 0; }
.strip-track { display: flex; gap: 2.4rem; white-space: nowrap; width: max-content; animation: mv 30s linear infinite; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip span { font-family: var(--disp); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2.2rem); letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 2.4rem; }
.strip .star { color: var(--orange-2); }
@keyframes mv { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .strip-track{ animation:none; } }

/* ---------- Mission ---------- */
.mission { text-align: center; }
.mission .eyebrow { margin-bottom: clamp(22px, 3vw, 36px); }
.mission-statement { font-family: var(--disp); font-weight: 600; font-size: clamp(1.9rem, 4.6vw, 4rem); line-height: 1.02; letter-spacing: -0.03em; max-width: 20ch; margin: 0 auto; text-wrap: balance; }
.mission-statement em { font-style: italic; color: var(--orange); }
.mission-foot { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: clamp(28px, 4vw, 48px); }

/* ---------- Pillars (what we do) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.pillar { background: var(--paper); border-radius: var(--r); padding: clamp(24px, 2.4vw, 36px); display: flex; flex-direction: column; min-height: 300px; transition: transform 0.4s var(--ease); border: 1.5px solid transparent; }
.pillar:hover { transform: translateY(-6px); border-color: var(--line); }
.pillar .pico { width: 56px; height: 56px; border-radius: 999px; display: grid; place-items: center; background: var(--orange); color: #fff; margin-bottom: auto; }
.pillar .pico svg { width: 28px; height: 28px; }
.pillar.teal .pico { background: var(--teal); color: var(--on-teal); }
.pillar.sun .pico { background: var(--sun); color: var(--ink); }
.pillar h3 { margin: 1.8rem 0 0.6rem; }
.pillar p { color: var(--ink-70); font-size: 0.98rem; margin: 0; }
.pillar .arrow { margin-top: 1.2rem; font-size: 0.92rem; }
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } .pillar { min-height: 0; } }

/* ---------- Land feature ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 68px); align-items: center; }
.feature-media { border-radius: var(--r-lg); overflow: hidden; position: relative; }
.feature-media img { width: 100%; aspect-ratio: 1/1; object-fit: cover; transition: transform 1.4s var(--ease); }
.feature-media:hover img { transform: scale(1.04); }
.feature h2 { margin: 1.2rem 0 1.3rem; }
.feature .arrow { margin-top: 1.6rem; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature-media img { aspect-ratio: 4/3; } }

/* ---------- Ecology cards (teal section) ---------- */
.eco-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.eco-card { border-radius: var(--r); overflow: hidden; background: var(--teal-2); }
.eco-card .ec-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.eco-card .ec-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.eco-card:hover .ec-img img { transform: scale(1.05); }
.eco-card .ec-body { padding: clamp(18px, 2vw, 26px); }
.eco-card h3 { color: var(--on-teal); }
.eco-card p { color: var(--on-teal); font-size: 0.94rem; margin: 0.6rem 0 0; }
.eco-card .ec-tag { display: inline-block; margin-bottom: 0; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #ffe6ad; }
@media (max-width: 780px) { .eco-cards { grid-template-columns: 1fr; max-width: 420px; } }

/* ---------- Events ---------- */
.ev-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.ev { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(16px, 2vw, 26px); align-items: center; background: var(--paper); border-radius: var(--r); padding: clamp(18px, 1.8vw, 26px); transition: transform 0.35s var(--ease), background-color 0.3s; border: 1.5px solid transparent; }
.ev:hover { transform: translateY(-4px); border-color: var(--line); }
.ev-date { width: 88px; height: 88px; border-radius: 18px; background: var(--orange); color: #fff; display: grid; place-content: center; text-align: center; flex: none; }
.ev-date .m { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.ev-date .d { font-family: var(--disp); font-weight: 700; font-size: 2rem; line-height: 0.9; }
.ev.teal .ev-date { background: var(--teal); color: var(--on-teal); }
.ev.sun .ev-date { background: var(--sun); color: var(--ink); }
.ev-body h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); }
.ev-body .ev-with { color: var(--ink-45); font-size: 0.92rem; margin: 0.3rem 0 0; }
.ev-body .ev-cat { display: inline-block; margin-top: 0.7rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--orange-deep); }
.ev-arrow { align-self: center; width: 46px; height: 46px; border-radius: 999px; border: 1.5px solid var(--line); display: inline-grid; place-items: center; color: var(--ink); transition: background-color 0.35s var(--ease), color 0.3s, border-color 0.3s, transform 0.35s var(--ease); }
.ev-arrow svg { width: 1.1em; height: 1.1em; }
.ev:hover .ev-arrow { background: var(--ink); border-color: var(--ink); color: var(--cream); transform: translateY(-2px); }
.ev.teal:hover .ev-arrow { background: var(--teal); border-color: var(--teal); color: var(--on-teal); }
@media (max-width: 720px) { .ev-grid { grid-template-columns: 1fr; } }

/* ---------- Recap (orange band) ---------- */
.recap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.recap-copy h2 { margin: 0 0 1.2rem; }
.recap-copy .lede { color: var(--ink); max-width: 34ch; }
.partners { }
.partners-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); margin: 0 0 1rem; }
.partners-logos { display: grid; gap: 14px; }
.partners-logos img { width: 100%; max-height: none; background: #fff; padding: 20px 26px; border-radius: 20px; object-fit: contain; }
@media (max-width: 860px) { .recap { grid-template-columns: 1fr; } .recap-copy .lede { max-width: none; } }

/* ---------- Support ---------- */
.support-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(16px, 2vw, 26px); }
.give-card { background: var(--paper); border-radius: var(--r-lg); padding: clamp(28px, 3vw, 44px); }
.give-card h2 { margin-bottom: 1rem; }
.give-card .tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 1.6rem 0; }
.tier { border-radius: 16px; background: var(--cream); padding: 18px; }
.tier .tn { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--orange-deep); }
.tier .tp { font-family: var(--disp); font-weight: 700; font-size: 2.6rem; line-height: 1; margin: 6px 0 2px; }
.tier .td { font-size: 0.84rem; color: var(--ink-45); }
.nl-card { background: var(--sun); border-radius: var(--r-lg); padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; color: var(--ink); }
.nl-card h2 { margin-bottom: 0.8rem; }
.nl-card p { color: color-mix(in srgb, var(--ink) 78%, var(--sun)); }
.nl-form { margin-top: auto; padding-top: 1.6rem; }
.nl-form label { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }
.nl-form .nl-input { display: flex; gap: 8px; }
.nl-form input { flex: 1; height: 56px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--cream); padding: 0 1.2rem; font: inherit; font-size: 1rem; }
.nl-form input:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
.nl-form .btn { flex: none; }
.ein { font-size: 0.78rem; color: color-mix(in srgb, var(--ink) 62%, var(--sun)); margin-top: 1rem; }
.form-status { min-height: 1.3em; margin: 0.7rem 0 0; font-size: 0.9rem; font-weight: 600; }
@media (max-width: 820px) { .support-grid { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .give-card .tiers { grid-template-columns: 1fr; } .nl-form .nl-input { flex-direction: column; } .nl-form input, .nl-form .btn { width: 100%; } }
