/* ==========================================================================
   Musée du Sommeil — a quiet museum where hotels hang as framed works.
   Stone chrome, painted walls, oak and ebony frames, white wall labels.
   ========================================================================== */

:root {
  --stone: #ece7df;
  --stone-2: #e2dcd1;
  --paper: #f8f6f1;
  --label: #fcfbf7;
  --ink: #1c1b18;
  --ink-2: #47433c;
  --ink-3: #696358;
  --rule: rgba(28, 27, 24, .16);
  --ivory: #f4efe6;
  --ivory-2: rgba(244, 239, 230, .76);
  --ivory-3: rgba(244, 239, 230, .36);
  --signal: #b3301d;
  --gilt: #94743a;
  --wall: #3a3a3a;
  --oatmeal: #dcd4c6;

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Century Gothic", "Segoe UI", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --frame-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 30px -14px rgba(0, 0, 0, .62);
  --frame-shadow-lit: 0 2px 4px rgba(0, 0, 0, .28), 0 28px 46px -18px rgba(0, 0, 0, .7);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.vh {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--ink); color: var(--ivory); padding: 10px 16px;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
}
.skip:focus { top: 12px; }

.ic { width: 1.05em; height: auto; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: square; overflow: visible; }

.kicker {
  margin: 0 0 14px;
  font-size: .7rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-3);
}
.swatch {
  display: inline-block; flex: none; width: 11px; height: 11px;
  background: var(--c); box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 0 0 2px rgba(0, 0, 0, .12);
}

/* ---------- chrome (stone header) ---------- */
.chrome { background: var(--stone); color: var(--ink); border-bottom: 1px solid var(--rule); position: relative; z-index: 40; }
.chrome__inner {
  max-width: var(--max); margin: 0 auto; padding: 14px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__name { display: block; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.6rem; line-height: 1; }
.brand__sub { display: block; margin-top: 5px; font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }
.chrome__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px clamp(14px, 2.4vw, 30px); font-size: .7rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.chrome__nav a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; text-decoration: none; border-bottom: 1px solid transparent; }
.chrome__nav a:hover { border-bottom-color: currentColor; }
.chrome__nav .ic { width: 1.35em; }
.chrome__where { color: var(--ink-3); }
@media (max-width: 600px) {
  .brand__name { font-size: 1.35rem; }
  .brand__sub { display: none; }
  .chrome__nav a[href="#visit"] { display: none; }
}

