.art-page {
  color: #fff;
  background: #050505;
}
.art-page .site-header { border-bottom-color: #262626; }
.art-page .desktop-nav a[aria-current="page"] { color: var(--accent); }
.art-hero {
  position: relative;
  min-height: 100vh;
  padding: 4px;
  background: #050505;
}
.art-hero-copy {
  position: absolute;
  z-index: 3;
  top: 8vw;
  left: 4vw;
  max-width: 92vw;
  pointer-events: none;
}
.art-hero-copy p,
.art-hero-copy span {
  margin: 0;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.art-hero-copy span {
  position: absolute;
  left: calc(100% + 2rem);
  bottom: 1.2rem;
  width: 240px;
  color: rgba(255,255,255,.72);
}
.art-hero h1 {
  margin: -.02em 0 0;
  font-family: var(--display);
  font-size: clamp(9rem, 29vw, 31rem);
  font-weight: 400;
  line-height: .76;
  letter-spacing: -.08em;
}
.art-piece { margin: 0; }
.art-piece-hero {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: flex-end;
}
.art-piece-hero .art-media {
  width: min(74vw, 1180px);
  height: 76vh;
  margin-left: auto;
}
.art-media {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 0;
  border: 0;
  color: inherit;
  background: #111;
  cursor: crosshair;
}
.art-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.art-lens {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 50%;
  background-repeat: no-repeat;
  box-shadow: 0 10px 40px rgba(0,0,0,.35);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%,-50%);
  transition: opacity .15s ease;
}
.art-media:hover .art-lens { opacity: 1; }
.art-piece figcaption {
  display: flex;
  justify-content: space-between;
  padding: .8rem 0 2.5rem;
  border-top: 1px solid rgba(255,255,255,.45);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.art-piece-hero figcaption {
  width: min(74vw, 1180px);
  margin-left: auto;
}
.art-gallery {
  padding: 11rem 4vw;
  border-top: 1px solid #242424;
}
.art-piece-wide {
  width: min(92vw, 1500px);
  margin: 0 auto;
}
.art-piece-wide .art-media {
  width: 100%;
  aspect-ratio: 3 / 2;
}
.art-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8vw;
  align-items: start;
  max-width: 1280px;
  margin: 14rem auto;
}
.art-piece-tall .art-media { aspect-ratio: 2 / 3; }
.art-piece-lower { margin-top: 18rem; }
.art-piece-portrait {
  width: min(58vw, 900px);
  margin: 14rem auto;
}
.art-piece-portrait .art-media { aspect-ratio: 2 / 3; }
.art-piece-cinematic {
  width: min(96vw, 1680px);
  margin: 8rem auto 16rem;
}
.art-piece-cinematic .art-media { aspect-ratio: 3 / 2; }
.art-piece-offset {
  width: min(74vw, 1220px);
  margin: 0 0 16rem auto;
}
.art-piece-offset .art-media { aspect-ratio: 3 / 2; }
.art-finale {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 6vw;
  align-items: end;
  max-width: 1460px;
  margin: 0 auto 6rem;
}
.art-piece-geometric .art-media { aspect-ratio: 16 / 9; }
.art-piece-square .art-media { aspect-ratio: 1 / 1; }
.art-finale figcaption { padding-bottom: 0; }
.art-finale-single {
  display: block;
  width: min(72vw, 1080px);
}
.art-new-series {
  margin-top: 16rem;
  padding-top: 10rem;
  border-top: 1px solid #242424;
}
.art-piece-new-wide {
  width: min(96vw, 1680px);
  margin: 0 auto;
}
.art-piece-new-wide .art-media { aspect-ratio: 3 / 2; }
.art-new-pair {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 8vw;
  align-items: center;
  max-width: 1460px;
  margin: 14rem auto 5rem;
}
.art-piece-forest .art-media { aspect-ratio: 3 / 2; }
.art-piece-red {
  width: 78%;
  justify-self: end;
}
.art-piece-red .art-media { aspect-ratio: 2 / 3; }
.art-page footer a[aria-current="page"] { color: var(--accent); }
.art-page footer nav a:hover { color: var(--accent); }
.art-piece .art-media:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}
.art-viewer {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  padding: 3rem;
  border: 0;
  color: #fff;
  background: rgba(5,5,5,.98);
}
.art-viewer::backdrop { background: #050505; }
.art-viewer img {
  width: 100%;
  height: calc(100vh - 8rem);
  object-fit: contain;
}
.art-viewer p {
  margin: .7rem 0 0;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.art-viewer-close {
  position: fixed;
  z-index: 2;
  top: 1rem;
  right: 1rem;
  padding: .7rem 1rem;
  border: 1px solid #777;
  color: #fff;
  background: #090909;
  cursor: pointer;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .art-hero-copy { top: 4rem; }
  .art-hero-copy span { display: none; }
  .art-hero h1 { font-size: 36vw; }
  .art-piece-hero { padding-top: 11rem; }
  .art-piece-hero .art-media,
  .art-piece-hero figcaption { width: 92vw; }
  .art-piece-hero .art-media { height: 72vh; }
  .art-gallery { padding: 7rem 4vw; }
  .art-pair {
    gap: 4vw;
    margin: 8rem auto;
  }
  .art-piece-lower { margin-top: 8rem; }
  .art-piece-portrait {
    width: min(68vw, 820px);
    margin: 9rem auto;
  }
  .art-piece-cinematic { margin: 6rem auto 9rem; }
  .art-piece-offset {
    width: 84vw;
    margin-bottom: 9rem;
  }
  .art-finale { gap: 4vw; }
  .art-new-series {
    margin-top: 10rem;
    padding-top: 7rem;
  }
  .art-new-pair {
    gap: 5vw;
    margin-top: 9rem;
  }
}
@media (max-width: 700px), (pointer: coarse) {
  .art-lens { display: none; }
  .art-media { cursor: zoom-in; }
  .art-piece-hero .art-media { height: 64vh; }
  .art-piece figcaption { font-size: .68rem; }
  .art-pair,
  .art-finale {
    grid-template-columns: 1fr;
    gap: 5rem;
  }
  .art-pair { margin: 6rem auto; }
  .art-piece-lower { margin-top: 0; }
  .art-piece-portrait {
    width: 88vw;
    margin: 7rem auto;
  }
  .art-piece-cinematic {
    width: 92vw;
    margin: 4rem auto 7rem;
  }
  .art-piece-offset {
    width: 92vw;
    margin: 0 auto 7rem;
  }
  .art-finale { margin-bottom: 2rem; }
  .art-new-series {
    margin-top: 7rem;
    padding-top: 5rem;
  }
  .art-piece-new-wide { width: 92vw; }
  .art-new-pair {
    grid-template-columns: 1fr;
    gap: 5rem;
    margin: 7rem auto 2rem;
  }
  .art-piece-red {
    width: 72vw;
    justify-self: end;
  }
  .art-viewer { padding: 1rem; }
  .art-viewer img { height: calc(100vh - 5rem); }
}
