/* sections.css: only what next lacks, on next's own custom properties and classes (see TOKENS-USED.md).
   The page is next's exhibition page (system.css, pages.css, the Spaces page's css, works.css for the index bar,
   vchrome.css for the viewer rows). Motion on var(--ease) = cubic-bezier(.25, 1, .5, 1). No boxes, no shadows,
   no rounded corners, no keylines round pictures. */

/* 1. Phone type and spacing: next's phone layer sets these on :root below 768 (copied from release 39's
   phone-show css; the layer now loads too and sets the same, see 1b). Phone type is only 26/30, 20/26, 17/26, 14/20. */
@media (max-width: 767px) {
  :root {
    --t-display-size: 26px; --t-display-lh: 30px; --t-title-size: 20px; --t-title-lh: 26px;
    --t-card-size: 20px; --t-card-lh: 26px; --t-heading-size: 17px; --t-heading-lh: 26px;
    --t-lead-size: 17px; --t-lead-lh: 26px; --t-body-size: 17px; --t-body-lh: 26px;
    --t-meta-size: 14px; --t-meta-lh: 20px;
    --margin: 20px; --gutter: 16px; --gap-caption: 12px; --gap-meta: 4px; --gap-row: 72px; --gap-section: 96px;
    --gap-head: 24px; --gap-text-image: 40px; --pad-band: 48px; --top: 20px; --header-h: 52px;
  }
  :root body h1:not(.vh) { font-weight: 500; }
}

/* 1b. next's phone layer is loaded as on the Spaces page (index.html head, after the stylesheets). Below the opening the
   page is next's phone page. It would also restyle our own screens; these rules undo it there and only there:
   the opening stays full screen with its words over the land (the layer sets a picture with the title on paper
   under it, moves the caption into the opening and adds "Exhibition" before both lines), the wall's bar stays
   pinned under the header (the layer unpins next's bars) and the "Details" section the layer builds from the
   facts stays off the wall. Values are next's own computer rules (exhibitions-films-stories.css, works.css). */
