.home-projects {
  background: #0b1426;
  color: #f8fafc;
  padding: 88px 24px;
}

.home-projects__inner {
  margin: 0 auto;
  max-width: 1180px;
}

.home-projects__header {
  margin: 0 auto 42px;
  max-width: 760px;
  text-align: center;
}

.home-projects__eyebrow {
  color: #c79a34;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.home-projects__title {
  color: #ffffff;
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 18px;
}

.home-projects__text {
  color: #a9b9d4;
  font-size: 1.12rem;
  line-height: 1.7;
  margin: 0;
}

.home-projects__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
  justify-content: center;
}

.home-projects__card {
  background: #121c31;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.home-projects__card:hover {
  border-color: rgba(199, 154, 52, .55);
  box-shadow: 0 22px 45px rgba(0, 0, 0, .24);
  transform: translateY(-3px);
}

.home-projects__media {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #10294f, #07152d);
  overflow: hidden;
}

.home-projects__media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.home-projects__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.home-projects__meta {
  color: #d6b35b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.home-projects__name {
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 12px;
}

.home-projects__description {
  color: #b8c5d9;
  flex: 1;
  font-size: .96rem;
  line-height: 1.62;
  margin: 0 0 22px;
}

.home-projects__stats {
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: 18px;
}

.home-projects__stat-label {
  color: #7f90ad;
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.home-projects__stat-value {
  color: #ffffff;
  display: block;
  font-size: 1rem;
  font-weight: 800;
}

.home-projects__action {
  align-items: center;
  color: #d6b35b;
  display: inline-flex;
  font-size: .95rem;
  font-weight: 800;
  gap: 8px;
  margin-top: 22px;
}

.home-projects__empty {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  color: #a9b9d4;
  padding: 28px;
  text-align: center;
}

@media (max-width: 640px) {
  .home-projects {
    padding: 68px 18px;
  }

  .home-projects__body {
    padding: 20px;
  }

  .home-projects__stats {
    grid-template-columns: 1fr;
  }
}
