@font-face{font-family:Inter;src:url('./assets/fonts/InterVariable.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
@font-face{font-family:Tempting;src:local('Tempting');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:'Scene Script';src:url('./assets/fonts/Allura-Regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
body.questionnaire-open[data-question=roles]{background:#161616;background-image:none;color:#242628}
body.questionnaire-open[data-question=roles] .site-header,body.questionnaire-open[data-question=roles] .site-footer{display:none}
body.questionnaire-open[data-question=roles] .join-view{position:relative;width:100%;max-width:none;height:100svh;height:100dvh;min-height:0;margin:0;overflow:hidden}
body.questionnaire-open[data-question=roles] .form-section{padding:0;min-height:0;background:transparent}
body.questionnaire-open[data-question=roles] #join-form{position:relative;display:block}
body.questionnaire-open[data-question=roles] #step-content{animation:none}
.role-scene-layout{height:100svh;height:100dvh;position:relative;isolation:isolate;overflow:hidden;background:#161616}
.scene-canvas{position:relative;width:100%;height:100%;isolation:isolate}
.scene-picture{position:absolute;inset:0;display:block;z-index:-2;pointer-events:none}
.scene-picture--day{transition:filter 1.3s ease}
.scene-canvas[data-scene-mode=night] .scene-picture--day{filter:brightness(.3)}
.scene-picture--night{opacity:0;transition:opacity 1.3s cubic-bezier(.4,0,.2,1)}
.scene-picture--night[data-active=true]{opacity:1}
.scene-photo{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.scene-heading{position:absolute;top:2.4%;left:50%;transform:translateX(-50%);width:min(560px,70%);padding:0;text-align:center;color:#111;transition:color 1.1s ease,text-shadow 1.1s ease}
.scene-heading h2{margin:0;font-family:Inter,Arial,sans-serif;font-size:clamp(24px,min(2.7vw,4dvh),38px);line-height:1.15;letter-spacing:-.045em;font-weight:600}
.scene-heading h2 br{display:none}
.scene-title-first{display:block}
.scene-title-script{display:block;font-family:Tempting,'Scene Script',cursive;font-weight:400;font-size:2.9em;line-height:.83;letter-spacing:0;margin:5px auto 0;padding:8px 0 9px}
.scene-heading h2:focus{outline:none}
.scene-heading p{margin:11px 0 0;font-size:clamp(12px,1.1vw,16px);line-height:1.4;letter-spacing:-.015em}
.scene-canvas[data-scene-mode=night] .scene-heading{color:#fffaf4;text-shadow:0 2px 16px #0005}
.scene-light-spill{position:absolute;inset:18% 0 0;z-index:-1;pointer-events:none;mix-blend-mode:screen;color:#ed302c;opacity:.13;background:radial-gradient(ellipse at 17% 37%,currentColor 0,transparent 48%),radial-gradient(ellipse at 85% 40%,currentColor 0,transparent 46%),radial-gradient(ellipse at 55% 86%,currentColor 0,transparent 58%);transition:color 1.4s ease,opacity 1.4s ease}
.scene-canvas[data-scene-color=red] .scene-light-spill{color:#914448;opacity:.025;background:radial-gradient(ellipse at 17% 32%,currentColor 0,transparent 40%),radial-gradient(ellipse at 85% 35%,currentColor 0,transparent 38%)}
.scene-canvas[data-scene-color=blue] .scene-light-spill{color:#286fef}
.scene-canvas[data-scene-color=warm] .scene-light-spill{color:#e3c8a1;opacity:.06}
.scene-canvas[data-scene-mode=day] .scene-light-spill{opacity:0}
.scene-ambience{position:absolute;z-index:3;left:24px;right:24px;bottom:max(18px,env(safe-area-inset-bottom));display:flex;align-items:flex-start;justify-content:space-between;gap:10px;pointer-events:none;font-family:Inter,Arial,sans-serif}
.scene-ambience button,.scene-ambience a{pointer-events:auto}
.scene-night-switch,.scene-sound,.scene-light-options{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:4px 14px;border:1px solid #ffffffa6;border-radius:var(--button-radius);background:#fffffff0;color:#171717;box-shadow:inset 0 1px 0 #ffffff12,0 4px 20px #0002;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);font-size:12px;font-weight:500;line-height:1;cursor:pointer;transition:background .5s,color .5s,border-color .5s}
.scene-switch-track{width:27px;height:17px;padding:2px;border-radius:999px;background:#17171722;transition:background .2s}
.scene-switch-track>span{display:block;width:13px;height:13px;border-radius:50%;background:#171717;transform:translateX(10px);transition:transform .2s,background .2s}
.scene-night-switch[aria-checked=false] .scene-switch-track>span{transform:translateX(0)}
.scene-night-switch[aria-checked=true] .scene-switch-track{background:#ffffff55}
.scene-ambience-right{display:flex;flex-direction:column;align-items:flex-end;gap:5px}
.scene-ambience-controls{display:flex;gap:8px;align-items:center}
.scene-light-options{gap:0;padding:0 3px;cursor:default}
.scene-light-option{display:grid;place-items:center;width:40px;min-height:42px;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer}
.scene-light-option>span:first-child{display:block;width:15px;height:15px;border-radius:50%;background:#bc3f3f;box-shadow:inset 0 0 0 1px #ffffff26;transition:box-shadow .25s,transform .25s}
.scene-light-option--blue>span:first-child{background:#467ccc}
.scene-light-option--red>span:first-child{background:#a34d50}
.scene-light-option--warm>span:first-child{background:#dfccb0}
.scene-light-option[aria-pressed=true]>span:first-child{box-shadow:0 0 0 3px #fff,0 0 0 4px #171717b3;transform:scale(1.04)}
.scene-light-option:disabled{opacity:.3;cursor:default}
.scene-sound{width:44px;padding:0;flex-shrink:0}
.scene-sound svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.scene-sound[aria-pressed=true] .scene-sound-slash{display:none}
.scene-sound:disabled{opacity:.4;cursor:default}
.scene-sound[data-loading]{opacity:.6}
.scene-ambience button:focus-visible{outline:2px solid #fff;outline-offset:4px}
.scene-ambience button:not(:disabled):hover{filter:brightness(1.12)}
.scene-hotspot{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:0;max-width:46%;border:1px solid #ffffffb3;border-radius:var(--button-radius);padding:6px 14px 6px 8px;background:#fffffff2;color:#171717;font-size:clamp(13px,1.2vw,18px);font-weight:600;line-height:1.2;letter-spacing:-.025em;box-shadow:0 3px 12px #1e211d24;cursor:pointer;transition:background .18s,color .18s,box-shadow .18s;white-space:nowrap}
.scene-hotspot:hover{background:#fff;box-shadow:0 5px 17px #1e211d35}
.scene-hotspot:focus-visible{outline:3px solid #fff;outline-offset:4px;box-shadow:0 0 0 7px #171717}
.scene-hotspot[data-complete=true]{background:#ffffff52;color:#1b252b;border-color:#ffffffe0;box-shadow:inset 0 1px 0 #fff,0 4px 14px #17283224;backdrop-filter:blur(18px) saturate(1.5);-webkit-backdrop-filter:blur(18px) saturate(1.5)}
.scene-hotspot[data-complete=true]:hover{background:#ffffff80;border-color:#fff}
.scene-hotspot-icon{display:grid;place-items:center;width:clamp(19px,1.6vw,23px);height:clamp(19px,1.6vw,23px);flex-shrink:0;border-radius:50%;background:#111;color:#fff;font-size:17px;font-weight:400;line-height:1}
.scene-hotspot[data-complete=true] .scene-hotspot-icon{background:#263740;color:#fff}
.scene-hotspot-icon svg{display:block;width:13px;height:13px;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;fill:none}
.scene-selection-count{position:absolute;bottom:max(8px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:max-content;max-width:90%;margin:0;padding:3px 10px;border-radius:99px;background:#ffffffdf;text-align:center;pointer-events:none;font-size:10px;font-weight:500;line-height:1.4;color:#333}
.scene-selection-count:empty{display:none}
body.questionnaire-open[data-question=roles] .question-navigation{position:absolute;z-index:4;top:max(10px,env(safe-area-inset-top));left:0;right:0;width:100%;max-width:none;margin:0;min-height:36px;padding:0 15px;pointer-events:none}
body.questionnaire-open[data-question=roles] .question-navigation>button,body.questionnaire-open[data-question=roles] .question-navigation>a{pointer-events:auto;width:36px;height:36px;border-color:#fff8;background:#ffffffe6;color:#242628;backdrop-filter:blur(8px)}
body.questionnaire-open[data-question=roles] .question-navigation .progress{width:90px;top:1px;height:2px;background:#20232624;pointer-events:none}
body.questionnaire-open[data-question=roles] .question-navigation .progress span{height:2px;background:#111}
body.questionnaire-open[data-question=roles] .form-actions{position:absolute;z-index:3;inset:0;transform:none;width:100%;height:100%;max-width:none;aspect-ratio:auto;margin:0;padding:0;display:block;pointer-events:none}
body.questionnaire-open[data-question=roles] .primary-button{position:absolute;left:50%;bottom:max(36px,4.8dvh);transform:translateX(-50%);pointer-events:auto;background:#111;border:1px solid #111;border-radius:var(--button-radius);min-width:180px;min-height:48px;padding:12px 24px;font-size:15px;gap:24px;box-shadow:0 5px 16px #0002}
body.questionnaire-open[data-question=roles] .primary-button:hover{background:#292929;border-color:#292929}
body.questionnaire-open[data-question=roles] #form-error{position:absolute;z-index:5;left:50%;bottom:105px;top:auto;transform:translateX(-50%);width:min(88%,360px);margin:0;background:#fffffff2;box-shadow:0 4px 20px #0002}
.scene-dialog-open{overflow:hidden}
.scene-dialog{--accent:#111;width:min(500px,calc(100vw - 40px));max-width:none;max-height:calc(100svh - 48px);max-height:calc(100dvh - 48px);margin:auto;border:1px solid #ffffffd9;border-radius:28px;padding:0;background:linear-gradient(145deg,rgba(255,255,255,.93),rgba(242,245,249,.88));color:#171717;box-shadow:inset 0 1px 0 #fff,inset 0 -1px 0 #ffffff66,0 24px 80px #0003;backdrop-filter:blur(28px) saturate(1.05);-webkit-backdrop-filter:blur(28px) saturate(1.05);overscroll-behavior:contain;transform-origin:0 0}
.scene-dialog::backdrop{background:#15171938;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.scene-dialog.is-opening,.scene-dialog.is-closing{will-change:transform,opacity}
.scene-dialog.is-opening::backdrop{animation:scene-backdrop-in .36s ease-out both}
.scene-dialog.is-closing::backdrop{animation:scene-backdrop-out .26s ease-in both}
.scene-dialog-content{padding:27px 28px 25px}
.scene-dialog-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 17px}
.scene-dialog-top p{margin:0;font-size:12px;font-weight:600;color:#65676b}
.scene-dialog-close{display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;border:1px solid #11111114;border-radius:999px;background:#ffffffa6;color:#383a3d;padding:8px}
.scene-dialog-close svg,.scene-dialog-next svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;fill:none}
.scene-question-progress{display:flex;align-items:center;gap:12px;margin:0 0 24px}
.scene-question-progress progress{appearance:none;-webkit-appearance:none;display:block;width:100%;height:3px;border:0;border-radius:9px;overflow:hidden;background:#11111114;color:#111}
.scene-question-progress progress::-webkit-progress-bar{background:#11111114}.scene-question-progress progress::-webkit-progress-value{background:#111}.scene-question-progress progress::-moz-progress-bar{background:#111}
.scene-question-progress>span{font-size:10px;white-space:nowrap;color:#7a7d82}
.scene-dialog .card-question{font-size:29px;line-height:1.1;letter-spacing:-1px;margin:0 0 23px;color:#171717}
.scene-dialog .card-choices{gap:10px}
.scene-dialog .card-choice-face{min-height:56px;border-color:#1111111c;background:#ffffffa8;color:#171717;border-radius:var(--button-radius);padding:11px 12px}
.scene-dialog .card-choice-text{font-size:12px;line-height:1.35}
.scene-dialog .card-choice-icon{color:inherit;opacity:.75}
.scene-dialog .card-choice input:checked+.card-choice-face{border-color:#111;box-shadow:0 0 0 1px #111;background:#111;color:#fff}
.scene-dialog .card-choice input:checked+.card-choice-face .card-choice-dot{background:#fff;border-color:#fff;color:#111}
.scene-dialog .card-choice-dot{width:15px;height:15px;border-color:#11111155}
.scene-dialog .card-choice-dot svg{width:10px;height:10px}
.scene-dialog .card-choice-face>img{width:38px;height:38px;border-radius:50%}
.scene-dialog .card-field label{font-size:12px;color:#292b2e}
.scene-dialog .card-field input,.scene-dialog .card-field textarea{font-size:16px;background:#ffffffb8;color:#171717;border-color:#11111126;border-radius:999px}
.scene-dialog .card-field textarea{border-radius:20px}
.scene-dialog .card-error{color:#333;border-left:2px solid #111;padding-left:12px}
.scene-dialog .card-field label>span{font-size:10px;color:#7a7d82}
.scene-dialog-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:26px}
.scene-dialog-secondary{min-height:44px;border:1px solid #1111111c;border-radius:var(--button-radius);background:#ffffff80;padding:10px 16px;color:#5b5e63;font-size:12px}
.scene-dialog-secondary:hover{background:#fff}
.scene-dialog-next{display:inline-flex;align-items:center;justify-content:center;gap:17px;min-width:112px;min-height:46px;background:#111;border:1px solid #111;border-radius:var(--button-radius);padding:12px 19px;color:#fff;font-weight:600;font-size:12px}
.scene-dialog-next:hover{background:#292929}
.scene-dialog button:focus-visible,.scene-dialog input:focus-visible,.scene-dialog textarea:focus-visible,.scene-dialog .card-choice input:focus-visible+.card-choice-face{outline:2px solid #111;outline-offset:3px}
.scene-canvas[data-scene-mode=night] .scene-hotspot:not([data-complete=true]){background:#171a1ded;color:#fff;border-color:#ffffff38;box-shadow:inset 0 1px 0 #ffffff0a,0 4px 18px #0003}
.scene-canvas[data-scene-mode=night] .scene-hotspot:not([data-complete=true]):hover{background:#2a2e32}
.scene-canvas[data-scene-mode=night] .scene-hotspot:not([data-complete=true]) .scene-hotspot-icon{background:#fff;color:#111}
.scene-canvas[data-scene-mode=night] .scene-selection-count{background:#171a1de6;color:#fff}
.scene-canvas[data-scene-mode=night] .scene-night-switch,.scene-canvas[data-scene-mode=night] .scene-sound,.scene-canvas[data-scene-mode=night] .scene-light-options{background:#151719d9;color:#fff;border-color:#ffffff52}
.scene-canvas[data-scene-mode=night] .scene-switch-track>span{background:#fff}
.scene-canvas[data-scene-mode=night] .scene-light-option[aria-pressed=true]>span:first-child{box-shadow:0 0 0 3px #151719,0 0 0 4px #ffffffd9}
body.questionnaire-open[data-question=roles][data-scene-mode=night] .question-navigation>button,body.questionnaire-open[data-question=roles][data-scene-mode=night] .question-navigation>a{background:#171a1ded;color:#fff;border-color:#ffffff38}
body.questionnaire-open[data-question=roles][data-scene-mode=night] .question-navigation .progress{background:#ffffff35}
body.questionnaire-open[data-question=roles][data-scene-mode=night] .question-navigation .progress span{background:#fff}
.scene-dialog[data-scene-mode=night]{background:linear-gradient(145deg,rgba(26,29,33,.96),rgba(18,21,24,.93));color:#f6f7f8;border-color:#ffffff38;box-shadow:inset 0 1px 0 #ffffff19,0 24px 80px #0005}
.scene-dialog[data-scene-mode=night] .card-question,.scene-dialog[data-scene-mode=night] .card-field label{color:#f6f7f8}
.scene-dialog[data-scene-mode=night] .scene-dialog-top p,.scene-dialog[data-scene-mode=night] .scene-question-progress>span,.scene-dialog[data-scene-mode=night] .card-field label>span{color:#adb3ba}
.scene-dialog[data-scene-mode=night] .scene-dialog-close,.scene-dialog[data-scene-mode=night] .scene-dialog-secondary{background:#292d32;color:#f6f7f8;border-color:#ffffff24}
.scene-dialog[data-scene-mode=night] .scene-dialog-close:hover,.scene-dialog[data-scene-mode=night] .scene-dialog-secondary:hover{background:#363b42}
.scene-dialog[data-scene-mode=night] .card-choice-face{background:#292d32;color:#f6f7f8;border-color:#ffffff29}
.scene-dialog[data-scene-mode=night] .card-choice input:checked+.card-choice-face{background:#0c0e10;border-color:#fff;box-shadow:0 0 0 1px #fff;color:#fff}
.scene-dialog[data-scene-mode=night] .card-choice-dot{border-color:#ffffff73}
.scene-dialog[data-scene-mode=night] .card-field input,.scene-dialog[data-scene-mode=night] .card-field textarea{background:#292d32;color:#fff;border-color:#ffffff29;color-scheme:dark}
.scene-dialog[data-scene-mode=night] .card-field input::placeholder,.scene-dialog[data-scene-mode=night] .card-field textarea::placeholder{color:#a5abb3}
.scene-dialog[data-scene-mode=night] .scene-question-progress progress{background:#ffffff25;color:#fff}
.scene-dialog[data-scene-mode=night] .scene-question-progress progress::-webkit-progress-bar{background:#ffffff25}
.scene-dialog[data-scene-mode=night] .scene-question-progress progress::-webkit-progress-value{background:#fff}
.scene-dialog[data-scene-mode=night] .scene-question-progress progress::-moz-progress-bar{background:#fff}
.scene-dialog[data-scene-mode=night] .scene-dialog-next{border-color:#ffffff3b}
.scene-dialog[data-scene-mode=night] .card-error{color:#fff;border-color:#fff}
.scene-dialog[data-scene-mode=night] button:focus-visible,.scene-dialog[data-scene-mode=night] input:focus-visible,.scene-dialog[data-scene-mode=night] textarea:focus-visible,.scene-dialog[data-scene-mode=night] .card-choice input:focus-visible+.card-choice-face{outline-color:#fff}
@keyframes scene-backdrop-in{from{opacity:0}to{opacity:1}}
@keyframes scene-backdrop-out{from{opacity:1}to{opacity:0}}
@media(max-width:600px){
 .scene-heading{top:5%;width:calc(100% - 88px);padding:0}.scene-heading h2{font-size:clamp(25px,6.8vw,32px)}.scene-heading p{margin-top:10px;font-size:12px}
 .scene-hotspot{font-size:12px;min-height:0;gap:6px;padding:6px 10px 6px 6px;border-radius:var(--button-radius);max-width:48%}
 .scene-hotspot-icon{width:18px;height:18px;font-size:15px}
 body.questionnaire-open[data-question=roles] .primary-button{min-width:174px;min-height:46px;font-size:13px;border-radius:var(--button-radius);padding:11px 20px}
 .scene-dialog{width:calc(100% - 24px);max-height:88svh;max-height:88dvh;margin:auto auto max(12px,env(safe-area-inset-bottom));border-radius:28px}
 .scene-dialog-content{padding:22px 22px max(25px,env(safe-area-inset-bottom))}
 .scene-dialog .card-question{font-size:27px}.scene-dialog .card-choice-face{min-height:58px}.scene-dialog .card-choice-text{font-size:12px}
}
@media(max-width:700px){
 .scene-ambience{left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));justify-content:center;gap:8px}
 .scene-ambience-controls{gap:8px}.scene-night-switch{padding:4px 11px;gap:7px}.scene-sound{padding:0}.scene-ambience-right{gap:4px}
 body.questionnaire-open[data-question=roles] .primary-button{bottom:max(83px,calc(env(safe-area-inset-bottom) + 71px))}
 .scene-selection-count{bottom:max(136px,calc(env(safe-area-inset-bottom) + 124px))}
}
@media(max-width:359px){.scene-hotspot{font-size:11px;gap:5px;padding-left:6px}.scene-hotspot-icon{width:17px;height:17px}.scene-dialog-content{padding-left:18px;padding-right:18px}.scene-dialog .card-choice-text{font-size:11px}}
@media(max-height:500px) and (min-width:701px){.scene-heading{top:3%}.scene-heading h2{font-size:21px}.scene-title-script{font-size:2.5em;padding:5px 0}.scene-heading p{font-size:11px;margin-top:6px}.scene-hotspot{font-size:12px;min-height:0}.scene-hotspot-icon{width:18px;height:18px}.scene-dialog{max-height:calc(100dvh - 20px)}}
@media(prefers-reduced-motion:reduce){.scene-night-switch,.scene-sound,.scene-light-options,.scene-hotspot,.scene-picture--day,.scene-picture--night,.scene-light-spill,.scene-heading,.scene-switch-track,.scene-switch-track>span,.scene-light-option>span:first-child{transition:none}.scene-dialog::backdrop{animation:none!important}}

/* The portfolio can display this original room in a short phone frame. Keep
   the participation choices and their action visible in that viewport. */
@media(max-width:600px) and (max-height:650px){
 .scene-dialog{max-height:calc(100dvh - 24px);margin:auto auto 12px}
 .scene-dialog-content{padding:14px}
 .scene-dialog-top{margin-bottom:8px}
 .scene-question-progress{margin-bottom:12px}
 .scene-dialog .card-question{font-size:clamp(20px,7.1vw,24px);line-height:1.12;margin-bottom:14px}
 .scene-dialog .card-choices{gap:6px}
 .scene-dialog .card-choice-face{min-height:46px;padding:5px;gap:4px}
 .scene-dialog .card-choice-face>img{width:26px;height:26px}
 .scene-dialog .card-choice-dot{width:13px;height:13px}
 .scene-dialog .card-choice-text{font-size:12px}
 .scene-dialog-actions{margin-top:12px}
 .scene-dialog-secondary,.scene-dialog-next{min-height:40px;padding:8px 12px}
}
