:root {
  --paper: #191b18;
  --ink: #e5e1d7;
  --muted: #aaa99f;
  --olive: #b5a48b;
  --line: #e1d8c024;
  --serif: "Playfair Display", Georgia, serif;
  --sans: Inter, Arial, sans-serif;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: auto;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
button,
a,
select,
input {
  -webkit-tap-highlight-color: transparent;
}
button,
select,
input {
  font: inherit;
}
button {
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}
button:disabled {
  opacity: 0.45;
  cursor: wait;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 1px solid #d4bea0;
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  padding: 15px;
  background: #2c3028;
  z-index: 200;
}
.skip-link:focus {
  top: 20px;
}
.header {
  height: 106px;
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  padding: 24px 4.6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  background: linear-gradient(#191b18f5, #191b18d4 55%, #191b1800);
}
.brand {
  display: flex;
  align-items: center;
  gap: 17px;
  flex: none;
}
.brand-signature {
  font:
    400 39px/1.2 "Dancing Script",
    cursive;
  color: #e6e1d7;
  white-space: nowrap;
}
.brand-divider {
  height: 27px;
  width: 1px;
  background: var(--line);
}
.brand-name {
  font-size: 7px;
  line-height: 1.8;
  letter-spacing: 2px;
  color: #b3b4a9;
}
.header nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: 3%;
}
.nav-link {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.1px;
  padding: 8px 0;
  color: #aaa99f;
}
.nav-link.active {
  color: #e1ddd4;
}
.nav-link:hover {
  color: #eee9de;
}
.tiny-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--olive);
  display: inline-block;
}
.header-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}
.mode-button {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 0;
  font-size: 9px;
  color: #b8b6a9;
  white-space: nowrap;
}
.mode-icon {
  font-size: 15px;
  line-height: 1;
}
.eyebrow {
  font: 400 9px/1.8 var(--sans);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
  color: #b7b4a7;
}
.small-rule {
  display: inline-block;
  width: 27px;
  height: 1px;
  background: #b5a48b;
  vertical-align: middle;
  margin-right: 12px;
}
#journey {
  height: var(--tour-height, 850svh);
  position: relative;
}
.stage {
  height: 100svh;
  min-height: 480px;
  position: sticky;
  top: 0;
  overflow: hidden;
  background: #191b18;
}
#canvas-host {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s;
}
#canvas-host.ready {
  opacity: 1;
}
#canvas-host canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
}
.intro-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #191b18 0%,
    #191b18f5 24%,
    #191b18ad 43%,
    #191b1810 72%
  );
  opacity: var(--intro-opacity, 1);
}
.scene-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      0deg,
      #10120fe0 0%,
      #10120f00 20%,
      #10120f00 80%,
      #10120f40 100%
    ),
    radial-gradient(ellipse at 57% 48%, transparent 20%, #0b0d0a42 100%);
}
.intro {
  position: absolute;
  left: 8%;
  top: 26%;
  width: 54%;
  opacity: var(--intro-opacity, 1);
  transform: translateY(calc(var(--intro-shift, 0) * -1px));
  will-change: opacity;
}
.intro h1 {
  font: 400 clamp(65px, 7.4vw, 123px)/1.09 var(--serif);
  letter-spacing: -4.3px;
  margin: 24px 0 27px;
  color: #e3dfd4;
}
.intro h1 em {
  font-weight: 400;
  color: #bfb19a;
}
.intro-copy {
  font-size: 12px;
  line-height: 1.9;
  color: #b0b1a6;
  margin: 0 0 27px;
  letter-spacing: 0.1px;
}
.enter-button {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 4px 0;
  color: #e6e0d4;
  font-size: 11px;
  letter-spacing: 0.15px;
  transition: color 0.2s;
}
.enter-button > span {
  height: 44px;
  width: 44px;
  border: 1px solid #b5a48b72;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #d5c5ac;
  font-size: 21px;
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.25s;
}
.enter-button:hover {
  color: #fff9ed;
}
.enter-button:hover > span {
  background: #b9a88d;
  color: #191b18;
  transform: translate(2px, -2px);
}
.intro-note {
  font-size: 8px;
  letter-spacing: 0.6px;
  color: #8d9386;
  margin-top: 17px;
}
.intro-note > span {
  padding: 0 9px;
}
.exhibition-stamp {
  position: absolute;
  right: 8%;
  top: 18%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  font-size: 7px;
  letter-spacing: 2px;
  color: #9c9e90;
  opacity: var(--intro-opacity, 1);
  pointer-events: none;
}
.exhibition-stamp span:first-child {
  color: #c6b9a3;
  font-size: 9px;
  letter-spacing: 3px;
}
.static-room {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 75% 42%,
    #494b41 0%,
    #2b2e27 38%,
    #1b1e18 75%
  );
}
.static-room::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 79%;
  bottom: 0;
  background: linear-gradient(150deg, #24271f, #171a14);
  border-top: 1px solid #3b4032;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.room-line {
  position: absolute;
  top: 15%;
  right: 8%;
  height: 64%;
  width: 1px;
  background: #57594a44;
  transform: skewY(-8deg);
}
.static-frame {
  position: absolute;
  right: 12%;
  top: 29%;
  width: 33%;
  padding: 16px;
  background: #b9b19e;
  border: 3px solid #8e7f63;
  box-shadow:
    1px 1px 0 2px #191b17,
    12px 17px 30px #0007;
  transform: perspective(1300px) rotateY(-9deg);
  z-index: 1;
}
.static-frame::before {
  content: "";
  position: absolute;
  inset: -80px -70px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 15%, #cbb78424, transparent 65%);
}
.static-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.505;
  object-fit: contain;
  background: #414333;
}
.static-label {
  position: absolute;
  top: 68%;
  right: 25%;
  font-size: 7px;
  letter-spacing: 1px;
  line-height: 1.9;
  color: #c1b9a7;
}
.static-label span {
  font-size: 7px;
  color: #9da18f;
}
.static-bench {
  position: absolute;
  bottom: 9%;
  right: 10%;
  width: 27%;
  height: 12px;
  background: linear-gradient(#68583e, #3e3527);
  transform: skewY(-5deg);
  z-index: 2;
  box-shadow: 0 25px 28px #0004;
}
.static-bench::before,
.static-bench::after {
  content: "";
  position: absolute;
  top: 100%;
  height: 45px;
  width: 4px;
  background: #141810;
}
.static-bench::before {
  left: 7%;
}
.static-bench::after {
  right: 7%;
}
.stage-bottom {
  position: absolute;
  left: 4.6%;
  right: 4.6%;
  bottom: max(29px, env(safe-area-inset-bottom));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  font-size: 7px;
  letter-spacing: 1.7px;
  pointer-events: none;
  color: #b6b8a9;
}
.scroll-cue {
  display: flex;
  align-items: center;
  gap: 11px;
}
.scroll-mouse {
  display: block;
  height: 21px;
  width: 13px;
  border: 1px solid #8b9181;
  border-radius: 9px;
  position: relative;
}
.scroll-mouse::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  height: 4px;
  width: 1px;
  background: #b6bda9;
  animation: scroll-cue 2.5s infinite;
}
.location-mark {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #939a87;
  font-size: 7px;
  letter-spacing: 2px;
}
.counter {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8e9484;
  font-variant-numeric: tabular-nums;
}
.counter-rule {
  width: 43px;
  height: 1px;
  background: #c4c7b232;
}
#counter-current {
  color: #e3dbc9;
}
.progress {
  height: 1px;
  position: absolute;
  inset: auto 0 0;
  background: #c3b08714;
}
.progress span {
  height: 100%;
  display: block;
  background: #bba47e;
  transform: scaleX(0);
  transform-origin: left;
}
.route {
  position: absolute;
  right: 3.5%;
  top: 37%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
}
.route-heading {
  font-size: 6px;
  writing-mode: vertical-rl;
  letter-spacing: 2px;
  margin-bottom: 5px;
  color: #a1a68f;
}
.route #stops {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stop {
  height: 30px;
  width: 36px;
  position: relative;
  display: grid;
  place-items: center;
  padding: 0;
  font-size: 8px;
  color: #89907c;
  font-variant-numeric: tabular-nums;
}
.stop::before {
  content: "";
  position: absolute;
  left: 0;
  width: 9px;
  height: 1px;
  background: #88917755;
  transition:
    width 0.2s,
    background 0.2s;
}
.stop.active {
  color: #e2d3b8;
}
.stop.active::before {
  width: 15px;
  background: #d4bb8e;
}
.stop span {
  margin-left: 12px;
}
.stop::after {
  content: attr(data-label);
  position: absolute;
  right: 43px;
  top: 0;
  padding: 8px 12px;
  white-space: nowrap;
  background: #1c2019e8;
  color: #d8d5c8;
  border: 1px solid #bdc0a521;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
  font-size: 9px;
}
.stop:hover::after,
.stop:focus-visible::after {
  opacity: 1;
}
.route-end {
  font-size: 6px;
  color: #777e69;
  letter-spacing: 1px;
}
.scene-caption {
  position: absolute;
  bottom: 14%;
  left: 5%;
  padding: 24px 29px;
  max-width: 355px;
  background: linear-gradient(110deg, #161a13f0, #161a13d9);
  backdrop-filter: blur(10px);
  border-left: 1px solid #b7a38288;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 0.35s,
    transform 0.35s;
  box-shadow: 0 15px 55px #0002;
}
.scene-caption.visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.scene-caption .eyebrow {
  font-size: 7px;
  letter-spacing: 1.5px;
  color: #b3a58e;
}
.scene-caption h2 {
  font: 400 31px/1.3 var(--serif);
  letter-spacing: -0.7px;
  margin: 12px 0 14px;
  color: #e4e0d4;
}
.scene-caption > p:not(.eyebrow) {
  font-size: 10px;
  line-height: 1.9;
  max-width: 260px;
  color: #aeb49f;
}
.scene-caption button {
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: #d3c6ac;
  border-bottom: 1px solid #d3c6ac4d;
  padding: 11px 0 5px;
  min-height: 36px;
}
.art-hint {
  position: absolute;
  bottom: 14%;
  right: 7%;
  font-size: 8px;
  letter-spacing: 0.2px;
  color: #b8bca8;
  background: #171c13b8;
  border: 1px solid #c2c4ae15;
  padding: 10px 13px;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.art-hint.visible {
  opacity: 1;
}
.map-button {
  position: absolute;
  right: 4.6%;
  bottom: 9%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 0;
  color: #c2c3b1;
  font-size: 8px;
  min-height: 40px;
  opacity: calc(1 - var(--intro-opacity, 1));
  pointer-events: var(--map-events, none);
}
.map-button svg {
  height: 17px;
  width: 17px;
}
.map-button:hover {
  color: #eee4cd;
}
.closing {
  position: relative;
  z-index: 2;
  padding: 105px 8% 0;
  background: #1b1e19;
  border-top: 1px solid #d1d2b912;
}
.closing h2 {
  font: 400 clamp(35px, 4vw, 62px)/1.45 var(--serif);
  letter-spacing: -1.5px;
  margin: 27px 0 42px;
}
.closing h2 em {
  font-weight: 400;
  color: #b8aa90;
}
.closing-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 90px;
  gap: 20px;
}
.closing-bottom p {
  font-size: 11px;
  line-height: 2;
  color: #a0a68f;
}
.closing footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 27px 0;
  font-size: 7px;
  letter-spacing: 1.1px;
  color: #8d957e;
}
.closing footer button {
  font-size: 9px;
  color: #c6c5b4;
  min-height: 35px;
}
.closing footer > span:last-child {
  font-size: 6px;
}
dialog {
  border: 0;
  max-width: none;
  max-height: none;
  padding: 0;
  color: var(--ink);
}
dialog::backdrop {
  background: #080b07dc;
  backdrop-filter: blur(12px);
}
.collection-dialog {
  margin: 0;
  width: 100vw;
  height: 100dvh;
  overflow: auto;
  overscroll-behavior: contain;
  background: #1b1e19;
}
.collection-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 36px 5%;
  border-bottom: 1px solid var(--line);
}
.collection-header h2 {
  font: 400 clamp(34px, 4.4vw, 61px)/1.3 var(--serif);
  letter-spacing: -1.7px;
  margin: 12px 0 0;
}
.close-button {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #c1c4ac3b;
  border-radius: 50%;
  font-size: 16px;
  color: #d2d1bf;
  flex: none;
}
.close-button:hover {
  background: #c4c5a816;
}
.collection-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 26px 5%;
  font-size: 10px;
  color: #acb39b;
}
.collection-tools label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 9px;
}
.collection-tools select {
  font-size: 10px;
  max-width: 240px;
  background: #252a20;
  border: 1px solid var(--line);
  color: #d8d9c7;
  padding: 11px 30px 11px 12px;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 35px;
  padding: 12px 5% 45px;
}
.photo-card {
  display: block;
  text-align: left;
  padding: 0;
  min-width: 0;
}
.photo-card .thumb {
  height: 300px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 25%, #3d4033, #292d23 80%);
  border: 1px solid #c2c6a410;
  transition: border-color 0.2s;
}
.photo-card:hover .thumb {
  border-color: #cab2896b;
}
.photo-card img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 4px 7px 18px #0006;
}
.photo-card p {
  font-size: 7px;
  letter-spacing: 1.1px;
  color: #a3a98f;
  margin: 17px 0 8px;
}
.photo-card h3 {
  font: 400 21px/1.4 var(--serif);
  margin: 0;
  color: #dcdccd;
}
.collection-foot {
  font-size: 7px;
  letter-spacing: 1.7px;
  color: #919b80;
  padding: 25px 5%;
  border-top: 1px solid var(--line);
}
.lightbox {
  margin: 0;
  width: 100vw;
  height: 100dvh;
  background: #171a15;
  overflow: hidden;
  display: none;
}
.lightbox[open] {
  display: flex;
  flex-direction: column;
}
.lightbox-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 3%;
  flex: none;
}
.lightbox-top > span {
  font-size: 9px;
  letter-spacing: 2px;
  color: #b2b7a0;
}
.lightbox-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 0;
  flex: 1;
  gap: 20px;
  padding: 0 3%;
}
.photo-display {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.photo-display > img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.2s;
  box-shadow: 0 9px 45px #0007;
}
.photo-display > img.loaded {
  opacity: 1;
}
.photo-display > p {
  position: absolute;
  bottom: 15px;
  font-size: 11px;
  padding: 15px;
  background: #292f21;
}
.photo-display > p button {
  text-decoration: underline;
}
.photo-arrow {
  min-width: 44px;
  width: 44px;
  min-height: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 22px;
  flex: none;
  color: #cbcdb9;
}
.photo-arrow:hover {
  background: #d2d8b71a;
}
.photo-info {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 24px max(7%, 50px) 28px;
  flex: none;
}
.photo-info .eyebrow {
  font-size: 8px;
  color: #b2a385;
}
.photo-info h2 {
  font: 400 26px/1.3 var(--serif);
  margin: 8px 0 0;
}
.photo-info > p {
  font-size: 9px;
  color: #a8af96;
  max-width: 45%;
  text-align: right;
}
.tour-map {
  width: min(740px, 92vw);
  max-height: 90dvh;
  overflow: auto;
  background: #20251d;
  border: 1px solid #b6bd9f35;
  padding: 30px 32px;
}
.map-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.map-header .eyebrow {
  font-size: 7px;
  letter-spacing: 1.2px;
}
.map-header h2 {
  font: 400 31px/1.3 var(--serif);
  margin: 13px 0 0;
  letter-spacing: -0.6px;
}
.map-content {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 35px;
  align-items: center;
  margin-top: 15px;
}
.floor-plan {
  display: block;
  width: 100%;
  max-height: 330px;
}
.plan-room {
  stroke: #7b846b;
  stroke-width: 3;
  fill: none;
}
.plan-route {
  stroke: #a8a08377;
  stroke-width: 1.2;
  stroke-dasharray: 3 5;
  fill: none;
}
.plan-works {
  stroke: #d6b98a;
  stroke-width: 2;
}
.plan-numbers text {
  font:
    9px Inter,
    Arial;
  fill: #dfd4bc;
  text-anchor: middle;
}
.plan-entry {
  font:
    6px Inter,
    Arial;
  fill: #9da68a;
  letter-spacing: 1.2px;
  text-anchor: middle;
}
#plan-marker {
  fill: #cdb48a;
  stroke: #cdb48a2e;
  stroke-width: 8;
}
.map-stops {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.map-stop {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid #c0c6a518;
  padding: 12px 0;
  min-height: 44px;
  text-align: left;
  font-size: 10px;
  color: #c1c6af;
}
.map-stop > span:first-child {
  font-size: 8px;
  color: #9b8c70;
}
.map-stop.active {
  color: #f0e3c7;
}
.map-stop:hover {
  color: #e6d1aa;
}
.map-note {
  font-size: 9px;
  line-height: 1.9;
  max-width: 580px;
  color: #a7af94;
  margin: 12px 0 0;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 15px);
  padding: 14px 21px;
  max-width: 90%;
  font-size: 11px;
  line-height: 1.7;
  background: #333c29;
  color: #e5e3d2;
  border: 1px solid #c7c9a43b;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s,
    transform 0.25s;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.noscript {
  position: fixed;
  inset: auto 0 0;
  background: #252c1e;
  padding: 20px;
  color: #e1e4d3;
  z-index: 100;
  font-size: 12px;
}
.flat-mode #journey {
  height: 100svh;
}
.flat-mode #canvas-host,
.flat-mode .route,
.flat-mode .scroll-cue,
.flat-mode .scene-caption,
.flat-mode .art-hint,
.flat-mode .map-button {
  display: none;
}
.flat-mode .static-room {
  opacity: 1 !important;
}
.flat-mode .intro,
.flat-mode .intro-shade {
  opacity: 1 !important;
  transform: none !important;
}
.flat-mode .intro {
  pointer-events: auto !important;
}
.flat-mode .scroll-mouse::after {
  animation: none;
}
@keyframes scroll-cue {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: translateY(5px);
    opacity: 1;
  }
}
@media (min-width: 1600px) {
  .intro {
    left: 10%;
    top: 27%;
  }
  .intro h1 {
    font-size: 126px;
  }
  .scene-caption {
    left: 7%;
  }
  .header {
    padding-left: 5%;
    padding-right: 5%;
  }
}
@media (max-width: 1150px) {
  .brand-name,
  .brand-divider {
    display: none;
  }
  .header nav {
    margin-left: 0;
    gap: 24px;
  }
  .header-controls {
    gap: 12px;
  }
  .intro {
    left: 6%;
    width: 65%;
  }
  .intro h1 {
    font-size: 8vw;
  }
  .intro .eyebrow {
    font-size: 8px;
  }
  .location-mark {
    display: none;
  }
  .exhibition-stamp {
    right: 9%;
  }
  .photo-grid {
    gap: 30px 20px;
  }
  .photo-card .thumb {
    height: 260px;
    padding: 22px;
  }
  .art-hint {
    display: none;
  }
}
@media (max-height: 740px) and (min-width: 701px) {
  .header {
    height: 82px;
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .intro {
    top: 24%;
  }
  .intro h1 {
    font-size: clamp(62px, 6.8vw, 100px);
    margin: 18px 0 18px;
  }
  .intro-copy {
    font-size: 11px;
    margin-bottom: 17px;
  }
  .intro-note {
    margin-top: 11px;
  }
  .intro .eyebrow {
    font-size: 7px;
  }
  .scene-caption {
    padding: 19px 23px;
    bottom: 15%;
  }
  .scene-caption h2 {
    font-size: 28px;
    margin: 9px 0;
  }
  .scene-caption > p:not(.eyebrow) {
    margin: 8px 0;
  }
  .route {
    top: 29%;
    gap: 7px;
  }
  .route-heading {
    display: none;
  }
  .route #stops {
    gap: 3px;
  }
  .exhibition-stamp {
    top: 16%;
  }
  .map-button {
    bottom: 8.5%;
  }
}
@media (max-width: 700px) {
  .header {
    height: 84px;
    padding: 15px 6%;
    gap: 10px;
  }
  .brand-signature {
    font-size: 33px;
  }
  .header nav {
    margin-left: auto;
    margin-right: 0;
  }
  .nav-link {
    font-size: 9px;
    gap: 5px;
  }
  .nav-link:first-child {
    display: none;
  }
  .header-controls {
    gap: 7px;
  }
  .mode-button {
    width: 32px;
    justify-content: center;
    padding: 8px 0;
  }
  .mode-button #mode-label {
    display: none;
  }
  .mode-icon {
    font-size: 16px;
  }
  .intro {
    left: 7%;
    top: 18%;
    width: 86%;
  }
  .intro .eyebrow {
    font-size: 6px;
    letter-spacing: 1.4px;
  }
  .small-rule {
    width: 21px;
    margin-right: 8px;
  }
  .intro h1 {
    font-size: clamp(56px, 13.2vw, 89px);
    letter-spacing: -2.6px;
    line-height: 1.13;
    margin: 19px 0 20px;
  }
  .intro-copy {
    font-size: 10px;
    line-height: 1.9;
    margin-bottom: 15px;
  }
  .enter-button {
    font-size: 10px;
    min-height: 48px;
    gap: 26px;
  }
  .enter-button > span {
    width: 39px;
    height: 39px;
    font-size: 19px;
  }
  .intro-note {
    font-size: 7px;
    letter-spacing: 0.25px;
    margin-top: 12px;
  }
  .intro-note > span {
    padding: 0 7px;
  }
  .intro-shade {
    background: linear-gradient(
      180deg,
      #191b18 0%,
      #191b18f2 30%,
      #191b1880 52%,
      #191b1800 73%
    );
  }
  .exhibition-stamp {
    display: none;
  }
  .static-frame {
    width: 65%;
    right: 7%;
    top: 59%;
    padding: 11px;
    border-width: 2px;
  }
  .static-label {
    top: 82%;
    right: 13%;
    font-size: 6px;
  }
  .static-label span {
    font-size: 6px;
  }
  .room-line {
    top: 30%;
    height: 57%;
  }
  .static-room::after {
    top: 87%;
  }
  .static-bench {
    height: 7px;
    width: 25%;
    bottom: 10%;
    right: 16%;
  }
  .static-bench::before,
  .static-bench::after {
    height: 25px;
    width: 3px;
  }
  .route {
    top: 38%;
    right: 2%;
    gap: 5px;
    opacity: calc(1 - var(--intro-opacity, 1));
  }
  .route-heading,
  .route-end {
    display: none;
  }
  .route #stops {
    gap: 2px;
  }
  .stop {
    width: 27px;
    height: 31px;
    font-size: 7px;
    background: #171e1388;
  }
  .stop span {
    margin-left: 7px;
  }
  .stop::before {
    left: 1px;
    width: 5px;
  }
  .stop.active::before {
    width: 8px;
  }
  .stop::after {
    display: none;
  }
  .stage-bottom {
    left: 6%;
    right: 6%;
    bottom: max(22px, env(safe-area-inset-bottom));
    font-size: 6px;
    letter-spacing: 1.1px;
  }
  .counter {
    gap: 7px;
  }
  .counter-rule {
    width: 24px;
  }
  .scroll-mouse {
    height: 19px;
    width: 12px;
  }
  .scroll-mouse::after {
    left: 5px;
  }
  .scene-caption {
    left: 6%;
    bottom: 11%;
    padding: 17px 20px;
    max-width: calc(100% - 20%);
    background: #171c13e8;
  }
  .scene-caption .eyebrow {
    font-size: 6px;
    letter-spacing: 1.1px;
  }
  .scene-caption h2 {
    font-size: 25px;
    line-height: 1.35;
    margin: 9px 0 10px;
  }
  .scene-caption > p:not(.eyebrow) {
    font-size: 9px;
    line-height: 1.8;
    margin: 7px 0;
  }
  .scene-caption button {
    font-size: 8px;
    padding-top: 6px;
    gap: 17px;
  }
  .map-button {
    right: 6%;
    bottom: 6.5%;
    min-height: 30px;
    font-size: 7px;
    gap: 7px;
  }
  .map-button svg {
    height: 14px;
    width: 14px;
  }
  .closing {
    padding: 70px 7% 0;
  }
  .closing > .eyebrow {
    font-size: 7px;
    letter-spacing: 1.3px;
  }
  .closing h2 {
    font-size: clamp(26px, 7.3vw, 43px);
    letter-spacing: -0.7px;
    line-height: 1.5;
    margin: 24px 0 27px;
  }
  .closing-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 55px;
  }
  .closing-bottom p {
    font-size: 10px;
  }
  .closing footer {
    flex-wrap: wrap;
    row-gap: 17px;
    font-size: 6px;
    padding: 20px 0 25px;
  }
  .closing footer > span:last-child {
    width: 100%;
    font-size: 5px;
    letter-spacing: 1px;
  }
  .closing footer button {
    font-size: 8px;
  }
  .collection-header {
    padding: 24px 6%;
  }
  .collection-header .eyebrow {
    font-size: 7px;
  }
  .collection-header h2 {
    font-size: 32px;
    letter-spacing: -0.8px;
  }
  .collection-tools {
    padding: 18px 6%;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .collection-tools p {
    margin: 0;
    font-size: 9px;
  }
  .collection-tools label {
    width: 100%;
    justify-content: space-between;
    font-size: 8px;
    gap: 6px;
  }
  .collection-tools select {
    max-width: 63%;
    font-size: 9px;
  }
  .photo-grid {
    padding: 8px 6% 30px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 27px 15px;
  }
  .photo-card .thumb {
    height: 190px;
    padding: 13px;
  }
  .photo-card p {
    font-size: 6px;
    letter-spacing: 0.6px;
    line-height: 1.5;
    margin: 12px 0 6px;
  }
  .photo-card h3 {
    font-size: 17px;
  }
  .collection-foot {
    font-size: 6px;
    line-height: 1.8;
    letter-spacing: 1.2px;
  }
  .lightbox-top {
    padding: 16px 5%;
  }
  .lightbox-body {
    padding: 0 5%;
    gap: 0;
    position: relative;
  }
  .photo-arrow {
    position: absolute;
    bottom: 13px;
    z-index: 1;
    background: #252c1de8;
    font-size: 21px;
  }
  .photo-arrow.prev {
    left: 7%;
  }
  .photo-arrow.next {
    right: 7%;
  }
  .photo-info {
    padding: 20px 6% 27px;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .photo-info h2 {
    font-size: 24px;
  }
  .photo-info > p {
    max-width: 100%;
    text-align: left;
    font-size: 8px;
  }
  .photo-display > p {
    bottom: 65px;
    font-size: 10px;
  }
  .tour-map {
    padding: 23px 23px;
    max-height: 91dvh;
  }
  .map-header {
    gap: 10px;
  }
  .map-header .eyebrow {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .map-header h2 {
    font-size: 25px;
    max-width: 190px;
    margin-top: 11px;
  }
  .map-content {
    grid-template-columns: 115px 1fr;
    gap: 18px;
    margin-top: 20px;
  }
  .floor-plan {
    max-height: 280px;
  }
  .map-stop {
    font-size: 9px;
    gap: 10px;
    line-height: 1.7;
    padding: 10px 0;
  }
  .map-note {
    font-size: 8px;
    line-height: 1.9;
    margin-top: 18px;
  }
  .flat-mode .static-frame {
    top: 59%;
  }
  #canvas-host {
    transition: none;
  }
}
@media (max-width: 380px) {
  .header {
    gap: 6px;
    padding-left: 6%;
    padding-right: 5%;
  }
  .brand-signature {
    font-size: 30px;
  }
  .header-controls {
    gap: 3px;
  }
  .nav-link {
    font-size: 8px;
  }
  .intro {
    top: 18%;
  }
  .intro h1 {
    font-size: 54px;
  }
  .intro-copy {
    font-size: 9px;
  }
  .intro-note {
    font-size: 6px;
  }
  .photo-card .thumb {
    height: 155px;
  }
  .scene-caption h2 {
    font-size: 23px;
  }
  .scene-caption .eyebrow {
    font-size: 5.5px;
  }
  .map-content {
    gap: 11px;
    grid-template-columns: 100px 1fr;
  }
}
@media (max-width: 700px) and (max-height: 690px) {
  .intro {
    top: 18%;
  }
  .intro h1 {
    font-size: 49px;
    margin: 14px 0;
  }
  .intro-copy {
    font-size: 9px;
    margin-bottom: 10px;
  }
  .intro-note {
    display: none;
  }
  .static-frame {
    top: 59%;
    width: 54%;
  }
  .static-label {
    display: none;
  }
  .scene-caption {
    bottom: 13%;
    padding: 13px 16px;
  }
  .scene-caption h2 {
    font-size: 23px;
    margin: 7px 0;
  }
  .scene-caption > p:not(.eyebrow) {
    display: none;
  }
  .route {
    top: 30%;
  }
  .map-button {
    bottom: 7%;
  }
  .tour-map {
    padding: 18px;
  }
  .map-header h2 {
    font-size: 24px;
  }
  .map-content {
    margin-top: 6px;
  }
  .map-note {
    margin-top: 8px;
  }
}
@media (max-height: 500px) and (min-width: 701px) {
  .stage {
    min-height: 320px;
  }
  .header {
    height: 64px;
    padding-top: 9px;
    padding-bottom: 9px;
  }
  .brand-signature {
    font-size: 32px;
  }
  .intro {
    top: 22%;
  }
  .intro h1 {
    font-size: 47px;
    letter-spacing: -1.5px;
    margin: 10px 0 12px;
  }
  .intro-copy {
    font-size: 9px;
    line-height: 1.8;
    margin-bottom: 9px;
  }
  .intro .eyebrow {
    font-size: 6px;
  }
  .intro .enter-button {
    min-height: 40px;
    font-size: 9px;
  }
  .intro .enter-button > span {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }
  .intro-note {
    font-size: 6px;
    margin-top: 9px;
  }
  .scene-caption {
    padding: 15px 20px;
    bottom: 17%;
    max-width: 290px;
  }
  .scene-caption h2 {
    font-size: 25px;
  }
  .scene-caption > p:not(.eyebrow) {
    display: none;
  }
  .stage-bottom {
    bottom: 16px;
  }
  .route {
    top: 23%;
    gap: 5px;
  }
  .route #stops {
    gap: 1px;
  }
  .stop {
    height: 27px;
  }
  .route-end {
    display: none;
  }
  .map-button {
    bottom: 8.5%;
  }
  .exhibition-stamp {
    display: none;
  }
  .tour-map {
    max-height: 92dvh;
  }
  .floor-plan {
    max-height: 210px;
  }
  .map-content {
    margin-top: 0;
  }
  .map-stop {
    padding: 5px 0;
    min-height: 30px;
  }
  .map-note {
    margin-top: 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
@media (max-width: 700px) {
  .intro .eyebrow {
    font-size: 8px;
    letter-spacing: 1.1px;
  }
  .intro-copy {
    font-size: 11px;
  }
  .intro-note {
    font-size: 8px;
  }
  .nav-link {
    font-size: 10px;
  }
  .scene-caption .eyebrow {
    font-size: 7px;
    letter-spacing: 1.1px;
  }
  .scene-caption > p:not(.eyebrow) {
    font-size: 10px;
  }
  .scene-caption button {
    font-size: 9px;
  }
  .map-button {
    font-size: 8px;
  }
  .stage-bottom {
    font-size: 7px;
  }
  .collection-tools p {
    font-size: 10px;
  }
  .collection-tools label {
    font-size: 9px;
  }
  .photo-info > p {
    font-size: 9px;
  }
}
@media (max-width: 700px) and (max-height: 690px) {
  .intro .eyebrow {
    font-size: 7px;
  }
  .intro-copy {
    font-size: 10px;
  }
}
@media (max-width: 700px) {
  .mode-button{
    width: 44px;
    min-width: 44px;
    min-height: 44px;
  }
}
/* Keep the default desktop caption below the print; expand only when it is read. */
@media (min-width: 701px) and (min-height: 501px) {
  .scene-caption {
    bottom: 6%;
    padding: 12px 20px;
    max-width: 420px;
  }
  .scene-caption h2 {
    font-size: 26px;
    line-height: 1.25;
    margin: 5px 0;
  }
  .scene-caption > p:not(.eyebrow) {
    display: none;
  }
  .scene-caption button {
    min-height: 26px;
    padding: 5px 0 4px;
  }
  .scene-caption:hover > p:not(.eyebrow),
  .scene-caption:focus-within > p:not(.eyebrow) {
    display: block;
  }
  .scene-caption:hover,
  .scene-caption:focus-within {
    padding-top: 18px;
    padding-bottom: 18px;
  }
}
@media (min-width: 701px) and (max-height: 740px) and (min-height: 501px) {
  .scene-caption {
    bottom: 9%;
  }
}

/* The exhibition grows with the verified selection, while navigation stays compact. */
.stop[hidden] { display: none; }
#frame-position { font-size: 9px; color: #d5c5a9; letter-spacing: .3px; }
.plan-cell-number { font: 10px Inter,Arial; fill:#d8ccb4; text-anchor:middle; }
.map-content { align-items: start; }
.map-stops { max-height: 55svh; overflow-y: auto; padding-right: 10px; scrollbar-width: thin; }
.floor-plan { position: sticky; top: 0; }
#photo-description { max-width: 540px; font-size: 11px; line-height: 1.8; color: #b7b7a6; margin: 9px 0 0; }
.photo-info { gap: 22px; }
@media (min-width:701px) and (min-height:501px) {
  .scene-caption #frame-position { display:block; margin-top:5px; }
  .scene-caption { max-width: 380px; }
}
@media (max-width:700px) {
  #photo-description { font-size: 10px; line-height:1.6; }
  #frame-position { display:block; font-size:8px; max-width:85vw; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .map-stops { max-height: none; }
  .floor-plan { position:static; }
}

@media (max-width:700px) and (orientation:portrait) {
 .route { top:12%; right:5%; }
 .route #stops { flex-direction:row; gap:3px; }
 .stop { background:#171e1344; }
}

@media (max-width:700px) and (orientation:portrait) { .route { display:none; } }
