.gallery-page{--gallery-paper:#f8f4e9;--gallery-ink:#332b22;--gallery-muted:#665b4c;--gallery-line:#d9ceba;--gallery-red:#8f342d;background:var(--gallery-paper);color:var(--gallery-ink)}.gallery-page>.site-header{position:relative}.gallery-shell{width:min(1190px,100% - 64px);margin:0 auto;padding:38px 0 68px}.gallery-shell a{text-underline-offset:4px}.gallery-intro{align-items:center;gap:28px;padding:22px 0 36px;display:grid}.gallery-intro-featured{grid-template-columns:minmax(200px,1fr) minmax(0,2.5fr)}.gallery-intro h1,.gallery-work-heading h1,.gallery-order-page h1{font-family:var(--serif);letter-spacing:.04em;color:#4a2b20;margin:0 0 10px;font-size:clamp(2.5rem,5.4vw,4.75rem);line-height:1.1}.gallery-intro-copy p,.gallery-work-heading p{color:var(--gallery-muted);margin:0 0 12px}.gallery-intro-copy a,.gallery-breadcrumb a{color:var(--gallery-red)}.gallery-feature{color:#f4e9d2;background:#262821;gap:12px;padding:18px;text-decoration:none;display:grid}.gallery-feature img{width:100%;height:auto;display:block}.gallery-feature>span{text-align:right;font-size:.9rem}.gallery-feature:hover>span{text-decoration:underline}.gallery-exhibits{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:38px;display:grid}.gallery-exhibits a{border:1px solid var(--gallery-line);color:inherit;grid-template-columns:104px minmax(0,1fr);align-items:center;gap:14px;padding:10px;text-decoration:none;display:grid}.gallery-exhibits img{object-fit:cover;background:#e5dcc6;width:104px;height:62px;display:block}.gallery-exhibits strong,.gallery-exhibits small,.gallery-card-caption strong,.gallery-card-caption small{display:block}.gallery-exhibits small,.gallery-card-caption small,.gallery-section-heading span{color:var(--gallery-muted)}.gallery-exhibits a:hover,.gallery-grid a:hover{border-color:var(--gallery-red)}.gallery-section-heading{border-bottom:1px solid var(--gallery-line);justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:14px;display:flex}.gallery-section-heading h2{margin:0 0 8px;font-size:1.5rem}.gallery-filter{flex-wrap:wrap;align-items:end;gap:10px;margin-bottom:24px;display:flex}.gallery-filter label{color:var(--gallery-muted);gap:4px;font-size:.875rem;display:grid}.gallery-filter input,.gallery-filter select{border:1px solid var(--gallery-line);min-height:44px;color:var(--gallery-ink);font:inherit;background:#fffbf1;padding:8px 12px}.gallery-filter a{color:var(--gallery-red);align-self:center;margin-top:19px}.gallery-button{color:#412a22;min-height:44px;font:inherit;cursor:pointer;background:#fff8e9;border:1px solid #9d876a;justify-content:center;align-items:center;padding:8px 14px;text-decoration:none;display:inline-flex}.gallery-button[hidden]{display:none}.gallery-button:hover{background:#f1e7d4}.gallery-button-primary{border-color:var(--gallery-red);background:var(--gallery-red);color:#fff9ee}.gallery-button-primary:hover{color:#fff;background:#70271f}.gallery-button:disabled{opacity:.55;cursor:wait}.gallery-shell :focus-visible{outline-offset:3px;outline:2px solid #a77330}.gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0;padding:0;list-style:none;display:grid}.gallery-grid a{border:1px solid var(--gallery-line);height:100%;color:inherit;background:#fffbf1;text-decoration:none;display:block}.gallery-card-image{aspect-ratio:4/3;background:#eae0cc;display:block;overflow:hidden}.gallery-card-image img{object-fit:cover;width:100%;height:100%;display:block}.gallery-card-scroll img{object-position:76% center}.gallery-card-caption{padding:12px 14px;display:block}.gallery-card-caption strong{font-size:1.05rem}.gallery-empty{border:1px solid var(--gallery-line);padding:24px}.gallery-breadcrumb{color:var(--gallery-muted);flex-wrap:wrap;gap:9px;margin-bottom:24px;font-size:.88rem;display:flex}.gallery-work-heading h1,.gallery-order-page h1{font-size:clamp(1.9rem,4vw,3.25rem)}.gallery-work-layout{grid-template-columns:minmax(0,1fr) minmax(250px,320px);align-items:start;gap:26px;margin-top:24px;display:grid}.gallery-work-image{min-width:0;margin:0}.gallery-painting{background:#322f27;place-items:center;min-height:280px;padding:18px;display:grid}.gallery-painting-scroll{min-height:170px}.gallery-painting img{width:auto;max-width:100%;height:auto;max-height:70vh;display:block}.gallery-painting-scroll img{width:100%}.gallery-work-image figcaption{color:var(--gallery-muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;display:flex}.gallery-download-box,.gallery-work-record{border:1px solid var(--gallery-line);background:#fffbf1;padding:18px}.gallery-download-box h2,.gallery-work-record h2{margin:0 0 10px;font-size:1.25rem}.gallery-download-box p,.gallery-work-record p{margin:0 0 12px}.gallery-download-box .gallery-quiet{color:var(--gallery-muted);margin-top:12px;font-size:.88rem}.gallery-quiet a{margin-inline-start:.5em}.gallery-price strong{color:var(--gallery-red);font-size:1.75rem}.gallery-price span{color:var(--gallery-muted)}.gallery-work-record{margin-top:14px}.gallery-work-record dl{grid-template-columns:max-content 1fr;gap:9px 12px;margin:0 0 12px;font-size:.9rem;display:grid}.gallery-work-record dt{color:var(--gallery-muted)}.gallery-work-record dd{overflow-wrap:anywhere;margin:0}.gallery-dialog{width:min(1200px,100% - 28px);max-width:none;height:min(890px,100dvh - 28px);max-height:none;color:var(--gallery-ink);background:#fbf4e5;border:1px solid #a89474;padding:0}.gallery-dialog::backdrop{background:#171713c9}.gallery-viewer{grid-template-rows:auto auto auto minmax(0,1fr) auto;height:100%;display:grid}.gallery-viewer header,.gallery-view-tools,.gallery-minimap{flex-wrap:wrap;align-items:center;gap:7px;padding:8px 12px;display:flex}.gallery-viewer header{border-bottom:1px solid var(--gallery-line);justify-content:space-between}.gallery-viewer h2{margin:0;font-size:1.12rem}.gallery-view-tools{border-bottom:1px solid var(--gallery-line)}.gallery-stops{flex-wrap:wrap;gap:6px;display:flex}.gallery-viewer [data-gallery-image-status]{margin:0;padding:5px 12px}.gallery-viewer [data-gallery-image-status]:empty{padding:0}.gallery-viewport{touch-action:none;overscroll-behavior:contain;cursor:grab;background:#302d25;grid-row:4;overflow:auto}.gallery-viewport:active{cursor:grabbing}.gallery-canvas{place-items:center;width:max-content;min-width:100%;min-height:100%;display:grid}.gallery-canvas img{-webkit-user-select:none;user-select:none;pointer-events:none;max-width:none;height:auto;display:block}.gallery-canvas img[hidden]{display:none}.gallery-minimap{color:var(--gallery-muted);grid-template-columns:auto minmax(0,1fr) auto;font-size:.8rem;display:grid}.gallery-minimap input{width:100%;accent-color:var(--gallery-red)}.gallery-order-page{max-width:720px;min-height:55vh}.gallery-order-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}@media (width<=870px){.gallery-exhibits a{grid-template-columns:1fr;gap:8px}.gallery-exhibits img{width:100%;height:67px}}@media (width<=680px){.gallery-shell{width:calc(100% - 28px);padding-top:22px}.gallery-intro{grid-template-columns:1fr;gap:16px;padding:6px 0 22px}.gallery-exhibits{gap:7px;margin-bottom:24px}.gallery-exhibits a{padding:6px}.gallery-exhibits small{font-size:.72rem;line-height:1.35}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gallery-card-caption{padding:8px}.gallery-filter label:first-of-type{width:100%}.gallery-work-layout{grid-template-columns:minmax(0,1fr)}.gallery-painting{min-height:210px;padding:12px}.gallery-painting-scroll{min-height:110px}}
