
:root{color-scheme:dark;--bg:#141310;--ink:#f1ede7;--gap:8px}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;background:var(--bg);color:var(--ink);font-family:Arial,Helvetica,sans-serif}
button,a{font:inherit}
.top-menu{position:fixed;z-index:100;top:28px;right:clamp(20px,4vw,64px)}
.menu-button{width:38px;height:32px;border:0;background:transparent;color:#f0ebe3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:5px;cursor:pointer}
.menu-button span{width:19px;height:1px;background:currentColor;transform-origin:center;transition:transform .2s ease}
.menu-button[aria-expanded=true] span:first-child{transform:translateY(3px) rotate(45deg)}
.menu-button[aria-expanded=true] span:last-child{transform:translateY(-3px) rotate(-45deg)}
.menu-button:focus-visible,.menu-items a:focus-visible{outline:1px solid #f0ebe3;outline-offset:3px}
.menu-items{position:absolute;right:0;top:39px;min-width:172px;background:#302d29;border:1px solid #544e47;padding:14px 0;box-shadow:0 14px 38px #17151255}
.menu-items[hidden]{display:none}
.menu-items a,.menu-items button{display:block;text-align:left;box-sizing:border-box;width:100%;border:0;text-decoration:none;background:transparent;padding:11px 20px;color:#bbb5ad;font:11px Arial,sans-serif;letter-spacing:.23em;cursor:pointer}
.menu-items a[aria-current=page],.menu-items button[aria-current=page],.menu-items a:hover,.menu-items button:hover{color:#fffaf3}
.menu-items a:hover,.menu-items button:hover{background:#3b3732}
.gallery-page{height:auto;min-height:100dvh;overflow-x:hidden}
.gallery-page main{padding:0;min-height:0;display:block;overflow:visible;width:100%}
.gallery-page main .gallery-stack{display:block;width:100%;height:auto;max-width:none;margin:0;padding:0}
#work-page{width:100%;min-height:100dvh;padding:80px clamp(18px,2.7vw,48px) 35px;display:block}
#stamp-grid{display:grid;grid-template-columns:repeat(var(--cols,11),minmax(0,1fr));gap:8px;width:80%;max-width:none;margin:0 auto;isolation:isolate}
#stamp-grid .stamp{position:relative;display:block;min-width:0;width:100%;height:auto;aspect-ratio:1;border:0;padding:0;cursor:zoom-in;background:#39352f;overflow:visible;z-index:0;transform:scale(1);transition:transform 390ms cubic-bezier(.15,.95,.25,1),filter 390ms ease}
#stamp-grid .stamp img{display:block;width:100%;height:100%;object-fit:cover}
#stamp-grid .stamp::after{content:'';position:absolute;inset:0;background:var(--stamp-color,#555);opacity:.65;pointer-events:none;transition:opacity .25s}
@media(hover:hover) and (pointer:fine){#stamp-grid .stamp:hover{z-index:5;transform:scale(1.30);filter:drop-shadow(0 8px 15px #16130f77)}#stamp-grid .stamp:hover::after{opacity:.15}}
#stamp-grid .stamp:focus-visible{outline:1px solid #f5efe6;outline-offset:2px;z-index:5;transform:scale(1.30)}#stamp-grid .stamp:focus-visible::after{opacity:.15}
#about-page{min-height:100dvh;padding:80px clamp(18px,2.7vw,48px) 100px;text-align:center}
.about-content{display:flex;flex-direction:column;align-items:center;width:100%;max-width:none;margin:auto}
.flap-board{width:min(80%,1100px,calc((100dvh - 220px)*1.5));max-width:100%;aspect-ratio:3/2;display:grid;grid-template-columns:repeat(var(--flap-cols,10),minmax(0,1fr));grid-template-rows:repeat(var(--flap-rows,7),minmax(0,1fr));isolation:isolate;touch-action:pan-y;margin:0 auto}
.flap-cell{position:relative;min-width:0;min-height:0;perspective:800px;cursor:pointer;outline:none}
.flap-inner{position:absolute;inset:0;transform-style:preserve-3d;transition:transform 430ms cubic-bezier(.2,.76,.2,1)}
.flap-cell.flipped .flap-inner{transform:rotateY(180deg)}
.flap-face{position:absolute;inset:0;backface-visibility:hidden;-webkit-backface-visibility:hidden;background-repeat:no-repeat;border:.35px solid #0e0d0c33}
.flap-front{filter:invert(1) hue-rotate(180deg)}.flap-back{transform:rotateY(180deg)}
.flap-cell:hover{z-index:3}.flap-cell:focus-visible{outline:1px solid #eee7dc;z-index:4}
.selector{display:flex;justify-content:center;align-items:center;gap:16px;margin-top:23px}
.selector-label{border:0;background:transparent;color:#b1aba3;font-size:9px;letter-spacing:.22em;cursor:pointer;padding:8px 0}.selector-label.active{color:#f4eee5}
.switch{position:relative;border:1px solid #877f75;border-radius:999px;background:#423e38;width:33px;height:17px;cursor:pointer;padding:0}
.thumb{position:absolute;left:3px;top:3px;width:9px;height:9px;background:#d0c8bc;border-radius:50%;transition:transform .25s ease}.switch[aria-checked=true] .thumb{transform:translateX(16px)}
.about-copy{margin:58px auto 0;display:flex;flex-direction:column;align-items:center;gap:17px;max-width:610px}
.about-copy h1{font:400 clamp(29px,3.7vw,45px)/1.2 Georgia,'Times New Roman',serif;letter-spacing:-.035em;margin:0}
.about-copy p{font:clamp(15px,1.55vw,18px)/1.55 Georgia,'Times New Roman',serif;color:#d4cdc3;margin:0;max-width:42ch}
.about-copy a{color:#f2eae0;text-decoration:none;border-bottom:1px solid #8b8277;padding-bottom:4px;font:11px/1.5 Arial,sans-serif;letter-spacing:.13em;text-transform:uppercase}
#collections-page{min-height:100dvh;display:flex;align-items:center;justify-content:center;text-align:center}
.collections-label{color:#e5ded4;letter-spacing:.25em;font-size:12px;font-weight:400}
.lightbox{border:0;background:#050505ef;color:white;width:100vw;height:100dvh;max-height:100dvh;max-width:100vw;padding:0}
.lightbox[open]{display:flex;align-items:center;justify-content:center}.lightbox img{max-height:90dvh;max-width:90vw;object-fit:contain}
.lightbox button{position:absolute;background:transparent;color:#fff;border:0;font-size:30px;cursor:pointer;padding:12px}
.close{top:12px;right:24px}.previous{left:16px}.next{right:16px}.counter{position:absolute;bottom:9px;font-size:11px;color:#999;letter-spacing:.17em}
@media(max-width:650px){.top-menu{top:18px;right:14px}#work-page{padding:66px clamp(18px,2.7vw,48px) 30px}#about-page{padding:66px 12px 70px}.flap-board{width:100%}.about-copy{margin-top:40px}}
@media(prefers-reduced-motion:reduce){#stamp-grid .stamp,.flap-inner,.thumb{transition:none}}
/* Editor: shared navigation, original photo-management controls and drag/drop are preserved. */
.editor-page{padding-top:86px;color:var(--ink);background:var(--bg)}
.editor-page .editor-panel{display:none!important}
.editor-page[data-page=work] #editor-work-panel,.editor-page[data-page=about] #editor-about-panel,.editor-page[data-page=collections] #editor-collections-panel{display:block!important}
.editor-header{max-width:900px;margin:30px auto 12px;padding:0 20px;display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.editor-header h1{font-size:17px;font-weight:500;letter-spacing:.09em}.editor-header p{font-size:12px;color:#a6a6a6}
.controls{display:flex;gap:8px;flex-wrap:wrap}.controls button,.upload{background:#302d29;color:#fff;border:1px solid #605950;padding:11px 13px;font:12px Arial;cursor:pointer}.upload input{display:none}
#notice{color:#b6e3c6;font-size:12px;text-align:center;min-height:20px}.editor-grid{padding-top:30px}
.editor-grid .stamp{cursor:grab;touch-action:manipulation}.editor-grid .stamp.dragging{opacity:.3;transform:none!important}.editor-grid .stamp.drag-over{outline:2px solid white;outline-offset:3px}
.editor-page .editor-grid #editor-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:10px;width:min(890px,90vw);margin:auto}
.editor-page .editor-grid .stamp{width:100%;height:auto;aspect-ratio:1;position:relative;background:#39352f;border:0;padding:0}
.editor-page .editor-grid .stamp img{width:100%;height:100%;object-fit:cover}.editor-page .editor-grid .stamp::after{content:'';position:absolute;inset:0;background:var(--stamp-color,#555);opacity:.65;pointer-events:none}
.editor-guide{max-width:900px;margin:16px auto;padding:0 20px;font-size:12px;color:#888;line-height:1.6}
#dropzone{max-width:900px;margin:20px auto 0;padding:22px;text-align:center;border:1px dashed #555;color:#999;font-size:13px}#dropzone.over{border-color:#fff;color:#fff}
.editor-placeholder{text-align:center;margin:20vh auto;max-width:500px;color:#d5cfc7}.editor-placeholder a{color:#e9e6df}
@media(max-width:650px){.editor-page .editor-grid #editor-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}}

/* V30 — Gallery Edition. Work, About and editor styles are untouched. */
#collections-page.exhibition-main{display:block;min-height:100dvh;width:min(1240px,88vw);margin:0 auto 100px;overflow:visible;text-align:left;padding:0}
.exhibition-heading{padding:145px 0 42px}
.exhibition-heading h1{font-size:clamp(45px,6vw,91px);font-weight:850;letter-spacing:-.074em;line-height:.92;margin:0;text-transform:uppercase;color:#f2eee8}
.exhibition-mosaic{display:grid;gap:2px;background:#141310;isolation:isolate}
.exhibition-collection{position:relative;width:100%;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:repeat(6,minmax(0,1fr));gap:2px;aspect-ratio:2.04/1;overflow:hidden}
.exhibition-block{min-width:0;min-height:0;position:relative;overflow:hidden}
.exhibition-photo{background:#24211d;isolation:isolate}
.exhibition-photo img{position:absolute;inset:-72px -72px;width:calc(100% + 144px);height:calc(100% + 144px);display:block;object-fit:cover;object-position:var(--focus-x,50%) var(--focus-y,50%);transform:translate3d(var(--drift-x,0px),var(--drift-y,0px),0) scale(1.025);transform-origin:center;will-change:transform;backface-visibility:hidden}
.exhibition-copy{display:flex;flex-direction:column;justify-content:center;padding:clamp(19px,2.8vw,40px);color:#171512;background:#e3ded4}
.exhibition-collection:nth-child(2) .exhibition-copy{background:#c2b9aa}
.exhibition-collection:nth-child(3) .exhibition-copy{background:#262421;color:#f4eee7}
.exhibition-collection:nth-child(4) .exhibition-copy{background:#d4cec2}
.exhibition-copy-inner{min-width:0;max-width:100%}
.exhibition-copy h2{font-size:clamp(29px,3.9vw,64px);font-weight:850;letter-spacing:-.071em;line-height:.92;margin:0 0 clamp(18px,2vw,29px);text-transform:uppercase;overflow-wrap:normal;hyphens:none}
.exhibition-copy p{font-size:clamp(11px,.96vw,14px);letter-spacing:.005em;line-height:1.5;max-width:34ch;font-weight:400;opacity:.83;margin:0}
.exhibition-collection .exhibition-photo.a{grid-column:5/13;grid-row:1/7}
.exhibition-collection .exhibition-photo.b{grid-column:1/5;grid-row:4/7}
.exhibition-collection .exhibition-copy{grid-column:1/5;grid-row:1/4}
.exhibition-collection:nth-child(1) .exhibition-photo.a,.exhibition-collection:nth-child(4) .exhibition-photo.a{grid-column:1/10;grid-row:1/5}
.exhibition-collection:nth-child(1) .exhibition-photo.b,.exhibition-collection:nth-child(4) .exhibition-photo.b{grid-column:10/13;grid-row:1/7}
.exhibition-collection:nth-child(1) .exhibition-copy,.exhibition-collection:nth-child(4) .exhibition-copy{grid-column:1/10;grid-row:5/7}
.exhibition-collection:nth-child(3) .exhibition-photo.a{grid-column:5/13;grid-row:1/5}
.exhibition-collection:nth-child(3) .exhibition-photo.b{grid-column:1/5;grid-row:1/7}
.exhibition-collection:nth-child(3) .exhibition-copy{grid-column:5/13;grid-row:5/7}
@media(max-width:700px){#collections-page.exhibition-main{width:94vw;margin-bottom:60px}.exhibition-heading{padding:105px 0 29px}.exhibition-heading h1{font-size:clamp(43px,11vw,72px)}.exhibition-collection{aspect-ratio:1.07/1}.exhibition-copy{padding:clamp(11px,2.8vw,19px)}.exhibition-copy h2{font-size:clamp(19px,4.7vw,35px);margin-bottom:clamp(10px,2vw,16px);line-height:.94}.exhibition-copy p{font-size:clamp(9px,2.15vw,12px);line-height:1.38;max-width:30ch}.exhibition-photo img{inset:-42px -42px;width:calc(100% + 84px);height:calc(100% + 84px)}}
@media(max-width:420px){.exhibition-collection{aspect-ratio:1/1}}
@media(prefers-reduced-motion:reduce){.exhibition-photo img{transform:none!important;will-change:auto}}

/* V30.1: only title cards open collection galleries; photos remain visual. */
.exhibition-collection{cursor:default}
.exhibition-copy-link{cursor:pointer}
.exhibition-copy-link:focus-visible{outline:2px solid currentColor;outline-offset:-5px;z-index:3}
.collection-entry{position:absolute;top:clamp(10px,1.8vw,22px);right:clamp(12px,1.8vw,22px);font:300 clamp(25px,2.35vw,32px)/1 Arial,sans-serif;color:inherit;opacity:.52;pointer-events:none;transition:opacity .18s ease,transform .18s ease}
.exhibition-copy-link:hover .collection-entry,.exhibition-copy-link:focus-visible .collection-entry{opacity:.92;transform:translateX(3px)}
.collection-viewer{inset:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;padding:0;margin:0;border:0;background:#141310;color:#f1ede7;overflow:hidden}
.collection-viewer[open]{display:grid;grid-template-columns:minmax(54px,8vw) minmax(0,1fr) minmax(54px,8vw);grid-template-rows:75px minmax(0,1fr)}
.collection-viewer::backdrop{background:#141310}
.collection-viewer-bar{grid-column:1/-1;grid-row:1;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(19px,4vw,60px);z-index:2}
.collection-viewer-title{font-size:clamp(13px,1.25vw,19px);font-weight:750;letter-spacing:-.028em;text-transform:uppercase}
.collection-viewer-close{border:0;background:transparent;color:#f1ede7;cursor:pointer;font:300 34px/1 Arial,sans-serif;width:48px;height:48px}
.collection-viewer-figure{grid-column:2;grid-row:2;min-width:0;min-height:0;margin:0 0 23px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px}
.collection-viewer-figure img{display:block;width:100%;height:calc(100% - 36px);min-height:0;object-fit:contain}
.collection-viewer-count{font-size:11px;letter-spacing:.19em;color:#c6bfb6;line-height:1.5;flex:0 0 auto;text-align:center}
.collection-viewer-prev,.collection-viewer-next{grid-row:2;align-self:center;background:transparent;border:0;color:#f1ede7;font:300 clamp(38px,4vw,54px)/1 Arial,sans-serif;cursor:pointer;min-height:80px}
.collection-viewer-prev{grid-column:1}.collection-viewer-next{grid-column:3}
.collection-viewer button:focus-visible{outline:1px solid #f1ede7;outline-offset:2px}
@media(max-width:700px){.collection-entry{top:8px;right:10px;font-size:25px}.collection-viewer[open]{grid-template-columns:42px minmax(0,1fr) 42px;grid-template-rows:66px minmax(0,1fr)}.collection-viewer-bar{padding:0 15px}.collection-viewer-figure{margin-bottom:16px;gap:13px}.collection-viewer-figure img{height:calc(100% - 40px)}.collection-viewer-prev,.collection-viewer-next{font-size:37px}}
@media(prefers-reduced-motion:reduce){.collection-entry{transition:none}}

/* V31 — one consistent gallery coordinate system for all public pages. */
:root{--gallery-width:min(92vw,1600px);--gallery-top:clamp(76px,9.2vh,116px)}
.top-menu{right:max(4vw,calc((100vw - 1600px)/2));top:clamp(20px,2.8vh,32px)}
#work-page{width:100%;padding:var(--gallery-top) 0 clamp(26px,4vh,52px)}
#stamp-grid{width:var(--gallery-width);max-width:none;margin-inline:auto}
#about-page{width:100%;padding:var(--gallery-top) 0 clamp(40px,6vh,100px)}
.about-content{width:var(--gallery-width);max-width:none;margin-inline:auto}
.flap-board{width:100%;max-width:none;height:clamp(290px,51dvh,650px);aspect-ratio:auto!important;overflow:hidden;margin:0 auto}
.about-copy{margin:clamp(24px,4.3vh,46px) auto 0;gap:clamp(10px,1.5vh,17px)}
.selector{margin-top:clamp(14px,2.7vh,24px)}
#collections-page.exhibition-main{width:var(--gallery-width);max-width:none;margin:0 auto clamp(50px,8vh,110px);padding:var(--gallery-top) 0 0}
.exhibition-heading{padding:0 0 clamp(22px,3.6vh,42px)}
.exhibition-heading h1{font-size:clamp(44px,5.6vw,88px)}
.exhibition-collection{aspect-ratio:2.16/1}
@media(max-width:700px){
 :root{--gallery-width:94vw;--gallery-top:74px}
 .top-menu{right:3vw;top:18px}
 #work-page{padding:var(--gallery-top) 0 28px}
 #about-page{padding:var(--gallery-top) 0 55px}
 .flap-board{height:clamp(250px,45dvh,450px)}
 .about-copy{margin-top:30px}
 #collections-page.exhibition-main{width:var(--gallery-width);padding:var(--gallery-top) 0 0}
 .exhibition-heading{padding:0 0 25px}
 .exhibition-collection{aspect-ratio:1.07/1}
}
@media(max-width:420px){.exhibition-collection{aspect-ratio:1/1}}


/* V32 — shared typography architecture across all public pages.
   The page name is the single H1, with the Collections heading as the source of truth.
   All titles align to the same gallery container and vertical rhythm. */
:root{
  --display-font: Arial, Helvetica, sans-serif;
  --gallery-display-size: clamp(44px, 5.6vw, 88px);
  --gallery-heading-gap: clamp(22px, 3.6vh, 42px);
}
body.gallery-page{font-family:var(--display-font)}
body.gallery-page :is(#work-page,#about-page,#collections-page) .gallery-heading{
  width:100%;box-sizing:border-box;margin:0;
  padding:0 0 var(--gallery-heading-gap);text-align:left;
}
body.gallery-page :is(#work-page,#about-page,#collections-page) .gallery-heading h1{
  font-family:var(--display-font);font-size:var(--gallery-display-size);
  font-weight:850;letter-spacing:-.074em;line-height:.92;
  text-transform:uppercase;color:#f2eee8;margin:0;
}
#work-page>.gallery-heading{width:var(--gallery-width)!important;margin-inline:auto!important}
#about-page>.gallery-heading{width:var(--gallery-width)!important;margin-inline:auto!important}
/* Keep the art in its gallery frame, but unify its supporting copy with the site. */
#about-page .about-copy{
  width:100%;max-width:760px;align-self:flex-start;align-items:flex-start;
  text-align:left;margin:clamp(25px,4vh,44px) 0 0;
  gap:clamp(12px,1.8vh,20px);
}
#about-page .about-copy h2{
  font-family:var(--display-font);font-size:clamp(26px,3vw,42px);
  font-weight:750;line-height:1.08;letter-spacing:-.055em;margin:0;
}
#about-page .about-copy p{
  font-family:var(--display-font);font-size:clamp(14px,1.25vw,18px);
  font-weight:400;line-height:1.55;letter-spacing:0;
  max-width:48ch;margin:0;color:#d4cdc3;
}
#about-page .about-copy a{font-family:var(--display-font)}
#about-page .selector{align-self:flex-start;justify-content:flex-start}
@media(max-width:700px){
  :root{--gallery-display-size:clamp(43px,11vw,72px);--gallery-heading-gap:25px}
  #about-page .about-copy{max-width:100%;margin-top:28px}
  #about-page .about-copy h2{font-size:clamp(25px,6.3vw,35px)}
  #about-page .about-copy p{font-size:clamp(14px,3.6vw,16px)}
}

/* V33 — About: same page heading and same gallery coordinate system as Work / Collections. */
body.gallery-page #about-page{display:block;min-height:100dvh;padding:var(--gallery-top) 0 clamp(50px,7vh,110px);text-align:left}
body.gallery-page #about-page > .gallery-heading{
 display:block!important;visibility:visible!important;opacity:1!important;
 width:var(--gallery-width)!important;margin:0 auto!important;
 padding:0 0 var(--gallery-heading-gap)!important;
 text-align:left;position:relative;z-index:1;
}
body.gallery-page #about-page > .gallery-heading h1{
 display:block!important;visibility:visible!important;opacity:1!important;
 font-family:var(--display-font);font-size:var(--gallery-display-size);font-weight:850;
 letter-spacing:-.074em;line-height:.92;text-transform:uppercase;color:#f2eee8;margin:0;
}
body.gallery-page #about-page .about-content{width:var(--gallery-width);margin:0 auto;align-items:stretch;text-align:left}
body.gallery-page #about-page .about-copy{
 width:100%;max-width:none;margin:clamp(25px,4vh,44px) 0 0;padding:0;
 display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
 gap:0;align-items:center;text-align:left;
}
body.gallery-page #about-page .about-intro{min-width:0;padding-right:clamp(24px,4vw,72px)}
body.gallery-page #about-page .about-intro h2{
 font-family:var(--display-font);font-size:clamp(31px,3.5vw,56px);
 font-weight:750;line-height:1.05;letter-spacing:-.055em;margin:0;
}
body.gallery-page #about-page .about-details{
 min-width:0;border-left:1px solid #736d64;
 padding:clamp(8px,1.2vw,18px) 0 clamp(8px,1.2vw,18px) clamp(26px,4vw,74px);
 display:flex;flex-direction:column;align-items:flex-start;gap:clamp(15px,2.4vh,25px);
}
body.gallery-page #about-page .about-details p{
 color:#d4cdc3;max-width:52ch;margin:0;
 font-family:var(--display-font);font-size:clamp(15px,1.25vw,19px);
 font-weight:400;line-height:1.55;letter-spacing:0;
}
body.gallery-page #about-page .about-details a{font-family:var(--display-font)}
@media(max-width:700px){
 body.gallery-page #about-page .about-copy{grid-template-columns:minmax(0,1fr) minmax(0,1fr);margin-top:25px}
 body.gallery-page #about-page .about-intro{padding-right:15px}
 body.gallery-page #about-page .about-intro h2{font-size:clamp(22px,5.3vw,33px)}
 body.gallery-page #about-page .about-details{padding-left:16px;gap:12px}
 body.gallery-page #about-page .about-details p{font-size:clamp(12px,2.8vw,15px);line-height:1.45}
 body.gallery-page #about-page .about-details a{font-size:9px;letter-spacing:.08em}
}
@media(max-width:380px){
 body.gallery-page #about-page .about-copy{grid-template-columns:1fr;gap:16px}
 body.gallery-page #about-page .about-details{padding:0 0 0 16px}
}

/* V34: resize the About photographic FRAME proportionally; never independently
   change its height based on browser height or breakpoint.  The picture crop
   and the flap mosaic retain identical normalized framing at every width. */
body.gallery-page #about-page .flap-board{
  display:grid;
  width:100%;
  height:auto!important;
  aspect-ratio:2.55 / 1!important;
  max-height:none!important;
  overflow:hidden;
}
@media(max-width:700px){
  body.gallery-page #about-page .flap-board{
    width:100%;height:auto!important;aspect-ratio:2.55 / 1!important;
  }
}

/* V35: biography becomes the first element below the ABOUT heading. */
body.gallery-page #about-page .about-copy{
 margin:0 0 clamp(28px,4.2vw,64px);
}
@media(max-width:700px){
 body.gallery-page #about-page .about-copy{
  margin:0 0 clamp(22px,5vw,34px);
 }
}


/* V36 — About: one quiet, left-aligned biography column beneath ABOUT. */
body.gallery-page #about-page .about-copy,
body.gallery-page #about-page .about-copy.about-copy{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
  gap:clamp(12px,1.9vw,22px);
  width:100%;
  max-width:none;
  margin:0 0 clamp(26px,3.8vw,54px);
}
body.gallery-page #about-page .about-intro{
  padding:0;
  width:100%;
}
body.gallery-page #about-page .about-details{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  width:100%;
  border:0;
  border-left:0;
  padding:0;
  gap:clamp(14px,1.5vw,22px);
}
body.gallery-page #about-page .about-details p{
  max-width:62ch;
  font-size:clamp(14px,1.25vw,19px);
  line-height:1.5;
}
/* Bigger, centered Negative / Develop control beneath the photograph. */
body.gallery-page #about-page .selector{
  align-self:center;
  justify-content:center;
  gap:clamp(15px,2vw,25px);
  margin-top:clamp(20px,2.6vw,30px);
}
body.gallery-page #about-page .selector-label{
  font-size:clamp(10px,.8vw,12px);
  padding:9px 0;
  letter-spacing:.17em;
}
body.gallery-page #about-page .switch{
  width:46px;
  height:24px;
}
body.gallery-page #about-page .thumb{
  width:16px;
  height:16px;
  left:3px;
  top:3px;
}
body.gallery-page #about-page .switch[aria-checked=true] .thumb{
  transform:translateX(22px);
}
@media(max-width:700px){
 body.gallery-page #about-page .about-copy{
   gap:12px;
   margin-bottom:26px;
 }
 body.gallery-page #about-page .about-details{padding:0;border:0}
 body.gallery-page #about-page .about-details p{font-size:clamp(14px,3.6vw,16px)}
 body.gallery-page #about-page .selector{margin-top:20px}
}


/* V37 — fluid viewport-based gallery layout, no fixed desktop cap.
   A consistent shared horizontal gutter across Work, Collections and About. */
:root{
  --gallery-gutter:clamp(16px,3vw,72px);
  --gallery-width:calc(100% - 2 * var(--gallery-gutter));
}
#stamp-grid,#about-page>.gallery-heading,#about-page .about-content,
#work-page>.gallery-heading,#collections-page.exhibition-main{
  width:var(--gallery-width)!important;
  max-width:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.top-menu{right:var(--gallery-gutter)}
#stamp-grid{grid-template-columns:repeat(var(--cols,12),minmax(0,1fr));}
@media(max-width:700px){
  :root{--gallery-gutter:clamp(12px,3vw,22px);--gallery-width:calc(100% - 2 * var(--gallery-gutter))}
  #stamp-grid{gap:6px;}
}

/* V38 — a shared photo library and collection curation. */
.library-workspace{width:min(1460px,92vw);margin:28px auto 80px;display:grid;grid-template-columns:minmax(270px,.86fr) minmax(360px,1.14fr);gap:30px;align-items:start}
.library-pane{position:sticky;top:18px;max-height:calc(100dvh - 40px);overflow-y:auto;scrollbar-color:#4b453c transparent}
.library-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}
.library-toolbar h2{font-size:14px;letter-spacing:.08em;margin:0}.library-toolbar h2 span{color:#999;font-weight:400}
.library-help{font-size:12px;line-height:1.5;color:#a7a099;max-width:54ch}
#library-search{display:block;width:100%;height:38px;background:#201e1b;border:1px solid #514a42;border-radius:0;color:#f1ede7;padding:0 12px;margin:15px 0;font:13px Arial}
.library-thumbnails{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.library-photo{padding:0;border:0;background:#292622;aspect-ratio:1;cursor:grab;overflow:hidden}.library-photo:focus-visible,.library-photo:hover{outline:2px solid #e4dcd1;outline-offset:-2px}.library-photo img,.collection-chosen img{width:100%;height:100%;object-fit:cover;display:block}
.collection-panes{display:grid;gap:18px}.collection-dropbox{border:1px solid #454038;padding:18px;min-width:0}.collection-dropbox-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.collection-dropbox-heading h3{margin:0;font-size:17px;letter-spacing:-.03em}.collection-dropbox-heading span{font:11px Arial;color:#999}
.collection-dropzone{min-height:142px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:7px;border:1px dashed #5b544a;align-content:start}.collection-dropzone.dragover,.collection-chosen.dragover{outline:2px solid #e8ded1;outline-offset:-2px;background:#35312c}.collection-chosen{position:relative;aspect-ratio:1;cursor:grab;min-width:0}.collection-remove{position:absolute;top:3px;right:3px;width:25px;height:25px;border:0;background:#141310dd;color:#fff;font:22px/20px Arial;cursor:pointer}.collection-remove:hover{background:#8d4234}.empty-collection{grid-column:1/-1;align-self:center;text-align:center;color:#968f86;font-size:12px;padding:30px 8px}.collection-hint{color:#9e988f;font-size:11px;line-height:1.5;margin:12px 0 0}.library-status{width:min(1460px,92vw);margin:-56px auto 70px;min-height:30px;font-size:12px}
.exhibition-photo.exhibition-empty{background:#26231f}.exhibition-photo.exhibition-empty img{display:none}
@media(max-width:850px){.library-workspace{grid-template-columns:1fr}.library-pane{position:static;max-height:none}.library-thumbnails{grid-template-columns:repeat(7,minmax(0,1fr))}}@media(max-width:520px){.library-thumbnails{grid-template-columns:repeat(5,minmax(0,1fr))}.collection-dropzone{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* V39 — editor curation fits the viewport, consistent left edge and restrained thumbnails. */
body.editor-page{overflow-x:hidden}
.editor-page #editor-collections-panel{width:100%;max-width:100%;min-width:0;margin:0 auto;padding:0 clamp(18px,3.8vw,76px)}
.editor-page #editor-collections-panel>.editor-header,.editor-page #editor-collections-panel>.library-workspace,.editor-page #editor-collections-panel>.library-status{width:100%;max-width:1480px;margin-left:auto;margin-right:auto;min-width:0}
.editor-page #editor-collections-panel>.editor-header{padding:0;margin-top:25px;margin-bottom:28px;align-items:flex-start}
.editor-page #editor-collections-panel>.editor-header h1{font-weight:700;font-size:clamp(18px,1.65vw,25px);line-height:1.1;letter-spacing:-.015em;margin:0 0 11px}
.editor-page #editor-collections-panel>.editor-header p{max-width:64ch;line-height:1.5;margin:0;font-size:13px}
.editor-page #editor-collections-panel>.library-workspace{margin-top:0;margin-bottom:24px;grid-template-columns:minmax(0,.98fr) minmax(0,1.02fr);gap:clamp(20px,3vw,44px)}
.editor-page #editor-collections-panel .library-pane,.editor-page #editor-collections-panel .collection-panes{width:100%;min-width:0;max-width:100%}
.editor-page #editor-collections-panel .library-pane{position:relative;top:auto;max-height:none;overflow:visible}
.editor-page #editor-collections-panel .library-toolbar{gap:10px;align-items:center}
.editor-page #editor-collections-panel .library-toolbar h2{font-size:clamp(14px,1.3vw,18px);line-height:1.25;white-space:normal}
.editor-page #editor-collections-panel .library-help{max-width:65ch;margin:14px 0;color:#b4ada5}
.editor-page #editor-collections-panel #library-search{box-sizing:border-box;margin:15px 0;width:100%;max-width:100%}
.editor-page #editor-collections-panel .library-thumbnails{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;width:100%;min-width:0}
.editor-page #editor-collections-panel .library-photo{display:block;position:relative;width:100%;min-width:0;height:auto;aspect-ratio:1;overflow:hidden;border:0;border-radius:2px}
.editor-page #editor-collections-panel .library-photo img{display:block;width:100%;height:100%;object-fit:cover}
.editor-page #editor-collections-panel .library-photo-wrap{position:relative;min-width:0;aspect-ratio:1}
.editor-page #editor-collections-panel .library-delete{position:absolute;right:4px;top:4px;width:25px;height:25px;border:1px solid #9997;border-radius:2px;background:#141310d9;color:#fff;cursor:pointer;font:17px/1 Arial;opacity:0;transition:opacity .15s}
.editor-page #editor-collections-panel .library-photo-wrap:hover .library-delete,.editor-page #editor-collections-panel .library-delete:focus-visible{opacity:1}
.editor-page #editor-collections-panel .library-delete:hover{background:#9b3c33}
.editor-page #editor-collections-panel>.library-status{min-height:22px;margin-top:0;margin-bottom:60px}
@media(max-width:920px){.editor-page #editor-collections-panel>.library-workspace{grid-template-columns:1fr}.editor-page #editor-collections-panel .library-thumbnails{grid-template-columns:repeat(8,minmax(0,1fr))}}
@media(max-width:580px){.editor-page #editor-collections-panel{padding:0 16px}.editor-page #editor-collections-panel .library-thumbnails{grid-template-columns:repeat(4,minmax(0,1fr))}.editor-page #editor-collections-panel>.editor-header{gap:12px}.editor-page #editor-collections-panel .library-delete{opacity:1}.editor-page #editor-collections-panel .library-toolbar{align-items:flex-start}.editor-page #editor-collections-panel .library-toolbar .upload{font-size:10px}}

/* V40: reveal removal actions on thumbnail hover or keyboard focus. */
.editor-page #editor-collections-panel .collection-remove{opacity:0;visibility:hidden;transition:opacity .16s,visibility .16s;z-index:2;background:rgba(20,19,16,.82);border:0;border-radius:2px}
.editor-page #editor-collections-panel .collection-chosen:hover .collection-remove,
.editor-page #editor-collections-panel .collection-chosen:focus-within .collection-remove{opacity:1;visibility:visible}
.editor-page #editor-collections-panel .library-photo-wrap:focus-within .library-delete{opacity:1}
@media(hover:none){.editor-page #editor-collections-panel .collection-remove{opacity:1;visibility:visible}.editor-page #editor-collections-panel .library-delete{opacity:1}}

/* V41: photo-library fullscreen viewer, independent of removal actions. */
.editor-page #editor-collections-panel .library-photo{cursor:zoom-in}
.editor-page #editor-collections-panel .collection-chosen{cursor:zoom-in}
.editor-photo-viewer[hidden]{display:none!important}
.editor-photo-viewer{position:fixed;inset:0;z-index:9999;background:rgba(15,14,13,.985);color:#f2efe9;display:grid;grid-template-columns:minmax(42px,7vw) minmax(0,1fr) minmax(42px,7vw);grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}
.editor-viewer-header{grid-column:1/4;grid-row:1;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:clamp(12px,2vw,28px) clamp(18px,3vw,48px);font:600 12px/1.3 Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase}
.editor-viewer-close{background:none;border:0;color:inherit;font:300 37px/1 Arial,sans-serif;cursor:pointer;width:44px;height:44px;flex-shrink:0}
.editor-viewer-close:hover,.editor-viewer-arrow:hover{color:#fff;opacity:1}
.editor-viewer-image-area{grid-column:2;grid-row:2;min-height:0;min-width:0;display:flex;align-items:center;justify-content:center;padding:4px}
.editor-viewer-image-area img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;user-select:none;-webkit-user-drag:none}
.editor-viewer-arrow{grid-row:2;background:none;border:0;color:#f2efe9;opacity:.7;font:300 clamp(38px,4vw,65px)/1 Arial,sans-serif;cursor:pointer}
#editor-viewer-prev{grid-column:1}#editor-viewer-next{grid-column:3}
.editor-viewer-footer{grid-column:1/4;grid-row:3;display:flex;justify-content:space-between;gap:20px;padding:clamp(18px,2vw,28px) clamp(18px,3vw,48px);font:500 11px/1.4 Arial,sans-serif;letter-spacing:.11em;color:#c6c0b8}
#editor-viewer-name{max-width:65%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right}
@media(max-width:600px){.editor-photo-viewer{grid-template-columns:42px minmax(0,1fr) 42px}.editor-viewer-header{font-size:11px}.editor-viewer-footer{font-size:10px}}

/* Discourage casual image saving, copying, and mobile long-press menus. */
img, .stamp-grid, .flap-board, .exhibition-mosaic, .collection-viewer-figure, .lightbox {
 -webkit-user-select:none; user-select:none;
 -webkit-user-drag:none;
 -webkit-touch-callout:none;
}
