/* The room. Loaded only by room.html. The public shop does not use this file. */

.room-page {
  --mast: 30.25rem;
}

.room-page .nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.room-page .nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(201, 162, 76, 0.42);
  background: transparent;
  color: var(--cream);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
  white-space: nowrap;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}

.room-page .nav a::after {
  content: none;
}

.room-page .nav a:hover,
.room-page .nav a:focus-visible {
  border-color: var(--gold);
  color: var(--gold-2);
}

.room-page .nav a:first-child {
  border-color: var(--gold);
  color: var(--gold-2);
  background: rgba(201, 162, 76, 0.08);
}

.room-page .nav a:first-child:hover,
.room-page .nav a:first-child:focus-visible {
  background: var(--gold);
  color: var(--navy-0);
}

.room-page .nav a:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
}

.room-page main {
  min-height: calc(100vh - var(--head-h));
  display: grid;
  grid-template-rows: auto auto minmax(18rem, 1fr);
}

.room-enter {
  padding-top: 0;
  padding-bottom: 0.15rem;
}

.room-enter > .wrap {
  padding-top: 0.95rem;
}

.room-enter .eyebrow {
  margin: 0;
}

.room-enter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.7rem;
  margin-top: 0.35rem;
}

.room-enter h1 {
  font-size: clamp(3.4rem, 7vw, 6.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.86;
  padding-bottom: 0.26em;
}

.room-enter-row p {
  margin: 0;
  max-width: 36rem;
  color: var(--cream);
  font-size: 1.05rem;
  line-height: 1.45;
  text-wrap: balance;
}

.room-receives {
  max-width: 42rem;
  margin-top: 0.35rem;
}

.room-receives span {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--gold-2);
}

.room-key {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem 1.35rem;
  margin: 1.05rem 0 0;
  padding: 0;
  list-style: none;
}

.room-key li {
  min-width: 0;
  margin: 0;
  padding: 0.55rem 0 0;
  border-top: 1px solid var(--line);
  color: var(--cream-dim);
}

.room-key li[aria-current="true"] {
  border-top: 2px solid var(--gold);
  padding-top: calc(0.55rem - 1px);
  color: var(--cream);
}

.key-n,
.key-name,
.key-fact {
  display: block;
}

.key-n {
  color: rgba(201, 162, 76, 0.55);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
}

.room-key li[aria-current="true"] .key-n {
  color: var(--gold);
}

