.project-detail-page {
  min-height: 100vh;
  background: #000;
  color: #f1f1f1;
}

.project-detail-nav {
  position: fixed;
  z-index: 20;
  top: clamp(1rem, 3vh, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  gap: clamp(.9rem, 3vw, 1.5rem);
}

.project-detail-nav a {
  display: inline-flex;
  align-items: center;
  gap: .16rem;
  color: #777;
  font-family: 'Titillium Web', sans-serif;
  font-size: clamp(.82rem, 1.15vw, 1.2rem);
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease, font-weight .2s ease;
}

.project-detail-nav a span {
  font-size: .72em;
}

.project-detail-nav a:hover,
.project-detail-nav a:focus-visible,
.project-detail-nav a[aria-current="page"] {
  color: #f1f1f1;
  font-weight: 700;
}

.project-detail-nav a[aria-current="page"] {
  font-style: normal;
}

.project-detail-all-projects {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  width: max-content;
  margin-top: clamp(3rem, 6vh, 5rem);
  margin-left: calc((100vw - 100%) / -2 + 5vw);
  color: #5c5c5c;
  font-family: 'Titillium Web', sans-serif;
  font-size: clamp(.82rem, 1.15vw, 1.2rem);
  font-weight: 400;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease, font-weight .2s ease;
}

.project-detail-all-projects span {
  font-size: .8em;
}

.project-detail-all-projects:hover,
.project-detail-all-projects:focus-visible {
  color: #fff;
  font-weight: 700;
}

@media (min-width: 681px) and (max-width: 1200px) and (min-height: 600px) {
  .project-detail-nav a,
  .project-detail-all-projects {
    font-size: clamp(.88rem, 1.5vw, 1.2rem);
  }
}

@media (min-width: 681px) and (max-width: 1200px) and (min-height: 600px) and (orientation: portrait) {
  .project-detail-nav a,
  .project-detail-all-projects {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
  }
}

@media (max-width: 680px), (max-width: 1000px) and (max-height: 500px) and (orientation: landscape) {
  .project-detail-nav a,
  .project-detail-all-projects {
    font-size: clamp(.82rem, 3.4vw, 1.05rem);
  }
}

.project-detail-placeholder {
  display: grid;
  min-height: 100vh;
  align-content: center;
  width: min(90vw, 80rem);
  margin-inline: auto;
}

.project-detail-placeholder h1 {
  margin: 0;
  color: #707070;
  font-family: 'Titillium Web', sans-serif;
  font-size: clamp(2rem, 6vw, 6rem);
  font-weight: 700;
  letter-spacing: -.06em;
  line-height: .95;
  text-transform: uppercase;
}

.project-detail-placeholder p {
  margin: 1rem 0 0;
  color: #888;
  font-size: clamp(.9rem, 1.2vw, 1.1rem);
}

@media (min-width: 768px) and (max-width: 1366px) and (orientation: portrait) {
  .project-detail-page > main {
    width: calc(100vw - clamp(6rem, 16vw, 12rem));
  }
}

/* Standardize the iPad Mini portrait content edge across project pages. */
@media (min-width: 768px) and (max-width: 800px) and (orientation: portrait) {
  .project-detail-page:not(.dancefloor-project) > main > section {
    width: 100%;
  }
}
