/* Project files pair a photographic plate with the scope and sequence of the work. */
.case-cover { background: #192526; color: #f6f4eb; }
.cover-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 4vw, 5rem);
  padding-block: clamp(1.6rem, 3.2vw, 4rem);
}
.cover-title { align-self: center; padding-block: .25rem; }
.cover-title .back {
  margin-bottom: clamp(2rem, 4vw, 4.75rem);
  color: #d4ddd5; font-size: .9rem; text-decoration: none;
}
.cover-title .back:hover { text-decoration: underline; }
.cover-title h1 {
  font-size: clamp(3.2rem, 5.6vw, 7.7rem);
  line-height: .99; margin: 1rem 0 1.2rem;
}
.cover-status {
  display: inline-block; color: #f8c597;
  border-left: 2px solid var(--signal); padding-left: .65rem; font: .85rem/1.4 var(--mono);
}
.cover-location { margin-top: .6rem; }
.cover-action {
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; width: fit-content;
  max-width: 100%; text-decoration: none; font-weight: 600; margin-top: 2.3rem; border-bottom: 1px solid #91a09a; padding-bottom: .45rem;
}
.cover-action span { color: var(--signal); }
.cover-action:hover { border-color: var(--signal); }
.cover-figure { min-width: 0; align-self: center; }
.cover-figure img { width: 100%; height: auto; aspect-ratio: 1.55; object-fit: cover; }
.cover-figure .zoom-open {
  display: flex; align-items: center; justify-content: flex-end; gap: .6rem; width: 100%; margin: 0;
  border: 0; border-bottom: 1px solid #65756e; padding: .7rem .95rem; color: white; background: #23312f; font-weight: 600;
}
.cover-figure .zoom-open:hover { background: #334442; }
.case-overview {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 4vw, 5rem);
  padding-block: clamp(3.8rem, 7vw, 8rem);
}
.case-overview h2 { font-size: clamp(3rem, 5vw, 6.5rem); margin-block: .85rem 1.25rem; }
.case-overview h2 em { display: block; }
.case-overview .kicker i { background: var(--burnt); }
.overview-note { font: .8rem/1.5 var(--mono); color: var(--burnt); }
.overview-text p { max-width: 62ch; overflow-wrap: anywhere; line-height: 1.7; margin-bottom: .85rem; }
.overview-text p:first-child { color: #243432; font-size: clamp(1.18rem, 1.55vw, 1.72rem); line-height: 1.36; margin-bottom: 1.3rem; }
.stage-index ol {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  padding: 0; margin: 2rem 0 0; gap: 1rem; list-style: none;
}
.stage-index a { display: flex; align-items: center; gap: .8rem; border-block: 1px solid #60736e; padding: .65rem 0; }
.stage-index a:hover { color: #ffd7b7; border-color: var(--signal); text-decoration: none; }
.stage-index img { width: 3.8rem; height: 3.5rem; object-fit: cover; }
.stage-index span { min-width: 0; overflow-wrap: anywhere; font-weight: 600; }
.stage-index small { display: block; color: #ffc89e; margin-bottom: .2rem; font: .76rem/1.4 var(--mono); }
.stage-index i { margin-left: auto; font-style: normal; color: var(--signal); }
.case-next > span:last-child { margin-left: auto; font-size: 1.7rem; color: var(--burnt); }
@media (max-width: 700px) {
  .cover-layout, .case-overview { grid-template-columns: 1fr; gap: 1.6rem; }
  .cover-title .back { margin-bottom: 1.3rem; }
  .cover-action { margin-top: 1rem; }
  .case-overview h2 em { display: inline; }
  .stage-index ol { gap: 0; grid-template-columns: 1fr; }
  .stage-index li + li a { border-top: 0; }
}
