/* MAGSAM atelier: an original needle-and-thread signature, not part of exported artwork. */
:root{--paper:#f3efe4;--soft:#faf7f2;--line:#e3dbd1;--muted:#72665e;--ink:#332d2a;--atelier-gold:#775a24;--atelier-sage:#476b55;--atelier-seam:#d6c6ae}
body{background-color:var(--paper);background-image:radial-gradient(ellipse at 0 0,#fffaf0 0,transparent 48%);background-attachment:fixed}
.topbar{position:relative;height:76px;background:#fffcf7;border-bottom:1px solid #e3d7c7}
.topbar::after{content:"";position:absolute;bottom:4px;left:0;right:0;border-bottom:1px dashed #cfbfa765;pointer-events:none}
.brand{gap:10px}.brand>img{width:40px;height:40px;padding:4px;border:1px solid #e5d7c5;border-radius:50%;background:#f6eee2}.brand-wordmark{font-size:28px;letter-spacing:-1.1px}.brand-wordmark>span{font-size:6px;letter-spacing:2.8px;margin-top:7px;color:#755a54}
.language{padding:4px;border:1px solid #e9e0d5;background:#f4eee7;border-radius:11px}.language button{border-radius:7px}.project-menu>summary{border-radius:11px;background:#fffcf7;border-color:var(--line)}
.customer-flow a{color:#766860;min-height:26px;align-content:center}.customer-flow a:hover{color:var(--brand);text-decoration:underline;text-underline-offset:4px}
.workspace-nav{border-radius:14px;padding:5px;background:#fffdf8;border-color:var(--line);box-shadow:0 2px 0 #e6ddcf5c;gap:4px;margin-bottom:22px}
.workspace-nav a{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:43px;border-radius:9px;padding:10px 18px;font-size:12px}
.workspace-nav a::before{content:"";display:block;width:21px;height:21px;flex-shrink:0;background:currentColor;mask:url('assets/ui/lettering.svg') center/contain no-repeat;-webkit-mask:url('assets/ui/lettering.svg') center/contain no-repeat}
.workspace-nav a:nth-child(2)::before{mask-image:url('assets/ui/artwork.svg');-webkit-mask-image:url('assets/ui/artwork.svg')}.workspace-nav a:nth-child(3)::before{mask-image:url('assets/ui/garment.svg');-webkit-mask-image:url('assets/ui/garment.svg')}
.workspace-nav a[aria-current=page]{background:var(--brand);color:#fffaf1;box-shadow:0 3px 8px #17382f20}.workspace-nav a[aria-current=page]:hover{background:var(--brand-hover);color:#fffaf1}
.card,.art-preview-card,.mockup-preview-card{border-radius:20px;border-color:var(--line);box-shadow:0 3px 0 #e8dfd133,0 12px 35px #44311e04;background:#fffdfa}
.editor,.art-controls,.mockup-controls{background:#fffdf9}.editor>.section-heading{padding-bottom:17px;border-bottom:1px dashed var(--atelier-seam);margin-bottom:19px}.section-heading h2{font-family:Lora,Georgia,serif;font-size:22px;font-weight:500;letter-spacing:-.5px}
.text-wrap textarea{background:#f9f6f0;border-color:#e2d7c9;border-radius:12px;font-weight:500}.text-wrap textarea:focus{background:#fffdf9;border-color:var(--brand)}
.font-picker,.font-picker>summary{border-radius:11px}.font-picker[open]>summary{border-radius:11px 11px 0 0}.font-picker{border-color:var(--line);background:#fffdfa}
input:not([type=color]):not([type=checkbox]):not([type=range]),select{border-radius:10px;border-color:#e1d8cd;background-color:#fffdf9}
.dimensions input{font-weight:650}.ratio-button{background:#f5efe5;border-color:#e4d9c9;border-radius:10px;color:#826842}.ratio-button[aria-pressed=true]{background:#efe2d1;border-color:#bb9a68;color:#704d23}
.fragment-editor{border-color:#e2dfd2;background:#f4f5ee;border-radius:12px}.fragment-editor>summary{color:#455d4b}.thread-mark i{background:#476b55}.thread-mark i:nth-child(2){background:#775a24}.thread-mark i:last-child{background:#1f4a3c}
.preview-header{background:#fffcf8}.preview-header h2{display:flex;align-items:center;gap:8px;color:#62564c}.preview-header h2::before{content:"";width:6px;height:6px;border:1px solid #775a24;border-radius:50%;box-shadow:0 0 0 3px #775a2412;flex-shrink:0}
.preview-card .stats,.art-preview-card .stats{background:#fffcf7;border-top:1px dashed #dcd0bf;border-bottom:0}.stats strong{font-variant-numeric:tabular-nums;color:#42372c}.stats>div{border-color:#e8e0d5}.stats>div:first-child strong{color:var(--brand)}
.view-toggle,.zoom-toggle,.wrap-buttons,.mockup-side,.mockup-zoom{border-radius:9px;background:#f0eae1}.view-toggle button,.zoom-toggle button,.wrap-buttons button,.mockup-side button,.mockup-zoom button{border-radius:6px}
.preview-card .stitch-player,.quality-panel{border-top:1px dashed #dfd1bd}.dst-verification{color:#476b55;font-size:10px;background:#f4f6ef;border-color:#e4e7d8}
.primary,.company-primary,.customer-mode #text-mockup,.customer-mode #art-mockup-open{background:var(--brand);border-color:var(--brand);color:#fffaf4;border-radius:11px;box-shadow:0 3px 0 #102e2723,0 5px 13px #17382f10}
.primary:hover:not(:disabled),.company-primary:hover,.customer-mode #text-mockup:hover:not(:disabled),.customer-mode #art-mockup-open:hover:not(:disabled){background:#17382f;border-color:#17382f}
.secondary,#text-mockup,#art-mockup-open{border-radius:11px;background:#fffdfa;border-color:#e0d5c7}.export-card.card{background:transparent;border-color:transparent;box-shadow:none}.export-options{border-top-style:dashed;border-color:#d9cbb6}.production-review-open{color:#5f755d;font-size:11px}.export-card .prototype-note{color:#817367}
.art-upload>.secondary{background:#f3e7e8;border:1px dashed #c895a2;color:var(--brand);min-height:54px}.art-tool-strip{background:#faf6ef}.art-tool-strip button[aria-pressed=true]{background:#efe3d2;border-color:#bea67c;color:#6c4d28}.art-history-toolbar button{border-color:#dfd5c7;background:#fffdfa}.art-control-section h2,.mockup-section h2{color:#554738}.mockup-section,.art-control-section{border-color:#e9dfd1}.mockup-preview-footer{background:#fffcf7;border-top:1px dashed #dfd1bd}
.swatch.active,.mockup-swatches button[aria-pressed=true]{box-shadow:0 0 0 3px #fffdf9,0 0 0 4px #9b8264}.garment-grid button[aria-pressed=true]{background:#f4eee2;border-color:#775a24;box-shadow:0 0 0 1px #775a24}
.studio-title{position:relative;padding:17px 0 24px;margin:5px 0 22px;border-bottom:1px dashed #cfbfa7;isolation:isolate}.studio-title h1,.studio-gate h1{font-family:Lora,Georgia,serif;font-size:44px;font-weight:500;letter-spacing:-1.5px;color:var(--brand)}.studio-title::after{content:"";position:absolute;inset:-50px 90px -30px auto;width:360px;background:url('assets/ui/thread-signature.svg') center/contain no-repeat;opacity:.65;z-index:-1;pointer-events:none}.studio-role{background:#f2e4e5;border:1px solid #e8cfd4;font-size:11px;padding:8px 13px}
.studio-links{gap:16px;margin-bottom:32px}.studio-links a{position:relative;isolation:isolate;min-height:158px;align-items:flex-end;overflow:hidden;padding:25px;border-radius:18px;border-color:#e1d7c8;background:#f6eddd;font-family:Lora,Georgia,serif;font-size:24px;font-weight:500;box-shadow:0 4px 0 #e4d8c833;transition:transform .18s,border-color .18s}
.studio-links a::before{content:"";position:absolute;top:22px;left:24px;width:44px;height:44px;background:currentColor;mask:url('assets/ui/lettering.svg') center/contain no-repeat;-webkit-mask:url('assets/ui/lettering.svg') center/contain no-repeat;opacity:.8}
.studio-links a:nth-child(1){background:#1f4a3c;color:#fff6e6;border-color:#1f4a3c}.studio-links a:nth-child(1)::after{content:"";position:absolute;inset:0;background:url('assets/ui/thread-signature.svg') 70px -12px/330px auto no-repeat;opacity:.26;pointer-events:none;z-index:-1}
.studio-links a:nth-child(2){background:#eaf0e6;color:#3e5946;border-color:#d8e1d2}.studio-links a:nth-child(2)::before{mask-image:url('assets/ui/artwork.svg');-webkit-mask-image:url('assets/ui/artwork.svg')}.studio-links a:nth-child(3){color:#6d522f}.studio-links a:nth-child(3)::before{mask-image:url('assets/ui/garment.svg');-webkit-mask-image:url('assets/ui/garment.svg')}.studio-links a span:last-child{font-family:Nunito,sans-serif;font-size:23px;font-weight:400;color:inherit;opacity:.75}
.studio-board{border-color:#e1d8cb;border-radius:20px;padding:26px;background:#fffcf8;box-shadow:0 8px 25px #44311e04}.board-head{padding-bottom:19px;border-bottom:1px dashed #d8c8b1}.board-head h2{font-family:Lora,Georgia,serif;font-size:23px;font-weight:500;color:#58432d}.board-head button,.studio-board button{background:#fffdfa;border-color:#dfd4c5;border-radius:9px}.studio-order{border-top-style:dashed;border-color:#ddcdb7}.studio-order .order-state{display:inline-flex;border-radius:20px;border:1px solid #d9dfcf;background:#eef2e8;color:#496342;padding:5px 9px;margin-bottom:9px}.studio-order-actions>button{display:block;margin-left:auto;border-color:#cfb896;background:#f5eddd;color:#74542f}.studio-order h3{font-size:15px}.studio-empty{padding:40px 0}.studio-gate{position:relative;background:#fffcf7;border:1px solid #dfd1bc;border-radius:22px;box-shadow:0 15px 45px #5b352407}.studio-gate h1{font-size:34px}.studio-gate a{border-radius:10px}.studio-gate #studio-login{background:#1f4a3c;color:#fffaf1}
.shop-page{background-color:var(--paper)}.shop-shell{max-width:1180px;padding-top:32px}.shop-hero{position:relative;isolation:isolate;grid-template-columns:1.1fr 1fr;gap:35px;padding:45px 48px;margin-bottom:42px;border:1px solid #e2d5c1;border-radius:25px;background:#f6eddd;overflow:hidden;min-height:460px}.shop-hero::before{content:"";position:absolute;inset:0;background:url('assets/ui/thread-signature.svg') -110px 105px/790px auto no-repeat;opacity:.45;pointer-events:none;z-index:-1}.atelier-intro{padding:10px 0}.shop-hero h1{font-family:Lora,Georgia,serif;font-size:clamp(38px,4.1vw,57px);font-weight:500;line-height:1.13;letter-spacing:-1.6px;color:var(--brand);max-width:480px;margin-bottom:30px}.shop-actions{gap:10px;align-items:stretch}.shop-actions a{display:inline-flex;justify-content:center;align-items:center;min-height:48px;font-size:12px;font-weight:650;border-radius:10px;padding:13px 18px}.shop-actions .primary{background:#1f4a3c;color:#fffaf1}.shop-actions .secondary{background:#fffbf3;border-color:#d7c6aa;color:#654d35}
.atelier-look{position:relative;isolation:isolate;overflow:hidden;justify-self:end;max-width:350px;width:100%;height:380px;border-radius:155px 155px 20px 20px;background:#dfe4d8;box-shadow:0 9px 22px #5d472910}.atelier-look::after{content:"";position:absolute;inset:9px;border:1px dashed #8b6c405e;border-radius:145px 145px 13px 13px;pointer-events:none}.shop-hero .atelier-look img{display:block;width:100%;height:100%;max-height:none;object-fit:cover;border-radius:0;mix-blend-mode:multiply}
.shop-collection-head{align-items:center;margin-bottom:22px}.shop-collection-head h2{font-family:Lora,Georgia,serif;font-weight:500;font-size:29px;letter-spacing:-.6px;color:#58432d}.shop-collection-head p{color:#796b5a;font-size:11px}.collection-grid{gap:17px}.collection-card{border-radius:17px;background:#fffcf7;border-color:#e1d8cb;box-shadow:0 3px 0 #e8dfd133;transition:transform .18s,border-color .18s}.collection-card img{border-bottom:1px dashed #ded1bd}.collection-card strong{font-family:Lora,Georgia,serif;font-weight:500;font-size:16px;padding-top:15px;color:#5d392b}.collection-card small{font-size:10px;color:#796b5a}
.shop-footer{border-top-style:dashed;border-color:#cfbfa7}.shop-footer a{color:#7b5746;text-underline-offset:4px}.studio-contact{border-top-style:dashed;border-color:#cfbfa7}.studio-contact .studio-order{border-color:#dfd3c0;background:#fffcf7;border-radius:10px}.company-contact{border-radius:22px}.company-main h2{color:var(--brand)}
.order-dialog{background:#fffcf7;border-color:#d9c7ae;border-radius:22px}.order-dialog h2{font-family:Lora,Georgia,serif;font-weight:500;letter-spacing:-.7px;color:var(--brand)}.order-dialog-head{border-bottom:1px dashed #d8c8b1;padding-bottom:12px;margin-bottom:18px}.order-kicker{color:#96733f}.order-visual{border-radius:14px;background:#f3ecdf}.order-dialog dl{border-color:#e1d1b9}.production-review ol{padding-top:12px;border-top:1px dashed #dac9b0}.order-close{border-radius:50%;color:#7b6351}
button,a,input,select,textarea,summary{-webkit-tap-highlight-color:#1f4a3c18}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid #1f4a3c;outline-offset:3px}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.studio-links a:hover,.collection-card:hover{transform:translateY(-3px);border-color:#b79769}}
@media(max-width:1000px){.shop-hero{padding:32px;gap:25px;min-height:410px}.atelier-look{height:335px}.shop-hero h1{font-size:42px}.shop-actions{flex-direction:column;align-items:flex-start}.shop-actions a{min-width:175px}}
@media(max-width:760px){body{background-attachment:scroll}.topbar{height:68px;padding-inline:14px}.brand>img{width:33px;height:33px;padding:3px}.brand{gap:7px}.brand-wordmark{font-size:23px}.brand-wordmark>span{font-size:5px;letter-spacing:2.2px}.language{padding:3px;border-radius:9px}.language button{min-width:29px;min-height:30px}.header-actions{gap:7px}.project-menu>summary{min-height:38px;padding:7px}.customer-flow{padding-bottom:12px}.customer-flow a{font-size:10px;min-height:24px}.workspace-nav{display:grid;grid-template-columns:.8fr 1.5fr .9fr;width:100%;padding:4px;gap:3px;border-radius:13px;margin-bottom:16px}.workspace-nav a{min-width:0;min-height:57px;flex-direction:column;gap:3px;padding:6px 4px;font-size:10px;line-height:1.25;text-align:center}.workspace-nav a::before{width:20px;height:20px}.card,.art-preview-card,.mockup-preview-card{border-radius:17px}.editor>.section-heading{padding-bottom:13px;margin-bottom:16px}.section-heading h2{font-size:21px}.preview-header h2::before{width:5px;height:5px;box-shadow:none}.preview-card .stats,.art-preview-card .stats{padding-top:9px;padding-bottom:10px}.export-card.card,.art-export{border:1px solid #e0d3bf;background:#fffcf7f5;border-radius:17px 17px 0 0;box-shadow:0 -5px 20px #543b2410}.export-card .primary,.customer-order-open{min-height:46px}.studio-title{padding:8px 0 20px;margin:7px 0 18px}.studio-title h1{font-size:34px;letter-spacing:-1px}.studio-title::after{width:150px;inset:-20px 85px -8px auto;opacity:.4}.studio-role{font-size:10px;padding:7px 9px}.studio-links{gap:8px;margin-bottom:24px}.studio-links a{min-height:116px;padding:13px 10px;border-radius:13px;font-size:14px;gap:3px}.studio-links a::before{top:15px;left:12px;width:32px;height:32px}.studio-links a span:last-child{font-size:16px}.studio-links a:nth-child(1)::after{background-position:10px 2px;background-size:170px auto}.studio-board{padding:17px;border-radius:17px}.board-head{padding-bottom:15px;gap:11px}.board-head h2{font-size:23px}.board-head button{font-size:11px;padding:8px 10px;min-height:42px}.studio-order-actions>button{margin-left:0}.studio-order-actions{text-align:left}.studio-order .order-state{font-size:10px}.shop-shell{padding:20px 14px 45px}.shop-hero{grid-template-columns:1fr;gap:26px;padding:30px 23px 23px;border-radius:20px;min-height:0;margin-bottom:30px}.shop-hero::before{background-position:-255px 100px;background-size:650px auto}.atelier-intro{padding:0}.shop-hero h1{font-size:39px;letter-spacing:-1px;margin-bottom:22px;max-width:330px}.shop-actions{flex-direction:row;align-items:stretch;gap:8px}.shop-actions a{flex:1;min-width:0;padding:11px 10px;min-height:46px;font-size:11px}.atelier-look{max-width:320px;justify-self:center;height:300px;border-radius:140px 140px 14px 14px}.atelier-look::after{border-radius:130px 130px 9px 9px}.shop-collection-head h2{font-size:25px}.shop-collection-head p{font-size:10px}.collection-grid{gap:11px}.collection-card{border-radius:13px}.collection-card strong{font-size:14px;padding:12px 11px 6px}.collection-card small{padding:0 11px 13px;font-size:10px}.order-dialog{border-radius:18px}.order-dialog h2{font-size:23px}.order-dialog-head{margin-bottom:14px}.production-review dl{font-size:11px;gap:8px}.order-close{min-width:36px;min-height:36px}}
@media(max-width:360px){.topbar{padding-inline:12px}.brand-wordmark{font-size:21px}.brand-wordmark>span{font-size:4.6px;letter-spacing:1.8px}.brand>img{width:30px;height:30px}.shop-hero{padding:25px 18px 18px}.shop-hero h1{font-size:34px}.atelier-look{height:260px}.studio-links a{font-size:12px;padding:12px 8px}.studio-links a span:last-child{font-size:13px}.studio-title h1{font-size:31px}.studio-role{font-size:9px;padding:7px}.workspace-nav a{font-size:9.5px}}
@media(prefers-reduced-motion:reduce){.studio-links a,.collection-card{transition:none;transform:none}}
.art-empty{background:#f6f1e7 url('assets/ui/thread-signature.svg') center bottom -65px/620px auto no-repeat}.art-empty-symbol{display:grid;place-items:center;width:82px;height:82px;border:1px dashed #bea782;border-radius:50%;background:#f0e5d2;font-size:0;margin-bottom:19px}.art-empty-symbol::after{content:"";width:51px;height:51px;background:#1f4a3c;mask:url('assets/ui/artwork.svg') center/contain no-repeat;-webkit-mask:url('assets/ui/artwork.svg') center/contain no-repeat}.art-empty strong{font-family:Lora,Georgia,serif;font-size:23px;font-weight:500;color:var(--brand)}.art-empty button{border-radius:9px;padding:10px 16px;min-height:42px;background:#fffcf7;border-color:#dfd0b9}.art-canvas-wrap{background-color:#f1ece3;background-image:linear-gradient(45deg,#e3dbcf 25%,transparent 25%),linear-gradient(-45deg,#e3dbcf 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e3dbcf 75%),linear-gradient(-45deg,transparent 75%,#e3dbcf 75%)}
@media(max-width:760px){.art-empty{background-position:center bottom -45px;background-size:440px auto}.art-empty-symbol{width:62px;height:62px;margin-bottom:13px}.art-empty-symbol::after{width:41px;height:41px}.art-empty strong{font-size:21px}}
/* Keep the phone's work area open while every studio action stays reachable. */
@media(max-width:760px){.export-card.card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:5px 10px;padding-top:9px;padding-bottom:calc(7px + env(safe-area-inset-bottom))}.export-card>.export-actions{grid-column:1/-1;grid-row:1}.export-card>#text-mockup{grid-column:1;grid-row:2;margin:0;min-height:37px;padding:7px;font-size:11px}.export-card>.production-review-open{grid-column:2;grid-row:2;margin:0;min-height:37px;font-size:10px}.export-card>.export-options{grid-column:1;grid-row:3;margin:0;border:0;min-width:0}.export-card>.export-options>summary{font-size:10px;min-height:33px}.export-card>.prototype-note{grid-column:2;grid-row:3;margin:0;align-self:center;font-size:8px!important;line-height:1.4}.export-card>.export-options[open]{grid-column:1/-1}.export-card:has(.export-options[open])>.prototype-note{grid-row:4;grid-column:1/-1}.customer-mode .export-card.card{display:block}.customer-mode .export-card>#text-mockup{min-height:44px;margin:0;font-size:12px}}

.style-launch{min-height:44px;color:#1f4a3c;font-weight:700}.style-launch:disabled{opacity:.45}.studio-title>a{margin-left:auto;font-size:14px}

/* Dark contact panel: keep text independent of the general heading palette. */
.company-main .company-contact h2{color:#fff8ec;font-size:clamp(28px,3.2vw,42px);line-height:1.2;letter-spacing:-.8px;max-width:550px}.company-main .company-contact .company-eyebrow{color:#eed7b5}.company-main .company-contact :is(address,.contact-row strong){color:#fff8ec}.company-main .company-contact .contact-row:hover{background:#ffffff08}.company-main .company-contact a:focus-visible{outline:2px solid #eed7b5;outline-offset:4px}
