a[data-link][hidden]{display:none!important}
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/BricolageGrotesque-normal-400.woff2') format('woff2'); }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/WorkSans-normal-400.woff2') format('woff2'); }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/WorkSans-normal-600.woff2') format('woff2'); }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/WorkSans-normal-800.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/JetBrainsMono-normal-400.woff2') format('woff2'); }

/* ==========================================================================
   Much Ado About Mothing — the National Museum of Much Ado
   A riso-printed museum visit: two inks (yellow + warm black) on cream stock.
   ========================================================================== */

:root {
  --paper: #f7f0e3;
  --paper2: #ede3cf;
  --ink: #302817;
  --inks: #625741;
  --y: #e9b449;
  --buy: #866013;
  --deep: #392e18;
  --night: #18140c;
  --on: #f6f2ea;
  --ons: #cbc3b4;
  --fd: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --fb: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fm: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --tilt: 2deg;
  --sq: 0px;
  --gap: 32px;
  --m: 20px;
  --sx: 3px;
  --sy: 2px;
  --ease-snap: cubic-bezier(.2, 1.28, .42, 1);
}

[hidden] { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
html.rm { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--fb);
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* ---- Texture: riso-drum (drum speckle + roller banding), CSS only ---- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 30% 40%, color-mix(in srgb, var(--ink) 11%, transparent) 0 .55px, transparent .9px),
    radial-gradient(circle at 70% 20%, color-mix(in srgb, var(--ink) 8%, transparent) 0 .5px, transparent .9px),
    radial-gradient(circle at 15% 80%, color-mix(in srgb, var(--ink) 9%, transparent) 0 .6px, transparent 1px),
    radial-gradient(circle at 60% 65%, color-mix(in srgb, var(--ink) 6%, transparent) 0 .7px, transparent 1.1px);
  background-size: 7px 11px, 13px 17px, 19px 23px, 29px 31px;
  background-position: 0 0, 3px 5px, 11px 2px, 7px 13px;
  mix-blend-mode: multiply;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 800; }
em { font-style: italic; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 120;
  background: var(--ink); color: var(--paper); padding: 10px 14px;
  font: 400 13px/1 var(--fm); text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---- Shared type ---- */
.eyebrow, .label, .kicker, .roomplate {
  font: 400 12px/1.4 var(--fm);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
}
.roomtitle {
  font: 800 clamp(36px, 6vw, 88px)/.92 var(--fd);
  letter-spacing: -.025em;
  text-shadow: var(--sx) var(--sy) 0 var(--y);
}
.roomtitle em { font-weight: 400; }
.roomplate {
  display: inline-block;
  border: 1.5px solid var(--ink);
  padding: 6px 10px 5px;
  background: var(--paper);
  margin-bottom: 40px;
}

/* ---- Buy plate (ochre, Buy only) with its yellow plate off-register ---- */
.buywrap { position: relative; display: inline-flex; isolation: isolate; }
.buywrap:has(> [hidden]) { display: none; }
.buywrap::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--y);
  transform: translate(4px, 4px);
  transition: transform .38s var(--ease-snap);
  clip-path: polygon(0 1px, 30% 0, 70% 1px, 100% 0, 100% 100%, 60% calc(100% - 1px), 25% 100%, 0 calc(100% - 1px));
}
.buy {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px;
  background: var(--buy); color: var(--paper);
  font: 400 13px/1 var(--fm); letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; border-radius: var(--sq);
  transition: transform .3s var(--ease-snap);
  white-space: nowrap;
}
.buy--big { min-height: 56px; padding: 0 26px; font-size: 14px; }
.buywrap:hover::before { transform: translate(0, 0); }
.buy:hover { transform: translate(2px, 2px); }

.walk {
  display: inline-block;
  font: 400 12px/1.4 var(--fm); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; color: var(--ink);
  padding: 4px 0;
  background: linear-gradient(var(--y), var(--y)) left bottom / 0% 6px no-repeat,
              linear-gradient(var(--ink), var(--ink)) left bottom / 100% 1px no-repeat;
  transition: background-size .35s ease;
}
.walk:hover { background-size: 100% 6px, 100% 1px; }

/* ---- Chips ---- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 36px; padding: 0 12px;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--ink);
  font: 400 12px/1 var(--fm); letter-spacing: .04em;
  text-decoration: none;
  transition: transform .25s var(--ease-snap), box-shadow .25s ease;
}
.chip img { width: 18px; height: 18px; flex: none; }
.chip:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--ink); }
.chip--dark { background: transparent; color: var(--on); border-color: var(--on); }
.chip--dark img { filter: invert(1); }
.chip--dark:hover { box-shadow: inset 0 0 0 1px var(--on); }

/* ==========================================================================
   Header: the leaflet's top fold + floor plan
   ========================================================================== */
