/* Interactive room study */
.studio{display:grid;grid-template-columns:minmax(270px,.75fr) minmax(0,1.65fr);gap:clamp(22px,3.3vw,68px);align-items:center;padding:clamp(22px,3.3vw,55px) var(--edge);max-width:1800px;margin:auto}
.studio-intro{min-width:0}.studio-kicker{display:flex;align-items:center;gap:10px;color:#7f2531;font-weight:800;font-size:.88rem}.studio-kicker i{width:23px;height:2px;background:#cc1738}#studio-heading{font-size:clamp(3.4rem,4.8vw,6.3rem);line-height:1.14;letter-spacing:-.055em;margin:22px 0 10px;font-weight:800}#studio-heading em{font-style:normal;color:#aa2537}.studio-intro p,.design-bar p{color:#595850;line-height:1.7;margin:0}.studio-intro p{max-width:36ch}.mode-label{font-weight:700;margin:22px 0 6px}.scene-modes,.brief-samples{display:flex;flex-wrap:wrap;gap:7px}.scene-modes button{border-radius:24px;border:1px solid #c9c5b8;color:#373833;padding:7px 14px;background:#fff;font-weight:700;font-size:.95rem;min-height:42px}.scene-modes [aria-pressed=true]{background:#292b25;color:#fff;border-color:#292b25}.studio-cta{display:inline-flex;align-items:center;justify-content:space-between;gap:21px;padding:7px 0;color:#9e1d34;font-weight:800;border-bottom:1px solid #c68089;margin-top:16px}.studio-visual{min-width:0;background:#23241f;color:#fff;border-radius:5px;overflow:hidden}
.room-frame{position:relative;aspect-ratio:3 / 2;isolation:isolate;direction:ltr;background:#423d36}
.room-lighting,.room-lighting::after{position:absolute;inset:0;background-position:center;background-size:100% 100%;background-repeat:no-repeat;pointer-events:none}
.room-lighting{background-image:url(assets/amman-daylight.webp)}
@property --track-power{syntax:"<number>";inherits:false;initial-value:1}
@property --shelf-power{syntax:"<number>";inherits:false;initial-value:1}
.room-lighting::after{
  content:"";
  background-image:url(assets/amman-studio.webp);
  /* The solid inner ellipse includes every shelf emitter. Its feather follows the indirect spill on adjacent surfaces. */
  --zone-mask:radial-gradient(ellipse 32% 61% at 84% 43%,rgba(0,0,0,var(--shelf-power)) 76%,rgba(0,0,0,var(--track-power)) 125%);
  -webkit-mask-image:var(--zone-mask);mask-image:var(--zone-mask);
  opacity:var(--lamp-output,1);
  transition:--track-power .3s ease,--shelf-power .3s ease,opacity .3s ease
}
.room-frame[data-track=off] .room-lighting::after{--track-power:0}
.room-frame[data-shelf=off] .room-lighting::after{--shelf-power:0}
.switchboard{padding:12px clamp(12px,2vw,24px) 15px;background:#24251f;color:#f6f4e9}
.switchboard-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
#room-caption{font-size:.9rem}.room-power{display:inline-flex;align-items:center;gap:6px;color:#e8d0a5;min-height:36px;padding:2px 5px;font-size:.88rem}
.room-power span{font:19px Arial}.room-power:hover b{text-decoration:underline}
.zone-switches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.zone-switches button{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;padding:9px 12px;border:1px solid #55564c;border-radius:5px;background:#30312a;color:#efeee7;font-weight:700;font-size:.96rem}
.zone-switches button[aria-checked=true]{background:#39372e;border-color:#807455}
.zone-switches i{order:1;flex:0 0 34px;width:34px;height:20px;display:block;border-radius:20px;background:#686a61;position:relative}
.zone-switches i:after{content:"";position:absolute;left:3px;top:3px;width:14px;height:14px;border-radius:50%;background:#f6f4ec;transition:transform .2s}
.zone-switches [aria-checked=true] i{background:#ebc489}.zone-switches [aria-checked=true] i:after{transform:translateX(14px);background:#38362f}
.light-pin{position:absolute;z-index:4;width:42px;height:42px;border:1px solid white;background:#292722bc;border-radius:50%;color:white;font:300 25px/1 Arial;box-shadow:0 0 0 5px #fff3;display:grid;place-items:center}.light-pin:hover,.light-pin:focus-visible{background:#a72639}.light-pin.track{left:39%;top:13%}.light-pin.shelf{left:76%;top:42%}.design-bar{margin:0 auto clamp(24px,4vw,54px);max-width:1800px;padding:clamp(19px,2.1vw,37px) var(--edge);background:#eeece4;display:grid;grid-template-columns:.8fr 1.3fr;gap:12px clamp(20px,5vw,80px);align-items:center;scroll-margin-top:85px}.design-bar h2{font-size:clamp(1.85rem,2.8vw,3.2rem);margin:.22em 0 0;line-height:1.23}.design-controls{min-width:0}.design-controls form{display:flex;border:1px solid #bab7aa;background:white;border-radius:5px;overflow:hidden;padding:5px;gap:4px}.design-controls input{border:0;background:transparent;min-width:0;width:100%;padding:7px 11px}.design-controls form button{border-radius:3px;background:#a71e35;color:white;font-weight:700;white-space:nowrap;padding:9px 17px}.brief-samples{align-items:center;margin-top:7px;color:#656158;font-size:.85rem}.brief-samples button{color:#5b554d;font-size:.85rem;padding:3px 5px;text-decoration:underline;text-underline-offset:3px}.sr-studio{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#design-result{grid-column:1/-1;background:#fffcf6;border:1px solid #d8d2c5;padding:18px;border-radius:6px}#design-result h3{margin:0 0 4px}.design-picks{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(195px,100%),1fr));gap:10px;margin-top:12px}.studio-product{display:flex;align-items:center;min-width:0;gap:11px;color:#292921;background:white;padding:9px;border:1px solid #e2dfd5;border-radius:5px;line-height:1.45}.studio-product img{width:66px;height:66px;object-fit:contain;background:#f5f3eb;border-radius:4px}.studio-product b,.studio-product small{display:block;overflow-wrap:anywhere}.studio-product small{color:#92283c}.studio-product .reason{font-size:.85rem;color:#57564e}.plan-view{display:inline-block;text-decoration:underline;margin-top:12px;color:#8b2235}.studio-pop{width:min(425px,calc(100vw - 30px));border-radius:8px;border:0;background:#fbfaf5;padding:18px;max-height:85dvh;overflow:auto}.studio-pop::backdrop{background:#12140ec9}.pin-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:8px}.pin-head button{font:26px Arial;width:44px;height:44px;border-radius:50%;border:1px solid #b7b2aa}.preview-bag{min-height:60vh}.bag-line{display:flex;align-items:center;flex-wrap:wrap;gap:12px;border-bottom:1px solid #dcd9d0;padding:13px 0}.bag-line img{width:65px;height:65px;object-fit:contain}.bag-line div{flex:1 1 170px;overflow-wrap:anywhere}.bag-line small{display:block}.bag-line button{text-decoration:underline}.bag-line input{width:65px;padding:4px}.preview-bag #bag-total{font-weight:800;margin:16px 0}.preview-bag #order-status{margin:12px 0}
@media(max-width:890px){.studio{grid-template-columns:minmax(225px,.74fr) minmax(0,1fr)}#studio-heading{font-size:3.45rem}.studio-intro p{font-size:.96rem}.design-bar{grid-template-columns:.8fr 1.2fr;gap:16px}.studio-cta{font-size:.91rem}}
@media(max-width:670px){.studio{display:flex;flex-direction:column;align-items:stretch;gap:16px;padding-top:20px}.studio-intro{display:grid;grid-template-columns:1fr;gap:0}#studio-heading{font-size:clamp(2.7rem,8vw,3.7rem);margin:7px 0}#studio-heading br{display:none}#studio-heading em::before{content:" "}.studio-intro p{max-width:100%}.mode-label{margin:12px 0 4px;font-size:.88rem}.scene-modes button{padding:5px 13px}.studio-cta{width:fit-content;margin-top:6px}.light-pin{width:37px;height:37px}.design-bar{grid-template-columns:1fr}.design-controls form button{padding:8px 11px}.design-bar p{font-size:.94rem}.design-bar,.studio{overflow-wrap:break-word}}
@media(max-width:375px){.design-controls form{flex-wrap:wrap}.design-controls form button{width:100%}.scene-modes{gap:4px}}
@media(prefers-reduced-motion:reduce){.room-lighting::after,.zone-switches i:after{transition:none}}
