﻿/* Place the featured rendering on the same top edge as its project sheet. */
.project-stage {
  align-items: start;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(28px, 3vw, 70px);
}
.project-stage-media {
  aspect-ratio: 1.54;
  height: auto;
  min-height: 0;
  max-height: none;
  background: #191e20;
}
.project-stage-media .project-main-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  position: absolute;
  inset: 0;
  object-fit: cover;
}
.project-stage-info { min-width: 0; }
.project-stage-info h3 { margin: .32em 0 .42em; text-wrap: balance; }
.project-stage-info .project-summary { max-width: 56ch; text-wrap: pretty; }
.project-stage-facts { column-gap: clamp(14px, 2vw, 40px); }
.project-stage-facts strong { line-height: 1.24; }
.project-authors button { min-width: 0; }
.project-thumbs { position: relative; overscroll-behavior-x: contain; }
.project-thumbs button {
  flex: 0 0 clamp(86px, 7.3vw, 148px);
  min-width: 0;
  height: clamp(60px, 4.7vw, 92px);
  scroll-snap-align: center;
}
.project-thumbs span {
  padding: 1px 5px;
  background: #101415e0;
  font-variant-numeric: tabular-nums;
  color: white;
}
.project-thumbs button:focus-visible {
  outline: 2px solid #dfc496;
  outline-offset: -3px;
}
@media (max-width: 840px) {
  .project-stage { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .project-stage-media { aspect-ratio: 1.43; }
  .project-controls .round-button, .team-caption-wrap .round-button {
    min-width: 44px;
    min-height: 44px;
  }
}
