/* lobster club — works. white-cube calm: black on white, two families, air. */

:root {
  --bg: #ffffff;
  --ink: #111111;
  --grey: #8a8a8a;
  --hair: #e2e2e2;
  --accent: #953733; /* rare event, once per view */
  --serif: "Times New Roman", Times, Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
/* text-transform and tracking too: browsers reset both on buttons, which left every button
   in a small-caps row (desk tabs, filters, the room's list/grid) lowercase beside its neighbours */
button { font: inherit; text-transform: inherit; letter-spacing: inherit; background: none; border: none; cursor: pointer; color: inherit; }
::selection { background: #ececec; }

.mono {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.grey { color: var(--grey); }

.wrap { max-width: 1360px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 700px) { .wrap { padding: 0 20px; } }

/* header */
.site-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 44px 0 30px;
}
.site-head .site-nav { position: relative; top: 1px; }
.wordmark { font-family: var(--serif); font-size: 26px; letter-spacing: 0.01em; }
.wordmark:hover { color: var(--ink); }
.wordmark img { height: 22px; width: auto; display: block; }
.wordmark .sub { font-family: var(--sans); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); }
a.wordmark { display: flex; align-items: baseline; gap: 12px; }
.site-nav { display: flex; gap: 28px; }
.site-nav a { color: var(--grey); transition: color .3s; }
.site-nav a:hover, .site-nav a.on, .site-nav a:focus-visible, .nav-inquire:focus-visible { color: var(--ink); }
@media (max-width: 700px) {
  /* phone: the wordmark stands alone as a masthead, the tabs sit as one row with the rule beneath */
  .site-head { flex-direction: column; gap: 26px; padding: 34px 0 18px; }
  .wordmark img { height: 24px; }
  .site-nav { gap: 18px; flex-wrap: wrap; justify-content: center; }
}

.hairline { border: 0; border-top: 1px solid var(--hair); }
/* a page heading for screen readers and search engines where the page shows none of its own */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* search + filters */
/* the rule-to-search gap matches the tabs-to-rule gap above it, so the rule sits evenly between them */
.toolbar { padding: 8px 0 6px; }
.search-line { display: flex; align-items: center; gap: 12px; max-width: 560px; }
.search-line input {
  flex: 1; border: 0; border-bottom: 1px solid var(--hair); background: none;
  font-family: var(--sans); font-size: 13px; letter-spacing: 0.06em;
  padding: 8px 0; color: var(--ink); outline: none; border-radius: 0;
}
.search-line input::placeholder { color: var(--grey); text-transform: uppercase; font-size: 11px; letter-spacing: 0.1em; }
.search-line input:focus { border-bottom-color: var(--ink); }

.filters { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 20px 0 4px; align-items: center; }
.filters input#q {
  border: 0; border-bottom: 1px solid transparent; background: none; outline: none; border-radius: 0;
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.06em; color: var(--ink);
  width: 132px; padding: 4px 0; transition: width .35s, border-color .35s;
}
.filters input#q::placeholder { color: var(--grey); text-transform: uppercase; font-size: 11px; letter-spacing: 0.1em; }
.filters input#q:hover { border-bottom-color: var(--hair); }
.filters input#q:focus { border-bottom-color: var(--ink); width: 220px; }
.filters input#q::-webkit-search-cancel-button { -webkit-appearance: none; }
.filters .lc-sel { max-width: 180px; }
.filters .mob-toggle { display: none; }
@media (max-width: 760px) {
  .toolbar { padding-top: 0; }
  .filters { gap: 16px 24px; }
  /* 16px minimum on every focusable control: below it, iOS Safari zooms the page
     on tap and never zooms back. It also buys a bigger tap target for free. */
  .filters input#q { flex: 1; width: auto; border-bottom: 1px solid var(--hair); font-size: 16px; letter-spacing: 0.04em; }
  .filters input#q:focus { width: auto; }
  .filters input#q::placeholder { font-size: 14px; }
  .filters .lc-sel { display: none; }
  /* the plain dropdowns the server sends, before lc.js swaps them for .lc-sel: folded away too,
     so the wall doesn't jump up when the script lands */
  .filters:not(.open) select { display: none; }
  .filters .mob-toggle { display: inline-block; color: var(--grey); }
  .filters.open .mob-toggle { color: var(--ink); }
  .filters.open .lc-sel {
    display: flex; justify-content: space-between; flex: 0 0 calc(50% - 12px); max-width: none;
    border-bottom: 1px solid var(--hair); padding: 12px 0 10px;
    font-size: 13px; letter-spacing: 0.08em;
  }
  .filters .mob-toggle { font-size: 13px; padding: 6px 0; }
  /* comfortable thumbs without changing how any of it looks */
  .card .save-btn { padding: 10px 0; }
  .nav-inquire, .site-nav a { padding: 6px 0; }
}
.filters .lc-sel.active { color: var(--ink); }
.clear-filters { color: var(--grey); }
.clear-filters:hover { color: var(--accent); }
#pv { margin-left: auto; color: var(--accent); display: inline-flex; gap: 12px; align-items: baseline; }
#pv button { color: var(--grey); font: inherit; letter-spacing: inherit; text-transform: inherit; }
#pv button:hover { color: var(--ink); }

