.project-view {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: grid;
  place-items: center;
  background: #191919;
}
.project-picture {
  display: block;
  width: 90%;
  height: 77%;
  object-fit: contain;
  user-select: none;
  touch-action: pan-y pinch-zoom;
}
.project-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(44px, 3.5vw, 66px);
  height: 72px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.project-arrow.previous { left: 0; }
.project-arrow.next { right: 0; }
.project-arrow::after {
  content: "";
  display: block;
  width: clamp(12px, 1vw, 20px);
  height: clamp(12px, 1vw, 20px);
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.project-arrow.previous::after { transform: rotate(-135deg); }
.project-arrow:focus-visible { outline-offset: -3px; }
.project-caption {
  position: absolute;
  inset: auto var(--edge, 15px) max(var(--edge, 15px), env(safe-area-inset-bottom));
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255,255,255,.78);
}
.project-copy {
  max-height: 20vh;
  overflow: auto;
  margin: 0;
}
.project-year { flex: none; }
.project-slide-status {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .project-picture { width: 94%; height: 70%; }
  .project-caption { align-items: start; font-size: .95rem; gap: .6rem; }
  .project-arrow { width: 44px; height: 56px; }
  .project-arrow::after { filter: drop-shadow(0 1px 2px #333); }
}
