:root{color-scheme:dark;--bg:#070b14;--fg:#e8eef8;--muted:#93a3bd;--line:rgba(190,208,240,.2);--cyan:#80e0f0;--gold:#f2c78d}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--fg);font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif}body{overflow-x:hidden;background:radial-gradient(circle at 50% 42%,#141d30 0%,#090d18 43%,#050810 100%)}button,a{font:inherit}button{cursor:pointer;color:inherit}a{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #f6d89d;outline-offset:5px}.skip-link{position:fixed;top:-80px;left:15px;padding:12px;background:#fff;color:#000;z-index:40}.skip-link:focus{top:15px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.intro{position:fixed;inset:0;z-index:20;background:#050608;display:flex;justify-content:center;align-items:center;flex-direction:column;gap:0;transition:opacity .7s,visibility .7s}.intro.off{opacity:0;visibility:hidden;pointer-events:none}.intro p{letter-spacing:.4em;font-size:clamp(11px,1.4vw,14px);margin:8px 0;color:#bbb}.intro strong{font-size:clamp(24px,6vw,66px);font-weight:650;letter-spacing:.13em;line-height:1.3;text-align:center;background:linear-gradient(100deg,#f1d5a8,#b6e8ff,#dec7f2);color:transparent;background-clip:text}.intro-orbit{position:relative;height:130px;width:130px;margin-bottom:32px}.intro-orbit i{position:absolute;inset:22px;border:1px solid #8bb9d5;border-radius:50%;transform:rotateX(65deg) rotate(45deg);animation:spin 3.5s linear infinite}.intro-orbit i:nth-child(2){transform:rotateY(67deg) rotate(22deg);animation-direction:reverse}.intro-orbit i:nth-child(3){inset:41px;border-color:#e4c58c}.intro-progress{width:190px;height:2px;background:#292c33;margin-top:40px;overflow:hidden}.intro-progress span{display:block;width:100%;height:100%;background:#a6dfea;transform-origin:left;animation:fill 2.5s linear}.skip-intro{position:absolute;bottom:5vh;right:5vw;border:1px solid #5b6270;border-radius:50px;background:transparent;padding:12px 18px;font-size:12px;letter-spacing:.08em}@keyframes fill{from{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes spin{to{rotate:360deg}}#app{min-height:100dvh}.toolbar{height:70px;display:flex;justify-content:space-between;align-items:center;padding:0 clamp(18px,5vw,74px);position:relative;z-index:4}.mark{font-size:29px;text-decoration:none;color:#b6e2e6}.toolbar-actions{display:flex;gap:9px}.tool,.toolbar-actions a{display:grid;place-items:center;width:42px;height:42px;background:rgba(15,22,37,.45);border:1px solid var(--line);border-radius:50%;text-decoration:none;font-size:21px;transition:border-color .2s,background .2s}.tool:hover,.toolbar-actions a:hover{border-color:#91dce8;background:#1b2b3f}.hub{min-height:calc(100dvh - 126px);display:flex;align-items:center;justify-content:center;position:relative}.orbit{position:relative;width:min(78vw,560px);aspect-ratio:1;max-height:75dvh}.orbit-rings{position:absolute;inset:8%;border-radius:50%;border:1px solid rgba(158,205,232,.14);box-shadow:0 0 0 48px rgba(120,183,219,.012),inset 0 0 60px rgba(100,169,206,.045)}.orbit-rings:after{content:'';position:absolute;inset:15%;border-radius:50%;border:1px dashed rgba(184,206,233,.15)}.human{position:absolute;inset:30%;display:grid;place-items:center;filter:drop-shadow(0 0 15px #73bcd44c);transition:filter 1s}.human svg{width:100%;max-height:100%;overflow:visible;stroke:#a9d8ed;stroke-width:1.35;fill:none;opacity:.8}.human svg circle{fill:#b8dff2;fill-opacity:.06}.portal{position:absolute;width:clamp(45px,8.5vw,63px);aspect-ratio:1;left:calc(var(--x)*1%);top:calc(var(--y)*1%);transform:translate(-50%,-50%);border-radius:50%;border:1px solid rgba(169,205,235,.29);background:#0f1928cc;display:grid;place-items:center;font-size:clamp(22px,3.6vw,31px);box-shadow:0 0 24px #6eaccb0e;transition:transform .25s,box-shadow .25s,border-color .25s}.portal:hover{transform:translate(-50%,-50%) scale(1.13);border-color:var(--accent);box-shadow:0 0 27px color-mix(in srgb,var(--accent),transparent 70%)}.portal.visited:after{content:'';position:absolute;bottom:-9px;width:4px;height:4px;background:var(--accent);border-radius:50%}.synthesis{position:absolute;left:50%;bottom:20%;transform:translateX(-50%);border:1px solid #e9c88c;border-radius:50%;width:43px;height:43px;background:#281f23;font-size:28px;box-shadow:0 0 24px #f6d18c50}.hub-tools{position:absolute;bottom:4%;display:flex;gap:22px}.hub-tools a,.hub-tools button,.footer a{border:0;background:transparent;color:#a4bbcb;text-decoration:none;font-size:23px}.world{height:calc(100dvh - 126px);min-height:500px;max-width:1000px;margin:0 auto;display:flex;flex-direction:column;padding:0 20px}.world[hidden],.hub[hidden],.synth-screen[hidden]{display:none}.world-top,.world-bottom{display:flex;align-items:center;justify-content:space-between;min-height:54px}.world-top .tool{width:42px}.world-icon{font-size:28px;color:var(--cyan)}.world-count{font-size:12px;color:#8291a6;letter-spacing:.2em}.visual-frame{flex:1;min-height:180px;display:grid;place-items:center;position:relative}.visual-frame canvas{width:100%;height:100%;max-height:65dvh;touch-action:manipulation}.scene-fallback{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);font-size:0;pointer-events:none}.controls{display:flex;justify-content:center;gap:clamp(12px,3vw,30px);flex-wrap:wrap;padding:18px 0}.controls button,.world-bottom button,.synth-actions button{border:1px solid var(--line);background:#111d2c;border-radius:50%;width:clamp(51px,9vw,65px);height:clamp(51px,9vw,65px);font-size:29px;transition:background .2s,transform .2s,border-color .2s}.controls button:hover,.world-bottom button:hover{transform:translateY(-2px);border-color:#9fe7e6;background:#203344}.controls button:active{transform:scale(.94)}.world-bottom{padding:0 0 12px}.world-bottom button{width:40px;height:40px;font-size:20px}.progress-pips{display:flex;gap:8px}.progress-pips i{width:5px;height:5px;border-radius:50%;background:#3c4c62}.progress-pips i.active{background:#d9c494;box-shadow:0 0 9px #d9c494}.synth-screen{height:calc(100dvh - 126px);display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative}.synth-screen>button{position:absolute;top:3%;left:7%}.synth-screen canvas{width:min(85vw,800px);height:70%;max-height:650px}.synth-actions{display:flex;gap:20px}.footer{height:56px;display:flex;align-items:center;justify-content:center;gap:18px;color:#65788d;font-size:15px}.footer a{font-size:17px}.info-body{max-width:590px;padding:25px 10px;line-height:1.75}.info-body h1{font-size:clamp(23px,5vw,40px);letter-spacing:.08em}.info-body p{color:#c0cada}.info-body .eyebrow{font-size:11px;letter-spacing:.25em;color:#e4c996}.info-body a{color:#adf2f5}dialog{background:#0b1321;color:#fff;border:1px solid #567086;border-radius:18px;max-width:min(92vw,650px);box-shadow:0 15px 80px #000b}dialog::backdrop{background:#02050acf;backdrop-filter:blur(5px)}.close{float:right;background:transparent;border:1px solid #718295;border-radius:50%;width:35px;height:35px;font-size:20px}@media(max-width:600px){.toolbar{height:62px;padding:0 14px}.toolbar-actions{gap:5px}.toolbar-actions .tool,.toolbar-actions a{width:37px;height:37px;font-size:19px}.hub{min-height:calc(100dvh - 116px)}.orbit{width:90vw}.portal{width:46px}.world{height:calc(100dvh - 116px);min-height:480px;padding:0 10px}.visual-frame canvas{max-height:58dvh}.intro strong{letter-spacing:.07em}.intro p{letter-spacing:.22em}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}
.no-motion *, .no-motion *::before, .no-motion *::after{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
/* V2 / light as material, not decoration */
:root{--bg:#03060c;--fg:#eff4fa;--world-accent:#8ed9f3}html,body{background:#03060c}body{background:radial-gradient(ellipse 65% 75% at 50% 46%,#101c2d 0%,#060b14 48%,#020409 100%)}body::before{content:"";position:fixed;inset:0;pointer-events:none;opacity:.38;background-image:repeating-linear-gradient(0deg,transparent 0 3px,#b5cfe405 3px 4px);z-index:0}body::after{content:"";pointer-events:none;position:fixed;inset:0;background:radial-gradient(ellipse at center,transparent 25%,#020306aa 100%);z-index:0}#app{position:relative;z-index:1}.toolbar{height:84px;padding-inline:clamp(22px,5vw,78px)}.mark{font-size:29px;color:#e3d6b4;text-shadow:0 0 32px #98d7e350}.tool,.toolbar-actions a{background:rgba(4,12,23,.48);border-color:#c0ddeb24;backdrop-filter:blur(9px)}.toolbar-actions{gap:12px}.hub{min-height:calc(100dvh - 140px);overflow:hidden}.hub::before{content:"";position:absolute;width:min(105vw,1040px);aspect-ratio:1;border:1px solid #76c0df0e;border-radius:50%;background:radial-gradient(circle at center,#4c94b00b,transparent 58%);box-shadow:0 0 0 65px #8ad3eb04,0 0 0 132px #97bde804;pointer-events:none}.orbit{width:min(75vw,620px);max-height:min(78dvh,620px);filter:drop-shadow(0 0 40px #4781a11a)}.hub-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.orbit-rings{inset:5%;border:1px solid #bde5eb21;box-shadow:inset 0 0 92px #89c5d00d,0 0 90px #47618c18}.orbit-rings:after{inset:8%;border-style:solid;border-color:#bde3e91d}.human{display:none}.portal{width:clamp(50px,7vw,73px);background:radial-gradient(circle at 30% 26%,#223c53dd,#070e1de8 70%);border:1px solid color-mix(in srgb,var(--accent),transparent 53%);box-shadow:0 0 0 7px #84b3db09,0 7px 35px #000b,inset 0 0 25px #9fc1d013;font-family:Georgia,'Times New Roman',serif;color:var(--accent);text-shadow:0 0 21px color-mix(in srgb,var(--accent),transparent 42%);font-size:clamp(22px,3.6vw,32px);transition:transform .35s,box-shadow .35s,border-color .35s}.portal:nth-of-type(3n){border-radius:38% 62% 49% 51%}.portal:nth-of-type(4n){border-radius:42%}.portal:hover,.portal:focus-visible{transform:translate(-50%,-50%) scale(1.17);background:#182c42;box-shadow:0 0 42px color-mix(in srgb,var(--accent),transparent 58%),inset 0 0 20px #b9d7ff20}.portal.visited{box-shadow:0 0 0 5px #b5d7ea1a,0 0 35px color-mix(in srgb,var(--accent),transparent 63%)}.edition{position:absolute;top:4%;left:50%;transform:translateX(-50%);width:min(90%,620px);display:flex;align-items:center;justify-content:center;gap:14px;color:#d7e9f2a6;font-size:10px;letter-spacing:.23em;white-space:nowrap;font-weight:500}.edition span:not(.edition-line){color:#9daeb8}.edition-line{height:1px;flex:1;background:linear-gradient(90deg,transparent,#9ebec457)}.edition-line:last-child{transform:rotate(180deg)}.hub-tools{bottom:2%}.hub-tools a,.hub-tools button{color:#bdd3db;font-size:22px}.world{max-width:1180px;min-height:550px;height:calc(100dvh - 140px)}.world-top{min-height:68px;padding:0 18px}.world-identity{display:flex;align-items:center;gap:17px}.world-icon{color:var(--world-accent);font-size:32px;filter:drop-shadow(0 0 14px var(--world-accent))}.world-label{letter-spacing:.35em;color:#d4e7ec;font-size:11px}.world-count{font-size:11px;color:#bccbd5}.visual-frame{margin:5px 1vw;border:1px solid #8fb5d01c;background:radial-gradient(ellipse at center,color-mix(in srgb,var(--world-accent),transparent 94%),transparent 57%),#050b14;border-radius:3px;overflow:hidden;box-shadow:0 32px 100px #0008,inset 0 0 100px #6f9cc10b}.world-ambient{position:absolute;inset:12%;background:radial-gradient(ellipse,color-mix(in srgb,var(--world-accent),transparent 93%),transparent 66%);filter:blur(50px);pointer-events:none}.controls{padding:19px 0 6px;gap:22px}.controls button{height:64px;width:64px;border-color:color-mix(in srgb,var(--world-accent),transparent 65%);background:radial-gradient(circle at 30% 20%,#213b50,#091423);color:#eaf7ff;box-shadow:0 0 0 5px #a3c9df07,0 10px 32px #0007;font-family:Georgia,serif}.controls button:hover,.controls button:focus-visible{border-color:var(--world-accent);box-shadow:0 0 26px color-mix(in srgb,var(--world-accent),transparent 60%)}.interaction-hint{height:20px;display:flex;align-items:center;justify-content:center;gap:12px;font-size:9px;letter-spacing:.24em;color:#8499aa}.hint-line{width:55px;height:1px;background:linear-gradient(90deg,transparent,#8cabb948)}.hint-line:last-child{transform:rotate(180deg)}.world-bottom{padding:12px 18px}.footer{color:#a3b8c6}.intro{background:radial-gradient(circle at 50% 48%,#101923,#030507 64%)}.intro strong{font-weight:500;letter-spacing:.17em}.synthesis{background:#281f23b8;box-shadow:0 0 34px #f6d18c65}.portal,.controls button{touch-action:manipulation}@media(max-width:600px){.toolbar{height:66px}.hub{min-height:calc(100dvh - 118px)}.orbit{width:94vw;max-height:none}.edition{top:8%;font-size:7px;letter-spacing:.1em;gap:6px}.edition-line{max-width:12px}.portal{width:clamp(42px,11vw,54px);font-size:23px}.world{min-height:470px;height:calc(100dvh - 122px)}.world-top{min-height:55px;padding:0 6px}.world-label{letter-spacing:.17em;font-size:10px}.visual-frame{margin:0}.controls{gap:15px}.controls button{width:56px;height:56px}.interaction-hint{font-size:7px;letter-spacing:.13em}}@media(max-height:650px){.edition{display:none}.hub-tools{bottom:0}.world{min-height:430px}.world-top{min-height:43px}.controls{padding:8px}.interaction-hint{display:none}}


/* V3: the artwork now shows an intelligible choice and its consequence. */
.intro-progress span{animation-duration:4s}
.meaning-intro{position:absolute;z-index:3;top:4%;left:clamp(18px,5vw,88px);width:min(325px,29vw);pointer-events:none}
.meaning-intro>*{pointer-events:auto}
.meaning-eyebrow,.meaning-brief #meaningChapter,.meaning-consequence>span,.meaning-synthesis>span{font-size:10px;font-weight:650;letter-spacing:.2em;color:#9fc8ce}
.meaning-intro h1{font-family:Georgia,serif;font-weight:normal;font-size:clamp(26px,3.6vw,50px);line-height:1.1;letter-spacing:.01em;margin:14px 0 12px;color:#f6e9d1;text-wrap:balance}
.meaning-intro p{color:#c2d4dc;font-size:clamp(12px,1.25vw,16px);line-height:1.6;margin:0 0 20px}
.meaning-intro button,.meaning-next{border:1px solid #b9d6d274;background:linear-gradient(135deg,#203746,#132632);color:#e9f4f5;border-radius:4px;padding:12px 17px;font-size:12px;letter-spacing:.06em;transition:border-color .2s,background .2s}
.meaning-intro button:hover,.meaning-next:hover{border-color:#e8dbc0;background:#284557}
.meaning-intro small{display:block;margin-top:16px;color:#8ea3b3;font-size:10px;letter-spacing:.04em}
.portal::before{content:attr(data-name);position:absolute;left:50%;top:calc(100% + 12px);transform:translateX(-50%);font-size:9px;white-space:nowrap;color:#a8c0d0;letter-spacing:.10em;font-family:ui-sans-serif,system-ui,sans-serif;text-shadow:0 2px 10px #010610;font-weight:600;pointer-events:none}
.portal.experienced{border-color:#e8c993;box-shadow:0 0 23px #eacb7050}
.portal.experienced::after{content:'·';color:#efdbad;position:absolute;left:50%;top:-18px;transform:translateX(-50%);font-size:26px}
.edition{top:auto;bottom:12%}
.world{height:auto;min-height:calc(100dvh - 140px);padding-bottom:16px}
.world-top{flex:0 0 auto}
.meaning-brief{padding:4px 18px 12px;text-align:center;max-width:890px;margin:0 auto}
.meaning-brief h2{font-family:Georgia,serif;font-size:clamp(20px,2.8vw,33px);line-height:1.18;font-weight:normal;color:#f0e6d2;margin:7px 0}
.meaning-brief p{font-size:13px;color:#a9becb;margin:5px 0 0}
.visual-frame{flex:1 1 380px;height:clamp(250px,42dvh,430px);min-height:250px;max-height:450px}
.meaning-consequence{max-width:870px;width:100%;margin:4px auto 0;min-height:96px;text-align:center;padding:8px 12px 3px}
.meaning-consequence p{font-family:Georgia,serif;font-size:clamp(15px,1.7vw,20px);line-height:1.35;color:#e4eff0;margin:7px 0 5px}
.meaning-consequence em{font-size:11px;font-style:normal;color:#a1b6c0}
.controls{gap:clamp(7px,2vw,24px);padding:8px 0 10px}
.controls button{border-radius:8px;width:clamp(105px,18vw,175px);height:72px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-family:ui-sans-serif,system-ui,sans-serif}
.meaning-mark{display:block;color:var(--world-accent);font-size:24px;line-height:1}
.meaning-verb{display:block;font-size:12px;font-weight:600;letter-spacing:.02em;color:#dcebed;line-height:1.2}
.interaction-hint{display:none}
.world-bottom{padding:4px 18px}
.meaning-next{display:block;margin:2px auto 14px;min-width:190px}
.synth-screen{height:auto;min-height:calc(100dvh - 140px);padding:45px 12px 25px}
.synth-screen canvas{width:min(85vw,720px);height:clamp(250px,48dvh,490px);flex:none}
.meaning-synthesis{max-width:800px;width:100%;text-align:center;padding:22px 15px 0}
.meaning-synthesis h2{font-family:Georgia,serif;font-size:clamp(21px,3vw,35px);font-weight:normal;color:#f1e6d6;margin:7px 0}
.meaning-synthesis>p{color:#b2c8d3;font-size:13px;line-height:1.5}
#meaningTraces{margin:18px auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px;text-align:left}
.meaning-trace{background:#0c1724;border:1px solid #a9c7d026;border-radius:5px;padding:12px 15px}
.meaning-trace b{font-size:10px;letter-spacing:.14em;color:#ebd7b0}
.meaning-trace p{font-size:12px;color:#b8cbd3;line-height:1.5;margin:8px 0 0}
.meaning-synthesis small{color:#9caeba}
@media(max-width:760px){
 .hub{flex-direction:column;justify-content:flex-start;min-height:unset;padding:14px 0 90px;overflow:visible}
 .meaning-intro{position:relative;top:auto;left:auto;width:min(94vw,470px);text-align:center;margin:8px auto 20px}
 .meaning-intro h1{font-size:31px;margin:8px 0}
 .meaning-intro p{margin:0 0 11px}
 .meaning-intro small{margin-top:8px}
 .orbit{width:min(90vw,500px);max-height:none}
 .portal::before{font-size:7px;letter-spacing:.02em;top:calc(100% + 7px)}
 .edition{bottom:57px;font-size:8px;letter-spacing:.09em;width:92%}
 .hub-tools{bottom:8px}
 .world{height:auto;min-height:calc(100dvh - 122px);padding:0 9px 15px}
 .meaning-brief{padding:3px 5px 10px}
 .meaning-brief h2{font-size:clamp(19px,5vw,28px)}
 .meaning-brief p{font-size:11px}
 .visual-frame{height:clamp(240px,39dvh,360px);flex:1 1 auto;min-height:240px}
 .meaning-consequence{min-height:110px}
 .meaning-consequence p{font-size:15px}
 .controls{gap:7px;padding:7px 0 9px;flex-wrap:nowrap}
 .controls button{width:calc((100% - 14px)/3);height:67px;min-width:0}
 .meaning-verb{font-size:10px}
 .world-bottom{padding:5px 4px}
 .synth-screen{min-height:calc(100dvh - 122px)}
}
@media(max-width:390px){.portal::before{font-size:6px}.meaning-intro h1{font-size:27px}}
@media(prefers-reduced-motion:reduce){.intro-progress span{animation:none}}
