/*
 * Decorate My Home: /decorate-my-home, /decorate-my-home/{room}, /decorate-my-home/gallery-wall.
 *
 * Ported from the approved MagicPath v2 frames (project 476249214846910464: friendly-current-3875 landing,
 * swift-moon-7806 gallery wall ideas, kind-tower-1620 room studio). Every selector is scoped to .dmh so nothing
 * reaches the site header, footer or other pages.
 *
 * One renderer draws every wall (landing hero, room cards, gallery-wall cards and drawer, studio stage): the
 * room photo, the art at real size and the CSS relight. Inputs are custom properties set on .dmh-scene:
 *   --pmm  real width of the whole photo in mm      --cx  arrangement centre, % of photo width
 *   --by   bottom edge of the art, % of photo height --ar  photo width / height
 *   --aw/--ah arrangement width/height in mm         --zoom, --fcy  crop zoom and vertical focus
 * and on each .dmh-slot: --x, --y, --w, --h in mm (top-left of the arrangement). Changing any of them moves the
 * art with a CSS transition, which is the layout glide (no JS animation needed).
 */

@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/playfair-display/playfair-display-500.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/playfair-display/playfair-display-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/inter/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/inter/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/inter/inter-600.woff2") format("woff2"); }

/* ---- Tokens and resets ----------------------------------------------------- */

.dmh {
  --teak: #2b2118; --ink: #151411; --brass: #c5a059; --brass-deep: #9b7838; --brass-soft: #d9b977;
  --plaster: #ece5d8; --chalk: #faf7f1; --indigo: #23324a; --muted: #5a5246; --body: #3d362c; --quiet: #5c5346;
  --serif: 'Playfair Display', Georgia, serif; --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dmh-head: 0px; /* the desktop site header once it turns fixed */
  width: 100%; min-width: 0; font-family: var(--sans); color: var(--ink); background: var(--plaster);
  font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-align: left;
}
@media (min-width: 992px) { body:has(.header-main-section.pp-header-sticky) .dmh { --dmh-head: 64px; } }
.dmh *, .dmh *::before, .dmh *::after { box-sizing: border-box; }
/* :where keeps these at one class of specificity, so they beat the site's bare `button {}` / `h2 {}` rules
   in any load order and every .dmh-* rule below still overrides them. */
.dmh :where(button) { width: auto; height: auto; min-width: 0; padding: 0; margin: 0; border: 0; border-radius: 0; background: none;
  color: inherit; font: inherit; line-height: inherit; text-transform: none; letter-spacing: inherit; box-shadow: none; cursor: pointer; }
.dmh :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset, blockquote) { margin: 0; padding: 0; }
.dmh :where(h1, h2, h3, h4) { color: inherit; font-weight: inherit; text-transform: none; }
.dmh :where(ul, ol) { list-style: none; }
.dmh :where(fieldset) { border: 0; min-width: 0; }
.dmh :where(legend) { padding: 0; float: none; width: auto; font-size: inherit; margin: 0; }
.dmh :where(a) { color: inherit; text-decoration: none; }
.dmh :where(a:hover) { color: inherit; }
.dmh :where(img) { max-width: none; }
.dmh :where(select) { font: inherit; color: inherit; }
.dmh :focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.dmh [hidden] { display: none !important; }
.dmh .dmh-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.dmh-display { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; line-height: 1.02; }
.dmh-h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; line-height: 1.08; font-size: clamp(36px, 4.6vw, 64px); }
.dmh-display-sm { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance; }
.dmh-lede { margin: 16px 0 0; max-width: 34em; color: var(--muted); font-size: 17px; }
.dmh-wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .dmh-wrap { padding: 0 40px; } }
.dmh-sec { padding: 72px 0; }
@media (min-width: 1024px) { .dmh-sec { padding: 120px 0; } }
.dmh-plaster { background-color: var(--plaster);
  background-image: radial-gradient(60% 40% at 20% 10%, rgba(255,255,255,.35), transparent 70%), radial-gradient(50% 50% at 85% 80%, rgba(155,120,56,.06), transparent 70%); }
.dmh-chalk { background: var(--chalk); }
.dmh-dark { background: var(--teak); color: var(--chalk); }
.dmh-dark .dmh-lede { color: rgba(250,247,241,.8); }

