.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
}
.case h3 {
  font-size: 1.3rem;
  margin-top: 1rem;
}
.case p {
  opacity: 0.75;
  font-size: 0.95rem;
}
.case__thumb {
  aspect-ratio: 4/3;
  border-radius: 14px;
  background: linear-gradient(
    140deg,
    var(--c1),
    color-mix(in srgb, var(--c1) 60%, #000)
  );
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  justify-content: center;
  transition: transform 0.25s;
}
.case:hover .case__thumb {
  transform: translateY(-4px);
}
.case__thumb i {
  display: block;
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.35);
  width: 80%;
}
.case__thumb i:nth-child(2) {
  width: 55%;
}
.case__thumb i:nth-child(3) {
  width: 90px;
  height: 26px;
  border-radius: 6px;
  background: var(--c2);
  margin-top: 0.6rem;
}
