:root {
  --spacing-sm: 0.75rem;
  --spacing-md: 1.5rem;
  --font-sans: "Inter", sans-serif;
  --font-serif: Georgia, serif;
}

body {
  background: #fff;
  color: #1f2529;
}

.project-page {
  margin: 0;
  padding: 9rem 1.5rem 5rem;
}

.project-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.project-kicker {
  margin: 0 0 0.75rem;
  color: #6b6b6b;
  font: 600 0.76rem/1.2 "Inter", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-heading {
  max-width: 820px;
  margin-bottom: 3.5rem;
}

.project-heading h1 {
  margin: 0 0 1rem;
  font: 500 clamp(2.8rem, 8vw, 6.5rem)/0.95 "Inter", sans-serif;
  letter-spacing: -0.055em;
}

.project-intro {
  max-width: 680px;
  margin: 0;
  color: #41484d;
  font: 400 clamp(1.05rem, 2vw, 1.35rem)/1.55 "Inter", sans-serif;
}

.project-gallery-title {
  margin: 0 0 1.25rem;
  font: 600 0.82rem/1.2 "Inter", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.art-grid figure {
  margin: 0;
  overflow: hidden;
  background: #f1f1ef;
}

.art-grid img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.art-grid--square img {
  aspect-ratio: 1;
}

.art-grid--murals img {
  aspect-ratio: 1.42;
}

.art-grid figure:nth-child(3n) {
  grid-column: 1 / -1;
}

.art-grid--square figure:nth-child(3n) img {
  aspect-ratio: 1.6;
}

@media (max-width: 768px) {
  .project-page {
    padding: 7rem 1rem 3rem;
  }

  .project-heading {
    margin-bottom: 2.5rem;
  }

  .art-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .art-grid figure:nth-child(3n) {
    grid-column: auto;
  }

  .art-grid img,
  .art-grid--square figure:nth-child(3n) img {
    min-height: 0;
    aspect-ratio: auto;
  }
}
