/* ==========================================================================
   Fiere — the fairs index
   ==========================================================================
   Kept out of artesilva.css for the same reason the artists index keeps its
   roll out of it: the board is used on this page and on no other. Everything
   it is built from — the lift ramp, the glass, the label register, the plate —
   is the shared system's.

   REDRAWN 2026-09-18, and the drawing it replaces is recorded in
   design-pass.md §4.2 and in before-cutover.md. The old page was a row of ten
   marks with one fair open beneath it on a two-column panel, and the panel's
   fault was structural rather than cosmetic: it paired a fixed-size record
   against a list of one to seventeen editions, so ON ALL TEN SERIES one of the
   two columns stood empty, by 164 to 653px. There is no series for which that
   layout was the right one.

   The board has no pair. One column per fair, the editions a deck inside it,
   and a deck is as tall as a deck whether it holds one edition or seventeen.
   Three columns, four rows.

   Two things carry it:

   THE DECK OPENS AS A FAN. At rest it is a tight pile with the cards behind
   peeking upward; when the pointer enters it opens in perspective, each card
   turning on its vertical axis and stepping right. The gesture is the
   gallery's own reference, read off a screen recording — a still frame of it
   had been read for two days as a flat scrub and that reading was wrong in
   all three of its parts.

   THE FAN STAYS INSIDE ITS COLUMN. The gallery's constraint: two different
   fairs must never overlap while the deck opens. That is why the stage takes a
   scale from its left edge as it opens — the fan spreads inside the footprint
   the card already had, rather than growing out of it. Measured with the deck
   open on all ten fairs at both column counts: nothing passes its own column's
   right edge, worst case 24px inside at three columns and 45px at two.

   THE POINTER OPENS AND CHOOSES NOTHING. Hovering reveals; the arrows, the
   dots and the keyboard move the deck. Scrubbing the deck with the pointer's x
   was drawn first and refused: crossing a card on the way somewhere else
   changed what the column said, which is the fault the old parade's own
   comment had already named — a fair carries up to seventeen editions and a
   pointer passing over must not render nine of them to reach the tenth.
   ========================================================================== */

:root {
  /* One radius for a mark, and it is NOT the panel corner. `--radius-panel` is
     a fixed 1.6rem and every plate wearing it on this site is 300px or wider,
     where it is a tenth of the object; on a 44px column mark it is a third,
     which is a phone icon's proportion. */
  --radius-mark: 0.7rem;
  /* The ink that goes ON a photograph, and the one colour on this page that
     does NOT turn over with the theme. A poster does not invert when the room
     goes dark — the same argument the Fair Mark Rule already makes about a
     logo — and neither does the scrim over it, so the words on it are light in
     both themes. It was `--ground-raised` and that is a GROUND token: in dark
     it resolved to #1c1915 and printed near-black on a near-black scrim. */
  --on-picture: #f3f0ea;
}

/* --------------------------------------------------------------------------
   The head, and the next edition standing in it
   --------------------------------------------------------------------------
   Moved here on 2026-09-01 at the gallery's word. It was an island in a band
   of its own, arbitrary in width and belonging to no composition. It now fills
   the right half of the first screen, which the page's name leaves empty, and
   it ends on the page's own right edge — the edge the live count already
   stands on and the sheet below it ends on. Three edges agree where none did. */
.index-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  column-gap: clamp(1.5rem, 4vw, 4rem);
}

/* The Floating Pane Rule's sixth resting place, recorded in DESIGN.md rather
   than smuggled in: one record, mounted clear of the ground so it can be found
   without being looked for. `--glass-thin`, because what is behind it is
   plaster — it passes the physical test on the ground's own account and on
   nothing stronger.

   It says "prossima" for most of the year and "in corso" for the three or four
   days a fair actually runs. A mount that appeared only during a fair would be
   a mount nobody has ever seen: on this archive the current state is true for
   about a fortnight in twelve months. */