.count-line { padding: 10px 0 26px; color: var(--grey); }
/* the wall narrowed to one artist (their name tapped in an open work): whose works, and their page */
.artist-line { display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: baseline; padding: 34px 0 0; }
.artist-line[hidden] { display: none; }
.artist-line a { color: var(--grey); text-decoration: none; }
.artist-line a:hover { color: var(--ink); }
.artist-line:not([hidden]) ~ .grid { padding-top: 48px; }
@media (max-width: 700px) {
  .artist-line { padding-top: 22px; }
  .artist-line a { padding: 6px 0; }
  .artist-line:not([hidden]) ~ .grid { padding-top: 28px; }
}

/* works grid — the filter row needs real air beneath it before the wall starts */
.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 72px 56px; padding: 56px 0 96px;
}
/* a filtered wall is drawn by the page's script: until then, keep the footer below the fold
   so it doesn't jump down when the works arrive */
.grid:empty { min-height: 100vh; }
/* mobile default: one work per row — the blue-chip mobile pattern.
   ?v=grid brings back the 2-up comparison view. */
@media (max-width: 700px) {
  .grid { grid-template-columns: 1fr; gap: 52px; padding-top: 24px; }
  .grid .card .im { aspect-ratio: auto; }
  .grid .card .im img { max-height: 72vh; width: auto; max-width: 100%; }
  /* a picture whose size we know (views.js) gets that width now rather than when it loads, so
     the wall doesn't jump as you scroll: the same width it settles at, never wider than the
     tile, the column or what fits in 72vh */
  .grid:not(.twoup) .card .im img[style] { width: min(100%, var(--w), calc(72vh * var(--ar))); }
  .grid .card figcaption { padding-top: 16px; }
  .grid.twoup { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 44px 24px; }
  .grid.twoup .card .im { aspect-ratio: 1 / 1; }
  .grid.twoup .card .im img { max-height: 100%; }
  .grid.twoup .card figcaption { padding-top: 14px; }
}
.card { cursor: pointer; }
.card .im { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.card .im img { max-height: 100%; max-width: 100%; width: auto; height: auto; }
.card figcaption { padding-top: 14px; }
/* E1 caption grammar: ARTIST caps, title lowercase */
.card .a { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }
.card .t { font-size: 14px; font-style: italic; color: var(--grey); }
.card .t .yr { font-style: normal; }
.card .p { font-family: var(--sans); font-size: 11px; letter-spacing: 0.06em; color: var(--ink); padding-top: 4px; }
.card .sold { color: var(--grey); }
.card img { opacity: 0; transition: opacity .6s; }
.card img.ld { opacity: 1; }
/* the first pictures (fetchpriority, views.js) show as they arrive: waiting for the fade held
   the page's main picture back by seconds on a phone */
.card img[fetchpriority] { opacity: 1; transition: none; }

/* work overlay */
.overlay {
  position: fixed; inset: 0; background: var(--bg); z-index: 50; display: none;
  overflow-y: auto;
}
.overlay.open { display: block; }
.ov-inner { display: flex; min-height: 100vh; gap: 64px; padding: 72px 64px; align-items: center; }
.ov-img { flex: 1.4; display: flex; align-items: center; justify-content: center; min-width: 0; }
.ov-img img { max-height: 82vh; max-width: 100%; width: auto; height: auto; }
.ov-cap { flex: 1; max-width: 380px; }
.ov-cap .a { font-size: 21px; line-height: 1.3; text-transform: uppercase; letter-spacing: 0.04em; }
.ov-cap .t { font-size: 19px; font-style: italic; margin-top: 2px; }
/* the name in an open work leads to all of that artist's works: a hairline underline says so, ink on hover */
.ov-cap .a a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--hair); text-underline-offset: 5px; transition: text-decoration-color .2s; }
.ov-cap .a a:hover, .ov-cap .a a:focus-visible { text-decoration-color: currentColor; outline: none; }
.ov-cap .t .yr, .inq-item .t .yr, .room-work .cap .t .yr { font-style: normal; }
.ov-cap .meta { margin-top: 18px; color: var(--grey); font-size: 14px; line-height: 1.7; }
.ov-cap .price { margin-top: 18px; font-family: var(--sans); font-size: 12px; letter-spacing: 0.08em; }
.ov-cap .status-sold { margin-top: 18px; }
.ov-cap .inq { display: inline-block; margin-top: 28px; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.ov-cap .inq:hover { color: var(--accent); border-color: var(--accent); }
.ov-close { position: fixed; top: 28px; right: 40px; font-size: 14px; z-index: 51; }
.ov-nav { position: fixed; bottom: 28px; right: 40px; display: flex; gap: 24px; z-index: 51; }
.ov-nav button:hover { color: var(--accent); }
@media (max-width: 900px) {
  .ov-inner { flex-direction: column; padding: 72px 24px 96px; gap: 32px; align-items: flex-start; }
  .ov-img img { max-height: 60vh; }
}

/* shortlist + inquiry */
.card .save-btn { display: block; padding-top: 6px; color: var(--grey); opacity: 0; transition: opacity .3s, color .3s; }
.card:hover .save-btn { opacity: 1; }
.card .save-btn.saved { opacity: 1; color: var(--ink); }
.card .save-btn:hover { color: var(--accent); }
@media (hover: none) { .card .save-btn { opacity: 1; } }
.nav-inquire { color: var(--grey); font-family: var(--sans); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; transition: color .3s; }
.nav-inquire:hover { color: var(--ink); }

.inq-scrim { position: fixed; inset: 0; background: rgba(0,0,0,.12); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .35s; }
.inq-scrim.open { opacity: 1; pointer-events: auto; }
.inq-panel {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100vw);
  background: var(--bg); border-left: 1px solid var(--hair); z-index: 61;
  transform: translateX(100%); transition: transform .4s cubic-bezier(.22,1,.36,1);
  overflow-y: auto; padding: 64px 36px 48px;
}
.inq-panel.open { transform: translateX(0); }
@media (max-width: 480px) {
  .inq-panel { padding: 56px 22px 40px; }
  .inq-actions { flex-direction: column-reverse; }
  .inq-actions button { flex: none; width: 100%; }
}
.inq-close { position: absolute; top: 24px; right: 28px; color: var(--grey); }
.inq-close:hover { color: var(--ink); }
.inq-title { font-weight: normal; font-size: 30px; padding-bottom: 20px; }
.inq-item { display: flex; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--hair); }
.inq-item img { width: 44px; height: 44px; object-fit: contain; }
.inq-item .nm { flex: 1; min-width: 0; font-size: 15px; }
.inq-item .nm .t { font-style: italic; color: var(--grey); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inq-item .rm { color: var(--grey); }
.inq-item .rm:hover { color: var(--accent); }
.inq-form { padding-top: 26px; display: grid; gap: 20px; }
.inq-field label { display: block; color: var(--grey); padding-bottom: 6px; }
.inq-field input, .inq-field select, .inq-field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--hair); background: none;
  font-family: var(--serif); font-size: 16px; padding: 6px 0; outline: none; border-radius: 0; color: var(--ink);
}
.inq-field input:focus, .inq-field textarea:focus { border-bottom-color: var(--ink); }
.inq-field textarea { resize: vertical; }
.inq-actions { display: flex; gap: 10px; margin-top: 6px; }
.inq-actions button { flex: 1; padding: 12px 16px; transition: all .3s; }
.inq-more { border: 1px solid var(--hair); color: var(--grey); }
.inq-more:hover { border-color: var(--ink); color: var(--ink); }
.inq-send { border: 1px solid var(--ink); padding: 12px 24px; transition: all .3s; }
.inq-send:hover { background: var(--ink); color: var(--bg); }
.inq-track { display: flex; gap: 20px; padding-bottom: 4px; }
.inq-track .trk { color: var(--grey); padding-bottom: 4px; }
.inq-track .trk.on { color: var(--ink); border-bottom: 1px solid var(--ink); }
.inq-tools { padding: 14px 0 4px; color: var(--grey); }
.inq-tools a { color: var(--grey); }
.inq-tools a:hover { color: var(--ink); }
.ps-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ps-chips button { border: 1px solid var(--hair); padding: 8px 16px; color: var(--grey); transition: all .3s; }
.ps-chips button:hover { border-color: var(--ink); color: var(--ink); }

