/* ==========================================================================
   ARTEFACT — THE ALBUM  (design system v4 · 2026-09-26)
   Every exhibit is a stamp: the real screenshot inside a perforated paper
   frame, filed on a black stockbook page behind a glassine strip.
   Contract: DESIGN.md at the repo root.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Martian Mono";
  src: url("../fonts/martian-400.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

@view-transition { navigation: auto; }

:root {
  color-scheme: dark;

  --book: #0C0D10;
  --book-2: #14161B;
  --book-3: #1D2027;
  --deep: #050608;
  --paper: #F3F3EF;
  --paper-2: #E4E4DE;
  --dim: #A7AAB2;
  --hair: rgba(243, 243, 239, .12);
  --hair-2: rgba(243, 243, 239, .22);
  --cancel: #221D3A;
  --type: #16161A;

  /* definitive inks: frame/number on paper · -txt = small text on black */
  --w1: #3552E6;  --w1-txt: #8095FF;
  --w2: #E3432C;  --w2-txt: #F2694F;
  --w3: #119466;  --w3-txt: #2FC48C;
  --w4: #C93A80;  --w4-txt: #F070AE;
  --w5: #0B7F8E;  --w5-txt: #3CC7D8;
  --wf: #F4B400;  --wf-txt: #F4B400;  --wf-deep: #A87A00;
  --ws: #7B58E6;  --ws-txt: #B09BFF;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --text: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --perf-r: 5px;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--book);
  background-image: linear-gradient(180deg, var(--book-2) 0, var(--book) 70vh, var(--book) 100%);
  color: var(--paper);
  font: 400 1.0625rem/1.6 var(--text);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before { /* paper grain over the whole book */
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--noise);
  opacity: .045;
  pointer-events: none;
  z-index: 100;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--wf); color: var(--type); }
:focus-visible { outline: 2px solid var(--wf); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--wf); color: var(--type); padding: 12px 16px; font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* ---------- type ---------------------------------------------------------- */
.display {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 850;
  letter-spacing: -0.02em;
  line-height: .98;
  text-wrap: balance;
  margin: 0;
}
.mono { font-family: var(--mono); font-weight: 500; letter-spacing: .02em; }
.kicker {
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0;
}
.lede { font-size: clamp(1.0625rem, 1.3vw, 1.25rem); line-height: 1.55; color: var(--paper); max-width: 58ch; }
p { max-width: 68ch; text-wrap: pretty; }

/* ---------- wordmark ----------------------------------------------------- */
.wordmark {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 900;
  letter-spacing: .02em;
  text-decoration: none;
  color: var(--paper);
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
}
.wordmark .reg { color: var(--wf); }

/* ---------- header ------------------------------------------------------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--book-2) 92%, transparent);
  border-bottom: 1px solid var(--hair);
}
.masthead__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
}
.masthead .wordmark { font-size: 1.3rem; min-height: 44px; align-items: center; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 14px;
  font-size: .95rem; font-weight: 600; text-decoration: none; color: var(--dim);
  transition: color .2s var(--ease-out);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--paper); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--wf); }
.nav .lock { width: 12px; height: 14px; }
.menu { display: none; position: relative; }
.menu > summary {
  list-style: none; cursor: pointer;
  min-height: 44px; min-width: 44px; padding: 0 14px;
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--hair-2); font-weight: 600; font-size: .95rem;
}
.menu > summary::-webkit-details-marker { display: none; }
.menu__panel {
  position: absolute; right: 0; top: calc(100% + 10px);
  width: min(280px, calc(100vw - 32px));
  background: var(--book-2); border: 1px solid var(--hair-2);
  box-shadow: 0 24px 48px -16px rgb(0 0 0 / .7);
  display: grid; padding: 8px;
}
.menu__panel a {
  min-height: 48px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 12px; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--hair);
}
.menu__panel a:last-child { border-bottom: 0; }
@media (max-width: 860px) {
  .nav { display: none; }
  .menu { display: block; }
}

/* ---------- the stamp ---------------------------------------------------- */
/* Perforated paper: circles of radius r bitten out of every edge at a 3r pitch.
   `round` makes the holes fit the edge exactly at any size. */
