/* Signature and project artwork share one viewport; detailed exhibits remain dialogs. */
body{background:radial-gradient(ellipse at 50% 46%,#332c2638,transparent 56%),#101114}
main{max-width:none}.constellation{overflow:clip;height:calc(100svh - 108px);min-height:610px;max-height:1080px;position:relative;isolation:isolate;max-width:1550px;margin:auto}
.orbit-lines{position:absolute;inset:27% 12% 10%;border:3px solid #cead7460;border-radius:50%;transform:rotate(-14deg);pointer-events:none;z-index:-1}.orbit-lines:before{content:'';position:absolute;inset:-15% 12%;border:2px dashed #cead7445;border-radius:50%;transform:rotate(38deg)}
.kora-intro{position:absolute;top:1%;left:50%;transform:translateX(-50%);display:grid;grid-template-columns:115px minmax(0,1fr);gap:16px;width:min(740px,65%);z-index:4}
/* K.O.R.A. stays crisp at rest (owner report, 2026-10-09): Chrome rasterizes a 3D-tilted or rotating layer once
   and resamples it, so her head turn is a shift toward the pointer in whole device pixels (any scale, skew or rotation left her
   soft once the transition ended) and her breathing (constellation.js, --guide-breath) hops whole device pixels with no rotation. A CSS
   breathing animation runs on the compositor with one bitmap, which went soft under fractional display scaling. Measurements: docs/spec/constellation.md. */
.kora-portrait{width:115px;height:150px;filter:drop-shadow(0 0 18px #65b4da18);transform-origin:50% 100%;transform:translate(var(--guide-x,0px),calc(var(--guide-y,0px) + var(--guide-breath,0px)));transition:transform 160ms ease-out}.kora-portrait>svg,.kora-portrait>img{display:block;width:100%;height:100%;object-fit:contain}.kora-iris{transform:translate(var(--gaze-x,0px),var(--gaze-y,0px));transition:transform 160ms ease-out}.kora-portrait>.kora-winking-face,.kora-portrait[data-winking=true]>.kora-tracking-face{display:none}.kora-portrait[data-winking=true]>.kora-winking-face{display:block}
.speech-bubble{position:relative;border:1px solid #72b3cb55;border-radius:15px 15px 15px 2px;background:linear-gradient(135deg,#162632,#101b25);padding:14px 18px;font:14px/1.55 Arial,sans-serif;color:#ecedf0}
.speech-bubble:before{content:'';position:absolute;left:-8px;top:30px;width:13px;height:13px;background:#14232e;border-left:1px solid #72b3cb55;border-bottom:1px solid #72b3cb55;transform:rotate(45deg)}.speech-bubble strong{font-weight:400;color:#c4e5f1}
#local-kora-answer{max-height:145px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;white-space:pre-wrap;overflow-wrap:anywhere}
/* The longer welcome uses a slightly smaller size than answers (owner request). */
#local-kora-answer[data-intro]{font-size:13px;line-height:1.5;max-height:none}
#local-kora-answer:not([data-replied]){max-height:none}
#local-kora-answer[data-typing]:after{content:'';display:inline-block;width:2px;height:1em;background:#9ee6ff;margin-left:4px;vertical-align:-2px}
.thinking-spinner{display:inline-block;min-width:1.2ch;margin-left:.35em;white-space:pre;font-family:ui-monospace,monospace;color:#c4e5f1}#local-kora-answer[data-typing]:has(.thinking-spinner):after{display:none}
.speech-bubble:has([data-typing]){border-color:#96d9ee;box-shadow:0 0 22px #69b9e326}
#local-kora-form{display:flex;gap:7px;margin:9px 0 0}#local-kora-question{min-width:0;border:1px solid #ffffff35;background:#10171d;flex:1;width:0;border-radius:4px;min-height:44px;font-size:16px}
#local-kora-form button{border:1px solid #91bfce60;background:#91bfce0a;width:46px;flex:0 0 46px;border-radius:4px;color:#c2dfeb;font-size:24px}
.chat-footnote{display:flex;justify-content:flex-end;gap:10px;align-items:flex-start;margin:7px 1px;font:14px/1.45 Arial,sans-serif;color:#bdcad4}.chat-footnote #local-model-choice{flex:0 1 225px;max-width:52%;min-width:0;min-height:30px;margin:0;padding:6px 8px;background:#10171d;color:#d5e2ed;border:1px solid #91bfce60;border-radius:4px;font:12px Arial,sans-serif}.chat-footnote #local-model-choice:focus-visible{outline:2px solid #c0e1ec;outline-offset:2px}
.settings-controls{display:grid;gap:14px}.settings-controls>label{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0}.settings-controls select{max-width:65%;min-width:0;min-height:36px;margin:0;background:#10171d;color:#d5e2ed;border:1px solid #91bfce60;border-radius:4px}.settings-controls input[role=switch]{width:20px;height:20px;margin-left:8px;accent-color:#91bfce}.settings-controls label>span{display:flex;align-items:center}#data-saver-help{font-size:13px}#settings-model-status{font-size:13px;overflow-wrap:anywhere}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.signature-anchor{position:absolute;top:43%;left:50%;transform:translate(-50%,-10%);width:min(36%,490px);text-align:center;pointer-events:none;z-index:2}.signature-anchor>img{width:100%;height:auto;display:block;filter:drop-shadow(0 4px 16px #e5c49318)}.signature-anchor h1{font:15px/1.4 Arial,sans-serif;letter-spacing:3px;margin:-4px 0 8px;max-width:none}.signature-anchor p{font:11px/1.4 Arial,sans-serif;color:#c4bbae;letter-spacing:1.2px;margin:0}
.orbit{position:absolute;display:block;text-align:center;color:#eee5d9;text-decoration:none;--px:0px;--py:0px}.project-float{transform:translate3d(var(--px),var(--py),0);transition:transform 160ms ease-out;will-change:transform}
.orbit-hal{left:0;top:12%;width:31%;max-width:440px}.orbit-cria{right:0;top:18%;width:30%;max-width:410px}.orbit-handles{left:16%;bottom:2%;width:310px}.orbit-bridges{right:11%;bottom:2%;width:340px}
.project-link{position:relative;display:block;text-align:center;font-size:20px;padding:10px 12px 6px;min-height:67px;letter-spacing:.1px}.project-link small{display:block;font-size:14px;color:#c5bab0;line-height:1.45;margin-top:5px}.project-link b{position:absolute;right:8px;top:13px;font-size:16px;font-weight:400;color:#ddbe90;opacity:0;transition:opacity .15s}.orbit:hover .project-link b,.orbit:focus-visible .project-link b,.project-link:focus-visible b{opacity:1}.orbit:hover .project-link>span,.orbit:focus-visible .project-link>span{color:#ffe0b0}.orbit:focus-visible,.project-link:focus-visible{outline:1px solid #f0c191;outline-offset:5px;border-radius:6px}
#hal-character{width:auto;max-width:95%;min-height:36px;padding:5px 8px;border:0;border-bottom:1px solid #ffffff30;background:#101114c9;color:#d5c7b3;font:13px Arial,sans-serif;text-align:center}#hal-character option{background:#171a20;color:#eee}
#hal-orbit-mount{height:310px}.orbit-poster{height:100%;width:100%;object-fit:contain}.orbit-hal .hal-stage{height:100%;min-height:0;background:none;flex:none}.orbit-hal .stage-word,.orbit-hal .stage-floor{display:none}.orbit-hal #hal-fallback{inset:0;height:100%;width:100%;object-fit:contain}.orbit-hal .viewer-tools{left:50%;transform:translateX(-50%);bottom:1px;opacity:0;transition:opacity .15s}.orbit-hal:hover .viewer-tools,.orbit-hal:focus-within .viewer-tools{opacity:1}.orbit-hal #viewer-status{max-width:100%;right:0;bottom:0;width:100%;font-size:12px;text-align:center;pointer-events:none;opacity:0}.orbit-hal .hal-stage[data-model-state=unavailable] #viewer-status{opacity:1}.orbit-hal:focus-within #viewer-status{bottom:44px;opacity:1}.cria-object{height:230px;display:block}.cria-object img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 10px 20px #0005)}
.handle-object{height:124px;overflow:hidden;background:#101d40;border:1px solid #90d39d;border-radius:14px;box-shadow:0 12px 35px #0005;rotate:-6deg}.handle-object img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 35%}
.bridge-object{height:174px;position:relative;margin:auto;width:100%}.app-mark{position:absolute;width:116px;height:128px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:linear-gradient(140deg,#26303b,#151a20);border:1px solid #9ca5af55;border-radius:18px;box-shadow:0 12px 30px #0005}.app-mark img{width:80px;height:80px;object-fit:contain}.app-mark span{font:14px Arial,sans-serif;color:#ede7df}.app-roblox{left:0;top:30px;rotate:-13deg}.app-daz{left:calc(50% - 58px);top:0;rotate:3deg}.app-blender{right:0;top:38px;rotate:13deg}
.constellation-hint{position:absolute;bottom:0;width:100%;text-align:center;font:11px Arial,sans-serif;letter-spacing:1.5px;color:#aaa39a;margin:0;pointer-events:none}
.constellation-ready .workshop-grid,.constellation-ready .closing{display:none}
dialog{background:#151a20;color:#e5ded5;border:1px solid #8c837660;padding:0;width:min(930px,94vw);max-height:90svh;border-radius:8px;box-shadow:0 25px 100px #000a;overscroll-behavior:contain}dialog::backdrop{background:#070b10b8;backdrop-filter:blur(9px)}.dialog-bar{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#151b23;padding:14px 20px;border-bottom:1px solid #ffffff20}.dialog-bar h2{font:18px Arial,sans-serif;letter-spacing:.3px}.dialog-bar button{border:1px solid #ffffff30;background:transparent;padding:10px 12px;min-height:44px;font-size:15px}
#project-dialog .station{border:0;outline:0;margin:0}#project-dialog .hal-station{display:block}#project-dialog .hal-stage{height:280px;min-height:280px;flex:none}#project-dialog .hal-stage .stage-word{display:none}#project-dialog .project-copy>p:not(.eyebrow){max-width:none}#project-dialog .hal-greeting{margin-top:20px}
#project-dialog p,#project-dialog details,#project-dialog label,#project-dialog legend,#project-dialog button,#project-dialog input,#project-dialog select{font-size:16px;line-height:1.55}#project-dialog small,#project-dialog .station-top,#project-dialog .station-top a,#project-dialog .station-top span,#project-dialog #viewer-status{font-size:13px}#project-dialog pre{font-size:14px}
.hal-materials,.hal-project-copy{margin:24px}.hal-materials legend{font-size:16px}.hal-project-copy{line-height:1.65}.station-top h2{font-size:18px;letter-spacing:0}.handles-homepage{margin:0}.handles-homepage img{display:block;width:100%;height:auto}#local-model-active{padding:12px;border-left:3px solid #91bfce;background:#91bfce0b;color:#eef6ff}
#studio-settings{width:min(600px,94vw)}.settings-content{padding:6px 22px 20px;font:16px/1.6 Arial,sans-serif;color:#c3c7cc}.settings-content label,.settings-content select{font-size:16px;margin-bottom:7px}.settings-content a{color:#bad4e4;text-decoration:underline}.settings-content details{font-size:16px;margin:12px 0}.settings-content summary{font-size:16px;min-height:44px;padding:8px 0}.local-model-actions{display:flex;gap:8px;flex-wrap:wrap}.local-model-actions button{background:#ffffff08;border:1px solid #ffffff35;padding:10px;min-height:44px;font-size:15px}#local-model-status{color:#bccbd4}
@media(min-height:900px) and (min-width:751px){#hal-orbit-mount{height:390px}.orbit-cria{top:22%}.cria-object{height:270px}.orbit-hal{top:12%}.orbit-handles{bottom:2%}.orbit-bridges{bottom:2%}}
@media(max-width:1100px) and (min-width:751px){.constellation{min-height:870px}.kora-intro{width:72%;grid-template-columns:85px 1fr;gap:10px}.kora-portrait{width:85px;height:125px}.orbit-hal{top:32%;width:30%}.orbit-cria{top:34%;width:29%}.cria-object{height:220px}.orbit-handles{left:10%;width:260px}.orbit-bridges{right:7%;width:280px}.app-mark{width:96px;height:116px}.app-mark img{width:65px;height:65px}.app-daz{left:calc(50% - 48px)}.signature-anchor{top:47%}#hal-orbit-mount{height:260px}.project-link{font-size:18px}.project-link small{font-size:13px}}
@media(max-width:750px){
 .constellation{--intro-extra:225px;height:calc(100svh - 98px);min-height:calc(780px + 26vw + var(--intro-extra));max-height:calc(890px + 26vw + var(--intro-extra))}.kora-intro{top:8px;left:0;transform:none;width:100%;grid-template-columns:56px 1fr;gap:7px}.kora-portrait{width:58px;height:90px}.speech-bubble{font-size:14px;line-height:1.5;padding:10px 12px;border-radius:11px 11px 11px 2px}.speech-bubble:before{top:23px}#local-kora-answer{max-height:135px}.chat-footnote{display:grid;grid-template-columns:minmax(0,1fr) 128px;gap:4px 6px}.chat-footnote #local-model-choice{grid-column:2;grid-row:1;width:100%;max-width:100%}
 .orbit-hal{left:0;top:calc(254px + var(--intro-extra));width:47%;max-width:none}#hal-orbit-mount{height:160px}.orbit-cria{right:0;top:calc(258px + var(--intro-extra));width:48%}.cria-object{height:162px}
 .signature-anchor{top:calc(540px + var(--intro-extra));width:59%;transform:translate(-50%,-5%)}.signature-anchor h1{font-size:12px;letter-spacing:1.5px;margin-top:-4px}.signature-anchor p{display:none}
 .orbit-handles{bottom:26px;left:0;width:46%}.orbit-bridges{bottom:25px;right:0;width:49%}.handle-object{height:100px;border-radius:9px}.bridge-object{height:115px}.app-mark{width:65px;height:81px;border-radius:10px;gap:2px}.app-mark img{width:46px;height:46px}.app-mark span{font-size:11px}.app-roblox{top:23px}.app-daz{left:calc(50% - 32px);top:20px}.app-blender{top:30px}
 .project-link{font-size:17px;min-height:66px;padding:8px 2px 4px}.project-link small{font-size:12px;margin-top:4px}.project-link b{display:none}#hal-character{font-size:12px;min-height:34px;max-width:100%;padding:4px}.constellation-hint{font-size:10px;letter-spacing:.5px}.orbit-lines{inset:36% 8% 10%}
 .orbit-hal .viewer-tools{opacity:1;bottom:0;gap:4px}.orbit-hal .viewer-tools button{min-width:30px;min-height:30px;font-size:14px}.orbit-hal .viewer-tools button:last-child{font-size:11px;padding:0 5px}
 dialog{max-height:94svh;width:96vw}.dialog-bar{padding:10px 12px}.dialog-bar h2{font-size:16px}.dialog-bar button{font-size:14px;padding:8px}
}
@media(prefers-reduced-motion:reduce){.project-float,.kora-portrait,.kora-iris{transition:none!important}body[data-motion=on] .kora-portrait{animation:none}}

/* Early-loading splash (KoraSplash.astro / kora-splash.js). The backdrop is opaque from the first frame
   (the page must not flash through); K.O.R.A., her halo, the bubble and the X arrive in sequence. On close
   the backdrop opens like an iris from her face while she flies to her place on the page. */
@property --splash-reveal{syntax:'<length>';inherits:false;initial-value:-130px}
.kora-splash{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:56px 20px 24px;isolation:isolate}
.kora-splash::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 50% 35%,#13232e,#070c11 70%)}
/* The iris mask exists only while closing; it starts fully closed (hole edge below zero radius). */
.kora-splash[data-closing]::before{-webkit-mask-image:radial-gradient(circle at 50% 38%,transparent var(--splash-reveal),#000 calc(var(--splash-reveal) + 120px));mask-image:radial-gradient(circle at 50% 38%,transparent var(--splash-reveal),#000 calc(var(--splash-reveal) + 120px))}
.kora-splash[hidden]{display:none}
.kora-splash[data-closing]{pointer-events:none}
html[data-splash] body{overflow:hidden}
.kora-portrait-slot{visibility:hidden;animation:none!important}
.kora-splash-close{position:absolute;top:12px;right:14px;width:40px;height:40px;border:1px solid #91bfce60;border-radius:50%;background:#10171d;color:#d5e2ed;font:24px/1 Arial,sans-serif;cursor:pointer;transition:background 160ms,border-color 160ms}
.kora-splash-close:hover{background:#18242c;border-color:#91bfcea0}
.kora-splash-close:focus-visible{outline:2px solid #c0e1ec;outline-offset:2px}
.kora-splash[data-closing] .kora-splash-close{visibility:hidden}
.kora-splash[data-closing] .kora-splash-avatar{z-index:2}
.kora-splash-stage{display:flex;flex-direction:column;align-items:center;gap:18px;width:min(560px,100%)}
.kora-splash-avatar{position:relative}
.kora-splash-avatar::before{content:"";position:absolute;inset:-28% -40%;z-index:-1;border-radius:50%;background:radial-gradient(closest-side,#4fb4e055,#4fb4e018 55%,transparent 75%);pointer-events:none}
.kora-splash-avatar .kora-portrait{width:170px;height:220px}
.kora-splash-bubble{width:100%;border-radius:15px;min-height:7em}
#kora-splash-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.55}
@media (max-width:750px){.kora-splash-avatar .kora-portrait{width:120px;height:160px}#kora-splash-text{font-size:13px}}
@media (prefers-reduced-motion:no-preference){
 .kora-splash-avatar{animation:splash-avatar-in 950ms cubic-bezier(.2,.9,.25,1.12) both}
 .kora-splash-avatar::before{animation:splash-halo-in 1200ms ease-out both,splash-halo 3.6s ease-in-out 1200ms infinite}
 .kora-splash-bubble{transform-origin:50% 0;animation:splash-bubble-in 650ms cubic-bezier(.2,.8,.2,1) 450ms both}
 .kora-splash-close{animation:splash-fade-in 400ms ease-out 900ms both}
 .kora-splash[data-closing] .kora-splash-avatar{animation:none}
 .kora-splash[data-closing] .kora-splash-avatar::before{animation:splash-fade-out 300ms ease-in forwards}
 .kora-splash[data-closing] .kora-splash-bubble{animation:none}
 .kora-splash[data-closing]::before{animation:splash-iris 900ms cubic-bezier(.6,0,.3,1) forwards}
 html[data-splash=closing] #kora-speech{animation:splash-page-bubble 260ms ease-out 640ms both}
}
@keyframes splash-avatar-in{from{opacity:0;transform:translateY(26px) scale(.8);filter:blur(10px) brightness(1.9)}60%{opacity:1;filter:blur(0) brightness(1.15)}to{opacity:1;transform:none;filter:none}}
@keyframes splash-halo-in{from{opacity:0;transform:scale(.4)}to{opacity:1;transform:none}}
@keyframes splash-halo{50%{opacity:.55;transform:scale(1.08)}}
@keyframes splash-bubble-in{from{opacity:0;transform:translateY(18px) scale(.94)}to{opacity:1;transform:none}}
@keyframes splash-fade-in{from{opacity:0}}
@keyframes splash-fade-out{to{opacity:0}}
@keyframes splash-iris{from{--splash-reveal:-130px;opacity:1}75%{opacity:1}to{--splash-reveal:150vmax;opacity:0}}
@keyframes splash-page-bubble{from{opacity:0}}
/* Image exhibits (owner, 2026-10-09): cria is only its three illustrations in a carousel; bridges is its
   illustration edge to edge with the project text below. Both get a wider dialog so the art is bigger. */
#project-dialog[data-panel=cria],#project-dialog[data-panel=bridges],#project-dialog[data-panel=handles]{width:min(1280px,96vw)}
#project-dialog .cria-station{padding:0;background:#fff}
.carousel{position:relative}
.carousel-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}
.carousel-track::-webkit-scrollbar{display:none}
.carousel-slide{flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always}
/* Each illustration shows whole inside the dialog (below its 76 px title bar). */
#project-dialog .carousel-slide img{max-height:calc(90svh - 78px);object-fit:contain;background:#fff}
@media(max-width:750px){#project-dialog .carousel-slide img{max-height:calc(94svh - 62px)}}
.carousel-arrow{position:absolute;top:50%;translate:0 -50%;display:grid;place-items:center;width:48px;height:48px;padding:0;border:1px solid #ffffff40;border-radius:50%;background:#151a20cc;color:#f1ece4;font:32px/1 Arial,sans-serif;cursor:pointer;transition:background 160ms}
.carousel-arrow:hover{background:#151a20f0}
.carousel-arrow:focus-visible{outline:2px solid #59c4db;outline-offset:2px}
.carousel-arrow[hidden]{display:none}
.carousel-prev{left:12px}.carousel-next{right:12px}
#project-dialog .bridge-station,#project-dialog .handles-station{background:#15171c}
/* Handles and bridges share one text treatment under their image (owner, 2026-10-09): copper eyebrow,
   ink headline with a muted second half, on one line where the width allows. */
.project-copy h2{text-wrap:balance}
.project-title{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;column-gap:18px}
.project-title>h2{text-align:right}
.project-title>.eyebrow{margin:0}.project-title>h2{margin:0 0 .5em}
.project-eyebrow{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.project-eyebrow a{color:var(--accent);text-decoration:none}.project-eyebrow a:hover{text-decoration:underline}
.project-copy{padding:24px}
@media(max-width:750px){.carousel-arrow{width:40px;height:40px;font-size:26px}.carousel-prev{left:6px}.carousel-next{right:6px}.project-copy{padding:18px}}
