.projects-page {
  max-width: none;
  border-top: 1px solid #e9e9e9;
  background: #fafafa;
}

.projects-hero {
  height: 284px;
  padding: 123px clamp(20px, 1.5vw, 28px) 20px;
  background: #fafafa;
}

.projects-hero-inner {
  height: 120px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 80px;
}

.projects-hero h1 {
  flex: 1;
  max-width: 860px;
  margin: 0;
  font-size: 50px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -2px;
}

.projects-stats {
  width: 368px;
  height: 120px;
  margin-left: auto;
  display: flex;
  gap: 12px;
}

.projects-stat {
  width: 178px;
  height: 120px;
  border: 1px solid #d8d8d8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.projects-stat-dark {
  border-color: #040404;
  background: #040404;
  color: #fafafa;
}

.projects-stat strong {
  display: block;
  font-size: 41px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -1.8px;
}

.projects-stat p {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
}

.projects-archive {
  padding: 20px clamp(20px, 1.5vw, 28px) 160px;
  background: #fafafa;
}

.projects-archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 40px;
}

.projects-archive-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  color: #040404;
}

.projects-archive-card figure {
  width: 100%;
  aspect-ratio: .808 / 1;
  margin: 0;
  overflow: hidden;
  background: #e9e9e9;
}

.projects-archive-card img {
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

.projects-archive-card:hover img {
  transform: scale(1.025);
}

.projects-archive-meta {
  width: 100%;
  height: 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.projects-archive-meta h2,
.projects-archive-meta p {
  height: 24px;
  margin: 0;
  padding: 0 4px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: .15px;
}

@media (min-width: 1440px) {
  .projects-archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .projects-hero {
    height: auto;
    padding: 72px 20px 24px;
  }

  .projects-hero-inner {
    height: auto;
    flex-direction: column;
    gap: 42px;
  }

  .projects-hero h1 {
    font-size: clamp(42px, 9vw, 58px);
    line-height: 1.02;
    letter-spacing: -.045em;
  }

  .projects-stats {
    width: 100%;
    margin: 0;
  }

  .projects-stat {
    width: 50%;
  }

  .projects-archive {
    padding: 0 20px 90px;
  }

  .projects-archive-grid {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }
}

@media (max-width: 480px) {
  .projects-stats,
  .projects-stat {
    height: 104px;
  }

  .projects-stat strong {
    font-size: 36px;
  }

  .projects-stat p {
    font-size: 14px;
  }

  .projects-archive {
    padding-left: 18px;
    padding-right: 18px;
  }
}