.top {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 12px;
  height: 60px; padding: 0 var(--m);
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; margin-right: auto; }
.brand__frame { flex: none; width: 36px; height: 36px; border: 2px solid var(--ink); background: var(--paper); overflow: hidden; }
.brand__frame img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.brand__name { display: none; font: 400 12px/1 var(--fm); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buywrap--top .buy { min-height: 40px; padding: 0 12px; font-size: 12px; letter-spacing: .08em; }

.burger {
  flex: none; min-height: 40px; padding: 0 12px;
  background: var(--paper); border: 1.5px solid var(--ink); cursor: pointer;
  font: 400 12px/1 var(--fm); letter-spacing: .16em; text-transform: uppercase;
}
.burger[aria-expanded="true"] { background: var(--y); }

.plan { display: none; }
.plan.is-open {
  display: grid;
  grid-template-columns: 1fr 1fr; gap: 8px;
  position: fixed; top: 68px; left: 12px; right: 12px; z-index: 45;
  max-height: calc(100vh - 84px); overflow-y: auto;
  padding: 16px;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--y);
}
.plan__title { grid-column: 1 / -1; font: 400 11px/1 var(--fm); letter-spacing: .2em; text-transform: uppercase; padding-bottom: 6px; border-bottom: 1px solid var(--ink); }
.plan__room {
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  min-height: 92px; padding: 10px 12px;
  border: 1.5px solid var(--ink); text-decoration: none;
  font: 400 12px/1.3 var(--fm); letter-spacing: .1em; text-transform: uppercase;
}
.plan__room b { font: 800 30px/1 var(--fd); letter-spacing: 0; }
.plan__room:hover { background: var(--y); }
.plan__here { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font: 400 11px/1 var(--fm); letter-spacing: .14em; text-transform: uppercase; }
.plan__here i { width: 10px; height: 10px; border-radius: 50%; background: var(--y); box-shadow: 0 0 0 1.5px var(--ink); }
.plan__extra { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.motion {
  min-height: 36px; padding: 0 12px; cursor: pointer;
  background: var(--paper); border: 1px solid var(--ink);
  font: 400 12px/1 var(--fm); letter-spacing: .12em; text-transform: uppercase;
}
.motion:hover { background: var(--paper2); }

@media (min-width: 600px) {
  :root { --m: 32px; }
  .brand__name { display: block; }
}

@media (min-width: 1100px) {
  :root { --m: 56px; }
}

@media (min-width: 1280px) {
  .top { height: 64px; gap: 20px; }
  .burger { display: none; }
  .plan, .plan.is-open {
    display: flex; align-items: center; gap: 22px;
    position: static; padding: 0; border: 0; box-shadow: none; background: none; max-height: none; overflow: visible;
  }
  .plan__title, .plan__here { display: none; }
  .plan__room {
    flex-direction: row; align-items: baseline; gap: 8px; min-height: 0; padding: 6px 0; border: 0;
    background: linear-gradient(var(--y), var(--y)) left 85% / 0% 7px no-repeat;
    transition: background-size .3s ease;
  }
  .plan__room b { font: 400 12px/1 var(--fm); }
  .plan__room b::after { content: " ·"; }
  .plan__room:hover { background-color: transparent; background-size: 100% 7px; }
  .plan__extra { gap: 10px; margin-left: 8px; }
}

/* ==========================================================================
   Rooms (shared)
   ========================================================================== */
.room {
  position: relative; isolation: isolate;
  padding: 96px var(--m) 112px;
  overflow-x: clip;
  contain: paint;
}
.room__in { position: relative; max-width: 1328px; margin: 0 auto; }
.room__wall {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--paper2);
  clip-path: inset(0 calc(var(--door, 0) * 28%) 0 calc(var(--door, 0) * 28%));
}
.kicker { margin-bottom: 18px; }
.roomhead { margin-bottom: 56px; max-width: 1000px; }

/* Plates come into register (site.js adds html.reg-on, then .is-registered) */
html.js.reg-on:not(.rm) .reg {
  transition: opacity .42s ease, transform .52s var(--ease-snap), text-shadow .52s var(--ease-snap);
}
html.js.reg-on:not(.rm) .reg:not(.is-registered) { opacity: 0; transform: translate3d(12px, 0, 0); }
html.js.reg-on:not(.rm) .reg:not(.is-registered) .title__a,
html.js.reg-on:not(.rm) .reg:not(.is-registered).roomhead .roomtitle,
html.js.reg-on:not(.rm) .reg:not(.is-registered) .roomtitle { text-shadow: -18px 10px 0 var(--y); }
.title__a, .roomtitle { transition: text-shadow .6s var(--ease-snap) .08s; }
html.js.reg-on:not(.rm) .reg:not(.is-registered).buywrap::before,
html.js.reg-on:not(.rm) .reg:not(.is-registered).objwrap::before { transform: translate(-16px, 12px); }

/* ==========================================================================
   Room 0 · Foyer (the first screen)
   ========================================================================== */
