*{box-sizing:border-box}
:root{color-scheme:dark;--ink:#e5e9df;--muted:#a4b6b2;--mint:#a6ccbb;--bg:#0b171b}
html,body{margin:0;width:100%;min-height:100%;background:var(--bg);color:var(--ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body{overflow:hidden}
button,a{-webkit-tap-highlight-color:transparent}
button{font:inherit;color:inherit;cursor:pointer}
button:disabled{cursor:default;opacity:.45}
button:focus-visible,a:focus-visible,canvas:focus-visible{outline:2px solid #c5e1d0;outline-offset:6px}
#experience{height:100svh;min-height:540px;position:relative;isolation:isolate}
.atmosphere{position:fixed;inset:0;pointer-events:none;background:radial-gradient(ellipse at 50% 63%,#1b3336 0,transparent 44%),radial-gradient(ellipse at 12% 25%,#162b2d 0,transparent 42%),linear-gradient(125deg,#102225,#0b151c 75%)}
.atmosphere:after{content:"";position:absolute;inset:0;opacity:.07;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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.7' filter='url(%23n)'/%3E%3C/svg%3E")}
.halo{position:absolute;left:50%;top:61%;transform:translate(-50%,-50%);width:330px;height:330px;border:1px solid #9abeac15;border-radius:50%;box-shadow:0 0 90px 25px #79bda10a,inset 0 0 80px #79bda10b}
.halo:before,.halo:after{content:"";position:absolute;border-radius:50%;border:1px solid #9abeac0b;inset:-44px}
.halo:after{inset:44px;border-color:#9abeac0d}
#scene{position:absolute;inset:0;width:100%;height:100%;touch-action:none;outline-offset:-8px;z-index:0}
.masthead{position:absolute;top:38px;left:4.4%;right:4.4%;display:flex;align-items:center;justify-content:space-between;pointer-events:none}
.wordmark{display:inline-flex;align-items:center;gap:11px;color:var(--ink);text-decoration:none;font-size:22px;font-weight:450;letter-spacing:-.7px;pointer-events:auto}
.wordmark svg{width:22px;height:29px;fill:none;stroke:var(--mint);stroke-width:1.3;stroke-linecap:round}
.wordmark-dot{color:var(--mint);margin-left:-10px}
.corner-note{display:flex;align-items:center;gap:10px;font-size:10px;letter-spacing:2.2px;color:#b2c0b6}
.corner-note>span{height:5px;width:5px;background:#a2c8aa;border-radius:50%;box-shadow:0 0 9px #a2c8aa55}
.invitation{position:absolute;top:18.5%;left:16px;right:16px;text-align:center;pointer-events:none}
.eyebrow{color:#b9c5b8;letter-spacing:3px;font-size:10px;font-weight:500;margin:0 0 22px}
h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(44px,5vw,72px);font-weight:400;line-height:1.1;letter-spacing:-2px;margin:0}
h1 em{font-weight:400;color:#bbd3bd}
.intro{color:#aabbb6;font-size:13px;line-height:1.9;letter-spacing:.15px;margin:25px 0 0}
.interaction-hint{position:absolute;bottom:178px;left:16px;right:16px;display:flex;align-items:center;justify-content:center;gap:10px;color:#b6c4bc;font-size:12px;letter-spacing:.4px;pointer-events:none}
.hint-mark{font-size:19px;color:var(--mint)}
.lower{position:absolute;bottom:64px;left:20px;right:20px;display:flex;align-items:center;flex-direction:column;gap:16px}
.controls{display:flex;align-items:center;gap:4px;padding:7px;background:#0a171bcc;border:1px solid #b0cab824;border-radius:18px;box-shadow:0 12px 40px #0002}
.controls button{display:flex;align-items:center;justify-content:center;gap:9px;border:0;background:transparent;min-height:48px;padding:0 16px;border-radius:12px;font-size:12px;color:#c0cec6}
.controls button:hover:not(:disabled){background:#b0cab812;color:#eff4e7}
.controls button[aria-pressed=true]{background:#a1c8b51a;color:#d3e9d7}
.controls svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
.status{font-size:11px;color:#a9bbb1;min-height:15px;margin:0;text-align:center;max-width:560px;line-height:1.5}
footer{position:absolute;bottom:25px;left:4.4%;right:4.4%;display:flex;justify-content:space-between;font-size:9px;letter-spacing:2px;color:#96aaa3;pointer-events:none}
dialog{width:min(520px,calc(100% - 32px));max-height:85svh;padding:28px 32px;border:1px solid #809f9144;border-radius:22px;background:#102326;color:#d8e2da;box-shadow:0 22px 100px #0008}
dialog::backdrop{background:#071013c9;backdrop-filter:blur(7px)}
.dialog-top{display:flex;justify-content:space-between;align-items:center}
.dialog-top .eyebrow{margin:0}
#close-about{border:1px solid #8aac9844;border-radius:50%;background:transparent;width:44px;height:44px;font-size:25px}
h2{font-family:Georgia,serif;font-weight:400;font-size:32px;letter-spacing:-.8px;margin:24px 0}
h3{font-size:13px;font-weight:600;color:#c0d8c7;margin:25px 0 10px}
dialog p{font-size:13px;line-height:1.8;color:#bdcdc4}
.dialog-foot{border-top:1px solid #809f9126;padding-top:16px;color:#a3b8ac}
.nojs{position:absolute;bottom:115px;left:24px;right:24px;font-size:12px;text-align:center;color:var(--ink);background:#102326;padding:12px;border-radius:12px}
[data-ready=static] .halo{border-color:#adcab826}
@media(max-width:650px){
 .masthead{top:26px;left:24px;right:24px}.wordmark{font-size:20px}.corner-note{font-size:0;gap:0}.corner-note>span{width:6px;height:6px}
 .invitation{top:17%}h1{font-size:46px;letter-spacing:-1.5px}.eyebrow{font-size:9px;letter-spacing:2.5px;margin-bottom:20px}
 .intro{font-size:12px;margin-top:20px}.halo{top:55%;width:210px;height:210px}.halo:before{inset:-32px}
 .controls{display:grid;grid-template-columns:repeat(3,1fr);width:min(350px,100%);gap:3px;padding:6px;border-radius:16px}
 .controls button{flex-direction:column;gap:7px;min-height:62px;padding:7px 4px;font-size:10px}.controls svg{width:18px;height:18px}
 .lower{bottom:max(50px,env(safe-area-inset-bottom));gap:13px;left:20px;right:20px}
 .interaction-hint{bottom:240px;font-size:11px;gap:8px}
 footer{left:24px;right:24px;bottom:20px;font-size:8px;letter-spacing:1.2px}.status{font-size:10px}
 dialog{padding:20px 24px}.nojs{bottom:212px}
}
@media(max-height:670px){
 body{overflow:hidden}
 #experience{height:100svh;min-height:0;display:flex;flex-direction:column;padding:16px 24px 8px;gap:8px}
 .masthead{position:relative;top:auto;left:auto;right:auto;flex-shrink:0}
 .invitation{position:relative;top:auto;left:auto;right:auto;margin:auto 0;flex-shrink:0}
 h1{font-size:38px;line-height:1.05}.eyebrow{margin-bottom:12px}.intro{margin-top:12px}
 .interaction-hint{position:relative;bottom:auto;left:auto;right:auto;margin:0 0 8px;flex-shrink:0}
 .lower{position:relative;bottom:auto;left:auto;right:auto;gap:8px;flex-shrink:0}
 .controls button{min-height:44px;padding:6px 10px;gap:6px;font-size:10px}
 footer{position:relative;bottom:auto;left:auto;right:auto;flex-shrink:0;min-height:24px}
 .nojs{position:static;margin:12px 0}
 body:has(.nojs){overflow-y:auto}#experience:has(.nojs){height:auto;min-height:100svh}#experience:has(.nojs) #scene{pointer-events:none}
}
@media(max-height:670px) and (max-width:650px){.controls button{flex-direction:row;padding:6px 4px}.controls{gap:3px}.controls svg{width:16px;height:16px}}
@media(max-height:450px){
 #experience{padding:12px 20px 6px;gap:6px}
 .invitation .eyebrow,.intro{display:none}.invitation{margin:auto 0}
 h1{font-size:34px}.interaction-hint{margin-bottom:0;font-size:10px}
 .halo{width:180px;height:180px}.halo:before{inset:-24px}
 footer nav{font-size:10px;gap:14px}footer{font-size:8px;letter-spacing:1px}
}
@media(max-height:350px){h1{font-size:28px}.interaction-hint{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important}}

footer nav{display:flex;gap:20px;pointer-events:auto;letter-spacing:.3px;font-size:11px}footer a,dialog a{color:#c0d8c7;text-underline-offset:4px}footer a{min-height:24px;display:inline-flex;align-items:center}footer{align-items:center}@media(max-width:650px){footer nav{gap:14px;font-size:10px}footer{bottom:12px}}

@media(max-height:670px){footer{bottom:auto}}


/* Keep feedback soft, and keep essential controls available during quiet play. */
#scene,#scene:focus,#scene:focus-visible{outline:none}
.field-focus{position:absolute;left:24px;bottom:18px;font-size:11px;color:#a6ccbb;opacity:0;pointer-events:none;transition:opacity .45s ease}
[data-input=keyboard] #scene:focus~.field-focus{opacity:1}
#pointer-glow{position:fixed;left:0;top:0;width:300px;height:300px;transform:translate(-50%,-50%);border-radius:50%;pointer-events:none;z-index:1;background:radial-gradient(circle,rgba(126,203,182,.08),rgba(126,203,182,0) 70%);opacity:0;transition:opacity .4s ease}
#pointer-glow[data-active=true]{opacity:1}
.invitation,.interaction-hint,.corner-note{transition:opacity 1.4s ease}
[data-experience=active] .invitation,[data-experience=active] .interaction-hint,[data-experience=active] .corner-note{opacity:0}
.controls,footer,.status{transition:opacity .6s ease,transform .6s ease}
[data-controls=closed] .controls{opacity:0;transform:translateY(8px);pointer-events:none}
[data-controls=closed] footer,[data-controls=closed] .status{opacity:0;pointer-events:none}
.session-tools{display:flex;gap:8px;align-items:center}
.session-tools button,#page-sound{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 14px;min-height:44px;border:1px solid #b0cab824;border-radius:14px;background:#0a171be8;color:#c0cec6;font-size:12px}
.session-tools svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
.session-tools button[aria-pressed=true]{background:#a1c8b51a;color:#d3e9d7}
.lower{gap:10px;bottom:60px}.interaction-hint{bottom:218px}
#background span{max-width:95px;line-height:1.3}
#page-content{line-height:1.8}#page-content h1{font-size:38px;letter-spacing:-1px;margin:24px 0}#page-content h2{font-size:25px;margin:28px 0 12px}#page-content p,#page-content li{font-size:14px;color:#bdcdc4}#page-content .eyebrow{margin:20px 0}#page-content .lead{font-size:17px}#page-content .return-link{display:inline-block;padding:10px 16px;border:1px solid #809f9144;border-radius:12px;margin-right:16px}#page-content .updated{font-size:12px}
@media(max-width:650px){.lower{bottom:50px}.interaction-hint{bottom:284px}.session-tools button{font-size:11px}.reading-tools{gap:8px}.reading-tools>a{max-width:135px;font-size:11px}#page-content h1{font-size:30px}}
@media(max-height:670px){.lower{bottom:auto;gap:6px}.interaction-hint{bottom:auto}.session-tools button{min-height:40px}.invitation{margin:auto 0}.intro{display:none}.eyebrow{margin-bottom:8px}.status{font-size:10px}#experience{gap:6px}}
@media(max-height:450px){.interaction-hint{display:none}h1{font-size:30px}.controls button{min-height:40px}.lower{gap:4px}.status{display:none}footer{min-height:20px}.session-tools button{min-height:36px}#experience{padding-top:8px;gap:4px}}
@media(prefers-reduced-motion:reduce){.invitation,.interaction-hint,.corner-note,.controls,footer,.status{transition:opacity .25s ease}#pointer-glow{transition:opacity .25s ease}}

.lower{pointer-events:none}.controls{pointer-events:auto}.session-tools button{pointer-events:auto}

[data-input=keyboard],[data-input=keyboard] *{cursor:none!important}

[hidden]{display:none!important}
[data-page=information] body{overflow-y:auto}
[data-page=information] .halo{opacity:0}
.information-view{position:relative;max-width:860px;min-height:100svh;margin:0 auto;padding:34px 36px 48px;line-height:1.8}
.reading-tools{display:flex;align-items:center;justify-content:space-between;gap:20px}
.reading-nav{display:flex;flex-wrap:wrap;gap:24px;margin:24px 0 42px;font-size:13px}
.reading-nav a,.reading-footer a,#page-content a{color:#c0d8c7;text-underline-offset:4px}
.reading-nav a[aria-current=page]{color:#eff4e7;text-decoration-thickness:2px}
#page-title:focus{outline:none}
#page-content{max-width:720px;overflow-wrap:anywhere}
#page-content h1{font-size:clamp(36px,5vw,52px);line-height:1.2;margin:22px 0 32px}
#page-content h2{margin-top:38px}#page-content li{margin-bottom:10px}
.reading-footer{border-top:1px solid #809f9126;margin:54px 0 0;padding:24px 0 0;font-size:12px;color:#a4b6b2}
.reading-footer a{display:inline-block;margin-left:14px}
@media(max-width:650px){.information-view{padding:24px 24px 36px}.reading-nav{margin:22px 0 30px}.reading-tools .wordmark{font-size:20px}}
@media(prefers-reduced-motion:reduce){.field-focus{transition:opacity .25s ease}}