.dmh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border: 0; border-radius: 10px; font: 600 16px/1 var(--sans); cursor: pointer; text-decoration: none; transition: background-color .2s, transform .2s; }
.dmh-btn-brass { background: var(--brass); color: var(--ink); }
.dmh-btn-brass:hover { background: #d1ae6b; color: var(--ink); }
.dmh-btn-brass:active { transform: translateY(1px); }
.dmh-btn-ink { background: var(--ink); color: var(--chalk); }
.dmh-btn-ink:hover { background: #2c2923; color: var(--chalk); }
.dmh-link { color: inherit; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; background: none; border: 0; padding: 0; cursor: pointer; }
.dmh-link:hover { color: inherit; text-decoration: underline; text-decoration-color: var(--brass); }

/* ---- Shared wall renderer: scene, pieces, realism kit, relight, dimensions ---- */

.dmh-scene { position: relative; overflow: hidden; container-type: size; background: #d9d2c4; --sx: 1; --zoom: 1; --fcy: .5;
  --fx: calc(var(--cx) / 100); --fy: calc(var(--by) / 100 - var(--ah) * var(--ar) / (2 * var(--pmm))); }
.dmh-scene.is-eve { --sx: -1; }
/* zoom so the arrangement fills about --fitw of the frame width and --fith of its height (--A = frame h / w) */
.dmh-scene.dmh-fit { --base: max(1, var(--A) * var(--ar));
  --zoom: clamp(1, min(var(--fitw) * var(--pmm) / (var(--aw) * var(--base)), var(--fith) * var(--A) * var(--pmm) / (var(--ah) * var(--base))), 3.6); }
.dmh-stage {
  --W: calc(max(100cqw, 100cqh * var(--ar)) * var(--zoom)); --H: calc(var(--W) / var(--ar));
  position: absolute; width: var(--W); height: var(--H);
  left: clamp(calc(100cqw - var(--W)), calc(50cqw - var(--W) * var(--fx)), 0px);
  top: clamp(calc(100cqh - var(--H)), calc(100cqh * var(--fcy) - var(--H) * var(--fy)), 0px);
  container-type: inline-size; isolation: isolate; --mmpx: calc(100cqw / var(--pmm));
  transition: left .6s var(--ease), top .6s var(--ease), width .6s var(--ease), height .6s var(--ease);
}
.dmh-roomlayer, .dmh-artlayer, .dmh-eve-dim, .dmh-eve-glow, .dmh-eve-vig { position: absolute; inset: 0; }
.dmh-roomlayer { transform: translate3d(calc(var(--px, 0) * -6px), calc(var(--py, 0) * -6px), 0) scale(1.012); transition: transform .3s ease-out; }
.dmh-roomimg { width: 100%; height: 100%; display: block; object-fit: cover; user-select: none; transition: filter .6s ease; }
.dmh-plainwall { background: linear-gradient(180deg, #ece5d8 0%, #e4dccd 70%, #cdbfa8 70.2%, #b9a98f 100%); }
.dmh-artlayer { transform: perspective(1400px) translate3d(calc(var(--px, 0) * -12px), calc(var(--py, 0) * -12px), 0) rotateY(calc(var(--px, 0) * 1.5deg)) rotateX(calc(var(--py, 0) * -1.5deg));
  transition: filter .6s ease, transform .3s ease-out; }
.is-eve .dmh-roomimg { filter: saturate(.84); }
.is-eve .dmh-artlayer { filter: sepia(.2) saturate(.88) brightness(.98); }
.dmh-eve-dim { background: #3a2a1c; mix-blend-mode: multiply; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.dmh-eve-glow { mix-blend-mode: screen; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.dmh-eve-vig { mix-blend-mode: multiply; opacity: 0; transition: opacity .6s ease; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 42%, rgba(255,255,255,0) 40%, rgba(40,26,14,.5) 100%); }
.is-eve .dmh-eve-dim { opacity: .45; }
.is-eve .dmh-eve-glow, .is-eve .dmh-eve-vig { opacity: 1; }

.dmh-slot { position: absolute;
  left: calc(var(--cx) * 1% + (var(--x) - var(--aw) / 2) / var(--pmm) * 100%);
  top: calc(var(--by) * 1% + (var(--y) - var(--ah)) * var(--ar) / var(--pmm) * 100%);
  width: calc(var(--w) / var(--pmm) * 100%); height: calc(var(--h) * var(--ar) / var(--pmm) * 100%);
  transition: left .45s var(--ease), top .45s var(--ease), width .45s var(--ease), height .45s var(--ease), opacity .3s ease; }
.dmh-slot.is-spare { opacity: 0; }
.dmh-pc { position: absolute; inset: 0; display: block; padding: 0; border: 0; background: none; border-radius: 2px; width: 100%; height: 100%;
  box-shadow: calc(var(--sx) * .1cqw) .14cqw .22cqw rgba(43,33,24,.42), calc(var(--sx) * .9cqw) 1.3cqw 1.8cqw -.25cqw rgba(43,33,24,.34);
  transition: box-shadow .6s ease, transform .35s ease; }
button.dmh-pc { cursor: pointer; }
button.dmh-pc:hover { transform: translateY(-1px); }
.dmh-pc.is-sel { outline: 2px solid var(--brass); outline-offset: 4px; transform: translateY(-2px);
  box-shadow: calc(var(--sx) * .15cqw) .2cqw .3cqw rgba(43,33,24,.4), calc(var(--sx) * 1.3cqw) 2cqw 2.6cqw -.2cqw rgba(43,33,24,.38); }
.dmh-pc-frame, .dmh-pc-mat, .dmh-pc-face { position: relative; display: block; width: 100%; height: 100%; }
.dmh-pc-frame { border-radius: 2px; }
.dmh-pc-face { overflow: hidden; border-radius: 2px; }
.dmh-pc-img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); display: block; user-select: none; transition: opacity .38s ease; }
.dmh-pc-empty { display: block; width: 100%; height: 100%; background: #efe9de; box-shadow: inset 0 0 0 1px rgba(43,33,24,.12), inset 0 0 0 calc(var(--mmpx) * 14) #f6f2ea; }
.dmh-pc-empty::after { content: ''; position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: linear-gradient(rgba(43,33,24,.28), rgba(43,33,24,.28)) center / 100% 1.5px no-repeat, linear-gradient(rgba(43,33,24,.28), rgba(43,33,24,.28)) center / 1.5px 100% no-repeat; }
.dmh-pc-sheen { position: absolute; inset: 0; pointer-events: none; }
.dmh-pc-side, .dmh-pc-clip { display: none; }
/* canvas: gallery wrap, darker right and bottom sides, faint weave */
.dmh-pc--canvas .dmh-pc-sheen { mix-blend-mode: multiply; opacity: .3;
  background: repeating-linear-gradient(0deg, rgba(60,45,30,.08) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(60,45,30,.06) 0 1px, transparent 1px 3px); }
/* the 38 mm bar seen almost front-on: about a third of its depth shows */
.dmh-pc--canvas { --wrap: calc(var(--mmpx) * 38 * .32);
  box-shadow: calc(var(--sx) * .08cqw) .1cqw .16cqw rgba(43,33,24,.32), calc(var(--sx) * .6cqw) .9cqw 1.4cqw -.25cqw rgba(43,33,24,.24); }
.dmh-pc--canvas .dmh-pc-side { display: block; position: absolute; background-size: cover; filter: brightness(.6) saturate(.85); }
.dmh-pc-side-r { top: 0; left: 100%; width: var(--wrap, calc(var(--mmpx) * 12)); height: 100%; transform-origin: left top; transform: skewY(45deg); background-position: right center; }
.dmh-pc-side-b { left: 0; top: 100%; height: var(--wrap, calc(var(--mmpx) * 12)); width: 100%; transform-origin: left top; transform: skewX(45deg); background-position: center bottom; }
.dmh-pc--canvas .dmh-pc-side-b { filter: brightness(.5) saturate(.85); }
/* framed print: moulding with an inner bevel, white mat, glass sheen */
.dmh-pc--framed .dmh-pc-frame { padding: calc(var(--mmpx) * 22); background: linear-gradient(135deg, #34302b, #121110 60%, #1c1a17);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), inset calc(var(--mmpx) * 3) calc(var(--mmpx) * 3) calc(var(--mmpx) * 4) rgba(255,255,255,.08); }
.dmh-pc--framed .dmh-pc-mat { background: #f8f5ef; padding: 9%; box-shadow: inset 1px 1px 3px rgba(0,0,0,.28); }
.dmh-pc--framed .dmh-pc-face { border-radius: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08), -1px -1px 0 rgba(0,0,0,.12); }
.dmh-pc--framed .dmh-pc-sheen { background: linear-gradient(118deg, transparent 28%, rgba(255,255,255,.09) 42%, transparent 56%); }
.dmh-pc--fr-white .dmh-pc-frame { background: linear-gradient(135deg, #ffffff, #ece7de 70%, #f6f2ea); }
.dmh-pc--fr-walnut .dmh-pc-frame { background: repeating-linear-gradient(92deg, rgba(0,0,0,.08) 0 2px, transparent 2px 7px), linear-gradient(135deg, #7a5233, #4e321d 55%, #6b462a); }
/* floater: a dark gap between the canvas and the outer frame */
.dmh-pc--floater .dmh-pc-frame { padding: calc(var(--mmpx) * 8); background: linear-gradient(135deg, #2b2724, #0f0e0d); }
.dmh-pc--floater .dmh-pc-mat { background: #0c0a08; padding: calc(var(--mmpx) * 9); }
.dmh-pc--floater .dmh-pc-face { box-shadow: calc(var(--sx) * 2px) 2px 4px rgba(0,0,0,.6); }
.dmh-pc--floater .dmh-pc-sheen { inset: calc(var(--mmpx) * 17); mix-blend-mode: multiply; opacity: .3;
  background: repeating-linear-gradient(0deg, rgba(60,45,30,.08) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(60,45,30,.06) 0 1px, transparent 1px 3px); }
/* acrylic: crisp edge, strong gloss, standoffs cast a deeper offset shadow */
.dmh-pc--acrylic { box-shadow: inset 0 0 0 1px rgba(255,255,255,.55), calc(var(--sx) * .5cqw) .7cqw .5cqw -.1cqw rgba(43,33,24,.35), calc(var(--sx) * 1.6cqw) 2.2cqw 2.6cqw -.3cqw rgba(43,33,24,.3); }
.dmh-pc--acrylic .dmh-pc-sheen { background: linear-gradient(115deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,.05) 30%, transparent 46%, rgba(255,255,255,.12) 62%, transparent 75%); }
.dmh-pc--acrylic .dmh-pc-frame::after { content: ''; position: absolute; inset: calc(var(--mmpx) * 16); pointer-events: none;
  --cap: radial-gradient(circle at 35% 35%, #f4f1ea 0, #9c968b 55%, rgba(0,0,0,.35) 62%, transparent 70%);
  background: var(--cap) left top / calc(var(--mmpx) * 16) calc(var(--mmpx) * 16) no-repeat, var(--cap) right top / calc(var(--mmpx) * 16) calc(var(--mmpx) * 16) no-repeat,
    var(--cap) left bottom / calc(var(--mmpx) * 16) calc(var(--mmpx) * 16) no-repeat, var(--cap) right bottom / calc(var(--mmpx) * 16) calc(var(--mmpx) * 16) no-repeat; }
/* poster: flat print with clips and a light paper shadow */
.dmh-pc--poster { box-shadow: calc(var(--sx) * .08cqw) .12cqw .2cqw rgba(43,33,24,.3), calc(var(--sx) * .3cqw) .5cqw .8cqw rgba(43,33,24,.14); }
.dmh-pc--poster .dmh-pc-sheen { background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(0,0,0,.05)); }
.dmh-pc--poster .dmh-pc-clip { display: block; position: absolute; top: calc(var(--mmpx) * -8); width: calc(var(--mmpx) * 32); height: calc(var(--mmpx) * 22);
  background: linear-gradient(#3a3631, #1a1816); border-radius: 1px; box-shadow: 0 1px 2px rgba(0,0,0,.4); }
.dmh-pc-clip-l { left: 14%; }
.dmh-pc-clip-r { right: 14%; }

/* measurements: indigo dimension lines around the arrangement */
.dmh-dims { position: absolute; pointer-events: none; opacity: 0; transition: opacity .25s ease; z-index: 3;
  left: calc(var(--cx) * 1% - var(--aw) / 2 / var(--pmm) * 100%); top: calc(var(--by) * 1% - var(--ah) * var(--ar) / var(--pmm) * 100%);
  width: calc(var(--aw) / var(--pmm) * 100%); height: calc(var(--ah) * var(--ar) / var(--pmm) * 100%); }
.dmh-dims.is-on, .dmh-peek:hover .dmh-dims, .dmh-peek:focus-within .dmh-dims { opacity: 1; }
.dmh-dim-h { position: absolute; height: 0; border-top: 1.5px solid var(--indigo); filter: drop-shadow(0 0 1px rgba(250,247,241,.9)); }
.dmh-dim-v { position: absolute; width: 0; border-left: 1.5px solid var(--indigo); filter: drop-shadow(0 0 1px rgba(250,247,241,.9)); }
.dmh-dim-h::before, .dmh-dim-h::after { content: ''; position: absolute; top: -6px; height: 10px; border-left: 1.5px solid var(--indigo); }
.dmh-dim-h::before { left: 0; } .dmh-dim-h::after { right: 0; }
.dmh-dim-v::before, .dmh-dim-v::after { content: ''; position: absolute; left: -6px; width: 10px; border-top: 1.5px solid var(--indigo); }
.dmh-dim-v::before { top: 0; } .dmh-dim-v::after { bottom: 0; }
.dmh-dim-w { left: 0; right: 0; top: -18px; }
.dmh-dim-hh { top: 0; bottom: 0; right: -16px; }
.dmh-dim-gap { left: calc(var(--gx) / var(--aw) * 100%); width: calc(var(--gw) / var(--aw) * 100%); top: calc(var(--gy) / var(--ah) * 100% + 14px); }
.dmh-dim-label { position: absolute; white-space: nowrap; background: var(--indigo); color: var(--chalk); font: 600 13px/1 var(--sans);
  padding: 5px 7px; border-radius: 2px; }
.dmh-dim-w .dmh-dim-label { left: 50%; top: 0; transform: translate(-50%, -50%); }
.dmh-dim-hh .dmh-dim-label { top: 100%; left: 0; transform: translate(-50%, 8px); }
.dmh-dim-gap .dmh-dim-label { left: 50%; top: 0; transform: translate(-50%, 10px); }

/* ---- Landing: hero before/after ------------------------------------------- */

.dmh-hero { position: relative; height: calc(100svh - 126px); min-height: 560px; overflow: hidden; background: var(--ink); color: var(--chalk); touch-action: pan-y; --split: 38; }
@media (min-width: 1024px) { .dmh-hero { height: 88vh; min-height: 640px; max-height: 980px; } }
.dmh-hero .dmh-scene { position: absolute; inset: 0; --fcy: .27; --zoom: 1.2; }
@media (max-width: 399px) { .dmh .dmh-tilt, .dmh-tag { display: none !important; } } /* small phones: one chrome row, so the art clears the headline */
@media (min-width: 1024px) { .dmh-hero .dmh-scene { --fcy: .45; --zoom: 1; } }
.dmh-hero-after { position: absolute; inset: 0; clip-path: inset(0 0 0 calc(var(--split) * 1%)); }
.dmh-hero-scrim { position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(0deg, rgba(21,20,17,.92) 0%, rgba(21,20,17,.72) 34%, rgba(21,20,17,0) 58%); }
@media (min-width: 1024px) { .dmh-hero-scrim { background: radial-gradient(80% 85% at 0% 100%, rgba(21,20,17,.9) 0%, rgba(21,20,17,.7) 38%, rgba(21,20,17,.25) 62%, rgba(21,20,17,0) 80%), linear-gradient(0deg, rgba(21,20,17,.35), transparent 30%); } }
.dmh-handle { position: absolute; top: 0; bottom: 44%; left: calc(var(--split) * 1%); width: 0; z-index: 5; }
@media (min-width: 1024px) { .dmh-handle { bottom: 0; } }
.dmh-handle::before { content: ''; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: rgba(250,247,241,.92); box-shadow: 0 0 12px rgba(0,0,0,.25); }
.dmh .dmh-grip { position: absolute; top: 72%; left: 0; transform: translate(-50%, -50%); width: 48px; height: 64px; border-radius: 10px; border: 0; padding: 0;
  background: var(--chalk); color: var(--ink); display: grid; place-items: center; cursor: ew-resize; box-shadow: 0 6px 20px rgba(21,20,17,.35); touch-action: none; }
@media (min-width: 1024px) { .dmh .dmh-grip { top: 60%; } }
.dmh .dmh-grip:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.dmh-tag { position: absolute; top: 76px; white-space: nowrap; font-size: 13px; font-weight: 500; line-height: 1.55; color: var(--chalk); padding: 6px 10px; border-radius: 10px; background: rgba(21,20,17,.55); backdrop-filter: blur(6px); pointer-events: none; }
@media (min-width: 1024px) { .dmh-tag { top: 28px; } }
.dmh-tag-l { right: 14px; } .dmh-tag-r { left: 14px; }
.dmh-hero-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding: 0 20px 28px; }
@media (max-width: 991px) { .dmh-hero-copy { padding-bottom: 88px; } } /* clear the site's 60 px bottom nav */
@media (min-width: 1024px) { .dmh-hero-copy { padding: 0 0 64px 64px; right: auto; max-width: 720px; } }
.dmh-hero h1 { font-size: clamp(44px, 6.2vw, 88px); text-shadow: 0 2px 24px rgba(0,0,0,.25); color: var(--chalk); }
.dmh-hero-sub { margin: 16px 0 26px; font-size: 17px; max-width: 34em; color: rgba(250,247,241,.92); }
@media (min-width: 1024px) { .dmh-hero-sub { font-size: 19px; } }
.dmh-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.dmh-hero-actions .dmh-link { color: var(--chalk); }
.dmh-hero-cap { position: absolute; right: 24px; bottom: 18px; z-index: 4; font-size: 13px; color: rgba(250,247,241,.85); text-shadow: 0 1px 6px rgba(0,0,0,.8); }
@media (max-width: 1023px) { .dmh-hero-cap { display: none; } }
.dmh-cap-inline { display: block; margin-top: 18px; font-size: 13px; color: rgba(250,247,241,.75); }
@media (min-width: 1024px) { .dmh-cap-inline { display: none; } }
.dmh-hero-tools { position: absolute; top: 16px; right: 16px; left: 16px; z-index: 6; pointer-events: none; display: flex; justify-content: flex-end; gap: 8px; }
@media (min-width: 1024px) { .dmh-hero-tools { top: 24px; right: 24px; left: auto; } }
.dmh-pill, .dmh .dmh-tilt { pointer-events: auto; }
.dmh-pill { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(21,20,17,.55); backdrop-filter: blur(8px); }
.dmh .dmh-pill button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--chalk); font: 500 14px/1 var(--sans); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: background-color .3s, color .3s; }
.dmh .dmh-pill button[aria-checked='true'] { background: var(--chalk); color: var(--ink); }
.dmh .dmh-tilt { min-height: 40px; padding: 0 14px; border-radius: 10px; border: 0; background: rgba(21,20,17,.55); color: var(--chalk); font: 500 14px/1 var(--sans); backdrop-filter: blur(8px); cursor: pointer; margin-right: auto; }

/* ---- Landing: rooms filmstrip --------------------------------------------- */

.dmh-strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 12px; margin: 40px -16px 0; scrollbar-width: none; }
.dmh-strip::-webkit-scrollbar { display: none; }
.dmh-roomcard { position: relative; flex: 0 0 80%; aspect-ratio: 4 / 5; scroll-snap-align: center; border-radius: 10px; overflow: hidden; color: var(--chalk); text-decoration: none; display: block; }
.dmh-roomcard:hover { color: var(--chalk); }
.dmh-roomcard .dmh-scene { position: absolute; inset: 0; }
.dmh-roomcard-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(21,20,17,.85) 0%, rgba(21,20,17,.35) 30%, transparent 50%); pointer-events: none; }
.dmh-roomcard-text { position: absolute; left: 22px; right: 22px; bottom: 22px; }
.dmh-roomcard-name { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; font-size: clamp(30px, 2.3vw, 34px); line-height: 1.05; display: block; }
.dmh-roomcard-meta { font-size: 15px; color: rgba(250,247,241,.9); display: block; margin-top: 6px; }
.dmh-roomcard-go { display: block; font-size: 15px; font-weight: 600; margin-top: 10px; color: var(--brass); }
@media (min-width: 1024px) {
  .dmh-strip { overflow: visible; margin: 56px 0 0; padding: 0; height: clamp(480px, 40vw, 600px); }
  .dmh-roomcard { flex: 1 1 0; aspect-ratio: auto; min-width: 0; transition: flex-grow .55s var(--ease); }
  .dmh-strip:hover .dmh-roomcard, .dmh-strip:focus-within .dmh-roomcard { flex-grow: .8; }
  .dmh-strip .dmh-roomcard:hover, .dmh-strip .dmh-roomcard:focus-visible { flex-grow: 2.2; }
  /* more than five photos: a scrolling strip, about four and a half cards in view so the next one shows */
  .dmh-strip.is-many { overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: rgba(43,33,24,.35) transparent; }
  .dmh-strip.is-many .dmh-roomcard, .dmh-strip.is-many:hover .dmh-roomcard, .dmh-strip.is-many .dmh-roomcard:hover { flex: 0 0 calc((100% - 48px) / 4.5); scroll-snap-align: start; }
  .dmh-strip.is-many .dmh-roomcard-meta { white-space: normal; }
  .dmh-roomcard-go, .dmh-roomcard-meta { opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; white-space: nowrap; }
  .dmh-roomcard:hover .dmh-roomcard-go, .dmh-roomcard:focus-visible .dmh-roomcard-go,
  .dmh-roomcard:hover .dmh-roomcard-meta, .dmh-roomcard:focus-visible .dmh-roomcard-meta { opacity: 1; transform: none; }
}

/* ---- Landing: ideas, how it works, your photos ---------------------------- */

.dmh-ideas { display: grid; gap: 48px; margin-top: 48px; }
@media (min-width: 1024px) { .dmh-ideas { grid-template-columns: 7fr 5fr; gap: 48px; margin-top: 64px; } .dmh-ideas > :first-child { grid-row: span 2; } }
.dmh-idea-img { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; --A: .75; }
@media (min-width: 1024px) {
  .dmh-ideas > :first-child .dmh-idea-img { aspect-ratio: auto; height: 660px; --A: .95; }
  .dmh-ideas > :not(:first-child) .dmh-idea-img { aspect-ratio: auto; height: 250px; --A: .5; }
}
.dmh-idea-img .dmh-scene { position: absolute; inset: 0; --fitw: .5; --fith: .55; --fcy: .45; }
.dmh-idea h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; margin: 20px 0 6px; font-size: 26px; line-height: 1.15; }
.dmh-ideas > :first-child h3 { font-size: clamp(28px, 2.6vw, 38px); }
.dmh-idea p { margin: 0; color: var(--muted); font-size: 16px; max-width: 46ch; }
.dmh-idea-facts { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; margin-top: 12px; font-size: 15px; }
.dmh-idea-facts strong { font-weight: 600; font-size: 17px; }
.dmh-more { margin-top: 18px; display: inline-block; }

.dmh-steps { display: grid; gap: 48px; margin: 56px 0 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .dmh-steps { grid-template-columns: repeat(3, 1fr); gap: 56px; } }
.dmh-step svg { display: block; width: 100%; max-width: 220px; height: auto; margin-bottom: 28px; }
.dmh-step-n { font-family: var(--serif); color: var(--brass); font-size: 44px; line-height: 1; margin-right: 14px; }
.dmh-step h3 { display: flex; align-items: baseline; margin: 0 0 10px; font: 600 21px/1.3 var(--sans); }
.dmh-step p { margin: 0; color: rgba(250,247,241,.82); max-width: 32em; }

.dmh-split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 1024px) { .dmh-split { grid-template-columns: 7fr 5fr; gap: 72px; } }
.dmh-photo-stage { position: relative; aspect-ratio: 5 / 4; border-radius: 10px; overflow: hidden; --A: .8; }
.dmh-photo-stage .dmh-scene { position: absolute; inset: 0; --fitw: .6; --fith: .6; --fcy: .45; }
.dmh-photo-note { display: block; margin-top: 12px; font-size: 14px; color: var(--muted); }
.dmh-photo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
.dmh-photo-price { margin: 22px 0 0; font-size: 16px; }
.dmh-photo-price s { color: var(--muted); }

/* ---- Trust row and FAQ (landing, gallery wall, studio) ------------------- */

.dmh-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 0; padding: 28px 0; list-style: none; border-top: 1px solid rgba(43,33,24,.16); border-bottom: 1px solid rgba(43,33,24,.16); font-size: 16px; font-weight: 500; }
@media (min-width: 900px) { .dmh-trust { display: flex; justify-content: space-between; } .dmh-trust li + li { border-left: 1px solid rgba(43,33,24,.2); padding-left: 28px; } }
.dmh-faq { display: grid; gap: 32px; }
.dmh-trust + .dmh-faq { margin-top: 88px; }
@media (min-width: 1024px) { .dmh-faq { grid-template-columns: 4fr 8fr; gap: 72px; } }
.dmh-acc { border-top: 1px solid rgba(43,33,24,.2); }
.dmh-acc-item { border-bottom: 1px solid rgba(43,33,24,.2); }
.dmh .dmh-acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; text-align: left; padding: 22px 0; background: none; border: 0; cursor: pointer; font: 500 18px/1.4 var(--sans); color: var(--ink); }
.dmh-acc-btn svg { flex: none; transition: transform .3s ease; }
.dmh-acc-btn[aria-expanded='true'] svg { transform: rotate(45deg); }
.dmh-acc-panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .35s ease; }
.dmh-acc.is-ready .dmh-acc-panel:not(.open) { grid-template-rows: 0fr; }
.dmh-acc-panel > div { overflow: hidden; }
.dmh-acc-panel p { margin: 0 0 22px; max-width: 62ch; color: var(--muted); }

/* ---- Gallery wall ideas --------------------------------------------------- */

.dmh-gw-wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .dmh-gw-wrap { padding: 0 32px; } }
.dmh-gw .dmh-plaster { background-image: radial-gradient(1200px 500px at 12% 0%, rgba(255,255,255,.35), transparent 60%), radial-gradient(900px 600px at 92% 30%, rgba(197,160,89,.08), transparent 60%), radial-gradient(700px 400px at 40% 100%, rgba(43,33,24,.04), transparent 70%); }
.dmh-gw-link { color: var(--indigo); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.dmh-gw-link:hover { color: var(--indigo); text-decoration: underline; text-decoration-thickness: 2px; }
.dmh-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: var(--quiet); }
.dmh-crumbs svg { opacity: .6; display: block; }
.dmh-crumbs [aria-current] { color: var(--ink); }
.dmh-gw-top { padding-top: 24px; }
@media (min-width: 768px) { .dmh-gw-top { padding-top: 40px; } }
.dmh-gw-head { margin-top: 24px; display: grid; align-items: end; gap: 24px; }
.dmh-gw-head h1 { font-size: clamp(40px, 6.4vw, 88px); text-wrap: balance; }
.dmh-gw-head p { max-width: 46ch; font-size: 17px; line-height: 1.55; color: var(--body); }
@media (min-width: 768px) { .dmh-gw-head { margin-top: 40px; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px; } .dmh-gw-head h1 { grid-column: span 8; } .dmh-gw-head p { grid-column: span 4; padding-bottom: 12px; } }

.dmh-cycle-wrap { width: 100%; max-width: 1360px; margin: 32px auto 0; }
@media (min-width: 768px) { .dmh-cycle-wrap { margin-top: 48px; padding: 0 32px; } }
.dmh-cycle { position: relative; overflow: hidden; aspect-ratio: 1 / 1.12; --A: 1.12; }
@media (min-width: 768px) { .dmh-cycle { border-radius: 10px; aspect-ratio: 1 / .42; --A: .42; } }
.dmh-cycle .dmh-scene { position: absolute; inset: 0; --fitw: .86; --fith: .62; --fcy: .44; background: var(--teak); }
@media (min-width: 768px) { .dmh-cycle .dmh-scene { --fitw: .5; } }
.dmh-cycle-shade { position: absolute; left: 0; right: 0; bottom: 0; height: 55%; pointer-events: none; background: linear-gradient(to top, rgba(21,20,17,.8), rgba(21,20,17,.35), transparent); }
.dmh-chip-cap { position: absolute; right: 16px; top: 16px; border-radius: 2px; background: rgba(21,20,17,.55); padding: 4px 10px; font-size: 13px; line-height: 1.55; color: var(--chalk); backdrop-filter: blur(8px); }
@media (min-width: 768px) { .dmh-chip-cap { right: 24px; top: 20px; } }
.dmh-cycle-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 16px; padding: 16px; color: var(--chalk); }
@media (min-width: 640px) { .dmh-cycle-bar { padding: 24px; } }
@media (min-width: 768px) { .dmh-cycle-bar { flex-direction: row; align-items: flex-end; justify-content: space-between; padding: 32px; } }
.dmh-cycle-name { font-family: var(--serif); font-size: 30px; line-height: 1.25; font-weight: 500; letter-spacing: -0.02em; }
.dmh-cycle-meta { margin-top: 4px; font-size: 15px; color: rgba(250,247,241,.85); }
@media (min-width: 768px) { .dmh-cycle-name { font-size: 40px; } .dmh-cycle-meta { font-size: 16px; } }
.dmh-cycle-ctl { display: flex; align-items: center; gap: 12px; }
.dmh-cycle-dots { display: flex; gap: 6px; }
.dmh .dmh-cycle-dot { position: relative; height: 44px; width: 48px; }
@media (min-width: 768px) { .dmh .dmh-cycle-dot { width: 64px; } }
.dmh-cycle-dot > span { position: absolute; left: 0; right: 0; top: 50%; height: 3px; transform: translateY(-50%); overflow: hidden; border-radius: 999px; background: rgba(250,247,241,.3); }
.dmh-cycle-dot i { position: absolute; top: 0; bottom: 0; left: 0; width: 0; background: var(--brass); }
.dmh-cycle-dot.is-done i { width: 100%; }
.dmh-cycle-dot.is-now i { animation: dmh-fill var(--step, 3000ms) linear forwards; }
.dmh-cycle.is-held .dmh-cycle-dot.is-now i, .dmh-cycle.is-paused .dmh-cycle-dot.is-now i { animation-play-state: paused; }
@keyframes dmh-fill { to { width: 100%; } }
.dmh .dmh-cycle-pause { display: grid; place-items: center; height: 44px; width: 44px; border-radius: 999px; background: rgba(250,247,241,.15); color: var(--chalk); backdrop-filter: blur(8px); transition: background-color .2s; }
.dmh .dmh-cycle-pause:hover { background: rgba(250,247,241,.25); }
.dmh-swap { animation: dmh-swap 420ms var(--ease); }
@keyframes dmh-swap { from { opacity: 0; transform: translateY(6px); } }

.dmh-filters { border-top: 1px solid rgba(21,20,17,.1); border-bottom: 1px solid rgba(21,20,17,.1); background: rgba(236,229,216,.92); backdrop-filter: blur(12px); }
@media (min-width: 768px) { .dmh-filters { position: sticky; top: var(--dmh-head); z-index: 30; } }
.dmh-filters-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-top: 12px; padding-bottom: 12px; }
@media (min-width: 1024px) { .dmh-filters-in { flex-wrap: nowrap; } }
.dmh-fgroup { display: flex; flex-shrink: 0; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; color: var(--body); }
.dmh-seg { display: flex; border-radius: 10px; background: rgba(21,20,17,.06); padding: 4px; }
.dmh .dmh-seg button { min-height: 36px; min-width: 44px; border-radius: 7px; padding: 0 12px; font-size: 15px; font-weight: 500; color: var(--body); transition: background-color .2s, color .2s; }
.dmh .dmh-seg button:hover { background: rgba(21,20,17,.06); }
.dmh .dmh-seg button[aria-checked='true'] { background: var(--ink); color: var(--chalk); }
.dmh-select { position: relative; display: inline-block; }
.dmh-select select { height: 44px; appearance: none; -webkit-appearance: none; border-radius: 10px; border: 1px solid rgba(21,20,17,.15); background: var(--chalk); padding: 0 36px 0 12px; font-size: 15px; color: var(--ink); }
.dmh-select svg { pointer-events: none; position: absolute; top: 50%; right: 12px; transform: translateY(-50%); }
.dmh-stepper { display: flex; align-items: center; border-radius: 10px; border: 1px solid rgba(21,20,17,.15); background: var(--chalk); }
.dmh .dmh-stepper button { display: grid; place-items: center; height: 44px; width: 40px; font-size: 18px; color: var(--ink); }
.dmh .dmh-stepper button:disabled { opacity: .35; cursor: default; }
.dmh-stepper output { min-width: 3.5ch; text-align: center; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.dmh-fwall { gap: 10px; font-size: 15px; font-weight: 400; }
.dmh-fcount { margin-left: auto; flex-shrink: 0; font-size: 14px; color: var(--quiet); }

.dmh-grid-sec .dmh-gw-wrap { padding-top: 40px; padding-bottom: 40px; }
@media (min-width: 768px) { .dmh-grid-sec .dmh-gw-wrap { padding-top: 56px; padding-bottom: 56px; } }
.dmh-grid { display: grid; gap: 56px 32px; }
@media (min-width: 768px) { .dmh-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); row-gap: 64px; } }
.dmh-card { display: flex; flex-direction: column; min-width: 0; }
.dmh-card-img { position: relative; overflow: hidden; border-radius: 10px; }
.dmh .dmh-card-open { position: absolute; inset: 0; z-index: 2; display: block; width: 100%; height: 100%; border-radius: 10px; }
.dmh-card-scene { position: relative; aspect-ratio: 1 / 1; --A: 1; }
.dmh-card-scene .dmh-scene { position: absolute; inset: 0; --fitw: .72; --fith: .6; --fcy: .44; background: var(--teak); }
@media (min-width: 768px) {
  .dmh-card.k0, .dmh-card.k3 { grid-column: span 7; } .dmh-card.k1, .dmh-card.k2 { grid-column: span 5; } .dmh-card.k4 { grid-column: span 12; }
  .dmh-card.k0 .dmh-card-scene, .dmh-card.k3 .dmh-card-scene { aspect-ratio: 1 / .62; --A: .62; }
  .dmh-card.k1 .dmh-card-scene, .dmh-card.k2 .dmh-card-scene { aspect-ratio: 1 / .868; --A: .868; }
  .dmh-card.k4 .dmh-card-scene { aspect-ratio: 1 / .48; --A: .48; }
  .dmh-card-scene .dmh-scene { --fitw: .6; }
  .dmh-card.k4 .dmh-card-scene .dmh-scene { --fitw: .44; }
}
.dmh-badge { position: absolute; z-index: 3; pointer-events: none; border-radius: 2px; padding: 4px 10px; font-size: 13px; line-height: 1.55; }
.dmh-badge-fit { left: 12px; top: 12px; background: var(--brass); color: var(--ink); font-weight: 600; }
.dmh-badge-room { left: 12px; bottom: 12px; background: rgba(21,20,17,.6); color: var(--chalk); backdrop-filter: blur(8px); }
.dmh-card-text { margin-top: 16px; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.dmh-card-text > div:first-child { min-width: 0; }
.dmh-card h3 { font-family: var(--serif); font-size: 26px; line-height: 1.25; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
@media (min-width: 768px) { .dmh-card h3 { font-size: 30px; } }
.dmh-card-size { margin-top: 6px; font-size: 16px; line-height: 1.5; color: var(--body); }
.dmh-card-pieces { font-size: 15px; line-height: 1.5; color: var(--quiet); }
.dmh-card-price { flex-shrink: 0; text-align: right; }
.dmh-card-price span { display: block; font-size: 13px; color: var(--quiet); }
.dmh-card-price strong { display: block; font-size: 22px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.dmh-card-acts { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.dmh-btn-sm { display: inline-flex; height: 44px; align-items: center; border-radius: 10px; background: var(--ink); padding: 0 20px; font-size: 15px; font-weight: 600; color: var(--chalk); transition: background-color .2s; }
.dmh-btn-sm:hover { background: var(--teak); color: var(--chalk); }
.dmh .dmh-card-acts .dmh-gw-link { height: 44px; font-size: 15px; font-weight: 500; display: inline-flex; align-items: center; }
.dmh-empty { padding: 80px 0; text-align: center; font-size: 18px; }

.dmh-guide-gw { border-top: 1px solid rgba(21,20,17,.1); background: var(--chalk); }
.dmh-guide-gw .dmh-gw-wrap { padding-top: 64px; padding-bottom: 64px; }
@media (min-width: 768px) { .dmh-guide-gw .dmh-gw-wrap { padding-top: 96px; padding-bottom: 96px; } }
.dmh-guide-head { display: grid; gap: 16px; }
.dmh-guide-head p { max-width: 48ch; font-size: 17px; line-height: 1.55; color: var(--body); }
@media (min-width: 768px) { .dmh-guide-head { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; } .dmh-guide-head h2 { grid-column: span 7; } .dmh-guide-head p { grid-column: span 5; } }
.dmh-tips { margin-top: 48px; display: grid; row-gap: 48px; }
@media (min-width: 768px) { .dmh-tips { grid-template-columns: repeat(3, 1fr); } .dmh-tips > * { padding: 0 32px; } .dmh-tips > * + * { border-left: 1px solid rgba(21,20,17,.12); } .dmh-tips > :first-child { padding-left: 0; } .dmh-tips > :last-child { padding-right: 0; } }
.dmh-tips svg { display: block; width: 100%; max-width: 300px; height: auto; }
.dmh-tips h3 { margin-top: 24px; font: 600 19px/1.4 var(--sans); color: var(--ink); }
.dmh-tips p { margin-top: 8px; max-width: 42ch; font-size: 16px; line-height: 1.55; color: var(--body); }
.dmh-checks { margin-top: 64px; display: flex; flex-wrap: wrap; gap: 12px 40px; border-top: 1px solid rgba(21,20,17,.12); padding-top: 32px; font-size: 16px; color: var(--ink); }
.dmh-checks li { display: flex; align-items: center; gap: 10px; }
.dmh-closing { background: var(--teak); color: var(--chalk); }
.dmh-closing .dmh-gw-wrap { display: flex; flex-direction: column; gap: 24px; padding-top: 64px; padding-bottom: 64px; }
@media (min-width: 768px) { .dmh-closing .dmh-gw-wrap { flex-direction: row; align-items: center; justify-content: space-between; padding-top: 80px; padding-bottom: 80px; } }
.dmh-closing p { margin-top: 12px; max-width: 52ch; font-size: 17px; line-height: 1.55; color: rgba(250,247,241,.8); }
.dmh-closing .dmh-btn { flex-shrink: 0; align-self: flex-start; min-height: 48px; padding: 0 28px; }
@media (min-width: 768px) { .dmh-closing .dmh-btn { align-self: auto; } }
.dmh-gw-faq { background: var(--plaster); }

/* drawer (dialog) */
.dmh-drawer-root { position: fixed; inset: 0; z-index: 1000000; }
.dmh-drawer-scrim { position: absolute; inset: 0; background: rgba(21,20,17,.6); backdrop-filter: blur(2px); opacity: 0; transition: opacity 280ms ease; }
.dmh-drawer-root.is-in .dmh-drawer-scrim { opacity: 1; }
.dmh-drawer { position: absolute; left: 0; right: 0; bottom: 0; display: flex; max-height: 94svh; flex-direction: column; overflow: hidden; border-radius: 10px 10px 0 0;
  background: var(--teak); color: var(--chalk); box-shadow: 0 -20px 60px rgba(21,20,17,.45); transform: translateY(100%); transition: transform 320ms var(--ease); }
.dmh-drawer-root.is-in .dmh-drawer { transform: none; }
.dmh-drawer-body { display: flex; min-height: 0; flex: 1; flex-direction: column; overflow-y: auto; }
.dmh-drawer-stage { position: sticky; top: 0; z-index: 10; flex-shrink: 0; overflow: hidden; background: var(--ink); aspect-ratio: 1 / .8; --A: .8; }
.dmh-drawer-stage .dmh-scene { position: absolute; inset: 0; --fitw: .5; --fith: .42; --fcy: .58; background: var(--teak); } /* below the tool row */
.dmh-drawer-tools { position: absolute; left: 0; right: 0; top: 0; z-index: 4; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 12px; }
.dmh-drawer-stage .dmh-chip-cap { top: auto; right: auto; left: 12px; bottom: 12px; z-index: 4; }
.dmh-lightpill { position: relative; display: inline-flex; border-radius: 999px; padding: 4px; background: rgba(21,20,17,.7); backdrop-filter: blur(8px); }
.dmh .dmh-lightpill button { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 500; color: rgba(250,247,241,.85); transition: background-color .2s, color .2s; }
.dmh .dmh-lightpill button[aria-checked='true'] { background: var(--chalk); color: var(--ink); box-shadow: 0 1px 3px rgba(43,33,24,.25); }
.dmh .dmh-measure-btn { display: inline-flex; height: 40px; align-items: center; gap: 8px; border-radius: 999px; padding: 0 16px; font-size: 14px; font-weight: 500; background: rgba(21,20,17,.7); color: rgba(250,247,241,.9); backdrop-filter: blur(8px); }
.dmh .dmh-measure-btn[aria-pressed='true'] { background: var(--indigo); color: var(--chalk); }
.dmh-drawer-panel { display: flex; flex-direction: column; }
.dmh-drawer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 20px 0; }
.dmh-drawer-head h2 { font-family: var(--serif); font-size: 32px; line-height: 1.1; font-weight: 500; letter-spacing: -0.02em; }
.dmh-drawer-head p { margin-top: 8px; font-size: 16px; line-height: 1.55; color: rgba(250,247,241,.8); }
.dmh .dmh-close { margin-right: -8px; display: grid; height: 44px; width: 44px; flex-shrink: 0; place-items: center; border-radius: 999px; color: rgba(250,247,241,.85); }
.dmh .dmh-close:hover { background: rgba(250,247,241,.1); color: var(--chalk); }
.dmh-drawer-facts { margin: 20px 20px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; border-top: 1px solid rgba(250,247,241,.12); border-bottom: 1px solid rgba(250,247,241,.12); padding: 16px 0; font-size: 15px; }
.dmh-drawer-facts dt { font-size: 13px; color: rgba(250,247,241,.65); }
.dmh-drawer-facts dd { margin-top: 2px; }
.dmh-drawer fieldset { margin-top: 24px; padding: 0 20px; }
.dmh-drawer legend { font-size: 15px; font-weight: 600; }
.dmh-room-pick { margin-top: 12px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.dmh .dmh-room-pick button { border-radius: 4px; padding: 4px; text-align: left; color: rgba(250,247,241,.75); transition: background-color .2s, color .2s; }
.dmh .dmh-room-pick button:hover { color: var(--chalk); }
.dmh .dmh-room-pick button[aria-checked='true'] { background: rgba(250,247,241,.1); color: var(--chalk); box-shadow: 0 0 0 2px var(--brass); }
.dmh-room-pick img { display: block; width: 100%; aspect-ratio: 4 / 5; border-radius: 2px; object-fit: cover; }
.dmh-room-pick span { margin-top: 6px; display: block; font-size: 13px; line-height: 1.25; }
.dmh-finish-pick { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.dmh .dmh-finish-pick button { display: flex; align-items: center; gap: 14px; border-radius: 10px; border: 1px solid rgba(250,247,241,.12); padding: 10px 12px; text-align: left; transition: border-color .2s; }
.dmh .dmh-finish-pick button:hover { border-color: rgba(250,247,241,.3); }
.dmh .dmh-finish-pick button[aria-checked='true'] { border-color: var(--brass); background: rgba(250,247,241,.07); }
.dmh-swatch { position: relative; height: 48px; width: 40px; flex-shrink: 0; container-type: inline-size; --mmpx: .15px; --sx: 1; }
.dmh-swatch .dmh-pc--floater { inset: 3px; width: auto; height: auto; }
.dmh-finish-name { min-width: 0; flex: 1; }
.dmh-finish-name b { display: block; font-size: 15px; font-weight: 500; }
.dmh-finish-name small { display: block; font-size: 13px; color: rgba(250,247,241,.65); }
.dmh-finish-price { font-size: 15px; font-variant-numeric: tabular-nums; }
.dmh-drawer-foot { position: sticky; bottom: 0; margin-top: auto; border-top: 1px solid rgba(250,247,241,.12); background: var(--teak); padding: 16px 20px 20px; }
.dmh-drawer-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.dmh-drawer-total > span:first-child { font-size: 15px; color: rgba(250,247,241,.75); }
.dmh-drawer-total s { font-size: 15px; color: rgba(250,247,241,.55); font-variant-numeric: tabular-nums; }
.dmh-drawer-total strong { font-size: 26px; font-weight: 600; font-variant-numeric: tabular-nums; margin-left: 10px; }
.dmh-drawer-save { margin-top: 4px; font-size: 14px; color: #e3c98f; }
.dmh-drawer-acts { margin-top: 16px; display: grid; gap: 10px; }
@media (min-width: 640px) { .dmh-drawer-acts { grid-template-columns: 1fr 1fr; } }
.dmh-drawer-acts > * { display: flex; height: 48px; align-items: center; justify-content: center; border-radius: 10px; padding: 0 20px; font-size: 16px; }
.dmh-drawer-acts .dmh-go { background: var(--brass); color: var(--ink); font-weight: 600; transition: background-color .2s; }
.dmh-drawer-acts .dmh-go:hover { background: #d4b06a; color: var(--ink); }
.dmh .dmh-drawer-acts .dmh-addwall { border: 1px solid rgba(250,247,241,.3); color: var(--chalk); font-weight: 500; transition: border-color .2s; }
.dmh .dmh-drawer-acts .dmh-addwall:hover { border-color: rgba(250,247,241,.6); color: var(--chalk); }
.dmh .dmh-drawer-acts .dmh-addwall:disabled { opacity: .7; }
.dmh-drawer-err { margin-top: 10px; font-size: 14px; color: #f3b9ad; }
@media (min-width: 1024px) {
  .dmh-drawer { left: auto; top: 0; right: 0; max-height: none; width: min(1180px, 94vw); border-radius: 0; transform: translateX(100%); }
  .dmh-drawer-body { display: grid; grid-template-columns: minmax(0, 1fr) 400px; overflow: hidden; }
  .dmh-drawer-stage { position: relative; height: 100%; aspect-ratio: auto; --A: 1.15; }
  .dmh-drawer-stage .dmh-scene { --fitw: .56; --fith: .56; --fcy: .5; }
  .dmh-drawer-tools { padding: 20px; }
  .dmh-drawer-stage .dmh-chip-cap { left: 20px; bottom: 20px; }
  .dmh-drawer-panel { min-height: 0; overflow-y: auto; }
  .dmh-drawer-head { padding: 28px 28px 0; }
  .dmh-drawer-head h2 { font-size: 38px; }
  .dmh-drawer-facts { margin: 20px 28px 0; }
  .dmh-drawer fieldset { padding: 0 28px; }
  .dmh-drawer-foot { padding: 16px 28px 28px; }
  .dmh-drawer-acts { grid-template-columns: 1fr; }
}

/* ---- Room studio (static shell; behaviour comes from the studio script) ---- */

.dmh-studio-page { background: var(--ink); color: var(--chalk); }
.dmh-studio-page > section:not(.dmh-studio) { color: var(--ink); }
.dmh-studio { position: relative; }
.dmh-studio-stage { position: relative; height: 62svh; min-height: 440px; overflow: hidden; background: var(--ink); --A: 1.6; }
.dmh-studio-stage .dmh-scene { position: absolute; inset: 0; --zoom: 1.3; --fcy: .54; background: var(--ink); }
.dmh-glass { background: rgba(21,20,17,.58); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: inset 0 0 0 1px rgba(250,247,241,.1), 0 8px 24px rgba(21,14,8,.25); }
.dmh-st-rooms { position: absolute; left: 12px; top: 12px; z-index: 10; max-width: calc(100% - 200px); }
.dmh-st-rooms nav { display: inline-flex; max-width: 100%; gap: 6px; overflow-x: auto; border-radius: 10px; padding: 6px; scrollbar-width: none; }
.dmh-st-rooms nav::-webkit-scrollbar { display: none; }
.dmh-st-rooms a { display: flex; flex-shrink: 0; align-items: center; gap: 8px; border-radius: 7px; padding: 4px; font-size: 13.5px; font-weight: 500; color: rgba(250,247,241,.85); transition: background-color .2s; }
.dmh-st-rooms a:hover { background: rgba(250,247,241,.1); color: var(--chalk); }
.dmh-st-rooms a[aria-current='page'] { background: var(--chalk); color: var(--ink); }
.dmh-st-rooms img { height: 32px; width: 44px; border-radius: 4px; object-fit: cover; display: block; }
.dmh-st-rooms a span { display: none; }
.dmh-st-rooms .dmh-st-scenes { display: flex; width: fit-content; margin-top: 6px; }
.dmh-st-cap { margin-top: 8px; padding-left: 4px; font-size: 13px; color: rgba(250,247,241,.8); text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.dmh-st-tools { position: absolute; right: 12px; top: 12px; z-index: 10; display: flex; align-items: center; gap: 8px; }
.dmh-st-light { position: relative; display: flex; border-radius: 999px; padding: 4px; }
.dmh .dmh-st-light button { position: relative; display: flex; height: 36px; align-items: center; gap: 6px; border-radius: 999px; padding: 0 10px; font-size: 13.5px; font-weight: 500; color: rgba(250,247,241,.85); transition: background-color .35s, color .35s; }
.dmh .dmh-st-light button[aria-checked='true'] { background: var(--chalk); color: var(--ink); }
.dmh .dmh-st-icon { display: grid; height: 44px; min-width: 44px; place-items: center; border-radius: 10px; color: var(--chalk); }
.dmh .dmh-st-measure { display: flex; height: 44px; align-items: center; gap: 8px; border-radius: 10px; padding: 0 12px; font-size: 13.5px; font-weight: 500; color: var(--chalk); }
.dmh .dmh-st-measure[aria-pressed='true'] { background: var(--indigo); box-shadow: inset 0 0 0 1px rgba(250,247,241,.25); }
.dmh-st-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dmh-st-foot-cap { display: none; }
.dmh-st-price { position: absolute; right: 12px; bottom: 12px; z-index: 10; }
.dmh-pricepill { display: flex; align-items: center; gap: 12px; border-radius: 999px; color: var(--chalk); padding: 8px 14px 8px 16px;
  background: rgba(21,20,17,.78); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 10px 30px rgba(21,14,8,.35), inset 0 0 0 1px rgba(250,247,241,.1); }
.dmh-pricepill-num { display: flex; align-items: baseline; gap: 10px; }
.dmh-pricepill strong { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.dmh-pricepill s { font-size: 13px; color: rgba(250,247,241,.6); font-variant-numeric: tabular-nums; }
.dmh-pricepill-save { border-left: 1px solid rgba(250,247,241,.15); padding-left: 12px; font-size: 13px; font-weight: 500; color: var(--brass-soft); }
.dmh-panel { background: var(--teak); }
.dmh-panel-head { padding: 16px 16px 88px; }
.dmh-panel-head nav { display: none; }
.dmh-panel-head h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dmh-panel-head p { font-size: 15px; line-height: 1.5; color: rgba(250,247,241,.8); }
.dmh-dock { position: fixed; left: 0; right: 0; bottom: 124px; z-index: 40; display: flex; height: 76px; flex-direction: column; overflow: hidden;
  border-radius: 14px 14px 0 0; background: var(--teak); box-shadow: 0 -18px 40px rgba(21,14,8,.45); transition: height .38s var(--ease); }
.dmh-dock.is-half { height: 48svh; } .dmh-dock.is-full { height: calc(100svh - 196px); }
.dmh .dmh-dock-grip { display: flex; height: 24px; width: 100%; flex-shrink: 0; align-items: center; justify-content: center; }
.dmh-dock-grip span { height: 4px; width: 40px; border-radius: 999px; background: rgba(250,247,241,.35); }
.dmh-tabs { display: flex; flex-shrink: 0; border-bottom: 1px solid rgba(250,247,241,.12); padding: 0 4px; }
.dmh .dmh-tab { position: relative; display: flex; height: 52px; flex: 1; align-items: center; justify-content: center; gap: 8px; font-size: 15px; font-weight: 500; color: rgba(250,247,241,.6); transition: color .2s; }
.dmh .dmh-tab:hover { color: rgba(250,247,241,.9); }
.dmh .dmh-tab[aria-selected='true'] { color: var(--chalk); }
.dmh-tab[aria-selected='true'] svg { color: var(--brass-soft); }
.dmh-tab[aria-selected='true']::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--brass); }
.dmh-tabpanel { min-height: 0; flex: 1; overflow-y: auto; padding: 16px 20px; scrollbar-width: thin; scrollbar-color: rgba(250,247,241,.2) transparent; outline: none; }
.dmh-dock:not(.is-half):not(.is-full) .dmh-tabpanel { display: none; }
.dmh-actions { position: fixed; left: 0; right: 0; bottom: 60px; z-index: 40; display: flex; height: 64px; align-items: center; gap: 10px; border-top: 1px solid rgba(250,247,241,.1); background: var(--ink); padding: 0 12px; }
@media (min-width: 992px) and (max-width: 1023px) { .dmh-dock { bottom: 64px; } .dmh-actions { bottom: 0; } }
.dmh .dmh-cartbtn { position: relative; display: flex; height: 48px; flex: 1; align-items: center; justify-content: center; gap: 8px; overflow: hidden; border-radius: 8px; background: var(--brass); font-size: 15.5px; font-weight: 600; color: var(--ink); transition: background-color .2s; }
.dmh .dmh-cartbtn:hover { background: #d2ae69; }
.dmh .dmh-sharebtn { display: grid; height: 48px; width: 48px; flex-shrink: 0; place-items: center; border-radius: 8px; border: 1px solid rgba(250,247,241,.18); color: var(--chalk); }
.dmh-sharebtn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dmh-st-h3 { margin-bottom: 12px; font: 600 15px/1.4 var(--sans); color: var(--chalk); }
.dmh-st-box { border-radius: 10px; background: rgba(21,20,17,.45); padding: 14px; }
.dmh-st-box > p:first-child { margin-bottom: 10px; font-size: 14px; color: rgba(250,247,241,.75); }
.dmh-st-box small { display: block; margin-top: 10px; font-size: 13px; line-height: 1.375; color: rgba(250,247,241,.65); }
.dmh-st-step { display: flex; align-items: center; gap: 12px; }
.dmh .dmh-st-step button { display: grid; height: 44px; width: 44px; place-items: center; border-radius: 8px; border: 1px solid rgba(250,247,241,.18); color: var(--chalk); transition: border-color .2s; }
.dmh .dmh-st-step button:hover { border-color: rgba(250,247,241,.4); }
.dmh .dmh-st-step button:disabled { opacity: .35; }
.dmh-st-step output { min-width: 0; flex: 1; text-align: center; }
.dmh-st-step output b { display: block; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--chalk); }
.dmh-st-step output span { display: block; font-size: 13px; font-variant-numeric: tabular-nums; color: rgba(250,247,241,.65); }
.dmh-st-layouts { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dmh .dmh-st-layouts button { overflow: hidden; border-radius: 10px; text-align: left; background: rgba(250,247,241,.06); color: var(--chalk); transition: background-color .2s, box-shadow .2s; }
.dmh .dmh-st-layouts button:hover { background: rgba(250,247,241,.1); }
.dmh .dmh-st-layouts button[aria-checked='true'] { background: var(--chalk); color: var(--ink); box-shadow: 0 0 0 2px var(--brass); }
.dmh-st-tile { position: relative; }
.dmh-st-tile svg { display: block; width: 100%; aspect-ratio: 16 / 9; }
.dmh-st-tile .dmh-badge { left: 8px; top: 8px; padding: 2px 6px; font-size: 12px; }
.dmh-st-tile-wall { fill: #3a2e24; } .dmh-st-tile-sofa { fill: #43362b; } .dmh-st-tile-base { fill: #3d3127; }
[aria-checked='true'] .dmh-st-tile-wall { fill: #ece5d8; } [aria-checked='true'] .dmh-st-tile-sofa { fill: #d8d0c1; } [aria-checked='true'] .dmh-st-tile-base { fill: #cfc6b6; }
.dmh-st-tile-txt { display: block; padding: 10px 12px; }
.dmh-st-tile-txt b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.25; }
.dmh-st-tile-txt span { margin-top: 2px; display: block; font-size: 13px; font-variant-numeric: tabular-nums; color: rgba(250,247,241,.65); }
[aria-checked='true'] .dmh-st-tile-txt span { color: #4a443b; }
.dmh-st-styles { margin: 0 -20px; display: flex; gap: 4px; overflow-x: auto; padding: 0 20px 4px; scrollbar-width: none; }
.dmh-st-styles::-webkit-scrollbar { display: none; }
.dmh .dmh-st-styles button { position: relative; height: 40px; flex-shrink: 0; white-space: nowrap; padding: 0 10px; font-size: 14.5px; font-weight: 500; color: rgba(250,247,241,.6); }
.dmh .dmh-st-styles button[aria-checked='true'] { color: var(--chalk); }
.dmh-st-styles button[aria-checked='true']::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px; background: var(--brass); }
.dmh-st-hint { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-radius: 10px; background: rgba(21,20,17,.45); padding: 12px 14px; }
.dmh-st-hint p { font-size: 14px; line-height: 1.375; color: rgba(250,247,241,.8); }
.dmh .dmh-st-fill { flex-shrink: 0; border-radius: 8px; border: 1px solid rgba(197,160,89,.7); padding: 8px 12px; font-size: 13.5px; font-weight: 500; color: #e2c58a; }
.dmh-st-art { margin-top: 12px; columns: 3; column-gap: 8px; }
.dmh .dmh-st-art > button { position: relative; margin-bottom: 8px; display: block; width: 100%; break-inside: avoid; overflow: hidden; border-radius: 2px; }
.dmh .dmh-st-art > button:hover { box-shadow: 0 0 0 1px rgba(250,247,241,.5); }
.dmh .dmh-st-art > button.is-on { box-shadow: 0 0 0 2px var(--brass); }
.dmh-st-art img { display: block; width: 100%; object-fit: cover; transform: scale(1.06); }
.dmh .dmh-st-upload { display: flex; aspect-ratio: 3 / 4; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px dashed rgba(250,247,241,.35) !important; text-align: center; font-size: 13px; font-weight: 500; line-height: 1.25; color: rgba(250,247,241,.9); }
.dmh-st-upload svg { color: var(--brass-soft); }
.dmh-st-finishes { display: flex; flex-direction: column; gap: 8px; }
.dmh .dmh-st-finishes button { display: flex; align-items: center; gap: 14px; border-radius: 10px; padding: 10px 14px 10px 10px; text-align: left; background: rgba(250,247,241,.06); color: var(--chalk); transition: background-color .2s, box-shadow .2s; }
.dmh .dmh-st-finishes button:hover { background: rgba(250,247,241,.1); }
.dmh .dmh-st-finishes button[aria-checked='true'] { background: var(--chalk); color: var(--ink); box-shadow: 0 0 0 2px var(--brass); }
.dmh-st-swatch { position: relative; display: grid; height: 76px; width: 70px; flex-shrink: 0; place-items: center; border-radius: 6px; background: #ece5d8; }
.dmh-st-swatch > span { position: relative; display: block; height: 54px; width: 40px; container-type: inline-size; --mmpx: .3px; --sx: 1; }
.dmh-st-fin-txt { min-width: 0; flex: 1; }
.dmh-st-fin-txt > span { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.dmh-st-fin-txt b { font-size: 15px; font-weight: 600; }
.dmh-st-fin-txt em { flex-shrink: 0; font-style: normal; font-size: 13.5px; font-weight: 500; font-variant-numeric: tabular-nums; color: rgba(250,247,241,.75); }
.dmh-st-fin-txt small { margin-top: 2px; display: block; font-size: 13.5px; line-height: 1.375; color: rgba(250,247,241,.65); }
[aria-checked='true'] .dmh-st-fin-txt em, [aria-checked='true'] .dmh-st-fin-txt small { color: #4a443b; }
.dmh-st-scope { display: grid; grid-template-columns: 1fr 1fr; border-radius: 10px; background: rgba(21,20,17,.45); padding: 4px; }
.dmh .dmh-st-scope button { height: 40px; border-radius: 8px; font-size: 14.5px; font-weight: 500; color: rgba(250,247,241,.75); }
.dmh .dmh-st-scope button[aria-checked='true'] { background: var(--chalk); color: var(--ink); }
.dmh-st-sizehead { margin: 16px 0 12px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.dmh-st-sizehead h3 { font: 600 15px/1.4 var(--sans); }
.dmh-st-sizehead span { font-size: 13px; color: rgba(250,247,241,.65); }
.dmh-st-overall { margin-top: 20px; border-top: 1px solid rgba(250,247,241,.12); padding-top: 16px; }
.dmh-st-overall p:first-child { font-size: 15px; }
.dmh-st-overall b { font-weight: 600; font-variant-numeric: tabular-nums; }
.dmh-st-overall span { color: rgba(250,247,241,.65); font-variant-numeric: tabular-nums; }
.dmh-st-overall p + p { margin-top: 4px; font-size: 14px; color: rgba(250,247,241,.7); }
.dmh-panel-foot { display: contents; }
.dmh-st-spacer { height: 196px; background: var(--plaster); }
@media (min-width: 640px) {
  .dmh-st-rooms, .dmh-st-tools { top: 20px; } .dmh-st-rooms { left: 20px; } .dmh-st-tools { right: 20px; }
  .dmh-st-rooms a { padding-right: 10px; } .dmh-st-rooms a span { display: inline; }
  .dmh .dmh-st-light button { padding: 0 14px; } .dmh .dmh-st-measure { padding: 0 14px; }
  .dmh-st-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .dmh-st-price { right: 20px; bottom: 20px; }
}
@media (min-width: 1024px) {
  /* the site header above is ~152 px until it turns fixed */
  .dmh-studio { display: flex; height: calc(100svh - 152px); min-height: 620px; }
  .dmh-studio-stage { flex: 1; min-width: 0; height: auto; min-height: 0; }
  .dmh-studio-stage .dmh-scene { --zoom: 1.22; --fcy: .46; }
  .dmh-st-rooms { max-width: 60%; }
  .dmh-st-cap { display: none; }
  .dmh-st-foot-cap { display: block; position: absolute; left: 24px; bottom: 24px; z-index: 10; pointer-events: none; font-size: 13px; color: rgba(250,247,241,.85); text-shadow: 0 1px 8px rgba(0,0,0,.55); }
  .dmh-pricepill { gap: 12px; padding: 10px 20px 10px 22px; } .dmh-pricepill strong { font-size: 22px; } .dmh-pricepill s { font-size: 14px; }
  .dmh-panel { display: flex; width: 380px; flex-shrink: 0; flex-direction: column; }
  .dmh-panel-head { padding: 24px 24px 16px; }
  .dmh-panel-head nav { display: block; font-size: 13.5px; color: rgba(250,247,241,.65); }
  .dmh-panel-head nav a:hover { color: var(--chalk); text-decoration: underline; text-underline-offset: 4px; }
  .dmh-panel-head h1 { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; display: block; margin-top: 8px; font-family: var(--serif); font-size: 40px; font-weight: 600; line-height: 1.02; letter-spacing: -0.02em; }
  .dmh-panel-head p { margin-top: 10px; color: rgba(250,247,241,.75); }
  .dmh-dock { position: static; height: auto !important; flex: 1; min-height: 0; border-radius: 0; box-shadow: none; background: none; overflow: visible; }
  .dmh-dock-grip { display: none !important; }
  .dmh-tabs { margin: 0 12px; padding: 0; }
  .dmh-dock .dmh-tabpanel:not([hidden]) { display: block !important; padding: 20px; }
  .dmh-panel-foot { display: block; border-top: 1px solid rgba(250,247,241,.1); padding: 16px 20px 20px; }
  .dmh-actions { position: static; display: flex; flex-direction: column-reverse; height: auto; gap: 8px; border: 0; background: none; padding: 0; }
  .dmh .dmh-cartbtn { width: 100%; height: 52px; flex: none; font-size: 16px; }
  .dmh .dmh-sharebtn { display: flex; height: 44px; width: 100%; gap: 8px; border: 0; border-radius: 8px; font-size: 15px; font-weight: 500; color: rgba(250,247,241,.85); }
  .dmh .dmh-sharebtn:hover { background: rgba(250,247,241,.05); color: var(--chalk); }
  .dmh-sharebtn span { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .dmh-st-spacer { display: none; }
}
@media (min-width: 1280px) { .dmh-panel { width: 400px; } }

/* studio, below the fold: hanging guide, room guidance, FAQ */
.dmh-guide { width: 100%; padding: 64px 16px; color: var(--ink); background-color: #ece5d8;
  background-image: radial-gradient(ellipse at 20% 10%, rgba(255,255,255,.45), transparent 55%), radial-gradient(ellipse at 85% 90%, rgba(201,186,160,.35), transparent 60%); }
@media (min-width: 640px) { .dmh-guide { padding: 64px 32px; } }
@media (min-width: 1024px) { .dmh-guide { padding: 96px 32px; } }
.dmh-guide-in { max-width: 1200px; margin: 0 auto; }
.dmh-guide h2 { max-width: 640px; font-family: var(--serif); font-size: 40px; font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; }
@media (min-width: 640px) { .dmh-guide h2 { font-size: 56px; } }
.dmh-guide-lede { margin-top: 16px; max-width: 58ch; font-size: 17px; line-height: 1.55; color: #332f27; }
.dmh-rules { margin-top: 48px; display: grid; gap: 40px; }
@media (min-width: 640px) { .dmh-rules { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.dmh-rules li > div { border-radius: 10px; background: var(--chalk); padding: 20px; box-shadow: 0 1px 0 rgba(43,33,24,.06), 0 12px 30px rgba(43,33,24,.06); }
.dmh-rules svg { display: block; width: 100%; height: auto; }
.dmh-rules h3 { margin-top: 20px; font: 600 19px/1.4 var(--sans); }
.dmh-rules p { margin-top: 6px; max-width: 42ch; font-size: 16px; line-height: 1.55; color: #332f27; }
.dmh-trustrow { margin-top: 64px; display: flex; flex-wrap: wrap; gap: 16px 40px; border-top: 1px solid rgba(21,20,17,.12); padding-top: 32px; }
.dmh-trustrow li { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; }
.dmh-trustrow svg { color: var(--brass-deep); }
.dmh-roomcopy { background: var(--chalk); color: var(--ink); }
.dmh-roomcopy-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .dmh-roomcopy-grid { grid-template-columns: 7fr 5fr; gap: 72px; } }
.dmh-prose h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; line-height: 1.08; font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 18px; }
.dmh-prose h3 { font: 600 19px/1.4 var(--sans); margin: 24px 0 8px; }
.dmh-prose p, .dmh-prose li { max-width: 62ch; color: var(--muted); font-size: 17px; }
.dmh-prose p + p { margin-top: 14px; }
.dmh-prose ul { list-style: disc; padding-left: 1.2em; margin-top: 12px; }
.dmh-prose a { text-decoration: underline; text-underline-offset: 4px; color: var(--indigo); }
.dmh-hubs h2 { font: 600 19px/1.4 var(--sans); margin-bottom: 14px; }
.dmh-hubs ul { border-top: 1px solid rgba(43,33,24,.2); }
.dmh-hubs li { border-bottom: 1px solid rgba(43,33,24,.2); }
.dmh-hubs a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 17px; font-weight: 500; }
.dmh-hubs a:hover { color: var(--indigo); }

/* ---- Studio interaction states (studio.js) ---------------------------------- */
.dmh-studio-stage .dmh-slot.is-leaving { pointer-events: none; }
/* selection ring as a pseudo-element: the site's global button outline resets cannot remove it */
.dmh-studio-stage .dmh-pc.is-sel::after { content: ''; position: absolute; inset: -6px; border: 2px solid var(--brass); border-radius: 3px; box-shadow: 0 0 0 1px rgba(21,20,17,.35); pointer-events: none; }
.dmh .dmh-pc .dmh-pc-img { opacity: 1; }
.dmh-slot-err { position: absolute; left: 50%; top: 100%; z-index: 4; transform: translate(-50%, 8px); width: max-content; max-width: 200px;
  padding: 6px 8px; border-radius: 6px; background: #b4443a; color: var(--chalk); font: 500 12.5px/1.35 var(--sans); text-align: center; pointer-events: none; }
.dmh-slot-q { position: absolute; right: 4px; bottom: 4px; z-index: 3; padding: 2px 6px; border-radius: 2px; font: 600 11.5px/1.4 var(--sans); pointer-events: none; }
.dmh-q--excellent { background: #2f5b3a; color: var(--chalk); } .dmh-q--good { background: #3d5f45; color: var(--chalk); }
.dmh-q--acceptable { background: var(--brass); color: var(--ink); } .dmh-q--low { background: #b4443a; color: var(--chalk); }
[data-decor-price].is-loading .dmh-pricepill { opacity: .72; transition: opacity .2s; }

/* selected-piece callout */
.dmh-callout { position: absolute; z-index: 20; max-width: calc(100% - 24px); border-radius: 10px; background: var(--chalk); color: var(--ink); padding: 14px;
  box-shadow: 0 18px 40px rgba(43,33,24,.35), 0 2px 6px rgba(43,33,24,.2); transform: translateY(-100%); animation: dmh-pop .22s var(--ease); }
.dmh-callout.is-below { transform: none; }
@keyframes dmh-pop { from { opacity: 0; } }
.dmh-callout-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.dmh-callout-head > div { min-width: 0; }
.dmh-callout-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 600; line-height: 1.25; }
.dmh-callout-meta { margin-top: 4px; font-size: 13.5px; line-height: 1.4; color: #4a443b; }
.dmh .dmh-callout-x { display: grid; height: 32px; width: 32px; flex-shrink: 0; margin: -4px -4px 0 0; place-items: center; border-radius: 6px; color: #4a443b; }
.dmh .dmh-callout-x:hover { background: rgba(21,20,17,.05); }
.dmh-callout-acts { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dmh .dmh-callout-acts button { display: flex; height: 40px; align-items: center; justify-content: center; gap: 6px; border-radius: 6px; font-size: 14px; font-weight: 500; }
.dmh .dmh-callout-art { background: var(--ink); color: var(--chalk); }
.dmh .dmh-callout-art:hover { background: var(--teak); }
.dmh .dmh-callout-photo { border: 1px solid rgba(21,20,17,.2); }
.dmh .dmh-callout-photo:hover { border-color: rgba(21,20,17,.45); }
.dmh .dmh-callout :focus-visible { outline-color: var(--brass-deep); }

/* mobile dock as a sheet */
.dmh-scrim { position: fixed; inset: 0; z-index: 39; background: rgba(21,20,17,.25); }
@media (min-width: 1024px) { .dmh-scrim { display: none; } }

/* add to cart */
.dmh .dmh-cartbtn:disabled { opacity: .55; cursor: not-allowed; }
.dmh .dmh-cartbtn[aria-busy='true'] { opacity: 1; cursor: progress; }
.dmh-spin { height: 16px; width: 16px; border-radius: 50%; border: 2px solid rgba(21,20,17,.3); border-top-color: var(--ink); animation: dmh-spin .8s linear infinite; }
@keyframes dmh-spin { to { transform: rotate(360deg); } }

/* finish, frames, size and art extras */
.dmh .dmh-st-finishes button:disabled { opacity: .5; cursor: not-allowed; }
.dmh-st-frames { margin-top: 20px; }
.dmh-st-frames [role='radiogroup'] { display: flex; flex-wrap: wrap; gap: 10px; }
.dmh .dmh-st-frames button { display: flex; height: 44px; align-items: center; gap: 8px; border-radius: 8px; border: 1px solid rgba(250,247,241,.18); padding: 0 12px; font-size: 14px; font-weight: 500; color: rgba(250,247,241,.8); }
.dmh .dmh-st-frames button:hover { border-color: rgba(250,247,241,.4); }
.dmh .dmh-st-frames button[aria-checked='true'] { border-color: var(--brass); background: rgba(197,160,89,.12); color: var(--chalk); }
.dmh-fr-sw { height: 20px; width: 20px; border-radius: 2px; background: #1a1816 center / cover; box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.dmh-st-sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dmh .dmh-st-sizes button { border-radius: 8px; padding: 10px 8px; text-align: center; background: rgba(250,247,241,.06); color: var(--chalk); }
.dmh .dmh-st-sizes button:hover { background: rgba(250,247,241,.1); }
.dmh .dmh-st-sizes button[aria-checked='true'] { background: var(--chalk); color: var(--ink); box-shadow: 0 0 0 2px var(--brass); }
.dmh-st-sizes b { display: block; font-size: 14.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.dmh-st-sizes span { display: block; font-size: 12.5px; font-variant-numeric: tabular-nums; opacity: .65; }
.dmh .dmh-st-art > button.is-on::after { content: '\2713'; position: absolute; right: 4px; bottom: 4px; display: grid; height: 20px; width: 20px; place-items: center;
  border-radius: 50%; background: var(--brass); color: var(--ink); font: 700 12px/1 var(--sans); }
.dmh .dmh-st-more { margin: 4px 0 8px; width: 100%; height: 44px; border-radius: 8px; border: 1px solid rgba(250,247,241,.18); font-size: 14.5px; font-weight: 500; color: var(--chalk); }
.dmh .dmh-st-more:hover { border-color: rgba(250,247,241,.4); }

/* toast */
.dmh-toast { position: fixed; left: 50%; top: 16px; z-index: 1000001; max-width: min(460px, calc(100% - 32px)); transform: translate(-50%, -8px); opacity: 0; pointer-events: none;
  border-radius: 10px; background: var(--chalk); color: var(--ink); padding: 12px 16px; font-size: 14.5px; box-shadow: 0 16px 40px rgba(21,14,8,.35); transition: opacity .2s, transform .2s; }
.dmh-toast:empty { display: none; }
.dmh-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* crop and share dialogs: a bottom sheet on phones, a centred card from 640 px */
.dmh.dmh-modal { position: fixed; inset: 0; z-index: 1000000; display: flex; align-items: flex-end; justify-content: center; width: auto; background: none; }
@media (min-width: 640px) { .dmh.dmh-modal { align-items: center; } }
.dmh-modal-scrim { position: absolute; inset: 0; background: rgba(21,20,17,.6); opacity: 0; transition: opacity .2s; }
.dmh-sheet { position: relative; width: 100%; max-height: 92svh; overflow-y: auto; border-radius: 14px 14px 0 0; background: var(--chalk); color: var(--ink); padding: 20px;
  box-shadow: 0 30px 80px rgba(21,14,8,.5); transform: translateY(40px); opacity: 0; transition: transform .3s var(--ease), opacity .3s var(--ease); outline: none; }
@media (min-width: 640px) { .dmh-sheet { width: 440px; border-radius: 10px; padding: 24px; } }
.dmh-modal.is-in .dmh-modal-scrim { opacity: 1; }
.dmh-modal.is-in .dmh-sheet { transform: none; opacity: 1; }
.dmh-sheet :focus-visible { outline-color: var(--brass-deep); }
.dmh-sheet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.dmh-sheet-head h2 { font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
.dmh-sheet-head p { margin-top: 4px; font-size: 15px; color: #4a443b; }
.dmh .dmh-x { display: grid; height: 40px; width: 40px; flex-shrink: 0; place-items: center; border-radius: 8px; }
.dmh .dmh-x:hover { background: rgba(21,20,17,.05); }
.dmh .dmh-drop { margin-top: 20px; display: flex; width: 100%; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border-radius: 10px;
  border: 1px dashed rgba(21,20,17,.3); background: rgba(236,229,216,.6); padding: 40px 24px; text-align: center; }
.dmh .dmh-drop:hover { border-color: var(--brass-deep); }
.dmh-drop svg { color: var(--brass-deep); }
.dmh-drop b { font-size: 16px; font-weight: 600; }
.dmh-drop span { font-size: 14px; color: #4a443b; }
.dmh-cropbox { position: relative; margin: 20px auto 0; width: 100%; max-width: 300px; overflow: hidden; border-radius: 2px; background: var(--ink);
  box-shadow: 0 12px 30px rgba(43,33,24,.25); }
.dmh-cropbox img { display: block; max-width: 100%; }
.dmh-cropbox .cropper-view-box { outline: 2px solid var(--brass); outline-color: var(--brass); }
.dmh-crop-tools { margin-top: 16px; display: flex; align-items: center; gap: 12px; }
.dmh-crop-tools label { font-size: 14px; font-weight: 500; }
.dmh-crop-tools input { flex: 1; min-width: 0; accent-color: var(--brass-deep); }
.dmh-nudge { display: flex; gap: 4px; }
.dmh .dmh-nudge button { display: grid; height: 36px; width: 36px; place-items: center; border-radius: 6px; border: 1px solid rgba(21,20,17,.15); font-size: 15px; }
.dmh .dmh-nudge button:hover { border-color: rgba(21,20,17,.4); }
.dmh-progress { margin-top: 14px; display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #4a443b; }
.dmh-progress > span { flex: 1; height: 4px; overflow: hidden; border-radius: 999px; background: rgba(21,20,17,.12); }
.dmh-progress i { display: block; height: 100%; width: 0; background: var(--brass-deep); transition: width .2s; }
.dmh-progress em { font-style: normal; white-space: nowrap; }
.dmh-quality { margin-top: 16px; display: flex; align-items: flex-start; gap: 12px; border-radius: 10px; background: var(--plaster); padding: 14px; }
.dmh-quality b { flex-shrink: 0; border-radius: 2px; padding: 4px 8px; font-size: 13px; font-weight: 600; }
.dmh-quality p { font-size: 14px; line-height: 1.4; color: #332f27; }
.dmh-sheet-acts { margin-top: 20px; display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.dmh-sheet-acts--stack { grid-template-columns: 1fr; }
.dmh .dmh-btn-line, .dmh .dmh-btn-gold, .dmh .dmh-btn-ink2 { display: flex; height: 48px; align-items: center; justify-content: center; gap: 8px; border-radius: 8px; padding: 0 16px; font-size: 15px; font-weight: 500; }
.dmh .dmh-btn-line { border: 1px solid rgba(21,20,17,.2); }
.dmh .dmh-btn-line:hover { border-color: rgba(21,20,17,.45); }
.dmh .dmh-btn-gold { background: var(--brass); color: var(--ink); font-weight: 600; }
.dmh .dmh-btn-gold:hover { background: #d2ae69; }
.dmh .dmh-btn-gold:disabled { opacity: .6; cursor: progress; }
.dmh .dmh-btn-ink2 { background: var(--ink); color: var(--chalk); font-weight: 600; }
.dmh .dmh-btn-ink2:hover { background: var(--teak); color: var(--chalk); }
.dmh-sheet-err { margin-top: 12px; font-size: 14px; color: #b4443a; }
.dmh-share-prev { margin-top: 20px; border-radius: 10px; background: #e7dfcf; padding: 12px; }
.dmh-share-prev > div { margin-left: auto; max-width: 300px; overflow: hidden; border-radius: 8px; background: #dcf3cf; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.dmh-share-prev img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.dmh-share-prev p { padding: 8px 12px 10px; font-size: 14.5px; line-height: 1.4; }
.dmh-share-link { margin-top: 4px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--indigo); text-decoration: underline; }
body:has(.dmh-modal:not([hidden])) .watsapp_btn, body:has(.dmh-modal:not([hidden])) #ppChatbot.pp-chatbot { display: none !important; }

.dmh-callout-meta { white-space: pre-line; }
/* every gap: a short indigo line in each gap, each distinct size labelled once */
.dmh-dim-g::before, .dmh-dim-g::after { display: none; }
.dmh-dim-h.dmh-dim-g { transform: translateY(-50%); }
.dmh-dim-v.dmh-dim-g { transform: translateX(-50%); }
.dmh-dim-g .dmh-dim-label { font-size: 12px; padding: 4px 6px; }
.dmh-dim-h.dmh-dim-g .dmh-dim-label { left: 50%; top: 0; transform: translate(-50%, 10px); }
.dmh-dim-v.dmh-dim-g .dmh-dim-label { top: 50%; left: 0; transform: translate(10px, -50%); }
/* product options (edge, bar depth, thickness) */
.dmh-st-opts { margin-top: 20px; display: grid; gap: 16px; }
.dmh-st-opt [role='radiogroup'] { display: flex; flex-wrap: wrap; gap: 8px; }
.dmh .dmh-st-opt button { height: 40px; border-radius: 8px; border: 1px solid rgba(250,247,241,.18); padding: 0 12px; font-size: 14px; font-weight: 500; color: rgba(250,247,241,.8); }
.dmh .dmh-st-opt button:hover { border-color: rgba(250,247,241,.4); }
.dmh .dmh-st-opt button[aria-checked='true'] { border-color: var(--brass); background: rgba(197,160,89,.12); color: var(--chalk); }

@media (prefers-reduced-motion: reduce) {
  .dmh *, .dmh *::before, .dmh *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
  .dmh-roomlayer, .dmh-artlayer { transform: none !important; }
}

/* ---- Site floating launchers (WhatsApp .watsapp_btn, AI #ppChatbot) clear the decor CTAs ---- */
/* studio mobile: above the 60 px site nav, 64 px action bar, 76 px dock and the stage price pill */
@media (max-width: 1023px) {
  body:has(.dmh-studio) .watsapp_btn { bottom: calc(268px + env(safe-area-inset-bottom, 0px)) !important; }
  body:has(.dmh-studio) #ppChatbot.pp-chatbot { bottom: calc(332px + env(safe-area-inset-bottom, 0px)) !important; }
  body:has(.dmh-dock.is-half) .watsapp_btn, body:has(.dmh-dock.is-full) .watsapp_btn,
  body:has(.dmh-dock.is-half) #ppChatbot.pp-chatbot, body:has(.dmh-dock.is-full) #ppChatbot.pp-chatbot { display: none !important; }
}
/* studio desktop: keep them over the stage, left of the 380/400 px panel and above the price pill */
@media (min-width: 1024px) {
  body:has(.dmh-studio) .watsapp_btn, body:has(.dmh-studio) #ppChatbot.pp-chatbot { right: 396px !important; }
  /* and above the stage's price pill */
  body:has(.dmh-studio) .watsapp_btn { bottom: 96px !important; }
  body:has(.dmh-studio) #ppChatbot.pp-chatbot { bottom: 160px !important; }
}
@media (min-width: 1280px) {
  body:has(.dmh-studio) .watsapp_btn, body:has(.dmh-studio) #ppChatbot.pp-chatbot { right: 416px !important; }
}
/* gallery-wall drawer is a modal: hide them while it is open */
body:has(.dmh-drawer-root:not([hidden])) .watsapp_btn, body:has(.dmh-drawer-root:not([hidden])) #ppChatbot.pp-chatbot { display: none !important; }
