:root{
  --head-top:clamp(18px,3.2vw,38px);   /* space under the nav, every page */
  --nav-h:44px;     /* nav including its lower border */
  --chrome:92px;    /* nav plus the sticky gallery bar */
  --ink:#131417; --ink-2:#1c1e22; --ink-line:#2c2f35;
  --page:#17181C;   /* the wall — every page uses it */
  --wall:#EDEDEB; --wall-2:#E2E2DF; --wall-line:#D2D2CE;
  --on-dark:#F2F2F0; --on-dark-mute:#8B8E95;
  --on-light:#16171A; --on-light-mute:#75777C;
  --sans:"Schibsted Grotesk",-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
  --mono:"IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  --pad:clamp(20px,5vw,64px);
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{font-family:var(--sans);background:var(--page);color:var(--on-dark);line-height:1.5;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:none;cursor:pointer}
:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.loading{padding:80px var(--pad);font-family:var(--mono);font-size:12px;color:var(--on-dark-mute)}


/* One line whenever it fits: the name at the left, the links (and cart, once
   used) pushed to the right. If a phone renders the text larger — Display Zoom,
   an iPhone SE's 320px width, or the reader's Larger-Text setting — the links
   drop to a second line rather than colliding with the name. The nav's real
   height is measured in JS, so wrapping never hides content behind it. */
.nav{position:fixed;top:0;left:0;right:0;z-index:50;
  background:color-mix(in srgb, var(--page) 82%, transparent);
  -webkit-backdrop-filter:saturate(140%) blur(14px);
  backdrop-filter:saturate(140%) blur(14px);
  border-bottom:1px solid transparent;transition:border-color .25s;
  display:flex;flex-wrap:wrap;align-items:center;
  column-gap:clamp(10px,3vw,20px);row-gap:2px;padding:8px var(--pad)}
.nav .brand{flex:0 0 auto;font-size:13px;line-height:1.4}
.navwrap{display:flex;align-items:center;justify-content:flex-end;
  margin-left:auto;flex:0 1 auto;min-width:0;column-gap:clamp(14px,3vw,26px)}
body{padding-top:var(--nav-h)}

@media(min-width:860px){
  .nav{padding:9px var(--pad)}
  .nav .brand{font-size:15px}
  .navwrap{gap:clamp(18px,3.4vw,40px)}
}
.brand{font-family:var(--sans);font-weight:500;font-size:15px;letter-spacing:.14em;text-transform:uppercase}

.navlinks{display:flex;gap:clamp(14px,3vw,30px);font-family:var(--mono);font-size:12px;letter-spacing:.06em}
.navlinks a{color:var(--on-dark-mute);padding:2px 0;border-bottom:1px solid transparent;transition:.18s}
.navlinks a:hover{color:var(--on-dark)}
.navlinks a[aria-current="page"]{color:var(--on-dark);border-bottom-color:var(--on-dark)}
.cartbtn{display:inline-flex;align-items:center;gap:5px;
  border:0;padding:2px 0;background:none;color:var(--on-dark-mute);transition:color .18s}
.cartbtn svg{stroke:currentColor;stroke-width:1.3;fill:none;
  stroke-linecap:round;stroke-linejoin:round;display:block;width:17px;height:17px}
.cartbtn:hover{color:var(--on-dark)}
.cartbtn[data-full="true"]{color:var(--on-dark)}
.cartcount{font-family:var(--mono);font-size:10px;letter-spacing:.02em;font-variant-numeric:tabular-nums}

.light{background:var(--wall);color:var(--on-light);min-height:calc(100vh - var(--nav-h))}
.light.homeband{min-height:0}
/* gallery pages in dark tone — redefine the wall, everything inherits */
.light.tone-dark{
  --wall:#17181C; --wall-2:#1f2126; --wall-line:#31343b;
  --on-light:#F2F2F0; --on-light-mute:#8B8E95;
}
.tone-dark .tile-ghost{color:#4A4D53}
.tone-dark .tile:hover .tile-fig{border-color:#54585f}
.tone-dark .filters a:hover{border-color:#54585f}
.dark{background:var(--page);color:var(--on-dark);min-height:calc(100vh - var(--nav-h))}
.dark.homeband{min-height:0}

/* ---- landing ---- */
.landing{height:auto;min-height:0;
  padding:0 var(--pad) clamp(14px,2vh,24px);
  display:grid;grid-template-rows:auto auto auto auto;
  gap:clamp(10px,1.6vh,18px)}
.landing-stage{min-height:0;display:grid;place-items:center}
.landing-hold{width:-moz-fit-content;width:fit-content;max-width:100%}
.landing-link{display:block;max-height:58svh}
.landing-link{display:block;max-width:100%;max-height:100%;transition:opacity .2s}
.landing-link:hover{opacity:.88}
.landing-cap{font-family:var(--mono);font-size:11px;line-height:1.7;color:var(--on-dark-mute);
  letter-spacing:.02em;font-variant-numeric:tabular-nums;margin-top:14px}
.landing-fig{display:block;max-width:100%;max-height:58svh;width:auto;height:auto;
  object-fit:contain;border:1px solid var(--ink-line)}
.landing-ghost{width:min(100%,760px);background-color:#1a1c20;
  background-image:repeating-linear-gradient(38deg,#1a1c20 0 3px,#202329 3px 7px)}
.eragrid{display:flex;flex-wrap:wrap;gap:10px;justify-self:start;
  margin-top:clamp(10px,1.8vh,20px)}
/* same size as the era filters on the Work page */
.eracard{border:1px solid var(--ink-line);padding:7px 14px;
  font-family:var(--mono);font-size:11px;letter-spacing:.1em;line-height:1;
  color:var(--on-dark-mute);transition:border-color .2s,color .2s}
.eracard:hover{border-color:var(--on-dark);color:var(--on-dark)}
.eracard.pending{opacity:.42}

/* ---- prose beside a painting ---- */
.split{padding:0 var(--pad) clamp(60px,10vw,120px);display:grid;gap:clamp(28px,5vw,64px);
  grid-template-columns:1fr;align-items:start}
/* a page with no heading still starts where a heading would have put it.
   Two classes, and after .split, so the padding shorthand cannot reset it. */
.split.split-top{padding-top:calc(var(--head-top) + 16px)}
@media(min-width:900px){.split{grid-template-columns:minmax(0,1fr) minmax(0,.82fr)}}
.split-text{padding:0;max-width:62ch}
.split-fig-wrap{display:grid;justify-items:center}
.split-fig-wrap a{display:block;width:100%;transition:opacity .2s}
.split-fig-wrap a:hover{opacity:.86}
.split-cap{font-family:var(--mono);font-size:11px;line-height:1.7;color:var(--on-dark-mute);
  margin-top:12px;font-variant-numeric:tabular-nums;justify-self:start;width:100%}
@media(min-width:900px){.split-fig-wrap{position:sticky;top:75px}}
.split-fig{display:block;width:auto;height:auto;max-width:100%;max-height:78vh;
  object-fit:contain;border:1px solid var(--ink-line)}
.split-ghost{width:100%;background-color:#1a1c20;
  background-image:repeating-linear-gradient(38deg,#1a1c20 0 3px,#202329 3px 7px)}

.page-images{padding:0 var(--pad) clamp(60px,10vw,120px);display:grid;gap:clamp(20px,3vw,36px);
  grid-template-columns:1fr;max-width:1100px}
@media(min-width:820px){.page-images{grid-template-columns:1fr 1fr;align-items:start}}
.page-images img{width:100%;border:1px solid var(--ink-line)}

.note{padding:0 var(--pad) clamp(60px,10vw,120px);max-width:60ch}
.note p{font-family:var(--sans);font-size:14.5px;line-height:1.7;color:var(--on-light-mute)}
.note a{border-bottom:1px solid currentColor}

.reg{font-family:var(--mono);font-size:11px;line-height:1.75;letter-spacing:.02em}
.reg dl{display:grid;grid-template-columns:auto 1fr;gap:0 14px}
.reg dt{color:var(--on-light-mute);text-transform:uppercase;font-size:10px;letter-spacing:.1em}
.reg dd{font-variant-numeric:tabular-nums}

.head{padding:var(--head-top) var(--pad) clamp(20px,3vw,32px);max-width:900px}

.head:empty{display:none}
.eyebrow{font-family:var(--mono);font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--on-light-mute);margin-bottom:18px}
.dark .eyebrow{color:var(--on-dark-mute)}
h1{font-family:var(--mono);font-size:13px;font-weight:400;letter-spacing:.16em;
  text-transform:uppercase;line-height:1.3;color:var(--on-dark-mute)}
.light h1{color:var(--on-light-mute)}
h1.num{font-family:var(--mono);font-size:13px;letter-spacing:.16em;
  text-transform:none;color:var(--on-light)}
.lede{font-family:var(--sans);margin-top:14px;font-size:clamp(13.5px,1.4vw,15px);line-height:1.7;
  max-width:62ch;color:#EDE9DF}
.lede p{margin:0;font-size:inherit;line-height:inherit;color:inherit}
.lede a{color:inherit;border-bottom:1px solid currentColor;transition:opacity .18s}
.lede a:hover{opacity:.72}
.dark .lede a:hover{color:var(--on-dark)}
.lede a:hover{border-color:var(--on-light)}
.dark .lede{color:var(--on-dark-mute)}

.grid{padding:0 var(--pad) clamp(60px,10vw,120px);display:grid}
/* a gallery with no chapter divider still begins on the line a divider
   would have drawn, so eras start at the same height as one another */
.grid.view-grid{padding-top:clamp(10px,1.6vh,16px)}
.grid.view-grid:not(:has(.chapter)){padding-top:calc(clamp(10px,1.6vh,16px) + 15px)}
.grid.view-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));
  gap:clamp(26px,4vw,54px) clamp(18px,3vw,36px)}
.grid.view-single{grid-template-columns:1fr;gap:0}
.grid.view-single .tile{min-height:82svh;display:flex;flex-direction:column;
  justify-content:center;align-items:stretch;
  scroll-margin-top:var(--chrome)}
/* the work above and below shows at the edges, fading into the wall —
   enough to know there is more without competing with what you are looking at */
/* both edges dissolve between works, lightly — enough to soften the crop,
   not enough to encroach on a tall painting sitting centred. The top one only
   appears once the heading has scrolled away. */
.grid::before,
.grid::after{
  content:"";position:fixed;left:0;right:0;height:10svh;z-index:5;pointer-events:none}
/* stops measured from the nav's lower edge, so the solid part is exactly
   the height of the nav and the fade starts the moment it clears it */
.grid::before{top:0;height:calc(var(--chrome) + 10svh);opacity:0;transition:opacity .25s ease;
  background:linear-gradient(to bottom,
    var(--wall) 0,
    var(--wall) var(--chrome),
    color-mix(in srgb, var(--wall) 58%, transparent) calc(var(--chrome) + 3.5svh),
    color-mix(in srgb, var(--wall) 20%, transparent) calc(var(--chrome) + 6.5svh),
    transparent 100%)}
body.past-head .grid::before{opacity:1}
body.scrolled .nav{border-bottom-color:var(--ink-line)}
@media(max-width:859px){
  :root{--nav-h:60px;--chrome:108px}
  .grid::before{height:calc(var(--chrome) + 10svh)}
  .grid.view-single .tile{scroll-margin-top:var(--chrome)}
  html{scroll-padding-top:var(--chrome)}
}
/* The foot of the page fades into the wall — on a desktop. On a phone Safari
   anchors a fixed element to the bottom of the layout viewport, which sits
   behind its toolbar, so the fade lands short and paints a dark band across a
   painting instead of dissolving at the edge. Not worth the artefact: on a
   small screen the work simply meets the edge of the screen. */
@media(max-width:719px){ .grid::after{display:none} }
.grid::after{bottom:0;
  background:linear-gradient(to top,
    var(--wall) 0%, var(--wall) 26%,
    color-mix(in srgb, var(--wall) 62%, transparent) 62%,
    color-mix(in srgb, var(--wall) 22%, transparent) 84%,
    transparent 100%)}

/* the first work in a catalogue sits straight under the heading, not centred
   in a full screen of its own — otherwise you land on empty ground */
.grid.view-single{padding-top:clamp(18px,3.5vh,40px)}
.grid.view-single > .tile:first-child,
.grid.view-single > .chapter:first-child + .tile{
  min-height:0;justify-content:flex-start;padding-bottom:clamp(30px,6vh,70px);
}
.grid.view-single > .chapter:first-child{padding-top:0}

.grid.view-single .tile-hold{display:block;width:100%}
.grid.view-single .tile-body{width:-moz-fit-content;width:fit-content;max-width:100%;margin-inline:auto}
/* the width the work will settle at once loaded, stated up front — otherwise a
   lazy image has no size, the tile stands empty, and the page jumps when it lands */
/* A definite width, with no percentage in it: the caption block around the work
   is fit-content, so a percentage here would depend on the very thing it is
   sizing and collapse to nothing while the image is still loading. max-width
   still reins it in on a narrow screen. */
.grid.view-single .tile-fig{width:calc(62svh * var(--arn,1));
  max-width:100%;max-height:62svh;height:auto;object-fit:contain}
.grid.view-single .tile-cap{width:0;min-width:100%}
.grid.view-single .tile-ghostbox{width:100%;max-height:62svh}
.grid.view-single .tile-cap{margin-top:20px;text-align:left}
.grid.view-single .tile:hover .tile-fig{transform:none}

.chapter{grid-column:1/-1;display:flex;align-items:center;gap:16px;
  padding:clamp(30px,6vh,70px) 0 clamp(10px,1.6vh,16px)}
.grid.view-grid > .chapter:first-child{padding-top:0}
.chapter span{font-family:var(--mono);font-size:11px;letter-spacing:.16em;text-transform:uppercase;
  color:var(--on-light-mute);white-space:nowrap}
.chapter::after{content:"";flex:1;height:1px;background:var(--wall-line)}
.grid.view-single .chapter{min-height:0;justify-content:flex-start}



.filterbar{display:flex;flex-wrap:wrap;gap:12px 20px;align-items:center;justify-content:space-between;
  padding:0 var(--pad) 30px}
.filterbar .filters{padding:0}

/* the era tabs sit above the landing painting, at the height they hold elsewhere */
.filterbar.eratop{position:static;background:none;
  margin-top:clamp(6px,1.2vh,14px);padding:11px 0 12px;gap:10px}

/* the era row carries the page heading, so it takes the heading's top spacing.
   Two classes, and placed after .filterbar, so the shorthand cannot reset it. */
.filterbar.erabar{margin-top:var(--head-top);padding:11px var(--pad) 12px;
  align-items:center;gap:clamp(14px,2.6vw,30px);
  position:sticky;top:calc(var(--nav-h) - 1px);z-index:20;
  background:color-mix(in srgb, var(--wall) 82%, transparent);
  -webkit-backdrop-filter:saturate(140%) blur(14px);
  backdrop-filter:saturate(140%) blur(14px)}
.filterbar.erabar .filters{padding:0}
.filterbar.erabar-static{position:relative;top:auto;background:none;
  -webkit-backdrop-filter:none;backdrop-filter:none}

/* Available has a toggle but no tabs — same treatment so it behaves alike */
.filterbar.availbar{position:sticky;top:calc(var(--nav-h) - 1px);z-index:20;
  background:color-mix(in srgb, var(--wall) 82%, transparent);
  -webkit-backdrop-filter:saturate(140%) blur(14px);
  backdrop-filter:saturate(140%) blur(14px);
  padding:11px var(--pad) 12px}

@media(max-width:859px){
  :root{--nav-h:60px}
}

@media(min-width:860px){
  /* the tabs sit in the middle of the page; the toggle stays at the right */
  .filterbar.erabar{justify-content:center}
  .filterbar.erabar .viewtoggle{position:absolute;right:var(--pad);top:50%;
    transform:translateY(-50%)}
  .filterbar.eratop{justify-content:center}
}
.viewtoggle{display:flex;gap:0;border:1px solid var(--wall-line)}
.viewtoggle button{display:grid;place-items:center;padding:8px 12px;line-height:0;
  color:var(--on-light-mute);transition:.18s}
.viewtoggle button svg{fill:currentColor;display:block}
.viewtoggle button:hover{color:var(--on-light)}
.viewtoggle button[aria-pressed="true"]{background:var(--on-light);color:var(--wall)}
.tile{text-align:left;width:100%;display:block}
.tilelink{display:block;width:100%}
.tileadd{display:inline-flex;align-items:center;justify-content:center;
  width:22px;height:22px;margin-left:9px;vertical-align:-5px;
  border:0;padding:0;background:none;cursor:pointer;
  color:var(--on-light-mute);opacity:.62;transition:opacity .18s,color .18s}
.tileadd svg{stroke:currentColor;stroke-width:1.35;fill:none;
  stroke-linecap:round;stroke-linejoin:round;display:block}
.tileadd:hover{opacity:1;color:var(--on-light)}
.tileadd[disabled]{opacity:.34;cursor:default}
.tileadd[disabled] svg{fill:currentColor;stroke:none}
.tile-hold{display:block;width:100%}
.tile-fig{display:block;width:100%;height:auto;border:1px solid var(--wall-line);
  transition:border-color .2s,transform .2s}
.tile-ghostbox{background:var(--wall-2);display:grid;place-items:center}
.tile:hover .tile-fig{border-color:#9c9c98;transform:translateY(-3px)}
.tile-ghost{font-family:var(--mono);font-size:12px;color:#A9A9A5;letter-spacing:.06em}
.tile-cap{margin-top:12px}
.tile-no{font-family:var(--mono);font-size:13px;font-variant-numeric:tabular-nums;
  color:var(--on-light-mute)}
.tile-title{color:#EDE9DF}
.tile-sub{font-family:var(--mono);font-size:11px;color:var(--on-light-mute);margin-top:3px}
.hasvid{display:inline-block;margin-left:6px;vertical-align:baseline;opacity:.65}
.hasvid svg{fill:currentColor;display:inline-block}

/* centred under the painting: it had a maximum width but no margins, so on a
   wide screen it sat over to the left while everything above it was centred */
.videowrap{padding:0 var(--pad) clamp(60px,10vw,120px);max-width:1100px;margin-inline:auto}
.videolabel{font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;
  color:var(--on-light-mute);margin-bottom:14px}
.videoframe{position:relative;border:1px solid var(--wall-line);background:var(--wall-2);
  margin-inline:auto;max-width:100%}
.vf-landscape{padding-top:56.25%}
.vf-square{padding-top:100%;max-width:min(100%,720px)}
.vf-portrait{padding-top:177.78%;max-width:min(100%,460px)}
.videoframe iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block;transition:opacity .26s}
.vidcount{margin-left:10px;opacity:.6;text-transform:none;letter-spacing:.04em}
.viddots{display:flex;gap:9px;justify-content:center;margin-top:16px}
.viddot{width:7px;height:7px;border-radius:50%;border:1px solid var(--on-light-mute);
  background:none;padding:0;transition:.2s;cursor:pointer}
.viddot.on{background:var(--on-light);border-color:var(--on-light)}
.viddot:hover{border-color:var(--on-light)}

.tile-price{font-family:var(--mono);font-size:12px;margin-top:6px;font-variant-numeric:tabular-nums}
.tag{display:inline-block;margin-top:6px;font-family:var(--mono);font-size:10px;letter-spacing:.12em;
  text-transform:uppercase;border:0;padding:0;color:var(--on-light-mute)}
.tag.sold{opacity:.5}
.tag.quiet{opacity:.5}

.filters{padding:0 var(--pad) 30px;display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.filters a{font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;
  border:1px solid var(--wall-line);padding:7px 14px;color:var(--on-light-mute);transition:.18s}
.filters a:hover{border-color:#9c9c98}
.filters a.tab-avail{margin-left:8px}

/* The tabs live on one line and slide sideways, so the bar never grows taller
   however many eras there are. The toggle keeps its place at the right. */
.tabstrip{position:relative;flex:1;min-width:0}
.tabstrip > .filters{flex-wrap:nowrap;width:-moz-max-content;width:max-content;
  overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;
  scrollbar-width:none;padding-right:22px;max-width:100%}
.tabstrip > .filters::-webkit-scrollbar{display:none}
.tabstrip::after{content:"";position:absolute;top:0;right:0;bottom:0;width:30px;
  pointer-events:none;opacity:0;transition:opacity .2s;
  background:linear-gradient(to right,transparent,var(--wall))}
.tabstrip.overflows::after{opacity:1}
/* when it all fits, the row centres as before */
.tabstrip:not(.overflows) > .filters{margin-inline:auto;padding-right:0}
.dark .filters a{border-color:var(--ink-line);color:var(--on-dark-mute)}
.dark .filters a:hover{border-color:#4a4d53;color:var(--on-dark)}
.filters a[aria-current="true"]{background:var(--on-light);border-color:var(--on-light);color:var(--wall)}

/* photographs of the work in a room, beneath the painting on its own page */
.situwrap{padding:0 var(--pad) clamp(40px,7vw,80px);max-width:1100px;margin-inline:auto}
.situlist{display:grid;gap:clamp(20px,3vw,36px);grid-template-columns:1fr}
@media(min-width:820px){
  .situlist{grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr))}
}
.situ{margin:0}
.situ img{display:block;width:100%;height:auto;border:1px solid var(--wall-line)}
.situ figcaption{font-family:var(--mono);font-size:11px;line-height:1.6;
  color:var(--on-light-mute);margin-top:10px}

/* stepping through a gallery from a single work */
.detail{position:relative}
/* Pinned to the edges of the screen, vertically centred: always reachable,
   whatever the height of the painting and however far you have scrolled. */
.stepnav{position:fixed;top:50%;transform:translateY(-50%);z-index:15;
  width:44px;height:56px;display:grid;place-items:center;
  color:var(--on-light-mute);opacity:.34;transition:opacity .18s,color .18s}
.stepnav svg{stroke:currentColor;stroke-width:1.4;fill:none;
  stroke-linecap:round;stroke-linejoin:round;display:block}
.stepnav:hover,.stepnav:active{opacity:1;color:var(--on-light)}
.step-prev{left:0}
.step-next{right:0}
@media(max-width:719px){
  .stepnav{width:38px;height:52px;opacity:.4}
}

/* the painting, then its caption directly beneath and aligned to its edge —
   the same arrangement as one-at-a-time in a gallery */
.detail{padding:clamp(26px,4vw,48px) var(--pad) clamp(60px,10vw,120px)}
.detail-hold{width:-moz-fit-content;width:fit-content;max-width:100%;margin-inline:auto}
img.detail-fig{display:block;width:auto;max-width:100%;max-height:62svh;height:auto;
  margin-inline:auto;object-fit:contain;border:1px solid var(--wall-line)}
.detail-fig.detail-ghost{background:var(--wall-2);border:1px solid var(--wall-line);
  display:grid;place-items:center;width:min(100%,420px)}
.back{display:inline-block;font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;
  color:var(--on-light-mute);padding:24px var(--pad) 0}
.back:hover{color:var(--on-light)}
.dark > .back{color:var(--on-dark-mute)}

/* back arrow: floats bottom-left, mirroring back-to-top */
/* clear of Safari's bottom toolbar, which sits over the foot of the page */
.backarrow{position:fixed;left:clamp(18px,3vw,34px);
  bottom:calc(clamp(18px,3vw,34px) + env(safe-area-inset-bottom,0px));z-index:60;
  width:44px;height:44px;display:grid;place-items:center;
  border:0;padding:0;background:none;cursor:pointer;
  color:var(--on-dark-mute);opacity:.85;transition:opacity .18s,color .18s}
.backarrow svg{stroke:currentColor;stroke-width:1.4;fill:none;
  stroke-linecap:round;stroke-linejoin:round;display:block}
.backarrow:hover{opacity:1;color:var(--on-dark)}
.dark > .back:hover{color:var(--on-dark)}
.side{margin-top:26px;display:block;text-align:left;width:0;min-width:100%}
/* a museum label: the number carries the weight, everything else recedes */
.label-no{font-family:var(--mono);font-size:clamp(15px,1.6vw,17px);font-weight:400;
  letter-spacing:.01em;line-height:1.3;color:#EDE9DF;font-variant-numeric:tabular-nums}
.label-line{font-family:var(--mono);font-size:clamp(11.5px,1.2vw,12.5px);line-height:1.65;
  color:var(--on-light-mute);font-variant-numeric:tabular-nums;margin-top:0}
.label-no + .label-line{margin-top:7px}
/* the work page names itself in the same compact caption as the thumbnails and
   the fullscreen scroll: title, date on one line; size · medium beneath */
.detail-cap{margin-top:0}
.detail-cap .tile-no{font-size:13px}
.detail-cap .tile-sub{margin-top:4px}
.rule{height:1px;background:var(--wall-line);margin:20px 0}
.price-lg{font-family:var(--mono);font-size:17px;font-variant-numeric:tabular-nums;
  margin-top:16px;padding-top:14px;border-top:1px solid var(--wall-line);margin-bottom:14px}
.btn{display:block;font-family:var(--mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase;
  background:var(--on-light);color:var(--wall);padding:12px 20px;width:100%;text-align:center}
.btn:hover{background:#000}
.btn.ghost{background:none;color:var(--on-light);border:1px solid var(--on-light)}
.btn.ghost:hover{background:var(--on-light);color:var(--wall)}
.btn[disabled]{opacity:.35;cursor:default}
.fineprint{font-family:var(--mono);font-size:10px;line-height:1.9;color:var(--on-light-mute);margin-top:14px}

.drawer{position:fixed;inset:0 0 0 auto;width:min(420px,100%);background:var(--ink);
  border-left:1px solid var(--ink-line);z-index:100;transform:translateX(100%);transition:transform .3s ease;
  display:flex;flex-direction:column;padding:var(--pad);overflow:auto}
.drawer.on{transform:none}
.drawer h3{font-family:var(--mono);font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--on-dark-mute);margin-bottom:24px}
.drawer .fineprint{color:var(--on-dark-mute)}
.citem{display:flex;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--ink-line);font-family:var(--mono);font-size:12px}
.citem span{color:var(--on-dark-mute)}
.cx{color:var(--on-dark-mute);font-size:16px;line-height:1}
.cx:hover{color:#fff}
.ctotal{display:flex;justify-content:space-between;font-family:var(--mono);font-size:13px;margin:24px 0 8px;font-variant-numeric:tabular-nums}
.drawer .btn{background:var(--on-dark);color:var(--ink);margin-top:12px}
.closeD{position:absolute;top:16px;right:var(--pad);font-family:var(--mono);font-size:11px;color:var(--on-dark-mute)}
.scrim{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:99;opacity:0;pointer-events:none;transition:opacity .3s}
.scrim.on{opacity:1;pointer-events:auto}

.prose{font-family:var(--sans);padding:0 var(--pad) clamp(60px,10vw,120px);
  max-width:62ch;font-size:clamp(13.5px,1.4vw,15px);line-height:1.7}
.split .prose{padding-left:0;padding-right:0}
.prose p{margin-bottom:1.15em;color:var(--on-dark-mute)}
.prose strong{color:var(--on-dark);font-weight:500}
.prose a{color:var(--on-dark);border-bottom:0;font-size:inherit;transition:opacity .18s}
.prose a:hover{opacity:.75}
.light .prose a{color:var(--on-light)}
.prose a.cvlink{display:inline-block;margin-top:.4em;color:var(--on-dark);
  font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase}
.prose a.cvlink:hover{opacity:.75}

.prose h2{font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.14em;
  text-transform:uppercase;margin:2.6em 0 1.1em;color:var(--on-dark)}
.prose > h2:first-child{margin-top:0}
.light .prose p{color:var(--on-light-mute)}
.light .prose strong,.light .prose h2{color:var(--on-light)}

.cv{max-width:660px}
.cv-group{margin-bottom:44px}
.cv-group h2{font-family:var(--mono);font-size:10px;letter-spacing:.14em;text-transform:uppercase;
  color:var(--on-dark-mute);margin-bottom:16px;padding-bottom:10px;border-bottom:1px solid var(--ink-line)}
.cv-row{font-family:var(--sans);display:grid;grid-template-columns:60px 1fr;gap:16px;padding:10px 0;font-size:15px;line-height:1.6}
.cv-row .y{font-family:var(--mono);font-size:13px;color:var(--on-dark-mute);font-variant-numeric:tabular-nums}
.cv-row em{font-style:italic}
.cv-row .v{color:var(--on-dark-mute)}

.empty{margin:0 var(--pad) clamp(60px,10vw,120px);border:1px dashed var(--wall-line);padding:clamp(32px,6vw,64px);text-align:center}
.dark .empty{border-color:var(--ink-line)}
.empty p{font-family:var(--sans);font-size:15px;color:var(--on-light-mute);line-height:1.7}
.dark .empty p{color:var(--on-dark-mute)}

.foot{border-top:1px solid var(--ink-line);background:var(--ink);color:var(--on-dark-mute);
  padding:16px var(--pad);display:flex;flex-wrap:wrap;gap:6px 28px;justify-content:space-between;
  font-family:var(--mono);font-size:10.5px}
.foot a:hover{color:var(--on-dark)}
@media(max-width:719px){
  html{scroll-padding-top:var(--chrome)}
  .grid.view-grid{grid-template-columns:1fr 1fr;gap:26px 12px}
  .grid.view-grid .tile-cap{margin-top:9px}
  .grid.view-grid .tile-no{font-size:11px}
  .grid.view-grid .tile-sub{font-size:9.5px;line-height:1.55;margin-top:2px}
  .grid.view-grid .hasvid{display:inline-block;margin-left:6px;vertical-align:baseline;opacity:.65}
.hasvid svg{fill:currentColor;display:inline-block}

/* centred under the painting: it had a maximum width but no margins, so on a
   wide screen it sat over to the left while everything above it was centred */
.videowrap{padding:0 var(--pad) clamp(60px,10vw,120px);max-width:1100px;margin-inline:auto}
.videolabel{font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;
  color:var(--on-light-mute);margin-bottom:14px}
.videoframe{position:relative;border:1px solid var(--wall-line);background:var(--wall-2);
  margin-inline:auto;max-width:100%}
.vf-landscape{padding-top:56.25%}
.vf-square{padding-top:100%;max-width:min(100%,720px)}
.vf-portrait{padding-top:177.78%;max-width:min(100%,460px)}
.videoframe iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block;transition:opacity .26s}
.vidcount{margin-left:10px;opacity:.6;text-transform:none;letter-spacing:.04em}
.viddots{display:flex;gap:9px;justify-content:center;margin-top:16px}
.viddot{width:7px;height:7px;border-radius:50%;border:1px solid var(--on-light-mute);
  background:none;padding:0;transition:.2s;cursor:pointer}
.viddot.on{background:var(--on-light);border-color:var(--on-light)}
.viddot:hover{border-color:var(--on-light)}

.tile-price{font-size:10px;margin-top:4px}
  .grid.view-grid .tag{font-size:8.5px;padding:2px 5px;letter-spacing:.08em}
  .filterbar{gap:10px 14px}
}

.totop{position:fixed;right:clamp(18px,3vw,34px);
  bottom:calc(clamp(18px,3vw,34px) + env(safe-area-inset-bottom,0px));z-index:60;
  width:44px;height:44px;display:grid;place-items:center;border:0;background:none;
  color:var(--on-dark-mute);opacity:0;pointer-events:none;
  transition:opacity .22s,color .18s}
.totop.on{opacity:.85;pointer-events:auto}
.totop:hover{opacity:1;color:var(--on-dark)}
.totop svg{stroke:currentColor;stroke-width:1.4;fill:none;
  stroke-linecap:round;stroke-linejoin:round;display:block}

@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto}}


/* add to cart on a work's own page: the same glyph as the catalogue,
   scaled for the larger price beside it */
.addcart{display:inline-flex;align-items:center;justify-content:center;
  width:34px;height:34px;margin-left:16px;vertical-align:-8px;
  border:0;padding:0;background:none;cursor:pointer;
  color:var(--on-light-mute);opacity:.68;transition:opacity .18s,color .18s}
.addcart svg{stroke:currentColor;stroke-width:1.3;fill:none;
  stroke-linecap:round;stroke-linejoin:round;display:block;width:21px;height:21px}
.addcart:hover{opacity:1;color:var(--on-light)}
.addcart[disabled]{opacity:.34;cursor:default}
.addcart[disabled] svg{fill:currentColor;stroke:none}

.availnote{padding:clamp(10px,1.6vh,18px) var(--pad) clamp(18px,3vw,30px);max-width:900px}
.availnote .lede{margin-top:0}

/* the quiet link under the Available works heading */
.availlink{font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;
  margin-top:clamp(24px,3.5vw,38px)}
.availlink a{color:var(--on-light-mute);border-bottom:1px solid transparent;transition:.18s}
.availlink a:hover{color:var(--on-light);border-color:var(--on-light)}

/* ---------------- sheets: printable work lists ---------------- */
.sheet{background:#fff;color:#111;padding:clamp(36px,6vw,72px) clamp(24px,5vw,64px);max-width:1000px;margin:0 auto;min-height:100vh}
.sheethead{border-bottom:1px solid #ddd;padding-bottom:26px;margin-bottom:38px}
.sheetbrand{font-family:var(--sans);font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:#666;margin-bottom:18px}
.sheet h1{font-family:var(--sans);font-size:26px;font-weight:500;color:#111;margin:0 0 8px}
.sheetrecip{font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:#777;margin:0 0 14px}
.sheetintro{font-family:var(--sans);font-size:14px;line-height:1.65;color:#444;max-width:62ch;margin:0}
.sheetlist{display:flex;flex-direction:column;gap:34px}
.sheetitem{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:28px;align-items:start;
  break-inside:avoid;page-break-inside:avoid}
.sheetfig img{width:100%;height:auto;display:block;border:1px solid #e6e6e6}
.sheetmeta{font-family:var(--mono);font-size:12px;line-height:1.75;padding-top:2px}
.sheetno{color:#111;font-variant-numeric:tabular-nums}
.sheetsub{color:#777}
.sheetprice{color:#111;margin-top:10px;font-variant-numeric:tabular-nums}
.sheettotal{font-family:var(--mono);font-size:12px;color:#111;text-align:right;
  border-top:1px solid #ddd;padding-top:18px;margin-top:38px;font-variant-numeric:tabular-nums}
.sheetfoot{font-family:var(--mono);font-size:10px;line-height:1.9;color:#888;
  border-top:1px solid #eee;margin-top:30px;padding-top:18px}

@media(max-width:640px){ .sheetitem{grid-template-columns:1fr;gap:14px} }

@media print{
  .nav,.foot,.totop,.drawer,.scrim{display:none!important}
  .sheet{padding:0;max-width:none;min-height:0}
  .sheetitem{page-break-inside:avoid}
  @page{margin:16mm}
}


/* ---------------- landing page bands ---------------- */

.scrollcue{display:flex;justify-content:center;padding-top:clamp(14px,2vw,24px)}
.scrollcue span{display:block;width:1px;height:26px;
  background:linear-gradient(to bottom,transparent,var(--on-dark-mute));opacity:.55}

.homeband{padding:clamp(24px,3.2vw,40px) 0}
.homeband + .homeband{padding-top:clamp(26px,3.4vw,44px)}
.homeband:last-of-type{padding-top:clamp(34px,4.5vw,56px);padding-bottom:clamp(56px,8vw,96px)}
.homeinner{max-width:1000px;margin:0 auto;padding:0 var(--pad)}
.bandlabel{font-family:var(--mono);font-size:11px;letter-spacing:.16em;text-transform:uppercase;
  color:#EDE9DF;margin-bottom:clamp(10px,1.4vw,16px)}
.light .bandlabel{color:var(--on-light)}
.bandprose{max-width:70ch}
.bandprose p{font-family:var(--sans);font-size:clamp(13px,1.3vw,14px);line-height:1.7;
  color:var(--on-dark-mute);margin:0}
.light .bandprose p{color:var(--on-light-mute)}
.bandlink{font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;
  margin-top:clamp(12px,1.8vw,18px)}
.bandlink a{color:#EDE9DF;transition:opacity .18s}
.bandlink a:hover{opacity:.72}
.light .bandlink a{color:var(--on-light)}
.light .bandlink a:hover{color:var(--on-light)}

.bandwork{margin-top:clamp(26px,4vw,44px);max-width:min(100%,420px);margin-inline:auto}
.bandfig{display:block}
.bandfig img{width:100%;height:auto;display:block;transition:opacity .25s}
.bandfig:hover img{opacity:.86}
.bandmeta{padding-top:4px}
.bandnote{margin-top:0;max-width:64ch}
.bandnote p{font-family:var(--sans);font-size:clamp(13px,1.3vw,14px);line-height:1.7;
  color:var(--on-light-mute);margin:0}

.bandcols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(26px,4vw,56px)}
.bandcols h3{font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;
  font-weight:400;color:var(--on-dark-mute);margin-bottom:10px}
.bandcols p{font-family:var(--sans);font-size:clamp(13px,1.3vw,14px);line-height:1.7;
  color:var(--on-dark-mute);max-width:44ch;margin:0}

@media(max-width:899px){
  .split{gap:clamp(14px,3vw,24px)}
  .prose{padding-bottom:0}
}
@media(max-width:719px){
  .bandwork{grid-template-columns:1fr}
  .bandcols{grid-template-columns:1fr;gap:30px}
}


/* ---------------- full view ---------------- */
/* the painting alone: no nav, no tabs, nothing to read */
body.locked{overflow:hidden}

.lightbox{position:fixed;inset:0;z-index:200;display:none;
  background:var(--page);
  grid-template-columns:auto minmax(0,1fr) auto;
  grid-template-rows:minmax(0,1fr) auto;
  align-items:center;gap:0;
  padding:clamp(20px,4vh,54px) clamp(8px,2vw,26px) clamp(14px,2.6vh,28px)}
.lightbox.on{display:grid}

.lightbox img{grid-column:2;grid-row:1;
  display:block;margin:0 auto;
  max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}

.lb-close{position:absolute;top:clamp(10px,2vh,20px);right:clamp(10px,2vw,22px);
  width:44px;height:44px;display:grid;place-items:center;z-index:2;
  border:0;background:none;cursor:pointer;color:var(--on-dark-mute);
  opacity:.7;transition:opacity .18s,color .18s}
.lb-close:hover{opacity:1;color:var(--on-dark)}
.lb-close svg{stroke:currentColor;stroke-width:1.4;fill:none;stroke-linecap:round;display:block}

.lb-step{grid-row:1;width:clamp(38px,5vw,58px);height:64px;
  display:grid;place-items:center;border:0;background:none;cursor:pointer;
  color:var(--on-dark-mute);opacity:.55;transition:opacity .18s,color .18s}
.lb-step:hover{opacity:1;color:var(--on-dark)}
.lb-step svg{stroke:currentColor;stroke-width:1.3;fill:none;
  stroke-linecap:round;stroke-linejoin:round;display:block}
.lb-prev{grid-column:1}
.lb-next{grid-column:3}

.lb-cap{grid-column:2;grid-row:2;text-align:center;
  font-family:var(--mono);font-size:11px;letter-spacing:.04em;line-height:1.7;
  color:var(--on-dark-mute);padding-top:clamp(12px,2vh,20px);
  font-variant-numeric:tabular-nums}
.lb-cap b{color:#EDE9DF;font-weight:400}

/* a painting on its own page invites the full view */
.detail-hold img.detail-fig{cursor:zoom-in}

@media(max-width:719px){
  .lightbox{grid-template-columns:minmax(0,1fr);padding:clamp(44px,7vh,60px) 10px 16px}
  .lightbox img{grid-column:1}
  .lb-cap{grid-column:1}
  /* below the caption, where they cannot sit over the painting */
  .lightbox{grid-template-rows:minmax(0,1fr) auto auto}
  .lb-step{grid-row:3;width:56px;height:48px;opacity:.6}
  .lb-prev{grid-column:1;justify-self:start}
  .lb-next{grid-column:1;justify-self:end}
  .lb-cap{grid-row:2}
}


/* ---------------- the landing opening ---------------- */
.opening{padding:clamp(56px,11vh,132px) var(--pad) clamp(8px,1.4vh,16px);text-align:center;
  position:relative}
/* a faint light behind the mark, as if it were lit on the wall */
.opening::before{content:"";position:absolute;left:50%;
  width:min(90vw,660px);aspect-ratio:1;transform:translateX(-50%);top:clamp(46px,9vh,110px);
  background:radial-gradient(circle,rgba(255,255,255,.05) 0%,transparent 62%);
  pointer-events:none}

.mark{display:block;position:relative;width:clamp(160px,34vw,320px);aspect-ratio:1;
  margin:0 auto clamp(40px,7.5vh,78px);overflow:hidden}
.mark img{width:100%;height:100%;object-fit:contain;display:block}
a.mark{transition:opacity .25s}
a.mark:hover{opacity:.82}

h1.wordmark{font-family:var(--sans);font-size:clamp(30px,7.4vw,64px);font-weight:400;
  letter-spacing:-.005em;line-height:1.02;color:#EDE9DF;margin:0;text-transform:uppercase}
h1.wordmark span{display:block}

.openingline{font-family:var(--mono);font-size:clamp(10px,1.5vw,12px);
  letter-spacing:.26em;text-transform:uppercase;line-height:1.9;
  color:var(--on-dark-mute);margin:clamp(18px,3vh,30px) auto 0;
  max-width:42ch;text-wrap:balance}

/* the link, with a rule running off to the side */
.openinglink{display:flex;align-items:center;justify-content:center;
  gap:clamp(14px,3vw,28px);margin-top:clamp(20px,3.4vh,32px);
  font-family:var(--mono);font-size:11px;letter-spacing:.22em;text-transform:uppercase}
.openinglink a{color:var(--on-dark);transition:opacity .18s}
.openinglink a:hover{opacity:.7}
.openinglink::after{content:"";height:1px;width:clamp(60px,18vw,190px);
  background:var(--on-dark-mute);opacity:.5}


/* ---------------- scale comparison ---------------- */
.scaleline{margin-top:12px}
.scaletoggle{display:inline-block;border:0;background:none;padding:4px 0;cursor:pointer;
  font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;
  color:#EDE9DF;transition:border-color .18s,color .18s}

/* the frame shows either the photograph or the painting on a wall */
.detail-hold.in-scale img.detail-fig{display:none}
/* scale view is a full-screen overlay: the page behind is locked, so scrolling
   the catalogue can't drag the page and nothing shows through the nav */
body.in-scale{overflow:hidden}
.detail-hold.in-scale{position:fixed;inset:0;z-index:200;width:auto;max-width:none;margin:0;
  background:var(--wall);display:flex;flex-direction:column;overflow:hidden;
  padding-top:env(safe-area-inset-top,0px)}
/* the stage stacks a fixed toolbar over a room area; only the room resizes,
   so the controls never sit on the art and never shift under your finger */
.scalestage{position:relative;flex:1 1 auto;min-height:0;width:100%;
  display:flex;flex-direction:column;padding:6px var(--pad) 0}

/* while the room is showing, the page-level arrows step aside */
body.in-scale .stepnav{display:none}
/* the caption sits as a slim bar at the foot of the overlay (single work only) */
.detail-hold.in-scale .side{flex:0 0 auto;position:static;width:auto;min-width:0;margin:0;
  padding:8px var(--pad) calc(10px + env(safe-area-inset-bottom,0px))}
.detail-hold.in-scale .scaleline{display:none}
.detail-hold.in-scale .fineprint{display:none}
.detail-hold.in-scale .price-lg{margin:6px 0 0;padding:0;border:0}
body.wall-multi .side{display:none}

/* the toolbar: room size, wall colour, and the way back to the photo —
   kept compact so it takes as little wall as possible */
.scalebar{display:flex;flex-wrap:wrap;align-items:center;gap:5px 16px;
  padding:0 2px 8px;font-family:var(--mono);font-size:9px;letter-spacing:.1em;
  text-transform:uppercase;color:var(--on-light-mute)}
.sc-controls{display:flex;flex-wrap:wrap;gap:5px 14px;align-items:center}
.sc-row{display:flex;gap:8px;align-items:center}
.sc-lab{white-space:nowrap;min-width:58px;color:var(--on-light-mute)}
.scalebar input[type=range]{width:118px;accent-color:var(--on-light-mute);
  touch-action:none;padding:6px 0}
.sc-swatches{display:flex;gap:6px;align-items:center}
.sc-swatch{width:16px;height:16px;border-radius:50%;border:1px solid rgba(128,128,128,.45);
  padding:0;cursor:pointer;transition:transform .12s}
.sc-swatch:hover{transform:scale(1.12)}
.sc-swatch.on{outline:1.5px solid var(--on-light-mute);outline-offset:2px}
.sc-add{font-family:var(--mono);font-size:9px;letter-spacing:.1em;text-transform:uppercase;
  border:1px solid rgba(128,128,128,.45);background:none;color:var(--on-light-mute);
  padding:6px 11px;cursor:pointer;transition:color .18s,border-color .18s}
.sc-add:hover{color:var(--on-light);border-color:var(--on-light)}
.sc-add.on{color:var(--on-light);border-color:var(--on-light);
  background:color-mix(in srgb, var(--on-light-mute) 14%, transparent)}
/* the standing figure can be sent away when you want to see the works alone */
.sc-fig{width:30px;height:25px;display:grid;place-items:center;padding:0;
  border:1px solid rgba(128,128,128,.45);background:none;color:var(--on-light-mute);
  cursor:pointer;transition:color .18s,border-color .18s,background .18s}
.sc-fig svg{fill:currentColor;display:block}
@media (hover:hover){ .sc-fig:hover{color:var(--on-light);border-color:var(--on-light)} }
.sc-fig.on{color:var(--on-light);border-color:var(--on-light);
  background:color-mix(in srgb, var(--on-light-mute) 14%, transparent)}

/* what is hanging, and the button that turns the wall into an email */
.wallbar{display:none;flex:0 0 auto;align-items:center;justify-content:space-between;
  gap:12px;flex-wrap:wrap;padding:10px 2px 2px}
.scalestage.multi .wallbar{display:flex}
.wb-list{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px;
  font-family:var(--mono);font-size:10px;letter-spacing:.04em;color:var(--on-light-mute)}
.wb-item b{font-weight:500;color:var(--on-light)}
.wb-total{color:var(--on-light)}
.wb-send{font-family:var(--mono);font-size:9px;letter-spacing:.1em;text-transform:uppercase;
  border:1px solid var(--on-light);background:none;color:var(--on-light);
  padding:7px 14px;cursor:pointer;transition:background .18s,color .18s}
@media (hover:hover){ .wb-send:hover{background:var(--on-light);
  color:color-mix(in srgb, var(--wall) 88%, transparent)} }
.wb-note{flex:1 0 100%;margin:2px 0 0;font-family:var(--mono);font-size:9px;
  letter-spacing:.06em;color:var(--on-light-mute);text-align:right}
@media(max-width:719px){
  .wallbar{gap:8px;padding:8px 2px 2px}
  .wb-list{font-size:9px;gap:3px 10px}
  .wb-send{width:100%;text-align:center;padding:9px 14px}
}
.scaleclose{width:30px;height:30px;display:grid;place-items:center;
  border:0;background:none;padding:0;cursor:pointer;color:var(--on-light-mute);
  opacity:.75;transition:opacity .18s,color .18s}
.scaleclose svg{stroke:currentColor;stroke-width:1.4;fill:none;stroke-linecap:round;display:block}
.scaleclose:hover{opacity:1;color:var(--on-light)}
@media(max-width:719px){
  .sc-lab{min-width:0}
  .scalebar input[type=range]{width:92px}
  .sc-controls{gap:4px 12px}
  /* eight colours plus the buttons have to share one row with the close, so the
     swatches and the gaps between them tighten rather than wrap a lone X */
  .scalebar{gap:5px 9px}
  .sc-swatches{gap:5px}
  .sc-swatch{width:14px;height:14px}
  .sc-add{padding:6px 9px}
  .sc-fig{width:26px;height:24px}
  .scaleclose{width:26px;height:26px}
  .scaleclose svg{width:16px;height:16px}
}
/* the narrowest phones, and anyone running larger text */
@media(max-width:400px){
  .scalebar{gap:5px 7px}
  .sc-swatches{gap:4px}
  .sc-swatch{width:12px;height:12px}
  .sc-add{padding:5px 7px;font-size:8.5px}
  .sc-fig{width:24px;height:22px}
  .scaleclose{width:24px;height:24px}
}

/* the catalogue strip: slides in below the room; tap a work to hang/remove it */
.scalestrip{display:none;flex:0 0 auto;gap:8px;overflow-x:auto;overflow-y:hidden;
  padding:10px 2px 2px;-webkit-overflow-scrolling:touch;scrollbar-width:thin;
  overscroll-behavior:contain;touch-action:pan-x}
.scalestage.strip-open .scalestrip{display:flex}
.ss-item{flex:0 0 auto;width:58px;height:58px;padding:0;cursor:pointer;overflow:hidden;
  border:1px solid rgba(128,128,128,.4);background:none;opacity:.55;
  transition:opacity .15s,outline-color .15s;outline:2px solid transparent;outline-offset:-2px}
.ss-item img{width:100%;height:100%;object-fit:cover;display:block}
.ss-item:hover{opacity:.85}
.ss-item.on{opacity:1;outline-color:var(--on-light)}
/* plan-a-wall: several works, so the single-painting chrome steps aside */
.scalestage.multi .scalestep{display:none}
body.wall-multi .side{display:none}

/* the room area fills the rest of the stage; the room+floor centre in it */
.scaleroomwrap{position:relative;flex:1 1 auto;min-height:0;
  display:flex;align-items:center;justify-content:center}
.scalestep{position:absolute;top:50%;transform:translateY(-50%);z-index:6;
  width:44px;height:60px;display:grid;place-items:center;
  border:0;background:none;padding:0;cursor:pointer;
  color:var(--on-light-mute);opacity:.5;transition:opacity .18s,color .18s}
.scalestep svg{stroke:currentColor;stroke-width:1.4;fill:none;
  stroke-linecap:round;stroke-linejoin:round;display:block}
.scalestep:hover,.scalestep:active{opacity:1;color:var(--on-light)}
.scale-prev{left:-4px}
.scale-next{right:-4px}

/* the wall + floor, stacked; both sized in px by relayoutScale */
.scaleframe{display:flex;flex-direction:column;flex:0 0 auto;max-width:100%;
  transform-origin:50% 50%;will-change:transform}
/* the magnified wall stays inside its frame — never over the toolbar */
.scaleroomwrap{overflow:hidden}
.scaleroom{position:relative;overflow:visible;flex:0 0 auto;width:100%;--wallcol:#EDEBE6;
  --figcol:#16171A;
  background:
    /* daylight from above and a little to the left, the way a room reads */
    radial-gradient(155% 105% at 34% -22%, rgba(255,255,255,.50), transparent 64%),
    /* the wall falls off gently toward the floor, then catches the floor's bounce */
    linear-gradient(to bottom,
      color-mix(in srgb, var(--wallcol) 91%, #fff) 0%,
      color-mix(in srgb, var(--wallcol) 97%, #fff) 30%,
      var(--wallcol) 70%,
      color-mix(in srgb, var(--wallcol) 94%, #000) 93%,
      color-mix(in srgb, var(--wallcol) 97%, #000) 100%);
  border:1px solid rgba(0,0,0,.10);border-bottom:0}
/* the tooth of a painted wall */
.scaleroom::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.34;
  background-image:url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'>\
<filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/>\
<feColorMatrix type='saturate' values='0'/></filter>\
<rect width='140' height='140' filter='url(%23n)' opacity='.035'/></svg>")}
/* the near floor: pale boards of a real width, so more show as the wall widens.
   Board rows open out toward the viewer; the butt joints stay quiet. */
/* the near floor: boards are drawn by script at real scale — 6-inch widths,
   72-inch lengths, staggered end joints — so the CSS only holds the frame */
.scalefloor{position:relative;flex:0 0 auto;width:100%;overflow:hidden;
  border:1px solid rgba(0,0,0,.10);border-top:0;
  background-color:#E3DCD0;background-size:100% 100%;background-repeat:no-repeat}

/* baseboard: painted trim at the foot of the wall, crisp and a touch brighter */
.scalebase{position:absolute;left:0;right:0;bottom:0;z-index:1;
  background:linear-gradient(to bottom, #FCFBF9 0%, #F7F5F1 60%, #EFECE6 100%);
  border-top:1px solid rgba(0,0,0,.09);
  box-shadow:0 1px 0 rgba(255,255,255,.9) inset, 0 3px 5px -3px rgba(0,0,0,.30)}
.scalework{position:absolute;transform:translateX(-50%);z-index:2}
/* when a wall is being planned, each work is a handle you can move with a finger:
   touch-action:none gives the gesture to the work instead of the page */
.scalestage .scalework{touch-action:none;cursor:grab}
/* the work under the cursor comes forward, so overlapping hangs stay reachable */
.scalestage.multi .scalework:hover,
.scalestage.multi .scalework:focus-within{z-index:4}
.scalestage .scalework.dragging{cursor:grabbing;z-index:5}
.scalestage .scalework.dragging img{box-shadow:
  0 2px 3px rgba(0,0,0,.28), 0 18px 30px -8px rgba(0,0,0,.34)}
.scalework img{width:100%;height:100%;display:block;object-fit:fill;
  box-shadow:
    0 1px 1px rgba(0,0,0,.30),          /* the edge meeting the wall */
    0 5px 9px -3px rgba(0,0,0,.24),     /* close shadow beneath */
    0 16px 30px -12px rgba(0,0,0,.22)}  /* the soft cast further out */
/* take a work off the wall without starting the hang over */
.wk-x{position:absolute;top:-8px;right:-8px;width:19px;height:19px;border-radius:50%;
  display:grid;place-items:center;padding:0;cursor:pointer;z-index:4;
  border:1px solid rgba(0,0,0,.12);background:#fff;color:#45464C;
  font:500 10px/1 "Schibsted Grotesk",system-ui,sans-serif;
  box-shadow:0 1px 4px rgba(0,0,0,.16);
  opacity:0;transition:opacity .16s}
@media (hover:hover){ .scalework:hover .wk-x, .wk-x:focus-visible{opacity:1} }
/* press a work and its own ✕ appears; the rest of the wall stays uncluttered */
.scalestage.multi .scalework.sel{z-index:4}
.scalestage.multi .scalework.sel .wk-x{opacity:1}
.scalework.dragging .wk-x{opacity:0}
/* the figure: an explicit aspect ratio so Safari sizes it on first paint */
/* the aspect ratio is set in script, since each scale reference has its own */
.scalefig{position:absolute;bottom:0;transform:translateX(-50%);z-index:2;aspect-ratio:12.6/69;
  touch-action:none;cursor:grab}
.scalefig.dragging{cursor:grabbing}
/* the drawings use currentColor so limbs and furniture share one flat tone */
.scalefig svg{width:100%;height:100%;display:block;color:var(--figcol,#16171A);opacity:.94}
.scalefig img{width:100%;height:100%;display:block;-webkit-user-drag:none;user-select:none}




/* =========================================================
   August 2026 refinements
   — era tabs carry their years
   — landing: wall-label name, no spotlight (variant B)
   — light-wall fixes: captions and ledes readable
   — homepage band shows work without price/cart
   — body text one step brighter
   ========================================================= */
.tabyears{margin-left:8px;color:inherit;opacity:.55;letter-spacing:.06em;text-transform:none}
.opening::before{display:none}
h1.wordmark{font-family:var(--mono);font-size:13px;font-weight:400;letter-spacing:.26em;
  text-transform:uppercase;color:var(--on-dark);margin-top:26px}
h1.wordmark span{display:inline}
h1.wordmark span+span{margin-left:.6em}
.opening{padding-top:clamp(40px,8vh,96px)}
.light .tile-title{color:var(--on-light)}
.light .lede{color:#5D5F64}
.light.tone-dark .lede{color:#A9ACB3}
.bandwork .tile-price,.bandwork .tileadd{display:none}
.bandprose p,.prose p{color:#A9ACB3}
.light .prose p{color:#5D5F64}
/* light-wall: no cream text on the daylight wall */
.light .scaletoggle{color:var(--on-light)}
.light .label-no{color:var(--on-light)}

/* tabs never wrap; tighter year spacing */
.filters a{white-space:nowrap}
.tabyears{margin-left:6px}
@media(max-width:859px){
  .filters a{padding:6px 10px;font-size:10px}
  .tabyears{margin-left:4px}
  .filters{gap:8px}
  .viewtoggle button{padding:6px 9px}
  .viewtoggle button svg{width:11px;height:11px}
}

/* the landing, like the phone: one column as wide as the featured painting.
   Images and the name centre in it; the era tabs, captions and every text
   band range left on the painting's edge. */
:root{--home-col:min(58svh, calc(100vw - 2*var(--pad)), 720px)}
.landing-link{max-height:none}
.landing-fig{width:var(--home-col);max-width:100%;max-height:none;height:auto}
.landing-ghost{width:var(--home-col)}
.landing-hold{margin-inline:auto}
.landing-stage{place-items:center}
.filterbar.eratop{width:var(--home-col);max-width:100%;margin-inline:auto;
  justify-content:flex-start;padding-left:0;padding-right:0}
.filterbar.eratop .filters{padding:0;margin:0}
.homeband .homeinner{max-width:var(--home-col);margin-inline:auto;
  padding-left:0;padding-right:0}

/* the gallery bar keeps the dark band on every wall, like the nav */
.light .filterbar.erabar,.light .filterbar.availbar{
  background:color-mix(in srgb, var(--page) 82%, transparent)}
.light .filterbar.erabar .filters a,.light .filterbar.availbar .filters a{
  border-color:var(--ink-line);color:var(--on-dark-mute)}
.light .filterbar.erabar .filters a:hover,.light .filterbar.availbar .filters a:hover{
  border-color:#4a4d53;color:var(--on-dark)}
.light .filterbar.erabar .filters a[aria-current="true"],
.light .filterbar.availbar .filters a[aria-current="true"]{
  background:var(--on-dark);border-color:var(--on-dark);color:var(--ink)}
.light .filterbar.erabar .viewtoggle,.light .filterbar.availbar .viewtoggle{
  border-color:var(--ink-line)}
.light .filterbar.erabar .viewtoggle button,.light .filterbar.availbar .viewtoggle button{
  color:var(--on-dark-mute)}
.light .filterbar.erabar .viewtoggle button:hover,.light .filterbar.availbar .viewtoggle button:hover{
  color:var(--on-dark)}
.light .filterbar.erabar .viewtoggle button[aria-pressed="true"],
.light .filterbar.availbar .viewtoggle button[aria-pressed="true"]{
  background:var(--on-dark);color:var(--ink)}
.light .filterbar.erabar .tabstrip::after{
  background:linear-gradient(to right,transparent,var(--page))}
/* the acquiring work: painting centred at its natural presence,
   its caption ranged left on the column edge with everything else */
.bandwork{max-width:none;margin-inline:0}
.bandwork .tile-hold{width:100%;max-width:none;margin:0}
.bandwork .tile-fig{width:auto;max-width:min(100%,420px);max-height:52svh;margin-inline:auto}
.bandwork .tile-cap{width:100%;margin-left:0;text-align:left}

/* on the light wall the bar reads solid dark at rest, exactly like 04 and
   Available; the translucency and blur only arrive once you scroll */
.light .filterbar.erabar,.light .filterbar.availbar{background:var(--page)}
body.scrolled .light .filterbar.erabar,
body.scrolled .light .filterbar.availbar{
  background:color-mix(in srgb, var(--page) 82%, transparent)}
.light .filterbar.erabar-static{background:var(--page)}
body.scrolled .light .filterbar.erabar-static{background:var(--page)}

/* the name a step larger; the line beneath the way-in, centred and fading */
h1.wordmark{font-size:clamp(15px,1.8vw,18px);letter-spacing:.3em}
.openinglink{flex-direction:column;align-items:center;gap:12px}
.openinglink::after{width:clamp(120px,22vw,230px);opacity:1;
  background:linear-gradient(to right,transparent,
    color-mix(in srgb, var(--on-dark-mute) 55%, transparent) 30%,
    color-mix(in srgb, var(--on-dark-mute) 55%, transparent) 70%,transparent)}

/* true scale: a quiet outlined control, docked right of the label, clear of the
   number. It names the view you'll switch TO, so it must never look "selected" —
   a resting pill that only lifts on a live hover (never sticky on touch). */
.side{position:relative}
.scaleline{position:absolute;top:2px;right:0;margin:0}
.scaletoggle{border:1px solid var(--wall-line);padding:7px 14px;color:var(--on-light-mute)}
.tone-dark .scaletoggle,.dark .scaletoggle{border-color:var(--ink-line);color:var(--on-dark-mute)}
.light .scaletoggle{border-color:var(--wall-line);color:var(--on-light-mute)}
@media(hover:hover){
  .scaletoggle:hover{border-color:#9c9c98;color:#3a3b3e}
  .tone-dark .scaletoggle:hover,.dark .scaletoggle:hover{border-color:#4a4d53;color:#c4c7cd}
  .light .scaletoggle:hover{border-color:#9c9c98;color:#3a3b3e}
}
@media(max-width:519px){
  .scaletoggle{padding:7px 10px;font-size:10px}
  /* keep the name and links together on one row on a phone */
  .navlinks{gap:14px;font-size:11px}
  .navwrap{column-gap:14px}
}
/* narrow phones (iPhone SE / Display Zoom, ~320–400px): tighten the nav so the
   name and links still share one line at normal text size. Larger text still
   wraps gracefully via flex-wrap on .nav. */
@media(max-width:400px){
  .brand{letter-spacing:.05em}
  .nav .brand{font-size:12px}
  .navlinks{gap:10px;font-size:10px}
  .navwrap{column-gap:10px}
  .nav{column-gap:8px}
}

/* a sheet is a document, not a page of the site: no chrome at all */
body.sheet-view .nav,body.sheet-view .foot,
body.sheet-view .backarrow,body.sheet-view .totop{display:none}
body.sheet-view{padding-top:0}

/* printing a sheet: a clean deck — each work on its own ground, no chrome */
@media print{
  body.sheet-view{background:#fff}
  body.sheet-view .nav,body.sheet-view .foot,body.sheet-view .backarrow,
  body.sheet-view .totop,body.sheet-view .twk-btn,body.sheet-view .twk{display:none !important}
  .sheetitem{break-inside:avoid;page-break-inside:avoid;padding-top:18px}
  .sheetfig img{max-height:8.6in}
  .sheethead{break-after:avoid}
}
@page{margin:0.55in}


/* ---------------- the spectrum ----------------
   the catalogue as one object: every work a column of its own palette */
.spectrumwall{display:flex;gap:3px;height:min(64svh,560px);
  padding:clamp(18px,3.5vh,40px) var(--pad) 8px;align-items:stretch}
.specbar{position:relative;flex:1 1 0;display:flex;flex-direction:column;
  min-width:0;border:1px solid rgba(0,0,0,.14);
  transition:flex-grow .22s ease, box-shadow .22s ease}
.specbar span{display:block;min-height:0}
.specbar .speccap{position:absolute;left:50%;bottom:-24px;transform:translateX(-50%);
  font-family:var(--mono);font-size:10px;letter-spacing:.06em;white-space:nowrap;
  color:var(--on-light-mute);opacity:0;transition:opacity .18s;pointer-events:none;
  background:none;flex:none;min-height:auto}
.tone-dark .specbar .speccap,.dark .specbar .speccap{color:var(--on-dark-mute)}
.specbar:hover,.specbar:focus-visible{flex-grow:2.6;box-shadow:0 6px 18px -8px rgba(0,0,0,.45)}
.specbar:hover .speccap,.specbar:focus-visible .speccap{opacity:1}
.specnote{font-family:var(--mono);font-size:10px;letter-spacing:.08em;color:var(--on-light-mute);
  padding:30px var(--pad) clamp(50px,8vw,90px);text-transform:uppercase}
.tone-dark .specnote,.dark .specnote{color:var(--on-dark-mute)}
@media(max-width:719px){
  .spectrumwall{gap:2px;height:56svh}
  .specbar{border-width:0}
}

/* the spectrum's own heading, and its tab in the gallery bar */
.spectrumhead{font-family:var(--mono);font-size:11px;letter-spacing:.16em;text-transform:uppercase;
  color:var(--on-dark);padding:clamp(14px,2.4vw,22px) var(--pad) 0}
.spectrumhead span{color:var(--on-dark-mute)}
.filters a.tab-spectrum{margin-left:2px}

/* the speaker sits on the film, quiet until you go looking for it */
/* No backdrop-filter here. A live blur sitting on top of a playing film makes
   the browser re-blur the film's own pixels every frame, and the picture and
   the sound stutter for it. A plain translucent disc costs nothing. */
.vidsound{position:absolute;right:10px;bottom:10px;z-index:3;
  width:34px;height:34px;display:grid;place-items:center;padding:0;cursor:pointer;
  border:1px solid rgba(255,255,255,.30);border-radius:50%;
  background:rgba(18,18,20,.62);color:#fff;opacity:.78;
  transition:opacity .18s,background .18s,border-color .18s}
.vidsound svg{stroke:currentColor;stroke-width:1.5;fill:none;
  stroke-linecap:round;stroke-linejoin:round;display:block}
@media (hover:hover){ .vidsound:hover{opacity:1;background:rgba(18,18,20,.72)} }
.vidsound.on{opacity:1;border-color:rgba(255,255,255,.55)}
.vidsound:focus-visible{opacity:1;outline:2px solid #fff;outline-offset:2px}
/* the way through to the rest of the films */
.vidall{float:right;font-family:var(--mono);font-size:10px;letter-spacing:.1em;
  text-transform:uppercase;color:var(--on-light-mute);text-decoration:none;
  border-bottom:1px solid transparent;transition:color .18s,border-color .18s}
.vidall:hover{color:var(--on-light);border-bottom-color:var(--on-light)}

/* A page with a film on it drops its live blurs. The nav and the era bar are
   translucent and blurred, and a blurred layer has to be recomputed every time
   anything beneath it changes — which, with a film running, is every frame.
   The bars go very slightly more opaque instead; the difference is hard to see
   and the film plays smoothly. */
body.has-film .nav,
body.has-film .filterbar.erabar,
body.has-film .filterbar.availbar{
  -webkit-backdrop-filter:none;backdrop-filter:none}
body.has-film .nav{background:color-mix(in srgb, var(--page) 94%, transparent)}
body.has-film .filterbar.erabar,
body.has-film .filterbar.availbar{background:color-mix(in srgb, var(--wall) 94%, transparent)}
