:root {
 --showroom-nav-height: var(--masthead-height, calc(48px + env(safe-area-inset-top, 0px)));
 --showroom-nav-row: calc(var(--showroom-nav-height) - env(safe-area-inset-top, 0px));
 --showroom-header-height: calc(var(--showroom-nav-height) + var(--showroom-promo-height, 0px));
 --showroom-inset: clamp(16px, 4vw, 68px);
}

#main, #tools {
 scroll-margin-top: calc(var(--showroom-header-height) + 12px);
}

.skip { z-index: 20; }
.showroom-header {
 position: fixed;
 z-index: 10;
 inset: 0 0 auto;
 padding-top: env(safe-area-inset-top, 0px);
 color: #fff;
 background: transparent;
 border-bottom: 0;
 transition: color .25s ease, background-color .25s ease;
}
.showroom-header:is([data-scrolled], [data-menu-open]) {
 color: var(--ink);
 background: var(--paper);
}
.showroom-shell, .showroom-mast {
 width: calc(100% - max(var(--showroom-inset), env(safe-area-inset-left, 0px)) - max(var(--showroom-inset), env(safe-area-inset-right, 0px)));
 margin-inline: auto;
}
.showroom-mast {
 display: flex;
 align-items: center;
 gap: clamp(12px, 3.5vw, 65px);
 min-height: var(--showroom-nav-row);
}
.showroom-brand {
 display: inline-flex;
 align-items: center;
 flex: none;
 min-height: 44px;
}
.showroom-brand img {
 width: var(--masthead-logo-width);
 height: auto;
 filter: brightness(0) invert(1);
}
.showroom-header:is([data-scrolled], [data-menu-open]) .showroom-brand img { filter: brightness(0); }
.footer-inner > .brand img { width: var(--masthead-logo-width); }
.showroom-header:not([data-scrolled], [data-menu-open]) :focus-visible { outline-color: #fff; }
.showroom-mast nav { gap: clamp(5px, 1.7vw, 33px); }
.showroom-mast a:not(.showroom-brand), .showroom-mast button { white-space: nowrap; }
.showroom-account {
 display: flex;
 align-items: center;
 gap: clamp(6px, 1.1vw, 18px);
 margin-inline-start: auto;
}
.showroom-account a {
 position: relative;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-width: 44px;
 min-height: 44px;
 padding-inline: 11px;
 font-size: .875rem;
 font-weight: 550;
}
.showroom-account a::before {
 content: "";
 position: absolute;
 inset: 8px 0;
 border: 1px solid currentColor;
 border-radius: 30px;
 opacity: .72;
 pointer-events: none;
}
.showroom-account a:hover { text-decoration: underline; text-underline-offset: 4px; }
.showroom-menu { display: none; }
@media (841px <= width <= 1100px) {
 .showroom-mast {gap:clamp(12px,2vw,24px)}
 .showroom-mast nav {gap:clamp(5px,1vw,11px)}
}

.showroom {
 position: relative;
 isolation: isolate;
 display: grid;
 align-items: start;
 height: 100svh;
 overflow: hidden;
 background: #22211f;
 color: #fff;
}
.showroom::before, .showroom-scene::after, .showroom-scene :is(img, canvas) {
 position: absolute;
 inset: 0;
 width: 100%;
 height: 100%;
}
.showroom::before {
 content: "";
 pointer-events: none;
 background: linear-gradient(180deg, rgb(16 17 21 / .63) 0 var(--showroom-header-height), transparent max(21%, calc(var(--showroom-header-height) + 24px)));
}
.showroom-scene {
 position: absolute;
 inset: auto auto 0 50%;
 width: max(100%, calc(100svh * 16 / 9));
 aspect-ratio: 16 / 9;
 transform: translateX(-50%);
 z-index: -1;
 overflow: hidden;
}
.showroom-scene :is(img, canvas) {
 object-fit: contain;
 object-position: center top;
}
.showroom-scene-motion { pointer-events: none; }
/* Product edits use the reference photograph's coordinates. Keep its window frames and fixtures in front. */
.showroom-scene img.showroom-products {
 object-fit: fill;
 pointer-events: none;
 filter: url(#showroom-product-detail);
}
.showroom-products--living {
 clip-path: polygon(16.7% 75.55%, 20.7% 75.55%, 20.7% 73.9%, 32.35% 73.9%, 32.35% 79.25%, 28.6% 80.1%, 16.7% 80.1%);
 mask-image: linear-gradient(to right, #000 23.55%, transparent 23.55% 23.8%, #000 23.8%);
}
.showroom-scene img.showroom-products--wardrobe {
 /* Register the wardrobe crop and pendant cord to the glazing in the original image. */
 inset: 62.9118% auto auto 43.5407%;
 width: 7.4761%;
 height: 17.2157%;
 clip-path: polygon(6.14% 14.45%, 66.20% 14.45%, 66.20% .63%, 71.02% .63%, 71.02% 14.45%, 98.84% 14.45%, 98.84% 97.52%, 6.14% 97.52%);
}
.showroom-scene img.showroom-products--kitchen {
 /* Register the cropped kitchen image to the original window. */
 inset: 64.6121% auto auto 62.7990%;
 width: 17.8230%;
 height: 16.3656%;
 clip-path: polygon(2.08% 3.05%, 95.39% 3.05%, 95.39% 88.08%, 30.20% 88.08%, 30.20% 97.40%, 2.08% 97.40%);
 /* Keep the original pendant arm without revealing the lighter cabinet behind it. */
 mask-image: linear-gradient(#000 0 0),
  linear-gradient(to right, transparent 41.81%, #000 42.37% 70.98%, transparent 71.43%),
  linear-gradient(to bottom, transparent 30.48%, #000 31.15% 31.94%, transparent 32.43%);
 mask-composite: subtract, intersect;
}
.showroom-scene::after {
 content: "";
 background:
  radial-gradient(ellipse 58% 31% at 23% 35%, rgb(16 21 29 / .63), rgb(16 21 29 / .30) 68%, transparent 100%),
  linear-gradient(0deg, rgb(16 17 21 / .24), transparent 20%);
}
.showroom-copy {
 position: relative;
 max-width: 1560px;
 padding-block: calc(var(--showroom-nav-height) + clamp(68px, 17vw - 72px, 228px)) 24px;
}
.showroom h1 {
 max-width: 14em;
 font-size: clamp(2rem, 4vw, 4.5rem);
 line-height: 1.12;
 font-weight: 520;
 letter-spacing: -.055em;
 text-shadow: 0 2px 12px rgb(12 16 23 / .34);
}
.showroom-designers {
 padding-block: clamp(48px, 7vw, 110px) clamp(30px, 3.5vw, 52px);
 background: #fff;
}
.showroom-designers > .showroom-shell { max-width: 1480px; }
.showroom-designers h2 {
 margin-bottom: clamp(18px, 2.8vw, 36px);
 font-size: clamp(1rem, 1.6vw, 1.375rem);
 font-weight: 500;
 line-height: 1.55;
 letter-spacing: normal;
 text-align: center;
 text-wrap: balance;
}
.showroom-categories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 42px); }
.showroom-category { min-width: 0; }
.showroom-category-media { aspect-ratio: 4 / 5; overflow: hidden; background: #e8e1d7; }
.showroom-category img { height: 100%; width: 100%; object-fit: cover; }
.showroom-category-label {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 10px;
 min-height: 54px;
 padding-top: 7px;
}
.showroom-category h3 { font-size: clamp(1rem, 1.75vw, 1.5rem); }
.showroom-category-label > span { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; }
.showroom-category:hover h3, .showroom-category:focus-visible h3 { text-decoration: underline; text-underline-offset: 5px; }

@media (prefers-reduced-motion: reduce) {
 .showroom-header { transition: none; }
 .showroom-scene-motion { display: none; }
}
@media (max-width: 840px) {
 .showroom-mast { flex-wrap: wrap; gap: 0 6px; }
 .showroom-mast nav { order: 1; width: 100%; flex-wrap: wrap; gap: 2px 10px; }
 [data-enhanced] .showroom-mast { flex-wrap: nowrap; }
 [data-enhanced] .showroom-menu {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  background: transparent;
  border: 0;
 }
 .showroom-menu span, .showroom-menu span::before, .showroom-menu span::after {
  width: 17px;
  height: 1.5px;
  background: currentColor;
 }
 .showroom-menu span { position: relative; }
 .showroom-menu span::before, .showroom-menu span::after { content: ""; position: absolute; left: 0; }
 .showroom-menu span::before { top: -5px; }
 .showroom-menu span::after { top: 5px; }
 [data-enhanced] .showroom-mast nav {
  position: absolute;
  inset: 100% 0 auto;
  display: none;
  max-height: calc(100dvh - var(--showroom-header-height));
  overflow: auto;
  padding: 9px max(var(--showroom-inset), env(safe-area-inset-right, 0px)) 16px max(var(--showroom-inset), env(safe-area-inset-left, 0px));
  background: var(--paper);
 }
 [data-menu-open] .showroom-mast nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
 [data-enhanced] .showroom-mast nav a { justify-content: start; }
 .showroom-account { gap: 2px; }
 .showroom-account a { padding-inline: 9px; }
}
@media (max-aspect-ratio: 1 / 1) {
 .showroom-scene {
  left: 0;
  transform: translateX(max(-61%, min(0px, calc(100vw - 100%))));
 }
 .showroom::before {
  background:
   linear-gradient(180deg, rgb(16 17 21 / .63) 0 var(--showroom-header-height), transparent calc(var(--showroom-header-height) + 42px)),
   radial-gradient(ellipse 95% 20% at 10% 30%, rgb(16 21 29 / .58), rgb(16 21 29 / .22) 60%, transparent 100%);
 }
 .showroom-copy { padding-block: max(calc(var(--showroom-header-height) + 10px), 27.25svh) 0; }
 .showroom-copy h1 {
  max-width: none;
  font-size: clamp(1rem, 3.4vw, 1.75rem);
  line-height: 1.22;
  letter-spacing: -.04em;
 }
 .showroom-designers { padding-block-start: clamp(24px, 4.6vw, 42px); }
}
@media (max-width: 560px) {
 .showroom-categories { grid-template-columns: 1fr; gap: 18px; }
 .showroom-category-media { aspect-ratio: 5 / 6; }
}
@media (max-width: 360px) {
 .showroom-account a { font-size: .79rem; padding-inline: 7px; }
}
@media (max-height: 530px) and (orientation: landscape), (max-width: 879px) and (orientation: landscape) {
 .showroom-copy { padding-block: calc(var(--showroom-header-height) + 8px) 18px; }
 .showroom h1 { max-width: 18em; font-size: clamp(1.3rem, 3.2vw, 2.55rem); }
}
