
.portfolio-page{--gold:#d5bb8c;--muted:#96938c;background:#101110;color:#efeee9;min-height:100svh;font-family:"Segoe UI",Arial,sans-serif}
.portfolio-page>header{width:100%;padding-inline:5.5%;background:#fafafa;color:#181818;height:70px;flex-shrink:0}
.portfolio-page>header [aria-current]{text-decoration:underline;text-underline-offset:6px;text-decoration-color:#a28b65}
.collection{width:min(89%,1400px);margin:auto;height:calc(100svh - 70px);min-height:660px;display:flex;flex-direction:column;padding:26px 0 20px;gap:18px;position:relative}
.portfolio-page{background:radial-gradient(ellipse at 95% 0%,#74604019,transparent 48%),#101110}
.collection-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px}
.eyebrow{color:var(--gold);font-size:10px;letter-spacing:.19em;margin-bottom:10px}
.collection h1{font:400 clamp(35px,3.6vw,52px)/1 Georgia,serif;letter-spacing:-.045em}.collection h1>span{color:var(--gold)}
.collection-note{font-size:13px;line-height:1.6;color:var(--muted);text-align:right}
.collection-tabs{gap:28px;border-bottom:1px solid #ffffff1c;min-height:38px;align-items:stretch}
.collection-tabs a{padding:0 0 12px;font-size:14px;color:#96938c;position:relative}.collection-tabs a[aria-current]{color:#f4ead9;text-decoration:none}.collection-tabs a[aria-current]::after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--gold)}
.collection-tabs span{font-size:10px;margin-left:7px;color:var(--gold)}
.collection-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:29px}
.work-filters{display:flex;gap:5px;flex-wrap:wrap}.work-filters button,.work-pagination button{font:inherit;cursor:pointer;background:transparent;border:1px solid transparent;color:#a29f98;border-radius:4px;padding:5px 11px;font-size:12px}
.work-filters button[aria-pressed=true]{background:#d5bb8c1c;border-color:#d5bb8c33;color:#e7d4b2}.work-filters button:hover{color:#f6e2bf;background:#ffffff08}
#result-count{font-size:11px;color:var(--muted);white-space:nowrap}
.work-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:1fr;grid-template-rows:repeat(4,minmax(0,1fr));gap:10px;flex:1;min-height:0}
.work-card{position:relative;display:flex;flex-direction:column;padding:13px 15px;background:linear-gradient(135deg,#ffffff05,#ffffff01);border:1px solid #ffffff15;border-radius:7px;min-width:0;transition:border-color .2s,background .2s}
.work-card:hover{border-color:#d5bb8c66;background:#d5bb8c08}.work-card[hidden]{display:none}
.card-meta{display:flex;align-items:center;gap:8px;color:#9f9789;margin-bottom:7px;font-size:9px;letter-spacing:.04em}.card-meta svg{width:19px;height:19px;fill:none;stroke:var(--gold);stroke-width:1.15;stroke-linecap:round;stroke-linejoin:round}.card-meta small{margin-left:auto;color:#6d6b64;font-size:10px;font-variant-numeric:tabular-nums}
.work-card h2{font:500 clamp(13px,1.08vw,16px)/1.22 "Segoe UI",Arial,sans-serif;letter-spacing:-.02em;margin:0 0 5px}
.work-card p{font-size:12px;line-height:1.35;color:#aaa79f;margin-bottom:10px}
.work-price{font-size:10px;color:#8c9286;margin-top:auto}.work-price::before{content:"";display:inline-block;width:4px;height:4px;border-radius:50%;background:currentColor;margin-right:5px;vertical-align:2px}.work-price.paid{color:#c5ad86}
.collection-bottom{display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:12px;color:var(--muted);min-height:24px}.project-cta span{color:var(--gold);margin-left:8px}.work-pagination{gap:10px;font-size:11px}.work-pagination[hidden]{display:none}.work-pagination button{border-color:#ffffff20;padding:3px 9px;color:var(--gold)}.work-pagination button:disabled{opacity:.25;cursor:default}
.portfolio-page button:focus-visible,.portfolio-page a:focus-visible{outline:2px solid var(--gold);outline-offset:4px}
.website-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;flex:1;align-content:center;padding:10px 0 25px}.website-card{display:block}.website-card:hover{text-decoration:none}.website-art{height:clamp(180px,28vh,330px);border:1px solid #ffffff20;position:relative;overflow:hidden;display:grid;place-items:center;background:radial-gradient(ellipse at 50% 90%,#b5986425,transparent 65%),#171817;border-radius:6px;transition:border-color .2s}
.website-art>span{font:italic 76px/1 Georgia,serif;color:#d5bb8c;letter-spacing:-.12em;position:relative;z-index:1}.website-art small{position:absolute;bottom:18px;left:20px;color:#b0a28a;font-size:9px;letter-spacing:.15em}.website-art::before{content:"";position:absolute;width:170px;height:170px;border:1px solid #d5bb8c22;transform:rotate(45deg)}.art-2::before{border-radius:50%;transform:none;box-shadow:0 0 0 20px #d5bb8c05,0 0 0 40px #d5bb8c04}.art-3::before{width:220px;height:90px;transform:rotate(-24deg);border-inline:0}
.website-card:hover .website-art{border-color:#d5bb8c80}.website-caption{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:18px}.website-caption h2{font:500 clamp(15px,1.45vw,22px)/1.3 "Segoe UI",sans-serif;letter-spacing:-.035em;overflow-wrap:anywhere}.website-caption>span{color:var(--gold)}.website-card>p{font-size:12px;color:var(--muted);margin-top:5px}
@media(min-width:761px) and (min-height:651px) and (max-height:820px){.collection{min-height:0;gap:12px;padding-block:18px}.collection h1{font-size:38px}.work-card{padding:10px 12px}.card-meta{margin-bottom:5px}.work-card p{font-size:11px;margin-bottom:6px}.work-card h2{font-size:13px}.eyebrow{margin-bottom:7px}}
@media(max-width:760px){.portfolio-page>header{height:60px;padding-inline:5%}.collection{width:90%;height:calc(100svh - 60px);min-height:0;padding:21px 0 15px;gap:14px}.collection h1{font-size:38px}.collection-note{display:none}.eyebrow{font-size:8px;letter-spacing:.15em}.collection-toolbar{align-items:flex-start}#result-count{display:none}.work-filters{gap:2px}.work-filters button{font-size:11px;padding:5px 8px}.work-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:8px}.work-card{padding:12px}.work-card h2{font-size:14px}.work-card p{font-size:12px}.card-meta{font-size:8px;gap:5px}.card-meta small{display:none}.collection-bottom{flex-wrap:wrap;font-size:11px}.project-cta{display:none}.collection-tabs{min-height:32px}.collection-tabs a{padding-bottom:9px;font-size:13px}.website-grid{grid-template-columns:1fr;gap:14px;padding:0;align-content:stretch}.website-card{display:grid;grid-template-columns:85px 1fr;gap:0 15px;height:100%;align-content:center}.website-art{height:90px;grid-row:span 2}.website-art>span{font-size:34px}.website-art small{display:none}.website-art::before{width:55px;height:55px}.website-caption{margin-top:0;align-self:end}.website-caption h2{font-size:16px}.website-card>p{align-self:start}.website-collection{min-height:0}}
@media(max-height:650px){.collection{min-height:0;gap:10px;padding-block:12px}.collection h1{font-size:31px}.eyebrow{margin-bottom:6px}.work-card p{margin-bottom:6px}.work-card{padding:10px}.work-grid{grid-template-rows:repeat(2,minmax(0,1fr))}.collection-tabs{min-height:29px}.collection-tabs a{padding-bottom:7px}.collection-bottom{min-height:24px}}
@media(max-height:650px) and (min-width:761px){.work-grid{grid-template-rows:1fr}.collection-note{display:none}}
@media(max-height:450px) and (orientation:landscape){.portfolio-page>header{height:42px}.portfolio-page>header img{width:30px}.collection{height:calc(100svh - 42px);gap:6px;padding-block:8px}.collection-heading{display:none}.work-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:1fr}.card-meta{display:none}.work-card h2{font-size:12px}.work-card p{font-size:11px}.collection-toolbar{min-height:25px}.collection-bottom{font-size:10px}.website-grid{grid-template-columns:repeat(3,1fr)}.website-card{display:block}.website-art{height:80px}.website-caption h2{font-size:13px}.website-card>p{font-size:10px}.website-collection{min-height:0}}
@media(prefers-reduced-motion:reduce){.work-card,.website-art{transition:none}}

/* The catalogue lives inside the same warmly lit workshop seen from the street. */
.atelier-page{isolation:isolate;background:#101110}
.atelier-scene{position:fixed;z-index:-2;inset:70px 0 0;background:url(atelier-room.webp) left center/100% 100% no-repeat;pointer-events:none}
.atelier-scene::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 12%,#10111030 27%,#10111055 60%)}
.atelier-page .collection{width:69%;margin-left:28%;margin-right:3%;gap:12px;padding-top:24px;min-height:0}
.atelier-page .collection h1{font-size:clamp(29px,3vw,44px)}
.atelier-page .work-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(5,minmax(0,1fr));gap:8px}
.atelier-page .work-card{background:linear-gradient(125deg,#191a17dc,#121310cf);border-color:#d5bb8c20;padding:10px 12px;backdrop-filter:blur(5px)}
.atelier-page .work-card:hover{background:#2c2921d9;border-color:#d5bb8c65}
.atelier-page .card-meta{margin-bottom:5px}.atelier-page .card-meta svg{width:16px;height:16px}
.atelier-page .work-card h2{font-size:13px}.atelier-page .work-card p{font-size:11px;line-height:1.3;margin-bottom:6px}.atelier-page .work-price{font-size:9px}
.atelier-object{position:fixed;left:2%;bottom:5%;width:24vw;height:24vw;max-width:360px;max-height:360px;pointer-events:none;z-index:-1;filter:brightness(.74) saturate(.65) drop-shadow(8px 12px 12px #0008)}
.atelier-object i{position:absolute;inset:0;display:block;background-image:url(atelier-objects.webp);background-size:200% 200%;background-repeat:no-repeat;opacity:0;transition:opacity .65s ease,transform .65s ease;transform:translateY(5px)}
.object-chess{background-position:0 0}.object-audio{background-position:100% 0}.object-learn{background-position:0 100%}.object-tools{background-position:100% 100%}
[data-scene=all] .object-chess,[data-scene=chess] .object-chess,[data-scene=audio] .object-audio,[data-scene=learn] .object-learn,[data-scene=tools] .object-tools{opacity:1;transform:translateY(0)}
.atelier-caption{position:fixed;left:4%;top:calc(70px + 10vh);color:#ded3c0;text-shadow:0 2px 18px #000;pointer-events:none;max-width:210px}
.atelier-caption span{font-size:9px;letter-spacing:.25em;color:#d5bb8c}.atelier-caption p{font:italic 21px/1.4 Georgia,serif;margin-top:12px}
.atelier-page .website-grid{gap:16px}.atelier-page .website-art{background-color:#151613b0;backdrop-filter:blur(5px)}.atelier-page .website-caption h2{font-size:17px}
@media(min-width:761px) and (max-height:820px){.atelier-page .collection{gap:9px;padding-block:14px}.atelier-page .collection h1{font-size:31px}.atelier-page .work-card{padding:7px 10px}.atelier-page .card-meta{font-size:8px;margin-bottom:3px}.atelier-page .card-meta svg{width:14px;height:14px}.atelier-page .work-card h2{font-size:12px;margin-bottom:4px}.atelier-page .work-card p{font-size:10.5px;margin-bottom:4px}}
@media(max-width:1000px) and (min-width:761px){.atelier-page .collection{width:74%;margin-left:23%}.atelier-object{left:0;width:22vw;height:22vw}.atelier-caption{left:3%;max-width:150px}.atelier-caption p{font-size:17px}}
@media(max-width:760px){.atelier-scene{top:60px;background-size:auto 100%;opacity:.36}.atelier-scene::after{background:linear-gradient(90deg,#10111055,#101110c9 80%)}.atelier-page .collection{width:90%;margin-inline:auto;gap:14px;padding-top:22px}.atelier-page .collection h1{font-size:29px;max-width:75%}.atelier-page .work-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:8px}.atelier-page .work-card{padding:12px;background:#141512e8}.atelier-page .work-card h2{font-size:14px}.atelier-page .work-card p{font-size:12px}.atelier-page .work-price{font-size:10px}.atelier-caption{display:none}.atelier-object{left:auto;right:0;bottom:auto;top:66px;width:100px;height:100px;opacity:.8;filter:brightness(.65) saturate(.65)}.atelier-page .website-caption h2{font-size:15px}.atelier-page .website-grid{gap:12px}}
@media(max-height:650px) and (min-width:761px){.atelier-page .work-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:1fr}.atelier-page .collection{width:78%;margin-left:19%}.atelier-caption{display:none}.atelier-object{width:19vw;height:19vw;left:0}}
@media(max-height:650px) and (max-width:760px){.atelier-page .collection{padding-block:12px;gap:9px}.atelier-page .work-card{padding:10px}.atelier-page .work-card h2{font-size:13px}.atelier-page .work-card p{font-size:11px}}
@media(max-height:450px) and (orientation:landscape){.atelier-scene{top:42px}.atelier-page .collection{height:calc(100svh - 42px);padding-block:8px;gap:6px}.atelier-page .work-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:1fr}.atelier-page .work-card{padding:8px}.atelier-page .work-card h2{font-size:11px}.atelier-page .work-card p{font-size:10px}.atelier-page .website-caption h2{font-size:12px}}
@media(prefers-reduced-motion:reduce){.atelier-object i{transition:none}}

.atelier-page .project-mark{position:absolute;left:11px;top:10px;width:34px;height:34px;border:1px solid #d5bb8c38;border-radius:8px;background:linear-gradient(145deg,#d5bb8c1a,#191915);display:grid;place-items:center;color:#d6c3a1}
.atelier-page .project-mark svg{width:27px;height:27px;stroke:currentColor;stroke-width:1.3;fill:none}
.atelier-page .work-card .card-meta{padding-left:44px;min-height:11px;margin-bottom:3px}.atelier-page .work-card h2{padding-left:44px;min-height:24px;margin-bottom:5px}.atelier-page .work-card p{margin-top:2px}
@media(max-height:820px) and (min-width:761px){.atelier-page .project-mark{width:29px;height:29px;left:9px;top:8px}.atelier-page .project-mark svg{width:23px;height:23px}.atelier-page .work-card .card-meta,.atelier-page .work-card h2{padding-left:36px}.atelier-page .work-card h2{min-height:16px}}
@media(max-height:450px) and (orientation:landscape){.atelier-page .project-mark{display:none}.atelier-page .work-card h2{padding-left:0}}

.atelier-page .website-preview{height:auto;aspect-ratio:1.44;display:block;overflow:hidden;background:#111;border-color:#d5bb8c35}.website-preview::before{display:none}.website-preview img{display:block;width:100%;height:100%;object-fit:cover;object-position:top;filter:saturate(.65) brightness(.84);transition:filter .25s}.website-card:hover .website-preview img{filter:saturate(1) brightness(1)}
@media(max-width:760px){.atelier-page .website-preview{height:75px;aspect-ratio:auto}.website-preview img{object-fit:cover;object-position:left top}}
@media(max-height:450px) and (orientation:landscape){.atelier-page .website-preview{height:90px;aspect-ratio:auto}}
@media(prefers-reduced-motion:reduce){.website-preview img{transition:none}}

/* Four live website previews, balanced in two rows. */
.atelier-page .website-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 20px;padding-bottom:8px}
.atelier-page .website-preview{height:clamp(110px,19vh,185px);aspect-ratio:auto}.atelier-page .website-caption{margin-top:10px}
@media(max-width:760px){.atelier-page .website-grid{grid-template-columns:1fr;gap:10px;padding:0}.atelier-page .website-preview{height:64px}.atelier-page .website-caption{margin-top:0}.atelier-page .website-card{grid-template-columns:95px 1fr}.atelier-page .website-caption h2{font-size:14px}.atelier-page .website-card>p{font-size:10px}}
@media(max-height:450px) and (orientation:landscape){.atelier-page .website-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.atelier-page .website-preview{height:80px}.atelier-page .website-caption h2{font-size:11px}}

.atelier-object .object-chess{background-image:url(atelier-king.webp);background-size:contain;background-position:center bottom}
.atelier-lighting{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.atelier-light-glow{animation:lamplight 5.6s ease-in-out infinite}.atelier-light-dim{animation:window-reflection 5.6s ease-in-out infinite}
@media(max-width:760px){.atelier-lighting{width:calc((100svh - 60px)*1.5)}}
@media(max-height:450px) and (orientation:landscape){.atelier-lighting{width:100%}}
@media(prefers-reduced-motion:reduce){.atelier-light-glow{animation:none;opacity:.65}.atelier-light-dim{animation:none;opacity:.35}}

/* Seat the king on the tabletop, behind its front edge. */
.atelier-page[data-scene=all] .atelier-object,.atelier-page[data-scene=chess] .atelier-object{bottom:12%}
.atelier-object .object-chess{animation:king-lamplight 5.6s ease-in-out infinite}
.atelier-object::before{content:"";position:absolute;left:29%;bottom:2.2%;width:44%;height:6%;background:radial-gradient(ellipse,#000b 0%,#0006 35%,transparent 72%);transform:rotate(-5deg);opacity:0;transition:opacity .65s ease;pointer-events:none}
[data-scene=all] .atelier-object::before,[data-scene=chess] .atelier-object::before{opacity:1}
@keyframes king-lamplight{0%,48%,72%,100%{filter:brightness(.96)}25%,61%{filter:brightness(.82)}54%,66%{filter:brightness(1.04)}}
@media(max-width:760px){.atelier-page[data-scene=all] .atelier-object,.atelier-page[data-scene=chess] .atelier-object{bottom:auto}.atelier-object::before{display:none}}
@media(prefers-reduced-motion:reduce){.atelier-object .object-chess{animation:none;filter:brightness(.93)}.atelier-object::before{transition:none}}

/* Each prop meets the desktop at its own contact plane. */
.atelier-page[data-scene=audio] .atelier-object{bottom:12%}
.atelier-page[data-scene=learn] .atelier-object,.atelier-page[data-scene=tools] .atelier-object{bottom:6%}
.atelier-object .object-audio,.atelier-object .object-learn,.atelier-object .object-tools{animation:king-lamplight 5.6s ease-in-out infinite}
.atelier-object .object-learn,.atelier-object .object-tools{transform-origin:50% 80%}
.atelier-page[data-scene=learn] .object-learn{transform:scale(.9,.54)}
.atelier-page[data-scene=tools] .object-tools{transform:scale(.9,.54)}
[data-scene=audio] .atelier-object::before{opacity:1;left:22%;width:56%;bottom:3%;height:7%;transform:rotate(-3deg)}
[data-scene=learn] .atelier-object::before,[data-scene=tools] .atelier-object::before{opacity:1;left:8%;width:84%;bottom:17%;height:8%;transform:rotate(-2deg);background:radial-gradient(ellipse,#000a 0%,#0006 40%,transparent 74%)}
@media(max-width:760px){.atelier-page[data-scene=audio] .atelier-object,.atelier-page[data-scene=learn] .atelier-object,.atelier-page[data-scene=tools] .atelier-object{bottom:auto}.atelier-page[data-scene=learn] .object-learn,.atelier-page[data-scene=tools] .object-tools{transform:none}}
@media(prefers-reduced-motion:reduce){.atelier-object .object-audio,.atelier-object .object-learn,.atelier-object .object-tools{animation:none;filter:brightness(.93)}}

/* Original product artwork, with its own colours and proportions. */
.atelier-page .project-mark.original-logo{width:60px;height:60px;left:12px;top:50%;transform:translateY(-50%);border:0;border-radius:9px;background:transparent;overflow:hidden}
.original-logo img{display:block;width:100%;height:100%;object-fit:contain;filter:none}
.atelier-page .project-mark.logo-makler{background:#eee8dd;padding:5px}
.atelier-page .work-card .card-meta{height:0;min-height:0;margin:0;padding:0}
.atelier-page .card-meta>span:not(.project-mark){display:none}.atelier-page .card-meta>small{position:absolute;top:7px;right:9px;font-size:8px;color:#716b5f}
.atelier-page .work-card h2{padding-left:75px;padding-right:8px;min-height:0;margin-bottom:5px;font-size:13px}
.atelier-page .work-card p{padding-left:75px;margin-top:0;margin-bottom:5px;font-size:11px}
.atelier-page .work-card .work-price{padding-left:75px}
@media(min-width:761px) and (max-height:820px){.atelier-page .project-mark.original-logo{width:50px;height:50px;left:10px}.atelier-page .work-card h2,.atelier-page .work-card p,.atelier-page .work-card .work-price{padding-left:61px}.atelier-page .work-card h2{font-size:12px;margin-bottom:4px}.atelier-page .work-card p{font-size:10.5px;margin-bottom:4px}}
@media(max-width:760px){.atelier-page .project-mark.original-logo{width:40px;height:40px;left:10px;top:11px;transform:none}.atelier-page .work-card h2{padding-left:48px;padding-right:0;min-height:42px;font-size:13px;margin-bottom:7px}.atelier-page .work-card p,.atelier-page .work-card .work-price{padding-left:0}.atelier-page .work-card p{font-size:12px}}
@media(max-height:650px) and (max-width:760px){.atelier-page .work-card h2{font-size:12px;min-height:38px;margin-bottom:4px}.atelier-page .work-card p{font-size:11px}}
@media(max-height:450px) and (orientation:landscape){.atelier-page .work-card .card-meta{display:block}.atelier-page .project-mark.original-logo{display:block;width:32px;height:32px;left:8px;top:8px;transform:none}.atelier-page .work-card h2{padding-left:38px;min-height:33px;font-size:11px}.atelier-page .work-card p,.atelier-page .work-card .work-price{padding-left:0}}

.product-destination::after{content:"";position:absolute;inset:0;border-radius:7px}.product-destination:hover{text-decoration:none}.work-card:has(.product-destination):focus-within{outline:2px solid #d5bb8c;outline-offset:3px}
.destination-label{position:absolute;right:10px;bottom:9px;font-size:9px;color:#d5bb8c;pointer-events:none}.destination-label.pending{color:#8f938d}
.atelier-page .work-card .work-price{padding-right:80px}
.atelier-page .brand-only{padding:0}.brand-destination{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:18px;color:#d5bb8c;font-size:11px;border-radius:7px}.brand-destination:hover{text-decoration:none;background:#d5bb8c08}
.atelier-page .brand-only .project-mark.original-logo{position:static;transform:none;width:85px;height:70px;flex-shrink:0}.brand-destination>span:last-child{margin-right:10px}
@media(max-width:760px){.brand-destination{flex-direction:column;gap:8px}.atelier-page .brand-only .project-mark.original-logo{width:75px;height:64px}.destination-label{font-size:8px;right:8px;bottom:8px}.atelier-page .work-card .work-price{padding-right:65px;font-size:9px}}
@media(max-height:450px) and (orientation:landscape){.atelier-page .brand-only .project-mark.original-logo{width:58px;height:46px}.brand-destination{gap:6px;font-size:10px}.destination-label{font-size:8px}}

/* Large product artwork shares a consistent left column. */
.atelier-page .work-card{--logo-width:clamp(64px,7.5vw,120px);padding-left:12px}
.atelier-page .project-mark.original-logo{display:block;left:8px;top:8px;bottom:8px;width:var(--logo-width);height:calc(100% - 16px);transform:none;border-radius:8px}
.atelier-page .work-card h2,.atelier-page .work-card p,.atelier-page .work-card .work-price{padding-left:calc(var(--logo-width) + 8px)}
.atelier-page .work-card .work-price{padding-right:0;margin-top:auto}
.atelier-page .work-card .destination-label{position:static;padding-left:calc(var(--logo-width) + 8px);margin-top:3px;font-size:9px}
@media(max-width:760px){
 .atelier-page .work-grid{grid-template-columns:1fr;grid-template-rows:repeat(4,minmax(0,1fr))}
 .atelier-page .work-card{--logo-width:78px;padding:8px 10px}
 .atelier-page .work-card h2{min-height:0;margin-bottom:4px}
 .atelier-page .work-card p{font-size:11px;margin-bottom:4px}
 .atelier-page .project-mark.original-logo{left:6px;top:6px;height:calc(100% - 12px)}
 .atelier-page .work-card .destination-label{position:absolute;right:10px;bottom:8px;padding-left:0;font-size:8px}
 .atelier-page .work-card .work-price{padding-right:90px}
}
@media(max-height:650px) and (min-width:761px){.atelier-page .work-card{--logo-width:70px}}
@media(max-height:450px) and (orientation:landscape){.atelier-page .work-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}.atelier-page .work-card{--logo-width:52px}.atelier-page .work-card .destination-label{position:static;padding-left:calc(var(--logo-width) + 8px)}}

/* Compensate for the artwork's built-in empty margins. */
.atelier-page .work-card:has(.logo-chesscombine,.logo-chess960,.logo-editor){--logo-width:clamp(80px,10vw,166px)}
.atelier-page .logo-chesscombine img{transform:scale(1.4)}
.atelier-page .logo-chess960 img{transform:scale(1.28)}
.atelier-page .logo-editor img{transform:none}
@media(max-width:760px){.atelier-page .work-card:has(.logo-chesscombine,.logo-chess960,.logo-editor){--logo-width:100px}}
@media(max-height:650px) and (min-width:761px){.atelier-page .work-card:has(.logo-chesscombine,.logo-chess960,.logo-editor){--logo-width:90px}}
@media(max-height:450px) and (orientation:landscape){.atelier-page .work-card:has(.logo-chesscombine,.logo-chess960,.logo-editor){--logo-width:62px}}

/* DjRUS follows Folio's rounded gold frame. */
.atelier-page .project-mark.logo-djrus{height:auto;aspect-ratio:1;top:50%;bottom:auto;transform:translateY(-50%);border:2px solid #d5bb8c;border-radius:22%;background:#344b5d}
.atelier-page .logo-djrus img{transform:scale(1.18)}
@media(min-width:761px) and (max-height:820px){.atelier-page .project-mark.logo-djrus{width:64px;left:calc(8px + (var(--logo-width) - 64px)/2)}}

/* Give all products the same artwork column and optical scale. */
.atelier-page .work-card{--logo-width:clamp(80px,10vw,166px)}
.atelier-page .logo-chessdive img{transform:none}
.atelier-page .logo-speed-reading img{transform:scale(1.08)}
.atelier-page .project-mark.logo-djrus{width:var(--logo-width);height:calc(100% - 16px);max-height:var(--logo-width);left:8px;aspect-ratio:auto;border:0;background:transparent;border-radius:0}
.atelier-page .logo-djrus img{transform:none;object-fit:contain}
@media(max-width:760px){.atelier-page .work-card{--logo-width:100px}}
@media(max-height:650px) and (min-width:761px){.atelier-page .work-card{--logo-width:90px}}
@media(max-height:450px) and (orientation:landscape){.atelier-page .work-card{--logo-width:62px}}

.atelier-page .logo-speed-reading img{transform:scale(1.2)}
.atelier-page .logo-djrus img{border:2px solid #d5bb8c;border-radius:22%;background:#101110;box-sizing:border-box}
@media(min-width:761px) and (max-height:820px){.atelier-page .work-card,.atelier-page .work-card:has(.logo-chesscombine,.logo-chess960,.logo-editor){--logo-width:76px}.atelier-page .work-card h2,.atelier-page .work-card p,.atelier-page .work-card .work-price,.atelier-page .work-card .destination-label{flex-shrink:0}}

/* Fit the full ChessDive mark, without its transparent top/bottom margins. */
.atelier-page .work-card:has(.logo-chessdive){--logo-width:clamp(96px,12vw,200px)}
.atelier-page .logo-chessdive img{transform:none;object-fit:contain}
.atelier-page .project-mark.logo-makler{background:#b9a078}
@media(max-width:760px){.atelier-page .work-card:has(.logo-chessdive){--logo-width:120px}}
@media(min-width:761px) and (max-height:820px){.atelier-page .work-card:has(.logo-chessdive){--logo-width:96px}}
@media(max-height:450px) and (orientation:landscape){.atelier-page .work-card:has(.logo-chessdive){--logo-width:78px}}

/* One shared silhouette for backed app icons. Cutout marks keep their original rules. */
.atelier-page .project-mark.original-logo.framed-logo{top:50%;bottom:auto;left:8px;width:auto;height:min(var(--logo-width),calc(100% - 16px));max-height:none;aspect-ratio:1;transform:translateY(-50%);border-radius:22%;padding:0;overflow:hidden;background:var(--tile-bg,#151513);border:1px solid #d5bb8c55;box-sizing:border-box}
.atelier-page .project-mark.framed-logo img{width:100%;height:100%;aspect-ratio:1;object-fit:contain;transform:scale(var(--tile-scale,1));border:0;border-radius:0;background:transparent;box-shadow:none}
.atelier-page .framed-logo.logo-makler{--tile-bg:#b9a078;--tile-scale:.9}
.atelier-page .framed-logo.logo-russian{--tile-bg:#fc8465;--tile-scale:1.04}
.atelier-page .framed-logo.logo-tuner{--tile-bg:#000;--tile-scale:1.06}
.atelier-page .framed-logo.logo-audiobook{--tile-bg:#ca3157;--tile-scale:1.09}
.atelier-page .framed-logo.logo-reader{--tile-scale:1.12}
.atelier-page .framed-logo.logo-quizstrix{--tile-scale:1.13}
.atelier-page .framed-logo.logo-fms{--tile-bg:#262625;--tile-scale:1.16}
.atelier-page .framed-logo.logo-djrus{--tile-bg:#101110;--tile-scale:1.06}
.atelier-page .framed-logo.logo-editor{--tile-bg:#33312b;--tile-scale:1}
.atelier-page .framed-logo.logo-prompter{--tile-bg:#2a2824;--tile-scale:1}
@media(max-width:760px){.atelier-page .project-mark.original-logo.framed-logo{left:6px;height:min(var(--logo-width),calc(100% - 12px))}}

/* Clear platform labels, shared by current and future product variants. */
.atelier-page .card-availability{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;padding-left:calc(var(--logo-width) + 8px);margin-top:auto}
.platform-badges{display:flex;flex-wrap:wrap;gap:5px}
.platform-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:3px 10px;font:650 11px/1.25 "Segoe UI",sans-serif;letter-spacing:.015em;white-space:nowrap;border:1px solid #ffffff30;box-shadow:0 2px 8px #0003}
.platform-android{background:#b8d99a;color:#203214}.platform-windows{background:#a6cee9;color:#18364d}.platform-ios{background:#d4c4ed;color:#39284f}.platform-web{background:#e1c392;color:#413018}
.atelier-page .work-card .card-availability .work-price{padding:0;margin:0;font-size:9px}
.atelier-page .work-card .destination-label{display:none}
.atelier-page .work-card:has(.logo-tuner) .destination-label{display:block;font-size:9px;margin-top:2px}
@media(min-width:761px) and (max-height:820px){.platform-badge{font-size:10px;padding:2px 8px}.atelier-page .card-availability{gap:3px 6px}.atelier-page .work-card .card-availability .work-price{font-size:8px}}
@media(max-width:760px){.platform-badge{font-size:11px}.atelier-page .card-availability{gap:5px 8px}.atelier-page .work-card .card-availability .work-price{font-size:9px}}

@media(min-width:761px) and (max-height:820px){.atelier-page .collection-heading .eyebrow{display:none}.atelier-page .collection{gap:8px}.atelier-page .work-card p{line-height:1.25}.atelier-page .work-card:has(.logo-chessdive){--logo-width:82px}}

body.portfolio-page>header.wrap{background:#dededb;color:#242423;border-bottom:1px solid #c4c4c0}
.collection-bottom{background:#dededb;border:1px solid #c4c4c0;border-radius:6px;padding:8px 12px;flex-shrink:0;color:#454540}.collection-bottom .project-cta span{color:#665336}.collection-bottom .work-pagination button{color:#454540;border-color:#99998f}
@media(min-width:761px) and (max-height:820px){.collection-bottom{padding:5px 10px}}

/* Quiet stone texture: broad mineral variation, fine grain, restrained veins. */
body>header.wrap,.home .entrances,body>footer.wrap,body.portfolio-page>header.wrap,.portfolio-page .collection-bottom{
 background-color:#dededb;
 background-image:url("studio-stone.svg"),linear-gradient(112deg,transparent 14%,#ffffff38 17%,transparent 22%,#8e8e8812 46%,transparent 50%,#ffffff30 76%,transparent 81%),linear-gradient(175deg,#e7e7e3,#d8d8d4);
 background-size:320px 180px,100% 100%,100% 100%;
}

/* Pure white navigation surfaces. */
body>header.wrap,.home .entrances,body>footer.wrap,body.portfolio-page>header.wrap,.portfolio-page .collection-bottom{background:#fff;color:#242423;border-color:#ddd}

/* Mobile catalogue: let content determine row height instead of shrinking text. */
@media(max-width:760px){
 .atelier-page .collection:has(.work-grid){height:auto;min-height:calc(100svh - 60px)}
 .atelier-page .work-grid{flex:none;grid-template-rows:none;grid-auto-rows:auto;align-content:start}
 .atelier-page .work-card,
 .atelier-page .work-card:has(.project-mark){--logo-width:76px;min-height:104px;padding:12px 10px}
 .atelier-page .work-card h2,
 .atelier-page .work-card p,
 .atelier-page .work-card .card-availability{flex-shrink:0}
 .atelier-page .work-card h2{line-height:1.3;margin-bottom:5px}
 .atelier-page .work-card p{line-height:1.4;margin-bottom:7px}
 .atelier-page .work-card .destination-label{position:static;padding-left:calc(var(--logo-width) + 8px)}
 .atelier-page .work-card .project-mark.original-logo{top:12px;bottom:auto;height:76px;max-height:76px;transform:none}
 .atelier-page .work-card .project-mark.original-logo.framed-logo{width:76px}
 .collection:has(.work-grid) .collection-toolbar{min-width:0}
 .collection:has(.work-grid) .work-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;width:100%}
 .collection:has(.work-grid) .work-filters button{min-height:36px;padding:5px 4px}
 .collection:has(.work-grid) .collection-bottom{margin-top:auto}
 .collection-bottom .work-pagination button:disabled{opacity:1;color:#888;border-color:#ddd;background:#f5f5f5}
}