/* ---------- white wall label (shared) ---------- */
.label {
  display: block;
  width: min(100%, 19rem);
  padding: 10px 12px 10px;
  background: var(--label);
  color: var(--ink);
  font-size: .72rem;
  line-height: 1.42;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .05), 0 8px 16px -10px rgba(0, 0, 0, .55);
}
.label p { margin: 0; }
.label__room {
  display: flex; align-items: center; gap: 7px;
  margin: 0 0 5px; font-size: .6rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3);
}
.label__name {
  margin: 0 0 4px;
  font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.14rem; line-height: 1.1;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
}
.label__line { display: block; margin: 0; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.label__medium { display: flex; }
.label__rt { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.label__ty { flex: none; }
.label__rt + .label__ty::before { content: "·"; margin: 0 .4em; }
.label__price {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 10px;
  margin-top: 6px !important; padding-top: 6px; border-top: 1px solid var(--rule);
}
.label__price b { font-size: .84rem; font-weight: 600; color: var(--ink); }
.label__price s { margin-left: 4px; color: var(--ink-3); }
.label__link {
  display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
  font-size: .58rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--ink-3);
}
.label__link .ic { width: .9em; }
.label__link:hover { color: var(--ink); text-decoration: underline; }
.marks { color: var(--gilt); letter-spacing: .04em; font-size: .92em; white-space: nowrap; }
.label :focus-visible { outline-color: var(--ink); }

/* ---------- frames (moulding + passe-partout) ---------- */
.frame {
  position: relative;
  display: block;
  margin: 0;
  padding: var(--mould, 10px);
  border: 0;
  border-radius: 0;
  background: var(--mould-bg, #111);
  color: inherit;
  box-shadow: var(--frame-shadow);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.frame::before { /* bevel light on the moulding */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .24), inset -1px -1px 0 rgba(0, 0, 0, .5);
}
.frame--black { --mould: 7px; --mould-bg: linear-gradient(150deg, #3a3937 0%, #0f0f0e 38%, #23221f 72%, #0a0a09 100%); }
.frame--oak {
  --mould: 13px;
  --mould-bg:
    repeating-linear-gradient(91deg, rgba(110, 70, 28, .16) 0 1px, transparent 1px 5px, rgba(255, 236, 200, .12) 5px 6px, transparent 6px 11px),
    linear-gradient(135deg, #dcbc8b 0%, #b98d57 36%, #d0a875 60%, #a77944 100%);
}
.frame--walnut {
  --mould: 11px;
  --mould-bg:
    repeating-linear-gradient(88deg, rgba(0, 0, 0, .2) 0 1px, transparent 1px 6px),
    linear-gradient(140deg, #6d4c31 0%, #3d2716 44%, #5b3d26 70%, #2b1a0e 100%);
}
.mat {
  display: block;
  height: 100%;
  padding: var(--mat, 14px);
  background: #f7f4ec;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08), inset 2px 3px 9px rgba(0, 0, 0, .24);
}
.mat img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  background: #d8d1c4;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .28), 0 0 0 3px #fdfcf9, 0 0 0 4px rgba(0, 0, 0, .07);
  transition: filter .5s var(--ease);
}

/* ==========================================================================
   LOBBY (home)
   ========================================================================== */
.lobby { max-width: var(--max); margin: 0 auto; padding: clamp(20px, 2.4vw, 32px) var(--gutter) clamp(26px, 2.2vw, 30px); }
.lobby__head {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px clamp(24px, 5vw, 64px);
  align-items: end; margin-bottom: clamp(16px, 2vw, 24px);
}
.lobby__head .kicker { grid-column: 1 / -1; margin: 0; }
.lobby__title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 4.8vw, 3.7rem); line-height: .94; letter-spacing: -.012em; }
.lobby__title em { font-style: italic; }
.lobby__lede { margin: 0; max-width: 34rem; color: var(--ink-2); font-size: clamp(.95rem, 1.2vw, 1.05rem); }
.lobby__lede a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
@media (max-width: 760px) { .lobby__head { grid-template-columns: minmax(0, 1fr); } }

.lobby__body { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
@media (max-width: 920px) { .lobby__body { grid-template-columns: minmax(0, 1fr); } }

/* ---------- the floor plan ---------- */
.plan-sheet {
  margin: 0;
  padding: clamp(10px, 2vw, 22px);
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 0 0 0 5px var(--paper), 0 0 0 6px rgba(28, 27, 24, .3), 0 26px 50px -30px rgba(50, 35, 10, .45);
}
.plan-sheet__cap {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px;
  margin-bottom: 10px; padding-bottom: 9px; border-bottom: 1px solid var(--rule);
  font-size: .64rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink);
}
.plan-sheet__hint { color: var(--ink-3); font-weight: 400; }
.hint-touch { display: none; }
@media (hover: none) { .hint-hover { display: none; } .hint-touch { display: inline; } }
.plan { display: block; width: 100%; height: auto; overflow: visible; }

.plan-building { fill: #fbfaf6; }
.plan-hall { fill: url(#plan-tiles); }
.plan-tiles__line { stroke: rgba(28, 27, 24, .09); stroke-width: 1; }

.room { cursor: pointer; outline: none; }
.room__fill { fill: #f5f1ea; fill: color-mix(in srgb, var(--c) 8%, #f9f7f2); transition: fill .4s var(--ease); }
.room__ring { fill: none; stroke: transparent; stroke-width: 14; }
.room__bench { fill: none; stroke: var(--ink); stroke-width: 1.2; opacity: .5; transition: stroke .3s; }
.room text { text-anchor: middle; fill: var(--ink); transition: fill .3s; }
.room__no { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 2.6px; text-transform: uppercase; }
.room__name { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 30px; }
.room .room__count { font-family: var(--sans); font-size: 12px; letter-spacing: 1.2px; fill: var(--ink-3); }
.room:hover .room__fill, .room:focus-visible .room__fill, .room.is-active .room__fill { fill: var(--c); }
.room:hover text, .room:focus-visible text, .room.is-active text,
.room:hover .room__count, .room:focus-visible .room__count, .room.is-active .room__count { fill: var(--ivory); }
.room:hover .room__bench, .room:focus-visible .room__bench, .room.is-active .room__bench { stroke: var(--ivory); }
.room:focus-visible .room__ring { stroke: var(--ivory); stroke-dasharray: 10 6; }

.rotunda { cursor: pointer; outline: none; }
.rotunda__floor { fill: #fbfaf6; transition: fill .3s; }
.rotunda__inner { fill: none; stroke: var(--ink); stroke-width: .8; stroke-dasharray: 3 4; }
.rotunda__cols circle { fill: var(--ink); }
.rotunda text { text-anchor: middle; fill: var(--ink); }
.rotunda__k { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; }
.rotunda__t { font-family: var(--serif); font-style: italic; font-size: 27px; }
.rotunda:hover .rotunda__floor { fill: #efe7d8; }
.rotunda:focus-visible .rotunda__floor { fill: #efe7d8; stroke: var(--ink); stroke-width: 3; stroke-dasharray: 6 5; }

.plan-walls path, .plan-walls circle { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linejoin: miter; }
.plan-walls .plan-walls__outer { stroke-width: 7; }
.plan-walls .plan-walls__ring { stroke-width: 3.4; stroke-linecap: butt; }
.plan-walls .plan-gap { fill: #fbfaf6; stroke: none; }
.plan-walls .plan-doors path { stroke-width: 1; }
.plan-walls .plan-steps path { stroke-width: 1.2; }
.plan-walls .plan-plinth { stroke-width: 1.4; }
.plan-walls .plan-plinth__dot { fill: var(--ink); stroke: none; }

.plan-here__dot { fill: var(--signal); }
.plan-here__pulse { fill: none; stroke: var(--signal); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: here 2.6s ease-out infinite; }
@keyframes here { from { transform: scale(1); opacity: .85; } to { transform: scale(2.8); opacity: 0; } }
.plan-here__t { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 2.6px; text-transform: uppercase; fill: var(--signal); text-anchor: middle; }

.plan-title { font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; fill: var(--ink); }
.plan-sub { font-family: var(--serif); font-style: italic; font-size: 19px; fill: var(--ink-3); }
.plan-compass circle { fill: none; stroke: var(--ink); stroke-width: 1; }
.plan-compass__n { fill: var(--ink); }
.plan-compass text { font-family: var(--sans); font-size: 12px; font-weight: 600; text-anchor: middle; fill: var(--ink); }
.plan-scale path { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.plan-scale rect { fill: var(--ink); }
.plan-scale text { font-family: var(--sans); font-size: 11px; text-anchor: middle; fill: var(--ink-3); }
.plan-sheetno { font-family: var(--sans); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; fill: var(--ink-3); text-anchor: end; }

@media (max-width: 640px) {
  .room__no { font-size: 22px; letter-spacing: 1.5px; }
  .room__name { font-size: 34px; }
  .room .room__count { display: none; }
  .rotunda__k { font-size: 19px; letter-spacing: 2px; }
  .rotunda__t { font-size: 29px; }
  .plan-here__t { font-size: 23px; letter-spacing: 2px; }
  .plan-title { font-size: 22px; letter-spacing: 2px; }
  .plan-sub, .plan-sheetno, .plan-scale text { display: none; }
  .plan-compass text { font-size: 20px; }
}

/* ---------- the masterpiece panel ---------- */
/* phones: no hover to drive it, and each masterpiece is No. 1 of its room in the collection just below */
@media (max-width: 640px) { .masterpiece { display: none; } }
.masterpiece {
  position: sticky; top: 20px;
  padding: clamp(16px, 1.6vw, 22px);
  background: var(--mp-wall, #2e3d33);
  color: var(--ivory);
  box-shadow: inset 0 60px 80px -60px rgba(0, 0, 0, .45), 0 22px 40px -28px rgba(0, 0, 0, .5);
  transition: background-color .6s var(--ease);
}
.masterpiece :focus-visible { outline-color: var(--ivory); }
.masterpiece__plaque {
  display: flex; align-items: center; gap: 12px; margin: 0 0 12px;
  font-size: .64rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ivory-2);
}
.masterpiece__plaque::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .35; }
.mp { margin: 0; }
.mp[hidden] { display: none; }
.mp__frame { min-height: 0; overflow: hidden; aspect-ratio: 16 / 10; --mat: clamp(12px, 1.8vw, 22px); margin: 4px 4px 0; }
.label--mp { margin-top: 14px; width: 100%; }
.label--mp .label__name { font-size: 1.45rem; }
.mp__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 10px 0 0; border-top: 1px solid var(--rule); }
.mp__facts div { padding: 7px 6px 0 0; }
.mp__facts dt { font-size: .56rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.mp__facts dd { margin: 0; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.enter {
  display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 11px 14px;
  background: var(--ivory); color: var(--ink); text-decoration: none;
  font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
}
.enter__name { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.05rem; letter-spacing: 0; text-transform: none; }
.enter .ic { margin-left: auto; width: 1.5em; transition: transform .3s var(--ease); }
.enter:hover .ic { transform: translateX(4px); }
.masterpiece__nav {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px;
  font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory-2);
}
.mp-step {
  display: grid; place-items: center; width: 46px; height: 38px; padding: 0; cursor: pointer;
  background: transparent; color: var(--ivory); border: 1px solid var(--ivory-3);
}
.mp-step .ic { width: 1.4em; }
.mp-step:hover { background: rgba(244, 239, 230, .1); }

/* ---------- the permanent collection (curator's choice: ten works from every room) ---------- */
.collection { border-top: 1px solid var(--rule); }
.collection__head {
  max-width: var(--max); margin: 0 auto; padding: clamp(20px, 1.8vw, 24px) var(--gutter) clamp(12px, 1.1vw, 14px);
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 10px clamp(24px, 5vw, 64px); align-items: end;
}
.collection__head .kicker { margin: 0 0 8px; }
.collection__title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 2.8vw, 2.45rem); line-height: 1.02; letter-spacing: -.008em; }
.collection__title em { font-style: italic; }
.collection__dash { opacity: .5; }
.collection__lede { margin: 0; max-width: 31rem; color: var(--ink-2); font-size: clamp(.9rem, 1.1vw, .98rem); }
@media (max-width: 760px) { .collection__head { grid-template-columns: minmax(0, 1fr); } }

/* the index of rooms: one painted swatch per room, sticks while the bands scroll by */
.ci {
  position: sticky; top: 0; z-index: 25;
  background: var(--stone);
  border-top: 1px solid var(--rule);
  box-shadow: 0 1px 0 var(--rule), 0 12px 20px -18px rgba(0, 0, 0, .55);
}
.ci__list {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); list-style: none;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
}
.ci__list li { min-width: 0; }
.ci__a {
  display: flex; flex-direction: column; gap: 1px; height: 100%;
  padding: 6px 10px 5px; border-top: 4px solid var(--c);
  color: var(--ink); text-decoration: none;
  transition: background-color .25s, color .25s;
}
.ci__no { font-size: .56rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; transition: color .25s; }
.ci__name { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.06rem; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ci__a:hover { background: var(--stone-2); background: color-mix(in srgb, var(--c) 12%, var(--stone)); }
.ci__a[aria-current] { background: var(--c); color: var(--ivory); }
.ci__a[aria-current] .ci__no { color: var(--ivory-2); }
.ci__a:focus-visible { outline-offset: -4px; }
@media (max-width: 1099px) {
  .ci__list { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; scroll-padding-inline: var(--gutter); }
  .ci__list::-webkit-scrollbar { display: none; }
  .ci__list li { flex: none; }
  .ci__a { padding: 6px 14px 6px 10px; }
}

/* one band per room, painted in that room's wall colour */
.band {
  background: var(--band, #3a3a3a); color: var(--ivory);
  box-shadow: inset 0 4px 0 rgba(0, 0, 0, .2), inset 0 5px 0 rgba(255, 255, 255, .07), inset 0 80px 90px -80px rgba(0, 0, 0, .5);
  scroll-margin-top: 50px; /* clear the sticky index */
  overflow-x: clip; /* keep the spotlights of the outer works inside the band */
}
.band :focus-visible { outline-color: var(--ivory); }
.band__inner { max-width: var(--max); margin: 0 auto; padding: clamp(16px, 1.6vw, 22px) var(--gutter) clamp(34px, 4vw, 54px); }
.band__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: clamp(14px, 1.4vw, 18px); }
.band__head::before { content: ""; order: 1; flex: 1 1 24px; height: 1px; align-self: center; background: currentColor; opacity: .28; }
.band__title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.5vw, 2.1rem); line-height: 1.05; }
.band__no { font-style: italic; }
.band__dot { opacity: .55; }
.band__native { font-style: italic; color: var(--ivory-2); }
.band__enter {
  order: 2; display: inline-flex; align-items: center; gap: 10px; padding: 5px 0;
  color: var(--ivory); text-decoration: none; border-bottom: 1px solid var(--ivory-3);
  font-size: .64rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap;
}
.band__enter .ic { width: 1.5em; transition: transform .3s var(--ease); }
.band__enter:hover { border-bottom-color: var(--ivory); }
.band__enter:hover .ic { transform: translateX(4px); }
@media (max-width: 560px) {
  .band__head::before { display: none; }
  .band__enter { width: 100%; }
  .band__enter .ic { margin-left: auto; }
}

/* the hang: 5 x 2 on a desktop wall; short last rows are centred, as a curator would hang them */
.picks {
  --cols: 5; --gx: clamp(14px, 2.2vw, 30px);
  display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(26px, 3vw, 40px) var(--gx);
  margin: 0; padding: 0; list-style: none;
}
.pick { position: relative; isolation: isolate; display: flex; flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gx)) / var(--cols)); min-width: 0; }
.pick::before { /* the spotlight */
  content: ""; position: absolute; z-index: -1; left: 50%; top: -14%; width: 150%; height: 90%;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 44%, rgba(255, 241, 214, .3), rgba(255, 241, 214, .08) 46%, transparent 72%);
  opacity: 0; transition: opacity .6s var(--ease);
}
.pick:hover::before, .pick:focus-within::before { opacity: 1; }
.pick__link { display: flex; flex-direction: column; width: 100%; min-width: 0; color: inherit; text-decoration: none; }
.pick__link:focus-visible { outline-offset: 6px; }
.pick__frame { flex: none; --mat: clamp(7px, .9vw, 12px); }
.pick__frame.frame--oak { --mould: 10px; }
.pick__frame.frame--walnut { --mould: 9px; }
.pick__frame.frame--black { --mould: 6px; }
.pick .mat { height: auto; }
.pick .mat img { height: auto; aspect-ratio: 4 / 3; }
.pick__link:hover .pick__frame, .pick__link:focus-visible .pick__frame { transform: translateY(-3px); box-shadow: var(--frame-shadow-lit); }
.pick__link:hover img, .pick__link:focus-visible img { filter: brightness(1.06) saturate(1.04); }
.pick__label { flex: 1 0 auto; display: flex; flex-direction: column; width: 100%; margin-top: 12px; }
.pick__label .label__room { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px; }
.pick__label .label__name { font-size: 1.08rem; }
.pick__link:hover .label__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.pick__score { padding-bottom: 6px; white-space: normal; }
.pick__score b { font-weight: 600; color: var(--ink); }
.pick__label .label__price { margin-top: auto !important; }
.pick__link:hover .label__link { color: var(--ink); }

@media (max-width: 1099px) { .picks { --cols: 4; } }
@media (max-width: 699px) { .picks { --cols: 3; } }
@media (max-width: 559px) {
  .picks { --cols: 2; --gx: 14px; row-gap: 24px; }
  .pick__label { margin-top: 10px; padding: 8px 9px; font-size: .68rem; }
  .pick__label .label__name { font-size: 1rem; }
  .pick__label .label__room { font-size: .54rem; letter-spacing: .14em; }
  .pick__label .label__link-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .pick__label .label__link .ic { width: 1.15em; }
  .pick__frame.frame--oak { --mould: 8px; }
  .pick__frame.frame--walnut { --mould: 7px; }
  .pick__frame.frame--black { --mould: 5px; }
}

/* ==========================================================================
   ROOM (country page)
   ========================================================================== */
.page-room { background: var(--wall); color: var(--ivory); }
.page-room main :focus-visible, .page-room .signage :focus-visible { outline-color: var(--ivory); }

/* ---------- directional signage ---------- */
.signage { background: #141311; color: #f1ece2; position: relative; z-index: 30; }
.signage__inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; min-height: 58px;
}
.sign {
  display: flex; align-items: center; gap: 10px; min-width: 0; padding: 14px 0;
  text-decoration: none; font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
}
.sign--next { justify-content: flex-end; text-align: right; }
.sign__no { white-space: nowrap; }
.sign__name { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.2rem; letter-spacing: 0; text-transform: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sign__arrow { width: 26px; transition: transform .3s var(--ease); }
.sign--prev:hover .sign__arrow { transform: translateX(-4px); }
.sign--next:hover .sign__arrow { transform: translateX(4px); }
.sign:hover .sign__name { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.sign-menu { position: relative; }
.sign-menu summary {
  display: flex; align-items: center; gap: 10px; padding: 9px 14px; cursor: pointer; list-style: none;
  border: 1px solid rgba(241, 236, 226, .38);
  font-size: .68rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
}
.sign-menu summary::-webkit-details-marker { display: none; }
.sign-menu summary:hover { background: rgba(241, 236, 226, .08); }
.sign__chev { width: .9em; transition: transform .25s; }
.sign-menu[open] .sign__chev { transform: rotate(180deg); }
.sign-menu__list {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); z-index: 50;
  width: max-content; min-width: 250px; max-width: calc(100vw - 32px); margin: 0; padding: 8px; list-style: none;
  background: #141311; border: 1px solid rgba(241, 236, 226, .2); box-shadow: 0 22px 44px rgba(0, 0, 0, .45);
}
.sign-menu__list a {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; text-decoration: none;
  font-family: var(--serif); font-size: 1.12rem;
}
.sign-menu__list a:hover, .sign-menu__list a[aria-current] { background: rgba(241, 236, 226, .09); }
.sign-menu__list a[aria-current] { font-style: italic; }
.sign-menu__no { min-width: 4.8em; font-family: var(--sans); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(241, 236, 226, .66); }
.sign-menu__plan { margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(241, 236, 226, .16); }
.sign-menu__plan a { font-family: var(--sans); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; }
.sign-menu__plan .ic { width: 1.5em; }
@media (max-width: 640px) {
  .sign__name { display: none; }
  .sign { letter-spacing: .14em; }
  .sign-menu summary { padding: 8px 10px; }
}

/* ---------- room heading + intro panel ---------- */
.room-main { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(56px, 8vw, 110px); overflow-x: clip; }
.room-head { padding: clamp(26px, 4vw, 56px) 0 clamp(16px, 2.4vw, 28px); }
.kicker--wall { color: var(--ivory-2); }
.room-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 7.6vw, 6.2rem); line-height: .95; letter-spacing: -.012em; }
.room-title__no { font-style: italic; }
.room-title__dash { opacity: .55; }
.room-native { margin: .35em 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.65rem); color: var(--ivory-2); }

.intro {
  margin-top: clamp(56px, 7vw, 96px);
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  background: var(--paper); color: var(--ink);
  box-shadow: 0 2px 3px rgba(0, 0, 0, .2), 0 34px 60px -34px rgba(0, 0, 0, .6);
}
.intro :focus-visible { outline-color: var(--ink); }
.intro__text { padding: clamp(20px, 3.4vw, 44px); min-width: 0; }
.intro__title { margin: 0 0 12px; font-size: .66rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }
.intro__lede { margin: 0 0 22px; max-width: 42rem; font-family: var(--serif); font-size: clamp(1.22rem, 2vw, 1.6rem); line-height: 1.28; }
.facts {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0 0 14px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule);
}
.facts div { padding: 10px 10px 10px 0; min-width: 0; }
.facts dt { font-size: .58rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.facts dd { margin: 2px 0 0; font-family: var(--serif); font-size: clamp(1.15rem, 1.9vw, 1.55rem); font-weight: 600; white-space: nowrap; }
.intro__credit { margin: 0 0 14px; font-size: .66rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.intro__notes { margin: 0; padding: 0; list-style: none; display: grid; gap: 5px; font-size: .86rem; color: var(--ink-2); }
.intro__notes span { display: inline-block; min-width: 9.2em; font-size: .58rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.intro__notes small { font-size: .8em; color: var(--ink-3); }
.intro__map {
  margin: 0; padding: clamp(16px, 2.6vw, 30px); min-width: 0;
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
  background: #efeae0; border-left: 1px solid var(--rule);
}
.room-map { display: block; width: 100%; height: auto; max-height: 380px; }
.intro__map figcaption { font-size: .72rem; color: var(--ink-3); line-height: 1.45; }
.map-main { fill: #e0d8c9; stroke: rgba(28, 27, 24, .45); stroke-width: 1.2; stroke-linejoin: round; }
.map-other { fill: #ebe5da; stroke: rgba(28, 27, 24, .18); stroke-width: 1; }
.map-inset { fill: #efeae0; }
.map-inset-line { fill: none; stroke: rgba(28, 27, 24, .35); stroke-width: 1.2; }
.map-dots circle { fill: var(--wall); opacity: .18; transition: opacity .3s; }
.map-dots circle.on { opacity: .9; }
@media (max-width: 860px) {
  .intro { grid-template-columns: minmax(0, 1fr); }
  .intro__map { border-left: 0; border-top: 1px solid var(--rule); }
  .room-map { max-height: 300px; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro__notes span { display: block; }
}

/* ---------- floor guide ---------- */
.guide {
  margin: clamp(30px, 4.5vw, 52px) 0 0;
  background: var(--stone); color: var(--ink);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .2), 0 14px 26px -18px rgba(0, 0, 0, .7);
}
.guide :focus-visible { outline-color: var(--ink); }
@media (min-width: 900px) { .guide { position: sticky; top: 0; z-index: 20; } }
.guide__inner { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 16px; padding: 12px clamp(12px, 2vw, 18px); }
.guide__title {
  align-self: stretch; display: flex; align-items: center; margin: 0; padding-right: 16px; border-right: 1px solid var(--rule);
  font-size: .62rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; white-space: nowrap;
}
.field { display: flex; flex-direction: column; gap: 2px; flex: 1 1 128px; min-width: 0; }
.field--search { flex: 2 1 190px; }
.field__k { display: flex; justify-content: space-between; gap: 6px; font-size: .58rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.field__k output { color: var(--ink); letter-spacing: .08em; }
.field input[type="search"], .field select {
  width: 100%; min-width: 0; height: 36px; padding: 6px 2px; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0;
  background-color: transparent; color: var(--ink); font: inherit; font-size: .88rem;
}
.field input[type="search"]::placeholder { color: #8b8478; }
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 22px; cursor: pointer; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%231c1b18' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; background-size: 11px;
}
.field select option { color: var(--ink); background: var(--paper); }
.field input[type="range"] { width: 100%; height: 36px; margin: 0; accent-color: var(--wall); cursor: pointer; }
.guide__count { margin: 0 0 0 auto; align-self: center; font-size: .72rem; color: var(--ink-2); white-space: nowrap; }
.guide__count b { color: var(--ink); font-weight: 600; }
.guide__reset {
  align-self: center; height: 34px; padding: 0 12px; cursor: pointer;
  background: transparent; border: 1px solid var(--ink); color: var(--ink);
  font-size: .62rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
}
.guide__reset:hover { background: var(--ink); color: var(--stone); }
@media (max-width: 560px) {
  .guide__title { border-right: 0; padding-right: 0; flex-basis: 100%; }
  .field { flex-basis: 40%; }
  .field--search { flex-basis: 100%; }
  .guide__count { margin-left: 0; }
}
.no-js .guide, .no-js .next-wall-wrap { display: none; }

/* ---------- walls + the salon hang ---------- */
.walls { margin-top: clamp(30px, 4.5vw, 54px); }
.wall + .wall { margin-top: clamp(56px, 8vw, 110px); }
.wall__plaque {
  display: flex; align-items: baseline; gap: 14px; margin: 0 0 clamp(20px, 3vw, 34px);
  font-weight: 400; color: var(--ivory); scroll-margin-top: 110px;
}
.wall__plaque:focus { outline: none; }
.wall__plaque:focus-visible { outline: 2px solid var(--ivory); outline-offset: 6px; }
.wall__plaque::after { content: ""; flex: 1; height: 1px; align-self: center; background: currentColor; opacity: .28; }
.wall__no { font-family: var(--serif); font-style: italic; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1; }
.wall__range { font-size: .64rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory-2); white-space: nowrap; }

.hang {
  --cols: 6; --row: 300px;
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  grid-auto-rows: var(--row);
  grid-auto-flow: row dense;
  gap: clamp(30px, 3.4vw, 46px) clamp(18px, 2.6vw, 36px);
}
.work { --label-h: 158px; position: relative; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; min-height: 0; isolation: isolate; }
.work--s { grid-column: span 1; --mat: 10px; }
.work--w { grid-column: span 2; --mat: 11px; }
.work--p { grid-column: span 2; grid-row: span 2; --mat: 22px; }
.work--l { grid-column: span 4; grid-row: span 2; --mat: 28px; }
.work::before { /* the spotlight */
  content: ""; position: absolute; z-index: -1; left: 50%; top: -16%; width: 150%; height: 96%;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 44%, rgba(255, 241, 214, .34), rgba(255, 241, 214, .1) 46%, transparent 72%);
  opacity: 0; transition: opacity .6s var(--ease);
}
.work:hover::before, .work:focus-within::before { opacity: 1; }
/* frames in a row share one height; the label hangs just below, whatever its length */
.work .frame { flex: none; width: 100%; height: calc(100% - var(--label-h)); min-height: 60px; cursor: zoom-in; }
.work--s .label__link-t, .work--w .label__link-t {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.work--s .label__link .ic, .work--w .label__link .ic { width: 1.15em; }
.work .frame:hover, .work .frame:focus-visible { transform: translateY(-3px); box-shadow: var(--frame-shadow-lit); }
.work .frame:hover img, .work .frame:focus-visible img { filter: brightness(1.06) saturate(1.04); }
.work .frame:focus-visible { outline-offset: 5px; }
.work .label { flex: none; margin-top: 12px; }
.work--l .label, .work--p .label { width: min(100%, 21rem); }
.work.is-new { animation: hang-in .7s var(--ease) both; }
@keyframes hang-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 1099px) {
  .hang { --cols: 4; --row: 292px; }
}
@media (max-width: 699px) {
  /* fine 10px rows: spacing lives in each work's padding, so large works can stay landscape */
  .hang { --cols: 2; --row: 10px; gap: 0 16px; }
  .work { --label-h: 150px; padding-bottom: 34px; grid-row: span 32; }
  .work--l { grid-column: span 2; grid-row: span 44; --mat: 18px; }
  .work--p { grid-column: span 2; grid-row: span 56; --mat: 18px; }
  .work--w { grid-column: span 1; grid-row: span 32; --mat: 9px; }
  .work::before { height: 80%; }
  .work--s { --mat: 8px; }
  .work .label { padding: 8px 9px; font-size: .68rem; }
  .work .label__name { font-size: 1.02rem; }
  .frame--oak { --mould: 10px; }
  .frame--walnut { --mould: 9px; }
  .frame--black { --mould: 6px; }
}

.walls__empty { margin: 30px auto 0; max-width: 30rem; padding: 28px; text-align: center; background: var(--paper); color: var(--ink); }
.walls__empty p { margin: 0 0 8px; }
.walls__empty-t { font-family: var(--serif); font-style: italic; font-size: 1.8rem; }
.walls__empty :focus-visible { outline-color: var(--ink); }
.btn-plain {
  margin-top: 8px; padding: 10px 16px; cursor: pointer; background: var(--ink); color: var(--ivory); border: 0;
  font-size: .66rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
}

.next-wall-wrap { display: flex; justify-content: center; margin-top: clamp(44px, 6vw, 76px); }
.next-wall {
  display: grid; justify-items: center; gap: 4px; min-width: min(100%, 320px); padding: 16px 30px 15px; cursor: pointer;
  background: var(--ivory); color: var(--ink); border: 0;
  box-shadow: 0 2px 3px rgba(0, 0, 0, .2), 0 18px 34px -18px rgba(0, 0, 0, .7);
}
.next-wall[hidden] { display: none; }
.next-wall__k { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-style: italic; font-size: 1.65rem; line-height: 1.1; }
.next-wall__k .ic { width: 1.1em; transition: transform .3s var(--ease); }
.next-wall:hover .next-wall__k .ic { transform: translateX(5px); }
.next-wall__s { font-size: .62rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.next-wall:focus-visible { outline-color: var(--ivory); outline-offset: 5px; }

/* ---------- the detail view (dialog) ---------- */
.viewer {
  width: min(1220px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px);
  margin: auto; padding: 0; border: 0; overflow: hidden;
  background: var(--wall); color: var(--ivory);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .65);
}
.viewer[open] { display: flex; flex-direction: column; animation: viewer-in .4s var(--ease); }
.viewer::backdrop { background: rgba(16, 15, 13, .84); }
@keyframes viewer-in { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }
.viewer :focus-visible { outline-color: var(--ivory); }
.viewer__close {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px; cursor: pointer;
  background: rgba(20, 19, 17, .55); color: var(--ivory); border: 1px solid var(--ivory-3);
  font-size: .64rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
}
.viewer__close .ic { width: .85em; }
.viewer__close:hover { background: rgba(20, 19, 17, .85); }
.viewer__inner {
  flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(270px, 1fr); align-items: center;
  gap: clamp(20px, 3vw, 46px); padding: 62px clamp(16px, 3vw, 46px) 26px;
  background: radial-gradient(ellipse 55% 65% at 33% 42%, rgba(255, 241, 214, .16), transparent 72%);
}
.viewer__art { display: flex; justify-content: center; min-width: 0; }
.viewer__frame { --mould: 16px; --mat: clamp(14px, 3vw, 38px); width: min(100%, calc((100dvh - 230px) * 4 / 3)); }
.viewer__frame .mat { aspect-ratio: 4 / 3; height: auto; min-height: 0; overflow: hidden; }
.viewer__frame.frame--black { --mould: 10px; }
.viewer__label { position: relative; width: auto; padding: clamp(16px, 2vw, 24px); font-size: .84rem; }
.viewer__label :focus-visible { outline-color: var(--ink); }
.viewer__label .label__room, .viewer__label .label__name, .viewer__label > .label__line { margin-right: 92px; }
.viewer__label .label__name { font-size: clamp(1.5rem, 2.6vw, 2.15rem); -webkit-line-clamp: 4; line-clamp: 4; }
.viewer__label .label__line { white-space: normal; }
.viewer__dl { margin: 14px 0; border-top: 1px solid var(--ink); }
.viewer__dl div { display: grid; grid-template-columns: 7.4em minmax(0, 1fr); gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--rule); }
.viewer__dl dt { padding-top: 3px; font-size: .58rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.viewer__dl dd { margin: 0; overflow-wrap: anywhere; }
.perks { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; }
.perks:empty { display: none; }
.perks li { position: relative; padding: 4px 9px 4px 23px; border: 1px solid var(--rule); font-size: .7rem; }
.perks li::before {
  content: ""; position: absolute; left: 9px; top: 50%; width: 7px; height: 4px;
  border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-75%) rotate(-45deg);
}
.viewer__price { margin: 0; font-family: var(--serif); font-size: 1.15rem; }
.viewer__price b { font-size: 2rem; font-weight: 600; }
.viewer__price s { color: var(--ink-3); font-size: 1rem; }
.viewer__stay { margin: 0 0 14px !important; font-size: .6rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.acquire {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px;
  background: var(--ink); color: var(--ivory); text-decoration: none;
  font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  transition: background-color .3s;
}
.acquire .ic { width: 1em; }
.acquire:hover { background: var(--wall); }
.viewer__map { position: absolute; top: 16px; right: 16px; width: 78px; height: auto; max-height: 116px; }
.viewer__map[hidden] { display: none; }
.viewer__dot { fill: var(--signal); stroke: #fff; stroke-width: 5; }
.viewer__bar {
  flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px clamp(16px, 3vw, 46px) 16px; border-top: 1px solid var(--ivory-3);
}
.viewer__step {
  display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; cursor: pointer;
  background: transparent; color: var(--ivory); border: 1px solid var(--ivory-3);
  font-size: .66rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
}
.viewer__step .ic { width: 1.4em; }
.viewer__step:hover { background: rgba(244, 239, 230, .1); }
.viewer__step:disabled { opacity: .35; cursor: default; }
.viewer__pos { font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory-2); text-align: center; }
@media (max-width: 820px) {
  .viewer { width: 100vw; max-height: 100dvh; height: 100dvh; }
  .viewer__inner { grid-template-columns: minmax(0, 1fr); align-items: start; padding-top: 60px; }
  .viewer__frame { width: 100%; --mould: 11px; }
}
html:has(.viewer[open]) { overflow: hidden; }

/* ---------- footer ---------- */
.foot { background: var(--stone); color: var(--ink); border-top: 1px solid var(--rule); }
.foot :focus-visible { outline-color: var(--ink); }
.foot__inner {
  max-width: var(--max); margin: 0 auto; padding: clamp(36px, 5vw, 60px) var(--gutter) 26px;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px clamp(24px, 4vw, 56px);
}
.foot__name { margin: 0 0 8px; font-family: var(--serif); font-style: italic; font-size: 1.7rem; line-height: 1; }
.foot__brand p:last-child { margin: 0; color: var(--ink-2); font-size: .9rem; max-width: 26rem; }
.foot__h { margin: 0 0 12px; font-size: .62rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }
.foot__rooms ol { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 24px; }
.foot__rooms li { break-inside: avoid; }
.foot__rooms a { display: flex; align-items: center; gap: 9px; padding: 4px 0; text-decoration: none; font-size: .88rem; }
.foot__rooms a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot__rooms a[aria-current] { font-weight: 600; }
.foot__visit dl { margin: 0; }
.foot__visit div { display: grid; grid-template-columns: 7.6em minmax(0, 1fr); gap: 8px; padding: 5px 0; border-bottom: 1px solid var(--rule); font-size: .86rem; }
.foot__visit dt { padding-top: 2px; font-size: .58rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.foot__visit dd { margin: 0; }
.foot__fine {
  max-width: var(--max); margin: 0 auto; padding: 16px var(--gutter) 34px;
  font-size: .76rem; line-height: 1.6; color: var(--ink-3);
}
@media (max-width: 880px) { .foot__inner { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .foot__rooms ol { columns: 1; } }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .plan-here__pulse { display: none; }
  .work .frame:hover, .work .frame:focus-visible, .pick__link:hover .pick__frame, .pick__link:focus-visible .pick__frame { transform: none; }
}
