.spatial-content-host[hidden]{display:none!important}
.spatial-content-panel{--panel-bg:#faf7fc;--panel-text:#342140;--panel-muted:#6b5875;--panel-accent:#67417e;--panel-line:#d9c9e0;position:fixed;z-index:var(--spatial-panel-z,30);top:var(--spatial-panel-top,105px);right:32px;bottom:132px;display:flex;flex-direction:column;width:380px;max-width:calc(100vw - 48px);max-height:calc(100svh - 237px);box-sizing:border-box;color:var(--panel-text);background:var(--panel-bg);border:1px solid var(--panel-line);border-radius:18px;box-shadow:0 20px 70px #130c2340;pointer-events:auto;font:400 16px/1.6 var(--font-body,"Satoshi"),sans-serif;text-align:left;color-scheme:light;overflow:hidden}
.spatial-content-panel[hidden]{display:none}.spatial-content-panel *{box-sizing:border-box}.spatial-content-panel :where(h2,h3,p,ul){margin:0}.spatial-content-panel :where(button,a){touch-action:manipulation}.spatial-content-panel :where(button,input){font:inherit}.spatial-content-panel button{cursor:pointer}.spatial-content-panel a{color:var(--panel-accent)}.spatial-content-panel :focus-visible{outline:2px solid #67417e;outline-offset:4px}.spatial-content-header h2:focus{outline:none}.spatial-content-panel h2,.spatial-content-panel h3{font-family:var(--font-display),var(--font-body),sans-serif;font-weight:650;letter-spacing:-.025em;line-height:1.25;text-transform:none;font-style:normal}.spatial-content-header{display:grid;grid-template-columns:1fr 44px;gap:15px;align-items:start;padding:23px 21px 15px;flex-shrink:0}.spatial-content-header h2{font-size:24px;align-self:center}.spatial-content-close{width:44px;height:44px;padding:0;border:1px solid var(--panel-line);border-radius:50%;background:transparent;color:var(--panel-text);font-size:28px!important;line-height:1!important}.spatial-content-close:hover{background:#eee4f4}

.spatial-content-body{flex:1;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b7a2c2 transparent;padding:3px 25px 26px;min-height:0;scrollbar-gutter:stable}.spatial-content-body>p{margin-bottom:16px}.spatial-content-body h3{font-size:21px;margin-bottom:10px}.spatial-content-note{font-size:14px;line-height:1.55;color:var(--panel-muted);font-weight:400}.spatial-content-body .spatial-content-note{margin-bottom:14px}.spatial-content-link{display:block;width:fit-content;min-height:44px;padding:9px 0;font-size:16px;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}.spatial-content-link:hover{color:#342140}.spatial-content-primary{display:flex;justify-content:center;align-items:center;min-height:48px;padding:12px 18px;border:1px solid #67417e;border-radius:9px;background:#67417e;color:#fff!important;text-decoration:none;font-size:16px;line-height:1.45;font-weight:600;width:100%;text-align:center;margin:7px 0 15px}.spatial-content-primary:hover{background:#4f2e66}.spatial-content-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid var(--panel-line);padding:10px 23px;flex-shrink:0}.spatial-content-focus{font-size:14px!important;min-height:44px;padding:8px 0;color:var(--panel-accent);background:transparent;border:0;text-decoration:underline;text-underline-offset:4px}.spatial-content-footer>.spatial-content-note{font-size:14px}
.spatial-content-experience article{padding:0 0 24px;margin:0 0 24px;border-bottom:1px solid var(--panel-line)}.spatial-content-experience article:last-child{margin-bottom:10px}.spatial-content-experience article>p{margin-bottom:10px}.spatial-content-experience article>h3{margin-bottom:7px}.spatial-content-experience article>.spatial-content-note:last-child{margin-bottom:0}
.spatial-content-projects{display:flex;flex-direction:column;margin-bottom:24px;border-block:1px solid var(--panel-line)}.spatial-content-projects>button{display:flex;flex-direction:column;gap:4px;min-height:78px;padding:15px 12px;text-align:left;background:transparent;border:0;border-bottom:1px solid var(--panel-line);color:var(--panel-text);font-size:16px;border-radius:0}.spatial-content-projects>button:last-child{border-bottom:0}.spatial-content-projects>button[aria-selected=true]{background:#eee4f4;box-shadow:inset 3px 0 #8a5ba4}.spatial-content-projects>button:hover{background:#f0e8f5}.spatial-content-projects>button .spatial-content-note{margin:0;font-size:14px}.spatial-content-project-detail{margin-bottom:13px}.spatial-content-project-detail>p{margin-bottom:16px}.spatial-content-project-detail>h3{margin-bottom:13px}
.spatial-content-video{margin:22px 0 12px;min-width:200px}.spatial-content-video>iframe{display:block;width:100%;height:205px;min-width:200px;min-height:200px;border:0;background:#160f1c}.spatial-content-video>.spatial-content-primary{margin-bottom:0}.spatial-content-body .spatial-content-subheading{margin:28px 0 10px}.spatial-content-track-list{list-style:none;padding:0;border-top:1px solid var(--panel-line)}.spatial-content-track-list li{border-bottom:1px solid var(--panel-line)}.spatial-content-track-list a{width:100%;padding-block:13px;text-decoration:none;line-height:1.5}.spatial-content-track-list a:hover{text-decoration:underline}
.spatial-content-reading{display:grid;grid-template-columns:78px 1fr;gap:19px;align-items:start;margin:3px 0 25px}.spatial-content-reading>img{width:78px;height:116px;object-fit:contain;object-position:top}.spatial-content-reading h3{font-size:20px;line-height:1.3;margin-bottom:9px}.spatial-content-reading p{font-size:16px;color:var(--panel-muted)}.spatial-content-progress-label{display:block;font-size:14px;margin:22px 0 10px;color:var(--panel-text)}.spatial-content-progress{display:block;appearance:none;width:100%;height:7px;border:0;border-radius:8px;overflow:hidden;background:#ddd0e5;margin:0 0 17px}.spatial-content-progress::-webkit-progress-bar{background:#ddd0e5;border-radius:8px}.spatial-content-progress::-webkit-progress-value{background:#8a5ba4;border-radius:8px}.spatial-content-progress::-moz-progress-bar{background:#8a5ba4;border-radius:8px}.spatial-content-human-joke{font-size:16px;line-height:1.65;color:var(--panel-muted);padding:18px 0;border-block:1px solid var(--panel-line);margin:22px 0!important}
.spatial-content-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:900px){.spatial-content-panel{top:auto;right:12px;bottom:var(--spatial-panel-mobile-bottom,105px);left:12px;width:auto;max-width:none;max-height:calc(100svh - 195px);border-radius:18px;box-shadow:0 -12px 45px #130c2333}.spatial-content-header{padding:18px 20px 12px}.spatial-content-header h2{font-size:23px}.spatial-content-body{padding:3px 22px 22px}.spatial-content-footer{padding:8px 20px calc(8px + env(safe-area-inset-bottom,0px))}.spatial-content-video>iframe{height:max(200px,48vw);max-height:290px}.spatial-content-reading{gap:17px}.spatial-content-projects>button{min-height:73px;padding-block:13px}}

/* Compose in the same world, keeping mail delivery explicit until connected. */
.spatial-content-panel[data-section=contact]{width:420px;bottom:110px;max-height:calc(100svh - 170px)}
.spatial-content-recipient{display:inline-block;margin:0 0 19px;font-size:15px;text-underline-offset:4px}
.spatial-contact-form{display:grid;gap:15px}
.spatial-contact-field{display:grid;gap:5px;font-size:14px;font-weight:600}
.spatial-contact-field :is(input,textarea){display:block;width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #c4b4cb;background:#fffcf8;color:#35233e;border-radius:5px;font:400 16px/1.5 var(--font-body,Manrope),sans-serif}
.spatial-contact-field textarea{resize:vertical;min-height:130px}
.spatial-contact-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px}
.spatial-contact-actions .spatial-content-primary{width:auto;flex:1;margin:0;padding:10px 15px}
.spatial-contact-copy{padding:10px 0;min-height:44px;background:none;border:0;font-size:14px!important;text-decoration:underline;text-underline-offset:4px}
.spatial-contact-form>.spatial-content-note{margin:0}
.spatial-contact-form>[role=status]:empty{display:none}
@media(max-width:900px){.spatial-content-panel[data-section=contact]{inset:72px 12px 98px;width:auto;height:auto;min-height:0;max-height:none}.spatial-contact-field textarea{min-height:100px}.spatial-contact-form{gap:12px}}
@media(max-height:540px) and (orientation:landscape){.spatial-content-panel[data-section=contact]{inset:12px 12px 12px auto;width:440px;max-width:calc(100vw - 24px);max-height:none}}
