:root{color-scheme:dark;--ink:#f6ead7;--muted:#b9ceca;--bg:#10282e;--panel:#18363d;--amber:#ffd49a;--teal:#b7dbca;--edge:#42636a;--serif:Georgia,serif;font:16px/1.5 system-ui,sans-serif}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at top,#20464b,var(--bg) 61%);color:var(--ink);min-height:100vh}body.large{font-size:1.16rem}button{font:inherit;cursor:pointer;min-height:46px;border:1px solid var(--edge);background:#254951;color:var(--ink);border-radius:8px;padding:.55em 1em}button:hover{background:#315b62}button:focus-visible,a:focus-visible{outline:3px solid var(--amber);outline-offset:4px}button:disabled{opacity:.52;cursor:default}.primary{background:var(--teal);color:#152f31;font-weight:720;border-color:transparent}.primary:hover{background:#cde9db}.quiet,.brand{background:transparent;border-color:transparent}.brand{font:700 1.35rem var(--serif);padding-left:0}.brand small{font:600 .72rem system-ui;color:var(--amber);margin-left:.35rem}header,footer{max-width:1330px;margin:auto;padding:.6rem clamp(.9rem,3vw,2.4rem);display:flex;align-items:center;justify-content:space-between;gap:.7rem}header{border-bottom:1px solid #41616770}.chapter,footer,.muted{color:var(--muted)}footer{font-size:.78rem;justify-content:center;text-align:center;padding-block:1.2rem}main{max-width:1330px;margin:auto;padding:clamp(.7rem,2vw,1.5rem) clamp(.75rem,3vw,2.4rem);outline:0}h1,h2{font-family:var(--serif);line-height:1.1;margin:.1em 0 .35em}h1{font-size:clamp(2rem,5vw,4.1rem)}h2{font-size:clamp(1.55rem,3vw,2.5rem)}p{margin:.45em 0 .85em}.eyebrow{letter-spacing:.14em;text-transform:uppercase;color:var(--amber);font-size:.73rem;font-weight:750}.hero,.customer,.caseview,.end{border:1px solid var(--edge);border-radius:16px;overflow:hidden;box-shadow:0 15px 35px #05161870}.hero{min-height:clamp(410px,65vh,680px);display:flex;align-items:end;background:linear-gradient(0deg,#0d2429 2%,#10282e19 100%),url(assets/shop.png) center 59%/cover}.hero>div{padding:clamp(1.2rem,4vw,3.2rem);max-width:58ch}.hero p{font-size:1.06em}.row{display:flex;flex-wrap:wrap;gap:.62rem;align-items:center}.box,.end{padding:clamp(1rem,3vw,2rem);background:var(--panel)}.customer{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);background:#153138}.portrait{min-height: min(56vh,500px);background-position:center 35%;background-size:cover}.portrait.margaret{background-image:url(assets/margaret.png)}.portrait.daniel,.portrait.sophie{background-image:url(assets/customers.png);background-size:auto 100%;background-repeat:no-repeat;background-color:#1b373c}.portrait.daniel{background-position:left center}.portrait.sophie{background-position:right center}.customer>div:last-child{padding:clamp(1.1rem,4vw,3rem);align-self:center}blockquote{margin:.7rem 0 1.3rem;padding-left:.9rem;border-left:3px solid var(--amber);font:1.25em/1.5 var(--serif)}.queue{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;margin-top:.8rem}.queue section{background:var(--panel);padding:1rem;border:1px solid var(--edge);border-radius:10px}.queue h2{font-size:1.33rem}.case-head{display:flex;justify-content:space-between;align-items:center;gap:.7rem;padding:.7rem 1rem;background:#17363f}.case-head h1{font-size:clamp(1.35rem,3.5vw,2.35rem);margin:0}.case-head p{margin:0}.art{position:relative;aspect-ratio:1536/930;background:#3d3229 url(assets/bench.png) center center/100% 110.108% no-repeat;overflow:hidden}.art.svg-scene{background:radial-gradient(ellipse at 58% 25%,#624631,#292826);aspect-ratio: 3/1.6}.art>svg{display:block;width:100%;height:100%}.screenlit{position:absolute;left:52.05%;top:29.9%;width:24.1%;height:28.1%;background:radial-gradient(ellipse at 87% 85%,#f0ce8e,transparent 56%),linear-gradient(155deg,#163e4c,#32746e 60%,#81b19b);clip-path:polygon(0 0,95% 6%,100% 94%,4% 100%)}.hot{position:absolute;transform:translate(-50%,-50%);padding:0;width:clamp(40px,5.2vw,64px);aspect-ratio:1;min-height:0;border-radius:50%;border:2px solid #ffe5b0ca;background:#173238b5;box-shadow:0 0 0 5px #ffd69a33;color:#ffeac9;font-weight:750}.hot.neutral{border-color:#a2ccc59e;box-shadow:none;background:#17323868}.hot.inactive{border-color:#bed1c881}.led{position:absolute;left:45.4%;top:61.1%;width:.8%;aspect-ratio:1;background:#ffe09a;border-radius:50%;box-shadow:0 0 10px 4px #ffdc7f99;pointer-events:none}.tour{background:#17363f;padding:1rem 1.15rem}.tour p{margin:0 0 .65rem}.tour .row{gap:.48rem}.tour .feedback{font-weight:650;color:var(--amber)}.toolbar{border-top:1px solid var(--edge);padding:.65rem 1rem;background:#122e35;display:flex;gap:.45rem;flex-wrap:wrap}.toolbar button{min-height:44px}.cursor{position:absolute;color:#fff;font-size:clamp(16px,3vw,35px);text-shadow:1px 2px 3px #000;pointer-events:none;left:61%;top:38%;transition:transform .18s}.cursor.moved{transform:translate(3vw,1.8vw)}.context-tag{position:absolute;left:.65rem;top:.65rem;background:#122e35e8;border-radius:6px;padding:.3rem .6rem;font-size:.82rem;color:#e3f1e6}dialog{max-width:min(730px,calc(100vw - 24px));width:100%;max-height:calc(100dvh - 24px);overflow:auto;border:1px solid var(--edge);border-radius:15px;padding:clamp(.9rem,3vw,1.8rem);background:#19363c;color:var(--ink);box-shadow:0 12px 50px #0008}dialog::backdrop{background:#051a22c9}dialog.paper{color:#233a37;background:#f5e6cc}dialog.paper .eyebrow{color:#496a61}.paper dl{margin:.6rem 0}.paper dt{font-weight:750;border-top:1px solid #bba98e;padding-top:.5rem}.paper dd{margin:0 0 .65rem}.paper button{color:#fff}.sr,.skip:not(:focus){position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip:focus{position:absolute;z-index:9;background:var(--teal);color:var(--bg);padding:1rem}.success{color:#bce2cb}.end{max-width:800px;margin:auto}.notice{padding:.6rem;border:1px solid var(--edge);margin-bottom:.7rem}.selected{border-color:var(--amber)}.portrait{aspect-ratio:3/4}.customer .portrait{width:100%}@media(max-width:680px){.chapter{display:none}header{padding-inline:.85rem}main{padding:.7rem}.hero{min-height:69vh;background-position:57% center}.hero>div{padding:1.05rem}.queue,.customer{grid-template-columns:1fr}.portrait,.customer .portrait{min-height:0;height:min(42vh,325px);aspect-ratio:auto}.portrait.daniel,.portrait.sophie{background-size:200% auto}.case-head{align-items:flex-start;padding:.7rem}.art{aspect-ratio:1.34;background-size:100% 100%}.art.svg-scene{aspect-ratio:1.4}.art.svg-scene svg{object-fit:contain}.screenlit{top:32.4%;height:25.3%}.led{top:60%;}.hot{min-width:44px;min-height:44px}.tour,.toolbar{padding:.75rem}.tour .row button{flex:1 1 135px}.toolbar button{flex:1 1 70px}.case-head .eyebrow{display:block}footer{padding:.7rem;font-size:.73rem}}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
.portrait.daniel,.portrait.sophie{background-size:cover;background-position:center 34%}.portrait.daniel{background-image:url(assets/daniel.png)}.portrait.sophie{background-image:url(assets/sophie.png)}.hot{background:#1c353979}.hot.neutral{font-size:.78rem}

.phone-label{display:none}.clue,.instruction{display:block;margin:0 0 .48rem}.clue strong,.instruction strong{display:inline-block;margin-right:.45rem;color:var(--amber)}.clue{border-left:3px solid #a6d6bd;background:#294e50;padding:.4rem .65rem}.clue span{color:#d5e9d9}.intro-notes{font-size:.95rem!important;color:#eae8cb}.instruction{font-size:1rem}.guided{box-shadow:0 0 0 3px #ffd49a75}.stage{display:grid;place-items:center;min-height:0;background:#15292c;container-type:size}.stage .art{aspect-ratio:3/2;width:min(100cqw,150cqh);background-size:100% 100%;margin:0}.stage .art.monitor-scene{aspect-ratio:1;width:min(100cqw,100cqh)}.stage .art.detail-scene{aspect-ratio:900/480;width:min(100cqw,187.5cqh);background:radial-gradient(ellipse at 50% 45%,#755337,#392b28)}.art .plate,.art .power-overlay{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.art .context-tag{z-index:2}.art .hot{z-index:3}.power-photo{clip-path:inset(0 0 0 0)}.art .power-overlay{pointer-events:none}.context-tag{font-size:.83rem}.art .screenlit{top:32%;left:52.1%;width:24.2%;height:25%;display:grid;grid-template-rows:1fr auto;color:#f7edd3;padding:4%;font-size:clamp(7px,1.1cqw,13px);container-type:inline-size}.os-icons{display:grid;gap:1px;align-content:start}.os-icons span{width:max-content;background:#112e38a8;padding:1px 3px}.os-bar{align-self:end;background:#102c3be8;padding:0 4px;display:flex;justify-content:space-between;gap:.2em}.starting{place-content:center!important;text-align:center;background:#173542!important}.starting b{font-size:clamp(14px,4cqw,32px);line-height:1}.starting i{width:36px;height:3px;background:#c2dfcc;animation:boot .8s linear}.sim-pointer{position:absolute;left:63%;top:43%;color:#fff;font-size:clamp(10px,14cqw,26px);text-shadow:1px 2px 3px #102020}.sim-pointer.moved{left:73%;top:49%}.mouse-object{position:absolute;left:80%;top:87%;width:9%;height:16%;transform:translate(-50%,-50%) rotate(-13deg);border-radius:53% 53% 48% 48%;background:#1e3e40 url(assets/mouse-top.png) center 49%/202% 133% no-repeat;box-shadow:2px 4px 7px #140e09ab}.mouse-tested{animation:slide-mouse .48s ease-in-out}.led{top:60%;left:45.2%}.hot.neutral{background:#17323891}.case-head .eyebrow{margin-bottom:.15rem}.toolbar .wide-label,.toolbar .phone-label{pointer-events:none}
@keyframes slide-mouse{45%{transform:translate(-26%,-76%) rotate(-13deg)}}@keyframes boot{from{transform:scaleX(.13)}to{transform:scaleX(1)}}
@media(min-width:681px) and (min-height:665px){
 body.playing:not(.large){height:100dvh;display:grid;grid-template-rows:auto minmax(0,1fr) auto}
 body.playing:not(.large) header,body.playing:not(.large) footer{width:100%;padding-block:.28rem}
 body.playing:not(.large) main{min-height:0;width:100%;padding-block:.32rem;display:grid;grid-template-rows:minmax(0,1fr)}
 body.playing:not(.large) main:has(.notice){grid-template-rows:auto minmax(0,1fr)}
 body.playing:not(.large) .caseview{min-height:0;display:grid;grid-template-rows:auto minmax(96px,1fr) auto auto}
 .case-head{padding:.32rem .85rem}.case-head h1{font-size:1.6rem}.tour{padding:.52rem .85rem}.toolbar{padding:.32rem .85rem}.tour button,.toolbar button{min-height:44px;padding:.35em .8em}.art .hot{width:clamp(40px,11cqh,53px)}
}
@media(max-width:680px),(max-height:664px){
 .stage{container-type:normal}.stage .art,.stage .art.monitor-scene,.stage .art.detail-scene{width:100%}.stage .art.monitor-scene{max-width:430px}
 .art .screenlit{font-size:clamp(5px,1.6vw,10px);padding:2%}.phone-label{display:inline}.wide-label{display:none}
 .clue,.instruction{font-size:1rem}.case-head .eyebrow{font-size:.66rem}.art .hot{min-width:44px;min-height:44px}.art .context-tag{font-size:.74rem}
}
body.large .stage{container-type:normal}body.large .stage .art{width:min(100%,900px)}body.large .instruction{font-size:1.2rem}body.large .toolbar button,body.large .tour button{font-size:1.15rem}
@media(prefers-reduced-motion:reduce){.mouse-tested,.starting i{animation:none!important}}


.stage .art.mouse-scene{aspect-ratio:1;width:min(100cqw,100cqh);background:#513521}.sim-pointer.moved{animation:pointer-slide .42s ease-out}@keyframes pointer-slide{from{left:63%;top:43%}to{left:73%;top:49%}}@media(max-width:680px),(max-height:664px){.stage .art.mouse-scene{width:min(100%,470px)}}body.large .stage .art.mouse-scene{width:min(100%,600px)}
