/* Photography-led scripted animation. All moving effects share CSS play state. */
.desk-section{padding-top:80px;padding-bottom:70px}.desk-section>h2{max-width:800px;margin-bottom:35px}.desk{--led:#5dd57e;background:#e9e4db;border:1px solid #d9d1c5;border-radius:28px;padding:24px;color:#292b2c;overflow:hidden}.desk-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px}.desk-status{display:flex;align-items:center;gap:16px;min-height:112px;box-sizing:border-box;padding:16px 20px;border:1px solid #bdcdbb;border-radius:18px;background:#edf4e9}.desk-status-light{width:14px;height:14px;flex-shrink:0;border-radius:50%;background:var(--led);border:1px solid #59675666;box-shadow:0 0 0 6px #5967560c}.desk-status-copy{min-width:0}.desk-state{display:block;font-size:24px;line-height:1.25;font-weight:650;color:#292b2c}.desk-state-detail{display:block;margin-top:6px;font-size:14px;line-height:1.5;color:#4e594c;min-height:42px}.desk[data-state=listen] .desk-status,.desk[data-state=press] .desk-status{background:#edf1fa;border-color:#c2cce2}.desk[data-state=think] .desk-status{background:#f3edf8;border-color:#d4c4e0}.desk[data-state=greet] .desk-status,.desk[data-state=reply] .desk-status{background:#f8f7f2;border-color:#d2cec3}.desk-controls{display:flex;gap:10px}.desk button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:13px 23px;border:1px solid #1c3041;border-radius:100px;background:#283d50;color:white;font:inherit;font-size:13px;font-weight:600;cursor:pointer;box-shadow:0 3px 0 #142536,0 5px 12px #263c5022}.desk button:hover{background:#385974}.desk button:active{transform:translateY(2px);box-shadow:none}.desk button:focus-visible{outline:3px solid #4d66b8;outline-offset:4px}.desk button svg{width:18px;height:18px;flex-shrink:0}.desk-play-icon{fill:currentColor}#desk-full svg{fill:none;stroke:currentColor;stroke-width:1.8}.play-triangle{display:none}.desk[data-paused=true] .pause-bars{display:none}.desk[data-paused=true] .play-triangle{display:block}
.desk-stage{display:grid;grid-template-columns:minmax(0,1fr) 64px minmax(0,1fr) 64px minmax(0,1fr);gap:12px;position:relative;margin-top:25px}.desk-room{min-width:0}.room-heading{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;font-size:12px;font-weight:600;color:#655e55;margin-bottom:10px}.room-heading svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;flex-shrink:0}.room-photo{position:relative;aspect-ratio:1;border-radius:18px;isolation:isolate;box-shadow:0 8px 24px #59473512}.room-photo>img{display:block;width:100%;height:100%;object-fit:contain;border-radius:18px}.desk-loading{position:absolute;z-index:5;top:50%;left:25%;right:25%;background:#fff7e9;padding:12px;text-align:center}.desk-loading[hidden]{display:none}
/* In-flow transport links connect rooms; these are not interactive controls. */
.desk-wireless{align-self:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#716b62;font-size:12px;line-height:1.4;pointer-events:none}
.desk-wireless svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.desk[data-state=listen] .desk-wifi,.desk[data-state=wake] .desk-wifi,.desk[data-state=reply] .desk-airplay,.desk[data-state=greet] .desk-airplay{color:#296fa1}
.desk-led,.desk-detail-led{position:absolute;display:block;background:var(--led);box-shadow:0 0 7px 2px var(--led);transform:rotate(17deg) skewX(-25deg);border-radius:1px}.desk-led{left:46.1%;top:47.9%;width:3.2%;height:1%}.desk-magnifier{position:absolute;left:3%;top:4%;width:34%;aspect-ratio:1;border-radius:50%;overflow:hidden;border:2px solid #fff9ee;box-shadow:0 4px 16px #42372540;pointer-events:none}.desk-magnifier img{position:absolute;width:280%;max-width:none;height:280%;left:-83.84%;top:-85.8%}.desk-detail-led{left:45.5%;top:48.6%;width:9%;height:2.8%}.desk-magnifier small{position:absolute;bottom:6%;width:100%;text-align:center;font-size:8px;letter-spacing:.1em;background:#fff9e9b0;padding:3px 0}.desk-connector{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}.desk-connector path{fill:none;stroke:#fff9ee;stroke-width:.6}.desk-connector circle{fill:var(--led);stroke:white;stroke-width:.4}.desk-press{position:absolute;left:34%;top:31%;font-size:28px;line-height:1;color:#fff;text-shadow:0 1px 5px #172035;display:none}.desk[data-state=press] .desk-press{display:block;animation:press .5s ease-in-out infinite alternate}@keyframes press{to{transform:translateY(5px)}}.desk[data-state=listen],.desk[data-state=press]{--led:#5279ff}.desk[data-state=think]{--led:#bd76e5}.desk[data-state=reply],.desk[data-state=greet]{--led:#fff}.desk[data-state=think] .desk-led,.desk[data-state=think] .desk-detail-led{animation:breathe 1.5s ease-in-out infinite}@keyframes breathe{50%{opacity:.3}}
.desk-computing{position:absolute;left:44%;top:42%;display:flex;gap:5px;opacity:0}.desk[data-state=think] .desk-computing{opacity:1}.desk-computing i{width:6px;height:6px;background:#fff;border-radius:50%;animation:breathe 1s infinite}.desk-computing i:nth-child(2){animation-delay:.2s}.desk-computing i:nth-child(3){animation-delay:.4s}.desk-ripples{position:absolute;left:50%;top:61%;width:36%;aspect-ratio:1;transform:translate(-50%,-50%);opacity:0;pointer-events:none}.desk-ripples i{position:absolute;inset:0;border:1px solid #e9f6ff;border-radius:50%;box-shadow:0 0 8px #b9e7ff;animation:ripple 2.4s linear infinite}.desk-ripples i:nth-child(2){animation-delay:-.8s}.desk-ripples i:nth-child(3){animation-delay:-1.6s}.desk[data-state=reply] .desk-ripples,.desk[data-state=greet] .desk-ripples{opacity:1}@keyframes ripple{from{transform:scale(.7);opacity:.7}to{transform:scale(1.7);opacity:0}}
.desk-dialogue{text-align:center;min-height:130px;display:flex;flex-direction:column;justify-content:center;padding:20px 12px}.desk-dialogue small{font-size:10px;letter-spacing:.18em;color:#82796e}.desk-dialogue p{font-size:clamp(18px,2.5vw,26px);line-height:1.5;max-width:850px;margin:10px auto}.desk-note{font-size:11px;line-height:1.7;color:#81786e;max-width:900px;margin:12px auto 0}.desk[data-paused=true] *,.desk[data-hidden=true] *{animation-play-state:paused!important}.desk:fullscreen,.desk.desk-expanded{border-radius:0;background:#e9e4db;overflow:auto;padding:24px max(24px,calc((100vw - 1350px)/2))}.desk.desk-expanded{position:fixed;inset:0;z-index:1000}.desk:fullscreen .desk-toolbar,.desk-expanded .desk-toolbar{position:sticky;top:0;z-index:10;background:#e9e4db;padding-bottom:14px}.desk:fullscreen .desk-stage,.desk-expanded .desk-stage{max-width:1200px;width:100%;margin:15px auto 0}.desk:fullscreen .desk-dialogue p,.desk-expanded .desk-dialogue p{font-size:20px}
@media(max-width:800px){.desk-toolbar{grid-template-columns:1fr;gap:14px}.desk-controls{justify-self:end}.desk-status{min-height:112px}.desk-state-detail{min-height:42px}}
@media(max-width:600px){.desk-status{padding:14px 16px;gap:14px}.desk-state{font-size:22px}.desk-section{padding-top:45px}.desk{padding:16px;border-radius:20px}.desk-controls{width:100%;gap:8px}.desk button{padding:12px 16px;font-size:12px;flex:1}.desk-stage{grid-template-columns:1fr;gap:12px;max-width:400px;margin:16px auto 0}.room-heading{justify-content:flex-start;margin-bottom:6px}.desk-wireless{min-height:44px;flex-direction:row;gap:12px;font-size:13px}.desk-wireless svg{transform:rotate(90deg);width:24px;height:24px}.desk-dialogue{min-height:160px}.desk:fullscreen,.desk.desk-expanded{padding:16px}.desk:fullscreen .desk-stage,.desk-expanded .desk-stage{max-width:400px}.desk:fullscreen .desk-dialogue p,.desk-expanded .desk-dialogue p{font-size:18px}}
@media(prefers-reduced-motion:reduce){.desk *{animation:none!important}}

@media(min-width:601px){.desk:fullscreen,.desk.desk-expanded{height:100dvh;box-sizing:border-box;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:10px}.desk:fullscreen .desk-toolbar,.desk-expanded .desk-toolbar{padding:0}.desk:fullscreen .desk-stage,.desk-expanded .desk-stage{min-height:0;height:100%;max-width:1200px;margin:0 auto}.desk:fullscreen .desk-room,.desk-expanded .desk-room{container-type:size;display:flex;flex-direction:column;align-items:center;min-height:0}.desk:fullscreen .room-photo,.desk-expanded .room-photo{width:min(100cqw,calc(100cqh - 44px));height:auto;flex-shrink:0}.desk:fullscreen .room-heading,.desk-expanded .room-heading{height:34px;min-height:34px;margin-bottom:10px;flex-shrink:0}.desk:fullscreen .desk-dialogue,.desk-expanded .desk-dialogue{min-height:0;padding:2px 12px}.desk:fullscreen .desk-dialogue p,.desk-expanded .desk-dialogue p{margin:8px auto;font-size:18px}.desk:fullscreen .desk-note,.desk-expanded .desk-note{margin:0 auto;font-size:10px}}

.replay-arrow{display:none}.desk[data-completed=true] .pause-bars,.desk[data-completed=true] .play-triangle{display:none}.desk[data-completed=true] .replay-arrow{display:block}.desk[data-completed=true] *{animation-play-state:paused!important}