.next {
  --pane-pad: clamp(0.8rem, 1.4vw, 1.15rem);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 1.1rem;
  align-items: center;
  gap: clamp(0.9rem, 1.8vw, 1.4rem);
  max-width: 31rem;
  padding: var(--pane-pad);
  border-radius: calc(var(--radius-panel) + var(--pane-pad));
  background: var(--glass-thin);
  -webkit-backdrop-filter: blur(var(--glass-blur)) var(--glass-tone) var(--glass-thin-chroma);
  backdrop-filter: blur(var(--glass-blur)) var(--glass-tone) var(--glass-thin-chroma) var(--glass-lens,);
  box-shadow: var(--lift-2), var(--glass-edge);
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.4s var(--ease), translate 0.4s var(--ease);
}

.next:hover,
.next:focus-visible {
  translate: -2px -3px;
  box-shadow: var(--lift-3), var(--glass-edge);
}

/* Inside the pane the mark rests on glass and not on the wall, so it takes one
   step down the lift ramp — the move the open show's plate makes on the
   archive index. */
.next__mark {
  width: clamp(3.2rem, 5vw, 4.25rem);
  height: auto;
  aspect-ratio: 1;
  border-radius: var(--radius-mark);
  box-shadow: var(--lift-1);
  display: block;
}

.next__record {
  display: block;
  min-width: 0;
}

.next__title {
  display: block;
  margin: 0.35rem 0 0.25rem;
  font-size: var(--fs-medium);
  font-stretch: 104%;
  font-weight: 560;
  letter-spacing: -0.012em;
  line-height: 1.2;
  color: var(--ink);
}

/* Tertiary ink never clears 4.5:1 on glass at any permitted tint, so the lines
   this would have been set in come up a step inside the pane. It is the same
   correction the archive's mount and the plaque both make. */
.next__when {
  display: block;
  font-size: var(--fs-caption);
  line-height: 1.45;
  color: var(--ink-2);
}

.next__go {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: var(--ink-2);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: translate 0.3s var(--ease-out);
}

.next:hover .next__go,
.next:focus-visible .next__go {
  translate: 0.25rem 0;
}

/* The ring for a fair that is not today is `.status--soon` in artesilva.css,
   since 2026-09-25 — the fold's «Ultima mostra» draws it too. */

/* --------------------------------------------------------------------------
   The board
   --------------------------------------------------------------------------
   No ground of its own. The reference is an image editor and its cards stand
   on a ruled workspace; this is the fairs index of an art gallery and it
   stands on the same plaster as the four indexes beside it. A dotted canvas
   was drawn here first, taken from the reference along with the cards, and it
   made `/fiere/` the one page on the site with a texture under it — which is a
   surface saying «this page is a tool» on a site whose every other page says
   «this is an archive». The cards were worth taking and the ground was not. */
.board {
  padding-block: clamp(1.75rem, 4vh, 3rem) clamp(4rem, 9vh, 7rem);
}

/* Three columns, four rows. Two is drawn and holds — the fan is contained at
   both — and three is the gallery's choice, which puts the whole circuit on
   one screen and a half rather than on two and a half. Below 1080 it is two
   and below 680 it is one, where a column is the width of the reading. */
.board__grid {
  display: grid;
  gap: clamp(2rem, 4vh, 3.25rem) clamp(1.25rem, 2.4vw, 2.25rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1080px) {
  .board__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .board__grid { grid-template-columns: minmax(0, 1fr); }
}

/* The column takes a stacking context so the fan lies over the plaster and
   never under the fair beside it. `scroll-margin-top` is what makes
   `/fiere/#artverona` land clear of the fixed navigation — the address the
   home's calendar and the search index both build. */
.column {
  position: relative;
  z-index: 0;
  min-width: 0;
  scroll-margin-top: 7rem;
}

.column:has(.column__stage[data-open='true']) {
  z-index: 5;
}

/* Centred over its own deck, and standing clear of it. Set as a row against
   the card's left edge it read as a caption that had floated above its
   picture; the column is a column and its head belongs over the middle of it.
   The room under it is the room the deck needs to be a separate object — at
   0.9rem the name sat on the card. */
.column__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  /* The room is the FLAG's and not a margin chosen by eye. The flag rises
     28px out of the top of the deck when the fan opens, and at 23px of gap it
     landed 4px inside the pill of years above it — two pieces of glass
     overlapping, which is the one thing glass must never do on this site.
     Measured, it needs 28 plus air. */
  margin-bottom: clamp(3rem, 5vh, 4rem);
  text-align: center;
}

