@font-face {
  font-family: 'TSTAR W00 Heavy';
  src: url('../fonts/yeezy_tstar-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  background: #fff;
  color: #000;
  font-family: 'TSTAR W00 Heavy', Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.project-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 28px 0;
}

.project-back-link {
  color: #b3b3b3;
  text-decoration: none;
  transition: color 0.2s ease;
}

.project-back-link {
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-back-link:hover,
.project-back-link:focus-visible {
  color: #000;
}

.project-category {
  margin: 0;
  color: #777;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-heading {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 24px;
  padding: clamp(18px, calc(56px - 2.67vw), 32px) 28px 28px;
}

.project-title {
  margin: 0;
  font-size: 48px;
  font-weight: normal;
  line-height: 1;
}

.project-hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0;
  background: #111;
}

.project-hero img,
.project-hero iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.project-hero img {
  object-fit: cover;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(var(--gallery-columns, 4), minmax(0, 1fr));
  gap: 0;
  width: 100%;
}

.project-gallery-slot {
  aspect-ratio: 16 / 9;
  min-width: 0;
  overflow: hidden;
  background: #e5e5e5;
}

.project-gallery-slot img,
.project-gallery > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-information {
  width: min(100%, 960px);
  margin: 0 auto;
  padding: 0 28px;
}

.project-information:empty {
  display: none;
}

.project-information p {
  max-width: 68ch;
  font-size: 17px;
  line-height: 1.5;
}

.project-information dl {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 10px 24px;
}

.project-information dt {
  color: #777;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-information dd {
  margin: 0;
}

@media (max-width: 600px) {
  .project-header {
    padding: 20px 18px 0;
  }

  .project-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 32px 18px 20px;
  }

  .project-title {
    font-size: 34px;
  }

  .project-information {
    padding: 0 18px;
  }

  .project-information dl {
    grid-template-columns: 1fr;
    gap: 4px;
  }

}

@media (max-width: 900px) {
  .project-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}