@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  color-scheme: light;
  --ink: #24211e;
  --paper: #f8f5ef;
  --white: #fffdf9;
  --line: #ded7cd;
  --muted: #6e6258;
  --red: #b72025;
  --padding: clamp(16px, 4vw, 48px);
  font: 16px "DM Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: #e8ddd2; color: var(--ink); }

#app { width: 100%; max-width: 900px; color: #fffaf1; min-height: 100dvh; margin: auto; display: flex; flex-direction: column; position: relative; }
a { color: inherit; text-decoration: none; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 3px solid #b72025; outline-offset: 3px; }
header { min-height: 68px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px var(--padding); background: transparent; color: white; position: relative; z-index: 2; border-bottom: 1px solid #fff5e54d; }
.brand { min-height: 44px; display: flex; align-items: center; }
.brand img { display: block; width: clamp(138px, 24vw, 220px); height: auto; filter: drop-shadow(0 1px 4px #140e0caa); }
.quiet, .action { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 8px; padding: 9px 16px; font-size: .9rem; font-weight: 700; }
.quiet { border: 1px solid #ffffff48; background: transparent; }
.fullscreen-symbol { display: none; }
.action { background: var(--red); color: #fff; border: 1px solid transparent; }
main { padding: clamp(12px, 2.4vw, 24px) var(--padding) clamp(20px, 4vw, 40px); outline: none; }
h1, h2, p { margin: 0; }
h1, h2 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; }
h1 { font-size: clamp(3.1rem, 8.5vw, 6rem); letter-spacing: -.025em; line-height: .92; }
h1 em { font-weight: 400; }
h2 { font-size: clamp(1.85rem, 4.7vw, 3rem); line-height: 1; }
p { line-height: 1.5; }
.category { display: grid; gap: clamp(16px, 3vw, 29px); }
.hero { position: relative; isolation: isolate; overflow: hidden; background: #49403a; color: white; border-radius: 14px; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 22%, #19161250 51%, #171310ee 100%); }
.hero { display: flex; align-items: end; min-height: clamp(295px, 45dvh, 760px); padding: clamp(22px, 5vw, 54px); }
.hero p { margin-top: 12px; color: #f8f2e9; max-width: 36ch; }
.hero .action { margin-top: 15px; background: #fffdf9; color: #26221f; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.category .hero { min-height: clamp(220px, 33dvh, 560px); }
.panel { display: grid; gap: 16px; }
.switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: #efe9df; border: 1px solid var(--line); border-radius: 12px; }
.switch button { min-height: 48px; background: transparent; border: 0; border-radius: 8px; font-weight: 700; }
.switch button[aria-pressed=true] { background: var(--white); box-shadow: 0 1px 4px #2b1a151a; color: var(--red); }
.entries { display: grid; gap: 9px; }
.entry { display: grid; grid-template-columns: 25% 1fr auto; align-items: center; gap: clamp(8px, 2.2vw, 16px); padding: 8px; text-align: left; background: var(--white); border: 1px solid var(--line); border-radius: 11px; }
.entry img { border-radius: 7px; width: 100%; height: clamp(64px, 8.6dvh, 140px); object-fit: cover; }
.entry strong { display: block; font-size: clamp(.98rem, 2.5vw, 1.28rem); margin-bottom: 3px; }
.entry small, .hint { color: var(--muted); font-size: .86rem; }
.entry .plus { display: grid; place-items: center; border: 1px solid; border-radius: 50%; width: 28px; height: 28px; border-color: var(--line); color: var(--red); margin-right: 4px; }
.dialog { width: min(680px, calc(100% - 24px)); max-height: calc(100dvh - 24px); border: 0; border-radius: 17px; color: var(--ink); background: var(--white); padding: 0; }
.dialog::backdrop { background: #221c19bf; }
.dialog img { width: 100%; height: clamp(155px, 37dvh, 540px); object-fit: cover; display: block; }
.dialog-body { padding: clamp(18px, 4vw, 37px); display: grid; gap: 13px; }
.dialog .action { justify-self: start; }
.close { position: absolute; top: 12px; right: 12px; color: #fff; background: #242220; border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 1.7rem; }

.backdrop { position: fixed; inset: 0; overflow: hidden; background: #51443c center / cover; }
.backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #2015112b 0%, transparent 20%, transparent 35%, #20151142 60%, #2015119e 100%); pointer-events: none; }
.toolbar { display: flex; gap: 7px; align-items: center; }
nav { display: grid; gap: 0; padding: 0 var(--padding) max(20px, env(safe-area-inset-bottom)); }
.universe-link { display: grid; grid-template-columns: 45px minmax(0,1fr) auto; align-items: center; gap: 12px; min-height: clamp(58px, 8.3dvh, 105px); padding: 7px 13px 7px 9px; border-top: 1px solid #fff5e568; color: #fffaf1; transition: color .2s, border-color .2s, background-color .2s; }
/* The reflection stays on the rule, leaving the film visible through the row. */
.universe-link { position: relative; isolation: isolate; }
.universe-link::before {
  content: "";
  position: absolute;
  inset: -1px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent 4%, #e6b989 36%, #fff4de 50%, #e6b989 64%, transparent 96%);
  filter: drop-shadow(0 0 5px #ffd19a);
  opacity: 0;
  transform: scaleX(.22);
  transform-origin: left;
  pointer-events: none;
  transition: opacity .25s, transform .5s ease;
}
.universe-link:focus-visible::before,
.universe-link:active::before,
.universe-link[aria-selected="true"]::before {
  opacity: 1;
  transform: scaleX(1);
}
.universe-link[aria-selected="true"]::before {
  animation: champagne-reflection .85s cubic-bezier(.2,.72,.26,1) both;
}
@keyframes champagne-reflection {
  from { opacity: .18; transform: scaleX(.12); }
  60% { opacity: 1; }
  to { opacity: 1; transform: scaleX(1); }
}
.universe-link:last-child { border-bottom: 1px solid #fff5e568; }
.universe-link[aria-selected="true"] { border-color: #ffdec0; color: #ffdec0; }
.nav-copy, .quiet { text-shadow: 0 1px 5px #1c120f, 0 2px 14px #1c120f; }
.category { animation: arrive .3s ease-out both; }
.category .panel { background: var(--paper); color: var(--ink); padding: clamp(12px, 3vw, 25px); border-radius: 14px; }
@keyframes arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (hover:hover) { .universe-link:hover { color: #ffdec0; border-color: #ffdec0; background-color: #4e382ed1; } .universe-link:hover::before { opacity: 1; transform: scaleX(1); } .entry:hover { border-color: var(--red); } }
@media (orientation:landscape) and (min-width: 900px) {
  #app { max-width: 1440px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(305px, .65fr); grid-template-rows: auto 1fr; }
  header { grid-column: 1 / -1; }
  main, nav { align-self: center; }
  nav { padding-top: 24px; }
  .universe-link { min-height: 63px; }
}
@media (max-width: 420px) { .universe-link { min-height: 57px; } }
@media (prefers-reduced-motion:reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

#app.show-home {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
}
.show-home::after { content: ""; min-height: 68px; }
.show-home #room-nav {
  --row-size: clamp(66px, 10.15dvh, 118px);
  align-self: center;
  justify-self: center;
  width: min(100%, 680px);
  padding: 18px clamp(16px, 5vw, 42px);
  container-type: inline-size;
  animation: arrive .4s ease-out both;
}
.show-home .universe-link {
  --metal: #ead1ad;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  column-gap: clamp(10px, 4cqi, 24px);
  min-height: 0;
  padding: 7px clamp(3px, 2cqi, 12px);
  border-top-color: #fff2df78;
}
.show-home .universe-link::before {
  inset-inline: 11px;
  background: linear-gradient(90deg, transparent, var(--metal) 30%, #fff9eb 51%, var(--metal) 69%, transparent);
  filter: drop-shadow(0 0 7px var(--metal));
}
.show-home .nav-copy {
  color: #fff9ee;
  font-size: clamp(1.2rem, 5.8cqi, 2.65rem);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -.035em;
  text-shadow: 0 2px 5px #16100e, 0 3px 19px #16100e;
}
@media (orientation: landscape) and (max-height: 700px) {
  .show-home #room-nav {
    --row-size: clamp(53px, 13dvh, 79px);
    padding-block: 10px;
  }
  .show-home .universe-link { padding-block: 5px; }
  .show-home .nav-copy { font-size: clamp(1.15rem, 4.6dvh, 2.25rem); }
}
@media (orientation: landscape) and (max-height: 500px) {
  .show-home::after { min-height: 0; }
}

#navigation { display: grid; min-width: 0; }
.show-home #navigation {
  gap: clamp(20px, 3.3dvh, 54px);
  grid-auto-rows: minmax(var(--row-size), 1fr);
}
@media (max-height: 650px) {
  .show-home #navigation { gap: clamp(12px, 2.7dvh, 19px); }
}
.show-home main { display: none; }
.universe-link {
  border: 1px solid #fff5e54d;
  border-radius: 12px;
  background-color: #2e211dba;
  background-image: linear-gradient(145deg, #fff4df16, transparent 53%);
  box-shadow: inset 0 1px #fff2dc21, 0 6px 18px #1a100d38;
  text-align: left;
  width: 100%;
}
#app:not(.show-home) {
  display: grid;
  grid-template-columns: clamp(80px, 21vw, 190px) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-items: start;
}
#app:not(.show-home) header { grid-column: 1 / -1; }
#app:not(.show-home) nav {
  position: sticky;
  top: 10px;
  align-self: start;
  max-height: calc(100dvh - 20px);
  overflow-y: auto;
  padding: 12px 0 12px clamp(5px, 1.8vw, 18px);
}
#app:not(.show-home) #navigation {
  gap: 4px;
  padding: 4px 0 4px 4px;

}
#app:not(.show-home) .universe-link {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 3px;
  min-height: 62px;
  padding: 7px 3px;
  border: 1px solid #fff5e54d;
  border-radius: 9px 0 0 9px;
  text-align: center;
}
#app:not(.show-home) .universe-link[aria-selected="true"] {
  border-color: #ffdec0;
  background-color: #654a3ad9;
}
#app:not(.show-home) .nav-copy { font: 700 clamp(.68rem, 1.9vw, .95rem)/1.15 "DM Sans", system-ui, sans-serif; }
#app:not(.show-home) main { min-width: 0; padding-inline: clamp(7px, 2vw, 25px); }
#app:not(.show-home) .category .hero { padding: clamp(14px, 3vw, 36px); }
#app:not(.show-home) .category h1 { font-size: clamp(2.1rem, 7vw, 5rem); }
@media (max-width: 460px) {
  #app:not(.show-home) .category .panel { padding: 8px; }
  #app:not(.show-home) .entry { gap: 6px; grid-template-columns: 24% 1fr; }
  #app:not(.show-home) .entry .plus { display: none; }
  #app:not(.show-home) .switch button { font-size: .82rem; }
}


#navigation, #app:not(.show-home) #navigation {
  gap: clamp(14px, 2.15dvh, 30px);
  padding: 5px;
}
#navigation .universe-link {
  --glass: #fffdf4b3;
  position: relative;
  overflow: hidden;
  border: 1px solid #fff9f1b3;
  border-radius: 999px;
  background:
    linear-gradient(130deg, #ffffff8c 0%, transparent 32%, #cc000014 68%, #69473d42 100%),
    var(--glass);
  box-shadow: inset 0 1px #ffffffd9, inset 1px 0 #fffaf1b3, inset 0 -4px #6a292b66, 0 6px 0 #3f1d23a8, 0 10px 22px #210c1180;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
@property --edge-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
#navigation .universe-link::before {
  inset: -2px;
  height: auto;
  z-index: 4;
  padding: 1px;
  border: 1px solid #ff5b67;
  border-radius: inherit;
  background: none;
  filter: drop-shadow(0 0 2px #fff1ed) drop-shadow(0 0 7px #ff153f) drop-shadow(0 0 13px #f327456b);
  transform: none;
  transition: opacity .25s ease;
}
@supports (mask-composite: exclude) {
  #navigation .universe-link::before {
    border: 0;
    background: conic-gradient(from var(--edge-angle), #c4122f 0deg 34deg,
      #ff3959 59deg, #fffaf5 84deg 99deg, #ff768c 112deg, #c4122f 146deg 227deg,
      #ff3959 245deg, #fff2ed 265deg 273deg, #ff768c 286deg, #c4122f 312deg 360deg);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
  }
}
#navigation .universe-link:is(:active, :focus-visible, [aria-selected="true"])::before {
  opacity: 1;
}
#navigation .universe-link[aria-selected="true"]::before {
  animation: perimeter-light 1.35s cubic-bezier(.19,.56,.3,1) both;
  box-shadow: 0 0 11px #ff365dae;
}
@keyframes perimeter-light {
  from { --edge-angle: 0deg; opacity: .4; }
  38% { opacity: 1; }
  to { --edge-angle: 360deg; opacity: 1; }
}
#navigation .universe-link::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(113deg, transparent 52%, #fff4ea37 52.2%, #fff4ea0d 70%, transparent 70.2%);
}
#navigation .universe-link:is(:active, [aria-selected="true"]) {
  --glass: #ffe9e4cf;
  border-color: #cc0000;
  box-shadow: inset 0 1px #ffffffd9, inset 0 -4px #9e282b66, 0 6px 0 #3f1d23a8, 0 10px 24px #9e282b5c;
}
.show-home #navigation .universe-link {
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
  padding: 9px clamp(18px, 6cqi, 42px);
}
#navigation .nav-copy {
  color: #000;
  text-shadow: 0 1px 1px #fffdf4ae;
  font-weight: 600;
}
#app:not(.show-home) #navigation .universe-link {
  border-radius: 999px;
  padding: 8px 10px 8px 5px;
}
#navigation .universe-link:focus-visible { outline-color: #cc0000; outline-offset: 2px; }
@media (hover: hover) {
  #navigation .universe-link:hover { border-color: #cc0000; }
}
@media (orientation: landscape) and (max-height: 550px) {
  #navigation, #app:not(.show-home) #navigation { gap: 11px; }
}

.tab-scene, .hero-motion { position: absolute; overflow: hidden; pointer-events: none; }
.tab-scene {
  inset: 0 0 0 auto;
  width: 43%;
  z-index: -1;
  opacity: .93;
  mask-image: linear-gradient(90deg, transparent, #000 38%);
}
.tab-scene img, .hero-motion img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tab-scene img { object-position: center 55%; }
.scene-effect { position: absolute; inset: 0; opacity: 0; }
.hero-motion { inset: 0; z-index: -2; }
.hero-motion img { z-index: auto; }
#app:not(.show-home) .tab-scene { width: 100%; opacity: .17; mask-image: none; }
[data-scene="cuisine"] .scene-effect { background: linear-gradient(105deg, transparent 24%, #fff0cb9c 49%, transparent 73%); }
[data-scene="bain"] .scene-effect { background: repeating-radial-gradient(ellipse at 65% 75%, #fff6ed80 0 1%, transparent 4% 11%); }
[data-scene="dressing"] .scene-effect { background: linear-gradient(90deg, #20252a 0 47%, #d8b88c 48% 49%, transparent 50%); }
[data-scene="meuble-tv"] .scene-effect { background: radial-gradient(ellipse at center, #fff4e690, transparent 69%); }
[data-scene="site"] .scene-effect { background: linear-gradient(180deg, transparent 44%, #f967629c 49%, transparent 54%); }
.universe-link:focus-visible .scene-effect, .hero .scene-effect {
  animation-duration: 1.05s;
  animation-timing-function: ease-out;
  animation-fill-mode: both;
}
[data-scene="cuisine"] .scene-effect { animation-name: material-reveal; }
[data-scene="bain"] .scene-effect { animation-name: basin-ripple; }
[data-scene="dressing"] .scene-effect { animation-name: sliding-front; }
[data-scene="meuble-tv"] .scene-effect { animation-name: screen-light; }
[data-scene="site"] .scene-effect { animation-name: gallery-scan; }
.hero-motion img { animation: scene-camera 1.35s ease-out both; }
@media (hover: hover) {
  .universe-link:hover .scene-effect { animation-duration: 1.05s; animation-timing-function: ease-out; animation-fill-mode: both; }
  .universe-link:hover [data-scene="cuisine"] .scene-effect { animation-name: material-reveal; }
  .universe-link:hover [data-scene="bain"] .scene-effect { animation-name: basin-ripple; }
  .universe-link:hover [data-scene="dressing"] .scene-effect { animation-name: sliding-front; }
  .universe-link:hover [data-scene="meuble-tv"] .scene-effect { animation-name: screen-light; }
  .universe-link:hover [data-scene="site"] .scene-effect { animation-name: gallery-scan; }
}
@keyframes material-reveal { from { opacity: 0; transform: translateX(-70%); } 45% { opacity: .85; } to { opacity: 0; transform: translateX(80%); } }
@keyframes basin-ripple { from { opacity: 0; transform: scale(.45); } 42% { opacity: .64; } to { opacity: 0; transform: scale(1.6); } }
@keyframes sliding-front { from { opacity: .88; transform: translateX(0); } to { opacity: 0; transform: translateX(55%); } }
@keyframes screen-light { from { opacity: 0; } 40% { opacity: 1; } to { opacity: 0; } }
@keyframes gallery-scan { from { opacity: 0; transform: translateY(-50%); } 48% { opacity: .75; } to { opacity: 0; transform: translateY(50%); } }
@keyframes scene-camera { from { transform: scale(1.08); } to { transform: scale(1); } }

.show-home .tab-scene {
  inset: 6px 6px 6px auto;
  width: 47%;
  opacity: 1;
  mask-image: none;
  border-radius: clamp(16px, 4cqi, 52px);
  border: 1px solid #39292128;
  box-shadow: 0 1px 6px #2e1c1926;
}
.show-home #navigation .universe-link::after { content: none; }
.show-home [data-scene="bain"] img { object-position: 62% 62%; }
.show-home [data-scene="dressing"] img { object-position: 58% 44%; }
.show-home [data-scene="meuble-tv"] img { object-position: 58% 63%; }
.show-home [data-scene="site"] img { object-position: 59% 46%; }
@media (max-width: 520px) {
  .show-home .tab-scene { width: 45%; inset: 4px 4px 4px auto; }
}

#navigation .universe-link { overflow: visible; }
.drawer-front {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  justify-items: center;
  overflow: hidden;
  isolation: isolate;
  z-index: 2;
  border-radius: inherit;
}
.show-home .drawer-front {
  grid-template-columns: minmax(0, 52%) 1fr;
  justify-items: stretch;
}
#navigation .nav-copy {
  color: #000000;
  font-weight: 700;
  text-shadow: none;
  opacity: 1;
}
.show-home #navigation .nav-copy {
  position: relative;
  z-index: 2;
  align-self: stretch;
  display: flex;
  align-items: center;
  padding-inline: clamp(16px, 6cqi, 42px) 7px;
  background: transparent;
  text-align: left;
  font-size: clamp(1.15rem, 5.25cqi, 2.4rem);
  letter-spacing: -.045em;
}
#app:not(.show-home) #navigation .nav-copy {
  position: relative;
  z-index: 1;
  background: #fffdf7ae;
  padding: 4px 5px;
  border-radius: 4px;
}

@media (orientation: landscape) and (max-height: 700px) {
  .show-home #navigation .nav-copy { font-size: clamp(1.15rem, 4.6dvh, 2.25rem); }
}

.show-home #navigation .universe-link {
  border-color: #fff5ed;
  background:
    linear-gradient(170deg, #ffffff24, transparent 26%, transparent 76%, #e6d7c519),
    linear-gradient(90deg, #fffdf396 0%, #fffdf38c 52%, #fff9ee36 72%, #fff9ee3d 100%);
  backdrop-filter: blur(2px) saturate(1.04);
  box-shadow: inset 0 1px #fff, 0 4px 0 #2e181d7c, 0 8px 20px #1b10105e, 0 0 13px #e81c4273;
}
.show-home #navigation .universe-link::before {
  opacity: .9;
  animation: showroom-led-orbit 3.4s linear infinite;
  animation-delay: calc(var(--led-step, 0) * -650ms);
}
.show-home #navigation .universe-link:nth-child(2) { --led-step: 1; }
.show-home #navigation .universe-link:nth-child(3) { --led-step: 2; }
.show-home #navigation .universe-link:nth-child(4) { --led-step: 3; }
.show-home #navigation .universe-link:nth-child(5) { --led-step: 4; }
@keyframes showroom-led-orbit {
  0% { --edge-angle: 0deg; opacity: .86; }
  50% { opacity: 1; }
  100% { --edge-angle: 360deg; opacity: .86; }
}

#app.show-feature { grid-template-columns: minmax(0, 1fr); }
#app.show-feature main { width: min(100%, 980px); justify-self: center; padding-inline: var(--padding); }
.feature-sheet { padding: clamp(15px, 4vw, 42px); background: #fffbf4f5; color: #191511; border-radius: 20px; box-shadow: 0 16px 40px #170d0b78; }
.feature-sheet h1 { font-size: clamp(2.2rem, 7vw, 5rem); margin-top: 15px; }
.back-link { color: #a50b19; font-weight: 700; text-decoration: underline; }
.feature-description { margin: 10px 0 24px; }
.feature-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.feature-tile { overflow: hidden; background: white; border: 1px solid #ddd3c9; border-radius: 12px; }
.feature-tile img { width: 100%; aspect-ratio: 2 / 1; display: block; object-fit: cover; }
.feature-tile strong { display: block; padding: 12px; font-size: clamp(.85rem, 2.4vw, 1.2rem); }
.studio-stage {
  position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: 1920 / 914; border-radius: 14px; background: #172629;
}
.studio-photo, .studio-photo img, .studio-fronts, .studio-worktop {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.studio-photo { isolation: isolate; background-size: 100% 100%; }
.studio-photo[data-scene="wide"] { background-image: url("./media/cadra-angle-wide.webp"); }
.studio-photo[data-scene="front"] { background-image: url("./media/cadra-angle-front.webp"); }

.material-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 6px; }
.material-choice { display: grid; align-content: start; gap: 5px; padding: 5px; background: #fffaf1; border: 1px solid #cfc0b1; border-radius: 7px; text-align: left; }
.material-choice[aria-pressed="true"] { border-color: #a31a29; box-shadow: inset 0 0 0 1px #a31a29; }
.material-choice strong { font-size: .83rem; line-height: 1.13; }
.material-choice small, .studio-note { color: #615346; font-size: .8rem; }
.material-chip { display: block; width: 100%; height: 30px; border-radius: 4px; object-fit: cover; }
.original-chip { background: #e4dac9; }
.studio-note:empty { display: none; }
.studio-floor { position: absolute; inset: 0; pointer-events: none; }

.material-options { grid-template-columns: repeat(auto-fit, minmax(106px, 1fr)); gap: 8px; }
.material-choice { min-height: 79px; padding: 7px; border: 1px solid #b3a195; background: #fffdf8; color: #231811; }
.material-choice strong { font-size: .88rem; }
.material-chip { height: clamp(37px, 5.5dvh, 58px); }
.material-choice[aria-pressed="true"] { border-color: #9c1523; box-shadow: inset 0 0 0 2px #9c1523; background: #fff3ee; }
.route-back {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1vw, 15px);
  min-height: clamp(52px, 5.4vw, 80px);
  padding: 8px clamp(13px, 2.1vw, 36px);
  border: 1px solid #fde9cc;
  border-radius: clamp(11px, 1.6vw, 20px);
  background: linear-gradient(152deg, #fff3e0, #e9d2b7);
  color: #30211c;
  box-shadow: inset 0 1px #fff9, 0 4px 11px #150e0b5e;
  font: 700 clamp(.95rem, 1.75vw, 1.45rem)/1.14 "DM Sans", system-ui, sans-serif;
  white-space: nowrap;
}
.route-back::before {
  content: "";
  width: .48em;
  height: .48em;
  border-bottom: 2px solid;
  border-left: 2px solid;
  transform: rotate(45deg);
}
.route-back:is(:hover, :focus-visible, :active) { background: #fff4e2; }
.page-home { display: none; }
body:has(#app.show-section) { background: #f9f5ef; }
body:has(#app.show-section) .backdrop { visibility: hidden; }
#app.show-section {
  width: 100%;
  max-width: none;
  min-height: 100dvh;
  background: #f9f5ef;
  color: #241912;
}
#app.show-section > header {
  min-height: 60px;
  background: #2b201b;
  border-bottom: 1px solid #513d35;
  padding-inline: clamp(14px, 3vw, 42px);
}
#app.show-section .page-home { display: inline-flex; }
#app.show-section > header .page-home, .showroom-viewer > header > .route-back {
  min-height: 44px;
  padding: 6px clamp(11px, 1.3vw, 19px);
  border: 1px solid #fff5e65c;
  border-radius: 999px;
  background: #fff5e610;
  color: #fff5e6;
  box-shadow: none;
  font-size: clamp(.9rem, 1.15vw, 1.12rem);
}
#app.show-section > header .page-home:is(:hover, :focus-visible), .showroom-viewer > header > .route-back:is(:hover, :focus-visible) {
  background: #fff5e629;
}
.page-home::before, .totem-home::before {
  width: .95em;
  height: .95em;
  border: 0;
  background: currentColor;
  transform: none;
  clip-path: polygon(0 47%, 50% 4%, 100% 47%, 87% 47%, 87% 94%, 61% 94%, 61% 68%, 39% 68%, 39% 94%, 13% 94%, 13% 47%);
}
#app.show-section > header .brand { flex: 1 1 auto; justify-content: center; }
#app.show-section main { width: 100%; min-width: 0; }
#app.show-feature main { padding: 0; }
.show-feature .feature-sheet {
  min-height: calc(100dvh - 68px);
  padding: clamp(17px, 4vw, 60px);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.show-feature .feature-sheet h1 { margin-top: 0; }
.show-feature .feature-tile img { aspect-ratio: 1.9; }
@media (orientation: landscape) and (min-width: 1000px) {
  .show-feature .feature-tiles { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .show-feature .catalogue-viewer { height: 73dvh; }
}
@media (max-width: 400px) {
  #app.show-section > header { gap: 4px; }
  #app.show-section .brand img { width: 111px; }
  #app.show-section .toolbar { gap: 4px; }
  #app.show-section .quiet { padding-inline: 7px; font-size: .78rem; }
}
@media (max-width: 650px) {
  #app.show-section #fullscreen { width: 44px; padding: 0; }
  #app.show-section .fullscreen-label { display: none; }
  #app.show-section .fullscreen-symbol { display: inline; font-size: 1.4rem; line-height: 1; }
}

.range-actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 900px) {
  #app.show-section .category .entries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #app.show-section .category .entries .entry { grid-template-columns: 1fr auto; }
  #app.show-section .category .entries .entry img { grid-column: 1 / -1; height: clamp(120px, 18dvh, 240px); }
}
#app.show-kitchen {
  background: #e8ddd2;
  color: #fff9f0;
}
#app.show-kitchen > header { background: #30221e; }
#app.show-kitchen .hero-motion img { object-position: 50% 57%; animation: none; }
#app.show-kitchen .category .hero h1 {
  font-size: clamp(2.5rem, 8vw, 7.6rem);
  text-shadow: 0 2px 10px #130b08, 0 7px 32px #130b08b5;
}
#app.show-kitchen .category .hero p { text-shadow: 0 1px 7px #130b08, 0 3px 19px #130b08; }
#app.show-kitchen .category .panel {
  background: #fffaf2ed;
  box-shadow: 0 8px 23px #1c100d24;
}

/* The opening layer is enabled before the first paint and is unable to intercept a touch. */
.launch-intro { display: none; }
html.play-opening .launch-intro {
  position: fixed;
  z-index: 10;
  inset: 0;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  pointer-events: none;
  animation: opening-finish 2.75s linear both;
}
.launch-intro::before,
.launch-intro::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset-block: 0;
  width: 50.2%;
  background:
    radial-gradient(ellipse at 50% 35%, #5b403b 0, transparent 68%),
    repeating-linear-gradient(92deg, #fff2 0 1px, transparent 1px 12px),
    linear-gradient(145deg, #27211f, #171412 78%);
  background-blend-mode: normal, soft-light, normal;
}
.launch-intro::before {
  left: 0;
  border-right: 1px solid #f1b096cf;
  box-shadow: 5px 0 18px #ffa9906e;
  animation: opening-left 2.65s cubic-bezier(.54,.04,.17,1) both;
}
.launch-intro::after {
  right: 0;
  border-left: 1px solid #ed9f90b8;
  box-shadow: -5px 0 18px #fbc3a56b;
  animation: opening-right 2.65s cubic-bezier(.54,.04,.17,1) both;
}
.launch-intro-mark {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(22px, 6vw, 44px);
  background: radial-gradient(ellipse, #211817b8, transparent 70%);
  animation: opening-mark 2.28s ease both;
}
.launch-intro-mark [data-showroom-brand] {
  display: block;
  max-width: 82vw;
  color: #fff4e4;
  font: 400 clamp(2.65rem, 9vw, 8rem)/.92 "Instrument Serif", Georgia, serif;
  text-align: center;
  text-wrap: balance;
  overflow-wrap: anywhere;
  text-shadow: 0 3px 14px #000a;
}
.launch-intro-mark::after {
  content: "";
  position: absolute;
  inset: auto 10% 5px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #a64c4e, #ffeace 50%, #c66164, transparent);
  box-shadow: 0 0 19px #ffd9aebe;
  animation: opening-light 2.12s ease both;
}
@keyframes opening-left { 0%, 49% { transform: translateX(0); } 100% { transform: translateX(-105%); } }
@keyframes opening-right { 0%, 49% { transform: translateX(0); } 100% { transform: translateX(105%); } }
@keyframes opening-mark {
  0% { opacity: 0; transform: translateY(9px) scale(.965); }
  28%, 66% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-6px) scale(1.035); }
}
@keyframes opening-light {
  0%, 12% { opacity: 0; transform: scaleX(.06); }
  48%, 74% { opacity: 1; transform: scaleX(1); }
  100% { opacity: 0; transform: scaleX(.72); }
}
@keyframes opening-finish { from { visibility: visible; } to { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { html.play-opening .launch-intro { display: none; } }

/* Give each room its full-width stage and keep the navigation above the picture. */
#app.show-room:not(.show-home) {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
#app.show-room:not(.show-home) #room-nav {
  z-index: 4;
  top: 0;
  width: 100%;
  max-height: none;
  overflow: visible;
  padding: clamp(7px, 1.4dvh, 14px) clamp(8px, 3vw, 36px);
  background: #241a16f0;
}
#app.show-room:not(.show-home) #navigation {
  width: min(100%, 1050px);
  margin: 0 auto;
  padding: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(4px, 1vw, 13px);
}
#app.show-room:not(.show-home) #navigation .universe-link {
  min-height: clamp(49px, 6.2dvh, 65px);
  padding: 3px;
  border-radius: 999px;
  border-color: #fff4e579;
  background: #fff8f0d9;
  box-shadow: inset 0 1px #fff5, 0 3px 6px #1e0e1147;
}
#app.show-room:not(.show-home) #navigation .universe-link[aria-selected="true"] {
  border-color: #e85064;
  background: #fffaf1;
}
#app.show-room:not(.show-home) #navigation .universe-link::before { inset: -2px; }
#app.show-room:not(.show-home) #navigation .nav-copy {
  padding: 4px 7px;
  background: none;
  font-size: clamp(.67rem, 1.8vw, 1rem);
  overflow-wrap: anywhere;
}
#app.show-room:not(.show-home) .tab-scene { opacity: .21; }
#app.show-room:not(.show-home) main { margin: 0; padding: 0; }
#app.show-room .category { gap: 0; }
.room-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(7px, 1.6vw, 20px);
  padding: clamp(8px, 1.4dvh, 20px) clamp(10px, 4vw, 54px);
  background: linear-gradient(150deg, #fbf7ef, #e9dbca);
  border-bottom: 1px solid #bb9e8d;
  box-shadow: inset 0 1px #ffffffab;
}
.room-controls .switch {
  flex: 1 1 246px;
  max-width: 440px;
  padding: 3px;
  border-color: #c9ac9a;
  border-radius: 999px;
  background: #fff9f1;
}
.room-controls .switch button { padding-inline: 6px; font-size: clamp(.91rem, 1.75vw, 1.14rem); }
.room-controls .range-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: 1 1 292px;
  max-width: 475px;
  gap: 7px;
}
.room-controls .action {
  padding: 6px clamp(9px, 1.5vw, 20px);
  border-radius: 999px;
  background: #362524;
  color: #fff6e7;
  font-size: clamp(.85rem, 1.63vw, 1.08rem);
  white-space: nowrap;
}
.room-controls .action[data-catalogue-reader] { border-color: #b3897f; background: #fffbf5; color: #4e2831; }
#app.show-room .category .hero {
  border-radius: 0;
  min-height: clamp(220px, 41dvh, 645px);
  padding: clamp(21px, 6vw, 85px) clamp(16px, 6vw, 85px) clamp(26px, 6dvh, 72px);
}
#app.show-kitchen .category .hero {
  min-height: clamp(240px, 47dvh, 720px);
}
#app.show-room .category .panel {
  width: min(calc(100% - 2 * clamp(10px, 4vw, 54px)), 1480px);
  margin: 0 auto clamp(14px, 4vw, 46px);
  border: 1px solid #f5efdfb8;
  border-radius: 18px;
}
@media (orientation: landscape) and (max-height: 580px) {
  #app.show-room .category .hero { min-height: 45dvh; }
}

@media (orientation: portrait) {
  #app.show-kitchen .category .hero {
    display: grid;
    align-items: stretch;
    min-height: 0;
    padding: 0;
    background: #f8f5ef;
    color: var(--ink);
  }
  #app.show-kitchen .hero::before { display: none; }
  #app.show-kitchen .hero-motion {
    position: relative;
    z-index: auto;
    display: block;
    height: clamp(208px, 40dvh, 708px);
    background: #c7b8a7;
  }
  #app.show-kitchen .hero-motion img { object-position: 86% 69%; }
  #app.show-kitchen .hero-copy {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 7px clamp(18px, 4vw, 72px);
    padding: clamp(17px, 3vw, 40px) clamp(16px, 5vw, 80px);
    border-bottom: 1px solid #e1d5c8;
  }
  #app.show-kitchen .category .hero h1 {
    font-size: clamp(2.5rem, 6.15vw, 5.8rem);
    text-shadow: none;
  }
  #app.show-kitchen .category .hero p {
    margin: 0;
    color: #65554b;
    font-size: clamp(1rem, 1.7vw, 1.3rem);
    text-shadow: none;
  }
  #app.show-kitchen .category .panel { margin-top: clamp(10px, 2vw, 30px); }
}

@media (orientation: portrait) and (max-aspect-ratio: 3/4) {
  .backdrop::after {
    background: linear-gradient(180deg, #1b12105c, transparent 26%, transparent 65%, #1b12106b);
  }
}

#showroom-slides, #showroom-slides .slide { position: absolute; inset: 0; }
#showroom-slides .slide { opacity: 0; transition: opacity 850ms ease; }
#showroom-slides .slide.is-visible { opacity: 1; }
#showroom-slides img { display: block; width: 100%; height: 100%; object-fit: cover; }
body:has(#app.show-section) #showroom-slides,
#app:not(.show-home) #slideshow-toggle { display: none; }
#slideshow-toggle { width: 46px; padding: 0; }

#guide-toggle {
  position: fixed; right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 5; display: flex; align-items: center; gap: clamp(7px, 1vw, 15px); padding: 5px clamp(12px, 1.6vw, 25px) 5px 6px;
  min-height: 58px; border-radius: 999px; border: 1px solid #f2d0b1;
  background: linear-gradient(125deg, #a43d4f, #592335 85%); color: #fff7ec;
  box-shadow: inset 0 1px #fff5, 0 8px 31px #190e0c85; font-size: clamp(1rem, 1.55vw, 1.28rem); font-weight: 700;
  white-space: nowrap;
}
.guide-avatar {
  display: block; flex: none; width: clamp(46px, 5.6vw, 76px); aspect-ratio: 1; height: auto;
  border: 1px solid #f2d0b1; border-radius: 50%; object-fit: cover;
  background: #aa7162; box-shadow: 0 0 12px #ef9b8372;
}
#guide-toggle:is(:hover, :focus-visible) { box-shadow: 0 0 0 3px #ffd3b47c, 0 7px 24px #190e0c63; }
#studio-guide {
  width: min(850px, calc(100% - 24px)); height: min(76dvh, 960px); max-height: calc(100dvh - 24px); padding: 0; overflow: hidden;
  border: 1px solid #d4b497; border-radius: clamp(20px, 3.2vw, 38px); background: #f8f1e8; color: #30221e;
  font-size: clamp(1rem, 1.72vw, 1.2rem);
  box-shadow: 0 24px 100px #180e0ac7;
}
#studio-guide[open] { display: flex; flex-direction: column; }
#studio-guide::backdrop { background: #211512b5; backdrop-filter: blur(5px); }
#studio-guide .guide-header {
  flex: none; padding: clamp(12px, 3.3vw, 32px); background: radial-gradient(ellipse at 15% 95%, #9d4654, transparent 72%), #3e2028;
  border-bottom: 1px solid #c79678;
}
.guide-identity { display: flex; align-items: center; gap: 15px; }
.guide-identity .guide-avatar { width: clamp(48px, 12vw, 100px); border-width: 2px; }
.guide-identity h2 { font-size: clamp(1.65rem, 5.6vw, 4.3rem); text-wrap: balance; }
.guide-close { min-width: 46px; min-height: 46px; border: 1px solid #fff7; border-radius: 50%; background: #2e1b1d68; font-size: 1.65rem; }
.guide-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: clamp(14px, 3vw, 31px); }
.guide-greeting { padding: clamp(12px, 2vw, 20px); background: #fffaf4; border: 1px solid #ded0c0; border-radius: 4px 18px 18px 18px; }
#guide-topics { display: flex; gap: 9px; flex-wrap: wrap; margin: 15px 0 4px; }
#guide-topics button { min-height: 48px; background: #f4e5dc; border: 1px solid #d2b7ad; border-radius: 999px; padding: 7px 15px; font-size: clamp(.9rem, 1.5vw, 1.04rem); text-align: left; }
#guide-topics button:is(:hover, :focus-visible, :active) { background: #eed1c0; }
#guide-thread { display: grid; gap: 10px; }
#guide-thread:not(:empty) { margin-top: 14px; }
.guide-message { max-width: 94%; padding: 11px 14px; overflow-wrap: anywhere; }
.guide-question { justify-self: end; color: #fff9ee; background: #742b39; border-radius: 15px 3px 15px 15px; }
.guide-answer { justify-self: start; background: #fffaf4; border: 1px solid #ded0c0; border-radius: 3px 15px 15px 15px; }
.guide-speaker { display: block; color: #742b39; margin-bottom: 3px; font-size: .86rem; }
.guide-source { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; padding: 1px 0; border-top: 1px solid #ead8c7; }
.guide-source:first-of-type { margin-top: 8px; }
.guide-source a, .guide-help { display: inline-flex; align-items: center; min-height: 44px; color: #6b2731; text-decoration: underline; text-underline-offset: 3px; }
.guide-source a:first-child { font-weight: 700; }
.guide-reference, .guide-help { font-size: .875rem; }
.guide-composer {
  flex: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 9px;
  padding: 11px clamp(13px, 3vw, 22px) max(13px, env(safe-area-inset-bottom));
  border-top: 1px solid #d8c5b4; background: #fff9ef;
}
.guide-composer label { grid-column: 1 / -1; color: #625047; font-size: .91rem; font-weight: 650; }
#guide-query { min-width: 0; min-height: 54px; border: 1px solid #b69b8c; border-radius: 14px; padding: 9px 13px; font: inherit; }
#guide-query:focus-visible { outline: 2px solid #8b3744; outline-offset: 1px; }
.guide-composer button {
  padding: 0 clamp(11px, 3vw, 21px); border: 1px solid #5b202c; border-radius: 14px;
  background: linear-gradient(#8c3a46, #6c2634); color: #fff9ef; font-weight: 700;
}

.brand {
  flex: 0 1 auto;
  min-width: 0;
}
.brand [data-showroom-brand] {
  min-width: 0;
  overflow: hidden;
  color: #fff4e5;
  font: 400 clamp(1.18rem, 2.5vw, 2.2rem)/1 "Instrument Serif", Georgia, serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#app > header .page-qr-button {
  flex: none;
  min-height: 48px;
  min-width: 48px;
  padding: 4px 7px;
  border: 1px solid #f9debd6c;
  border-radius: 10px;
  background: #2c211e;
  color: #fff5e7;
  font-size: .82rem;
  white-space: nowrap;
}
.page-qr-button img {
  display: block;
  width: clamp(40px, 5.5vw, 68px);
  height: auto;
  border-radius: 4px;
}
.page-qr-button:hover, .page-share-link:hover { box-shadow: 0 0 15px #ffe3bd66; }

.page-share-dialog {
  width: min(490px, calc(100vw - 28px));
  max-height: calc(100dvh - 24px);
  padding: 27px clamp(15px, 5vw, 34px);
  border: 1px solid #e4b595;
  border-radius: 23px;
  color: #fff7e8;
  background: linear-gradient(155deg, #4a322b, #221917 72%);
  text-align: center;
}
.page-share-dialog[open] { display: grid; justify-items: center; gap: 10px; }
.page-share-dialog::backdrop { background: #170f0eb5; }
.page-share-dialog > p:first-of-type { color: #f1c3a5; font-size: .95rem; }
.page-share-dialog > img { display: block; width: min(100%, 330px); height: auto; border-radius: 12px; }
.page-share-close {
  position: absolute; top: 8px; right: 8px; width: 44px; height: 44px;
  border: 1px solid #d2a88978; border-radius: 50%; background: #2d201f; color: #fff6e9; font-size: 1.4rem;
}
.page-share-link, .brand-admin-form button {
  min-height: 48px; display: grid; place-items: center; padding: 7px 14px;
  border: 1px solid #efd0b6; border-radius: 10px; background: #f2d6bc; color: #38211f; font-weight: 700;
}
.brand-admin {
  width: min(100%, 1250px);
  margin-inline: auto;
  display: grid;
  align-content: start;
  gap: clamp(14px, 2.65vw, 32px);
}
.brand-admin h1 { margin-bottom: 0; font-size: clamp(2.15rem, 6vw, 5rem); }
#app.show-admin ~ #guide-toggle { display: none; }
.brand-admin-layout { display: grid; grid-template-columns: 1fr minmax(220px, .75fr); gap: clamp(12px, 3vw, 34px); }
.brand-admin-form, .brand-admin-preview {
  display: grid; align-content: center; gap: 10px;
  min-width: 0; padding: clamp(14px, 3vw, 32px);
  border: 1px solid #b9886d70; border-radius: 19px; background: #fff6eb;
}
.brand-admin-form { font-size: clamp(1rem, 1.7vw, 1.3rem); }
.brand-admin-form label { font-weight: 700; }
.brand-admin-form input[name="enseigne"] {
  width: 100%; min-height: 49px; margin-bottom: 6px; padding: 6px 11px;
  border: 1px solid #a77763; border-radius: 8px; background: #fffdf9; color: #3d2823; font: inherit;
}
.brand-admin-form button { justify-self: start; background: #69303b; color: #fff7ec; }
.brand-admin-form button:disabled { opacity: .65; cursor: default; }
.brand-admin-status { color: #572f26; }
.brand-admin-status:empty { display: none; }
.brand-gallery {
  display: grid; gap: clamp(10px, 2vw, 18px); min-inline-size: 0; margin: 0;
  padding: 0; border: 0;
}
.brand-gallery legend {
  margin-bottom: clamp(10px, 2vw, 19px); padding: 0;
  font: 400 clamp(1.45rem, 3.05vw, 2rem)/1.05 "Instrument Serif", Georgia, serif;
}
.brand-gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(7px, 1.4vw, 15px); }
.brand-choice, .brand-text-choice { -webkit-tap-highlight-color: transparent; }
.brand-choice { position: relative; min-width: 0; cursor: pointer; }
.brand-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.brand-choice-tile {
  position: relative; display: grid; min-height: 48px; place-items: center; padding: 3px;
  border: 1px solid #b99b8b96; border-radius: 11px; background: #fffdfa;
  box-shadow: 0 2px 7px #65493720; transition: border-color .18s, box-shadow .18s;
}
.brand-choice-tile img { display: block; width: 100%; height: auto; border-radius: 7px; }
.brand-choice:is(:hover, :focus-within) .brand-choice-tile { border-color: #793748; }
.brand-choice input:checked + .brand-choice-tile {
  border-color: #793748; box-shadow: 0 0 0 2px #793748, 0 6px 14px #481f2e38;
}
.brand-choice input:checked + .brand-choice-tile::after {
  content: "✓"; position: absolute; top: 0; right: 0; display: grid; place-items: center;
  width: 20px; height: 20px; border-radius: 0 8px 0 8px; background: #793748; color: #fff; font-size: .8rem;
}
.brand-choice input:focus-visible + .brand-choice-tile { outline: 2px solid #6f273a; outline-offset: 4px; }
.brand-text-choice {
  display: inline-flex; align-items: center; justify-self: start; gap: 8px; min-height: 44px;
  padding: 3px 11px; border: 1px solid #ba9b8a99; border-radius: 9px; background: #fffdfa; font-size: .85em; cursor: pointer;
}
.brand-text-choice input { width: 17px; height: 17px; margin: 0; accent-color: #793748; }
.brand-name-entry { display: grid; gap: 6px; padding-top: 1px; }
.brand-admin-preview { justify-items: center; align-content: center; text-align: center; background: #322a24; color: #fff7eb; }
.brand-admin-preview strong { font: 400 clamp(1.7rem, 4vw, 3.3rem)/1 "Instrument Serif", Georgia, serif; overflow-wrap: anywhere; }
.brand-preview-label { color: #f4dfc3; font-size: .84rem; }
.brand-admin-preview [data-brand-preview] { display: grid; justify-items: center; width: 100%; min-height: 38px; }
.brand-mark { display: block; max-width: 100%; height: auto; border-radius: 8px; object-fit: contain; }
.brand .brand-mark { width: clamp(102px, 14vw, 170px); max-height: 48px; }
.launch-intro-mark .brand-mark { width: min(74vw, 620px); max-height: 24dvh; }
.brand-admin-preview .brand-mark { width: min(100%, 350px); }
.page-share-dialog .brand-mark { width: min(55vw, 200px); }
.showroom-link-caption .brand-mark { width: min(44vw, 260px); }
.brand-admin-qr {
  display: grid; justify-items: center; gap: 8px; margin-top: 8px; padding: clamp(10px, 1.5vw, 23px);
  max-width: 100%; border: 1px solid #f0d6b774; border-radius: 14px; background: #fff1d710; color: #fff7eb;
  font-size: clamp(1rem, 2vw, 1.5rem); font-weight: 650;
}
.brand-admin-qr:hover { background: #fff1d726; }
.brand-admin-qr img { display: block; width: clamp(172px, 24vw, 280px); max-width: 100%; height: auto; border-radius: 5px; }
.brand-admin-qr small { color: #f4dfc3; font-size: clamp(.82rem, 1.5vw, 1rem); font-weight: 500; }
@media (max-width: 700px) {
  .brand-admin-layout { grid-template-columns: minmax(0, 1fr); }
  .page-qr-button > span { display: none; }
}
@media (max-width: 560px) {
  #app.show-studio > header { gap: 5px; }
}
/* Showroom navigation and touch controls share the same ivory and garnet finishes. */
#app {
  --tab-paper: #fff5e7;
  --tab-ink: #392823;
  --tab-line: #c7a797;
  --tab-active: #762832;
}
#app.show-room:not(.show-home) #navigation .universe-link {
  min-height: clamp(48px, 5.5dvh, 78px);
  background: #45302a;
  color: #fff4e7;
  border-color: #be9a877a;
}
#app.show-room:not(.show-home) #navigation .universe-link[aria-selected="true"] {
  color: #251713;
  background: var(--tab-paper);
  border-color: #eeb18d;
  box-shadow: inset 0 0 0 1px #ad5259;
}
#app.show-room:not(.show-home) #navigation .nav-copy {
  padding: 5px 6px;
  color: inherit;
  font-size: clamp(.79rem, 1.8vw, 1.2rem);
  overflow-wrap: normal;
  text-wrap: balance;
}
#app.show-room:not(.show-home) .tab-scene { opacity: .11; }
@media (max-width: 600px) {
  #app.show-room:not(.show-home) #navigation { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  #app.show-room:not(.show-home) #navigation .universe-link { grid-column: span 2; }
  #app.show-room:not(.show-home) #navigation .universe-link:nth-last-child(-n+2) { grid-column: span 3; }
}

:where(.switch) button {
  min-width: 0;
  text-wrap: balance;
}
.category .switch button { min-height: clamp(46px, 4dvh, 65px); border-radius: 999px; }
.category .switch button[aria-pressed="true"] {
  background: #762832;
  color: #fff5e7;
  border-color: #762832;
}
.material-choice[aria-pressed="true"] { background: #fff0e0; box-shadow: inset 0 0 0 2px #762832; }

.studio-sample {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  border-radius: 13px;
  background: #382923;
  border: 1px solid #b58d76;
}
.studio-sample-visual { position: relative; isolation: isolate; height: clamp(85px, 12dvh, 200px); }
.studio-sample-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.studio-sample figcaption { display: grid; gap: 3px; padding: 8px 12px; }
.studio-sample small { color: #e3bfa9; }
.studio-sample strong { font-size: clamp(.9rem, 1.9vw, 1.2rem); }

.studio-led-layer {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  color: var(--led-colour, #ffca97);
  opacity: var(--led-strength, 0);
  filter: drop-shadow(0 0 2px currentColor) drop-shadow(0 0 8px currentColor);
  mix-blend-mode: screen;
  transition: opacity .18s ease, color .18s ease;
}
.studio-led-groove { position: absolute; inset: 0; background: currentColor; }
/* The light follows the joint beneath the thin stone edge in each photograph. */
.studio-led-island-side { clip-path: polygon(23.05% 53%, 31.2% 59.13%, 31.2% 59.46%, 23.05% 53.33%); }
.studio-led-island-front { clip-path: polygon(31.2% 59.13%, 75.55% 47.53%, 75.55% 47.86%, 31.2% 59.46%); }
.studio-led-niche { clip-path: polygon(30.35% 27.96%, 45.9% 27.72%, 45.9% 28.09%, 30.35% 28.33%); }

.studio-light-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 15px;
  padding: 10px 12px;
  border: 1px solid #9b7462;
  border-radius: 14px;
  background: #33241f;
}
.studio-led-toggle {
  grid-column: 1 / -1;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid #c9a58c;
  border-radius: 999px;
  background: #261b18;
  color: #fff3e5;
  font-weight: 700;
}
.studio-led-toggle span { width: 9px; aspect-ratio: 1; border-radius: 50%; background: #ab988c; }
.studio-led-toggle[aria-pressed="true"] { color: #2b1c16; background: #f5dbc0; }
.studio-led-toggle[aria-pressed="true"] span { background: #a44025; box-shadow: 0 0 9px #cc7036; }
.studio-light-controls label { display: grid; grid-template-columns: 1fr auto; column-gap: 5px; font-size: clamp(.75rem, 2vw, .95rem); }
.studio-light-controls output { color: #f7cdad; font-variant-numeric: tabular-nums; }
.studio-light-controls input { grid-column: 1 / -1; width: 100%; min-width: 0; min-height: 36px; margin: 0; accent-color: #f2bd93; }

.studio-sample {
  position: relative;
  isolation: isolate;
  border-radius: 17px;
  border-color: #dbb496;
  background: #372922;
  box-shadow: inset 0 0 0 1px #ffffff31, 0 6px 14px #1c100e65;
}
.studio-sample-visual { height: clamp(110px, 14dvh, 234px); }
.studio-sample-visual img { transition: transform .45s ease; }
.studio-sample:hover .studio-sample-visual img { transform: scale(1.045); }
.studio-sample figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: clamp(10px, 2.4vw, 23px);
  padding-top: clamp(20px, 4vw, 56px);
  background: linear-gradient(transparent, #22130fe8 66%);
}
.studio-sample small { color: #f2c9ad; font-size: clamp(.73rem, 1.5vw, .94rem); }
.studio-sample strong { font: 400 clamp(1.15rem, 2.9vw, 2.4rem)/1.03 "Instrument Serif", Georgia, serif; color: #fffaf0; }
@media (prefers-reduced-motion: reduce) {
  .studio-led-layer, .studio-sample-visual img { transition: none; }
}

.studio-led-layer {
  filter: drop-shadow(0 0 1px #fff9e6) drop-shadow(0 0 3px currentColor)
    drop-shadow(0 0 var(--led-halo, 3px) currentColor);
  mix-blend-mode: normal;
}
.studio-led-groove { background: color-mix(in srgb, currentColor 57%, #fff 43%); }

.studio-light-controls {
  gap: 11px clamp(9px, 2vw, 19px);
  padding: clamp(10px, 2vw, 19px);
  border: 1px solid #c3a59191;
  border-radius: 24px;
  background: linear-gradient(145deg, #4d403a, #292322 55%, #231d1b);
  box-shadow: inset 0 1px #ffffff35, inset 0 -4px #120d0bad, 0 7px 15px #120d0c8f;
}
.studio-remote-head {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.studio-remote-head > div { display: grid; gap: 3px; }
.studio-remote-head small { color: #e2bfa6; font-size: .76rem; }
.studio-remote-head strong { font: 400 clamp(1.3rem, 2.6vw, 2rem)/1 "Instrument Serif", Georgia, serif; }
.studio-led-toggle {
  width: auto;
  padding-inline: 11px;
  border-color: #bba394a6;
  background: linear-gradient(160deg, #4b3a33, #251d1b);
  transition: box-shadow .22s ease, transform .2s ease, background .22s ease;
}
.studio-led-toggle:active { transform: scale(.95); }
.studio-led-toggle span {
  width: auto;
  aspect-ratio: auto;
  background: none;
  border-radius: 0;
}
.studio-led-toggle span:first-child { font-size: 1.2rem; }
.studio-led-toggle[aria-pressed="true"] {
  color: #2c1d16;
  background: color-mix(in srgb, var(--remote-colour) 40%, #fff3e4);
  box-shadow: 0 0 14px color-mix(in srgb, var(--remote-colour) 52%, transparent);
}
.studio-led-toggle[aria-pressed="true"] span { background: none; box-shadow: none; }
.studio-light-controls label {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 8px;
  border: 1px solid #82665894;
  border-radius: 12px;
  background: #201918b0;
  align-items: center;
}
.studio-light-controls input { appearance: none; background: transparent; min-height: 44px; }
.studio-light-controls input::-webkit-slider-runnable-track {
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, #dfa67b var(--remote-level, 65%), #68534b var(--remote-level, 65%));
}
.studio-light-controls input::-moz-range-track { height: 7px; border-radius: 999px; background: #72584e; }
.studio-light-controls input::-moz-range-progress { height: 7px; border-radius: 999px; background: #dfa67b; }
.studio-light-controls input[data-led="temperature"]::-webkit-slider-runnable-track { background: linear-gradient(90deg, #d4854c, #f1ddc0 54%, #c4def6); }
.studio-light-controls input[data-led="temperature"]::-moz-range-track { background: linear-gradient(90deg, #d4854c, #f1ddc0 54%, #c4def6); }
.studio-light-controls input[data-led="temperature"]::-moz-range-progress { background: transparent; }
.studio-light-controls input::-webkit-slider-thumb {
  appearance: none; width: 24px; height: 24px; margin-top: -8.5px;
  border-radius: 50%; border: 1px solid #a17b64; background: #fff2e2;
  box-shadow: 0 2px 8px #1f1514ab;
}
.studio-light-controls input::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; border: 1px solid #a17b64; background: #fff2e2; }
@media (max-width: 450px) {
  .studio-light-controls label { font-size: .74rem; grid-template-columns: 1fr; }
  .studio-light-controls output { margin-top: 2px; }
}

.studio-light-controls[data-power="on"] .studio-led-toggle span:first-child {
  animation: remote-power-on .55s ease-out both;
}
@keyframes remote-power-on {
  0% { opacity: .35; transform: scale(.84); }
  55% { opacity: 1; transform: scale(1.16); }
  100% { opacity: 1; transform: scale(1); }
}

.studio-led-front-island { clip-path: polygon(0 48.69%, 59.05% 52.95%, 59.05% 53.28%, 0 49.02%); }
.studio-stage[data-slim-worktop] .studio-led-island-side { clip-path: polygon(23.05% 52.42%, 31.2% 58.61%, 31.2% 59.01%, 23.05% 52.82%); }
.studio-stage[data-slim-worktop] .studio-led-island-front { clip-path: polygon(31.2% 58.61%, 75.55% 47.08%, 75.55% 47.48%, 31.2% 59.01%); }
.studio-stage[data-slim-worktop] .studio-led-front-island { clip-path: polygon(0 47.97%, 59.05% 52.37%, 59.05% 52.77%, 0 48.37%); }
.studio-led-front-niche { clip-path: polygon(30.25% 18.98%, 53% 18.87%, 53% 19.24%, 30.25% 19.35%); }

.studio-material-layers { position: absolute; z-index: 1; inset: 0; pointer-events: none; }
.studio-photo[data-scene="front"] :is(.studio-material-layers, .studio-led-layer) {
  mask: var(--studio-person-mask) center / 100% 100% no-repeat;
}

/* The stage and its controls share a single viewport, including in kiosk mode. */
#app.show-studio {
  --studio-gutter: clamp(10px, 2.65vw, 46px);
  --studio-guide-clearance: clamp(215px, 26vw, 348px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 100dvh;
  overflow: hidden;
  max-width: none;
  background: radial-gradient(ellipse at 13% 5%, #493530, transparent 57%), #221d1c;
}
#app.show-studio > header {
  flex: none;
  min-height: clamp(62px, 7.5vw, 98px);
  padding-block: 6px;
  padding-right: calc(var(--studio-gutter) + var(--studio-guide-clearance));
  border-bottom-color: #efdbc03f;
  background: #221a1bc7;
}
#app.show-studio > main:last-of-type { flex: 1 1 auto; min-height: 0; width: 100%; }
#app.show-studio #screen,
#app.show-studio .studio-page,
#app.show-studio .feature-body,
#app.show-studio .studio-workspace { width: 100%; height: 100%; min-height: 0; }
#app.show-studio .studio-page { padding: 0; background: transparent; box-shadow: none; }
#app.show-studio .studio-workspace { position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr); isolation: isolate; }
#app.show-studio #screen:focus { outline: 0; }
body:has(#app.show-studio) #guide-toggle {
  inset: max(6px, env(safe-area-inset-top)) clamp(10px, 2.65vw, 46px) auto auto;
  z-index: 5;
}
.studio-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: clamp(10px, 2.2vw, 34px) var(--studio-gutter);
  color: #fff7e9;
}
.studio-page #feature-title {
  margin: 0;
  color: inherit;
  font-size: clamp(1.55rem, 5.4vw, 5.6rem);
  line-height: .92;
}
.studio-page #feature-title span {
  display: block;
  margin-bottom: .54em;
  color: #f5c6aa;
  font: 650 clamp(.68rem, 1.55vw, 1.15rem)/1.2 "DM Sans", system-ui, sans-serif;
}
.studio-picker {
  display: flex;
  flex-direction: column;
  justify-content: safe center;
  gap: clamp(14px, 2.5dvh, 46px);
  width: min(100%, 1720px);
  height: 100%;
  margin-inline: auto;
  padding: clamp(12px, 2.5dvh, 44px) var(--studio-gutter) max(24px, 6dvh);
  overflow: auto;
  color: #fff7e9;
}
.studio-picker #feature-title {
  flex: none;
  font-size: clamp(2.35rem, min(7vw, 12dvh), 7.1rem);
  text-align: center;
}
.studio-choices {
  flex: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.7vw, 54px);
}
.studio-choice {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: end;
  min-width: 0;
  height: clamp(148px, 43dvh, 540px);
  overflow: hidden;
  padding: clamp(16px, 3.15vw, 60px);
  border: 1px solid #f2d1b6c2;
  border-radius: clamp(18px, 3vw, 46px);
  background: #3a2c27;
  box-shadow: 0 10px 27px #170d0da3, 0 0 16px #f0c49a25;
  color: #fff8ea;
  touch-action: manipulation;
}
.studio-choice img, .studio-choice::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
}
.studio-choice img { object-fit: cover; }
.studio-choice[data-tool-choice="cuisine"] img { object-position: 56% 54%; }
.studio-choice[data-tool-choice="tiroir"] img { object-position: 50% 75%; }
.studio-choice::before {
  content: "";
  z-index: 0;
  background: linear-gradient(0deg, #241918eb, #271b1887 27%, #271b1800 65%);
  pointer-events: none;
}
.studio-choice strong {
  position: relative;
  font: 400 clamp(2.2rem, min(6.2vw, 11dvh), 7rem)/.98 "Instrument Serif", Georgia, serif;
  letter-spacing: -.018em;
  text-shadow: 0 .08em .20em #211512;
}
.studio-choice:is(:hover, :focus-visible) {
  border-color: #fff3d8;
  box-shadow: 0 10px 27px #170d0da3, 0 0 22px #ffc7966b;
}
.studio-choice:focus-visible, .studio-picker-back:focus-visible {
  outline: 2px solid #fff2dc;
  outline-offset: 3px;
}
.studio-choice:active { box-shadow: inset 0 0 0 2px #fff2d9; }
@media (orientation: portrait) {
  .studio-picker { width: min(100%, 1350px); }
  .studio-choices { grid-template-columns: minmax(0, 1fr); }
  .studio-choice { height: clamp(130px, 24dvh, 565px); }
  .studio-choice strong { font-size: clamp(2.25rem, min(8.7vw, 7.6dvh), 7rem); }
}
#studio-panel-cuisine { position: relative; grid-row: 2; min-height: 0; }
.kitchen-workspace, .studio-frame, .studio-frame .studio-stage { position: absolute; inset: 0; }
.kitchen-workspace {
  container-type: size;
  --studio-tool-height: clamp(65px, 6.8dvh, 135px);
  --studio-ornament-height: clamp(29px, calc(var(--studio-tool-height) * .49), 66px);
  --studio-tool-gap: clamp(5px, .9vw, 10px);
  --gallery-gutter: var(--studio-gutter);
  --gallery-gap: clamp(8px, 1.2dvh, 23px);
  --gallery-radius: clamp(13px, 2.3vw, 39px);
}
.studio-frame { overflow: hidden; }
.studio-frame .studio-stage { aspect-ratio: auto; border-radius: 0; background: transparent; }
.studio-gallery-view {
  position: absolute;
  inset: 0 var(--gallery-gutter) var(--gallery-gutter);
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--gallery-radius);
}
.studio-gallery-view::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #f5d9b98c;
  border-radius: inherit;
  pointer-events: none;
}
.studio-gallery-front { display: none; }
.studio-gallery-view figcaption {
  position: absolute;
  top: clamp(8px, 1.65vw, 25px);
  left: clamp(8px, 1.65vw, 25px);
  z-index: 2;
  padding: .55em .88em;
  border: 1px solid #eed4b577;
  border-radius: 999px;
  background: #292223e8;
  color: #fff5e9;
  font: 550 clamp(.76rem, 1.55vw, 1.21rem)/1.1 "DM Sans", system-ui, sans-serif;
}
.studio-gallery-view { box-shadow: 0 17px 44px #140d0f59; }
.studio-frame .studio-photo {
  --gallery-width: calc(100cqw - 2 * var(--gallery-gutter));
  --image-width: max(var(--gallery-width), calc((100cqh - var(--gallery-gutter)) * 3840 / 1828));
  --image-height: calc(var(--image-width) * 1828 / 3840);
  --image-left: calc((var(--gallery-width) - var(--image-width)) * var(--focus-x));
  --focus-x: .53;
  inset: calc((100% - var(--image-height)) / 2) auto auto var(--image-left);
  top: round(nearest, calc((100% - var(--image-height)) / 2), 1px);
  left: round(nearest, var(--image-left), 1px);
  width: var(--image-width);
  height: var(--image-height);
}
.studio-frame .studio-photo img { display: block; }
.studio-frame .studio-photo[data-scene="front"] { --focus-x: .61; }
.studio-dock {
  position: absolute;
  z-index: 2;
  inset: auto 50% max(10px, env(safe-area-inset-bottom)) auto;
  transform: translateX(50%);
  width: min(calc(100% - 22px), 760px);
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #2c201c;
}
.studio-tools {
  order: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--studio-tool-gap);
  padding: var(--studio-tool-gap);
  border: 1px solid #9f77638c;
  border-radius: clamp(19px, 3vw, 30px);
  background: linear-gradient(170deg, #332722, #1b1513 75%);
  color: #fff5e7;
  box-shadow: inset 0 1px #dbab8b45, 0 6px 22px #16090a80;
}
.studio-tools button {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-items: start;
  gap: clamp(4px, .8dvh, 10px);
  min-height: var(--studio-tool-height);
  min-width: 0;
  padding: 5px clamp(7px, 1.55vw, 23px);
  isolation: isolate;
  border: 1px solid #8b6b5b;
  border-radius: clamp(13px, 2.1vw, 21px);
  background: linear-gradient(155deg, #645048, #44312c 49%, #2d211d 100%);
  box-shadow: inset 0 1px 1px #fff2db54, inset 0 -4px #27191780, 0 3px 0 #110e0c, 0 5px 8px #150f0d7a;
  font-size: clamp(.96rem, 2.55vw, 1.76rem);
  font-weight: 750;
  line-height: 1.1;
  text-shadow: 0 2px 4px #1b100b;
  transition: transform .16s ease, box-shadow .16s ease, background-color .2s ease;
}
.studio-tools button > .studio-tool-visual { grid-area: 1 / 2; }
.studio-tools button > span:last-child { grid-area: 1 / 1; }
.studio-tools button::after {
  content: "";
  position: absolute;
  inset: auto 22% 3px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #ffc89d, transparent);
  box-shadow: 0 1px 7px #f7aa726e;
  opacity: 0;
  transition: opacity .2s ease;
}
.studio-tools button[aria-expanded="true"] {
  border-color: #fccaad;
  background: radial-gradient(ellipse at 50% 0, #86574f, transparent 82%), linear-gradient(156deg, #6d4240, #42302b 73%);
  box-shadow: inset 0 1px 1px #fff3e870, inset 0 -4px #2d1c175c, 0 3px 0 #1a100e, 0 0 16px #e6a08266;
}
.studio-tools button:is([aria-expanded="true"], :focus-visible)::after { opacity: 1; }
.studio-tools button:focus-visible { outline-color: #ffe7cd; outline-offset: 2px; }
@media (hover: hover) {
  .studio-tools button:hover { transform: translateY(-2px); }
}
.studio-tools button:active {
  transform: translateY(2px);
  box-shadow: inset 0 2px 5px #20130e8c, inset 0 -1px #27191780, 0 1px 0 #110e0c;
}
.studio-tool-visual { display: block; position: relative; height: var(--studio-ornament-height); }
.studio-tool-swatches { width: clamp(62px, 9vw, 126px); }
.studio-tool-swatches > span {
  position: absolute;
  left: 6%;
  top: 10%;
  width: 48%;
  height: 78%;
  overflow: hidden;
  border: 1px solid #f8e6cdcf;
  border-radius: 4px;
  background: linear-gradient(135deg, #d8cbb8, #a59b8d);
  box-shadow: 2px 2px 0 #291d19, 2px 4px 7px #150e0dab;
  transform: rotate(-19deg);
}
.studio-tool-swatches > span:nth-child(2) { left: 25%; top: 8%; transform: rotate(0); }
.studio-tool-swatches > span:nth-child(3) { left: 46%; top: 11%; transform: rotate(18deg); }
.studio-tool-swatches img { display: block; width: 100%; height: 100%; object-fit: cover; }
.studio-tool-light {
  width: var(--studio-ornament-height);
  border: 1px solid #b5927c;
  border-radius: 50%;
  background: repeating-conic-gradient(from 5deg, #a0897d 0 2deg, #322824 3deg 15deg);
  box-shadow: inset 0 0 0 3px #322420, 0 3px 7px #1b1511bd;
  transition: border-color .22s ease, box-shadow .22s ease;
}
.studio-tool-light > span {
  position: absolute;
  inset: 17%;
  border: 1px solid #9f8171;
  border-radius: inherit;
  background: radial-gradient(circle at 35% 20%, #ad9080, #5a4640 55%, #332723 83%);
  box-shadow: inset 0 1px #ffd5bb75, 0 2px 4px #190f0dd9;
  transform: rotate(var(--tool-light-angle, -125deg));
  transition: transform .22s ease;
}
.studio-tool-light > span::after {
  content: "";
  position: absolute;
  top: 12%;
  left: 46%;
  width: 9%;
  height: 26%;
  border-radius: 999px;
  background: #eac9af;
}
.studio-tool-light.is-lit {
  border-color: var(--tool-light-color);
  box-shadow: inset 0 0 0 3px #322420, 0 0 calc(5px + 14px * var(--tool-light-power)) var(--tool-light-color), 0 3px 7px #1b1511bd;
}
.studio-tool-light.is-lit > span::after { background: var(--tool-light-color); }
.studio-settings {
  display: grid;
  gap: 8px;
  padding: clamp(8px, 1.5vw, 16px);
  border: 1px solid #f7e2cb;
  border-radius: clamp(14px, 2.2vw, 25px);
  background: #faf1e5f7;
  box-shadow: 0 6px 26px #22130c7d;
  animation: studio-settings-in .18s ease-out both;
}
@keyframes studio-settings-in { from { opacity: 0; transform: translateY(5px); } }
.studio-material-switch {
  display: grid;
  grid-template-columns: .9fr 1.4fr .7fr;
  gap: 4px;
  padding: 4px;
  border: 1px solid #ceb39c;
  border-radius: 13px;
  background: #e4d1be;
}
.studio-material-switch button {
  min-height: 44px;
  padding: 4px 5px;
  border: 1px solid #c7a995;
  border-radius: 10px;
  background: #fff9f1;
  font-size: clamp(.82rem, 1.7vw, 1.16rem);
  font-weight: 650;
  text-wrap: balance;
}
.studio-settings button[aria-pressed="true"] { border-color: #7f3845; box-shadow: inset 0 0 0 1px #7f3845; }
.studio-material-switch button[aria-pressed="true"] { background: #762d3a; color: #fff7e9; }
.studio-material-set { display: grid; gap: 8px; }
.studio-material-set .material-options { grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: stretch; gap: 5px; }
.studio-material-set .material-choice {
  min-width: 0;
  min-height: 58px;
  padding: 4px;
  align-content: start;
  overflow-wrap: anywhere;
  box-shadow: none;
}
.studio-material-set .material-choice[aria-pressed="true"] { background: #f2d7c6; box-shadow: inset 0 0 0 1px #7f3845; }
.studio-material-set .material-choice strong { font-size: clamp(.74rem, 1.4vw, .94rem); }
.studio-material-set .material-choice small { font-size: .73rem; }
.studio-material-set .material-chip { height: clamp(26px, 4.2dvh, 48px); }
.studio-door-sample {
  display: grid;
  place-items: center;
  width: 100%;
  height: clamp(43px, 6.3dvh, 108px);
  padding: 5px 5px 7px;
  overflow: hidden;
  border-radius: 5px;
  background: radial-gradient(ellipse at 40% 6%, #fffdf6, #eddfcf 94%);
}
.studio-door-panel {
  position: relative;
  display: block;
  height: 100%;
  max-width: 90%;
  aspect-ratio: .7;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #7661554d;
  border-radius: 2px;
  background: var(--door-colour, #ddd1bd);
  box-shadow: 2px 1px 0 #5b4b3f9c, 4px 5px 8px #6749344a;
}
.studio-door-panel img { display: block; width: 100%; height: 100%; object-fit: cover; }
.studio-door-panel::after {
  content: "";
  position: absolute;
  inset: 9% 12%;
  border: 1px solid #32251f38;
  border-top-color: #fff8;
  border-left-color: #fff5;
  box-shadow: 1px 1px 0 #fff4, inset 1px 1px 1px #4f382823;
  pointer-events: none;
}
.studio-material-set .studio-sample { display: none; border-radius: 10px; }
.studio-material-set .studio-sample-visual { height: 100%; }
.studio-material-set .studio-sample figcaption { padding: 15px 7px 6px; }
.studio-material-set .studio-sample strong { font-size: 1.06rem; }
.studio-collection-link {
  justify-self: end;
  display: grid;
  place-items: center;
  min-height: 44px;
  padding-inline: 7px;
  font-weight: 650;
  font-size: .85rem;
  color: #74303b;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.studio-status[data-error] {
  position: absolute;
  z-index: 2;
  top: 92px;
  left: 12px;
  max-width: calc(100% - 24px);
  padding: 7px 12px;
  border-radius: 7px;
  background: #4b231e;
  color: #fff8ee;
}
.studio-status:not([data-error]) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

#studio-panel-tiroir {
  grid-row: 2;
  min-height: 0;
  padding: 0 var(--studio-gutter) var(--studio-gutter);
  overflow: auto;
}
.nbox-designer {
  display: grid;
  grid-template-columns: minmax(0, 1.68fr) minmax(255px, 1fr);
  gap: clamp(12px, 2.1vw, 36px);
  width: min(100%, 1760px);
  height: 100%;
  margin-inline: auto;
  align-items: center;
}
.nbox-visual, .nbox-controls {
  min-width: 0;
  border: 1px solid #e8bb9970;
  border-radius: clamp(16px, 2.2vw, 34px);
  background: #241b1a;
  color: #fff5e8;
  box-shadow: 0 12px 33px #160e0e6b;
}
.nbox-visual {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-self: center;
  min-height: 0;
  margin: 0;
  overflow: hidden;
}
.nbox-stage {
  position: relative;
  isolation: isolate;
  container-type: size;
  min-height: 0;
  aspect-ratio: 25 / 14;
  overflow: hidden;
  background: #2b2523;
}
.nbox-renderer {
  --photo-width: max(100cqw, calc(100cqh * 25 / 14));
  position: absolute;
  top: 50%;
  left: calc((100cqw - var(--photo-width)) * .45);
  width: var(--photo-width);
  aspect-ratio: 25 / 14;
  translate: 0 -50%;
  transform-origin: 44% 91%;
  transition: transform .38s cubic-bezier(.24,.72,.25,1);
}
.nbox-stage.is-detail .nbox-renderer { transform: scale(var(--nbox-detail-scale, 1.42)); }
.nbox-renderer :is(img, canvas), .nbox-side, .nbox-sheen {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.nbox-sheen {
  clip-path: var(--nbox-side);
  opacity: 0;
  background: linear-gradient(109deg, transparent 43%, #fff0d687 49%, #ffefd523 53%, transparent 58%) 100% 50% / 250% 100%;
  mix-blend-mode: screen;
  pointer-events: none;
}
.nbox-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(4px, 1.2vw, 18px) 12px;
  padding: clamp(9px, 1.7vw, 27px) clamp(11px, 2.2vw, 33px);
  border-top: 1px solid #e8bb993d;
  background: linear-gradient(130deg, #3b2925, #251b1b);
}
.nbox-view-name { display: grid; gap: .26em; }
.nbox-view-name > span {
  color: #f4c9ad;
  font-size: clamp(.78rem, 1.35vw, 1.3rem);
  font-weight: 650;
}
.nbox-view-name strong {
  font: 400 clamp(1.48rem, 3.25vw, 3.65rem)/1 "Instrument Serif", Georgia, serif;
}
:is(.nbox-detail, .nbox-choices button) {
  min-height: 44px;
  padding: 6px clamp(8px, 1.2vw, 22px);
  border: 1px solid #e3b79870;
  border-radius: 9px;
  background: #201819;
  color: #fff5e8;
  font-size: clamp(.8rem, 1.25vw, 1.22rem);
  font-weight: 700;
}
:is(.nbox-detail, .nbox-choices button)[aria-pressed="true"] {
  border-color: #fff0d6;
  background: linear-gradient(140deg, #fff4e4, #e6bc9e);
  color: #33201e;
}
.nbox-controls {
  display: grid;
  gap: clamp(8px, 1.5vw, 23px);
  padding: clamp(9px, 1.8vw, 26px);
}
.nbox-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(6px, .9vw, 14px); }
.nbox-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(6px, .9vw, 14px); }
.nbox-options[data-nbox-panel="covers"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nbox-option {
  display: grid;
  grid-template-columns: clamp(43px, 5.8vw, 98px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(6px, .9vw, 14px);
  min-height: clamp(59px, 7dvh, 115px);
  min-width: 0;
  padding: clamp(4px, .65vw, 10px);
  border: 1px solid #c5a5906c;
  border-radius: clamp(9px, 1.25vw, 20px);
  background: #382a26;
  color: #fff5e8;
  text-align: left;
}
.nbox-swatch {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 5px;
  box-shadow: inset 0 0 0 1px #fff5e35e, inset 0 -3px 5px #21121066;
}
.nbox-options .nbox-option {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-content: start;
  padding: clamp(6px, .8vw, 16px) 5px;
  text-align: center;
}
.nbox-options .nbox-swatch { width: clamp(32px, 5.8vw, 96px); aspect-ratio: 1.52; }
.nbox-options .nbox-profile-swatch {
  width: min(94%, clamp(58px, 12vw, 128px));
  height: clamp(12px, 2vw, 21px);
  border-radius: 3px;
  background-image: url("./media/nbox/profile-swatches.jpg");
  background-repeat: no-repeat;
  background-size: 100% 600%;
}
.nbox-option > span:last-child { display: grid; gap: 4px; }
.nbox-option strong { font-size: clamp(.88rem, 1.6vw, 1.75rem); line-height: 1.1; overflow-wrap: anywhere; }
.nbox-option small { font-size: clamp(.75rem, 1.17vw, 1.15rem); opacity: .82; }
.nbox-option:is(:hover, [aria-pressed="true"]) { border-color: #ffe5c8; }
.nbox-option[aria-pressed="true"] {
  background: #fbebd7;
  color: #33211e;
  box-shadow: 0 0 14px #ffdbb156;
}
.nbox-designer :is(button, a):focus-visible { outline: 2px solid #fff2dc; outline-offset: 2px; }
.nbox-status { color: #ffd5bd; font-size: .9rem; }
.nbox-source {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #f6dbc5;
  font-size: clamp(.82rem, 1.22vw, 1.15rem);
  text-decoration: underline;
  text-underline-offset: .22em;
}
@media (orientation: portrait) {
  .nbox-designer {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    width: min(100%, 1750px, calc(100dvh * 1.15));
    height: auto;
    min-height: 100%;
    align-content: start;
    padding-block-start: clamp(4px, calc(16dvh - 20vw - 14px), 112px);
  }
  .nbox-stage { aspect-ratio: 5 / 3; }
  .nbox-choices button { min-height: clamp(45px, 4.2dvh, 86px); }
  .nbox-option { min-height: clamp(55px, 6dvh, 114px); }
}
@media (max-width: 420px) {
  .nbox-options[data-nbox-panel="covers"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nbox-caption { flex-wrap: nowrap; }
  .nbox-detail { flex: none; }
  .nbox-view-name strong { font-size: clamp(1rem, 5.6vw, 1.35rem); }
}
@media (orientation: portrait) and (max-height: 660px) {
  .nbox-designer { padding-block-start: 4px; }
  .nbox-options .nbox-option { gap: 4px; }
  .nbox-option small { line-height: 1.15; }
}
@media (orientation: portrait) and (min-width: 650px) {
  .nbox-options .nbox-swatch { width: clamp(68px, 9vw, 144px); }
  .nbox-options .nbox-profile-swatch {
    width: min(92%, clamp(112px, 17vw, 208px));
    height: clamp(18px, 2.4vw, 32px);
  }
  .nbox-option strong { font-size: clamp(1rem, 2.2vw, 2.15rem); }
  .nbox-option small { font-size: clamp(.85rem, 1.4vw, 1.3rem); }
  :is(.nbox-detail, .nbox-choices button) { font-size: clamp(1rem, 1.8vw, 1.6rem); }
}
@supports not (width: 1cqw) {
  .nbox-stage { aspect-ratio: 25 / 14; }
  .nbox-renderer { inset: 0; width: 100%; height: 100%; translate: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nbox-renderer { transition: none; }
}

@media (orientation: portrait) and (min-width: 650px), (orientation: landscape) and (min-width: 1400px) and (min-height: 630px) {
  .studio-dock { width: min(calc(100% - 36px), 980px); }
  .studio-material-set:has(.studio-sample) { grid-template-columns: minmax(0, 1fr) minmax(118px, 26%); }
  .studio-material-set .studio-sample { display: block; }
}
@media (orientation: portrait) {
  .kitchen-workspace {
    --studio-dock-top: 44.5cqh;
    --studio-secondary-top: calc(var(--studio-dock-top) + var(--studio-tool-height) + 2 * var(--studio-tool-gap) + var(--gallery-gap) + 2px);
  }
  .studio-gallery-wide { height: calc(var(--studio-dock-top) - var(--gallery-gap)); }
  .studio-gallery-front {
    display: block;
    top: var(--studio-secondary-top);
  }
  .studio-frame .studio-photo {
    --image-width: max(var(--gallery-width), calc((var(--studio-dock-top) - var(--gallery-gap)) * 3840 / 1828));
    --focus-x: .55;
  }
  .studio-frame .studio-gallery-front .studio-photo {
    --image-width: max(var(--gallery-width), calc((100cqh - var(--studio-secondary-top) - var(--gallery-gutter)) * 3840 / 1828));
    --focus-x: .57;
  }
  .studio-dock { top: var(--studio-dock-top); bottom: auto; width: calc(100% - 2 * var(--gallery-gutter)); }
  .studio-tools { order: 0; }
}
@media (orientation: portrait) and (max-height: 660px) {
  .kitchen-workspace {
    --studio-dock-top: 42cqh;
    --studio-tool-height: 56px;
    --studio-ornament-height: 26px;
  }
  .studio-tools button { gap: 3px; }
  .studio-dock:has([aria-expanded="true"]) { top: min(var(--studio-dock-top), max(0px, calc(100cqh - 290px))); }
}
@media (orientation: landscape) and (min-width: 740px) {
  .studio-dock { inset: auto clamp(12px, 2.7vw, 44px) max(12px, env(safe-area-inset-bottom)) auto; transform: none; }
}
@media (orientation: landscape) and (max-height: 570px) {
  #app.show-studio > header { min-height: 62px; }
  .studio-heading { padding-block: 8px; }
  .studio-page #feature-title { font-size: clamp(1.6rem, 7dvh, 3rem); }
  .kitchen-workspace { --studio-tool-height: 54px; --studio-ornament-height: 30px; }
  .studio-tools button { grid-auto-flow: column; align-items: center; gap: 5px; font-size: .92rem; }
  .studio-tool-swatches { width: 48px; }
  .studio-dock { width: min(calc(100% - 24px), 490px); }
  .studio-dock:has([data-tool][aria-expanded="true"]) { z-index: 4; }
  #studio-settings-materials { padding: 5px; gap: 4px; }
  .studio-material-switch { padding: 2px; }
  .studio-door-sample { height: 34px; padding: 3px 4px 4px; }
  .studio-material-set .material-choice small { display: none; }
  .studio-collection-link { min-height: 25px; }
}
@media (max-width: 650px) {
  #app.show-studio > header { padding-right: calc(64px + env(safe-area-inset-right)); }
  body:has(#app.show-studio) #guide-toggle {
    width: 49px;
    min-height: 49px;
    justify-content: center;
    padding: 3px;
    right: max(8px, env(safe-area-inset-right));
    top: max(7px, env(safe-area-inset-top));
  }
  body:has(#app.show-studio) #guide-toggle .guide-avatar { width: 40px; }
  body:has(#app.show-studio) #guide-toggle > span { display: none; }
}
@media (max-width: 480px) {
  .studio-material-set .material-choice small { display: none; }
  .studio-settings .studio-light-controls label { font-size: .74rem; }
}
@media (max-width: 395px) {
  #app.show-studio > header { padding-left: 10px; }
  #app.show-studio > header .brand { display: none; }
}
@media (max-width: 360px) and (min-height: 661px) {
  .studio-material-set .material-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .studio-settings { animation: none; }
  .studio-tools button, .studio-tools button::after, .studio-tool-light, .studio-tool-light > span { transition: none; }
}

#app.show-home {
  --glass-ink: #fcfcfd;
  --glass-edge: #f4f5f783;
  max-width: none;
  grid-template-rows: minmax(100dvh, auto);
}
#app.show-home::after { display: none; }
#app.show-home > header {
  position: absolute;
  inset: 0 0 auto;
  justify-content: flex-end;
  min-height: 0;
  padding: max(10px, 2.25dvh, env(safe-area-inset-top)) max(12px, 3vw, env(safe-area-inset-right));
  border: 0;
}
#app.show-home > header .brand { display: none; }
#app.show-home > header .toolbar {
  gap: 2px;
  padding: 2px;
  border: 1px solid #f4f5f750;
  border-radius: 999px;
  background: #161719a3;
}
#app.show-home > header .quiet {
  width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: transparent;
  color: var(--glass-ink);
}
#app.show-home > header .quiet:is(:hover, :focus-visible, :active) { background: #ffffff29; }
#app.show-home #fullscreen .fullscreen-label { display: none; }
#app.show-home #fullscreen .fullscreen-symbol { display: inline; font-size: 1.4rem; }

body:has(#app.show-home) .backdrop::after { background: linear-gradient(180deg, #10111350, #10111337 42%, #10111340 65%, #10111365); }
#app.show-home #landing {
  --room-size: min(18.8vw, 27dvh, 460px);
  --room-gap: clamp(14px, 3vw, 70px);
  --menu-width: calc(4 * var(--room-size) + 3 * var(--room-gap));
  --service-visual: clamp(48px, min(15vw, 10.6dvh), 158px);
  display: grid;
  justify-items: center;
  align-content: center;
  gap: clamp(23px, 3.6dvh, 76px);
  width: min(92vw, 2500px);
  min-height: 100dvh;
  margin-inline: auto;
  padding: max(68px, 9dvh, env(safe-area-inset-top)) 0 max(92px, 10dvh, env(safe-area-inset-bottom));
}
.landing-identity {
  width: min(100%, clamp(290px, 52vw, 1040px));
}
.landing-signature {
  max-width: 100%;
  color: var(--glass-ink);
  font-size: clamp(2.65rem, min(12.8vw, 11.2dvh), 10rem);
  line-height: .91;
  text-align: center;
  text-shadow: 0 3px 18px #08090bc7, 0 1px 4px #08090bd9;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.landing-signature .brand-mark {
  width: min(100%, clamp(235px, 42vw, 680px)); max-height: clamp(50px, 12dvh, 190px);
  box-shadow: 0 7px 24px #100b0a86;
}
html:not(.play-opening) .show-home .landing-identity { animation: arrive .7s ease-out both; }
.landing-personalize {
  position: relative;
  display: grid;
  justify-items: center;
  gap: clamp(8px, 1.4dvh, 25px);
  padding: clamp(11px, 1.6dvh, 27px) clamp(18px, 3.1vw, 56px) clamp(8px, 1.2dvh, 19px);
  border: 1px solid var(--glass-edge);
  border-radius: clamp(33px, 6vw, 105px);
  background: linear-gradient(145deg, #ffffff1a, transparent 52%), linear-gradient(180deg, #17181b5e, #17181b78 52%, #111214ad);
  color: var(--glass-ink);
  font-size: clamp(.88rem, 1.8vw, 1.46rem);
  box-shadow: inset 0 1px #ffffff59, inset 0 0 0 4px #ffffff10, 0 8px 26px #08090b55;
}
.landing-personalize:is(:hover, :focus-within, :active) { border-color: #fff; box-shadow: inset 0 0 0 4px #ffffff24, 0 0 21px #eef0f34a; }
.landing-personalize-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1vw, 16px);
  width: 100%;
  min-height: 44px;
  padding-block-start: clamp(7px, 1dvh, 16px);
  border-top: 1px solid #f4f5f76b;
  color: var(--glass-ink);
  line-height: 1.22;
  text-align: center;
  text-shadow: 0 1px 4px #08090bd9;
}
.landing-personalize-action svg { flex: none; width: clamp(16px, 1.75vw, 27px); color: #e6e8eb; }
.landing-personalize-action::after { content: ""; position: absolute; inset: 0; }
.landing-name-preview {
  display: inline-flex;
  align-items: center;
  padding: .25em .52em;
  border: 1px solid #ffffffb5;
  border-radius: 7px;
  background: #eef0f2e8;
  color: #191b1e;
  font: 400 clamp(1.05rem, 2.1vw, 1.8rem)/1.14 "Instrument Serif", Georgia, serif;
  white-space: nowrap;
  text-shadow: none;
}
.landing-name-preview > span { position: relative; }
.landing-signature.has-brand-mark + .landing-personalize-action .landing-name-preview { display: none; }
@media (prefers-reduced-motion: no-preference) {
  html:not(.play-opening) .show-home .landing-name-preview > span {
    animation: landing-name-type 4.8s steps(12, end) .6s 2;
  }
  html:not(.play-opening) .show-home .landing-name-preview > span::after {
    content: "";
    position: absolute;
    top: 8%;
    bottom: 8%;
    left: 100%;
    width: 1px;
    margin-left: 2px;
    background: #575b61;
    opacity: 0;
    animation: landing-name-cursor 4.8s steps(12, end) .6s 2;
  }
}
@keyframes landing-name-type {
  0%, 8% { clip-path: inset(0 100% 0 0); }
  47%, 100% { clip-path: inset(0 -5px 0 0); }
}
@keyframes landing-name-cursor {
  0%, 8% { left: 0; opacity: 1; }
  47%, 74% { left: 100%; opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
#landing .landing-ranges {
  width: min(100%, var(--menu-width));
  grid-template-columns: repeat(4, var(--room-size));
  justify-content: center;
  gap: var(--room-gap);
  padding: 0;
  animation: none;
}
.launch-card {
  position: relative;
  isolation: isolate;
  display: block;
  aspect-ratio: 1;
  container-type: inline-size;
  overflow: hidden;
  border: 1px solid #f7f8f9b0;
  border-radius: 50%;
  outline: 1px solid #f4f5f774;
  outline-offset: clamp(3px, .6vmin, 10px);
  background: #353638;
  color: var(--glass-ink);
  box-shadow: 0 10px 26px #08090b66;
  transition: outline-color .2s, box-shadow .2s, transform .2s;
}
.launch-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--photo-focus, center);
}
.launch-card:nth-child(1) { --photo-focus: 55% 59%; }
.launch-card:nth-child(2) { --photo-focus: 47% 48%; --ring-delay: -2s; }
.launch-card:nth-child(3) { --photo-focus: 57% 45%; --ring-delay: -4s; }
.launch-card:nth-child(4) { --photo-focus: 53% 53%; --ring-delay: -6s; }
.launch-card::before, .launch-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
.launch-card::before { background: linear-gradient(180deg, transparent 33%, #11121425 46%, #1112149b 68%, #111214c9); }
.launch-card::after {
  box-shadow: inset 0 0 0 1px #ffffff77, inset 0 0 11px #f2f3f63d;
  animation: landing-ring-light 8s var(--ring-delay, 0s) ease-in-out infinite;
}
@keyframes landing-ring-light {
  0%, 100% { opacity: .45; }
  50% { opacity: 1; }
}
.launch-card strong {
  position: absolute;
  inset: auto 7% 20%;
  color: inherit;
  font: 400 clamp(.92rem, 3vw, 4.4rem)/.98 "Instrument Serif", Georgia, serif;
  font-size: clamp(.92rem, 14cqw, 4.4rem);
  text-align: center;
  text-wrap: balance;
  text-shadow: 0 2px 6px #08090b;
}
.launch-card:is(:hover, :focus-visible) {
  outline-color: #fff;
  box-shadow: 0 0 0 2px #ffffff42, 0 0 20px #eef0f34d, 0 10px 26px #08090b66;
}
.launch-card:active { transform: scale(.98); }
#landing .landing-utilities {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, var(--menu-width));
  gap: clamp(7px, 1.65vw, 24px);
  padding: 0;
  animation: none;
}
.landing-utilities a {
  display: grid;
  grid-template-rows: var(--service-visual) minmax(1.85em, auto);
  align-items: center;
  justify-items: center;
  align-content: center;
  gap: clamp(5px, .85dvh, 14px);
  min-width: 0;
  min-height: clamp(92px, 15.3dvh, 235px);
  padding: clamp(8px, 1.15dvh, 20px) 5px;
  border: 1px solid var(--glass-edge);
  border-radius: clamp(12px, 2.1vmin, 33px);
  background: linear-gradient(145deg, #ffffff14, transparent 46%), linear-gradient(180deg, #15161930, #1516194d 30%, #1112158f 53%, #101114ad);
  color: var(--glass-ink);
  box-shadow: inset 0 1px #ffffff52, 0 8px 19px #08090b50;
  font: 400 clamp(1rem, 2.95vw, 3.15rem)/1.04 "Instrument Serif", Georgia, serif;
  text-align: center;
  text-shadow: 0 1px 5px #08090bdf;
  transition: background-color .16s, border-color .16s, box-shadow .16s;
}
.landing-utilities a > span:last-child { align-self: start; text-wrap: balance; }
.landing-catalogue-qr {
  display: grid;
  place-items: center;
  width: var(--service-visual);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 2px 12px #08090b65;
}
.landing-catalogue-qr img { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.landing-catalogue small {
  display: block;
  margin-top: 3px;
  color: var(--glass-ink);
  font: 600 clamp(.69rem, 1.45vw, 1.17rem)/1.18 "DM Sans", system-ui, sans-serif;
}
.landing-utilities a:is(:hover, :focus-visible, :active) {
  border-color: #fff;
  box-shadow: inset 0 1px #ffffff7a, 0 0 18px #eef0f34d, 0 8px 19px #08090b50;
}
.landing-utilities a:focus-visible { outline-color: #fff; outline-offset: 3px; }
.landing-utilities .landing-photo-tile {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: end;
  justify-content: center;
  overflow: hidden;
  padding: 12px 5px clamp(12px, 2dvh, 36px);
}
.landing-photo-tile > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
}
.landing-photo-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 36%, #10111317 52%, #101113ac 76%, #101113f2);
}
.landing-utilities .landing-photo-tile > span:last-child {
  align-self: end;
  text-shadow: 0 1px 4px #070809, 0 3px 10px #070809;
}
@media (orientation: portrait) { .landing-config-tile > img { object-position: 50% 67%; } }
@media (orientation: portrait) {
  #app.show-home #landing {
    --room-size: min(39vw, 17.6dvh, 630px);
    --room-gap: clamp(17px, 4.8vw, 95px);
    --menu-width: calc(2 * var(--room-size) + var(--room-gap));
  }
  #landing .landing-ranges { grid-template-columns: repeat(2, var(--room-size)); }
  #showroom-slides [data-scene="cadra"] img { object-position: 58% center; }
  #showroom-slides [data-scene="senso-salon"] img { object-position: min(0px, calc(50vw - 48dvh)) center; }
}
@media (orientation: portrait) and (max-width: 590px) {
  #app.show-home #landing { --menu-width: max(90vw, calc(2 * var(--room-size) + var(--room-gap))); }
  #landing .landing-ranges { justify-content: space-evenly; }
  .landing-utilities a { font-size: clamp(1.03rem, 4.6vw, 1.8rem); }
  .landing-identity { width: min(100%, var(--menu-width)); }
  .landing-personalize-action { gap: 5px 8px; }
}
@media (orientation: portrait) and (max-height: 690px) {
  #app.show-home #landing {
    --room-size: min(39vw, 15.6dvh);
    gap: clamp(16px, 3.2dvh, 23px);
    padding-block-end: max(70px, env(safe-area-inset-bottom));
  }
}
@media (orientation: landscape) and (max-height: 520px) {
  #app.show-home #landing {
    --room-size: min(13.6vw, 29dvh);
    --room-gap: clamp(8px, 1.45vw, 19px);
    --service-visual: clamp(40px, 10.4dvh, 61px);
    grid-template-columns: minmax(0, .28fr) minmax(0, .72fr);
    align-items: center;
    gap: 15px clamp(10px, 2vw, 20px);
    padding-block: 65px 17px;
  }
  .landing-identity { grid-row: span 2; }
  .landing-signature { font-size: clamp(2rem, 7vw, 4.7rem); }
  .landing-utilities a { min-height: clamp(72px, 19dvh, 92px); font-size: clamp(1rem, 2.95vw, 1.9rem); }
}
body:has(#app.show-home) #guide-toggle {
  border-color: #f4f5f78a;
  background: #161719b5;
  color: #fcfcfd;
  box-shadow: 0 5px 19px #08090b66;
}
@media (max-width: 520px), (orientation: landscape) and (max-height: 520px) {
  body:has(#app.show-home) #guide-toggle {
    min-height: 48px;
    padding: 4px 9px 4px 4px;
    font-size: .91rem;
  }
  body:has(#app.show-home) #guide-toggle .guide-avatar { width: 36px; }
}
@media (orientation: landscape) and (max-height: 520px) {
  body:has(#app.show-home) #guide-toggle {
    inset: max(10px, 2.25dvh, env(safe-area-inset-top)) auto auto max(10px, env(safe-area-inset-left));
  }
}

.show-feature .showroom-links {
  --showroom-link-gap: clamp(13px, 2.15vw, 35px);
  display: grid;
  align-content: center;
  gap: var(--showroom-link-gap);
  width: min(100%, 1600px);
  min-height: calc(100dvh - 60px);
  margin-inline: auto;
  padding: clamp(20px, 4.6vw, 76px);
  color: #282325;
}
.showroom-links h1, .showroom-links h2 { margin: 0; font-family: "Instrument Serif", Georgia, serif; font-weight: 400; }
.showroom-links h1 { font-size: clamp(2.5rem, 7.15vw, 6.7rem); line-height: .95; letter-spacing: -.033em; }
.showroom-links h2 { font-size: clamp(1.6rem, 4.4vw, 3.6rem); line-height: 1; }
.showroom-official, .showroom-partner {
  position: relative;
  isolation: isolate;
  display: grid;
  min-width: 0;
  padding: clamp(16px, 3.3vw, 52px);
  overflow: hidden;
  border: 1px solid #fff8;
  border-radius: clamp(15px, 2.9vw, 39px);
  transition: box-shadow .24s ease, border-color .24s ease;
}
.showroom-official:is(:hover, :focus-visible), .showroom-partner:is(:hover, :focus-visible) {
  border-color: #b16e79;
  box-shadow: 0 10px 29px #39232b25;
}
.showroom-official {
  align-items: end;
  min-height: clamp(200px, 35dvh, 630px);
  background: #302523;
  color: #fff8ed;
}
.showroom-official-scene, .showroom-official::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.showroom-official-scene { z-index: -2; object-fit: cover; object-position: 61% 53%; }
.showroom-official::before {
  content: "";
  z-index: -1;
  background: linear-gradient(0deg, #22191aec 0%, #28191b65 45%, transparent 81%);
}
.showroom-official-content { display: grid; gap: clamp(10px, 1.8vw, 27px); }
.showroom-official-logo {
  display: block;
  width: clamp(145px, 38vw, 470px);
  max-width: 84%;
  height: auto;
  filter: drop-shadow(0 3px 12px #221a1a9c);
}
.showroom-link-caption { display: grid; justify-items: start; gap: 3px; }
.showroom-link-caption strong { font: 500 clamp(.95rem, 1.9vw, 1.5rem)/1.15 "DM Sans", system-ui, sans-serif; }
.showroom-link-caption small { font: 500 clamp(.73rem, 1.45vw, 1.14rem)/1.15 "DM Sans", system-ui, sans-serif; overflow-wrap: anywhere; }
.showroom-official .showroom-link-caption small { color: #eee1da; }
.showroom-link-arrow {
  position: absolute;
  right: clamp(12px, 2.5vw, 34px);
  bottom: clamp(12px, 2.5vw, 34px);
  width: clamp(34px, 4.35vw, 63px);
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.showroom-link-arrow::before, .showroom-link-arrow::after { content: ""; position: absolute; }
.showroom-link-arrow::before { inset: 49% auto auto 29%; width: 42%; height: 1px; background: currentColor; transform: rotate(-45deg); }
.showroom-link-arrow::after { inset: 32% 32% auto auto; width: 23%; aspect-ratio: 1; border: solid currentColor; border-width: 1px 1px 0 0; }
.showroom-partners { display: grid; align-content: start; gap: clamp(8px, 1.25vw, 19px); }
.showroom-partner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--showroom-link-gap); }
.showroom-partner {
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(9px, 1vw, 15px);
  min-height: clamp(106px, 15dvh, 272px);
  border-color: #d8cfca;
  background: radial-gradient(ellipse at 25% 0, #fff, #faf8f4 76%, #efebe7);
  color: #422a30;
}
.showroom-partner img {
  display: block;
  width: min(84%, 310px);
  height: clamp(26px, 5.5dvh, 79px);
  object-fit: contain;
  object-position: left center;
}
.showroom-partner .showroom-link-caption { margin-inline-end: clamp(29px, 4vw, 56px); }
.showroom-partner .showroom-link-arrow { color: #75424c; }
.showroom-viewer {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #f8f4ed;
  color: #2b2020;
}
.showroom-viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.showroom-viewer > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: max(5px, env(safe-area-inset-top)) max(12px, 3vw) 5px;
  background: #302523;
  color: #fff5e6;
}
.showroom-viewer > header h2 { margin: 0; font: 400 clamp(1.2rem, 3.25vw, 2.3rem)/1.05 "Instrument Serif", Georgia, serif; }
#showroom-viewer-content { min-height: 0; overflow: auto; }
#showroom-viewer-content > iframe { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
#app > .totem-navigation { display: none; }
@media (orientation: portrait) and (min-height: 560px) {
  #app.show-section { display: flex; flex-direction: column; align-items: stretch; }
  #app.show-section > header .page-home, #app.show-studio .studio-picker-back { display: none; }
  #app.show-section > header .brand { justify-content: flex-start; }
  #app.show-section > .totem-navigation {
    position: static;
    flex: none;
    align-self: center;
    display: flex;
    flex-wrap: wrap;
    gap: clamp(7px, 1.15vw, 14px);
    width: min(92vw, 1450px);
    max-height: none;
    margin: clamp(10px, 1.4dvh, 26px) auto clamp(7px, 1dvh, 16px);
    padding: 0;
    overflow: visible;
  }
  .totem-navigation .route-back {
    min-height: clamp(48px, 5.5vw, 68px);
    padding: 7px clamp(14px, 2.1vw, 31px);
    border: 1px solid #a8a29b8c;
    border-radius: 999px;
    background: #f7f5f1f0;
    color: #272828;
    box-shadow: 0 2px 8px #15121b15;
    font-size: clamp(.98rem, 1.9vw, 1.48rem);
  }
  .totem-navigation .route-back:is(:hover, :focus-visible) { background: #fff; }
  .totem-navigation .route-back:active { transform: scale(.97); }
  .studio-dock .studio-settings { max-height: clamp(128px, 25dvh, 435px); overflow-y: auto; }
}
.showroom-viewer-native { width: min(100%, 1300px); margin: auto; padding: clamp(14px, 4vw, 72px); display: grid; gap: clamp(14px, 3vw, 36px); }
.showroom-viewer-hero { position: relative; isolation: isolate; display: grid; min-height: clamp(180px, 43dvh, 642px); align-items: end; overflow: hidden; border-radius: clamp(11px, 2.4vw, 35px); background: #332520; color: #fff5e7; }
.showroom-viewer-hero img, .showroom-viewer-hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.showroom-viewer-hero img { object-fit: cover; z-index: -2; }
.showroom-viewer-hero::after { content: ""; background: linear-gradient(0deg, #251b1ce7, transparent 70%); z-index: -1; }
.showroom-viewer-hero h3 { margin: 0; padding: clamp(18px, 4vw, 60px); font: 400 clamp(2rem, 7vw, 6.3rem)/1 "Instrument Serif", Georgia, serif; }
.showroom-viewer-native p { margin: 0; font-size: clamp(.96rem, 2vw, 1.32rem); }
.showroom-viewer-native .showroom-viewer-source { color: #6d5650; font-size: .93rem; }
.showroom-viewer-topics { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; }
.showroom-viewer-topics a {
  display: grid;
  place-items: center;
  flex: 1 1 120px;
  min-height: 50px;
  padding: 7px 14px;
  border: 1px solid #b98980;
  border-radius: 999px;
  background: #fff8f0;
  text-align: center;
}
.showroom-viewer-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 13px; }
.showroom-viewer-gallery figure { margin: 0; overflow: hidden; border-radius: 15px; background: #eadfce; }
.showroom-viewer-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.showroom-viewer-gallery figcaption { padding: 10px 14px; }
@media (max-width: 500px) {
  .show-feature .showroom-links { padding-inline: 16px; }
  .showroom-partner-grid { grid-template-columns: 1fr; }
}
@media (orientation: portrait) and (min-width: 650px) and (min-height: 1050px) {
  .show-feature .showroom-links { align-content: start; padding-block-start: clamp(86px, 9dvh, 170px); }
  .showroom-official { min-height: min(45dvh, 940px); }
}
@media (orientation: landscape) and (min-width: 740px) {
  .show-feature .showroom-links { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
  .showroom-links h1 { grid-column: 1 / -1; }
  .showroom-official { min-height: clamp(260px, 50dvh, 610px); }
  .showroom-partners { align-content: stretch; grid-template-rows: auto minmax(0, 1fr); }
  .showroom-partner-grid { grid-template: repeat(2, minmax(0, 1fr)) / minmax(0, 1fr); }
}
@media (orientation: landscape) and (min-width: 740px) and (max-height: 520px) {
  .show-feature .showroom-links { --showroom-link-gap: 12px; padding-block: 14px; }
  .showroom-links h1 { font-size: clamp(2.1rem, 7.2dvh, 3.5rem); }
  .showroom-official { min-height: max(170px, 56dvh); }
  .showroom-partner { min-height: 76px; padding: 11px 13px; }
}

.studio-tools { background: linear-gradient(170deg, #332823, #1a1513 75%); }
.studio-tools button[data-tool="materials"] {
  color: #3a201c;
  text-shadow: none;
  border-color: #eed8c5;
  background: linear-gradient(152deg, #fff3e2, #ddc4af 58%, #c09c86);
  box-shadow: inset 0 1px 1px #fff9, inset 0 -4px #986b546e, 0 3px 0 #6e4d3e, 0 7px 12px #140e0c97;
}
.studio-tools button[data-tool="materials"][aria-expanded="true"] {
  border-color: #fff9ec;
  background: radial-gradient(ellipse at 50% 6%, #fff9ed, #e9c4ac 75%);
  box-shadow: inset 0 -4px #976e5663, 0 3px 0 #6a493a, 0 0 16px #f6bb8e91;
}
.studio-tools button[data-tool="lights"] {
  color: #fffaf0;
  border-color: #77645c;
  background: linear-gradient(154deg, #3a3738, #222123 51%, #111113);
  box-shadow: inset 0 1px #ffffff27, inset 0 -4px #0707087a, 0 3px 0 #0d0908, 0 6px 12px #140e0c97;
}
.studio-tools button[data-tool="lights"][aria-expanded="true"] { border-color: #dbab8e; background: linear-gradient(154deg, #4e4949, #232224 60%, #151517); }
.studio-tool-swatches { width: clamp(49px, 9.4vw, 122px); }
.studio-tool-swatches > span { border-color: #735448b2; }
.studio-tool-swatches > span:nth-child(3) { transform: rotate(18deg); transition: transform .28s ease; }
.studio-tools button[aria-expanded="true"] .studio-tool-swatches > span:nth-child(3) { transform: translateX(6%) rotate(24deg); }
.studio-settings .studio-material-switch button {
  border-color: #b59783;
  box-shadow: inset 0 1px #fff, inset 0 -3px #b3886e49;
  background: linear-gradient(#fff9f1, #ead7c4);
}
.studio-settings .studio-material-switch button[aria-pressed="true"] {
  color: #fff7e9;
  border-color: #612837;
  box-shadow: inset 0 1px #f1a38d82, inset 0 -3px #4f2438;
  background: linear-gradient(#8b4b49, #682b38);
}
.studio-material-set .material-choice {
  border-color: #bca38e;
  background: linear-gradient(#fffefa, #f4e7d9);
  box-shadow: inset 0 1px #fff, inset 0 -3px #ded0bf;
}
.studio-material-set .material-choice[aria-pressed="true"] {
  border-color: #934652;
  background: #f2d7c6;
  box-shadow: inset 0 0 0 1px #934652, inset 0 -3px #c69880;
}
.studio-material-set .material-chip { border-radius: 5px 5px 2px 2px; }
.studio-material-set .material-choice:active { transform: translateY(1px); }
.studio-settings-remote {
  justify-self: end;
  align-self: center;
  width: min(100%, 510px);
  padding: 3px;
  border: 1px solid #8e7e78;
  border-radius: 22px;
  background: linear-gradient(145deg, #524d50, #202022 46%);
  box-shadow: 0 5px 0 #0b0a0b, 0 11px 23px #170b0bab;
}
.studio-settings-remote .studio-light-controls {
  padding: clamp(8px, 1.7vw, 17px);
  gap: 7px;
  border: 1px solid #994d3049;
  border-radius: 19px;
  color: #f9f3ec;
  background: radial-gradient(ellipse at 12% 0, #51434958, transparent 68%), linear-gradient(146deg, #323033, #131316 64%, #101012);
  box-shadow: inset 0 1px #ffffff23;
}
.studio-settings-remote .studio-remote-head { padding: 0 3px 4px; }
.studio-settings-remote .studio-remote-head > div > span { color: #d3beb0; font-size: .75rem; }
.studio-settings-remote .studio-led-toggle {
  min-height: 44px;
  border-color: #72707a;
  background: linear-gradient(#49464a, #202023);
  box-shadow: inset 0 1px #ffffff32, 0 2px 2px #0b0a0c;
}
.studio-settings-remote .studio-led-toggle[aria-pressed="true"] { color: #fffaf2; background: linear-gradient(#353139, #17171a); border-color: var(--remote-colour); }
.studio-settings-remote .studio-led-toggle[aria-pressed="true"] span:first-child { color: var(--remote-colour); text-shadow: 0 0 11px var(--remote-colour); }
.studio-settings-remote .studio-light-controls label { grid-template-columns: minmax(0, 1fr) auto; padding: 5px; border-color: #4c464b; background: #19191c; }
.studio-settings-remote .studio-light-controls output { color: #f0dfcc; }
@media (orientation: landscape) and (max-height: 570px) { .studio-tool-swatches { width: 48px; } }
@media (prefers-reduced-motion: reduce) { .studio-tool-swatches > span:nth-child(3) { transition: none; } }
