.projects {
  padding: 110px clamp(24px, 7vw, 110px);
  background: #0d0d0d;
  border-top: 1px solid var(--line);
}

.projects-intro {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
}

.project-list {
  display: grid;
  gap: 66px;
  margin-top: 54px;
}

.project-pair {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.project-pair h3 {
  font-family: Georgia, serif;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 500;
  margin-bottom: 20px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.comparison-grid figure {
  margin: 0;
}

.photo-frame {
  position: relative;
  overflow: hidden;
  background: #050505;
  aspect-ratio: 16 / 10;
  border: 1px solid #332b1d;
}

.photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.photo-frame:hover img {
  transform: scale(1.02);
}

.photo-frame span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 12px;
  background: rgba(8, 8, 8, .88);
  border-left: 3px solid var(--gold);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 700px) {
  .projects {
    padding: 72px 20px;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .project-list {
    gap: 48px;
  }

  .photo-frame {
    aspect-ratio: 4 / 3;
  }
}
