/* ============================================================
   CSS CUSTOM PROPERTIES — edit colors / fonts here
============================================================ */
:root {
  --green:       #2D5016;
  --green-dark:  #1f3a0f;
  --green-light: #3d6b1f;
  --red:         #C0392B;
  --red-dark:    #a93226;
  --brown:       #6B3A2A;
  --cream:       #F5F0E8;
  --cream-dark:  #ede5d4;
  --white:       #ffffff;
  --text-dark:   #1a1a1a;
  --text-mid:    #4a4a4a;

  --font-body:   'DM Sans', sans-serif;
  --font-display:'Playfair Display', serif;

  --radius:      10px;
  --radius-lg:   18px;
  --shadow:      0 4px 24px rgba(0,0,0,.10);
  --shadow-lg:   0 8px 48px rgba(0,0,0,.14);
  --transition:  .25s ease;
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 80px; /* clears the fixed navbar on anchor jumps */
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
}

section { overflow: hidden; }

/* ============================================================
   UTILITY CLASSES
============================================================ */
.container {
  width: min(1140px, 100%);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.section-label {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .6rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 580px;
  line-height: 1.7;
}

.btn {
  display: inline-block;
  padding: .8rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.btn:active { transform: translateY(0); }

.btn-red {
  background: var(--red);
  color: var(--white);
}
.btn-red:hover { background: var(--red-dark); }

/* Fade-in animation.
   Content is visible by default; main.js adds .js-animate to <html> just
   before it starts observing, so a JS failure leaves the page readable
   rather than blank. */
.fade-in {
  transition: opacity .65s ease, transform .65s ease;
}
.js-animate .fade-in {
  opacity: 0;
  transform: translateY(28px);
}
.js-animate .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in.delay-1 { transition-delay: .1s; }
.fade-in.delay-2 { transition-delay: .2s; }
.fade-in.delay-3 { transition-delay: .3s; }

/* ============================================================
   NAVIGATION
============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--cream);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}

#navbar.scrolled {
  border-color: var(--cream-dark);
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: .9rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
}

.nav-logo img {
  height: 42px;
  width: auto;
}

/* Wordmark shown alongside the logo image */
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--green);
  letter-spacing: .01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--green);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition), color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  border-color: var(--red);
  color: var(--green-dark);
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .4rem;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 780px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.2rem clamp(1.25rem,5vw,3rem) 1.5rem;
    gap: 1.1rem;
    border-bottom: 1px solid var(--cream-dark);
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
  }
  .nav-links.open { display: flex; }
}

/* ============================================================
   HERO
============================================================ */
#hero {
  padding-top: 80px; /* offset for fixed nav */
  background: var(--cream);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-block: clamp(4rem, 10vw, 7rem);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(45,80,22,.10);
  color: var(--green);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 50px;
  margin-bottom: 1.4rem;
}

.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.hero-headline em {
  font-style: italic;
  color: var(--red);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  font-size: .82rem;
  color: var(--green);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.hero-scroll-hint svg { animation: bounce 2s infinite; }
@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

.hero-image-wrap {
  position: relative;
  z-index: 0; /* contains the z-index:-1 backdrop below */
}

.hero-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow-lg);
  display: block;
}

/* Decorative shape behind image */
.hero-image-wrap::before {
  content: '';
  position: absolute;
  inset: -16px -16px -16px -16px;
  background: var(--cream-dark);
  border-radius: calc(var(--radius-lg) + 16px);
  z-index: -1;
}

/* Partnership badge */
.hero-badge {
  position: absolute;
  bottom: -1.2rem;
  left: -1.2rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: .8rem 1.1rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .82rem;
}

.hero-badge-icon {
  width: 38px; height: 38px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-badge-icon svg { width: 18px; height: 18px; fill: var(--cream); }

.hero-badge-text strong { display: block; color: var(--green); font-size: .82rem; font-weight: 600; }
.hero-badge-text span { color: var(--text-mid); font-size: .75rem; }

@media (max-width: 780px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding-block: 3rem 2.5rem;
    gap: 2.5rem;
  }
  .hero-image-wrap { order: -1; }
  .hero-badge { bottom: -.8rem; left: .5rem; }
}

