/* One stable scene, a hinged lid, and a separate aluminium keyboard deck. */
.studio-stage.laptop-studio,.studio-stage.laptop-studio:hover,[data-theme=dark] .studio-stage.laptop-studio{position:relative;isolation:isolate;width:100%;max-width:650px;min-width:0;margin:0 auto;padding:0;background:none;border:0;border-radius:0;box-shadow:none;transform:none;overflow:visible}
.studio-stage.laptop-studio:before,.studio-stage.laptop-studio:after{display:none}
.laptop-heading{display:flex;align-items:center;justify-content:space-between;margin:0 6% 14px;color:#7798bf;font:10px var(--mono);letter-spacing:.13em}.laptop-heading>span:last-child{color:#7bb5f5;font-size:15px}
.laptop-studio .stage-tabs{display:flex;justify-content:center;gap:5px;width:88%;margin:0 auto 22px;padding:4px;border:1px solid #293d56;border-radius:10px;background:#0d1725}.laptop-studio .stage-tabs button{flex:1;min-width:0;min-height:42px;border:1px solid transparent;border-radius:7px;padding:8px 4px;font-size:12px;color:#9db1ca;background:transparent;transition:background .3s,color .3s,border-color .3s}.laptop-studio .stage-tabs button span{font:9px var(--mono);color:#6985a8;margin-right:5px}.laptop-studio .stage-tabs button[aria-selected=true]{color:#e3f1ff;border-color:#3a6087;background:linear-gradient(140deg,#223c59,#162b42);box-shadow:inset 0 1px 0 #b3dcff18}.laptop-studio .stage-tabs button:hover{color:white}
.laptop-device{position:relative;width:100%;aspect-ratio:1.36;perspective:1100px;perspective-origin:50% 35%}
.laptop-lid{position:absolute;inset:0 6% auto;height:77%;padding:14px 9px 18px;background:linear-gradient(145deg,#42546b,#182435 22%,#080e17 75%,#344457);border:1px solid #65758b;border-bottom:2px solid #09101c;border-radius:15px 15px 6px 6px;box-shadow:0 2px 0 #a2b5ce20 inset,2px 1px 0 #080e18,-2px 1px 0 #080e18;transform-origin:50% 100%;transform:rotateX(-8deg);backface-visibility:hidden;transition:transform 1.3s cubic-bezier(.22,1,.36,1);z-index:3}
.is-laptop-ready:not(.is-open) .laptop-lid{transform:rotateX(-88deg)}
.laptop-camera{position:absolute;top:5px;left:calc(50% - 2px);width:4px;height:4px;background:#15314c;border:1px solid #3d5771;border-radius:50%}.laptop-screen{display:flex;flex-direction:column;width:100%;height:100%;min-height:0;background:#0c1420;border:1px solid #050910;border-radius:6px;overflow:hidden;box-shadow:0 0 0 1px #ffffff0b}.laptop-browser{height:24px;flex:0 0 24px;display:flex;align-items:center;justify-content:space-between;padding:0 10px;background:#101d2c;color:#7792b3;font:8px var(--mono)}.laptop-browser>span:first-child{font-size:6px;letter-spacing:2px}.laptop-wordmark{position:absolute;bottom:4px;left:0;right:0;text-align:center;font:5px var(--mono);color:#7e92ac}
.laptop-studio .stage-panels{position:relative;isolation:isolate;flex:1;min-height:0;width:100%;margin:0;border:0;border-radius:0;overflow:hidden;background:#0d1624;box-shadow:none}.laptop-studio .stage-panel{position:absolute;inset:0;width:100%;height:100%}.laptop-studio .stage-panels .image-preview{display:block;width:100%;height:100%;aspect-ratio:auto;margin:0;padding:0;border:0;border-radius:0;overflow:hidden;background:#0d1624}.laptop-studio .stage-panels img{display:block;width:100%;height:100%;object-fit:contain;max-width:100%}.laptop-studio .stage-transition-ghost{position:absolute;inset:0;z-index:2;pointer-events:none;object-fit:contain;background:#0d1624}.laptop-studio .expand-icon{width:30px;height:30px;right:10px;bottom:10px;font-size:15px;background:#101e30d9;color:#d3e8ff;border:1px solid #6685a177;border-radius:7px}
.laptop-base{position:absolute;z-index:2;left:0;right:0;top:76.5%;height:28%;transform:rotateX(47deg);transform-origin:top center;background:linear-gradient(175deg,#3c4c61,#26374c 65%,#45566d);clip-path:polygon(6% 0,94% 0,100% 95%,99% 100%,1% 100%,0 95%);border-radius:0 0 10px 10px;box-shadow:inset 0 1px 0 #a0b5cc55}
.laptop-keys{position:absolute;inset:8% 14% 48%;border:1px solid #101d2c;border-radius:3px;background:repeating-linear-gradient(0deg,transparent 0 8px,#35485d 8px 10px),repeating-linear-gradient(90deg,#0c1725 0 17px,#35485d 17px 20px);box-shadow:0 0 0 3px #182638}.laptop-trackpad{position:absolute;width:25%;height:31%;left:37.5%;bottom:8%;border:1px solid #65778c;border-radius:4px;background:linear-gradient(#293a4f,#35485e)}.laptop-edge{position:absolute;z-index:4;top:96%;left:0;right:0;height:5px;border-radius:0 0 50% 50%;background:linear-gradient(90deg,#223248,#6d7e92 45%,#8190a1 55%,#26374d);box-shadow:0 3px 5px #0005}.laptop-edge:after{content:'';position:absolute;left:43%;width:14%;height:3px;top:0;background:#152133;border-radius:0 0 6px 6px}.laptop-shadow{position:absolute;left:7%;right:7%;bottom:-3%;height:10%;border-radius:50%;background:#0009;filter:blur(15px);z-index:0;transform:scaleX(1.05)}
@media(max-width:800px){.studio-stage.laptop-studio{max-width:620px;margin:14px auto 0}.laptop-device{perspective:900px}}
@media(max-width:600px){.laptop-studio .stage-tabs{margin-bottom:18px;width:94%}.laptop-studio .stage-tabs button{font-size:11px}.laptop-heading{font-size:8px;margin-bottom:10px}.laptop-lid{padding:10px 6px 13px;border-radius:10px 10px 4px 4px}.laptop-camera{top:3px;width:3px;height:3px}.laptop-browser{height:17px;flex-basis:17px;font-size:6px;padding-inline:6px}.laptop-wordmark{font-size:4px;bottom:3px}.laptop-keys{background:repeating-linear-gradient(0deg,transparent 0 5px,#35485d 5px 7px),repeating-linear-gradient(90deg,#0c1725 0 11px,#35485d 11px 14px)}.laptop-edge{height:4px}}
@media(prefers-reduced-motion:reduce){.is-laptop-ready:not(.is-open) .laptop-lid,.laptop-lid{transform:rotateX(-8deg);transition:none}}
/* Machined dark aluminium: real front/back lid planes share a hinge with the deck. */
.laptop-device{aspect-ratio:1.12;perspective:1800px;perspective-origin:50% 38%;padding:0}
.laptop-assembly{position:absolute;inset:0;transform-style:preserve-3d;transform:rotateX(calc(4deg + var(--tilt-x,0deg))) rotateY(calc(-9deg + var(--tilt-y,0deg)));transition:transform .65s cubic-bezier(.22,1,.36,1)}
.laptop-lid{inset:4% 6% auto;height:62%;padding:0;background:none;border:0;border-radius:13px;box-shadow:none;transform-style:preserve-3d;backface-visibility:visible;transform:rotateX(-12deg);transition:transform 1.8s cubic-bezier(.2,.75,.2,1) .55s;z-index:auto}
.is-laptop-ready:not(.is-open) .laptop-lid{transform:rotateX(-115deg);transition-delay:0s}
.laptop-lid-front,.laptop-lid-back{position:absolute;inset:0;border-radius:13px 13px 7px 7px;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.laptop-lid-front{padding:9px 7px 13px;background:#070a10;border:1px solid #707987;box-shadow:0 0 0 2px #1b232e,inset 0 0 0 1px #000;transform:translateZ(1px)}
.laptop-lid-back{display:grid;place-items:center;background:linear-gradient(125deg,#707985 0%,#404a57 23%,#2e3845 48%,#596372 80%,#7f8995);border:1px solid #aab1b9;box-shadow:inset 0 0 0 2px #313c48,inset 0 1px 3px #e9f2ff77;transform:rotateY(180deg) translateZ(3px)}
.laptop-lid-back:after{content:'';position:absolute;inset:0;border-radius:inherit;background:linear-gradient(115deg,transparent 20%,#e8f5ff13 46%,transparent 72%);pointer-events:none}
.laptop-metal-logo{display:block;width:19%;aspect-ratio:1;background:linear-gradient(135deg,#f3f7fa 0%,#a7b2bf 19%,#4a5665 40%,#d7e2eb 50%,#7e8c9d 73%,#cdd6e1);mask:url('nordstack-mark-mask.png') center/contain no-repeat;-webkit-mask:url('nordstack-mark-mask.png') center/contain no-repeat;filter:drop-shadow(0 1px 1px #0008);transform:rotateZ(180deg);opacity:.95}
.laptop-camera{z-index:4;top:8px;left:calc(50% - 18px);width:36px;height:10px;border:0;border-radius:0 0 5px 5px;background:#070a10}.laptop-camera:after{content:'';position:absolute;left:16px;top:1px;width:4px;height:4px;border:1px solid #263d58;border-radius:50%;background:#0d1927}
.laptop-screen{border-radius:7px;background:#10151e;border-color:#010308;position:relative}.laptop-screen:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(130deg,#ffffff09,transparent 35%,transparent 75%,#8bb8ff06)}
.laptop-browser{height:22px;flex-basis:22px;padding-inline:9px}.laptop-browser>span:nth-child(2){padding-right:35px}.laptop-wordmark{font-size:4px;bottom:4px;opacity:.6}
.laptop-base{left:6%;right:6%;top:66%;height:62%;clip-path:none;border:1px solid #939da9;border-radius:5px 5px 12px 12px;transform:rotateX(65deg);transform-style:preserve-3d;z-index:auto;background:linear-gradient(120deg,#66717f,#414e5e 45%,#5a6777 85%,#82909e);box-shadow:inset 0 0 0 2px #394654,inset 0 1px 0 #d7e1ec88}
.laptop-base:after{content:'';position:absolute;left:-1px;right:-1px;bottom:-7px;height:8px;border-radius:0 0 9px 9px;background:linear-gradient(#8b97a5,#3d4b5d 50%,#24303d);transform-origin:top;transform:rotateX(-65deg);box-shadow:0 2px 1px #0006}
.laptop-base:before{content:'';position:absolute;left:42%;width:16%;bottom:0;height:5px;background:#293746;border-radius:8px 8px 0 0;z-index:2}
.laptop-keys{inset:9% 12% 38%;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-rows:1fr;gap:3px;padding:5px;background:#1c2632;border:1px solid #273340;border-radius:6px;box-shadow:0 0 0 1px #8995a333,inset 0 2px 4px #0008;overflow:hidden}
.laptop-keys span{display:flex;align-items:center;justify-content:center;min-height:0;border:1px solid #68778666;border-bottom-color:#121a24;border-radius:3px;background:linear-gradient(#1d2835,#101822);color:#bac7d4;font:6px/1 var(--mono);box-shadow:0 1px 1px #0007}.laptop-keys span:nth-child(n+65):nth-child(-n+68){border-inline-color:transparent;border-radius:0}
.laptop-speaker{position:absolute;top:11%;width:6%;height:48%;border-radius:3px;background:radial-gradient(#182431 35%,transparent 40%) 0 0/3px 3px;opacity:.8}.laptop-speaker.left{left:3%}.laptop-speaker.right{right:3%}
.laptop-trackpad{width:34%;height:26%;left:33%;bottom:7%;background:linear-gradient(130deg,#596777,#485666);border:1px solid #9da8b4aa;border-bottom-color:#283543;border-radius:6px;box-shadow:inset 0 1px 2px #26344155}
.laptop-shadow{bottom:1%;height:12%;left:9%;right:9%;filter:blur(16px);background:#000b;transform:rotate(-2deg)}
@media(max-width:600px){.laptop-device{perspective:1000px}.laptop-lid-front{padding:6px 5px 10px}.laptop-lid-front,.laptop-lid-back{border-radius:9px 9px 5px 5px}.laptop-camera{top:5px;width:24px;height:7px;left:calc(50% - 12px)}.laptop-camera:after{left:10px;width:3px;height:3px;top:0}.laptop-browser{height:16px;flex-basis:16px}.laptop-keys{gap:2px;padding:3px}.laptop-keys span{font-size:4px;border-radius:2px}.laptop-speaker{background-size:2px 2px}.laptop-trackpad{border-radius:4px}.laptop-wordmark{font-size:3px;bottom:3px}}
@media(prefers-reduced-motion:reduce){.laptop-assembly{transform:rotateX(4deg) rotateY(-9deg);transition:none}.is-laptop-ready:not(.is-open) .laptop-lid,.laptop-lid{transform:rotateX(-12deg);transition:none}}

/* Six deliberate ANSI rows with real modifier, space and inverted-T arrow keys. */
.laptop-keys{display:flex;flex-direction:column;gap:3px;padding:5px;background:#17222e;overflow:visible}
.laptop-keyrow{display:flex;gap:3px;flex:1;min-height:0}.laptop-keyrow:first-child{flex:.68}
.laptop-keys .laptop-keyrow>span{flex:var(--key,1) 1 0;width:0;min-width:0;min-height:0;border:1px solid #68778666;border-bottom-color:#0b121b;border-radius:3px;background:linear-gradient(#1d2835,#101822);font:5px/1 var(--mono);color:#c9d4df;overflow:hidden;white-space:nowrap;box-shadow:0 1px 1px #0006}
.laptop-keys .laptop-keyrow>.spacebar{border-radius:3px;border-inline-color:#68778666}
.laptop-keys .laptop-keyrow>.laptop-arrows{display:flex;flex-direction:column;gap:2px;border:0;background:none;box-shadow:none;overflow:visible}
.laptop-arrows i{display:grid;place-items:center;width:100%;flex:1;min-height:0;border:1px solid #68778666;border-radius:2px;background:#15202d;font:4px/1 var(--mono)}
.laptop-metal-logo{width:16%;aspect-ratio:680/800;filter:none;background:linear-gradient(125deg,#dfe7ef 0%,#6b7888 23%,#f4f8fc 40%,#9daab8 48%,#465362 53%,#b8c5d2 76%,#eef4fa 100%)}
.laptop-shadow{display:none}
@media(max-width:600px){.laptop-keys,.laptop-keyrow{gap:2px}.laptop-keys{padding:3px}.laptop-keys .laptop-keyrow>span{font-size:3px}.laptop-arrows i{font-size:3px}}
