@charset "UTF-8";
/* ============================================================================
   FROST STRING QUARTET — 03 "ATELIER"
   A museum programme, translated to the web. Swiss grid, exposed structure,
   enormous type, hairlines doing all the work, one violent accent.
   Radius 0 everywhere. No shadows. Depth = grid + hairlines only.
   ========================================================================= */

@layer tokens, reset, layout, type, ornament, components, motion, a11y;

/* ------------------------------------------------------------------ TOKENS */
@layer tokens {
  :root {
    /* --- ground ------------------------------------------------------- */
    --bone: #f4f2ed;
    --bone-2: #eae7e0;
    --bone-2a: rgba(234, 231, 224, 0.7); /* translucent alt band: lets the rig read through */
    --white: #ffffff;

    /* --- ink ---------------------------------------------------------- */
    --ink: #16110e; /* 16.7:1 on bone */
    --ink-55: #5b5450; /* 6.6:1 on bone, 6.0:1 on bone-2 — AA body */
    --hair: #c9c3b9;
    --hair-2: #ddd8cf;

    /* --- the single accent -------------------------------------------- */
    --verm: #d8380f; /* 4.2:1 on bone — large type, rules, marks, focus */
    --verm-ink: #b7290a; /* 5.6:1 on bone — small mono text */

    /* --- type --------------------------------------------------------- */
    --ff-display: 'Archivo', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
    --ff-text: 'Newsreader', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
    --ff-mono: 'Space Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

    /* Optical fit: measured advance width of each display line, in em, at
       weight 500 / letter-spacing -0.035em. Line size = measure ÷ fit, so every
       display line is flush to both margins of the 12-column measure.
       Re-measure with a 200px probe span if the wording ever changes. */
    --fit-1: 4.95; /* 'Frost String'  — measured 4.849em + 2% slack */
    --fit-2: 3.24; /* 'Quartet'       — measured 3.172em + 2% slack */
    --t-poster: clamp(2.5rem, 8vw, 7rem);
    --t-h2: clamp(2rem, 5.4vw, 4.5rem);
    --t-h2s: clamp(1.7rem, 3.9vw, 3.1rem);
    --t-h3: clamp(1.3rem, 2.1vw, 1.85rem);
    --t-lede: clamp(1.1875rem, 0.85vw + 1.02rem, 1.6rem);
    --t-body: clamp(1.0625rem, 0.4vw + 0.96rem, 1.25rem);
    --t-mono: clamp(0.6875rem, 0.16vw + 0.65rem, 0.8125rem);
    --t-mono-r: clamp(0.8125rem, 0.16vw + 0.78rem, 0.9375rem);

    /* --- 8px scale ---------------------------------------------------- */
    --s1: 8px;
    --s2: 16px;
    --s3: 24px;
    --s4: 32px;
    --s5: 40px;
    --s6: 48px;
    --s8: 64px;
    --s10: 80px;
    --s12: 96px;
    --s16: 128px;
    --band-y: clamp(48px, 7vw, 112px);

    /* --- rig ---------------------------------------------------------- */
    --pad: clamp(16px, 3.4vw, 56px);
    --maxw: 1560px;
    --gap: clamp(10px, 1.5vw, 24px);
    --hdr: 56px;

    /* --- z scale ------------------------------------------------------ */
    --z-rig: 0;
    --z-flow: 1;
    --z-plate: 2;
    --z-hdr: 40;
    --z-sweep: 60;

    /* --- motion ------------------------------------------------------- */
    --ease: cubic-bezier(0.22, 0.9, 0.24, 1);
    --dur-1: 150ms;
    --dur-2: 220ms;
    --dur-3: 300ms;
  }

  @media (min-width: 1024px) {
    :root {
      --hdr: 64px;
    }
  }
}

.mission-pillars{list-style:none;margin:clamp(2rem,4vw,3.5rem) 0;padding:0;border-top:1px solid var(--rule)}
.mission-pillars li{display:grid;grid-template-columns:3rem 1fr;gap:1.25rem;padding:1.15rem 0;border-bottom:1px solid var(--rule)}
.mission-pillars h3{font-size:clamp(1rem,1.8vw,1.35rem);font-weight:600}.mission-pillars p{margin-top:.35rem;max-width:52ch;color:var(--muted)}

/* MOBILE-CASCADE-GUARD — keep form controls usable after design-specific rules. */
@media (max-width: 767px) {
  main, main > * { min-width: 0; }
  input, select, textarea { font-size: max(16px, 1em); }
}

/* PERFORMANCE-MOBILE-PASS
   Defer below-the-fold painting without changing layout, and keep narrow
   viewports resilient to long labels, translated copy, and form controls. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

@supports (content-visibility: auto) {
  main > section:not(:first-child),
  footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 900px;
  }
}

@media (max-width: 767px) {
  main,
  main > * {
    min-width: 0;
  }

  input,
  select,
  textarea {
    font-size: max(16px, 1em);
  }

  a,
  button,
  input,
  select,
  textarea {
    touch-action: manipulation;
  }
}

@media print {
  main > section,
  footer {
    content-visibility: visible;
    contain: none;
  }
}

/* ------------------------------------------------------------------- RESET */
@layer reset {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
    border-radius: 0;
  }
  * {
    margin: 0;
  }
  html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    overflow-x: clip;
  }
  body {
    min-height: 100svh;
    position: relative;
    background: var(--bone);
    color: var(--ink);
    font-family: var(--ff-text);
    font-size: var(--t-body);
    font-weight: 400;
    line-height: 1.62;
    font-optical-sizing: auto;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  img,
  svg {
    display: block;
    max-width: 100%;
  }
  img {
    height: auto;
  }
  button,
  input,
  select,
  textarea {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
  }
  button {
    cursor: pointer;
  }
  a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.22em;
  }
  ul,
  ol {
    list-style: none;
    padding: 0;
  }
  table {
    border-collapse: collapse;
    border-spacing: 0;
  }
  ::selection {
    background: var(--verm);
    color: var(--bone);
  }
}

