:root{color-scheme:dark;--ink:#101c20;--cream:#f5ede0;--gold:#dfbd80;--muted:#bcc0b9;--line:rgba(223,189,128,.28);font-family:Arial,Helvetica,sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--ink);color:var(--cream)}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid #ffda94;outline-offset:5px}button:disabled{cursor:default}button{touch-action:manipulation}a{color:inherit}.game{min-height:100svh;position:relative;isolation:isolate;display:flex;flex-direction:column;overflow:hidden}.backdrop,.shade,.grain{position:absolute;inset:0;z-index:-3;pointer-events:none}.backdrop{background-image:url('assets/office.webp');background-position:center;background-size:cover;transition:opacity .45s;transform:scale(1.025)}.backdrop.city{background-image:url('assets/city.png');background-position:55% 35%}.backdrop.archive{background-image:url('assets/approved.png');background-size:300% auto;background-position:right 35%}.backdrop.fall{background-image:url('assets/approved.png');background-size:300% auto;background-position:right 20%;filter:blur(4px);animation:falling 22s linear infinite alternate}.shade{z-index:-2;background:linear-gradient(90deg,rgba(5,17,21,.75),rgba(5,17,21,.22) 56%,rgba(5,17,21,.1)),linear-gradient(0deg,rgba(5,17,21,.98),transparent 65%,rgba(5,17,21,.6))}.grain{z-index:-1;opacity:.14;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.25' filter='url(%23n)'/%3E%3C/svg%3E")}.topbar{display:flex;justify-content:space-between;align-items:center;padding:27px 4vw;gap:20px;z-index:2}.wordmark{text-decoration:none;font-size:11px;letter-spacing:2px;line-height:1.6;display:flex;align-items:center;gap:13px}.wordmark strong{font-size:14px;font-weight:normal;letter-spacing:3.5px}.door-mark{font-size:38px;line-height:1;color:var(--gold)}.chapter-label{font-size:12px;letter-spacing:2px;color:#e2d5be}.topbar nav{display:flex;gap:8px}.icon-btn{min-width:44px;min-height:44px;border:1px solid var(--line);background:#11212666;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;gap:3px;font-size:25px}.icon-btn:hover{background:#d6b87922}.icon-btn svg{width:20px;height:20px;fill:none;stroke:var(--gold);stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}#bag-count{font-size:12px;color:var(--gold)}.journey{position:absolute;left:4vw;top:40%;width:32px}.journey ol{list-style:none;padding:0;margin:0;display:grid;gap:25px}.journey li{height:10px;width:10px;border:1px solid #c3aa7977;border-radius:50%;position:relative;background:#102126}.journey li.done{background:#a89168}.journey li.active{background:var(--gold);box-shadow:0 0 0 5px #dfbd8020,0 0 22px #dfbd8066}.journey-line{position:absolute;top:3px;bottom:3px;left:4px;width:1px;background:#c3aa7933}.stage{flex:1;display:flex;align-items:flex-end;padding:18px 7.8vw 30px;min-height:570px;gap:5vw}.title-content{align-self:center;max-width:620px;padding:25px 0 40px;animation:appear .65s ease both}.eyebrow{font-size:12px;letter-spacing:2.7px;font-weight:normal;color:var(--gold);text-transform:uppercase;line-height:1.6}.eyebrow::before{content:'';display:inline-block;width:28px;height:1px;background:var(--gold);vertical-align:middle;margin-right:12px}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Georgia,'Times New Roman',serif;font-weight:normal}h1{font-size:clamp(45px,5.8vw,84px);line-height:1.04;letter-spacing:-2px;margin:23px 0 26px;text-wrap:balance}h1 em{color:var(--gold);font-weight:normal}p{font-size:17px;line-height:1.65}.intro{max-width:415px;color:#e5ded2;font-size:18px;line-height:1.6}.start-actions{margin-top:32px;display:flex;flex-wrap:wrap;align-items:center;gap:16px}.primary{min-height:54px;padding:16px 25px;background:var(--gold);color:#192428;border:1px solid var(--gold);font-weight:600;font-size:16px;border-radius:3px;display:flex;align-items:center;justify-content:space-between;gap:35px}.primary:hover{background:#f0d4a1}.arrow{font-size:21px;font-weight:normal}.text-btn{background:none;border:0;border-bottom:1px solid var(--line);padding:10px 0;font-size:14px;color:#e0d5c3;min-height:44px}.smallnote{font-size:13px;color:#bdc3bf;margin-top:18px;line-height:1.6}.scene-caption{margin-right:auto;max-width:350px;padding-bottom:30px;align-self:flex-start;margin-top:12vh;animation:appear .55s ease}.scene-caption h2{font-size:clamp(28px,3.6vw,48px);line-height:1.14;margin-top:16px;text-shadow:0 2px 28px #000}.dialogue{width:min(545px,53%);border:1px solid var(--line);background:linear-gradient(125deg,rgba(20,38,40,.96),rgba(11,23,28,.94));padding:30px;border-radius:5px;box-shadow:0 18px 65px #0005;backdrop-filter:blur(20px);animation:appear .45s ease both}.dialogue .speaker{display:flex;align-items:center;gap:10px;color:var(--gold);font-size:13px;letter-spacing:1.5px;text-transform:uppercase;margin-bottom:16px}.speaker-dot{width:5px;height:5px;background:var(--gold);transform:rotate(45deg)}.dialogue h2{font-size:29px;line-height:1.22;margin-bottom:17px;text-wrap:balance}.dialogue p{color:#e7e1d5;font-size:17px}.choices{margin-top:25px;display:grid;gap:9px}.choice{width:100%;display:flex;text-align:left;align-items:center;gap:14px;min-height:52px;line-height:1.42;font-size:15px;padding:14px 15px;background:#ffffff04;border:1px solid #dfbd8036;border-radius:3px;transition:background .15s,border-color .15s,transform .15s}.choice:hover{background:#d8b98216;border-color:var(--gold);transform:translateX(2px)}.choice .num{font-size:12px;color:#d2b987;font-family:Georgia,serif;min-width:16px}.choice .end-arrow{margin-left:auto;color:var(--gold)}.choice.single{background:var(--gold);color:#17282a;border-color:var(--gold);font-weight:600}.choice.single .num,.choice.single .end-arrow{color:#17282a}.choice.single:hover{background:#f0d4a1}.feedback{border-left:2px solid #cda878;padding-left:15px}.bottombar{display:flex;align-items:center;justify-content:space-between;padding:12px 4vw 25px;gap:20px}.awareness{display:flex;gap:12px;align-items:center;font-size:12px;letter-spacing:1.6px;color:#c4baaa}.meter{height:2px;width:90px;background:#ffffff25}.meter i{display:block;height:100%;width:0;background:var(--gold);transition:width .8s}#score{letter-spacing:0;font-size:13px}.save-status{font-size:12px;color:#bac2bd}.residents{width:100%;padding-bottom:4px;animation:appear .5s ease}.residents h2{font-size:43px;margin:12px 0 15px}.residents>.res-intro{max-width:590px;text-shadow:0 2px 15px #000}.resident-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:28px}.resident-card{background:#112429ee;border:1px solid var(--line);border-radius:4px;min-height:214px;padding:23px;text-align:left;transition:transform .2s,border .2s}.resident-card:hover{transform:translateY(-5px);border-color:var(--gold)}.resident-card h3{font-size:27px;color:var(--cream);margin:10px 0}.resident-card p{font-size:15px;line-height:1.5}.resident-card .theme{font-size:12px;color:var(--gold);text-transform:uppercase;letter-spacing:1.5px}.resident-card .card-link{display:block;margin-top:18px;font-size:13px;color:var(--gold)}.reward-badge{display:flex;align-items:center;gap:16px;margin-bottom:23px;color:var(--gold)}.reward-badge svg{width:44px;height:65px;fill:none;stroke:var(--gold);stroke-width:1.3}.reward-badge span{font-size:13px;letter-spacing:1.3px;line-height:1.6}.reward-badge strong{display:block;font-size:20px;font-family:Georgia,serif;font-weight:normal;letter-spacing:0}.quote{font-family:Georgia,serif;font-size:22px!important;line-height:1.4!important;border-left:1px solid var(--gold);padding-left:17px;margin-top:20px}.ending{max-width:580px;width:100%;margin-left:auto}.ending .smallnote{font-size:14px}.ghost{background:none;border:1px solid var(--line);padding:12px 15px;min-height:48px;border-radius:3px;text-align:center}.floating-words{position:absolute;inset:130px 10% auto auto;display:grid;gap:23px;opacity:.65;pointer-events:none;font-family:Georgia,serif;font-size:26px;transform:rotate(-10deg);color:#e5caa1}.floating-words span:nth-child(2){margin-left:90px}.floating-words span:nth-child(3){margin-left:-60px}.game[data-scene="fall"] .scene-caption{margin-top:10vh}.game[data-scene="title"] .journey{display:none}dialog{width:min(490px,calc(100% - 32px));max-height:85svh;overflow:auto;background:#13262b;color:var(--cream);border:1px solid var(--line);border-radius:8px;padding:25px;box-shadow:0 25px 100px #0008}dialog::backdrop{background:#020d13bb;backdrop-filter:blur(6px)}.modal-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px;font-size:12px;letter-spacing:2px;color:var(--gold)}dialog h2{font-size:30px;margin-bottom:18px}dialog p{font-size:16px;margin:12px 0}dialog .primary,dialog .ghost{width:100%;margin-top:13px}.inventory-item{padding:17px 0;border-bottom:1px solid var(--line)}.inventory-item h3{font-size:22px;color:var(--gold)}.inventory-item p{font-size:14px;color:#c6ceca;margin:7px 0 0}.setting{display:flex;justify-content:space-between;gap:20px;align-items:center;font-size:16px;padding:18px 0}.setting input{width:23px;height:23px;accent-color:var(--gold)}.toast{position:fixed;bottom:75px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#e1c28a;color:#16272c;padding:14px 22px;border-radius:4px;font-size:15px;max-width:90%;width:max-content;z-index:9;transition:.25s}.toast.show{opacity:1;transform:translate(-50%,0)}.nojs{position:fixed;inset:0;display:grid;place-content:center;background:var(--ink);padding:40px;font-size:22px}body.reduced *{animation:none!important;transition:none!important}body.reduced .backdrop{transform:none}@keyframes appear{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes falling{from{background-position:right 0%;transform:scale(1.02)}to{background-position:right 90%;transform:scale(1.1)}}@media(min-width:1600px){.stage{max-width:1550px;width:100%;margin:auto}.dialogue{width:570px}.topbar,.bottombar{padding-left:5vw;padding-right:5vw}}@media(max-width:850px){.topbar{padding:20px 23px}.chapter-label{display:none}.stage{padding:15px 25px 24px 65px;gap:25px;min-height:540px}.scene-caption{max-width:220px}.scene-caption h2{font-size:32px}.dialogue{width:62%;padding:23px}.dialogue h2{font-size:25px}.dialogue p{font-size:16px}.choice{font-size:14px}.bottombar{padding:12px 23px 22px}.resident-grid{gap:10px}.resident-card{padding:16px}.residents h2{font-size:35px}}@media(max-width:600px){.game{min-height:100svh}.topbar{padding:18px 20px;gap:12px}.wordmark{font-size:9px;letter-spacing:1.8px;gap:9px}.wordmark strong{font-size:12px;letter-spacing:3px}.door-mark{font-size:30px}.topbar nav{gap:7px}.icon-btn{width:42px;min-width:42px;min-height:42px}.journey{display:none}.stage{padding:0 18px 20px;min-height:580px;flex-direction:column;justify-content:flex-end;align-items:stretch;gap:18px}.title-content{align-self:stretch;margin-top:19vh;padding:0 6px 20px}.title-content h1{font-size:53px;letter-spacing:-1.8px;max-width:350px}.intro{font-size:17px;max-width:310px}.start-actions{margin-top:25px;gap:14px}.start-actions .primary{width:100%}.smallnote{font-size:12px}.shade{background:linear-gradient(0deg,#08181d 0%,#0b1a20e6 22%,#0b1a2040 66%,#0b1a2070)}.backdrop{background-position:48% 20%;background-size:auto 100%;transform:none}.backdrop.city{background-position:68% 0%;background-size:auto 85%}.backdrop.archive{background-size:300% auto;background-position:right top}.scene-caption{margin:13vh 7px 0;align-self:auto;max-width:280px;padding:0}.scene-caption h2{font-size:30px;margin-top:10px}.scene-caption .eyebrow{font-size:10px;letter-spacing:1.7px}.dialogue{width:100%;padding:22px 20px;backdrop-filter:blur(15px);background:linear-gradient(120deg,#142a2def,#0d1e23f5);box-shadow:0 12px 50px #0004}.dialogue h2{font-size:26px}.dialogue p{font-size:16px;line-height:1.56}.dialogue .speaker{font-size:12px}.choices{margin-top:19px;gap:8px}.choice{font-size:15px;padding:13px 12px;min-height:50px}.bottombar{padding:0 23px max(18px,env(safe-area-inset-bottom));flex-wrap:wrap;gap:9px}.awareness{font-size:10px;letter-spacing:1.1px;gap:9px}.meter{width:60px}.save-status{font-size:11px}#score{font-size:12px}.residents{margin-top:10vh}.residents h2{font-size:35px}.res-intro{font-size:16px!important}.resident-grid{grid-template-columns:1fr;gap:10px;margin-top:21px}.resident-card{min-height:0;padding:16px 19px}.resident-card h3{font-size:25px;margin:5px 0}.resident-card p{font-size:15px}.resident-card .card-link{margin-top:10px}.resident-card .theme{font-size:11px}.ending{margin-top:19vh}.game[data-scene="fall"] .scene-caption{margin-top:18vh}.floating-words{font-size:20px;inset:125px 45px auto auto;gap:20px}.game[data-scene="residents"] .backdrop.city{background-size:auto 60%}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}@media(max-height:720px) and (min-width:601px){.stage{min-height:410px;padding-bottom:15px}.topbar{padding-top:17px;padding-bottom:12px}.scene-caption{margin-top:5vh}.dialogue{padding:23px}.dialogue h2{font-size:25px}.dialogue p{font-size:16px}.choices{margin-top:17px}.choice{padding:11px 13px;min-height:46px}}@media(min-width:601px){.game[data-scene="title"] .backdrop{background-position:65% 55%}.game[data-scene="title"] .shade{background:linear-gradient(90deg,#07181eeb,#091c2270 55%,#091c2210),linear-gradient(0deg,#07181eeb,transparent 40%)}.game[data-scene="land"] .dialogue,.game[data-scene="freud"] .dialogue,.game[data-scene="hill"] .dialogue{margin-right:auto;margin-left:0}.game[data-scene="land"] .scene-caption,.game[data-scene="freud"] .scene-caption,.game[data-scene="hill"] .scene-caption{display:none}.game[data-scene="land"] .stage,.game[data-scene="freud"] .stage,.game[data-scene="hill"] .stage{align-items:flex-end}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#scene-heading:focus{outline:none}

.start-actions .primary{border-radius:16px}

/* Each narrative action has its own illustration; dissolve only after it loads. */
.backdrop{background-position:var(--scene-position,50% 35%)!important;background-size:cover!important;transform:none!important;filter:none!important;animation:none!important;transition:opacity 600ms ease;z-index:-4}
#backdrop-next{background-image:none;opacity:0;z-index:-3}
.scene-loading{position:fixed;top:94px;left:50%;transform:translateX(-50%);z-index:4;font-size:13px;line-height:1.5;color:#efdfc2;background:#102429ee;border-radius:8px;max-width:90%;padding:10px 15px;text-align:center;box-shadow:0 5px 20px #0003}
.scene-loading:empty{display:none}
.scene-loading button{background:none;color:#efcf91;border:0;border-bottom:1px solid #dfbd8088;padding:5px;min-height:35px}
@media(max-width:600px){.backdrop{background-position:var(--scene-mobile-position,50% 15%)!important;background-size:auto 62svh!important;background-position:var(--scene-mobile-position,50% 0%)!important;background-repeat:no-repeat;background-color:#101c20}.game[data-scene="title"] .backdrop{background-size:auto 100svh!important;background-position:48% 20%!important}.scene-loading{top:83px}.shade{background:linear-gradient(0deg,#08181d 0%,#0b1a20e6 16%,#0b1a2030 67%,#0b1a2070)}}
@media(prefers-reduced-motion:reduce){.backdrop{transition:none!important}}
@media(max-width:600px){.game[data-scene="residents"] .backdrop{background-size:auto 50svh!important}}

/* Narrative scenes: dialogue and action share a continuous reading order. */
.narrative p{margin:0 0 1em;line-height:1.6}.narrative p:last-child{margin-bottom:0}.narrative:focus{outline:none}.res-intro.narrative p{font-size:inherit}

.profile-field{display:block;margin:18px 0;font-size:15px;line-height:1.5}.profile-field textarea{display:block;box-sizing:border-box;width:100%;margin-top:8px;padding:12px;border:1px solid var(--line);border-radius:6px;background:#101c20;color:var(--cream);font:inherit;resize:vertical}#modal-body h3{margin-top:24px}#script-error{color:var(--gold)}

#audio-choice{max-width:430px;width:calc(100% - 36px);padding:28px;color:var(--cream);background:#142628;border:1px solid var(--line);border-radius:12px}#audio-choice::backdrop{background:#071318b8}#audio-choice h2{margin-bottom:16px}#audio-choice p{line-height:1.6}.sound-settings{border:1px solid var(--line);border-radius:6px;padding:16px;margin:20px 0}.sound-settings legend{color:var(--gold);padding:0 8px}.sound-level{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:15px 0}.sound-level input{max-width:65%;accent-color:var(--gold);min-height:32px}

.game[data-scene="workbench"] .stage,.game[data-scene="result"] .stage{justify-content:center;padding-top:28vh}.game[data-scene="workbench"] .dialogue,.game[data-scene="result"] .dialogue{width:min(740px,100%)}.script-result{margin-top:22px}.script-result h3{color:var(--gold);margin:26px 0 12px}.script-result p{margin:0 0 16px}.script-result details{margin-top:22px}.script-result summary{cursor:pointer;color:var(--gold)}.offer-details{margin:20px 0;padding:18px;border:1px solid var(--line);border-radius:8px}.offer-details strong{color:var(--gold)}.offer-details p{margin-top:12px}.journey ol{gap:18px}@media(max-width:600px){.game[data-scene="workbench"] .stage,.game[data-scene="result"] .stage{padding-top:30vh}.profile-field textarea{font-size:16px}.game[data-scene="offer"] .stage{padding-top:25vh}}

@media(max-width:600px){.game:not([data-scene="title"]) .stage{padding-top:28svh}}

.contact-game{display:block;text-decoration:none;text-align:center;white-space:normal;line-height:1.45;border-radius:12px}.game[data-scene="game-offer"] .stage{padding-top:25vh}
