@font-face{font-family:Workbench Serif;src:url('../fonts/paper-serif-latin.woff2') format('woff2');font-display:swap;font-style:normal italic;font-weight:100 900}
:root{--paper:#e8e9e2;--ink:#30392f;--muted:#6c7466;--orange:#d64d2e;--line:#c9cdc0;--mono:'Geist Mono',monospace;--sans:'Geist',sans-serif;--serif:'Workbench Serif',Georgia,serif;--ease:cubic-bezier(.22,1,.36,1)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:25px}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:15px;-webkit-font-smoothing:antialiased}body:has(dialog[open]){overflow:hidden}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:wait}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible{outline:2px solid var(--orange);outline-offset:6px}button{border:0}::selection{background:#d64d2e;color:#fff9e9}.svg-library{position:absolute;width:0;height:0;overflow:hidden}.icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link{position:fixed;left:20px;top:-100px;background:var(--ink);color:white;padding:15px;z-index:100}.skip-link:focus{top:20px}.eyebrow{font:10px/1.6 var(--mono);letter-spacing:1.3px;font-weight:400}.masthead{height:108px;display:flex;align-items:center;padding:0 4.1%;gap:45px;border-bottom:1px solid var(--line);position:relative;z-index:3}.wordmark{font-size:32px;letter-spacing:-1.8px;text-decoration:none;font-weight:650;display:flex;align-items:baseline;gap:3px}.wordmark-dot{width:7px;height:7px;border-radius:50%;background:var(--orange);margin-left:2px}.masthead-note{font-size:11px;line-height:1.55;border-left:1px solid var(--line);padding-left:27px}.masthead-note span{color:var(--muted)}.availability{display:flex;align-items:center;gap:10px;margin-left:auto;font:10px var(--mono);text-decoration:none}.availability .icon{width:16px;height:16px;margin-left:8px}.led{width:6px;height:6px;display:inline-block;background:#62804f;border-radius:50%;box-shadow:0 0 0 4px #6981550c}.workbench{position:relative;min-height:920px;height:calc(100svh - 108px);max-height:1120px;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 68% 34%,#f8f8f1 0%,transparent 60%),var(--paper)}.bench-grid{position:absolute;inset:0;z-index:-1;background-image:radial-gradient(#6f796033 .7px,transparent .7px);background-size:24px 24px;mask-image:linear-gradient(110deg,transparent 5%,#0008 60%,#000 100%)}.hero-copy{position:absolute;left:4.1%;top:61px;z-index:2;pointer-events:none}.hero-copy a{pointer-events:auto}.hero-copy .eyebrow{display:flex;align-items:center;gap:12px;color:#63705d}.tiny-cross{width:9px;height:9px;position:relative}.tiny-cross:before,.tiny-cross:after{content:'';position:absolute;background:var(--orange)}.tiny-cross:before{height:1px;width:9px;top:4px}.tiny-cross:after{width:1px;height:9px;left:4px}h1{font-weight:480;font-size:clamp(62px,6.15vw,98px);letter-spacing:-5.5px;line-height:1.04;margin:26px 0 23px}h1 em,h2 em{font-family:var(--serif);font-weight:400;letter-spacing:-.065em}h1 em{color:#5e7154}h2{font-weight:450}.hero-description{font-size:14px;line-height:1.85;letter-spacing:-.2px}.bench-invitation{display:inline-flex;align-items:center;gap:11px;margin-top:21px;font-size:11px;text-decoration:none}.round-arrow{display:flex;align-items:center;justify-content:center;width:31px;height:31px;border:1px solid #929c85;border-radius:50%;transition:background .25s,color .25s}.round-arrow .icon{width:15px}.bench-invitation:hover .round-arrow{background:var(--ink);color:var(--paper)}.coordinate{position:absolute;font:9px var(--mono);letter-spacing:1px;color:#7d8775}.coordinate-one{right:4.1%;top:31px}.machine-scene{position:absolute;width:min(61vw,900px);height:650px;right:-1%;top:30px;perspective:1400px}.machine{position:absolute;top:40px;left:2%;width:91%;aspect-ratio:720/540;transform:rotate(-7deg) rotateY(-8deg) rotateX(10deg);transform-style:preserve-3d;transition:transform 1.4s var(--ease);animation:machine-arrive 1.6s var(--ease) both}.machine-body{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.engraving{font:7px var(--mono);letter-spacing:1.8px;fill:#65705e}.small-engraving{font-size:5.5px;letter-spacing:1px}.serial-text{font:8px var(--mono);fill:#737d68;letter-spacing:1.2px}.machine-led{animation:led-breathe 3.5s infinite}.machine-screen{position:absolute;left:10.65%;top:15%;width:66.1%;height:54%;border-radius:8px;overflow:hidden;color:#e3ecd5;background:#1d2a22;display:flex;flex-direction:column;padding:3.2% 4%;box-shadow:inset 0 0 25px #09140dbb;transition:background .6s,filter .5s}.machine-screen:after{content:'';position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(transparent 0 3px,#0000000b 3px 4px);opacity:.6}.screen-topline{font:clamp(6px,.58vw,9px) var(--mono);display:flex;justify-content:space-between;letter-spacing:.8px;color:#9caa91;border-bottom:1px solid #c7d5b822;padding-bottom:11px;position:relative;z-index:2}.screen-topline span:first-child{display:flex;align-items:center;gap:6px}.screen-topline i{display:inline-block;width:4px;height:4px;border-radius:50%;background:#b6cf95;box-shadow:0 0 8px #b9d69166}.screen-content{position:relative;flex:1;padding-top:7%;transition:opacity .2s,transform .3s}.screen-kicker{font:clamp(6px,.62vw,10px) var(--mono);letter-spacing:1.3px;color:#a7b799;margin:0 0 7px}.screen-content h2{font-size:clamp(26px,3vw,45px);letter-spacing:-1.9px;margin:0;font-weight:500;line-height:1.1}.screen-content h2 span{font-size:10px;vertical-align:top;margin:6px}.screen-description{font-size:clamp(9px,.95vw,14px);line-height:1.55;margin:11px 0 10px;color:#bac8b1}.screen-project-icon{position:absolute;right:2px;top:24%;width:58px;height:58px;opacity:.7}.screen-project-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round}.screen-mini-demo{display:flex;align-items:center;gap:8px;font:clamp(6px,.65vw,10px) var(--mono);margin-top:14px}.screen-mini-demo>span:first-child{border:1px solid #c1cfb644;padding:5px 8px}.screen-mini-demo .icon{width:17px;height:17px;opacity:.5}.agent-dot{width:5px;height:5px;background:#a4be7d;border-radius:50%;animation:led-breathe 2s infinite}.screen-open{padding:10px 0 0;border-top:1px solid #c7d5b833;background:none;color:#d1dfc2;display:flex;align-items:center;justify-content:space-between;font:clamp(7px,.66vw,10px) var(--mono);text-align:left;position:relative;z-index:3}.screen-open .icon{width:15px;height:15px;transition:transform .3s}.screen-open:hover .icon{transform:translateX(5px)}.screen-reflection{position:absolute;inset:0;pointer-events:none;background:linear-gradient(125deg,#ffffff07,transparent 40%,transparent 75%,#ffffff03)}.power-button{position:absolute;left:81.6%;top:18.5%;width:7.65%;aspect-ratio:1;border-radius:50%;background:linear-gradient(145deg,#e16b48,#c44123);color:#f5dfc7;box-shadow:0 4px 0 #a43d22,0 5px 8px #3b362b55,inset 0 1px 2px #ffa27e;border:1px solid #dd7958;display:flex;justify-content:center;align-items:center;transition:transform .15s,box-shadow .15s}.power-button .icon{width:39%;height:39%;stroke-width:1.4}.power-button:active{transform:translateY(3px);box-shadow:0 1px 0 #a43d22,0 2px 3px #3b362b44}.power-caption{position:absolute;left:82.7%;top:31.5%;font:clamp(4px,.5vw,7px) var(--mono);letter-spacing:1px;color:#65705e}.sound-button{position:absolute;width:9.2%;aspect-ratio:1;left:80.8%;top:58.3%;border-radius:50%;background:transparent}.sound-button:hover{background:#ffffff15}.machine.sound-on #volume-tick{transform:rotate(55deg);transform-origin:615px 348px;transition:transform .5s var(--ease)}.inserted-cartridge{position:absolute;left:13%;top:77%;width:27%;height:8%;background:linear-gradient(#5c6356,#303b2b);border:1px solid #1d261b;border-radius:1px 1px 5px 5px;box-shadow:0 9px 10px #313c2c33;transform:perspective(250px) rotateX(28deg);transform-origin:top;display:flex;justify-content:center;align-items:center;transition:background .4s}.inserted-cartridge span{background:#d8d1b8;color:#514d3e;font:clamp(5px,.55vw,8px) var(--mono);letter-spacing:1px;padding:4px 8px;border-radius:1px;width:83%;text-align:center}.machine.swapping .inserted-cartridge{animation:cartridge-swap .75s var(--ease)}.machine.swapping .screen-content{opacity:0;transform:translateY(6px)}.machine.is-off .machine-screen{filter:brightness(.13);pointer-events:none}.machine.is-off .machine-led{fill:#67715c;animation:none}.machine.is-off .screen-content,.machine.is-off .screen-open,.machine.is-off .screen-topline{visibility:hidden}.bench-cable{position:absolute;width:100%;height:auto;right:-2%;top:-13px;overflow:visible;pointer-events:none}.bench-cable path{fill:none;stroke-linecap:round}.cable-shadow{stroke:#39402d;stroke-width:19;filter:url(#cable-shadow);opacity:.22}.cable-wire{stroke:#ca4e2e;stroke-width:13}.cable-highlight{stroke:#ed8057;stroke-width:2;transform:translate(-3px,-3px);opacity:.6}.machine-annotation{position:absolute;left:33%;top:85%;font:23px 'Caveat',cursive;transform:rotate(-5deg);color:#69775d;display:flex;align-items:center;gap:8px;white-space:nowrap}.machine-annotation svg{width:80px;height:40px;fill:none;stroke:#738169;stroke-width:1.2;transform:rotate(-25deg)}.cartridge-area{position:absolute;left:4.1%;bottom:92px;z-index:2;width:595px;scroll-margin-top:40px}.tray-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px;color:#626d59}.tray-heading .eyebrow{font-size:9px}.tray-hint{font:9px var(--mono);display:flex;align-items:center;gap:10px}.tray-hint .icon{width:14px;height:14px;transform:rotate(90deg)}.cartridge-tray{display:flex;gap:17px;align-items:center;padding:10px 0}.cartridge{position:relative;width:135px;aspect-ratio:133/164;padding:14px 9px 17px;background:linear-gradient(110deg,#555d4e,#414b3b);border:1px solid #727b67;border-radius:6px 6px 9px 9px;box-shadow:0 4px 0 #263022,1px 7px 9px #39432a44,inset 0 1px 1px #87907b;transform:rotate(var(--cart-angle));transition:transform .5s var(--ease),box-shadow .5s var(--ease);text-align:left}.cartridge:hover{transform:rotate(0) translateY(-12px);box-shadow:0 4px 0 #263022,2px 15px 15px #39432a33}.cartridge.active{transform:translateY(-10px) rotate(-3deg);box-shadow:0 4px 0 #263022,2px 15px 15px #39432a33}.cartridge.active:after{content:'';position:absolute;bottom:-16px;left:calc(50% - 2px);width:4px;height:4px;background:var(--orange);border-radius:50%}.cart-ridges{position:absolute;inset:5px 10px auto;height:7px;background:repeating-linear-gradient(0deg,#1d291b44 0 1px,transparent 1px 3px);border-radius:2px}.cart-label{position:relative;display:flex;flex-direction:column;gap:4px;height:100%;background:#e9e3cd;border-radius:2px;padding:9px 8px 5px;color:#333d2d;box-shadow:0 1px 2px #0003,inset 0 0 10px #c7bfa633;border-top:5px solid var(--cart-color)}.cart-number{font:10px var(--mono);display:flex;align-items:center;justify-content:space-between;color:var(--cart-color);margin-bottom:6px}.cart-number svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.cart-label strong{font-size:15px;font-weight:650;letter-spacing:-.5px;white-space:nowrap}.cart-category{font:6px var(--mono);letter-spacing:.5px;white-space:nowrap}.cart-bottom{border-top:1px solid #79806144;display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:7px;font:5px var(--mono)}.cart-bars{height:8px;width:32px;background:repeating-linear-gradient(90deg,#434b38 0 1px,transparent 1px 3px,#434b38 3px 5px,transparent 5px 6px)}.cart-base{position:absolute;bottom:5px;left:19%;right:19%;height:7px;background:repeating-linear-gradient(90deg,#d2b36f 0 3px,#414b3b 3px 6px);opacity:.6;border-radius:1px}.notebook-teaser{position:absolute;right:8.4%;bottom:96px;transform:rotate(8deg);text-decoration:none;transition:transform .6s var(--ease)}.notebook-teaser:hover{transform:rotate(3deg) translateY(-5px)}.teaser-paper{display:flex;align-items:center;gap:20px;padding:25px 25px 24px;background:#efeedf;box-shadow:0 3px 4px #3b49351a,0 15px 20px #3b493513;font:21px/1.1 'Caveat',cursive;border:1px solid #f8f7ed}.teaser-paper:before{content:'';position:absolute;width:70px;height:21px;top:-9px;left:70px;background:#d1d8bd99;transform:rotate(-9deg);box-shadow:0 1px 1px #00000006}.teaser-paper>.icon:first-child{width:27px;height:27px;color:#70805e}.teaser-paper>.icon:last-child{width:16px}.bench-bottom{position:absolute;bottom:0;left:4.1%;right:4.1%;height:55px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;font:8px var(--mono);letter-spacing:.8px;color:#77816c}.bench-bottom a{display:flex;align-items:center;gap:13px;text-decoration:none}.bench-bottom .icon{width:13px;height:13px;transform:rotate(90deg)}
/* A separate instrument, set into the same bench. */
.local-lab{position:relative;background:#303c30;color:#e8eadb;padding:32px 4.1% 60px;min-height:830px;overflow:hidden;isolation:isolate}.local-lab:before{content:'';position:absolute;inset:0;z-index:-1;opacity:.17;background-image:radial-gradient(#bbc6ac 0.6px,transparent .6px);background-size:20px 20px;mask-image:linear-gradient(90deg,transparent,#000)}.lab-heading{display:flex;justify-content:space-between;color:#aab79e;border-bottom:1px solid #b8c3a727;padding-bottom:23px}.lab-coordinate{font:9px var(--mono);letter-spacing:1px}.lab-copy{position:relative;margin-top:108px;width:40%;z-index:2}.lab-copy h2{font-size:clamp(42px,4.5vw,70px);line-height:1.05;letter-spacing:-2.8px;margin:0 0 25px}.lab-copy h2 em{color:#c7d0b3}.lab-copy p{font-size:13px;line-height:1.9;color:#b9c5ae}.text-button{display:inline-flex;gap:25px;align-items:center;background:none;border-bottom:1px solid #d4dfc977;padding:15px 0 10px;margin-top:20px;font-size:11px}.text-button .icon{width:17px}.text-button:hover .icon{transform:translate(3px,-3px)}.lab-apparatus{position:absolute;right:6%;top:140px;width:46%;max-width:660px;transform:rotate(3deg)}.lab-unit{position:relative;padding:18px 20px 14px;border-radius:14px;background:linear-gradient(125deg,#d7dbca,#aeb8a2);box-shadow:0 8px 0 #7a8b70,2px 30px 35px #121c1655,inset 0 1px 1px #f2f3e9;color:#35442f;border:1px solid #d3ddc8}.unit-top{display:flex;align-items:center;gap:14px;padding:0 3px 13px}.unit-brand{font-size:22px;line-height:1;font-weight:650;letter-spacing:-1.5px}.unit-top .eyebrow{font-size:7px;letter-spacing:1px}.unit-top .led{margin-left:auto;background:#b2d18d;box-shadow:0 0 5px #92b86e}.unit-display{background:#202d24;border:3px solid #7a8b72;border-radius:7px;padding:18px 20px;color:#c1d3b0;box-shadow:0 0 0 1px #e2e8d3,inset 0 0 20px #101c14}.unit-status{display:flex;justify-content:space-between;font:7px var(--mono);letter-spacing:.7px;border-bottom:1px solid #d9e1c921;padding-bottom:12px}.compute-status{display:flex;align-items:center;gap:5px}.compute-status i{width:4px;height:4px;border-radius:50%;background:#b3d286;animation:led-breathe 2s infinite}.signal-diagram{width:100%;height:auto;margin-top:15px;overflow:visible}.signal-diagram path{fill:none;stroke:#9cb28c;stroke-width:1.2}.signal-diagram .signal-track{stroke:#91a37b44}.signal-diagram .signal-flow{stroke:#c2d6a4;stroke-width:2;stroke-dasharray:9 380;animation:signal 5s linear infinite}.signal-diagram circle{fill:#9cb28c}.signal-diagram rect{stroke:#9cb28c;fill:#2c3f2b}.signal-labels{display:flex;justify-content:space-between;font:6px var(--mono);color:#879e77;letter-spacing:.3px;padding:0 8px}.prompt-panel{margin-top:22px;padding-top:17px;border-top:1px solid #d9e1c921}.prompt-label{font:7px var(--mono);letter-spacing:.6px}.prompt-options{display:flex;gap:6px;margin:12px 0}.prompt-options button{font-size:9px;padding:7px 10px;border:1px solid #9fb08855;background:transparent;color:#b6c8a4;border-radius:3px}.prompt-options button.selected{background:#b4c79f;color:#273923;border-color:#b4c79f}.demo-input{font:9px/1.7 var(--mono);color:#899d7c;min-height:31px;max-width:95%}.demo-output{font:11px/1.7 var(--mono);color:#d2e2bc;margin-top:10px;min-height:38px}.demo-output.typing:after{content:'';display:inline-block;width:5px;height:11px;background:#b4c79f;margin-left:4px;animation:led-breathe .6s infinite}.run-button{font:8px var(--mono);color:#bdcea9;display:flex;align-items:center;gap:10px;background:transparent;padding:0}.run-button .icon{width:13px;height:13px}.unit-readout{display:flex;justify-content:space-between;align-items:center;font:6px var(--mono);color:#94a783;letter-spacing:.2px;margin-top:18px;padding-top:11px;border-top:1px solid #d9e1c921}.unit-readout b{font-weight:400;color:#d4e7bb}.unit-readout>span:first-child{font-size:8px}.unit-bottom{display:flex;align-items:center;justify-content:space-between;padding-top:13px;font:6px var(--mono);letter-spacing:1px}.unit-vents{width:86px;height:11px;background:repeating-linear-gradient(90deg,#6a7b5c 0 2px,transparent 2px 6px)}.screw{display:block;border:1px solid #78896a;border-radius:50%;width:7px;height:7px;background:linear-gradient(135deg,transparent 42%,#748867 43% 56%,transparent 57%)}.connection{position:relative;height:145px;margin-top:6px}.port-label{position:absolute;top:18px;left:calc(50% + 39px);font:6px var(--mono);letter-spacing:.8px;color:#b0be9e}.cable-plug{display:block;position:absolute;top:-5px;left:calc(50% - 50px);width:100px;height:75px;background:none;padding:0;z-index:2;transition:transform .7s cubic-bezier(.34,1.56,.64,1)}.cable-plug svg{width:100%;height:100%;overflow:visible}.plug-cord{stroke:#d76942;stroke-width:12;fill:none}.plug-body{fill:#d26843;stroke:#e68b60;stroke-width:1}.plug-ribs{stroke:#a7482a;stroke-width:2}.plug-head{fill:#84937a;stroke:#b1bc9f}.cable-plug:hover{transform:translateY(5px)}.connection.disconnected .cable-plug{transform:translate(10px,35px) rotate(-13deg)}.loose-cable{position:absolute;left:calc(50% - 210px);top:45px;width:420px;height:150px;overflow:visible;pointer-events:none;transition:transform .7s var(--ease)}.loose-cable path{fill:none;stroke:#cf6740;stroke-width:8;filter:drop-shadow(4px 8px 3px #12201455)}.connection.disconnected .loose-cable{transform:translate(8px,30px)}.unplug-note{font:24px 'Caveat',cursive;position:absolute;top:53px;left:-30px;transform:rotate(-9deg);color:#c3cdaf}.unplug-note svg{position:absolute;width:70px;height:40px;left:91%;top:9px;fill:none;stroke:currentColor;stroke-width:1.2}.lab-footnote{position:absolute;bottom:44px;left:4.1%;font:9px/1.8 var(--mono);color:#91a183;max-width:48%}
/* A bound notebook, not another column of cards. */
.maker-space{position:relative;min-height:800px;padding:115px 4.1% 110px;background:#e1e3d9;display:flex;align-items:flex-start;gap:7%;overflow:hidden}.maker-margin{width:24%;padding-top:17px}.maker-margin h2{font-size:clamp(43px,4.4vw,67px);line-height:1.07;letter-spacing:-3px;margin:35px 0 30px}.maker-margin h2 em{color:#728064}.maker-margin p{font:10px/1.8 var(--mono);color:#748068}.maker-scribble{fill:none;stroke:#8b967c;stroke-width:1.3;width:145px;margin-top:20px;transform:rotate(7deg)}.notebook{width:66%;max-width:900px;position:relative;transform:rotate(-3deg);margin-top:19px;filter:drop-shadow(0 15px 13px #424c2e20)}.notebook-spread{display:flex;position:relative;border-radius:6px 8px 8px 6px;background:#666e54;padding:4px 5px 8px;box-shadow:0 2px 0 #565e45,0 4px 0 #c2c3ae,0 6px 0 #eae7d3,0 8px 0 #686e52}.notebook-page{width:50%;min-height:480px;background:#f2eedb;position:relative;padding:30px 31px 35px}.page-left{border-radius:4px 0 0 3px;background:linear-gradient(90deg,#f2eedb 90%,#e0dcc6 99%,#c2bea7)}.page-right{border-radius:0 5px 3px 0;background:linear-gradient(90deg,#c9c5ae,#eae6cf 3%,#f2eedb 9%);padding:28px 25px 30px}.notebook-rule{font:7px var(--mono);letter-spacing:.7px;border-bottom:1px solid #666e4933;display:flex;justify-content:space-between;padding-bottom:12px;color:#8a8d73}.handwritten{font-family:'Caveat',cursive;font-weight:500}.note-date{display:block;font-size:21px;color:#9b543b;margin-top:27px;transform:rotate(-3deg)}.notebook-page h3{font-family:var(--serif);font-size:33px;font-weight:400;line-height:1.1;letter-spacing:-1.6px;margin:17px 0}.notebook-page p{font-size:10px;line-height:1.9;color:#69705b}.notebook-page p strong{font-weight:550;color:#3c4631}.notebook-page p a{text-underline-offset:3px}.signature{font-size:38px;display:block;margin-top:20px;color:#687757;transform:rotate(-6deg)}.page-number{position:absolute;bottom:16px;left:31px;font:8px var(--mono);color:#8c8f77}.diagram-title{display:block;font-size:24px;transform:rotate(4deg);text-align:center;color:#778364;margin-top:10px}.notebook-diagram{width:100%;height:290px;display:block;color:#6b7858}.notebook-diagram text{fill:currentColor;font:20px 'Caveat',cursive}.notebook-quote{font-size:25px!important;line-height:1.1!important;text-align:center;transform:rotate(-5deg);margin:10px 0 28px;color:#81906c!important}.notebook-footer{position:absolute;bottom:17px;left:30px;right:25px;text-align:center;font:6px var(--mono);color:#8c927a;letter-spacing:.6px}.notebook-tabs{position:absolute;left:27px;top:-24px;right:20px;display:flex;gap:8px;align-items:flex-end}.notebook-tabs button{font:7px var(--mono);letter-spacing:.6px;padding:12px 17px 13px;border-radius:3px 3px 0 0;background:#bbbfa7;color:#545e45;transition:transform .3s,background .3s}.notebook-tabs button.active{background:#d0b47e;transform:translateY(-3px)}.notebook-tabs button:hover{transform:translateY(-5px)}#note-content{animation:note-in .4s var(--ease)}.note-principles{list-style:none;padding:0;margin:20px 0}.note-principles li{padding:10px 0;border-bottom:1px solid #76805c22;font-size:10px;line-height:1.65}.note-principles b{display:block;font-weight:550;font-size:12px;color:#4e5b3f}.note-principles span{color:#7d846d}.pencil{position:absolute;right:3%;bottom:83px;width:390px;height:10px;transform:rotate(-17deg);background:linear-gradient(#df8c4f 0 25%,#c96b37 25% 64%,#b15b30 64%);box-shadow:0 6px 5px #26331f33;border-radius:1px 2px 2px 1px}.pencil:before{content:'';position:absolute;left:-35px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-right:35px solid #c9ad7f}.pencil:after{content:'';position:absolute;left:-35px;border-top:1.5px solid transparent;border-bottom:1.5px solid transparent;border-right:11px solid #424839;top:3.5px}.pencil span{display:block;color:#efd0a1;font:5px var(--mono);letter-spacing:1px;line-height:9px;text-align:center}.contact-bench{border-top:1px solid #c5ccba;background:#e9e9e0;min-height:410px;padding:70px 7% 80px 4.1%;display:flex;justify-content:space-between;align-items:center;gap:50px;overflow:hidden}.contact-intro h2{font-size:clamp(47px,5.5vw,82px);letter-spacing:-4px;line-height:1;margin:27px 0 0}.contact-intro h2 em{color:#728064}.contact-card{background:#ece8d6;position:relative;width:54%;max-width:650px;padding:35px 37px 24px;transform:rotate(3deg);box-shadow:1px 2px 3px #4d583426,5px 15px 18px #4d583414;border:1px solid #f7f3e5}.card-punch{position:absolute;top:18px;right:19px;border-radius:50%;width:7px;height:7px;box-shadow:inset 1px 1px 2px #70775e;background:#e1e2d6}.contact-card>.eyebrow{font-size:8px;letter-spacing:1px;color:#91917b}.contact-email{display:block;font-size:clamp(24px,3.2vw,49px);line-height:1.05;letter-spacing:-1.9px;text-decoration:none;margin:19px 0 17px;color:#4f5c40}.contact-email .icon{width:27px;height:27px;margin-left:3px}.contact-card p{font-size:10px;line-height:1.8;color:#7a806a}.contact-card-bottom{display:flex;justify-content:space-between;gap:15px;margin-top:26px;padding-top:15px;border-top:1px solid #8b947433;font:7px var(--mono);color:#7b826b;align-items:center}.contact-card-bottom button{display:flex;align-items:center;gap:8px;background:none;font:8px var(--mono);padding:0}.contact-card-bottom .icon{width:14px;height:14px}.footer{display:flex;justify-content:space-between;align-items:center;padding:28px 4.1%;border-top:1px solid var(--line);font:8px var(--mono);color:#7d8672;letter-spacing:.4px}.footer>div{display:flex;align-items:center;gap:25px}.footer a{display:flex;align-items:center;text-decoration:none;gap:6px}.footer .icon{width:13px;height:13px}.back-top{transform:rotate(-90deg)}
/* The selected cartridge opens into its own project sheet. */
.project-dialog{padding:0;border:0;width:min(940px,92vw);max-height:90svh;overflow:auto;background:#edeadd;color:var(--ink);box-shadow:0 30px 100px #14201466}.project-dialog::backdrop{background:#19271cb3;backdrop-filter:blur(8px)}.project-dialog[open]{animation:sheet-open .5s var(--ease)}.project-sheet{padding:40px 45px 45px;position:relative}.dialog-close{position:absolute;right:20px;top:17px;background:#d7dacb;border-radius:50%;width:34px;height:34px;display:flex;align-items:center;justify-content:center}.dialog-close .icon{width:17px;height:17px}.project-sheet-label{display:flex;gap:25px;justify-content:space-between;font:8px var(--mono);letter-spacing:1px;color:#79816d;border-bottom:1px solid #bfc6b3;padding:0 30px 19px 0}.project-heading{display:flex;justify-content:space-between;gap:35px;align-items:center;margin:29px 0}.project-heading h2{font-size:54px;letter-spacing:-3px;margin:0 0 10px}.project-heading p{font-size:12px;color:#748066;margin:0;line-height:1.6}.project-heading>svg{width:65px;height:65px;stroke:var(--project-color);stroke-width:1.3;fill:none;flex-shrink:0}.project-media{background:#d6dacd;border:1px solid #bac5ae;padding:9px;border-radius:6px;overflow:hidden;min-height:220px;display:flex;align-items:center;justify-content:center}.project-media video{display:block;width:100%;max-height:380px;object-fit:contain;border-radius:2px;background:#e9e7dc}.project-copy{display:grid;grid-template-columns:1.6fr 1fr;gap:45px;margin-top:25px}.project-copy p{font-size:13px;line-height:1.9;margin:0 0 15px}.project-copy .project-aside{font:10px/1.8 var(--mono);color:#7c856e;border-left:1px solid #c4cbb8;padding-left:25px}.project-links{display:flex;gap:23px;align-items:center;margin-top:20px;flex-wrap:wrap}.project-links a{display:inline-flex;gap:15px;align-items:center;font-size:11px;text-decoration:none;border-bottom:1px solid #aeb89f;padding-bottom:7px}.project-links .primary-link{background:var(--ink);color:#eeeedf;padding:12px 18px;border:0}.project-links .icon{width:15px;height:15px}.lean-demo{width:100%;padding:30px;display:flex;flex-direction:column;gap:20px;font:14px var(--mono)}.lean-demo span{display:flex;align-items:center;gap:20px;padding-bottom:15px;border-bottom:1px solid #acb69e}.lean-demo b{color:#a77f31;font-weight:400}.lean-demo small{font-size:9px;color:#748065}.local-project-diagram{display:flex;align-items:center;justify-content:center;gap:25px;width:100%;padding:45px 20px}.local-project-diagram>div{display:flex;flex-direction:column;align-items:center;gap:17px;font:9px var(--mono);text-align:center}.local-project-diagram>div svg{width:60px;height:60px;fill:none;stroke:#5b7350;stroke-width:1}.toast{position:fixed;bottom:26px;left:50%;transform:translate(-50%,20px);background:#303e2b;color:#eff1e2;padding:13px 22px;border:1px solid #697e57;box-shadow:0 6px 20px #24311e22;font:10px var(--mono);z-index:50;opacity:0;pointer-events:none;transition:opacity .3s,transform .3s;max-width:90vw;text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}.no-script{padding:20px 4.1%;font-size:13px}.js-motion .reveal{opacity:0;translate:0 25px;transition:opacity .9s var(--ease),translate .9s var(--ease)}.js-motion .reveal.visible{opacity:1;translate:0 0}
@keyframes machine-arrive{from{opacity:0;translate:30px 35px;rotate:4deg}to{opacity:1;translate:0 0;rotate:0deg}}@keyframes led-breathe{0%,100%{opacity:.65}50%{opacity:1}}@keyframes signal{to{stroke-dashoffset:-778}}@keyframes cartridge-swap{0%,100%{translate:0 0}35%{translate:0 20px;opacity:0}60%{translate:0 20px;opacity:0}}@keyframes sheet-open{from{opacity:0;transform:translateY(45px) rotate(2deg)}to{opacity:1;transform:translateY(0) rotate(0)}}@keyframes note-in{from{opacity:0;transform:translateX(5px)}to{opacity:1;transform:translateX(0)}}
@media(min-width:1600px){.workbench{min-height:1030px}.hero-copy{top:90px}.machine-scene{right:3%;top:50px}.cartridge-area{width:690px;bottom:120px}.cartridge{width:155px}.cartridge-tray{gap:24px}.cart-label{padding:12px}.cart-label strong{font-size:18px}.cart-category{font-size:7px}.cart-bottom{font-size:6px}.cart-number{font-size:11px}.notebook-teaser{bottom:145px}.local-lab{min-height:900px}.lab-apparatus{top:130px}.maker-space{padding-top:140px;padding-bottom:150px}.notebook-page{min-height:550px}.notebook-page p{font-size:12px}.notebook-page h3{font-size:40px}.notebook-diagram{height:330px}}
@media(max-width:1150px){.workbench{min-height:900px}.hero-copy{top:55px}.hero-copy h1{font-size:69px;letter-spacing:-4px}.hero-copy .eyebrow{font-size:8px}.hero-description{font-size:12px}.machine-scene{top:135px;right:-8%;width:65vw}.machine-annotation{top:70%;left:30%;font-size:20px}.cartridge-area{width:530px;bottom:95px}.cartridge{width:120px}.cartridge-tray{gap:16px}.cart-label strong{font-size:13px}.cart-number svg{width:20px;height:20px}.cart-number{margin-bottom:4px}.cart-label{padding:7px}.cart-category{font-size:5.4px}.cart-bottom{font-size:4.5px}.notebook-teaser{right:5%;bottom:100px}.teaser-paper{padding:20px 17px;font-size:19px;gap:12px}.teaser-paper>.icon:first-child{display:none}.lab-copy{width:42%}.lab-apparatus{right:4.1%;width:48%}.lab-copy h2{font-size:49px}.local-lab{min-height:790px}.lab-footnote{font-size:8px;max-width:42%}.unplug-note{left:-10px;font-size:20px;top:80px}.unit-display{padding:14px}.unit-status{font-size:6px}.unit-readout{font-size:5px}.unit-readout>span:first-child{font-size:7px}.maker-space{gap:5%;padding-top:100px;min-height:740px}.maker-margin{width:25%}.notebook{width:70%}.notebook-page{padding:25px 23px 35px}.notebook-page p{font-size:9px}.notebook-page h3{font-size:29px}.notebook-diagram{height:285px}.notebook-tabs button{font-size:6px;padding:10px 13px 14px}.contact-card{width:56%}}
@media(max-width:850px){.masthead{height:88px;padding:0 5%;gap:25px}.masthead-note{font-size:10px;padding-left:20px}.availability{font-size:9px}.availability .icon{display:none}.workbench{height:auto;min-height:1140px}.hero-copy{left:5%;top:42px}.hero-copy h1{font-size:76px;letter-spacing:-4.5px;margin-top:20px}.hero-description{font-size:13px}.coordinate-one{font-size:7px;top:24px}.machine-scene{top:310px;right:0;width:82%;height:520px}.machine{top:0}.screen-content h2{font-size:36px}.screen-description{font-size:11px}.screen-kicker{font-size:8px}.screen-topline{font-size:7px}.screen-open{font-size:8px}.screen-mini-demo{font-size:8px}.machine-annotation{top:79%;left:38%}.cartridge-area{left:5%;bottom:105px;width:65%;max-width:540px}.cartridge{width:23%;padding:11px 6px 13px}.cartridge-tray{gap:12px}.cart-label{padding:6px}.cart-number{font-size:8px;margin-bottom:0}.cart-number svg{width:18px;height:18px}.cart-label strong{font-size:11px}.cart-category{font-size:4.5px;letter-spacing:.2px}.cart-bottom{font-size:4px;padding-top:5px}.cart-bars{width:20px;height:6px}.cart-base{height:5px;bottom:4px}.notebook-teaser{right:5%;bottom:125px}.teaser-paper{font-size:18px;gap:9px;padding:19px 13px}.teaser-paper:before{left:30px;width:50px}.bench-bottom{left:5%;right:5%;font-size:7px;letter-spacing:.1px}.lab-copy{margin-top:60px}.lab-copy h2{font-size:45px}.lab-copy p{font-size:11px}.local-lab{padding:28px 5% 50px;min-height:1050px}.lab-heading .eyebrow{font-size:8px}.lab-coordinate{font-size:7px}.lab-apparatus{width:62%;max-width:540px;top:360px;right:8%}.lab-footnote{left:5%;bottom:35px;max-width:90%}.maker-space{display:block;padding:60px 5% 110px}.maker-margin{width:100%;position:relative}.maker-margin h2{font-size:52px;line-height:1.05;margin:20px 0 55px}.maker-margin h2 br:nth-child(2){display:none}.maker-margin p{position:absolute;right:5px;top:30px;text-align:right}.maker-scribble{position:absolute;right:15%;top:85px;width:100px;rotate:30deg}.notebook{width:94%;max-width:none;margin:0 auto}.notebook-page p{font-size:11px}.notebook-page h3{font-size:33px}.notebook-page{min-height:490px}.notebook-diagram{height:300px}.pencil{width:330px;bottom:63px;right:7%;rotate:5deg}.contact-bench{padding:60px 6% 70px;gap:35px}.contact-intro .eyebrow{font-size:8px}.contact-intro h2{font-size:52px;letter-spacing:-3px}.contact-card{padding:29px 23px 20px;min-width:0}.contact-email{font-size:26px;letter-spacing:-1.2px}.contact-email .icon{width:20px;height:20px}.contact-card p{font-size:9px}.contact-card-bottom{font-size:5px;gap:5px}.contact-card-bottom button{font-size:7px}.contact-card>.eyebrow{font-size:6px}.footer-center{display:none}.footer{padding:25px 5%}.project-sheet{padding:35px 28px}.project-heading h2{font-size:44px}.project-copy{gap:25px}}
@media(max-width:600px){.masthead{height:76px;gap:18px}.wordmark{font-size:27px}.masthead-note{font-size:8px;padding-left:15px}.availability{font-size:0;gap:0}.availability .led{width:7px;height:7px}.availability:after{content:'LET’S TALK';font:8px var(--mono);margin-left:9px}.workbench{min-height:1060px}.hero-copy{top:32px;right:5%}.hero-copy .eyebrow{font-size:6.5px;letter-spacing:1px;gap:8px}.hero-copy h1{font-size:clamp(56px,14.2vw,82px);letter-spacing:-3.7px;margin:22px 0 19px}.hero-description{font-size:11px;line-height:1.8}.bench-invitation{font-size:10px;margin-top:12px;gap:9px}.round-arrow{width:27px;height:27px}.coordinate-one{display:none}.machine-scene{width:114%;right:-7%;top:349px;height:440px}.machine{width:96%;left:0;top:0;transform:rotate(-7deg) rotateY(-5deg) rotateX(6deg)}.bench-cable{top:-28px;right:-14%;width:110%}.machine-screen{padding:3.2% 4%}.screen-topline{font-size:5px;padding-bottom:7px;letter-spacing:.5px}.screen-topline i{width:3px;height:3px}.screen-content{padding-top:6%}.screen-kicker{font-size:5.5px;letter-spacing:.7px;margin-bottom:5px}.screen-content h2{font-size:28px;letter-spacing:-1.2px}.screen-content h2 span{font-size:6px}.screen-description{font-size:8px;margin:7px 0 6px}.screen-project-icon{width:38px;height:38px;top:20%}.screen-mini-demo{font-size:5px;gap:5px;margin-top:8px}.screen-mini-demo>span:first-child{padding:3px 5px}.screen-mini-demo .icon{width:12px;height:12px}.screen-open{font-size:5.5px;padding-top:6px}.screen-open .icon{width:10px;height:10px}.power-caption{font-size:4px}.inserted-cartridge span{font-size:4px;padding:2px 4px}.machine-annotation{top:73%;left:32%;font-size:20px;gap:0}.machine-annotation svg{width:50px}.cartridge-area{left:5%;right:5%;width:auto;bottom:109px;max-width:none}.tray-heading{margin-bottom:15px}.tray-heading .eyebrow{font-size:7px;letter-spacing:.9px}.tray-hint{font-size:6px;gap:3px}.tray-hint .icon{width:10px}.cartridge-tray{gap:10px}.cartridge{width:calc((100% - 30px)/4);padding:10px 5px 12px;border-radius:5px}.cart-label{padding:5px 4px;gap:3px;border-top-width:4px}.cart-label strong{font-size:10px;letter-spacing:-.4px}.cart-number{font-size:7px;margin-bottom:3px}.cart-number svg{width:16px;height:16px}.cart-category{font-size:3.6px}.cart-bottom{font-size:3.4px}.cart-bars{width:17px;height:5px}.cart-ridges{top:3px;height:5px}.cart-base{height:4px;bottom:4px}.cartridge.active{transform:translateY(-7px) rotate(-3deg)}.cartridge:hover{transform:translateY(-8px)}.notebook-teaser{display:none}.bench-bottom{height:61px;align-items:center;font-size:6px;gap:30px}.bench-bottom>span{max-width:130px;line-height:1.6;letter-spacing:.5px}.bench-bottom a{gap:8px;font-size:7px}.local-lab{min-height:1065px;padding:25px 5% 40px}.lab-heading{padding-bottom:17px}.lab-heading .eyebrow{font-size:6px;letter-spacing:.9px}.lab-coordinate{font-size:5px;letter-spacing:.5px}.lab-copy{margin-top:43px;width:100%}.lab-copy h2{font-size:49px;letter-spacing:-2.6px;margin-bottom:20px}.lab-copy p{font-size:12px;line-height:1.8}.text-button{font-size:10px;margin-top:12px;padding-top:10px}.lab-apparatus{top:400px;right:6%;width:88%;transform:rotate(3deg)}.lab-unit{padding:14px 13px 12px;border-radius:11px}.unit-top{padding-bottom:12px}.unit-brand{font-size:19px}.unit-top .eyebrow{font-size:6px}.unit-display{padding:13px 12px}.unit-status{font-size:5px;letter-spacing:.2px}.signal-diagram{margin-top:15px}.signal-labels{font-size:4.5px;padding:0 3px}.prompt-panel{margin-top:18px;padding-top:13px}.prompt-label{font-size:6px}.prompt-options{margin:10px 0}.prompt-options button{font-size:8px;padding:7px 9px}.demo-input{font-size:8px;min-height:28px}.demo-output{font-size:9px;min-height:34px}.unit-readout{font-size:4px;letter-spacing:0}.unit-readout>span:first-child{font-size:6px}.unit-bottom{font-size:4px}.unit-vents{width:60px;height:9px}.unplug-note{left:-10px;top:95px;font-size:21px}.loose-cable{width:330px;left:calc(50% - 165px)}.lab-footnote{font-size:6.5px;line-height:1.8;bottom:26px;max-width:89%}.maker-space{padding:45px 5% 90px}.maker-margin .eyebrow{font-size:8px}.maker-margin h2{font-size:48px;margin:19px 0 62px}.maker-margin p{font-size:7px;top:40px;right:0}.maker-scribble{width:80px;top:112px;right:12%;rotate:20deg}.notebook{width:100%;transform:rotate(-2deg)}.notebook-page{padding:21px 17px 30px;min-height:455px}.notebook-page h3{font-size:27px;letter-spacing:-1px}.notebook-page p{font-size:9px;line-height:1.8}.notebook-rule{font-size:5px}.note-date{font-size:18px;margin-top:22px}.signature{font-size:30px;margin-top:14px}.page-left{width:59%}.page-right{width:41%;padding:22px 9px}.diagram-title{font-size:18px;margin-top:12px}.notebook-diagram{height:240px;margin-top:12px;overflow:visible}.notebook-diagram text{font-size:23px}.notebook-quote{font-size:19px!important;margin-top:5px}.notebook-footer{font-size:4px;left:14px;right:10px;letter-spacing:.3px;line-height:1.8}.notebook-tabs{left:12px;gap:6px;top:-22px}.notebook-tabs button{padding:10px 11px 13px;font-size:5px;letter-spacing:.4px}.page-number{left:17px;font-size:6px}.note-principles{margin:12px 0}.note-principles li{font-size:8px;padding:9px 0}.note-principles b{font-size:10px}.pencil{width:260px;height:8px;bottom:42px;right:4%;transform:rotate(-10deg)}.pencil span{font-size:4px;line-height:7px;letter-spacing:.7px}.pencil:before{border-top-width:4px;border-bottom-width:4px}.pencil:after{top:2.5px}.contact-bench{display:block;padding:45px 7% 60px}.contact-intro .eyebrow{font-size:7px}.contact-intro h2{font-size:59px;line-height:.98;margin-top:22px}.contact-intro h2 br{display:none}.contact-intro h2 em{display:block}.contact-card{width:100%;margin-top:48px;padding:30px 26px 22px;transform:rotate(3deg)}.contact-email{font-size:32px;letter-spacing:-1.4px}.contact-card>.eyebrow{font-size:6px}.contact-card p{font-size:9px}.contact-card-bottom{font-size:5px;margin-top:22px}.contact-card-bottom button{font-size:7px}.footer{font-size:6px;padding:22px 5%}.footer>div{gap:16px}.footer .icon{width:10px;height:10px}.project-dialog{width:94vw;max-height:92svh}.project-sheet{padding:40px 22px 30px}.project-sheet-label{font-size:6px;gap:20px;padding-right:0;line-height:1.7}.project-sheet-label span:last-child{max-width:110px;text-align:right}.dialog-close{width:27px;height:27px;right:12px;top:8px}.dialog-close .icon{width:14px;height:14px}.project-heading{gap:12px;margin:25px 0}.project-heading h2{font-size:38px;letter-spacing:-2px}.project-heading p{font-size:10px}.project-heading>svg{width:42px;height:42px}.project-media{min-height:140px;padding:5px}.project-copy{display:block;margin-top:20px}.project-copy p{font-size:11px}.project-copy .project-aside{font-size:9px;padding-left:15px;margin-top:20px}.project-links{gap:20px}.project-links a{font-size:10px}.lean-demo{padding:14px;gap:10px;font-size:9px}.lean-demo span{gap:12px;padding-bottom:10px}.lean-demo small{font-size:6px}.local-project-diagram{padding:30px 8px;gap:12px}.local-project-diagram>div{font-size:6px;gap:12px}.local-project-diagram>div svg{width:43px;height:43px}.local-project-diagram>.icon{width:15px}.toast{font-size:8px}}
@media(max-width:380px){.workbench{min-height:1000px}.machine-scene{top:339px}.cartridge-area{bottom:100px}.cart-label strong{font-size:8px}.cart-category{font-size:3px}.machine-annotation{top:68%;left:27%;font-size:18px}.screen-content h2{font-size:24px}.screen-description{font-size:7px}.screen-mini-demo{margin-top:4px}.screen-content{padding-top:5%}.lab-copy h2{font-size:43px}.lab-apparatus{top:390px}.local-lab{min-height:1030px}.notebook-page{padding-left:13px;padding-right:13px}.page-right{padding-left:8px;padding-right:8px}.notebook-page h3{font-size:23px}.notebook-page p{font-size:8px}.contact-email{font-size:28px}.masthead-note{font-size:7px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.js-motion .reveal{opacity:1;translate:none}.machine{opacity:1}.signal-flow{stroke-dasharray:8 12!important}}
/* Mechanical transitions are kept separate from the resting composition. */
.cartridge-ghost{position:fixed!important;margin:0!important;z-index:80;pointer-events:none;transform-origin:center;transition:none!important;box-shadow:0 18px 25px #27361e33;opacity:0}
.machine.booting .machine-screen{animation:screen-boot 1.2s var(--ease) both}
.machine.booting .screen-reflection:after{content:'';position:absolute;left:0;right:0;top:0;height:35%;background:linear-gradient(transparent,#c3dd9a18,transparent);animation:scan-start 1.2s ease-out both}
.screen-mini-demo>.icon{animation:transfer 3.5s ease-in-out infinite}
.screen-project-icon{animation:icon-draw-in 1s var(--ease) both}
.page-left{transform-origin:right center}
@keyframes screen-boot{0%{filter:brightness(.12)}20%{filter:brightness(.12)}34%{filter:brightness(1.2)}42%{filter:brightness(.85)}100%{filter:brightness(1)}}
@keyframes scan-start{from{transform:translateY(-100%)}to{transform:translateY(400%)}}
@keyframes transfer{0%,65%,100%{transform:translateX(0);opacity:.5}80%{transform:translateX(4px);opacity:1}90%{transform:translateX(0);opacity:.5}}
@keyframes icon-draw-in{from{opacity:0;transform:translateX(-8px)}to{opacity:.7;transform:translateX(0)}}
@media(prefers-reduced-motion:reduce){.cartridge-ghost{display:none}.machine.booting .machine-screen{filter:none}}
/* Small screens retain the object, with larger type for the things you use. */
@media(max-width:600px){
  .screen-open{font-size:7.5px;min-height:24px}
  .screen-description{font-size:9px}
  .screen-topline{font-size:5.8px}
  .screen-content{min-height:0}
  .screen-mini-demo{margin-top:6px}
  .power-button:before,.sound-button:before{content:'';position:absolute;inset:-5px;border-radius:50%}
  .local-lab{min-height:1140px}
  .unplug-note{left:3px;top:82px;font-size:20px}
  .prompt-options button{font-size:9px;min-height:32px}
  .run-button{font-size:9px;min-height:27px}
  .demo-input{font-size:9px}
  .demo-output{font-size:10px;min-height:38px}
  .lab-footnote{font-size:7px;bottom:28px}
  .notebook-page{min-height:535px}
  .page-left{width:64%}
  .page-right{width:36%}
  .notebook-page p{font-size:11px;line-height:1.75}
  .notebook-page h3{font-size:29px}
  .notebook-tabs button{min-height:36px;font-size:6px}
  .notebook-tabs{top:-28px}
  .note-principles li{font-size:10px;line-height:1.6;padding:12px 0}
  .note-principles b{font-size:12px}
  .contact-card p{font-size:11px}
  .contact-card-bottom button{font-size:8px;min-height:30px}
  .contact-card-bottom{font-size:6px}
}
@media(max-width:380px){
  .workbench{min-height:1170px}
  .cartridge-area{width:270px;max-width:90%;left:50%;right:auto;transform:translateX(-50%);bottom:100px}
  .cartridge-tray{display:grid;grid-template-columns:1fr 1fr;gap:22px 30px}
  .cartridge{width:100%;aspect-ratio:133/150;padding:12px 8px 14px}
  .cart-label strong{font-size:13px}
  .cart-label{padding:7px}
  .cart-category{font-size:5px}
  .cart-number{font-size:9px}
  .cart-number svg{width:20px;height:20px}
  .cart-bottom{font-size:5px}
  .machine-annotation{top:62%;left:27%;font-size:17px}
  .cartridge.active{transform:translateY(-3px) rotate(-3deg)}
  .local-lab{min-height:1120px}
  .notebook-page p{font-size:10px}
  .notebook-page h3{font-size:25px}
}

/* Second pass: fixed glass, seated connectors, and deliberate mechanical motion. */
.machine {
  transform: rotate(-7deg);
  transform-style: flat;
  transition: none;
}
.machine-screen { isolation: isolate; }
.machine-screen:after {
  background: none;
  opacity: 1;
  box-shadow: inset 0 1px 2px #0008, inset 0 0 20px #09140d30;
}
.screen-reflection {
  z-index: 2;
  background: radial-gradient(ellipse at var(--light-x, 18%) var(--light-y, 0%), #edf7d90b, transparent 64%), linear-gradient(128deg, #ffffff08, transparent 44%);
}
.machine-led { animation: none; filter: drop-shadow(0 0 3px #bbd99777); }
.machine.booting .machine-led { animation: led-breathe .35s 3; }
.screen-boot-mark {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #1d2a22; opacity: 0; visibility: hidden;
}
.screen-boot-mark>span { font-size: clamp(30px, 4vw, 58px); letter-spacing: -.08em; }
.screen-boot-mark small { font: clamp(5px, .55vw, 8px) var(--mono); letter-spacing: 1.2px; margin-top: 12px; color: #96ab86; }
.screen-boot-mark i { width: 44%; height: 1px; margin-top: 20px; background: #b9ce99; transform-origin: left; }
.machine.booting .screen-boot-mark { animation: boot-ident 1.5s both; }
.machine.booting .screen-boot-mark i { animation: boot-progress 1.1s var(--ease) both; }
.machine.booting .machine-screen { animation: screen-boot 1.5s var(--ease) both; }
.machine.booting .screen-reflection:after { animation-duration: 1.5s; }
.machine.is-off .screen-boot-mark { display: none; }
@keyframes boot-ident { 0%,65% { opacity: 1; visibility: visible; } 90%,100% { opacity: 0; visibility: hidden; } }
@keyframes boot-progress { 0%,20% { transform: scaleX(0); } 80%,100% { transform: scaleX(1); } }
.cartridge:not(.cartridge-ghost) { animation: cartridge-settle 1.1s var(--ease) both; }
.cartridge:nth-child(2) { animation-delay: .08s; }
.cartridge:nth-child(3) { animation-delay: .16s; }
.cartridge:nth-child(4) { animation-delay: .24s; }
@keyframes cartridge-settle { from { translate: 0 -14px; opacity: 0; } to { translate: 0 0; opacity: 1; } }
.inserted-cartridge { --loaded-color: #d44d30; overflow: hidden; }
.inserted-cartridge span { border-left: 4px solid var(--loaded-color); box-shadow: inset 0 0 0 1px #fff5; }
.machine.swapping .inserted-cartridge { animation: cartridge-exchange 1.05s var(--ease) both; }
.machine.swapping .screen-open { opacity: .35; }
@keyframes cartridge-exchange {
  0% { translate: 0 0; opacity: 1; }
  16% { translate: 0 12px; opacity: 1; }
  30%,77% { translate: 0 22px; opacity: 0; }
  83% { translate: 0 12px; opacity: 1; }
  100% { translate: 0 0; opacity: 1; }
}
.cart-label { background-image: linear-gradient(115deg, #ffffff16, transparent 60%); }
.cart-bars { display: block; flex-shrink: 0; }
.cartridge-tray { position: relative; }
.cartridge-tray:before { content: ''; position: absolute; inset: 12px -14px -10px; border-radius: 9px; box-shadow: inset 0 1px 2px #59634712, 0 1px 0 #fafcf04d; pointer-events: none; }
.cartridge-area { bottom: 112px; }
.lab-unit { z-index: 3; box-shadow: 0 7px 0 #7a8b70, 0 9px 2px #18251655, 2px 30px 35px #121c1655, inset 0 1px 1px #f2f3e9; }
.connection { margin-top: 0; height: 190px; }
.network-socket {
  position: absolute; top: -8px; left: calc(50% - 20px); width: 40px; height: 13px; z-index: 4;
  border: 2px solid #6e7c63; border-bottom-color: #b4bfa5; border-radius: 3px;
  background: #18241b; box-shadow: 0 1px 0 #d5dfc466, inset 0 2px 4px #000a;
  pointer-events: none;
}
.network-socket i { position: absolute; left: 5px; right: 5px; height: 2px; top: 1px; background: #a5b191; opacity: .4; }
.network-cable { position: absolute; top: -24px; left: calc(50% - 210px); width: 420px; height: 210px; overflow: visible; pointer-events: none; z-index: 1; }
.network-cable #network-cord { fill: none; stroke: #ce7048; stroke-width: 8; stroke-linecap: round; }
.network-cord-shadow { fill: none; stroke: #101c16; stroke-width: 10; opacity: .3; transform: translate(3px, 6px); filter: blur(3px); }
.connector-contacts { opacity: 1; }
.cable-plug {
  top: -10px; left: calc(50% - 26px); width: 52px; height: 60px;
  z-index: 5; background: transparent; padding: 0; border-radius: 8px;
  transform-origin: 50% 43px; transition: none;
}
.cable-plug:hover { transform: none; background: #f4c69009; }
.connection.disconnected .cable-plug { transform: none; }
.cable-plug:focus-visible { outline-offset: 3px; }
.port-label { top: 2px; left: calc(50% + 35px); font-size: 6px; max-width: 110px; line-height: 1.7; }
.unplug-note { top: 67px; left: -25px; }
.network-socket:after { content: ''; position: absolute; width: 3px; height: 3px; right: -9px; top: 3px; background: #b8d889; border-radius: 50%; box-shadow: 0 0 4px #b8d88988; transition: background .25s; }
.connection.disconnected .network-socket:after { background: #596c4e; box-shadow: none; }
.project-dialog[open] { animation: none; }
.project-dialog { border: 1px solid #f8f6e7; border-bottom: 4px solid #ccc9b5; }
.project-sheet:before { content: ''; position: absolute; top: 0; bottom: 0; left: 49%; width: 1px; background: #fff6; box-shadow: 1px 0 2px #7c7d6c12; pointer-events: none; }
.project-sheet-label { border-top: 3px solid var(--project-color); padding-top: 14px; }
.dialog-close { z-index: 2; }
.notebook-spread { perspective: 1200px; }
.notebook-page { box-shadow: inset 0 1px 0 #fff8; }
.turning-leaf {
  position: absolute; top: 59px; left: 0; right: 0; bottom: 0; z-index: 5; overflow: hidden;
  padding: 0 31px 35px; background: linear-gradient(90deg, #f2eedb 80%, #d9d4bd);
  transform-origin: right center; backface-visibility: hidden;
  box-shadow: -6px 2px 12px #4a4f2d18; pointer-events: none;
}
.turning-leaf:after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, #9e9a7d55); animation: fold-shadow .68s both; }
@keyframes fold-shadow { from { opacity: 0; } to { opacity: 1; } }
#note-content { animation-duration: .65s; }
.contact-card:after { content: ''; position: absolute; right: 0; bottom: 0; width: 16px; height: 16px; background: linear-gradient(135deg, #d0ccb7 49%, #f7f2de 51%); box-shadow: -1px -1px 1px #847c5a15; }
@media(min-width:851px) { .screen-open { font-size: 11px; min-height: 29px; } .screen-description { font-size: clamp(10px, 1vw, 15px); } }
@media(min-width:1600px) { .cartridge-area { bottom: 140px; } }
@media(max-width:1150px) { .turning-leaf { top: 54px; padding-left: 23px; padding-right: 23px; } }
@media(max-width:850px) { .cartridge-area { bottom: 105px; } .unplug-note { top: 80px; left: 0; } }
@media(max-width:600px) {
  .machine { transform: rotate(-7deg); }
  .screen-open { font-size: 8px; }
  .cartridge-area { bottom: 109px; }
  .turning-leaf { top: 41px; padding-left: 17px; padding-right: 17px; }
  .unplug-note { top: 95px; left: 5px; font-size: 20px; }
  .network-cable { width: 420px; max-width: none; }
  .port-label { font-size: 5px; max-width: 80px; }
  .local-lab { min-height: 1190px; }
  .contact-card-bottom button { min-height: 36px; }
}
@media(max-width:380px) { .cartridge-area { bottom: 100px; } .turning-leaf { padding-left: 13px; padding-right: 13px; } .local-lab { min-height: 1160px; } }
@media(prefers-reduced-motion:reduce) {
  .screen-boot-mark { display: none; }
  .cartridge:not(.cartridge-ghost) { opacity: 1; translate: none; }
  .turning-leaf { display: none; }
}
.screen-reflection { overflow: hidden; }
@media(max-width:600px) {
  .unplug-note { left: auto; right: -2px; top: 66px; font-size: 19px; transform: rotate(-5deg); }
  .unplug-note svg { left: -48px; top: -12px; width: 45px; transform: rotate(160deg); }
}
@media(min-width:601px) and (max-width:850px) {
  .screen-content { min-height: 0; padding-top: 3%; }
  .screen-content h2 { font-size: 30px; }
  .screen-kicker { font-size: 7px; margin-bottom: 4px; }
  .screen-description { font-size: 10px; line-height: 1.4; margin: 7px 0; }
  .screen-mini-demo { font-size: 7px; margin-top: 6px; }
  .screen-mini-demo>span:first-child { padding: 3px 6px; }
  .screen-mini-demo .icon { height: 14px; }
  .screen-topline { font-size: 6px; padding-bottom: 7px; }
  .screen-open { font-size: 7.5px; padding-top: 6px; min-height: 22px; }
}

/* Mount the port in the front fascia; the plug sits above the housing surface. */
.unit-bottom { min-height: 67px; align-items: flex-start; padding-top: 14px; padding-bottom: 38px; }
.unit-bottom>span:not(.screw) { margin-left: auto; margin-right: 18px; }
.connection { z-index: 4; }
.network-socket {
  top: -47px; left: calc(50% - 27px); width: 54px; height: 32px;
  z-index: 0; border: 6px solid #7f8d73; border-top-color: #87967c;
  border-bottom-color: #d3ddc6; border-radius: 5px;
  background: #101d15;
  box-shadow: 0 1px 1px #f1f5e4, inset 0 3px 5px #000c, 0 -1px 1px #59674d;
}
.network-socket i { left: 0; right: 0; top: 0; height: 2px; opacity: .6; }
.network-cable { top: -60px; z-index: 1; }
#network-connector { filter: drop-shadow(1px 3px 1.5px #15201066); }
.network-socket:after { right: -15px; top: 6px; }
.cable-plug { top: -46px; }
.port-label { top: -31px; left: calc(50% + 44px); color: #526348; z-index: 2; }
@media(max-width:600px) { .unit-bottom { min-height: 65px; } .port-label { font-size: 5px; max-width: 65px; } }

/* A cartridge stays rigid; insertion is occlusion at the physical slot. */
.cartridge-port {
  position: absolute; left: 12.8%; top: 77%; width: 27%; height: 42%;
  overflow: hidden; pointer-events: none; z-index: 4;
}
.motion-cartridge {
  position: absolute !important; left: 0; top: 0; margin: 0;
  animation: none !important; transition: none !important; translate: none !important;
  transform-origin: center; pointer-events: none; opacity: 1;
  box-shadow: 0 3px 0 #263022, inset 0 1px 1px #87907b;
  will-change: transform;
}
.motion-cartridge:after { display: none !important; }
.cartridge-flight {
  position: fixed; inset: 0; z-index: 80; pointer-events: none;
  overflow: visible; contain: layout style;
}
.flight-shadow {
  position: absolute; left: 0; top: 0; border-radius: 8px;
  background: #1f2c19; pointer-events: none; will-change: transform, opacity;
}
.cartridge.is-loaded, .cartridge.in-transit {
  opacity: .24; box-shadow: inset 0 0 0 1px #38472b33;
  transition: opacity 180ms ease, transform .5s var(--ease);
}
.cartridge.is-loaded:after { opacity: 1; }
.machine.swapping .screen-content { opacity: .18; transform: none; transition: opacity 240ms ease; }
.screen-content { transition: opacity 420ms ease; }
@media(prefers-reduced-motion:reduce) { .cartridge-flight { display: none; } }
.cartridge.is-loaded, .cartridge.in-transit {
  filter: opacity(.22);
  opacity: 1;
  transition: filter 180ms ease, transform .5s var(--ease);
}
.cartridge.is-loaded, .cartridge.in-transit {
  filter: none; background: #d3d8cb55; border: 1px solid #aab39e66;
  box-shadow: inset 0 2px 5px #52604014, 0 1px 0 #f7f9ec66;
}
.cartridge.is-loaded>.cart-label, .cartridge.is-loaded>.cart-ridges, .cartridge.is-loaded>.cart-base,
.cartridge.in-transit>.cart-label, .cartridge.in-transit>.cart-ridges, .cartridge.in-transit>.cart-base { visibility: hidden; }
.cartridge.is-loaded:before, .cartridge.in-transit:before {
  content: 'IN THE MACHINE'; position: absolute; inset: 0; display: grid; place-items: center;
  font: 7px var(--mono); letter-spacing: .6px; color: #77836a;
}
.cartridge.in-transit:before { content: 'LOADING'; }
@media(max-width:600px) { .cartridge.is-loaded:before, .cartridge.in-transit:before { font-size: 4.5px; letter-spacing: .2px; } }

/* Full sheets hinge at the binding; printed content stays on the paper. */
.notebook-spread { perspective: 1800px; isolation: isolate; }
.page-left { transform-style: preserve-3d; }
.page-left.is-turning { z-index: 3; }
#note-content { animation: none !important; }
.book-leaf {
  position: absolute; inset: 0; z-index: 6; pointer-events: none;
  transform-origin: right center; transform-style: preserve-3d;
  will-change: transform; border-radius: inherit;
}
.book-leaf-front, .book-leaf-back {
  position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0;
  backface-visibility: hidden; border-radius: inherit; overflow: hidden;
}
.book-leaf-front {
  background: linear-gradient(90deg, #f3efdd 75%, #ded8bf);
  box-shadow: -10px 5px 24px #34382325; transform: translateZ(.2px);
}
.book-leaf-back {
  transform: rotateY(180deg); border: 1px solid #d9d3bb;
  background: repeating-linear-gradient(0deg, transparent 0 27px, #88826312 27px 28px), linear-gradient(90deg, #d4cdb2, #eee9d4 15%, #f4efdd 85%, #e3dcc3);
  box-shadow: 12px 8px 28px #34382322;
}
.book-leaf-front:after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent 65%, #716a4928);
}
.notebook-spread:before {
  content: ''; position: absolute; inset: 4px -2px -5px; z-index: -1;
  border-radius: 5px; background: repeating-linear-gradient(#d1cbb5 0 1px, #ebe6d3 1px 3px);
  box-shadow: 0 5px 0 #5b6854, 0 13px 24px #25352024;
}
@media(prefers-reduced-motion:reduce) { .book-leaf { display: none; } }

/* A contained, event-driven workflow: read, compute, return. */
.local-processing .compute-boundary { fill: none; stroke: #9cb28c28; stroke-dasharray: 3 5; }
.local-processing .compute-wire { stroke: #9cb28c38; }
.local-processing .processor-halo { fill: #a7c58c04; stroke: #a7c58c18; }
.local-processing .input-pulse, .local-processing .output-pulse {
  stroke: #d2e8b5; stroke-width: 2.5; stroke-dasharray: 15 100; stroke-dashoffset: 15; opacity: 0;
}
.local-processing .compute-cells rect { fill: #b9d69b; stroke: none; opacity: .2; }
.local-processing .result-check { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .45s ease; }
.local-processing .output-document { opacity: .45; transition: opacity .45s; }
.compute-caption { margin-top: 15px; font: 6px var(--mono); letter-spacing: 1px; color: #b4cba0; text-align: center; min-height: 9px; }
.unit-display[data-phase="input"] .input-pulse { animation: local-transfer .65s cubic-bezier(.4,0,.2,1) both; }
.unit-display[data-phase="compute"] .processor-halo { animation: local-core 1.05s ease-in-out both; transform-origin: 250px 57px; }
.unit-display[data-phase="compute"] .compute-cells rect { animation: local-cell .65s ease-in-out both; }
.unit-display[data-phase="compute"] .compute-cells rect:nth-child(2n) { animation-delay: .12s; }
.unit-display[data-phase="compute"] .compute-cells rect:nth-child(3n) { animation-delay: .24s; }
.unit-display[data-phase="output"] .output-pulse { animation: local-transfer .5s cubic-bezier(.4,0,.2,1) both; }
.unit-display[data-phase="output"] .output-document, .unit-display[data-phase="ready"] .output-document { opacity: 1; }
.unit-display[data-phase="output"] .result-check, .unit-display[data-phase="ready"] .result-check { stroke-dashoffset: 0; transition-delay: .4s; }
@keyframes local-transfer { 0% { opacity: 0; stroke-dashoffset: 15; } 15%,85% { opacity: 1; } 100% { opacity: 0; stroke-dashoffset: -100; } }
@keyframes local-core { 0%,100% { opacity: .4; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.03); fill: #a7c58c12; } }
@keyframes local-cell { 0%,100% { opacity: .2; } 45%,65% { opacity: 1; } }
@media(prefers-reduced-motion:reduce) { .local-processing * { animation: none !important; transition: none !important; } }

.local-processing { aspect-ratio: 500 / 90; }

/* Final materials and usability pass. */
.wordmark { display: flex; align-items: center; flex-shrink: 0; padding: 17px 0; }
.brand-lockup { width: 222px; height: auto; display: block; }
.notebook-page, .contact-card {
  background-image: radial-gradient(#7466490b .6px, transparent .8px), linear-gradient(95deg, #fff3, transparent 65%, #68582b0b);
  background-size: 4px 4px, 100% 100%;
}
.page-left { box-shadow: inset -14px 0 18px -15px #4d442b80, inset 0 1px 0 #fff9; }
.page-right { box-shadow: inset 12px 0 20px -17px #4d442b90, inset 0 1px 0 #fff9; }
.lab-unit { box-shadow: inset 0 1px 1px #fff9, inset 0 -2px 2px #5b664d50, 0 5px 0 #a5b198, 0 15px 22px #101b1733; }
.engraving { paint-order: stroke; stroke: #f5f5df80; stroke-width: .4px; }
.project-story { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin: 30px 0; border-top: 1px solid #7c846d40; padding-top: 25px; }
.story-number { font: 10px var(--mono); color: #7e866e; }
.project-story h3 { font-size: 16px; font-weight: 550; margin: 12px 0; }
.project-story p { font-size: 13px; line-height: 1.8; margin: 0; color: #5d6756; }
.contact-topics { display: flex; gap: 7px; flex-wrap: wrap; margin: 22px 0 8px; }
.contact-topics button { background: #fff3; border: 1px solid #a6a78e; border-radius: 3px; padding: 11px 13px; font: 10px var(--mono); min-height: 44px; transition: background .2s, color .2s; }
.contact-topics button[aria-pressed="true"] { color: #f3efdf; background: #49563e; border-color: #49563e; }
.sample-document { margin: 12px 0; border: 1px solid #a6be8d30; border-radius: 4px; }
.sample-document summary { padding: 10px; min-height: 40px; cursor: pointer; font: 9px var(--mono); color: #c2d3b2; }
.sample-document summary span { float: right; color: #98ac86; }
.sample-document .demo-input { padding: 0 12px 12px; white-space: pre-line; font: 10px/1.8 var(--mono); margin: 0; }
.prompt-options { flex-wrap: wrap; }
.prompt-options button { min-height: 40px; }
.run-button { min-height: 44px; }
.dialog-close { min-width: 44px; min-height: 44px; }
.project-links a { min-height: 44px; display: inline-flex; align-items: center; }
summary:focus-visible { outline: 2px solid #c2d6a4; outline-offset: 3px; }
.local-lab { min-height: 950px; }
.local-lab:has(.sample-document[open]) { min-height: 1090px; }
@media(max-width:850px) {
  .brand-lockup { width: 190px; }
  .masthead { gap: 24px; }
  .local-lab { min-height: 1230px; }
  .local-lab:has(.sample-document[open]) { min-height: 1390px; }
}
@media(max-width:600px) {
  .brand-lockup { width: 172px; }
  .masthead { gap: 12px; flex-wrap: wrap; height: auto; min-height: 105px; padding-top: 10px; padding-bottom: 10px; }
  .masthead-note { font-size: 9px; padding-left: 12px; }
  .availability { font-size: 8px; }
  .wordmark { padding: 12px 0; }
  .project-story { grid-template-columns: 1fr; gap: 22px; }
  .project-story h3 { font-size: 18px; }
  .project-story p, .project-copy p { font-size: 14px; line-height: 1.75; }
  .project-heading p, .project-links a { font-size: 12px; }
  .project-sheet { padding-top: 55px; }
  .contact-topics { gap: 6px; }
  .contact-topics button { font-size: 9px; padding: 10px; }
  .contact-card-bottom button { min-height: 44px; }
  .notebook-tabs { top: -36px; gap: 4px; }
  .notebook-tabs button { min-height: 44px; font-size: 7px; padding: 10px; }
  .notebook-page p { font-size: 12px; line-height: 1.8; }
  .notebook-page { min-height: 640px; }
  .notebook-diagram { height: auto; margin: 28px 0; }
  .notebook-footer { font-size: 6px; }
  .prompt-options { gap: 5px; }
  .prompt-options button { min-height: 44px; padding: 7px; font-size: 9px; }
  .sample-document summary { font-size: 9px; min-height: 44px; }
  .sample-document .demo-input { font-size: 10px; }
  .demo-output { font-size: 11px; line-height: 1.7; min-height: 58px; }
  .run-button { font-size: 11px; }
  .unit-readout { font-size: 5px; gap: 10px; line-height: 1.6; }
  .unit-status { font-size: 6px; }
  .lab-footnote { font-size: 9px; line-height: 1.7; }
  .local-lab { min-height: 1320px; }
  .local-lab:has(.sample-document[open]) { min-height: 1510px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation: none !important; transition: none !important; }
}
.notebook-page { background-color: #f2eedb; }

/* Third pass: motion layer. */
/* Start-up: scanline, identity, cursor, then the project. */
.machine.booting .machine-screen, .machine.booting .screen-boot-mark, .machine.booting .screen-boot-mark i { animation: none; }
.machine.booting .screen-reflection:after { animation: none; display: none; }
.screen-boot-mark { align-items: flex-start; padding: 0 9%; gap: 14px; background: #111914; }
.boot-scan { position: absolute; left: 0; right: 0; top: 0; height: 22%; background: linear-gradient(transparent, #cfe6a724 60%, #e3f4c455 92%, transparent); transform: translateY(-110%); }
.boot-ident { display: flex; flex-direction: column; gap: 9px; font: clamp(10px, .95vw, 15px) var(--mono); letter-spacing: .22em; color: #c6dba6; }
.boot-line { clip-path: inset(0 100% 0 0); white-space: nowrap; }
.boot-line + .boot-line { font-size: .78em; color: #84a072; }
.boot-cursor { display: block; width: .62em; height: 1.1em; font-size: clamp(10px, .95vw, 15px); background: #c6dba6; opacity: 0; }
.machine.boot-full .screen-boot-mark { animation: boot-hold .95s linear both; }
.machine.boot-full .machine-screen { animation: boot-flicker .5s ease-out both; }
.machine.boot-full .boot-scan { animation: boot-scan .42s .08s cubic-bezier(.4,0,.6,1) both; }
.machine.boot-full .boot-line:nth-child(1) { animation: boot-type .26s .22s steps(12, end) both; }
.machine.boot-full .boot-line:nth-child(2) { animation: boot-type .34s .44s steps(20, end) both; }
.machine.boot-full .boot-cursor { animation: boot-blink .16s .3s steps(1, end) 4 both; }
.machine.boot-full .screen-topline, .machine.boot-full .screen-content > *, .machine.boot-full .screen-open { animation: boot-content .42s var(--ease) both; }
.machine.boot-full .screen-topline { animation-delay: .86s; }
.machine.boot-full .screen-content > :nth-child(1) { animation-delay: .9s; }
.machine.boot-full .screen-content > :nth-child(2) { animation-delay: .94s; }
.machine.boot-full .screen-content > :nth-child(3) { animation-delay: .98s; }
.machine.boot-full .screen-content > :nth-child(4) { animation-delay: 1.02s; }
.machine.boot-full .screen-content > :nth-child(5) { animation-delay: 1.06s; }
.machine.boot-full .screen-open { animation-delay: 1.1s; }
.machine.boot-short .machine-screen { animation: boot-flicker .4s ease-out both; }
.machine.boot-short .screen-boot-mark { visibility: visible; opacity: 1; animation: boot-hold .3s linear both; }
.machine.boot-short .screen-boot-mark .boot-ident, .machine.boot-short .boot-cursor { display: none; }
.machine.boot-short .boot-scan { animation: boot-scan .3s cubic-bezier(.4,0,.6,1) both; }
.machine.boot-short .screen-topline, .machine.boot-short .screen-content, .machine.boot-short .screen-open { animation: boot-content .35s .26s var(--ease) both; }
@keyframes boot-hold { 0%, 86% { opacity: 1; visibility: visible; } 100% { opacity: 0; visibility: hidden; } }
@keyframes boot-flicker { 0% { filter: brightness(.1); } 25% { filter: brightness(1.35); } 38% { filter: brightness(.7); } 55% { filter: brightness(1.1); } 100% { filter: brightness(1); } }
@keyframes boot-scan { from { transform: translateY(-110%); } to { transform: translateY(480%); } }
@keyframes boot-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes boot-blink { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }
@keyframes boot-content { from { opacity: 0; translate: 0 5px; } to { opacity: 1; translate: 0 0; } }

/* The machine leans toward the cursor (variables set by script; zero elsewhere). */
.machine { transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) rotate(-7deg); }
.slot-probe { position: absolute; left: 26.3%; top: 77%; width: 0; height: 0; pointer-events: none; }

/* Drag-to-insert: the slot warms up as a cartridge gets close. */
.cartridge { user-select: none; -webkit-user-select: none; }
.hint-coarse { display: none; }
@media (hover: none), (pointer: coarse) { .hint-fine { display: none; } .hint-coarse { display: inline; } }
@media (hover: hover) and (pointer: fine) { .cartridge:not(.is-loaded):not(.in-transit) { cursor: grab; } }
html.is-dragging, html.is-dragging * { cursor: grabbing !important; user-select: none; }
.slot-glow {
  position: absolute; left: 10.8%; width: 31%; top: calc(77% - 11px); height: 22px; z-index: 3;
  border-radius: 50%; pointer-events: none; opacity: 0; filter: blur(5px);
  background: radial-gradient(closest-side, #ffc370, #ee7a3b99 45%, transparent);
  transition: opacity .25s ease;
}
.machine.slot-armed .slot-glow { opacity: calc(.15 + var(--slot-heat, 0) * .85); }
.machine.slot-near .slot-glow { animation: slot-pulse .7s ease-in-out infinite alternate; }
.machine.slot-near #slot-mouth { fill: #4a3626; }
@keyframes slot-pulse { from { filter: blur(5px); } to { filter: blur(8px) brightness(1.2); } }

/* The bench cable continues into the lab, drawn in as you scroll. */
.cable-run { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; display: none; }
/* The same three layers as the bench cable in the hero, in the same proportions. */
.run-shadow, .network-cable .network-cord-shadow { stroke: #39402d; stroke-width: var(--cable-halo, 18px); opacity: .22; transform: none; filter: none; }
.run-wire, .network-cable #network-cord { stroke: #ca4e2e; stroke-width: var(--cable-w, 12px); }
.run-highlight, .network-cable .network-cord-shine { stroke: #ed8057; stroke-width: 2px; opacity: .6; transform: translate(var(--cable-shine-shift, -3px), var(--cable-shine-shift, -3px)); }
.network-cord-shine, .network-cord-shadow { fill: none; stroke-linecap: round; }
.cable-run.is-active { display: block; }
.cable-run path { fill: none; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
/* The coupler on the end of the network cord, which the bench cable docks into. */
.cord-coupler { display: none; }
.cord-coupler.is-active { display: inline; }
.coupler-body { transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.cord-coupler.is-docked .coupler-body { animation: coupler-snap .32s ease-out; }
.coupler-led { fill: #5d6b4e; transition: fill .3s ease; }
.cord-coupler.is-docked .coupler-led { fill: #c2e38f; filter: drop-shadow(0 0 2px #b8d889); }
@keyframes coupler-snap { 0% { transform: translateX(0); } 35% { transform: translateX(2.5px); } 100% { transform: translateX(0); } }
/* Lab text sits above the cable where the two cross. */
.lab-heading > *, .lab-copy > h2, .lab-copy > p:not(.lab-footnote), .lab-copy > .text-button { position: relative; z-index: 2; }


/* The notebook arrives closed; its cover swings open over the left page. */
.notebook-cover { position: absolute; z-index: 8; transform-origin: left center; transform-style: preserve-3d; pointer-events: none; }
.cover-front, .cover-back { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 2px 8px 8px 2px; }
.cover-front {
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(#ffffff0a .6px, transparent .8px) 0 0 / 4px 4px, linear-gradient(90deg, #444c37, #5d664b 5%, #59624a 70%, #4f583f);
  box-shadow: inset 0 0 0 1px #6f785b, inset 4px 0 6px #0003, 8px 12px 22px #22291a40;
}
.cover-label { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 24px 12px; background: #ece6cf; color: #4b5340; transform: rotate(-2deg); box-shadow: 0 1px 2px #0004; }
.cover-label small { font: 11px var(--mono); letter-spacing: 2.4px; }
.cover-label b { font: 400 28px/1 var(--serif); letter-spacing: -1px; }
.cover-label .handwritten { font-size: 28px; line-height: 1; color: #9b543b; transform: rotate(-4deg); }
.cover-band { position: absolute; top: -3px; bottom: -3px; right: 11%; width: 9px; background: linear-gradient(90deg, #262b1e, #3d442e 50%, #262b1e); box-shadow: 1px 0 2px #0006; }
.cover-back { transform: rotateY(180deg); background: linear-gradient(90deg, #e3ddc5, #f2eedb 25%); box-shadow: inset 0 0 0 1px #d4cdb2; }
.notebook.is-closed .notebook-spread { clip-path: inset(-40px 0 -40px var(--closed-inset, 50%)); }
.notebook-tabs { transition: opacity .4s ease, translate .4s var(--ease); }
.notebook.is-closed .notebook-tabs { opacity: 0; translate: 0 12px; }

/* Contact card: the subject types itself out, then gets stamped. */
.contact-subject { display: flex; gap: 14px; align-items: baseline; min-height: 30px; margin: 18px 0 0; padding-bottom: 9px; border-bottom: 1px dashed #8b947466; font: 12px/1.5 var(--mono); color: #4f5c40; }
.contact-subject span { flex-shrink: 0; font-size: 10px; letter-spacing: 1.2px; color: #959a83; }
.contact-subject output { min-width: 0; }
.contact-card:not(.has-subject) .contact-subject output { color: #a0a38b; }
.contact-subject output.typing:after { content: ''; display: inline-block; width: 7px; height: 13px; margin-left: 2px; vertical-align: -2px; background: #4f5c40; animation: boot-blink .5s steps(1, end) infinite; }
.contact-stamp {
  position: absolute; right: 34px; bottom: 74px; padding: 7px 12px 6px; pointer-events: none;
  border: 2px solid #c8502c; outline: 1px solid #c8502c; outline-offset: 2px; border-radius: 3px;
  font: 600 15px var(--mono); letter-spacing: 3px; color: #c8502c; mix-blend-mode: multiply;
  transform: rotate(-11deg); opacity: 0;
}
.contact-stamp.stamped { animation: stamp-down .42s cubic-bezier(.2,1.5,.4,1) both; }
@keyframes stamp-down { 0% { opacity: 0; transform: rotate(-11deg) scale(1.9); } 55% { opacity: .9; transform: rotate(-11deg) scale(.95); } 100% { opacity: .8; transform: rotate(-11deg) scale(1); } }

/* Square demo recordings, shown square. */
.project-media { position: relative; z-index: 1; }
.project-media.has-video { padding: 0; min-height: 0; background: #fafaf6; border-color: #d9dccf; }
.project-media.has-video video { width: min(100%, 520px); max-height: none; aspect-ratio: 1; object-fit: cover; border-radius: 0; background: #fafaf6; }

@media (prefers-reduced-motion: reduce) {
  .notebook-cover { display: none; }
  .machine { transform: rotate(-7deg); }
  .cable-run path { stroke-dasharray: none !important; animation: none !important; }
  .contact-stamp.stamped { opacity: .8; }
}

/* Readability: anything you read or press is at least 11px on desktop. */
.eyebrow, .tray-heading .eyebrow, .tray-hint, .availability, .lab-coordinate, .bench-bottom, .maker-margin p, .contact-card > .eyebrow, .footer, .project-sheet-label, .story-number, .lean-demo small, .local-project-diagram > div { font-size: 11px; }
.masthead-note { font-size: 12px; }
.hero-copy .eyebrow { font-size: 11px; }
.hero-description { font-size: 15px; }
.bench-invitation { font-size: 13px; }
.cart-number { font-size: 11px; }
.cart-category { font: 500 11px/1.25 var(--sans); letter-spacing: 0; white-space: normal; color: #5a6450; }
.cart-bottom { font-size: 7px; }
.cartridge.is-loaded:before, .cartridge.in-transit:before { font-size: 11px; letter-spacing: .6px; line-height: 1.5; text-align: center; padding: 0 10px; }
.screen-kicker { font-size: clamp(11px, .8vw, 13px); }
.screen-mini-demo { font-size: clamp(11px, .76vw, 12px); }
.screen-topline { font-size: clamp(9px, .66vw, 11px); }
.unit-status, .signal-labels, .prompt-label, .sample-document summary, .sample-document .demo-input, .run-button, .port-label { font-size: 11px; }
.signal-labels { letter-spacing: .4px; }
.prompt-options button { font-size: 12px; }
.demo-output { font-size: 13px; }
.unit-readout { font-size: 11px; flex-wrap: wrap; gap: 6px 18px; }
.unit-readout > span:first-child { font-size: 12px; }
.port-label { max-width: 140px; line-height: 1.5; }
.unit-bottom { font-size: 8px; }
.lab-footnote { position: static; max-width: 430px; margin: 48px 0 0; font: 11px/1.8 var(--mono); color: #91a183; }
.notebook-tabs button { font-size: 11px; }
.notebook-page p { font-size: 13px; line-height: 1.85; }
.note-principles li { font-size: 13px; }
.note-principles b { font-size: 14px; }
.notebook-rule { font-size: 9px; }
.contact-topics button { font-size: 12px; }
.contact-card p { font-size: 13px; }
.contact-card-bottom { font-size: 10px; }
.contact-card-bottom button { font-size: 11px; }
.project-heading p, .project-copy p { font-size: 15px; }
.project-copy .project-aside { font-size: 12px; }
.project-links a { font-size: 13px; }
.project-story p { font-size: 14px; }
.toast { font-size: 12px; }

/* Layout: the whole tray fits above the fold on a 900px-tall screen, and the lab copy sits level with the unit. */
.workbench { min-height: 820px; }
.lab-copy { margin-top: 170px; }
@media (max-width: 1150px) {
  .workbench { min-height: 820px; }
  .hero-copy .eyebrow { font-size: 11px; }
  .hero-description { font-size: 14px; }
  .cart-category { font-size: 11px; }
  .notebook-page p { font-size: 12px; }
  .notebook-tabs button { font-size: 11px; }
  .unit-status, .unit-readout { font-size: 11px; }
  .lab-footnote { font-size: 11px; max-width: 100%; }
  .lab-copy { margin-top: 130px; }
}
@media (max-width: 850px) {
  .workbench { min-height: 1140px; }
  .masthead-note { font-size: 11px; }
  .availability { font-size: 11px; }
  .bench-bottom { font-size: 10px; }
  .hero-description { font-size: 14px; }
  .screen-kicker { font-size: 10px; }
  .screen-description { font-size: 12px; }
  .screen-mini-demo { font-size: 10px; }
  .screen-open { font-size: 10px; }
  .cart-category { font-size: 10px; }
  .cart-label strong { font-size: 13px; }
  .lab-heading .eyebrow, .lab-coordinate { font-size: 10px; }
  .lab-copy { position: static; margin-top: 60px; }
  .lab-copy p { font-size: 13px; }
  .lab-footnote { position: absolute; left: 5%; right: 5%; bottom: 35px; margin: 0; max-width: none; font-size: 11px; }
  .contact-intro .eyebrow, .contact-card > .eyebrow { font-size: 10px; }
  .contact-card p { font-size: 12px; }
  .contact-card-bottom { font-size: 9px; }
  .contact-card-bottom button { font-size: 10px; }
  .notebook-page p { font-size: 12px; }
  .notebook-tabs button { font-size: 10px; }
  .project-sheet-label { font-size: 10px; }
}
/* Phones: the machine fits the screen and the cartridges become a strip you swipe. */
@media (max-width: 600px) {
  .workbench { min-height: 1040px; }
  .masthead-note { font-size: 10px; }
  .availability:after { font-size: 10px; }
  .hero-copy .eyebrow { font-size: 10px; letter-spacing: .6px; }
  .hero-description { font-size: 14px; line-height: 1.75; }
  .bench-invitation { font-size: 13px; }
  .machine-scene { width: calc(100% - 32px); right: 16px; top: 352px; height: 330px; }
  .machine { width: 88%; left: 6%; top: 18px; }
  .machine-screen { padding: 3% 4.2%; }
  .screen-topline { font-size: 8px; padding-bottom: 5px; }
  .screen-content { padding-top: 4%; }
  .screen-kicker { display: none; }
  .screen-content h2 { font-size: 24px; letter-spacing: -1px; }
  .screen-description { font-size: 11px; line-height: 1.35; margin: 5px 0 0; }
  .screen-mini-demo { display: none; }
  .screen-project-icon { width: 32px; height: 32px; top: 18%; }
  .screen-open { font-size: 10px; padding-top: 5px; min-height: 0; }
  .boot-ident { font-size: 9px; letter-spacing: .14em; }
  .machine-annotation { top: auto; bottom: -6px; left: 30%; font-size: 19px; }
  .cartridge-area { left: 0; right: 0; width: auto; max-width: none; transform: none; bottom: 84px; }
  .tray-heading { padding: 0 5%; margin-bottom: 4px; }
  .tray-heading .eyebrow, .tray-hint { font-size: 10px; }
  .cartridge-tray { display: flex; grid-template-columns: none; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 5%; padding: 16px 5% 26px; scrollbar-width: none; }
  .cartridge-tray::-webkit-scrollbar { display: none; }
  .cartridge-tray:before { display: none; }
  .cartridge { flex: 0 0 118px; width: 118px; aspect-ratio: 133 / 164; padding: 12px 7px 15px; scroll-snap-align: start; }
  .cart-label { padding: 7px 7px 5px; gap: 3px; border-top-width: 5px; }
  .cart-number { font-size: 10px; margin-bottom: 2px; }
  .cart-number svg { width: 20px; height: 20px; }
  .cart-label strong { font-size: 14px; }
  .cart-category { font-size: 10px; }
  .cart-bottom { font-size: 5px; }
  .cartridge.active { transform: translateY(-6px) rotate(-2deg); }
  .cartridge.is-loaded:before, .cartridge.in-transit:before { font-size: 10px; letter-spacing: .3px; }
  .bench-bottom { font-size: 10px; }
  .bench-bottom a { font-size: 10px; }
  .lab-heading .eyebrow, .lab-coordinate { font-size: 10px; letter-spacing: .5px; }
  .lab-copy p { font-size: 14px; }
  .unit-top .eyebrow { font-size: 7px; }
  .unit-status { font-size: 10px; }
  .signal-labels { font-size: 9px; letter-spacing: 0; }
  .prompt-label { font-size: 10px; }
  .prompt-options button { font-size: 11px; }
  .sample-document summary, .sample-document .demo-input { font-size: 10px; }
  .demo-output { font-size: 12px; }
  .run-button { font-size: 11px; }
  .unit-readout { font-size: 10px; }
  .unit-readout > span:first-child { font-size: 11px; }
  .port-label { font-size: 9px; max-width: 80px; }
  .lab-footnote { font-size: 10px; bottom: 26px; }
  .maker-margin .eyebrow, .maker-margin p { font-size: 10px; }
  .notebook-tabs button { font-size: 10px; padding: 10px 9px; }
  .notebook-page p { font-size: 12px; }
  .note-principles li { font-size: 11px; }
  .note-principles b { font-size: 12px; }
  .cover-label { padding: 12px 14px 9px; }
  .cover-label small { font-size: 9px; letter-spacing: 1.5px; }
  .cover-label b, .cover-label .handwritten { font-size: 22px; }
  .contact-intro .eyebrow, .contact-card > .eyebrow { font-size: 10px; }
  .contact-topics button { font-size: 11px; }
  .contact-subject { font-size: 11px; gap: 10px; }
  .contact-subject span { font-size: 9px; }
  .contact-card p { font-size: 12px; }
  .contact-card-bottom { font-size: 9px; }
  .contact-card-bottom button { font-size: 11px; }
  .contact-stamp { right: 22px; bottom: 78px; font-size: 12px; }
  .footer { font-size: 10px; }
  .project-sheet-label { font-size: 10px; }
  .project-copy .project-aside { font-size: 11px; }
  .lean-demo small, .local-project-diagram > div { font-size: 10px; }
  .toast { font-size: 11px; }
}
@media (max-width: 380px) {
  .workbench { min-height: 1010px; }
  .cartridge-area { width: auto; left: 0; right: 0; transform: none; bottom: 84px; }
  .cartridge { width: 112px; flex-basis: 112px; aspect-ratio: 133 / 164; }
  .cart-label strong { font-size: 13px; }
  .cart-category { font-size: 10px; }
  .screen-content h2 { font-size: 21px; }
  .screen-description { font-size: 10px; }
  .notebook-page p { font-size: 11px; }
}

/* Lights: a switch in the masthead, and the bench after dark. */
.lights-switch { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-left: 4px; padding: 0 0 0 22px; border-left: 1px solid var(--line); background: none; font: 11px var(--mono); letter-spacing: 1px; color: var(--muted); }
.lights-track { position: relative; width: 34px; height: 18px; border-radius: 9px; background: #d4d8ca; box-shadow: inset 0 1px 2px #3b452f40, 0 1px 0 #fff8; transition: background .3s; }
.lights-track i { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(145deg, #ffcf86, #e0743a); box-shadow: 0 0 8px #ff9b4d99, 0 1px 1px #5d2f1555; transform: translateX(16px); transition: transform .35s var(--ease), background .3s, box-shadow .3s; }
.lights-switch[aria-pressed="false"] .lights-track i { transform: translateX(0); background: linear-gradient(145deg, #707868, #4b5245); box-shadow: 0 1px 1px #0006; }
.lights-switch:hover .lights-track { background: #c9cebe; }
@media (max-width: 600px) { .lights-switch { padding-left: 12px; font-size: 10px; gap: 7px; } }
html.theme-switching * { transition: background-color .6s ease, color .6s ease, border-color .6s ease, fill .6s ease, filter .6s ease; }

[data-theme="dark"] { --paper: #161915; --ink: #e2e5d8; --muted: #9ba391; --line: #2e342b; color-scheme: dark; }
[data-theme="dark"] .workbench { background: radial-gradient(ellipse at 68% 34%, #262c22 0%, transparent 58%), var(--paper); }
[data-theme="dark"] .bench-grid { background-image: radial-gradient(#a7b39522 .7px, transparent .7px); }
[data-theme="dark"] .hero-copy .eyebrow, [data-theme="dark"] .tray-heading { color: #9eaa8e; }
[data-theme="dark"] h1 em, [data-theme="dark"] .maker-margin h2 em, [data-theme="dark"] .contact-intro h2 em { color: #a9bb93; }
[data-theme="dark"] .coordinate, [data-theme="dark"] .bench-bottom, [data-theme="dark"] .footer { color: #8b9580; }
[data-theme="dark"] .round-arrow { border-color: #5d6655; }
[data-theme="dark"] .bench-invitation:hover .round-arrow { background: var(--ink); color: var(--paper); }
[data-theme="dark"] .machine-body { filter: brightness(.84) saturate(.95); }
[data-theme="dark"] .machine-annotation { color: #97a688; }
[data-theme="dark"] .machine-annotation svg { stroke: #7d8a70; }
[data-theme="dark"] .cart-label { filter: brightness(.9); }
[data-theme="dark"] .cartridge.is-loaded, [data-theme="dark"] .cartridge.in-transit { background: #ffffff08; border-color: #ffffff1c; box-shadow: inset 0 2px 5px #0004; }
[data-theme="dark"] .cartridge.is-loaded:before, [data-theme="dark"] .cartridge.in-transit:before { color: #8e9882; }
[data-theme="dark"] .cartridge-tray:before { box-shadow: inset 0 1px 2px #0005, 0 1px 0 #ffffff08; }
[data-theme="dark"] .teaser-paper { filter: brightness(.88); }
[data-theme="dark"] .local-lab { background: #263025; }
[data-theme="dark"] .maker-space { background: #1b1f19; }
[data-theme="dark"] .maker-margin p { color: #8f9a82; }
[data-theme="dark"] .maker-scribble { stroke: #6f7b63; }
[data-theme="dark"] .notebook { filter: drop-shadow(0 15px 13px #00000055) brightness(.9); }
[data-theme="dark"] .pencil { filter: brightness(.85); }
[data-theme="dark"] .contact-bench { background: #191c17; border-top-color: #2b3128; }
[data-theme="dark"] .contact-card { filter: brightness(.9); box-shadow: 1px 2px 3px #0006, 5px 15px 22px #0005; }
[data-theme="dark"] .lights-track { background: #2a3027; box-shadow: inset 0 1px 2px #000a; }
[data-theme="dark"] .lights-switch:hover .lights-track { background: #343b30; }
[data-theme="dark"] .project-dialog { background: #1f241d; border-color: #2f362b; border-bottom-color: #11140f; }
[data-theme="dark"] .project-dialog::backdrop { background: #070a07cc; }
[data-theme="dark"] .project-sheet:before { background: #ffffff0d; box-shadow: none; }
[data-theme="dark"] .project-sheet-label { color: #9aa38c; border-bottom-color: #383f33; }
[data-theme="dark"] .project-heading p, [data-theme="dark"] .project-copy .project-aside, [data-theme="dark"] .story-number { color: #a1ab93; }
[data-theme="dark"] .project-copy .project-aside { border-left-color: #383f33; }
[data-theme="dark"] .project-media { background: #2a3026; border-color: #383f33; }
[data-theme="dark"] .project-media.has-video { background: #fafaf6; border-color: #383f33; }
[data-theme="dark"] .project-story { border-top-color: #383f33; }
[data-theme="dark"] .project-story p { color: #b2bba4; }
[data-theme="dark"] .project-links a { border-bottom-color: #5a6350; }
[data-theme="dark"] .project-links .primary-link { background: #e2e5d8; color: #1b1f19; }
[data-theme="dark"] .dialog-close { background: #333a2e; }
[data-theme="dark"] .lean-demo span { border-bottom-color: #464e40; }
[data-theme="dark"] .lean-demo small { color: #9aa38c; }
[data-theme="dark"] .local-project-diagram > div svg { stroke: #a9bb93; }
@media (prefers-reduced-motion: reduce) { html.theme-switching * { transition: none; } }
.screen-boot-mark > .boot-ident { font-size: clamp(10px, .95vw, 15px); letter-spacing: .22em; }
.screen-boot-mark > .boot-scan { font-size: 0; }
@media (max-width: 600px) { .screen-boot-mark > .boot-ident { font-size: 9px; letter-spacing: .14em; } }
/* Paper objects keep their printed ink after dark. */
[data-theme="dark"] .notebook, [data-theme="dark"] .contact-card, [data-theme="dark"] .teaser-paper, [data-theme="dark"] .notebook-cover, [data-theme="dark"] .case-steps { --ink: #30392f; color: #30392f; }
.port-label { white-space: nowrap; max-width: none; }
@media (max-width: 600px) { .port-label { white-space: normal; max-width: 80px; } }
/* A settled reveal must not become the footnote's positioning box on small screens. */
@media (max-width: 850px) { .js-motion .lab-copy.reveal, .js-motion .lab-copy.reveal.visible { translate: none; } }
@media (max-width: 850px) { .port-label { white-space: nowrap; max-width: none; } .port-label-net { display: none; } }
/* Wordmark: Geist with the serif italic accent, outlined so it renders the same everywhere. */
.brand-lockup { width: 196px; }
.lockup-em { fill: #5e7154; }
.lockup-dot { fill: var(--orange); }
[data-theme="dark"] .lockup-em { fill: #a9bb93; }
@media (max-width: 850px) { .brand-lockup { width: 180px; } }
@media (max-width: 600px) { .brand-lockup { width: 160px; } }
/* Phones keep the short "Let's talk" label in place of the full availability line. */
@media (max-width: 600px) { .masthead .availability { font-size: 0; } }

/* Scrolling turns the notebook's pages: the section grows by the turning stretch and the
   notebook holds in the middle of the window while it passes. overflow: clip keeps the
   section from becoming its own scroller, which would stop the hold. */
.maker-space.is-scrolly { overflow: clip; }
.maker-space.is-scrolly .notebook { position: sticky; top: var(--stick-top, 80px); }
@media (min-width: 851px) { .maker-space.is-scrolly .maker-margin { position: sticky; top: var(--stick-top, 80px); } }
/* Each page is a scroll stop while the notebook holds; nothing else on the page snaps. */
html:has(.maker-space.is-scrolly) { scroll-snap-type: y proximity; }
.page-stop { position: absolute; left: 0; width: 1px; height: 1px; pointer-events: none; scroll-snap-align: start; scroll-snap-stop: always; }

/* The handwritten note: on the desk below the machine, arrow rising to the cartridge slot.
   Script places it (left/top) from a probe under the slot; it fades in once placed. */
.slot-lip-probe { left: 26.3%; top: 90%; }
.machine-annotation {
  top: 0; left: 0; bottom: auto; transform: none; z-index: 1;
  flex-direction: column; align-items: flex-start; gap: 0;
  font-size: 23px; white-space: nowrap; opacity: 0; transition: opacity .5s ease;
}
.machine-annotation.is-placed { opacity: 1; }
.machine-annotation svg { width: 30px; height: 44px; transform: none; flex-shrink: 0; }
.machine-annotation span { margin-top: -2px; transform: rotate(-3deg); transform-origin: left center; }
@media (max-width: 850px) { .machine-annotation { font-size: 21px; top: 0; left: 0; } }
@media (max-width: 600px) { .machine-annotation { font-size: 19px; top: 0; left: 0; bottom: auto; } .machine-annotation svg { width: 26px; height: 38px; } }
@media (prefers-reduced-motion: reduce) { .machine-annotation { transition: none; } }
.machine-annotation svg { width: 38px; height: 56px; stroke-width: 1.6; }
@media (max-width: 600px) { .machine-annotation svg { width: 32px; height: 46px; } }

/* The lab holds while scrolling plays the disconnection test. The track carries the extra
   scroll; the section itself is what holds. */
.lab-track { position: relative; background: #303c30; }
[data-theme="dark"] .lab-track { background: #263025; }
.lab-track.is-scrolly .local-lab { position: sticky; top: var(--lab-stick, 0px); }
html:has(.lab-track.is-scrolly) { scroll-snap-type: y proximity; }
.unplug-note.is-unplugged { animation: note-land .45s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes note-land { from { opacity: 0; translate: 0 -8px; } to { opacity: 1; translate: 0 0; } }
.lab-unit .led { transition: background .3s, box-shadow .3s; }
.local-lab.is-unplugged .unit-top .led { background: #c6a274; box-shadow: 0 0 5px #d9a86b; }

@media (prefers-reduced-motion: reduce) { .unplug-note.is-unplugged { animation: none; } }

/* Right-to-left page turns: the sheet hinges at the spine on the right page's inner edge. */
.book-leaf.from-right { transform-origin: left center; }
.book-leaf.from-right .book-leaf-front {
  background: linear-gradient(90deg, #ded8bf, #f3efdd 22%);
  box-shadow: 10px 5px 24px #34382325; transform: translateZ(.2px);
}
.book-leaf.from-right .book-leaf-front:after { background: linear-gradient(270deg, transparent 65%, #716a4928); }
.book-leaf.from-right .book-leaf-back {
  /* It is a copy of the left page, which pivots on its right edge; the back face must flip in place. */
  left: 0; right: auto; border: 0; transform-origin: center;
  background: linear-gradient(90deg, #f2eedb 88%, #e0dcc6 98%, #cfc9b0);
  box-shadow: -12px 8px 28px #34382322;
}

/* Smoothness: the hero cable's shadow no longer blurs (its path now runs far below the hero,
   and the blur was sized to all of it); the moving machine and the drawing cable get layers
   of their own; a cartridge's lift only moves it, and its deeper shadow fades in as a layer. */
.cable-shadow { filter: none; }
.machine { will-change: transform; }
.cable-run { will-change: transform; }
.cartridge { transition: transform .5s var(--ease); will-change: transform; }
.cartridge:hover, .cartridge.active { box-shadow: 0 4px 0 #263022, 1px 7px 9px #39432a44, inset 0 1px 1px #87907b; }
.cart-lift { position: absolute; inset: 0; z-index: -1; border-radius: inherit; box-shadow: 2px 15px 15px #39432a33; opacity: 0; transition: opacity .5s var(--ease); pointer-events: none; }
.cartridge:hover .cart-lift, .cartridge.active .cart-lift { opacity: 1; }
.cartridge.is-loaded .cart-lift, .cartridge.in-transit .cart-lift, .motion-cartridge .cart-lift { display: none; }

/* The cover's inside is a copy of the first page (left), flipped in place and laid along the
   spine; it lands exactly over the real page. */
.notebook-cover .cover-back.page-left {
  inset: auto; left: 0; right: auto; transform: rotateY(180deg); transform-origin: center;
  border-radius: 4px 0 0 3px; box-shadow: -10px 6px 22px #34382322;
  background: linear-gradient(90deg, #f2eedb 90%, #e0dcc6 99%, #c2bea7);
}

/* Hover that holds still: an invisible strip below each cartridge keeps it hovered while it
   lifts out from under the cursor, and the lift glides on a balanced curve. */
.cart-hit { position: absolute; left: -4px; right: -4px; top: 0; bottom: -18px; }
.cartridge { --lift-ease: cubic-bezier(.33, .9, .32, 1); transition: transform .42s var(--lift-ease); }
.cart-lift { transition: opacity .42s var(--lift-ease); }
.cartridge.is-loaded .cart-hit, .cartridge.in-transit .cart-hit, .motion-cartridge .cart-hit { display: none; }
