:root {
  --bg: #000;
  --fg: #e8e8e8;
  --muted: #8b8b8b;
  --line: rgba(232, 232, 232, 0.22);
  --panel: rgba(255, 255, 255, 0.055);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.38;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
.news-title:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.site-header {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 20;
  width: 245px;
  padding: 26px;
}

.brand {
  display: block;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.nav,
.home-links {
  display: grid;
  gap: 2px;
  width: max-content;
  text-transform: uppercase;
}

.resource-subnav {
  display: none;
  gap: 2px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 11px;
}

.resource-subnav.is-visible:not(:empty) {
  display: grid;
}

.resource-subnav button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}

.resource-subnav button.is-active {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.home {
  min-height: 100vh;
  padding: 0;
}

.home h1 {
  margin: 0 0 24px;
  font: inherit;
  text-transform: uppercase;
}

.section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 112px 26px 90px 260px;
}

.split-section,
.artworks-section {
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.artworks-section {
  width: 100%;
  max-width: none;
  padding-right: 0;
  padding-left: 0;
  grid-template-columns: 260px minmax(0, 1fr);
}

.artworks-section .section-title {
  grid-column: 2;
}

.section-title {
  position: sticky;
  top: 26px;
}

.section-title h2 {
  margin: 0;
  font: inherit;
  text-transform: uppercase;
}

.content-column {
  max-width: 760px;
}

.content-column img {
  width: min(220px, 45vw);
  height: auto;
  float: right;
  margin: 0 0 18px 22px;
  filter: grayscale(1);
}

.bio-portrait {
  float: right;
  width: min(360px, 48vw);
  margin: 0 0 18px 24px;
}

.bio-portrait img {
  float: none;
  display: block;
  width: 100%;
  margin: 0;
  filter: none;
}

.portrait-credit {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.2;
}

.content-column p {
  margin: 0 0 1.15em;
}

.content-column h3,
.content-column h4 {
  margin: 0;
  font: inherit;
}

.works-preview {
  position: relative;
  width: 100%;
  min-height: 100vh;
  margin: 0 0 28px;
  overflow: hidden;
  background: #080808;
}

.artworks-section .works-preview {
  grid-column: 1 / -1;
}

.artworks-section .section-title {
  z-index: 3;
  color: #fff;
  mix-blend-mode: difference;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 700ms ease;
}

.hero-image.is-active {
  opacity: 1;
}

.hero-controls {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 11px;
}

.hero-controls button {
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.artworks-frame {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 100vh;
  background: #fff;
}

.artworks-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  margin-bottom: 1px;
}

.artworks-grid figure {
  position: relative;
  min-height: 58vh;
  margin: 0;
  overflow: hidden;
  background: #080808;
  cursor: zoom-in;
}

.artworks-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(0, 0, 0, 0.94);
}

.image-lightbox.is-open {
  display: flex;
}

.image-lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  text-transform: uppercase;
  cursor: pointer;
}

.archive-link {
  display: block;
  padding: 12px 26px;
  background: #000;
  color: #fff;
  text-transform: uppercase;
}

.artworks-frame iframe {
  display: block;
  width: 100%;
  height: 2200px;
  border: 0;
}

.news-list {
  max-width: 820px;
  column-width: 315px;
  column-gap: 38px;
}

.resources-panel {
  max-width: 960px;
}

.resource-list {
  display: grid;
  gap: 0;
}

.resource-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 24px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}

.resource-row a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.resource-date,
.resource-title {
  color: var(--muted);
}

.resource-empty {
  color: var(--muted);
}

.news-list p,
.news-list div {
  break-inside: avoid;
}

.news-list b,
.news-list strong {
  font-weight: 400;
}

.resource-tag {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  cursor: pointer;
}

.resource-tag:hover,
.resource-tag:focus {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  background: rgba(0, 0, 0, 0.82);
}

.modal-content {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 41;
  display: none;
  width: min(92vw, 760px);
  max-height: 84vh;
  overflow: auto;
  transform: translate(-50%, -50%);
  padding: 26px;
  background: #000;
  border: 1px solid var(--line);
  column-span: all;
}

.modal-content h3,
.modal-content h4 {
  margin: 0 0 12px;
  font: inherit;
  text-transform: uppercase;
}

.modal-content a {
  display: block;
  padding: 7px 0;
  border-top: 1px solid var(--line);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.modal-content a[href="#"]:not(.close),
.modal-content .empty-resource {
  display: none;
}

.modal-content .close {
  margin-top: 22px;
  cursor: pointer;
  color: var(--muted);
}

.modal-content.is-open,
.modal-overlay.is-open {
  display: block;
}

.newsletter-form {
  max-width: 520px;
}

.newsletter-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  text-transform: uppercase;
}

.newsletter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.newsletter-form input,
.newsletter-form button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--fg);
  font: inherit;
}

.newsletter-form input {
  width: 100%;
  padding: 7px 9px;
}

.newsletter-form button {
  padding: 7px 12px;
  cursor: pointer;
  text-transform: uppercase;
}

.newsletter-form button:hover {
  background: var(--fg);
  color: var(--bg);
}

.newsletter-form p {
  min-height: 18px;
  margin: 10px 0 0;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 34px;
}

.contact-grid .contact-primary {
  grid-column: 1 / -1;
  font-size: 15px;
}

.contact-grid > * {
  min-width: 0;
}

.contact-grid a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.loading {
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 840px) {
  .site-header {
    position: sticky;
    inset: 0 0 auto;
    width: 100%;
    padding: 14px 18px 12px;
    background: #000;
  }

  .brand {
    margin-bottom: 10px;
  }

  .nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    width: auto;
    max-width: 100%;
  }

  .resource-subnav {
    flex-basis: 100%;
    margin-top: 4px;
  }

  .resource-subnav.is-visible:not(:empty) {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
  }

  .home {
    min-height: calc(100svh - 94px);
    padding: 0;
  }

  .works-preview {
    min-height: calc(100svh - 94px);
  }

  .hero-image {
    object-fit: contain;
    object-position: center;
  }

  .section {
    padding: 56px 18px 64px;
    scroll-margin-top: 112px;
  }

  .split-section,
  .artworks-section {
    grid-template-columns: 1fr;
  }

  .section-title,
  .works-preview,
  .artworks-frame {
    grid-column: 1;
  }

  .section-title {
    position: static;
    margin-bottom: 18px;
  }

  .content-column img {
    float: none;
    display: block;
    margin: 0 0 18px;
  }

  .bio-portrait {
    float: none;
    width: 100%;
    margin: 0 0 18px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .artworks-grid {
    grid-template-columns: 1fr;
  }

  .artworks-grid figure {
    height: 100svh;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .artworks-grid img {
    object-fit: contain;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 12px;
  }

  .newsletter-row {
    grid-template-columns: 1fr;
  }

  .news-list {
    column-width: auto;
  }

  .site-footer {
    display: block;
  }

  .resource-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .modal-content {
    inset: 0;
    width: 100vw;
    max-height: none;
    height: 100vh;
    transform: none;
    padding: 24px 20px;
  }
}
