/* ==========================================================================
   BPoint Home — Projects / case studies
   ========================================================================== */

.bp-home .proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.bp-home .proj-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: .2s;
  display: flex;
  flex-direction: column;
}
.bp-home .proj-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.bp-home .proj-img { aspect-ratio: 16 / 10; position: relative; }
.bp-home .proj-img .ph { border-radius: 0; height: 100%; }
.bp-home .proj-img img.proj-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.bp-home .proj-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-family: var(--display);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: .07em;
  text-transform: uppercase;
  background: var(--navy);
  color: #fff;
  padding: 5px 11px;
  border-radius: 6px;
}
.bp-home .proj-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.bp-home .proj-body .proj-client {
  font-size: 12px;
  color: var(--blue);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.bp-home .proj-body h3 { font-size: 17px; line-height: 1.28; }
.bp-home .proj-body p { font-size: 14px; color: var(--slate); margin-top: 10px; flex: 1; line-height: 1.6; }
.bp-home .proj-metrics { display: flex; gap: 22px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.bp-home .proj-metric .n { font-weight: 700; font-size: 20px; color: var(--navy); line-height: 1; }
.bp-home .proj-metric .l { font-size: 11.5px; color: var(--slate-2); margin-top: 3px; }
.bp-home .proj-foot { padding: 0 24px 22px; }
.bp-home .mt12 { margin-top: 12px; }
.bp-home .proj-metric:last-child {width: 100%;}

@media (max-width: 980px) { .bp-home .proj-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .bp-home .proj-grid { grid-template-columns: 1fr; } }
