@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Italiana&display=swap');
:root{font-family:'DM Sans',sans-serif;color:#262d29;background:#eae9e1}*{box-sizing:border-box}body{margin:0;overflow:hidden}canvas{position:fixed;inset:0;width:100%;height:100%;touch-action:none;outline:none;cursor:grab}canvas:active{cursor:grabbing}header{position:absolute;top:30px;left:38px;right:38px;display:flex;justify-content:space-between;font-size:11px;letter-spacing:2px;pointer-events:none}.brand{color:inherit;text-decoration:none;font-weight:600;pointer-events:auto}.brand span{font-weight:400;opacity:.55;margin-left:15px}.edition{opacity:.55}main{position:absolute;top:120px;left:5%;pointer-events:none}.eyebrow,.label,label,.panel-title{font-size:10px;letter-spacing:1.8px}.eyebrow{color:#73796f}h1{font-family:'Italiana',Georgia,serif;font-weight:400;font-size:clamp(60px,6.5vw,100px);line-height:.95;letter-spacing:-3px;margin:22px 0}h1 em{font-family:Georgia,serif;font-weight:400}.intro{font-size:14px;line-height:1.8;color:#6a7168}aside{position:absolute;right:38px;top:145px;width:246px;padding:20px;border:1px solid #bfc5b8;background:#eeeee6d9;backdrop-filter:blur(12px)}.panel-title{display:flex;justify-content:space-between;border-bottom:1px solid #c8ccbf;padding-bottom:16px}.panel-title i{font-family:Georgia;letter-spacing:0;color:#808978}.label{margin-top:24px;color:#6e776c}.choice{display:flex;gap:5px;margin-bottom:26px}button{font:inherit;cursor:pointer}.choice button{width:50%;padding:10px 4px;border:1px solid #adb7a4;background:transparent;font-size:12px}.choice button[aria-pressed=true]{background:#334a3b;border-color:#334a3b;color:#fff}label{display:flex;justify-content:space-between}output{letter-spacing:0}input{width:100%;accent-color:#425d44;margin:18px 0 7px}.ends{display:flex;justify-content:space-between;font-size:10px;color:#7f8878}.primary{display:flex;justify-content:space-between;width:100%;padding:13px;border:0;background:#334a3b;color:white;font-size:12px;margin-top:26px}.reset{width:100%;border:0;background:none;color:#596452;font-size:11px;padding:16px 0}.anchor{border-top:1px solid #c8ccbf;padding-top:15px;font-size:10px;color:#717d69}.anchor span{color:#79946d;margin-right:5px}footer{position:absolute;bottom:28px;left:38px;right:38px;display:flex;justify-content:space-between;align-items:flex-end;pointer-events:none}.hint{font-size:13px}.hint span{font-size:20px;margin-right:10px}.credit{font-size:10px;line-height:1.8;color:#7a8175}.credit a{color:inherit;pointer-events:auto}.status{font-size:9px;letter-spacing:1.5px;color:#52694c;border:1px solid #bcc7b4;padding:10px;background:#eeeee6b0} @media(max-width:760px){header{top:20px;left:20px;right:20px}.brand span,.edition{display:none}main{top:65px;left:22px}h1{font-size:58px;margin:15px 0}.eyebrow{font-size:8px}.intro{font-size:11px}aside{top:auto;bottom:95px;right:15px;width:176px;padding:12px}.label{margin-top:12px}.choice{margin-bottom:15px}.primary{margin-top:15px}.ends,.anchor{font-size:8px}.panel-title,label,.label{font-size:8px}.reset{padding:10px 0}footer{left:20px;right:20px;bottom:12px}.hint{font-size:10px}.credit{font-size:8px}.status{font-size:7px;padding:6px}.hint span{display:none}}
@media(max-width:760px){aside{left:20px;right:20px;width:auto;bottom:95px;display:grid;grid-template-columns:1fr 1fr;gap:9px 14px}.panel-title{grid-column:1/3;grid-row:1}.label,.ends{display:none}.choice{grid-column:1;grid-row:2;margin:0}.choice button{font-size:10px;padding:8px 3px}aside label{grid-column:2;grid-row:2;align-items:center}aside input{grid-column:2;grid-row:3;margin:0}.primary{grid-column:1;grid-row:3;margin:0;padding:10px;font-size:10px}.reset{grid-column:1;grid-row:4;padding:5px 0;font-size:9px}.anchor{grid-column:2;grid-row:4;border:0;padding:5px 0;font-size:8px}}
.motion-controls{display:flex;align-items:center;justify-content:space-between;padding:6px 0 14px;font-size:11px}.motion-controls label{font-size:11px;letter-spacing:0;align-items:center;gap:6px}.motion-controls input{width:auto;margin:0}.motion-controls button{background:none;border:1px solid #bfc5b8;padding:5px 12px;color:inherit;font-size:10px}@media(max-width:760px){aside{bottom:95px}.motion-controls{grid-column:1/3;grid-row:5;padding:0}.motion-controls label{font-size:10px}.motion-controls input{margin:0}.anchor{display:none}.reset{grid-column:2;grid-row:4}.motion-controls button{font-size:9px;padding:3px 10px}}
aside{top:100px;max-height:calc(100dvh - 190px);overflow-y:auto;scrollbar-width:thin}.tool-choice{margin:18px 0 15px}.tool-choice button{font-size:10px;padding:9px 3px}.turntable-controls{border-top:1px solid #c8ccbf;margin-top:16px;padding-top:15px}.turntable-controls input{margin:10px 0}.turntable-controls button{display:block;margin:0 0 16px auto;background:none;border:0;font-size:10px;color:#596452}.primary{margin-top:16px}.label{margin-top:16px}.choice{margin-bottom:16px}@media(max-width:760px){aside{top:auto;max-height:220px;display:block;bottom:95px;padding:12px}.panel-title{margin-bottom:10px}.tool-choice{margin:8px 0}.choice{margin-bottom:10px}.label,.ends{display:none}aside label{font-size:9px}aside input{margin:9px 0}.turntable-controls{margin-top:12px;padding-top:12px}.primary{margin-top:10px}.reset{padding:10px 0}.motion-controls{padding:4px 0}.hint{max-width:240px}.turntable-controls button{margin-bottom:12px}}
@media(max-width:760px){aside::after{content:"Scroll for more controls ↓";display:block;text-align:center;font-size:9px;color:#717d69;padding-top:9px}}
.slow-icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.motion-controls label{gap:5px;font-size:10px;white-space:nowrap}.lighting-controls{border-top:1px solid #c8ccbf;margin-top:16px;padding-top:12px}.lighting-controls summary{cursor:pointer;font-size:10px;letter-spacing:1.8px;display:flex;justify-content:space-between}.lighting-choice{margin:12px 0}.lighting-choice button{width:33.333%;font-size:10px;padding:8px 2px}.lighting-controls input{margin:10px 0}.lighting-controls>button{border:1px solid #bfc5b8;background:transparent;color:inherit;padding:7px 10px;width:100%;font-size:11px}.lighting-controls>button[aria-pressed=true]{background:#334a3b;color:white}#material-description{font-size:10px;line-height:1.5;color:#717d69;margin:8px 0 10px}@media(max-width:760px){.lighting-controls{margin-top:12px}.motion-controls label{font-size:10px}.slow-icon{width:17px;height:17px}}
.turntable-controls summary{cursor:pointer;font-size:10px;letter-spacing:1.5px;display:flex;justify-content:space-between}.turntable-controls[open] summary{margin-bottom:15px}.motion-controls{padding:12px 0 0}.reset{padding:12px 0}.lighting-controls{margin-top:12px}.turntable-controls{margin-top:0}
.turntable-controls{position:sticky;top:-20px;z-index:3;background:#eeeee6;border-top:0;border-bottom:1px solid #c8ccbf;padding:14px 0 12px;margin:0}.turntable-controls input{margin:10px 0}.turntable-controls button{margin:0 0 12px auto}.tool-choice{margin-top:16px}@media(max-width:760px){.turntable-controls{top:-12px;padding:10px 0;background:#eeeee6}.turntable-controls label{font-size:9px}.turntable-controls input{margin:8px 0}.turntable-controls button{margin-bottom:8px;font-size:9px}.panel-title{margin-bottom:0}}
@media(max-width:760px){.turntable-controls{display:grid;grid-template-columns:1fr 1fr;column-gap:15px;padding:10px 0 8px}.turntable-controls label[for=rotation]{grid-column:1;grid-row:1}.turntable-controls label[for=translucency]{grid-column:2;grid-row:1}.turntable-controls #rotation{grid-column:1;grid-row:2}.turntable-controls #translucency{grid-column:2;grid-row:2}.turntable-controls #front{grid-column:1/3;grid-row:3;margin:1px auto 0;padding:3px}.tool-choice{margin-top:10px}}
.material-top{padding-top:16px}.material-top .choice{margin-bottom:8px}.turntable-controls{padding-top:10px;margin-bottom:18px}.secondary-controls{border-top:1px solid #c8ccbf;margin-top:15px;padding-top:2px}.secondary-controls #front{display:block;margin:10px auto 0;background:none;border:0;color:#596452;font-size:11px;cursor:pointer}.firmness-controls{margin-top:4px}@media(max-width:760px){.material-top{padding-top:12px}.turntable-controls{display:block;padding:10px 0 5px;margin-bottom:12px}.turntable-controls label[for=translucency]{display:flex}.turntable-controls #translucency{display:block;width:100%}.material-top #material-description{margin-bottom:6px}.secondary-controls #front{font-size:10px}}
.language-options{display:flex;gap:8px;pointer-events:auto;margin-top:-6px}.language-options button{display:grid;place-items:center;width:39px;height:30px;border:1px solid transparent;background:transparent;padding:4px;border-radius:3px}.language-options button[aria-pressed=true]{border-color:#536c55;background:#ffffff50}.language-options svg{width:28px;height:19px;box-shadow:0 1px 3px #0002}.colour-options{border-top:1px solid #c8ccbf;margin-top:17px;padding-top:13px}.colour-options>p{font-size:10px;letter-spacing:1.8px;margin:0 0 12px}.theme-choices{display:flex;gap:5px}.theme-choices button{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;border:1px solid #bdc5b6;padding:9px 3px;background:transparent;color:inherit;font-size:9px}.theme-choices button[aria-pressed=true]{border-color:#3c5b42;box-shadow:inset 0 0 0 1px #3c5b42}.theme-swatch{display:block;width:28px;height:15px;border-radius:2px;border:1px solid #0002}.theme-swatch.sage{background:linear-gradient(110deg,#eae9e1 65%,#496b52 65%)}.theme-swatch.sand{background:linear-gradient(110deg,#eee2d0 65%,#a07146 65%)}.theme-swatch.night{background:linear-gradient(110deg,#182923 65%,#a6bd9e 65%)}.material-top .tool-choice{margin:8px 0}.material-top #material-description{margin-top:10px}body{--ui-panel:#eeeee6;--ui-ink:#262d29;--ui-muted:#717d69;--ui-line:#bfc5b8;--ui-accent:#334a3b;--ui-on-accent:#fff;color:var(--ui-ink)}body[data-theme=sand]{--ui-panel:#f4eadc;--ui-ink:#493c30;--ui-muted:#88735e;--ui-line:#c8b79d;--ui-accent:#795b40}body[data-theme=night]{--ui-panel:#24382f;--ui-ink:#e0e9dc;--ui-muted:#afbfab;--ui-line:#506454;--ui-accent:#b2c7a5;--ui-on-accent:#17291d}aside,.turntable-controls{background:var(--ui-panel);color:var(--ui-ink)}aside,.panel-title,.turntable-controls,.lighting-controls,.secondary-controls,.anchor,.colour-options{border-color:var(--ui-line)}.choice button,.theme-choices button,.motion-controls button{border-color:var(--ui-line);color:var(--ui-ink)}.choice button[aria-pressed=true]{background:var(--ui-accent);border-color:var(--ui-accent);color:var(--ui-on-accent)}input{accent-color:var(--ui-accent)}.intro,.eyebrow,.credit,.ends,#material-description,.anchor,.reset,.secondary-controls #front{color:var(--ui-muted)}body[data-theme=night] .language-options button[aria-pressed=true],body[data-theme=night] .theme-choices button[aria-pressed=true]{border-color:#b2c7a5;box-shadow:inset 0 0 0 1px #b2c7a5}body[data-theme=night] .status{background:#24382fcc;color:#d3e3c8;border-color:#506454}html[lang=de] h1{font-size:clamp(42px,5vw,76px);letter-spacing:-2px}html[lang=de] main{max-width:47vw}@media(max-width:760px){header .language-options{gap:4px}.language-options button{width:33px;height:27px}.language-options svg{width:24px;height:16px}header{align-items:center}.edition{display:none}.colour-options{padding-top:10px}.theme-choices button{font-size:10px}html[lang=de] main{max-width:calc(100vw - 40px)}html[lang=de] h1{font-size:42px}aside::after{content:attr(data-scroll-hint);color:var(--ui-muted)}}
aside{background:color-mix(in srgb,var(--ui-panel) 82%,transparent);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.turntable-controls{background:color-mix(in srgb,var(--ui-panel) 90%,transparent);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.tool-choice button{width:33.333%;flex:1;min-width:0;line-height:1.35;font-size:10px;padding:8px 3px;overflow-wrap:normal}.tool-choice{align-items:stretch}.tool-choice button:last-child{flex:.8}@media(max-width:760px){.tool-choice button{font-size:10px;min-height:35px}}
aside{background:color-mix(in srgb,var(--ui-panel) 48%,transparent);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.turntable-controls{background:color-mix(in srgb,var(--ui-panel) 45%,transparent);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.tool-choice #tool-rotate,.tool-choice #tool-both{white-space:nowrap}.tool-choice button{flex:1}.tool-choice button:last-child{flex:.8}
body[data-theme=sage]{--ui-panel:#f1f2f3;--ui-ink:#2c3033;--ui-muted:#757c80;--ui-line:#bfc4c8;--ui-accent:#4a535b;--ui-on-accent:#fff}.theme-swatch.sage{background:linear-gradient(110deg,#f6f6f6 65%,#737b82 65%)}body[data-theme=sage] .theme-choices button[aria-pressed=true],body[data-theme=sage] .language-options button[aria-pressed=true]{border-color:#737b82;box-shadow:inset 0 0 0 1px #737b82}.story-links{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-top:20px;max-width:270px;pointer-events:auto}#about-experiment{border:0;border-bottom:1px solid var(--ui-line);background:transparent;color:var(--ui-ink);padding:0 0 4px;font-size:12px;letter-spacing:.1px}.model-link{display:inline-flex;gap:8px;align-items:center;font-size:11px;color:var(--ui-muted);line-height:1.5;text-decoration:none}.model-link:hover{color:var(--ui-ink)}.model-link>span:first-of-type{border-bottom:1px solid transparent}.model-link:hover>span:first-of-type{border-color:currentColor}.sketchfab-icon{width:21px;height:21px;flex-shrink:0}.intro{max-width:290px}#story-dialog{max-width:610px;width:calc(100vw - 40px);max-height:85dvh;overflow-y:auto;border:1px solid var(--ui-line);background:var(--ui-panel);color:var(--ui-ink);padding:38px 42px;box-shadow:0 20px 90px #0003}#story-dialog::backdrop{background:#15221bb0;backdrop-filter:blur(7px)}#story-dialog .story-eyebrow{font-size:9px;letter-spacing:1.8px;margin:0 0 20px;color:var(--ui-muted)}#story-dialog h2{font-family:'Italiana',Georgia,serif;font-size:43px;font-weight:400;line-height:1.1;margin:0 0 25px}#story-dialog p{font-size:13px;line-height:1.85;margin:0 0 16px}.story-original{padding:10px 0 21px}.story-attribution{border-top:1px solid var(--ui-line);padding-top:20px;color:var(--ui-muted)}#story-dialog .story-attribution{font-size:11px;margin-bottom:8px}.company-link{font-size:11px;color:var(--ui-muted);text-decoration:none}#close-story{display:block;margin:26px 0 0 auto;padding:10px 17px;border:1px solid var(--ui-accent);background:var(--ui-accent);color:var(--ui-on-accent);font-size:11px}a:focus-visible,button:focus-visible{outline:2px solid var(--ui-accent);outline-offset:4px}@media(max-width:760px){.story-links{gap:8px;margin-top:12px;max-width:300px}#about-experiment{font-size:10px}.model-link{font-size:9px}.sketchfab-icon{width:17px;height:17px}.intro{max-width:320px}.story-links{flex-direction:row;flex-wrap:wrap;gap:8px 15px}#story-dialog{padding:27px 24px}#story-dialog h2{font-size:33px}#story-dialog p{font-size:12px}html[lang=de] .story-links{max-width:310px}}
#mobile-controls-toggle{display:none}#panel-content{display:contents}@media(max-width:760px){body{height:100dvh}header{top:max(18px,env(safe-area-inset-top));left:20px;right:20px}main{top:74px;left:22px;right:22px}.eyebrow{font-size:8px;letter-spacing:1.5px}h1{font-size:54px;margin:15px 0 12px}.intro{font-size:11px;line-height:1.65;margin:0;max-width:310px}.story-links{margin-top:12px;gap:10px 14px}#about-experiment{font-size:10px}.model-link{font-size:9px}aside{position:fixed;left:16px;right:16px;top:auto;bottom:max(17px,env(safe-area-inset-bottom));width:auto;max-height:none;padding:0;overflow:hidden;border-radius:16px;box-shadow:0 10px 40px #0002;background:color-mix(in srgb,var(--ui-panel) 84%,transparent);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);z-index:5}aside::after{display:none}#mobile-controls-toggle{display:flex;align-items:center;gap:10px;width:100%;min-height:57px;padding:0 17px;border:0;background:transparent;color:var(--ui-ink);text-align:left;font-size:12px;font-weight:500}#mobile-controls-toggle>svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;flex-shrink:0}#mobile-mode-summary{margin-left:auto;color:var(--ui-muted);font-weight:400;font-size:9px;max-width:145px;text-align:right;line-height:1.3}.sheet-chevron{font-size:20px;line-height:1;transition:transform .2s}aside[data-open=true] .sheet-chevron{transform:rotate(180deg)}#panel-content{display:none}aside[data-open=true] #panel-content{display:block;max-height:min(46dvh,390px);overflow-y:auto;overscroll-behavior:contain;padding:0 17px 20px;scrollbar-width:thin;border-top:1px solid var(--ui-line)}aside .panel-title{display:none}.material-top{padding-top:15px}.turntable-controls{top:0;padding:12px 0 8px}.choice button{min-height:39px}.tool-choice button{min-height:38px}.material-top #material-description{font-size:10px}.firmness-controls{margin-top:14px}.lighting-controls{margin-top:16px}footer{position:fixed;left:22px;right:22px;bottom:88px;display:block;text-align:center}.hint{max-width:100%;font-size:10px;line-height:1.6;margin:0 0 10px}.credit{font-size:7px;line-height:1.6;margin:0}.status{position:fixed;top:57px;right:21px;font-size:6px;letter-spacing:1px;padding:4px 6px;border:0;background:transparent!important;opacity:.65}.colour-options{padding-top:14px}.colour-options .theme-choices button{font-size:10px}.secondary-controls{margin-top:16px}.anchor{display:block;font-size:9px}.theme-choices button{padding:11px 3px}html[lang=de] main{max-width:none}html[lang=de] h1{font-size:40px}}@media(max-width:760px) and (max-height:750px){main{top:64px}h1{font-size:45px;margin:11px 0}.eyebrow{margin-bottom:10px}.intro{font-size:10px}.story-links{margin-top:9px}footer .credit{font-size:6px}footer{bottom:84px}.hint{font-size:9px;margin-bottom:7px}#mobile-controls-toggle{min-height:53px}}@media(prefers-reduced-motion:reduce){.sheet-chevron{transition:none}}
header{align-items:center}.brand{display:flex;align-items:center;gap:16px}.brand-logo{display:block;width:140px;height:auto;mix-blend-mode:multiply}.brand span{margin-left:0}body[data-theme=night] .brand-logo{filter:grayscale(1) invert(1);mix-blend-mode:screen}.theme-swatch.sage{background:linear-gradient(180deg,#cfd3d8 0%,#f8f9fa 45%,#fff 100%)}@media(max-width:760px){header{top:max(14px,env(safe-area-inset-top))}.brand-logo{width:112px}.brand{gap:0}.brand span{display:none}}
.brand-logo{filter:brightness(1.08)}body[data-theme=night] .brand-logo{filter:brightness(1.08) grayscale(1) invert(1)}

/* Mobile settings use a separate lower pane, leaving the model unobstructed. */
@media(max-width:760px){
 body[data-controls-open=true] canvas{inset:54px 0 auto;height:calc(58dvh - 64px);width:100%}
 body[data-controls-open=true] main,body[data-controls-open=true] footer{display:none}
 body[data-controls-open=true] aside{bottom:max(12px,env(safe-area-inset-bottom));max-height:42dvh}
 body[data-controls-open=true] aside[data-open=true] #panel-content{max-height:calc(42dvh - 58px);padding-bottom:16px}
 body[data-controls-open=true] .status{display:none}
}

/* Reserve real viewport space for the introduction, model and settings. */
@media(max-width:760px){
 main{top:65px;left:22px;right:22px;max-height:185px}
 h1{font-size:44px;margin:12px 0;line-height:.94}
 .eyebrow{margin:0 0 10px;font-size:8px}
 .intro{font-size:10px;line-height:1.6;margin:10px 0}
 .story-links{margin-top:10px}
 canvas{inset:250px 0 130px;height:calc(100dvh - 380px);width:100%}
 body[data-controls-open=true] canvas{inset:54px 0 auto;height:calc(56dvh - 66px)}
 body[data-controls-open=true] aside{display:flex;flex-direction:column;height:44dvh;max-height:none;bottom:max(12px,env(safe-area-inset-bottom));overflow:hidden}
 #mobile-controls-toggle{flex:0 0 54px;min-height:54px}
 body[data-controls-open=true] aside[data-open=true] #panel-content{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;padding:0 17px 72px;scroll-padding:12px 0 72px;overscroll-behavior:contain}
 aside .turntable-controls{position:static;backdrop-filter:none;-webkit-backdrop-filter:none;background:transparent}
 #panel-content input[type=range]{touch-action:none}
 html[lang=de] h1{font-size:37px}
}
@media(max-width:760px) and (max-height:700px){
 main{top:58px}h1{font-size:36px;margin:9px 0}.intro{margin:6px 0}.story-links{margin-top:6px}
 canvas{top:220px;height:calc(100dvh - 340px);bottom:120px}
}
@media(max-width:760px){body[data-theme=sage]{background:linear-gradient(180deg,#d5d8dc 0,#fff 250px);background-attachment:fixed}body[data-theme=sand]{background:#eee2d0}body[data-theme=night]{background:#182923}}
@media(max-width:760px){html{height:100%;overflow:hidden;overscroll-behavior:none}body{position:fixed;inset:0;width:100%;height:100dvh;overflow:hidden;overscroll-behavior:none}}
