:root{color-scheme:dark;--bg:#101b18;--gold:#c9b58a;--text:#eee9d9;--muted:#a7b1a5;--line:#ffffff20}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.7 'Segoe UI',Arial,sans-serif}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:2px solid var(--gold);outline-offset:4px}header{height:90px;display:flex;align-items:center;justify-content:space-between;margin:0 5%;border-bottom:1px solid var(--line)}.brand{display:flex;gap:13px;align-items:center;font:20px Georgia,serif;letter-spacing:2px}.brand>span{font-size:16px}.brand small{display:block;font:8px 'Segoe UI',sans-serif;letter-spacing:4px;color:var(--gold);margin-top:7px}nav{display:flex;gap:32px;font-size:12px}.status{font-size:10px;color:var(--muted)}i{width:5px;height:5px;display:inline-block;background:#b1c09a;border-radius:50%;margin-right:8px}.eyebrow{font-size:9px;letter-spacing:2.2px;color:var(--gold);font-weight:600;margin:0 0 15px}main{max-width:1600px;margin:auto;padding:0 5%}.heading{display:flex;align-items:center;justify-content:space-between;padding:35px 0 28px;gap:25px}h1{font:clamp(24px,2.55vw,39px)/1.3 Georgia,serif;margin:0;font-weight:400;letter-spacing:-.7px}em{color:var(--gold);font-weight:400}.chapter{font-size:8px;letter-spacing:1.6px;color:var(--muted);text-align:right;white-space:nowrap}.chapter strong{display:block;font:20px Georgia,serif;color:var(--text);letter-spacing:0;margin-top:6px}.village{position:relative;height:560px;isolation:isolate;background:radial-gradient(ellipse at 65% 45%,#273e2d,#17251e 60%);border:1px solid #c9b58a35;overflow:hidden}canvas{width:100%;height:100%;display:block;touch-action:pan-y;cursor:crosshair}.scene-top,.scene-bottom{position:absolute;left:22px;right:22px;display:flex;align-items:center;justify-content:space-between;z-index:2;pointer-events:none}.scene-top{top:17px;font-size:10px;letter-spacing:1.6px}.scene-top small{font-size:7px;color:var(--muted);margin-left:15px}.scene-top button{pointer-events:auto;background:#101b18c9;border:1px solid var(--line);padding:5px 10px;font-size:10px;letter-spacing:0}.scene-bottom{bottom:17px;font-size:10px;gap:20px;text-shadow:0 1px 5px #000}.controls{font-size:7px;letter-spacing:.8px;white-space:nowrap;color:#e1e3d4}.controls span{margin:0 8px;color:var(--gold)}.intro-panel{position:absolute;left:38px;top:50%;transform:translateY(-50%);width:280px;padding:25px;background:#101b18eb;border:1px solid #c9b58a3d;z-index:3;box-shadow:0 8px 30px #0003}.intro-panel h2{font:37px/1.1 Georgia,serif;margin:20px 0}.intro-panel p:not(.eyebrow){font-size:12px;color:var(--muted);line-height:1.8}.primary{display:flex;align-items:center;justify-content:space-between;gap:18px;background:var(--gold);color:#16231b;border:0;padding:13px 16px;width:100%;font-size:11px;margin:23px 0 15px}.primary:hover{background:#e0cfa8}.intro-panel>small{font-size:8px;line-height:1.7;color:var(--muted)}.npc-strip{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);border-top:0}.npc-strip button{background:#15221b;border:0;border-right:1px solid var(--line);display:flex;gap:17px;align-items:center;padding:20px 25px;text-align:left}.npc-strip button:last-child{border-right:0}.npc-strip button:hover,.npc-strip button.active{background:#233629}.npc-icon{font:25px Georgia,serif;color:var(--gold);width:28px}.npc-strip small{font-size:8px;letter-spacing:1.4px;color:var(--muted);display:block}.npc-strip strong{font:20px Georgia,serif;font-weight:400;display:block;margin-top:4px}.arrow{margin-left:auto;color:var(--gold)}.prototype-note{font-size:9px;color:var(--muted);margin:14px 0 0}.bubble{position:absolute;z-index:5;width:310px;background:#eee9d9;color:#243426;padding:23px;box-shadow:0 10px 30px #0004;border:1px solid #d6c499;transform:translate(-50%,-100%);max-width:calc(100% - 32px)}.bubble:after{content:'';position:absolute;bottom:-9px;left:calc(50% - 8px);width:16px;height:16px;transform:rotate(45deg);background:#eee9d9;border-right:1px solid #d6c499;border-bottom:1px solid #d6c499}.bubble .eyebrow{font-size:8px;color:#6e633d;margin:0 0 8px}.bubble h3{font:25px Georgia,serif;margin:0 0 10px}.bubble p{font-size:12px;line-height:1.8;margin:0 0 14px}.bubble>small{font-size:8px;color:#6a7469}.bubble>button{position:absolute;right:7px;top:5px;color:#3d4a39;background:none;border:0;font-size:20px;width:30px;height:30px}.npc-label{position:absolute;transform:translate(-50%,-100%);padding:4px 8px;background:#101b18e6;border:1px solid #c9b58a66;color:#e8dfc7;font-size:10px;white-space:nowrap;pointer-events:none}.npc-label small{display:block;color:var(--gold);font-size:7px}.about{padding:65px 0;display:grid;grid-template-columns:1fr 1fr;gap:0 55px}.about .eyebrow{grid-column:1/-1}.about h2{font:39px/1.25 Georgia,serif;margin:0}.about>p:last-child{font-size:13px;color:var(--muted);margin:0;line-height:1.9}.development{border-top:1px solid var(--line);display:flex;gap:30px;align-items:flex-start;padding:45px 0 50px}.development>span{font:40px Georgia,serif;color:var(--gold)}.development h2{font:34px/1.3 Georgia,serif;margin:0 0 15px}.development p:last-child{font-size:12px;color:var(--muted)}footer{margin:0 5%;padding:25px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:10px;color:var(--muted)}.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}[hidden]{display:none!important}@media(max-width:760px){header{height:75px}.status{display:none}nav{gap:18px;font-size:11px}nav a:last-child{display:none}.heading{padding:28px 0 22px}.chapter{display:none}h1{font-size:29px}.heading .eyebrow{font-size:8px}.village{height:560px}.intro-panel{left:50%;transform:translate(-50%,-50%);width:270px}.scene-top,.scene-bottom{left:14px;right:14px}.scene-top small{display:none}.scene-bottom{flex-direction:column;align-items:flex-start;gap:7px;font-size:9px;line-height:1.5}.controls{font-size:6px}.npc-strip button{padding:16px 8px;gap:6px;justify-content:center}.npc-strip small{font-size:6px;letter-spacing:.8px}.npc-strip strong{font-size:16px}.npc-icon{font-size:19px;width:19px}.arrow{display:none}.prototype-note{font-size:8px;line-height:1.8}.about{padding:45px 0;grid-template-columns:1fr;gap:16px}.about h2{font-size:32px}.about>p:last-child{font-size:12px}.development{gap:15px}.development h2{font-size:29px}footer{flex-wrap:wrap;gap:12px}footer span:last-child{width:100%}.bubble{width:280px;padding:18px}.npc-label{font-size:9px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* A complete opaque cover keeps partially prepared scenes and HUD out of view. */
.village #intro.is-loading{inset:0;transform:none;width:auto;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:24px;background:#17251e;z-index:20;box-shadow:none;border:0}
.village #intro.is-loading h2{font-size:clamp(22px,3vw,37px);margin:12px 0}.village #intro.is-loading p{max-width:430px}.village #intro.is-loading small{display:none}
.village #intro:not(.is-loading){max-height:calc(100% - 30px);overflow:auto}.village #intro .primary[hidden]{display:none}
@media(max-width:600px){.village #intro:not(.is-loading){inset:0;transform:none;width:auto;padding:16px;text-align:center;max-height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column}.village #intro h2{font-size:24px;margin:8px 0}.village #intro p:not(.eyebrow){font-size:11px;margin:4px 0}.village #intro .eyebrow,.village #intro>small{display:none}.village #intro .primary{width:200px;margin:10px 0}}
