/* The art direction, locked 2026-10-24: Redacted (html[data-art="redacted"]): the portrait as a censored feed,
   Dot-matrix for everything below it. FIG. labels in the ruled grid. Color only ever comes from the work itself. */

.plate .fig-no {
  position: absolute; left: 12px; top: 10px; z-index: 2;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; color: var(--faint);
}
.plate { position: relative; }
.plate:hover .fig-no { color: var(--dim); }
.ex-figno { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; color: var(--faint); }

/* ---------- DOT-MATRIX: LED fields as atmosphere, the work drawn in dots until you point at it.
   Redacted uses it too, for everything below the portrait. ---------- */
.herofield { display: none; }
:root:is([data-art="dots"], [data-art="redacted"]) .hero { position: relative; }
:root:is([data-art="dots"], [data-art="redacted"]) .herofield {
  display: block; position: absolute; left: 0; right: 0; top: 0; bottom: 0; width: 100%; height: 100%;
  pointer-events: none; opacity: 0.32; z-index: 0;
  mask-image: linear-gradient(90deg, transparent 0%, #000 35%, #000 100%);
}
:root:is([data-art="dots"], [data-art="redacted"]) .hero > :not(.herofield) { position: relative; z-index: 1; }
:root:is([data-art="dots"], [data-art="redacted"]) .plate .dots {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1;
  transition: opacity 500ms ease;
}
:root:is([data-art="dots"], [data-art="redacted"]) .plate:hover .dots, :root:is([data-art="dots"], [data-art="redacted"]) .plate:focus-visible .dots { opacity: 0; }
:root:not([data-art="dots"], [data-art="redacted"]) .plate .dots { display: none; }

/* ---------- REDACTED: the portrait as a censored feed with a tracker locked on the face; Dot-matrix below it ---------- */
.subject { display: none; }
:root[data-art="redacted"] .subject {
  display: block; position: relative; overflow: hidden; background: #000;
  height: calc(100svh - 61px); min-height: 560px; border-bottom: 1px solid var(--line);
}
.subject canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.subject .hero-copy { position: absolute; z-index: 2; left: var(--gutter); bottom: clamp(28px, 5vh, 56px); max-width: min(52vw, 820px); pointer-events: none; }
.subject .statement .dim { color: #a19d95; }
:root[data-art="redacted"] .hero { grid-template-columns: 1fr; min-height: 0; padding-top: clamp(28px, 5vh, 48px); }
:root[data-art="redacted"] .exhibit { height: min(78svh, 860px); }

/* the tracker: starts as the whole frame, locks onto the face, then jitters like a real track */
.trk { position: absolute; z-index: 1; left: 3%; top: 4%; width: 94%; height: 92%; pointer-events: none;
  transition: left 900ms cubic-bezier(0.2, 0.7, 0.2, 1), top 900ms cubic-bezier(0.2, 0.7, 0.2, 1), width 900ms cubic-bezier(0.2, 0.7, 0.2, 1), height 900ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.trk i { position: absolute; width: 18px; height: 18px; border: 0 solid var(--bone); }
.trk i:nth-child(1) { left: 0; top: 0; border-left-width: 1.5px; border-top-width: 1.5px; }
.trk i:nth-child(2) { right: 0; top: 0; border-right-width: 1.5px; border-top-width: 1.5px; }
.trk i:nth-child(3) { left: 0; bottom: 0; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.trk i:nth-child(4) { right: 0; bottom: 0; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.trk span { position: absolute; left: 0; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bone); white-space: nowrap; }
.trk .trk-id { top: -18px; }
.trk .trk-st { bottom: -18px; color: var(--dim); }
.trk.held .trk-st { color: var(--bone); }
.trk.held .trk-st::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; background: var(--bone); vertical-align: 1px; animation: trk-blink 1.1s steps(2) infinite; }
@keyframes trk-blink { 50% { opacity: 0; } }

@media (max-width: 900px) {
  .subject .hero-copy { max-width: none; right: var(--gutter); }
}

