.still-life-hero {
  margin: 0;
  aspect-ratio: auto;
}

.still-life-hero img,
.still-life-gallery img {
  display: block;
  width: 100%;
  height: auto;
}

.still-life-score {
  display: grid;
  align-items: start;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.still-life-score .still-life-status {
  font-size: 0.875rem;
}

.score-cue {
  padding: 1.1rem 0;
  border-block-start: 1px solid var(--line);
}

.score-cue:last-child {
  border-block-end: 1px solid var(--line);
}

.score-cue h3 {
  font-size: 1rem;
  letter-spacing: 0.06em;
  line-height: 1.25;
}

.score-cue audio,
.cue-controls {
  margin-top: 0.6rem;
}

.score-cue audio {
  width: 100%;
}

.cue-controls:not([hidden]) {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.45rem, 2vw, 1rem);
}

.cue-controls .transport-play {
  --white: var(--ink);
}

.cue-controls .timer {
  color: var(--muted);
}

.score-cue.is-playing .play-glyph {
  width: 0.87em;
  height: 1.12em;
  margin-left: 0;
  border-inline: 0.23em solid currentColor;
  background: transparent;
  clip-path: none;
}

.cue-status:not(:empty) {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.still-life-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.5rem, 1.6vw, 1.25rem);
}

.still-life-gallery img {
  height: 100%;
  aspect-ratio: 2.1;
  object-fit: cover;
  border-radius: 4px;
  filter: grayscale(1);
}

.still-life-gallery img:is(:hover, :active) { filter: grayscale(0); }

@media (prefers-reduced-motion: no-preference) {
  .still-life-gallery img { transition: filter 600ms ease; }
}

@media (width < 48rem) {
  .page-intro a[href="#listen"] { display: none; }
}

@media (min-width: 48rem) {
  .still-life-score .reading { grid-area: 1 / 1; }
  .still-life-score .score-list { grid-area: 1 / 2; }
  .still-life-score {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }

  .still-life-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

#listen { scroll-margin-top: 1.5rem; }

.still-enlarge {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.still-life-hero:has(.still-enlarge) { overflow: visible; }
.still-life-hero .still-enlarge img { border-radius: 6px; }

.still-lightbox {
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: var(--black);
  color: var(--ink);
}

.still-lightbox::backdrop { background: rgb(0 0 0 / 0.86); }

.still-lightbox img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(calc(100vw - 3rem), 1500px);
  max-height: calc(100vh - 3rem);
  max-height: calc(100dvh - 3rem);
  border-radius: inherit;
}

.still-lightbox-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 0.5);
  border-radius: 50%;
  background: rgb(0 0 0 / 0.75);
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1;
}

html:has(.still-lightbox[open]) { overflow: hidden; }

.still-life-status { margin-top: 0.85rem; }