.perf {
  --r: var(--perf-r);
  --pc: var(--paper);
  padding: calc(2 * var(--r));
  background:
    radial-gradient(var(--r), #0000 97%, var(--pc)) round
      calc(-1.5 * var(--r)) calc(-1.5 * var(--r)) / calc(3 * var(--r)) calc(3 * var(--r)),
    linear-gradient(var(--pc) 0 0) no-repeat 50% / calc(100% - 3 * var(--r)) calc(100% - 3 * var(--r));
}

.stamp {
  --ink: var(--w1);
  --lift: 0px;
  --tilt: 0deg;
  position: relative;
  z-index: 1;
  display: block;
  color: var(--type);
  text-decoration: none;
  filter: drop-shadow(0 1px 0 rgb(0 0 0 / .35)) drop-shadow(0 10px 14px rgb(0 0 0 / .45));
  transform: translateY(var(--lift)) rotate(var(--tilt));
  transition: transform .45s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.stamp .perf { display: block; }
.stamp__face {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border: 2px solid var(--ink);
  background: var(--paper);
}
.stamp__img {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--book-3);
  border-bottom: 2px solid var(--ink);
}
.stamp__img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.stamp__label {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 9px 7px;
  min-height: 52px;
}
.stamp__title {
  font-family: var(--text);
  font-weight: 700;
  font-stretch: 100%;
  font-size: .9rem;
  line-height: 1.18;
  letter-spacing: -0.005em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.stamp__label > span:first-child { min-width: 0; }
.stamp__auth {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 3px;
  font-family: var(--mono);
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
}
.stamp__no {
  flex: none;
  font-family: var(--mono);
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.stamp--film .stamp__no { color: var(--type); font-size: 1.05rem; letter-spacing: 0; }

/* the postmark — struck once when the visitor has opened this stamp */
.stamp__cancel {
  position: absolute;
  top: -14%;
  right: -12%;
  width: 58%;
  aspect-ratio: 1;
  color: var(--cancel);
  opacity: 0;
  transform: rotate(-14deg) scale(1.12);
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: multiply;
}
.stamp.is-seen .stamp__cancel {
  opacity: .8;
  transform: rotate(-14deg) scale(1);
  transition: opacity .26s var(--ease-out), transform .26s var(--ease-out);
}

/* ---------- stockbook page: slots + glassine strips ------------------------ */
.book {
  position: relative;
  background:
    linear-gradient(180deg, rgb(255 255 255 / .018), rgb(255 255 255 / 0) 30%),
    var(--book);
  border-top: 1px solid var(--hair);
}

.tab {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 8px 22px;
  padding: clamp(56px, 8vw, 104px) 0 clamp(24px, 3vw, 36px);
}
.tab__numeral {
  grid-row: span 2;
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(3.4rem, 8vw, 6rem);
  line-height: .8;
  color: var(--wing-ink, var(--paper));
}
.tab__name { font-size: clamp(1.6rem, 3.4vw, 2.6rem); }
.tab__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; color: var(--dim); }
.tab__meta p { margin: 0; }
.tab__lock { color: var(--dim); font-size: .9rem; min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 4px; }
.tab__lock:hover { color: var(--paper); }
.tab__count { font-family: var(--mono); font-size: .8rem; letter-spacing: .08em; color: var(--wing-txt, var(--dim)); }

.slots {
  --gap: clamp(14px, 2vw, 28px);
  display: grid;
  grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr));
  gap: calc(var(--gap) * 1.6) var(--gap);
  padding-bottom: clamp(40px, 6vw, 72px);
  list-style: none;
  margin: 0;
  padding-left: 0;
}
@media (max-width: 1200px) { .slots { --cols: 4; } }
@media (max-width: 920px)  { .slots { --cols: 3; } }
@media (max-width: 620px)  { .slots { --cols: 2; } }