.hero { padding: 22px var(--m) 72px; background: var(--paper); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 1328px; margin: 0 auto; }

.hero__eyebrow { margin-bottom: 14px; }
.eyebrow__dk { display: none; }

.title { background: var(--paper); }
.title__a {
  display: block;
  font: 800 clamp(44px, 12.4vw, 128px)/.88 var(--fd);
  letter-spacing: -.03em;
  text-shadow: var(--sx) var(--sy) 0 var(--y);
}
.title__b {
  display: block;
  margin-top: .5em;
  font: 400 clamp(22px, 6.3vw, 46px)/1.36 var(--fd);
  letter-spacing: -.01em;
}
.title__b em {
  background: var(--y);
  padding: .02em .22em .06em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* The character as a riso ink separation: the cut-out is pulled in two passes,
   a yellow plate (the gold) and a black plate (the line), slightly off-register;
   while the moth walks its rim the yellow plate lags behind and drifts, then snaps back. */
.perch {
  --s: clamp(84px, 10.5vw, 150px);
  position: relative; display: block;
  width: var(--s); height: var(--s);
  margin: 30px 0 calc(var(--s) * .5) 40px;
  --walk: 0deg; --walk2: 0deg; --dx: 11px; --dy: 7px; --lift: 0deg;
}
/* the exhibit stands on a printed plinth line; its reflection is printed below in the yellow plate, fading out */
.perch__plinth {
  position: absolute; top: 97.3%; left: -24%; width: 148%; height: 3px;
  background: var(--ink); pointer-events: none;
}
.perch__reflection {
  position: absolute; left: 0; top: -14.5%;
  width: 100%; aspect-ratio: 901 / 1012;
  background: url("../img/cutout.png") 0 0 / 100% 100% no-repeat;
  filter: grayscale(1) brightness(1.5) sepia(1) saturate(6) hue-rotate(-6deg);
  opacity: .5;
  mix-blend-mode: multiply;
  transform-origin: 50% 99.6%;
  transform: translateY(5px) scaleY(-1);
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 45%), radial-gradient(ellipse 42% 37.6% at 50% 55.7%, transparent 97%, #000 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to top, #000 0%, transparent 45%), radial-gradient(ellipse 42% 37.6% at 50% 55.7%, transparent 97%, #000 100%);
  mask-composite: intersect;
  pointer-events: none;
}
/* die-cut: the circle's empty middle is cut out of both plates, so "nothing" is a real hole in the print */
.perch img, .perch__plate {
  position: absolute; left: 0; top: -14.5%;
  width: 100%; height: auto; max-width: none;
  transform-origin: 50% 55.7%;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 42% 37.6% at 50% 55.7%, transparent 97%, #000 100%);
  mask-image: radial-gradient(ellipse 42% 37.6% at 50% 55.7%, transparent 97%, #000 100%);
}
.perch__plate {
  aspect-ratio: 901 / 1012;
  background: url("../img/cutout.png") 0 0 / 100% 100% no-repeat;
  filter: grayscale(1) brightness(1.5) sepia(1) saturate(6) hue-rotate(-6deg);
  transform: perspective(700px) translate(var(--dx), var(--dy)) rotate(var(--walk2)) rotateX(var(--lift));
}
.perch img {
  filter: grayscale(1) brightness(1.3) contrast(3);
  transform: rotate(var(--walk));
}
.perch::before, .perch::after {
  content: ""; position: absolute; right: -40px; width: 22px; height: 22px;
  border: 1.5px solid var(--ink); border-radius: 50%; pointer-events: none;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 100% no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 100% 1.5px no-repeat;
}
.perch::before { top: 0; }
.perch::after { bottom: 12%; }

.hero__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
.hero__buy .buywrap { flex: 1 1 100%; }
.hero__buy .buy { width: 100%; }

/* The object label (the CA box) */
.objwrap { position: relative; isolation: isolate; margin-top: 22px; }
.objwrap::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--y);
  transform: translate(6px, 6px);
  transition: transform .5s var(--ease-snap);
  clip-path: polygon(0 1px, 40% 0, 100% 2px, 100% 100%, 55% calc(100% - 2px), 0 100%);
}
.objwrap:has(> [hidden])::before { display: none; }
.objwrap.is-slipped::before { animation: mo-plate-snap .9s ease-out; }
.objlabel {
  position: relative;
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 14px 14px 16px;
  margin-right: 6px;
}
.objlabel__head {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px;
  font: 400 11px/1.35 var(--fm); letter-spacing: .14em; text-transform: uppercase;
  padding-bottom: 10px; border-bottom: 1px solid var(--ink); margin-bottom: 12px;
}
#ca-copy {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 10px 10px 10px 12px;
  background: var(--paper2); border: 1px solid var(--ink);
  cursor: pointer; text-align: left;
  transition: background-color .25s ease;
}
#ca-copy:hover { background: color-mix(in srgb, var(--y) 30%, var(--paper2)); }
#ca-copy code {
  flex: 1 1 auto; min-width: 0;
  font: 400 12px/1.45 var(--fm); color: var(--ink);
  overflow-wrap: anywhere; word-break: break-all;
}
.ca__tap {
  flex: none;
  background: var(--y); color: var(--ink);
  padding: 7px 8px 6px;
  font: 400 11px/1 var(--fm); letter-spacing: .14em; text-transform: uppercase;
}
#ca-copy.is-copied { background: color-mix(in srgb, var(--y) 45%, var(--paper2)); }
html.ca-copied .ca__tap { font-size: 0; letter-spacing: 0; }
html.ca-copied .ca__tap::after { content: "Printed. 1 copy."; font-size: 11px; letter-spacing: .1em; }
.objlabel__also { margin: 14px 0 8px; font: 400 11px/1 var(--fm); letter-spacing: .16em; text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }

.hero__lede { margin-top: 30px; max-width: 46ch; }
.hero__lede .label { margin-bottom: 8px; }
.lede { font-size: 18px; line-height: 1.5; }

/* ---- The banner (signature cloth). Still state = composed HTML. ---- */
.banner { position: relative; margin: 56px auto 0; width: 100%; max-width: 380px; overflow-x: clip; }
.banner__pole {
  position: relative; z-index: 2;
  height: 12px; margin: 0 -4px;
  background: linear-gradient(var(--deep), var(--ink));
  border-radius: 6px;
  display: flex; justify-content: space-between; padding: 0 9%;
}
.banner__pole::before, .banner__pole::after {
  content: ""; position: absolute; top: -4px; width: 18px; height: 20px; border-radius: 4px; background: var(--ink);
}
.banner__pole::before { left: -8px; }
.banner__pole::after { right: -8px; }
.banner__pole i { width: 10px; height: 16px; margin-top: 4px; border: 2px solid var(--ink); border-radius: 50%; background: transparent; }
.banner__cloth { position: relative; height: 470px; padding: 4px 6% 18px; overflow: clip; }
.banner__cloth canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
html.rm .banner__cloth canvas { display: none; }
html.rm .banner__cloth.is-live .banner__face { opacity: 1; }
html.rm .newticket { display: none; }
.banner__face {
  position: relative; height: 100%;
  display: flex; flex-direction: column;
  background:
    radial-gradient(ellipse 50% 30% at 22% 18%, color-mix(in srgb, var(--paper) 34%, transparent), transparent 70%),
    radial-gradient(ellipse 40% 26% at 78% 82%, color-mix(in srgb, var(--paper) 28%, transparent), transparent 70%),
    repeating-linear-gradient(0deg, color-mix(in srgb, var(--ink) 3%, transparent) 0 1px, transparent 1px 41px),
    var(--y);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 87.5% 96%, 75% 100%, 62.5% 96%, 50% 100%, 37.5% 96%, 25% 100%, 12.5% 96%, 0 100%);
}
.banner__cloth.is-live .banner__face { opacity: 0; }
.banner__type { padding: 22px 22px 0; }
.banner__title { font: 800 34px/.9 var(--fd); letter-spacing: -.02em; text-transform: uppercase; color: var(--ink); }
.banner__line { margin-top: 10px; font: 400 11px/1.3 var(--fm); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.banner__art { position: relative; flex: 1 1 auto; min-height: 240px; overflow: hidden; margin-bottom: 4%; }
.banner__art img {
  position: absolute; right: 0; top: -28px;
  width: 500px; max-width: none; height: auto;
  mix-blend-mode: multiply;
}
.banner figcaption { margin-top: 12px; font: 400 12px/1.4 var(--fm); color: var(--ink); text-align: center; }

@media (min-width: 700px) {
  .hero__buy .buywrap { flex: 0 0 auto; }
  .hero__buy .buy { width: auto; }
  .objlabel { padding: 18px 20px 20px; }
  #ca-copy code { font-size: 13px; }
}

@media (min-width: 960px) {
  .hero { padding-top: 28px; padding-bottom: 88px; }
  .eyebrow__dk { display: inline; }
  .eyebrow__nm { display: none; }
  .hero__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    grid-template-rows: auto auto 1fr;
    grid-template-areas:
      "e e e e e e e e b b b b"
      "t t t t t t t t b b b b"
      "l l l l u u o o o o o o";
    align-items: start;
  }
  .hero__eyebrow { grid-area: e; }
  .title { grid-area: t; }
  .title__a { font-size: clamp(64px, 8.6vw, 128px); }
  .title__b { font-size: clamp(30px, 3.2vw, 46px); margin-top: .2em; }
  .banner { grid-area: b; margin: 0 0 0 auto; max-width: 340px; }
  .banner__cloth { height: 448px; }
  .hero__lede { grid-area: l; margin-top: 28px; }
  .hero__buy { grid-area: u; margin-top: 28px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero__buy .buywrap { flex: none; }
  .hero__buy .buy { padding: 0 14px; font-size: 12px; letter-spacing: .06em; }
  .objwrap { grid-area: o; margin-top: 28px; }
}
@media (min-width: 1240px) {
  .hero__buy .buy { padding: 0 20px; font-size: 14px; letter-spacing: .12em; }
}

/* ==========================================================================
   Room 1 · The Fuss
   ========================================================================== */
.room--fuss .room__wall { background: var(--paper2); }
.fuss { display: grid; gap: 48px; }
.exhibit { position: relative; padding-top: 86px; }
.tracklight {
  position: absolute; top: 0; left: 20%; right: 20%; height: 6px;
  background: var(--ink); pointer-events: none;
  display: flex; justify-content: space-around;
}
.tracklight i {
  width: 34px; height: 26px; margin-top: 6px;
  background: var(--ink);
  clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%);
}
.cone {
  position: absolute; z-index: 0; pointer-events: none;
  top: 38px; left: 6%; right: 6%; bottom: -30px;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--y) 70%, transparent), color-mix(in srgb, var(--y) 0%, transparent) 92%);
  clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%);
  mix-blend-mode: multiply;
  opacity: .55;
}
.frame {
  position: relative; z-index: 1;
  border: 14px solid var(--ink);
  background: var(--paper);
  padding: clamp(18px, 4vw, 44px);
}
.frame::before {
  content: ""; position: absolute; pointer-events: none;
  bottom: calc(100% + 14px); left: 26%; width: 48%; height: 58px;
  background:
    linear-gradient(to top right, transparent calc(50% - 1px), var(--ink) calc(50% - 1px), var(--ink) calc(50% + .5px), transparent calc(50% + .5px)) left / 50% 100% no-repeat,
    linear-gradient(to top left, transparent calc(50% - 1px), var(--ink) calc(50% - 1px), var(--ink) calc(50% + .5px), transparent calc(50% + .5px)) right / 50% 100% no-repeat;
}
.frame::after {
  content: ""; position: absolute; inset: -14px; z-index: -1; pointer-events: none;
  background: var(--y);
  transform: translate(12px, 12px);
}
.frame img { outline: 1px solid var(--ink); width: 100%; }
.walllabel { align-self: end; max-width: 460px; }
.walllabel .roomtitle { font-size: clamp(34px, 4.6vw, 64px); }
.walllabel__medium { margin-top: 22px; padding-top: 12px; border-top: 1px solid var(--ink); font: 400 12px/1.4 var(--fm); letter-spacing: .14em; text-transform: uppercase; }
.walllabel__cap { margin-top: 10px; font: 400 14px/1.55 var(--fm); color: var(--ink); }