.column__mark {
  width: 2.75rem;
  height: auto;
  aspect-ratio: 1;
  border-radius: var(--radius-mark);
  box-shadow: var(--lift-1);
  display: block;
}

/* A fair with no mark keeps the track. Five of the ten carry none and the row
   of heads holds one baseline whether or not the logo has arrived — the rule
   the old parade had to learn twice, once for the track and once for the
   caption that rode up into it. */
.column__mark--none {
  box-shadow: none;
  background: none;
}

/* `--fs-figure` and not `--fs-medium`: the fair's name is what the reader is
   picking a column by, and at the body's own size ten of them read as ten
   captions. It is one step up the ramp and not two — `.t-title`, the register
   the old panel's heading used, was drawn beside it and fills the column edge
   to edge, which puts the longest name on three lines. */
.column__name {
  margin: 0;
  text-wrap: balance;
  font-size: var(--fs-figure);
  font-stretch: 104%;
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.16;
  /* Two lines reserved, so the ten heads hold one height and the decks under
     them share a top edge. One of the ten wraps — «Roma — The Road to
     Contemporary Art» — and without this the heads measured 112 and 141 and
     that column's deck sat 29px below its neighbours'.

     In `lh` and not in `em`: the unit says TWO LINES and follows the ramp, which
     is the device `/artisti/` settled on for its pane in September and the same
     argument — a height written in `em` has to be recomputed by hand every time
     the type moves. */
  min-height: 2lh;
  color: var(--ink);
}

/* The run and the count, in glass. They are two figures about the fair rather
   than its name, so they read as a label on the column and not as a second
   line of the title — which is the same move the badge makes on the card, one
   scale up. */
.column__span {
  position: relative;
  margin: 0;
  padding: 0.34rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--glass-thin);
  -webkit-backdrop-filter: blur(var(--glass-blur)) var(--glass-tone) var(--glass-thin-chroma);
  backdrop-filter: blur(var(--glass-blur)) var(--glass-tone) var(--glass-thin-chroma) var(--glass-lens,);
  font-size: var(--fs-micro);
  font-stretch: 88%;
  font-weight: 560;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  /* Tertiary ink never clears 4.5:1 on glass at any permitted tint — the rule
     this system applies to the navigation, the plaque and every mount. */
  color: var(--ink-2);
}

/* The stage the deck turns in. Its height is the card's own 3:2 and nothing
   else, so the row of columns holds one baseline however many editions a fair
   has.
 *
 * IT NEVER TRANSFORMS, AND THAT IS A FIX RATHER THAN A STYLE. The opening
 * scale used to sit here, and hit-testing uses an element's TRANSFORMED box
 * while layout uses its untransformed one — so a stage scaled to 0.84 from its
 * left edge pulled its top edge down, its bottom edge up and its right edge in.
 * A pointer resting near any of those three left the stage the instant it
 * opened, which closed it, which returned the stage to full size under the
 * pointer, which opened it again: the deck flickered open and shut under a
 * hand that was not moving. The left edge never did it, because the left edge
 * is the transform origin — which is how the fault named its own cause.
 *
 * So the hit area is this box, which nothing moves, and the scale belongs to
 * the deck inside it. */
.column__stage {
  position: relative;
  aspect-ratio: 3 / 2;
  perspective: 1500px;
  perspective-origin: 26% 46%;
}

/* What actually opens. Absolute over the stage so it carries no layout of its
   own, and the only thing between the stage and the cards. */
.column__deck {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform-origin: left center;
  transition: scale 0.62s var(--ease-out);
}

/* ---- the card ---------------------------------------------------------- */
.edition {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.62s var(--ease-out), opacity 0.4s var(--ease);
}