.slot { position: relative; padding-bottom: 14px; }
.slot::after { /* glassine strip — continuous across the row */
  content: "";
  position: absolute;
  left: calc(var(--gap) / -2);
  right: calc(var(--gap) / -2);
  bottom: 0;
  height: 44%;
  z-index: 2;
  background: linear-gradient(180deg, rgb(255 255 255 / .085), rgb(255 255 255 / .045) 22%, rgb(255 255 255 / .05));
  border-top: 1px solid rgb(255 255 255 / .16);
  box-shadow: 0 -1px 0 rgb(0 0 0 / .4);
  pointer-events: none;
}
.slot:hover .stamp, .stamp:focus-visible {
  --lift: -16px;
  --tilt: -1.2deg;
  z-index: 3;
}
.slot:nth-child(even):hover .stamp, .slot:nth-child(even) .stamp:focus-visible { --tilt: 1.1deg; }
.stamp:focus-visible { outline: none; }
.stamp:focus-visible .stamp__face { outline: 3px solid var(--wf); outline-offset: 10px; }

@media (max-width: 620px) {
  .stamp { --perf-r: 4px; }
  .stamp__label { min-height: 46px; padding: 7px 7px 6px; gap: 6px; }
  .stamp__title { font-size: .8125rem; }
  .stamp__no { font-size: 1.05rem; }
  .stamp__auth { display: none; }
  .stamp--film .stamp__label { flex-direction: column; align-items: flex-start; gap: 3px; }
  .stamp--film .stamp__no { font-size: .9rem; }
  .play { width: 34px; height: 34px; inset: auto auto 7px 7px; }
  .play svg { width: 12px; height: 12px; }
}

/* ---------- buttons ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px;
  font: 700 1rem/1 var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: transform .35s var(--ease-out), background-color .2s, color .2s;
}
.btn--stamp {
  --r: 3.5px;
  --pc: var(--wf);
  color: var(--type);
  padding: 0 calc(22px + 2 * var(--r));
  filter: drop-shadow(0 8px 12px rgb(0 0 0 / .45));
}
.btn--stamp:hover { transform: translateY(-3px) rotate(-.8deg); }
.btn--line { border: 1px solid var(--hair-2); color: var(--paper); background: transparent; }
.btn--line:hover { background: var(--book-3); border-color: var(--paper); }
.btn svg { width: 18px; height: 18px; flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .btn--pulse { animation: breathe 3.6s var(--ease-in-out) infinite; }
  @keyframes breathe {
    0%, 100% { filter: drop-shadow(0 8px 12px rgb(0 0 0 / .45)) drop-shadow(0 0 0 rgb(244 180 0 / 0)); }
    50%      { filter: drop-shadow(0 8px 12px rgb(0 0 0 / .45)) drop-shadow(0 0 14px rgb(244 180 0 / .38)); }
  }
}

/* ---------- hero: a cluster of stamps floating in depth ------------------- */
.hero {
  position: relative;
  overflow: clip;
  min-height: min(calc(100svh - 64px), 980px);
  display: grid;
  align-items: center;
  padding: clamp(28px, 5vw, 64px) 0 clamp(72px, 8vw, 112px);
  isolation: isolate;
}
.hero::before { /* a pool of light on the page, where the collector works */
  content: "";
  position: absolute; inset: -10% -10% 0 30%;
  background: radial-gradient(60% 55% at 60% 42%, rgb(243 243 239 / .07), transparent 70%);
  z-index: -1;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.hero__copy { position: relative; z-index: 2; }
.hero__copy .kicker { margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.hero__copy .kicker::before { content: ""; width: 28px; height: 2px; background: var(--wf); }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 5.6rem); }
.hero h1 .em { color: var(--wf); }
.hero .lede { margin: 26px 0 34px; color: var(--dim); }
.hero .lede strong { color: var(--paper); font-weight: 600; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.cluster {
  --px: 0;
  --py: 0;
  --sy: 0;
  position: relative;
  aspect-ratio: 1 / .86;
  perspective: 1400px;
}
.cluster__layer {
  position: absolute;
  inset: 0;
  transform:
    translate3d(calc(var(--px) * var(--d) * 26px), calc(var(--py) * var(--d) * 20px + var(--sy) * var(--d) * -90px), 0);
  will-change: transform;
}
.cluster .stamp {
  position: absolute;
  width: var(--w);
  left: var(--x);
  top: var(--y);
  transform: rotate(var(--rot));
  pointer-events: auto;
}
.cluster .stamp:hover { transform: rotate(var(--rot)) translateY(-8px); }
.cluster .stamp__label { min-height: 0; }
.cluster .stamp__auth { display: none; }
.cluster__layer--front .stamp__auth { display: block; }
.cluster__layer--back .stamp { filter: drop-shadow(0 12px 18px rgb(0 0 0 / .55)) brightness(.8); }
.cluster__layer--front .stamp { filter: drop-shadow(0 2px 0 rgb(0 0 0 / .4)) drop-shadow(0 30px 40px rgb(0 0 0 / .6)); }
.cluster__mark {
  position: absolute;
  width: 34%;
  left: 52%;
  top: 13%;
  color: var(--wf);
  transform: rotate(12deg);
  z-index: 5;
  pointer-events: none;
}
.hero__new {
  position: absolute;
  left: 24%;
  bottom: -3%;
  z-index: 6;
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--book-2);
  border: 1px solid var(--hair-2);
  padding: 8px 12px;
}
.hero__new b { color: var(--wf); font-weight: 700; }

