/* Flooring studio: modern room visualizations with illustrative material swaps. */
.floor-studio { background: #fff8f1; border-block: 1px solid var(--orange-line); }
.floor-studio-heading { text-align: center; max-width: 700px; margin: 0 auto 38px; }
.floor-studio-heading .eyebrow { margin-bottom: 16px; }
.floor-studio-heading > p:last-child { max-width: 550px; margin: 20px auto 0; color: var(--muted); }
.floor-studio-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: 36px; align-items: start; }
.floor-room { min-width: 0; }
.floor-montage { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; border-radius: 12px; }
.floor-room-tile { position: relative; overflow: hidden; padding: 0; border: 0; border-radius: 8px; background: #e9e3dc; color: var(--ink); }
.floor-room-tile > img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s; }
.floor-room-tile:hover > img { transform: scale(1.025); }
.floor-room-name { position: absolute; top: 10px; left: 10px; padding: 5px 10px; border-radius: 4px; background: #fffef9f0; font: 700 11px var(--font-heading); }
.floor-room-expand { position: absolute; bottom: 10px; right: 10px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fffef9ed; }
.floor-room-expand svg { width: 15px; height: 15px; }
.floor-montage[aria-busy="true"]::after { content: 'Updating rooms…'; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: white; color: var(--ink); border: 1px solid var(--orange-line); border-radius: 30px; padding: 10px 16px; box-shadow: 0 3px 18px #0002; font-size: 12px; white-space: nowrap; pointer-events: none; }
.floor-montage-hint { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 17px; font-size: 12px; font-weight: 600; }
.floor-montage-hint svg { width: 15px; height: 15px; color: var(--orange-ink); }
.floor-room figcaption { text-align: center; }
.floor-preview-status { font-size: 11px; color: var(--muted); min-height: 18px; text-align: center; margin-top: 6px; }
.floor-room-note { font-size: 11px; color: var(--muted); margin-top: 12px; min-height: 36px; }
.floor-gallery { position: fixed; inset: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; border: 0; border-radius: 0; color: #fff; background: #151718; overflow: auto; }
.floor-gallery[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.floor-gallery::backdrop { background: #151718; }
.floor-gallery-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: max(20px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) 16px max(24px, env(safe-area-inset-left)); }
.floor-gallery-top h3 { font-size: 23px; }
.floor-gallery-top p { font-size: 12px; color: #d5d5d5; margin-top: 6px; }
.floor-gallery-icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; flex-shrink: 0; color: #fff; background: transparent; border: 1px solid #64676a; border-radius: 50%; }
.floor-gallery-icon:hover { background: #343638; border-color: var(--orange); }
.floor-gallery-stage { display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 22px; touch-action: pan-y pinch-zoom; }
.floor-gallery-stage img { width: 100%; height: 100%; max-width: 1200px; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.floor-gallery-bottom { padding: 16px 20px max(18px, env(safe-area-inset-bottom)); text-align: center; }
.floor-gallery-controls { display: flex; align-items: center; justify-content: center; gap: 22px; }
.floor-gallery-controls > span { min-width: 40px; font-size: 13px; font-variant-numeric: tabular-nums; }
.floor-gallery-rooms { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.floor-gallery-rooms button { min-height: 44px; border: 1px solid transparent; border-radius: 5px; padding: 9px 14px; background: transparent; color: #d5d5d5; font-size: 12px; }
.floor-gallery-rooms button[aria-pressed="true"] { border-color: var(--orange); color: var(--orange); }
.floor-gallery-bottom > p { margin-top: 10px; font-size: 11px; color: #aaa; }
.floor-room figcaption { color: var(--muted); font-size: 11px; line-height: 1.6; margin-top: 10px; }
.floor-picker { min-width: 0; }
.floor-picker-label { font-size: 12px; font-family: var(--font-heading); font-weight: 900; letter-spacing: .06em; margin-bottom: 14px; }
.floor-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.floor-option { position: relative; display: flex; flex-direction: column; gap: 7px; align-items: stretch; padding: 6px 6px 9px; background: white; color: var(--ink); border: 1px solid #ded3c8; border-radius: 8px; font: 700 11px var(--font-heading); transition: border-color .2s, box-shadow .2s; }
.floor-option:hover { border-color: var(--orange); }
.floor-option[aria-pressed="true"] { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange); background: #fff0e1; }
.floor-swatch { display: block; height: 42px; background-size: 320%; background-position: 62% 84%; border-radius: 4px; }
.floor-option-check { position: absolute; top: 9px; right: 9px; display: flex; align-items: center; justify-content: center; width: 18px; height: 18px; background: var(--orange); color: #24292d; border-radius: 50%; opacity: 0; }
.floor-option-check svg { width: 12px; height: 12px; stroke-width: 2.4; }
.floor-option[aria-pressed="true"] .floor-option-check { opacity: 1; }
.floor-selection { margin-top: 25px; }
.floor-selection h3 { font-size: 26px; }
.floor-description { font-size: 13px; color: var(--muted); margin-top: 10px; min-height: 64px; line-height: 1.65; }
.floor-pricing { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 17px 0; margin: 16px 0; border-block: 1px solid #e9d5c3; }
.floor-pricing-label { display: flex; flex-direction: column; font-size: 11px; color: var(--muted); }
.floor-pricing-label strong { color: var(--ink); font-size: 12px; }
.floor-pricing-amount { white-space: nowrap; line-height: 1; }
.floor-pricing-amount strong { font: 900 38px var(--font-heading); letter-spacing: -.04em; color: var(--orange-ink); }
.floor-pricing-amount span { font-size: 12px; color: var(--muted); margin-left: 4px; }
.floor-picker .button { display: flex; width: 100%; gap: 20px; }
.floor-price-note { margin-top: 12px; font-size: 10px; line-height: 1.65; color: var(--muted); }
.floor-studio-noscript { margin-top: 24px; padding: 16px; background: white; border: 1px solid var(--orange-line); font-size: 13px; }
/* One introduction followed immediately by the map, on every screen size. */
.area-grid { grid-template-columns: 1fr; gap: 30px; }
.area-copy { text-align: center; max-width: 660px; margin-inline: auto; }
.area-copy > p:not(.eyebrow):not(.area-note) { max-width: 500px; margin-inline: auto; }
.area-map { max-width: 650px; margin-inline: auto; }
.map-pin:focus-visible .pin-label, .map-pin:hover .pin-label { color: var(--orange-ink); background: #fff4e8; }
.map-pin { min-height: 44px; }
@media (max-width: 1050px) {
  .floor-studio-layout { grid-template-columns: minmax(0, 1.3fr) minmax(280px, 1fr); gap: 24px; }
}
@media (max-width: 760px) {
  .floor-montage { gap: 6px; }
  .floor-room-name { top: 6px; left: 6px; padding: 4px 7px; font-size: 10px; }
  .floor-room-expand { width: 25px; height: 25px; right: 6px; bottom: 6px; }
  .floor-room-expand svg { width: 13px; height: 13px; }
  .floor-gallery-stage { padding: 0; }
  .floor-gallery-top { padding-inline: 16px; }
  .floor-gallery-top h3 { font-size: 20px; }
  .floor-gallery-top p { font-size: 11px; }
  .floor-gallery-rooms { gap: 2px; }
  .floor-gallery-rooms button { padding-inline: 9px; font-size: 11px; }
  .floor-studio-heading { margin-bottom: 25px; }
  .floor-studio-layout { grid-template-columns: 1fr; gap: 24px; }
  .floor-picker { text-align: center; }
  .floor-options { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
  .floor-option { flex: 0 0 calc((100% - 18px) / 3); max-width: 150px; }
  .floor-swatch { height: 44px; }
  .floor-picker-label { margin-bottom: 12px; }
  .floor-selection { margin-top: 23px; }
  .floor-description { min-height: 0; max-width: 450px; margin-inline: auto; }
  .floor-pricing { max-width: 420px; margin-inline: auto; text-align: left; padding-block: 16px; }
  .floor-picker .button { max-width: 420px; margin-inline: auto; }
  .floor-price-note { max-width: 450px; margin-inline: auto; }
  .floor-room figcaption { text-align: center; }
  .area-grid { gap: 25px; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .floor-gallery-top { padding: 8px 16px; }
  .floor-gallery-top h3 { font-size: 18px; }
  .floor-gallery-top p { margin-top: 2px; font-size: 10px; }
  .floor-gallery-bottom { padding: 8px 12px; }
  .floor-gallery-rooms, .floor-gallery-bottom > p { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .floor-room-tile > img, .floor-option { transition: none; }
  .floor-room-tile:hover > img { transform: none; }
}
