@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #6a6a6a;
  --tile: #f3f3f1;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* NAV */

.project-header {
  width: 100%;
  padding: 26px 36px 0;
}

.project-header-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.project-nav {
  display: flex;
  gap: 34px;
}

.project-nav a {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
}

/* PAGE */

.project-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 36px 100px;
}

/* TITLE BLOCK */

.project-intro {
  text-align: center;
  margin-bottom: 60px;
}

.project-eyebrow {
  font-family: "Playfair Display", serif;
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 14px;
}

.project-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(52px, 7vw, 78px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.01em;
}

.project-copy {
  margin-top: 18px;
  font-family: "Playfair Display", serif;
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
}

/* GALLERY */

.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}

.project-image {
  margin: 0;
}

.project-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  background: var(--tile);
}

/* MOBILE */

@media (max-width: 900px) {
  .project-header {
    padding: 22px 22px 0;
  }

  .project-nav {
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .project-page {
    padding: 32px 22px 80px;
  }

  .project-intro {
    margin-bottom: 42px;
  }

  .project-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}

@media (max-width: 600px) {
  .project-gallery {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .project-title {
    font-size: 44px;
  }

  .project-copy {
    font-size: 16px;
  }
}