.gauge { /* perforation gauge: the collector's ruler as the hero's lower edge */
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 44px;
  border-top: 1px solid var(--hair);
  background:
    repeating-linear-gradient(90deg, var(--hair-2) 0 1px, transparent 1px 12px) 0 0 / 100% 10px no-repeat,
    repeating-linear-gradient(90deg, var(--hair-2) 0 1px, transparent 1px 60px) 0 0 / 100% 18px no-repeat;
}
.gauge__labels {
  display: flex; justify-content: space-between;
  padding-top: 20px;
  font-family: var(--mono); font-size: .6875rem; letter-spacing: .12em; color: var(--dim);
}

@media (max-width: 900px) {
  .hero { min-height: 0; padding-top: 18px; }
  .hero__grid { grid-template-columns: 1fr; }
  .cluster { order: -1; width: min(100%, 560px); margin: 0 auto; aspect-ratio: 1 / .9; }
  .cluster__layer--back { display: none; }
  .cluster .stamp { left: var(--mx, var(--x)); top: var(--my, var(--y)); width: var(--mw, var(--w)); }
  .cluster__mark { left: 56%; top: 20%; width: 34%; }
  .hero__new { position: relative; left: auto; bottom: auto; display: table; margin: calc(100% * .9 + 12px) auto 0; }
  .hero h1 { font-size: clamp(2.35rem, 10.5vw, 3.6rem); }
  .hero .lede { margin: 18px 0 26px; }
  .gauge__labels span:nth-child(n+3) { display: none; }
}
@media (max-width: 620px) {
  .hero__ctas .btn { flex: 1 1 auto; }
  .hero__new { font-size: .6875rem; }
}

