/* User-selected editorial spreads; legacy gallery.css retains playback controls. */
.mobile-room-gallery { display: none; }
.mobile-room-pagination, .mobile-future-film { display: none; }
.mobile-room-back, .mobile-detail-photo,
.plan-inline-tools, .plan-pan-hint, .room-picker .room-select-preview { display: none; }
.plan-viewer { min-width: 0; }
.plan-pan > img { width: 100%; height: auto; }
.plan-viewer > .plan-image-button { display: block; margin: 16px auto 0; }
.room-explorer { display: block; }
.room-navigation { position: static; padding: 0; margin-bottom: 32px; }
.room-navigation-heading { display: none; }
.room-picker { display: flex; flex-direction: row; flex-wrap: wrap; gap: 4px 8px; padding: 12px; background: var(--paper-soft); border: 0; }
.room-picker .room-select { width: auto; min-height: 48px; padding: 12px 16px; gap: 10px; font-weight: 400; font-size: 15px; color: var(--ink); }
.room-picker .room-select[aria-pressed="true"] { background: var(--ink); color: var(--light); font-weight: 400; }
.room-picker .room-select[aria-pressed="true"] small { color: var(--light); }
.room-picker .room-select[aria-pressed="true"] span { text-decoration: none; }
.room-picker .room-select:hover:not([aria-pressed="true"]) { background: var(--paper); }
.room-picker .room-select small { font-size: 11px; }
.room-picker .room-select span { max-width: none; }
.room-plan-link { margin-top: 8px; border: 0; text-decoration: underline; text-underline-offset: 5px; }
.room-content, .room-content:not(.has-atmosphere) { grid-template-columns: minmax(0,1.7fr) minmax(280px,1fr); grid-template-areas: 'heading heading' 'stage mood' 'toolbar toolbar' 'thumbs thumbs' 'variant variant'; column-gap: clamp(28px,3vw,56px); align-items: start; }
.room-content[data-layout="paired"] { grid-template-columns: minmax(0,1.08fr) minmax(0,1fr) minmax(240px,1fr); grid-template-areas: 'heading heading heading' 'stage companion mood' 'toolbar toolbar toolbar' 'thumbs thumbs thumbs' 'variant variant variant'; column-gap: clamp(22px,2.6vw,42px); }
.room-heading { padding-bottom: 28px; }
.room-heading h3 { font-size: clamp(30px,3.3vw,48px); }
.room-heading > span { max-width: 32ch; }
.room-stage, .room-stage[data-orientation="portrait"] { align-self: center; width: 100%; height: auto; aspect-ratio: auto; background: transparent; }
.room-image-open { display: block; width: 100%; height: auto; }
.room-image-open img { width: 100%; height: auto; object-fit: initial; }
.room-stage:has(.room-image-error:not([hidden])) { min-height: 280px; }
.room-expand { right: 16px; bottom: 16px; width: 52px; height: 52px; background: var(--light); box-shadow: 0 3px 12px rgb(37 35 31 / .12); }
.room-expand img { width: 26px; height: 26px; }
.room-expand:focus-visible { outline: 2px solid var(--clay); outline-offset: 4px; }
.room-companion { grid-area: companion; align-self: center; margin: 0; min-width: 0; }
.room-companion button { display: block; padding: 0; border: 0; background: transparent; width: 100%; cursor: zoom-in; }
.room-companion img { width: 100%; height: auto; }
.room-companion figcaption { margin-top: 12px; font-size: 11px; color: #625d54; }
.room-toolbar { padding: 18px 0 12px; }
.room-toolbar > div { margin-left: auto; }
.gallery-announcement { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.collection-options { margin: 28px 0; }
.collection-options h4 { margin: 0 0 12px; font: 400 25px/1.25 var(--serif); }
.collection-options p { margin: 0 0 12px; }
.room-thumbnails { gap: 14px; padding: 4px 2px 14px; min-width: 0; }
.room-thumbnails button { padding-bottom: 8px; }
.room-thumbnails img { width: clamp(180px,16vw,240px); height: auto; aspect-ratio: 3/2; object-fit: cover; }
.room-atmosphere { display: flex; flex-direction: column; gap: 22px; align-self: center; align-items: stretch; min-width: 0; margin: 0; max-width: none; }
.room-atmosphere .room-description { grid-area: auto; margin: 0; max-width: 34ch; font: 400 clamp(20px,1.7vw,26px)/1.45 var(--serif); color: var(--ink); }
.room-atmosphere .room-mood-media { width: 100%; height: auto; max-height: none; aspect-ratio: 1/1; }
.room-mood-media > .room-mood-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.room-mood-media > video { pointer-events: none; }
.room-mood-media[data-association="forest-living-v13"] > video { transition: opacity 350ms var(--ease-out, cubic-bezier(.23,1,.32,1)); }
@media (prefers-reduced-motion: reduce) {
  .room-mood-media[data-association="forest-living-v13"] > video { transition: none; }
}
/* Display-only grading: retain original masters for future animation/export.
   Keep interior renders and playback controls outside the treatment. */
.room-mood-media,
.nature-landscape .mood-scene,
.settlement-atmosphere {
  --association-saturation: .96;
  --association-contrast: 1;
}
.nature-landscape .mood-scene {
  --association-saturation: .84;
  --association-contrast: .98;
}
.room-mood-media[data-association="forest-living-v13"] {
  --association-saturation: .80;
  --association-contrast: .98;
}
.settlement-atmosphere { --association-saturation: .88; }
.room-mood-media > .room-mood-photo,
.room-mood-media > video,
.nature-landscape .mood-scene > img,
.nature-landscape .mood-scene > video,
.settlement-atmosphere > img {
  filter: saturate(var(--association-saturation)) contrast(var(--association-contrast));
}
.room-atmosphere h4 { margin: 0 0 10px; font: 400 21px/1.25 var(--serif); }
.room-atmosphere p { margin: 0 0 12px; font-size: 13px; line-height: 1.65; }
.room-atmosphere small { font-size: 11px; color: #625d54; }
.room-content[data-layout="paired"] .room-atmosphere .room-mood-media { aspect-ratio: 4/5; max-height: none; }

/* An unpaired portrait is a portrait spread, never a landscape stretched tall.
   Size the button to the actual image so its fullscreen control stays on-image. */
@media (min-width:768px) {
  /* The height budget applies to every aspect ratio, including near-square
     landscape renders. A binary portrait check missed master 06 / 08. */
  .room-content .room-stage { width: fit-content; max-width: 100%; justify-self: end; }
  .room-content .room-image-open { width: fit-content; max-width: 100%; }
  .room-content .room-image-open img { width: auto; max-width: 100%; height: auto; max-height: min(82vh,980px); }
  .room-content .room-atmosphere { width: 100%; max-width: 700px; justify-self: start; }
  .room-content .room-atmosphere .room-mood-media { max-height: min(60vh,650px); }
  .room-content[data-layout="portrait"] { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .room-content[data-layout="portrait"] .room-stage { width: fit-content; max-width: 100%; justify-self: end; }
  .room-content[data-layout="portrait"] .room-image-open { width: fit-content; max-width: 100%; }
  .room-content[data-layout="portrait"] .room-image-open img { width: auto; max-width: 100%; height: auto; max-height: min(82vh,980px); }
  .room-content[data-layout="portrait"] .room-atmosphere { width: 100%; max-width: 700px; justify-self: start; }
  .room-content[data-layout="portrait"] .room-mood-media { aspect-ratio: 4/3; }
  .room-content[data-layout="paired"] .room-image-open,
  .room-content[data-layout="paired"] .room-companion button { width: fit-content; max-width: 100%; margin-inline: auto; }
  .room-content[data-layout="paired"] .room-image-open img,
  .room-content[data-layout="paired"] .room-companion img { width: auto; max-width: 100%; height: auto; max-height: min(82vh,980px); }
  .room-content[data-layout="paired"] .room-stage { width: fit-content; max-width: 100%; justify-self: center; }
  .room-content[data-layout="paired"] .room-mood-media { max-height: min(63vh,720px); }
}
@media (min-width:1101px) {
  .room-content[data-layout="paired"] .room-atmosphere .room-mood-media { aspect-ratio: 4/3; max-height: min(49vh,600px); }
}

.plan-room-links { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 4px 20px; }
.plan-room-links .plan-room-entry { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 1px 9px; align-content: center; align-items: center; min-height: 60px; padding: 9px 0; border: 0; text-align: left; font: 400 13px/1.35 var(--sans); color: var(--ink); }
.plan-room-number { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--moss); border-radius: 50%; font: 400 13px/1 var(--sans); font-variant-numeric: lining-nums tabular-nums; letter-spacing: 0; text-indent: 0; }
.plan-room-entry small { grid-column: 2; font-size: 11px; color: #625d54; }
.plan-room-links button .plan-room-name { text-decoration: none; }
.plan-room-links button:hover .plan-room-name { color: var(--clay); }
.settlement-atmosphere { margin: 44px 0 52px; }
.settlement-atmosphere > img { width: 100%; height: auto; aspect-ratio: 3/1; object-fit: cover; }
.settlement-atmosphere figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-top: 15px; }
.settlement-atmosphere figcaption span { font: 400 clamp(22px,2.5vw,34px)/1.3 var(--serif); }
.settlement-atmosphere figcaption small { font-size: 11px; color: var(--moss); }
.settlement-map { max-width: none; }

/* Vector companion never hides the native pointer or intercepts controls. */
.leaf-pointer { position: fixed; left: 0; top: 0; z-index: 100; width: 32px; height: 32px; pointer-events: none; opacity: 0; color: var(--ink); transform-origin: center; }
.leaf-pointer img { width: 100%; height: 100%; filter: drop-shadow(0 1px 1px #f2efe8); }
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  html.leaf-pointer-active .leaf-pointer { opacity: 1; }
}
@media (max-width:1100px) {
  .room-content, .room-content:not(.has-atmosphere) { grid-template-columns: minmax(0,1.7fr) minmax(210px,1fr); column-gap: 28px; }
  .room-content[data-layout="paired"] { grid-template-columns: minmax(0,1fr) minmax(0,1fr); grid-template-areas: 'heading heading' 'stage companion' 'toolbar toolbar' 'thumbs thumbs' 'variant variant' 'mood mood'; }
  .room-content[data-layout="paired"] .room-atmosphere { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
  .room-content[data-layout="paired"] .room-atmosphere .room-mood-media { grid-column: 2; grid-row: 1; }
  .room-content[data-layout="paired"] .room-atmosphere .room-mood-copy { grid-column: 1; }
  .room-atmosphere { gap: 18px; }
  .room-atmosphere .room-description { font-size: 21px; }
}
@media (max-width:767px) {
  .gallery-head { padding-bottom: 26px; }
  .room-navigation { margin-bottom: 14px; }
  .room-picker { display: none; }
  .room-mobile-picker { background: var(--paper-soft); padding: 14px 16px 6px; }
  .room-mobile-picker select { background: transparent; border-bottom: 0; font-size: 23px; }
  .room-plan-link { margin-top: 4px; }
  .room-content, .room-content:not(.has-atmosphere), .room-content[data-layout="paired"] { display: grid; grid-template-columns: minmax(0,1fr); grid-template-areas: 'heading' 'stage' 'toolbar' 'thumbs' 'variant' 'mood'; gap: 0; }
  .room-heading { padding-bottom: 16px; }
  .room-heading > span { max-width: none; font-size: 12px; }
  .room-stage, .room-stage[data-orientation="portrait"] { width: calc(100% + var(--pad) * 2); margin-inline: calc(var(--pad) * -1); aspect-ratio: auto; }
  .room-stage[data-orientation="portrait"] { width: fit-content; max-width: calc(100% + var(--pad) * 2); margin-inline: auto; justify-self: center; }
  .room-stage[data-orientation="portrait"] .room-image-open { width: fit-content; max-width: 100%; }
  .room-stage[data-orientation="portrait"] .room-image-open img { width: auto; max-width: 100%; height: auto; max-height: 80svh; }
  .room-companion { display: none; }
  .room-toolbar { padding: 8px 0; }
  .room-thumbnails { gap: 12px; }
  .room-thumbnails img { width: 156px; height: 104px; }
  .room-atmosphere, .room-content[data-layout="paired"] .room-atmosphere { display: grid; grid-template-columns: minmax(0,1fr); gap: 20px; align-items: center; margin: 32px 0 0; }
  .room-atmosphere .room-description { grid-column: 1/-1; grid-row: 1; font-size: 23px; max-width: none; margin: 0 0 2px; }
  .room-atmosphere .room-mood-media, .room-content[data-layout="paired"] .room-atmosphere .room-mood-media { grid-column: 1; grid-row: 2; aspect-ratio: 4/3; max-height: none; }
  .room-atmosphere .room-mood-copy, .room-content[data-layout="paired"] .room-atmosphere .room-mood-copy { grid-column: 1; grid-row: 3; }
  .room-expand { width: 48px; height: 48px; right: 12px; bottom: 12px; }
  .room-atmosphere h4 { font-size: 21px; }
  .room-atmosphere p { font-size: 12px; line-height: 1.6; }
  .plan-room-links { gap: 4px 12px; }
  .plan-room-links .plan-room-entry { font-size: 12px; column-gap: 7px; }
  .settlement-atmosphere { margin: 30px 0 36px; }
  .settlement-atmosphere > img { aspect-ratio: 16/9; }
  .settlement-atmosphere figcaption { display: block; }
  .settlement-atmosphere figcaption small { display: block; margin-top: 8px; }
}
@media (max-width:359px) {
  .room-atmosphere, .room-content[data-layout="paired"] .room-atmosphere { column-gap: 14px; }
  .room-atmosphere h4 { font-size: 19px; }
}

/* Mobile v16: image-led pacing inspired by Norm, within the approved identity.
   Desktop spreads and unmodified source images remain the source of truth. */
@media (max-width:767px) {
  :root { --pad: clamp(18px,5.6vw,30px); }
  body { font-size: 16px; line-height: 1.6; }
  .site-header, .site-header.scrolled { min-height: 68px; padding-top: env(safe-area-inset-top,0px); }
  .site-header:not(.scrolled) { background: transparent; color: var(--light); }
  .site-header.scrolled { background: var(--paper); backdrop-filter: none; }
  .brand-name { font-size: 21px; letter-spacing: -.02em; }
  .brand-meta { font-size: 9px; letter-spacing: .14em; margin-top: 6px; }
  .menu-toggle { display: block; border: 0; padding: 12px 0 12px 16px; font-size: 11px; }
  .site-nav { max-height: calc(100svh - 68px); overflow-y: auto; padding: 16px var(--pad) 28px; }
  .site-header:not(.scrolled) .site-nav { background: var(--paper); color: var(--ink); }
  .site-nav a { font-size: 13px; padding: 14px 0; }
  .hero { display: block; min-height: 0; padding-top: 0; background: var(--paper); color: var(--ink); }
  .hero-scene { position: relative; inset: auto; height: 82svh; min-height: 480px; aspect-ratio: auto; }
  .hero-media, .hero-video { width: 100%; height: 100%; object-fit: cover; object-position: 24% center; }
  .hero-shade { display: block; inset: 0 0 auto; height: max(82svh,480px); background: linear-gradient(180deg,rgba(20,21,17,.3),transparent 25%,transparent 62%,rgba(20,21,17,.48)); }
  .hero-content { position: static; width: 100%; padding: 28px var(--pad) 44px; }
  .hero-content > .eyebrow { display: none; }
  .hero h1 { position: absolute; z-index: 2; top: calc(max(82svh,480px) - 153px); left: var(--pad); margin: 0; color: var(--light); font-size: clamp(48px,13vw,68px); line-height: .96; letter-spacing: -.035em; }
  .hero-copy { margin: 0; font-size: clamp(21px,5.7vw,28px); line-height: 1.3; }
  .hero-copy br, .hero-context br { display: none; }
  .hero-context { margin-top: 14px; font-size: 14px; color: #625d54; }
  .hero-actions { flex-direction: row; align-items: center; gap: 12px 24px; margin-top: 24px; }
  .hero-actions .button { background: var(--ink); color: var(--light); border-color: var(--ink); }
  .hero-actions .text-link { color: var(--ink); }
  .hero-motion-control { right: 12px; bottom: 14px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .display, .gallery-head .display, .plan-section .display,
  .specification .display, .settlement .display, .authors .authors-copy .display {
    font-size: clamp(32px,8.5vw,44px); line-height: 1.1; letter-spacing: -.025em; overflow-wrap: normal;
  }
  .manifesto-grid, .details-grid, .authors, .contact { gap: 28px; }
  .manifesto-copy .lead { font-size: 21px; line-height: 1.45; }
  .manifesto-copy p { margin-bottom: 18px; }
  .value-strip, .process-list { margin-top: 36px; }
  .value-strip strong { font-size: 23px; }
  .value-strip span { font-size: 14px; }
  .film-overlay h2 { font-size: clamp(30px,8vw,40px); line-height: 1.13; }
  .nature-pair { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 36px; }
  .nature-interior { width: calc(100% + var(--pad)*2); margin-inline: calc(var(--pad)*-1) !important; }
  .nature-pair figcaption { padding-inline: var(--pad); font-size: 12px; }
  .nature-landscape { width: 72%; justify-self: end; }
  .nature-landscape .mood-scene { height: auto; aspect-ratio: 4/5; }
  .nature-landscape .mood-scene > img { aspect-ratio: 4/5; }
  .gallery-head { padding-top: 64px; padding-bottom: 28px; }
  .gallery-head > p { font-size: 16px; margin-top: 18px; }
  .room-mobile-picker { padding: 0; background: transparent; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); gap: 0; }
  .room-mobile-picker > span { font-size: 12px; padding-top: 12px; }
  .room-mobile-picker select { font-size: 23px; min-height: 52px; padding: 5px 28px 12px 0; }
  .room-plan-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; }
  .room-heading { padding: 0 0 16px; min-height: 0; }
  .room-heading > span { font-size: 12px; }
  .room-content.has-mobile-gallery,
  .room-content.has-mobile-gallery[data-layout="paired"] { grid-template-areas: 'heading' 'mobile-gallery' 'toolbar' 'mood' 'thumbs' 'variant'; }
  .has-mobile-gallery > .room-stage, .has-mobile-gallery > .room-companion { display: none; }
  .mobile-room-gallery { grid-area: mobile-gallery; position: relative; display: flex; width: calc(100% + var(--pad)*2); margin-inline: calc(var(--pad)*-1); min-width: 0; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .mobile-room-gallery::-webkit-scrollbar { display: none; }
  .mobile-room-slide { position: relative; flex: 0 0 100%; width: 100%; height: 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
  .mobile-room-open { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; }
  .mobile-room-open > img { width: 100%; height: 100%; object-fit: contain; }
  .mobile-room-slide.room-mood-media > .room-mood-photo { width: 100%; height: 100%; object-fit: cover; }
  .room-swipe-hint { display: block; font-size: 12px; }
  .room-toolbar { padding: 6px 0; }
  .room-toolbar button { min-width: 44px; min-height: 44px; }
  .room-content.has-mobile-gallery .room-atmosphere { display: block; margin: 12px 0 24px; }
  .has-mobile-gallery .room-atmosphere > .room-mood-media { display: none; }
  .room-content .room-atmosphere .room-description { font-size: clamp(19px,5vw,23px); line-height: 1.45; margin: 0; max-width: 36ch; }
  .room-thumbnails { gap: 10px; padding-bottom: 12px; scrollbar-width: thin; }
  .room-thumbnails img { width: 104px; height: 72px; }
  .room-variant { font-size: 13px; }
  .collection-options h4, .settlement-features h3, .authors-notes h3 { font-size: 24px; }
  .settlement-subtitle { font-size: 24px; line-height: 1.3; }
  .settlement-atmosphere { margin: 28px calc(var(--pad)*-1) 36px; }
  .settlement-atmosphere > img { aspect-ratio: 4/3; }
  .specification-price .price-amount { font-size: clamp(34px,10vw,44px); }
  .contact-form input { font-size: 16px; }
  .lightbox figure { height: 78svh; }
  .lightbox-close { top: max(12px,env(safe-area-inset-top)); right: 16px; min-height: 44px; }
  .lightbox-nav { bottom: max(16px,env(safe-area-inset-bottom)); }
}
@media (max-width:767px) and (orientation:landscape) {
  .hero-scene { height: 86svh; min-height: 320px; }
  .hero-shade { height: max(86svh,320px); }
  .hero h1 { top: calc(max(86svh,320px) - 128px); font-size: 48px; }
}

/* v17: a stable photographic viewport, room contact sheet and vector plan. */
@media (max-width:767px) {
  :root { --ease-out: cubic-bezier(.23,1,.32,1); }
  .room-navigation { margin-bottom: 44px; }
  .room-mobile-picker { display: none; }
  .room-picker { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 36px 14px; overflow: visible; padding: 0; background: transparent; border: 0; }
  .room-picker .room-select { display: block; min-width: 0; min-height: 0; width: 100%; padding: 0 0 12px; border: 0; border-bottom: 1px solid transparent; background: transparent; text-align: left; color: var(--ink); }
  .room-picker .room-select[aria-pressed="true"], .room-picker .room-select:hover:not([aria-pressed="true"]) { background: transparent; color: var(--ink); }
  .room-picker .room-select[aria-pressed="true"] { border-bottom-color: var(--clay); }
  .room-picker .room-select-preview { display: block; width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover; margin-bottom: 14px; }
  .room-picker .room-select > span { display: block; font: 400 clamp(17px,4.7vw,21px)/1.25 var(--serif); }
  .room-plan-link { margin-top: 22px; }
  #roomNavigation, #roomContent { scroll-margin-top: 88px; }
  .room-heading { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: baseline; padding: 0 0 20px; }
  .mobile-room-back { display: inline-flex; grid-column: 1/-1; justify-self: start; align-items: center; min-height: 44px; padding: 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; font-size: 13px; }
  .room-heading h3 { position: static; clip-path: none; overflow: visible; width: auto; height: auto; white-space: normal; font-size: 26px; line-height: 1.15; }
  .room-heading > span { max-width: 15ch; margin: 0; font-size: 11px; }
  .mobile-room-gallery { height: min(125vw,72svh); min-height: 280px; }
  .mobile-room-slide { overflow: hidden; }
  .mobile-pan-viewport { width: 100%; height: 100%; overflow: hidden; }
  .mobile-pan-viewport > img { width: 100%; height: 100%; max-width: none; object-fit: cover; transform: scale(1.025); opacity: .88; transition: transform 240ms var(--ease-out),opacity 240ms var(--ease-out); }
  .mobile-room-slide.is-current .mobile-pan-viewport > img { transform: scale(1); opacity: 1; }
  .mobile-pan-toggle { position: absolute; z-index: 2; left: 12px; bottom: 12px; min-height: 44px; padding: 0 14px; border: 0; background: var(--paper); color: var(--ink); font-size: 12px; }
  .mobile-room-slide > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; filter: saturate(var(--association-saturation)) contrast(var(--association-contrast)); }
  .mobile-room-slide > video.is-ready { opacity: 1; }
  .mobile-room-slide > .motion-control { position: absolute; z-index: 2; right: 12px; bottom: 12px; }
  .room-content .room-atmosphere .room-description { font-size: 18px; line-height: 1.5; }
  .room-content.has-mobile-gallery .room-atmosphere { margin: 12px 0 16px; }
  .film-wrap { height: 78svh; min-height: 480px; }
  .film-wrap #interiorFilm { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 12% center; }
  .film-overlay { position: absolute; inset: 0; padding: 28px var(--pad) 56px; justify-content: end; background: linear-gradient(transparent 48%,rgba(20,18,15,.62)); }
  .film-overlay .eyebrow { display: none; }
  .film-overlay h2 { font-size: clamp(28px,7.8vw,38px); max-width: 15ch; }
  .film-overlay .motion-control { bottom: 12px; right: 12px; }
  .mobile-detail-photo { display: block; margin: 28px 0; overflow: hidden; }
  .mobile-detail-photo img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; object-position: 65% 68%; }
  .specification-detail { margin: 0; width: 82%; justify-self: end; }
  .specification-detail img { aspect-ratio: 4/5; object-position: center; }
  .plan-section { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .plan-copy { display: contents; }
  .plan-copy > * { order: 4; }
  .plan-copy > h2 { order: 0; }
  .plan-copy > .plan-variants { order: 1; margin: 24px 0 16px; }
  .plan-viewer { order: 2; width: 100%; margin: 0 0 20px; }
  .plan-copy > .plan-variant-note { order: 3; margin: 0 0 28px; }
  .plan-inline-tools { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 12px; }
  .plan-inline-tools button { min-height: 44px; min-width: 44px; padding: 0 12px; border: 0; background: transparent; font-size: 20px; }
  .plan-inline-tools #planInlineFit { font-size: 13px; }
  .plan-inline-tools button:disabled { opacity: .35; }
  .plan-pan { width: calc(100% + var(--pad)*2); margin-inline: calc(var(--pad)*-1); height: min(68svh,600px); min-height: 340px; overflow: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--moss) var(--paper-soft); }
  .plan-pan > img { display: block; max-width: none; height: auto; object-fit: initial; }
  .plan-pan-hint { display: block; margin: 12px 0 0; font-size: 12px; color: #625d54; }
  .plan-viewer > .plan-image-button { margin: 12px 0 0; width: 100%; }
  .plan-image-button span { display: flex; align-items: center; justify-content: center; min-height: 44px; margin: 0; padding: 10px; }
  .plan-stats { grid-template-columns: 1fr; margin-top: 24px; gap: 18px; }
  .plan-stats dt { font-size: 22px; }
  .plan-room-links { margin-bottom: 24px; }
}
@media (max-width:767px) and (orientation:landscape) {
  .mobile-room-gallery { height: 78svh; min-height: 240px; }
  .film-wrap { height: 90svh; min-height: 320px; }
}
@media (prefers-reduced-motion:reduce) {
  .mobile-pan-viewport > img { transition: none; transform: none; opacity: 1; }
}

/* v18: quieter mobile controls, stable swiping and a more editorial rhythm. */
.room-expand {
  background: transparent;
  box-shadow: none;
}
.room-expand img {
  filter: invert(1) drop-shadow(0 1px 3px rgb(0 0 0 / .55));
}
.room-toolbar button {
  border: 0;
  background: transparent;
}

@media (max-width:767px) {
  body {
    line-height: 1.68;
    letter-spacing: .004em;
  }
  .section {
    padding-top: clamp(78px,20vw,104px);
    padding-bottom: clamp(78px,20vw,104px);
  }
  .display, .gallery-head .display, .plan-section .display,
  .specification .display, .settlement .display, .authors .authors-copy .display {
    font-size: clamp(31px,8.2vw,42px);
    line-height: 1.14;
    letter-spacing: -.018em;
  }
  .manifesto-grid, .details-grid, .authors, .contact {
    gap: 44px;
  }
  .manifesto-copy .lead {
    font-size: 21px;
    line-height: 1.52;
  }
  .manifesto-copy p,
  .specification-intro > p,
  .settlement-description p,
  .authors-notes > p {
    line-height: 1.72;
  }
  .gallery-head {
    padding-top: clamp(82px,21vw,112px);
    padding-bottom: 44px;
  }
  .gallery-head > p {
    margin-top: 24px;
    line-height: 1.65;
  }
  .room-navigation {
    margin-bottom: 62px;
  }
  .room-picker {
    gap: 52px 16px;
  }
  .room-picker .room-select {
    padding-bottom: 16px;
  }
  .room-picker .room-select-preview {
    margin-bottom: 18px;
  }
  .room-picker .room-select > span {
    font-size: clamp(18px,4.8vw,21px);
    line-height: 1.34;
    letter-spacing: -.012em;
  }
  .room-heading {
    padding-bottom: 28px;
  }
  .mobile-room-back {
    border-bottom: 0;
    color: #625d54;
  }
  .room-content.has-mobile-gallery,
  .room-content.has-mobile-gallery[data-layout="paired"] {
    grid-template-areas: 'heading' 'mobile-gallery' 'pagination' 'toolbar' 'mood' 'thumbs' 'variant';
  }
  .mobile-room-gallery {
    scroll-snap-type: x mandatory;
  }
  .mobile-room-slide {
    scroll-snap-stop: normal;
  }
  .mobile-room-slide[data-kind="photo"]::after {
    content: '';
    position: absolute;
    z-index: 1;
    inset: auto 0 0;
    height: 26%;
    pointer-events: none;
    background: linear-gradient(transparent,rgb(18 16 13 / .34));
  }
  .mobile-pan-viewport > img,
  .mobile-room-slide.is-current .mobile-pan-viewport > img {
    transform: none;
    opacity: 1;
    transition: none;
  }
  .mobile-pan-toggle {
    left: var(--pad);
    bottom: 16px;
    min-height: 48px;
    padding: 0;
    background: transparent;
    color: var(--light);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgb(0 0 0 / .72);
  }
  .mobile-room-pagination {
    grid-area: pagination;
    display: flex;
    justify-content: center;
    width: 100%;
    min-height: 34px;
    margin: 14px 0 2px;
  }
  .mobile-room-pagination > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    max-width: 100%;
  }
  .mobile-room-dot {
    display: block;
    width: 4px;
    height: 4px;
    flex: 0 0 4px;
    border-radius: 50%;
    background: rgb(37 35 31 / .22);
    transition: transform 180ms var(--ease-out),background-color 140ms linear;
  }
  .mobile-room-dot.is-current {
    background: var(--ink);
    transform: scale(1.5);
  }
  .room-toolbar {
    justify-content: flex-end;
    padding: 0 0 12px;
  }
  .room-swipe-hint {
    display: none;
  }
  .room-toolbar button {
    min-width: 48px;
    min-height: 48px;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .room-content.has-mobile-gallery .room-atmosphere {
    margin: 28px 0 34px;
  }
  .room-content .room-atmosphere .room-description {
    font-size: 19px;
    line-height: 1.58;
  }
  .room-thumbnails {
    gap: 14px;
    padding-top: 8px;
    padding-bottom: 20px;
  }
  .room-thumbnails button {
    border: 0;
    border-bottom: 1px solid transparent;
    padding: 0 0 8px;
  }
  .room-thumbnails button[aria-pressed="true"] {
    border-bottom-color: var(--clay);
  }
  .plan-copy > .plan-variants {
    margin-top: 34px;
  }
  .plan-variants {
    gap: 28px;
    border-bottom: 1px solid var(--line);
  }
  .plan-variants button {
    min-height: 48px;
    padding: 0 0 10px;
    border: 0;
    border-bottom: 1px solid transparent;
    margin-bottom: -1px;
    background: transparent;
  }
  .plan-variants button[aria-pressed="true"] {
    border-bottom-color: var(--ink);
  }
  .plan-inline-tools {
    justify-content: center;
    gap: 34px;
    margin-bottom: 18px;
    border: 0;
  }
  .plan-inline-tools button {
    min-width: 48px;
    min-height: 48px;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .plan-inline-tools #planInlineFit {
    min-width: 88px;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .plan-pan {
    height: min(66svh,620px);
    background: #f2efe8;
    scrollbar-width: none;
  }
  .plan-pan::-webkit-scrollbar {
    display: none;
  }
  .plan-pan > img {
    image-rendering: auto;
    shape-rendering: geometricPrecision;
  }
  .plan-pan-hint {
    margin-top: 16px;
    text-align: center;
  }
  .plan-viewer > .plan-image-button {
    width: auto;
    margin: 10px auto 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .plan-image-button span {
    min-height: 48px;
    padding: 0;
    border-bottom: 1px solid currentColor;
    background: transparent;
    color: var(--ink);
    font-size: 11px;
    letter-spacing: .1em;
  }
  .collection-faq {
    margin-top: 72px;
  }
  .collection-faq summary {
    padding: 24px 0;
    line-height: 1.45;
  }
  .mobile-future-film {
    display: block;
    position: relative;
    width: calc(100% + var(--pad)*2);
    height: min(145vw,80svh);
    min-height: 520px;
    margin: 82px calc(var(--pad)*-1) 0;
    overflow: hidden;
    background: var(--paper-soft);
  }
  .mobile-future-film > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .mobile-future-film > video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
  }
  .mobile-future-film > video.is-ready { opacity: 1; }
  .mobile-future-film .motion-control { position: absolute; z-index: 1; right: 8px; bottom: 8px; }
  .mobile-future-film .motion-control > img { width: 18px; height: 18px; object-fit: contain; }
  .settlement-layout {
    gap: 56px;
    margin-top: 42px;
  }
  .settlement-map-open span {
    min-height: 48px;
    border: 0;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .settlement-map figcaption {
    margin-top: 20px;
    line-height: 1.65;
  }
  .settlement-features dl > div {
    padding: 22px 0;
  }
  .lightbox-close,
  .lightbox-nav button,
  .plan-zoom-controls button {
    border: 0;
    background: transparent;
  }
}

.settlement-map img {
  filter: saturate(.62) contrast(1.28);
}

/* Media controls sit directly on the image or page, with their hit area intact. */
.media-control,
.lightbox-close,
.lightbox-nav button,
.lightbox.is-plan .lightbox-close,
.plan-zoom-controls button,
.plan-variants button {
  border: 0;
  background: transparent;
  box-shadow: none;
}
.media-control {
  min-height: 44px;
  text-shadow: 0 1px 4px rgb(0 0 0 / .65);
  backdrop-filter: none;
}
.room-toolbar button:hover {
  background: transparent;
  color: var(--clay);
}
.plan-variants button[aria-pressed="true"] {
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
}
.plan-image-button span {
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--ink);
}

@media (max-width:767px) and (orientation:landscape) {
  .mobile-future-film {
    height: 92svh;
    min-height: 320px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .mobile-room-dot { transition: none; }
}

/* The opening nature image belongs to the mobile introduction. */
.intro-atmosphere {
  position: relative;
  width: min(100%, 360px);
  margin: 30px 0 26px auto;
}
.intro-atmosphere > img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.intro-atmosphere > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
.intro-atmosphere > video.is-ready { opacity: 1; }
.intro-atmosphere .motion-control { position: absolute; z-index: 1; right: 6px; bottom: 6px; }
.intro-atmosphere .motion-control > img { width: 18px; height: 18px; aspect-ratio: auto; object-fit: contain; }
@media (prefers-reduced-motion: reduce) {
  .intro-atmosphere > video { transition: none; }
}
.room-desktop-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px;
  margin-inline: auto 14px;
}
.room-toolbar .room-desktop-dot {
  display: grid;
  place-items: center;
  width: 24px;
  min-width: 24px;
  min-height: 44px;
  padding: 0;
}
.room-desktop-dot::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--moss);
  opacity: .55;
}
.room-desktop-dot.is-current::before {
  width: 8px;
  height: 8px;
  background: var(--ink);
  opacity: 1;
}
.room-desktop-dot:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: -3px;
}

.settlement-map .settlement-map-image { filter: saturate(.62) contrast(1.28); }
.settlement-map-open .settlement-map-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 58px;
  margin-top: 26px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: .12em;
  line-height: 1.3;
  text-transform: uppercase;
}
.settlement-map-cta img {
  width: 20px;
  height: 20px;
  filter: none;
  transform: rotate(-45deg);
}
.settlement-map-open:hover .settlement-map-cta,
.settlement-map-open:focus-visible .settlement-map-cta {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--light);
}
.settlement-map-open:hover .settlement-map-cta img,
.settlement-map-open:focus-visible .settlement-map-cta img { filter: invert(1); }

.closing-atmosphere {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #25231f;
  color: var(--light);
}
.closing-atmosphere > img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.closing-atmosphere::after {
  content: '';
  position: absolute;
  inset: 42% 0 0;
  pointer-events: none;
  background: linear-gradient(transparent, rgb(16 17 15 / .6));
}
.closing-atmosphere figcaption {
  position: absolute;
  z-index: 1;
  inset: auto var(--pad) 40px;
  font: 400 clamp(32px, 4vw, 58px)/1.05 var(--serif);
}

@media (min-width:768px) {
  .contact.section { padding-bottom: clamp(40px, 4vw, 72px); }
  .closing-atmosphere::before {
    content: '';
    position: absolute;
    z-index: 1;
    inset: 0 0 auto;
    height: clamp(90px, 9vw, 160px);
    pointer-events: none;
    background: linear-gradient(#2b2925, transparent);
  }
  .closing-atmosphere::after {
    background: linear-gradient(transparent, #1d1c19);
  }
}

.room-heading > span[hidden] { display: none; }
.room-content .room-heading { display: block; }
.room-heading > span:not([hidden]) {
  display: block;
  max-width: none;
  margin-top: 8px;
  text-align: left;
}
.plan-pan { background: transparent; }
.plan-pan > img,
.lightbox.is-plan figure img { mix-blend-mode: multiply; }

@media (max-width:767px) {
  .intro-atmosphere { width: 100%; margin: 26px 0; }
  .mobile-detail-photo.intro-atmosphere > img { height: auto; aspect-ratio: 3 / 4; object-position: center; }
  .mobile-room-gallery { height: min(133.34vw, 78svh); }
  .mobile-room-slide[data-kind="photo"][data-orientation="portrait"] .mobile-pan-viewport > img {
    object-fit: contain;
    background: transparent;
  }
  .room-toolbar > .room-desktop-dots { display: none; }
  .settlement-map-open .settlement-map-cta {
    display: flex;
    width: 100%;
    margin-top: 20px;
    padding: 0 18px;
    min-height: 58px;
    border: 1px solid var(--ink);
    font-size: 11px;
  }
  .closing-atmosphere > img { height: min(76svh, 600px); min-height: 420px; object-fit: cover; object-position: 44% center; }
  .closing-atmosphere figcaption { inset: auto var(--pad) 24px; font-size: clamp(32px, 9vw, 46px); }
}

/* Gallery refinements. */
@media (min-width:768px) {
  .manifesto-grid { align-items: start; }
  .mobile-detail-photo.intro-atmosphere { display: none; }
  .room-picker { padding: 0; gap: 4px 24px; background: transparent; border-bottom: 1px solid var(--line); }
  .room-picker .room-select { padding: 12px 0; background: transparent; color: var(--ink); border-bottom: 2px solid transparent; }
  .room-picker .room-select[aria-pressed="true"] { background: transparent; color: var(--ink); border-bottom-color: transparent; }
  .room-picker .room-select[aria-pressed="true"] span { text-decoration: underline; text-decoration-color: var(--clay); text-decoration-thickness: 2px; text-underline-offset: 7px; }
  .room-picker .room-select[aria-pressed="true"] small { color: #625d54; }
  .room-picker .room-select:hover:not([aria-pressed="true"]) { background: transparent; color: var(--clay); }
}
.plan-room-links .plan-room-entry { grid-template-columns: 28px minmax(0,1fr); min-height: 52px; }
.plan-room-name { white-space: nowrap; font-size: 12px; letter-spacing: -.01em; }
@media (min-width:768px) and (max-width:1100px) {
  .plan-room-links { grid-template-columns: minmax(0,1fr); }
}
@media (max-width:767px) {
  .plan-room-links { grid-template-columns: minmax(0,1fr); }
  #roomTitle, #roomTitle:focus-visible { color: var(--clay); outline: none; }
  .mobile-detail-photo.intro-atmosphere { width: calc(100% + var(--pad)*2); margin: 28px calc(var(--pad)*-1); }
  .room-picker .room-select[aria-pressed="true"] { border-bottom-color: transparent; }
  .room-picker .room-select[aria-pressed="true"] > span { text-decoration: underline; text-decoration-color: var(--clay); text-decoration-thickness: 2px; text-underline-offset: 6px; }
  .mobile-room-gallery { height: clamp(320px, calc(100svh - var(--gallery-reserved, 190px)), 780px); min-height: 0; background: #302f29; }
  .mobile-room-slide[data-kind="photo"]::after { display: none; }
  .mobile-pan-viewport { position: relative; background-size: cover; background-position: center; }
  .mobile-room-slide[data-kind="photo"] .mobile-pan-viewport > img,
  .mobile-room-slide[data-kind="photo"][data-orientation="portrait"] .mobile-pan-viewport > img { object-fit: cover; object-position: center; }
  .mobile-pan-toggle { padding: 0; border: 0; background: transparent; box-shadow: none; color: var(--light); text-shadow: 0 1px 5px rgb(0 0 0 / .8); }
}

/* Gallery viewer: a fixed image area and a quick dissolve between decoded photos. */
:root { --ease-out: cubic-bezier(.23,1,.32,1); }
.lightbox:not(.is-plan) { background: #1d1c19; }
.lightbox:not(.is-plan) figure {
  width: min(88vw, 1460px);
  height: calc(100dvh - 134px);
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px;
}
.lightbox:not(.is-plan) figure > img {
  grid-area: 1 / 1;
  min-width: 0;
  min-height: 0;
}
.lightbox:not(.is-plan) figure > .lightbox-next-image {
  z-index: 1;
  opacity: 0;
  transition: opacity 150ms var(--ease-out);
}
.lightbox:not(.is-plan) figure > .lightbox-next-image.is-visible { opacity: 1; }
.lightbox:not(.is-plan) figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  min-height: 24px;
  font: 400 17px/1.3 var(--serif);
  text-align: left;
}
#lightboxCount { font: 400 11px/1.4 var(--sans); letter-spacing: .14em; color: rgb(255 255 255 / .62); white-space: nowrap; }
.lightbox.is-plan #lightboxCount { display: none; }
.lightbox:not(.is-plan) .lightbox-nav { justify-content: space-between; padding-inline: max(6vw,24px); }
.lightbox:not(.is-plan) .lightbox-nav button { padding-inline: 0; color: rgb(255 255 255 / .75); }
.lightbox:not(.is-plan) .lightbox-nav button:hover { color: #fff; }
.lightbox:not(.is-plan) .lightbox-close { right: max(6vw,24px); }
.plan-pan > img[role="button"] { cursor: zoom-in; margin-inline: auto; }
@media (max-width:767px) {
  .lightbox:not(.is-plan) figure > .lightbox-next-image { transition-duration: 100ms; }
  .lightbox:not(.is-plan) figure { width: calc(100vw - 24px); height: calc(100dvh - 148px); }
  .lightbox:not(.is-plan) figcaption { font-size: 15px; }
  .lightbox:not(.is-plan) .lightbox-nav { padding-inline: 18px; bottom: max(12px,env(safe-area-inset-bottom)); }
  .lightbox:not(.is-plan) .lightbox-close { right: 18px; }
}
@media (prefers-reduced-motion:reduce) {
  .lightbox:not(.is-plan) figure > .lightbox-next-image { transition: none; }
}
@media (max-width:767px) and (orientation:landscape) {
  .mobile-room-gallery { height: max(240px, calc(100svh - var(--gallery-reserved, 190px))); }
}

/* The second film spans the viewport even inside a constrained page shell. */
.film-section { position: relative; left: 50%; width: 100vw; max-width: none; margin-left: -50vw; padding: 0; }
.film-section .film-wrap { width: 100%; max-width: none; margin: 0; border: 0; }
.film-section #interiorFilm { display: block; width: 100%; border: 0; }