.hangline {
  position: relative; margin-top: 88px;
  display: grid; gap: 24px;
  padding-top: 30px;
}
.hangline::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 0;
  border-top: 1.5px dashed var(--ink); pointer-events: none;
}
.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 22px 22px 24px;
  transition: transform .3s var(--ease-snap), box-shadow .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--y); }
.card__num {
  display: inline-block;
  font: 800 44px/1 var(--fd);
  padding: 2px 10px 0;
  background: var(--y);
  margin-bottom: 16px;
}
.card h3 { font: 800 24px/1.05 var(--fd); letter-spacing: -.01em; margin-bottom: 10px; }
.card p { font-size: 16px; color: var(--inks); }

@media (min-width: 960px) {
  .fuss { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
  .exhibit { grid-column: 1 / span 7; }
  .walllabel { grid-column: 9 / span 4; padding-bottom: 8px; }
  .hangline { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; align-items: start; }
  .hangline .card:nth-child(2) { margin-top: 28px; }
  .hangline .card:nth-child(3) { margin-top: 12px; }
}

/* ==========================================================================
   Room 2 · The Collection (yellow flood)
   ========================================================================== */
.room--collection .room__wall {
  background:
    radial-gradient(ellipse 36% 24% at 18% 22%, color-mix(in srgb, var(--paper) 30%, transparent), transparent 70%),
    radial-gradient(ellipse 30% 22% at 84% 70%, color-mix(in srgb, var(--paper) 26%, transparent), transparent 70%),
    repeating-linear-gradient(0deg, color-mix(in srgb, var(--ink) 2.5%, transparent) 0 1px, transparent 1px 41px),
    var(--y);
}
.room--collection .roomtitle { text-shadow: var(--sx) var(--sy) 0 var(--paper); }
html.js.reg-on:not(.rm) .room--collection .reg:not(.is-registered) .roomtitle { text-shadow: -18px 10px 0 var(--paper); }
.hang {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 18px; align-items: center;
}
.hang figure { margin: 0; }
.hang figure:nth-child(3) { grid-column: 1 / -1; width: 78%; margin: 0 auto; }
.hang img {
  width: 100%;
  border: 8px solid var(--ink);
  padding: 12px;
  background: var(--paper);
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform .35s var(--ease-snap), box-shadow .35s var(--ease-snap);
}
.hang figure:hover img { transform: translateY(-6px); box-shadow: 10px 12px 0 var(--ink); }
.hang figcaption {
  margin-top: 16px; padding: 6px 8px;
  font: 400 12px/1.45 var(--fm); color: var(--ink);
  transition: background-color .25s ease;
}
.hang figure:hover figcaption { background: var(--paper); }

html.js.reg-on:not(.rm) .hang figure { transition: opacity .4s ease, transform .55s var(--ease-snap); }
html.js.reg-on:not(.rm) .hang:not(.is-registered) figure { opacity: 0; transform: translateY(-24px); }
html.js.reg-on:not(.rm) .hang figure:nth-child(2) { transition-delay: .09s; }
html.js.reg-on:not(.rm) .hang figure:nth-child(3) { transition-delay: .18s; }
html.js.reg-on:not(.rm) .hang figure:nth-child(4) { transition-delay: .27s; }
html.js.reg-on:not(.rm) .hang figure:nth-child(5) { transition-delay: .36s; }
html.js.reg-on:not(.rm) .hang figure:nth-child(6) { transition-delay: .45s; }
html.js.reg-on:not(.rm) .hang.reg:not(.is-registered) { opacity: 1; transform: none; }

@media (min-width: 960px) {
  .hang {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
    gap: 56px 48px;
    background: linear-gradient(var(--ink), var(--ink)) 0 50% / 100% 1px no-repeat;
  }
  .hang figure { width: 280px; }
  .hang figure:nth-child(2), .hang figure:nth-child(4) { width: 200px; }
  .hang figure:nth-child(3) { width: 340px; margin: 0; }
  .hang img { border-width: 10px; padding: 22px; }
}

/* ==========================================================================
   Room 3 · Make a Fuss (the admission ticket)
   ========================================================================== */
.room--play .room__wall { background: var(--paper); }
.fuss-ticket {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr);
  max-width: 880px; margin: 0 auto;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 var(--y);
}
.ticket__stub {
  padding: 18px 20px;
  border-bottom: 2px dashed var(--ink);
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px;
}
.ticket__admit { font: 400 12px/1.2 var(--fm); letter-spacing: .2em; text-transform: uppercase; }
.ticket__who { font: 800 40px/.9 var(--fd); }
.ticket__count { font: 400 12px/1.3 var(--fm); letter-spacing: .1em; text-transform: uppercase; }
.ticket__count b { display: inline-block; min-width: 2ch; padding: 2px 6px; background: var(--y); font-weight: 400; }
.ticket__body { padding: 22px 20px 26px; display: grid; justify-items: center; gap: 18px; text-align: center; }
.ticket__how { font: 400 12px/1.4 var(--fm); letter-spacing: .14em; text-transform: uppercase; }
.rubpanel {
  position: relative;
  width: min(300px, 100%); aspect-ratio: 1;
  border: 2px solid var(--ink);
  background: var(--paper);
  overflow: hidden;
}
.rubprize { position: absolute; inset: 0; }
.rubprize img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.rubcoat {
  position: absolute; inset: 0; width: 100%; height: 100%;
  touch-action: none; cursor: crosshair;
  transition: opacity .4s ease, clip-path .3s ease;
  clip-path: inset(0 0 0 0);
}
.rubpanel.is-repaint .rubcoat { clip-path: inset(0 0 100% 0); transition: none; }
.fuss-ticket.is-clear .rubcoat { opacity: 0; pointer-events: none; }
html.rm .rubcoat { display: none; }
.rubwin { font: 400 22px/1.3 var(--fd); }
.rubwin em { background: var(--y); padding: 0 .2em; }
html.js.reg-on:not(.rm) .rubwin { transition: opacity .4s ease, transform .5s var(--ease-snap); }
html.js.reg-on:not(.rm) .fuss-ticket:not(.is-clear) .rubwin { opacity: 0; transform: translateY(8px); }
.newticket {
  min-height: 40px; padding: 0 16px; cursor: pointer;
  background: var(--paper); border: 1.5px solid var(--ink);
  font: 400 12px/1 var(--fm); letter-spacing: .16em; text-transform: uppercase;
  transition: background-color .2s ease, transform .3s var(--ease-snap);
}
.newticket:hover { background: var(--y); transform: translateY(-2px); }