/* price access: quiet enough to ignore, plain enough to find */
/* faint enough to recede past a casual visitor, dark enough to actually see */
.price-access button { color: #bdbab3; transition: color .3s; font: inherit; }
.price-access button:hover { color: var(--ink); }
.price-access .pa-exit { color: var(--grey); }
.price-access .pa-form { display: inline-flex; gap: 8px; align-items: baseline; }
.price-access .pa-input {
  border: 0; border-bottom: 1px solid var(--hair); background: none; outline: none; border-radius: 0;
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink); width: 130px; padding: 2px 0;
}
.price-access .pa-input:focus { border-bottom-color: var(--ink); }
.price-access .pa-go { color: var(--grey); }
.price-access .pa-msg { padding-left: 10px; }

/* footer */
.site-foot { padding: 40px 0 48px; color: var(--grey); font-size: 8.25px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; }
/* the second row, on every public page: about, the list, where to follow, the small print */
.site-foot .more { display: flex; flex-wrap: wrap; gap: 8px 32px; padding-top: 14px; }
.site-foot a { transition: color .2s; }
.site-foot a:hover { color: var(--ink); }
@media (max-width: 700px) {
  .site-foot { font-size: 10px; padding: 32px 0 40px; }
  .site-foot .wrap { flex-direction: column; gap: 10px; }
  .site-foot .more { gap: 10px 22px; padding-top: 22px; }
  .room-actions { font-size: 11px; }
}
/* thumb-sized hit areas on touch screens without moving anything: an invisible pad around small links */
@media (pointer: coarse) {
  .room-view button, .room-work .cap .inq, .room-actions a, .site-foot a, .nf nav a, .clear-filters { position: relative; }
  .room-view button::after, .room-work .cap .inq::after, .room-actions a::after, .site-foot a::after, .nf nav a::after, .clear-filters::after {
    content: ""; position: absolute; inset: -12px -8px;
  }
}

