.project-credit {
  position: relative;
  justify-self: start;
  min-width: 0;
}

.project-credit summary {
  display: list-item;
  align-content: center;
  min-height: 2.75rem;
  color: var(--paper);
  font-size: clamp(.72rem, 2.25vw, .85rem);
  font-weight: 650;
  line-height: 1.25;
  cursor: pointer;
}

.project-credit summary:hover,
.project-credit summary::marker,
.project-credit a {
  color: var(--gold);
}

.project-credit p {
  position: absolute;
  bottom: 100%;
  left: 0;
  width: min(26rem, calc(100vw - 2.5rem));
  margin-bottom: .25rem;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  background: var(--black);
  color: var(--paper);
  font-size: .9rem;
  line-height: 1.5;
  box-shadow: 0 .5rem 1.75rem #0009;
}
