@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400;500&family=Libre+Caslon+Display&family=Manrope:wght@400;500;600&display=swap');

:root {
  --ink: #111618;
  --paper: #eee9df;
  --bone: #d8d0c1;
  --acid: #d6ef56;
  --copper: #b7623d;
  --blue: #83a9b7;
  --line: rgba(238, 233, 223, .24);
  --pointer-x: 50vw;
  --pointer-y: 50vh;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  color: var(--paper);
  background:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px),
    var(--ink);
  background-size: 38px 38px;
  font-family: Manrope, Arial, sans-serif;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: .28;
  background: radial-gradient(460px circle at var(--pointer-x) var(--pointer-y), rgba(214, 239, 86, .09), transparent 68%);
}

a { color: inherit; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 14px; background: var(--acid); color: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.room-header {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  padding: 0 34px;
  mix-blend-mode: difference;
}
.room-mark { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 500 10px/1 DM Mono, monospace; letter-spacing: .18em; text-transform: uppercase; }
.room-mark img { width: 38px; height: 38px; filter: grayscale(1) invert(1); }
.room-header > p { margin: 0; font: 400 10px/1 DM Mono, monospace; letter-spacing: .14em; text-transform: uppercase; }
.room-header > p span { margin: 0 8px; }

.room-index {
  position: fixed;
  z-index: 35;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: flex-end;
  gap: 16px;
  mix-blend-mode: difference;
}
.index-number { font: 300 42px/.8 DM Mono, monospace; letter-spacing: -.08em; }
.room-index nav { display: grid; gap: 8px; }
.room-index a { font: 400 9px/1 DM Mono, monospace; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; opacity: .42; transition: opacity .2s, transform .2s; }
.room-index a:hover, .room-index a.is-active { opacity: 1; transform: translateX(-4px); }

.exhibit { position: relative; min-height: 100vh; }
.catalogue-line, .exhibit-label > p {
  display: flex;
  justify-content: space-between;
  margin: 0;
  font: 400 9px/1.4 DM Mono, monospace;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.entrance {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, .7fr);
  grid-template-rows: 1fr auto;
  min-height: 100svh;
  padding: 110px 9vw 58px;
  background: #101416;
  isolation: isolate;
  overflow: hidden;
}
.entrance > * { min-width: 0; }
.entrance::before {
  content: "";
  position: absolute;
  width: 64vw;
  aspect-ratio: 1;
  top: -32vw;
  right: -22vw;
  border: 1px solid rgba(214, 239, 86, .18);
  border-radius: 50%;
  box-shadow: 0 0 90px rgba(214,239,86,.06), inset 0 0 90px rgba(214,239,86,.04);
  z-index: -1;
}
.entrance::after { content: "PRIVATE VIEW / OPEN ENDED"; position: absolute; left: 31px; bottom: 56px; font: 400 8px/1 DM Mono, monospace; letter-spacing: .22em; writing-mode: vertical-rl; transform: rotate(180deg); opacity: .45; }
.entrance-glow { position: absolute; z-index: -2; width: 36vw; height: 110vh; right: 4vw; top: -8vh; background: linear-gradient(110deg, transparent 20%, rgba(214,239,86,.12) 50%, transparent 80%); filter: blur(18px); transform: rotate(-13deg); }
.catalogue-line { grid-column: 1 / -1; align-self: start; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.entrance-title { align-self: end; padding-bottom: 4vh; }
.eyebrow { margin: 0 0 20px; color: var(--acid); font: 400 11px/1 DM Mono, monospace; letter-spacing: .18em; text-transform: uppercase; }
.entrance h1 { margin: 0; font: 400 clamp(86px, 13.5vw, 210px)/.72 "Libre Caslon Display", Georgia, serif; letter-spacing: -.07em; }
.entrance h1 em { display: inline-block; padding-left: .22em; color: var(--acid); font-weight: inherit; }
.entrance-note { align-self: end; max-width: 430px; padding: 0 3vw 3vh 0; }
.entrance-note p:first-child { font: 400 clamp(22px, 2.3vw, 39px)/1.17 "Libre Caslon Display", Georgia, serif; }
.entrance-note p:nth-child(2) { color: var(--bone); font-size: 14px; line-height: 1.7; }
.entrance-note a, .text-link { display: inline-block; margin-top: 26px; padding-bottom: 7px; border-bottom: 1px solid currentColor; font: 500 10px/1.2 DM Mono, monospace; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }

.minds { min-height: 1450px; padding: 150px 9vw 180px; background: var(--paper); color: var(--ink); overflow: hidden; }
.minds::before { content: "FIVE"; position: absolute; right: -1.5vw; top: 19%; color: transparent; -webkit-text-stroke: 1px rgba(17,22,24,.12); font: 400 24vw/.7 "Libre Caslon Display", Georgia, serif; transform: rotate(90deg); transform-origin: center; }
.exhibit-label { max-width: 950px; }
.exhibit-label > p { padding-bottom: 17px; border-bottom: 1px solid currentColor; }
.exhibit-label h2 { margin: 28px 0 0; font: 400 clamp(48px, 7vw, 106px)/.9 "Libre Caslon Display", Georgia, serif; letter-spacing: -.045em; }
.minds-image { position: absolute; left: 9vw; top: 520px; width: min(35vw, 510px); transform: rotate(-2deg); }
.image-frame { margin: 0; }
.image-frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.74) contrast(1.05); }
.image-frame figcaption, .instrument-screen figcaption { display: flex; justify-content: space-between; gap: 20px; padding: 13px 2px 0; font: 400 9px/1.4 DM Mono, monospace; letter-spacing: .08em; text-transform: uppercase; }
.minds-copy { position: relative; width: 42%; margin: 230px 7vw 0 auto; }
.minds-copy .lead { font: 400 clamp(28px, 3.3vw, 48px)/1.1 "Libre Caslon Display", Georgia, serif; }
.minds-copy > p:not(.lead) { max-width: 580px; font-size: 15px; line-height: 1.75; }
.mind-strip { position: absolute; left: 9vw; right: 9vw; bottom: 110px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 0; padding: 0; border-top: 1px solid rgba(17,22,24,.35); list-style: none; }
.mind-strip li { min-height: 145px; padding: 15px 14px; border-right: 1px solid rgba(17,22,24,.22); }
.mind-strip li:last-child { border-right: 0; }
.mind-strip span, .mind-strip small { display: block; font: 400 9px/1.3 DM Mono, monospace; letter-spacing: .1em; text-transform: uppercase; }
.mind-strip strong { display: block; margin: 35px 0 5px; font: 400 25px/1 "Libre Caslon Display", Georgia, serif; }
.mind-strip small { color: #5f6869; }

.instruments { min-height: 1450px; padding: 145px 9vw 160px; background: #14212a; color: var(--paper); overflow: hidden; }
.instruments::before { content: ""; position: absolute; inset: 0; opacity: .15; background: radial-gradient(circle at 15% 30%, var(--blue), transparent 24%), radial-gradient(circle at 83% 67%, var(--copper), transparent 27%); }
.label-light { position: relative; z-index: 2; margin-left: auto; width: 65%; }
.instrument-screen { position: relative; z-index: 2; width: min(72vw, 1120px); margin: 120px auto 0; transform: rotate(.6deg); }
.instrument-screen::before { content: ""; position: absolute; inset: -22px; border: 1px solid rgba(238,233,223,.24); pointer-events: none; }
.instrument-screen img { width: 100%; box-shadow: 0 28px 70px rgba(0,0,0,.55); }
.instrument-notes { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; width: min(82vw, 1260px); margin: 120px auto 0; background: var(--line); border: 1px solid var(--line); }
.instrument-notes article { min-height: 230px; padding: 28px; background: #14212a; }
.instrument-notes span { color: var(--acid); font: 400 9px/1 DM Mono, monospace; letter-spacing: .15em; }
.instrument-notes h3 { max-width: 310px; margin: 36px 0 18px; font: 400 29px/1.05 "Libre Caslon Display", Georgia, serif; }
.instrument-notes p { max-width: 330px; margin: 0; color: var(--bone); font-size: 13px; line-height: 1.65; }
.instrument-link { position: relative; z-index: 2; float: right; margin: 45px 9vw 0 0; font: 500 10px/1 DM Mono, monospace; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid; padding-bottom: 8px; }

.light { min-height: 1900px; padding: 155px 9vw 180px; background: #e8dfcf; color: #291c18; overflow: hidden; }
.light::after { content: ""; position: absolute; width: 45vw; aspect-ratio: 1; top: 350px; left: 28%; border: 1px solid rgba(183,98,61,.35); border-radius: 50%; box-shadow: 0 0 90px 30px rgba(183,98,61,.1); pointer-events: none; }
.light .exhibit-label { margin-left: auto; }
.light-gallery { position: relative; min-height: 1180px; margin-top: 100px; }
.light-piece { position: absolute; z-index: 2; }
.light-piece img { object-position: center; }
.halo { left: 0; top: 0; width: 59%; }
.halo img { aspect-ratio: 16/10; }
.pendant { right: 0; top: 340px; width: 31%; }
.pendant img { aspect-ratio: 4/5; }
.room-study { left: 20%; top: 730px; width: 47%; }
.room-study img { aspect-ratio: 3/2; }
.light-thought { position: absolute; right: 3%; top: 64px; margin: 0; color: var(--copper); font: 400 clamp(23px, 2.8vw, 43px)/1.15 "Libre Caslon Display", Georgia, serif; text-align: right; }
.light-footer { display: grid; grid-template-columns: 1.2fr .7fr; gap: 11vw; align-items: end; max-width: 980px; margin: 0 auto; border-top: 1px solid rgba(41,28,24,.4); padding-top: 28px; }
.light-footer p { margin: 0; font: 400 clamp(25px, 3vw, 42px)/1.2 "Libre Caslon Display", Georgia, serif; }
.light-footer p em { color: var(--copper); font-weight: inherit; }

.notes { min-height: 1120px; padding: 150px 9vw 80px; background: #a9bdc0; color: var(--ink); }
.notes-header p { margin: 0 0 24px; font: 500 9px/1 DM Mono, monospace; letter-spacing: .14em; text-transform: uppercase; }
.notes-header h2 { margin: 0; font: 400 clamp(55px, 8vw, 124px)/.86 "Libre Caslon Display", Georgia, serif; letter-spacing: -.05em; }
.note-cabinet { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 100px; border-top: 1px solid rgba(17,22,24,.5); border-left: 1px solid rgba(17,22,24,.5); }
.note-cabinet article { min-height: 205px; padding: 22px; border-right: 1px solid rgba(17,22,24,.5); border-bottom: 1px solid rgba(17,22,24,.5); }
.note-cabinet span { font: 400 9px/1 DM Mono, monospace; letter-spacing: .12em; }
.note-cabinet p { max-width: 300px; margin: 70px 0 0; font: 400 25px/1.08 "Libre Caslon Display", Georgia, serif; }
.room-footer { display: grid; grid-template-columns: 1.2fr .8fr auto; gap: 50px; align-items: end; margin-top: 125px; padding-top: 28px; border-top: 1px solid rgba(17,22,24,.5); }
.room-footer > p { margin: 0; font: 400 32px/1.1 "Libre Caslon Display", Georgia, serif; }
.room-footer > p em { font-weight: inherit; color: #eaf261; }
.room-footer nav { display: grid; gap: 8px; }
.room-footer a, .room-footer > span { font: 500 9px/1.4 DM Mono, monospace; letter-spacing: .1em; text-transform: uppercase; }
.room-footer a { text-decoration: none; }

.has-js .exhibit-label, .has-js .minds-image, .has-js .minds-copy, .has-js .instrument-screen, .has-js .instrument-notes, .has-js .light-piece, .has-js .notes-header, .has-js .note-cabinet { opacity: 0; transform: translateY(34px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.has-js .is-seen .exhibit-label, .has-js .is-seen .minds-image, .has-js .is-seen .minds-copy, .has-js .is-seen .instrument-screen, .has-js .is-seen .instrument-notes, .has-js .is-seen .light-piece, .has-js .is-seen .notes-header, .has-js .is-seen .note-cabinet { opacity: 1; transform: translateY(0); }
.has-js .is-seen .minds-image { transform: rotate(-2deg); }
.has-js .is-seen .instrument-screen { transform: rotate(.6deg); }

@media (max-width: 900px) {
  .room-header { height: 68px; padding: 0 18px; }
  .room-header > p, .room-mark span { display: none; }
  .room-index { display: none; }
  .entrance { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; padding: 90px 24px 50px; }
  .catalogue-line span:nth-child(2) { display: none; }
  .entrance-title { align-self: center; }
  .entrance h1 { font-size: clamp(68px, 19.5vw, 105px); }
  .entrance-note { padding: 0; }
  .minds, .instruments, .light, .notes { min-height: 0; padding: 100px 24px; }
  .exhibit-label h2 { font-size: clamp(46px, 13vw, 78px); }
  .minds-image, .minds-copy { position: relative; left: auto; top: auto; width: 100%; margin: 70px 0 0; }
  .minds-image { max-width: 550px; }
  .minds-copy { margin-left: auto; max-width: 600px; }
  .mind-strip { position: relative; left: auto; right: auto; bottom: auto; grid-template-columns: 1fr; margin-top: 90px; }
  .mind-strip li { min-height: 95px; display: grid; grid-template-columns: 40px 1fr; align-items: center; }
  .mind-strip strong { margin: 0; }
  .mind-strip small { grid-column: 2; }
  .label-light { width: 100%; }
  .instrument-screen { width: 92%; margin-top: 90px; }
  .instrument-notes { width: 100%; grid-template-columns: 1fr; margin-top: 80px; }
  .instrument-notes article { min-height: 190px; }
  .instrument-link { float: none; display: inline-block; margin: 40px 0 0; }
  .light-gallery { display: grid; gap: 70px; min-height: 0; margin-top: 75px; }
  .light-piece, .light-thought { position: relative; left: auto; right: auto; top: auto; width: 100%; }
  .light-thought { order: -1; text-align: left; }
  .pendant { width: 73%; margin-left: auto; }
  .room-study { width: 86%; }
  .light-footer { grid-template-columns: 1fr; margin-top: 90px; }
  .note-cabinet { grid-template-columns: 1fr 1fr; }
  .room-footer { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 560px) {
  .catalogue-line span:last-child { display: none; }
  .entrance::after { display: none; }
  .exhibit-label > p span:last-child { display: none; }
  .instrument-screen::before { inset: -10px; }
  .instrument-screen figcaption { display: block; }
  .note-cabinet { grid-template-columns: 1fr; }
  .notes-header h2 { font-size: 18vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  body::after { display: none; }
}
