/* Home page. Tokens live in base.css; the card, the number strip and the
   hero are in site.css. Light first load: the hero and the initiative
   photos are the only images, and the initiative photos are lazy. */

.home section { margin-bottom: var(--space-8); }

.home-welcome__text {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  line-height: 1.4;
  max-width: 30em;
}

/* Number strip band */
.home .numbers {
  background: var(--color-surface);
  border-top: var(--border-width) solid var(--color-border);
  border-bottom: var(--border-width) solid var(--color-border);
  padding: var(--space-7) 0;
}

/* Next event, or the most recent community event */
.home-event .event-card {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-5);
  max-width: 40rem;
}
.home-event .event-card__photo {
  width: calc(100% + 2 * var(--space-5));
  margin: calc(-1 * var(--space-5)) calc(-1 * var(--space-5)) var(--space-3);
}

/* Initiative cards */
.initiative-cards {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 768px) {
  .initiative-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.initiative-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  height: 100%;
  padding: 0 0 var(--space-5);
}
.initiative-card__title { padding: var(--space-4) var(--space-5) 0; }
.initiative-card__summary { padding: 0 var(--space-5); }

/* The quiet second ask, just above the footer: a creek-stone band. */
.home .home-ask {
  margin-bottom: calc(-1 * var(--space-8));
  padding: var(--space-7) 0 var(--space-8);
  background: var(--color-stone);
}
.home-ask h2 { font-size: var(--text-2xl); max-width: 22em; }
.home-ask p { max-width: var(--measure); }
.home-ask__more { display: inline-flex; align-items: center; min-height: var(--tap-target); font-weight: 700; }
