@font-face {
  font-family: 'Nunito Sans';
  src: url('../fonts/nunito-sans-variable.ttf') format('truetype');
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito Sans';
  src: url('../fonts/nunito-sans-italic-variable.ttf') format('truetype');
  font-style: italic;
  font-weight: 200 1000;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #181818;
  --muted: #737373;
  --edge: clamp(24px, 2.4vw, 44px);
  --rail: clamp(200px, 17vw, 270px);
  --gap: clamp(24px, 3vw, 56px);
}
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); font-family: 'Nunito Sans', Arial, sans-serif; font-size: 13px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
a:focus-visible { outline: 1px solid currentColor; outline-offset: 6px; }
p, h1, figure { margin: 0; }
.gallery-layout { min-height: 100vh; min-height: 100svh; padding: 30px var(--edge) 28px; display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); grid-template-rows: auto 1fr auto; column-gap: var(--gap); row-gap: 40px; }
.identity { grid-column: 1; grid-row: 1; font-size: 16px; font-weight: 800; letter-spacing: .07em; }
.navigation { grid-column: 2; grid-row: 1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; font-family: 'Nunito Sans', Arial, sans-serif; font-size: 15px; font-weight: 300; }
.navigation a { white-space: nowrap; }
.contact-block { grid-column: 1; grid-row: 3; align-self: end; z-index: 1; }
.logo-link { display: inline-block; margin-bottom: 0px; }
.logo-link img { display: block; width: 70px; height: 70px; object-fit: contain; object-position: left center; }
address { font-size: 11px; font-style: normal; line-height: 1.65; overflow-wrap: anywhere; }
.skip-link { position: absolute; left: 24px; top: -100px; background: white; padding: 8px; z-index: 5; }
.skip-link:focus { top: 8px; }

