body {
  font-family: 'Manrope', sans-serif;
}

.project-page {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 90px 0 120px;
}

.project-hero {
  max-width: 850px;
  margin-bottom: 70px;
}

#project-role {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9b9b9b;
}

#project-title {
  margin: 0 0 16px;
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #f5f5f5;
}

#project-subtitle {
  margin: 0 0 36px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
  color: #c8c8c8;
}

#project-description {
  max-width: 720px;
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  white-space: pre-line;
  color: #b8b8b8;
}

.project-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.project-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  -webkit-user-drag: none;
  user-select: none;
}

.project-gallery video {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 75vh;
  margin: 0 auto;
  border-radius: 4px;
  object-fit: contain;
  background: #000;
}

@media (max-width: 768px) {
  .project-page {
    width: min(100% - 32px, 1200px);
    padding: 60px 0 80px;
  }

  .project-hero {
    margin-bottom: 48px;
  }

  #project-title {
    font-size: clamp(42px, 15vw, 68px);
  }

  #project-subtitle {
    margin-bottom: 28px;
    font-size: 18px;
  }

  #project-description {
    font-size: 15px;
    line-height: 1.8;
  }
}
.project-gallery img.portrait {
  width: auto;
  max-width: 100%;
  max-height: 1200px;
  margin: 0 auto;
}

.project-gallery.project-gallery--sculpt-studies {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 8px;
  column-gap: 16px;
  row-gap: 16px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.project-gallery--sculpt-studies img,
.project-gallery--sculpt-studies img.portrait {
  display: block;
  width: 100%;
  max-width: none;
  max-height: none;
  height: auto;
  margin: 0;
  object-fit: contain;
}

@media (max-width: 900px) {
  .project-gallery.project-gallery--sculpt-studies {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .project-gallery.project-gallery--sculpt-studies {
    grid-template-columns: 1fr;
  }
}
