/* ============================================================
   06 · COMPONENTS · Bento
   6-column responsive grid of KPI cards + featured case study.
   ============================================================ */

.c-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 14px;
}

@media (max-width: 1000px) {
  .c-bento { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 700px) {
  .c-bento { grid-template-columns: repeat(2, 1fr); }
}

.c-bento__cell {
  position: relative;
  grid-column: span 2;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  transition:
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 240ms,
    box-shadow 280ms;
}

.c-bento__cell::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%), rgba(30, 94, 213, 0.30), transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms;
  mix-blend-mode: multiply;
}

.c-bento__cell:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-pop);
}

.c-bento__cell:hover::after { opacity: 1; }

.c-bento__cell--wide { grid-column: span 3; }
.c-bento__cell--tall { grid-row: span 2; }

@media (max-width: 1000px) {
  .c-bento__cell,
  .c-bento__cell--wide { grid-column: span 2; }
}

.c-bento__kpi {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 64px);
  color: var(--accent-deep);
  letter-spacing: -0.04em;
  line-height: 1;
  position: relative;
}

.c-bento__kpi::before {
  content: "";
  position: absolute;
  inset: -10px -10px auto auto;
  width: 60px;
  height: 28px;
  background: var(--accent);
  filter: blur(20px);
  opacity: 0.5;
  z-index: -1;
}

.c-bento__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.015em;
  margin-top: -8px;
}

.c-bento__note {
  font-size: 13.5px;
  color: var(--text-2);
}