@media (min-width: 760px) {
  .fuss-ticket { grid-template-columns: 210px minmax(0, 1fr); }
  .ticket__stub {
    flex-direction: column; justify-content: space-between; align-items: flex-start;
    border-bottom: 0; border-right: 2px dashed var(--ink);
    padding: 26px 22px;
  }
  .ticket__who { font-size: 48px; writing-mode: vertical-rl; transform: rotate(180deg); }
  .ticket__body { padding: 30px 32px 32px; }
}

/* ==========================================================================
   Room 4 · Gift shop (how to buy)
   ========================================================================== */
.room--buy .room__wall { background: var(--paper2); }
.rack { position: relative; padding-top: 26px; }
.rack::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: var(--ink); pointer-events: none; display: none;
}
.postcards { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.postcard {
  position: relative;
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 22px 22px 26px;
  transform: rotate(calc(var(--tilt) * -.5));
  transition: transform .4s var(--ease-snap), box-shadow .3s ease;
}
.postcard:nth-child(2) { transform: rotate(calc(var(--tilt) * .5)); }
.postcard:hover { transform: rotate(0) translateY(-6px); box-shadow: 8px 8px 0 var(--y); }
.postcard__n {
  display: block;
  font: 800 clamp(72px, 9vw, 112px)/.85 var(--fd);
  letter-spacing: -.04em;
  text-shadow: 6px 4px 0 var(--y);
  margin-bottom: 18px;
}
.postcard p { font-size: 16px; }
.postcard p b { display: block; font: 400 12px/1.3 var(--fm); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; }
html.js.reg-on:not(.rm) .postcard { transition: opacity .4s ease, transform .6s var(--ease-snap), box-shadow .3s ease; }
html.js.reg-on:not(.rm) .rack:not(.is-registered) .postcard { opacity: 0; transform: translateY(-40px) rotate(4deg); }
html.js.reg-on:not(.rm) .postcard:nth-child(2) { transition-delay: .12s; }
html.js.reg-on:not(.rm) .postcard:nth-child(3) { transition-delay: .24s; }
html.js.reg-on:not(.rm) .rack.reg:not(.is-registered) { opacity: 1; transform: none; }
.buy__end { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 64px; }

@media (min-width: 900px) {
  .rack::before { display: block; }
  .rack { padding-top: 40px; }
  .postcards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
  .postcard { transform: rotate(calc(var(--tilt) * -1)); }
  .postcard:nth-child(2) { transform: rotate(calc(var(--tilt) * .6)); margin-top: 18px; }
  .postcard:nth-child(3) { transform: rotate(calc(var(--tilt) * -.4)); }
  .postcard::before {
    content: ""; position: absolute; top: -42px; left: 50%; width: 2px; height: 40px;
    background: var(--ink); pointer-events: none;
  }
}

/* ==========================================================================
   Closing time (footer)
   ========================================================================== */
.foot {
  position: relative;
  background: var(--night); color: var(--on);
  padding: 88px var(--m) 48px;
  overflow-x: clip;
}
.foot__close { font: 400 12px/1.5 var(--fm); letter-spacing: .16em; text-transform: uppercase; color: var(--ons); }
.foot__mark {
  margin: 26px 0 40px;
  font: 800 clamp(44px, 9.5vw, 150px)/.88 var(--fd);
  letter-spacing: -.035em;
  color: var(--y);
  text-shadow: 5px 4px 0 var(--deep);
  overflow-wrap: anywhere;
}
.foot__row { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; padding: 22px 0; border-top: 1px solid color-mix(in srgb, var(--on) 30%, transparent); }
.foot__link { font: 400 12px/1.4 var(--fm); letter-spacing: .14em; text-transform: uppercase; color: var(--on); text-underline-offset: 4px; }
.foot__link:hover { color: var(--y); }
.foot__legal { max-width: 70ch; margin-top: 18px; font-size: 14px; line-height: 1.6; color: var(--ons); }
.foot__colophon { margin-top: 28px; font: 400 11px/1.4 var(--fm); letter-spacing: .16em; text-transform: uppercase; color: var(--ons); }

/* ==========================================================================
   The opening: conservation tissue tears away (motion on only)
   ========================================================================== */
.tissue { display: none; }
html.js:not(.rm) .tissue {
  display: block;
  position: fixed; inset: 0; z-index: 100; pointer-events: none;
  animation: mo-tissue-gone 0s linear 1.2s forwards;
}
.tissue__l, .tissue__r {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, transparent calc(33% - 1px), color-mix(in srgb, var(--ink) 9%, transparent) 33%, transparent calc(33% + 2px)),
    linear-gradient(0deg, transparent calc(58% - 1px), color-mix(in srgb, var(--ink) 7%, transparent) 58%, transparent calc(58% + 2px)),
    color-mix(in srgb, var(--paper2) 93%, transparent);
  display: grid; place-items: center;
  will-change: transform, opacity;
}
.tissue__l {
  clip-path: polygon(0 0, 52% 0, 49% 5%, 53% 10%, 50% 15%, 54% 20%, 48% 25%, 51% 30%, 55% 35%, 49% 40%, 52% 45%, 47% 50%, 51% 55%, 54% 60%, 50% 65%, 48% 70%, 53% 75%, 49% 80%, 52% 85%, 50% 90%, 54% 95%, 51% 100%, 0 100%);
  transform-origin: 0 50%;
  animation: mo-tissue-l .8s cubic-bezier(.55, 0, .8, .35) .28s forwards;
}
.tissue__r {
  clip-path: polygon(52% 0, 100% 0, 100% 100%, 51% 100%, 54% 95%, 50% 90%, 52% 85%, 49% 80%, 53% 75%, 48% 70%, 50% 65%, 54% 60%, 51% 55%, 47% 50%, 52% 45%, 49% 40%, 55% 35%, 51% 30%, 48% 25%, 54% 20%, 50% 15%, 53% 10%, 49% 5%);
  animation: mo-tissue-r .8s cubic-bezier(.55, 0, .8, .35) .34s forwards;
}
.tissue__print { text-align: center; color: var(--ink); padding: 0 20px; }
.tissue__print p { font: 400 13px/2 var(--fm); letter-spacing: .3em; text-transform: uppercase; }
.tissue__print p:first-child { font: 800 clamp(64px, 14vw, 200px)/.9 var(--fd); letter-spacing: -.03em; text-transform: none; margin-bottom: 18px; text-shadow: 4px 3px 0 var(--y); }
.tissue__strip {
  position: absolute; top: 0; bottom: 0; left: calc(51% - 21px); width: 42px;
  background: var(--y); mix-blend-mode: multiply; opacity: .9;
  animation: mo-strip-lift .34s cubic-bezier(.6, 0, .9, .4) .06s forwards;
}

