/* ═══════════════════════════════════════════════════════════════════════
   Expo — class collection

   Typography learned from the references rather than invented:

   · David Kordansky Gallery sets h1, h2 and h3 all at 16px. Hierarchy is
     carried by WEIGHT, never by size. Body runs at 11px.
   · Museum Department lives entirely between 10px and 18px — 12px appears 35
     times — and spends its one display moment at 40px/0.85/-1%, weight 900.

   So: a small, tight working scale doing nearly all the work, and a single
   loud moment reserved for the exhibition title. The posters and screenshots
   are the loud element; type stays quiet and precise around them.

   Colour is ArtCenter's own, sampled from artcenter.edu: black, #D1D1D1
   hairlines (used 174 times on their site), and the orange from the logo dot.

   ONE TYPEFACE, ON PURPOSE. Both references run a single grotesque and let
   WEIGHT carry every level of hierarchy — Kordansky sets h1, h2 and h3 at the
   same 16px and separates them only by 700 vs 400. Pairing a display face
   against a body face here would contradict the thing being referenced. The
   loud element on this page is the poster and the screenshots; the type is
   the quiet frame around them.
   ═══════════════════════════════════════════════════════════════════════ */

/* The poster's own display face. Feroniapi — Peter Wiegel, redesigned by
   Julienne Richard, SIL OFL 1.1, from Velvetyne's repository. One style
   only: a medium italic. Self-hosted because the licence allows it and
   because the show's name should not wait on a third party to render. */
