:root{color-scheme:dark;--bg:#020405;--ink:#f2eee4;--muted:#9baeb3;--accent:#a2ccd8;--line:#b9e3ef30;font-family:Bahnschrift,Aptos,'Segoe UI',Arial,sans-serif;color:var(--ink);background:var(--bg)}
*{box-sizing:border-box}body{margin:0;overflow:hidden}button,a,input,select{-webkit-tap-highlight-color:transparent}button,select,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.45}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:5px}[hidden]{display:none!important}
#fluid-canvas,#face-overlay,.screen-grain{position:fixed;inset:0;width:100%;height:100%;height:100dvh}#fluid-canvas{display:block;touch-action:none;background:#020405}#face-overlay{pointer-events:none;mix-blend-mode:screen;z-index:1}.screen-grain{pointer-events:none;z-index:2;background:linear-gradient(90deg,#020405b3 0%,#0204052b 43%,transparent 70%),linear-gradient(0deg,#020405b3,transparent 22%,transparent 82%,#02040566)}
.site-header{position:fixed;inset:0 0 auto;z-index:4;display:flex;align-items:center;justify-content:space-between;padding:24px 4.6%;border-bottom:1px solid var(--line);pointer-events:none}.site-header a{pointer-events:auto}.brand{display:flex;align-items:center;gap:12px;font-size:10px;line-height:1.12;letter-spacing:.17em}.brand-mark{color:var(--accent);font-size:42px;line-height:1}.back-link,.eyebrow,.site-footer,.tool-button,.camera-note,.panel-note,.telemetry,.status-line{font-family:Consolas,'Courier New',monospace}.back-link{font-size:11px;text-transform:uppercase;letter-spacing:.12em;display:flex;align-items:center;gap:32px;min-height:44px}.back-link span{font-size:20px;color:var(--accent)}
.experience-ui{position:fixed;inset:0;z-index:3;pointer-events:none}.experience-ui button,.experience-ui a,.experience-ui .panel{pointer-events:auto}.intro{position:absolute;left:4.6%;top:clamp(140px,22vh,250px);max-width:620px}.eyebrow{margin:0;color:var(--accent);font-size:10px;font-weight:400;letter-spacing:.16em;line-height:1.7;text-transform:uppercase}h1{font-size:clamp(64px,8.1vw,132px);font-weight:400;letter-spacing:-.075em;line-height:.94;margin:26px 0 24px}h1 span{color:var(--accent)}h1 sup{vertical-align:top;font-size:.35em;letter-spacing:0;margin-left:12px}.intro-copy{font-size:clamp(22px,2.45vw,38px);line-height:1.12;letter-spacing:-.035em;margin:0 0 22px}.instructions{font-size:14px;line-height:1.65;color:#c0cbcd;margin:0 0 24px}.primary-actions{display:flex;gap:12px;flex-wrap:wrap}.button{min-height:48px;padding:13px 20px;border:1px solid var(--accent);display:inline-flex;gap:24px;align-items:center;justify-content:space-between;font-size:13px;background:transparent}.button-primary{background:var(--accent);color:var(--bg)}.button-secondary{border-color:#b9e3ef50;background:#02040552}.button:hover{filter:brightness(1.15)}.camera-note{font-size:10px;line-height:1.6;color:var(--muted);margin:14px 0 0}
.live-readout{position:absolute;top:135px;right:4.6%;max-width:350px;text-align:right}.status-line{font-size:10px;line-height:1.6;color:#c0cbcd;display:flex;gap:9px;justify-content:flex-end;align-items:baseline;max-width:350px}#status-dot{display:inline-block;width:6px;height:6px;background:var(--accent);border-radius:50%;flex:none}body[data-camera="active"] #status-dot{background:#a8e4bc}body[data-camera="error"] #status-dot{background:#f1b7a5}#emotion-banner{margin-top:32px;display:flex;flex-direction:column;gap:9px;transition:color .25s}#central-emotion-value{font-size:clamp(30px,3.1vw,48px);font-weight:300;letter-spacing:-.04em}
.tools{position:absolute;bottom:88px;right:4.6%;display:flex;border-bottom:1px solid var(--line);gap:24px;pointer-events:auto}.tool-button{border:0;background:#02040550;font-size:10px;min-height:44px;padding:0 4px;color:var(--accent)}.tool-button span{margin-left:12px}.tool-button[aria-expanded="true"]{color:var(--ink)}
.panel{position:absolute;z-index:5;right:4.6%;bottom:148px;width:340px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 260px);overflow-y:auto;overscroll-behavior:contain;background:#061014f5;backdrop-filter:blur(18px);border:1px solid #b9e3ef40;padding:22px;box-shadow:0 16px 80px #0008}.panel-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:14px}.close-button{width:44px;height:44px;margin:-12px -12px -12px 0;border:0;background:transparent;font-size:26px;color:var(--accent)}.control-group{margin:14px 0;display:flex;flex-direction:column;gap:7px}.control-group label{display:flex;justify-content:space-between;font-size:12px}.control-group label span{color:var(--accent);font-family:Consolas,monospace}input[type="range"]{width:100%;height:24px;margin:0;accent-color:var(--accent);cursor:pointer}select{border:1px solid var(--line);background:#071418;color:var(--ink);min-height:38px;padding:6px 10px;font-size:12px}.telemetry{font-size:9px;color:var(--muted);border-top:1px solid var(--line);margin:18px 0 12px;padding-top:12px}.telemetry div{display:flex;justify-content:space-between;gap:12px;line-height:1.9}.telemetry dd{margin:0;color:var(--accent)}.reset-button{border:0;border-bottom:1px solid var(--line);background:transparent;padding:8px 0;min-height:44px;font-size:11px;color:var(--accent)}.panel-note{font-size:10px;line-height:1.7;color:var(--muted);margin-bottom:0}.panel h2{font-size:29px;letter-spacing:-.04em;line-height:1.1;font-weight:400}.panel>p:not(.panel-note){color:#c0cbcd;font-size:13px;line-height:1.7}
.site-footer{position:fixed;z-index:4;bottom:0;left:4.6%;right:4.6%;min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);font-size:9px;color:var(--muted);pointer-events:none;text-transform:uppercase;letter-spacing:.07em}.site-footer>:last-child{color:var(--accent)}.no-script{position:fixed;inset:40% 10%;z-index:8;padding:24px;background:var(--bg);text-align:center}body[data-camera="active"] .intro-copy,body[data-camera="active"] .instructions,body[data-camera="active"] .camera-note{display:none}body[data-camera="active"] .intro{top:auto;bottom:100px}body[data-camera="active"] h1{font-size:clamp(48px,6vw,80px);margin:14px 0 20px}
@media(max-width:700px){.site-header{padding:14px 6%}.brand-mark{font-size:34px}.brand{font-size:9px}.back-link{font-size:9px;gap:18px}.intro{left:6%;right:6%;top:160px}.eyebrow{font-size:9px}h1{font-size:clamp(52px,13.8vw,90px);margin:22px 0}.intro-copy{font-size:26px}.instructions{font-size:12px;margin-bottom:20px}.button{padding:12px 14px;gap:18px;font-size:12px;min-height:46px}.camera-note{font-size:9px}.live-readout{top:94px;left:6%;right:6%;max-width:none;text-align:left;display:flex;justify-content:space-between;align-items:start;gap:14px}.status-line{justify-content:flex-start;max-width:62%;font-size:9px}#emotion-banner{margin-top:0;gap:1px;text-align:right}#emotion-banner .eyebrow{font-size:8px}#central-emotion-value{font-size:24px}.tools{bottom:69px;left:6%;right:6%;justify-content:space-between;gap:8px}.tool-button{font-size:9px}.tool-button span{margin-left:5px}.panel{right:6%;bottom:124px;width:88%;max-height:calc(100dvh - 215px);padding:18px}.site-footer{left:6%;right:6%;min-height:52px;font-size:8px}.site-footer>:nth-child(2){display:none}body[data-camera="active"] .intro{bottom:133px}body[data-camera="active"] h1{font-size:48px}body[data-camera="active"] .intro>.eyebrow{display:none}}
@media(max-height:650px) and (min-width:701px){.intro{top:120px}.intro-copy{font-size:24px}h1{font-size:76px;margin:16px 0}.instructions{margin-bottom:14px}.tools{bottom:76px}.panel{bottom:128px;max-height:calc(100dvh - 240px)}}
@media(max-width:700px) and (max-height:650px){.intro{top:143px}h1{font-size:52px;margin:14px 0}.intro-copy{font-size:21px;margin-bottom:12px}.instructions{font-size:11px;margin-bottom:12px}.camera-note{margin-top:9px}.desktop-break{display:none}.primary-actions{gap:8px}}
@media(max-height:450px){.intro{top:100px;right:45%;max-width:520px}.intro>.eyebrow,.intro-copy,.camera-note,.instructions{display:none}h1{font-size:58px;margin:10px 0 18px}.live-readout{top:105px;left:auto;right:4.6%;display:block;max-width:38%;text-align:right}.status-line{max-width:none;justify-content:flex-end}#emotion-banner{margin-top:12px}.panel{top:105px;bottom:65px;max-height:none;width:330px;right:4.6%}.tools{left:auto;bottom:55px;right:4.6%}.site-footer{min-height:44px}body[data-camera="active"] .intro{bottom:70px;top:auto}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
