#work .model-frame { background:transparent!important; cursor:auto!important; }
#work .product-model { position:relative; width:100%; aspect-ratio:4/3; min-height:360px; }
#work .product-model > img[data-parallax] { position:absolute; inset:0; width:100%!important; height:100%!important; object-fit:contain; }
#work .product-model model-viewer { display:block; position:absolute; inset:0 0 60px; width:100%; height:calc(100% - 60px); opacity:0; background:transparent; --poster-color:transparent; touch-action:pan-y; transition:opacity .65s,transform .9s cubic-bezier(.2,.8,.2,1); }
#work .product-model.model-ready model-viewer { opacity:1; }
#work .product-model.model-ready > img { visibility:hidden; }
#work .product-model.show-drawing model-viewer { opacity:0; transform:scale(.92); pointer-events:none; visibility:hidden; }
.orthographic-board { position:absolute; inset:0 0 60px; background-color:#20211f; background-image:linear-gradient(#ffffff06 1px,transparent 1px),linear-gradient(90deg,#ffffff06 1px,transparent 1px); background-size:24px 24px; border-radius:6px; color:#ece9df; opacity:0; clip-path:inset(50% 0 50% 0); transition:opacity .65s,clip-path .9s cubic-bezier(.2,.8,.2,1); pointer-events:none; overflow:hidden; }
.show-drawing .orthographic-board { opacity:1; clip-path:inset(0); }
.orthographic-board svg { position:absolute; inset:36px 12px 8px; width:calc(100% - 24px); height:calc(100% - 44px); }
.drawing-title { display:flex; justify-content:flex-end; padding:20px 24px 0; font:10px/1.2 Poppins,sans-serif; letter-spacing:.14em; color:#ff9a51; }
.drawing-title span { color:#b8b8ad; font-size:9px; }
.drawing-lines { vector-effect:non-scaling-stroke; stroke-width:.65px; stroke-dasharray:1; stroke-dashoffset:1; }
.show-drawing .drawing-lines { animation:trace-drawing var(--stroke-duration) linear both; animation-delay:var(--stroke-start); }
.show-drawing .drawing-view text { animation:drawing-label .5s both; animation-delay:calc(1.7s + var(--view-order)*.25s); }
.showcase-paused .drawing-lines { animation-play-state:paused; }
.drawing-static .drawing-lines { animation:none; stroke-dashoffset:0; }
.showcase-paused .drawing-view text { animation:none; opacity:1; }
@keyframes trace-drawing { from {stroke:#ff9a51;} 99% {stroke:#ff9a51;} to {stroke-dashoffset:0;stroke:currentColor;} }
@keyframes drawing-label { from {opacity:0;transform:translateY(5px);} to {opacity:1;transform:translateY(0);} }
.model-controls { position:absolute; bottom:5px; left:8px; right:8px; display:flex; align-items:center; justify-content:space-between; gap:8px; font-size:12px; color:#6b6862; }
.model-controls[hidden] { display:none; }
.model-modes { display:flex; gap:2px; padding:3px; border:1px solid #cbc8c1; border-radius:28px; }
.model-controls button { font:inherit; color:#141413; background:transparent; border:1px solid transparent; border-radius:24px; padding:8px 14px; min-height:44px; cursor:pointer; }
.model-controls > button { border-color:#c8c5bf; }
.model-modes button[aria-pressed="true"] { background:#20211f; color:#f7f6f3; }
.model-controls button:disabled { opacity:.4; cursor:wait; }
.model-controls button:focus-visible { outline:2px solid #ff7a1a; outline-offset:3px; }
@media(max-width:600px) { #work .product-model { aspect-ratio:1/1; min-height:370px; } .model-controls { font-size:11px; left:0; right:0; } .model-controls button { padding:8px 12px; } .drawing-title { padding:17px 15px 0; font-size:9px; } .drawing-title span { font-size:8px; } .orthographic-board svg { inset:30px 3px 3px; width:calc(100% - 6px); height:calc(100% - 33px); } }
@media(prefers-reduced-motion:reduce) { #work .product-model model-viewer,.orthographic-board { transition:none; } .show-drawing .drawing-lines { animation:none; stroke-dashoffset:0; } .show-drawing .drawing-view text { animation:none; } }

@media(max-width:600px) { .drawing-view text { font-size:18px; letter-spacing:1.5px; } }

.drawing-detail { stroke-width:.42px; opacity:.74; }
@media(max-width:600px) { .drawing-detail { stroke-width:.45px; opacity:.8; } }

#work .project-eyebrow-decoration { display:none; }