/* ============================================================
   MISSION
============================================================ */
#mission {
  background: var(--green);
  color: var(--cream);
  position: relative;
}

.mission-inner {
  padding-block: clamp(4rem, 9vw, 6.5rem);
  position: relative;
  z-index: 1;
}

/* Decorative SVG accent */
#mission .bg-accent {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  opacity: .08;
  width: 480px;
  pointer-events: none;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.mission-left .section-label { color: rgba(245,240,232,.6); }
.mission-left .section-heading { color: var(--cream); margin-bottom: 1.5rem; }

.mission-statement {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--cream);
  line-height: 1.65;
  margin-bottom: 1.2rem;
  font-family: var(--font-display);
  font-style: italic;
}

.mission-vision {
  font-size: .97rem;
  color: rgba(245,240,232,.8);
  line-height: 1.75;
}

.mission-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.partner-photo-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.partner-photo {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.partner-box {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  backdrop-filter: blur(4px);
}

.partner-box-label {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(245,240,232,.6);
  margin-bottom: .8rem;
}

.partner-names {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--cream);
  line-height: 1.5;
}

.partner-names strong { display: block; }
.partner-names span { color: rgba(245,240,232,.7); font-size: .95rem; }

.mission-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-card {
  background: rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  text-align: center;
}

.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--cream);
  line-height: 1;
  margin-bottom: .3rem;
}

.stat-card span {
  font-size: .8rem;
  color: rgba(245,240,232,.65);
  font-weight: 500;
}

@media (max-width: 780px) {
  .mission-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  #mission .bg-accent { display: none; }
}

/* ============================================================
   SHARED CARD SECTION STYLES (Classes + Builds)
============================================================ */
.card-section {
  padding-block: clamp(4rem, 9vw, 6.5rem);
}

.card-section-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--cream-dark);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.card-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--cream-dark), var(--cream));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  color: var(--text-mid);
  font-weight: 500;
  letter-spacing: .04em;
  border-bottom: 1px solid var(--cream-dark);
}

.card-body { padding: 1.4rem; }

.card-tag {
  display: inline-block;
  background: rgba(45,80,22,.10);
  color: var(--green);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .25rem .7rem;
  border-radius: 50px;
  margin-bottom: .8rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: .5rem;
}

.card-desc {
  font-size: .88rem;
  color: var(--text-mid);
  line-height: 1.65;
}

.coming-soon-bar {
  margin-top: 2rem;
  padding: 1.2rem 1.6rem;
  background: rgba(45,80,22,.06);
  border: 1.5px dashed rgba(45,80,22,.25);
  border-radius: var(--radius);
  font-size: .9rem;
  color: var(--green);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: .7rem;
}

.coming-soon-bar::before {
  content: '🌱';
  font-size: 1.1rem;
}

/* Classes section — cream bg */
#container-garden-classes { background: var(--cream); }

/* Fundraising section — slight warm tint (formerly Garden Bed Builds) */
#fundraising { background: #f0e9d8; }

/* ============================================================
   FUNDRAISING — donate callout + events calendar
============================================================ */
.donate-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--green);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2rem 2.4rem;
  box-shadow: var(--shadow);
  margin-bottom: 3rem;
}

.donate-callout-text h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: .4rem;
}

.donate-callout-text p {
  font-size: .92rem;
  color: rgba(245,240,232,.85);
  max-width: 440px;
  line-height: 1.6;
}

.calendar-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.calendar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.8rem;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.calendar-month-label {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--green);
  text-align: center;
}

.calendar-nav {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--cream);
  color: var(--green);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition);
}
.calendar-nav:hover { background: var(--cream-dark); }

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--text-mid);
  margin-bottom: .5rem;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  border-radius: 50%;
  font-family: var(--font-body);
  font-size: .85rem;
  color: var(--text-dark);
  cursor: default;
}

.calendar-day.empty { visibility: hidden; }

.calendar-day.today {
  border: 1.5px solid var(--green);
  font-weight: 600;
}

