.project-studio{padding:48px 0;background:#fafaf8;scroll-margin-top:72px;color:#202827}
.project-studio .container{max-width:1120px}
.studio-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:24px}
.studio-eyebrow{font-size:11px;font-weight:600;letter-spacing:.13em;text-transform:uppercase;color:#005bb8;margin:0 0 12px}
.studio-heading h2{font-size:clamp(26px,2.6vw,38px);letter-spacing:-1.3px;line-height:1.12;max-width:560px;font-weight:600}
.studio-heading h2 span{color:#7a8382}
.studio-heading>p{font-size:13px;line-height:1.6;color:#6a7473;flex-shrink:0}
.studio-layout{display:grid;grid-template-columns:1.15fr 1fr;gap:0;border:1px solid #e1e6e3;border-radius:22px;background:#fff;overflow:hidden}
.studio-visual{background:radial-gradient(ellipse at 50% 40%,#fff 10%,#f0f3ed 90%);padding:20px 22px 16px;min-width:0}
.studio-visual__top{display:flex;justify-content:space-between;gap:12px;font-size:10px;letter-spacing:.07em;color:#65746d}
.studio-model-view{height:275px;position:relative;perspective:1000px;display:grid;place-items:center}
.studio-model{width:300px;height:230px;transform-style:preserve-3d;transform:translateY(23px) scale(.86) rotateX(57deg) rotateZ(var(--studio-angle,-32deg));transition:transform .3s ease}
.studio-floor{position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0 49px,#dce0d650 49px 50px),repeating-linear-gradient(0deg,#eeeae0 0 45px,#d7d8ce 45px 46px);border:1px solid #cbd0c4;transform-style:preserve-3d;box-shadow:10px 18px 0 #d6dacf,22px 36px 35px #59664c22;transition:background .6s}
.studio-wall{position:absolute;background:#f7f6ef;transform-style:preserve-3d;box-shadow:inset 0 0 0 1px #d0d6cb;transition:transform .7s,opacity .7s}
.studio-wall--back{width:300px;height:110px;left:0;top:-110px;transform-origin:bottom;transform:rotateX(-90deg);background:linear-gradient(#fafbf5,#e8ece2)}
.studio-wall--left{width:110px;height:230px;left:-110px;top:0;transform-origin:right;transform:rotateY(90deg);background:linear-gradient(90deg,#e0e5d9,#eff1e9)}
.studio-window{position:absolute;width:144px;height:66px;left:90px;top:17px;display:flex;gap:3px;padding:4px;background:#869b97;box-shadow:0 3px 0 #d5ddd2}
.studio-window i{flex:1;background:linear-gradient(145deg,#c5e0e2,#eef4ed 65%,#b6c8ae 66%)}
.studio-panel{position:absolute;width:30px;height:44px;left:20px;top:48px;background:#e6ebe9;border:2px solid #9aa9a3;display:flex;gap:3px;align-items:center;justify-content:center;opacity:0;transition:opacity .5s,transform .6s;transform:translateY(-20px)}
.studio-panel span{height:16px;width:5px;background:#798d87;border-top:4px solid #3b544b}
.studio-wall-art{position:absolute;inset:60px 24px 60px 22px;border:4px solid #b0ad97;background:linear-gradient(140deg,#dee2d0,#fff8df)}
.studio-partition{position:absolute;width:95px;height:50px;left:205px;top:90px;background:#e3e7dc;transform-origin:top;transform:rotateX(-90deg);box-shadow:inset 0 0 0 1px #c7cfc0;transition:transform .7s}
.studio-room-label{position:absolute;bottom:13px;left:21px;font-size:8px;letter-spacing:1px;color:#6c7867}
.studio-rug{position:absolute;left:66px;top:71px;width:108px;height:85px;background:repeating-linear-gradient(0deg,#b8b5a5 0 2px,#c8c6b7 2px 4px);border:5px solid #d4d0c0;opacity:.8}
.studio-table{position:absolute;left:98px;top:91px;width:53px;height:47px;border-radius:4px;background:#e1c9a6;transform:translateZ(22px);box-shadow:4px 6px 0 #ac977b,8px 12px 12px #5c4e3722}
.studio-measure{position:absolute;inset:-14px;border-top:1px dashed #4690b1;border-right:1px dashed #4690b1;opacity:0;transition:opacity .4s}
.studio-measure span{position:absolute;top:-17px;left:90px;font-size:10px;color:#3f7f96}
.studio-survey{position:absolute;inset:0;background:linear-gradient(90deg,transparent,#62b2dd44,transparent);width:30%;opacity:0}
.studio-planning,.studio-wiring{position:absolute;inset:0;transform:translateZ(3px);opacity:0;transition:opacity .5s}
.studio-planning svg,.studio-wiring svg{width:100%;height:100%;overflow:visible;color:#2784b3}
.studio-planning circle{stroke:currentColor}
.studio-conduit{stroke:#2685b2;stroke-width:3;stroke-linejoin:round;stroke-dasharray:1000;stroke-dashoffset:1000;transition:stroke-dashoffset 1.3s ease,stroke .5s}
.studio-outlets{fill:#f4fafb;stroke:#2685b2;stroke-width:2}
.studio-fixture{position:absolute;width:14px;height:14px;border-radius:50%;background:#f1f0e5;border:2px solid #acb4a8;transform:translateZ(65px);opacity:0;transition:opacity .5s,box-shadow .6s,background .6s}
.studio-fixture--one{left:83px;top:55px}.studio-fixture--two{left:222px;top:85px}
.studio-light-strip{position:absolute;top:8px;left:5%;width:90%;height:3px;background:#bec9b7;transition:background .6s,box-shadow .6s}
.studio-crate{position:absolute;right:15px;bottom:30px;width:40px;height:33px;background:#c9b495;box-shadow:4px 5px 0 #9e896f;transform:translateZ(14px);display:grid;place-items:center;opacity:0;transition:opacity .5s}
.studio-crate span{font-size:8px;color:#584c3b}
.studio-test-mark{position:absolute;right:48px;top:140px;transform:translateZ(22px);width:32px;height:32px;border-radius:50%;background:#2a8d67;color:#fff;display:grid;place-items:center;font-size:20px;opacity:0;transition:opacity .5s}
.project-studio[data-step="1"] .studio-measure{opacity:1}
.project-studio[data-step="1"] .studio-survey{opacity:1;animation:studio-survey 2s ease-in-out 2 alternate}
@keyframes studio-survey{from{left:0}to{left:70%}}
.project-studio[data-step="2"] .studio-planning{opacity:1}
.project-studio[data-step="2"] .studio-rug,.project-studio[data-step="2"] .studio-table{opacity:.2}
.project-studio[data-step="3"] .studio-crate{opacity:1}
.project-studio:is([data-step="3"],[data-step="4"],[data-step="5"],[data-step="6"]) .studio-panel{opacity:1;transform:translateY(0)}
.project-studio:is([data-step="4"],[data-step="5"],[data-step="6"]) .studio-wiring,.project-studio:is([data-step="4"],[data-step="5"],[data-step="6"]) .studio-fixture{opacity:1}
.project-studio:is([data-step="4"],[data-step="5"],[data-step="6"]) .studio-conduit{stroke-dashoffset:0}
.project-studio:is([data-step="5"],[data-step="6"]) .studio-test-mark{opacity:1}
.project-studio[data-step="5"] .studio-conduit{stroke:#2a8d67}
.project-studio[data-step="6"] .studio-light-strip{background:#fff3bb;box-shadow:0 8px 18px 7px #ffd26966}
.project-studio[data-step="6"] .studio-fixture{background:#fff7ce;box-shadow:0 0 20px 8px #ffdf7d88}
.project-studio[data-step="6"] .studio-floor{background:#f4ead2}
.project-studio[data-step="6"] .studio-wiring{opacity:.22}
.project-studio.is-exploded .studio-wall--back{transform:translateZ(48px) rotateX(-90deg);opacity:.7}
.project-studio.is-exploded .studio-wall--left{transform:translateZ(48px) rotateY(90deg);opacity:.7}
.project-studio.is-exploded .studio-partition{transform:translateZ(48px) rotateX(-90deg)}
/* ---- Studio enhancements: furniture, wall thickness, accessories, labels, evening handover ---- */
.studio-wall--back{border-top:4px solid #d3d9cd;box-shadow:inset 0 0 0 1px #d0d6cb,inset 0 -5px 0 #dfe3d8}
.studio-wall--left{border-left:4px solid #cad1c3;box-shadow:inset 0 0 0 1px #d0d6cb,inset -5px 0 0 #d8ddd1}
.studio-sofa{position:absolute;left:62px;top:14px;width:112px;height:30px;border-radius:5px;background:linear-gradient(#c3ccd0,#b1bbc0);transform:translateZ(12px);box-shadow:3px 5px 0 #8c989e,7px 11px 12px #3d4a4f26;transition:opacity .5s}
.studio-sofa i{position:absolute;left:4px;right:4px;top:3px;height:9px;border-radius:3px;background:#9eabb1}
.studio-plant{position:absolute;left:262px;top:16px;width:16px;height:16px;border-radius:3px;background:#c7ad88;transform:translateZ(10px);transform-style:preserve-3d;box-shadow:2px 3px 0 #9c8466,5px 8px 8px #3e4a3322;transition:opacity .5s}
.studio-plant:before{content:'';position:absolute;left:-6px;top:-6px;width:28px;height:28px;border-radius:50%;background:radial-gradient(circle at 38% 32%,#a9cf92,#5f8e57 72%);transform:translateZ(18px);box-shadow:3px 4px 0 #4b7045}
.studio-glow{position:absolute;width:170px;height:150px;border-radius:50%;background:radial-gradient(closest-side,#ffd98a88,#ffd98a33 55%,transparent);transform:translate(-50%,-50%) translateZ(1px);opacity:0;transition:opacity .9s .3s;pointer-events:none}
.studio-glow--one{left:90px;top:62px}.studio-glow--two{left:229px;top:92px}
.studio-accessory{position:absolute;width:10px;height:13px;margin:-6px 0 0 -5px;background:#fff;border:1px solid #aeb9b2;border-radius:2px;box-shadow:1px 1px 0 #cfd6cf;opacity:0;transform:scale(.4);transition:opacity .4s .7s,transform .4s .7s}
.studio-accessory:before{content:'';position:absolute;left:2px;right:2px;top:4px;height:2px;border-left:2px solid #6f7f78;border-right:2px solid #6f7f78}
.studio-accessory--switch:before{left:3px;right:3px;top:2px;height:7px;border:0;border-radius:1px;background:#dfe5e1;box-shadow:inset 0 -3px 0 #b9c4bd}
.studio-current{stroke:#c9ecff;stroke-width:1.4;stroke-linecap:round;stroke-dasharray:3 17;opacity:0;transition:opacity .4s,stroke .5s}
@keyframes studio-flow{to{stroke-dashoffset:-40}}
.project-studio:is([data-step="4"],[data-step="5"]) .studio-current{opacity:1;transition-delay:1.1s;animation:studio-flow 1.1s linear infinite}
.project-studio[data-step="5"] .studio-current{stroke:#d8f7e8}
.project-studio:is([data-step="4"],[data-step="5"],[data-step="6"]) .studio-accessory{opacity:1;transform:none}
.project-studio:is([data-step="2"],[data-step="3"],[data-step="4"]) :is(.studio-sofa,.studio-plant){opacity:.25}
/* Pins are invisible 3D anchors; JS projects them onto the flat .studio-labels overlay. */
.studio-pin{position:absolute;left:var(--x);top:var(--y);width:0;height:0;transform:translateZ(var(--z));pointer-events:none}
.studio-labels{position:absolute;inset:0;pointer-events:none;z-index:2}
.studio-label{position:absolute;left:0;top:0;width:0;height:0;opacity:0;transition:opacity .3s;--tone:#2784b3}
.studio-label:before{content:'';position:absolute;left:-4px;top:-4px;width:8px;height:8px;border-radius:50%;background:var(--tone);box-shadow:0 0 0 4px color-mix(in srgb,var(--tone) 22%,transparent)}
.studio-label:after{content:'';position:absolute;left:-.5px;bottom:4px;width:1px;height:20px;background:var(--tone);opacity:.7}
.studio-label span{position:absolute;left:0;bottom:24px;white-space:nowrap;font-size:11px;font-weight:600;letter-spacing:.01em;padding:5px 10px;border-radius:999px;background:#fff;color:#1d5f86;box-shadow:0 0 0 1px #d4e4ee,0 6px 16px #1b3a4a24;transform:translate(-50%,6px) scale(.92);transition:transform .45s cubic-bezier(.2,.9,.25,1.2)}
.studio-label.is-visible{opacity:1;transition-delay:.3s}
.studio-label.is-visible span{transform:translate(-50%,0);transition-delay:.3s}
.studio-label--ok{--tone:#2a8d67}.studio-label--ok span{color:#1f7553;box-shadow:0 0 0 1px #cfe8dc,0 6px 16px #1b4a3a24}
.studio-label--warm{--tone:#e0a431}.studio-label--warm span{color:#8a5a06;background:#fff8e4;box-shadow:0 0 0 1px #f1dca8,0 0 20px #ffd46966}
/* Handover happens at dusk: the surroundings dim so the finished lighting reads clearly. */
.studio-visual{position:relative;isolation:isolate}
.studio-visual:before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 50% 42%,#4a5566 0%,#262e3b 55%,#171c25 100%);opacity:0;transition:opacity .9s}
.studio-visual__top,.studio-view-controls label,.studio-model-caption{transition:color .6s}
.project-studio[data-step="6"] .studio-visual:before{opacity:1}
.project-studio[data-step="6"] .studio-glow{opacity:1}
.project-studio[data-step="6"] :is(.studio-visual__top,.studio-view-controls label,.studio-model-caption){color:#cfd6df}
.project-studio[data-step="6"] .studio-view-controls label small{color:#8f9aa8}
.project-studio[data-step="6"] .studio-wall--back{background:linear-gradient(#fbf1dc,#efe1c2)}
.project-studio[data-step="6"] .studio-wall--left{background:linear-gradient(90deg,#e7d8b8,#f5e9cf)}
.project-studio[data-step="6"] .studio-floor{box-shadow:10px 18px 0 #6d6553,22px 36px 40px #00000055}
.project-studio[data-step="6"] .studio-window i{background:linear-gradient(145deg,#2c3a55,#44587a 65%,#34465f 66%)}
.studio-model-view{cursor:grab;touch-action:pan-y;user-select:none}
.project-studio.is-dragging .studio-model-view{cursor:grabbing}
.project-studio.is-dragging .studio-model{transition:none}
.studio-progress{height:3px;margin-top:14px;border-radius:3px;background:#e8ede9;overflow:hidden}
.studio-progress i{display:block;height:100%;width:calc(var(--studio-progress,1/6) * 100%);border-radius:inherit;background:linear-gradient(90deg,#0071e3,#2a8d67);transition:width .5s cubic-bezier(.3,.8,.3,1)}
.studio-stages button{transition:background .25s,border-color .25s,color .25s}
.studio-stages button:hover{border-color:#b9cbe0}
.studio-stages button[data-done] span{color:#1d7452}
.studio-detail.is-swapping{animation:studio-swap .45s ease}
@keyframes studio-swap{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.studio-view-controls label small{display:block;font-size:9px;color:#8a978f;margin-top:2px}
.studio-view-controls{display:flex;align-items:center;justify-content:space-between;gap:16px}
.studio-view-controls label{display:flex;align-items:center;gap:12px;font-size:11px;color:#5a6a63}
.studio-view-controls input{width:100px;accent-color:#0071e3;min-height:32px}
.studio-view-controls button{font:inherit;font-size:11px;background:#fff;border:1px solid #ccd6cc;border-radius:7px;padding:9px 12px;cursor:pointer;color:#40534a}
.studio-view-controls button[aria-pressed="true"]{background:#e8f2ec;border-color:#6b9d83}
.studio-model-caption{font-size:11px;color:#63716a;line-height:1.5;margin:10px 0 0;min-height:34px}
.studio-content{padding:24px;display:flex;flex-direction:column;min-width:0}
.studio-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.studio-stages button{font:inherit;font-size:12px;min-height:40px;padding:8px 7px;background:#f8faf8;border:1px solid #e0e6e1;border-radius:7px;color:#475950;cursor:pointer;white-space:nowrap}
.studio-stages button span{font-size:10px;color:#5a6b63;margin-right:4px}
.studio-stages button[aria-pressed="true"]{background:#edf5ff;border-color:#0071e3;color:#0061c4}
.studio-stages button[aria-pressed="true"] span{color:#0056ad}
.studio-detail{margin-top:24px;min-height:206px}
.studio-detail .studio-eyebrow{margin-bottom:10px;font-size:10px}
.studio-detail h3{font-size:24px;line-height:1.18;letter-spacing:-.6px;font-weight:600;margin:0 0 12px}
.studio-detail>p:not(.studio-eyebrow){font-size:13px;line-height:1.6;color:#68746e;margin:0}
.studio-deliverable{border-left:2px solid #82b7a0;padding-left:12px;margin-top:18px}
.studio-deliverable>span{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#4d6357}
.studio-deliverable p{font-size:12px;line-height:1.5;margin-top:4px;color:#354d3f}
.studio-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:16px}
.studio-navigation>span{font-size:11px;color:#5c6762}
.studio-navigation button{font:inherit;font-size:12px;border:0;border-radius:8px;background:#0071e3;color:#fff;padding:11px 14px;cursor:pointer}
.studio-footnote{font-size:10px;color:#5c685f;text-align:center;margin-top:14px}
.project-studio button:focus-visible,.project-studio input:focus-visible{outline:3px solid #0071e3;outline-offset:3px}
/* Keep the existing floating technician from covering this interactive section. */
body.studio-in-view .site-tech{visibility:hidden}
@media(max-width:900px){.studio-heading{display:block}.studio-heading>p{margin-top:12px}.studio-layout{grid-template-columns:1fr 1fr}.studio-content{padding:18px}.studio-model{transform:translateY(23px) scale(.7) rotateX(57deg) rotateZ(var(--studio-angle,-32deg))}.studio-visual{padding-inline:14px}.studio-visual__top{font-size:9px}.studio-stages{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-view-controls{gap:6px}.studio-view-controls input{width:70px}}
@media(max-width:640px){.project-studio{padding:36px 0}.studio-layout{grid-template-columns:1fr}.studio-heading{margin-bottom:18px}.studio-heading>p{font-size:12px}.studio-model-view{height:210px}.studio-model{transform:translateY(16px) scale(.65) rotateX(57deg) rotateZ(var(--studio-angle,-32deg))}.studio-stages{grid-template-columns:repeat(3,minmax(0,1fr))}.studio-content{padding:16px}.studio-detail{margin-top:18px;min-height:0}.studio-detail h3{font-size:21px}.studio-model-caption{min-height:0}.studio-visual__top{font-size:9px}.studio-heading h2{font-size:27px}.studio-stages button{min-height:44px}.studio-view-controls button{min-height:40px}.studio-heading>p br{display:none}}
@media(max-width:640px){
  .project-studio{padding:24px 0}
  .studio-heading>p{display:none}
  .studio-heading h2{font-size:24px;line-height:1.12}
  .studio-heading .studio-eyebrow{margin-bottom:8px}
  .studio-visual{padding:12px 14px}
  /* The 3D room draws outside its own box; size and centre the box on what is
     actually drawn so it never spills over the rotate slider below. */
  .studio-model-view{height:190px}
  .studio-model{transform:translateY(-6px) scale(.53) rotateX(57deg) rotateZ(var(--studio-angle,-32deg))}
  .studio-view-controls{position:relative;z-index:2;margin-top:10px}
  .studio-view-controls label{flex:1;min-width:0}
  .studio-view-controls input{flex:1;width:auto;min-width:0}
  .studio-model-caption{display:none}
  .studio-content{padding:12px 16px}
  .studio-detail{margin-top:14px}
  .studio-detail h3{font-size:19px;margin-bottom:8px}
  .studio-detail>p:not(.studio-eyebrow){font-size:12px;line-height:1.45}
  .studio-deliverable{margin-top:10px}
  .studio-deliverable p{font-size:11px;line-height:1.4}
  .studio-navigation{padding-top:10px}
  .studio-footnote{font-size:9px;margin-top:8px}
}
@media(max-width:900px){.studio-view-controls label small{display:none}}
@media(max-width:640px){.studio-label span{font-size:10px;padding:4px 8px}.studio-label:after{height:14px}.studio-label span{bottom:18px}}
/* ---------- Enlarged studio (laptop & desktop) ----------
   Wider frame, a much bigger 3D room and larger type throughout. The room is
   drawn at 300×230 and scaled, so only the transform's scale/offset change. */
@media(min-width:901px){
  .project-studio{padding:clamp(64px,6vw,96px) 0}
  .project-studio .container{max-width:1440px}
  .studio-heading{margin-bottom:36px}
  .studio-eyebrow{font-size:13px;margin-bottom:16px}
  .studio-heading h2{font-size:clamp(36px,3.4vw,54px);max-width:760px;letter-spacing:-.035em}
  .studio-heading>p{font-size:17px;line-height:1.6}
  .studio-layout{grid-template-columns:1.2fr 1fr;border-radius:28px;box-shadow:0 22px 50px rgba(20,32,28,.07)}
  .studio-visual{padding:30px 34px 24px}
  .studio-visual__top{font-size:12.5px}
  .studio-model-view{height:clamp(420px,34vw,520px)}
  .studio-model{transform:translateY(42px) scale(1.34) rotateX(57deg) rotateZ(var(--studio-angle,-32deg))}
  .studio-view-controls label{font-size:14px;gap:16px}
  .studio-view-controls label small{font-size:12px}
  .studio-view-controls input{width:170px}
  .studio-view-controls button{font-size:14px;padding:12px 18px;border-radius:9px}
  .studio-model-caption{font-size:14.5px;margin-top:14px}
  .studio-content{padding:38px 42px}
  .studio-stages{gap:12px}
  .studio-stages button{font-size:16px;min-height:58px;padding:12px 10px;border-radius:10px}
  .studio-stages button span{font-size:13px;margin-right:6px}
  .studio-detail{margin-top:34px;min-height:260px}
  .studio-detail .studio-eyebrow{font-size:13px;margin-bottom:14px}
  .studio-detail h3{font-size:clamp(28px,2.3vw,36px);letter-spacing:-.025em;margin-bottom:16px}
  .studio-detail>p:not(.studio-eyebrow){font-size:17px;line-height:1.65}
  .studio-deliverable{margin-top:26px;padding-left:16px;border-left-width:3px}
  .studio-deliverable>span{font-size:12.5px}
  .studio-deliverable p{font-size:16px;margin-top:6px}
  .studio-navigation{padding-top:26px}
  .studio-navigation>span{font-size:14px}
  .studio-navigation button{font-size:16px;padding:15px 24px;border-radius:10px}
  .studio-footnote{font-size:13px;margin-top:20px}
  .studio-label span{font-size:14px}
}
/* Smaller laptops: keep the room big but inside its half of the frame. */
@media(min-width:901px) and (max-width:1250px){
  .studio-model-view{height:360px}
  .studio-model{transform:translateY(28px) scale(1) rotateX(57deg) rotateZ(var(--studio-angle,-32deg))}
  .studio-content{padding:30px 30px}
  .studio-stages button{font-size:14.5px;min-height:52px}
}
@media(prefers-reduced-motion:reduce){.project-studio *{animation:none!important;transition:none!important}}
