/* A single L-profile floating frame; exhibition styling stays inside this section. */
.works-gallery{--wall-color:#641f24;--wall-ink:#f8e8dc;--wall-muted:#eedbd0a6;--spot-x:50%;--spot-y:33%;--light-opacity:.6;--view-x:0deg;--view-y:0deg;--shadow-x:12px;--shadow-y:20px;background:#eeeae2;scroll-margin-top:70px}
.gallery-room{display:grid;grid-template-columns:minmax(0,1fr) 270px;height:calc(100svh - 70px);min-height:660px;max-height:1100px;isolation:isolate}
.gallery-wall{position:relative;display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-width:0;overflow:hidden;padding:34px 46px 29px;color:var(--wall-ink);background-color:var(--wall-color);background-image:radial-gradient(ellipse at 50% 43%,transparent 18%,#0000001c 78%,#0000003d);transition:background-color .45s,color .3s}
.gallery-wall:before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse 60% 75% at var(--spot-x) var(--spot-y),#ffe8cc5e,transparent 85%);opacity:var(--light-opacity);transition:opacity .2s;z-index:0}
.gallery-wall:after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.15;background-image:repeating-linear-gradient(0deg,#fff1 0,#fff1 1px,transparent 1px,transparent 3px),repeating-linear-gradient(90deg,#0001 0,#0001 1px,transparent 1px,transparent 4px);mix-blend-mode:soft-light}
.gallery-wall-heading,.gallery-wall-footer{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:20px}
.gallery-wall-heading p{font:9px/1.6 Arial,sans-serif;letter-spacing:.2em;color:var(--wall-muted);margin-bottom:7px}
.gallery-wall-heading h2{font-size:20px;font-weight:400;line-height:1.5;letter-spacing:.12em}
.gallery-wall-heading>span{font:10px Arial,sans-serif;color:var(--wall-muted);letter-spacing:.05em}
.gallery-hang{position:relative;min-width:0;min-height:0;display:grid;place-items:center;perspective:1300px;padding:20px 0 24px;z-index:1}
.gallery-frame{display:block;width:min(350px,75%);max-width:100%;padding:8px;border:3px solid #412a20;border-top-color:#73503e;border-left-color:#64442f;border-bottom-color:#221612;border-right-color:#2d1b15;background:linear-gradient(110deg,#604131,#38221b 45%,#513526);box-shadow:inset 0 0 0 1px #d9a0783d,2px 3px 0 #251a14,5px 7px 0 #251a1470,var(--shadow-x) var(--shadow-y) 14px #180a0759,20px 35px 40px #140c073b;transform:rotateX(var(--view-x)) rotateY(var(--view-y));transform-style:preserve-3d;transition:transform .55s cubic-bezier(.2,.65,.3,1),width .45s,box-shadow .55s;outline-offset:8px}
.gallery-frame-recess{display:block;background:#211c17;padding:7px;box-shadow:inset 3px 4px 7px #000a,inset -1px -1px 0 #ae8c683b}
.gallery-mat{display:block;background:#f3eee3;padding:6px;box-shadow:0 0 3px #000a;overflow:hidden}
.gallery-frame img{display:block;width:100%;height:auto;transform:rotate(var(--art-rotation,0deg));transition:opacity .16s;object-fit:contain;user-select:none}
.gallery-frame.is-changing img{opacity:0}
.gallery-frame:focus-visible{outline:2px solid var(--wall-ink)}
.gallery-wall-footer{min-height:55px;align-items:flex-end}
.gallery-plaque{position:relative;padding-left:42px}
.gallery-plaque>span{position:absolute;left:0;top:3px;writing-mode:vertical-rl;font:9px/1.4 Arial,sans-serif;letter-spacing:.12em;color:var(--wall-muted)}
.gallery-plaque h3{font-size:18px;font-weight:400;letter-spacing:.07em;line-height:1.5}
.gallery-plaque p{font-size:10px;letter-spacing:.1em;color:var(--wall-muted);margin-top:5px}
.gallery-wall-actions{display:flex;gap:22px;align-items:center}
.gallery-wall-actions>span{font-size:10px;color:var(--wall-muted)}
.gallery-pagination{display:flex;gap:9px}.gallery-pagination[hidden]{display:none}
.gallery-pagination button{width:34px;height:34px;border:1px solid color-mix(in srgb,var(--wall-ink) 30%,transparent);color:var(--wall-ink);border-radius:50%;font-size:17px;transition:background .2s}
.gallery-pagination button:hover{background:#ffffff1c}
.gallery-sidebar{background:#f7f5ef;color:#342f29;display:flex;flex-direction:column;padding:30px 23px 24px;min-width:0;min-height:0;border-left:1px solid #0000000d;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#b8ada1 transparent}
.gallery-sidebar-heading{display:flex;align-items:baseline;justify-content:space-between;padding-bottom:20px}
.gallery-sidebar-heading h3,.gallery-control-heading h3{font-size:13px;letter-spacing:.06em;font-weight:500}
.gallery-sidebar-heading>span{font:10px Arial,sans-serif;color:#978a7d}
.gallery-catalog{display:flex;flex-direction:column;gap:10px;min-height:185px;max-height:320px;height:33vh;flex:0 1 auto;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#bdb2a2 transparent;touch-action:pan-y;cursor:grab;padding:2px 5px 2px 1px}
.gallery-catalog.is-dragging{cursor:grabbing;user-select:none}
.gallery-item{display:grid;grid-template-columns:63px minmax(0,1fr) 10px;gap:11px;align-items:center;padding:7px;border:1px solid transparent;border-radius:5px;min-height:96px;flex-shrink:0;transition:background .25s,border-color .25s;cursor:inherit;outline-offset:-1px}
.gallery-item:hover{background:#ebe6dc7a}
.gallery-item[aria-current=true]{background:#eee8dc;border-color:#d7c9b6}
.gallery-item:focus-visible{outline:2px solid #775637}
.gallery-thumbnail{display:grid;place-items:center;height:80px;background:#e0dbd1;padding:4px;border:1px solid #d1c6b6;box-shadow:inset 0 0 0 2px #f1ece3}
.gallery-thumbnail img{width:100%;height:100%;max-height:70px;object-fit:contain;transform:rotate(var(--art-rotation,0deg));pointer-events:none}
.gallery-item-copy small{display:block;color:#9b8d7e;font:9px Arial,sans-serif;letter-spacing:.03em}
.gallery-item-copy strong{font-size:12px;font-weight:400;margin-top:9px;display:block;line-height:1.5}
.gallery-selected{font-size:13px;color:#907555;opacity:0}.gallery-item[aria-current=true] .gallery-selected{opacity:1}
.gallery-scroll-hint{display:flex;justify-content:space-between;align-items:center;font-size:9px;color:#9b8e7f;margin-top:11px}
.gallery-scroll-hint>span{font-size:13px}
.gallery-controls{border-top:1px solid #dfd7cb;padding-top:21px;margin-top:22px}
.gallery-controls[hidden]{display:none}
.gallery-control-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
#gallery-reset{font-size:10px;color:#968673;text-decoration:underline;text-underline-offset:3px}
.gallery-swatches{display:flex;justify-content:space-between;gap:7px;margin-bottom:14px}
.gallery-swatches button{width:23px;height:23px;background:var(--swatch);border-radius:50%;border:1px solid #0002;position:relative}
.gallery-swatches button[aria-pressed=true]:after{content:"";position:absolute;inset:-4px;border:1px solid #9c8871;border-radius:50%}
.gallery-swatches button:focus-visible{outline:2px solid #785334;outline-offset:5px}
.gallery-custom-color{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#847461;cursor:pointer}
#gallery-color{width:34px;height:23px;padding:2px;border:1px solid #cbbfae;border-radius:3px;background:#fffc;cursor:pointer}
#gallery-color::-webkit-color-swatch-wrapper{padding:0}#gallery-color::-webkit-color-swatch{border:0;border-radius:1px}
.gallery-range-label{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#847461;margin-top:21px}
.gallery-range-label output{font:10px Arial,sans-serif;color:#a39480}
.gallery-range{display:block;width:100%;height:18px;accent-color:#85664a;margin:8px 0 0;cursor:ew-resize}
.gallery-follow{position:relative;display:flex;align-items:center;justify-content:space-between;margin-top:19px;font-size:10px;color:#847461;cursor:pointer;gap:10px}
.gallery-follow input{position:absolute;right:0;opacity:0;width:29px;height:17px;cursor:pointer}
.gallery-follow i{width:29px;height:17px;border-radius:10px;background:#c9c1b5;position:relative;pointer-events:none;transition:background .2s}
.gallery-follow i:after{content:"";position:absolute;left:3px;top:3px;width:11px;height:11px;border-radius:50%;background:#fff;transition:transform .2s}
.gallery-follow input:checked+i{background:#88684b}.gallery-follow input:checked+i:after{transform:translateX(12px)}
.gallery-follow input:focus-visible+i{outline:2px solid #785334;outline-offset:3px}
.gallery-follow input:disabled+i{opacity:.4}.gallery-follow:has(input:disabled){cursor:default;opacity:.65}
.gallery-status{font-size:10px;color:#916044;line-height:1.7;margin-top:12px}.gallery-status:empty{display:none}
.gallery-sidebar-foot{font:8px/1.6 Arial,sans-serif;letter-spacing:.16em;color:#b0a391;display:block;margin-top:auto;padding-top:25px}
@media(min-width:761px) and (max-height:780px){.gallery-room{min-height:610px}.gallery-sidebar{padding:22px 20px 18px}.gallery-catalog{height:220px;min-height:160px}.gallery-sidebar-heading{padding-bottom:12px}.gallery-controls{padding-top:15px;margin-top:15px}.gallery-control-heading{margin-bottom:14px}.gallery-range-label{margin-top:13px}.gallery-follow{margin-top:12px}.gallery-sidebar-foot{padding-top:15px}.gallery-wall{padding:28px 36px 24px}}
@media(max-width:1000px) and (min-width:761px){.gallery-room{grid-template-columns:minmax(0,1fr) 240px}.gallery-wall{padding:26px}.gallery-wall-actions>span{display:none}.gallery-sidebar{padding:26px 18px}}
@media(max-width:760px){.works-gallery{scroll-margin-top:62px}.gallery-room{grid-template-columns:1fr;height:auto;min-height:0;max-height:none}.gallery-wall{height:calc(82svh - 62px);min-height:440px;padding:24px 24px 22px;grid-template-rows:auto minmax(0,1fr) auto}.gallery-wall-heading h2{font-size:18px}.gallery-wall-heading p{font-size:8px}.gallery-wall-heading>span{font-size:9px}.gallery-hang{padding:16px 0 21px}.gallery-wall-actions>span{display:none}.gallery-plaque h3{font-size:17px}.gallery-plaque{padding-left:32px}.gallery-frame{width:min(240px,68%)}.gallery-sidebar{padding:25px 24px 31px;border-left:0}.gallery-sidebar-heading{padding-bottom:17px}.gallery-catalog{height:auto;max-height:none;min-height:0;flex-direction:row;overflow-x:auto;overflow-y:hidden;gap:12px;touch-action:pan-x;scrollbar-width:thin;padding-bottom:8px}.gallery-item{grid-template-columns:57px minmax(0,1fr);min-width:163px;width:163px;gap:10px}.gallery-thumbnail{height:74px}.gallery-thumbnail img{max-height:64px}.gallery-selected{display:none}.gallery-scroll-hint{margin-top:8px}.gallery-controls{display:grid;grid-template-columns:1fr 1fr;column-gap:30px;align-items:center;margin-top:23px;padding-top:21px}.gallery-control-heading{grid-column:1/-1;margin-bottom:22px}.gallery-swatches{grid-column:1/-1;justify-content:flex-start;gap:19px;margin-bottom:18px}.gallery-custom-color{grid-column:1/-1}.gallery-range-label{grid-row:4;align-self:end;margin-top:23px}.gallery-range{grid-row:5}.gallery-follow{grid-column:1/-1;margin-top:23px}.gallery-sidebar-foot{padding-top:30px}.gallery-range{width:100%}}
@media(prefers-reduced-motion:reduce){.works-gallery *{transition:none!important}}
.motion-off .works-gallery *{transition:none!important}

/* Immersive revision: the wall is one continuous surface, including the floating controls. */
.works-gallery{--wall-color:#50504c;--room-darkness:0;--art-light:1;--frame-light:1;--chrome-dim:0%;background:var(--wall-color)}
.gallery-room{position:relative;grid-template-columns:minmax(0,1fr) 320px;background-color:var(--wall-color);background-image:radial-gradient(ellipse at 39% 43%,transparent 14%,#0002 75%,#0004);transition:background-color .7s}
.gallery-room:before{content:"";position:absolute;inset:0;pointer-events:none;z-index:0;background:radial-gradient(ellipse 55% 88% at var(--spot-x) var(--spot-y),#ffedcf73,transparent 85%);opacity:var(--light-opacity);transition:opacity .65s}
.gallery-room:after{content:"";position:absolute;inset:0;pointer-events:none;z-index:0;background:#000;opacity:var(--room-darkness);transition:opacity .65s}
.gallery-wall{z-index:1;background:none;overflow:visible;padding-right:30px}
.gallery-wall:before,.gallery-wall:after{display:none}
.gallery-ceiling-light{position:absolute;top:0;left:50%;width:78px;height:5px;border-radius:0 0 5px 5px;background:#a39989;box-shadow:0 4px 10px #fff7d5c2,0 10px 32px #ffe3a74a;opacity:.8;transition:opacity .5s,box-shadow .5s}
.gallery-frame{filter:brightness(var(--frame-light));transition:transform .55s cubic-bezier(.2,.65,.3,1),width .45s,box-shadow .55s,filter .65s}
.gallery-frame img{filter:brightness(var(--art-light));transition:opacity .16s,filter .65s}
.gallery-mat{background:#ede5d7}
.gallery-sidebar{position:relative;z-index:2;border:0;background:none;color:var(--wall-ink);padding:29px 27px 24px 10px;overflow:visible}
.gallery-sidebar-heading{padding:0 13px 5px;align-items:center}
.gallery-sidebar-heading h3{font-size:12px;font-weight:400;letter-spacing:.13em}
.gallery-sidebar-heading>span{color:var(--wall-muted)}
.gallery-catalog{height:34vh;min-height:230px;max-height:350px;gap:17px;padding:24px 13px 36px;overflow-x:hidden;scrollbar-width:none;mask-image:linear-gradient(transparent,#000 8%,#000 90%,transparent);perspective:1000px}
.gallery-catalog::-webkit-scrollbar{display:none}
.gallery-item{position:relative;grid-template-columns:75px minmax(0,1fr) 12px;gap:14px;padding:14px 13px;min-height:122px;background:#ffffff0e;border:1px solid #ffffff26;border-radius:13px;box-shadow:0 8px 22px #00000016;backdrop-filter:blur(16px);transform:rotate(var(--card-rest,-1.4deg));transition:transform .4s cubic-bezier(.2,.7,.2,1),background .35s,box-shadow .35s,border-color .35s;isolation:isolate}
.gallery-item:nth-child(2n){--card-rest:1.3deg}
.gallery-item:before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:radial-gradient(190px circle at var(--pointer-x,50%) var(--pointer-y,45%),#fff3,transparent);opacity:0;transition:opacity .3s;pointer-events:none}
.gallery-item[aria-current=true]{background:#ffffff21;border-color:#ffffff69;transform:rotate(0deg);box-shadow:0 10px 28px #00000026}
.gallery-item:focus-visible{outline:2px solid var(--wall-ink);outline-offset:2px}
.gallery-thumbnail{height:91px;padding:5px;border-color:#ffffff35;background:#00000012;box-shadow:inset 0 0 0 2px #ffffff12;border-radius:3px}
.gallery-thumbnail img{max-height:79px;filter:brightness(var(--thumb-light,1));transition:filter .65s}
.gallery-item-copy small{color:var(--wall-muted);font-size:9px}
.gallery-item-copy strong{color:var(--wall-ink);font-size:13px}
.gallery-selected{color:var(--wall-ink)}
.gallery-scroll-hint{color:var(--wall-muted);padding:0 13px;margin-top:3px}
.gallery-controls{border:1px solid #ffffff24;padding:17px 19px 18px;margin:19px 7px 0;border-radius:18px;background:#ffffff09;backdrop-filter:blur(18px);box-shadow:0 12px 35px #0000000d}
.gallery-control-heading{margin-bottom:16px}.gallery-control-heading h3{font-weight:400;font-size:11px}
#gallery-reset{color:var(--wall-muted);font-size:9px}
.gallery-light-row,.gallery-auto-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.gallery-light-row{margin-bottom:18px}.gallery-light-status{font-size:11px;display:flex;align-items:center;gap:8px}
.gallery-light-status:before{content:"";width:5px;height:5px;background:#ffe3a8;box-shadow:0 0 10px #ffd08b;border-radius:50%;transition:background .4s}
#gallery-lamp{display:flex;align-items:center;gap:9px;color:var(--wall-ink);font-size:10px;border:1px solid #ffffff45;background:#ffffff0c;border-radius:99px;padding:6px 12px;transition:background .3s,box-shadow .3s}
#gallery-lamp>span:first-child{font-size:16px;line-height:1}#gallery-lamp:hover{background:#ffffff20;box-shadow:0 0 18px #fff1}
.gallery-auto-row{border-top:1px solid #ffffff1c;padding-top:14px;margin-bottom:17px}
#gallery-tone-label{font-size:9px;color:var(--wall-muted);line-height:1.7}
#gallery-auto-color{font-size:9px;padding:5px 7px;border:1px solid #ffffff38;border-radius:5px;white-space:nowrap;color:var(--wall-muted)}
#gallery-auto-color[aria-pressed=true]{background:#ffffff18;color:var(--wall-ink);border-color:#ffffff60}
#gallery-auto-color[aria-pressed=false]>span{visibility:hidden}
.gallery-swatches{gap:8px;margin-bottom:13px}.gallery-swatches button{width:19px;height:19px;border-color:#ffffff60}
.gallery-swatches button[aria-pressed=true]:after{border-color:var(--wall-ink)}
.gallery-custom-color,.gallery-range-label,.gallery-follow{color:var(--wall-muted);font-size:10px}
#gallery-color{background:#fff1;border-color:#ffffff45;width:31px;height:20px}
.gallery-range-label{margin-top:15px}.gallery-range-label output{color:var(--wall-muted)}
.gallery-range{accent-color:#d5c4a7;height:16px;margin-top:5px}
.gallery-follow{margin-top:14px}.gallery-follow i{background:#ffffff27}.gallery-follow input:checked+i{background:#d5c4a780}
.gallery-sidebar-foot{color:var(--wall-muted);opacity:.6;padding:18px 13px 0;font-size:7px}
.gallery-status{color:var(--wall-ink);padding:0 13px}
.gallery-lights-off{--room-darkness:.68;--art-light:.42;--frame-light:.62;--thumb-light:.8;--chrome-dim:68%}
.gallery-lights-off .gallery-ceiling-light{box-shadow:none;opacity:.2}
.gallery-lights-off .gallery-light-status:before{background:#8e8e89;box-shadow:none}
.gallery-lights-off .gallery-controls{background:#ffffff07}
.gallery-lights-off #gallery-light{opacity:.3;cursor:not-allowed}
body.gallery-view .header.scrolled{color:var(--exhibit-ink,#f8e8dc);background:color-mix(in srgb,var(--exhibit-wall,#50504c),#000 var(--exhibit-dim,0%));border-bottom-color:transparent;backdrop-filter:none;transition:background .7s,color .35s,padding .35s}
body.gallery-view .hub-return{color:var(--exhibit-ink,#f8e8dc);background:color-mix(in srgb,var(--exhibit-wall,#50504c),#000 20%);border-color:#ffffff35;backdrop-filter:blur(14px)}
@media(hover:hover) and (pointer:fine){.gallery-item:hover{z-index:2;transform:translateY(-3px) rotate(0deg) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)) scale(1.03);background:#ffffff26;border-color:#ffffff80;box-shadow:0 16px 28px #0003}.gallery-item:hover:before{opacity:1}}
@media(min-width:761px) and (max-height:780px){.gallery-room{min-height:630px;grid-template-columns:minmax(0,1fr) 305px}.gallery-sidebar{padding-top:19px}.gallery-catalog{height:205px;min-height:180px;padding-top:15px;padding-bottom:25px}.gallery-item{min-height:112px;padding:10px 12px}.gallery-controls{margin-top:13px;padding-top:13px;padding-bottom:14px}.gallery-control-heading{margin-bottom:10px}.gallery-light-row{margin-bottom:11px}.gallery-auto-row{padding-top:11px;margin-bottom:13px}.gallery-range-label{margin-top:11px}.gallery-sidebar-foot{padding-top:12px}}
@media(min-width:761px) and (max-width:1000px){.gallery-room{grid-template-columns:minmax(0,1fr) 290px}.gallery-sidebar{padding-right:15px;padding-left:0}.gallery-wall{padding-left:26px;padding-right:20px}.gallery-item{gap:10px;grid-template-columns:67px minmax(0,1fr) 9px}.gallery-controls{padding-right:16px;padding-left:16px}}
@media(max-width:760px){.gallery-room{grid-template-columns:1fr}.gallery-room:before{background:radial-gradient(ellipse 95% 48% at var(--spot-x) 22%,#ffedcf73,transparent 90%)}.gallery-wall{padding:24px 24px 22px;overflow:hidden}.gallery-ceiling-light{width:52px}.gallery-sidebar{padding:16px 21px 34px;background:none}.gallery-sidebar-heading{padding:0 9px 3px}.gallery-catalog{height:auto;min-height:0;max-height:none;padding:22px 10px 27px;gap:17px;overflow-x:auto;overflow-y:hidden;mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent)}.gallery-item{min-width:190px;width:190px;min-height:113px;grid-template-columns:68px minmax(0,1fr);padding:11px;gap:11px}.gallery-thumbnail{height:87px}.gallery-thumbnail img{max-height:75px}.gallery-scroll-hint{padding:0 9px;margin-top:0}.gallery-controls{display:grid;grid-template-columns:1fr 1fr;padding:21px;margin:23px 5px 0;column-gap:24px}.gallery-control-heading{grid-column:1/-1;margin-bottom:18px}.gallery-light-row,.gallery-auto-row{grid-column:1/-1}.gallery-light-row{margin-bottom:18px}.gallery-auto-row{margin-bottom:20px}.gallery-swatches{grid-column:1/-1;gap:19px;justify-content:flex-start;margin-bottom:18px}.gallery-custom-color{grid-column:1/-1}.gallery-range-label{grid-row:6;margin-top:23px}.gallery-range{grid-row:7;margin-top:8px}.gallery-follow{grid-column:1/-1;margin-top:23px}.gallery-sidebar-foot{padding:24px 9px 0}.gallery-lights-off .gallery-controls{background:#ffffff07}}
.motion-off .gallery-item,.motion-off .gallery-item:hover{transform:none}
@media(prefers-reduced-motion:reduce){.gallery-item,.gallery-item:hover{transform:none}body.gallery-view .header.scrolled{transition:none}}

/* Category filters share the floating exhibition surface. */
.gallery-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:13px 9px 0}
.gallery-filters[hidden],.gallery-filter-hint[hidden],.gallery-item[hidden],.gallery-catalog[hidden],.gallery-empty[hidden],.gallery-catalog-empty[hidden]{display:none}
.gallery-filters button{padding:8px 0;color:var(--wall-muted);font-size:11px;letter-spacing:.04em;border:1px solid #ffffff25;border-radius:99px;background:#ffffff08;transition:background .25s,border-color .25s,color .25s}
.gallery-filters button:hover{background:#ffffff20;color:var(--wall-ink)}
.gallery-filters button[aria-pressed=true]{background:var(--wall-ink);color:var(--wall-color);border-color:var(--wall-ink)}
.gallery-filters button:focus-visible{outline:2px solid var(--wall-ink);outline-offset:3px}
.gallery-filter-hint{font-size:9px;color:var(--wall-muted);padding:9px 13px 0;min-height:23px}
.gallery-empty{grid-area:1/1;font-size:16px;letter-spacing:.12em;color:var(--wall-muted);text-align:center;line-height:2}
.gallery-is-empty .gallery-frame,.gallery-is-empty .gallery-wall-footer{visibility:hidden}
.gallery-is-empty .gallery-frame{grid-area:1/1}
.gallery-catalog-empty{min-height:170px;display:grid;align-content:center;gap:12px;padding:20px 13px;font-size:12px;color:var(--wall-ink);line-height:2}
.gallery-catalog-empty span{font-size:10px;color:var(--wall-muted)}
@media(min-width:761px){.gallery-catalog{height:29vh;min-height:180px}.gallery-sidebar{overflow-y:auto;scrollbar-width:none}.gallery-sidebar::-webkit-scrollbar{display:none}}
@media(min-width:761px) and (max-height:780px){.gallery-catalog{height:165px;min-height:140px}.gallery-filters{padding-top:10px}.gallery-filters button{padding:6px 0}.gallery-filter-hint{padding-top:6px}}
@media(max-width:760px){.gallery-filters{padding-top:16px;max-width:390px}.gallery-filters button{padding:10px 0}.gallery-filter-hint{padding-left:9px}.gallery-catalog-empty{min-height:135px}}

.gallery-scroll-hint[hidden]{display:none}.gallery-pagination button:disabled{opacity:.3;cursor:default}

/* Two reference mounts: broad ivory mat / floating paper inside a light wood box. */
.works-gallery[data-frame-style] .gallery-frame{padding:0;border-width:7px;border-style:solid;background:#261e17;border-color:#30271e #17120e #17120e #3e3225;box-shadow:inset 0 0 0 1px #ac8c5540,1px 1px 0 #090705,4px 5px 0 #21180fa6,var(--shadow-x) var(--shadow-y) 19px #110c0963,18px 29px 42px #140c0730}
.works-gallery[data-frame-style] .gallery-frame-recess{padding:0;background:#e2d8c5;box-shadow:none}
.works-gallery[data-frame-style] .gallery-mat{padding:var(--mount-y,70px) var(--mount-x,65px);background:#ece5d4;background-image:repeating-linear-gradient(0deg,#ffffff08 0 1px,transparent 1px 3px);box-shadow:inset 3px 5px 9px #2c1b1433,inset -1px -1px 2px #fff9;overflow:visible;transition:padding .45s}
.works-gallery[data-frame-style="matte"] .gallery-frame img{outline:1px solid #c3b79d;box-shadow:-1px -1px 2px #614e3040,1px 1px 1px #fff9}
.works-gallery[data-frame-style="float"] .gallery-frame{padding:8px;border-width:1px;border-color:#e5c9a4 #aa7f55 #87633f #d7b087;background:repeating-linear-gradient(7deg,#c49c7022 0 1px,#ddb98b22 1px 3px,transparent 3px 5px),linear-gradient(115deg,#d9b58c,#c49c72 50%,#b58d62);box-shadow:inset 0 0 0 1px #ffe5be66,2px 4px 0 #aa8057,5px 8px 0 #97714d,var(--shadow-x) var(--shadow-y) 17px #1b12094f,20px 32px 40px #140c0729}
.works-gallery[data-frame-style="float"] .gallery-frame-recess{padding:5px;background:linear-gradient(135deg,#ac8663,#d8be9c 45%,#ead7bb);box-shadow:inset 1px 3px 4px #6a4a2b38}
.works-gallery[data-frame-style="float"] .gallery-mat{background:#f5f0e5;box-shadow:inset 4px 8px 14px #7866502b,inset -1px -1px 2px #fff9}
.works-gallery[data-frame-style="float"] .gallery-frame img{outline:1px solid #ece7de;box-shadow:0 2px 0 #d1c8b9,0 3px 0 #ddd7cc,calc(var(--shadow-x)*.35) calc(var(--shadow-y)*.48) 5px #4c3d3152,8px 15px 15px #37271c22}
/* Collapsible atmosphere controls. The catalogue grows into the released space. */
.gallery-controls{display:block;flex-shrink:0}
.gallery-control-heading{display:block;margin:0}
.gallery-control-heading h3{width:100%;margin:0}
#gallery-controls-toggle{display:flex;justify-content:space-between;align-items:center;width:100%;color:var(--wall-ink);font-size:11px;text-align:left;gap:20px;padding:0}
.gallery-panel-toggle-label{color:var(--wall-muted);font-size:10px;white-space:nowrap}
.gallery-panel-toggle-label i{font-style:normal;font-size:13px;margin-left:6px}
#gallery-controls-toggle:focus-visible,#gallery-frame-picker:focus-visible,.gallery-frame-options button:focus-visible{outline:2px solid var(--wall-ink);outline-offset:5px;border-radius:4px}
.gallery-controls-body{margin-top:17px}
.gallery-controls-body[hidden],.gallery-frame-options[hidden]{display:none}
.gallery-controls.is-collapsed{padding-top:14px;padding-bottom:14px}
.gallery-frame-setting{margin-bottom:17px;border-bottom:1px solid #ffffff1c;padding-bottom:14px}
#gallery-frame-picker{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;text-align:left;font-size:10px;color:var(--wall-muted)}
#gallery-frame-picker>span:last-child{display:flex;align-items:center;gap:9px;color:var(--wall-ink)}
#gallery-frame-picker b{font-weight:400}#gallery-frame-picker i{font-style:normal}
.gallery-frame-options{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:15px}
.gallery-frame-options button{padding:12px 8px 10px;border:1px solid #ffffff2e;border-radius:10px;background:#ffffff08;color:var(--wall-ink);font-size:10px}
.gallery-frame-options button[aria-pressed=true]{border-color:var(--wall-ink);background:#ffffff1c}
.gallery-frame-options button small{display:block;font-size:8px;color:var(--wall-muted);margin-top:4px}
.frame-sample{display:grid;place-items:center;width:63px;height:55px;margin:0 auto 10px;background:#ede5d2;border:3px solid #2a2018;box-shadow:3px 4px 7px #0004}
.frame-sample i{display:block;width:23px;height:28px;background:linear-gradient(135deg,#756b55,#c0b8a1 45%,#817461);border:1px solid #d1c7ac}
.sample-float{border:4px solid #c8a479;background:#f3eee3;box-shadow:inset 2px 3px 4px #73532c44,3px 4px 7px #0004}
.sample-float i{width:32px;height:20px;background:linear-gradient(135deg,#89a9a8,#dfc073 40%,#7a8d69);border:0;box-shadow:3px 5px 3px #54463266}
#gallery-reset{display:block;margin:14px 0 0 auto}
@media(min-width:761px){.gallery-catalog{height:24vh;min-height:160px;max-height:280px}.gallery-settings-collapsed .gallery-catalog{height:auto;max-height:none;min-height:180px;flex:1 1 auto}.gallery-settings-collapsed .gallery-sidebar-foot{margin-top:0}}
@media(min-width:761px) and (max-height:780px){.gallery-catalog{height:150px;min-height:135px}.gallery-controls-body{margin-top:14px}.gallery-frame-setting{margin-bottom:12px;padding-bottom:12px}.gallery-settings-collapsed .gallery-catalog{height:auto}}
@media(max-width:760px){.gallery-controls{display:block}.gallery-controls-body{display:grid;grid-template-columns:1fr 1fr;column-gap:24px;margin-top:22px}.gallery-controls-body[hidden]{display:none}.gallery-frame-setting{grid-column:1/-1;margin-bottom:20px}.gallery-controls-body .gallery-light-row,.gallery-controls-body .gallery-auto-row,.gallery-controls-body .gallery-swatches,.gallery-controls-body .gallery-custom-color,.gallery-controls-body .gallery-follow,.gallery-controls-body #gallery-reset{grid-column:1/-1}.gallery-controls-body .gallery-range-label{grid-row:6}.gallery-controls-body .gallery-range{grid-row:7}.gallery-controls.is-collapsed{padding-top:17px;padding-bottom:17px}.gallery-frame-options{max-width:350px}}

@media(min-width:761px){.gallery-settings-collapsed .gallery-sidebar{padding-bottom:64px}}