/* ---------- films: the souvenir sheet ------------------------------------- */
.films { padding: clamp(64px, 9vw, 128px) 0; position: relative; }
.films__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; margin-bottom: clamp(28px, 4vw, 48px); }
.films__head h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
.films__head p { margin: 12px 0 0; color: var(--dim); }
.sheet {
  --r: 6px;
  --pc: var(--wf);
  position: relative;
  color: var(--type);
  filter: drop-shadow(0 2px 0 rgb(0 0 0 / .35)) drop-shadow(0 40px 60px rgb(0 0 0 / .55));
}
.sheet__inner {
  padding: clamp(18px, 3vw, 40px);
  display: grid;
  gap: clamp(14px, 2vw, 24px);
}
.sheet__top, .sheet__bottom {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap;
  font-family: var(--display); font-stretch: 125%; font-weight: 900; text-transform: uppercase;
}
.sheet__top { font-size: clamp(1.05rem, 2.2vw, 1.7rem); letter-spacing: .01em; }
.sheet__bottom { font-family: var(--mono); font-stretch: 100%; font-weight: 600; font-size: .7rem; letter-spacing: .14em; }
.sheet__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
  list-style: none; margin: 0; padding: 0;
}
.sheet .stamp { --ink: var(--type); filter: drop-shadow(0 1px 0 rgb(0 0 0 / .25)) drop-shadow(0 8px 10px rgb(80 50 0 / .35)); }
.sheet .stamp:hover, .sheet .stamp:focus-visible { --lift: -8px; --tilt: -1deg; }
.sheet .stamp__img { position: relative; }
.play {
  position: absolute; inset: auto auto 10px 10px;
  width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--wf); color: var(--type);
  border-radius: 50%;
  box-shadow: 0 6px 14px rgb(0 0 0 / .45);
  transition: transform .35s var(--ease-out);
}
.play svg { width: 16px; height: 16px; margin-left: 3px; }
.stamp:hover .play { transform: scale(1.08); }
@media (max-width: 760px) {
  .sheet__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sheet { --r: 5px; }
}

/* ---------- album chips (jump to a wing) ---------------------------------- */
.album-head { padding: clamp(64px, 9vw, 120px) 0 8px; }
.album-head h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
.album-head p { color: var(--dim); margin: 14px 0 0; }
.chips {
  position: sticky; top: 64px; z-index: 40;
  background: color-mix(in oklab, var(--book) 94%, transparent);
  border-block: 1px solid var(--hair);
  margin-top: 28px;
}
.chips ul { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; list-style: none; margin: 0; padding: 8px 0; }
.chips ul::-webkit-scrollbar { display: none; }
.chips a {
  flex: none; display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 14px;
  text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--dim);
  border: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.chips a:hover { color: var(--paper); border-color: var(--hair-2); }
.chips a.is-here { color: var(--paper); border-color: var(--hair-2); background: var(--book-2); }
.chips i { width: 10px; height: 10px; background: var(--c); flex: none; }

/* ---------- studio (locked) ----------------------------------------------- */
.studio-door { padding: clamp(72px, 10vw, 140px) 0; border-top: 1px solid var(--hair); background: linear-gradient(180deg, var(--book) 0, var(--deep) 100%); }
.studio-door__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.studio-door h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
.studio-door h2 .em { color: var(--ws-txt); }
.studio-door p { color: var(--dim); }
.studio-door ul { list-style: none; padding: 0; margin: 22px 0 32px; display: grid; gap: 8px; color: var(--dim); }
.studio-door li { display: flex; gap: 12px; align-items: baseline; }
.studio-door li::before { content: ""; width: 8px; height: 8px; background: var(--ws); flex: none; transform: translateY(-1px); }
.proofs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 20px); }
.proof {
  --r: 4px;
  --pc: var(--paper-2);
  position: relative;
  aspect-ratio: 4 / 5;
  filter: drop-shadow(0 10px 14px rgb(0 0 0 / .5));
}
.proof:nth-child(odd) { transform: rotate(-1.4deg) translateY(6px); }
.proof:nth-child(3n) { transform: rotate(1.2deg); }
.proof__face {
  height: 100%;
  border: 2px solid var(--ws);
  background:
    repeating-linear-gradient(135deg, rgb(123 88 230 / .10) 0 2px, transparent 2px 9px),
    var(--paper-2);
  display: grid; place-items: center;
  overflow: hidden;
  position: relative;
}
.proof__over {
  font-family: var(--display); font-stretch: 125%; font-weight: 900;
  font-size: clamp(.7rem, 1.2vw, .95rem); letter-spacing: .18em;
  color: var(--ws); transform: rotate(-32deg);
  border: 2px solid var(--ws); padding: 4px 8px;
}
.proof__no { position: absolute; left: 8px; bottom: 6px; font-family: var(--mono); font-size: .625rem; font-weight: 700; color: var(--ws); letter-spacing: .08em; }
@media (max-width: 900px) {
  .studio-door__grid { grid-template-columns: 1fr; }
  .proofs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 520px) { .proofs { grid-template-columns: repeat(3, minmax(0, 1fr)); } .proof:nth-child(n+7) { display: none; } }