.edition__face {
  position: relative;
  height: 100%;
  border-radius: var(--radius-panel);
  overflow: hidden;
  background: var(--ground-sunk);
  box-shadow: var(--lift-3);
}

.edition__face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* No picture: the lift goes and the ruled edge stays, so an edition awaiting
   its poster is an edition and not a picture that failed to load.
   THE GROUND STAYS OPAQUE, and that is a correction the render made. Drawn
   with `background: none` the empty card let the tilted card behind it show
   through, so Arte Fiera read «ULTIMA EDIZIONE / ARTEFIERA 2026» over the 2025
   poster — a caption standing on somebody else's picture, which is the defect
   class this archive has already been bitten by twice. A card in a deck cannot
   be transparent. */
.edition--empty .edition__face {
  background: var(--ground);
  box-shadow: none;
  border: 1px dashed color-mix(in srgb, var(--ink) 14%, transparent);
}

/* The caption over the picture, with a scrim only where the words are: the
   plate is the product and a veil over all of it would be covering the work. */
/* `margin: 0`, and it is a fix rather than a tidy. The caption is a <p>, so it
   inherited the body ramp's bottom margin — and an absolutely positioned box is
   placed by its MARGIN box, so `bottom: 0` put its border box 1rem up. The
   scrim stopped 16px short of the picture's bottom edge and cut off square,
   leaving a strip of photograph outside its own shadow. */
.edition__caption {
  position: absolute;
  inset: auto 0 0 0;
  margin: 0;
  padding: 4.25rem 0.9rem 0.85rem;
  /* A PLATEAU and not a ramp, and the shape is the fix rather than the
     strength. Measured over all twenty-nine posters in the archive, at the two
     lines' own positions inside this box — the label sits at 0.49 of it and the
     title at 0.73 — a plain `transparent → 0.62` failed 4.5:1 on TWENTY-SIX of
     them, in the light theme as much as in the dark. And no linear ramp fixes
     it at any alpha: at 0.49 the label can never receive more than half of
     whatever the bottom carries, which is not enough over a white poster, and
     the archive has white posters.
     Reaching full strength above both lines and holding it puts the words on a
     field of known darkness. The minimum that clears all 29 is 0.62; 0.72 is
     that with room for the compression in a real JPEG.

     THE RAMP IS EASED AND IT IS LONG. A two-stop ramp to a plateau has a
     corner where the two meet, and on a flat-coloured poster that corner drew
     as a visible line across the picture. The stops below are a cubic in
     disguise: eight of them, close together where the curve bends and far
     apart where it does not, so the darkening has no edge anywhere. And the
     box is taller than the words need — 4.25rem of padding above them rather
     than 2.5 — because a fade wants distance, and the only way to give a
     gradient more distance is to give its box more height. The words did not
     move; the fade got longer above them. */
  background: linear-gradient(
    transparent,
    rgba(22, 19, 14, 0.02) 14%,
    rgba(22, 19, 14, 0.08) 24%,
    rgba(22, 19, 14, 0.19) 33%,
    rgba(22, 19, 14, 0.34) 41%,
    rgba(22, 19, 14, 0.50) 48%,
    rgba(22, 19, 14, 0.63) 54%,
    rgba(22, 19, 14, 0.72) 61%,
    rgba(22, 19, 14, 0.72)
  );
  color: var(--on-picture);
}

/* With no picture there is nothing not to invert: the words are on plaster and
   they take the plaster's own ink, in whichever theme the reader is in. */
.edition--empty .edition__caption {
  background: none;
  color: var(--ink);
}

.edition__label {
  display: block;
  font-size: var(--fs-micro);
  font-stretch: 88%;
  font-weight: 560;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  opacity: 0.85;
}

.edition--empty .edition__label {
  opacity: 1;
  color: var(--ink-3);
}

.edition__title {
  display: block;
  margin-top: 0.1rem;
  font-size: var(--fs-medium);
  font-stretch: 104%;
  font-weight: 560;
  letter-spacing: -0.012em;
}

