:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #171717;
  --quiet: #777;
  --rule: #dedede;
  --gutter: clamp(20px, 4.2vw, 72px);
  --site-font-family: Arial, Helvetica, sans-serif;
  --gallery-columns: 4;
  --thumbnail-ratio: 3 / 4;
  --editorial-content-width: 1160px;
  --editorial-margin-inline: 0;
  --editorial-text-align: left;
  --audio-player-width: 480px;
  --video-player-width: 960px;
  --video-aspect-ratio: 16 / 9;
}

* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--site-font-family);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
a:focus-visible, button:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

.site-header {
  min-height: 78px;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--rule);
}
.wordmark { flex: 0 0 auto; font-size: 13px; font-weight: 600; letter-spacing: .19em; white-space: nowrap; }
.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: clamp(14px, 2vw, 31px);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.desktop-nav a:hover { color: var(--quiet); }

.nav-dropdown { position: relative; }
.nav-dropdown > summary { list-style: none; cursor: pointer; }
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-dropdown > summary::after { content: "⌄"; margin-left: 5px; }
.nav-submenu {
  position: absolute; z-index: 10; top: calc(100% + 9px); left: 0;
  min-width: 220px; padding: 14px 16px; display: grid; gap: 13px;
  border: 1px solid var(--rule); background: var(--paper);
  font-size: 10px; letter-spacing: .06em; text-transform: none;
}
.nav-submenu a { white-space: nowrap; }
.nav-submenu a:hover { color: var(--quiet); }
.mobile-menu { display: none; }
main { padding: 0 var(--gutter) 80px; }
.page-heading {
  margin: 48px 0 34px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
}
.page-heading h1 { margin: 0; font-size: 12px; font-weight: 400; letter-spacing: .15em; text-transform: uppercase; }
.page-heading p { margin: 0; color: var(--quiet); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.archive-filters {
  margin: 0 0 34px;
  padding: 14px 0;
  display: flex;
  gap: 10px 24px;
  overflow-x: auto;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  scrollbar-width: thin;
}
.archive-filter {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--quiet);
  cursor: pointer;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.archive-filter[aria-pressed="true"] { color: var(--ink); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(var(--gallery-columns), minmax(0, 1fr));
  gap: 46px 22px;
}
.artwork-card { min-width: 0; }
.artwork-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.artwork-image-wrap {
  width: 100%;
  height: auto;
  aspect-ratio: var(--thumbnail-ratio);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
}
.artwork-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 150ms ease;
}
.artwork-open:hover .artwork-image { opacity: 1; }
.artwork-caption { padding-top: 12px; }
.artwork-title { margin: 0; font-size: 11px; font-weight: 400; line-height: 1.5; }
.artwork-year { margin: 4px 0 0; color: var(--quiet); font-size: 10px; letter-spacing: .04em; }
.empty-message { padding: 48px 0; color: var(--quiet); font-size: 12px; }