/* ---------- ways in: hall + catalogue ------------------------------------- */
.ways { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--hair); }
.ways__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--hair); border: 1px solid var(--hair); }
.way { background: var(--book); padding: clamp(24px, 3vw, 40px); display: grid; gap: 14px; align-content: start; text-decoration: none; min-height: 240px; transition: background-color .25s var(--ease-out); }
.way:hover { background: var(--book-2); }
.way h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.way p { margin: 0; color: var(--dim); }
.way .go { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--wf); }
.way .go svg { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.way:hover .go svg { transform: translateX(5px); }
@media (max-width: 860px) { .ways__grid { grid-template-columns: 1fr; } .way { min-height: 0; } }

/* ---------- footer ------------------------------------------------------- */
.colophon { border-top: 1px solid var(--hair); padding: clamp(56px, 8vw, 96px) 0 40px; background: var(--deep); }
.colophon .wordmark { font-size: clamp(3rem, 12vw, 10rem); letter-spacing: -0.01em; }
.colophon__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; margin-top: 36px; color: var(--dim); font-size: .95rem; }
.colophon__row a { color: var(--paper); text-underline-offset: 4px; display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }
.colophon__row p { margin: 0; }

/* ---------- plinth (one exhibit) ------------------------------------------ */
.plinth { padding: clamp(28px, 5vw, 64px) 0 clamp(64px, 8vw, 112px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; color: var(--dim); margin-bottom: clamp(24px, 4vw, 48px); }
.crumbs a { color: var(--dim); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.crumbs a:hover { color: var(--paper); }
.plinth__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.plinth__stage { position: relative; perspective: 1600px; padding-bottom: 12%; }
.plinth__stage .stamp--hero { --perf-r: 7px; transform: rotate(-1.2deg); }
.plinth__stage .stamp--hero .stamp__label { min-height: 64px; padding: 10px 14px; }
.plinth__stage .stamp--hero .stamp__title { font-size: 1.05rem; }
.plinth__stage .stamp--hero .stamp__no { font-size: 1.9rem; }
.stamp--phone {
  position: absolute;
  right: -2%;
  bottom: 0;
  width: 28%;
  transform: rotate(3deg);
  z-index: 4;
}
.stamp--phone .stamp__img { aspect-ratio: 430 / 760; }
.plinth__copy .kicker { color: var(--wing-txt); }
.plinth__copy h1 { font-size: clamp(2.3rem, 4.8vw, 4.4rem); margin-top: 16px; }
.plinth__sub { font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--paper); margin: 18px 0 0; font-weight: 500; }
.plinth__story { margin-top: 26px; color: var(--dim); }
.plinth__story p:first-child { color: var(--paper); }
.plinth__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 36px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 0; border-top: 1px solid var(--hair); margin: 0; }
.facts dt, .facts dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--hair); }
.facts dt { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); padding-right: 28px; align-self: center; }
.facts dd { font-weight: 600; }
.neighbours { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 3vw, 40px); margin-top: clamp(56px, 8vw, 96px); padding-top: 28px; border-top: 1px solid var(--hair); }
.neighbour { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; text-decoration: none; }
.neighbour--next { grid-template-columns: 1fr 120px; text-align: right; }
.neighbour--next .stamp { order: 2; }
.neighbour .stamp .stamp__label { display: none; }
.neighbour .stamp .stamp__img { border-bottom: 0; }
.neighbour span.k { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.neighbour strong { display: block; font-size: 1.05rem; margin-top: 4px; }
.neighbour:hover strong { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) {
  .plinth__grid { grid-template-columns: 1fr; }
  .plinth__stage { max-width: 640px; }
  .neighbours { grid-template-columns: 1fr; }
  .neighbour, .neighbour--next { grid-template-columns: 96px 1fr; text-align: left; }
  .neighbour--next .stamp { order: 0; }
}

/* ---------- screening room ------------------------------------------------ */
.screening { padding: clamp(28px, 5vw, 64px) 0 clamp(64px, 8vw, 112px); }
.screening__head h1 { font-size: clamp(2.4rem, 6vw, 5.2rem); }
.screening__head p { color: var(--dim); margin: 18px 0 0; }
.reel { display: grid; gap: clamp(56px, 8vw, 104px); margin-top: clamp(40px, 6vw, 72px); list-style: none; padding: 0; }
.screen { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(22px, 4vw, 56px); align-items: start; scroll-margin-top: 88px; }
.screen__frame {
  --r: 7px;
  --pc: var(--paper);
  filter: drop-shadow(0 2px 0 rgb(0 0 0 / .35)) drop-shadow(0 30px 44px rgb(0 0 0 / .6));
}
.screen__frame .stamp__face { border-color: var(--type); }
.screen__frame video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; object-fit: cover; }
.screen__meta { display: grid; gap: 14px; align-content: start; }
.screen__no { font-family: var(--mono); font-weight: 800; font-size: .8rem; letter-spacing: .12em; color: var(--wf); }
.screen__meta h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.screen__span { font-family: var(--mono); font-size: .85rem; color: var(--dim); }
.screen__meta p { margin: 0; }
.screen__meta details { border-top: 1px solid var(--hair); padding-top: 12px; color: var(--dim); font-size: .95rem; }
.screen__meta summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 600; color: var(--paper); }
.screen__run { display: inline-flex; align-items: baseline; gap: 10px; }
.screen__run b { font-family: var(--mono); font-size: 1.6rem; font-weight: 800; color: var(--paper); }
@media (max-width: 900px) { .screen { grid-template-columns: 1fr; } }