/* ------------------------------------------------------------------ LAYOUT */
@layer layout {
  .wrap {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: var(--pad);
  }
  /* the masthead and page-header measures become query containers so display
     type can be sized in cqi and land exactly on the column edges */
  .mast > .wrap,
  .phead > .wrap {
    container-type: inline-size;
  }

  /* --- the exposed 12-column rig: hairlines bleeding full height ------ */
  .rig {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: var(--z-rig);
    pointer-events: none;
  }
  .rig > .wrap {
    height: 100%;
  }
  .rig-cols {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    height: 100%;
  }
  .rig-cols > i {
    border-left: 1px solid var(--hair);
  }
  .rig-cols > i:last-child {
    border-right: 1px solid var(--hair);
  }
  html[data-grid='off'] .rig,
  html[data-grid='off'] .rig-nums {
    display: none;
  }
  /* 375–639px: thin the rig to four divisions so it never reads as noise */
  @media (max-width: 639px) {
    .rig-cols > i:not(:nth-child(4n + 1)) {
      border-left-color: transparent;
    }
  }

  /* --- mono column legend, in flow under the header ------------------- */
  .rig-nums {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    margin: 0;
    padding: 6px 0 0;
    font-family: var(--ff-mono);
    font-size: 0.625rem;
    letter-spacing: 0.1em;
    color: var(--ink-55);
    font-variant-numeric: tabular-nums;
  }
  .rig-nums li {
    padding-left: 4px;
  }
  .rig-nums li:first-child,
  .rig-nums li:last-child {
    color: var(--verm-ink);
  }
  @media (max-width: 639px) {
    .rig-nums li:not(:nth-child(4n + 1)) {
      visibility: hidden;
    }
  }

  main,
  .foot {
    position: relative;
    z-index: var(--z-flow);
  }

  .band {
    padding-block: var(--band-y);
    border-top: 1px solid var(--hair);
  }
  .band--tight {
    padding-block: clamp(40px, 5vw, 72px);
  }
  .band--alt {
    background: var(--bone-2a);
  }
  .band--plate {
    padding-block: clamp(24px, 3.4vw, 56px);
    border-top: 0;
  }

  .band-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    row-gap: var(--s4);
  }
  .rail {
    grid-column: 1 / 4;
  }
  .body {
    grid-column: 4 / 13;
    min-width: 0;
  }
  @media (min-width: 1024px) {
    .rail {
      position: sticky;
      top: calc(var(--hdr) + 24px);
      align-self: start;
    }
  }
  @media (max-width: 1023px) {
    .rail,
    .body {
      grid-column: 1 / -1;
    }
  }
}

/* -------------------------------------------------------------------- TYPE */
@layer type {
  .mono {
    font-family: var(--ff-mono);
    font-weight: 400;
    font-size: var(--t-mono);
    line-height: 1.5;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-variant-numeric: tabular-nums;
  }

  .h2,
  .mast-h,
  .phead-h,
  .ent-name,
  .poster-q p {
    font-family: var(--ff-display);
    font-weight: 500;
    line-height: 0.92;
    letter-spacing: -0.03em;
    text-transform: none;
    hyphens: none;
  }

  .h2 {
    font-size: var(--t-h2);
    margin-bottom: var(--s3);
    max-width: 22ch;
  }
  .h2--sm {
    font-size: var(--t-h2s);
    max-width: 26ch;
  }

  .lede {
    font-size: var(--t-lede);
    font-weight: 300;
    line-height: 1.45;
    color: var(--ink);
    max-width: 40ch;
    text-wrap: pretty;
    margin-block: var(--s3) var(--s5);
  }

  p {
    text-wrap: pretty;
  }

  em {
    font-style: italic;
  }

  .fine {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--ink-55);
    max-width: 56ch;
    font-style: italic;
    margin-top: var(--s4);
  }
}

/* ---------------------------------------------------------------- ORNAMENT */
@layer ornament {
  /* a hairline rule that draws itself */
  /* The structure is never hidden: the hairline track is always drawn, and the
     scroll-driven animation only paints the ink/vermillion fill over it. */
  .rule {
    display: block;
    position: relative;
    width: 100%;
    height: 1px;
    background: var(--hair);
    margin-block: var(--s3);
  }
  .rule > i {
    display: block;
    position: absolute;
    inset: 0;
    background: var(--ink);
    transform-origin: left center;
  }
  .rule--heavy {
    height: 2px;
  }
  .rule--heavy > i {
    background: var(--verm);
  }

  /* section rail */
  .rail-i {
    font-family: var(--ff-mono);
    font-weight: 700;
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    line-height: 1;
    letter-spacing: 0.02em;
    color: var(--verm);
    font-variant-numeric: tabular-nums;
  }
  .rail-l {
    font-family: var(--ff-mono);
    font-size: var(--t-mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink);
    margin-top: var(--s1);
    padding-top: var(--s1);
    border-top: 1px solid var(--hair);
  }
  .rail-x {
    font-family: var(--ff-mono);
    font-size: var(--t-mono);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-55);
    margin-top: 6px;
    max-width: 24ch;
  }

  /* plates */
  .plate {
    position: relative;
    z-index: var(--z-plate);
    margin-block: var(--s5) 0;
  }
  .plate-frame {
    border: 1px solid var(--hair);
    background: var(--white);
    padding: var(--s1);
  }
  .plate-win {
    position: relative;
    overflow: clip;
    background: var(--bone-2);
    width: 100%;
  }
  .plate-win img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .plate-cap {
    display: flex;
    align-items: center;
    gap: var(--s1);
    margin-top: 6px;
    font-family: var(--ff-mono);
    font-size: var(--t-mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-55);
  }
  .plate-no {
    color: var(--verm-ink);
    font-weight: 700;
    white-space: nowrap;
  }
  .plate-rule {
    flex: 0 0 clamp(16px, 4vw, 56px);
    height: 1px;
    background: var(--hair);
  }
  .plate-txt {
    min-width: 0;
  }
  /* Portrait-format plates are capped by WIDTH, never by a crop: a 4:5 or 5:7
     frame given the full body measure would tower over the page, so it is
     reproduced smaller instead. Nothing is ever cut. */
  .plate--p {
    max-width: min(100%, 440px);
  }
  /* The lead plate — PL. 01, the care-centre lounge. The one photograph the
     whole site exists to show, so it gets a heavier mount, a deeper inset and
     a caption set one step larger. */
  .plate--lead .plate-frame {
    border-color: var(--ink);
    padding: var(--s2);
  }
  .plate--lead .plate-cap {
    font-size: var(--t-mono-r);
    margin-top: var(--s1);
  }
  /* two plates side by side inside the body measure, top-aligned */
  .plate-pair {
    display: grid;
    grid-template-columns: minmax(0, var(--acol, 1fr)) minmax(0, var(--bcol, 1fr));
    column-gap: var(--gap);
    row-gap: var(--s5);
    align-items: start;
    margin-block: var(--s5) 0;
  }
  .plate-pair .plate {
    margin-block: 0;
  }
  /* inside a pair the width is already set by the format ratio, so the
     portrait cap must not fight it */
  .plate-pair .plate--p {
    max-width: 100%;
  }
  @media (max-width: 640px) {
    .plate-pair {
      grid-template-columns: minmax(0, 1fr);
    }
  }
  /* the performance plate that closes a catalogue entry */
  .plate--entry {
    margin-top: var(--s6);
  }
  /* a mono footnote under a group of plates — carries the four-versus-seven
     rule in print, where it belongs */
  .plate-rule-note {
    margin-top: var(--s2);
    padding-top: 6px;
    border-top: 1px solid var(--hair);
    color: var(--ink-55);
    max-width: 62ch;
  }
  /* Plates are reproduced whole — nothing is cropped. Scale is set by how many
     columns the plate is allowed to occupy. */
  .plate-row {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    row-gap: var(--s3);
  }
  .plate-row .plate {
    grid-column: 1 / 10;
    margin-block: 0;
  }
  .plate-note {
    grid-column: 10 / 13;
    align-self: end;
    border-top: 2px solid var(--ink);
    padding-top: var(--s1);
  }
  .pn-r {
    display: block;
  }
  /* the lead plate's particulars, set as a museum wall label across the
     full measure beneath the photograph */
  .plate-row--lead .plate {
    grid-column: 1 / -1;
  }
  .plate-note--wide {
    grid-column: 1 / -1;
    align-self: start;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    column-gap: var(--gap);
  }
  .plate-note--wide .pn-r dt {
    margin-top: 0;
  }
  @media (max-width: 700px) {
    .plate-note--wide {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      row-gap: var(--s2);
    }
  }
  .plate-note dt {
    font-family: var(--ff-mono);
    font-size: 0.625rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--verm-ink);
    margin-top: var(--s2);
  }
  .plate-note dd {
    margin: 0;
    font-family: var(--ff-mono);
    font-size: var(--t-mono);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.5;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--hair);
  }
  .plate--band {
    max-width: 82%;
  }
  @media (max-width: 900px) {
    .plate-row .plate,
    .plate-note {
      grid-column: 1 / -1;
    }
    .plate--band {
      max-width: 100%;
    }
  }

  /* tally marks — vermillion hairline strokes */
  .tally {
    display: inline-flex;
    align-items: flex-end;
    gap: 4px;
    height: 18px;
    vertical-align: -3px;
  }
  .tally i {
    display: block;
    width: 2px;
    height: 18px;
    background: var(--verm);
  }
  /* the diagonal stroke belongs to the fifth mark, not the fourth */
  .tally i:nth-child(5) {
    transform: rotate(24deg);
    transform-origin: bottom center;
    margin-inline-start: -12px;
  }

  /* swatch in the colophon */
  .sw {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--verm);
    margin-right: 8px;
  }
}