@keyframes mo-strip-lift { to { transform: translateY(-110%) rotate(8deg); opacity: 0; } }
@keyframes mo-tissue-l { 70% { opacity: 1; } to { transform: perspective(1400px) rotateY(-82deg) translateY(8%); opacity: 0; } }
@keyframes mo-tissue-r { 70% { opacity: 1; } to { transform: translate(70%, 22%) rotate(10deg) skewY(-3deg); opacity: 0; } }
@keyframes mo-tissue-gone { to { visibility: hidden; } }

/* ---- CA celebration: drum pass (one riso pass across the object label) ---- */
.drumpass { position: fixed; z-index: 90; pointer-events: none; overflow: hidden; mix-blend-mode: multiply; }
.drumpass i {
  position: absolute; top: 0; bottom: 0; left: 0; width: 55%;
  background:
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--ink) 5%, transparent) 0 1px, transparent 1px 9px),
    var(--y);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  animation: mo-drum-roll .65s cubic-bezier(.45, 0, .55, 1) forwards;
}
@keyframes mo-drum-roll { from { transform: translateX(-100%); } to { transform: translateX(190%); } }
@keyframes mo-plate-snap {
  0% { transform: translate(6px, 6px); }
  14% { transform: translate(14px, 12px); }
  38% { transform: translate(1px, 2px); }
  60% { transform: translate(9px, 8px); }
  80% { transform: translate(5px, 5px); }
  100% { transform: translate(6px, 6px); }
}

