/* Interior album. Existing paper, ink, clay, typography and square edges retained. */
.gallery-head { padding-top: clamp(72px,8vw,120px); padding-bottom: 44px; }
.gallery-head .display { font-size: clamp(42px,5.5vw,80px); }
.gallery-head > p { max-width: 65ch; font-size: 16px; margin-top: 24px; }
.room-explorer { display: grid; grid-template-columns: 208px minmax(0,1fr); gap: 0 40px; align-items: start; }
.room-navigation { position: sticky; top: 100px; padding-top: 8px; min-width: 0; }
.room-navigation-heading { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.room-navigation-heading h3 { margin: 0; font: 400 23px/1.2 var(--serif); }
.room-navigation-heading > span { font-size: 13px; color: var(--moss); }
.room-picker { display: flex; flex-direction: column; gap: 0; padding: 0; border: 0; overflow: visible; }
.room-picker .room-select { display: flex; flex: none; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 58px; padding: 14px 0; border: 0; background: transparent; text-align: left; font-size: 14px; line-height: 1.45; color: #625d54; }
.room-picker .room-select span { max-width: 23ch; }
.room-picker .room-select small { color: #625d54; font-size: 11px; font-variant-numeric: tabular-nums; }
.room-picker .room-select[aria-pressed="true"] { color: var(--clay); font-weight: 600; }
.room-picker .room-select[aria-pressed="true"] span { text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 1px; }
.room-picker .room-select:hover { color: var(--ink); background: transparent; }
.room-plan-link { display: inline-flex; min-height: 44px; align-items: center; margin-top: 24px; border-bottom: 1px solid var(--line); font-size: 12px; }
.room-mobile-picker { display: none; }
.room-content { min-width: 0; display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); grid-template-areas: 'heading heading' 'stage stage' 'toolbar toolbar' 'thumbs thumbs' 'variant variant' 'description mood'; column-gap: 36px; }
.room-content:not(.has-atmosphere) { grid-template-areas: 'heading heading' 'stage stage' 'toolbar toolbar' 'thumbs thumbs' 'variant variant' 'description description'; }
.room-heading { grid-area: heading; display: flex; align-items: baseline; justify-content: space-between; padding: 0 0 24px; gap: 20px; min-height: 64px; }
.room-heading h3 { font: 400 clamp(28px,3vw,44px)/1.15 var(--serif); margin: 0; }
.room-heading > span { flex: 0 1 auto; max-width: 25ch; margin: 0; font-size: 12px; text-align: right; }
.room-stage { grid-area: stage; height: auto; aspect-ratio: 16/9; background: var(--paper-soft); touch-action: pan-y pinch-zoom; }
.room-stage[data-orientation="portrait"] { aspect-ratio: 4/3; }
.room-image-open { display: block; }
.room-image-open img { object-fit: contain; height: 100%; width: 100%; }
.room-expand { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: var(--paper); color: var(--ink); cursor: zoom-in; }
.room-expand:hover { background: var(--light); }
.room-expand img { width: 20px; height: 20px; }
.room-image-error { inset: 30% 10%; margin: 0; padding: 20px; background: var(--paper-soft); }
.room-toolbar { grid-area: toolbar; flex-direction: row; align-items: center; justify-content: space-between; padding: 8px 0; gap: 12px; }
.room-toolbar > div { display: flex; width: auto; justify-content: flex-end; gap: 8px; }
.room-toolbar button { display: grid; place-items: center; width: 48px; min-height: 44px; padding: 0; border: 0; background: transparent; }
.room-toolbar button:hover { background: var(--paper-soft); }
.room-toolbar img { width: 22px; height: 22px; }
.room-toolbar p { font-size: 12px; }
.room-swipe-hint { display: none; font-size: 11px; color: #625d54; }
.room-thumbnails { gap: 8px; padding: 4px 2px 12px; scroll-snap-type: x proximity; }
.room-thumbnails button { padding: 0 0 6px; border: 0; border-bottom: 2px solid transparent; scroll-snap-align: start; }
.room-thumbnails button[aria-pressed="true"] { border-color: var(--clay); }
.room-thumbnails img { width: 98px; height: 66px; object-fit: cover; }
.room-variant { margin: 12px 0 0; }
.room-description { grid-area: description; max-width: 40ch; margin: 36px 0 0; font: 400 clamp(21px,1.8vw,28px)/1.4 var(--serif); }
.room-atmosphere { grid-area: mood; display: grid; grid-template-columns: minmax(90px,.45fr) minmax(0,1fr); gap: 24px; align-items: center; margin-top: 36px; }
.room-atmosphere .mood-scene { width: 100%; height: 180px; }
.room-atmosphere h4 { margin: 0 0 12px; font: 400 24px/1.2 var(--serif); }
.room-atmosphere p { margin: 0 0 12px; font-size: 13px; line-height: 1.6; }
.room-atmosphere small { font-size: 11px; }
#galleryStatus, #galleryRetry { grid-column: 1 / -1; justify-self: start; }
.lightbox:not(.is-plan) figure img { touch-action: pan-y pinch-zoom; }

/* Small visible icon, full-size touch target. Playback remains available at all times. */
.motion-control { display: grid; place-items: center; width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 0; border: 0; background: transparent; backdrop-filter: none; overflow: visible; }
.motion-control::before { content: ''; position: absolute; width: 32px; height: 32px; background: #25231fe8; pointer-events: none; }
.motion-control > img { position: relative; width: 18px; height: 18px; filter: invert(1); pointer-events: none; }
.motion-control .motion-tooltip { position: absolute; bottom: calc(100% + 6px); right: 0; padding: 6px 10px; background: var(--ink); color: var(--light); font: 400 12px/1.4 var(--sans); white-space: nowrap; opacity: 0; pointer-events: none; }
.motion-control:hover .motion-tooltip, .motion-control:focus-visible .motion-tooltip { opacity: 1; }
.hero-motion-control { right: calc(var(--pad) - 6px); bottom: 138px; }
.film-overlay .motion-control { position: absolute; right: 18px; bottom: 18px; }
.mood-scene .motion-control { right: 6px; bottom: 6px; }
.motion-control:focus-visible { outline: 2px solid var(--light); outline-offset: 2px; }

@media (max-width:1100px) {
  .room-explorer { grid-template-columns: 180px minmax(0,1fr); gap: 0 28px; }
  .room-content { grid-template-columns: minmax(0,1fr); grid-template-areas: 'heading' 'stage' 'toolbar' 'thumbs' 'variant' 'description' 'mood'; }
  .room-content:not(.has-atmosphere) { grid-template-areas: 'heading' 'stage' 'toolbar' 'thumbs' 'variant' 'description'; }
  .room-heading { display: block; }
  .room-heading > span { display: block; max-width: none; text-align: left; margin-top: 10px; }
  .room-atmosphere { grid-template-columns: 130px minmax(0,1fr); max-width: 580px; margin-top: 28px; }
}
@media (max-width:767px) {
  .gallery-head { padding-top: 72px; padding-bottom: 32px; }
  .gallery-head .display { font-size: clamp(42px,11vw,62px); }
  .gallery-head > p { font-size: 15px; line-height: 1.6; margin-top: 18px; }
  .room-explorer { display: block; }
  .room-navigation { position: static; padding: 0; margin-bottom: 20px; }
  .room-navigation-heading, .room-picker { display: none; }
  .room-mobile-picker { display: grid; gap: 8px; }
  .room-mobile-picker > span { color: #625d54; font-size: 12px; }
  .room-mobile-picker select { width: 100%; min-width: 0; min-height: 54px; padding: 8px 28px 8px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--ink); background: var(--paper); font: 400 22px/1.35 var(--serif); text-overflow: ellipsis; }
  .room-plan-link { margin-top: 8px; font-size: 12px; }
  .room-heading { position: relative; min-height: 0; padding-bottom: 16px; }
  .room-heading h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .room-heading > span { margin: 0; font-size: 13px; }
  .room-stage { width: calc(100% + var(--pad) * 2); margin-inline: calc(var(--pad) * -1); aspect-ratio: 4/3; }
  .room-stage[data-orientation="portrait"] { aspect-ratio: 4/5; }
  .room-toolbar { padding: 8px 0; }
  .room-toolbar > div { gap: 0; }
  .room-toolbar button { width: 44px; padding: 0; }
  .room-swipe-hint { display: block; }
  .room-thumbnails img { width: 82px; height: 56px; }
  .room-description { margin-top: 24px; font-size: 22px; }
  .room-atmosphere { grid-template-columns: minmax(90px,.55fr) minmax(0,1fr); gap: 20px; margin-top: 28px; }
  .room-atmosphere .mood-scene { height: 190px; }
  .room-atmosphere h4 { font-size: 23px; }
  .room-atmosphere p { font-size: 13px; }
  .hero-motion-control { right: 6px; bottom: 6px; }
  .film-overlay .motion-control { right: 12px; bottom: 12px; }
}
@media (max-width:359px) {
  .room-swipe-hint { display: none; }
  .room-atmosphere { gap: 16px; }
}