/* -------------------------------------------------------------- COMPONENTS */
@layer components {
  /* ---------------------------------------------------------- sweep rule */
  .sweep {
    position: fixed;
    inset: 0 0 auto 0;
    height: 3px;
    background: var(--hair);
    z-index: var(--z-sweep);
    view-transition-name: sweep;
    pointer-events: none;
    overflow: clip;
  }
  .sweep > i {
    display: block;
    position: absolute;
    inset: 0;
    background: var(--verm);
    transform: scaleX(0.02);
    transform-origin: left center;
  }

  /* ------------------------------------------------------------- header */
  .skip {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    background: var(--ink);
    color: var(--bone);
    font-family: var(--ff-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 15px 16px;
  }
  .skip:focus {
    left: 8px;
    top: 8px;
  }

  .hdr {
    position: sticky;
    top: 0;
    z-index: var(--z-hdr);
    background: var(--bone);
    border-bottom: 1px solid var(--ink);
  }
  .hdr-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s2);
    min-height: var(--hdr);
    padding-top: 3px;
  }
  .hdr-mark {
    display: flex;
    align-items: baseline;
    gap: 8px;
    text-decoration: none;
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: clamp(0.9375rem, 1.1vw, 1.125rem);
    letter-spacing: -0.01em;
    text-transform: uppercase;
    white-space: nowrap;
  }
  .hdr-mark-b {
    font-weight: 400;
    color: var(--ink-55);
    font-size: 0.86em;
  }
  @media (max-width: 479px) {
    .hdr-mark-b {
      display: none;
    }
  }

  .nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin: 0;
  }
  .nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-inline: clamp(6px, 0.8vw, 12px);
    font-family: var(--ff-mono);
    font-size: var(--t-mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink-55);
    transition: color var(--dur-1) ease-out;
  }
  .nav a:hover {
    color: var(--ink);
  }
  .nav a[aria-current='page'] {
    color: var(--ink);
    font-weight: 700;
  }
  .nav-mark {
    position: absolute;
    left: clamp(6px, 0.8vw, 12px);
    right: clamp(6px, 0.8vw, 12px);
    bottom: 8px;
    height: 2px;
    background: var(--verm);
  }
  @media (max-width: 560px) {
    .hdr-in {
      display: block;
      padding-top: 0;
      min-height: 0;
    }
    .hdr-mark {
      display: flex;
      align-items: center;
      min-height: 44px;
    }
    .nav ul {
      justify-content: space-between;
      border-top: 1px solid var(--hair);
    }
    .nav a {
      padding-inline: 0;
      min-height: 44px;
    }
    .nav-mark {
      left: 0;
      right: 0;
      bottom: 6px;
    }
  }
  @media (max-width: 380px) {
    .nav a {
      font-size: 0.625rem;
    }
  }

  /* ------------------------------------------------------------ buttons */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    background: var(--ink);
    color: var(--bone);
    border: 1px solid var(--ink);
    font-family: var(--ff-mono);
    font-size: var(--t-mono);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background var(--dur-1) ease-out, color var(--dur-1) ease-out,
      transform var(--dur-1) ease-out;
  }
  .btn:hover {
    background: var(--verm);
    border-color: var(--verm);
    color: var(--bone);
  }
  .btn:active {
    transform: translateY(1px);
  }
  .btn--lg {
    min-height: 56px;
    padding-inline: 32px;
  }

  .lnk {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-family: var(--ff-mono);
    font-size: var(--t-mono);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 2px solid var(--verm);
    padding-bottom: 2px;
    transition: color var(--dur-1) ease-out, border-color var(--dur-1) ease-out;
  }
  .lnk:hover {
    color: var(--verm-ink);
  }

  /* ----------------------------------------------------------- masthead */
  .mast {
    padding-block: clamp(24px, 3vw, 48px) clamp(16px, 2vw, 32px);
  }
  .mast-eyebrow,
  .phead-e,
  .poster-e,
  .ent-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 10px;
    margin-bottom: var(--s2);
  }
  .mast-eyebrow > span[aria-hidden],
  .phead-e > span[aria-hidden],
  .poster-e > span[aria-hidden],
  .ent-line > span[aria-hidden] {
    color: var(--verm-ink);
  }

  .mast-h {
    line-height: 0.86;
    letter-spacing: -0.035em;
    font-weight: 500;
    margin-bottom: var(--s4);
  }
  .mast-l1,
  .mast-l2 {
    display: block;
  }
  .mast-l1 {
    font-size: min(calc(90vw / var(--fit-1)), calc(1448px / var(--fit-1)));
    letter-spacing: -0.035em;
  }
  .mast-l2 {
    font-size: min(calc(90vw / var(--fit-2)), calc(1448px / var(--fit-2)));
    letter-spacing: -0.035em;
  }
  @supports (container-type: inline-size) {
    .mast-l1 {
      font-size: calc(100cqi / var(--fit-1));
    }
    .mast-l2 {
      font-size: calc(100cqi / var(--fit-2));
    }
  }
  .mast-h .w--accent .ch {
    color: var(--verm);
  }

  .mast-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px var(--s3);
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
    padding-block: var(--s1);
    margin: 0;
    font-family: var(--ff-mono);
    font-size: var(--t-mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink);
  }
  @media (min-width: 768px) {
    .mast-meta {
      justify-content: space-between;
      gap: 4px var(--s2);
    }
  }
  .mast-meta li {
    position: relative;
  }
  @media (max-width: 767px) {
    .mast-meta li:not(:last-child)::after {
      content: ' ·';
      color: var(--verm-ink);
    }
  }

  .mast-foot {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    row-gap: var(--s3);
    margin-top: var(--s5);
  }
  .mast-lede {
    grid-column: 1 / 8;
    font-size: var(--t-lede);
    font-weight: 300;
    line-height: 1.45;
    max-width: 46ch;
  }
  .mast-cta {
    grid-column: 9 / 13;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--s2) var(--s3);
    align-self: end;
  }
  @media (max-width: 1023px) {
    .mast-lede,
    .mast-cta {
      grid-column: 1 / -1;
    }
  }

  /* -------------------------------------------------------- page headers */
  .phead {
    padding-block: clamp(32px, 4vw, 64px) clamp(24px, 3vw, 48px);
  }
  .phead-h {
    --fit: 6;
    font-size: min(calc(90vw / var(--fit)), calc(1448px / var(--fit)));
    line-height: 0.88;
    letter-spacing: -0.035em;
    font-weight: 500;
    margin-bottom: var(--s3);
  }
  @supports (container-type: inline-size) {
    .phead-h {
      font-size: calc(100cqi / var(--fit));
    }
  }
  .phead-h .w--accent .ch {
    color: var(--verm);
  }
  .phead-l {
    margin-top: var(--s4);
    font-size: var(--t-lede);
    font-weight: 300;
    line-height: 1.45;
    max-width: 52ch;
  }

  /* one word in vermillion, everywhere a split heading is set */
  .h2 .w--accent .ch,
  .ent-name .w--accent .ch,
  .poster-q .w--accent .ch {
    color: var(--verm);
  }

  /* -------------------------------------------------------------- stats */
  .stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin: var(--s5) 0 0;
    background: var(--hair);
    border: 1px solid var(--hair);
  }
  .stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--white);
    padding: var(--s2);
    min-width: 0;
  }
  .stat-i {
    font-family: var(--ff-mono);
    font-size: 0.625rem;
    letter-spacing: 0.14em;
    color: var(--verm-ink);
  }
  .stat-v {
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: clamp(2.5rem, 4.6vw, 4rem);
    line-height: 0.9;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
    margin-top: var(--s2);
  }
  .stat-l {
    font-size: 1rem;
    line-height: 1.3;
    margin-top: 4px;
  }
  .stat-n {
    font-family: var(--ff-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-55);
    margin-top: 6px;
    line-height: 1.45;
  }
  @media (max-width: 900px) {
    .stats {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  @media (max-width: 430px) {
    .stats {
      grid-template-columns: minmax(0, 1fr);
    }
  }

  /* ---------------------------------------------------------- chronology */
  .chrons {
    margin: 0;
    border-top: 1px solid var(--ink);
  }
  .chron {
    display: grid;
    grid-template-columns: 5.5rem 2rem minmax(0, 1fr);
    gap: var(--s2);
    padding-block: var(--s3);
    border-bottom: 1px solid var(--hair);
  }
  .chron-y {
    font-family: var(--ff-mono);
    font-weight: 700;
    font-size: var(--t-mono-r);
    letter-spacing: 0.08em;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    padding-top: 0.35em;
  }
  .chron-i {
    font-family: var(--ff-mono);
    font-size: var(--t-mono);
    letter-spacing: 0.08em;
    color: var(--verm-ink);
    padding-top: 0.5em;
  }
  .chron-t {
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: var(--t-h3);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: var(--s1);
    text-wrap: balance;
  }
  .chron-p {
    color: var(--ink-55);
    max-width: 58ch;
  }
  @media (max-width: 640px) {
    .chron {
      grid-template-columns: 4.5rem minmax(0, 1fr);
      gap: 8px var(--s2);
    }
    .chron-i {
      display: none;
    }
  }

  /* -------------------------------------------------------- pull quotes */
  .pull {
    margin: var(--s6) 0 0;
    border-top: 2px solid var(--verm);
    padding-top: var(--s3);
    max-width: 34ch;
  }
  .pull--wide {
    max-width: 46ch;
  }
  .pull blockquote p {
    font-family: var(--ff-text);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1.3rem, 2.4vw, 2rem);
    line-height: 1.32;
    hanging-punctuation: first;
  }
  .pull figcaption {
    margin-top: var(--s2);
    color: var(--ink-55);
  }

  /* mid-page quote block (home) */
  .quote-mid blockquote p {
    font-family: var(--ff-display);
    font-weight: 400;
    font-size: clamp(1.6rem, 4vw, 3.1rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
    max-width: 30ch;
    hanging-punctuation: first;
  }
  .quote-mid figcaption {
    display: flex;
    flex-wrap: wrap;
    gap: 4px var(--s3);
    margin-top: var(--s4);
    padding-top: var(--s1);
    border-top: 1px solid var(--hair);
  }
  .qm-name {
    font-weight: 700;
    color: var(--ink);
  }
  .qm-org,
  .qm-v {
    color: var(--ink-55);
  }
  .qm-v {
    color: var(--verm-ink);
  }

  /* ------------------------------------------------------------- roster */
  .roster {
    margin: 0;
    border-top: 1px solid var(--ink);
  }
  .roster-r {
    display: grid;
    grid-template-columns: 3rem minmax(0, 9fr) minmax(0, 5fr) minmax(0, 7fr);
    align-items: baseline;
    gap: var(--s2);
    padding-block: var(--s2);
    border-bottom: 1px solid var(--hair);
  }
  .roster-i {
    font-family: var(--ff-mono);
    font-size: var(--t-mono);
    letter-spacing: 0.1em;
    color: var(--verm-ink);
  }
  .roster-n {
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: clamp(1.2rem, 2.1vw, 1.75rem);
    letter-spacing: -0.02em;
    line-height: 1.05;
    text-decoration: none;
    transition: color var(--dur-1) ease-out;
  }
  .roster-n {
    /* 44px tap target without disturbing the baseline grid */
    display: inline-block;
    padding-block: 12px;
    margin-block: -12px;
  }
  .roster-n:hover {
    color: var(--verm-ink);
    text-decoration: underline;
  }
  .roster-c,
  .roster-s {
    font-family: var(--ff-mono);
    font-size: var(--t-mono-r);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-55);
  }
  @media (max-width: 860px) {
    .roster-r {
      grid-template-columns: 2.5rem minmax(0, 1fr);
      gap: 4px var(--s2);
    }
    .roster-c {
      grid-column: 2;
    }
    .roster-s {
      grid-column: 2;
    }
  }

  /* ---------------------------------------------------- mini record list */
  .mini {
    margin: 0;
    border-top: 1px solid var(--ink);
  }
  .mini-r {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 10fr) minmax(0, 7fr);
    align-items: baseline;
    gap: var(--s2);
    padding-block: var(--s2);
    border-bottom: 1px solid var(--hair);
  }
  .mini-d {
    font-family: var(--ff-mono);
    font-size: var(--t-mono-r);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
  }
  .mini-v {
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: clamp(1.1rem, 1.8vw, 1.5rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
  }
  .mini-k {
    font-family: var(--ff-mono);
    font-size: var(--t-mono-r);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-55);
  }
  @media (max-width: 780px) {
    .mini-r {
      grid-template-columns: minmax(0, 1fr);
      gap: 4px;
    }
  }

  /* --------------------------------------------------------- numbered list */
  .numlist {
    margin: 0;
    border-top: 1px solid var(--ink);
  }
  .numlist li {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: var(--s2);
    align-items: baseline;
    padding-block: var(--s2);
    border-bottom: 1px solid var(--hair);
  }
  .numlist .num {
    color: var(--verm-ink);
    font-weight: 700;
  }
  .numlist--big li > span:last-child {
    font-family: var(--ff-display);
    font-weight: 400;
    font-size: clamp(1.15rem, 2vw, 1.65rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
  }

  /* ==================================================== CATALOGUE ENTRIES */
  .ent {
    border-top: 1px solid var(--ink);
    padding-block: clamp(40px, 5.5vw, 88px);
  }
  .ent:nth-child(even) {
    background: var(--bone-2a);
  }
  .ent-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    row-gap: var(--s3);
  }
  .ent-no {
    grid-column: 1 / 2;
    font-family: var(--ff-mono);
    font-weight: 700;
    font-size: clamp(1.75rem, 3.2vw, 3rem);
    line-height: 0.9;
    letter-spacing: 0.01em;
    color: var(--verm);
    font-variant-numeric: tabular-nums;
  }
  .ent-plate {
    grid-column: 2 / 5;
  }
  .ent-plate .plate {
    margin-block: 0;
  }
  .ent-main {
    grid-column: 5 / 13;
    min-width: 0;
  }
  .ent-name {
    font-size: clamp(2.1rem, 5.2vw, 4.4rem);
    line-height: 0.9;
    letter-spacing: -0.035em;
    font-weight: 500;
  }
  .ent-line {
    margin-top: var(--s2);
    font-family: var(--ff-mono);
    font-size: var(--t-mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-55);
  }
  .ent-bio {
    font-size: var(--t-lede);
    font-weight: 300;
    line-height: 1.45;
    max-width: 46ch;
  }
  .ent-bio::first-letter {
    float: left;
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: 3.4em;
    line-height: 0.78;
    padding: 0.06em 0.1em 0 0;
    color: var(--verm);
  }
  .ent-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s3) var(--gap);
    margin-top: var(--s5);
  }
  .ent-h {
    font-family: var(--ff-mono);
    font-weight: 700;
    font-size: var(--t-mono);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
    padding-bottom: 6px;
    border-bottom: 2px solid var(--ink);
    margin-bottom: var(--s1);
  }
  .ent-h--2 {
    margin-top: var(--s4);
  }

  .facts,
  .honors {
    margin: 0;
  }
  .fact,
  .hr-row {
    display: grid;
    grid-template-columns: 8rem minmax(0, 1fr);
    gap: var(--s2);
    padding-block: 10px;
    border-bottom: 1px solid var(--hair);
  }
  .hr-row {
    grid-template-columns: 2.5rem minmax(0, 1fr);
  }
  .fact dt,
  .hr-row dt {
    font-family: var(--ff-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-55);
    padding-top: 0.28em;
  }
  .hr-row dt {
    color: var(--verm-ink);
    font-weight: 700;
  }
  .fact dd,
  .hr-row dd {
    margin: 0;
    font-size: 1rem;
    line-height: 1.45;
  }
  .facts--wide .fact {
    grid-template-columns: 12rem minmax(0, 1fr);
  }
  .facts--wide .fact dd {
    font-size: var(--t-body);
  }

  .offstage {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
  }
  .offstage li {
    font-family: var(--ff-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-55);
    border: 1px solid var(--hair);
    padding: 6px 8px;
    background: var(--white);
  }

  @media (max-width: 1023px) {
    .ent-no {
      grid-column: 1 / 3;
    }
    .ent-plate {
      grid-column: 3 / 8;
    }
    .ent-main {
      grid-column: 1 / -1;
    }
  }
  @media (max-width: 640px) {
    .ent-no {
      grid-column: 1 / -1;
    }
    .ent-plate {
      grid-column: 1 / -1;
      max-width: 300px;
    }
    .ent-cols {
      grid-template-columns: minmax(0, 1fr);
    }
    .fact,
    .facts--wide .fact {
      grid-template-columns: 6.5rem minmax(0, 1fr);
      gap: var(--s1);
    }
  }

  /* ================================================ CHECKLIST / TABLES */
  .ck-wrap {
    width: 100%;
  }
  .sec-tag {
    display: flex;
    align-items: baseline;
    gap: var(--s2);
    border-top: 2px solid var(--ink);
    padding-top: var(--s1);
    margin-bottom: var(--s5);
    font-family: var(--ff-mono);
    font-size: var(--t-mono);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
  }
  .sec-tag-i {
    color: var(--verm-ink);
  }
  .sec-tag-x {
    margin-left: auto;
    font-weight: 400;
    color: var(--ink-55);
    letter-spacing: 0.08em;
  }
  .ck,
  .vn {
    width: 100%;
    font-size: var(--t-mono-r);
    table-layout: fixed;
  }
  /* deliberate column rhythm rather than browser-negotiated widths */
  .ck .c-no {
    width: 5%;
  }
  .ck .c-date {
    width: 19%;
  }
  .ck .c-venue {
    width: 36%;
  }
  .ck .c-kind {
    width: 18%;
  }
  .ck .c-city {
    width: 22%;
  }
  .vn .c-no {
    width: 5%;
  }
  .vn .c-venue {
    width: 36%;
  }
  .vn .c-kind {
    width: 25%;
  }
  .vn .c-city {
    width: 20%;
  }
  .vn .c-tally {
    width: 14%;
  }
  @media (max-width: 760px) {
    .ck .c-no,
    .vn .c-no {
      width: 12%;
    }
    .ck .c-date {
      width: 32%;
    }
    .ck .c-venue {
      width: 56%;
    }
    .vn .c-venue {
      width: 66%;
    }
    .vn .c-tally {
      width: 22%;
    }
    .ck .c-kind,
    .ck .c-city,
    .vn .c-kind,
    .vn .c-city {
      width: 0;
    }
  }
  .ck thead th,
  .vn thead th {
    text-align: left;
    font-family: var(--ff-mono);
    font-weight: 700;
    font-size: 0.625rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-55);
    padding: 0 var(--s2) 6px 0;
    border-bottom: 2px solid var(--ink);
    white-space: nowrap;
  }
  .ck td,
  .ck tbody th,
  .vn td,
  .vn tbody th {
    padding: var(--s2) var(--s2) var(--s2) 0;
    border-bottom: 1px solid var(--hair);
    vertical-align: baseline;
    text-align: left;
  }
  .ck-no,
  .vn-no {
    font-family: var(--ff-mono);
    font-weight: 400;
    font-size: var(--t-mono);
    letter-spacing: 0.1em;
    color: var(--verm-ink);
    font-variant-numeric: tabular-nums;
  }
  .ck-date {
    font-family: var(--ff-mono);
    font-size: var(--t-mono-r);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
  }
  .ck-venue,
  .vn-name {
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: clamp(1.05rem, 1.9vw, 1.6rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
  }
  .ck-kind,
  .ck-city,
  .vn-kind,
  .vn-city {
    font-family: var(--ff-mono);
    font-size: var(--t-mono-r);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-55);
  }
  .ck-band th {
    padding: var(--s5) 0 var(--s1);
    border-bottom: 2px solid var(--ink);
  }
  .ck-group:first-of-type .ck-band th {
    padding-top: var(--s3);
  }
  .ck-band-in {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--s2);
    border-top: 1px solid var(--hair);
    padding-top: var(--s1);
  }
  .ck-band-in .mono {
    font-weight: 700;
    font-size: var(--t-mono);
    letter-spacing: 0.16em;
    color: var(--ink);
  }
  .ck-band-n {
    font-weight: 400 !important;
    color: var(--verm-ink) !important;
  }
  .vn-tally {
    white-space: nowrap;
  }
  .vn-num {
    font-family: var(--ff-mono);
    font-size: var(--t-mono);
    color: var(--ink-55);
    margin-left: var(--s1);
  }
  .ck-sub {
    display: none;
  }
  @media (max-width: 760px) {
    .ck-kind,
    .ck-city,
    .vn-kind,
    .vn-city,
    .ck thead th:nth-child(4),
    .ck thead th:nth-child(5),
    .vn thead th:nth-child(3),
    .vn thead th:nth-child(4) {
      display: none;
    }
    .ck-sub {
      display: block;
      font-family: var(--ff-mono);
      font-size: 0.6875rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--ink-55);
      margin-top: 4px;
    }
    .ck-date {
      font-size: 0.6875rem;
    }
  }

  /* ==================================================== POSTER (VOICES) */
  .poster {
    padding-block: clamp(32px, 4vw, 72px) clamp(48px, 8vw, 128px);
  }
  .poster-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    row-gap: var(--s5);
  }
  .poster-rail {
    grid-column: 1 / 4;
  }
  .poster-e {
    padding-top: var(--s1);
    border-top: 1px solid var(--ink);
    font-family: var(--ff-mono);
    font-size: var(--t-mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-55);
    flex-direction: column;
    gap: 2px;
  }
  .poster-e > span[aria-hidden] {
    display: none;
  }
  .poster-fig {
    grid-column: 4 / 13;
    position: relative;
    min-width: 0;
  }
  .poster-mark {
    position: absolute;
    top: -0.15em;
    left: -0.42em;
    /* the hanging quote must not escape the page gutter on narrow screens */
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: clamp(4rem, 11vw, 10rem);
    line-height: 1;
    color: var(--verm);
    opacity: 0.16;
    pointer-events: none;
  }
  .poster-q p {
    font-size: var(--t-poster);
    line-height: 0.95;
    letter-spacing: -0.035em;
    font-weight: 500;
    hanging-punctuation: first;
  }
  .poster-cap {
    display: flex;
    flex-wrap: wrap;
    gap: 4px var(--s4);
    font-family: var(--ff-mono);
    font-size: var(--t-mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .pc-n {
    font-weight: 700;
  }
  .pc-o {
    color: var(--ink-55);
  }
  .pc-v {
    color: var(--verm-ink);
  }
  @media (max-width: 1023px) {
    .poster-mark {
      left: -0.1em;
    }
    .poster-rail,
    .poster-fig {
      grid-column: 1 / -1;
    }
    .poster-e {
      flex-direction: row;
      flex-wrap: wrap;
      gap: 4px var(--s3);
    }
  }

  .note {
    border: 1px solid var(--ink);
    background: var(--white);
    padding: var(--s3);
    max-width: 52ch;
  }
  .note-l {
    font-family: var(--ff-mono);
    font-weight: 700;
    font-size: 0.625rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--verm-ink);
    padding-bottom: var(--s1);
    margin-bottom: var(--s2);
    border-bottom: 1px solid var(--hair);
  }
  .note-b {
    font-size: var(--t-lede);
    font-weight: 300;
    line-height: 1.4;
  }
  .note .mast-cta {
    display: flex;
    margin-top: var(--s3);
  }

  /* ============================================================== FORM */
  .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--gap);
    row-gap: var(--s5);
  }
  .field--full {
    grid-column: 1 / -1;
  }
  @media (max-width: 700px) {
    .form-grid {
      grid-template-columns: minmax(0, 1fr);
      row-gap: var(--s4);
    }
  }
  .fl {
    display: flex;
    align-items: baseline;
    gap: var(--s1);
    padding-bottom: 6px;
  }
  .fl-i {
    font-family: var(--ff-mono);
    font-size: 0.625rem;
    letter-spacing: 0.14em;
    color: var(--verm-ink);
    font-weight: 700;
  }
  .fl-t {
    font-family: var(--ff-mono);
    font-size: var(--t-mono);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--ink);
  }
  .req {
    margin-left: auto;
    font-family: var(--ff-mono);
    font-size: 0.625rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--verm-ink);
  }
  .req--opt {
    color: var(--ink-55);
  }
  .fi {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 10px 2px;
    background: transparent;
    border-bottom: 1px solid var(--ink);
    font-family: var(--ff-text);
    font-size: var(--t-body);
    line-height: 1.5;
    color: var(--ink);
    transition: border-color var(--dur-1) ease-out, background var(--dur-1) ease-out;
  }
  .fi:hover {
    background: rgba(216, 56, 15, 0.04);
  }
  .fi--ta {
    min-height: 140px;
    resize: vertical;
  }
  .fi:focus-visible {
    outline: 2px solid var(--verm);
    outline-offset: 3px;
    border-bottom-color: var(--verm);
  }
  .fi[aria-invalid='true'] {
    border-bottom: 2px solid var(--verm);
  }
  .fsel {
    position: relative;
    display: block;
  }
  .fi--sel {
    appearance: none;
    -webkit-appearance: none;
    font-family: var(--ff-mono);
    font-size: var(--t-mono-r);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding-right: 28px;
    cursor: pointer;
  }
  .fsel-c {
    position: absolute;
    right: 2px;
    top: 50%;
    translate: 0 -50%;
    color: var(--verm);
    pointer-events: none;
  }
  .fh {
    margin-top: 6px;
    font-size: 0.9375rem;
    font-style: italic;
    color: var(--ink-55);
    line-height: 1.5;
  }
  .form-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--s2) var(--s3);
  }
  .form-note {
    font-family: var(--ff-mono);
    font-size: var(--t-mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--verm-ink);
    max-width: 42ch;
    line-height: 1.6;
  }
  .form-note--ok {
    color: var(--ink);
    border-left: 2px solid var(--verm);
    padding-left: var(--s2);
  }

  /* ============================================================ FOOTER */
  .foot {
    padding-block: clamp(40px, 5vw, 88px) var(--s4);
    background: var(--bone-2a);
    border-top: 1px solid var(--ink);
  }
  .foot > .wrap > .rule:first-child {
    margin-top: 0;
  }
  .foot-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    row-gap: var(--s5);
    padding-block: var(--s3) var(--s5);
  }
  .foot-c {
    grid-column: span 4;
    min-width: 0;
  }
  .foot-c--mark {
    grid-column: span 4;
  }
  .foot-name {
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: clamp(1.6rem, 2.6vw, 2.4rem);
    line-height: 0.88;
    letter-spacing: -0.035em;
    text-transform: uppercase;
  }
  .foot-name em {
    color: var(--verm);
    font-style: normal;
  }
  .foot-sub {
    margin-top: var(--s2);
    padding-top: var(--s1);
    border-top: 1px solid var(--hair);
    color: var(--ink-55);
    font-size: 0.625rem;
    letter-spacing: 0.1em;
  }
  .foot-h {
    font-family: var(--ff-mono);
    font-weight: 700;
    font-size: 0.625rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink);
    padding-bottom: 6px;
    border-bottom: 2px solid var(--ink);
    margin-bottom: var(--s2);
  }
  .colophon {
    margin: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .colophon dt {
    font-family: var(--ff-mono);
    font-size: 0.625rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--verm-ink);
    margin-top: var(--s1);
  }
  .colophon dd {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.4;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--hair);
  }
  .colophon dd .sw {
    vertical-align: -1px;
  }
  /* ------------------------------------------------- INDEX OF PLATES
     Catalogue back-matter: all thirty-six plates, numbered across the whole
     site, as a mono list of numbers and captions. Set in columns so it reads
     down each column like a printed index, never as a grid of thumbnails. */
  .foot-index {
    padding-block: var(--s5) var(--s4);
  }
  .foot-index .foot-h {
    max-width: 100%;
  }
  .ip {
    margin: 0;
    padding: 0;
    list-style: none;
    columns: 1;
    column-gap: var(--s6);
    column-rule: 1px solid var(--hair);
  }
  @media (min-width: 640px) {
    .ip {
      columns: 2;
    }
  }
  @media (min-width: 1024px) {
    .ip {
      columns: 3;
    }
  }
  @media (min-width: 1360px) {
    .ip {
      columns: 4;
    }
  }
  .ip-r {
    display: grid;
    grid-template-columns: 4.4em minmax(0, 1fr);
    gap: 0 var(--s1);
    break-inside: avoid;
    padding-block: 5px;
    border-bottom: 1px solid var(--hair-2);
    font-family: var(--ff-mono);
    font-size: 0.6875rem;
    line-height: 1.45;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ink-55);
    font-variant-numeric: tabular-nums;
  }
  .ip-n {
    color: var(--verm-ink);
    font-weight: 700;
    white-space: nowrap;
  }
  .ip-p {
    color: var(--ink-55);
  }
  /* the plates printed on the page you are reading */
  .ip-r--here {
    color: var(--ink);
    border-bottom-color: var(--hair);
  }
  .ip-r--here .ip-c {
    font-weight: 700;
  }
  .foot-note {
    margin-top: var(--s2);
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--ink-55);
    font-style: italic;
  }
  .foot-links {
    margin-top: var(--s2);
  }
  .foot-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-family: var(--ff-mono);
    font-size: var(--t-mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration-color: var(--hair);
  }
  .foot-links a:hover {
    color: var(--verm-ink);
    text-decoration-color: var(--verm);
  }

  .gridbtn {
    display: inline-flex;
    align-items: center;
    gap: var(--s1);
    min-height: 44px;
    padding: 8px 12px 8px 8px;
    border: 1px solid var(--ink);
    background: var(--white);
    font-family: var(--ff-mono);
    font-size: var(--t-mono);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: background var(--dur-1) ease-out, color var(--dur-1) ease-out;
  }
  .gridbtn:hover {
    background: var(--ink);
    color: var(--bone);
  }
  .gridbtn:hover .gridbtn-box span {
    background: var(--bone);
  }
  .gridbtn-box {
    display: flex;
    gap: 3px;
    width: 18px;
    height: 14px;
    align-items: stretch;
  }
  .gridbtn-box span {
    display: block;
    width: 1px;
    background: var(--ink);
    transition: background var(--dur-1) ease-out, opacity var(--dur-1) ease-out;
  }
  .gridbtn[aria-pressed='false'] .gridbtn-box span:nth-child(2),
  .gridbtn[aria-pressed='false'] .gridbtn-box span:nth-child(3) {
    opacity: 0.25;
  }
  .gridbtn-s {
    color: var(--verm-ink);
  }
  .gridbtn:hover .gridbtn-s {
    color: var(--bone);
  }

  .foot-base {
    display: flex;
    flex-wrap: wrap;
    gap: 4px var(--s4);
    font-family: var(--ff-mono);
    font-size: 0.625rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-55);
  }

  @media (max-width: 1023px) {
    .foot-c,
    .foot-c--mark {
      grid-column: span 6;
    }
  }
  @media (max-width: 560px) {
    .foot-c,
    .foot-c--mark {
      grid-column: 1 / -1;
    }
  }
}

