/* Fonts: Spectral and Onest (SIL Open Font License), self-hosted woff2 subsets: latin, latin-ext, cyrillic, cyrillic-ext */
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/onest-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/onest-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/onest-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/onest-cyrillic-ext.woff2") format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Spectral"; font-style: italic; font-weight: 300; font-display: swap; src: url("../fonts/spectral-300italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Spectral"; font-style: italic; font-weight: 300; font-display: swap; src: url("../fonts/spectral-300italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Spectral"; font-style: italic; font-weight: 300; font-display: swap; src: url("../fonts/spectral-300italic-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Spectral"; font-style: italic; font-weight: 300; font-display: swap; src: url("../fonts/spectral-300italic-cyrillic-ext.woff2") format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Spectral"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/spectral-400italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Spectral"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/spectral-400italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Spectral"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/spectral-400italic-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Spectral"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/spectral-400italic-cyrillic-ext.woff2") format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/spectral-300-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/spectral-300-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/spectral-300-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/spectral-300-cyrillic-ext.woff2") format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/spectral-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/spectral-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/spectral-400-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/spectral-400-cyrillic-ext.woff2") format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }

/* Fallbacks shaped like the web fonts (size-adjust from their average widths over English and Mongolian text, and
   their ascent and descent), so a line keeps its words when Onest and Spectral arrive: no reflow, no shift. */
@font-face { font-family: "Onest FB"; src: local("Arial"), local("ArialMT"); size-adjust: 104.32%; ascent-override: 92.99%; descent-override: 29.24%; line-gap-override: 0%; unicode-range: U+0000-00FF, U+0100-02FF, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215; }
@font-face { font-family: "Onest FB"; src: local("Arial"), local("ArialMT"); size-adjust: 99.07%; ascent-override: 97.91%; descent-override: 30.79%; line-gap-override: 0%; unicode-range: U+0301, U+0400-052F, U+1C80-1C8A, U+2116; }
@font-face { font-family: "Spectral FB"; font-weight: 100 349; src: local("Georgia"); size-adjust: 97.53%; ascent-override: 108.58%; descent-override: 47.47%; line-gap-override: 0%; unicode-range: U+0000-00FF, U+0100-02FF, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215; }
@font-face { font-family: "Spectral FB"; font-weight: 100 349; src: local("Georgia"); size-adjust: 92.96%; ascent-override: 113.92%; descent-override: 49.81%; line-gap-override: 0%; unicode-range: U+0301, U+0400-052F, U+1C80-1C8A, U+2116; }
@font-face { font-family: "Spectral FB"; font-weight: 350 900; src: local("Georgia"); size-adjust: 99.25%; ascent-override: 106.7%; descent-override: 46.65%; line-gap-override: 0%; unicode-range: U+0000-00FF, U+0100-02FF, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215; }
@font-face { font-family: "Spectral FB"; font-weight: 350 900; src: local("Georgia"); size-adjust: 94.69%; ascent-override: 111.84%; descent-override: 48.9%; line-gap-override: 0%; unicode-range: U+0301, U+0400-052F, U+1C80-1C8A, U+2116; }

/* Tsolmon Damba · Gallery & Museum (approved design "F")
   Rooms and corridors. The painted walls of a museum (sage, oxblood, Mongolian blue) hold the framed works:
   the entrance, the available wall, the artist's room, contact. Between them run white corridors with clean
   justified rows and lists. Type: Spectral for words about the art, Onest for the interface (both self-hosted,
   with Cyrillic and Cyrillic Extended for Mongolian Ө/Ү). The brush signature and the round red seal are the
   only marks. Everything works without JavaScript; html.js adds the enhanced layouts. */

:root {
  color-scheme: light;
  --white: #FAFAF7;
  --ink: #1A1A1A;
  --grey: #6B6862;
  --rule: #E6E3DC;
  --line: #CFCAC0;
  --line-strong: #948E82;
  --cream: #F4F1EA;
  --cream-ink: #26231F;
  --cream-ink-2: #5B554C;
  --cream-rule: rgba(38, 35, 31, .16);
  --sage: #4A5D58;
  --sage-deep: #3B4B47;
  --ox: #7A3B2E;
  --ox-deep: #622E24;
  --blue: #233A5E;
  --blue-deep: #1A2D4A;
  --floor: #241E1A;
  --brass: #B89A5A;
  --brass-light: #D8C08A;
  --seal: #B8312A;

  --serif: "Spectral", "Spectral FB", "Iowan Old Style", Georgia, serif;
  --sans: "Onest", "Onest FB", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 3.4vw, 48px);
  /* the gutters never sit under a notch (viewport-fit=cover) */
  --gl: max(var(--gutter), env(safe-area-inset-left, 0px));
  --gr: max(var(--gutter), env(safe-area-inset-right, 0px));
  --maxw: 1600px;
  --hdr-h: 76px;
  --strip-h: 47px;
  --strip-top: 0px;
  --ease: cubic-bezier(.22, .7, .18, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --hang: 0 1px 1px rgba(0, 0, 0, .24), 0 8px 14px -6px rgba(0, 0, 0, .3), 0 28px 50px -22px rgba(0, 0, 0, .5);
  --hang-lift: 0 2px 2px rgba(0, 0, 0, .22), 0 14px 22px -8px rgba(0, 0, 0, .34), 0 40px 64px -24px rgba(0, 0, 0, .5);
  --hang-soft: 0 1px 1px rgba(0, 0, 0, .14), 0 12px 26px -14px rgba(0, 0, 0, .4);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* the announcement above the header has a fixed height, so the entrance never jumps */
html[data-pinned]:not(.strip-closed) { --strip-top: var(--strip-h); }

/* ---------- tones: light corridors, painted walls ---------- */
.wall {
  --wall: var(--sage); --wall-deep: var(--sage-deep);
  --on: #EEE8DA; --on-2: #DCD5C2; --rule-on: rgba(238, 232, 218, .22); --line-on: rgba(238, 232, 218, .52);
  --focus: var(--brass-light); --accent-text: #E2CFA0; --ok: #A9D3B5; --tone: dark;
  --pool-1: rgba(255, 238, 205, .13); --pool-2: rgba(255, 238, 205, .05);
  --floor-top: #3a312a; --floor-bottom: var(--floor);
  background-color: var(--wall);
  color: var(--on);
}
.wall--ox { --wall: var(--ox); --wall-deep: var(--ox-deep); }
.wall--blue { --wall: var(--blue); --wall-deep: var(--blue-deep); }
.wall--floor { --wall: var(--floor); --wall-deep: #1A1512; }
.corridor, .lb, .card, .wl, .inq {
  --wall: var(--white); --wall-deep: #F1EFE9;
  --on: var(--ink); --on-2: var(--grey); --rule-on: var(--rule); --line-on: var(--line-strong);
  --focus: var(--ink); --accent-text: #7E6329; --ok: #3E7B55; --tone: light;
  --pool-1: rgba(255, 255, 255, 0); --pool-2: rgba(255, 255, 255, 0);
  --floor-top: #DCD7CC; --floor-bottom: #ECE8E0;
}
.corridor { background-color: var(--wall); color: var(--on); }
.card, .wl, .inq { --on: var(--cream-ink); --on-2: var(--cream-ink-2); --rule-on: var(--cream-rule); --line-on: #8C8475; --focus: var(--cream-ink); }

/* painted walls: flat paint with a little texture, and the shadow of the ceiling cove */
.room { position: relative; isolation: isolate; }
.room::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grain); mix-blend-mode: soft-light; opacity: .28;
}
.room::after {
  content: ""; position: absolute; inset: 0 0 auto; height: 160px; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(0, 0, 0, .16), rgba(0, 0, 0, 0));
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--hdr-h) + 8px);
  background: var(--white);
}
[tabindex="-1"]:focus { outline: none; }
html.lb-open, html.menu-open, html.inq-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 18px/1.6 var(--serif);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
}
img, svg, video { display: block; max-width: 100%; }
p, h1, h2, h3, h4, figure, blockquote, dl, dd, ol, ul { margin: 0; }
h1, h2, h3, h4 { font-weight: inherit; font-size: inherit; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus, var(--ink)); outline-offset: 3px; }
::selection { background: #E7E1D4; color: var(--ink); }
[hidden] { display: none !important; }
.vh {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
/* the focus-trap edges of dialogs: focusable, never seen */
.trap { position: fixed; top: 0; left: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gl) var(--gr); }
.skip {
  position: fixed; left: 12px; top: 12px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 14px;
  font: 500 14px/1 var(--sans); text-decoration: none;
  transform: translateY(-180%); transition: transform .2s var(--ease);
}
.skip:focus { transform: none; }

/* ---------- shared pieces ---------- */
.text-link {
  display: inline-block;
  font: 500 14px/1.3 var(--sans);
  text-decoration: underline; text-decoration-color: var(--line-on, rgba(26, 26, 26, .32));
  text-underline-offset: 6px; transition: text-decoration-color .25s;
}
.text-link:hover { text-decoration-color: currentColor; }
.link-btn { font: 400 14px/1.3 var(--sans); text-decoration: underline; text-underline-offset: 4px; color: var(--on-2); }
.link-btn:hover { color: var(--on); }
.all-link {
  font: 500 15px/1.3 var(--sans); color: var(--on);
  text-decoration: underline; text-decoration-color: var(--line-on); text-underline-offset: 7px;
  transition: text-decoration-color .25s;
}
.all-link:hover { text-decoration-color: currentColor; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px;
  background: var(--ink); color: var(--white);
  font: 500 14.5px/1 var(--sans); letter-spacing: .005em;
  text-decoration: none; border-radius: 1px; border: 1px solid transparent;
  transition: background-color .25s, color .25s, border-color .25s, opacity .25s;
}
.btn:hover { background: #3A3936; }
.btn:disabled { opacity: .6; cursor: progress; }
.btn--line { background: transparent; color: var(--on); border-color: var(--line-on); }
.btn--line:hover { background: transparent; border-color: var(--on); }
.btn--big { min-height: 56px; padding: 0 34px; font-size: 15px; }
.btn--ink { background: var(--cream-ink); color: var(--cream); }
.btn--ink:hover { background: #4a4137; }
.btn--light { background: #EEE8DA; color: var(--cream-ink); }
.btn--light:hover { background: #FFFFFF; }
.btn--sm { min-height: 34px; padding: 0 14px; font-size: 13px; }
.textlink {
  font: 500 13.5px/1.2 var(--sans); color: var(--on);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-on);
}
.textlink:hover { text-decoration-color: currentColor; }
.sig { display: block; height: auto; aspect-ratio: 2400 / 708; overflow: visible; }
.seal { display: block; height: auto; aspect-ratio: 1; border-radius: 50%; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 10px; font: 400 13.5px/1.3 var(--sans); color: var(--on-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs--page { margin-bottom: clamp(18px, 2.4vw, 30px); }

.status { display: inline-flex; align-items: center; gap: 8px; font: 400 12.5px/1.3 var(--sans); }
.dot { width: 7px; height: 7px; border-radius: 50%; flex: none; display: inline-block; }
.status--available .dot { background: var(--ok); }
.status--reserved .dot { background: linear-gradient(90deg, var(--seal) 50%, transparent 50%); box-shadow: inset 0 0 0 1.3px var(--seal); }
.status--sold .dot { background: var(--seal); }
.status--collection .dot { box-shadow: inset 0 0 0 1.3px currentColor; opacity: .7; }

/* the picture: true proportions, blur-up from the tiny placeholder */
.pic { position: relative; display: block; overflow: hidden; background: #E9E5DC; }
.pic::before {
  content: ""; position: absolute; inset: -14px;
  background: var(--lq, none) center / cover no-repeat;
  filter: blur(14px);
}
.pic > img, .pic > video {
  position: relative; width: 100%; height: 100%; object-fit: cover;
  transition: opacity .25s ease-out;
}
/* pictures above the fold paint at once (they are the LCP); lazy ones, and those the script swaps in, fade in */
.js .pic > img[loading="lazy"]:not(.is-loaded), .js .pic > img[data-fade]:not(.is-loaded), .pic > video { opacity: 0; }
.pic > video.is-playing { opacity: 1; }
.pic > video { position: absolute; inset: 0; z-index: 1; }

/* a framed work: slim moulding, off-white mat (gilt slip for oils), soft shadow on the wall */
.fr {
  --mould-edge: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 -1px 0 rgba(0, 0, 0, .5), inset 1px 0 0 rgba(255, 255, 255, .05), inset -1px 0 0 rgba(0, 0, 0, .3);
  position: relative; display: block;
  padding: var(--pm, 6px);
  background: var(--mould-bg);
  box-shadow: var(--mould-edge), var(--hang);
}
.fr--paper { --mould-bg: linear-gradient(180deg, #3b3631 0%, #201d1a 42%, #141211 100%); --mat-bg: #F3EFE6; }
.fr--oil { --mould-bg: linear-gradient(180deg, #6a513e 0%, #45331f 44%, #2c2017 100%); --mat-bg: linear-gradient(135deg, #e1c98f 0%, #ad8f50 38%, #d3b97c 60%, #8d7140 100%); }
.fr--object { --mould-bg: linear-gradient(180deg, #ddd4c1 0%, #bfb49d 100%); --mat-bg: #E8E1D1; }
.fr__mat { display: block; padding: var(--pp, 20px); background: var(--mat-bg); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .26); }
.fr .pic { width: 100%; aspect-ratio: var(--r); }
.fr .pic::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; box-shadow: inset 0 2px 4px rgba(0, 0, 0, .2), inset 0 0 1px rgba(0, 0, 0, .3); }
.fr--paper::after { /* glazing */
  content: ""; position: absolute; inset: var(--pm, 6px); pointer-events: none; z-index: 3;
  background: linear-gradient(115deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 72%, rgba(255, 255, 255, .03) 100%);
}

/* ---------- announcement (fixed height: the entrance below is sized from it) ---------- */
.strip { position: relative; z-index: 41; display: flex; align-items: center; min-height: var(--strip-h); overflow: hidden; background: var(--cream); color: var(--cream-ink); }
.strip-closed .strip { display: none; }
.strip__in { display: flex; align-items: center; flex-wrap: nowrap; gap: 4px 22px; }
.strip__kind, .strip__title, .strip__when { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.strip__kind { flex: none; font: 500 13px/1.4 var(--sans); color: var(--ox); }
.strip__title { flex: 0 1 auto; font: italic 400 18px/1.35 var(--serif); }
.strip__title a { text-decoration: none; }
.strip__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.strip__when { flex: 0 1 auto; font: 400 13.5px/1.4 var(--sans); color: var(--cream-ink-2); }
.strip__end { flex: none; margin-left: auto; display: flex; align-items: center; gap: 18px; }
.strip__cta { font: 500 13.5px/1.3 var(--sans); text-decoration: underline; text-decoration-color: rgba(38, 35, 31, .35); text-underline-offset: 5px; white-space: nowrap; }
.strip__cta:hover { text-decoration-color: currentColor; }
.strip__x { width: 32px; height: 32px; margin: -8px -8px -8px 0; display: grid; place-items: center; color: var(--cream-ink-2); border-radius: 50%; }
.strip__x:hover { color: var(--cream-ink); background: rgba(38, 35, 31, .06); }
.strip__x path { fill: none; stroke: currentColor; stroke-width: 1.5; }
.strip :focus-visible { outline-color: var(--cream-ink); }
.no-js .strip__x { display: none; }

/* ---------- header: takes the colour of the room it passes through ---------- */
.hdr {
  position: sticky; top: 0; z-index: 40;
  --focus: var(--h-focus, var(--brass-light));
  background-color: var(--h-wall, var(--sage));
  color: var(--h-on, #EEE8DA);
  transition: background-color .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease);
}
.hdr--light { --h-wall: var(--white); --h-on: var(--ink); --h-on-2: var(--grey); --h-rule-on: var(--rule); --h-focus: var(--ink); }
.hdr--ox { --h-wall: var(--ox); }
.hdr--blue { --h-wall: var(--blue); }
.hdr.is-scrolled { box-shadow: 0 1px 0 var(--h-rule-on, rgba(0, 0, 0, .08)); }
.hdr__in { height: var(--hdr-h); display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.brand { display: inline-flex; align-items: center; gap: 14px; margin-right: auto; text-decoration: none; }
.brand__seal { width: 30px; flex: none; transition: opacity .45s var(--ease); }
.brand__sig { width: clamp(150px, 12.4vw, 182px); transition: opacity .45s var(--ease), transform .6s var(--ease); }
.hdr.brand-hidden .brand__sig, .hdr.brand-hidden .brand__seal { opacity: 0; transform: translateY(4px); pointer-events: none; }
.hdr.brand-hidden .brand { visibility: hidden; transition: visibility 0s linear .45s; }
.nav__list { display: flex; gap: clamp(18px, 2.3vw, 34px); }
.nav__link { position: relative; display: inline-block; padding: 8px 0; font: 400 14.5px/1 var(--sans); text-decoration: none; }
.nav__link::after, .modes__btn::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 1px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left center;
  transition: transform .45s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current]::after { transform: scaleX(1); }
.lang { display: flex; align-items: center; font: 400 13px/1 var(--sans); }
.lang__btn { padding: 6px 7px; opacity: .9; text-decoration: none; transition: opacity .2s; }
/* two Cyrillic letters are not worth a font download on English pages */
html[lang="en"] .lang__btn[lang="mn"] { font-family: "Helvetica Neue", Arial, sans-serif; }
.lang__btn + .lang__btn { border-left: 1px solid currentColor; }
.lang__btn[aria-current="true"], .lang__btn:hover { opacity: 1; }
.menu-btn { display: none; padding: 12px 0 12px 12px; font: 500 14.5px/1 var(--sans); text-decoration: none; }
.menu {
  position: fixed; inset: 0; z-index: 60; overflow-y: auto;
  display: flex; flex-direction: column;
  opacity: 0; transition: opacity .3s var(--ease);
}
.menu.is-open { opacity: 1; }
.menu { background: var(--sage-deep); color: #EEE8DA; --rule-on: rgba(238, 232, 218, .2); }
.menu__top { height: var(--hdr-h); display: flex; align-items: center; justify-content: space-between; flex: none; }
.menu__mark { font: 400 20px/1 var(--serif); }
.menu__nav { display: flex; flex-direction: column; padding-top: 24px; border-top: 1px solid var(--rule-on); }
.menu__link { font: 300 40px/1.2 var(--serif); padding: 8px 0; text-decoration: none; letter-spacing: -.01em; }
.menu__link[aria-current] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.menu__foot { margin-top: auto; padding-top: 32px; padding-bottom: max(28px, env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.menu__mail { font: 400 15px/1.3 var(--sans); }

/* ---------- hero: the entrance ---------- */
.hero {
  --pm: 7px; --pp: clamp(16px, 1.9vw, 28px);
  --fp: calc(var(--pm) + var(--pp));
  display: flex; flex-direction: column;
  height: calc(100vh - var(--hdr-h) - var(--strip-top));
  height: calc(100svh - var(--hdr-h) - var(--strip-top));
  min-height: 600px; max-height: 1080px;
  overflow: hidden;
}
.hero__light {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 36% 48% at 64% 46%, rgba(255, 236, 204, .2), rgba(255, 236, 204, .07) 55%, rgba(255, 236, 204, 0) 80%),
    radial-gradient(ellipse 100% 90% at 55% 45%, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .26) 100%);
  transition: opacity 1.4s ease;
}
.hero__grid {
  position: relative; flex: 1 1 auto; min-height: 0;
  display: grid;
  grid-template-columns: minmax(320px, 30%) minmax(0, 1fr) auto auto auto auto;
  grid-template-rows: minmax(0, 1fr) auto;
  padding-top: clamp(20px, 3.4vh, 40px);
  padding-bottom: clamp(18px, 3vh, 34px);
}
.hero__title { grid-column: 1; grid-row: 1 / span 2; align-self: center; margin-right: clamp(32px, 3.8vw, 72px); padding-bottom: 5vh; min-width: 0; }
.hero__mark { display: flex; align-items: center; gap: 16px; margin-bottom: clamp(20px, 3vh, 34px); color: var(--brass-light); }
.hero__sig { width: clamp(190px, 17vw, 270px); }
.hero__seal { width: clamp(44px, 3.6vw, 60px); flex: none; }
.hero__name {
  overflow-wrap: normal; word-break: keep-all; hyphens: none;
  font: 300 clamp(44px, 4.05vw, 76px)/.98 var(--serif);
  text-transform: uppercase; letter-spacing: .07em; margin-left: -.05em;
}
.hero__name span { display: block; }
/* the Mongolian name keeps its own capitals: Дамбын ЦОЛМОН */
.hero__name--mn { text-transform: none; letter-spacing: .03em; }
.hero__mn { margin-top: 20px; font: italic 300 clamp(20px, 1.55vw, 24px)/1.3 var(--serif); color: var(--on-2); }
.hero__tag { margin-top: 10px; font: 300 clamp(19px, 1.4vw, 22px)/1.42 var(--serif); max-width: 16em; text-wrap: balance; }

.hero__stage { grid-column: 2 / -1; grid-row: 1; position: relative; min-height: 0; }
.hero__slide {
  --fp: calc(var(--pm) + var(--pp));
  position: absolute; left: 0; bottom: 0; display: block;
  /* --ch: the stage's height, measured by the script where container units are missing (iOS 15) */
  width: min(100%, calc((var(--ch, 60vh) - 2 * var(--fp)) * var(--r) + 2 * var(--fp)));
  opacity: 0; visibility: hidden;
  transition: opacity 1.8s var(--ease-io), visibility 0s linear 1.8s;
}
@supports (container-type: size) {
  .hero__stage { container-type: size; }
  .hero__slide { width: min(100cqw, calc((100cqh - 2 * var(--fp)) * var(--r) + 2 * var(--fp))); }
}
.hero__slide--oil { --pp: 5px; }
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity 1.8s var(--ease-io), visibility 0s; }
.hero__slide .fr { transition: transform .8s var(--ease), box-shadow .8s var(--ease); }
.hero__slide:hover .fr { transform: translateY(-2px); box-shadow: var(--mould-edge), var(--hang-lift); }

.hero__cap { grid-column: 2; grid-row: 2; padding-top: 18px; min-width: 0; transition: opacity .42s var(--ease); }
.hero__cap.is-swapping { opacity: 0; }
/* Mongolian captions often take two lines: the row keeps that height, so the painting above never moves */
html[lang="mn"] .hero__cap { min-height: 66px; }
.cl { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; row-gap: 2px; font: 400 13.5px/1.5 var(--sans); color: var(--on-2); }
.cl__title { font: 400 18px/1.3 var(--serif); color: var(--on); text-decoration: none; }
.cl__title:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.cl__sep { color: var(--line-on); }
.cl__meta, .cl__sale { display: contents; }
.cl .status { font-size: 13.5px; color: var(--on); }
.cl__inq { font-weight: 500; color: var(--on); text-decoration: underline; text-decoration-color: var(--line-on); text-underline-offset: 5px; white-space: nowrap; }
.cl__inq:hover { text-decoration-color: currentColor; }
.hero__btn {
  width: 36px; height: 36px; margin-top: 12px;
  display: grid; place-items: center; border-radius: 50%;
  color: var(--on-2); transition: color .2s, background-color .2s;
}
.hero__btn:hover { color: var(--on); background: rgba(238, 232, 218, .09); }
.hero__btn path { fill: none; stroke: currentColor; stroke-width: 1.4; }
.hero__prev { grid-column: 3; grid-row: 2; margin-left: 16px; }
.hero__count { grid-column: 4; grid-row: 2; margin-top: 12px; min-width: 3.4em; text-align: center; font: 400 12.5px/36px var(--sans); color: var(--on-2); font-variant-numeric: tabular-nums; }
.hero__next { grid-column: 5; grid-row: 2; }
.hero__pause { grid-column: 6; grid-row: 2; }
.hero__pause .i-play { display: none; fill: currentColor; stroke: none; }
.hero__pause[aria-pressed="true"] .i-pause { display: none; }
.hero__pause[aria-pressed="true"] .i-play { display: block; }
.hero.is-static .hero__pause, .no-js .hero__btn, .no-js .hero__count { display: none; }

/* ---------- sections ---------- */
.sec { padding-top: clamp(84px, 9vw, 140px); padding-bottom: clamp(84px, 9vw, 140px); }
.sec__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  border-top: 1px solid var(--rule-on); padding-top: clamp(20px, 2vw, 28px);
}
.sec__head--split { align-items: flex-end; }
.sec__title { font: 300 clamp(36px, 3.6vw, 54px)/1.06 var(--serif); letter-spacing: -.014em; }
.sec__title--sm { font-size: clamp(30px, 2.6vw, 40px); }
.sec__aside { font: 400 13.5px/1.3 var(--sans); color: var(--on-2); white-space: nowrap; }
.sec__lede { margin-top: 16px; max-width: 36em; font: 300 19px/1.55 var(--serif); color: var(--on-2); text-wrap: pretty; }
.sub__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: clamp(40px, 4vw, 60px) 0 22px; }
.sub__title { font: 400 22px/1.2 var(--serif); }
.empty { padding: 40px 0; font: 400 18px/1.5 var(--serif); color: var(--on-2); }

/* ---------- gallery: series rooms, recent works ---------- */
.series { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: clamp(30px, 3vw, 46px) clamp(18px, 2.2vw, 30px); }
.scard__link { display: block; text-decoration: none; }
.scard__wall {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; place-items: center;
  aspect-ratio: 16 / 11;
}
.scard__wall::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 52% 60% at 50% 42%, var(--pool-1, rgba(255, 238, 205, .13)), transparent 75%), radial-gradient(ellipse 110% 100% at 50% 50%, transparent 55%, rgba(0, 0, 0, .18));
}
/* 64 % of the wall's width, or 68 % of its height (11/16 of the width), whichever is smaller */
.scard__wall .fr { --pm: 4px; --pp: 9px; width: min(64%, calc((46.75% - 26px) * var(--r) + 26px)); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.scard__wall .fr--oil { --pp: 3px; }
.scard__link:hover .fr { transform: translateY(-3px); box-shadow: var(--mould-edge), var(--hang-lift); }
.scard__name { display: block; margin-top: 14px; font: 400 21px/1.25 var(--serif); }
.scard__link:hover .scard__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.scard__meta { display: block; margin-top: 2px; font: 400 13.5px/1.4 var(--sans); color: var(--grey); }

/* justified rows: the script hangs exact rows (.jrow); before it runs, and without it, the tiles
   flow in flexible rows of about the same height (--t), each tile as wide as its proportions ask */
.jgrid { display: flex; flex-direction: column; gap: var(--rg, 56px); }
/* the rows of rows.js, without it: each tile starts at the target height (--t), a row takes works while they fit and
   then fills its line (flex-grow in proportion to each ratio); the script later hangs exactly these rows in pixels */
.jgrid--flow { --k: 1; --t: 128px; --cg: 12px; --rg: 32px; flex-flow: row wrap; gap: var(--rg) var(--cg); align-items: flex-start; }
.jgrid--flow > .work { --rb: var(--rb1, var(--r)); } /* before the wider rows below, which override it */
@media (min-width: 666px) { .jgrid--flow { --t: calc(210px * var(--k)); --cg: 20px; --rg: 44px; } .jgrid--flow > .work { --rb: var(--rb2, var(--r)); } }
@media (min-width: 1073px) { .jgrid--flow { --t: calc(290px * var(--k)); --cg: 28px; --rg: 56px; } .jgrid--flow > .work { --rb: var(--rb3, var(--r)); } }
/* exact where container queries exist: the width of the row itself decides, as rowMetrics() does */
@supports (container-type: inline-size) and selector(:has(> *)) {
  :has(> .jgrid--flow) { container-type: inline-size; }
  @container (max-width: 619.98px) { .jgrid--flow { --t: 128px; --cg: 12px; --rg: 32px; } .jgrid--flow > .work { --rb: var(--rb1, var(--r)); } }
  @container (min-width: 620px) and (max-width: 999.98px) { .jgrid--flow { --t: calc(210px * var(--k)); --cg: 20px; --rg: 44px; } .jgrid--flow > .work { --rb: var(--rb2, var(--r)); } }
  @container (min-width: 1000px) { .jgrid--flow { --t: calc(290px * var(--k)); --cg: 28px; --rg: 56px; } .jgrid--flow > .work { --rb: var(--rb3, var(--r)); } }
}
/* --rb: the slot's proportion (the painting's own, or wider for a very tall one, which then sits inside its slot) */
.jgrid--flow > .work { flex: calc(var(--rb) * 100) 1 calc(var(--rb) * var(--t)); min-width: 0; }
.jgrid--flow > .work .pic { aspect-ratio: var(--rb); height: auto; }
.jgrid .pic > img { object-fit: contain; }
.jgrid--flow::after { content: ""; flex: 1000000 1 0px; }
.jrow { display: flex; align-items: flex-start; gap: var(--cg, 28px); }
.work { flex: none; min-width: 0; margin: 0; }
.work__link { display: block; }
.work .pic { width: 100%; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.work__link:hover .pic { transform: translateY(-3px); box-shadow: 0 18px 30px -20px rgba(0, 0, 0, .45); }
.work__cap { padding: 12px 6px 0 0; cursor: pointer; }
.cap__title { font: 400 16.5px/1.35 var(--serif); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.cap__title i { font-style: italic; }
.work:hover .cap__title i { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.cap__line { font: 400 14.5px/1.45 var(--serif); color: var(--on-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cap__status { margin-top: 5px; }
.all { display: flex; justify-content: center; margin-top: clamp(52px, 5vw, 76px); }

/* ---------- available: the wall hung to scale ---------- */
.avail { padding-top: clamp(84px, 9vw, 140px); padding-bottom: clamp(64px, 7vw, 104px); }
.avail--page { padding-top: clamp(28px, 3.4vw, 52px); }
.walk { display: flex; gap: 10px; padding-bottom: 6px; }
.walk__btn {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-on); color: var(--on);
  transition: background-color .25s, border-color .25s, opacity .25s;
}
.walk__btn path { fill: none; stroke: currentColor; stroke-width: 1.5; }
.walk__btn:hover { border-color: var(--on); background: rgba(238, 232, 218, .08); }
.walk__btn:disabled { opacity: .3; cursor: default; }
.scale {
  position: relative; margin-top: clamp(26px, 3vw, 44px);
  overflow-x: auto; overflow-y: hidden;
  overscroll-behavior-x: contain; scrollbar-width: none;
  cursor: grab; -webkit-overflow-scrolling: touch;
}
.scale::-webkit-scrollbar { display: none; }
.scale.is-dragging { cursor: grabbing; -webkit-user-select: none; user-select: none; }
.scale.is-dragging .hang-btn { pointer-events: none; }
.scale:focus-visible { outline-offset: -3px; }
.scale__wall { --s: 2px; --lw: 204px; position: relative; margin: 0 auto; background-image: var(--pools, none); }
.hung { display: contents; }
.scale .bay { position: absolute; }
.js .scale .bay__hang { opacity: 0; transform: translateY(10px); }
.scale.is-hung .bay__hang { opacity: 1; transform: none; transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.scale .fr { display: inline-block; vertical-align: top; --pm: max(2px, calc(var(--mould) * var(--s))); --pp: calc(var(--inner) * var(--s)); }
.scale .fr .pic { width: calc(var(--wcm) * var(--s)); }
.scale img, .scale a { -webkit-user-drag: none; }
.hang-btn { display: block; cursor: zoom-in; text-decoration: none; }
.hang-btn .fr { transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.hang-btn:hover .fr { transform: translateY(-3px); box-shadow: var(--mould-edge), var(--hang-lift); }
.hang-btn:focus-visible { outline: none; }
.hang-btn:focus-visible .fr { outline: 2px solid var(--focus); outline-offset: 6px; }
.sale-label { position: absolute; width: var(--lw, 204px); }
/* before the script hangs them (and without it): the works stand in a row, labels beneath */
.scale__wall:not(.is-laid) { display: flex; align-items: flex-end; gap: 52px; width: max-content; min-width: 100%; padding: 40px var(--gutter) 96px; }
.scale__wall:not(.is-laid) .hung { display: flex; flex-direction: column; gap: 26px; width: max(calc(var(--fw) * var(--s)), var(--lw)); }
.scale__wall:not(.is-laid) .bay, .scale__wall:not(.is-laid) .sale-label { position: static; }
.scale__wall:not(.is-laid) .visitor { display: none; }
.scale__wall:not(.is-laid) .scale__floor { height: 56px; }
.js .scale__wall:not(.is-laid) { visibility: hidden; }
.no-js .scale .bay__hang { opacity: 1; transform: none; }
.wl {
  position: relative;
  background: var(--cream); color: var(--cream-ink);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .2), 0 6px 14px -6px rgba(0, 0, 0, .35);
  padding: 15px 16px 16px;
  font: 400 14.5px/1.4 var(--serif);
}
.wl__title { font: 400 17.5px/1.25 var(--serif); padding-right: 26px; }
.wl__title i { font-style: italic; }
.wl__line { color: var(--cream-ink-2); }
.wl__sale { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--cream-rule); }
.wl__sale .status { font-size: 12.5px; }
.wl__price { font: 400 14px/1.3 var(--serif); color: var(--cream-ink-2); }
.wl__actions { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.wl__seal { position: absolute; right: 11px; top: 12px; width: 24px; }
.scale__floor {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, var(--floor-top) 0, var(--floor-bottom) 100%);
  background: linear-gradient(180deg, var(--floor-top) 0, color-mix(in srgb, var(--floor-top) 80%, #000) 10px, var(--floor-bottom) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
}
.scale__floor::before { /* skirting board */
  content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px;
  background: rgba(0, 0, 0, .26);
  background: linear-gradient(180deg, color-mix(in srgb, var(--wall) 78%, #000), color-mix(in srgb, var(--wall) 70%, #000));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
}
.visitor { position: absolute; pointer-events: none; }
.visitor img { width: 100%; height: 100%; opacity: .55; }
.visitor__rule {
  position: absolute; right: calc(100% + 14px); top: 0; bottom: 0; width: 9px;
  border-top: 1px solid var(--line-on); border-bottom: 1px solid var(--line-on);
}
.visitor__rule::before { content: ""; position: absolute; left: 4px; top: 0; bottom: 0; width: 1px; background: var(--line-on); }
.visitor__cap {
  position: absolute; right: calc(100% + 34px); top: 50%;
  transform: translate(50%, -50%) rotate(-90deg); transform-origin: center;
  white-space: nowrap; font: 500 12.5px/1 var(--sans); letter-spacing: .03em; color: var(--on-2);
}
.track { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.track__bar { position: relative; flex: 1; height: 2px; background: var(--rule-on); overflow: hidden; }
.track__thumb { position: absolute; top: 0; bottom: 0; left: 0; width: 20%; background: var(--brass-light); will-change: transform; }
.track__hint { font: 500 13px/1.3 var(--sans); color: var(--on-2); white-space: nowrap; }
.avail__all { margin-top: 28px; }

/* ---------- price list ---------- */
.prices { padding-top: clamp(72px, 7vw, 112px); }
.plist { width: 100%; border-collapse: collapse; margin-top: clamp(22px, 2.6vw, 34px); }
.plist thead th { font: 500 12.5px/1.3 var(--sans); color: var(--grey); text-align: left; padding: 0 18px 12px 0; border-bottom: 1px solid var(--rule); }
.plist td, .plist tbody th { padding: 14px 18px 14px 0; border-bottom: 1px solid var(--rule); vertical-align: middle; text-align: left; font: 400 15.5px/1.4 var(--serif); }
.plist__thumb { width: 108px; }
.plist__thumb .pic { height: 60px; width: calc(60px * var(--r)); max-width: 90px; }
.plist__thumb a { display: block; }
.plist__work a { text-decoration: none; font: 400 18px/1.3 var(--serif); }
.plist__work a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.plist__work i { font-style: italic; }
.plist__sub, .plist__m { display: none; }
.plist__medium { color: var(--grey); }
.plist__size { white-space: nowrap; }
.plist__size span { display: block; color: var(--grey); font-size: 13.5px; }
.plist__status .status { color: var(--ink); }
.plist__price { font: 500 14px/1.3 var(--sans) !important; white-space: nowrap; }
.plist__act { text-align: right !important; padding-right: 0 !important; }
.plist__row { transition: background-color .25s; cursor: pointer; }
.plist__row:hover { background: rgba(26, 26, 26, .018); }
.prices__all { margin-top: 26px; }
.buy {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(24px, 2.4vw, 36px);
  margin-top: clamp(56px, 6vw, 92px); padding-top: 28px; border-top: 1px solid var(--rule);
}
.buy__item { position: relative; }
.buy__stamp { display: block; margin-top: 14px; }
.buy__seal { width: 52px; transform: rotate(-4deg); }
.buy__h { font: 500 14.5px/1.35 var(--sans); }
.buy__p { margin-top: 8px; max-width: 26em; font: 400 16.5px/1.55 var(--serif); color: var(--grey); }
.buy__item .text-link { margin-top: 14px; }

/* ---------- about: the artist's room, then his path ---------- */
.about__room { padding-top: clamp(84px, 9vw, 140px); padding-bottom: clamp(84px, 9vw, 136px); }
.about__grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start;
  gap: clamp(40px, 6vw, 112px); margin-top: clamp(36px, 4vw, 60px);
}
.about__name { font: 400 28px/1.2 var(--serif); }
.about__mn { display: block; margin-top: 4px; font: italic 300 21px/1.3 var(--serif); color: var(--on-2); }
.about__lede { margin-top: 28px; font: 300 clamp(22px, 1.9vw, 27px)/1.45 var(--serif); max-width: 29em; text-wrap: pretty; }
.about__bio { margin-top: 26px; max-width: 35em; }
.about__bio p { font: 400 18.5px/1.72 var(--serif); text-wrap: pretty; }
.about__bio p + p { margin-top: 1em; }
.about__side { display: flex; flex-direction: column; justify-content: space-between; gap: clamp(36px, 4vw, 56px); align-self: stretch; padding-top: 8px; }
.photo { position: relative; display: block; overflow: hidden; background: #0d0f0e; box-shadow: var(--hang-soft); }
.photo img { width: 100%; height: auto; }
.about__fig--studio { width: 100%; }
.photo__cap { margin-top: 12px; font: 400 13px/1.45 var(--sans); color: var(--on-2); }
.honours { margin-top: clamp(64px, 7vw, 108px); padding-top: 24px; border-top: 1px solid var(--rule-on); }
.honours__h { font: 400 22px/1.2 var(--serif); }
.honours__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(30px, 3vw, 44px); margin-top: 28px; }
.honour { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; column-gap: clamp(20px, 2.4vw, 36px); }
.honour__year { grid-row: 1 / span 2; font: 500 14px/1 var(--sans); color: var(--accent-text); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.honour__name { font: 300 clamp(36px, 3.6vw, 54px)/1.04 var(--serif); letter-spacing: -.012em; }
.honour__what { grid-column: 2; margin-top: 10px; font: 400 17.5px/1.55 var(--serif); color: var(--on-2); max-width: 34em; }
.honours__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); border-top: 1px solid var(--rule-on); }
.honours__item { display: grid; grid-template-columns: 3.6em minmax(0, 1fr); gap: 14px; padding: 14px 0 16px; border-bottom: 1px solid var(--rule-on); }
.honours__year { font: 500 13.5px/1.75 var(--sans); color: var(--accent-text); font-variant-numeric: tabular-nums; }
.honours__what { font: 400 16.5px/1.5 var(--serif); }
.quote { margin: clamp(76px, 8vw, 124px) auto 0; max-width: 820px; text-align: center; }
.quote p { font: italic 300 clamp(27px, 2.6vw, 39px)/1.3 var(--serif); letter-spacing: -.004em; text-wrap: balance; }
.quote figcaption { margin-top: 22px; font: 500 13.5px/1.3 var(--sans); color: var(--on-2); }
.quote figcaption::before { content: ""; display: block; width: 36px; height: 1px; background: var(--brass); margin: 0 auto 16px; }

.about__cv { padding-top: clamp(76px, 8vw, 120px); padding-bottom: clamp(76px, 8vw, 120px); }
.cv__h { font: 400 22px/1.2 var(--serif); }
.path__head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px 40px; }
.path__quote { font: italic 300 clamp(19px, 1.6vw, 23px)/1.4 var(--serif); color: var(--ink); text-align: right; }
.path__src { display: block; margin-top: 2px; font: 400 11.5px/1.4 var(--sans); font-style: normal; color: var(--grey); }
.path__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 40px clamp(20px, 2.4vw, 36px); margin-top: 28px; }
.path__item { position: relative; padding-top: 18px; border-top: 1px solid var(--line); }
.path__item::before { content: ""; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--brass); }
.path__when { font: 400 22px/1.15 var(--serif); color: var(--accent-text); }
.path__what { margin-top: 8px; font: 400 15.5px/1.5 var(--serif); color: var(--grey); }
.shows { margin-top: clamp(72px, 7vw, 108px); }
.shows__cols { columns: 2; column-gap: clamp(40px, 6vw, 104px); margin-top: 6px; }
.shows__decade { padding: 22px 0 10px; font: 500 13px/1 var(--sans); color: var(--accent-text); letter-spacing: .02em; break-after: avoid; }
.show { display: grid; grid-template-columns: 5.4em minmax(0, 1fr) auto; gap: 16px; padding: 11px 0 12px; border-top: 1px solid var(--rule); break-inside: avoid; }
.show__year { font: 500 13px/1.75 var(--sans); font-variant-numeric: tabular-nums; }
.show__title { display: block; font: 400 17px/1.4 var(--serif); }
.show__where { display: block; font: 400 14.5px/1.45 var(--serif); color: var(--grey); }
.show__kind { font: 400 12px/1.9 var(--sans); color: var(--grey); white-space: nowrap; }
.shows__btn { margin-top: 30px; }
/* the first ten exhibitions show; the script opens the rest (without it, all are listed) */
.js .shows:not(.is-all) [data-extra] { display: none; }
.no-js .shows__btn { display: none; }
.signoff { display: flex; align-items: center; justify-content: flex-end; gap: clamp(16px, 2vw, 28px); margin-top: clamp(64px, 7vw, 104px); color: var(--ink); }
.signoff__sig { width: clamp(240px, 25vw, 380px); }
.signoff__seal { width: clamp(64px, 6.2vw, 88px); }

/* ---------- news ---------- */
.about + .news { padding-top: clamp(8px, 1.5vw, 24px); }
.news__group { margin-top: clamp(40px, 4vw, 56px); font: 400 22px/1.2 var(--serif); }
.upc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px clamp(28px, 3vw, 48px); margin-top: 24px; }
.upc--single { grid-template-columns: minmax(0, 1fr); }
.upc--single .upc__item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4.4vw, 80px); align-items: end; }
.upc--single .upc__media { height: auto; max-width: 600px; }
.upc--single .upc__media .pic, .upc--single .upc__media .photo, .upc--single .upc__media .news__art { position: relative; inset: auto; display: block; width: 100%; }
.upc--single .upc__body { padding-top: 0; padding-bottom: 6px; }
.upc__media { --mh: clamp(220px, 22vw, 320px); position: relative; display: block; height: var(--mh); }
.upc__media .news__art { position: absolute; inset: 0; }
.upc__media .pic, .upc__media .photo { position: absolute; left: 0; bottom: 0; width: min(100%, calc(var(--mh) * var(--r))); aspect-ratio: var(--r); }
.upc__item:hover .pic { transform: translateY(-2px); }
.upc__media .pic { transition: transform .6s var(--ease); }
.upc__body { padding-top: 22px; }
.upc__kind { display: flex; align-items: center; gap: 12px; font: 500 13px/1.3 var(--sans); }
.upc__title { margin-top: 10px; font: 400 clamp(24px, 2.1vw, 30px)/1.2 var(--serif); letter-spacing: -.006em; max-width: 20em; }
.upc__title a, .past__title a { text-decoration: none; }
.upc__title a:hover, .past__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.upc__when { margin-top: 8px; font: 400 14px/1.45 var(--sans); color: var(--grey); }
.upc__text { margin-top: 14px; max-width: 32em; font: 400 17px/1.6 var(--serif); }
.upc__body .text-link { margin-top: 18px; }
.past { margin-top: 22px; border-top: 1px solid var(--rule); }
.past--more { margin-top: 0; border-top: 0; }
.js .past--more:not(.is-open) { display: none; }
.no-js .archive { display: none; }
.past__item {
  display: grid; grid-template-columns: 4.6em 132px minmax(0, 4fr) minmax(0, 5fr); gap: 8px clamp(20px, 2.4vw, 32px);
  align-items: start; padding: 22px 0 24px; border-bottom: 1px solid var(--rule);
}
.past__when { font: 500 13.5px/1.75 var(--sans); font-variant-numeric: tabular-nums; }
.past__media .pic, .past__media .photo { width: 132px; height: auto; aspect-ratio: var(--r); max-height: 110px; }
.past__media .news__art { display: block; }
.past__kind { font: 500 12.5px/1.3 var(--sans); color: var(--grey); }
.past__title { margin-top: 4px; font: 400 20px/1.35 var(--serif); }
.past__where { margin-top: 4px; font: 400 14px/1.45 var(--sans); color: var(--grey); }
.past__text { font: 400 16.5px/1.6 var(--serif); color: var(--grey); max-width: 34em; }
.archive { margin-top: 30px; }
.archive__n { font: 400 12px/1 var(--sans); color: var(--grey); }
.news--page { padding-top: clamp(36px, 4vw, 64px); }
.news--page .news__group:first-of-type { margin-top: clamp(28px, 3vw, 40px); }

/* one news item */
.newsitem { padding-top: clamp(36px, 4vw, 64px); }
.newsitem__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 96px); align-items: start; padding-top: 18px; border-top: 1px solid var(--rule); }
.newsitem__title { margin-top: 12px; font: 300 clamp(36px, 3.6vw, 54px)/1.08 var(--serif); letter-spacing: -.014em; }
.newsitem__when { font-size: 15px; }
.newsitem__text { margin-top: 22px; max-width: 32em; font: 400 18.5px/1.65 var(--serif); }
.newsitem__cta { margin-top: 28px; }
.newsitem__media .fr { --pm: 6px; --pp: clamp(14px, 2vw, 26px); }
.newsitem__media .hang-btn { display: block; }
.newsitem__more { margin-top: clamp(64px, 7vw, 104px); }
.newsitem__all { margin-top: 26px; }

/* ---------- contact ---------- */
.contact { padding-top: clamp(84px, 9vw, 140px); padding-bottom: clamp(84px, 9vw, 140px); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); margin-top: clamp(36px, 4vw, 60px); align-items: start; }
.contact--page, .about--page .about__room { padding-top: clamp(36px, 4vw, 64px); }
.contact__lede { font: 300 clamp(22px, 2vw, 28px)/1.35 var(--serif); max-width: 15em; }
.contact__email, .contact__phone {
  display: inline-block; margin-top: 26px;
  font: 400 clamp(20px, 1.7vw, 25px)/1.3 var(--serif);
  text-decoration: underline; text-decoration-color: var(--line-on); text-underline-offset: 6px;
  transition: text-decoration-color .25s; overflow-wrap: anywhere;
}
.contact__phone { display: table; margin-top: 10px; font-size: clamp(18px, 1.4vw, 21px); font-variant-numeric: lining-nums; }
.contact__email:hover, .contact__phone:hover { text-decoration-color: currentColor; }
.contact__based { margin-top: 14px; font: 400 14px/1.4 var(--sans); color: var(--on-2); }
.contact__addr { margin-top: 2px; font: 400 13.5px/1.4 var(--sans); color: var(--on-2); }
.follow__h { margin-top: 44px; font: 500 13.5px/1.3 var(--sans); color: var(--on-2); }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social__a {
  display: grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid var(--line-on); border-radius: 50%; color: inherit;
  transition: border-color .25s, background-color .25s;
}
.social__a:hover { border-color: currentColor; }
.social__icon { display: grid; place-items: center; }
.social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.social--small .social__a { width: 36px; height: 36px; }
.social--named { flex-direction: column; gap: 14px; }
.social__a--named { width: auto; height: auto; border: 0; border-radius: 0; display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.social__a--named .social__icon { width: 42px; height: 42px; border: 1px solid var(--line-on); border-radius: 50%; transition: border-color .25s; }
.social__a--named:hover .social__icon { border-color: currentColor; }
.social__name { display: flex; flex-direction: column; font: 500 14.5px/1.3 var(--sans); }
.social__handle { font: 400 13.5px/1.35 var(--sans); color: var(--on-2); }

/* ---------- the inquiry form (contact section, contact page, inquiry dialog) ---------- */
.card { background: var(--cream); color: var(--cream-ink); padding: clamp(24px, 3.2vw, 44px); box-shadow: var(--hang); }
.form { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 30px; align-content: start; }
.form__title { grid-column: 1 / -1; font: 400 26px/1.2 var(--serif); }
.form__notice { grid-column: 1 / -1; padding: 12px 14px; background: #F7E3DC; color: #7A2018; font: 400 14px/1.45 var(--sans); }
.field, .chips { min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field__label { display: block; margin-bottom: 4px; font: 500 13px/1.3 var(--sans); }
.field__opt { font-weight: 400; color: var(--cream-ink-2); }
.field__input {
  width: 100%; padding: 10px 0 11px; border: 0; border-bottom: 1px solid #8C8475; border-radius: 0;
  background: transparent; font: 400 18px/1.4 var(--serif); color: var(--cream-ink);
  transition: border-color .2s, box-shadow .2s;
}
.field__input:focus { outline: none; border-bottom-color: var(--cream-ink); box-shadow: 0 1px 0 0 var(--cream-ink); }
.field__input[aria-invalid="true"] { border-bottom-color: #A32A20; box-shadow: 0 1px 0 0 #A32A20; }
textarea.field__input { resize: vertical; min-height: 124px; }
.select { position: relative; }
.select::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 7px; height: 7px; margin-top: -6px;
  border-right: 1.3px solid currentColor; border-bottom: 1.3px solid currentColor; transform: rotate(45deg); pointer-events: none;
}
select.field__input { -webkit-appearance: none; appearance: none; padding-right: 28px; cursor: pointer; }
.field__err { margin-top: 6px; font: 400 13px/1.4 var(--sans); color: #A32A20; }
.field__err:empty { display: none; }
/* honeypots: off screen, out of the tab order and hidden from assistive technology */
.field--hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.chips { grid-column: 1 / -1; border: 0; padding: 0; margin: 0; }
.chips__row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 15px;
  border: 1px solid #8C8475; border-radius: 999px;
  font: 500 13.5px/1 var(--sans); color: var(--cream-ink); white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover span { border-color: var(--cream-ink); }
.chip input:checked + span { background: var(--cream-ink); border-color: var(--cream-ink); color: var(--cream); }
.chip input:focus-visible + span { outline: 2px solid var(--cream-ink); outline-offset: 2px; }
.inq__work { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; padding: 12px 14px; background: rgba(255, 255, 255, .6); border: 1px solid var(--cream-rule); }
.inq__thumb { flex: none; width: 96px; height: 76px; display: grid; place-items: center; }
.inq__thumb .pic { width: min(96px, calc(76px * var(--r))); aspect-ratio: var(--r); box-shadow: 0 1px 1px rgba(0, 0, 0, .18), 0 6px 12px -8px rgba(0, 0, 0, .45); }
.inq__about { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.inq__wtitle { font: 400 19px/1.3 var(--serif); }
.inq__wtitle i { font-style: italic; }
.inq__wmeta { font: 400 13.5px/1.4 var(--sans); color: var(--cream-ink-2); }
.inq__wsale { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 2px; }
.inq__price { font: 500 13px/1.3 var(--sans); }
.inq__change { align-self: flex-start; margin-top: 4px; font: 400 13px/1.3 var(--sans); color: var(--cream-ink-2); text-underline-offset: 4px; }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 4px; }
.form__foot .btn { background: var(--cream-ink); color: var(--cream); min-width: 172px; }
.form__foot .btn:hover { background: #4a4137; }
.form__note { flex: 1 1 14em; font: 400 13.5px/1.4 var(--sans); color: var(--cream-ink-2); }
.form__status { grid-column: 1 / -1; font: 400 14px/1.45 var(--sans); color: #A32A20; }
.form__status:empty { display: none; }
.form__done { grid-column: 1 / -1; padding: 6px 0 4px; }
.form__done-title { font: 400 28px/1.2 var(--serif); }
.form__done-text { margin-top: 14px; max-width: 30em; font: 400 18.5px/1.6 var(--serif); }
.form__done .seal { width: 54px; margin-top: 22px; transform: rotate(-4deg); }
.form__done-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 24px; }

/* ---------- the inquiry dialog: a card in the middle, a bottom sheet on phones ---------- */
.inq {
  width: min(660px, calc(100vw - 32px)); max-width: none;
  max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px);
  margin: auto; padding: 0; border: 0; background: transparent; color: var(--cream-ink); overflow: visible;
}
.inq::backdrop { background: rgba(24, 21, 18, .56); }
.inq[open] { animation: inq-in .42s var(--ease); }
.inq.is-closing { animation: inq-out .26s var(--ease) forwards; }
@keyframes inq-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes inq-out { to { opacity: 0; transform: translateY(12px); } }
.inq__sheet { position: relative; max-height: inherit; overflow-y: auto; overscroll-behavior: contain; background: var(--cream); box-shadow: 0 34px 80px -24px rgba(0, 0, 0, .6); }
.inq .form { box-shadow: none; padding-top: clamp(26px, 3vw, 40px); }
.inq .form__title { padding-right: 90px; }
.inq__close {
  position: absolute; top: 14px; right: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 9px; padding: 10px 10px;
  font: 500 13.5px/1 var(--sans); color: var(--cream-ink);
}
.inq__close path { fill: none; stroke: currentColor; stroke-width: 1.5; }

/* ---------- footer ---------- */
.ftr__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: 32px; padding-top: 52px; padding-bottom: 52px; }
.ftr__mark { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--on); }
.ftr__sig { width: 212px; }
.ftr__seal { width: 40px; flex: none; }
.ftr__mn { margin-top: 12px; font: italic 300 16px/1.3 var(--serif); color: var(--on-2); }
.ftr__studio { margin-top: 10px; font: 400 13.5px/1.4 var(--sans); color: var(--on-2); }
.ftr__nav { display: flex; flex-wrap: wrap; align-content: start; gap: 10px 24px; font: 400 14px/1.4 var(--sans); }
.ftr__nav a { text-decoration: none; }
.ftr__nav a:hover { text-decoration: underline; }
.ftr__contact { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; font: 400 14px/1.4 var(--sans); }
.ftr__contact .social { margin-top: 0; }
.ftr__base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px;
  padding-block: 18px max(28px, env(safe-area-inset-bottom)); border-top: 1px solid var(--rule-on);
  font: 400 13px/1.4 var(--sans); color: var(--on-2);
}

/* ---------- the full gallery page ---------- */
.ghead { padding-top: clamp(26px, 3.2vw, 50px); padding-bottom: clamp(26px, 3vw, 44px); }
.ghead__title { margin-top: 14px; font: 300 clamp(42px, 4.3vw, 66px)/1 var(--serif); letter-spacing: -.016em; }
.ghead__meta { margin-top: 14px; font: 400 15px/1.4 var(--sans); color: var(--on-2); }
.tools {
  position: sticky; top: var(--hdr-h); z-index: 30;
  background: rgba(250, 250, 247, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.tools__in { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 26px; padding-block: 14px 16px; }
.tools__search { position: relative; flex: 1 1 200px; max-width: 300px; }
.tools__search svg { position: absolute; left: 0; bottom: 13px; fill: none; stroke: var(--grey); stroke-width: 1.5; }
.tools__input {
  width: 100%; padding: 10px 0 10px 26px; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  background: transparent; font: 400 16px/1.4 var(--sans); color: var(--ink);
  -webkit-appearance: none; appearance: none;
}
.tools__input:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 0 var(--ink); }
.tools__input::-webkit-search-cancel-button {
  -webkit-appearance: none; appearance: none; width: 14px; height: 14px; margin-left: 8px; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 3l8 8M11 3l-8 8' fill='none' stroke='%236B6862' stroke-width='1.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.tools__panel { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 26px; min-width: 0; }
.tool { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tool__label { font: 500 12px/1.3 var(--sans); color: var(--grey); }
.tool__select {
  -webkit-appearance: none; appearance: none; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  background: transparent; padding: 8px 24px 9px 0; font: 400 16px/1.3 var(--sans); color: var(--ink);
  max-width: 15em; cursor: pointer;
}
.tool__select:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.tool.is-set .tool__select { border-bottom-color: var(--ink); font-weight: 500; }
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--line-strong); border-radius: 999px; }
.seg__btn { padding: 7px 13px 8px; border-radius: 999px; font: 400 13.5px/1 var(--sans); color: var(--grey); white-space: nowrap; transition: background-color .2s, color .2s; }
.seg__btn:hover { color: var(--ink); }
.seg__btn[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.seg__btn:disabled { opacity: .4; cursor: default; }
.seg__n { font-size: 12px; }
.tool--sort { margin-left: auto; }
.tools__toggle { display: none; }
.tools__apply { align-self: flex-end; min-height: 40px; }
.js .tools__apply, .js .pager { display: none; }
.results { padding-top: 28px; padding-bottom: clamp(72px, 8vw, 120px); min-height: 60vh; }
.results__bar { display: flex; align-items: baseline; gap: 18px; margin-bottom: 26px; }
/* nothing matches: the empty state below says it once */
.results.is-empty .results__count, .results.is-empty .results__bar [data-clear] { display: none; }
.results__count { font: 400 15px/1.4 var(--sans); }
.results__more { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 56px; }
.results__shown { font: 400 13.5px/1.4 var(--sans); color: var(--grey); }
.pager { display: flex; align-items: center; gap: 18px; }
.pager__at { font: 400 14px/1.4 var(--sans); color: var(--grey); }
.sentinel { height: 1px; }

/* ---------- lightbox (and the work page, which is the same layout as a page) ---------- */
.lb {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%;
  margin: 0; padding: 0; border: 0; overflow: hidden;
  background: var(--white); color: var(--ink);
  opacity: 0; transition: opacity .35s var(--ease);
}
.lb.is-open { opacity: 1; }
.lb::backdrop { background: rgba(250, 250, 247, .7); }
.lb__layout { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) clamp(320px, 27vw, 420px); grid-template-rows: auto minmax(0, 1fr); }
.lb__bar { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; padding-inline: var(--gl) var(--gr); }
.lb__count { font: 400 13.5px/1 var(--sans); color: var(--grey); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lb__close { display: inline-flex; align-items: center; gap: 10px; padding: 12px 0 12px 12px; font: 500 14px/1 var(--sans); }
.lb__close path { fill: none; stroke: currentColor; stroke-width: 1.5; }
.lb__view { position: relative; display: flex; flex-direction: column; min-height: 0; padding: 4px clamp(56px, 6vw, 96px) 18px; padding-left: max(clamp(56px, 6vw, 96px), env(safe-area-inset-left, 0px)); }
.lb__stage { position: relative; flex: 1; min-height: 0; transition: opacity .2s var(--ease); }
.lb.is-stepping .lb__stage, .lb.is-stepping .lb__info { opacity: 0; }
.lbv { position: absolute; inset: 0; }
.lbv--paint { display: grid; place-items: center; }
.lb__frame {
  --pm: 3px; --pp: clamp(10px, 1.5vw, 22px); --fp: calc(var(--pm) + var(--pp));
  --hang: 0 1px 1px rgba(0, 0, 0, .14), 0 14px 30px -16px rgba(0, 0, 0, .4);
  width: min(100%, calc((var(--ch, 70vh) - 2 * var(--fp)) * var(--r) + 2 * var(--fp)), calc(var(--natw, 100000px) + 2 * var(--fp)));
}
@supports (container-type: size) {
  .lbv--paint { container-type: size; }
  .lb__frame { width: min(100cqw, calc((100cqh - 2 * var(--fp)) * var(--r) + 2 * var(--fp)), calc(var(--natw, 100000px) + 2 * var(--fp))); }
}
.fr--light { --mould-bg: linear-gradient(180deg, #2e2a26, #171513); --mat-bg: #F6F3EC; }
.fr--light::after { display: none; }
.lb__nav { position: absolute; top: calc(50% - 46px); width: 48px; height: 72px; display: grid; place-items: center; color: var(--ink); opacity: .62; transition: opacity .2s; }
.lb__nav:hover, .lb__nav:focus-visible { opacity: 1; }
.lb__nav--prev { left: max(4px, calc(var(--gl) - 14px)); }
.lb__nav--next { right: max(4px, env(safe-area-inset-right, 0px)); }
.lb__nav path { fill: none; stroke: currentColor; stroke-width: 1.3; }
.lb__modes { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 24px; padding-top: 18px; min-height: 52px; }
.no-js .lb__modes { visibility: hidden; }
.modes { display: flex; gap: 26px; }
.modes__btn { position: relative; padding: 8px 0; font: 400 14px/1 var(--sans); color: var(--grey); transition: color .2s; }
.modes__btn:hover, .modes__btn[aria-pressed="true"] { color: var(--ink); }
.modes__btn[aria-pressed="true"]::after { transform: scaleX(1); }
.rooms { display: flex; gap: 2px; padding-left: 20px; border-left: 1px solid var(--rule); }
.rooms__btn { padding: 6px 7px; font: 400 13px/1 var(--sans); color: var(--grey); }
.rooms__btn:hover { color: var(--ink); }
.rooms__btn[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.lb__info { overflow-y: auto; padding: 6px var(--gr) 40px 8px; display: flex; flex-direction: column; transition: opacity .2s var(--ease); }
.lb__title { font: 300 clamp(30px, 2.5vw, 40px)/1.12 var(--serif); letter-spacing: -.012em; }
.lb__year { margin-top: 6px; font: 400 18px/1.3 var(--serif); color: var(--grey); }
.lb__year a { text-decoration-color: var(--line); text-underline-offset: 4px; }
.lb__year a:hover { text-decoration-color: currentColor; }
.lb__year:empty { display: none; }
.lb__facts { margin-top: 26px; border-top: 1px solid var(--rule); }
.lb__fact { display: grid; grid-template-columns: minmax(64px, max-content) minmax(0, 1fr); gap: 14px; padding: 12px 0 13px; border-bottom: 1px solid var(--rule); }
.lb__fact dt { font: 400 13px/1.6 var(--sans); color: var(--grey); }
.lb__fact dd { font: 400 16.5px/1.45 var(--serif); }
.lb__fact .sub { display: block; color: var(--grey); }
.lb__sale { margin-top: 22px; display: flex; flex-direction: column; gap: 6px; }
.lb__status .status { font-size: 13.5px; }
.lb__price { font: 500 17px/1.3 var(--sans); }
.lb__inquire { margin-top: 20px; align-self: flex-start; }
.lb__note { margin-top: 30px; font: 400 17px/1.65 var(--serif); }
.lb__video { margin-top: 18px; align-self: flex-start; }
.lb__small { display: flex; align-items: flex-start; gap: 10px; margin-top: 26px; font: 400 13px/1.55 var(--sans); color: var(--grey); }
.lb__seal { width: 26px; height: auto; flex: none; margin-top: -1px; }
.lbv--wall { overflow: hidden; background: #E9E6DF; }
.room__bg { width: 100%; height: 100%; object-fit: cover; }
.room__art {
  position: absolute; transform: translate(-50%, -50%);
  box-shadow: 0 0 0 2px #24211e, 0 1px 1px rgba(0, 0, 0, .14), 0 12px 26px -10px rgba(0, 0, 0, .4);
  transition: width .6s var(--ease), height .6s var(--ease), left .6s var(--ease), top .6s var(--ease);
}
.sv { position: absolute; inset: 0; }
.sv__floor { position: absolute; height: 1px; background: var(--line); }
.sv__fig { position: absolute; fill: #D5D0C6; }
.sv__art { position: absolute; box-shadow: 0 1px 1px rgba(26, 26, 26, .14), 0 10px 22px -10px rgba(26, 26, 26, .4); }
.sv__dim { position: absolute; color: #A39D92; }
.sv__dim span { position: absolute; font: 400 12px/1.2 var(--sans); color: var(--grey); white-space: nowrap; }
.sv__dim--w { height: 9px; border-left: 1px solid; border-right: 1px solid; }
.sv__dim--w::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: currentColor; }
.sv__dim--w span { top: 15px; left: 50%; transform: translateX(-50%); }
.sv__dim--h { width: 9px; border-top: 1px solid; border-bottom: 1px solid; }
.sv__dim--h::before { content: ""; position: absolute; top: 0; bottom: 0; left: 4px; width: 1px; background: currentColor; }
.sv__dim--h span { left: 16px; top: 50%; transform: translateY(-50%); }
.sv__dim--fig span { left: auto; right: 16px; text-align: right; }
.sv__note { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font: 400 12.5px/1.3 var(--sans); color: var(--grey); }

/* the work page: the lightbox layout in the flow of the page */
.lb--page {
  position: relative; inset: auto; z-index: auto; opacity: 1; overflow: visible;
  height: calc(100vh - var(--hdr-h)); height: calc(100svh - var(--hdr-h));
  min-height: 620px; max-height: 1080px;
}
.lb--page .lb__bar { justify-content: space-between; }
.lb--page .lb__nav { text-decoration: none; }
.wpage__photos, .wpage__more { padding-top: clamp(40px, 4vw, 64px); }
.wpage__more .sub__head, .wpage__photos .sub__head { margin-top: 0; padding-top: 22px; border-top: 1px solid var(--rule); }
.wphotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px; }
.wphotos .pic { aspect-ratio: var(--r); }
.errpage__works { padding-top: clamp(40px, 4vw, 64px); }

/* ---------- thank you, errors ---------- */
.thanks { min-height: 62vh; }
.thanks__body { margin-top: clamp(28px, 3vw, 44px); }
.thanks__body .contact__based { margin-top: 16px; font-size: 15px; }
.thanks__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 32px; }
.thanks__sig { display: flex; align-items: center; justify-content: flex-end; gap: 18px; margin-top: clamp(48px, 6vw, 88px); color: var(--brass-light); }
.thanks__sigsvg { width: clamp(200px, 20vw, 300px); }
.thanks__seal { width: 56px; }
.errpage { padding-top: clamp(64px, 8vw, 128px); padding-bottom: clamp(64px, 8vw, 128px); min-height: 56vh; }
.errpage__code { font: 500 13px/1 var(--sans); letter-spacing: .06em; color: var(--accent-text); }
.errpage__title { margin-top: 16px; max-width: 14em; font: 300 clamp(40px, 4.4vw, 66px)/1.05 var(--serif); letter-spacing: -.014em; }
.errpage__text { margin-top: 20px; max-width: 32em; font: 300 21px/1.5 var(--serif); color: var(--on-2); }
.errpage__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 34px; }
.errpage__dev { margin-top: 32px; max-height: 50vh; overflow: auto; padding: 16px; background: rgba(0, 0, 0, .25); font: 12px/1.5 Menlo, Consolas, monospace; white-space: pre-wrap; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 80;
  max-width: min(92vw, 480px); padding: 12px 18px;
  background: var(--ink); color: var(--white); font: 400 14px/1.45 var(--sans);
  opacity: 0; transform: translate(-50%, 12px); pointer-events: none;
  transition: opacity .3s var(--ease), transform .45s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 1279px) {
  .tools__in { flex-wrap: wrap; }
  .tools__search { flex-basis: 100%; max-width: none; }
  .tools__panel { flex: 1 1 520px; }
}
/* the Mongolian filters only just fit beside the search on one line: give the search its own line, so the bar never
   changes its line count when the fonts arrive */
@media (min-width: 1280px) and (max-width: 1919px) {
  html[lang="mn"] .tools__search { flex-basis: 100%; max-width: none; }
  html[lang="mn"] .tools__panel { flex: 1 1 520px; }
}
@media (max-width: 1099px) {
  /* the entrance stacks: title, painting, caption */
  .hero { height: auto; min-height: 0; max-height: none; }
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) auto auto auto auto;
    grid-template-rows: auto auto auto;
    column-gap: 0; padding-top: 26px; padding-bottom: 26px;
  }
  .hero__title { grid-column: 1 / -1; grid-row: 1; margin: 0 0 30px; padding: 0; align-self: start; }
  .hero__name span { display: inline; }
  .hero__stage {
    grid-column: 1 / -1; grid-row: 2;
    height: min(64vh, calc((100vw - 2 * var(--gutter) - 2 * var(--fp)) / var(--stage-r, 1.4) + 2 * var(--fp)));
    height: min(64svh, calc((100vw - 2 * var(--gutter) - 2 * var(--fp)) / var(--stage-r, 1.4) + 2 * var(--fp)));
  }
  .hero__slide { left: 0; right: 0; margin-inline: auto; }
  .hero__cap { grid-column: 1; grid-row: 3; justify-self: start; text-align: left; padding-top: 14px; }
  html[lang="mn"] .hero__cap { min-height: 0; }
  .hero__prev, .hero__next, .hero__count, .hero__pause { grid-row: 3; align-self: start; justify-self: auto; margin-top: 10px; width: 36px; height: 36px; border: 0; }
  .hero__prev { grid-column: 2; margin-left: 12px; }
  .hero__count { grid-column: 3; width: auto; }
  .hero__next { grid-column: 4; }
  .hero__pause { grid-column: 5; }
  .series { grid-template-columns: repeat(min(var(--cols, 3), 3), minmax(0, 1fr)); }
  .path__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* the Mongolian menu is longer: it moves into the menu sheet sooner */
@media (max-width: 1023px) {
  html[lang="mn"] .nav, html[lang="mn"] .hdr .lang { display: none; }
  html[lang="mn"].js .menu-btn:not(.menu-btn--nojs), html[lang="mn"].no-js .menu-btn--nojs { display: inline-block; }
}
@media (max-width: 960px) {
  :root { --hdr-h: 62px; }
  .nav, .hdr .lang { display: none; }
  .js .menu-btn:not(.menu-btn--nojs), .no-js .menu-btn--nojs { display: inline-block; }
  .brand__sig { width: 140px; }
  .brand__seal { width: 26px; }
  .about__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .contact--work .form { order: -1; }
  .honours__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about__side { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: end; }
  .about__fig--studio { width: auto; justify-self: stretch; }
  .ftr__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ftr__brand { grid-column: 1 / -1; }
  .upc, .upc--single { grid-template-columns: minmax(0, 1fr); }
  .past__item { grid-template-columns: 4.2em 110px minmax(0, 1fr); }
  .past__media .pic, .past__media .photo { width: 110px; }
  .past__text { grid-column: 3; }
  .plist__medium { display: none; }
  .buy { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .shows__cols { columns: 1; }
  .newsitem__grid { grid-template-columns: minmax(0, 1fr); }
  .newsitem__media { order: -1; max-width: 640px; }

  .lb { overflow-y: auto; }
  .lb__layout { display: block; height: auto; min-height: 100%; }
  .lb__bar { position: sticky; top: 0; z-index: 3; height: 56px; background: rgba(250, 250, 247, .95); }
  .lb__view { height: auto; padding: 0 var(--gr) 0 var(--gl); }
  .lb__stage { flex: none; height: min(60vh, 540px); height: min(60svh, 540px); }
  .lb[data-mode="paint"] .lb__stage { height: min(62vh, calc((100vw - 2 * var(--gutter)) / var(--lr, 1.4) + 30px)); height: min(62svh, calc((100vw - 2 * var(--gutter)) / var(--lr, 1.4) + 30px)); }
  .lb.is-lowres[data-mode="paint"] .lb__stage { height: min(62vh, 520px); height: min(62svh, 520px); }
  .lb[data-mode="scale"] .lb__stage { height: min(54vh, 440px); height: min(54svh, 440px); }
  .lb__modes { padding-inline: 44px; }
  .rooms { flex-basis: 100%; justify-content: center; padding-left: 0; border-left: 0; }
  .lb__nav { top: auto; bottom: 2px; width: 44px; height: 48px; opacity: .75; }
  .lb__nav--prev { left: calc(var(--gl) - 12px); }
  .lb__nav--next { right: calc(var(--gr) - 12px); }
  .lb__info { overflow: visible; padding: 26px var(--gr) 56px var(--gl); }
  .lb--page { height: auto; min-height: 0; max-height: none; }
  .lb--page .lb__bar { position: static; height: auto; padding-block: 16px 12px; background: none; flex-wrap: wrap; }
}
@media (max-width: 760px) {
  :root { --strip-h: 62px; }
  body { font-size: 17px; }
  .hero { --pm: 4px; --pp: 11px; }
  .hero__grid { padding-top: 18px; padding-bottom: 20px; }
  .hero__title { margin-bottom: 22px; }
  .hero__mark { gap: 12px; margin-bottom: 16px; }
  .hero__sig { width: 170px; }
  .hero__seal { width: 38px; }
  .hero__name { font-size: clamp(34px, 10.4vw, 46px); letter-spacing: .055em; line-height: 1; }
  .hero__name--mn { letter-spacing: .02em; }
  .hero__mn { margin-top: 12px; font-size: 19px; }
  .hero__tag { margin-top: 6px; font-size: 18px; max-width: 20em; }
  .hero__stage { height: calc((100vw - 2 * var(--gutter) - 2 * var(--fp)) / var(--stage-r, 1.4) + 2 * var(--fp)); }
  .cl { display: grid; row-gap: 1px; font-size: 13.5px; }
  .cl > .cl__sep, .cl__meta > .cl__sep { display: none; }
  .cl__title { font-size: 17.5px; margin-bottom: 3px; }
  .cl__meta { display: flex; flex-direction: column; }
  /* status and Inquire share a line when they fit; a long status (Mongolian) never breaks in the middle */
  .cl__sale { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; margin-top: 4px; }
  .cl__sale > .cl__sep { display: none; }
  .cl .status { white-space: nowrap; }
  .sec__head { flex-wrap: wrap; row-gap: 6px; }
  .sec__aside { white-space: normal; }
  .hero__btn { width: 34px; height: 34px; }
  /* the announcement in two fixed lines: what and when, then the title and its action */
  .strip__in {
    position: relative; display: grid; align-content: center;
    grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "kind when when" "title title end";
    gap: 2px 10px; padding-right: 30px;
  }
  .strip__kind { grid-area: kind; font-size: 12.5px; }
  .strip__when { grid-area: when; font-size: 12.5px; }
  .strip__title { grid-area: title; font-size: 17px; }
  .strip__end { grid-area: end; margin-left: 0; gap: 12px; }
  .strip__x { position: absolute; right: calc(var(--gr) - 8px); top: 5px; margin: 0; }

  .sec__title { font-size: 34px; }
  .sec__title--sm { font-size: 30px; }
  .sec__lede { font-size: 17.5px; }
  .series { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gl)) calc(-1 * var(--gr)); padding-inline: var(--gl) var(--gr); scroll-padding-inline: var(--gl) var(--gr); scrollbar-width: none; padding-bottom: 4px; }
  .series::-webkit-scrollbar { display: none; }
  .scard { flex: 0 0 72%; scroll-snap-align: start; }
  .scard__name { font-size: 19px; margin-top: 10px; }
  .work__cap { padding-top: 9px; }
  .cap__title { font-size: 15.5px; }
  .cap__line { font-size: 13.5px; }
  .walk { display: none; }
  .scale__wall:not(.is-laid) { gap: 22px; }
  .scale { margin-top: 14px; }
  .sale-label .wl { padding: 13px 14px 14px; font-size: 14px; }
  .sale-label .wl__title { font-size: 16.5px; }
  .plist thead { display: none; }
  .plist__size, .plist__status, .plist__price { display: none; }
  .plist td, .plist tbody th { padding: 14px 12px 14px 0; vertical-align: top; }
  .plist__thumb { width: 76px; }
  .plist__thumb .pic { height: 52px; width: calc(52px * var(--r)); max-width: 64px; }
  .plist__work a { font-size: 16.5px; }
  .plist__sub { display: block; margin-top: 3px; font: 400 13.5px/1.4 var(--serif); color: var(--grey); }
  .plist__m { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; font: 500 13px/1.3 var(--sans); }
  .plist__act { padding-top: 16px !important; }
  .buy { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .about__grid { display: flex; flex-direction: column; gap: 40px; }
  .about__side { display: contents; }
  .about__fig--portrait { order: -1; }
  .about__fig--studio { order: 2; width: 100%; }
  .path__quote { text-align: left; }
  .about__bio p { font-size: 17.5px; }
  .about__lede { font-size: 21px; }
  .honour { grid-template-columns: minmax(0, 1fr); }
  .honour__year { grid-row: auto; margin-bottom: 10px; }
  .honour__what { grid-column: 1; }
  .honour__name { font-size: 34px; }
  .honours__list { grid-template-columns: minmax(0, 1fr); }
  .upc--single .upc__item { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .upc--single .upc__body { padding-top: 20px; }
  .path__list { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 18px; }
  .path__item { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; padding: 16px 0 18px; }
  .path__when { font-size: 19px; }
  .path__what { margin-top: 0; font-size: 15.5px; }
  .show { grid-template-columns: 4.6em minmax(0, 1fr); }
  .show__kind { grid-column: 2; margin-top: -6px; }
  .signoff__sig { width: 210px; }
  .signoff__seal { width: 64px; }
  .past__item { grid-template-columns: 76px minmax(0, 1fr); gap: 6px 16px; }
  .past__when { grid-column: 1 / -1; }
  .past__when:empty { display: none; }
  .past__media .pic, .past__media .photo { width: 76px; max-height: 76px; }
  .past__text { grid-column: 1 / -1; font-size: 15.5px; }
  .past__title { font-size: 18px; }
  .form { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .form__foot .btn { width: 100%; }
  .chip span { min-height: 40px; padding: 0 14px; }
  .inq__work { padding: 10px; gap: 12px; }
  .inq__thumb { width: 76px; height: 64px; }
  .inq__thumb .pic { width: min(76px, calc(64px * var(--r))); }
  .ftr__in { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-bottom: 40px; }
  .ftr__sig { width: 180px; }
  /* thumb-sized targets for small links */
  .ftr__nav { row-gap: 0; }
  .ftr__nav a { display: inline-block; padding-block: 12px; }
  .crumbs a, .wl__actions .textlink { display: inline-block; padding-block: 13px; margin-block: -13px; }

  /* the inquiry dialog becomes a full-height sheet rising from the bottom */
  .inq {
    width: 100%; height: calc(100% - 10px); height: calc(100dvh - 10px); max-height: none;
    margin: auto 0 0; border-radius: 16px 16px 0 0; overflow: hidden;
  }
  .inq[open] { animation: sheet-in .42s var(--ease); }
  .inq.is-closing { animation: sheet-out .28s var(--ease) forwards; }
  .inq__sheet { height: 100%; max-height: none; border-radius: 16px 16px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  .inq__sheet::before { content: ""; display: block; width: 40px; height: 4px; margin: 10px auto 0; border-radius: 2px; background: rgba(38, 35, 31, .22); }
  .inq .form { padding: 18px var(--gr) 28px var(--gl); }
  .inq__close { top: 18px; right: calc(var(--gr) - 10px); }

  .ghead__title { font-size: 44px; }
  .tools { position: static; }
  .tools__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 14px; align-items: end; }
  .tools__search { grid-column: 1 / -1; }
  .tools__toggle {
    display: inline-flex; align-items: center; gap: 8px; justify-self: start;
    min-height: 40px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px;
    font: 500 14px/1 var(--sans);
  }
  .no-js .tools__toggle { display: none; }
  .tools__n:not(:empty) { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--ink); color: var(--white); font-size: 11.5px; }
  .tools__panel { grid-column: 1 / -1; grid-row: 3; display: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 18px; padding: 6px 0 4px; }
  .tools__panel.is-open, .no-js .tools__panel { display: grid; }
  .tool--avail { grid-column: 1 / -1; }
  .tool__select { max-width: none; width: 100%; }
  .tool--sort { grid-column: 2; grid-row: 2; margin-left: 0; }
  .no-js .tool--sort { grid-column: 1 / -1; }
  .seg { width: 100%; }
  .seg__btn { flex: 1; padding-inline: 6px; }
  .tools__apply { grid-column: 1 / -1; }
  .results { padding-top: 22px; }
  .wphotos { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 359px) {
  .strip__when { display: none; }
}
/* landscape phones: a compact header that scrolls away, a one-line announcement, the entrance side by side */
@media (orientation: landscape) and (max-height: 500px) {
  :root { --hdr-h: 54px; --strip-h: 40px; }
  html { scroll-padding-top: 8px; }
  .hdr { position: relative; }
  .tools { position: static; }
  .brand__sig { width: 124px; }
  .brand__seal { width: 24px; }
  .strip__in { display: flex; padding-right: 0; gap: 4px 16px; }
  .strip__kind, .strip__when { display: none; }
  .strip__title { font-size: 16px; }
  .strip__end { margin-left: auto; }
  .strip__x { position: static; margin: -8px -8px -8px 0; }
  .hero { height: calc(100vh - var(--hdr-h) - var(--strip-top)); height: calc(100svh - var(--hdr-h) - var(--strip-top)); min-height: 280px; max-height: none; }
  .hero__grid { grid-template-columns: minmax(190px, 32%) minmax(0, 1fr) auto auto auto auto; grid-template-rows: minmax(0, 1fr) auto; padding-top: 14px; padding-bottom: 10px; }
  .hero__title { grid-column: 1; grid-row: 1 / span 2; align-self: center; margin: 0 22px 0 0; }
  .hero__name { font-size: clamp(26px, 4vw, 34px); }
  .hero__name span { display: block; }
  .hero__mark { margin-bottom: 10px; }
  .hero__sig { width: 124px; }
  .hero__seal { width: 30px; }
  .hero__mn { margin-top: 8px; font-size: 16px; }
  .hero__tag { margin-top: 4px; font-size: 15px; }
  .hero__stage { grid-column: 2 / -1; grid-row: 1; height: auto; }
  .hero__cap { grid-column: 2; grid-row: 2; padding-top: 8px; }
  .hero__prev, .hero__next, .hero__count, .hero__pause { grid-row: 2; margin-top: 4px; }
  .hero__prev { grid-column: 3; }
  .hero__count { grid-column: 4; }
  .hero__next { grid-column: 5; }
  .hero__pause { grid-column: 6; }
  .lb__bar { height: 48px; }
}
.form__title, .lb__title { text-wrap: balance; }
@keyframes sheet-in { from { transform: translateY(100%); } to { transform: none; } }
@keyframes sheet-out { to { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .js .scale .bay__hang { opacity: 1; transform: none; }
  .hero__slide .fr, .work .pic, .hang-btn .fr, .scard__wall .fr { transform: none !important; }
}

/* The artist's name never breaks inside a word ("TSOLMO / N"): each word stays whole, and the size follows the
   width of the title column itself (container query), so the longest word always fits; the only break allowed is
   between the two words. Browsers without container units keep the viewport clamp above. */
.hero__title { container-type: inline-size; }
.hero__name span { white-space: nowrap; }
@supports (font-size: 1cqi) {
  /* measured: TSOLMON = 5.63em wide, ЦОЛМОН = 4.97em (with letter-spacing) → 17.2cqi / 19.5cqi leave a 3% margin */
  .hero__name { font-size: min(clamp(44px, 4.05vw, 76px), 17.2cqi); }
  .hero__name--mn { font-size: min(clamp(44px, 4.05vw, 76px), 19.5cqi); }
  @media (max-width: 1099px) {
    .hero__name { font-size: min(clamp(40px, 7vw, 72px), 17.2cqi); }
    .hero__name--mn { font-size: min(clamp(40px, 7vw, 72px), 19.5cqi); }
  }
  @media (max-width: 760px) {
    .hero__name { font-size: min(clamp(34px, 10.4vw, 46px), 17.2cqi); }
    .hero__name--mn { font-size: min(clamp(34px, 10.4vw, 46px), 19.5cqi); }
  }
}
