:root {
  color-scheme: dark;
  --ink: #10110f;
  --wall: #181814;
  --brass: #d8bb84;
  --light-brass: #edcc93;
  --paper: #f2e6d2;
  --muted: #c2b9a8;
  --line: #4a4134;
  --display: Georgia, "Times New Roman", serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) { overflow: hidden; }
h1, h2, h3, p, dl, dd, figure, blockquote { margin: 0; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
::selection { background: var(--brass); color: var(--ink); }
:focus-visible { outline: 2px solid var(--light-brass); outline-offset: 4px; }
h2[tabindex="-1"]:focus { outline: 0; }
section[id] { scroll-margin-top: 76px; }

.frame {
  width: min(1190px, calc(100% - 88px));
  margin-inline: auto;
}
.section-pad { padding-block: clamp(56px, 8vw, 108px); }
.skip-link, .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  z-index: 30;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip-path: none;
  background: var(--brass);
  color: var(--ink);
}

.masthead {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid #d8bb842a;
  background: #10110ff0;
  backdrop-filter: blur(16px);
}
.masthead-inner, .footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  min-height: 68px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--paper);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.02;
  letter-spacing: -.015em;
  text-decoration: none;
}
.wordmark img { flex: none; }
.top-nav {
  display: flex;
  align-items: center;
  gap: clamp(13px, 3vw, 39px);
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}
.top-nav a {
  padding-block: 8px;
  text-decoration: none;
  white-space: nowrap;
}
.top-nav a:hover, .text-link:hover {
  color: var(--light-brass);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.age-inline { color: var(--brass); font-size: .88em; }
.masthead-book { justify-self: end; }

.button, .film-control, .filter-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.button > span[aria-hidden="true"] { font-size: 1.08em; }
.button-brass {
  border-color: var(--brass);
  background: var(--brass);
  color: #211a12;
}
.button-brass:hover { background: #f0d29b; border-color: #f0d29b; }
.button-outline, .film-control, .filter-button {
  border-color: #6e5b41;
  background: transparent;
  color: var(--paper);
}
.button-outline:hover, .film-control:hover:enabled, .filter-button:hover {
  border-color: var(--brass);
  background: #d8bb8419;
}
.button-ink { background: #262019; color: #fff1da; }
.button-ink:hover { background: #4a3824; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  color: var(--brass);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.eyebrow, .field-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--brass);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}
.brass-rule {
  display: inline-block;
  width: 22px;
  height: 1px;
  flex: none;
  background: currentColor;
}
.demo-marker {
  width: fit-content;
  padding: 4px 8px;
  border: 1px solid #9e89684d;
  border-radius: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}
.action-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 21px;
}

.lobby {
  --light-x: 64%;
  --light-y: 41%;
  --art-scale: 1;
  position: relative;
  display: grid;
  min-height: max(590px, calc(100svh - 68px));
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid #b39b6740;
}
.lobby-art, .lobby-image, .lobby-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.lobby-art { z-index: -2; }
.lobby-image {
  transform: scale(var(--art-scale));
  transform-origin: 64% 40%;
  background: #0b0b0a url("assets/hall.webp") center / cover no-repeat;
  filter: brightness(.57);
}
.lobby-light {
  filter: brightness(1.13);
  mask-image: radial-gradient(ellipse clamp(125px, 21vw, 340px) clamp(170px, 34vw, 465px) at var(--light-x) var(--light-y), #000 12%, #000c 43%, transparent 100%);
}
.lobby-vignette {
  z-index: -1;
  background:
    linear-gradient(90deg, #090907ed 0%, #0a0907ac 28%, transparent 57%),
    linear-gradient(0deg, #090907cc, transparent 19%);
}
.lobby-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 66px 80px;
}
.lobby-copy { max-width: min(620px, 58%); }
.lobby-copy h1 {
  margin: 13px 0 20px -.045em;
  color: #fff1da;
  font-family: var(--display);
  font-size: clamp(58px, 8.8vw, 125px);
  font-weight: 400;
  letter-spacing: -.07em;
  line-height: .88;
}
.lobby-copy h1 em { color: #e4c492; font-weight: inherit; }
.lobby-copy > p:not(.eyebrow) { max-width: 347px; color: #e5d4bb; }
.lobby-copy .action-row { margin-top: 26px; }
.lobby-footer {
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(1190px, calc(100% - 88px));
  margin-inline: auto;
}
.light-hint {
  margin-left: auto;
  padding: 5px 9px;
  border: 1px solid #c7a77160;
  border-radius: 4px;
  background: #14120bd9;
  color: #eed3a8;
  font-size: 12px;
}
.light-hint span { margin-right: 3px; }
.light-touch { display: none; }
@media (hover: none) {
  .light-pointer { display: none; }
  .light-touch { display: inline-flex; align-items: center; }
}

.curator-section {
  background:
    radial-gradient(ellipse at 26% 48%, #32271b 0, transparent 59%),
    #161612;
}
.curator-grid {
  display: grid;
  grid-template-columns: minmax(240px, .82fr) 1fr;
  align-items: center;
  gap: clamp(32px, 9vw, 125px);
  max-width: 1040px;
}
.portrait-figure { width: min(100%, 360px); justify-self: center; }
.portrait-frame {
  position: relative;
  display: block;
  width: 100%;
  padding: 8px;
  overflow: hidden;
  border: 2px solid #997c4f;
  border-radius: 2px;
  background: linear-gradient(135deg, #6c5534, #342a1e 25%, #937145 74%, #3a2c19);
  box-shadow: 0 24px 45px -18px #000c, inset 0 0 0 3px #302417;
  color: var(--paper);
}
.portrait-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: filter .3s ease;
}
.portrait-frame:hover img { filter: brightness(1.12); }
.portrait-plate {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 9px 10px;
  border: 1px solid #b79a635e;
  background: #14120fe8;
  font-size: 13px;
  font-weight: 650;
}
.portrait-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.curator-copy h2, .section-heading h2, .doors-heading h2 {
  margin: 11px 0 14px -.035em;
  font-family: var(--display);
  font-size: clamp(40px, 5.9vw, 84px);
  font-weight: 400;
  letter-spacing: -.06em;
  line-height: .98;
}
.curator-copy > p:not(.eyebrow) { max-width: 460px; color: var(--muted); }
.curator-meta {
  display: flex;
  gap: 14px 32px;
  margin-block: 22px 13px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.curator-meta dt {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.curator-meta dd { margin-top: 4px; font-size: 14px; }
.curator-copy blockquote {
  margin-block: 14px 8px;
  padding: 7px 13px;
  border-left: 1px solid var(--brass);
  color: #f0d7b4;
  font-family: var(--display);
  font-size: 19px;
  font-style: italic;
}

.doors-section {
  padding-block: clamp(50px, 7vw, 95px);
  border-block: 1px solid #8d735b3a;
  background: linear-gradient(90deg, #191712, #201912 48%, #161510);
}
.doors-heading { margin-bottom: 22px; }
.doors-heading h2 { font-size: clamp(37px, 5vw, 67px); }
.door-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.door-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(75px, 29%) 1fr;
  align-items: center;
  gap: clamp(12px, 3vw, 37px);
  min-height: 188px;
  overflow: hidden;
  padding: clamp(14px, 2.5vw, 26px);
  border: 1px solid #756044;
  border-radius: 5px;
  background: radial-gradient(ellipse at 20% 70%, #483324, transparent 65%), #201a17;
  color: var(--paper);
  text-decoration: none;
  transition: border-color .25s ease, background-color .25s ease;
}
.door-desk { background: radial-gradient(ellipse at 20% 65%, #344031, transparent 67%), #1c211a; }
.door-card:hover { border-color: var(--brass); }
.door-ornament {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: center;
  width: min(100%, 116px);
  aspect-ratio: .62;
  overflow: hidden;
  border: 1px solid #d8bb8470;
  border-radius: 60% 60% 3px 3px / 38% 38% 3px 3px;
  background: radial-gradient(ellipse at 48% 70%, #c49052, #53412b 35%, #1e1710 83%);
  perspective: 350px;
}
.door-ornament i, .door-ornament b {
  position: absolute;
  inset: 4px 50% 4px 4px;
  border: 1px solid #82623f;
  border-radius: 90% 0 0 0 / 27% 0 0 0;
  background: repeating-linear-gradient(90deg, #392b1d 0 4px, #2d2218 4px 8px);
  transform-origin: left;
  transition: transform .45s ease;
}
.door-ornament b {
  inset: 4px 4px 4px 50%;
  border-radius: 0 90% 0 0 / 0 27% 0 0;
  transform-origin: right;
}
.door-card:hover .door-ornament i, .door-card:focus-visible .door-ornament i { transform: rotateY(62deg); }
.door-card:hover .door-ornament b, .door-card:focus-visible .door-ornament b { transform: rotateY(-62deg); }
.door-copy { display: grid; gap: 7px; }
.door-copy strong {
  color: #f4e1c3;
  font-family: var(--display);
  font-size: clamp(23px, 3.15vw, 44px);
  font-weight: 400;
  letter-spacing: -.052em;
  line-height: 1;
}
.door-copy > span:last-child { color: var(--muted); font-size: 13px; }

.projection-section {
  background:
    radial-gradient(ellipse at 53% 11%, #33241d, transparent 64%),
    #141210;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px 30px;
  margin-bottom: 26px;
}
.section-heading h2 { margin-bottom: 0; }
.section-heading p:not(.eyebrow) { max-width: 360px; color: var(--muted); }
.projection-layout { display: grid; grid-template-columns: 1.85fr 1fr; gap: 18px; }
.projection-console {
  --screen-ink: #33281c;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #76654e;
  border-radius: 5px;
  background: #0c0c0b;
  box-shadow: 0 23px 44px -24px #000c;
}
.projection-console[data-reel="imagine"] { --screen-ink: #273b33; }
.projection-console[data-reel="dirty-talk"] { --screen-ink: #402c3a; }
.film-perforations {
  height: 19px;
  margin-inline: 10px;
  background: repeating-linear-gradient(90deg, #aa906141 0 8px, transparent 8px 22px) center / 100% 6px no-repeat;
}
.projection-screen {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: clamp(300px, 31vw, 400px);
  padding: clamp(16px, 3vw, 34px);
  border-block: 1px solid #b69a6b4b;
  background:
    repeating-linear-gradient(0deg, #fff3dc09 0 1px, transparent 1px 5px),
    radial-gradient(ellipse at 50% 51%, var(--screen-ink), #131412 78%);
}
.screen-meta, .screen-state {
  color: #ddc6a0;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.screen-meta { display: flex; justify-content: space-between; gap: 8px; }
.screen-state { text-align: center; }
.screen-caption {
  align-self: center;
  padding-block: 13px;
  text-align: center;
}
.screen-speaker {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.screen-line {
  max-width: 20em;
  margin: 9px auto 0;
  color: #f6e5cb;
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.19;
  letter-spacing: -.031em;
}
.projection-controls {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 2px 10px 11px;
}
.film-control {
  min-height: 39px;
  min-width: 39px;
  padding: 7px 10px;
  font-size: 13px;
}
.film-control:disabled { opacity: .46; }
#previous-frame, #next-frame, #previous-image, #next-image, .close-viewer { font-size: 24px; }
.reel-desk {
  align-self: start;
  min-width: 0;
  padding: clamp(12px, 2vw, 20px);
  border: 1px solid #6e5b41;
  border-radius: 5px;
  background: #1d1814;
}
.reel-desk > p { margin-bottom: 11px; }
.reel-list { display: grid; gap: 8px; }
.reel-button {
  display: grid;
  grid-template-columns: 45px 1fr;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 10px;
  border: 1px solid #7965497d;
  border-radius: 4px;
  background: #251f19;
  color: var(--paper);
  text-align: left;
}
.reel-button:hover, .reel-button[aria-pressed="true"] {
  border-color: var(--brass);
  background: #3a2d1f;
}
.reel-disc {
  display: grid;
  place-items: center;
  width: 45px;
  aspect-ratio: 1;
  border: 1px solid #cfa66d;
  border-radius: 50%;
  background:
    radial-gradient(circle, #2c2219 36%, transparent 37%),
    repeating-conic-gradient(from 20deg, #a67e47 0 24deg, #4d3a25 24deg 69deg);
  color: #ffe0ab;
  font: 650 10px var(--mono);
}
.reel-label { display: grid; gap: 3px; }
.reel-label strong { font-family: var(--display); font-size: 22px; font-weight: 400; line-height: 1; }
.reel-label > span { color: var(--muted); font-size: 12px; line-height: 1.35; }
.projection-followup {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 10px 11px;
}
.projection-followup .button { min-height: 39px; font-size: 13px; }
.screen-caption:focus { outline: 0; }

.archive-section {
  border-block: 1px solid #9d856044;
  background:
    repeating-linear-gradient(90deg, #aa916109 0 1px, transparent 1px 84px),
    #1a1a15;
}
.archive-heading h2 { margin-bottom: 8px; }
.archive-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-button { min-height: 39px; padding: 7px 13px; font-size: 13px; }
.filter-button[aria-pressed="true"] { background: var(--brass); color: #20180f; }
.archive-count { margin: 9px 0 11px; color: var(--muted); font-size: 13px; }
.archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.archive-card {
  --reel-tone: #d3b179;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 16px;
  border: 1px solid #73634b;
  border-top: 2px solid var(--reel-tone);
  border-radius: 4px;
  background: linear-gradient(156deg, #28241b, #1d1c16);
}
.archive-card[data-category="imagine"] { --reel-tone: #adc6a0; }
.archive-card[data-category="dirty-talk"] { --reel-tone: #d2a6b7; }
.archive-card-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 7px;
  border-bottom: 1px dashed #8e7c5d9c;
  color: var(--reel-tone);
  font: 650 10px var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.archive-card h3 {
  margin: 11px 0 7px;
  font-family: var(--display);
  font-size: clamp(21px, 2.7vw, 32px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.05;
}
.archive-card dl {
  flex: 1;
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 13px;
}
.archive-card dl > div { display: grid; grid-template-columns: 50px 1fr; gap: 7px; }
.archive-card dt { color: var(--reel-tone); }
.inspect-session { justify-content: space-between; width: 100%; min-height: 40px; font-size: 12px; }

.desk-section {
  background: radial-gradient(ellipse at 80% 0%, #322922, transparent 69%), #181613;
}
.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, .7fr);
  align-items: start;
  gap: 15px;
}
.booking-form {
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: clamp(15px, 2.75vw, 32px);
  border: 1px solid #68563f;
  border-radius: 5px;
  background: #201c17;
}
.package-fieldset { min-width: 0; padding: 0; border: 0; margin: 0; }
.package-fieldset legend, .form-field, .terms-accept { font-size: 14px; font-weight: 650; }
.required-mark { color: var(--brass); }
.package-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 7px; }
.package-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 5px;
  min-width: 0;
  padding: 11px;
  border: 1px solid #68563f;
  border-radius: 4px;
  background: #282019;
  cursor: pointer;
}
.package-card:hover, .package-card:has(input:checked) { border-color: var(--brass); background: #382c1e; }
.package-card:focus-within { outline: 2px solid var(--brass); outline-offset: 2px; }
.package-card input {
  position: absolute;
  top: 11px;
  right: 9px;
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--brass);
}
.package-kicker {
  padding-right: 23px;
  color: var(--brass);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.3;
}
.package-card strong {
  font-family: var(--display);
  font-size: clamp(21px, 2.4vw, 29px);
  font-weight: 400;
  line-height: 1.08;
}
.package-description, .package-price { color: var(--muted); font-size: 12px; line-height: 1.4; }
.package-price { margin-top: 1px; color: #e5cba4; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.form-field { display: block; min-width: 0; }
.field-optional { float: right; color: var(--muted); font-size: 11px; font-weight: 500; }
.form-field input, .form-field textarea, .form-field select {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-top: 5px;
  padding: 9px 10px;
  border: 1px solid #7b664a;
  border-radius: 4px;
  background: #171612;
  color: var(--paper);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: #ada18e; opacity: 1; }
.form-field textarea { resize: vertical; }
.booking-reference {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 9px 11px;
  border: 1px dashed #b99d6f;
  border-radius: 4px;
  background: #362b1d;
}
.booking-reference strong { display: block; margin-top: 2px; font-weight: 650; overflow-wrap: anywhere; }
.booking-reference .field-kicker { font-size: 9px; }
.terms-accept { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; font-weight: 500; }
.terms-accept label { display: inline-flex; align-items: flex-start; gap: 8px; cursor: pointer; }
.terms-accept input { flex: none; width: 17px; height: 17px; margin: 3px 0 0; accent-color: var(--brass); }
.terms-accept .text-link { font-size: 13px; }

.ticket {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: clamp(16px, 2.7vw, 29px);
  border: 1px solid #d5bb87;
  border-radius: 5px;
  background: radial-gradient(ellipse at top left, #f7e9cc, #e1caa4);
  color: #241c14;
}
.ticket-top {
  display: flex;
  justify-content: space-between;
  gap: 7px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #967448;
  color: #674d2f;
  font: 700 11px var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.ticket h3, .terms-section h3 {
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.15;
}
.ticket textarea {
  display: block;
  width: 100%;
  min-height: 236px;
  padding: 9px;
  border: 1px solid #ae9068;
  border-radius: 4px;
  background: #fbf1de;
  color: #261c12;
  font: 13px/1.45 var(--mono);
  resize: vertical;
}
.ticket .button { justify-content: space-between; width: 100%; }
.ticket :focus-visible { outline-color: #6e4924; }
.ticket p { color: #5c472f; font-size: 12px; }
.ticket-contact { color: #48331e; font-size: 13px; }
.ticket-contact:hover { color: #694720; }

.terms-section {
  display: grid;
  grid-template-columns: minmax(210px, .65fr) 1.35fr;
  gap: 15px 35px;
  margin-top: 33px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}
.terms-section h3 { margin-block: 5px 7px; }
.terms-list details { border-bottom: 1px solid var(--line); }
.terms-list summary { padding: 8px 4px; color: var(--paper); font-size: 14px; font-weight: 650; cursor: pointer; }
.terms-list summary::marker { color: var(--brass); }
.terms-list p { padding: 0 10px 10px 18px; color: var(--muted); font-size: 14px; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 80px; }
.footer-inner p { color: var(--muted); text-align: center; font-size: 12px; }
.footer-inner > .text-link { justify-self: end; }

.archive-viewer {
  width: min(620px, calc(100% - 26px));
  max-width: none;
  max-height: calc(100svh - 20px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid #b69a68;
  border-radius: 7px;
  background: #211b15;
  color: var(--paper);
}
.archive-viewer::backdrop { background: #070705da; backdrop-filter: blur(4px); }
.viewer-panel { display: grid; gap: 9px; padding: clamp(12px, 2.7vw, 22px); }
.viewer-heading { display: flex; align-items: start; justify-content: space-between; gap: 9px; }
.viewer-heading h2 {
  margin-block: 3px;
  font-family: var(--display);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.06;
}
.viewer-heading p:not(.eyebrow) { color: var(--muted); font-size: 13px; }
.viewer-image-area {
  height: clamp(235px, 54svh, 580px);
  overflow: auto;
  border: 1px solid #7f684a;
  border-radius: 4px;
  background: #11110e;
}
.viewer-image-area img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  margin: 0 auto;
  object-fit: contain;
}
.viewer-image-area.is-zoomed img { width: max(100%, 590px); max-width: none; height: auto; margin: 0; }
.viewer-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
#image-count { min-width: 45px; color: var(--brass); font: 650 12px var(--mono); text-align: center; }
#zoom-image { margin-left: auto; }
#attach-reference { width: 100%; }

.door-transition {
  position: fixed;
  inset: 0;
  z-index: 22;
  display: none;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  pointer-events: none;
}
.door-transition.is-active { display: grid; }
.door-transition i {
  border: 1px solid #9c8157;
  background:
    repeating-linear-gradient(90deg, #d6b18712 0 1px, transparent 1px 60px),
    radial-gradient(ellipse at 85% 30%, #302418, #100e0b 70%);
  animation: leaf-left 760ms ease-in-out both;
}
.door-transition i + i { animation-name: leaf-right; }
@keyframes leaf-left { 0%, 100% { transform: translateX(-102%); } 42%, 53% { transform: translateX(0); } }
@keyframes leaf-right { 0%, 100% { transform: translateX(102%); } 42%, 53% { transform: translateX(0); } }
.noscript-note { padding: 12px; background: #d8bb84; color: #211a12; text-align: center; }

@media (max-width: 920px) {
  .frame, .lobby-footer { width: calc(100% - 48px); }
  .projection-layout { grid-template-columns: 1.45fr 1fr; gap: 10px; }
  .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 690px) {
  .frame, .lobby-footer { width: calc(100% - 36px); }
  section[id] { scroll-margin-top: 16px; }
  .masthead { position: relative; }
  .masthead-inner {
    grid-template-columns: 1fr auto;
    gap: 2px 7px;
    padding-top: 8px;
  }
  .top-nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 8px; }
  .top-nav a { min-height: 40px; }
  .masthead-book { min-height: 38px; padding: 7px 9px; font-size: 12px; }
  .lobby {
    --light-x: 63%;
    --light-y: 32%;
    min-height: 640px;
  }
  .lobby-image { background-position: 62% 46%; }
  .lobby-vignette {
    background:
      linear-gradient(0deg, #090907 0%, #090907e6 27%, #0909074f 55%, transparent 75%),
      linear-gradient(90deg, #09090750, transparent 60%);
  }
  .lobby-inner { justify-content: flex-end; padding-block: 225px 81px; }
  .lobby-copy { max-width: 100%; }
  .lobby-copy h1 { margin-bottom: 14px; font-size: clamp(54px, 12vw, 79px); }
  .lobby-copy .action-row { margin-top: 17px; }
  .lobby-footer { bottom: 13px; flex-wrap: wrap; gap: 5px; }
  .light-hint { margin-left: 0; font-size: 10px; }
  .curator-grid, .projection-layout, .booking-layout, .terms-section { grid-template-columns: 1fr; }
  .curator-grid { gap: 23px; }
  .portrait-figure { width: min(100%, 290px); }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
  .door-grid { grid-template-columns: 1fr; gap: 9px; }
  .door-card { min-height: 131px; }
  .door-ornament { width: min(100%, 76px); }
  .projection-console { scroll-margin-top: 14px; }
  .projection-screen { min-height: 290px; }
  .archive-grid { gap: 9px; }
  .archive-card { padding: 12px; }
  .footer-inner {
    grid-template-columns: 1fr auto;
    gap: 6px 8px;
    padding-block: 13px;
  }
  .footer-inner p { grid-column: 1 / -1; grid-row: 2; text-align: left; }
}

@media (max-width: 430px) {
  .archive-grid { grid-template-columns: 1fr; }
  .package-grid { grid-template-columns: 1fr; }
  .lobby-copy h1 { font-size: clamp(47px, 12.7vw, 57px); }
  .lobby-copy .action-row { gap: 8px 13px; }
  .lobby-copy .button { padding-inline: 10px; }
  .lobby-copy .text-link { font-size: 13px; }
}

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

#frame-count { flex: none; }