.key-name {
  margin-top: 0.28rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.key-fact {
  margin-top: 0.18rem;
  max-width: 16rem;
  font-size: 0.78rem;
  line-height: 1.35;
}

.room-record {
  margin: 0.85rem 0 0;
  max-width: 34rem;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.room-study {
  margin: 0.7rem 0 0;
  max-width: 28rem;
  color: var(--cream-dim);
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: none;
}

.room-filters {
  margin-top: 0.9rem;
}

.filter-groups {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.25rem;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.4rem;
  min-width: 0;
}

.filter-label {
  margin: 0 0.15rem 0 0;
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.filter-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.filter-choices button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  min-height: 1.85rem;
  padding: 0.15rem 0.55rem;
  border: 1px solid rgba(241, 230, 208, 0.22);
  background: transparent;
  color: var(--cream-dim);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.filter-choices button[aria-pressed="true"] {
  border-color: var(--gold);
  background: rgba(201, 162, 76, 0.14);
  color: var(--gold-2);
}

.filter-choices button:hover,
.filter-choices button:focus-visible {
  border-color: var(--gold);
  color: var(--cream);
}

.filter-choices button:focus-visible,
.filter-clear:focus-visible,
.filter-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.filter-swatch {
  width: 0.7rem;
  height: 0.7rem;
  border: 1px solid rgba(241, 230, 208, 0.45);
}

.filter-swatch.black { background: #2b2b2b; }
.filter-swatch.gold { background: #c9a24c; }
.filter-swatch.oak { background: #d2b48a; }
.filter-swatch.dusk { background: #6a4632; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.8rem;
  margin-top: 0.45rem;
}

.filter-bar:not(:has(#filterClear:not([hidden]))) {
  display: none;
}

.filter-note {
  margin: 0;
  color: var(--cream);
  font-size: 0.88rem;
  line-height: 1.3;
}

.filter-clear,
.filter-toggle {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.filter-toggle {
  display: none;
}

.filter-clear:hover,
.filter-clear:focus-visible,
.filter-toggle:hover,
.filter-toggle:focus-visible {
  color: var(--gold-2);
}

.bay-empty {
  margin: 1.15rem 0 0;
  color: var(--cream-dim);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.2;
}

.room-walk {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0.9rem 0 0;
}

.room-walk a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.32rem;
  margin: 0;
  min-height: 3.35rem;
  padding: 0.62rem 0.95rem 0.58rem;
  border: 1px solid rgba(201, 162, 76, 0.55);
  background: transparent;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1;
  text-align: left;
  text-decoration: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

.walk-name {
  padding-bottom: 0;
  border-bottom: 0;
}

.walk-kind {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.room-walk a[aria-current="true"] {
  border-color: var(--gold);
  background: rgba(201, 162, 76, 0.12);
  color: var(--cream);
}

.room-walk a[aria-current="true"] .walk-name {
  border-bottom-color: transparent;
}

.room-walk a:hover,
.room-walk a:focus-visible {
  border-color: var(--gold-2);
  color: var(--cream);
}

.room-walk a[aria-current="true"]:hover,
.room-walk a[aria-current="true"]:focus-visible {
  background: rgba(201, 162, 76, 0.18);
}

.room-walk a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.room-rail-wrap {
  position: relative;
  min-width: 0;
  min-height: 0;
  container-type: inline-size;
}

.room-rail {
  position: relative;
  display: flex;
  align-items: flex-start;
  width: min(100%, calc(var(--max) + 2 * var(--space)));
  min-width: 0;
  height: auto;
  margin-inline: auto;
  padding: 1.5rem var(--space) 3rem;
  overflow: visible;
}

.room-rail:focus {
  outline: none;
}

.room-rail:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -4px;
}

.room-rail::-webkit-scrollbar {
  height: 8px;
}

.room-rail::-webkit-scrollbar-track {
  background: transparent;
}

.room-rail::-webkit-scrollbar-thumb {
  background: rgba(201, 162, 76, 0.45);
}

.room-bay {
  display: none;
  grid-template-columns: 13rem minmax(0, 1fr);
  gap: 1.4rem 1.6rem;
  align-items: center;
  flex: 1;
  width: 100%;
  min-width: 0;
}

.room-bay.is-on {
  display: grid;
  --base: clamp(14.5rem, calc(100svh - var(--mast, 33rem) - 9.4rem), 16.5rem);
}

.bay-name h2 {
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 500;
  line-height: 0.95;
}

.bay-name .bay-kind {
  margin: 0 0 0.45rem;
  max-width: none;
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.bay-name p {
  margin: 0.55rem 0 0;
  max-width: 12rem;
  color: var(--cream-dim);
  font-size: 0.92rem;
  line-height: 1.35;
}

.bay-name .bay-each {
  margin-top: 0.12rem;
}

.bay-shared {
  color: var(--gold) !important;
  font-size: 0.62rem !important;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bay-scroll {
  width: 100%;
  min-width: 0;
}

.bay-scroll.is-overflow {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr) 2.25rem;
  column-gap: 0.75rem;
  align-items: start;
}

.bay-scroll:not(.is-overflow) .bay-nudge {
  display: none;
}

.bay-nudge {
  position: static;
  display: grid;
  place-items: center;
  align-self: start;
  width: 2.25rem;
  height: 2.25rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(201, 162, 76, 0.75);
  background: rgba(5, 10, 20, 0.88);
  color: var(--gold-2);
}

.bay-nudge:disabled {
  opacity: 0.35;
  cursor: default;
}

.bay-nudge[hidden] {
  display: none;
}

.bay-nudge::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-left: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
}

.bay-nudge.is-prev::before {
  transform: rotate(45deg);
  margin-left: 0.12rem;
}

.bay-nudge.is-next::before {
  transform: rotate(-135deg);
  margin-right: 0.12rem;
}

.bay-nudge:hover:not(:disabled),
.bay-nudge:focus-visible:not(:disabled) {
  border-color: var(--gold-2);
  background: rgba(5, 10, 20, 0.96);
}

.bay-nudge:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.bay-row {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 2.6rem;
  width: 100%;
  min-width: 0;
  padding-top: 1.15rem;
  padding-bottom: 0.85rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: none;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 162, 76, 0.45) transparent;
}

.bay-row:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.bay-row.is-panning,
.bay-row.is-panning * {
  cursor: grabbing;
  user-select: none;
}

.bay-row::-webkit-scrollbar {
  height: 8px;
}

.bay-row::-webkit-scrollbar-thumb {
  background: rgba(201, 162, 76, 0.45);
}

.bay-row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(201, 162, 76, 0.42);
}

.room-piece {
  --span: calc(var(--w) / 20 * var(--base, 14.5rem));
  display: grid;
  justify-items: stretch;
  width: var(--span);
  flex: none;
  scroll-snap-align: none;
  margin: 0;
  padding: 0;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

@media (prefers-reduced-motion: no-preference) {
  .room-piece {
    animation: room-settle 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .bay-row .room-piece:nth-child(2) { animation-delay: 0.08s; }
  .bay-row .room-piece:nth-child(3) { animation-delay: 0.16s; }
  .room-bay:nth-child(2) .room-piece { animation-delay: 0.18s; }
  .room-bay:nth-child(2) .bay-row .room-piece:nth-child(2) { animation-delay: 0.26s; }
  .room-bay:nth-child(2) .bay-row .room-piece:nth-child(3) { animation-delay: 0.34s; }
}

@keyframes room-settle {
  from { opacity: 0; transform: translateY(0.8rem); }
  to { opacity: 1; transform: none; }
}

.room-piece::before {
  content: "";
  display: block;
  width: 1px;
  height: 1.15rem;
  margin: 0 auto;
  background: rgba(201, 162, 76, 0.7);
}

.room-piece:hover .room-mould,
.room-piece:focus-visible .room-mould {
  transform: translateY(-3px);
}

.room-piece:focus-visible {
  outline: none;
}

.room-piece:focus-visible .room-label {
  color: var(--gold-2);
}

.room-mould {
  display: block;
  padding: clamp(0.45rem, calc(var(--w) * 0.045rem), 0.85rem);
  background: #141414;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 16px 28px rgba(0, 0, 0, 0.38);
  transition: transform 0.25s ease;
}

.room-mould.is-gold {
  background:
    repeating-linear-gradient(90deg, rgba(255, 236, 190, 0.18) 0 1px, transparent 1px 3px),
    linear-gradient(165deg, #e4c56a 0%, #c6a04a 48%, #a48432 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 200, 0.55),
    inset 0 -1px 0 rgba(90, 62, 16, 0.4),
    0 16px 28px rgba(0, 0, 0, 0.42);
}

.room-mould.is-oak {
  background:
    repeating-linear-gradient(90deg, rgba(120, 86, 42, 0.16) 0 1px, transparent 1px 4px),
    linear-gradient(165deg, #e7d3a8 0%, #d2b48a 52%, #c4a574 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 230, 0.45),
    inset 0 -1px 0 rgba(90, 62, 28, 0.28),
    0 16px 28px rgba(0, 0, 0, 0.38);
}

.room-mould.is-dusk {
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.22) 0 1px, transparent 1px 5px),
    linear-gradient(165deg, #6a4632 0%, #4a2e1e 55%, #3a2418 100%);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.48);
}

.room-mould img {
  display: block;
  width: 100%;
  aspect-ratio: var(--w) / var(--h);
  object-fit: cover;
  object-position: center;
  background: #141414;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.room-label {
  display: grid;
  gap: 0.12rem;
  margin-top: 0.75rem;
  min-width: 0;
  max-width: 100%;
}

.room-label > * {
  max-width: 100%;
  overflow-wrap: break-word;
}

.label-place {
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.label-title {
  font-family: var(--serif);
  font-size: clamp(1.08rem, calc(var(--span) * 0.12), 1.45rem);
  font-weight: 500;
  line-height: 1.05;
}

.label-meta,
.label-state {
  color: var(--cream-dim);
  font-size: 0.78rem;
  line-height: 1.3;
}

.label-price {
  display: grid;
  gap: 0.08rem;
  margin-top: 0.2rem;
  color: var(--cream);
  font-size: 0.95rem;
}

.label-price .price-usd {
  color: var(--cream-dim);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-transform: none;
}

.label-state {
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.piece-open {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  color: inherit;
  text-align: left;
  text-decoration: none;
}

.piece-open:focus-visible {
  outline: 1px solid var(--gold-2);
  outline-offset: 3px;
}

.piece-open:focus-visible .room-label {
  color: var(--gold-2);
}

.piece-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.7rem;
  margin-top: 0.45rem;
}

.piece-actions .label-state {
  margin: 0;
}

.quick-claim {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  margin: 0;
  padding: 0 0.7rem;
  border: 1px solid rgba(201, 162, 76, 0.75);
  color: var(--gold-2);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.quick-claim:hover,
.quick-claim:focus-visible {
  border-color: var(--gold-2);
  color: var(--cream);
  outline: none;
}

.bay-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.9rem;
  padding: 0.48rem 0.75rem 0.48rem 0.6rem;
  border: 1px solid rgba(201, 162, 76, 0.7);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1;
  text-align: left;
  text-decoration: none;
  text-transform: uppercase;
}

.bay-back::before {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  border-left: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg);
}

.bay-back:hover,
.bay-back:focus-visible {
  border-color: var(--gold);
  color: var(--gold-2);
}

.bay-back:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.bay-name .bay-sold {
  margin-top: 0.45rem;
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rehang-block {
  display: grid;
  justify-items: start;
  gap: 0.28rem;
  margin-top: 0.9rem;
}

.rehang {
  margin: 0;
  padding: 0.28rem 0;
  border-bottom: 1px solid rgba(201, 162, 76, 0.55);
  color: var(--gold-2);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.rehang:hover,
.rehang:focus-visible {
  color: var(--cream);
  border-bottom-color: var(--gold);
}

.rehang:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
}

.rehang-note {
  margin: 0;
  max-width: 11rem;
  color: var(--cream-dim);
  font-size: 0.78rem;
  line-height: 1.35;
}

.room-bay.is-index.is-on {
  align-items: start;
  height: auto;
}

.collection-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  align-content: start;
  width: 100%;
  padding: 0;
  overflow: visible;
}

.collection-card {
  display: grid;
  grid-template-columns: min(16.5rem, 42%) minmax(0, 1fr);
  gap: 0.15rem 1.15rem;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
  color: inherit;
  text-align: left;
  text-decoration: none;
}

.collection-card::before {
  content: "";
  display: block;
  grid-column: 1;
  width: 1px;
  height: 0.85rem;
  margin: 0 auto;
  background: rgba(201, 162, 76, 0.7);
}

.collection-card:hover .room-mould,
.collection-card:focus-visible .room-mould {
  transform: translateY(-3px);
}

.collection-card:focus-visible {
  outline: none;
}

.collection-card:focus-visible .collection-name {
  color: var(--gold-2);
}

.collection-mould {
  grid-column: 1;
  justify-self: center;
  width: calc(var(--w, 20) / 20 * 100%);
  padding: 0.55rem;
}

.collection-mould img {
  aspect-ratio: var(--w, 16) / var(--h, 16);
}

.collection-copy {
  display: grid;
  grid-column: 2;
  grid-row: 1 / span 2;
  gap: 0.08rem;
  align-content: center;
  margin-top: 0;
}

.collection-name {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.05;
}

.collection-count,
.collection-each {
  color: var(--cream-dim);
  font-size: 0.84rem;
  line-height: 1.3;
}

.collection-shared,
.collection-sold {
  margin-top: 0.28rem;
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.room-piece.is-sold .label-title {
  color: var(--cream-dim);
  text-decoration-line: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--gold);
}

.view-card.is-sold h2 {
  text-decoration-line: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--gold-deep);
}

.collection-card.is-sold .collection-name {
  color: var(--cream-dim);
}

.room-piece.is-sold .label-price {
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.room-piece.is-sold .room-mould img,
.collection-card.is-sold .room-mould img,
.view-frame.is-sold img,
.neighbor-mould.is-sold img {
  filter: grayscale(1);
  opacity: 0.55;
}

@media (max-width: 1100px), ((max-height: 780px) and (min-width: 1101px) and (min-height: 561px)) {
  .room-page {
    --mast: 36rem;
  }

  .room-bay.is-on {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 0.55rem;
  }

  .room-bay.is-on .bay-name {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.2rem 0.85rem;
    max-width: 46rem;
  }

  .room-bay.is-on .bay-back {
    margin: 0;
  }

  .room-bay.is-on .bay-name h2 {
    margin: 0;
    font-size: clamp(1.85rem, 4vw, 2.45rem);
  }

  .room-bay.is-on .bay-name p,
  .room-bay.is-on .bay-name .bay-sold {
    margin: 0;
    max-width: none;
  }

  .room-bay.is-on .rehang-block {
    flex-basis: 100%;
    margin-top: 0.35rem;
  }

  .room-bay.is-on:not(.is-index) .bay-row {
    justify-content: flex-start;
  }
}

@media (max-height: 780px) and (min-width: 861px) {
  .room-page {
    --mast: 26.5rem;
  }

  .room-page main:not(.is-museum):not(.is-reading) .room-enter > .wrap {
    padding-top: 0.4rem;
  }

  .room-page main:not(.is-museum):not(.is-reading) .room-enter h1 {
    font-size: clamp(2.3rem, 4.8vw, 3.4rem);
  }

  .room-page main:not(.is-museum):not(.is-reading) .room-enter-row {
    gap: 0.3rem;
    margin-top: 0.12rem;
  }

  .room-page main:not(.is-museum):not(.is-reading) .room-enter-row p {
    font-size: 0.95rem;
    line-height: 1.35;
  }

  .room-page main:not(.is-museum):not(.is-reading) .room-key {
    margin-top: 0.4rem;
    gap: 0.32rem 1rem;
  }

  .room-page main:not(.is-museum):not(.is-reading) .room-key li {
    padding-top: 0.32rem;
  }

  .room-page main:not(.is-museum):not(.is-reading) .key-name {
    margin-top: 0.16rem;
    font-size: 1.02rem;
  }

  .room-page main:not(.is-museum):not(.is-reading) .room-walk {
    margin-top: 0.35rem;
    gap: 0.25rem 1.25rem;
  }

  .room-page main:not(.is-museum):not(.is-reading) .room-record {
    margin-top: 0.35rem;
    font-size: 1.05rem;
  }

  .room-page main:not(.is-museum):not(.is-reading) .room-study {
    margin-top: 0.25rem;
  }

  .room-rail {
    padding-top: 0.45rem;
    padding-bottom: 1.35rem;
  }
}

@media (max-height: 740px) and (min-width: 861px) {
  .room-page main:not(.is-museum):not(.is-reading) .room-enter h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
  }

  .room-page main:not(.is-museum):not(.is-reading) .room-enter-row p {
    font-size: 0.9rem;
    line-height: 1.3;
  }

  .room-page main:not(.is-museum):not(.is-reading) .room-key {
    margin-top: 0.28rem;
    gap: 0.2rem 0.85rem;
  }

  .room-page main:not(.is-museum):not(.is-reading) .room-key li {
    padding-top: 0.18rem;
  }

  .room-page main:not(.is-museum):not(.is-reading) .key-name {
    margin-top: 0.08rem;
    font-size: 0.98rem;
  }

  .room-page main:not(.is-museum):not(.is-reading) .key-fact {
    margin-top: 0.06rem;
    font-size: 0.7rem;
    line-height: 1.25;
  }

  .room-page main:not(.is-museum):not(.is-reading) .room-walk {
    margin-top: 0.2rem;
  }

  .room-page main:not(.is-museum):not(.is-reading) .room-record {
    margin-top: 0.2rem;
    font-size: 1rem;
  }

  .room-page main:not(.is-museum):not(.is-reading) .room-study {
    margin-top: 0.12rem;
  }

  .room-piece::before {
    height: 0.45rem;
  }

  .bay-row {
    padding-top: 0.4rem;
  }

  .room-label {
    margin-top: 0.45rem;
    gap: 0.06rem;
  }
}

@media (max-height: 520px) and (min-width: 861px) {
  .room-page main:not(.is-museum):not(.is-reading) .room-enter > .wrap {
    padding-top: 0.15rem;
  }

  .room-page main:not(.is-museum):not(.is-reading) .room-enter-row {
    gap: 0.15rem;
  }

  .room-page main:not(.is-museum):not(.is-reading) .room-key {
    margin-top: 0.22rem;
    gap: 0.18rem 0.8rem;
  }

  .room-page main:not(.is-museum):not(.is-reading) .room-key li {
    padding-top: 0.16rem;
  }

  .room-page main:not(.is-museum):not(.is-reading) .room-walk {
    margin-top: 0.16rem;
  }

  .room-page main:not(.is-museum):not(.is-reading) .room-record {
    margin-top: 0.16rem;
    font-size: 0.95rem;
  }

  .room-page main:not(.is-museum):not(.is-reading) .room-study {
    margin-top: 0.1rem;
  }

  .room-piece::before {
    height: 0.4rem;
  }

  .bay-row {
    padding-top: 0.35rem;
  }

  .room-label {
    margin-top: 0.4rem;
    gap: 0.04rem;
  }
}

@media (max-height: 520px) {
  .room-page {
    --mast: 21.5rem;
  }

  .room-page .head-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand nav";
    align-items: center;
    min-height: 3.1rem;
  }

  .room-page .nav {
    display: flex;
    grid-area: nav;
    flex-wrap: nowrap;
  }

  .room-page main:not(.is-museum):not(.is-reading) .room-enter h1 {
    font-size: clamp(1.85rem, 3.6vw, 2.2rem);
  }

  .room-page main:not(.is-museum):not(.is-reading) .key-fact {
    display: none;
  }

  .room-rooms a {
    padding-top: 0.48rem;
    padding-bottom: 0.5rem;
  }
}

.room-page.is-looking {
  overflow: hidden;
}

.room-page.is-looking .site-head {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
}

.room-view {
  position: fixed;
  z-index: 28;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 24rem);
  grid-template-areas:
    "back back"
    "stage card";
  align-items: start;
  align-content: start;
  gap: 0.85rem 2rem;
  padding: calc(var(--head-h) + 0.85rem) max(var(--space), 4vw) 1.4rem;
  background:
    radial-gradient(ellipse 130% 100% at 50% 50%, transparent 30%, rgba(0, 0, 0, 0.58) 78%),
    radial-gradient(ellipse 46% 58% at 36% 52%, rgba(78, 108, 150, 0.46), rgba(22, 44, 78, 0.22) 52%, transparent 76%),
    radial-gradient(ellipse 24% 32% at 36% 50%, rgba(241, 230, 208, 0.16), transparent 70%),
    var(--navy-0);
  overflow: auto;
}

@media (prefers-reduced-motion: no-preference) {
  .room-view {
    animation: room-in 0.32s ease;
  }
}

@keyframes room-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.view-back {
  grid-area: back;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.48rem 0.75rem 0.48rem 0.6rem;
  border: 1px solid rgba(201, 162, 76, 0.7);
  background: transparent;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1;
  text-align: left;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.view-back::before {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  border-left: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg);
}

.view-back:hover,
.view-back:focus-visible {
  border-color: var(--gold);
  color: var(--gold-2);
}

.view-back:focus-visible,
.view-neighbor:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.view-stage {
  grid-area: stage;
  display: grid;
  grid-template-columns: 6.4rem minmax(0, 1fr) 6.4rem;
  align-items: center;
  justify-items: center;
  gap: 1.35rem;
  min-width: 0;
  min-height: calc(100dvh - var(--head-h) - 4.6rem);
}

.view-neighbor {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.45rem;
  width: 6.4rem;
  margin: 0;
  padding: 0;
  color: var(--cream-dim);
  opacity: 0.78;
}

.view-neighbor:disabled {
  visibility: hidden;
}

.view-neighbor:hover,
.view-neighbor:focus-visible {
  color: var(--cream);
  opacity: 1;
}

.neighbor-mould {
  display: block;
  width: 4.5rem;
  padding: 0.28rem;
  background: #141414;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.42);
  transition: transform 0.25s ease;
}

.view-neighbor:hover .neighbor-mould,
.view-neighbor:focus-visible .neighbor-mould {
  transform: translateY(-3px);
}

.neighbor-mould.is-gold {
  background:
    repeating-linear-gradient(90deg, rgba(255, 236, 190, 0.18) 0 1px, transparent 1px 3px),
    linear-gradient(165deg, #e4c56a 0%, #c6a04a 48%, #a48432 100%);
}

.neighbor-mould.is-oak {
  background:
    repeating-linear-gradient(90deg, rgba(120, 86, 42, 0.16) 0 1px, transparent 1px 4px),
    linear-gradient(165deg, #e7d3a8 0%, #d2b48a 52%, #c4a574 100%);
}

.neighbor-mould.is-dusk {
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.22) 0 1px, transparent 1px 5px),
    linear-gradient(165deg, #6a4632 0%, #4a2e1e 55%, #3a2418 100%);
}

.neighbor-mould img {
  display: block;
  width: 100%;
  aspect-ratio: var(--w) / var(--h);
  object-fit: cover;
  background: #141414;
}

.neighbor-title {
  max-width: 6.2rem;
  font-family: var(--serif);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.05;
  text-align: center;
}

.view-hang {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.view-hang::before {
  content: "";
  position: relative;
  z-index: 1;
  width: 1px;
  height: 1.7rem;
  background: linear-gradient(180deg, rgba(201, 162, 76, 0.12), rgba(230, 197, 122, 0.92));
}

.view-hang::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 48%;
  width: min(240%, 58rem);
  height: 178%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(ellipse 14% 70% at 50% 16%, rgba(241, 230, 208, 0.16), transparent 72%),
    radial-gradient(ellipse 72% 64% at 50% 46%, rgba(255, 248, 230, 0.28), rgba(230, 197, 122, 0.12) 34%, rgba(86, 116, 156, 0.12) 58%, transparent 78%),
    radial-gradient(ellipse 44% 11% at 50% 98%, rgba(241, 230, 208, 0.16), transparent 72%);
  pointer-events: none;
}

.view-frame {
  --frame-max: min(58vh, calc(var(--h) / 20 * 36rem));
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(100%, calc(var(--frame-max) * var(--w) / var(--h)));
  height: auto;
  max-width: 100%;
  max-height: var(--frame-max);
  aspect-ratio: var(--w) / var(--h);
  padding: clamp(0.55rem, calc(var(--w) * 0.05rem), 1rem);
  background: #141414;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 28px 64px rgba(0, 0, 0, 0.58),
    0 0 110px rgba(241, 230, 208, 0.2);
}

.view-frame.is-gold {
  background:
    repeating-linear-gradient(90deg, rgba(255, 236, 190, 0.18) 0 1px, transparent 1px 3px),
    linear-gradient(165deg, #e4c56a 0%, #c6a04a 48%, #a48432 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 200, 0.55),
    inset 0 -1px 0 rgba(90, 62, 16, 0.4),
    0 28px 64px rgba(0, 0, 0, 0.58),
    0 0 110px rgba(241, 230, 208, 0.22);
}

.view-frame.is-oak {
  background:
    repeating-linear-gradient(90deg, rgba(120, 86, 42, 0.16) 0 1px, transparent 1px 4px),
    linear-gradient(165deg, #e7d3a8 0%, #d2b48a 52%, #c4a574 100%);
}

.view-frame.is-dusk {
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.22) 0 1px, transparent 1px 5px),
    linear-gradient(165deg, #6a4632 0%, #4a2e1e 55%, #3a2418 100%);
}

.view-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.view-card {
  grid-area: card;
  align-self: center;
  max-height: calc(100svh - var(--head-h) - 2.6rem);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.32);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 1.25rem 1.2rem 1.35rem;
  background: linear-gradient(180deg, rgba(241, 230, 208, 0.98), rgba(231, 220, 198, 0.97));
  color: var(--ink, #1a140c);
}

.view-offer,
.view-pay {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.view-house {
  margin: 0 0 0.85rem;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1;
}

.view-card h2 {
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  font-weight: 500;
  line-height: 0.95;
}

.view-series,
.view-artist,
.view-line,
.view-spec {
  margin: 0.35rem 0 0;
  line-height: 1.35;
}

.view-series {
  color: var(--gold-deep);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.view-artist {
  color: var(--gold-deep);
}

.view-line {
  max-width: 22rem;
}

.view-spec {
  margin-top: 0.7rem;
  color: #3c3428;
}

.view-price {
  display: grid;
  gap: 0.28rem;
  margin: 0.35rem 0 0;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}

.view-price .price-usd {
  color: #5c5348;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-transform: none;
}

.view-card.is-claimed .view-warn,
.view-card.is-claimed .view-note,
.view-card.is-claimed .view-ship,
.view-card.is-claimed .view-offer,
.view-card.is-claimed .claim-note,
.view-card.is-claimed .claim-open,
.view-card.is-claimed .claim-done,
.view-card.is-claimed .claim-ship,
.view-card.is-claimed .claim-error {
  display: none;
}

.view-card.is-claimed .view-price {
  margin-top: 1.05rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(138, 106, 40, 0.35);
  color: var(--gold-deep);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.view-note,
.view-ship {
  margin: 0.9rem 0 0;
  color: #3c3428;
  font-size: 0.92rem;
  line-height: 1.45;
}

.view-note span {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--gold-deep);
}

.view-ship {
  margin-top: 0.45rem;
  color: #5c5348;
  font-size: 0.82rem;
}

.view-offer {
  margin-top: 1rem;
  color: var(--gold-deep);
}

.view-warn {
  margin: 0.85rem 0 0;
  padding: 0.65rem 0.75rem;
  border-left: 2px solid var(--gold-deep);
  background: rgba(138, 106, 40, 0.08);
  color: #3c3428;
  font-size: 0.92rem;
  line-height: 1.4;
}

.view-warn span {
  display: block;
  margin-bottom: 0.18rem;
  color: var(--gold-deep);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.view-pay {
  margin-top: 0.45rem;
  color: #3c3428;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.92rem;
  font-weight: 400;
}

.claim-note,
.claim-study,
.claim-tax,
.claim-done,
.claim-hint {
  margin: 0.85rem 0 0;
  color: #3c3428;
  font-size: 0.92rem;
  line-height: 1.45;
}

.claim-done {
  white-space: pre-line;
}

.claim-open,
.claim-reuse {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0.55rem 0 0;
  padding: 0.35rem 0;
  color: var(--gold-deep);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.claim-open:hover,
.claim-open:focus-visible,
.claim-reuse:hover,
.claim-reuse:focus-visible {
  color: #8a6a28;
}

.claim-kicker,
.claim-block {
  margin: 1.05rem 0 0;
  color: var(--gold-deep);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.claim-kicker {
  margin-top: 0.2rem;
}

.claim-hint {
  margin-top: 0.35rem;
  color: #5c5348;
  font-size: 0.82rem;
}

.claim-hint a,
.claim-tax a {
  color: var(--gold-deep);
  text-underline-offset: 0.15em;
}

.claim-ship .row > div {
  min-width: 0;
}

.claim-ship label {
  display: block;
  margin: 0.75rem 0 0.28rem;
  color: #3c3428;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.claim-ship input,
.claim-ship select {
  background: rgba(255, 252, 246, 0.86);
  color: #1a140c;
  border-color: rgba(60, 52, 40, 0.28);
}

.claim-ship input::placeholder {
  color: #8a8174;
}

.claim-tax {
  margin-top: 0.75rem;
  color: #5c5348;
  font-size: 0.82rem;
}

.claim-error {
  margin: 0.7rem 0 0;
  color: #8c3b2a;
  font-size: 0.88rem;
}

.claim-send {
  width: 100%;
  margin-top: 0.9rem;
  min-height: 44px;
  padding: 0.7rem 1rem;
  background: var(--gold);
  color: var(--navy-0);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.claim-send:hover,
.claim-send:focus-visible {
  background: var(--gold-2);
}

@media (max-width: 860px) {
  .room-page {
    --mast: 34rem;
  }

  .room-page main {
    display: block;
  }

  .room-enter > .wrap {
    padding-top: 0.35rem;
  }

  .room-enter-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    margin-top: 0.15rem;
  }

  .room-enter h1 {
    font-size: clamp(2.15rem, 10vw, 2.7rem);
  }

  .room-enter-row p {
    font-size: 0.95rem;
    line-height: 1.35;
  }

  .room-key {
    gap: 0.4rem 0.7rem;
    margin-top: 0.55rem;
  }

  .key-name {
    font-size: 1.02rem;
  }

  .key-fact {
    font-size: 0.72rem;
    line-height: 1.3;
  }

  .room-rail {
    display: block;
    height: auto;
    overflow: visible;
    padding-top: 0.85rem;
    padding-bottom: 2rem;
    padding-inline-end: max(var(--space), 6vw);
    scroll-snap-type: none;
  }

  .room-bay.is-on {
    display: block;
    margin-top: 0.4rem;
  }

  .bay-name p {
    max-width: 18rem;
  }

  .bay-row {
    gap: 1.35rem;
    margin-top: 0.85rem;
    overflow-x: auto;
    padding-bottom: 0.6rem;
    scroll-snap-type: none;
  }

  .room-piece {
    --span: calc(var(--w) / 20 * min(15.5rem, 70vw));
    width: var(--span);
    min-width: var(--span);
    max-width: none;
    flex: none;
    scroll-snap-align: none;
  }

  .room-walk {
    margin-top: 0.4rem;
  }

  .room-record {
    margin-top: 0.45rem;
    font-size: 1.08rem;
  }

  .room-study {
    margin-top: 0.3rem;
  }

  .filter-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
  }

  .room-filters:not(.is-open) .filter-groups {
    display: none;
  }

  .filter-choices button {
    min-height: 2.75rem;
  }

  .collection-card {
    grid-template-columns: min(8.5rem, 38%) minmax(0, 1fr);
    gap: 0.1rem 0.8rem;
  }

  .collection-name {
    font-size: clamp(1.35rem, 5vw, 1.7rem);
  }

  .room-page .nav a {
    min-height: 2rem;
    padding: 0.38rem 0.62rem;
    letter-spacing: 0.12em;
  }

  .room-rooms-row {
    gap: 0.2rem 1.1rem;
  }

  .room-rooms a {
    letter-spacing: 0.12em;
    font-size: 0.68rem;
  }

  .room-view:not([hidden]) {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
    background:
      radial-gradient(ellipse 150% 92% at 50% 30%, transparent 28%, rgba(0, 0, 0, 0.58) 80%),
      radial-gradient(ellipse 78% 46% at 50% 26%, rgba(78, 108, 150, 0.42), transparent 74%),
      radial-gradient(ellipse 46% 30% at 50% 22%, rgba(241, 230, 208, 0.16), transparent 72%),
      var(--navy-0);
  }

  .view-back {
    align-self: flex-start;
    flex: 0 0 auto;
  }

  .view-frame {
    --frame-max: min(42svh, calc(var(--h) / 20 * 20rem));
  }

  .view-stage {
    flex: 0 0 auto;
    grid-template-columns: 4.2rem minmax(0, 1fr) 4.2rem;
    gap: 0.7rem;
    min-height: 0;
    padding-block: 0.5rem 0.15rem;
  }

  .view-card {
    flex: 0 0 auto;
    align-self: stretch;
    width: auto;
    max-height: none;
    overflow: visible;
  }

  .view-neighbor,
  .neighbor-title {
    width: 4.2rem;
  }

  .neighbor-mould {
    width: 3.1rem;
  }

  .neighbor-title {
    max-width: 4.2rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 640px) {
  .room-key {
    grid-template-columns: 1fr;
    gap: 0.16rem;
  }

  .room-key li {
    padding-top: 0.28rem;
  }

  .key-name {
    font-size: 1.02rem;
  }

  .key-fact {
    max-width: none;
    font-size: 0.72rem;
  }

  .room-walk {
    gap: 0.4rem 1.1rem;
  }

  .room-walk a {
    font-size: 1.12rem;
  }

  .room-key li {
    padding-top: 0.16rem;
  }

  .bay-row {
    margin-top: 0.4rem;
    padding-top: 0.55rem;
  }

  .room-piece::before {
    height: 0.55rem;
  }

  .room-label {
    margin-top: 0.4rem;
    gap: 0.06rem;
  }
}

@media (min-width: 861px) {
  .room-page main:not(.is-museum):not(.is-reading) .room-rooms-row,
  .room-page main:not(.is-museum):not(.is-reading) .room-enter > .wrap,
  .room-page main:not(.is-museum):not(.is-reading) .room-rail,
  .room-page main:not(.is-museum):not(.is-reading) .address-book {
    width: 100%;
    max-width: none;
  }

  .collection-row {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr));
    gap: 1.85rem 1.75rem;
    justify-content: stretch;
    align-items: start;
    width: 100%;
  }

  .collection-card {
    width: 100%;
    min-width: 0;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 0.55rem;
  }

  .collection-card::before {
    margin-inline: auto;
  }

  .collection-mould,
  .collection-copy {
    width: calc((0.45 + var(--w, 20) / 20 * 0.55) * 100%);
    max-width: 100%;
    justify-self: center;
  }

  .collection-copy {
    grid-column: 1;
    grid-row: auto;
  }

  .collection-name {
    font-size: clamp(1.5rem, 1.7vw, 2.05rem);
  }
}

@media (min-width: 1680px) {
  .room-page main:not(.is-museum):not(.is-reading) .room-key {
    width: min(100%, 72rem);
  }
}

.room-rooms {
  position: sticky;
  top: var(--head-h);
  z-index: 20;
  margin: 0;
  background: var(--navy-0);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(1.15);
}

.room-rooms-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.35rem 2rem;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--space);
}

.room-rooms a {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0.72rem 0 0.78rem;
  color: var(--cream-dim);
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.room-rooms a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s var(--ease);
}

.room-rooms a[aria-current="true"] {
  color: var(--gold);
}

.room-rooms a[aria-current="true"]::before {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  margin-right: 0.55rem;
  background: var(--gold);
  flex: none;
}

.room-rooms a:hover,
.room-rooms a:focus-visible {
  color: var(--cream);
}

.room-rooms a:hover::after,
.room-rooms a[aria-current="true"]::after {
  transform: scaleX(1);
}

.room-rooms a[aria-current="true"]:hover,
.room-rooms a[aria-current="true"]:focus-visible {
  color: var(--gold);
}

.room-rooms a:focus-visible,
.museum-hang:focus-visible,
.spot-hero:focus-visible,
.spot-work:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.room-page:has(main.is-museum) .frame,
.room-page main.is-museum {
  height: auto;
  max-height: none;
  overflow: visible;
}

.room-page main.is-reading {
  display: block;
}

.museum {
  min-height: 0;
  overflow: visible;
  scroll-snap-type: none;
}

.address-book {
  width: min(100%, calc(var(--max) + 2 * var(--space)));
  margin-inline: auto;
  padding: 2.4rem var(--space) 3.2rem;
  border-top: 1px solid var(--line);
}

.address-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.address-note {
  margin: 0.45rem 0 1.35rem;
  max-width: 36rem;
  color: var(--cream-dim);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.25;
}

.address-groups {
  columns: 13.5rem;
  column-gap: 1.75rem;
}

.address-group {
  break-inside: avoid;
  margin: 0 0 1.35rem;
}

.address-group h2 {
  margin: 0 0 0.4rem;
  font-size: 1.28rem;
  font-weight: 500;
}

.address-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.address-group li {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.address-group a,
.address-rooms a {
  color: inherit;
  text-decoration: none;
}

.address-group a:hover,
.address-group a:focus-visible,
.address-rooms a:hover,
.address-rooms a:focus-visible {
  color: var(--gold-2);
}

.address-state {
  margin-left: 0.35rem;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.address-rooms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.2rem;
  margin: 1.5rem 0 0;
  color: var(--cream-dim);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.museum-empty {
  display: grid;
  place-items: center;
  min-height: 46vh;
  padding: 2.5rem max(var(--space), 6vw) 4rem;
  text-align: center;
}

.museum-empty p {
  margin: 0;
  max-width: 16rem;
  color: var(--cream-dim);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 1.2;
}

.museum-list {
  --room: min(18rem, calc((min(100vw, var(--max)) - 8rem) / 2));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, var(--room)));
  justify-content: center;
  align-items: start;
  gap: 2.85rem 3.25rem;
  width: min(100%, var(--max));
  margin-inline: auto;
  padding: 1.15rem var(--space) 4.5rem;
}

.museum-count {
  grid-column: 1 / -1;
  margin: 0.35rem 0 -1.15rem;
  color: var(--cream-dim);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.1;
  text-align: center;
}

.museum-piece {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
}

.museum-series {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.museum-no {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
}

.museum-hang {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(var(--w) / 20 * var(--room));
  max-width: 100%;
  margin: 0;
  padding: 0;
  color: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.museum-hang::before {
  content: "";
  width: 1px;
  height: 1.05rem;
  background: rgba(201, 162, 76, 0.75);
  flex: none;
}

.museum-hang:hover .museum-mould,
.museum-hang:focus-visible .museum-mould {
  transform: translateY(-4px);
}

.museum-mould {
  display: block;
  width: 100%;
  flex: none;
  padding: clamp(0.45rem, calc(var(--w) * 0.04rem), 0.8rem);
  background: #141414;
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.42);
  transition: transform 0.25s ease;
}

.museum-mould.is-gold {
  background:
    repeating-linear-gradient(90deg, rgba(255, 236, 190, 0.18) 0 1px, transparent 1px 3px),
    linear-gradient(165deg, #e4c56a 0%, #c6a04a 48%, #a48432 100%);
}

.museum-mould.is-oak {
  background:
    repeating-linear-gradient(90deg, rgba(120, 86, 42, 0.16) 0 1px, transparent 1px 4px),
    linear-gradient(165deg, #e7d3a8 0%, #d2b48a 52%, #c4a574 100%);
}

.museum-mould.is-dusk {
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.22) 0 1px, transparent 1px 5px),
    linear-gradient(165deg, #6a4632 0%, #4a2e1e 55%, #3a2418 100%);
}

.museum-mould img,
.spot-mould img,
.spot-work img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: var(--w) / var(--h);
  object-fit: cover;
  background: #141414;
}

.museum-plaque {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  justify-items: center;
  column-gap: 0.55rem;
  align-items: baseline;
  width: 100%;
  max-width: 100%;
  margin: 0.85rem 0 0;
  padding: 0;
  text-align: center;
}

.museum-plaque h2,
.spot-work span {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1;
}

.museum-plaque h2 {
  grid-column: 1 / -1;
  margin-top: 0.38rem;
  font-size: clamp(1.5rem, 1.7vw, 1.85rem);
  line-height: 1.05;
}

.museum-meta,
.museum-spec,
.museum-line,
.museum-one,
.museum-state {
  grid-column: 1 / -1;
  margin: 0.28rem 0 0;
}

.museum-line {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
}

.museum-meta,
.museum-spec,
.museum-one {
  color: var(--cream-dim);
}

.museum-meta,
.museum-spec {
  font-size: 0.82rem;
  line-height: 1.35;
}

.museum-spec {
  margin-top: 0.08rem;
  color: var(--cream);
}

.museum-one {
  justify-self: center;
  width: min(100%, 9.5rem);
  margin-top: 0.7rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(201, 162, 76, 0.4);
}

.museum-state {
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (min-width: 1180px) {
  .museum-list {
    --room: min(16.75rem, calc((min(100vw, var(--max)) - 11rem) / 3));
    grid-template-columns: repeat(3, minmax(0, var(--room)));
    gap: 2.65rem 2.35rem;
  }
}

.spot {
  padding-bottom: 4rem;
}

.spot-open {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 1.5rem 3rem;
  align-items: end;
  padding-top: 0.6rem;
}

.spot-hero {
  justify-self: end;
  width: min(100%, 22rem);
  margin: 0;
  padding: 0;
  color: inherit;
}

.spot-hero::before,
.spot-work::before {
  content: "";
  display: block;
  width: 1px;
  height: 1.15rem;
  margin: 0 auto;
  background: rgba(201, 162, 76, 0.7);
}

.spot-mould {
  display: block;
  padding: 0.7rem;
  background:
    repeating-linear-gradient(90deg, rgba(255, 236, 190, 0.18) 0 1px, transparent 1px 3px),
    linear-gradient(165deg, #e4c56a 0%, #c6a04a 48%, #a48432 100%);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4);
}

.spot-mould img {
  aspect-ratio: 1;
}

.spot-lead p,
.spot-prose p,
.spot-invite p {
  margin: 0;
  max-width: 38rem;
  color: var(--cream);
  font-size: 1.08rem;
  line-height: 1.6;
}

.spot-lead p {
  margin-bottom: 0.8rem;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 500;
  line-height: 1.15;
}

.spot-prose {
  padding-top: 2rem;
}

.spot-prose p + p {
  margin-top: 1rem;
}

.spot-works {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2rem;
  padding-top: 2.4rem;
}

.spot-work {
  display: grid;
  justify-items: center;
  width: 9.5rem;
  margin: 0;
  padding: 0;
  color: inherit;
  text-align: center;
}

.spot-work .museum-mould {
  width: 100%;
  padding: 0.35rem;
}

.spot-work span {
  margin-top: 0.45rem;
  font-size: 1.15rem;
}

.spot-invite {
  margin-top: 0.2rem;
  padding-top: 0;
  border-top: 0;
}

.spot-invite .eyebrow {
  margin-bottom: 0.55rem;
}

.spot-invite a {
  display: inline-block;
  margin-top: 0.9rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.spot-invite a:hover,
.spot-invite a:focus-visible {
  color: var(--gold-2);
}

.spot-sample {
  margin: 1.15rem 0 1.15rem;
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.spot-essay {
  padding-top: 0.2rem;
  padding-bottom: 1rem;
}

.spot-essay .spot-open {
  align-items: start;
  justify-content: center;
  grid-template-columns: minmax(12rem, 17.5rem) minmax(0, 38rem);
  gap: 1.5rem 3.1rem;
}

.spot-essay .spot-open:has(.spot-hero[hidden]) {
  grid-template-columns: minmax(0, 40rem);
}

.spot-essay .spot-hero {
  justify-self: end;
  width: min(100%, 17.5rem);
  margin: 0.35rem 0 0;
}

.spot-essay .spot-hero::before {
  display: none;
}

.spot-essay .spot-mould {
  padding: 0.55rem;
  box-shadow:
    0 0 0 1px rgba(241, 230, 208, 0.16),
    0 22px 40px rgba(0, 0, 0, 0.42);
}

.spot-essay .spot-mould img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(5, 10, 20, 0.35);
}

.spot-essay .spot-col {
  min-width: 0;
  padding-top: 0.15rem;
}

.spot-essay h1 {
  max-width: 11ch;
  margin: 0;
  color: var(--cream);
  font-size: clamp(3.4rem, 6.4vw, 5.5rem);
  font-weight: 500;
  line-height: 0.86;
  letter-spacing: -0.035em;
  overflow-wrap: break-word;
}

.spot-essay .spot-line {
  max-width: 22ch;
  margin: 0.85rem 0 0;
  color: var(--gold-2);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.15;
}

.spot-essay .spot-lede {
  max-width: 34rem;
  margin: 1.15rem 0 0;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(1.18rem, 1.6vw, 1.38rem);
  font-weight: 500;
  font-style: normal;
  line-height: 1.45;
}

.spot-essay .spot-by {
  margin: 1.15rem 0 0;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.spot-rule {
  width: 4.6rem;
  height: 2px;
  margin: 1.55rem 0 0;
  border: 0;
  background-image: var(--stitch);
}

.spot-kicker {
  margin: 1.35rem 0 0;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.spot-life {
  margin-top: 0.35rem;
}

.spot-move {
  display: grid;
  grid-template-columns: 1.7rem minmax(0, 1fr);
  gap: 0.2rem 0.75rem;
  margin: 0;
  padding: 1.25rem 0 0.15rem;
}

.spot-move + .spot-move {
  border-top: 1px solid rgba(201, 162, 76, 0.2);
}

.spot-num {
  margin: 0.15rem 0 0;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
}

.spot-close {
  max-width: 32rem;
  margin: 1.7rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(201, 162, 76, 0.35);
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.7vw, 1.4rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
}

.spot-essay .spot-works {
  max-width: 38rem;
  margin-top: 1.8rem;
  padding-top: 0;
}

.spot-works-kicker {
  flex: 1 0 100%;
  margin: 0;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.spot-voice {
  max-width: 34rem;
  margin: 1.55rem 0 0;
  padding: 0.15rem 0 0.15rem 1.05rem;
  border-left: 1px solid var(--gold);
}

.spot-question {
  margin: 0 0 0.7rem;
  color: var(--gold-2);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: uppercase;
}

.spot-answer {
  margin: 0;
  max-width: 36rem;
  color: var(--cream);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.22rem, 1.7vw, 1.42rem);
  line-height: 1.42;
  letter-spacing: -0.015em;
  overflow-wrap: break-word;
}

.spot-answer p {
  margin: 0;
}

.spot-answer p + p {
  margin-top: 0.75rem;
}

.spot-essay .spot-share,
.spot-essay .spot-mail {
  max-width: 36rem;
}

.spot-essay .spot-prose:empty {
  display: none;
}

.spot-share {
  max-width: 36rem;
  margin-top: 1.45rem;
}

.spot-address {
  margin: 0;
  color: var(--cream-dim);
  font-size: 0.92rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.spot-share-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
  margin: 0.75rem 0 0;
}

.spot-share-links button,
.spot-share-links a {
  padding: 0;
  border: 0;
  background: none;
  color: var(--gold-2);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.spot-share-links button:hover,
.spot-share-links button:focus-visible,
.spot-share-links a:hover,
.spot-share-links a:focus-visible {
  color: var(--cream);
}

.spot-mail {
  max-width: 36rem;
  margin: 1.45rem 0 0;
  color: var(--cream-dim);
  font-size: 0.95rem;
  line-height: 1.5;
}

.spot-mail a {
  color: var(--gold-2);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 162, 76, 0.4);
}

.spot-mail a:hover,
.spot-mail a:focus-visible {
  color: var(--cream);
  border-bottom-color: var(--gold-2);
}

.spot-essay .spot-prose p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.spot-essay .spot-seal {
  display: inline-block;
  margin-top: 1.7rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.spot-essay .spot-seal:hover,
.spot-essay .spot-seal:focus-visible {
  color: var(--gold-2);
}

@media (max-width: 1100px), (max-height: 780px) {
  .view-card {
    align-self: start;
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 860px) {
  .museum-empty {
    min-height: 42vh;
  }

  .view-card {
    align-self: stretch;
    max-height: none;
    overflow: visible;
  }

  .museum-list {
    --room: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.85rem 0.85rem;
    padding-bottom: 3rem;
  }

  .museum-count {
    margin-bottom: -0.35rem;
  }

  .museum-plaque h2 {
    font-size: 1.32rem;
  }

  .museum-meta,
  .museum-spec {
    font-size: 0.72rem;
  }

  .spot-open,
  .spot-essay .spot-open {
    grid-template-columns: 1fr;
    justify-content: start;
  }

  .spot-hero,
  .spot-essay .spot-hero {
    justify-self: start;
    width: min(100%, 16rem);
  }

  .spot-essay h1 {
    max-width: none;
    font-size: clamp(2.8rem, 14vw, 3.8rem);
  }

  .spot-move {
    grid-template-columns: 1.45rem minmax(0, 1fr);
    gap: 0.15rem 0.55rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .museum {
    scroll-behavior: smooth;
  }

  .spot-move {
    animation: spot-rise 0.7s var(--ease) both;
  }

  .spot-move:nth-child(2) { animation-delay: 0.08s; }
  .spot-move:nth-child(3) { animation-delay: 0.16s; }
  .spot-move:nth-child(4) { animation-delay: 0.24s; }
}

@keyframes spot-rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .room-piece,
  .collection-card,
  .room-view,
  .room-mould,
  .neighbor-mould,
  .museum-mould,
  .museum {
    animation: none;
    transition: none;
    scroll-behavior: auto;
  }
}