/* ------------------------------------------------------------------ MOTION */
@layer motion {
  /* --- char-split reveals -------------------------------------------- */
  .split {
    display: inline;
  }
  .w {
    display: inline-block;
    white-space: nowrap;
    overflow: clip;
    vertical-align: bottom;
    padding-block: 0.28em 0.4em;
    margin-block: -0.28em -0.4em;
  }
  .ch {
    display: inline-block;
    will-change: transform;
    transition: transform 420ms var(--ease);
    transition-delay: calc(var(--i) * 14ms);
  }
  /* Hidden state exists ONLY while `html.motion-ok` is set — the pre-paint gate
     in the <head>, which requires a *displayed* document (a background tab
     suspends rAF, so a reveal armed there could never advance) and
     prefers-reduced-motion: no-preference. The settled end state is the CSS
     default, so a static render, a print job and a background tab are correct. */
  html.motion-ok:not(.rm):not(.motion-done) [data-split]:not(.is-in) .ch {
    transform: translateY(154%);
    transition-duration: 0s;
    transition-delay: 0s;
  }

  /* --- generic reveal ------------------------------------------------- */
  [data-reveal] {
    transition: opacity var(--dur-3) ease-out, transform 420ms var(--ease);
  }
  html.motion-ok:not(.rm):not(.motion-done) [data-reveal]:not(.is-in) {
    opacity: 0;
    transform: translateY(14px);
    transition-duration: 0s;
  }

  /* --- plates clip open, grayscale → colour --------------------------- */
  .plate-win img {
    transition: filter 700ms ease-out, clip-path 760ms var(--ease);
  }
  html.motion-ok:not(.rm):not(.motion-done) .plate:not(.is-in) .plate-win img {
    clip-path: inset(0 0 100% 0);
    filter: grayscale(1) contrast(1.03);
  }

  /* --- native CSS scroll-driven animations (primary mechanism) -------- */
  @keyframes draw-x {
    from {
      transform: scaleX(0);
    }
    to {
      transform: scaleX(1);
    }
  }
  @keyframes sweep-progress {
    from {
      transform: scaleX(0.02);
    }
    to {
      transform: scaleX(1);
    }
  }

  @supports (animation-timeline: view()) {
    html.st-native:not(.rm) [data-rule] {
      animation: draw-x linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 14%;
    }
    html.st-native:not(.rm) .sweep > i {
      animation: sweep-progress linear both;
      animation-timeline: scroll(root block);
    }
  }
  /* Browsers without scroll-driven support (and the GSAP path before it
     initialises): the fills are simply already drawn. */
  html:not(.st-native) [data-rule] {
    transform: scaleX(1);
  }
  html.rm .sweep > i {
    transform: scaleX(1);
  }

  /* --- view transitions: a hard cut with the accent rule sweeping ----- */
  @media (prefers-reduced-motion: no-preference) {
    @view-transition {
      navigation: auto;
    }
  }
  @keyframes vt-cut {
    from {
      clip-path: inset(0 0 100% 0);
    }
    to {
      clip-path: inset(0 0 0 0);
    }
  }
  @keyframes vt-hold {
    from {
      opacity: 1;
    }
    to {
      opacity: 1;
    }
  }
  @keyframes vt-sweep {
    0% {
      transform: translateY(0);
    }
    100% {
      transform: translateY(100svh);
    }
  }
  ::view-transition-old(root) {
    animation: vt-hold 260ms linear both;
  }
  ::view-transition-new(root) {
    animation: vt-cut 300ms var(--ease) both;
  }
  ::view-transition-group(root) {
    animation-duration: 300ms;
  }
  ::view-transition-old(sweep),
  ::view-transition-new(sweep) {
    animation: none;
    opacity: 1;
  }
  ::view-transition-group(sweep) {
    animation: vt-sweep 340ms linear both;
  }
}

