.project {
  width: 100%;
  height: 100%;
  background: #1f1f1f;
}

.project-intro {
  width: 75%;
  height: max-content;
  padding: 10em 2em 5em 2em;
  font-family: var(--font-serif);
  font-style: italic;
  color: #fff;
}

.project-data {
  width: 100%;
  padding: 2em;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  gap: 2em;
}

.project-images {
  width: 75vw;
  height: max-content;
  display: flex;
  flex-direction: column;
  gap: 2em;
  padding: 2em 0;
}

.project-images .img {
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.project-info {
  position: -webkit-sticky;
  position: sticky;
  top: 10vw;
  width: 25vw;
  height: max-content;
  padding: 2em 0;
}

.project-info p {
  font-size: 12px;
  color: #fff;
  margin-bottom: 1em;
  line-height: 150%;
}

.project-info p.copy-header {
  font-size: 10px;
  text-transform: uppercase;
}

.project-info ul {
  padding-left: 1em;
}

.project-info ul li {
  color: #fff;
  font-size: 12px;
  list-style: none;
}

.project-info ul li p {
  line-height: 100%;
  margin-bottom: 0.25em;
}

.project-nav {
  width: 100%;
  display: flex;
  height: max-content;
  justify-content: space-between;
  padding: 4em 2em;
}

.project-nav p {
  font-size: 12px;
}

.project-nav p span {
  font-family: var(--font-serif);
  font-style: italic;
  padding-right: 1em;
}

.project-nav .nav-link {
  font-family: var(--font-serif);
  font-size: 48px;
  font-style: italic;
  margin: 0.25em 0;
}

.project-nav .nav-link a {
  text-decoration: none;
  color: #000;
}

.nav-next {
  text-align: right;
}

p.link {
  position: relative;
  width: max-content;
  text-transform: uppercase;
  color: #fff;
  font-size: 10px;
}

/* This was unscoped in the template — `p a`, no ancestor — and every
   stylesheet loads on every page, so it painted every link inside a paragraph
   white, everywhere. It was only ever meant for the dark project page, where
   `p.link` sits on #1f1f1f. The template got away with it because no other
   page happened to put a link inside a <p>. */
.project p a {
  color: #fff;
  text-decoration: none;
  font-size: 10px;
}

p.link::after {
  content: "";
  position: absolute;
  left: 0;
  top: 120%;
  width: 100%;
  height: 1px;
  background: #fff;
}

@media (max-width: 900px) {
  .project-intro {
    width: 100%;
    padding: 8em 2em 2em 2em;
  }

  .project-data {
    flex-direction: column;
  }

  .project-images,
  .project-info {
    position: relative;
    width: 100%;
  }
}

/* The intro paragraph was an <h1>; each page has one real (hidden) heading
   now, so this keeps the size the browser default was giving it. */
.project-intro h2 {
  font-size: 2em;
  font-weight: 400;
  line-height: 1.2;
}
