/* Two isolated variations on the selected hello, connected prototype. */
#showcase{position:absolute;inset:0;z-index:4;opacity:0;visibility:hidden;pointer-events:none;color:#1b1d21}
#showcase.visible{visibility:visible;pointer-events:auto}
.showcase-copy{position:absolute;left:49%;top:22%;width:min(560px,44%)}
.project-kicker{display:flex;align-items:center;gap:10px;font:500 11px/1.4 Inter,system-ui,sans-serif;letter-spacing:.13em;text-transform:uppercase;color:#555960;margin:0 0 24px}
.project-kicker i{width:9px;height:9px;border:1px solid #1b1d21;border-radius:50%;background:var(--project-color);flex:none}
#project-title{font:400 clamp(48px,5.7vw,86px)/.98 'Cormorant Garamond',Garamond,serif;letter-spacing:-.035em;margin:0 0 18px;text-wrap:balance}
#project-line{font:500 clamp(18px,1.75vw,25px)/1.3 Inter,system-ui,sans-serif;letter-spacing:-.035em;margin:0 0 20px;max-width:24ch;text-wrap:balance}
#project-description{font:400 clamp(15px,1.3vw,18px)/1.65 Inter,system-ui,sans-serif;color:#555960;max-width:38ch;margin:0 0 25px;text-wrap:pretty}
.project-status{display:inline-flex;align-items:center;gap:7px;border-top:1px solid #bfc1c1;padding-top:12px;font:11px/1.3 Inter,system-ui,sans-serif;letter-spacing:.04em}
.project-status:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}
.project-icon{position:absolute;left:36%;top:22%;width:clamp(90px,9vw,132px);height:auto;aspect-ratio:1;object-fit:contain;border-radius:22%;filter:drop-shadow(0 14px 13px #24201b18);will-change:transform,opacity}
.project-switcher{position:absolute;left:49%;bottom:17%;display:flex;gap:24px;border-bottom:1px solid #c9ccd1;padding-bottom:10px;max-width:46%}
.project-switcher button{appearance:none;background:none;border:0;padding:8px 0;cursor:pointer;color:#777;font:12px/1.3 Inter,system-ui,sans-serif;white-space:nowrap}
.project-switcher button[aria-current=true]{color:#141618;box-shadow:0 2px #141618}
.project-switcher button:hover{color:#141618}
#middle-contact{display:inline-block;color:#fff;background:#1b1d21;padding:13px 20px;font:13px/1.3 Inter,system-ui,sans-serif;text-decoration:none;border-radius:99px;margin-top:16px}
#middle-contact[hidden]{display:none}
.screen-index{position:absolute;inset:0;display:grid;place-content:center;text-align:center;background:var(--w);font:28px/1 'Jersey 10',monospace;color:var(--k)}
.screen-index small{display:block;margin-top:12px;font:9px/1.2 'Jersey 10',monospace;letter-spacing:1px}
.screen-index .screen-dots{display:flex;justify-content:center;gap:8px;margin-top:16px}
.screen-index .screen-dots b{display:block;width:4px;height:4px;border:1px solid var(--k);border-radius:50%}
.screen-index .screen-dots b.on{background:var(--k)}
.stage[data-mode=desk] #connections{z-index:1}
.stage[data-mode=desk] .collect{background:none;border:0;padding:0}
.demo{display:none;margin:0}
/* A: computer stays in the scene, its screen becomes a running chapter marker. */
body[data-middle=emerge] #showcase{background:transparent}
body[data-middle=emerge] .showcase-copy{top:24%}
body[data-middle=emerge] .project-icon{top:48%;left:36%}
body[data-middle=emerge] .project-switcher{bottom:20%}
/* B: the screen becomes one continuous light canvas. */
body[data-middle=stage] #showcase{background:#f2f4ee}
body[data-middle=stage] .stage[data-mode=desk] #connections{z-index:5}
body[data-middle=stage] .showcase-copy{left:8%;top:23%;width:43%}
body[data-middle=stage] #project-title{font-size:clamp(56px,7.6vw,112px)}
body[data-middle=stage] #project-description{max-width:32ch}
body[data-middle=stage] .project-icon{left:8%;top:11%;width:64px}
body[data-middle=stage] .project-kicker{margin-bottom:20px}
body[data-middle=stage] .project-switcher{left:8%;bottom:15%;max-width:84%;width:84%;gap:35px}
body[data-middle=stage] .demo{display:block;position:absolute;left:57%;top:25%;width:34%;max-width:460px;transform:rotate(-2deg)}
.demo-sheet{background:#fff;border:1px solid #d9dcd8;border-radius:4px;padding:25px;box-shadow:0 20px 40px -25px #161b173d;transform:rotate(2deg);min-height:245px}
.demo-tag{font:10px/1.4 Inter,system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#6d7178;margin:0 0 24px}
.demo-heading{font:400 32px/1 'Cormorant Garamond',Garamond,serif;margin:0 0 18px}
.demo-line{font:13px/1.6 Inter,system-ui,sans-serif;color:#535960;margin:0 0 16px;min-height:42px}
.demo-buttons{display:flex;gap:6px;margin-top:20px}
.demo button{font:11px/1 Inter,system-ui,sans-serif;background:#f1f3f0;border:1px solid #d8dbd5;padding:10px 12px;border-radius:20px;color:#1b1d21;cursor:pointer}
.demo button[aria-pressed=true]{background:#1b1d21;color:#fff;border-color:#1b1d21}
.demo-caption{font:10px/1.5 Inter,system-ui,sans-serif;color:#73776e;text-align:center;margin:18px 0 0;transform:rotate(2deg)}
.mini-list{display:flex;gap:8px}
.mini-list span{flex:1;border-top:2px solid #a9bf7c;padding:10px 0 0;font:12px/1.5 Inter,system-ui,sans-serif}
.code-slip{border:1px dashed #7e94c3;padding:18px;font:25px/1.2 ui-monospace,monospace;letter-spacing:.08em;background:#f4f7ff;text-align:center}
.paste-field{display:block;width:100%;height:58px;resize:none;font:14px/1.4 Inter,system-ui,sans-serif;padding:12px;border:1px solid #bac7bb;border-radius:2px;color:#244631;background:#f4faf4}
.work-demo{font:400 54px/1.05 'Cormorant Garamond',Garamond,serif;margin:15px 0 30px;letter-spacing:-.025em}
@media(max-width:700px){
 .project-icon{width:64px!important;border-radius:15px}
 .project-kicker{font-size:9px;gap:6px;margin-bottom:12px}
 #project-title{font-size:46px!important;line-height:1;margin-bottom:10px}
 #project-line{font-size:18px;margin-bottom:12px;max-width:26ch}
 #project-description{font-size:14px;line-height:1.5;margin-bottom:16px;max-width:40ch}
 .project-status{font-size:10px;padding-top:9px}
 .project-switcher,body[data-middle=stage] .project-switcher{left:6%;width:88%;max-width:none;gap:0;justify-content:space-between;bottom:15%;padding-bottom:4px}
 .project-switcher button{font-size:10px;padding:10px 0}
 body[data-middle=emerge] .showcase-copy{left:7%;width:86%;top:42%}
 body[data-middle=emerge] .project-icon{left:67%;top:25%}
 body[data-middle=emerge] .project-switcher{bottom:15%}
 body[data-middle=stage] .project-icon{left:auto;right:7%;top:13%;width:48px!important}
 body[data-middle=stage] .showcase-copy{left:7%;width:86%;top:13%}
 body[data-middle=stage] .project-kicker{max-width:70%}
 body[data-middle=stage] #project-title{max-width:77%;font-size:42px!important}
 body[data-middle=stage] #project-line{font-size:17px;max-width:25ch}
 body[data-middle=stage] #project-description{font-size:13px;max-width:35ch;margin-bottom:10px}
 body[data-middle=stage] .demo{left:7%;top:47%;width:86%;max-width:none;transform:rotate(-1deg)}
 .demo-sheet{padding:16px;min-height:0}
 .demo-tag{font-size:8px;margin-bottom:10px}
 .demo-heading{font-size:26px;margin-bottom:10px}
 .demo-line{font-size:12px;min-height:0;margin-bottom:10px}
 .demo-buttons{margin-top:12px}
 .demo button{padding:9px 10px;font-size:10px}
 .demo-caption{margin:9px 0 0;font-size:8px}
 .code-slip{padding:12px;font-size:20px}
 .work-demo{font-size:36px;margin:6px 0 15px}
 .mini-list span{font-size:11px;padding-top:7px}
 #middle-contact{font-size:12px;padding:11px 17px;margin-top:10px}
}
@media(max-width:700px) and (max-height:700px){
 body[data-middle=emerge] .showcase-copy{top:39%}
 body[data-middle=emerge] .project-icon{top:24%;width:48px!important}
 #project-title{font-size:38px!important;margin-bottom:7px}
 #project-line{font-size:15px;margin-bottom:8px}
 #project-description{font-size:12px;line-height:1.4;margin-bottom:10px}
 .project-kicker{margin-bottom:8px;font-size:8px}
 .project-switcher,body[data-middle=emerge] .project-switcher,body[data-middle=stage] .project-switcher{bottom:15%}
 body[data-middle=stage] #project-title{font-size:34px!important}
 body[data-middle=stage] #project-line{font-size:14px}
 body[data-middle=stage] #project-description{font-size:11px;line-height:1.35;max-width:38ch}
 body[data-middle=stage] .showcase-copy{top:13%}
 body[data-middle=stage] .demo{top:47%}
 .demo-sheet{padding:12px}
 .demo-tag,.demo-line{display:none}
 .demo-heading{font-size:23px;margin-bottom:8px}
 .demo-buttons{margin-top:9px}.demo button{padding:8px 10px}
 .demo-caption{margin-top:6px}
 .paste-field{height:42px;padding:8px;font-size:12px}
 .work-demo{font-size:28px;margin:5px 0}
}
@media(prefers-reduced-motion:reduce){#showcase{display:none}}

body[data-middle=stage] .screen-index{display:none}