@font-face {
  font-family: 'Feroniapi';
  src: url('fonts/Feroniapi-MediumItalic.woff2') format('woff2'),
       url('fonts/Feroniapi-MediumItalic.woff')  format('woff');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink:     #000000;
  --paper:   #FFFFFF;
  --ground:  #F0F1F2;   /* their pale panel */
  --rule:    #D1D1D1;   /* their hairline */
  --mute:    #6C6C6C;
  /* Taken from the graphic team's poster rather than invented, so the site
     and the printed piece read as one show. #1743EA covers 37% of the poster;
     #000080 and #C0C0C0 are its Win95 furniture; the yellow is its warning
     sign. The orange that was here before read as generic. */
  --accent:  #1743EA;   /* the poster blue */
  --navy:    #000080;   /* poster variable Semantic/Backgroud/Navy */
  --chrome:  #C0C0C0;   /* poster variable Basic/Neutral/300 */
  --highlight: #FFFF00;
  --link:         #0000EE;   /* the browser's own default link blue */
  --link-visited: #551A8B;

  --gutter: clamp(18px, 3.4vw, 56px);
  --bar-gap: clamp(10px, 1.1vw, 16px);   /* air around the floating top bar */

  /* The working scale, one notch up from the first pass. stateofaidesign.com
     bottoms out at 14px and runs body at 16–20px; 10px labels were too quiet
     to hold a wall. Only the description stays put — it was already at a
     comfortable reading size and 62 characters. */
  --t-meta:  14px;   /* dates, credits, index */
  --t-base:  15px;   /* description — unchanged on purpose */
  --t-lead:  22px;   /* artist names, nav */
  --t-work:  clamp(26px, 2.3vw, 34px);   /* work titles */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* ── Section snapping ───────────────────────────────────────────────────
   PROXIMITY, never mandatory. Measured first: on a laptop the plates run
   792–922px against 850px of usable height, and on a phone 478–1395px
   against 844px — so most sections are TALLER than the screen. Mandatory
   snapping on a section taller than the viewport traps the reader, because
   every resting position gets pulled back to a section start and the bottom
   of a long description becomes hard to sit still on. Proximity only assists
   when the scroll was already going to come to rest near a boundary, which
   PROXIMITY, not mandatory — and this was tested, not assumed. Mandatory
   does carry you to the next work, but it also refuses to rest anywhere
   inside a section taller than the screen: on a 1280x800 laptop Alyssa's
   section is 1007px against 750px of usable height, and under mandatory
   there was NO resting position inside it at all, leaving her own button
   permanently off screen. The spec's "large snap area" relaxation does not
   save it in practice. So proximity: it eases you into a section's edge
   when you come to rest near one, and otherwise leaves the scroll alone. */
.hero, .plate {
  /* keeps anchor jumps and find-in-page clear of the sticky bar */
  scroll-margin-top: var(--topbar-h, 50px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* The poster's face. One weight only, so it is never asked to carry
   hierarchy by boldness — it works at size, in caps, or reversed on a block. */
.signage {
  font-family: 'Electrolize', 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Archivo', 'Neue Haas Grotesk Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: var(--t-base);
  line-height: 1.5;
  font-feature-settings: 'kern' 1, 'liga' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--highlight); color: var(--ink); }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* numerals in dates and indices must not wobble between rows */
.tnum { font-variant-numeric: tabular-nums; }

/* ── Standing head ─────────────────────────────────────────────────────── */
/* A blue block that floats, rather than a band welded to the window. The
   poster is built entirely from panels sitting on a ground, so the bar keeps
   air on all four sides and the page shows through around it. */
.topbar {
  position: sticky;
  top: var(--bar-gap);
  z-index: 20;
  margin: var(--bar-gap);
  display: flex; flex-wrap: nowrap; align-items: center; gap: 20px;
  padding: 9px 14px;
  background: var(--accent);
  color: var(--paper);
  font-family: 'Electrolize', 'Archivo', Helvetica, Arial, sans-serif;
}
/* The show's name and its run, set at one size so they read as a pair. The
   dates stay lighter so the name still leads. */
.topbar-mark {
  /* The same display face as the hero and the poster. It is a script, so it
     needs a little more size than the dates beside it to hold at this scale,
     and no extra tracking — the letters are nearly joined already. */
  font-family: 'Feroniapi', 'Electrolize', 'Archivo', Helvetica, Arial, sans-serif;
  font-style: italic;
  font-weight: 500;
  font-size: calc(var(--t-lead) * 1.18);
  letter-spacing: 0;
  white-space: nowrap;
}
/* One line, always. Nothing in the bar shrinks on its own — the parts are
   dropped in order of how little they are needed, by fitTopbar(), so the
   bar never wraps and never half-sets a word. */
.topbar > * { flex: 0 0 auto; }
.topbar.is-dateless .topbar-dates,
.topbar.is-dateless .topbar-sep      { display: none; }
.topbar.is-nameless .artistnav-current { display: none; }
.topbar.is-nameless .artistnav-toggle  { gap: 0; padding: 8px 10px; }
/* ── The bar does not repeat what the page is already saying ─────────────
   While the hero is on screen the show's name is set at 100px right below
   the bar; printing it again 60px higher is the same sentence twice. So the
   bar opens with the run of the show and the way into the works, and takes
   up the name only once the hero title has scrolled past it — which is also
   the moment the name stops being anywhere else on the page.
   Phones keep the name throughout: there the dates are already dropped for
   width, and a bar holding nothing but a hamburger reads as broken. */
@media (min-width: 861px) {
  .topbar.is-bare .topbar-mark,
  .topbar.is-bare .topbar-sep { display: none; }
  /* Alone on the left the dates lead, so they come up to full strength. */
  .topbar.is-bare .topbar-dates { color: var(--paper); }
  .topbar-mark { animation: bar-name-in .34s ease both; }
}
@keyframes bar-name-in {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .topbar-mark { animation: none; }
}

/* Last resort, and only if a very long show name meets a very narrow phone. */
.topbar.is-clipped .topbar-mark {
  flex: 0 1 auto; min-width: 0;
  overflow: hidden; text-overflow: ellipsis;
}
.topbar-sep {
  width: 1px;
  align-self: stretch;
  margin: 2px 2px;
  background: rgba(255,255,255,0.4);
}
.topbar-dates {
  font-size: var(--t-lead);
  color: rgba(255,255,255,0.62);
  font-variant-numeric: tabular-nums;
}

/* ── Artist nav ──────────────────────────────────────────────────────────
   The darker navy block from the poster: it answers "whose work is this" and
   opens the way to the others. Everything here is square, reversed and set in
   the poster's face — the native <select> it replaced drew the OS's own
   rounded translucent menu, which read as a system dialogue dropped onto the
   page rather than part of the show. */
.artistnav {
  margin-left: auto;
  position: relative;
}
.artistnav-toggle {
  display: flex; align-items: center; gap: 12px;
  background: var(--navy);
  border: 0;
  padding: 8px 12px 8px 14px;
  color: var(--paper);
  font-family: 'Electrolize', 'Archivo', Helvetica, Arial, sans-serif;
  font-size: var(--t-meta);
  line-height: 1.2;
  cursor: pointer;
  transition: background-color .16s;
}
.artistnav-toggle:hover { background: #000faa; }
.artistnav-toggle:focus-visible { outline: 2px solid var(--highlight); outline-offset: 2px; }
.artistnav-toggle[aria-expanded='true'] { background: var(--ink); }

/* Same size as the name beside it, kept quieter by colour rather than by
   shrinking it. The old 12px letterspaced caps went fuzzy at a distance —
   small tracked-out type in a single-weight face has nothing to hold on to. */
.artistnav-label {
  font-size: var(--t-lead);
  letter-spacing: 0;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
}
/* Before the reader reaches the first work there is no artist to name, so
   the block offers the action instead of a classmate's name. */
.artistnav-toggle.is-browsing .artistnav-label { display: none; }
/* The name is the information; the affordance is only a hint. Reversing that
   made the bars shout louder than the artist. */
.artistnav-current {
  white-space: nowrap;
  max-width: 30vw;
  overflow: hidden; text-overflow: ellipsis;
  font-size: var(--t-lead);
  line-height: 1.15;
}
.artistnav-caret { width: 10px; height: 6px; flex-shrink: 0; opacity: 0.55; transition: transform .18s, opacity .18s; }
.artistnav-toggle:hover .artistnav-caret { opacity: 1; }
.artistnav-toggle[aria-expanded='true'] .artistnav-caret { transform: rotate(180deg); }
.artistnav-bars { display: none; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* The menu. Anchored under the block on a wide screen, full width on a
   phone. Square corners, hard edges, no shadow — a panel, not a popover. */
.artistmenu {
  position: absolute;
  top: calc(100% + 4px); right: 0;
  z-index: 30;
  min-width: max-content;
  background: var(--navy);
  border: 2px solid var(--ink);
  padding: 4px 0;
  /* Take whatever is actually under the bar rather than a flat 74vh — at
     thirteen works the old ceiling cut the list short on screens that had
     the room for all of it. */
  max-height: calc(100vh - var(--topbar-h, 62px) - 22px);
  overflow-y: auto;
  /* No scrollbar: a grey system bar down the navy block is the one piece of
     the operating system's chrome left in a panel built to avoid exactly
     that. It still scrolls — by wheel, trackpad and arrow key — and when it
     has to, the item it cuts through is the signal that there is more.
     Scrolling stops at the panel's end instead of carrying on into the page
     behind it. */
  scrollbar-width: none;
  overscroll-behavior: contain;
}
.artistmenu::-webkit-scrollbar { width: 0; height: 0; }
.artistmenu[hidden] { display: none; }
.artistmenu button {
  display: block; width: 100%;
  background: none; border: 0;
  padding: 7px 18px;
  text-align: left;
  color: var(--paper);
  cursor: pointer;
  font-family: inherit;
}
.artistmenu button:hover { background: rgba(255,255,255,0.1); }
.artistmenu button[aria-current='true'] { background: var(--accent); }
.artistmenu button:focus-visible { outline: 2px solid var(--highlight); outline-offset: -3px; }
/* The work's title leads, in the poster's face. Titles vary far more in
   length than names did — "Christmas 2025 — a map of what we were doing"
   against "Unboxed" — so a long one wraps at a set width instead of
   stretching the whole panel to fit it. */
.artistmenu-title {
  display: block;
  max-width: 18em;
  font-family: 'Electrolize', 'Archivo', Helvetica, Arial, sans-serif;
  font-size: var(--t-lead);
  line-height: 1.15;
}
/* The artist underneath, quiet: 0.6 white holds 6:1 on navy. */
.artistmenu-by {
  display: block;
  font-family: 'Archivo', Helvetica, Arial, sans-serif;
  font-size: var(--t-meta);
  color: rgba(255,255,255,0.6);
  margin-top: 3px;
}

/* Narrow: the label and caret go, the bars arrive, and the menu spans the
   screen so ten names are reachable with a thumb. */
@media (max-width: 860px) {
  .artistnav { position: static; }
  .artistnav-label, .artistnav-caret { display: none; }
  .artistnav-bars {
    display: grid; gap: 4px; width: 17px; flex-shrink: 0;
    opacity: 0.55;                     /* quieter than the name beside it */
  }
  .artistnav-bars i { display: block; height: 1.5px; background: currentColor; }
  .artistnav-current { max-width: 44vw; }
  .artistmenu {
    position: fixed;
    top: var(--topbar-h, 53px); left: 0; right: 0;
    min-width: 0;
    border-width: 0 0 2px;
    max-height: calc(100vh - var(--topbar-h, 53px));
  }
  .artistmenu button { padding: 13px var(--gutter); }
  /* The bar has to stay one line — that was the whole point of the hamburger,
     and the date range alone is wider than the space beside it. The dates are
     set again in the hero, so nothing is lost here. */
  .topbar-dates, .topbar-sep { display: none; }
}

/* ── Hero ───────────────────────────────────────────────────────────────
   Title, curatorial note and poster in one block. The exhibition has no name
   yet, so the slot is sized for a long title and stays composed with a short
   one. */
.hero {
  padding: clamp(40px, 9vh, 110px) var(--gutter) clamp(34px, 6vh, 70px);
  border-bottom: 1px solid var(--rule);
}
/* Mixed case, not caps: ArtCenter writes its own name that way, and setting
   it in caps makes it look like a different institution. */
/* Sits tight to the title. At 40px away from a 150px display line it read as
   floating in the margin rather than as the title's own kicker; a big title
   needs its eyebrow closer, not further, to stay attached to it. */
.eyebrow {
  font-size: var(--t-meta);
  font-weight: 500;
  letter-spacing: 0;     /* small text is never tightened: it is where it hurts most */
  color: var(--accent);
  /* clears the title's blue block, which bleeds above its baseline */
  margin-bottom: 22px;
}
/* A rule, not a dot: it separates two names that each contain their own
   punctuation, and a bar holds them apart more firmly than a mid-dot. Same
   hue as the words so it stays one line, dropped back so it does not read as
   a character. */
/* Real spaces sit either side of the bar in the markup — without them the
   whole line is one unbreakable run and a narrow phone scrolls sideways. */
.eyebrow span {
  margin: 0 0.32em;
  opacity: 0.4;
  font-weight: 400;
}
/* On a phone the line has to wrap, and it should wrap at the separator —
   not through the middle of "IXD-401: Web Technologies". */
.eyebrow .eyebrow-part {
  margin: 0;
  opacity: 1;
  white-space: nowrap;
}
/* The one loud moment on the page. stateofaidesign.com sets its display at
   120px / lh 0.95 / ls −6% in a MEDIUM weight — the weight is not what makes
   it read as bold, the scale and the tightness are. Tracking and leading
   follow that; the weight stays heavy because this page has only one display
   moment to spend and no second face to lean on. */
/* Set in the poster's own face, reversed out of the poster's own blue —
   "ROOM 211" is white Electrolize on a blue panel and this is the same move.
   Electrolize has one weight, so the size does the shouting; the tight
   tracking that suited Archivo's 800 is eased off because this face is
   already wide and open. */
.exhibition-title {
  /* The poster's display face, so the show's name reads the same on the
     wall and on the screen. It is an italic-only design, declared as such
     so nothing gets slanted a second time by the browser. */
  font-family: 'Feroniapi', 'Electrolize', 'Archivo', Helvetica, Arial, sans-serif;
  font-style: italic;
  font-size: clamp(46px, 9.2vw, 146px);
  font-weight: 500;
  /* Feroniapi has real ascenders, descenders and swashes; the 1.0 that
     suited Electrolize's flat caps collided them. */
  line-height: 1.08;
  /* and no negative tracking — the letters are rounded and nearly joined,
     so pulling them together closes the counters. */
  letter-spacing: 0;
  color: var(--paper);
  background: var(--accent);
  /* No -webkit-text-stroke here. It existed to fake a heavier cut out of
     Electrolize's single weight; on a rounded script it fills in the joins
     and the thin strokes of the swashes. This face carries its own weight. */

  /* One band the width of the column, rather than a shape cut around the
     words. Hugging the text gave a different width per line and a ragged
     right edge; the poster's blue is a field, not an outline. */
  display: block;
  box-sizing: border-box;
  width: calc(100% + 0.22em);
  padding: 0.06em 0.11em;
  /* Pulled back by its own left padding so the LETTERS line up with the
     eyebrow and the text below, not the panel's edge — the extra 0.22em of
     width puts the same bleed on the right. Both sit inside the gutter. */
  margin-left: -0.11em;
}
/* Full strength even while the name is undecided — the words say "to be
   decided", so nothing is being claimed by setting them boldly. */
.exhibition-title[data-placeholder='true'] { color: var(--paper); }

/* the title is inline now, so it needs a line box of its own */
.titleline { display: block; margin-bottom: clamp(34px, 5.5vh, 62px); }
/* Curatorial note under the title, poster alongside. Graphic design
   contributes a tall Instagram-format poster, so the slot is 4:5 and nothing
   has to be cropped to fit. */
.hero-body {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 1fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: start;
  margin-top: clamp(30px, 5vh, 58px);
}
/* A label belongs to the text it labels. The margin alone was not the whole
   gap: at the inherited 1.5 line-height the label carried ~3px of leading
   under the caps, and the paragraph another ~5px above its first line, so a
   9px margin was reading as nearer 17px. Tightening the label's own line box
   is what actually closes it. */
/* ── Labels ──────────────────────────────────────────────────────────────
   The poster's way of naming a fact: its signage face, sentence case, white
   on a solid block. "Opening with curator/artist talk:", "On view:",
   "Curator" — none of them is small grey capitals, and nothing on the
   poster is grey at all. The 12px tracked-out caps that were here are the
   most common device in templated interfaces right now; this replaces the
   device rather than retuning it, and with sentence case there is no
   letter-spacing left to get wrong. Two block colours, both the poster's:
   black heads a whole section, blue names a single fact. */
.hero-label,
.hero-foot dt,
.credits-list dt {
  display: inline-block;
  font-family: 'Electrolize', 'Archivo', Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  color: var(--paper);
  /* Navy, not the bright blue. With every label in the bright blue, blue
     meant "label" as much as "this is the one that matters", and seven tags
     out-shouted the opening they sat around. Navy is still the show's blue
     — the poster's window title bars, the artist block in the top bar — but
     it steps back and leaves the bright blue to the opening alone. */
  background: var(--navy);
  padding: 3px 8px 4px;
}
.hero-label {
  background: var(--ink);
  margin-bottom: 12px;
}

.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 1fr);   /* = .hero-body */
  column-gap: clamp(24px, 4vw, 72px);
  align-items: start;
  margin-top: clamp(30px, 5vh, 58px);
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  font-size: var(--t-meta);
}
/* A label belongs to the value under it. The margin was not the whole gap:
   at the inherited 1.5 line-height a 12px label carries ~3px of leading below
   the caps and the value another ~4px above its first line, so 5px of margin
   was reading as nearer 12px. Tightening the label's own line box is what
   actually closes it — the same fix the curatorial note needed. */
.hero-foot dt { margin-bottom: 8px; }
/* A fact's value is set at least as large as the tag that names it, and in
   the same signage face — on the poster a label and its value are one block,
   and a blue tag over 14px reading type let the name outweigh the fact. */
.hero-foot dd {
  font-family: 'Electrolize', 'Archivo', Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}
/* The two facts a visitor acts on, set in the poster's face at a size that
   reads as a listing rather than fine print. Each takes its own row. */
.hero-foot .foot-col {
  display: flex; flex-direction: column; gap: 18px;
  margin: 0;
}
.hero-foot .lead + .lead { margin-top: -6px; }
.hero-foot .lead dd {
  font-family: 'Electrolize', 'Archivo', Helvetica, Arial, sans-serif;
  font-size: clamp(28px, 3.3vw, 52px);
  line-height: 1.12;
  letter-spacing: 0;
}
/* The opening is the largest thing on the poster and it is the event, so it
   takes the show's blue. The run is the same size in the quiet grey: one
   level of importance, two tones, rather than two competing headlines. */
.hero-foot .lead-talk dd { color: var(--accent); }
/* Black at the same size out-pulled the blue opening above it — black on
   white carries more contrast than blue does. The poster ranks these two by
   size, with no grey anywhere, so the run steps down a size instead. */
.hero-foot .lead-run dd {
  color: var(--ink);
  font-size: clamp(22px, 2.2vw, 32px);
}

/* The artists as a group, in columns of three or four the way the poster
   blocks them, rather than one long line of commas. Set in the poster's face
   one step below the dates: a middle tier between the two leads and the
   small facts that follow. */
.hero-foot .roster { margin-top: 10px; }
.hero-foot .roster dd {
  display: flex; flex-wrap: wrap; gap: 0 48px;
  font-family: 'Electrolize', 'Archivo', Helvetica, Arial, sans-serif;
  font-size: var(--t-lead);
  line-height: 1.42;
}
.hero-foot .roster span { display: block; }
.hero-foot a { border-bottom: 1px solid var(--rule); padding-bottom: 1px; }
.hero-foot a:hover { border-bottom-color: currentColor; }
.poster {
  aspect-ratio: 4 / 5;
  background: var(--ground);
  border: 1px solid var(--rule);
  display: grid; place-items: center;
  overflow: hidden;
}
.poster img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  /* Grey by default so the one blue in the hero is the title block, not the
     sheet beside it; the poster's own blue arrives when you go to it. */
  filter: grayscale(1);
  transition: filter .45s cubic-bezier(.22,.61,.36,1);
}
.poster:hover img,
.poster:focus-within img { filter: grayscale(0); }
/* No hover to give it back on a touch screen, so it is never greyed there. */
@media (hover: none) {
  .poster img { filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  .poster img { transition: none; }
}
.poster.is-empty::after {
  content: 'Poster — 4:5';
  font-family: 'Electrolize', 'Archivo', Helvetica, Arial, sans-serif;
  font-size: var(--t-meta);
  color: var(--mute);
}
/* Larger than the plate descriptions, and the full width of its column —
   the curatorial note is the one piece of writing on this page that is
   meant to be read first, so it stops being set at body size. The 66ch
   measure is gone at Maisa's request; the grid column is now what holds
   the line length. */
.hero-statement p {
  font-size: clamp(17px, 1.32vw, 21px);
  line-height: 1.55;
}
.hero-statement p + p { margin-top: 1em; }

/* ── One work per screen ─────────────────────────────────────────────────
   78vh, not 88vh and not 100vh. The remaining lever on "how much work is it
   to get to the next student" is how much room a section takes when its own
   content does not need it: at 88vh a short section still filled the screen
   and the next one barely showed. At 78vh the next work's frame is already
   ~200px into view before you move, so it reads as arriving rather than as
   something you have to go and fetch. Sections whose content is longer are
   unaffected — they were never at the minimum. */
.plate {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  min-height: 78vh;
  padding: clamp(30px, 5vh, 68px) var(--gutter);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}

/* The frame itself. Its shape comes from the work's own lead screenshot —
   fitFrames() writes --shot-ratio — so nothing is cropped to fit a fixed
   window. The fallback ratio only applies to a plate with no screenshot. */
.plate-shot {
  display: block;
  position: relative;              /* frames stack inside */
  aspect-ratio: var(--shot-ratio, 16 / 10);
  /* Guard: a portrait screenshot would otherwise build a frame taller than
     the screen. Capping the height letterboxes that one rather than letting
     it push the whole section off the viewport. */
  max-height: 76vh;
  background: var(--ground);
  border: 1px solid var(--rule);
  overflow: hidden;
}
.plate-shot.is-empty { display: grid; place-items: center; }
.plate-shot.is-empty::after {
  content: 'Screenshot to come';
  font-family: 'Electrolize', 'Archivo', Helvetica, Arial, sans-serif;
  font-size: var(--t-meta);
  color: var(--mute);
}

/* ── Preview frames ─────────────────────────────────────────────────────
   Every frame occupies the whole box; only the one carrying .is-on is
   visible. A single-image plate simply never has a second frame to fade to.
   There are deliberately no dots and no arrows — this previews the work, and
   the frame itself is the link to it. */
.plate-shot .frame {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  /* contain, always — the frame already matches the lead image, and a
     differently-shaped sibling in a carousel must fit rather than crop. */
  object-fit: contain;
  display: block;
  opacity: 0;
  transition: opacity .9s ease;
}
.plate-shot .frame.is-on { opacity: 1; }
.plate-shot .frame { z-index: 1; }


/* ── Blurred extension ──────────────────────────────────────────────────
   A fitted image leaves bare ground down its sides and the frame stops
   reading as one surface. So the same picture sits behind it, scaled past
   the edges and blurred: the gap fills with the work's own colour instead of
   grey. Added by fitFrames() only for images that do not already fill the
   frame, and only after they have decoded, so it is served from cache.

   It follows the frame in the DOM (CSS cannot select a previous sibling) and
   is pushed behind with z-index. */
.frame-blur {
  position: absolute; inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  filter: blur(34px) saturate(1.25);
  transform: scale(1.25);        /* push the blur's soft edge out of frame */
  opacity: 0;
  transition: opacity .9s ease;
  pointer-events: none;
}
.plate-shot .frame.is-on + .frame-blur { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .plate-shot .frame { transition: none; }
}

.plate-info { max-width: 62ch; }
/* Set in the poster's face, like the exhibition title — one family for
   signage, Archivo for reading. Electrolize has a single weight, so presence
   comes from size plus the same hairline stroke used on the display title. */
.plate-title {
  font-family: 'Electrolize', 'Archivo', Helvetica, Arial, sans-serif;
  font-size: var(--t-work);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;     /* the poster sets this face at its own spacing, at every size */
  -webkit-text-stroke: 0.014em currentColor;
  paint-order: stroke fill;
}
/* The title is the link to the work, so it takes the browser's own link
   blue — the one colour on the web that needs no explaining. */
.plate-title a {
  color: var(--link);
  text-decoration: none;
}
.plate-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.plate-title a:visited { color: var(--link-visited); }

/* a classmate who has not filled in their slide yet */
.plate-title.is-pending { color: var(--rule); }
/* Maker and date on one line, the way a wall label sets them. The rule below
   belongs to this label, so it sits close underneath and leaves the larger
   gap for the reading. */
.plate-artist {
  font-size: var(--t-lead);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: 0;     /* was -0.022em: lowercase gets no tracking either way */
  color: var(--mute);

  padding-bottom: 13px;
  border-bottom: 1px solid var(--rule);
}
.plate-artist .plate-sep {
  margin: 0 0.34em;      /* a dash carries its own width; it needs less air than a dot */
  color: var(--mute);    /* a dash reads as a hairline at --rule, so it keeps the text colour */
}
.plate-artist + .plate-desc { margin-top: 38px; }
.plate-desc {
  margin-top: 18px;
  font-size: var(--t-base);
  line-height: 1.62;
  max-width: 62ch;
}

/* ── The CTA bar ────────────────────────────────────────────────────────
   Borrowed from stateofaidesign.com: a solid black bar the full width of the
   text column, label hard left, arrow hard right, zero radius. Theirs
   measures 104px tall. Nothing else on the page is filled black, so this is
   the one place the eye is told to go. */
.plate-visit {
  display: inline-flex; align-items: center;
  gap: 13px;              /* the arrow belongs to the words, not the far edge */
  margin-top: 26px;
  padding: 0 20px;
  min-height: 46px;
  background: var(--ink);
  color: var(--paper);
  font-size: var(--t-base);
  font-weight: 500;
  letter-spacing: 0;
  border-radius: 0;
  transition: background-color .22s ease;
}
.plate-visit svg {
  width: 22px; height: 14px;
  flex-shrink: 0;
  transition: transform .28s cubic-bezier(.22,.61,.36,1);
}
.plate-visit:hover { background: var(--accent); }
/* the diagonal arrow travels up and out, the direction it points */
.plate-visit:hover svg { transform: translate(4px, -4px); }
.plate-visit[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  .plate-visit svg { transition: none; }
  .plate-visit:hover svg { transform: none; }
}

/* Hover is not available on a touch screen, so the arrow must not be the only
   thing carrying the meaning — the hint line below the button always is. */
@media (hover: none) {
  .plate-visit:hover { background: var(--ink); }
}

/* ── Credits ─────────────────────────────────────────────────────────────
   Who realized the show, as against who made the work in it. Built from the
   same label-over-value pair as the hero's credit block so the two read as
   one system rather than two inventions. */
.credits {
  padding: 30px var(--gutter) 0;
}
.credits-note {
  font-size: var(--t-base);
  line-height: 1.55;
  max-width: 66ch;
}
/* One credit per row, the full width of the page, the names set large and
   the role small beside them — credits are about people, so the people are
   what you read. Ruled in the poster's black. Static: the rows are not set
   to scroll sideways, because "relentless motion" is on the curatorial
   statement's own list of what the web could do without. */
.credits-list {
  margin-top: 24px;
  border-bottom: 2px solid var(--ink);
}
.credits-list > div {
  display: grid;
  grid-template-columns: minmax(170px, 300px) 1fr;
  align-items: baseline;
  column-gap: 24px;
  border-top: 2px solid var(--ink);
  padding: 13px 0 11px;
}
/* the block hugs the role rather than filling its grid column */
.credits-list dt { justify-self: start; }
.credits-list dd {
  font-family: 'Electrolize', 'Archivo', Helvetica, Arial, sans-serif;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.15;
}
@media (max-width: 560px) {
  /* role over names, as on the hero */
  .credits-list > div { grid-template-columns: 1fr; row-gap: 4px; padding: 11px 0 10px; }
}

/* The rule under the last work belongs to that work — it closes it. So the
   long gap goes ABOVE the rule, letting the final piece finish, and the
   credits sit close underneath it rather than adrift in the middle of an
   empty screen. */
.colophon {
  margin-top: 26px;
  padding: 0 var(--gutter) 34px;
  /* The imprint is the one place quiet is right, so it stays grey and small
     — but in the signage face and as written, not shouted in capitals. */
  font-family: 'Electrolize', 'Archivo', Helvetica, Arial, sans-serif;
  font-size: var(--t-meta);
  letter-spacing: 0;
  color: var(--mute);
}
/* One fact per line — a mid-dot chain ran the school, the course and the
   instructor together as though they were one thing. */
.colophon span { display: block; }
.colophon span + span { margin-top: 4px; }

/* The last work needs room to finish before its own closing rule. */
#collection .plate:last-child { padding-bottom: clamp(90px, 16vh, 190px); }

/* ── Scroll reveal ──────────────────────────────────────────────────────
   The reference sites do not scroll-jack; they let native scrolling run and
   bring each block up as it arrives. Same here. The class is added by JS, so
   with scripting off nothing is ever left invisible. */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .85s cubic-bezier(.22,.61,.36,1),
              transform .85s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal.is-in { will-change: auto; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Narrow ────────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .hero-body, .plate { grid-template-columns: 1fr; }
  /* one column when the statement and poster above go to one column */
  .hero-foot { grid-template-columns: 1fr; row-gap: 18px; }
  .plate { min-height: auto; gap: 22px; }
  .poster { max-width: 440px; }
  /* The info column may span, but the description keeps its measure — a
     single column at 760px otherwise runs the text to ~82 characters. */
  .plate-info { max-width: none; }
  /* flex-wrap on .topbar handles the narrow case; reordering the dates only
     put them after the count while all three still fit on one line. */
  .topbar { gap: 6px 12px; }
}

/* ── Phone ──────────────────────────────────────────────────────────────
   One column, screenshot on top and the words underneath — the plate's DOM
   order already is shot-then-info, so the single-column grid above gives
   that for free. What is left is sizing: the display title has to stop
   fighting the viewport, and the touch targets have to stay generous. */
@media (max-width: 560px) {
  :root { --gutter: 18px; }

  /* Three columns do not fit a phone. The groups dissolve into one list that
     runs down two columns of five instead. */
  .hero-foot .roster dd { display: block; columns: 2; column-gap: 24px; font-size: 19px; }
  .hero-foot .roster .col { display: contents; }

  .exhibition-title { letter-spacing: 0; line-height: 1.05; }
  .hero-foot .foot-col { gap: 16px; }

  .plate { padding-top: 34px; padding-bottom: 40px; gap: 18px; }
  .plate-info { max-width: none; }
  .plate-desc { max-width: none; }   /* the column is already narrower than the measure */

  .plate-meta dt { width: 66px; }
  .poster { max-width: none; }
}


/* ── Narrow bar ──────────────────────────────────────────────────────────
   Below 700px the show's name and a readable artist name cannot both fit on
   one line — "Cool Website, Thanks." alone is ~230px of a 327px usable bar,
   and the bar wrapping to two lines is exactly what the hamburger was there
   to prevent. The name of the show wins; which artist you are on is still
   marked in the menu, which is where you look on a phone anyway. */
@media (max-width: 700px) {
  .artistnav-current { display: none; }
  .artistnav-toggle { gap: 0; padding: 8px 10px; }
}