.navigation [aria-current]{text-decoration:underline;text-underline-offset:4px}
.archive{grid-column:1/-1;display:grid;grid-template-columns:var(--rail) minmax(0,1fr);gap:var(--gap);align-items:start}
.archive h1,.archive h2,.archive h3{font-size:15px;font-weight:600;margin:0}
.archive-years{position:sticky;top:24px;max-height:calc(100vh - 48px);overflow:auto;padding:5px}
.archive-years nav{display:grid;gap:6px;margin-top:16px;justify-items:start}
.year-group{scroll-margin-top:24px;margin-bottom:46px}.year-group h2{margin-bottom:16px}
.works{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 24px}
.works svg{display:block;width:100%;height:100%}.frame{aspect-ratio:4/3;margin-bottom:10px}
.works time{font-size:12px;color:#555}
@media(max-width:1000px){:root{--rail:170px}.works{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.gallery-layout,.archive{display:flex;flex-direction:column;gap:26px}.gallery-layout{padding:24px}.archive-years{position:static;max-height:none;padding:0}.archive-years nav{display:flex;flex-wrap:wrap;gap:8px 16px}.works{grid-template-columns:1fr}.groups{width:100%}.navigation{gap:8px 18px}}

.frame{overflow:hidden}.frame svg{overflow:hidden}.frame img{width:100%;height:100%;object-fit:cover}
@media(min-width:641px){
.gallery-layout{height:100vh;height:100dvh;min-height:0;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}
.archive{grid-column:1/-1;grid-row:2/4;grid-template-rows:subgrid;row-gap:inherit;min-height:0;align-items:stretch}
.archive-years{grid-column:1;grid-row:1;position:static;min-height:0;max-height:none;overflow:auto}
.groups{grid-column:2;grid-row:1/3;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.contact-block{position:relative}
}
@media(min-width:641px){
.gallery-layout{--edge:clamp(30px,3vw,54px)}
.archive-years{align-self:center;max-height:100%;padding:4px 0}
.archive-years a:focus-visible{outline-offset:-1px}
.groups{scrollbar-gutter:auto}
}

@media (min-width: 641px) {
  .archive .groups {
    --scroll-space: 18px;
    --extra-right-space: 20px;

    margin-inline-end: calc(-1 * var(--scroll-space));
    padding-inline-end: calc(var(--scroll-space) + var(--extra-right-space));
    scrollbar-color: #c3c0c0 transparent;
  }
}

@media (min-width: 1001px) {
  .archive .works {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: calc(clamp(240px, 40vh, 380px) * 3 + 48px);
    column-gap: 24px;
  }

  .archive .year-group {
    margin-bottom: 32px;
  }

  .archive .year-group h2 {
    margin-bottom: 12px;
  }
}

@media (min-width: 1001px) {
  .archive .works {
    grid-template-columns: repeat(auto-fill, 240px);
    justify-content: start;
  }
}



/* Exhibition detail */
.exhibition-detail-page .back {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
}
.exhibition-detail-page .detail {
  grid-column: 2;
  grid-row: 2/4;
  overflow: auto;
  min-height: 0;
  min-width: 0;
  padding-right: 12px;
}
.exhibition-detail-page .album-heading {
  min-width: 0;
  max-height: 26vh;
  overflow: auto;
  overflow-wrap: anywhere;
}

.exhibition-detail-page .detail h1,
.exhibition-detail-page .album-heading > span {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}
.exhibition-detail-page .detail h1 {
  margin: 0 0 3px;
}
.exhibition-detail-page .artists,
.exhibition-detail-page .statement {
  font-weight: 400;
}
.exhibition-detail-page .dates,
.exhibition-detail-page figcaption {
  font-size: 12px;
  color: #555;
}
.exhibition-detail-page .dates {
  margin-top: 3px;
}
.exhibition-detail-page .statement {
  font-size: 14px;
  line-height: 1.75;
  max-width: 62ch;
  margin-top: 26px;
}
.exhibition-detail-page .statement p + p {
  margin-top: 1em;
}
.exhibition-detail-page .detail section {
  margin-top: 40px;
}
.exhibition-detail-page .detail h2 {
  font-size: 14px;
  font-weight: 600;
}
.exhibition-detail-page .pieces {
  --preview-height: 180px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 15px;
}
.exhibition-detail-page .pieces figure {
  flex: 0 0 auto;
  max-width: 100%;
  margin: 0;
}
.exhibition-detail-page .thumb {
  display: block;
  cursor: zoom-in;
}
.exhibition-detail-page .thumb img {
  display: block;
  width: auto;
  max-width: 100%;
  height: var(--preview-height);
  object-fit: contain;
  object-position: left top;
}
.exhibition-detail-page .catalog-link {
  margin-top: 18px;
  padding-bottom: 60px;

}
.exhibition-detail-page .catalog-link a {
  text-decoration: none;
  text-underline-offset: 3px;
  font-size: 13px;
  font-weight: 300;
}
.exhibition-detail-page .catalog-link a:hover,
.exhibition-detail-page .catalog-link a:focus-visible {
  text-decoration: underline;
}
.exhibition-detail-page .statement :is(i, em) {
  font-style: italic;
}
.exhibition-detail-page .statement :is(b, strong) {
  font-weight: 700;
}
.exhibition-detail-page figcaption {
  margin: 8px 0 4px;
}
@media (max-width: 700px) {
  .exhibition-detail-page .pieces figure {
    flex-basis: 100%;
  }
  .exhibition-detail-page .thumb img {
    height: auto;
    max-height: 65vh;
  }
}
@media (max-width: 640px) {
  .exhibition-detail-page .back {
    align-self: start;
  }
  .exhibition-detail-page .detail {
    overflow: visible;
    padding: 0;
  }
}
.exhibition-detail-page dialog {
  position: fixed;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  max-width: 100vw;
  max-height: 100%;
  box-sizing: border-box;
  overflow: hidden;
  border: 0;
  padding: clamp(16px, 3vw, 42px);
  background: #faf9f7;
  color: #191919;
}
.exhibition-detail-page dialog[open] {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 16px;
}
.exhibition-detail-page .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.exhibition-detail-page dialog button {
  font: inherit;
  color: inherit;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
}
.exhibition-detail-page .stage {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  touch-action: pan-y;
}
.exhibition-detail-page .stage img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.exhibition-detail-page .bar span {
  min-width: 0;
  overflow-wrap: anywhere;
  max-height: 18vh;
  overflow: auto;
}
.exhibition-detail-page .controls {
  white-space: nowrap;
}
body.exhibition-detail-page:has(dialog[open]) {
  overflow: hidden;
}

/* ‌Artist List */
.artist-directory .directory-heading { position:absolute; width:1px; height:1px; padding:0; border:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.artist-directory .archive-years p, .artist-directory li { font-size:15px; font-weight:300; }
.artist-directory .groups section { margin-bottom:30px; }
.artist-directory .groups ul { list-style:none; margin:9px 0 0; padding:0; line-height:1.65; }
.artist-directory .groups a:focus-visible { text-decoration:underline; text-underline-offset:4px; }

/* Contact page only */
.contact-copy{align-self:center;grid-column:1;grid-row:2;max-height:100%;overflow:auto;font-size:15px;font-weight:250;line-height:1.45}
.contact-main{grid-column:2;grid-row:2;display:flex;flex-direction:column;min-height:0;overflow:auto}
.contact-main .panel{width:min(100%,420px);margin-block:auto;flex:none}.contact-main .modes{display:flex;gap:20px;margin-bottom:22px}.contact-main button{font:inherit;color:inherit;background:white;border:1px solid;padding:7px 16px;justify-self:start}.contact-main .modes button{cursor:pointer;border:0;padding:0}.contact-main [aria-pressed=true]{text-decoration:underline;text-underline-offset:4px}.contact-main .stack{display:grid}.contact-main form{grid-area:1/1;align-self:start;display:grid;gap:18px}.contact-main form[inert]{visibility:hidden}.contact-main label{display:grid;gap:5px}.contact-main small{color:#666}.contact-main small:empty{display:none}.contact-main input,.contact-main textarea{box-sizing:border-box;min-width:0;width:100%;background:white;color:inherit;border:1px solid #aaa;padding:8px;font:inherit}.contact-main textarea{resize:vertical}
@media(max-width:640px){.contact-copy{align-self:start}.contact-main{width:100%;overflow:visible}.contact-main form[inert]{display:none}}

/* About only — append to media/static/css/pages.css */
.about-page .about-rail{grid-column:1;grid-row:2;align-self:center}
.about-page .about-rail h1{margin:0;font-size:15px;font-weight:250;line-height:1.45}
.about-page .about-main{grid-column:2;grid-row:2/4;min-height:0;overflow:auto;padding-bottom:20px}
.about-page .about-story{width:min(100%,780px);font-size:15px;font-weight:300;line-height:1.65;overflow-wrap:anywhere}
.about-page .about-story p{margin:0 0 14px}
.about-page .about-story p:not(:has(img)){max-width:58ch}
.about-page .about-story figure{margin:0}
.about-page .about-story img{display:block;width:auto;max-width:100%;height:auto;margin:0 0 20px}
.about-page .about-plan a{font-size:14px;font-weight:400;color:inherit;text-decoration:none;text-underline-offset:3px}
.about-page .about-plan a:hover,.about-page .about-plan a:focus-visible{text-decoration:underline}
@media(max-width:640px){.about-page .about-rail{align-self:start}.about-page .about-main{width:100%;overflow:visible}}
.about-page .about-plan a {
  font-size: 13px;
  font-weight: 300;
}

.about-page .about-story img { width: revert; max-width: 100%; height: auto; }
.about-page .about-story figure { max-width: 100%; }
.about-page .about-story figure[style] img:not([width]):not([style]) { width: 100%; }
@media (min-width:641px) {
  .about-page .about-story { width:min(100%,1000px); }
  .about-page .about-story p:not(:has(img)) { max-width:700px; }
}
/* Preserve numeric HTML width attributes despite the base stylesheet. */
.about-page .about-story img[width] { width: attr(width px, auto); }



/* contact-feedback */
.contact-page .contact-main form[inert] { display: none; }
.contact-page .contact-main button[type="submit"]:enabled { cursor: pointer; }
.contact-page .contact-main button[type="submit"]:enabled:hover { background: #f5f5f5; }
.contact-page .contact-main button[type="submit"]:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.contact-page .contact-main .contact-feedback { margin: 12px 0 0; font-family: inherit; font-size: 13px; font-weight: 300; line-height: 1.45; }
.contact-page .contact-feedback :is(ul,li) { margin: 0; padding: 0; list-style: none; font: inherit; }