@font-face{font-family:"DM Sans";src:url(assets/design/dm-sans.woff2) format("woff2");font-weight:400 700;font-display:swap}
@font-face{font-family:"Instrument Serif";src:url(assets/design/instrument-serif.ttf) format("truetype");font-display:swap}
:root{--ink:#202c25;--soft:#536056;--paper:#f7f6f1;--line:#d5d8cf;--leaf:#cde5aa;--serif:"Instrument Serif",Georgia,serif;font-family:"DM Sans",Arial,sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}body{margin:0}button,select,input{font:inherit;accent-color:#34563a}button{cursor:pointer;color:inherit;border:0;background:none;touch-action:manipulation}button:disabled{cursor:wait;opacity:.55}a{color:inherit}button:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible,canvas:focus-visible,a:focus-visible{outline:3px solid #60853d;outline-offset:3px}[hidden]{display:none!important}
.wrap{max-width:1410px;width:calc(100% - clamp(32px,8vw,124px));margin-inline:auto}
.mast{border-bottom:1px solid var(--line)}.mast-inner{min-height:65px;display:flex;align-items:center;justify-content:space-between}.brand{width:132px;height:auto}.export{display:inline-flex;align-items:center;gap:16px;background:var(--ink);color:#fff;border-radius:4px;padding:10px 14px;font-size:13px;font-weight:600}.export span{font-size:18px;line-height:1;color:var(--leaf)}.export:hover{background:#304837}
.intro,.row,.file-actions,figcaption,figcaption>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.intro{margin:25px 0 22px;align-items:flex-end}h1{font:400 clamp(42px,4.7vw,72px)/.99 var(--serif);letter-spacing:-.038em;margin:0}.switch{display:flex;gap:3px;border:1px solid #bec6b8;padding:3px;border-radius:100px}.switch button{padding:8px 16px;border-radius:30px;font-size:13px;font-weight:600}.switch button[aria-pressed=true]{background:#293a2d;color:white}
.workspace{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(325px,.84fr);gap:clamp(24px,3.8vw,65px);align-items:start;margin-bottom:32px}
.viewer{margin:0;min-width:0;position:sticky;top:12px}.stage{height:clamp(465px,69vh,800px);isolation:isolate;position:relative;background:#bcc1bc;overflow:hidden;border-radius:5px}.stage.mesh-mode{background:radial-gradient(ellipse at 47% 40%,#faf9f3 5%,#e8e8df 85%)!important}
.photo-frame{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;overflow:hidden}.photo-frame canvas{height:100%;width:auto;max-width:100%;max-height:100%;aspect-ratio:auto;display:block;touch-action:pan-y;cursor:grab}.photo-frame canvas:active,#mesh:active{cursor:grabbing}#mesh{width:100%;height:100%;display:block;touch-action:none;cursor:grab}.frame-label,.detail,.views{position:absolute;z-index:2}.frame-label{top:15px;left:16px;background:#faf9f0e8;color:#27312b;font-size:11px;font-weight:600;padding:6px 10px;line-height:1.3;border-radius:3px}.detail{right:16px;top:14px;display:flex;align-items:center;gap:5px;background:#faf9f0e8;border-radius:3px;padding:6px 9px;font-size:11px;font-weight:600}.detail span{font-size:16px;line-height:1}.detail[aria-pressed=true]{background:#26392c;color:white}.views{bottom:15px;left:50%;transform:translateX(-50%);display:flex;max-width:calc(100% - 20px);gap:1px;padding:3px;border:1px solid #d4d9ca;background:#f7f7f0ed;border-radius:24px;white-space:nowrap}.views button{border-radius:15px;font-size:11px;padding:6px 10px}.views button[aria-pressed=true]{background:#314435;color:white}
figcaption{margin-top:14px}figcaption>div{justify-content:start;flex-wrap:wrap;gap:12px}figcaption strong{font:400 29px/1.08 var(--serif);letter-spacing:-.02em}#caption-color{border-left:1px solid var(--line);padding-left:12px;font-size:13px;color:var(--soft)}figcaption a{font-size:12px;text-decoration:none;border-bottom:1px solid #adb2a8;white-space:nowrap}.note{color:var(--soft);font-size:12px;margin:8px 0 0}
.editor{min-width:0}.piece-section{padding:0 0 20px;border-bottom:1px solid var(--line);margin-bottom:18px}h2{font-size:19px;font-weight:650;letter-spacing:-.035em;margin:0}.models{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.model{display:flex;gap:9px;align-items:center;text-align:left;min-width:0;border:1px solid var(--line);padding:6px;background:#fcfbf7;border-radius:4px}.model[aria-pressed=true]{background:#eaf1df;border-color:#587055;box-shadow:inset 0 0 0 1px #587055}.model img{width:43px;height:52px;object-fit:cover;object-position:50% 38%;border-radius:2px;background:#eee}.model>span{font-size:14px;font-weight:650;line-height:1.15}.model small{display:block;margin-top:4px;font-weight:400;font-size:11px;color:var(--soft)}
.color-title{margin:16px 0 8px}#color-name{font-size:12px;color:var(--soft)}.colors{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.swatch{width:37px;height:37px;position:relative;border:1px solid transparent;border-radius:50%;display:grid;place-items:center}.swatch:after{content:"";border-radius:100%;width:27px;height:27px;background:var(--tone);box-shadow:inset 0 0 0 1px #0002}.swatch[aria-pressed=true]{border-color:var(--ink)}
.text-btn,.replace,.subtle{font-size:12px;font-weight:600;padding:4px 0}.text-btn,.replace{color:#314d36}.text-btn:hover,.replace:hover,.subtle:hover{text-decoration:underline}.subtle{color:var(--soft);font-weight:400}.mark-list{display:flex;flex-direction:column;gap:5px;margin-top:10px}.mark{display:grid;grid-template-columns:56px minmax(0,1fr) auto;text-align:left;gap:10px;align-items:center;padding:7px 10px 7px 7px;border:1px solid var(--line);border-radius:4px;background:#fbfbf7}.mark[aria-pressed=true]{border-color:#869581;background:#eef1e7}.mark i{width:55px;height:36px;display:grid;place-items:center;border-radius:2px;overflow:hidden}.mark i canvas{max-width:80%;max-height:76%;width:auto;height:auto;object-fit:contain}.mark strong,.mark small{display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mark strong{font-size:13px;font-weight:600}.mark small{font-size:11px;color:var(--soft);margin-top:2px}.mark b{width:9px;height:9px;border:1px solid #869581;border-radius:50%}.mark[aria-pressed=true] b{background:#445d43;border-color:#445d43}.file-actions{justify-content:flex-start;gap:16px;margin:4px 0 12px}.check,.input-label,.size-head label{font-size:13px;font-weight:550}.check{display:flex;align-items:center;gap:5px;margin:8px 0 13px;font-size:12px;font-weight:400}.check input{margin:0}.input-label{display:block;margin-bottom:5px}select{width:100%;border:1px solid #b7c1b2;background:#fafaf5;color:var(--ink);border-radius:4px;padding:8px 9px;font-size:13px}.size-head{margin:12px 0 3px}.size-head output{font-size:12px;font-variant-numeric:tabular-nums}input[type=range]{width:100%;margin:0;min-height:24px;cursor:pointer}
details{border-top:1px solid var(--line);padding-top:8px;margin-top:7px}summary{cursor:pointer;font-size:12px;color:var(--soft);width:fit-content;padding:3px 0}.sliders{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;align-items:center;margin-top:6px;font-size:12px}.applications p{font-size:12px;color:var(--soft);margin:10px 0}#status:empty{display:none}#status[data-error=true]{color:#8a3226}
@media(min-width:1650px){.stage{height:760px}}
@media(max-width:860px){.wrap{width:calc(100% - 36px)}.workspace{grid-template-columns:minmax(0,1.2fr) minmax(290px,.9fr);gap:18px}.model img{width:32px;height:45px}.model{gap:5px}.stage{height:clamp(420px,57vh,600px)}.views button{padding:6px}.intro{margin:22px 0 15px}}
@media(max-width:690px){.wrap{width:calc(100% - 28px)}.mast-inner{min-height:52px}.brand{width:112px}.export{padding:7px 10px;font-size:12px}.intro{align-items:flex-start;gap:12px;flex-direction:column;margin:16px 0 11px}h1{font-size:43px}.switch button{padding:6px 14px;font-size:12px}.workspace{display:flex;flex-direction:column;gap:18px}.viewer{position:static;width:100%}.stage{height:clamp(305px,48svh,490px)}.editor{width:100%}.frame-label{left:9px;top:9px}.detail{top:9px;right:9px}.views{bottom:8px}figcaption{margin-top:10px}figcaption strong{font-size:24px}figcaption>div{gap:6px}#caption-color{padding-left:7px;font-size:11px}.note{font-size:11px}.model img{width:43px;height:48px}.piece-section{margin-bottom:14px;padding-bottom:13px}.colors{gap:7px}.mark-list{gap:7px}}
.stage{background-size:100% 100%}.palette{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.custom-color{width:31px;height:31px;border-radius:100%;border:1px dashed #788670;position:relative;display:grid;place-items:center;cursor:pointer}.custom-color span{pointer-events:none}.custom-color input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.custom-color:focus-within{outline:2px solid #60853d;outline-offset:3px}.custom-color.active{background:var(--tone);border:2px solid var(--ink);color:transparent}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#custom-fields{display:flex;align-items:center;gap:10px;margin-top:8px;font-size:12px}#hex{width:91px;padding:5px 8px;border:1px solid #b7c1b2;color:var(--ink);background:#fff;border-radius:3px}
.finish-row{display:flex;align-items:center;justify-content:space-between;margin:8px 0 12px}.finish-row .input-label{margin:0}.finishes{display:flex;gap:2px;background:#e9eae1;border:1px solid #d5d8ca;border-radius:4px;padding:2px}.finishes button{font-size:11px;padding:4px 8px;border-radius:2px}.finishes button[aria-pressed=true]{color:#fff;background:#435943}
.frame-label{pointer-events:none}.orbit-tools{position:absolute;z-index:2;bottom:14px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:2px;background:#f8f8eef5;border:1px solid #c6cabb;border-radius:24px;padding:3px 6px;white-space:nowrap;color:#2d3d30;font-size:12px;pointer-events:none}.orbit-tools button{pointer-events:auto;width:35px;height:32px;border-radius:15px;font-size:21px}.orbit-tools button:hover{background:#e2e8d9}.orbit-tools output{min-width:32px;text-align:center;font-size:11px;font-variant-numeric:tabular-nums}#orbit-help{padding:0 10px;border-right:1px solid #c2c9b9}.orbit-tools #reset-camera{border-left:1px solid #cad0c1;border-radius:0}.inspect-finish{padding:6px 0;margin:-4px 0 9px;color:#2c563d;font-size:12px;font-weight:650;text-decoration:underline;text-underline-offset:3px}.edit-history{display:flex;gap:16px;border-top:1px solid var(--line);margin-top:10px;padding-top:8px}.edit-history button{font-size:12px;padding:5px 0}.edit-history button:disabled{cursor:default;opacity:.43}
#macro{width:min(780px,calc(100% - 24px));max-height:93svh;overflow:auto;padding:clamp(14px,2vw,25px);border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink)}#macro::backdrop{background:#111c17aa}.macro-heading,.macro-footer{display:flex;justify-content:space-between;gap:12px;align-items:center}.macro-heading h2{font:36px/1 var(--serif);margin:0}.macro-heading p,.macro-footer p{font-size:12px;color:var(--soft);margin:5px 0}.macro-heading button{font-size:12px;border:1px solid var(--line);border-radius:4px;padding:8px}.macro-heading{margin-bottom:14px}.macro-footer{margin-top:11px}.macro-footer .switch button{padding:5px 10px}.macro-footer .switch{flex-shrink:0}#macro-canvas{display:block;width:100%;height:auto;border-radius:3px;touch-action:none;cursor:grab}#macro-canvas:active{cursor:grabbing}.photo-frame canvas{touch-action:none}
#mesh-software{width:100%;height:100%;display:block;touch-action:none;cursor:grab}#mesh-software:active{cursor:grabbing}
.carry{display:block;margin-top:12px;font-size:12px;color:#315339;font-weight:600;padding:4px 0}.carry:hover{text-decoration:underline}
.person-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(275px,.85fr);align-items:start;gap:clamp(24px,4vw,70px);margin-bottom:28px}.person-stage{position:relative;isolation:isolate;border-radius:6px;background:#e8ece1;min-height:340px;height:clamp(465px,68vh,765px);overflow:hidden}.person-empty{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:clamp(25px,5.2vw,92px);background:linear-gradient(130deg,#e3e8da,#edf0e7 73%)}.person-empty h2{font:400 clamp(36px,4.4vw,66px)/.98 var(--serif);letter-spacing:-.035em;color:#27392c}.person-empty p{font-size:15px;line-height:1.6;max-width:37ch;margin:17px 0 22px;color:#4b5d4c}.person-empty small{color:#586559;font-size:11px;margin-top:8px}.person-stage>img,.person-stage #person-model{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.person-overlay{position:absolute;bottom:13px;left:50%;transform:translateX(-50%);display:flex;white-space:nowrap;gap:2px;border:1px solid #c7cfc0;border-radius:20px;padding:3px;background:#f9faf4ed}.person-overlay button{font-weight:550;font-size:12px;padding:6px 10px;border-radius:15px}.person-overlay button[aria-pressed=true]{background:#26392e;color:#fff}.person-controls section{border-bottom:1px solid var(--line);padding-bottom:19px;margin-bottom:18px}.person-controls p{font-size:13px;line-height:1.55;color:var(--soft)}.selection-piece{display:flex;gap:14px;align-items:center;margin-top:13px}.selection-piece img{width:75px;height:85px;object-fit:contain;background:#fafafa;border:1px solid var(--line);border-radius:4px}.selection-piece strong{font-size:15px}.selection-piece p{margin:3px 0}.person-controls .check{line-height:1.5;align-items:flex-start;font-weight:400;margin:10px 0}.person-controls .check input{margin-top:3px}.person-controls .export:disabled{cursor:not-allowed}.person-import{margin:13px 0}.person-import summary{font-size:13px}.person-import p{margin:6px 0}#input-actions,#model-actions{display:flex;gap:14px;margin-bottom:10px}#person-message:empty{display:none}#back-person{margin-top:16px}
@media(max-width:690px){.person-layout{display:flex;flex-direction:column;gap:16px}.person-stage{height:clamp(315px,52svh,490px);min-height:0;width:100%}.person-controls{width:100%}.person-empty{padding:26px}.person-empty h2{font-size:43px}.person-empty p{font-size:14px;margin:11px 0 18px}.person-controls section{padding-bottom:12px;margin-bottom:13px}}
#open-example{margin-top:20px;text-decoration:underline;text-underline-offset:3px}#person-model canvas{display:block;touch-action:none}#person-model{overflow:hidden}
.person-empty{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1fr);gap:clamp(12px,2.5vw,38px);padding:14px clamp(14px,2.2vw,38px);align-items:center;background:#eeeee7}.person-empty #example-poster{width:100%;height:100%;max-height:100%;object-fit:contain;mix-blend-mode:multiply}.person-invitation h2{font-size:clamp(35px,3.7vw,58px)}.person-invitation small{display:block}.person-invitation #open-example{display:block;text-align:left}.person-stage{background:#eeeee7}
@media(max-width:900px){.person-layout{grid-template-columns:minmax(0,1.35fr) minmax(245px,.85fr)}.person-empty{grid-template-columns:minmax(0,.66fr) minmax(0,1fr);gap:9px}.person-invitation h2{font-size:36px}.person-invitation p{font-size:13px;margin:10px 0 13px}.person-invitation .export{font-size:12px;padding:8px 10px}}
@media(max-width:690px){.person-empty{grid-template-columns:minmax(0,.70fr) minmax(0,1fr);padding:12px;gap:10px}.person-invitation h2{font-size:34px}.person-invitation #open-example{margin-top:12px}}
.compare-photos{position:absolute;inset:0;--original:50%;background:#f7f6f1}
.compare-photos>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
#compare-original{clip-path:inset(0 calc(100% - var(--original)) 0 0)}
.compare-photos::after{content:"";position:absolute;top:0;bottom:80px;left:var(--original);width:1px;background:#53605688;pointer-events:none}
.compare-captions{position:absolute;inset:12px 12px auto;display:flex;justify-content:space-between;pointer-events:none}
.compare-captions span,.compare-photos label{background:#faf9f2ef;border-radius:4px;font-size:12px;padding:5px 9px}
.compare-photos label{position:absolute;z-index:1;bottom:57px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:10px;white-space:nowrap;max-width:95%}
.compare-photos input{width:clamp(95px,17vw,175px);margin:0}
.example-options{position:absolute;top:12px;left:12px;display:flex;gap:3px;background:#faf9f2ef;border-radius:5px;padding:3px}
.example-options button{font-size:11px;padding:6px 9px;border-radius:3px}
.example-options button[aria-pressed=true]{background:#26392e;color:white}
.person-overlay{max-width:calc(100% - 16px);width:max-content;justify-content:center}
@media(max-width:420px){.person-overlay button{font-size:10px;padding:6px 7px}.compare-captions{top:54px}}
.person-stage #person-model{inset:48px 0 52px;height:calc(100% - 100px)}
.person-stage>img,.compare-photos>img{padding:48px 0 52px}
@media(max-width:690px){.person-stage{height:clamp(420px,61svh,580px)}}

#person-products{display:inline-flex;margin:12px 12px 0 0}#person-upload-logo{font-size:12px;text-decoration:underline;text-underline-offset:3px}#person-artwork-canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:grab}#person-artwork-canvas:active{cursor:grabbing}.artwork-hint{position:absolute;top:12px;left:12px;max-width:calc(100% - 24px);background:#faf9f2ed;color:#314435;padding:7px 10px;border:1px solid #d5d8cf;border-radius:4px;font-size:11px;pointer-events:none}.fine-adjustments{display:grid;grid-template-columns:1fr;gap:3px;margin-top:12px}.fine-adjustments label{display:flex;justify-content:space-between;font-size:12px;margin-top:8px}.fine-adjustments output{font-variant-numeric:tabular-nums;color:var(--soft)}.fine-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:9px}.fine-actions .text-btn,.fine-actions .subtle{font-size:12px}#person-mark-zone{margin-top:3px}#person-mark-controls>.input-label{margin-top:12px}#person-artwork-status{min-height:20px}#person-artwork-step p{margin:9px 0}.person-controls .export{max-width:100%;white-space:normal}

.person-stage{position:sticky;top:12px}#person-logo-zoom{font-size:12px;text-decoration:underline;text-underline-offset:3px;margin:0 0 12px}#person-logo-zoom[aria-pressed=true]{font-weight:650}@media(max-width:690px){.person-stage{position:relative;top:auto;scroll-margin-top:12px}.person-stage.adjusting-artwork{height:clamp(280px,43svh,400px)}.person-stage.adjusting-artwork .artwork-hint{font-size:10px}}
