body .connect{display:none!important}#enter-story{position:fixed;left:50%;top:63%;transform:translateX(-50%);width:102px;height:102px;padding:0;border:0;background:none;cursor:pointer;z-index:4;filter:drop-shadow(0 8px 24px #0009)}#enter-story svg{width:100%;height:100%;overflow:visible}#enter-story path{fill:#b8e0e328;stroke:#e4f5ec99;stroke-width:1.1;filter:drop-shadow(2px 1px 2px #8ac4eb66)}#enter-story:before{content:'';position:absolute;inset:15px 18px;clip-path:polygon(0 0,100% 50%,0 100%);background:conic-gradient(from 80deg,#a7ceff14,#f1ddaf65,#a3e8dd22,#b6a9e150,#a7ceff14);backdrop-filter:blur(12px);animation:oil 9s ease-in-out infinite alternate}#enter-story:hover{filter:drop-shadow(0 0 20px #a1deea55)}#enter-story:disabled{opacity:.5}body.story-open #enter-story{display:none}@keyframes oil{to{filter:hue-rotate(65deg);opacity:.65}}.glass{color:#f6f1e8;background:linear-gradient(140deg,#e9f5ff1c,#a7cad509 45%,#dcd2b31b);border:1px solid #e5f0ef3a;box-shadow:inset 0 1px 0 #fff2,0 8px 30px #0003;backdrop-filter:blur(20px) saturate(1.3);-webkit-backdrop-filter:blur(20px) saturate(1.3)}#sequence{position:fixed;inset:0;z-index:6;overflow:auto;overscroll-behavior:contain;scrollbar-width:none;color:#f3eee4}#sequence[hidden]{display:none}#sequence::-webkit-scrollbar{display:none}#runway{position:relative}#stage{position:sticky;top:0;height:100svh;overflow:hidden}#depth{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}#return{position:absolute;top:20px;left:20px;border-radius:50%;width:46px;height:46px;font:24px system-ui;cursor:pointer}#caption{position:absolute;top:55vh;left:10%;right:10%;text-align:center;font:12px system-ui;color:#c2c9c8}#telling{position:absolute;top:61vh;left:7%;right:7%;text-align:center}#thought{font:550 clamp(34px,5.6vw,78px)/1.06 -apple-system,BlinkMacSystemFont,sans-serif;letter-spacing:-.045em;text-wrap:balance;max-width:1150px;border:0;background:none;color:inherit;padding:0;cursor:pointer}#detail{font:clamp(16px,1.4vw,20px)/1.45 system-ui;color:#c3cccc;max-width:800px;margin:18px auto;text-wrap:balance}.detail-open #telling{top:57vh}.detail-open #thought{font-size:clamp(29px,3.6vw,48px)}#transport{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);border-radius:32px;padding:7px 13px;display:flex;align-items:center;gap:14px;width:min(420px,84vw)}#transport button{background:none;border:0;color:inherit;min-width:42px;height:40px;font:16px system-ui;cursor:pointer}#position{flex:1;min-width:0;accent-color:#cfdcd8}#text-me{position:absolute;bottom:100px;left:50%;transform:translateX(-50%);border-radius:25px;padding:12px 24px;text-decoration:none;font:16px system-ui}#text-me[hidden]{display:none}button:focus-visible,input:focus-visible,a:focus-visible{outline:2px solid #e1d5b7;outline-offset:5px}@media(max-width:650px){#telling{top:59vh;left:6%;right:6%}#thought{font-size:clamp(32px,8.5vw,48px)}#caption{font-size:10px}.detail-open #thought{font-size:28px}.detail-open #telling{top:54vh}#detail{font-size:15px}#enter-story{width:88px;height:88px;top:65%}}@media(prefers-reduced-motion:reduce){#enter-story:before{animation:none}}@media(max-height:550px){#thought{font-size:30px}#telling{top:58vh}#transport{bottom:10px}#detail{font-size:14px}}
html.immersive body.story-open,#sequence{touch-action:pan-y}
/* Space is a different state. No water or underwater lighting survives entry. */
body.story-open #gl{visibility:hidden!important}#sequence,#stage{background:#010103}#depth{background:#010103}
#depth{mask-image:linear-gradient(#000 0%,#000 53%,transparent 73%)}
/* Larger imagery, stable reading area, same composition on phone and desktop. */
#depth{mask-image:linear-gradient(#000 0%,#000 62%,transparent 78%)}#caption{top:68vh}#telling{top:73vh;left:5%;right:5%}#thought{font-size:clamp(32px,4.8vw,70px);max-width:1280px}.detail-open #telling{top:59vh}.detail-open #thought{font-size:clamp(26px,3.6vw,45px)}.detail-open #depth{opacity:.42}#transport{bottom:16px;padding:4px 12px}#text-me{bottom:90px}@media(max-width:650px){#telling{top:65vh;left:6%;right:6%}#thought{font-size:clamp(29px,8vw,40px)}#caption{top:61vh}.detail-open #telling{top:53vh}.detail-open #thought{font-size:26px}#detail{font-size:15px;line-height:1.35}}@media(max-height:550px){#telling{top:60vh}#thought{font-size:28px}#caption{top:55vh}}
#detail{max-height:calc(36svh - 95px);overflow:auto;overscroll-behavior:contain;padding:0 8px 8px;scrollbar-width:thin}
/* Details get enough room to read; the story and image remain in place behind them. */
.detail-open #telling{top:23svh;bottom:100px;overflow:auto;overscroll-behavior:contain;padding:16px 0 24px}.detail-open #depth{opacity:.22}.detail-open #detail{max-height:none;overflow:visible}.detail-open #caption{opacity:0}
@media(max-height:550px) and (min-width:651px){#telling{top:55svh}#caption{top:49svh}#thought{font-size:28px}.detail-open #telling{top:15svh}}
/* Full-screen recovered presentation. No photo window or clipped lower half. */
#depth{mask-image:none;-webkit-mask-image:none}
#stage:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#0002 0%,transparent 34%,#0001 46%,#0008 70%,#000c 100%)}
#return,#caption,#telling,#transport,#text-me{z-index:1}
#telling{top:auto;bottom:125px;left:6%;right:6%}
#thought{font-size:clamp(38px,5.7vw,82px);line-height:1.03;text-shadow:0 2px 24px #0008}
#caption{top:auto;bottom:calc(125px + 18svh);color:#f0eee6;text-shadow:0 1px 8px #000}
#text-me{bottom:83px;padding:9px 22px}
.detail-open #telling{top:20svh;bottom:120px;background:none}
@media(max-width:650px){#telling{top:auto;bottom:135px}#thought{font-size:clamp(31px,8.8vw,44px)}#caption{top:24px;bottom:auto;left:80px;right:80px;font-size:12px}.detail-open #telling{top:20svh;bottom:105px}.detail-open #thought{font-size:29px}}
@media(max-height:550px){#telling{top:auto;bottom:95px}#thought{font-size:28px}#caption{top:20px;bottom:auto}.detail-open #telling{top:15svh;bottom:90px}#text-me{bottom:73px;font-size:13px;padding:5px 16px}}

#caption{top:25px;bottom:auto;left:90px;right:90px;font-size:12px}
/* Maintain contrast over cream paintings as well as the dark particle field. */
#stage:after{background:linear-gradient(180deg,#0008 0%,#0001 16%,transparent 34%,#0001 46%,#0008 70%,#000c 100%)}

/* One reading group, one quiet control group. Keep 44px targets without a large bar. */
#telling{top:auto;bottom:clamp(110px,15svh,160px);left:6%;right:6%;display:flex;flex-direction:column;align-items:center;gap:18px;max-height:calc(100svh - 180px);overflow:auto;padding:4px 0 8px;scrollbar-width:thin}
#caption{position:static;display:block;font:500 13px/1.3 system-ui;letter-spacing:.015em;color:#deded6;text-shadow:0 1px 8px #000}
#caption[hidden]{display:none}
#thought{flex-shrink:0;max-width:1100px;font-size:clamp(34px,5.2vw,76px);line-height:1.06}
#thought[aria-disabled=true]{cursor:default}
#detail{flex-shrink:0;margin:0;max-height:none;overflow:visible;padding:0;max-width:720px}
#transport{box-sizing:border-box;width:min(340px,calc(100vw - 48px));height:52px;bottom:max(18px,env(safe-area-inset-bottom));padding:3px 6px;gap:10px;border-radius:28px;border-color:#fff2;box-shadow:inset 0 1px 0 #fff1,0 4px 24px #0002;background:linear-gradient(145deg,#cddbe915,#bfc9c708);backdrop-filter:blur(24px) saturate(1.1)}
#transport button{min-width:44px;height:44px;padding:0;font-size:16px}
#position{appearance:none;-webkit-appearance:none;height:44px;margin:0;background:transparent;cursor:pointer}
#position::-webkit-slider-runnable-track{height:3px;border-radius:2px;background:linear-gradient(to right,#e7e8e2 var(--progress,0%),#ffffff35 var(--progress,0%))}
#position::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:12px;height:12px;margin-top:-4.5px;border:0;border-radius:50%;background:#f3eee4}
#position::-moz-range-track{height:3px;border-radius:2px;background:#ffffff35}
#position::-moz-range-progress{height:3px;background:#e7e8e2}
#position::-moz-range-thumb{width:12px;height:12px;border:0;border-radius:50%;background:#f3eee4}
#text-me{position:static;transform:none;display:inline-flex;align-items:center;justify-content:center;min-height:46px;box-sizing:border-box;padding:10px 24px;font-size:18px;border-radius:26px;margin-top:12px}
#text-me[hidden]{display:none}
#sequence.ending #telling{top:50%;bottom:auto;transform:translateY(-50%);gap:20px}
#sequence.ending #transport{width:min(290px,calc(100vw - 64px))}
.detail-open #telling{top:18svh;bottom:100px;max-height:none;gap:20px;padding:16px 0 24px;transform:none}
.detail-open #thought{font-size:clamp(28px,3.4vw,46px)}
.detail-open #caption{opacity:1}
@media(max-width:650px){#telling{bottom:116px;left:7%;right:7%;gap:14px}#thought{font-size:clamp(31px,8.6vw,44px)}#caption{font-size:12px}.detail-open #thought{font-size:28px}#detail{font-size:17px;line-height:1.5}#sequence.ending #thought{font-size:clamp(38px,10vw,48px)}}
@media(max-height:550px){#telling{bottom:86px;max-height:calc(100svh - 120px);gap:10px}#thought{font-size:clamp(25px,4vw,36px)}#transport{bottom:max(8px,env(safe-area-inset-bottom))}.detail-open #telling{top:12svh;bottom:76px}#sequence.ending #telling{top:43%}}
@media(prefers-reduced-transparency:reduce){.glass,#transport{background:#17191b;backdrop-filter:none}}

#sequence.ending #thought{font-size:clamp(44px,7vw,96px)}
@media(max-width:650px){#sequence.ending #thought{font-size:clamp(38px,10vw,48px)}}
/* Clear water lens. The material samples the live water, not an animated gradient. */
#enter-story{width:126px;height:126px;filter:drop-shadow(0 10px 16px #0005);transition:scale .2s ease,filter .2s ease}
#enter-story:before{display:none}
#water-lens{position:absolute;inset:0;width:100%;height:100%}
#enter-story svg{position:absolute;inset:0;pointer-events:none}
#enter-story path{fill:#fff9;stroke:#fff6;stroke-width:.5;filter:drop-shadow(0 1px 4px #0007)}
#enter-story:hover{filter:drop-shadow(0 10px 20px #dfeef622);scale:1.045}
#enter-story:active{scale:.95}
.glass,#transport{background:linear-gradient(130deg,#e8f3fc26,#a9b5c00d 45%,#fff2);border:1px solid #ffffff45;box-shadow:inset 0 1px 0 #ffffff70,inset 0 -1px 0 #fff1,0 4px 18px #0005;backdrop-filter:blur(22px) saturate(1.35);-webkit-backdrop-filter:blur(22px) saturate(1.35)}
#transport{background:linear-gradient(145deg,#35414b85,#151b2180);height:56px}
#return{background:linear-gradient(145deg,#35414bb0,#151b2180)}
#caption{text-wrap:balance;max-width:540px}
@media(max-width:650px){#enter-story{width:112px;height:112px}}
@media(prefers-reduced-transparency:reduce){.glass,#transport{background:#17191b;backdrop-filter:none}}
@media(prefers-reduced-motion:reduce){#enter-story{transition:none}}
/* Expanding a thought must not let scroll anchoring advance the story. */
#sequence,#runway,#stage,#telling{overflow-anchor:none}
/* The camera is fixed; only time scrolls. Focusing a control cannot scroll its stage. */
#stage{position:fixed;inset:0;width:100%;height:100svh}
/* A visible action even if WebGL/refraction is unavailable. */
#enter-story{width:138px;height:138px;top:61%;filter:drop-shadow(0 7px 24px #9bd7e42b)}
#enter-story path{fill:#fff;stroke:#fff9}
#enter-story .lens-fallback{fill:#cadbe72b;stroke:#e9f5ffb3;stroke-width:1.25;filter:none}
#enter-story .play-label{position:absolute;top:100%;left:50%;transform:translateX(-50%);white-space:nowrap;font:500 16px/1.4 system-ui;color:#f3f7fa;text-shadow:0 2px 8px #000}
#art-note{position:absolute;z-index:1;bottom:86px;left:20px;right:20px;text-align:center;color:#d3d9dd;font:11px/1.35 system-ui;pointer-events:none;margin:0;opacity:0}
#sequence.opening #art-note,#sequence.ending #art-note{opacity:1}
@media(max-width:650px){#enter-story{width:126px;height:126px;top:62%}#art-note{font-size:10px;bottom:84px;left:32px;right:32px}#sequence.opening #telling{bottom:137px}}
@media(max-height:550px){#enter-story{top:57%;width:90px;height:90px}#enter-story .play-label{font-size:13px}#art-note{display:none}}
#enter-story.lens-ready .lens-fallback{fill:none;stroke:none}
/* Story copy keeps one scale, including context opened by the reader. */
#sequence{--story-size:clamp(34px,5.2vw,76px)}
#thought,.detail-open #thought,#sequence.ending #thought,#detail{font-size:var(--story-size);line-height:1.06;letter-spacing:-.045em;font-weight:550}
#detail{max-width:1100px;text-wrap:balance;color:#f3eee4}
@media(max-width:650px){#sequence{--story-size:clamp(31px,8.6vw,44px)}}
@media(max-height:550px){#sequence{--story-size:clamp(25px,4vw,36px)}}

/* Retain line structure in the complete work history. */
#detail{white-space:pre-line}

/* The story needs no eyebrow labels. */
#caption{display:none!important}
/* Contact stays available, with enough room for a real note. */
#contact-open{position:fixed;right:20px;top:max(20px,env(safe-area-inset-top));z-index:8;border-radius:50%;width:46px;height:46px;display:grid;place-items:center;cursor:pointer;background:#19232d99}
#contact-dialog{box-sizing:border-box;width:min(620px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:clamp(24px,5vw,44px);border:1px solid #ffffff40;border-radius:30px;background:#18232ef2;color:#f5f1e9;box-shadow:0 30px 100px #0008;backdrop-filter:blur(24px);font:18px/1.4 system-ui}
#contact-dialog::backdrop{background:#01060bad;backdrop-filter:blur(12px)}
#contact-dialog h2{font-size:clamp(28px,5vw,42px);line-height:1.1;letter-spacing:-.035em;margin:14px 30px 26px 0;font-weight:550}
.close-contact{position:absolute;right:16px;top:12px;width:44px;height:44px;border:0;background:none;color:inherit;font-size:30px;cursor:pointer}
#contact-form label{display:block;margin:18px 0 8px;color:#ecede9;font-size:16px}
#contact-form textarea,#contact-form input:not(.trap){box-sizing:border-box;width:100%;padding:16px 18px;font:20px/1.4 system-ui;border:1px solid #ffffff36;border-radius:16px;background:#ffffff0b;color:#fff}
#contact-form textarea{min-height:160px;resize:vertical}#contact-form input{min-height:58px}#contact-form ::placeholder{color:#aebbc6}
.send-contact{padding:14px 24px;min-height:52px;border-radius:28px;font:19px system-ui;margin-top:24px;cursor:pointer}
.contact-status{font-size:15px;color:#c9d2d9}.contact-alternatives{display:flex;gap:24px;flex-wrap:wrap;font-size:16px;margin-top:26px}.contact-alternatives a{color:#f5efe0;text-underline-offset:5px}.trap{position:absolute;left:-10000px;width:1px;height:1px}
#transport{width:min(400px,calc(100vw - 40px));gap:4px}#sequence.ending #transport{width:min(400px,calc(100vw - 40px))}#sound{display:grid;place-items:center}#sound svg{width:20px;height:20px}
#art-note{bottom:84px;font-size:10px}#sequence.opening #telling{bottom:140px}
@media(max-height:550px){#sequence.opening #telling{bottom:88px}#contact-dialog{padding:18px 24px}#contact-form textarea{min-height:100px}}

#sound .sound-off{display:none}#sound[aria-pressed=true] .sound-off{display:block}#sound[aria-pressed=true] .sound-wave{display:none}

/* Spoken words fill on the recording clock; future words remain quiet guides. */
#thought .karaoke-word{display:inline-block;position:relative;white-space:nowrap;color:rgba(255,247,233,.12)}
#thought .karaoke-ink{position:absolute;inset:0;white-space:nowrap;color:#fff7e9;clip-path:inset(0 calc(100% - var(--fill,0%)) 0 0)}