/* ----------------------------------------------------------------- A11Y */
@layer a11y {
  .sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }

  :focus-visible {
    outline: 2px solid var(--verm);
    outline-offset: 3px;
  }
  a:focus-visible,
  button:focus-visible {
    background: rgba(216, 56, 15, 0.08);
  }

  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
      animation-duration: 0.001ms !important;
      animation-delay: 0ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.001ms !important;
      transition-delay: 0ms !important;
    }
    .ch,
    [data-reveal] {
      transform: none !important;
      opacity: 1 !important;
    }
    [data-rule],
    .sweep > i {
      transform: scaleX(1) !important;
      animation: none !important;
    }
    .plate-win img {
      clip-path: none !important;
      filter: none !important;
      animation: none !important;
    }
    .tally i:nth-child(5) {
      transform: none;
      margin-inline-start: 0;
    }
  }

  @media (forced-colors: active) {
    .rig,
    .sweep {
      display: none;
    }
    .btn,
    .gridbtn,
    .note,
    .plate-frame,
    .offstage li {
      border: 1px solid CanvasText;
    }
  }

  @media print {
    .rig,
    .sweep,
    .hdr,
    .gridbtn {
      display: none !important;
    }
    body {
      background: #fff;
    }
    .ch {
      transform: none !important;
    }
    .plate-win img {
      filter: none !important;
      clip-path: none !important;
    }
  }
}