/* The reference's floating measurement badge, carrying what an edition has
   instead of pixels: its run, and its stand where the archive states one.
   Inside the corner and not straddling the edge — drawn above it, it cleared
   the card's top by 2px of its own 28 and collided with the deck peeking up
   behind. `align-items: baseline` and one line-height put the label and the
   value on one line; a <b> at its own size otherwise carries its own leading
   and the two halves measured 12px against 18. */
.edition__badge {
  position: absolute;
  margin: 0;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  padding: 0.34rem 0.62rem;
  border-radius: var(--radius-pill);
  /* `--glass-thin`, and INSIDE the face. Drawn as a sibling of the picture it
     sat in the card's own `preserve-3d` context, where Chrome's backdrop
     sampling is unreliable — it measured as glass and rendered as flat grey.
     Inside the face it is over the picture in an ordinary stacking context and
     the poster reads through it. */
  background: var(--glass-thin);
  /* Its own blur and not the site's 12px, kept when the clear glass arrived
     on 2026-09-26: the ink below is chosen against the poster through THIS
     filter, and at 12px a bright detail of the poster came through far enough
     to take the date to 4.23 in dark. No lens either — the deck is 3-D. */
  -webkit-backdrop-filter: blur(18px) saturate(1.4) var(--glass-thin-chroma);
  backdrop-filter: blur(18px) saturate(1.4) var(--glass-thin-chroma);
  box-shadow: var(--glass-edge);
  font-size: var(--fs-micro);
  font-stretch: 88%;
  letter-spacing: 0.06em;
  line-height: 1;
  white-space: nowrap;
  color: var(--ink);
  transition: opacity 0.3s var(--ease);
}

.edition__badge b {
  font-weight: 560;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--ink-3);
}

/* THE POSTER CHOOSES THE INK, and not the theme — the gallery's option A,
   2026-09-23. Over the first nineteen real posters no fixed ink survived: the
   date failed on 14 of 19 in dark at 1.74:1 over the white ones, and the five
   that failed in light were exactly the five that passed in dark. So the ground
   is read where the badge sits (`Tint\corner_of()`, the card's top-right) and
   the badge takes the ink and the glass tint that stand on it. The values are
   deliberately NOT theme tokens: they must not move when the theme does,
   because the poster under them does not. The blur stays — over a picture it
   is the one filter on this board that moves pixels. */
.edition--corner-light .edition__badge {
  color: #16130e;
  background: rgba(255 255 255 / 0.62);
}

.edition--corner-light .edition__badge b {
  /* #4f4a42 measured 4.44:1 over the saturated red of MiArt 2009-2011, the
     worst of the 65; one step darker clears it. */
  color: #423d36;
}

.edition--corner-dark .edition__badge {
  color: #f3f0ea;
  background: rgba(20 18 15 / 0.55);
}

.edition--corner-dark .edition__badge b {
  color: #c4bdb1;
}

/* ---- the deck, at rest and fanned -------------------------------------- */
.edition[data-slot='0'] { transform: none; opacity: 1; z-index: 4; }
.edition[data-slot='1'] { transform: translate3d(0, -9px, -46px); opacity: 1; z-index: 3; }
.edition[data-slot='2'] { transform: translate3d(0, -17px, -92px); opacity: 1; z-index: 2; }
.edition[data-slot='3'] { transform: translate3d(0, -24px, -138px); opacity: 1; z-index: 1; }
.edition[data-slot='hidden'] {
  transform: translate3d(0, -28px, -180px);
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}

/* The card that was just read, leaving — out to the left and toward the
   reader, turned as the fan turns, fading as it goes. The fan opens to the
   right, so the deck's past is on the left and nowhere else. Open or at rest
   it is the same place: a card is only ever here in passing, and it is never
   seen standing still. Added on 2026-09-27 after the gallery used the board on
   a phone: the exchange scattered because the outgoing card had nowhere to go
   but back into the pile. */
