/* EXPERIMENT (the prototypes and studies of Room A, B and C): what is specific to these three pages, in the tokens of
   ../../ad/roomc.css (Room C's art direction; load that first). Black ground and white at the steps of the alpha stair; no colour
   of its own. The pictures are the studies' films as they are (a 5-second GIF; a still WebP under prefers-reduced-motion), with
   no frame but the thinnest line. No external resources. Shared by rooms/room-a-experiment/, room-b-experiment/ and
   room-c-experiment/; each page has only its own text (texts.js). */

.ex { margin: 0 var(--rc-margin); }
.ex-lead, .ex-sec-lead { max-width: var(--rc-measure); color: var(--rc-fg-sub); font-size: var(--rc-fs-read); line-height: var(--rc-lh-read); }
.ex-lead { margin-top: calc(20 * var(--u)); }
.ex-pending { margin-top: calc(18 * var(--u)); color: var(--rc-fg-foot); font-size: var(--rc-fs-credit); line-height: 1.7; }

/* a section of studies: its heading, a lead, then the works one under another */
.ex-sec { margin-top: calc(40 * var(--u)); padding-top: calc(24 * var(--u)); border-top: var(--rc-w) solid var(--rc-aux); }
.ex-sec > .rc-h2 { margin-bottom: calc(14 * var(--u)); }
.ex-works { display: grid; row-gap: calc(56 * var(--u)); margin-top: calc(32 * var(--u)); }
.ex-work { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: calc(16 * var(--u)); }
/* the picture is shown at its own pixel width (720) at most: a score's fine lines are not enlarged */
.ex-fig { width: min(100%, 720px); border: var(--rc-w) solid var(--rc-aux); background: var(--rc-bg); }
.ex-fig img { width: 100%; height: auto; }
.ex-work-body { min-width: 0; max-width: var(--rc-measure); }
.ex-work-meta { margin-top: calc(6 * var(--u)); color: var(--rc-fg-head); font-family: var(--rc-mono); font-size: var(--rc-fs-mono); letter-spacing: var(--rc-ls-sub); line-height: 1.5; font-variant-numeric: tabular-nums; }
.ex-work-text { margin-top: calc(14 * var(--u)); color: var(--rc-fg-sub); font-size: var(--rc-fs-read); line-height: var(--rc-lh-read); }

/* the footnotes of a section */
.ex-notes { margin-top: calc(40 * var(--u)); color: var(--rc-fg-foot); font-size: var(--rc-fs-credit); line-height: 1.7; }
.ex-notes p + p { margin-top: calc(4 * var(--u)); }

.ex + .rc-foot { margin-top: calc(48 * var(--u)); }

/* wide (the picture's 720 px, a gap and a text column of at least 320 px, with the margins): one work to a row, the picture at
   the left. A single column reads better than two columns of works, and three works would leave one alone in the second row. */
@media (min-width: 1200px) {
  .ex-work { grid-template-columns: minmax(0, 720px) minmax(0, 1fr); column-gap: calc(40 * var(--u)); align-items: start; }
}