@media (max-width: 767px) {
  #sx-hero > .exhb-p { height: 100svh; min-height: 480px; }
  #sx-hero .exhb-f { position: absolute; padding-bottom: 24px; color: var(--paper); }
  #sx-hero .exhb-f::before { display: block; }
  #sx-hero .exhb-fi { display: flex; }
  #sx-hero .exhb-t { margin-top: 0; min-height: auto; }
  #sx-hero :is(.exhb-t, .exhb-h, .exhb-l, .exhb-m, .exhb-m a) { color: inherit; text-shadow: inherit; }
  #sx-hero .exh-tr, #sx-hero .exhb-r { display: block; }
  @media (max-height: 479px) { #sx-hero > .exhb-p, html:not(.sx-v-work) .sx-stage { min-height: 0; } }   /* on its side the opening is no taller than the screen (panel P1 should 4) */
  /* "Exhibitions" takes a tap 44 px high and a little wider, so a near miss does not open the work under it (panel P1 should 3) */
  #sx-hero .exh-tr a { display: inline-block; position: relative; padding: 12px 10px; margin: -12px -10px; }
  #sx-hero .exhb-h { max-width: 18ch; }
  #sx-hero .exhb-l { margin-top: 4px; max-width: 40ch; }
  #sx-hero .exhb-m { margin-top: 0; text-wrap: wrap; }
  #sx-hero .exhb-m.sx-sale-l { margin-top: var(--s-1); }
  #sx-hero .exhb-l a, #sx-hero .sx-sale { text-decoration-line: underline; }
  #sx-hero .ph-e-kind[hidden] { display: none !important; }   /* the layer shows it with !important */
  #sx-hero > .exhb-cp { position: static; }   /* the caption the layer moves in sits under the picture, in the flow, as on Spaces (the section clips; panel P3 should 9) */
  #sx-hero .exhb-f { bottom: calc(var(--gap-caption, 12px) + var(--t-meta-lh, 20px)); }   /* the words stay on the picture, above the caption's line */
  #sx-hero .exhb-f::before { bottom: calc(-1 * (var(--gap-caption, 12px) + var(--t-meta-lh, 20px))); }   /* and their shade still reaches the picture's foot (Fred, 15 Nov: it stopped 32 px short) */
  #wx-bar { position: sticky; top: var(--header-h); }
  html.hd-off #wx-bar { top: 0; }
  html.sx-b-works #ph-details { display: none; }
  html.sx-b-works #hd .ph-where { visibility: hidden; }   /* "Contents" lists the page's sections, not the wall's */
}

/* 2. The base view: the exhibition page, or the 1,300 (#works). The work (#309) lies over either. */
#sx-index { display: none; }
html.sx-b-works #sx-index { display: block; }
html.sx-b-works .sx-pg, html.sx-b-works #sx-hero { display: none; }
html.sx-b-works body { padding-top: var(--header-h); }
/* (builder G) no scrollbar-gutter while the work is open: a reserved gutter stops the fixed, full-screen stage 15 px short of
   the right edge where scroll bars take room (Windows; a Mac set to show them), and the paper shows there */

/* 3. The stage: one picture, still first, the live frame over it. On the page it lies exactly over the hero's
   picture box (sections.js sets --sx-hero-h); the frame is a centred square of side max(width, height), drawn at
   no more than 3,456 of its own pixels (sections.js SX_PX: 1,728 CSS px at 2 device pixels a point) and scaled up beyond
   (--sx-s, --sx-k), so the screen is a centred crop of the work. */
.sx-stage { position: absolute; left: 0; top: var(--sx-hero-top, 0px); width: 100%; height: var(--sx-hero-h, 100svh);
  min-height: 480px; z-index: 1; overflow: hidden; overflow: clip; pointer-events: none; background: #9D9C8B; contain: layout paint; }   /* clip: no script or focus can scroll it sideways (panel P1 should 8) */
@media (min-width: 1024px) { .sx-stage { min-height: 560px; } }
html.sx-b-works:not(.sx-v-work) .sx-stage { display: none; }
html.sx-v-work .sx-stage { position: fixed; inset: 0; top: 0; width: auto; height: auto; min-height: 0; z-index: 100;
  pointer-events: auto; background: #191919; }
/* the header's own top scrim, as next's .lead--over[data-deep-*] .lead-pic::after (the stage covers that box) */
.sx-stage::after { content: ''; position: absolute; inset: 0 0 auto; z-index: 1; height: calc(var(--header-h) + 72px); pointer-events: none;
  background: linear-gradient(to bottom, rgba(25, 25, 25, 0.74), rgba(25, 25, 25, 0.37) 60%, rgba(25, 25, 25, 0)); }
@media (min-width: 1024px) { .sx-stage::after { height: calc(var(--header-h) + 96px); } }
html.sx-v-work .sx-stage::after { display: none; }
/* closing the work to a scrolled page or to the index: the full-screen picture fades out where it is (sections.js) */
html.sx-v-leave .sx-stage#sx-stage { display: block; position: fixed; inset: 0; top: 0; width: auto; height: auto; min-height: 0; z-index: 100;
  pointer-events: none; background: #191919; }
html.sx-v-leave .sx-stage#sx-stage::after { display: none; }
/* Close on the opening's own work, at the top of the page: the work's dark ground holds while the square grows back into the opening (sections.js leaveWork) */
html.sx-v-grow .sx-stage#sx-stage { background: #191919; }

.sx-pan { position: absolute; inset: 0; will-change: transform; }
.sx-sq { position: absolute; left: 50%; top: 50%; width: var(--sx-s, max(100vw, 100svh)); height: var(--sx-s, max(100vw, 100svh));
  transform: translate(-50%, -50%) scale(var(--sx-k, 1)); transform-origin: 50% 50%; will-change: transform; }   /* sections.js framePut() sets the transform: the growing frame */
.sx-sq > img, .sx-sq > iframe { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; border: 0; display: block; }
.sx-sq > img { user-select: none; -webkit-user-drag: none; }
.sx-sq > iframe { transform-origin: 50% 50%; will-change: transform; }   /* sections.js holdPut(): the picture already drawn, moved while the hand moves */
html.sx-v-work .sx-sq { overflow: hidden; }
.sx-sq > img.miss { visibility: hidden; }
.sx-sq > iframe, .sx-tp > iframe { opacity: 0; transition: opacity 400ms var(--ease); pointer-events: none; background: transparent; }
.sx-sq > iframe.on, .sx-tp > iframe.on { opacity: 1; }
.sx-peek { visibility: hidden; }
.sx-peek.on { visibility: visible; }

/* the clear layer that reads touches and the pointer in the work (the frame never takes them) */
.sx-touch { position: absolute; inset: 0; z-index: 2; display: none; touch-action: none; cursor: default; user-select: none;
  -webkit-user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
html.sx-v-work .sx-touch { display: block; }
/* SECTIONS4 (Neil: "press space to pan"): the arrow over the picture; an open hand while Space is held (sections.js handKey), a
   closed hand while a slide is dragged, with Space or Shift (handDrag); the idle rule below still hides the pointer */
html.sx-hand .sx-touch { cursor: grab; }
html.sx-handing .sx-touch { cursor: grabbing; }
.sx-stage.vw-idle .sx-touch { cursor: none; }

/* 4. The work's controls, in next's viewer manner (vchrome.css rows: white words on scrims top and bottom) */
.sx-stage .vw-row { display: none; z-index: 3; }
html.sx-v-work .sx-stage .vw-row { display: flex; animation: sx-in 280ms var(--ease) backwards; }
/* Words over bright land. next's viewer measures the picture behind its words and lays a flat band of up to 85% under them,
   feathered over 120 px (vchrome.css `vw-a`). Ours is drawn live and changes under the words, so the band has 1 strength that
   holds over the brightest of the 1,300 (measured by tools/contrast.py: every word at 4.5 to 1 or more). The bottom band is
   as tall as the 2 lines it carries. In the work the rows bring their own bands, so the header's scrim is not drawn twice. */
.sx-stage .vw-row.vw-a { --vw-a: 0.74; --vw-a86: 0.636; --vw-a62: 0.459; --vw-a36: 0.266; --vw-a14: 0.104; }
.sx-stage .vw-row { --sx-band: 25, 25, 25; }
/* the band is exactly as tall as the words it carries, with a 32 px feather (a quarter of next's 120 px: more of the land stays clear; halved 12 Nov) */
.sx-stage .sx-top.vw-a::before { height: calc(100% + 32px); background: linear-gradient(to bottom, rgba(var(--sx-band), var(--vw-a)) 0, rgba(var(--sx-band), var(--vw-a)) calc(100% - 32px), rgba(var(--sx-band), var(--vw-a86)) calc(100% - 26px),
  rgba(var(--sx-band), var(--vw-a62)) calc(100% - 20px), rgba(var(--sx-band), var(--vw-a36)) calc(100% - 13px), rgba(var(--sx-band), var(--vw-a14)) calc(100% - 6px), rgba(var(--sx-band), 0) 100%); }
.sx-stage .sx-bot.vw-a::before { height: calc(100% + 32px); background: linear-gradient(to top, rgba(var(--sx-band), var(--vw-a)) 0, rgba(var(--sx-band), var(--vw-a)) calc(100% - 32px), rgba(var(--sx-band), var(--vw-a86)) calc(100% - 26px),
  rgba(var(--sx-band), var(--vw-a62)) calc(100% - 20px), rgba(var(--sx-band), var(--vw-a36)) calc(100% - 13px), rgba(var(--sx-band), var(--vw-a14)) calc(100% - 6px), rgba(var(--sx-band), 0) 100%); }
/* Lines by day is a white drawing: next's light tone (ink words on a paper band), so no grey fog lies over white paper */
.sx-stage.sx-light .vw-row.vw-a { --sx-band: 249, 248, 244; --vw-a: 0.88; --vw-a86: 0.757; --vw-a62: 0.546; --vw-a36: 0.317; --vw-a14: 0.123; }
/* SECTIONS3 fix M1 (review 12 Nov, must 1): the paper band comes in only as the drawing comes under the words. Its strength follows
   the frame (--sx-sk, sections.js inkPut: 0 at rest, where the ground stays dark and the words light as in the day and Night views);
   SECTIONS4 (review 3 N2): half-way through the row's growth the words turn to ink (.sx-ink) and the band comes in whole, faded
   over 280 ms by the script's clock with the row's own colour transition (vchrome.css .vw-row): a part-strength band over the dark
   ground left no colour at 4.5 to 1. The unpressed words are #333 on ink, not --ink-2: #676767 read 2.5 to 1 on the computer's
   foot band at its lightest (0.66 paper over #191919) and #333 reads 5.6 there, 11.9 on paper; the pressed ones keep their underline */
.sx-stage.sx-light .vw-row.vw-a::before { opacity: var(--sx-sk, 1); transition: none; }
.sx-stage.sx-light .vw-row.vw-a.sx-ink { color: var(--ink); --vw-ink-2: #333; }
.sx-stage.sx-light .sx-ink .sx-row .sx-w[aria-pressed="true"], .sx-stage.sx-light .sx-ink .sx-reset { color: var(--ink) !important; }
/* On a computer (review 2 should 1, 12 Nov) the work's words sit on the opening's own soft gradients, not on 2 bars across
   the screen, so the opening and the work read as 1 screen: at the top the opening's header scrim (.sx-stage::after above),
   at the foot next's caption gradient (.exhb-f::before, exhibitions-films-stories.css 1071 to 1078: clear 120 px above the
   words, --sx-g1 at their top line, --sx-g2 at the foot). Lines by day takes the same shapes in paper. The phone keeps its bands,
   and so does a phone held on its side (812 x 343): these shapes need a tall screen (review 3, 12 Nov), so they start at 600 px high. */
@media (min-width: 768px) and (min-height: 600px) {
  .sx-stage .vw-row.vw-a { --sx-t0: 0.74; --sx-t1: 0.37; --sx-g1: 0.52; --sx-g2: 0.68; }   /* lighter foot (note 6): lowest word 4.8 to 1 over 603 and 692; 0.50/0.64 fell to 4.5 */
  .sx-stage.sx-light .vw-row.vw-a { --sx-t0: 0.88; --sx-t1: 0.44; --sx-g1: 0.66; --sx-g2: 0.88; }
  .sx-stage .sx-top.vw-a::before { height: calc(var(--header-h) + 72px);
    background: linear-gradient(to bottom, rgba(var(--sx-band), var(--sx-t0)), rgba(var(--sx-band), var(--sx-t1)) 60%, rgba(var(--sx-band), 0)); }
  .sx-stage .sx-bot.vw-a::before { height: calc(100% + 120px);
    background: linear-gradient(to top, rgba(var(--sx-band), var(--sx-g2)) 0, rgba(var(--sx-band), var(--sx-g1)) calc(100% - 120px), rgba(var(--sx-band), 0) 100%); }
}
@media (min-width: 1024px) and (min-height: 600px) { .sx-stage .sx-top.vw-a::before { height: calc(var(--header-h) + 96px); } }
@keyframes sx-in { from { opacity: 0; } }
.sx-stage .vw-row--t { height: calc(var(--header-h) + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); }
.sx-stage .vw-row--b { padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); min-height: 0; }
.sx-stage button { color: inherit; }
.sx-pos { display: flex; align-items: center; margin: 0 0 0 -12px; font-variant-numeric: tabular-nums; }
.sx-ib { display: inline-grid; place-items: center; width: 44px; height: 44px; transition: opacity var(--t-text) var(--ease); }
.sx-ib .ar { display: block; }
.sx-posn { white-space: nowrap; }
.sx-x { min-height: 44px; padding-left: 16px; margin-right: -4px; transition: opacity var(--t-text) var(--ease); }
.sx-bot-in { width: 100%; display: flex; flex-direction: column; pointer-events: none !important; }
.sx-bot-in button, .sx-bot-in a { pointer-events: auto; }
.sx-l1 { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-width: 0; }
.sx-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
html.sx-w0 #sx-name { visibility: hidden; }
/* phone, fresh load: the essay folded before the first paint as next's phone layer will fold it (page.src.html); its .txt keeps
   120 px more in its box than in the flow, so the layer still finds it over its 234 px and folds it (panel P3 should 11) */
@media (max-width: 767px) {
  html.sx-prefold #about .txt > p.sx-rm { display: none; }
  html.sx-prefold #about .txt::after { content: ''; display: block; height: 120px; margin-bottom: -120px; }
  html.sx-prefold #about .sx-rm-ph { visibility: hidden; pointer-events: none; }
}
html:not(.sx-prefold) #about .sx-rm-ph { display: none; }   /* a work's own address: the name line waits for its number, never 309's (12 Nov) */
/* a phone on its side, the work: the name, Details and the views on 1 row, so the foot's band is half as tall; the loading line
   takes its own line above only while it shows (panel P1 should 5) */
@media (max-height: 479px) and (min-aspect-ratio: 3/2) {
  #sx-stage .sx-bot-in { flex-flow: row wrap; align-items: center; column-gap: var(--s-4); }
  #sx-stage .sx-bot-in > .sx-fl { flex: 0 0 100%; }
  #sx-stage .sx-bot-in > .sx-fl:not(.on) { min-height: 0; height: 0; overflow: hidden; }
  #sx-stage .sx-bot-in > .sx-l1 { flex: 1 1 0; }
  #sx-stage .sx-bot-in > .sx-row { margin-left: 0; margin-right: -6px; }
}
.sx-w { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 6px;
  white-space: nowrap; transition: color var(--t-text) var(--ease), opacity var(--t-text) var(--ease); }
.sx-det-b { margin-right: -6px; }
.sx-det-b svg { width: 12px; height: 12px; transition: transform 280ms var(--ease); }
.sx-det-b[aria-expanded="true"] svg { transform: rotate(45deg); }
/* THE ROW: Plan, Angle (one of 2), then Night, Traffic, Lines (each on or off). Current or on = full white. */
.sx-row { display: flex; align-items: center; flex-wrap: nowrap; margin-left: -6px; }
.sx-g { display: inline-flex; }
.sx-row > .sx-g:first-child > .sx-w:first-child { justify-content: flex-start; }   /* "Plan" starts on the left edge of "No." above it (panel P3 should 13) */
.sx-g + .sx-g { margin-left: var(--s-4); }
.sx-row .sx-w { color: var(--vw-ink-2, rgba(249, 248, 244, 0.8)); }
/* current or on: full white and a 1 px underline, so the state reads at a glance over any land */
.sx-row .sx-w[aria-pressed="true"] { color: var(--paper); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.sx-reset { margin-left: auto; color: var(--paper) !important; }
.sx-reset[hidden] { display: none; }
@media (max-width: 374px) { .sx-g + .sx-g { margin-left: 0; } .sx-w { padding: 0 4px; } .sx-row { margin-left: -4px; } }
@media (hover: hover) and (pointer: fine) {
  .sx-ib:hover, .sx-x:hover, .sx-det-b:hover, .sx-row .sx-w:hover { opacity: 0.7; }
  .sx-row .sx-w:not([aria-pressed="true"]):hover { color: var(--paper); }
  .sx-stage.sx-light .sx-ink .sx-row .sx-w:not([aria-pressed="true"]):hover { color: var(--ink); }   /* SECTIONS4: on the paper band, not paper */
}
.sx-stage :focus-visible, .sx-mega :focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
/* Focus rings (release brief A): next's 2 px ring, white over the land and on ink, ink on paper; round a word it stands
   clear of the letters (next's own word ring, viewer.css .wb-a::after: a box 30 px high round the word, not the 44 px target) */
:is(.sx-stage, .sx-mega) .vw-row :is(.sx-w, .sx-x):focus-visible, .sx-det :is(.sx-cp, .sx-det-x):focus-visible { outline: none; position: relative; }
:is(.sx-stage, .sx-mega) .vw-row :is(.sx-w, .sx-x):focus-visible::after, .sx-det :is(.sx-cp, .sx-det-x):focus-visible::after {
  content: ''; position: absolute; top: 7px; bottom: 7px; left: 1px; right: 1px; outline: 2px solid #fff; pointer-events: none; }
:is(.sx-stage, .sx-mega) .vw-row .sx-x:focus-visible::after, .sx-det .sx-det-x:focus-visible::after { left: 10px; right: -6px; }
.sx-det .sx-cp:focus-visible::after { top: 9px; bottom: 9px; left: -6px; right: -6px; }
.sx-det :focus-visible, .sx-det :is(.sx-cp, .sx-det-x):focus-visible::after, .sx-stage.sx-light .vw-row.sx-ink :focus-visible, .sx-stage.sx-light .vw-row.sx-ink :focus-visible::after { outline-color: var(--focus); }   /* SECTIONS3 fix M1: the ink ring goes with the ink words */
.sx-det :focus-visible { outline-offset: 3px; }
/* the opening's picture lies under the live stage, so its ring is drawn on the stage: next's ring on a picture
   (system.css .lead--over: white, on its dark edge), 8 px inside the screen, clear of the header's and the caption's words */
html:not(.sx-v-work) body:has(#sx-hero-pic:focus-visible) .sx-stage::before { content: ''; position: absolute; inset: 8px; z-index: 4; pointer-events: none;
  outline: 2px solid #fff; outline-offset: 0; box-shadow: 0 0 0 4px rgba(25, 25, 25, 0.85); }

/* 5. Details: computer, a paper panel at the right (no wider than 360); phone, next's sheet from below (280 ms) */
.sx-det { position: absolute; z-index: 5; color: var(--ink); overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: none; -ms-overflow-style: none; transition: transform 280ms var(--ease); }
.sx-det::-webkit-scrollbar { display: none; }
.sx-det[hidden] { display: none; }
.sx-det-top { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between;
  min-height: 52px; background: inherit; }
.sx-det-x { min-height: 44px; padding-left: 16px; margin-right: -4px; color: var(--ink); }
.sx-det-in { padding-bottom: var(--s-6); }
.sx-det-in > * + * { margin-top: var(--s-5); }
.sx-dn { font-variant-numeric: tabular-nums; }
.sx-dk { color: var(--ink-2); margin-top: var(--s-1); }
.sx-det .facts dd { font-variant-numeric: tabular-nums; }
.sx-rk { display: block; color: var(--ink-2); }
.sx-seed { word-break: break-all; }
.sx-cp, .sx-det .sx-os { min-height: 44px; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
  text-decoration-color: rgb(25 25 25 / .35); transition: color var(--t-text) var(--ease); }
.sx-det .alink { color: var(--ink); }
.sx-det .sx-os { min-height: 0; }
/* system.css makes every svg a block: the arrow stays on the words' line, as .sx-sale .ne and next's .xlink .ne */
.sx-det .ne { display: inline-block; margin-left: 6px; vertical-align: 0.05em; }
@media (hover: hover) and (pointer: fine) { .sx-cp:hover, .sx-det .sx-os:hover, .sx-det-x:hover { color: var(--ink-2); } }
@media (min-width: 768px) {
  .sx-det { top: 0; right: 0; bottom: 0; width: min(360px, 100%); background: var(--paper); padding: 0 var(--s-5) env(safe-area-inset-bottom, 0px);
    transform: translateX(100%); }
  .sx-det-top { padding-top: env(safe-area-inset-top, 0px); }
}
@media (max-width: 767px) {
  .sx-det { left: 0; right: 0; bottom: 0; max-height: 78svh; background: var(--band); padding: 0 var(--margin) env(safe-area-inset-bottom, 0px);
    transform: translateY(100%); }
}
.sx-det.open { transform: none; }

/* 6. The hero's sale line (a t-meta link, as next underlines links on a picture) */
.sx-sale-l { margin-top: var(--s-1); }
.sx-sale { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: rgba(249, 248, 244, 0.5);
  display: inline-block; padding-block: 12px; margin-block: -12px; }
.sx-sale .ne { display: inline-block; margin-left: 6px; vertical-align: 0.05em; } /* system.css makes every svg a block: the arrow stays after the words, as .xlink .ne */
@media (hover: hover) and (pointer: fine) { .sx-sale:hover { text-decoration-color: currentColor; } }

/* 7. Tiles: the work's own still, square, next's gaps (6, 10, 14 by width, as works.js); the number always under it */
.sx-tg { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--sx-n, 3), minmax(0, 1fr));
  --sx-gap: 6px; column-gap: var(--sx-gap); row-gap: calc(var(--sx-gap) + 8px); }
@media (min-width: 675px) { .sx-tg { --sx-gap: 10px; } }
@media (min-width: 1240px) { .sx-tg { --sx-gap: 14px; } }
.sx-tg--page { --sx-n: 3; }
@media (min-width: 768px) { .sx-tg--page { --sx-n: 4; } }
@media (min-width: 1024px) { .sx-tg--page { --sx-n: 6; } }
.sx-tg--wall { --sx-n: 3; }
@media (min-width: 768px) { .sx-tg--wall { --sx-n: var(--sx-cols, 6); } }
.sx-ti { min-width: 0; }
.sx-t { display: block; color: inherit; -webkit-tap-highlight-color: transparent; }
.sx-tp { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: rgb(25 25 25 / 0.08); }
.sx-tp > img, .sx-tp > iframe { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; border: 0; display: block; }
.sx-tp > img { opacity: 0; transition: opacity 220ms var(--ease); user-select: none; -webkit-user-drag: none; }
.sx-tp > img.in { opacity: 1; }
.sx-t:active .sx-tp > img { opacity: 0.88; }
.sx-tc { display: flex; gap: 0 0.4em; padding-top: 6px; color: var(--ink-2); white-space: nowrap; overflow: hidden;
  font-variant-numeric: tabular-nums; transition: color var(--t-text) var(--ease); }
.sx-tn, .sx-tf { flex: none; }
.sx-tf::before { content: '\00b7\00a0'; }
.sx-tz { display: none; }
@media (max-width: 767px) { .sx-tu { display: none; } .sx-tz { display: inline; } }   /* the phone: the figure without its unit (panel P1 must 2) */
.sx-tt { display: none; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media (hover: hover) and (pointer: fine) {
  .sx-t:hover .sx-tc, .sx-t:focus-visible .sx-tc { color: var(--ink); }
  .sx-t:hover .sx-tt, .sx-t:focus-visible .sx-tt { display: block; }
}
.sx-t:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
/* a tile reached by Tab is never under the header or the wall's pinned bar (release brief A) */
.sx-tg--page .sx-t { scroll-margin: calc(var(--header-h) + 16px) 0 16px; }
.sx-tg--wall .sx-t { scroll-margin: calc(var(--header-h) + 96px) 0 16px; }
#sx-feature { margin-top: 0; }

/* 8. The 1,300: next's Index of works head and bar (works.css), on a computer one sticky line */
.sx-ix .wx-head { margin-top: var(--top); }
.sx-back { grid-column: 1 / -1; }
.sx-back .alink { color: var(--ink-2); }
.sx-no { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink-2); white-space: nowrap; position: relative; }
.sx-nohint { position: absolute; right: 0; top: calc(100% - 6px); margin: 0; color: var(--ink-2); white-space: nowrap; pointer-events: none; }   /* "1 to 1,300", under the field: nothing moves */
.sx-nohint:empty { display: none; }
.sx-noi { width: 4.5ch; border: 0; border-bottom: 1px solid var(--field-line, var(--hair)); background: transparent; color: var(--ink);
  padding: 6px 0 4px; border-radius: 0; -webkit-appearance: none; appearance: none; font-variant-numeric: tabular-nums; }
.sx-noi:focus-visible, .sx-noi:focus { outline: none; border-bottom-color: var(--ink); }
.sx-bar .wx-f-foot { justify-content: flex-end; }
@media (min-width: 768px) {
  .sx-bar .wx-bar-in { flex-direction: row; align-items: center; column-gap: var(--s-6); }
  .sx-bar .wx-f { display: flex; flex: none; }
  .sx-bar .wx-row--a { flex-wrap: nowrap; }
  .sx-bar .wx-dds { align-items: center; margin-left: 0; width: auto; }
  .sx-bar .wx-row--b { flex: 1 1 auto; }
}
.sx-ptr { display: inline-flex; align-items: center; gap: var(--s-4); }
.sx-pclear { min-height: 44px; color: var(--ink-2); }
.sx-bar .wx-dds .wx-clear { margin-left: calc(var(--s-3) - var(--s-6)); }   /* Clear stands by Land (12 px), as clearing it, not by the number box */
.sx-pclear[hidden] { display: none; }
/* a phone on its side: next's sticky band (.gc, 52 px under the header) would lie over an open list's title, Clear and Show (panel P1 must 3) */
@media (max-width: 767px) and (max-height: 599px) { html.wx-sheet-on .gc { visibility: hidden; } }
.sx-bar .wx-n.sx-none { visibility: hidden; }
/* the head says the count (brief 8 B), so the bar's count is never drawn: Clear stands straight after No. */
.sx-bar .wx-n { display: none; }
/* The tick stands straight after the chosen word (next's gap, 8 px), not at the far end of the line, where on the phone's
   2 columns it read as the next column's mark (review 1 must 2). The count keeps its place at the right. */
.sx-bar .wx-o .wx-ol { flex: 0 1 auto; }
.sx-bar .wx-o .wx-tick { margin-left: 0; }
.sx-bar .wx-o .wx-oc { margin-left: auto; }
@media (max-width: 767px) {
  /* The phone bar: Land, Sort and No. sit in the bar itself (no outer Filter sheet, 1 tap fewer than next's index).
     Each list opens as next's own sheet from below; Land's 14 words stand in 2 columns so none is below the fold,
     and its top reads "Show 503" live. */
  .sx-bar .wx-bar-in { flex-direction: row; align-items: center; column-gap: var(--s-4); }
  .sx-bar .wx-f { display: flex; flex: none; }
  .sx-bar .wx-row--a { display: flex; flex-wrap: nowrap; }
  .sx-bar .wx-dds { display: flex; align-items: center; column-gap: 20px; margin: 0; width: auto; }
  .sx-bar .wx-db { width: auto; color: var(--ink-2); }
  .sx-bar .wx-d.has .wx-db, .sx-bar .wx-d.is-open .wx-db { color: var(--ink); }
  .sx-bar .wx-dc { display: none; }
  /* with land chosen the button says the chosen word ("City", then the chevron at next's 8 px), as the computer's "Land: City" */
  .sx-bar .wx-d[data-dd="land"].has .wx-dl { display: none; }
  .sx-bar .wx-d[data-dd="land"].has .wx-dc { display: block; flex: 0 1 auto; max-width: 8.2em; white-space: nowrap; }
  .sx-bar .wx-d[data-dd="land"].has .wx-dc::before { content: none; }
  .sx-bar .wx-d .wx-dl { margin-right: 0; }   /* next pulls the label to its ": word", which the phone does not show: the chevron keeps its 8 px */
  /* the phone bar has no count line: the head says "503 of 1,300 works" once land is chosen (review 2 should 3, 12 Nov) */
  .sx-bar .wx-bar-in { flex-wrap: wrap; }
  .sx-bar .wx-row--b { display: none; }
  .sx-bar .wx-row--b { flex: 1 1 auto; min-width: 0; justify-content: flex-end; }
  .sx-bar .wx-clear { display: none; }
  .sx-bar #sx-land { display: grid; grid-auto-flow: column; grid-template-rows: repeat(7, auto); grid-template-columns: 1.1fr 1fr; }
  .sx-bar #sx-land li:nth-child(-n+7) .wx-o { padding-right: 6px; }
  .sx-bar #sx-land li:nth-child(n+8) .wx-o { padding-left: 6px; }
  /* the tick straight after its word leaves no room for the count at the column's end at 320 to 375 (measured: the tick
     8 px from its own count, or over the word): on the phone the count stands under its word in meta type, each column
     as wide as its longest word and the space between them, so no tick comes within 24 px of another word */
  .sx-bar #sx-land { grid-template-columns: max-content max-content; justify-content: space-between; }
  .sx-bar #sx-land .wx-o { flex-wrap: wrap; row-gap: 0; padding-block: 7px; }
  .sx-bar #sx-land .wx-ol { white-space: nowrap; }
  .sx-bar #sx-land .wx-oc { flex: 0 0 100%; margin-left: 0; }
  .sx-bar .wx-p-top .wx-x { color: var(--ink); }
}
@media (max-width: 359px) {
  /* a 320 phone: the longest word, Sort and No. fit inside the margins with 10 px between them (measured: 267 px of controls, 288 of room) */
  .sx-bar .wx-dds { column-gap: 10px; }
}
.sx-wallw { margin-top: var(--s-5); padding-bottom: var(--s-7); }
.sx-empty { margin-top: var(--s-7); }
.sx-clear2 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgb(25 25 25 / .35); min-height: 44px; }

@media (prefers-reduced-motion: reduce) {
  .sx-sq > iframe, .sx-tp > iframe, .sx-tp > img, .sx-det, .sx-row .sx-w { transition: none; }
  html.sx-v-work .sx-stage .vw-row { animation: none; }
}

/* STAGE 2 (Megacities and About the artist; added by the stage 2 builder, Wed 11 Nov). Everything else in these 2
   sections is next's own classes: sh, t-heading, row row--5 row--strip, fr, cap t-meta, ex-artist, exb-*, ex-more,
   row row--2, card card--ex, t-card, card-m, alink. */
/* the 1 line under the Megacities head: the measure of next's index pivot line (works.css .wx-pivot, 36em) */
.sx-mg-l { max-width: 36em; margin-bottom: var(--gap-head); }
/* all 29 in 2 groups (SECTIONS3, 12 Nov): "At auction from 18 November" over the 12, "The other 17" over the rest. Each label
   is the page's own small label (t-meta in ink-2, as the facts' dt), 12 px over its tiles as a caption is 12 px under its
   picture (next's gap-caption); the groups stand 48 px apart on a phone and 72 px on a computer, where the grid's own row gap
   is 48, so the break between groups is never mistaken for a row. SECTIONS5: with MEGA_SHOW 12 (sections.js) there is 1 group,
   the 12 at auction under their label, and these rules hold unchanged (the second group's gap has no second group to space) */
.sx-mg-gh { margin: 0 0 var(--gap-caption); color: var(--ink-2); }
.sx-mg-g + .sx-mg-g { margin-top: var(--s-7); }
@media (min-width: 768px) { .sx-mg-g + .sx-mg-g { margin-top: var(--s-8); } }
/* captions: "Megacity 5" never breaks (a no-break space); on the phone the kind always takes the second line, so all 29
   captions are 2 lines and the strips' rows stay even; on a computer 1 line (review 1 should 3) */
@media (max-width: 767px) { #megacities .sx-mk { display: block; } }
/* a megacity tile opens its city large at every size (builder C, 12 Nov): the hand, next's own rollover for a picture in a link
   (system.css `a:hover .fr > img`, the picture grows 4% in its frame) and the tiles' press */
.sx-mgt { display: block; color: inherit; -webkit-tap-highlight-color: transparent; }
#megacities figure, #megacities figure * { cursor: pointer; }
.sx-mgt:active img { opacity: 0.88; }
.sx-mgt:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
/* the megacity, large: on ink, the work's own rows (next's vw-row, dark), the picture in 1 square box between them (sections.js
   megaFit sizes it), the still under, the live city over it */
.sx-mega { position: fixed; inset: 0; z-index: 110; background: var(--ink); overflow: hidden; }
.sx-mega[hidden] { display: none; }
.sx-mega .vw-row { display: flex; z-index: 3; }
.sx-mega button { color: inherit; }
.sx-mega .vw-row--t { height: calc(var(--header-h) + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); }
.sx-mega .vw-row--b { min-height: 0; padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
.sx-mega .sx-l1 { width: 100%; }
.sx-mg-box { position: absolute; left: 50%; top: 50%; width: var(--sx-mg-s, min(100vw, 100svh)); height: var(--sx-mg-s, min(100vw, 100svh));
  transform: translate(-50%, -50%); overflow: hidden; background: var(--ink); }
.sx-mega-img, .sx-mg-f { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; display: block; border: 0; }
.sx-mega-img { user-select: none; -webkit-user-drag: none; }
/* the live city: over the still, faded in on the house curve when it is drawn (as the work's frame); it takes its own touches then */
.sx-mg-f { opacity: 0; pointer-events: none; background: transparent; transition: opacity 400ms var(--ease); }
.sx-mg-f.on { opacity: 1; pointer-events: auto; }
/* the city's last picture, held over the frame while the token redraws its opening view (sections.js megaHold) */
.sx-mg-hold { position: absolute; display: block; max-width: none; pointer-events: none; opacity: 1; transition: opacity 280ms var(--ease); }
.sx-mg-hold.off { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .sx-mg-hold { transition: none; } }
/* the row of words keeps its place and comes only with the live city (nothing moves); the still has none */
.sx-mega .sx-mg-row { opacity: 0; visibility: hidden; transition: opacity 400ms var(--ease), visibility 0s linear 400ms; }
.sx-mega.sx-mg-live .sx-mg-row { opacity: 1; visibility: visible; transition: opacity 400ms var(--ease); }
.sx-mega .vw-row--b .sx-l1 { min-height: var(--t-meta-lh); }
@media (prefers-reduced-motion: reduce) { .sx-mg-f, .sx-mega .sx-mg-row, .sx-mega.sx-mg-live .sx-mg-row { transition: none; } }
/* SECTIONS4 (MEGA): the city grows to cover the screen (sections.js megaPut: the box laid out at its full size, scaled down to the
   square), so its rows take a work's treatment when the picture is under them. The band is the work's phone band (25, 25, 25 at
   0.74, as tall as the row, a 32 px feather), at every size and on its side too, its strength following the growth (--sx-sk,
   sections.js megaInk: 0 at rest, 1 once the picture reaches the row's nearest word). It is the ground's own colour, so the part over
   the ground is unseen and the words never change: over pure white city the words read 7.0 to 1 and the views' 80% words 5.2
   (a work's computer gradients give 3.6 over white, so they are not used here). The words hide 5 s after the reader is still,
   never at rest (vchrome .vw-idle), the cursor with them, as on a work */
.sx-mega .vw-row.sx-mtop::before, .sx-mega .vw-row.sx-mbot::before { display: block; height: calc(100% + 32px); opacity: var(--sx-sk, 0); transition: none; }
.sx-mega .vw-row.sx-mtop::before { background: linear-gradient(to bottom, rgba(25, 25, 25, 0.74) 0, rgba(25, 25, 25, 0.74) calc(100% - 32px), rgba(25, 25, 25, 0.636) calc(100% - 26px),
  rgba(25, 25, 25, 0.459) calc(100% - 20px), rgba(25, 25, 25, 0.266) calc(100% - 13px), rgba(25, 25, 25, 0.104) calc(100% - 6px), rgba(25, 25, 25, 0) 100%); }
.sx-mega .vw-row.sx-mbot::before { background: linear-gradient(to top, rgba(25, 25, 25, 0.74) 0, rgba(25, 25, 25, 0.74) calc(100% - 32px), rgba(25, 25, 25, 0.636) calc(100% - 26px),
  rgba(25, 25, 25, 0.459) calc(100% - 20px), rgba(25, 25, 25, 0.266) calc(100% - 13px), rgba(25, 25, 25, 0.104) calc(100% - 6px), rgba(25, 25, 25, 0) 100%); }
.sx-mega.vw-idle { cursor: none; }
/* the 12 at auction say so in the large view, in the words' own type, where a work has Details (the name line's right end; on a
   narrow screen its own line under the name); the other 17 keep the place (.off), so all 29 open in the same square (with
   MEGA_SHOW 12 every city shown is at auction and says so) */
.sx-mega .sx-l1 { flex-wrap: wrap; row-gap: 0; }
.sx-mg-au { color: var(--vw-ink-2, rgba(249, 248, 244, 0.8)); white-space: nowrap; }
.sx-mg-au.off { visibility: hidden; }
@media (max-height: 599px) and (min-aspect-ratio: 1/1) { .sx-mg-au { white-space: normal; } }
/* next's row--5 is 5 across on a computer; here 3 across on a tablet and 6 on a computer (SECTIONS3: was 4 and 6), as next's
   own artists-works.css sets row--5 to 4 or 3 across (row--ac4, row--ac3). 3 and 6 are the only counts at which the 12 fill
   whole rows (3 x 4, 6 x 2) and the 17 end 1 place short (3 x 5 + 2, 6 x 2 + 5), in the same columns as the 12 above them;
   at 4 the 17 would end with 1 tile alone, at 5 the 12 would. The phone strip (42%, sideways) is next's as is, 1 a group. */
@media (min-width: 768px) { #megacities .row--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { #megacities .row--5 { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* 9. Never a blank (release, builder B): the work's still is on screen first, always, and stays when the live drawing cannot
   come, with 1 plain line (sections.js flUpdate). No spinner, no icon, no colour, no box. */
/* the small still (stills/d384, about 20 KB) under the 768 px one until that has loaded: the same picture, so nothing jumps */
.sx-sq > img { background-size: 100% 100%; background-repeat: no-repeat; }
/* the line: next's t-meta, fading in over 280 ms in a place kept for it, so nothing moves when it comes or goes */
.sx-fl { min-height: var(--t-meta-lh); margin: 0; opacity: 0; visibility: hidden; transition: opacity 280ms var(--ease), visibility 0s linear 280ms; }
.sx-fl.on { opacity: 1; visibility: visible; transition: opacity 280ms var(--ease); }
/* "Try again": a word, underlined as a link on a picture, its target 44 px tall without moving the line */
.sx-try { display: inline-block; padding-block: 12px; margin-block: -12px; color: inherit; text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 4px; text-decoration-color: currentColor; -webkit-tap-highlight-color: transparent; }
.sx-try[hidden] { display: none; }
@media (hover: hover) and (pointer: fine) { .sx-try:hover { opacity: 0.7; } }
/* the opening: in the title block, in the place of "1,300 works ..." (which fades out under it), phone and computer alike: a place
   kept under that line would leave a blank line in every opening that loads well (the line stands before it, absolute at its
   static place, so it is drawn exactly over it and nothing moves) */
#sx-hero .sx-fl { color: inherit; text-shadow: inherit; }
#sx-hero .sx-try { pointer-events: auto; }   /* the title block lets presses through to the picture; its words take their own */
#sx-hero .exhb-m { transition: opacity 280ms var(--ease); }
#sx-hero .exhb-m.sx-fl-off { opacity: 0; }
#sx-hero .exhb-t { position: relative; }
#sx-hero .sx-fl--o { position: absolute; left: 0; right: 0; min-height: 0; }
/* the work: with the label line at the foot, on the same band, white */
.sx-fl--w { color: inherit; padding-right: 6px; }
/* the still only (no WebGL, or the drawing did not load): Plan, Traffic and Lines are dimmed and do nothing */
.sx-row .sx-w[aria-disabled="true"] { opacity: 0.4; text-decoration: none; cursor: default; }
@media (hover: hover) and (pointer: fine) { .sx-row .sx-w[aria-disabled="true"]:hover { opacity: 0.4; color: var(--vw-ink-2, rgba(249, 248, 244, 0.8)); } }
/* the wall: the line in place of the tiles */
.sx-wfail { margin-top: var(--s-7); }
.sx-wfail[hidden] { display: none; }
.sx-ix .sx-try { color: var(--ink); text-decoration-color: rgb(25 25 25 / .35); }
/* the words fading out (420 ms) still take a tap at once while they are partly seen (review note: no second tap) */
.sx-stage.vw-idle.sx-fading .vw-row button { pointer-events: auto !important; }
@media (prefers-reduced-motion: reduce) { .sx-fl, .sx-fl.on, #sx-hero .exhb-m { transition: none; } }

/* 10. Megacities (review notes): each caption keeps to its own tile's width (the kind goes to a second line as a whole), from
   600 to 1440 none touches its neighbour; the large view takes a sideways swipe (sections.js), and on a phone on its side the
   words stand on the ink beside the picture, never on it */
#megacities figcaption { max-width: 100%; min-width: 0; }
.sx-mega { touch-action: none; }
@media (max-height: 599px) and (min-aspect-ratio: 1/1) {
  .sx-mega .vw-row::before { display: none; }
  .sx-mega .sx-pos, .sx-mega .sx-bot-in { max-width: calc((100vw - min(100vw, 100svh)) / 2 - var(--margin) - 8px); }
  .sx-mega .sx-row, .sx-mega .sx-g { flex-wrap: wrap; }
  .sx-mega .sx-g + .sx-g { margin-left: 0; }
  .sx-mega .sx-x { margin-left: auto; }
  .sx-mega .sx-name { white-space: normal; overflow: visible; }
}
/* review 6 should 2: a small phone on its side (568 x 320, 667 x 375) keeps every word off the picture and its arrows' full 44 px:
   the picture gives way, no larger than the width less 158 px each side ("previous, 11 of 12, next" from 8 px, and 8 px clear),
   and the name takes 2 lines as the tiles' captions do on the phone (the kind as a whole on the second) */
@media (max-height: 599px) and (min-aspect-ratio: 3/2) {
  .sx-mega { --sx-mg-s: min(100svh, 100vw - 316px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)); }
  .sx-mega .sx-pos { max-width: none; }
  .sx-mega .sx-bot-in { max-width: calc((100vw - var(--sx-mg-s)) / 2 - var(--margin) - 8px); }
  .sx-mega .sx-ib { flex-shrink: 0; }
  .sx-mega .sx-mkd { display: block; white-space: nowrap; }
}

/* 11. The drawing bar (SECTIONS3, 12 Nov; Neil: "you probably need a loading bar or something"). While the artist's code builds
   a picture it holds this page and no script of ours runs, so the bar is moved by CSS animations of transform and opacity alone
   (the compositor's), started and painted before the frame is made (sections.js barGo). A line in the page's light ink, on a
   faint track (fix S3, below), no box, square ends: along the foot of the picture's square at rest, of the screen when the picture covers it
   (sections.js barPut, megaBarPut set --db-x, --db-y, --db-w). It fills from the left toward 0.98, never to full, over 4 times
   the expected draw time (--db-t): 0.6 at a quarter, 0.8 at half, the 3 parts joined at equal speed so it never stops. A work's
   bar shows only once its drawing passes 1 s (--db-d), a megacity's at once. When the picture shows it runs to full in 200 ms
   and fades with the words (barEnd); a failure takes it away at once (barOff). Not .sx-bar: that is the wall's filter bar. */
/* SECTIONS3 fix S3 (review 12 Nov, should 3): 3 px, not 2, on a faint track of the same width (the bar's colour at 14%: 0.85 x 0.14),
   drawn by the bar's own box, so the track comes and goes with the bar (its opacity and visibility) */
.sx-dbar { position: absolute; z-index: 4; left: var(--db-x, 0px); width: var(--db-w, 100%); height: 3px;
  top: min(var(--db-y, 100%), 100% - 3px - env(safe-area-inset-bottom, 0px)); pointer-events: none; opacity: 0; visibility: hidden; background: rgba(249, 248, 244, 0.12); }
.sx-dbar > i { display: block; width: 100%; height: 100%; background: rgba(249, 248, 244, 0.85); transform: scaleX(0); transform-origin: 0 50%; will-change: transform; }
/* a white drawing (Lines by day) under it: the dark ink; at rest the bar lies on the dark ground, so it stays light there */
.sx-stage.sx-light:not(.sx-rest) .sx-dbar > i { background: rgba(25, 25, 25, 0.85); }
.sx-stage.sx-light:not(.sx-rest) .sx-dbar { background: rgba(25, 25, 25, 0.12); }   /* SECTIONS3 fix S3: its track too */
/* on the opening the bar is the hero's child (sections.js barGo): the hero's still covers the stage while the live picture is made */
#sx-hero > .sx-dbar { z-index: 6; margin-top: -1px; }   /* barPut gives it the stage's foot in the hero's box, 2 px up (SECTIONS3 fix S3: 3 px tall, 1 px higher) */
.sx-dbar.go, .sx-dbar.end { visibility: visible; }
.sx-dbar.go { animation: sx-db-in 240ms linear var(--db-d, 1s) both; }
.sx-dbar.go > i { animation: sx-db-fill var(--db-t, 12s) linear both; }
@keyframes sx-db-in { from { opacity: 0; } to { opacity: 1; } }
/* each part a cubic of the time (x controls at 1/3 and 2/3), its speed at the joins equal to the next part's: 3.0, 1.2, 0.5, 0.2 */
@keyframes sx-db-fill {
  0% { transform: scaleX(0.001); animation-timing-function: cubic-bezier(0.333, 0.417, 0.667, 0.833); }   /* not 0: a flat matrix may keep it off the compositor */
  25% { transform: scaleX(0.6); animation-timing-function: cubic-bezier(0.333, 0.5, 0.667, 0.793); }
  50% { transform: scaleX(0.8); animation-timing-function: cubic-bezier(0.333, 0.46, 0.667, 0.815); }
  100% { transform: scaleX(0.98); }
}
/* reduced motion: the bar is information, so it still shows and fills; it comes in at once and never runs to full (barEnd) */
@media (prefers-reduced-motion: reduce) { .sx-dbar.go { animation-duration: 1ms; } }
/* its words, "Drawing live", in the plain line's place (flUpdate): for a work they too wait 1 s, by the compositor, as the bar;
   the opening's "1,300 works ..." gives way to them only then. A megacity's say "Drawing this megacity live", under 520 px wide
   "Drawing live" */
.sx-fl.on.sx-fl-dl, #sx-hero .exhb-m.sx-fl-off.sx-fl-dl { transition-delay: 1s; }
@media (prefers-reduced-motion: reduce) { .sx-fl.on.sx-fl-dl, #sx-hero .exhb-m.sx-fl-off.sx-fl-dl { transition: opacity 1ms linear 1s; } }
@media (max-width: 519px) { .sx-mgw { display: none; } }

/* 12. The sub nav (SECTIONS5 NAV, 13 Nov; Fred: "No sub nav on Desktop"). next's own row (system.css .sub-wrap/.sub: from
   1024 px, its own switch, it sits in the flow and, once scrolled to, takes the header's place with the name, search and
   Menu; site.js), holding Fred's 6 in his order: Project (this page) and his 5 pages. The entry you are on is ink among
   ink-2, as next marks a row; in a work, paper among paper at 0.6. On the page it comes under the hero; on the wall it is the
   top bar from the first paint and goes up going down and comes back going up, as the header did there; in a work its copy
   sits in the top row only while the square is at rest (never over a full-screen picture). Below 1024 px the row never shows
   or sticks (the header and the phone stay as they were) and next's Menu holds the same 6 first, under the page's name. */
.sx-wnav { display: none; }
@media (min-width: 768px) { #subw ~ #about { margin-top: var(--gap-row); } }   /* the row (and its script) break next's .exhb + .exhb-cp + .mod */
/* SECTIONS5 (MUSTS, M4): below 768 the phone layer moves the caption into the hero and spaces the text by its own
   .lead--over.exhb + .ex-notes (gap-head, 24 px), which the row and its script break too (96 px, 72 more than release 49) */
@media (max-width: 767px) { .exhb + #subw ~ #about.ex-notes { margin-top: var(--gap-head); } }
/* SECTIONS5 (MUSTS, M3): an entry never breaks onto 2 lines. Each keeps its width, so next's own fit (site.js fitBar) sees the
   row's true end and yields in its own order where the room is short: the search, then the row starts after the name
   (sub--early), then the gap closes to 20 and 16 (sub--tight, --tighter). The type stays the page's own nav size. */
#sub .sub-links li, .sx-wnav li { flex: none; white-space: nowrap; }
@media (min-width: 1024px) {
  #subw { margin-top: var(--gap-head); }   /* the row's words 40 px or more under the hero's picture */
  #sub .sub-links a[aria-current="page"] { color: var(--ink); }   /* next's a.on look; its class "on" is site.js's scroll-spy */
  html.sx-b-works #subw { position: fixed; top: 0; left: 0; right: 0; height: 0; margin: 0; z-index: 49; }   /* the wall: "stuck" from the start (fixed makes it a layer of its own: next's z-index for .sub) */
  html.sx-b-works .sub { transition: transform var(--t-ui) var(--ease); }
  html.sx-b-works.stuck.hd-off .sub { transform: translateY(-100%); }   /* going down, the wall's filter line has the top (works.css) */
  .sx-stage .sx-wnav { display: flex; position: absolute; top: 0; bottom: 0; align-items: center; --sx-nav-2: rgba(249, 248, 244, 0.6);
    transition: opacity 200ms var(--ease), visibility 0s linear 0s; }
  .sx-stage.sx-light .vw-row.sx-ink .sx-wnav { --sx-nav-2: var(--ink-2); }
  .sx-wnav ul { display: flex; gap: 32px; margin: 0; padding: 0; list-style: none; }
  .sx-wnav a { display: block; padding-block: 8px; color: var(--sx-nav-2); transition: color var(--t-text) var(--ease); }
  .sx-wnav a[aria-current] { color: inherit; }
  .sx-stage:not(.sx-rest) .sx-wnav { opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 200ms var(--ease), visibility 0s linear 200ms; }
  .mn-sx { display: none; }
}
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) { .sx-wnav a:not([aria-current]):hover { color: inherit; } }
@media (min-width: 1024px) and (prefers-reduced-motion: reduce) {
  html.sx-b-works .sub { transition: opacity 150ms linear; }
  html.sx-b-works.stuck.hd-off .sub { transform: none; opacity: 0; pointer-events: none; }
}
@media (max-width: 1023px) {
  html #subw { display: block; position: fixed; top: 300vh; left: 0; height: 0; margin: 0; visibility: hidden; }   /* never at the top, never "stuck" */
  html #sub { display: none; }
  .menu .mn-sx { order: 0; flex: none; margin-bottom: var(--gap-head); }
  .mn-sx-h { font-weight: 500; }
  .mn-sx ul { margin: 4px 0 0; padding: 0; list-style: none; }
  .mn-sx li { display: flex; align-items: center; min-height: 44px; }
  .mn-sx a { display: flex; align-items: center; min-height: 44px; color: var(--ink-2); transition: color var(--t-text) var(--ease); }
  .mn-sx a[aria-current] { color: var(--ink); }
}
@media (max-width: 1023px) and (hover: hover) and (pointer: fine) { .mn-sx a:not([aria-current]):hover { color: var(--ink); } }
@media print { #subw, .sx-wnav { display: none; } }

/* live build only (tools/live_build.py): the footer here has no newsletter, artist tiles, Privacy or Accessibility
   (no twin on this site), so Contact and Follow start at the left and, on a phone, the motion switch has its own line */
@media (min-width: 1024px) { .ft-g .ft-contact { grid-column: 1 / span 5; } .ft-g .ft-follow { grid-column: 6 / span 3; } }
@media (max-width: 767px) { .ft-end .ft-legal .mo-tg { flex-basis: 100%; } }
/* live build only: the Menu here has no pictures of next's pages or artist tiles above its links, so below 1024 px
   the links start at the top under the header, on the Fellowship name's left edge, with "Pause moving images" under
   them, as on a computer (next pins them to the foot of the screen, the switch beside them on a phone) */
@media (max-width: 1023px) { .menu .mn-nav { margin-top: 0; } }
@media (max-width: 767px) { .menu .mn-nav { display: block; } .menu .mn-mo { margin-top: 12px; } }

/* FIX 14 Nov 2026 (phone review). The essay's Read more is real on this page (sections.js); and − + zoom in a work's row on a
   touch screen only, where there is no wheel and no key */
html.sx-prefold #about .sx-rm-ph.sx-more-on { visibility: visible; pointer-events: auto; }
#about .sx-rm-ph.sx-more-on { position: relative; z-index: 1; display: block; width: auto; margin: 0; padding: 12px 0; text-align: left;
  white-space: nowrap; font: inherit; color: var(--ink); background: none; border: 0; text-decoration: underline;
  text-underline-offset: 4px; cursor: pointer; }
.sx-zm { display: none; }
@media (pointer: coarse) { .sx-zm { display: inline-flex; } .sx-zm .sx-w { min-width: 32px; } }

/* SECTIONS7: in a work the token takes the hand itself (sections.js TOKEN_HAND); ?hand=page gives it back to the clear layer.
   The frame is lifted over the clear layer, so a finger on the picture is the token's; around it the layer still holds the page
   still (touch-action: none) and Details, above both, scrolls as before (Fred, 15 Nov: "scrolling still doesnt, it needs to") */
html.sx-tokhand.sx-v-work #sx-pan { z-index: 3; pointer-events: none; }
html.sx-tokhand.sx-v-work .sx-sq > iframe.on { pointer-events: auto; }