.edition[data-slot='gone'] {
  transform: translate3d(-38%, 2%, 60px) rotateY(20deg);
  opacity: 0;
  z-index: 5;
  pointer-events: none;
  /* The fade runs as long as the move and late in it. On the card's shared
     0.4s ease it was at 12% by 200ms, gone before it had travelled — the same
     cut as before, only further left. Measured on staging, 2026-09-27. */
  transition: transform 0.62s var(--ease-out), opacity 0.62s ease-in;
}

/* THE CARDS BEHIND ARE NOT HOVERABLE, and that is the second half of the fix
 * the moving hit area started.
 *
 * They sit above the stage's top edge — 9, 17 and 24px at rest, and further
 * when the fan opens — and a card is a descendant of the stage, so a pointer
 * resting in that band counted as inside it. The fan then opened, the cards
 * moved out from under the pointer, the stage was left, it closed, the cards
 * came back, and it opened again: measured with a real mouse through the
 * DevTools protocol, 98 state changes in two seconds 3px above the edge and 45
 * at 8px, with nothing at all at 20 or along any other edge.
 *
 * Only the card being read takes the pointer. At rest it fills the stage
 * exactly, so the hoverable area and the hit area become the same rectangle —
 * which is what the fix of the stage was trying to achieve and could not,
 * because the overhang was never the stage's own box. */
.edition:not(.edition--open) {
  pointer-events: none;
}

/* Only the card being read speaks; the ones behind it are edges. */
.edition:not(.edition--open) .edition__caption {
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

/* The fan. It opens to the RIGHT ONLY, anchored on the open card's own left
   edge — pulled left it read well in the middle of the grid and cut through
   the page's gutter on the first column, which is where a reader's eye starts.
   And the stage steps back as it opens, which is what keeps the whole gesture
   inside one column. The recession does most of the shrinking on its own: a
   card at -620px against a 1500px perspective draws at 0.71, so the steps to
   the right stay small and the fan still opens visibly. */
.column__stage[data-open='true'] .column__deck { scale: 0.84; }

.column__stage[data-open='true'] .edition[data-slot='0'] {
  transform: translate3d(0, 0, 30px) rotateY(20deg);
}

.column__stage[data-open='true'] .edition[data-slot='1'] {
  transform: translate3d(22%, -3.5%, -180px) rotateY(20deg);
}

.column__stage[data-open='true'] .edition[data-slot='2'] {
  transform: translate3d(40%, -7%, -400px) rotateY(20deg);
}

.column__stage[data-open='true'] .edition[data-slot='3'] {
  transform: translate3d(55%, -10%, -620px) rotateY(20deg);
  opacity: 0.55;
}

/* The badge is the resting statement and the flag is the open one, so they
   never show together — and neither does the caption ON the card, which the
   flag is already saying. Open, the card read «EDIZIONE / ArtVerona 2024» over
   the picture with the same words in the pill above it: the same words twice
   inside 300px, which is the fault this page has been caught by on the city,
   on the pavilion and on «ultima» beside «unica». The reference does not do it
   either — its fanned cards carry no caption, only the pill. */
.column__stage[data-open='true'] .edition__badge,
.column__stage[data-open='true'] .edition__caption {
  opacity: 0;
}

/* The flag: the reference's own label, pinned. It followed the pointer while
   the pointer also chose the edition, which put a moving label on a moving
   deck and read as jitter; with the arrows choosing there is nothing to
   track. */
.column__flag {
  position: absolute;
  left: 1.1rem;
  top: -1.7rem;
  z-index: 6;
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin: 0;
  padding: 0.34rem 0.7rem;
  border-radius: var(--radius-pill);
  pointer-events: none;
  /* Glass, like every other pill on the page. It was `--ground-raised`, which
     on plaster reads as a grey tablet and not as glass at all — the gallery saw
     it at once. `position: relative` is already set above, which the rim's ring
     needs to sit in. */
  background: var(--glass-thin);
  -webkit-backdrop-filter: blur(var(--glass-blur)) var(--glass-tone) var(--glass-thin-chroma);
  backdrop-filter: blur(var(--glass-blur)) var(--glass-tone) var(--glass-thin-chroma) var(--glass-lens,);
  box-shadow: var(--lift-2);
  font-size: var(--fs-micro);
  font-stretch: 88%;
  letter-spacing: 0.06em;
  line-height: 1;
  white-space: nowrap;
  color: var(--ink);
  opacity: 0;
  translate: 0 6px;
  transition: opacity 0.3s var(--ease), translate 0.4s var(--ease-out);
}

.column__flag b {
  font-weight: 560;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--ink-3);
}

