/* ═══════════════════════════════════════════════
   FOUNDATION.CSS — Mission / Vision / Faith
   Three-column image + text blocks.
   Edit: image height (.mvf-img-wrap height),
         scripture color, block hover tint.
═══════════════════════════════════════════════ */

#foundation {
  background: var(--warm-white);
  padding: var(--section-v) var(--section-h);
  border-top: 1px solid var(--parchment);
}

/* ── Header ── */
.foundation-header {
  text-align: center;
  margin-bottom: 64px;
}
.foundation-header h2 {
  font-family: var(--f-display);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--brown-deep);
}

/* ── Three-column MVF grid ── */
.mvf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--parchment); /* gap acts as thin divider */
}

/* ── Single block ── */
.mvf-block {
  background: var(--warm-white);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: background 0.3s ease;
}
.mvf-block:hover {
  background: var(--cream);
}

/* ── Image area ── */
.mvf-img-wrap {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  flex-shrink: 0;
}
.mvf-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;

  display: block;
  transition: transform 0.6s ease;
}
.mvf-block:hover .mvf-img {
  transform: scale(1.04);
}

/* ── Text body ── */
.mvf-body {
  padding: 40px 36px 44px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Label: MISSION / VISION / FAITH */
.mvf-label {
  font-family: var(--f-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep, #9a7230);
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--parchment);
}

/* Body text */
.mvf-text {
  font-family: var(--f-elegant);
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin: 0 0 0;
  flex: 1;
}

/* Scripture — centered, italic, lighter gold / muted violet */
.mvf-scripture {
  margin-top: 28px;
  font-family: var(--f-elegant);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
  color: rgba(162, 130, 72, 0.78); /* muted gold; swap to #8A7BA0 for violet */
  letter-spacing: 0.01em;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .mvf-grid {
    grid-template-columns: 1fr;
  }
  .mvf-img-wrap {
    height: 280px;
  }
}
@media (max-width: 600px) {
  .mvf-body {
    padding: 32px 26px 36px;
  }
  .mvf-img-wrap {
    height: 220px;
  }
}
