:root{--ink:#25483e;--muted:#667964;--cream:#f8f3e9;--accent:#b98760;--green:#203d36;--font:clamp(18px,2.1vw,25px)}*{box-sizing:border-box}html,body{margin:0;height:100%;background:var(--green);color:var(--ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button{font:inherit;cursor:pointer;border:0}button:focus-visible,a:focus-visible,textarea:focus-visible{outline:3px solid #bd8d4e;outline-offset:4px}button:disabled{opacity:.35;cursor:default}#app{position:relative;min-height:620px;height:100dvh;overflow:hidden;isolation:isolate}#room{position:absolute;inset:0;background:url('assets/office.png') center/cover;z-index:-3}#room:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#15372a25,transparent 45%,#17372b22)}#header{position:absolute;top:0;left:0;right:0;padding:19px 4%;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(#203d36bb,transparent);color:#fff8e8;z-index:8;font-size:12px;letter-spacing:2px}#header i{font-style:normal;opacity:.65}#header button{color:#fff8e8;background:#203d3655;border:1px solid #ffffff55;border-radius:30px;padding:9px 18px;font-size:13px;letter-spacing:0}#portrait{position:absolute;height:min(86vh,690px);width:auto;right:10%;bottom:0;z-index:-1;filter:drop-shadow(0 12px 18px #263b2910);animation:arrive .35s ease}#decoration{position:absolute;left:39%;top:40%;width:9%;max-width:140px;z-index:-2}#decoration.art{left:60%;top:12%;width:9%}#content{height:100%;position:relative}h1,h2{font-family:Georgia,"Times New Roman",serif;font-weight:400;line-height:1.04;margin:0}.eyebrow{font-size:12px;letter-spacing:3px;font-weight:650;color:#7c886b;text-transform:uppercase}.title-card{position:absolute;top:50%;left:6%;transform:translateY(-50%);padding:clamp(26px,4vw,48px);width:min(490px,88%);border-radius:4px;background:#faf5ebf2;box-shadow:0 24px 80px #203d3620;animation:arrive .4s ease}.title-card h1{font-size:clamp(53px,6.5vw,78px);margin:22px 0}.title-card .subtitle{letter-spacing:3px;color:#a17353;font-size:14px}.title-card p{font-size:20px;line-height:1.6;color:#687660;margin:18px 0 24px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;padding:15px 24px;border-radius:4px;min-height:52px;line-height:1.3;font-size:17px}.primary{background:var(--green);color:#fff5dc}.primary:hover{background:#365a4c}.secondary{background:#eee5d4;color:var(--ink)}.secondary:hover{background:#e4d7bd}.title-card .primary{width:100%;justify-content:space-between}.title-links{display:flex;gap:6px;margin-top:10px}.text-button{background:transparent;color:#65745f;padding:12px;font-size:14px}.title-footer{position:absolute;bottom:22px;left:6%;color:#fff9e9;text-shadow:0 1px 5px #203d36;font-size:14px;letter-spacing:.3px}.dialogue{position:absolute;bottom:23px;left:4%;right:4%;padding:27px 35px 20px;background:#fcf7eef5;border-radius:7px;box-shadow:0 14px 50px #203d3625;min-height:195px;animation:arrive .2s ease}.speaker{display:block;text-transform:uppercase;letter-spacing:3px;color:#8a6d4f;font-weight:650;font-size:13px;margin-bottom:13px}.speaker.n{color:#77816b}.dialogue p{margin:0;font-size:var(--font);line-height:1.5;max-width:1070px}.dialogue-footer{display:flex;justify-content:space-between;align-items:center;margin-top:15px;gap:12px}.hint{font-size:12px;color:#8a917f}.next{border-radius:30px;background:#e7e1d0;color:#42604e;padding:9px 20px;min-height:43px;font-size:14px}.next:hover{background:#d9d0b8}.shade{position:absolute;inset:0;background:#1b3c32cf;display:flex;align-items:center;justify-content:center;padding:70px 5% 25px;overflow:auto;backdrop-filter:blur(4px)}.chapter{color:#dce3d4;text-align:center;max-width:950px}.chapter .eyebrow{color:#bdc9ae}.chapter h2{font-size:clamp(42px,7vw,76px);color:#f5e5c7;margin:23px 0}.chapter p{font-size:22px;line-height:1.5;color:#cbd9c6}.chapter button{margin-top:20px;background:#f1e6d1;color:var(--green)}.choice-panel{width:min(850px,100%);background:#faf6ed;padding:35px;border-radius:8px;box-shadow:0 20px 70px #071d2855}.choice-panel h2{font-size:30px;line-height:1.25;margin:15px 0 25px}.choices{display:grid;gap:13px}.choice{display:flex;align-items:center;gap:17px;text-align:left;padding:18px 22px;background:#ece6d8;border:1px solid #dfd7c5;border-radius:5px;color:#294a3e;font-size:clamp(17px,1.8vw,22px);line-height:1.4}.choice:hover{background:#dce5d4;border-color:#a2b19a}.choice .number{font-size:12px;color:#a48b64;border:1px solid #c7b99b;width:25px;height:25px;flex-shrink:0;display:grid;place-items:center;border-radius:50%}.reflection{max-width:900px;width:100%;color:#e6ecdf}.reflection h2{color:#f2e3c7;font-size:clamp(36px,5vw,59px);line-height:1.12;margin:19px 0 26px}.reflection p{font-size:clamp(18px,2vw,23px);line-height:1.65;margin:14px 0}.reflection .aside{color:#b8cbb9;font-size:18px}.reflection .eyebrow{color:#aabc9e}.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.reflection .primary{background:#f0e4ce;color:var(--green)}.reflection .secondary{background:#ffffff16;color:#e4e8d8;border:1px solid #c4d1b533}.decor-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:25px}.decor-card{background:#f6f0e4;padding:24px 15px;color:var(--ink);border-radius:7px;border:2px solid transparent}.decor-card:hover{border-color:#e4be7e;transform:translateY(-4px)}.decor-card img{height:150px;max-width:100%;object-fit:contain;display:block;margin:auto auto 16px}.decor-card strong{font-family:Georgia,serif;font-size:24px;font-weight:400;display:block}.decor-card small{display:block;margin-top:9px;color:#7a8269;font-size:14px}#modal{position:fixed;inset:0;background:#16372deb;z-index:30;padding:5vh 5%;overflow:auto;backdrop-filter:blur(8px)}#modal[hidden]{display:none}.modal-card{max-width:760px;margin:auto;background:var(--cream);padding:35px;border-radius:9px}.modal-card h2{font-size:38px;margin-bottom:22px}.modal-card p{line-height:1.7;color:#62705e}.modal-close{float:right;background:transparent;color:#5c705a;padding:8px 12px}.modal-actions{display:flex;flex-direction:column;gap:12px;clear:both}.history-entry{border-bottom:1px solid #ded9c9;padding:15px 0}.history-entry strong{font-size:12px;letter-spacing:1px;color:#9c7852}.history-entry p{margin:7px 0}.large-text{--font:clamp(23px,2.5vw,31px)}textarea{font:inherit;resize:vertical;width:100%;min-height:130px;border:1px solid #c3c8b5;border-radius:4px;padding:14px;background:#fffdf7;color:var(--ink)}.fine{font-size:12px!important;line-height:1.6!important;color:#9fb6a4!important;margin-top:23px!important}.light-fine{font-size:12px!important;color:#7d856e!important}.toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#203d36;color:#f8f1df;border:1px solid #a3b393;padding:12px 20px;border-radius:7px;z-index:60;font-size:14px}@keyframes arrive{from{opacity:0;translate:0 8px}to{opacity:1;translate:0 0}}@media(max-width:700px){#app{min-height:500px}#header{padding:14px 5%;font-size:10px;letter-spacing:1.2px}#header i{display:none}#room{background-position:56% center}#portrait{height:75vh;right:-20%;bottom:12%}.title-card{top:49%;left:6%;padding:29px}.title-card h1{font-size:58px;margin:20px 0}.title-card p{font-size:17px;margin:16px 0 22px}.title-footer{font-size:12px;bottom:18px}.dialogue{left:3%;right:3%;bottom:13px;padding:21px 21px 14px;min-height:220px;max-height:50vh;overflow:auto}.dialogue p{font-size:20px;line-height:1.5}.large-text .dialogue p{font-size:24px}.dialogue-footer{margin-top:16px}.hint{font-size:10px;max-width:160px}.choice-panel{padding:24px 18px}.choice-panel h2{font-size:25px;margin:13px 0 20px}.choice{padding:15px 14px;font-size:17px;gap:12px}.shade{padding:75px 5% 24px;align-items:center}.reflection h2{font-size:39px;margin:16px 0 20px}.reflection p{font-size:18px;line-height:1.55}.reflection .aside{font-size:16px}.actions{margin-top:20px}.decor-grid{gap:10px}.decor-card{padding:20px 7px}.decor-card img{height:105px}.decor-card strong{font-size:18px}.decor-card small{font-size:11px}.chapter h2{font-size:45px}.chapter p{font-size:19px}#decoration{left:25%;top:39%;width:17%}#decoration.art{left:70%;width:17%}.modal-card{padding:25px}.primary,.secondary{font-size:16px;padding:13px 18px}.fine{font-size:11px!important}}@media(max-height:550px) and (min-width:701px){.title-card{top:53%;padding:24px;width:430px}.title-card h1{font-size:48px;margin:10px 0}.title-card p{margin:10px 0;font-size:16px}.title-footer{display:none}.dialogue{padding:18px 26px;min-height:165px}.dialogue p{font-size:20px}.shade{padding-top:65px}.chapter h2{font-size:45px;margin:14px 0}.reflection h2{font-size:35px;margin:12px 0}.reflection p{font-size:17px;line-height:1.45}.reflection .aside{font-size:15px}.decor-card img{height:80px}.decor-grid{margin-top:10px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
/* Room for Becoming: ink, paper and expressive portrait layers. */
:root{--ink:#273c3b;--green:#263f40;--cream:#faf2e3;--accent:#a56e47}#room{background-image:url('assets/auckland-therapy-room.png');background-position:center}#room:after{background:linear-gradient(#152e3825,transparent 40%,#152e3855)}#portrait{height:auto;width:min(55vw,660px);aspect-ratio:1;right:9%;bottom:135px;background-size:200% 200%;background-repeat:no-repeat;filter:drop-shadow(0 14px 17px #112d3338);animation:none;transition:background-image .12s;overflow:hidden}#portrait[hidden]{display:none}.dialogue{background:#fff6e8f5;border:1px solid #bca98d;border-radius:3px;box-shadow:0 10px 35px #11232a44}.dialogue p{font-family:Georgia,serif}.speaker{color:#89573b}.choice-shade{background:linear-gradient(transparent 0%,#172d3650 30%,#172d36b5);backdrop-filter:none;align-items:flex-end;padding-bottom:24px}.choice-panel{width:min(850px,95%);padding:22px 28px;max-height:66vh;overflow:auto;border-radius:3px;background:#fff7e9f5}.choice-panel h2{font-size:23px;margin:8px 0 14px}.choice{padding:12px 16px;font-size:18px}.method{display:block;font:600 11px system-ui;letter-spacing:.8px;color:#8a573c;margin-bottom:5px}.inclinations{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0}.trait{padding:18px;background:#fff5e5;color:#294340;border:2px solid transparent;text-align:left;border-radius:4px;font-size:20px}.trait.selected{border-color:#dbb778;background:#e4d6bc}.trait-detail{font-size:14px;line-height:1.5;margin-top:8px;color:#586b64}.method-note{border-top:1px solid #cfc3ac;padding:18px 0}.method-note summary{cursor:pointer;font-weight:600;line-height:1.5}.method-note a{color:#375d60;font-size:14px}.title-card{background:#fff6e8ed;border:1px solid #d8c7a5}.shade{scrollbar-gutter:stable}.title-footer{background:#18303785;padding:7px 12px}.modal-card a{color:#375d60}#header i{margin-left:8px;letter-spacing:1px}
@media(max-width:700px){#portrait{width:105vw;height:auto;top:60px;bottom:auto;right:-3%;max-width:650px}.dialogue{max-height:45dvh;min-height:190px}.dialogue p{font-size:21px}.choice-shade{padding:65px 3% 12px}.choice-panel{max-height:56dvh;padding:18px}.choice-panel h2{font-size:20px}.choice{font-size:16px;padding:11px}.choices{gap:9px}.method{font-size:10px}.inclinations{gap:8px}.trait{font-size:18px;padding:13px}.reflection{padding-top:12px}.shade:not(.choice-shade){align-items:safe center}.title-card h1{font-size:52px}.title-card{padding:24px}.title-footer{left:6%;font-size:11px}.reflection h2{font-size:34px}}
@media(max-height:550px) and (min-width:701px){#portrait{width:420px;bottom:65px;right:5%}.choice-panel{max-height:76vh;width:60%;margin-right:auto}.dialogue{bottom:10px;min-height:130px}.dialogue p{font-size:18px}}

/* Four Pillars identity and Auckland room. */
.studio-brand{display:flex;align-items:center;gap:13px;color:#31503c;font-size:12px;letter-spacing:2px;text-transform:uppercase}.studio-brand img{width:48px;height:45px;object-fit:contain;border-radius:50%;mix-blend-mode:multiply}.title-card h1{margin:16px 0}.title-card .subtitle{font-size:17px;letter-spacing:4px}.title-card p{margin:15px 0 20px}.title-card{max-height:calc(100dvh - 130px);overflow:auto}.title-footer{bottom:12px}

.title-card h1{font-size:clamp(42px,5.4vw,64px)}
@media(max-width:700px){.title-card h1{font-size:44px}}

/* Home: a pause in the working day. */
.at-home #room{background-image:url('assets/home-night.png')}.at-home #room:after{background:#09182935}.home-shade{background:#08192365;backdrop-filter:none;align-items:flex-start;padding-top:80px}.home-panel{width:min(940px,100%);background:#fcf4e7f5;border:1px solid #bda989;border-radius:5px;padding:28px;color:#293d3d;margin:auto}.home-panel h2{font-size:38px;margin:10px 0 18px}.home-clock{font-family:Georgia,serif;font-size:26px}.home-clock span{font:14px system-ui;color:#697465;margin-left:14px}.home-intro,.home-status{font-size:15px;line-height:1.5}.home-status{background:#e7e4d5;padding:11px;border-radius:4px}.home-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}.home-action{text-align:left;padding:14px;background:#e9e4d5;border:1px solid #c6bea9;color:#2a4740;border-radius:4px;font-size:17px}.home-action .small{display:block;font-size:12px;line-height:1.5;margin-top:7px;color:#576a61}.home-action:hover:not(:disabled){background:#dce3d2}.home-fine{font-size:11px;line-height:1.6;margin-top:18px;color:#6d7569}.home-log{border-left:2px solid #ad8959;padding-left:15px;font:16px/1.5 Georgia;margin-top:20px}.home-panel .actions{margin-top:20px}.modal-card>.secondary{display:block;width:100%;margin:10px 0;text-align:left}@media(max-width:600px){.home-panel{padding:20px}.home-panel h2{font-size:30px}.home-grid{grid-template-columns:1fr}.home-clock span{display:block;margin:5px 0}.home-shade{padding:70px 3% 15px}}

/* Keep long scenes reachable on narrow or short screens. */
.shade:not(.choice-shade){align-items:safe center}.reflection{flex-shrink:0}.home-panel{flex-shrink:0} .title-card .light-fine{line-height:1.6}

.purchase-link{display:block;text-align:center;text-decoration:none;margin:12px 0}.paywall h1{font-size:clamp(2rem,5vw,3.8rem)}.paywall p{font-size:1rem}.paywall .light-fine{font-size:.82rem}.paywall .secondary{margin:8px 0}.paywall{max-height:85vh;overflow-y:auto}
/* Chapter two: selectable referrals, earned furnishings and quieter controls. */
#room{background-image:url('assets/office-starter.png')}.at-home #room{background-image:url('assets/home-starter.png')}
body[data-place="waterfront"] #room{background-image:url('assets/waterfront.png')}body[data-place="cafe"] #room{background-image:url('assets/cafe.png')}
.referral-grid,.shop-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:22px 0}.referral-card{background:#f5ecdc;border:2px solid #d5c6af;padding:20px;border-radius:5px}.referral-card.selected{border-color:#406657;background:#e7ebdd}.referral-card h3{font:29px Georgia;margin:12px 0}.referral-card h3 small{display:block;font:13px system-ui;margin-top:7px;color:#607366}.referral-card p{font-size:15px;line-height:1.6}.referral-card>small{display:block;line-height:1.55;color:#6b5a49}.referral-avatar{width:110px;aspect-ratio:1;background-size:200%;background-position:0 0;background-repeat:no-repeat;float:right;margin:0 0 10px 10px}.referral-card button{width:100%;margin-top:14px}.referral-card label{display:block;font-size:13px;clear:both;margin-top:14px}select{font:inherit;background:#fff9ee;color:#294a3e;border:1px solid #8a9a86;border-radius:4px;padding:12px;max-width:100%;width:100%;margin-top:8px}.legacy-select{border-top:1px solid #c5baa3;margin:20px 0;padding-top:12px}.legacy-select button{margin:4px}.legacy-select button.selected{outline:2px solid #446e58;background:#d7e1cd}.shop-card{background:#eee5d5;padding:18px;border-radius:5px}.shop-card img{float:right;width:75px;height:85px;object-fit:contain}.shop-card h3{font:21px Georgia}.shop-card p{font-size:14px;line-height:1.5}.shop-card button{display:block;width:100%;margin-top:16px}.ledger-row{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #ddd0b9;padding:12px 0;font-size:13px}.ledger-row strong{white-space:nowrap}.journal-entry{border-top:1px solid #d2c6b0;padding:14px 0}.journal-entry p{margin:5px 0}.home-panel .economy-balance{background:#e4e8dc;padding:12px;font-size:14px;border-left:3px solid #6f8a72}.modal-card label{display:block;margin:18px 0}.modal-card input[type=range]{display:block;width:100%;margin:16px 0;accent-color:#355c4e}.referral-shade{padding-top:85px;align-items:flex-start!important}
#furnishings{position:absolute;inset:0;z-index:-2;pointer-events:none}.furnishing{position:absolute;object-fit:contain;filter:drop-shadow(2px 4px 5px #17372b35)}.furnishing.plant{left:73%;bottom:27%;width:10%;height:22%}.furnishing.lamp{left:4%;bottom:23%;width:12%;height:43%}.furnishing.art{left:40%;top:17%;width:12%;height:22%}.at-home .furnishing.plant{left:79%;bottom:32%;width:10%}.at-home .furnishing.lamp{left:10%;bottom:27%;width:12%;height:40%}.at-home .furnishing.art{left:55%;top:15%;width:12%;height:21%}
@media(max-width:650px){.referral-grid,.shop-grid{grid-template-columns:1fr}.referral-card{padding:17px}.referral-card h3{font-size:25px}.home-panel.referrals{padding:20px}.referral-avatar{width:94px}.ledger-row{font-size:12px}.furnishing.lamp{left:0%;width:20%}.furnishing.plant{width:18%;left:77%}.furnishing.art{width:18%;left:37%}}
@media(prefers-reduced-motion:reduce){#portrait{transition:none!important}}
/* Keep props aligned to the painted room as the cover image crops on phones. */
#furnishings{inset:auto;left:50%;top:50%;transform:translate(-50%,-50%)}
.furnishing.plant{left:35%;bottom:25%;width:10%;height:20%}.furnishing.lamp{left:47%;bottom:26%;width:9%;height:23%}.furnishing.art{left:18%;top:15%;width:14%;height:27%}
.at-home .furnishing.plant{left:25%;bottom:32%;width:8%;height:18%}.at-home .furnishing.lamp{left:39%;bottom:33%;width:7%;height:20%}.at-home .furnishing.art{left:5%;top:6%;width:8%;height:17%}.at-home .furnishing{filter:brightness(.75) sepia(.15) drop-shadow(2px 4px 5px #0b121d55)}
#room{background-image:url('assets/office-worn.png')}.renovated:not(.at-home) #room{background-image:url('assets/office-starter.png')}body[data-place="waterfront"] #room{background-image:url('assets/waterfront.png')}body[data-place="cafe"] #room{background-image:url('assets/cafe.png')}.at-home #room{background-image:url('assets/home-starter.png')}
.choice:disabled{opacity:.65;cursor:not-allowed;background:#e0dcd2}.choice .locked-note{font-size:11px;color:#6d5946;margin-left:auto;max-width:150px}.save-slot{padding:16px 0;border-top:1px solid #d2c6b0}.save-slot button{margin-right:8px;margin-bottom:8px}.reflection>.secondary{display:block;margin-top:14px}.reflection .small{font-size:13px;margin-top:8px;display:block;line-height:1.4}.actions .small{max-width:290px;padding-left:14px}
@media(max-width:650px){.choice{flex-wrap:wrap}.choice .locked-note{max-width:none;width:100%;margin-left:38px}}
.creator-team{font-size:13px;line-height:1.55;padding:13px 0 17px;margin-bottom:8px;border-top:1px solid #cfbea4;color:#4b6658}.creator-team strong{font-weight:650;color:#294a3e}.creator-team span{display:block;margin-top:4px;font-size:11px;letter-spacing:.7px}.title-card p{margin-bottom:14px}