.column__stage[data-open='true'] .column__flag {
  opacity: 1;
  translate: 0 0;
}

/* ---- the controls ------------------------------------------------------ */
/* ONE PANE, with the marks on it — the navigation's own model, and a correction
   made on 2026-09-18 after the gallery said the arrows read greyer than the
   glass they had been shown.
 *
 * They did. Each arrow was its own pane with its own `backdrop-filter`, and a
 * small pane over uniform plaster shows no glass at all: there is nothing
 * behind it to refract, so what is left is the tint over a backdrop the tone
 * has already darkened — a grey disc. Measured against the home, where the
 * header's buttons carry NO background and NO filter and are bare marks on the
 * single sheet the navigation is. One pane, many marks.
 *
 * It is also the argument this page made against itself in September, when the
 * old sheet was one clipped shape rather than two: glass over glass filters the
 * same backdrop twice and the overlap reads as a darker band.
 *
 * `width: fit-content` because a pane is the size of what is on it. Spread to
 * the column's two edges the arrows once stood 581px apart on a 642px bar. */
.column__bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  width: fit-content;
  margin: 1rem auto 1.25rem;
  padding: 0.3rem 0.55rem;
  position: relative;
  border-radius: var(--radius-pill);
  background: var(--glass-thin);
  -webkit-backdrop-filter: blur(var(--glass-blur)) var(--glass-tone) var(--glass-thin-chroma);
  backdrop-filter: blur(var(--glass-blur)) var(--glass-tone) var(--glass-thin-chroma) var(--glass-lens,);
  box-shadow: var(--lift-1);
}

.column__step {
  width: 1.9rem;
  height: 1.9rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  cursor: pointer;
  /* A bare mark on the bar's glass, with no pane of its own — the home's header
     buttons exactly, which carry no background and no filter. The ink is the
     whole of the state: secondary at rest, full under the pointer. */
  background: none;
  box-shadow: none;
  color: var(--ink-2);
  transition: color 0.3s var(--ease);
}

.column__step:disabled {
  opacity: 0.3;
  cursor: default;
}

.column__step:not(:disabled):hover {
  color: var(--ink);
}