/* ---- 404: a closed, empty room ---- */
.lost { background: var(--paper2); }
.lost__room {
  position: relative; isolation: isolate;
  min-height: 100vh; padding: 120px var(--m) 64px;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px;
  max-width: 1100px; margin: 0 auto; overflow-x: clip;
}
.lost__light { position: absolute; top: 0; left: 50%; width: min(520px, 90vw); height: 70vh; transform: translateX(-50%); z-index: -1; pointer-events: none; }
.lost__light .cone { top: 30px; bottom: 0; }
.lost .roomplate { margin-bottom: 0; }
.lost__frame { display: block; border: 8px solid var(--ink); padding: 10px; background: var(--paper); box-shadow: 8px 8px 0 var(--y); }
.lost__frame img { width: 96px; height: 96px; mix-blend-mode: multiply; }
.lost__title { font: 800 clamp(44px, 11vw, 140px)/.9 var(--fd); letter-spacing: -.03em; text-shadow: var(--sx) var(--sy) 0 var(--y); }
.lost__title em { display: block; margin-top: .25em; font-weight: 400; font-size: .42em; line-height: 1.3; text-shadow: none; }
.lost__title em { background: var(--y); padding: 0 .2em; -webkit-box-decoration-break: clone; box-decoration-break: clone; display: inline; }
.lost__home { margin-top: 8px; }
.lost__name { font: 400 12px/1.4 var(--fm); letter-spacing: .16em; text-transform: uppercase; }

/* ---- Motion off: the finished, registered, still print ---- */
html.rm *, html.rm *::before, html.rm *::after { animation: none !important; transition: none !important; }
html.rm .perch img { transform: none; }
html.rm .perch__plate { transform: translate(11px, 7px); }
@media (prefers-reduced-motion: reduce) {
  .tissue { display: none !important; }
}
