@font-face{font-family:Kothu;src:url('/assets/cormorant-garamond.ttf') format('truetype');font-display:swap}
:root{--paper:#f5f1e7;--ink:#2e382d;--muted:#63695f;--sage:#e4e8dd;--line:#cbcbbd;--table:#dedbcf;--white:#fdfbf5;--accent:#354a39;--error:#8b352a;--fast:120ms;--settle:220ms}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,input,textarea,select{font:inherit;color:inherit}button,a,input,textarea,select,summary{-webkit-tap-highlight-color:transparent}button,a,summary{touch-action:manipulation}button{cursor:pointer;min-height:44px;border:0;background:none;transition:background var(--fast),color var(--fast),opacity var(--fast)}button:disabled{cursor:default;opacity:.45}button:active:not(:disabled){opacity:.7}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--accent);outline-offset:4px}[hidden]{display:none!important}.skip{position:fixed;top:-100px;left:16px;z-index:30;padding:12px;background:var(--white)}.skip:focus{top:12px}.studio-header{height:84px;display:flex;align-items:center;justify-content:space-between;padding:0 40px;border-bottom:1px solid var(--line)}.wordmark{font:600 42px/1 Kothu,Georgia,serif;text-decoration:none;letter-spacing:-2px}.wordmark span{color:#8a744c}.header-note{font-size:14px;color:var(--muted)}.quiet{font-size:13px;padding:8px 4px;text-underline-offset:5px}.quiet:hover{text-decoration:underline}.workbench{display:grid;grid-template-columns:minmax(0,1fr) 416px;max-width:1800px;margin:auto}.stage-panel{position:sticky;top:0;height:calc(100svh - 0px);max-height:1080px;display:flex;flex-direction:column;padding:32px 40px 20px;background:var(--table);overflow:hidden;align-self:start}.stage-heading{display:flex;justify-content:space-between;align-items:start;gap:12px;font-size:14px;z-index:1}.stage-heading>div{display:grid;gap:4px}#piece-size{font-size:12px;color:#5c6257}.concept-label{border:1px solid #9dA392;border-radius:20px;padding:4px 10px;font-size:12px;white-space:nowrap}.stage{position:relative;flex:1;min-height:270px;display:flex;align-items:center;justify-content:center;touch-action:none;outline-offset:-6px!important;cursor:grab}.stage:active{cursor:grabbing}.stage[data-mode=edit]{cursor:move}.stage:before{content:'';position:absolute;width:55%;height:22%;bottom:15%;left:25%;border-radius:50%;background:#6c6850;filter:blur(40px);opacity:.14;transform:rotate(-14deg);pointer-events:none}.webgl-canvas{display:block;width:100%;height:100%;position:absolute;inset:0}.piece-canvas{position:relative;object-fit:contain;filter:drop-shadow(10px 18px 14px #675a4133)}.stage-loading{color:var(--muted);font-size:14px;position:absolute}.stage-caption{display:flex;justify-content:center;min-height:26px;font-size:12px;color:#5c6257;text-align:center}#processing{margin-left:10px}.view-controls{display:flex;justify-content:center;align-items:center;gap:16px;margin-top:16px}.segmented{display:flex;border:1px solid #afb5a7;border-radius:30px;padding:3px;gap:3px;background:#f5f1e750}.segmented button{min-height:38px;padding:4px 18px;border-radius:24px;font-size:13px}.segmented button[aria-pressed=true]{background:var(--ink);color:var(--paper)}.view-buttons{display:flex;align-items:center;gap:2px}.view-buttons button{min-width:44px;font-size:18px}#view-reset{font-size:12px;padding:0 8px}.turn-controls{display:flex;justify-content:center;align-items:center;gap:16px;color:#5c6257;font-size:12px}.turn-controls button{width:44px;font-size:22px}.preview-note{font-size:12px;max-width:400px;text-align:center;align-self:center;color:#5c6257;margin:2px 0 20px}.stage-bottom{display:flex;justify-content:space-between;gap:12px;align-items:center;border-top:1px solid #babdad;padding-top:12px;font-size:12px;color:#50594c}.stage-bottom i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#56724d;margin-right:5px}.editor{padding:34px 30px 24px;min-width:0;background:var(--paper)}h1,h2,h3,p{margin-top:0}.editor h1{font:500 52px/1.05 Kothu,Georgia,serif;letter-spacing:-1.8px;margin-bottom:12px}.editor-heading>p{font-size:14px;color:var(--muted);margin-bottom:20px;line-height:1.65}.history{display:flex;align-items:center;gap:4px;font-size:12px;color:var(--muted);border-bottom:1px solid var(--line);padding-bottom:10px}.history>span{flex:1}.history button{font-size:21px;width:40px}.editor-section{padding:22px 0;border-bottom:1px solid var(--line)}.section-title{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:14px}.section-title h2,.section-title h3{font-size:15px;font-weight:600;margin:0}.section-title>span{font-size:12px;color:var(--muted)}.upload{position:relative;display:flex;gap:14px;align-items:center;min-height:94px;border:1px dashed #8f9b87;border-radius:8px;background:#e9ecdf88;padding:17px 14px;cursor:pointer;transition:background var(--fast)}.upload:hover,.upload:focus-within{background:#e4e8db}.upload input{position:absolute;width:100%;height:100%;inset:0;opacity:0;cursor:pointer}.upload svg{width:32px;height:32px;stroke:var(--ink);stroke-width:1.3;flex-shrink:0}.upload strong{font-size:14px;font-weight:500;display:block}.upload small{font-size:11px;color:var(--muted);display:block;margin-top:3px}.upload-plus{font-size:26px;margin-left:auto;font-weight:300}.privacy-line{font-size:11px;line-height:1.5;color:var(--muted);margin:8px 0 18px}.field-label{font-size:13px;display:flex;justify-content:space-between;margin:16px 0 8px;gap:8px}.field-label span{font-size:11px;color:var(--muted)}textarea,input:not([type=range]):not([type=checkbox]):not([type=file]),select{width:100%;background:var(--white);border:1px solid #a9afa0;border-radius:5px;padding:11px 12px;min-height:46px;font-size:16px;line-height:1.4}textarea{resize:vertical;min-height:90px}textarea::placeholder{color:#74786e;font-size:14px}select{padding-right:24px}.type-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.type-row label{font-size:12px;display:grid;gap:6px}.type-row select{font-size:14px;padding:10px 8px}.object-options{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.object-options button{border:1px solid var(--line);border-radius:6px;font-size:11px;display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;min-height:82px;padding:10px 2px}.object-options button:hover{background:#ececdf}.object-options button[aria-pressed=true]{background:var(--sage);border:1.5px solid var(--accent)}.object-icon{width:30px;height:25px;border:1.4px solid currentColor;border-radius:2px;position:relative;display:block}.object-icon.circle{width:27px;height:27px;border-radius:50%}.object-icon.hole:before{content:'';position:absolute;width:3px;height:3px;border:1px solid currentColor;border-radius:50%;top:2px;left:calc(50% - 2px)}.sub-title{margin-top:22px;margin-bottom:10px}.material-options{display:flex;gap:10px}.material-options button{width:50px;height:50px;border:2px solid transparent;border-radius:50%;padding:4px}.material-options button[aria-pressed=true]{border-color:var(--accent)}.swatch{display:block;width:100%;height:100%;border-radius:50%;background:var(--swatch);box-shadow:inset 0 0 0 1px #0002}.swatch.wood{background:repeating-linear-gradient(94deg,#bd975f 0px,#ddbc8e 3px,#cda875 6px,#d5b17d 9px)}.helper{font-size:12px;color:var(--muted);line-height:1.6;margin:8px 0 0}.full{margin:6px 0 14px}.full button{flex:1;padding:4px 8px}.slider-label{display:flex;justify-content:space-between;font-size:12px;margin-top:10px}input[type=range]{width:100%;height:34px;accent-color:var(--accent);cursor:pointer;margin:0}summary{cursor:pointer;min-height:44px;display:list-item;font-size:13px;padding:12px 0}details[open]>summary{margin-bottom:8px}.inline-actions{display:flex;gap:10px;align-items:center;margin-top:12px}.check{display:flex!important;align-items:start;gap:8px;font-size:12px!important;line-height:1.5;cursor:pointer}.check input{width:18px;height:18px;accent-color:var(--accent);flex-shrink:0;margin:0;min-height:0}.outline{border:1px solid #a9afa0;border-radius:5px;padding:8px 12px;font-size:13px}.placement{padding:8px 0}.dimension-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.dimension-grid label{font-size:12px;display:grid;gap:6px}.nudge{display:flex;justify-content:space-between;margin:12px 0}.nudge button{min-width:44px;border:1px solid var(--line);border-radius:5px}.nudge button:last-child{font-size:12px;padding:0 10px}.editor-footer{padding-top:22px}.primary{background:var(--accent);color:var(--white);border-radius:6px;padding:14px 18px;display:flex;justify-content:space-between;align-items:center;width:100%;font-size:15px;min-height:52px}.primary:hover{background:#263e2b}.primary span{font-size:21px}.footer-actions{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:8px}.footer-actions>span{font-size:10px;color:var(--muted)}.warning,.field-error{color:var(--error);font-size:12px}.notice{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:var(--white);padding:14px 22px;border-radius:6px;font-size:13px;z-index:30;max-width:calc(100% - 24px);box-shadow:0 6px 32px #0002}dialog{background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:12px;padding:32px;max-width:480px;width:calc(100% - 32px);max-height:90svh;overflow:auto}dialog::backdrop{background:#1e2b27a6;backdrop-filter:blur(4px)}dialog h2{font:500 38px/1.1 Kothu,Georgia,serif;margin:12px 25px 14px 0}dialog p{font-size:14px;line-height:1.6;color:var(--muted)}.close{position:absolute;right:10px;top:8px;width:44px;font-size:24px}.dialog-actions{display:grid;gap:12px}#review-image{display:block;width:auto;max-width:100%;height:210px;object-fit:contain;margin:18px auto}#review-summary{text-align:center;font-size:12px}#enquiry-form{display:grid;gap:14px}#enquiry-form label{display:grid;gap:6px;font-size:13px}#enquiry-form .type-row{margin:0}
@media(min-width:1500px){.workbench{grid-template-columns:minmax(0,1fr) 460px}.editor{padding:40px}.stage-panel{padding-left:60px;padding-right:60px}}
@media(max-width:1000px) and (min-width:761px){.workbench{grid-template-columns:minmax(0,1fr) 360px}.editor{padding:28px 22px}.stage-panel{padding:24px 20px}.stage-bottom{flex-direction:column;gap:0}.view-controls{gap:4px;flex-wrap:wrap}}
@media(max-width:760px){.studio-header{height:68px;padding:0 20px}.header-note{display:none}.wordmark{font-size:36px}.workbench{display:flex;flex-direction:column}.stage-panel{position:relative;height:520px;max-height:none;width:100%;padding:20px 20px 12px}.stage-heading{font-size:13px}.stage{min-height:220px}.stage-caption{min-height:20px}.view-controls{margin-top:4px;gap:8px}.turn-controls{gap:10px}.preview-note{font-size:10px;max-width:310px;margin-bottom:8px}.stage-bottom{display:none}.editor{padding:26px 24px 24px;width:100%}.editor-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.editor h1{font-size:40px;letter-spacing:-1px;white-space:nowrap}.editor-heading>p{font-size:11px;line-height:1.5;max-width:150px}.editor-section{padding:20px 0}.editor-footer{position:sticky;bottom:0;background:var(--paper);padding:12px 0 max(8px,env(safe-area-inset-bottom));z-index:2}.object-options{grid-template-columns:repeat(3,1fr)}.footer-actions{margin-top:2px}.view-buttons button{min-width:40px}.segmented button{padding:4px 14px}.notice{bottom:100px}dialog{padding:26px 22px}}
@media(max-width:350px){.stage-panel{padding:16px 12px;height:480px}.editor{padding:24px 16px}.editor-heading{display:block}.editor-heading>p{max-width:none;font-size:13px}.editor-heading>p br{display:none}.view-controls{gap:0}.view-buttons button{min-width:34px}.concept-label{font-size:10px}.footer-actions>span{font-size:9px}}
@media(max-height:600px){.stage-panel{position:relative;height:520px}.editor-footer{position:static}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Keep the piece in view while a phone user works; the action remains in the form flow. */
@media(max-width:760px) and (min-height:601px){
 .stage-panel{position:sticky;top:0;z-index:3;height:clamp(300px,43svh,380px);box-shadow:0 1px 0 #b5baaa;padding:12px 16px 8px}
 .stage-heading{font-size:12px}.stage-heading>div{gap:0}.stage{min-height:120px}.stage-caption{font-size:11px;min-height:17px}
 .view-controls{margin-top:0}.turn-controls{font-size:11px;min-height:30px}.turn-controls button{min-height:44px;height:44px}
 .preview-note{display:none}.editor-footer{position:static}.editor{scroll-margin-top:390px}input,select,textarea,button,summary{scroll-margin-top:390px}
 .editor-heading{display:block}.editor-heading>p{font-size:13px;max-width:none}.editor-heading>p br{display:none}
}

@media(max-width:760px){.view-buttons button{min-width:44px}.segmented button{font-size:12px;padding:4px 10px}.upload small,.privacy-line,.field-label span,.footer-actions>span,.object-options button{font-size:12px}.field-label{flex-wrap:wrap}.footer-actions{flex-wrap:wrap}.preview-note{font-size:12px}.concept-label{font-size:12px}}

.journey-path{display:flex;align-items:center;justify-content:center;gap:18px;font-size:12px;padding:14px 20px;border-bottom:1px solid var(--line);color:var(--muted)}.journey-path [aria-current]{color:var(--ink)}.journey-path a{text-decoration:none}.guide-heading{padding:0 0 15px}.guide-heading>p:first-child{display:flex;justify-content:space-between;align-items:center;font-size:14px;margin:0 0 12px}#guide-title{font-weight:500}#guide-progress{font-size:12px;color:var(--muted)}.guide-tabs{display:flex;gap:6px;border-bottom:1px solid var(--line);padding-bottom:10px}.guide-tabs button{flex:1;min-height:44px;font-size:12px;border-radius:4px;background:#e8eadd}.guide-tabs [aria-current=step]{background:var(--accent);color:var(--white)}#guide-help{font-size:12px;line-height:1.6;color:var(--muted);margin:12px 0 0}.guide-actions{display:flex;gap:10px}.guide-actions>.primary{flex:1}.guide-actions>.outline{flex-shrink:0}#review{margin-top:8px}.workbench .stage-panel{height:calc(100svh - 46px)}.header-note{text-decoration:none}.editor .helper a{display:inline-flex;min-height:44px;align-items:center;margin-right:14px;font-size:12px}.placement[open]{border-bottom:0}.editor-footer{padding-top:18px}
@media(max-width:760px){.journey-path{font-size:10px;gap:8px;padding:12px}.workbench .stage-panel{height:clamp(300px,43svh,380px)}.editor-heading>p{margin-bottom:20px}.guide-tabs button{font-size:12px}.guide-heading{padding-bottom:8px}}@media(max-height:600px){.workbench .stage-panel{height:460px}}
.simple-heading{font:500 30px/1.1 Kothu,Georgia,serif}.layout-actions,.simple-sizing{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.layout-actions button{flex:1;font-size:12px;padding:8px}.simple-sizing button{flex:1}#precision{margin-top:16px}#precision summary{min-height:44px;display:flex;align-items:center;cursor:pointer}#expand-preview{display:none}#receipt-proof{max-width:240px}#recovery-status{font-size:12px}
@media(max-width:760px){.stage-panel{position:sticky;top:0;height:235px!important;min-height:0;padding:8px 16px;z-index:3}.stage{min-height:90px}.stage-heading{font-size:12px}.stage-heading #piece-size{font-size:11px}.stage-caption{font-size:10px;min-height:16px}.stage-panel .turn-controls,.stage-panel .preview-note{display:none}.stage-panel .view-controls{margin:0}.view-controls button{min-height:36px}.stage-panel .stage-bottom{display:none}#expand-preview{display:block;min-height:36px;font-size:11px}.editor{padding:16px 20px 24px}.editor-heading{display:none}.guide-heading{margin-top:0}.guide-heading>p:first-child{margin:0 0 6px}.guide-tabs button{min-height:44px;padding:6px;font-size:12px}#guide-help{font-size:12px;margin:8px 0}.history{padding:0;min-height:36px}.history button{min-height:36px}.editor-section{padding:14px 0}.section-title{margin-bottom:10px}.preview-expanded .stage-panel{height:440px!important}.preview-expanded .stage-panel .turn-controls,.preview-expanded .stage-panel .preview-note{display:flex}.editor-footer{position:relative;padding:14px 0}.journey-path{font-size:11px;padding:10px 20px}.guide-heading{scroll-margin-top:245px}.simple-heading{margin-bottom:12px}#editor{scroll-margin-top:235px}.layout-actions button{flex-basis:30%}}
@media(max-height:550px) and (max-width:760px){.stage-panel{position:relative;height:180px!important}#editor{scroll-margin-top:0}}
.checkout-price{border-top:1px solid var(--line);padding:18px 0;margin-top:12px}.checkout-price strong{font:500 36px/1.1 Kothu,Georgia,serif}#review-price{font:500 28px/1.2 Kothu,Georgia,serif}