.calendar-day.has-event {
  background: var(--green);
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
}
.calendar-day.has-event:hover { background: var(--green-dark); }

.calendar-events h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--green);
  margin-bottom: 1.2rem;
}

.events-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 360px;
  overflow-y: auto;
}

.event-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: .9rem 1.1rem;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition);
}

.event-item.highlight { box-shadow: 0 0 0 2px var(--green), var(--shadow); }

.event-date-badge {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
}
.event-date-month {
  font-size: .68rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.event-date-day {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green);
}

.event-item-body h4 {
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: .25rem;
  color: var(--text-dark);
}
.event-item-body p {
  font-size: .82rem;
  color: var(--text-mid);
  line-height: 1.55;
}
.event-item-body a {
  display: inline-block;
  margin-top: .35rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--green);
}

.events-empty {
  font-size: .88rem;
  color: var(--text-mid);
  font-style: italic;
}

@media (max-width: 780px) {
  .calendar-wrap { grid-template-columns: 1fr; }
  .donate-callout { flex-direction: column; align-items: flex-start; text-align: left; }
  .calendar-month-label { text-align: left; }
}

/* ============================================================
   SHOP
============================================================ */
#shop {
  background: var(--white);
  padding-block: clamp(4rem, 9vw, 6.5rem);
}

.shop-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 2.5rem;
}

.product-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--cream-dark);
  box-shadow: var(--shadow);
}

/* ── PRODUCT IMAGE: replace .product-img-placeholder with <img> when ready ── */
.product-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, #e8dfc8, #d4c9ac);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  color: var(--text-mid);
  font-size: .82rem;
  font-weight: 500;
}

.product-img-placeholder span { font-size: .75rem; }

.product-img-placeholder svg {
  width: 40px; height: 40px;
  opacity: .35;
}

.product-card-body { padding: 1.5rem; }

.product-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: .3rem;
}

.product-price {
  font-size: .88rem;
  font-weight: 600;
  color: var(--red);
  margin-bottom: .7rem;
  letter-spacing: .04em;
}

.product-desc {
  font-size: .9rem;
  color: var(--text-mid);
  margin-bottom: 1.2rem;
  line-height: 1.65;
}

.notify-form {
  display: flex;
  gap: .5rem;
}

.notify-form input {
  flex: 1;
  padding: .7rem 1rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: .88rem;
  background: var(--white);
  color: var(--text-dark);
  outline: none;
  transition: border-color var(--transition);
}

.notify-form input:focus { border-color: var(--green); }

.notify-form button {
  white-space: nowrap;
  padding: .7rem 1.2rem;
  background: var(--green);
  color: var(--cream);
  border: none;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}

.notify-form button:hover { background: var(--green-dark); }

.notify-confirm {
  display: none;
  margin-top: .6rem;
  font-size: .82rem;
  font-weight: 500;
  color: var(--green);
}

.shop-right { padding-top: .5rem; }

.shop-right h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--green-dark);
  margin-bottom: 1rem;
}

.shop-right p {
  font-size: .97rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

@media (max-width: 780px) {
  .shop-layout { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ============================================================
   TEAM
============================================================ */
#team {
  background: var(--cream);
  padding-block: clamp(4rem, 9vw, 6.5rem);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--cream-dark);
  transition: transform var(--transition), box-shadow var(--transition);
}

.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 14px rgba(192,57,43,.3);
}

.team-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: .25rem;
}

.team-role {
  font-size: .8rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: .9rem;
}

.team-bio {
  font-size: .88rem;
  color: var(--text-mid);
  line-height: 1.65;
  font-style: italic;
}

/* ============================================================
   CLUB SIGNUP
============================================================ */
#club-signup {
  background: var(--green-dark);
  padding-block: clamp(4rem, 9vw, 6.5rem);
}

.signup-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: center;
}

.signup-left .section-label { color: rgba(245,240,232,.6); }
.signup-left .section-heading { color: var(--cream); margin-bottom: 1rem; }
.signup-left .section-sub { color: rgba(245,240,232,.75); }

