/* homeowner-wall.css — "Real Roofs. Real Neighbors." photo grid.
   Brand-matched to the marketing site (navy/orange, section rhythm). The
   section ships with [hidden]; homeowner-wall.js removes it once the manifest
   has >= 3 real photos. Fixed-ratio cells = zero layout shift. */

.homeowner-wall-section { padding: 72px 0; background: var(--off-white, #f7f5f1); }
.homeowner-wall-section[hidden] { display: none; }

.hw-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.hw-card {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--light-gray, #e8e5e0);
  box-shadow: 0 6px 20px rgba(20, 42, 82, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hw-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(20, 42, 82, .12); }
.hw-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;      /* reserve space before load — no CLS */
  object-fit: cover;
  background: var(--light-gray, #e8e5e0);
}
.hw-cap {
  padding: 10px 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  color: var(--navy-dark, #142a52);
  letter-spacing: .02em;
}

@media (max-width: 900px) { .hw-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .hw-grid { grid-template-columns: 1fr; gap: 14px; } }
