/* B layout: actual hand video at the original portrait scale, with space above the form. */
#consultation.reference-consultation .reference-scene{--consultant-video-top:-5.9cqw;background:linear-gradient(90deg,#ffffff55,transparent 72%),url('assets/consultant-hand-poster.webp') left var(--consultant-video-top)/100% auto no-repeat;background-color:#f1ede6}
#consultation.reference-consultation .consultant-motion-layer{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0}
#consultation.reference-consultation .consultant-motion-layer:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#ffffff55,transparent 72%);pointer-events:none}
#consultation.reference-consultation .consultant-hand-video{position:absolute;top:var(--consultant-video-top);left:0;width:100%;height:auto;aspect-ratio:9/16;display:block;pointer-events:none}
#consultation.reference-consultation .consultant-hand-video[hidden]{display:none}
#consultation.reference-consultation .consultant-motion-portrait{position:absolute;left:24%;top:calc(var(--consultant-video-top) + 20.8cqw);width:76%;height:81.3cqw;pointer-events:none}
#consultation.reference-consultation .consultant-gesture-space{height:22cqw;pointer-events:none}
#consultation.reference-consultation .consultant-motion-toggle{position:absolute;top:2%;right:2%;display:grid;place-items:center;width:32px;height:32px;min-width:32px;min-height:32px;padding:0;border:1px solid #b18c59;border-radius:50%;background:#fffdf9e8;color:#05234d;font:700 17px/1 Arial,sans-serif;cursor:pointer;pointer-events:auto;z-index:2}
#consultation.reference-consultation .consultant-motion-toggle[hidden]{display:none}
#consultation.reference-consultation .consultant-motion-toggle:focus-visible{outline:3px solid #b08a4f;outline-offset:3px}
#consultation.reference-consultation .reference-scene>.reference-brand,
#consultation.reference-consultation .reference-scene>.consult-intro,
#consultation.reference-consultation .reference-scene>.consult-form,
#consultation.reference-consultation .reference-scene>.reference-benefits{position:relative;z-index:1}
@media(prefers-reduced-motion:reduce){#consultation.reference-consultation .consultant-motion-toggle{display:none}}

/* Continue the existing room backdrop into any responsive space above the video. */
#consultation.reference-consultation .reference-scene:before{content:'';position:absolute;top:0;left:0;right:0;height:max(0px,var(--consultant-video-top));background:linear-gradient(90deg,#ffffff55,transparent 72%),url('assets/consultant-hand-poster.webp') left top/100% auto no-repeat;transform:scaleY(-1);pointer-events:none;z-index:0}
