/* The figure of a composer without a cut-out (decision #5): a greyscale header photo, or the surname in wide caps.
   Markup from template-parts/composer-figure.php; the suit colour never applies, the figure stays ink. */

/* Photo: greyscale, faded into the ground at the top and the sides, so the legacy header is no coloured box. */
.stage img.cf-photo {
  filter: grayscale(1) contrast(1.06) brightness(0.9);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 38%), linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 0, #000 38%), linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%);
  mask-composite: intersect;
}

/* Type: the surname fills the width of the stage and stands on its baseline. --n is the length of the word. */
.stage:has(.cf-type) { container-type: inline-size; }
.cf-type {
  display: block; width: 100%; white-space: nowrap; overflow: hidden; text-align: center; user-select: none;
  font-family: var(--f-caps); font-stretch: 125%; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em;
  font-size: clamp(2.5rem, calc(100cqw / (var(--n, 8) * 1.06)), 16rem); line-height: 0.82; padding: 0 0.02em 0.06em;
  color: var(--ink-3);
}
@media (max-width: 900px) {
  .sleeve .stage:has(.cf-type), .home-today .stage:has(.cf-type) { min-height: 0; padding-top: 24px; }
}
