a[data-link][hidden]{display:none!important}
@font-face { font-family: 'Fredoka'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/Fredoka-normal-400.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/Manrope-normal-400.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/Manrope-normal-600.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/Manrope-normal-800.woff2') format('woff2'); }
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/Caveat-normal-400.woff2') format('woff2'); }

/* ============ Marsmallow · The Snack Wing (two-ink risograph museum) ============ */
:root {
  --paper: #f9e8f0;
  --paper2: #f1d3e2;
  --ink: #2e1028;
  --ink-soft: #5c3550;
  --plum: #7a1a5e;
  --pink: #e0418f;
  --gold: #e9ad49;
  --gold-deep: #9a1a62;
  --night: #3d0b30;
  --on-night: #fceef5;
  --on-night-soft: #e8c8da;
  --f-d: "Fredoka", ui-rounded, "Arial Rounded MT Bold", sans-serif;
  --f-b: "Manrope", system-ui, sans-serif;
  --f-s: "Caveat", cursive;
  --gap: 32px;
  --r: 14px;
  --r-sm: 8px;
  --line: 3px;
  /* paper fibres: hairline strokes in both inks */
  --fibres: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cg fill='none' stroke-linecap='round' stroke-width='.8'%3E%3Cpath d='M12 20q9-5 19 2' stroke='%237a1a5e' stroke-opacity='.09'/%3E%3Cpath d='M70 14q6 6 15 4' stroke='%23e0418f' stroke-opacity='.12'/%3E%3Cpath d='M140 30q-8 7-3 16' stroke='%237a1a5e' stroke-opacity='.08'/%3E%3Cpath d='M30 80q11 2 16 10' stroke='%23e0418f' stroke-opacity='.11'/%3E%3Cpath d='M96 70q4-8 14-9' stroke='%237a1a5e' stroke-opacity='.07'/%3E%3Cpath d='M150 96q-10 3-12 12' stroke='%23e0418f' stroke-opacity='.1'/%3E%3Cpath d='M8 140q7-6 16-3' stroke='%237a1a5e' stroke-opacity='.09'/%3E%3Cpath d='M60 128q9 7 6 17' stroke='%23e0418f' stroke-opacity='.1'/%3E%3Cpath d='M112 150q8-3 18 3' stroke='%237a1a5e' stroke-opacity='.08'/%3E%3Cpath d='M164 160q-4-9 4-15' stroke='%23e0418f' stroke-opacity='.1'/%3E%3Cpath d='M84 108q-6 5-15 3' stroke='%237a1a5e' stroke-opacity='.06'/%3E%3C/g%3E%3C/svg%3E");
  /* ink starve: cream specks where the drum ran dry */
  --starve: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cg fill='%23f9e8f0'%3E%3Ccircle cx='12' cy='18' r='1.1' opacity='.5'/%3E%3Ccircle cx='48' cy='9' r='.7' opacity='.4'/%3E%3Cellipse cx='90' cy='30' rx='2.2' ry='.8' opacity='.35'/%3E%3Ccircle cx='126' cy='52' r='1' opacity='.45'/%3E%3Ccircle cx='30' cy='70' r='.8' opacity='.4'/%3E%3Cellipse cx='70' cy='88' rx='1.6' ry='.6' opacity='.4'/%3E%3Ccircle cx='108' cy='104' r='1.3' opacity='.35'/%3E%3Ccircle cx='18' cy='120' r='.9' opacity='.45'/%3E%3Ccircle cx='58' cy='132' r='.6' opacity='.5'/%3E%3Cellipse cx='132' cy='128' rx='1.8' ry='.7' opacity='.3'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.rm { scroll-behavior: auto; }
body {
  margin: 0; overflow-x: hidden;
  background: var(--paper) var(--fibres);
  color: var(--ink); font: 400 17px/1.6 var(--f-b);
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--plum); }
h1, h2, h3 { margin: 0; font-family: var(--f-d); font-weight: 700; color: var(--plum); line-height: .95; }
h2 em, h1 em { font-style: normal; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.caps { margin: 0; font: 700 12px/1.4 var(--f-b); letter-spacing: .22em; text-transform: uppercase; color: var(--plum); }
.note { font: 600 26px/1.15 var(--f-s); color: var(--gold-deep); margin: 0; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }

/* ---------- buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; cursor: pointer;
  font: 700 15px/1 var(--f-b); letter-spacing: .06em; text-decoration: none;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s;
}
.btn--buy { background: var(--gold); color: var(--plum); border: 2px solid var(--plum); box-shadow: 4px 4px 0 var(--plum); }
.btn--buy:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--plum), 9px 8px 0 var(--pink); }
.btn--line { background: transparent; color: var(--plum); border: 2px solid var(--plum); }
.btn--line:hover { background: var(--paper2); transform: translateY(-2px); }
.btn--big { min-height: 60px; padding: 0 36px; font-size: 17px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px;
  border-radius: 999px; background: #fff; color: var(--plum); text-decoration: none;
  font: 600 13px/1 var(--f-b); box-shadow: 0 0 0 1.5px var(--plum);
  transition: box-shadow .25s, transform .25s;
}
.chip img { width: 16px; height: 16px; }
.chip:hover { transform: translateY(-2px); box-shadow: 0 0 0 1.5px var(--plum), 2px 2px 0 1.5px var(--pink); }

/* ---------- header: the gallery guide's wayfinding strip ---------- */
.guide {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 56px;
  display: flex; align-items: center; gap: 10px; padding: 0 12px;
  background: var(--paper) var(--fibres); border-bottom: 2px solid var(--plum);
  box-shadow: 0 3px 0 -1px rgba(224,65,143,.7);
}
.guide__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.guide__logo { width: 38px; height: 38px; border-radius: 50%; box-shadow: 0 0 0 2px var(--plum), 2px 2px 0 2px var(--pink); overflow: hidden; flex: none; }
.guide__name { display: none; flex-direction: column; line-height: 1.05; }
.guide__name b { font: 600 22px/1 var(--f-d); color: var(--plum); }
.guide__name small { font: 700 10px/1.4 var(--f-b); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.guide__buy { min-height: 40px; padding: 0 14px; font-size: 13px; box-shadow: 3px 3px 0 var(--plum); }
#burger { order: 3; width: 44px; height: 44px; border: 2px solid var(--plum); border-radius: 50%; background: var(--paper); display: grid; place-content: center; gap: 5px; cursor: pointer; }
#burger span:not(.sr) { display: block; width: 18px; height: 2px; background: var(--plum); transition: transform .3s; }
#burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
#burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
#nav {
  position: fixed; top: 64px; left: 12px; right: 12px; z-index: 49;
  display: none; flex-direction: column; gap: 4px; padding: 16px;
  background: var(--paper) var(--fibres); border: 2px solid var(--plum); border-radius: var(--r);
  box-shadow: 5px 5px 0 var(--pink); max-height: calc(100vh - 80px); overflow: auto;
}
#nav.is-open { display: flex; }
#nav a:not(.chip) { display: flex; align-items: center; gap: 12px; padding: 10px 4px; color: var(--plum); text-decoration: none; font: 600 20px/1 var(--f-d); }
#nav i { font: 700 12px/1 var(--f-b); font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--plum); transition: background .25s, transform .25s; }
#nav a:hover i { background: var(--plum); color: var(--paper); transform: rotate(-12deg); }
#nav .chip { align-self: flex-start; margin-top: 8px; }
#motion { align-self: flex-start; margin-top: 8px; background: none; border: 1.5px dashed var(--plum); border-radius: 999px; padding: 8px 14px; color: var(--plum); font: 700 11px/1 var(--f-b); letter-spacing: .18em; text-transform: uppercase; cursor: pointer; }

/* ---------- the lobby: exhibit 001 ---------- */
.lobby { position: relative; }
.lobby__stage {
  position: sticky; top: 0; z-index: 1; min-height: 100vh; min-height: 100svh;
  padding: 56px 0 24px; overflow: hidden;
  background: var(--paper) var(--fibres);
}
.lobby__view { position: relative; height: 46vh; height: 46svh; overflow: hidden; background: #f6d9e8 var(--fibres); border-bottom: 2px solid var(--plum); }
.closeup {
  position: absolute; height: 42svh; aspect-ratio: 1006 / 1400; top: 3svh;
  left: calc(50% - 42svh * .7186 * .41);
  transform-origin: 41% 22%;
  transform: translateY(calc((1 - var(--scene, 0)) * 11svh)) scale(calc(4.2 - 3.2 * var(--scene, 0)));
  will-change: transform;
}
.plate { position: absolute; inset: 0; width: 100%; height: 100%; }
.plate--plum {
  filter: grayscale(1) contrast(1.35) sepia(1) hue-rotate(275deg) saturate(4) brightness(.78);
  transform: translate(calc(var(--reg-x, 0px) * -1 - (1 - var(--scene, 0)) * 2.5px), calc(var(--reg-y, 0px) * -1 - (1 - var(--scene, 0)) * 1.5px));
}
.plate--gold {
  filter: grayscale(1) contrast(1.6) brightness(1.5) sepia(1) saturate(4) hue-rotate(-6deg);
  mix-blend-mode: multiply; opacity: .45;
  transform: translate(calc(var(--reg-x, 0px) + (1 - var(--scene, 0)) * 2.5px), calc(var(--reg-y, 0px) + (1 - var(--scene, 0)) * 1.5px));
}
.plate--full { mix-blend-mode: luminosity; opacity: .22; }
html.js:not(.rm) .plate--gold { animation: plate-slip 9s ease-in-out infinite alternate; }
@keyframes plate-slip { from { translate: -1.5px .5px; } to { translate: 1.5px -1px; } }
.plinth { display: none; }
.lobby__cue {
  position: absolute; right: 12px; bottom: 12px; margin: 0; padding: 4px 12px 6px;
  background: var(--paper); border-radius: var(--r-sm); box-shadow: 2px 2px 0 var(--pink);
  font: 600 19px/1 var(--f-s); color: var(--gold-deep);
}
.lobby__cue::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--plum); vertical-align: middle; }

.wall-label {
  position: relative; background: var(--paper) var(--fibres);
  border: 2px solid var(--plum); border-radius: var(--r-sm);
  box-shadow: 3px 3px 0 -1px var(--paper), 3px 3px 0 1px var(--pink);
}
.wall-label--hero { margin: -40px 16px 0; padding: 20px 20px 22px; z-index: 3; }
.wall-label--hero h1 { margin: 10px 0 14px; }
.h1__a { display: block; font-size: 38px; line-height: .98; text-shadow: 2px 2px 0 rgba(224,65,143,.75); }
.h1__b {
  display: inline-block; margin-top: 8px; font: 600 32px/1.02 var(--f-s); color: var(--gold-deep);
  transform: rotate(-2deg); padding-bottom: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 10' preserveAspectRatio='none'%3E%3Cpath d='M2 7 Q80 1 150 5 T298 4' fill='none' stroke='%23e0418f' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 0 100% / 100% 8px;
}
.wall-label__facts { display: none; margin: 0 0 18px; padding-top: 12px; border-top: 1px solid rgba(122,26,94,.35); font-size: 14px; color: var(--ink-soft); }
.wall-label__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.wall-label__acts .btn { flex: 1 1 100%; }
.walk { font: 700 13px/1 var(--f-b); letter-spacing: .14em; text-transform: uppercase; color: var(--plum); }

/* the admission ticket (CA box) */
.ticket {
  position: relative; margin: 24px 16px 0; padding: 18px 18px 16px 30px;
  background: #fff2f8 var(--fibres); border-radius: var(--r-sm);
  border: 2px solid var(--plum); box-shadow: 4px 4px 0 var(--pink);
}
.ticket::before { content: ""; position: absolute; left: 14px; top: 10px; bottom: 10px; border-left: 2px dashed rgba(122,26,94,.5); }
.ticket__notch { position: absolute; left: -2px; top: 50%; width: 14px; height: 24px; margin-top: -12px; border-radius: 0 12px 12px 0; background: var(--paper); border: 2px solid var(--plum); border-left: 0; }
.ticket__label { margin-bottom: 8px; }
#ca-copy {
  display: block; width: 100%; text-align: left; cursor: pointer; padding: 10px 12px;
  background: var(--paper2); border: 1.5px solid var(--plum); border-radius: var(--r-sm);
  color: var(--ink); transition: background .25s, transform .25s;
}
#ca-copy:hover { background: #ecc6da; transform: translateY(-1px); }
#ca-text { display: block; font: 600 13px/1.45 var(--f-b); font-variant-numeric: tabular-nums; word-break: break-all; color: var(--ink); }
.ca__tap { display: block; margin-top: 6px; font: 700 11px/1 var(--f-b); letter-spacing: .2em; text-transform: uppercase; color: var(--plum); }
html.ca-copied .ca__tap { font-size: 0; }
html.ca-copied .ca__tap::after { content: "Ticket punched."; font-size: 11px; }
.ticket__stub { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 2px dashed rgba(122,26,94,.4); }
.ticket__stub:empty, .ticket__stub:not(:has(.chip:not([hidden]))) { display: none; }
/* the punch: two jaws bite, a marshmallow-shaped hole stays */
.ticket__jaw { position: absolute; right: 22px; width: 34px; height: 14px; background: var(--plum); border-radius: 4px; opacity: 0; pointer-events: none; }
.ticket__jaw--a { top: -16px; }
.ticket__jaw--b { top: 22px; }
.ticket__hole { position: absolute; right: 28px; top: 4px; width: 22px; height: 14px; border-radius: 7px; background: var(--night); box-shadow: inset 2px 2px 0 rgba(0,0,0,.35); transform: scale(0); pointer-events: none; }
.ticket.is-punched .ticket__hole, html.ca-copied .ticket__hole { transform: scale(1); transition: transform .2s .14s cubic-bezier(.3,1.6,.5,1); }
html.js:not(.rm).ca-copied .ticket__jaw { animation: punch-bite .5s cubic-bezier(.6,0,.3,1) both; }
html.js:not(.rm).ca-copied .ticket__jaw--b { animation-name: punch-bite-up; }
@keyframes punch-bite { 0% { opacity: 0; transform: translateY(-14px); } 25% { opacity: 1; } 45% { transform: translateY(14px); } 100% { opacity: 0; transform: translateY(-10px); } }
@keyframes punch-bite-up { 0% { opacity: 0; transform: translateY(14px); } 25% { opacity: 1; } 45% { transform: translateY(-14px); } 100% { opacity: 0; transform: translateY(10px); } }
.chad {
  position: fixed; z-index: 80; width: 22px; height: 14px; border-radius: 7px; pointer-events: none;
  background: linear-gradient(180deg, var(--pink) 0 40%, #fff2f8 40%); box-shadow: 1.5px 1px 0 var(--plum);
  transform: translate(-50%, -50%);
}
.reserve-note {
  position: fixed; left: 50%; bottom: 16px; z-index: 70; pointer-events: none;
  padding: 8px 18px 10px; background: var(--paper); border: 2px solid var(--plum); border-radius: 999px;
  box-shadow: 3px 3px 0 var(--pink); font: 600 22px/1 var(--f-s); color: var(--gold-deep);
  transform: translate(-50%, 140%); transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.reserve-note.is-on { transform: translate(-50%, 0); }

/* the opening: one gold dot grows into the page, two inks out of register */
.lobby__dot, .lobby__ring { display: none; }
html.js:not(.rm) .lobby__dot {
  display: block; position: absolute; z-index: 60; left: 50%; top: 50vh; width: 22px; height: 22px; margin: -11px 0 0 -11px;
  border-radius: 50%; background: var(--pink); box-shadow: 2px 1px 0 var(--plum); pointer-events: none;
  animation: dot-out .5s .7s ease-in both;
}
html.js:not(.rm) .lobby__ring {
  display: block; position: absolute; z-index: 0; inset: 0 0 auto; height: 100vh; background: var(--plum); pointer-events: none;
  animation: dot-bloom 1s cubic-bezier(.7,0,.2,1) .25s both, ring-off .3s 1.4s linear both;
}
html.js:not(.rm) .lobby__stage { animation: dot-bloom 1s cubic-bezier(.7,0,.2,1) .4s both; }
html.js:not(.rm) .wall-label--hero { animation: label-unfold .7s cubic-bezier(.2,.8,.2,1) 1.05s both; transform-origin: 50% 0; }
html.js:not(.rm) .guide { animation: guide-in .6s cubic-bezier(.2,.8,.2,1) 1.2s both; }
@keyframes dot-bloom { from { clip-path: circle(11px at 50% 50vh); } to { clip-path: circle(150% at 50% 50vh); } }
@keyframes dot-out { to { opacity: 0; transform: scale(.4); } }
@keyframes ring-off { to { opacity: 0; } }
@keyframes label-unfold { from { opacity: 0; transform: scaleY(.2); } to { opacity: 1; transform: none; } }
@keyframes guide-in { from { transform: translateY(-100%); } to { transform: none; } }

/* ---------- rooms ---------- */
.room { position: relative; padding: 72px 16px; border-top: 2px solid var(--plum); }
.room::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; border-top: 1px solid var(--pink); }
.room__head { display: flex; align-items: flex-end; gap: 14px; margin-bottom: 36px; }
.room__head::after { content: ""; flex: 1; height: 0; margin-bottom: 6px; border-bottom: 1.5px dashed rgba(122,26,94,.45); }
.room__no { font: 700 96px/.8 var(--f-d); color: var(--gold-deep); text-shadow: 3px 3px 0 rgba(224,65,143,.35); }
.room h2 { font-size: 40px; text-shadow: 2px 2px 0 rgba(224,65,143,.7); }
.room h2 em { display: block; margin-top: 10px; font: 600 32px/1.05 var(--f-s); color: var(--gold-deep); text-shadow: none; }

/* frames hung on wires */
.frame { margin: 0; position: relative; padding: 14px; background: var(--paper2) var(--fibres); border: 2px solid var(--plum); box-shadow: 4px 4px 0 var(--pink); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.frame:hover { transform: translateY(-3px); box-shadow: 6px 7px 0 var(--pink), 7px 8px 0 1px var(--plum); }
.frame img { width: 100%; border: 1px solid rgba(122,26,94,.5); }
.frame__wires { position: absolute; left: 22%; right: 22%; top: -40px; height: 40px; pointer-events: none;
  background: linear-gradient(to top right, transparent calc(50% - 1px), var(--plum) 50%, transparent calc(50% + 1px)) left / 50% 100% no-repeat,
              linear-gradient(to top left, transparent calc(50% - 1px), var(--plum) 50%, transparent calc(50% + 1px)) right / 50% 100% no-repeat; }
.plaque { margin-top: 12px; padding: 8px 12px; background: var(--paper); border: 1px solid rgba(122,26,94,.4); font-size: 14px; color: var(--ink-soft); }
.log { display: grid; gap: 48px; margin-top: 56px; }
.log__text .caps { margin-bottom: 14px; }
.rail { height: 2px; background: var(--plum); margin: 56px -16px 32px; box-shadow: 0 3px 0 -1px var(--pink); }
.labels { display: grid; gap: 20px; counter-reset: acc; }
.card { position: relative; padding: 20px 20px 18px; background: #fff2f8 var(--fibres); border: 1.5px solid var(--plum); border-radius: var(--r-sm); counter-increment: acc; transition: transform .3s; }
.card:hover { transform: translateY(-3px) rotate(-.6deg); }
.card::after { content: "MM.001." counter(acc, upper-roman); position: absolute; right: 16px; top: 22px; font: 700 11px/1 var(--f-b); letter-spacing: .16em; color: var(--ink-soft); }
.card__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--plum); color: var(--paper); font: 700 17px/1 var(--f-d); box-shadow: 2px 2px 0 var(--pink); }
.card h3 { margin: 14px 0 8px; font-size: 26px; }
.card p { margin: 0; font-size: 16px; color: var(--ink-soft); }

/* room 2: the vitrine */
.reserve { display: grid; gap: 40px; }
.wall-label--side { padding: 22px; }
.wall-label__lede { margin: 12px 0 16px; font: 600 24px/1.2 var(--f-d); color: var(--plum); }
.vitrine { position: relative; height: 520px; border: 2px solid var(--plum); border-bottom: 0; border-radius: var(--r) var(--r) 0 0; background: linear-gradient(100deg, rgba(255,255,255,.55), rgba(255,255,255,.1) 30%, rgba(255,255,255,.35) 34%, rgba(255,255,255,.05) 60%), #efe7f0; margin-bottom: 64px; }
.vitrine__glass { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; border-radius: var(--r) var(--r) 0 0; }
.vitrine__glass:active { cursor: grabbing; }
.vitrine__still { display: none; position: absolute; left: 50%; bottom: 0; height: 92%; width: auto; transform: translateX(-50%); mix-blend-mode: multiply; }
html.rm .vitrine__still, html:not(.js) .vitrine__still { display: block; }
html.rm .vitrine__glass, html:not(.js) .vitrine__glass { display: none; }
.vitrine__base { position: absolute; left: -10px; right: -10px; bottom: -58px; height: 58px; display: grid; place-items: center; background: var(--night) var(--starve); color: var(--on-night); font: 700 12px/1.3 var(--f-b); letter-spacing: .2em; text-transform: uppercase; text-align: center; padding: 0 12px; border-radius: 0 0 var(--r-sm) var(--r-sm); box-shadow: 4px 4px 0 var(--pink); }
.vitrine__corner { position: absolute; z-index: 2; width: 22px; height: 22px; border: 3px solid var(--pink); pointer-events: none; }
.vitrine__corner--tl { left: 6px; top: 6px; border-right: 0; border-bottom: 0; }
.vitrine__corner--tr { right: 6px; top: 6px; border-left: 0; border-bottom: 0; }

/* room 3: the gift-shop scratch card */
.shop { display: grid; gap: 40px; align-items: center; }
.shop__text .caps { margin-bottom: 14px; }
.shop__text .note { margin: 20px 0 10px; }
.shop__count { margin: 0 0 18px; font-weight: 600; color: var(--ink-soft); }
.shop__count b { font: 700 28px/1 var(--f-d); color: var(--plum); margin-left: 4px; }
.fuel-card { width: 100%; max-width: 440px; margin: 0 auto; padding: 16px 16px 14px 28px; position: relative; background: #fff2f8 var(--fibres); border: 2px solid var(--plum); border-radius: var(--r); box-shadow: 5px 5px 0 var(--pink); }
.fuel-card::before { content: ""; position: absolute; left: 12px; top: 12px; bottom: 12px; border-left: 2px dashed rgba(122,26,94,.45); }
.fuel-card__top { margin-bottom: 12px; }
.fuel-card__face { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-sm); border: 1.5px solid var(--plum); }
.fuel-card__face img { width: 100%; height: 100%; object-fit: cover; }
.fuel-card__win { position: absolute; left: 8%; right: 8%; bottom: 8%; margin: 0; padding: 8px 10px; text-align: center; background: var(--paper); border: 2px solid var(--plum); border-radius: var(--r-sm); font: 700 26px/1 var(--f-d); color: var(--plum); transform: rotate(-3deg); box-shadow: 3px 3px 0 var(--pink); }
.fuel-card__coat { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; transition: opacity .9s ease; }
.fuel-card.is-toasted .fuel-card__coat { opacity: 0; pointer-events: none; }
html.js:not(.rm) .fuel-card.is-toasted .fuel-card__win { animation: toast-mark .5s cubic-bezier(.3,1.5,.5,1) .3s both; }
@keyframes toast-mark { from { opacity: 0; transform: rotate(-12deg) scale(1.6); } to { opacity: 1; transform: rotate(-3deg); } }
html.rm .fuel-card__coat, html:not(.js) .fuel-card__coat { display: none; }
.fuel-card__foot { margin: 10px 0 0; font: 600 18px/1.1 var(--f-s); color: var(--gold-deep); }

/* room 4: salon hang */
.salon { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 64px 40px; counter-reset: print; padding-top: 32px; }
.salon figure { position: relative; margin: 0; width: calc(100% - 24px); max-width: 360px; padding: 12px; background: var(--paper2) var(--fibres); border: 2px solid var(--plum); box-shadow: 4px 4px 0 var(--pink); counter-increment: print; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.salon figure::before { content: ""; position: absolute; left: 50%; top: -32px; height: 32px; border-left: 1.5px solid var(--plum); }
.salon figure:hover { transform: translateY(-4px) rotate(.8deg); box-shadow: 6px 7px 0 var(--pink), 7px 8px 0 1px var(--plum); }
.salon img { width: 100%; border-radius: 50%; }
.salon figcaption { margin-top: 12px; padding: 10px 12px; background: var(--paper); border: 1px solid rgba(122,26,94,.4); font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
.salon figcaption::before { content: "MM.P.0" counter(print) " · "; font-weight: 700; letter-spacing: .12em; color: var(--plum); }
.salon figure:nth-child(even) { margin-left: 24px; }
.salon figure:nth-child(odd) { margin-right: 24px; }

/* room 5: the mural and the exit */
.room--exit { padding-bottom: 0; }
.mural { position: relative; margin: 0 -16px; overflow: hidden; background: var(--plum); }
.mural picture { display: block; position: relative; }
.mural img { width: 100%; height: 360px; object-fit: cover; filter: grayscale(1) contrast(1.15); mix-blend-mode: multiply; opacity: .85; }
.mural picture::after { content: ""; position: absolute; inset: 0; background: var(--pink); mix-blend-mode: screen; opacity: .45; pointer-events: none; }
.exit { position: relative; z-index: 2; margin: -80px 16px 48px; padding: 28px 22px; background: var(--paper) var(--fibres); border: 2px solid var(--plum); border-radius: var(--r-sm); box-shadow: 5px 5px 0 var(--pink); }
.exit .caps { margin-bottom: 12px; }
.steps { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; padding: 14px 16px; background: #fff2f8; border: 1.5px dashed var(--plum); border-radius: var(--r-sm); }
.steps b { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--plum); color: var(--on-night); font: 700 15px/1 var(--f-d); box-shadow: 2px 2px 0 var(--pink); }
.steps span { padding-top: 8px; }
.exit .btn--big { width: 100%; }

/* footer: the closing-time plaque */
.plaque-foot { position: relative; padding: 72px 20px 48px; text-align: center; background: var(--night) var(--starve); color: var(--on-night); }
.plaque-foot p { margin: 0 auto 16px; max-width: 640px; }
.plaque-foot__word { position: relative; font: 700 64px/.9 var(--f-d); color: var(--on-night); }
.plaque-foot__word::before { content: attr(data-word); position: absolute; inset: 0; color: var(--pink); transform: translate(4px, 3px); mix-blend-mode: screen; opacity: .55; z-index: 0; }
.plaque-foot__line { font: 600 20px/1.3 var(--f-d); }
.plaque-foot__tag { font: 600 30px/1 var(--f-s); color: #f7b3d6; }
.plaque-foot__legal { font-size: 13px; line-height: 1.6; color: var(--on-night-soft); }
.plaque-foot a:not(.chip) { color: var(--on-night); font-weight: 600; }
.plaque-foot .chip { background: var(--paper); }

/* 404: a room not on the floor plan */
.lost__room { min-height: 100vh; max-width: 760px; margin: 0 auto; border-top: 0; }
.lost__label { padding: 28px 24px; margin-bottom: 28px; }
.lost__logo { display: block; width: 72px; height: 72px; margin-bottom: 18px; }
.lost__label h1 { margin-bottom: 22px; }

/* arrivals: hung on the wall, swinging to rest */
html.js:not(.rm) [data-reveal]:not(.seen) { opacity: 0; }
html.js:not(.rm) [data-reveal].seen { animation: hang-swing 1.1s cubic-bezier(.2,.7,.2,1) both; transform-origin: 50% 0; }
html.js:not(.rm) .labels.seen, html.js:not(.rm) .salon.seen { animation-name: label-slide; }
@keyframes hang-swing { 0% { opacity: 0; transform: translateY(-24px) rotate(3deg); } 55% { opacity: 1; transform: translateY(0) rotate(-1.5deg); } 80% { transform: rotate(.6deg); } 100% { opacity: 1; transform: none; } }
@keyframes label-slide { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

html.rm *, html.rm *::before, html.rm *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .lobby__dot, html.js .lobby__ring { display: none; }
  html.js [data-reveal]:not(.seen) { opacity: 1; }
}

/* ---------- phone: no pin, the close-up stays a close-up ---------- */
@media (max-width: 1099px) {
  .lobby__stage { position: relative; }
  .closeup { transform: translateY(11svh) scale(4.2); }
  .plate--plum { transform: translate(calc(var(--reg-x, 0px) * -1 - 2.5px), calc(var(--reg-y, 0px) * -1 - 1.5px)); }
  .plate--gold { transform: translate(2.5px, 1.5px); }
}

/* ---------- desktop ---------- */
@media (min-width: 700px) {
  .guide__name { display: flex; }
  .room { padding: 96px 48px; }
  .labels { grid-template-columns: repeat(3, 1fr); }
  .rail { margin-left: -48px; margin-right: -48px; }
  .mural { margin: 0 -48px; }
  .mural img { height: 520px; }
  .exit { max-width: 620px; margin: -220px auto 72px; padding: 40px; }
  .salon figure:nth-child(1) { max-width: 380px; }
  .salon figure:nth-child(2) { max-width: 300px; margin-top: 90px; }
  .salon figure:nth-child(3) { max-width: 420px; margin-top: 30px; }
  .salon figure:nth-child(4) { max-width: 300px; margin-top: 10px; }
  .salon figure:nth-child(5) { max-width: 340px; margin-top: 70px; }
  .plaque-foot__word { font-size: 120px; }
}
@media (min-width: 1100px) {
  .guide { height: 64px; padding: 0 28px; gap: 24px; }
  #burger { display: none; }
  #nav { position: static; display: flex; flex-direction: row; align-items: center; gap: 18px; padding: 0; background: none; border: 0; box-shadow: none; max-height: none; overflow: visible; }
  #nav a:not(.chip) { font: 600 15px/1 var(--f-b); padding: 6px 0; gap: 8px; }
  #nav i { width: 22px; height: 22px; font-size: 11px; }
  #nav .chip, #motion { margin-top: 0; align-self: center; }
  .guide__buy { min-height: 44px; padding: 0 20px; font-size: 14px; }

  html.js:not(.rm) .lobby { height: 260vh; }
  .lobby__stage { height: 100vh; padding: 0; }
  .lobby__view { position: absolute; inset: 64px 0 0; height: auto; border: 0; background: #f6d9e8 var(--fibres); }
  .closeup { height: 74vh; top: 4vh; left: calc(64% - 74vh * .7186 * .41); transform: translateY(calc((1 - var(--scene, 0)) * 22vh)) scale(calc(4.2 - 3.2 * var(--scene, 0))); }
  .plinth {
    display: grid; place-items: center; position: absolute; top: calc(4vh + 74vh - 2px); height: 22vh;
    left: calc(64% - 74vh * .7186 * .41 - 4vh); width: calc(74vh * .7186 + 8vh);
    background: var(--paper2) var(--fibres); border: 2px solid var(--plum); border-bottom: 0; box-shadow: 4px 0 0 var(--pink);
    transform: translateY(calc((1 - var(--scene, 0)) * 110%)); opacity: calc(var(--scene, 0) * 1.4);
  }
  .plinth span { align-self: start; margin-top: 18px; font: 700 11px/1 var(--f-b); letter-spacing: .2em; text-transform: uppercase; color: var(--plum); }
  .lobby__cue { right: 32px; bottom: 28px; font-size: 22px; }
  .wall-label--hero { position: absolute; z-index: 3; left: 72px; top: calc(50% + 32px); width: 520px; margin: 0; padding: 30px 34px 32px; transform: translateY(-50%); }
  html.js:not(.rm) .wall-label--hero { animation-name: label-unfold-d; }
  @keyframes label-unfold-d { from { opacity: 0; transform: translateY(-50%) scaleY(.2); } to { opacity: 1; transform: translateY(-50%); } }
  .h1__a { font-size: 58px; }
  .h1__b { font-size: 46px; }
  .wall-label__facts { display: block; }
  .wall-label__acts .btn { flex: 0 0 auto; }
  .ticket { position: absolute; z-index: 3; right: 40px; bottom: 36px; width: 380px; margin: 0; }
  .lobby__cue { bottom: auto; top: 28px; }

  .room { padding: 88px 72px 104px; }
  .room__head { margin-bottom: 20px; }
  .rail { margin-left: -72px; margin-right: -72px; }
  .mural { margin: 0 -72px; }
  .mural img { height: 640px; }
  .room h2 { font-size: 64px; }
  .room h2 em { font-size: 46px; }
  .room__no { font-size: 160px; }
  .log { grid-template-columns: 1.25fr 1fr; align-items: center; gap: 72px; }
  .reserve { grid-template-columns: 300px 1fr; align-items: end; gap: 56px; }
  .vitrine { height: 620px; max-width: 980px; }
  .shop { grid-template-columns: 1fr 440px; gap: 96px; max-width: 1100px; margin: 0 auto; }
}