/* ---------- studio login + index ----------------------------------------- */
.gate { min-height: calc(100svh - 64px); display: grid; place-items: center; padding: 48px 0; }
.gate__card { width: min(100%, 460px); }
.gate__card .perf { --pc: var(--paper-2); --r: 6px; color: var(--type); filter: drop-shadow(0 30px 44px rgb(0 0 0 / .6)); }
.gate__face { border: 2px solid var(--ws); padding: clamp(22px, 5vw, 36px); background: var(--paper-2); display: grid; gap: 16px; }
.gate__face h1 { font-size: clamp(1.8rem, 6vw, 2.4rem); }
.gate__face p { margin: 0; color: #45434d; }
.gate__face label { font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ws); }
.gate__face input {
  width: 100%; min-height: 52px; padding: 0 14px;
  font: 500 1.0625rem/1 var(--text); color: var(--type);
  background: #fff; border: 2px solid #c9c7cf;
}
.gate__face input:focus { outline: none; border-color: var(--ws); }
.gate__face .btn { width: 100%; background: var(--ws); color: #fff; }
.gate__face .btn:hover { background: #6844d9; }
.gate__err { color: #B3261E; font-weight: 600; }
.gate__err:empty { display: none; }

.stamp--proof { --ink: var(--ws); }
.stamp--proof .stamp__img::after {
  content: "SPECIMEN";
  position: absolute; right: 8px; top: 8px;
  font: 900 .6rem/1 var(--display); font-stretch: 125%; letter-spacing: .16em;
  color: #fff; background: var(--ws); padding: 4px 6px;
}
.stamp--proof .stamp__img { position: relative; }

/* ---------- catalogue --------------------------------------------------- */
.catalogue { padding: clamp(28px, 5vw, 64px) 0 clamp(64px, 8vw, 112px); }
.cat-head h1 { font-size: clamp(2.4rem, 6vw, 5.2rem); margin-top: 14px; }
.cat-head .lede { color: var(--dim); margin: 16px 0 28px; }
.search { display: flex; gap: 10px; max-width: 640px; }
.search input {
  flex: 1; min-width: 0; min-height: 52px; padding: 0 16px;
  font: 500 1.0625rem/1 var(--text); color: var(--paper);
  background: var(--book-2); border: 1px solid var(--hair-2);
}
.search input::placeholder { color: #8d9099; }
.search input:focus { outline: none; border-color: var(--wf); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.chip {
  min-height: 44px; padding: 0 14px; display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--hair-2); background: transparent; color: var(--dim);
  font: 600 .9rem/1 var(--text); cursor: pointer;
}
.chip i { width: 10px; height: 10px; background: var(--c, var(--paper)); }
.chip:hover { color: var(--paper); }
.chip[aria-pressed="true"] { background: var(--paper); color: var(--type); border-color: var(--paper); }
.cat-count { font-family: var(--mono); font-size: .8rem; letter-spacing: .08em; color: var(--dim); margin: 22px 0 0; }
.notice { display: flex; gap: 10px; padding: 12px 14px; border: 1px solid var(--hair-2); background: var(--book-2); margin: 0 0 20px; }
.rows { list-style: none; padding: 0; margin: 14px 0 0; border-top: 1px solid var(--hair); }
.row[hidden] { display: none; }
.row a {
  display: grid; grid-template-columns: 112px 6rem minmax(0, 1fr) auto; gap: 22px; align-items: center;
  padding: 14px 10px 14px 0; border-bottom: 1px solid var(--hair); text-decoration: none;
  transition: background-color .2s var(--ease-out);
}
.row a:hover { background: var(--book-2); }
.row__thumb { --r: 3px; display: block; filter: drop-shadow(0 6px 8px rgb(0 0 0 / .45)); transition: transform .35s var(--ease-out); }
.row a:hover .row__thumb { transform: rotate(-2deg) translateY(-2px); }
.row__thumb img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; object-position: top; border: 1.5px solid var(--ink); }
.row__no { font-family: var(--mono); font-weight: 800; font-size: .95rem; color: var(--ink-txt); }
.row__t strong { display: block; font-size: 1.1rem; font-weight: 700; }
.row__t span { display: block; color: var(--dim); font-size: .95rem; margin-top: 2px; }
.row__meta { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; color: var(--dim); text-align: right; line-height: 1.7; }
.cat-empty { padding: 40px 0; color: var(--dim); }
@media (max-width: 760px) {
  .row a { grid-template-columns: 84px minmax(0, 1fr); gap: 4px 16px; }
  .row__thumb { grid-row: span 3; }
  .row__no { font-size: .8rem; }
  .row__meta { text-align: left; line-height: 1.5; }
  .row__meta br { display: none; }
}

/* ---------- reading room ---------------------------------------------------- */
.reading { padding: clamp(28px, 5vw, 64px) 0 clamp(64px, 8vw, 112px); }
.reading__head h1 { font-size: clamp(2.2rem, 5vw, 4.4rem); max-width: 18ch; margin-top: 14px; }
.reading__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 96px); margin-top: clamp(40px, 6vw, 72px); }
.reading__body h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 48px 0 16px; }
.reading__body h2:first-child { margin-top: 0; }
.reading__body p { color: var(--dim); }
.reading__body p:first-of-type { color: var(--paper); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--hair); }
.steps li { display: grid; grid-template-columns: 3.5rem 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--hair); }
.step__no { font-family: var(--mono); font-weight: 800; color: var(--wf); padding-top: 4px; }
.steps h3 { font-size: 1.25rem; }
.steps p { margin: 6px 0 0; }
.reading__side .kicker { margin-bottom: 14px; }
.reading__side .facts dd { font-weight: 500; color: var(--paper); }
@media (max-width: 900px) { .reading__grid { grid-template-columns: 1fr; } }

/* ---------- reduced motion ---------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .cluster__layer { transform: none !important; }
}