.signup-benefits {
  margin-top: 2rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.signup-benefits li {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .92rem;
  color: rgba(245,240,232,.8);
}

.signup-benefits li::before {
  content: '✓';
  width: 22px; height: 22px;
  background: rgba(255,255,255,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  color: var(--cream);
  flex-shrink: 0;
}

.signup-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: .45rem;
  letter-spacing: .02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--text-dark);
  background: var(--cream);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a4a4a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(45,80,22,.12);
  background: var(--white);
}

.form-group textarea { resize: vertical; min-height: 90px; }

.form-group .required { color: var(--red); }
.form-group .optional { color: var(--text-mid); font-weight: 400; }

/* Honeypot — must be hidden visually but still present in the DOM for bots. */
.gotcha { display: none; }

/* Submission failure message. Deliberately has no `display` of its own so the
   `hidden` attribute keeps working. */
.form-error {
  margin-top: .8rem;
  padding: .8rem 1rem;
  border-radius: var(--radius);
  background: rgba(192,57,43,.08);
  border: 1.5px solid rgba(192,57,43,.25);
  font-size: .85rem;
  line-height: 1.55;
  color: var(--red-dark);
}

/* Buttons mid-submit */
button[disabled] { opacity: .65; cursor: progress; }

.form-group input::placeholder,
.form-group textarea::placeholder { color: #aaa; }

.form-submit { width: 100%; padding: .9rem; font-size: 1rem; margin-top: .4rem; }

.form-confirm {
  display: none;
  text-align: center;
  padding: 1.5rem;
  background: rgba(45,80,22,.08);
  border-radius: var(--radius);
  border: 1.5px solid rgba(45,80,22,.2);
  margin-top: 1rem;
}

.form-confirm p { color: var(--green); font-weight: 600; font-size: .95rem; }
.form-confirm span { display: block; font-size: .85rem; color: var(--text-mid); margin-top: .3rem; }

@media (max-width: 780px) {
  .signup-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ============================================================
   CONTACT
============================================================ */
#contact {
  background: var(--cream);
  padding-block: clamp(4rem, 9vw, 6.5rem);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
  margin-top: 2.5rem;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--green-dark);
  margin-bottom: 1rem;
}

.contact-info p {
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.contact-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.contact-link-list li a {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .95rem;
  font-weight: 500;
  color: var(--green);
  transition: color var(--transition);
}

.contact-link-list li a:hover { color: var(--red); }

.contact-link-icon {
  width: 36px; height: 36px;
  background: rgba(45,80,22,.10);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition);
}

.contact-link-list li a:hover .contact-link-icon { background: rgba(192,57,43,.12); }

.contact-link-icon svg { width: 16px; height: 16px; fill: currentColor; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--cream-dark);
}

.contact-form h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 1.4rem;
}

.contact-form textarea { min-height: 120px; }

@media (max-width: 780px) {
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ============================================================
   FOOTER
============================================================ */
footer {
  background: var(--green-dark);
  color: var(--cream);
  padding-block: 3.5rem 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1) sepia(1) saturate(0) brightness(1.8);
}

.footer-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--cream);
}

.footer-tagline {
  font-size: .88rem;
  color: rgba(245,240,232,.65);
  line-height: 1.65;
}

.footer-col h3 {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(245,240,232,.5);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }

.footer-col ul li a {
  font-size: .88rem;
  color: rgba(245,240,232,.75);
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--cream); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: .8rem;
  color: rgba(245,240,232,.45);
}

.footer-instagram {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: rgba(245,240,232,.65);
  transition: color var(--transition);
}

.footer-instagram:hover { color: var(--cream); }

.footer-instagram svg { width: 16px; height: 16px; fill: currentColor; }

@media (max-width: 780px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}


/* ============================================================
   MISC / SMALL
============================================================ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--green-light); border-radius: 4px; }

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .mission-stat-row { grid-template-columns: 1fr 1fr; }
  .notify-form { flex-direction: column; }
  .notify-form input, .notify-form button { border-radius: var(--radius); }
}

/* ============================================================
   REDUCED MOTION
============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