/* artists page */
.artist-list { padding: 40px 0 96px; column-count: 2; column-gap: 80px; }
@media (max-width: 800px) { .artist-list { column-count: 1; } }
.artist-row { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; break-inside: avoid; }
.artist-row a { font-size: 26px; line-height: 1.3; }
.artist-row a:hover { font-style: italic; }
.artist-row .n { color: var(--grey); }

/* viewing room */
.room-head { padding: 48px 0 0; max-width: 720px; }
.room-head .eyebrow { color: var(--grey); }
.room-head h1 { font-size: 24px; font-weight: normal; line-height: 1.3; margin: 0; }
.room-head .intro { font-size: 16px; line-height: 1.65; margin-top: 14px; color: #444; }
/* a plain room with no intro: the list / grid switch sits on the title's line instead of a row of its own */
.room-head:not(.stack):not(:has(.intro)) + #room-body > .room-view { margin-top: -50px; }
.room-head:not(.stack) h1 { padding-right: 120px; }
@media (max-width: 700px) {
  .room-head { padding-top: 32px; }
  .room-head h1 { font-size: 21px; }
  .room-head:not(.stack):not(:has(.intro)) + #room-body > .room-view { margin-top: -41px; }
}
/* the stack: artist / title / dates / venue, centered, one size, italic title only */
.room-head.stack { max-width: none; text-align: center; padding: 88px 0 4px; font-size: 15px; line-height: 1.45; }
.room-head.stack + .room-works .room-work:first-child { padding-top: 28px; }
.room-head.stack .artist { font-size: 15px; }
.room-head.stack h1.sub { font-size: 15px; font-style: italic; margin: 0; line-height: 1.45; }
.room-head.stack .line { font-variant-numeric: tabular-nums lining-nums; }
.room-head.stack .venue { margin-top: 1.45em; }
.room-head.stack .intro { max-width: 560px; margin: 40px auto 0; font-size: 17px; color: #444; }
.room-view { display: flex; justify-content: flex-end; gap: 22px; padding: 28px 0 0; font-size: 11px; letter-spacing: .12em; position: relative; }
.room-view button { color: var(--grey); padding-bottom: 3px; border-bottom: 1px solid transparent; text-transform: uppercase; }
.room-view button.on { color: var(--ink); border-color: var(--ink); }
.room-view button:hover { color: var(--ink); }
.room-work .im img { cursor: zoom-in; }
.room-works { padding-bottom: 64px; }
/* grid view: three across, caption under each, the image opens full bleed */
.room-works.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 32px; padding-top: 32px; }
.room-works.grid .room-work { padding: 0; }
.room-works.grid .im { aspect-ratio: 4 / 5; align-items: center; }
.room-works.grid .im img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.room-works.grid .cap { margin-top: 16px; max-width: none; }
.room-works.grid .cap .a { font-size: 15px; }
.room-works.grid .cap .t { font-size: 15px; }
.room-works.grid .cap .m { display: none; }
.room-works.grid .cap .price { margin-top: 8px; }
.room-works.grid .cap .inq { margin-top: 8px; font-size: 13px; }
@media (max-width: 640px) {
  .room-works.grid { grid-template-columns: repeat(2, 1fr); gap: 40px 18px; }
  .room-view { padding-top: 20px; }
}
/* full-bleed room overlay */
.room-ov .ov-inner { flex-direction: column; justify-content: center; align-items: center; gap: 22px; padding: 64px 24px 88px; }
.room-ov .ov-img { flex: none; width: 100%; }
.room-ov .ov-img img { max-height: 78vh; max-width: min(100%, 1400px); }
.room-ov .ov-cap { max-width: 560px; text-align: center; }
.room-ov .ov-cap .a { text-transform: none; letter-spacing: 0; font-size: 17px; }
.room-ov .ov-cap .t { font-size: 17px; color: var(--grey); }
.room-ov .ov-cap .meta { margin-top: 8px; font-size: 13px; }
.room-ov .ov-cap .price { margin-top: 12px; }
.room-ov .ov-cap .inq { margin-top: 14px; font-size: 14px; border-bottom-color: var(--hair); }
.room-ov .ov-nav { align-items: baseline; }
.room-ov .ov-nav span { font-size: 11px; letter-spacing: .1em; }
@media (max-width: 640px) { .room-ov .ov-img img { max-height: 62vh; } .room-ov .ov-inner { padding: 56px 16px 96px; } }
.room-work { padding: 56px 0; }
.room-work .im { display: flex; justify-content: center; }
.room-work .im img { max-height: 84vh; width: auto; max-width: 100%; }
.room-work .cap { max-width: 520px; margin: 22px auto 0; text-align: center; }
.room-work .cap .a { font-size: 17px; }
.room-work .cap .t { font-style: italic; color: var(--grey); }
.room-work .cap .m { font-size: 13px; color: var(--grey); margin-top: 6px; line-height: 1.6; }
.room-work .cap .price { font-family: var(--sans); font-size: 11px; letter-spacing: 0.08em; margin-top: 10px; }
.room-work .cap .inq { display: inline-block; margin-top: 12px; font-size: 14px; border-bottom: 1px solid var(--hair); }
.room-work .cap .inq:hover { color: var(--accent); border-color: var(--accent); }
.room-actions { text-align: center; padding: 24px 0 80px; font-size: 8.25px; }
.room-actions a { border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.room-actions a:hover { color: var(--accent); border-color: var(--accent); }

/* generic */
.note { color: var(--grey); font-size: 14px; }
.center { text-align: center; }

/* room statement: the press text, below the works */
.room-statement { max-width: 600px; margin: 88px auto 0; font-size: 18px; line-height: 1.65; color: #222; }
.room-statement p { margin: 0 0 1.15em; }
.room-statement p:last-child { font-style: italic; }
@media (max-width: 640px) { .room-statement { margin-top: 56px; font-size: 17px; } }

/* the red dot: a sold work, everywhere a caption appears */
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #c8102e; margin-left: 9px; vertical-align: middle; position: relative; top: -1px; }
/* reserved: a half yellow dot (Maja, Oct 15) — still shown, still open to inquiries */
.dot.res { background: linear-gradient(90deg, #e0a800 50%, transparent 50%); box-shadow: inset 0 0 0 1px #e0a800; }
/* hovering the half dot says what it means; ::before widens the 8px target */
.dot.res::before { content: ""; position: absolute; inset: -8px; }
.dot.res::after { content: "on reserve"; position: absolute; left: 50%; bottom: calc(100% + 9px); transform: translateX(-50%);
  white-space: nowrap; font-family: var(--sans); font-size: 10px; font-style: normal; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); background: #fff; border: 1px solid var(--hair); padding: 5px 9px; line-height: 1; opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 5; }
.dot.res:hover::after { opacity: 1; }

/* type-ahead over the artist roster (LC.nameSuggest) */
.suggest { position: absolute; left: 0; right: 0; top: 100%; z-index: 20; background: var(--bg); border: 1px solid var(--ink); border-top: 0; display: none; }
.suggest.on { display: block; }
.suggest button { display: flex; width: 100%; justify-content: space-between; gap: 16px; align-items: baseline; text-align: left; padding: 8px 12px; font-family: var(--serif); font-size: 16px; }
.suggest button .nt { font-family: var(--sans); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); white-space: nowrap; }
.suggest button.at, .suggest button:hover { background: #f4f4f4; }

/* registers + work grids, shared by exhibitions and artist pages */
/* index: a numbered register, one line per show; the cover floats in the empty left half on hover */
.ex-list { position: relative; padding: 40px 0 120px; }
.ex-row {
  display: grid; grid-template-columns: 1fr 1fr; align-items: baseline;
  padding: 7px 0 6px; border-bottom: 1px solid var(--hair);
  font-size: 15px; line-height: 1.4; transition: color .2s;
}
.ex-row .n { color: var(--grey); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.ex-row .r { display: grid; grid-template-columns: 1fr auto; gap: 24px; min-width: 0; }
.ex-row .ttl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ex-row .who { color: var(--grey); margin-left: 10px; }
.ex-row .when { color: var(--grey); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.ex-head { border-bottom: 1px solid var(--ink); padding-bottom: 8px; }
.ex-head .r span { color: var(--ink); }
@media (hover: hover) {
  .ex-list.hov a.ex-row { color: #c4c4c4; }
  .ex-list.hov a.ex-row .who, .ex-list.hov a.ex-row .when, .ex-list.hov a.ex-row .n { color: #c4c4c4; }
  .ex-list.hov a.ex-row.on, .ex-list.hov a.ex-row.on .who, .ex-list.hov a.ex-row.on .when, .ex-list.hov a.ex-row.on .n { color: var(--ink); }
}
.ex-pv {
  position: absolute; left: 12%; width: 26%; max-width: 300px; pointer-events: none;
  opacity: 0; transition: opacity .18s;
}
.ex-pv.show { opacity: 1; }
.ex-pv img { max-height: 300px; width: auto; max-width: 100%; }
@media (hover: none), (max-width: 860px) { .ex-pv { display: none; } }
@media (max-width: 860px) {
  .ex-row { grid-template-columns: 44px 1fr; font-size: 15px; padding: 10px 0 9px; }
  .ex-row .r { grid-template-columns: 1fr; gap: 0; }
  .ex-row .ttl { white-space: normal; }
  .ex-row .who { display: block; margin-left: 0; }
  .ex-row .when { text-align: left; font-size: 13px; }
  .ex-head .when { display: none; }
}
.ex-press { max-width: 600px; margin: 72px auto 0; font-size: 18px; line-height: 1.65; color: #222; }
.ex-press p { margin: 0 0 1.15em; }
/* a section's label ("available works", "exhibitions"): an h2 for search engines and screen readers */
.ex-label { text-align: center; color: var(--grey); padding: 88px 0 0; font-weight: normal; }
.ex-works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 32px; padding: 40px 0 24px; }
.ex-work .im { aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; }
.ex-work .im img { max-height: 100%; max-width: 100%; width: auto; height: auto; opacity: 0; transition: opacity .6s; }
.ex-work .im img.ld { opacity: 1; }
.ex-work figcaption { padding-top: 14px; }
.ex-work .a { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }
.ex-work .t { font-size: 14px; font-style: italic; color: var(--grey); }
.ex-work .t .y { font-style: normal; }
a.ex-work:hover .t { color: var(--ink); }
@media (max-width: 640px) {
.ex-works { grid-template-columns: repeat(2, 1fr); gap: 40px 18px; }
.ex-press { margin-top: 48px; font-size: 17px; }
.ex-label { padding-top: 64px; }
}
.ex-work .dot { margin-left: 6px; }

/* extra photos: thumbnail strip under the big image */
.ov-img { flex-direction: column; gap: 14px; }
.ov-img.multi img#ov-im { max-height: 70vh; }
.ov-thumbs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.ov-thumbs:empty { display: none; }
.ov-thumbs button { padding: 0; line-height: 0; }
.ov-thumbs img { width: 52px; height: 52px; object-fit: cover; opacity: .5; transition: opacity .2s; }
.ov-thumbs button.on img, .ov-thumbs button:hover img { opacity: 1; }
.ov-thumbs button.on img { outline: 1px solid var(--ink); outline-offset: 2px; }
.room-ov .ov-img.multi img#ov-im { max-height: 68vh; }
@media (max-width: 640px) { .ov-img.multi img#ov-im, .room-ov .ov-img.multi img#ov-im { max-height: 54vh; } .ov-thumbs img { width: 44px; height: 44px; } }

/* ---- controls: the dropdown (lc.js), dialogs, checkboxes, focus ---- */
.lc-native {
  position: absolute !important; width: 1px !important; height: 1px !important;
  opacity: 0 !important; pointer-events: none !important; overflow: hidden; clip-path: inset(50%);
}
.lc-sel {
  display: inline-flex; align-items: center; gap: 9px; max-width: 100%;
  text-align: left; white-space: nowrap; cursor: pointer; transition: color .2s, border-color .2s;
}
.lc-sel-v { overflow: hidden; text-overflow: ellipsis; }
.lc-sel-c { flex: none; color: var(--grey); transition: transform .2s ease; position: relative; top: -1px; }
.lc-sel[aria-expanded="true"] .lc-sel-c { transform: rotate(180deg); }
.lc-sel:disabled { opacity: .4; cursor: default; }
.lc-sel--mono {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--grey); padding: 4px 0;
}
.lc-sel--mono:hover, .lc-sel--mono[aria-expanded="true"], .lc-sel--mono.active { color: var(--ink); }
.lc-sel--field {
  display: flex; width: 100%; justify-content: space-between;
  font-family: var(--serif); font-size: 16px; line-height: normal; color: var(--ink);
  padding: 6px 0; border-bottom: 1px solid var(--hair);
}
.lc-sel--field:hover, .lc-sel--field[aria-expanded="true"] { border-bottom-color: var(--ink); }
.lc-sel--field .lc-sel-c { color: var(--ink); }

.lc-menu {
  position: fixed; z-index: 1000; background: var(--bg);
  border: 1px solid var(--hair); box-shadow: 0 18px 44px -16px rgba(0, 0, 0, .16);
  padding: 0; max-width: min(340px, calc(100vw - 16px)); overflow: hidden;
  opacity: 0; transform: translateY(-3px); transition: opacity .14s ease, transform .14s ease;
}
.lc-menu.in { opacity: 1; transform: none; }
.lc-menu-list { max-height: 320px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--hair) transparent; }
.lc-opt {
  position: relative; padding: 11px 24px 11px 32px; cursor: pointer;
  color: var(--grey); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lc-menu--mono .lc-opt { font-family: var(--sans); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.lc-menu--field .lc-opt { font-family: var(--serif); font-size: 16px; padding-left: 26px; }
.lc-opt.at { color: var(--ink); background: #f5f5f5; }
.lc-opt.on { color: var(--ink); }
.lc-opt.on::before {
  content: ""; position: absolute; left: 15px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px;
  border-radius: 50%; background: var(--ink);
}
.lc-menu--field .lc-opt.on::before { left: 11px; }
.lc-opt.off { opacity: .35; cursor: default; }
.lc-opt[hidden] { display: none; }
.lc-opt--all { border-bottom: 1px solid var(--hair); }
.lc-menu-find {
  display: block; width: calc(100% - 52px); margin: 6px 22px 8px 30px; padding: 6px 0;
  border: 0; border-bottom: 1px solid var(--hair); border-radius: 0; background: none; outline: none;
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.06em; color: var(--ink);
}
.lc-menu-find:focus { border-bottom-color: var(--ink); }
.lc-menu-find::placeholder { color: var(--grey); text-transform: uppercase; font-size: 10px; letter-spacing: 0.1em; }
.lc-menu-none { padding: 8px 22px 10px 30px; color: var(--grey); font-style: italic; font-size: 14px; }
/* phones: the same list as a sheet from the bottom, thumb-sized rows */
.lc-menu--sheet {
  left: 0; right: 0; bottom: 0; top: auto; max-width: none;
  border: 0; border-top: 1px solid var(--hair); box-shadow: 0 -16px 40px -20px rgba(0, 0, 0, .18);
  padding: 0 0 calc(10px + env(safe-area-inset-bottom));
  opacity: 1; transform: translateY(100%); transition: transform .28s cubic-bezier(.2, .8, .2, 1);
}
.lc-menu--sheet.in { transform: none; }
.lc-menu--sheet .lc-menu-list { max-height: 62vh; }
.lc-menu--sheet .lc-opt { padding: 14px 24px 14px 40px; }
.lc-menu--sheet.lc-menu--mono .lc-opt { font-size: 13px; }
.lc-menu--sheet.lc-menu--field .lc-opt { font-size: 18px; }
.lc-menu--sheet .lc-opt.on::before { left: 22px; }
.lc-menu--sheet .lc-menu-find { font-size: 16px; margin: 10px 24px 6px 40px; width: calc(100% - 64px); }
.lc-menu-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 16px 24px 14px; color: var(--grey); border-bottom: 1px solid var(--hair); margin-bottom: 6px;
}
.lc-menu-x { color: var(--grey); padding: 4px 0 4px 16px; }
.lc-scrim { position: fixed; inset: 0; z-index: 999; background: rgba(0, 0, 0, .12); opacity: 0; transition: opacity .25s; }
.lc-scrim.in { opacity: 1; }
html.lc-lock, html.lc-lock body { overflow: hidden; }

/* dialogs */
.lc-dlg-back {
  position: fixed; inset: 0; z-index: 1100; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .16s ease;
}
.lc-dlg-back.in { opacity: 1; }
.lc-dlg {
  width: 100%; max-width: 440px; background: var(--bg); border: 1px solid var(--hair);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .22); padding: 30px 32px 24px;
  transform: translateY(6px); transition: transform .2s ease;
}
.lc-dlg-back.in .lc-dlg { transform: none; }
.lc-dlg-t { font-size: 19px; line-height: 1.4; }
.lc-dlg-s { color: var(--grey); font-size: 15px; line-height: 1.5; padding-top: 10px; }
.lc-dlg-a { display: flex; justify-content: flex-end; align-items: center; gap: 24px; padding-top: 26px; }
.lc-dlg-no { color: var(--grey); padding: 10px 0; }
.lc-dlg-no:hover { color: var(--ink); }
.lc-dlg-ok { border: 1px solid var(--ink); padding: 10px 22px; transition: background .2s, color .2s; }
.lc-dlg-ok:hover { background: var(--ink); color: var(--bg); }
.lc-dlg-ok.danger { border-color: var(--accent); color: var(--accent); }
.lc-dlg-ok.danger:hover { background: var(--accent); color: var(--bg); }

/* checkboxes: a hairline square, filled ink when on */
input[type="checkbox"] {
  -webkit-appearance: none; appearance: none; flex: none;
  width: 14px; height: 14px; margin: 0; border: 1px solid var(--grey); border-radius: 0;
  background: var(--bg) center / 10px no-repeat; cursor: pointer; position: relative; top: 1px;
  transition: background-color .15s, border-color .15s;
}
input[type="checkbox"]:hover { border-color: var(--ink); }
input[type="checkbox"]:checked {
  background-color: var(--ink); border-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.8 5.2l2.2 2.2 4.2-4.6' fill='none' stroke='white' stroke-width='1.4'/%3E%3C/svg%3E");
}

/* search fields: no browser clear-x or rounded iOS chrome */
input[type="search"] { -webkit-appearance: none; appearance: none; border-radius: 0; }
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; display: none; }

/* focus: a hairline ring for keyboards only; text fields already show it with their rule */
:focus { outline: none; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
input:focus-visible, textarea:focus-visible { outline: none; }
/* filter dropdowns: no box after choosing from the menu; the label already turns ink when set */
.lc-sel:focus-visible { outline: none; text-decoration: underline; text-underline-offset: 4px; }
input[type="checkbox"]:focus-visible { outline: 1px solid var(--ink); outline-offset: 2px; }
button:disabled { cursor: default; }

/* gone: a closed viewing room or a missing page. headline left, a numbered ruled list of where to go next right */
.gone { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; padding: 120px 0 140px; min-height: calc(100vh - 240px); }
.gone-text { grid-column: 1 / span 6; }
.gone-text h1 { font-weight: normal; font-size: 54px; line-height: 1.05; letter-spacing: -0.01em; }
.gone-dym { margin-top: 22px; font-size: 18px; color: var(--grey); }
.gone-dym a { color: var(--ink); border-bottom: 1px solid var(--hair); }
.gone-dym a:hover { font-style: italic; border-bottom-color: var(--ink); }
.gone-list { grid-column: 8 / span 5; border-bottom: 1px solid var(--hair); }
.gone-list a { display: flex; align-items: baseline; gap: 24px; padding: 18px 0; border-top: 1px solid var(--hair); }
.gone-list a:first-child { border-top-color: var(--ink); }
.gone-list .n { color: var(--grey); width: 22px; flex: none; text-transform: none; }
.gone-list .t { font-size: 22px; flex: 1; }
.gone-list .c { color: var(--grey); }
.gone-list .arr { font-size: 20px; color: var(--grey); transition: transform .2s; }
.gone-list a:first-child .arr { color: var(--ink); }
.gone-list a:hover .t { font-style: italic; }
.gone-list a:hover .arr { color: var(--ink); transform: translateX(3px); }
@media (max-width: 900px) {
  .gone { display: block; padding: 64px 0 72px; min-height: 0; }
  .gone-text h1 { font-size: 38px; line-height: 1.08; }
  .gone-list { margin-top: 36px; }
  .gone-list a { gap: 16px; padding: 15px 0; }
  .gone-list .n { width: 20px; }
  .gone-list .t { font-size: 20px; }
  .gone-list .arr { font-size: 18px; }
}

/* not found */
.nf { max-width: 620px; padding: 96px 0 120px; }
.nf h1 { font-weight: normal; font-size: 30px; line-height: 1.25; }
.nf p { color: var(--grey); padding-top: 14px; font-size: 16px; line-height: 1.6; }
.nf nav { display: flex; flex-wrap: wrap; gap: 14px 28px; padding-top: 34px; }
.nf nav a { color: var(--grey); transition: color .2s; }
.nf nav a:first-child, .nf nav a:hover { color: var(--ink); }

/* returning to an inquiry: a quiet note at the foot of the page */
.inq-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--bg); border: 1px solid var(--ink); padding: 12px 16px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  max-width: calc(100vw - 32px); z-index: 60; transition: opacity .3s, transform .3s; line-height: 1.6; }
.inq-toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.inq-toast button { border-bottom: 1px solid var(--ink); margin-left: 8px; }
/* picks not sent yet: a small floating pill near the bottom, out of the way while the page moves:
   it fades out during a scroll and back in once the page settles. works.html places it from the
   visual viewport, so it sits just above whatever the browser's own bar is doing */
.inq-strip { position: fixed; left: 50%; bottom: calc(15px + env(safe-area-inset-bottom, 0px)); z-index: 55;
  transform: translateX(-50%); opacity: 0; pointer-events: none; transition: opacity .3s ease;
  background: var(--bg); border: 1px solid var(--hair); border-radius: 999px; box-shadow: 0 2px 14px rgba(0,0,0,.08);
  font-size: 9px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; max-width: calc(100vw - 32px); line-height: 1.2; }
.inq-strip.on { opacity: 1; pointer-events: auto; }
.inq-strip.on.moving { opacity: 0; pointer-events: none; transition: opacity .5s cubic-bezier(.4, 0, .2, 1); }
.inq-strip button { display: block; padding: 8px 15px; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .inq-strip { transition: none; } }
.inq-item.sent { opacity: .7; }
.save-btn.sent { cursor: default; }

/* zoom view (LC.zoom in lc.js): the photo lifts out of the work overlay into its own white room */
.ov-img img.zoomable { cursor: zoom-in; }
.ov-img img.zoomable:focus-visible { outline: 1px solid var(--ink); outline-offset: 6px; }
.zv { position: fixed; inset: 0; z-index: 200; display: none; touch-action: none; overscroll-behavior: contain; -webkit-tap-highlight-color: transparent; }
.zv.on { display: block; }
.zv.leaving { pointer-events: none; }
.zv-bg { position: absolute; inset: 0; background: var(--bg); opacity: 0; }
.zv-stage { position: absolute; inset: 0; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; cursor: default; }
.zv-im { position: absolute; left: 0; top: 0; max-width: none; max-height: none; transform-origin: 0 0; backface-visibility: hidden; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none; cursor: zoom-in; }
.zv.zoomed .zv-stage, .zv.zoomed .zv-im { cursor: zoom-out; }
.zv.dragging .zv-stage, .zv.dragging .zv-im { cursor: grabbing; }
.zv-close { position: absolute; top: 28px; right: 40px; z-index: 2; font-size: 14px; transition: opacity .25s; }
.zv-close:hover { color: var(--accent); }
.zv.leaving .zv-close { opacity: 0; }
@media (max-width: 640px) { .zv-close { top: 18px; right: 18px; } }
.zv.zoomed .zv-close { background: var(--bg); padding: 6px 10px; margin: -6px -10px 0 0; }
