.album-gallery {
  line-height: 0;
  columns: 1;
  column-gap: 1.5rem;
}
.album-gallery li {
  display: block;
  margin-bottom: 1.5rem;
  break-inside: avoid;
}
@media screen and (min-width: 60rem) {
  .album-gallery {
    columns: 2;
  }
}

header > nav.menu > figure > ul.tags {
  display: none;
}

header > nav.menu > figure:hover > ul.tags {
  display: absolute;
}

.project {
  width: 100%;;
  margin: 0 auto;
  padding: 0;
}
.project-footer {
  padding: 6rem 0;
  text-align: center;
}

figure.caption-overlay {
  position: relative;
}
figure.caption-overlay figcaption {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-family-display);
  color: white;
  padding: 0 10%;
  font-size: 48px;
  line-height: 100%;
  transition: background 0.5s ease-in-out;
}
figure.caption-overlay figcaption:hover {
  background: rgba(0,0,0,0.75);
  transition: background 3s ease-in-out;
}

figure.super-width {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.project-tags, .project-credits a:hover {
  color: var(--color-white);
}

.intro {
  margin: var(--gap) 0;
  display: flex;
  gap: var(--gap);
}

.intro .text ul li {
  list-style-type: square;
  margin-bottom: 0;
}

.intro .project-credits, .intro .project-tags {
  font-size: .8rem;
  font-style: italic;
  color: var(--color-text-grey);
}


.intro .meta {
  gap: var(--gap);
  display: flex;
  flex-direction: column;
}

.intro .meta .grid {
  display: flex;
  margin: 0;
  gap: 48px;
}

.intro .meta .grid .column {
  flex-grow: 1;
  width: 100%;
}

.intro .meta .grid .text {
  flex-basis: 300%;
}

.intro .project-credits li {
  text-wrap: balance;
}


.intro .media video, .intro .media img {
  width: 100%;
  height: auto;
}

.project-tags li, .project-credits li {
  list-style: none;
}

.margin-l {
  margin-bottom: var(--gap);
}


article section.grid .column .text figure img {
  object-fit: cover;
}

section.sticky-credits {
  position: sticky;
  top: 0;
  transition: opacity 1s ease;
}

section.sticky-credits.is-sticky {
  opacity: 0.5;

}

footer .project-credits .role, footer .project-credits .people, .credits-intro, .credits-outro {
  font-weight: 700;
  padding: 12px 0;
}

footer .project-credits .credit {
  display: flex;
  justify-content: center;
  gap: 36px;
}
footer.project-footer {
  padding: 0 0 125vh 0;
  z-index: 999;
  position: relative;
}
footer .project-credits .credit .role {
  flex: 1;
  text-align: right;
  
}
footer .project-credits .credit .people {
  flex: 1;
  display: flex;
  gap: 2px;
  margin: 0;
  flex-direction: column;
  align-items: flex-start;
}

@media screen and (max-width: 40rem) {
  .intro {
    gap: var(--gap);
    margin: 2rem 0;
    flex-direction: column;
  }
  .hide-mobile {
    display: none;
    visibility: hidden;
  }
  .intro .meta .grid {
    flex-direction: column;
    gap: 12px;
    margin: 0;
    ul {
      margin-bottom: 0;
    }
  }
  footer.project-footer {
    margin: 0;
  }
}