.viewer {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
}
.viewer::backdrop { background: rgba(255,255,255,.985); }
.viewer-frame { position: relative; width: 100%; height: 100%; padding: 70px 90px 38px; display: grid; grid-template-rows: minmax(0,1fr) auto; }
.viewer-close {
  position: absolute;
  top: 25px;
  right: 35px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 28px;
  font-weight: 200;
  line-height: 1;
}
.viewer-image-stage { min-height: 0; display: grid; place-items: center; overflow: hidden; }
.viewer-image { display: block; max-width: calc(100vw - 180px); max-height: calc(100dvh - 185px); width: auto; height: auto; object-fit: contain; }
.viewer-arrow {
  position: absolute;
  z-index: 1;
  top: 50%;
  width: 52px;
  height: 70px;
  transform: translateY(-50%);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #555;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 300;
}
.viewer-arrow:hover, .viewer-close:hover { color: #999; }
.viewer-prev { left: 20px; }
.viewer-next { right: 20px; }
.viewer-caption { min-height: 70px; padding-top: 20px; display: grid; grid-template-columns: 1fr auto; gap: 16px; border-top: 1px solid var(--rule); }
.viewer-title { margin: 0; font-size: 12px; font-weight: 400; letter-spacing: .04em; }
.viewer-details { margin: 6px 0 0; color: var(--quiet); font-size: 10px; line-height: 1.5; }
.viewer-count { color: var(--quiet); font-size: 10px; letter-spacing: .08em; }

@media (max-width: 1000px) { .gallery-grid { grid-template-columns: repeat(min(3, var(--gallery-columns)), minmax(0,1fr)); } }
@media (max-width: 700px), (max-height: 700px) and (hover: none) and (pointer: coarse) {:where(html:not([data-site-device])) .site-header{ min-height: 64px; }:where(html:not([data-site-device])) .desktop-nav{ display: none; }:where(html:not([data-site-device])) .mobile-menu{ display: block; position: relative; }:where(html:not([data-site-device])) .mobile-menu summary{ list-style: none; cursor: pointer; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }:where(html:not([data-site-device])) .mobile-menu summary::-webkit-details-marker{ display: none; }:where(html:not([data-site-device])) .mobile-nav{ position: absolute; z-index: 4; top: 26px; right: 0; min-width: 180px; padding: 14px 18px; display: grid; gap: 17px; border: 1px solid var(--rule); background: var(--paper); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }:where(html:not([data-site-device])) .mobile-nav .nav-dropdown{ position: static; }:where(html:not([data-site-device])) .mobile-nav .nav-submenu{ position: static; min-width: 0; margin: 12px 0 0 8px; padding: 4px 0 4px 12px; border: 0; border-left: 1px solid var(--rule); background: transparent; gap: 12px; }:where(html:not([data-site-device])) .mobile-nav .nav-submenu a{ white-space: normal; }:where(html:not([data-site-device])) .page-heading{ margin: 34px 0 24px; }:where(html:not([data-site-device])) .gallery-grid{ grid-template-columns: repeat(min(2, var(--gallery-columns)), minmax(0,1fr)); gap: 30px 12px; }:where(html:not([data-site-device])) .artwork-image-wrap{ aspect-ratio: var(--thumbnail-ratio); }:where(html:not([data-site-device])) .viewer-frame{ padding: 68px 20px 22px; }:where(html:not([data-site-device])) .viewer-image{ max-width: calc(100vw - 40px); max-height: calc(100dvh - 165px); }:where(html:not([data-site-device])) .viewer-close{ top: 16px; right: 17px; }:where(html:not([data-site-device])) .viewer-arrow{ top: auto; bottom: 22px; width: 42px; height: 46px; transform: none; font-size: 32px; }:where(html:not([data-site-device])) .viewer-prev{ left: 10px; }:where(html:not([data-site-device])) .viewer-next{ right: 10px; }:where(html:not([data-site-device])) .viewer-caption{ min-height: 65px; padding: 17px 47px 0; grid-template-columns: 1fr auto; }:where(html:not([data-site-device])) .archive-filters{ gap: 10px 18px; }
}
:where(html[data-site-device="mobile"]) .site-header{ min-height: 64px; }:where(html[data-site-device="mobile"]) .desktop-nav{ display: none; }:where(html[data-site-device="mobile"]) .mobile-menu{ display: block; position: relative; }:where(html[data-site-device="mobile"]) .mobile-menu summary{ list-style: none; cursor: pointer; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }:where(html[data-site-device="mobile"]) .mobile-menu summary::-webkit-details-marker{ display: none; }:where(html[data-site-device="mobile"]) .mobile-nav{ position: absolute; z-index: 4; top: 26px; right: 0; min-width: 180px; padding: 14px 18px; display: grid; gap: 17px; border: 1px solid var(--rule); background: var(--paper); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }:where(html[data-site-device="mobile"]) .mobile-nav .nav-dropdown{ position: static; }:where(html[data-site-device="mobile"]) .mobile-nav .nav-submenu{ position: static; min-width: 0; margin: 12px 0 0 8px; padding: 4px 0 4px 12px; border: 0; border-left: 1px solid var(--rule); background: transparent; gap: 12px; }:where(html[data-site-device="mobile"]) .mobile-nav .nav-submenu a{ white-space: normal; }:where(html[data-site-device="mobile"]) .page-heading{ margin: 34px 0 24px; }:where(html[data-site-device="mobile"]) .gallery-grid{ grid-template-columns: repeat(min(2, var(--gallery-columns)), minmax(0,1fr)); gap: 30px 12px; }:where(html[data-site-device="mobile"]) .artwork-image-wrap{ aspect-ratio: var(--thumbnail-ratio); }:where(html[data-site-device="mobile"]) .viewer-frame{ padding: 68px 20px 22px; }:where(html[data-site-device="mobile"]) .viewer-image{ max-width: calc(100vw - 40px); max-height: calc(100dvh - 165px); }:where(html[data-site-device="mobile"]) .viewer-close{ top: 16px; right: 17px; }:where(html[data-site-device="mobile"]) .viewer-arrow{ top: auto; bottom: 22px; width: 42px; height: 46px; transform: none; font-size: 32px; }:where(html[data-site-device="mobile"]) .viewer-prev{ left: 10px; }:where(html[data-site-device="mobile"]) .viewer-next{ right: 10px; }:where(html[data-site-device="mobile"]) .viewer-caption{ min-height: 65px; padding: 17px 47px 0; grid-template-columns: 1fr auto; }:where(html[data-site-device="mobile"]) .archive-filters{ gap: 10px 18px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; } }