.column__step svg {
  width: 0.9rem;
  height: 0.9rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.column__step--back svg {
  rotate: 180deg;
}

/* The year the deck is open on, between the two arrows.
 *
 * REPLACES SIXTY-FIVE TICKS, 2026-09-21. The dots were a control and they were
 * 6.1 x 6.1px at an 11.5px pitch — zero of the sixty-five reached the 24 x 24
 * of WCAG 2.5.8, and the spacing exception cannot save them, because circles
 * that size at that pitch overlap. The comps of the same day drew the three
 * ways out of it and the gallery took the smallest: the bar stops pretending to
 * be a map of the deck and simply says where the deck is.
 *
 * **What goes with them is random access**, which is stated here rather than
 * left to be discovered: the ninth edition of seventeen is now eight presses
 * away and there is no longer an address on the page that reaches it in one.
 * `?fiera=&anno=` still reaches it from outside, and the two menus above the
 * board still narrow to it — that is what is left of it, and it was a
 * deliberate choice and not an oversight.
 *
 * Tabular figures because the readout must not breathe as the deck turns: at
 * proportional widths 2011 is 4px narrower than 2025 and the two arrows step
 * apart each time the year does. `min-width` holds the same line where a record
 * states no year at all and the readout prints nothing. */
/* The `b` carries the year alone, because the script rewrites it on every turn
   and the visually-hidden word beside it has to survive that. It is not a
   second weight: the `p` is already the weight this readout wants. */
.column__at b {
  font-weight: inherit;
}

.column__at {
  margin: 0;
  min-width: 2.9rem;
  text-align: center;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}


/* Where the fair is, under the deck. It is present only on an edition that has
   not ended, so it is absent far more often than not — which is why it sits
   BELOW the controls and not between them and the deck: a row that appears and
   disappears must not move the controls under the reader's hand. */
.column__where {
  margin: 0 0 0.5rem;
}

.column__where.facts {
  gap: 0.4rem 1.5rem;
}

.column__where dd {
  font-size: var(--fs-caption);
}

/* Each column arrives after the one before it. 55ms is the step, so the last
   of ten lands half a second after the first — long enough to read as a
   sequence and short enough that nobody waits for it. */
@keyframes board-in {
  from { opacity: 0; translate: 0 14px; }
  to { opacity: 1; translate: 0 0; }
}

.column {
  animation: board-in 0.7s var(--ease-out) both;
  animation-delay: calc(var(--i) * 55ms);
}

/* --------------------------------------------------------------------------
   The two themes
   --------------------------------------------------------------------------
   A mark keeps its own ground in both themes, because a logo does not invert
   when the room goes dark and a real one uploaded by the gallery could not be
   made to. That leaves one case the light theme does not have: in dark the
   cast shadow is black on a near-black ground, so a mark whose own ground is
   dark — and real fair logos often are — arrives with no edge and dissolves
   into the page. It takes the single inset line of `--highlight` that every
   lifted plane in this theme already carries.

   The canvas needs no dark variant: it is drawn in `--hairline-strong`, which
   is a token and already turns over with the theme. */
:root[data-theme='dark'] .column__mark,
:root[data-theme='dark'] .next__mark {
  box-shadow: var(--lift-1), inset 0 0 0 1px var(--highlight);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .column__mark,
  :root:not([data-theme='light']) .next__mark {
    box-shadow: var(--lift-1), inset 0 0 0 1px var(--highlight);
  }
}

/* --------------------------------------------------------------------------
   Reduced motion
   --------------------------------------------------------------------------
   No fan, no perspective, no pile: one card at a time and a cross-fade. The
   deck is the whole of the motion on this page, so taking the motion away has
   to take the DEPTH with it — left in, a reader who asked for no movement
   keeps a three-dimensional stack that never opens, which is the worst of
   both. The arrows and the dots are unaffected and remain the whole of the
   navigation, which they already are for everybody. */
@media (prefers-reduced-motion: reduce) {
  .column {
    animation: none;
  }

  .column__stage {
    perspective: none;
  }

  .column__deck {
    transition: none;
  }

  .column__stage[data-open='true'] .column__deck {
    scale: 1;
  }

  .edition,
  .edition[data-slot='gone'] {
    transition: opacity 0.2s linear;
  }

  .edition[data-slot],
  .column__stage[data-open='true'] .edition[data-slot] {
    transform: none;
  }

  .edition:not(.edition--open) {
    opacity: 0;
  }

  .column__flag {
    transition: opacity 0.2s linear;
    translate: none;
  }

  .next {
    transition-duration: 0.01ms;
  }
}

/* --------------------------------------------------------------------------
   The phone
   -------------------------------------------------------------------------- */
@media (max-width: 760px) {
  /* There is no pointer, so the fan never opens by hover and the deck is read
     with the arrows alone — which is what every reader gets anyway, since the
     arrows are what the fan sequence is triggered by. The pile behind the open
     card still says how many there are. */
  .column__head {
    margin-bottom: 1rem;
  }

  /* The head stacks: the page's name, then the next edition under it at the
     full width of the column, then the filters. Until 2026-10-03 the two
     columns of the wide head held here too, and on a phone the pane took the
     width the name needed and stood over it — the gallery saw it the day
     ArtVerona became the next fair. Under the name rather than above it,
     because the name is what tells a reader which page this is, and rather
     than after the filters, because the filters belong to the board they
     narrow and the mount is not part of it. */
  .index-head--split {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 1.25rem;
  }

  .next {
    max-width: none;
  }
}
