/* One shared canvas: the hero becomes a spacious, native modal studio. */
[hidden]{display:none!important}
#scene-home{min-width:0}.sculpture-wrap{height:450px}
#sculpture{inset:20px 0 112px}
.scene-coordinate-top{top:8px;font-size:8px}.scene-coordinate-bottom{bottom:124px;font-size:8px}
.scene-launch{position:absolute;top:0;right:0;z-index:2;display:flex;align-items:center;gap:12px;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:3px;background:var(--paper);font:11px var(--display);color:var(--ink)}
.scene-launch span{font-size:18px;color:var(--blue)}
.scene-presets{position:absolute;bottom:54px;left:0;right:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
.scene-presets button{min-height:44px;padding:8px 3px;border:1px solid var(--line);border-radius:3px;background:var(--paper);color:var(--muted);font:11px var(--display);transition:background .25s,color .25s,border-color .25s}
.scene-presets button span{font-size:8px;display:block;opacity:.65;margin-bottom:3px}
.scene-presets button[aria-pressed="true"]{background:var(--blue);border-color:var(--blue);color:#fff}
.scene-presets button:disabled{opacity:.45;cursor:default}
.scene-tools{font-size:10px}.scene-tools>span{max-width:45%}
#scene-dialog{max-width:none;max-height:none;width:100vw;height:100dvh;margin:0;padding:20px;color:var(--ink);background:var(--paper);border:0;overflow:auto}
#scene-dialog::backdrop{background:#121a30b3}
#scene-dialog[open]{display:flex;flex-direction:column;gap:22px}
html.studio-open{overflow:hidden}
.studio-open main,.studio-open main *,.studio-open main *:before,.studio-open main *:after{animation-play-state:paused!important}
.studio-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:18px;border-bottom:1px solid var(--line)}
.studio-header .eyebrow{font-size:8px;color:var(--muted);margin-bottom:8px;letter-spacing:.08em}
.studio-header h2{font-size:36px;letter-spacing:-.055em;line-height:1}
.studio-header>button{display:flex;align-items:center;justify-content:center;gap:15px;min-height:44px;padding:8px 14px;background:transparent;border:1px solid var(--line);font:12px var(--display)}
.studio-header>button span{font-size:24px;line-height:1;color:var(--blue)}
.studio-layout{display:grid;gap:25px;flex:1;min-height:0}
#scene-mount{min-width:0;position:relative}
#scene-mount:before{content:'';position:absolute;inset:7% 8% 20%;border:1px solid var(--line);border-radius:50%;pointer-events:none;opacity:.35}
#scene-mount .sculpture-wrap{height:clamp(340px,58dvh,620px);margin:0}
#scene-mount #sculpture{touch-action:none;inset:20px 0 105px}
#scene-mount .sculpture-wrap:after{display:none}
#scene-mount .scene-coordinate-bottom{display:none}
#scene-mount .scene-launch{font-size:10px;background:transparent;border:0;right:0}
#scene-mount .scene-tools>span{max-width:none}
#scene-mount .scene-presets button{padding-block:8px}
.studio-panel{display:flex;flex-direction:column;gap:24px;padding-bottom:20px}
.studio-story{border-top:1px solid var(--line);padding-top:22px;min-height:200px}
.studio-story>.eyebrow{font-size:9px;color:var(--blue);margin-bottom:14px}
.studio-story h3{font-size:32px;max-width:320px;letter-spacing:-.05em;line-height:1.05;text-wrap:balance}
.studio-story p{font-size:16px;line-height:1.7;color:var(--muted);max-width:390px;margin:18px 0 12px}
.studio-story .text-link{font-size:13px}
.studio-settings{min-width:0;border:0;border-top:1px solid var(--line);padding:20px 0 0;margin:0}
.studio-settings legend{padding:0 12px 0 0;font:10px var(--display);letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.studio-settings>label{display:flex;align-items:center;justify-content:space-between;font-size:13px;margin:6px 0}
.studio-settings output{font:11px var(--display);color:var(--muted);font-variant-numeric:tabular-nums}
.studio-settings input[type="range"]{display:block;width:100%;min-height:44px;margin:0 0 14px;accent-color:var(--blue);cursor:pointer}
.studio-settings input:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.studio-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.studio-actions button{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:44px;padding:9px 14px;background:transparent;border:1px solid var(--line);border-radius:3px;font:12px var(--display);color:var(--ink)}
.studio-actions button[aria-pressed="true"]{background:var(--blue);border-color:var(--blue);color:#fff}
.studio-actions #studio-motion{width:100%;border:0;justify-content:flex-start;padding-left:0;color:var(--muted);font-size:11px}
.studio-actions #studio-motion[aria-pressed="true"]{background:transparent;color:var(--blue)}
.studio-instructions{font-size:11px;color:var(--muted);max-width:280px;line-height:1.7}
.studio-folio{font:9px var(--display);letter-spacing:.16em;color:var(--muted);margin-top:auto}
@media(min-width:600px){.sculpture-wrap{height:520px}.scene-presets button{font-size:12px}.scene-presets button span{display:inline;margin:0 7px 0 0}.scene-coordinate-top{font-size:9px}.scene-tools{font-size:11px}.scene-tools>span{max-width:none}#scene-dialog{padding:28px 36px}.studio-header h2{font-size:44px}.studio-header .eyebrow{font-size:9px}.studio-panel{display:grid;grid-template-columns:1fr 1fr;gap:24px}.studio-story{grid-row:span 2}.studio-folio{display:none}.studio-instructions{grid-column:2}#scene-mount .sculpture-wrap{height:58dvh;min-height:400px}}
@media(min-width:900px){.sculpture-wrap{height:590px}#scene-dialog{padding:28px 45px;gap:20px}.studio-header h2{font-size:48px}.studio-layout{grid-template-columns:minmax(0,1.7fr) minmax(270px,.8fr);gap:45px;align-items:center}#scene-mount .sculpture-wrap{height:calc(100dvh - 160px);min-height:440px;max-height:900px}.studio-panel{display:flex;gap:24px;max-width:380px;padding:12px 0 0}.studio-story{padding-top:0;border:0;min-height:235px}.studio-story h3{font-size:38px}.studio-story p{font-size:15px}.studio-folio{display:block}.studio-header{flex-shrink:0}#scene-mount .scene-presets{left:10%;right:10%}#scene-mount .scene-tools{left:10%;right:10%}#scene-mount .scene-coordinate-top{left:4%;top:14px}#scene-mount .scene-launch{right:4%}}
@media(min-width:1200px){.sculpture-wrap{height:640px}.studio-layout{grid-template-columns:minmax(0,2fr) minmax(300px,1fr);gap:65px}.studio-story h3{font-size:44px}.studio-story p{font-size:16px}.studio-panel{gap:30px}}
@media(prefers-reduced-motion:no-preference){#scene-dialog[open]{animation:studio-enter .35s cubic-bezier(.16,1,.3,1)}@keyframes studio-enter{from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}}
html[data-motion="paused"] .scene-presets button{transition:none}
@media(min-width:900px){.studio-layout{flex:none;height:calc(100dvh - 160px);min-height:440px;align-items:center}.studio-panel{max-height:100%;overflow-y:auto;padding:0 10px 0 0}.studio-story{min-height:0}}
@media(min-width:900px) and (max-height:820px){.studio-panel{gap:14px}.studio-story h3{font-size:32px;max-width:none}.studio-story p{font-size:14px;line-height:1.6;margin:12px 0 4px}.studio-story>.eyebrow{margin-bottom:10px}.studio-settings{padding-top:12px}.studio-settings input[type="range"]{margin-bottom:4px}.studio-settings>label{margin:2px 0}.studio-instructions{font-size:10px}.studio-folio{display:none}}
@media(min-width:900px){.studio-layout{height:calc(100dvh - 175px)}#scene-mount{height:100%}#scene-mount .sculpture-wrap{height:100%}}
html[data-motion="paused"] #scene-dialog{animation:none;opacity:1;translate:none}
#scene-mount .sculpture-wrap:before{display:none}
#scene-home .sculpture-wrap:before{inset:20% 16%}
.studio-header{flex-shrink:0;position:sticky;top:-20px;z-index:5;background:var(--paper)}
@media(min-width:600px){.studio-header{top:-28px}}
@media(min-width:900px){.studio-header{position:static}}
/* A contained field of light frames the scene without covering its controls. */
.scene-atmosphere{position:absolute;inset:25px 0 110px;z-index:-1;pointer-events:none;overflow:hidden;border-radius:50%;opacity:.65;mask-image:radial-gradient(ellipse,#000 20%,transparent 72%)}
.scene-atmosphere:before,.scene-atmosphere:after{content:'';position:absolute;inset:0;pointer-events:none}
.scene-atmosphere:before{background:repeating-linear-gradient(0deg,transparent 0 39px,color-mix(in srgb,var(--blue) 13%,transparent) 39px 40px),repeating-linear-gradient(90deg,transparent 0 39px,color-mix(in srgb,var(--blue) 13%,transparent) 39px 40px);transform:perspective(500px) rotateX(28deg) rotateZ(-15deg) scale(1.2)}
.scene-atmosphere:after{background:radial-gradient(ellipse at 25% 35%,color-mix(in srgb,var(--blue) 15%,transparent),transparent 50%),radial-gradient(ellipse at 75% 65%,#75afc71c,transparent 50%)}
html[data-motion="full"] .scene-atmosphere:before{animation:field-drift 20s ease-in-out infinite alternate}
html[data-motion="full"] .scene-atmosphere:after{animation:field-light 12s ease-in-out infinite alternate}
.sculpture-wrap[data-scene-paused="true"] .scene-atmosphere:before,.sculpture-wrap[data-scene-paused="true"] .scene-atmosphere:after{animation-play-state:paused!important}
.studio-actions #scene-ripple{border-color:var(--blue);color:var(--blue)}
.studio-actions #scene-ripple span{font-size:20px;line-height:1}
.studio-actions button:disabled{opacity:.4;cursor:default}
html[data-motion="full"] #scene-ripple:not(:disabled):hover span{animation:ripple-icon .75s ease-out}
@keyframes field-drift{to{transform:perspective(500px) rotateX(28deg) rotateZ(10deg) scale(1.2);translate:0 12px}}
@keyframes field-light{to{translate:8% -6%;scale:1.12}}
@keyframes ripple-icon{50%{scale:1.35;opacity:.6}to{scale:1;opacity:1}}
