﻿:root {
  --paper: #f5f4f0;
  --ink: #171717;
  --muted: #66645f;
  --line: #d5d3cd;
  --blue: #2020d8;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button:hover,
a:hover {
  color: var(--blue);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
}
button:disabled {
  opacity: 0.35;
  cursor: default;
}
[hidden] {
  display: none !important;
}
.skip {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 10;
  background: var(--paper);
  padding: 15px;
}
.skip:focus {
  top: 12px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 0 3.2%;
  padding: 29px 0 25px;
  border-bottom: 1px solid var(--line);
  gap: 25px;
}
.identity {
  font-size: 29px;
  font-weight: 700;
  letter-spacing: -1.9px;
  white-space: nowrap;
  line-height: 1;
}
.identity-dot {
  font-size: 11px;
  vertical-align: top;
  letter-spacing: 0;
  margin-left: 5px;
}
.header-note,
.eyebrow,
header nav,
.viewer-meta,
.caption,
.archive-label,
.series-title,
.empty p,
footer,
.action,
.pager,
.media-strip {
  font-family: "Courier New", monospace;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.035em;
}
.header-note {
  margin-right: auto;
  margin-left: 9%;
  color: var(--muted);
}
header nav {
  display: flex;
  gap: 31px;
}
header nav button span {
  margin-left: 13px;
}
#viewer {
  outline: none;
}

.artist-intro {
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr);
  gap: clamp(40px, 8vw, 150px);
  padding: 44px 3.2% 60px;
  align-items: start;
}
.artist-intro h1,
.artist-intro h2 {
  margin: 0 0 24px;
  font-weight: 400;
  color: var(--muted);
}
.artist-statement .statement {
  max-width: 68ch;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.6;
  letter-spacing: -0.2px;
}
.artist-contact {
  min-width: 0;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.contact-name {
  margin: 0 0 12px;
  font-size: 23px;
  letter-spacing: -0.7px;
}
.contact-email {
  display: block;
  width: fit-content;
  font-size: clamp(14px, 1.3vw, 19px);
  overflow-wrap: anywhere;
  border-bottom: 1px solid var(--line);
  padding-bottom: 5px;
  margin-bottom: 22px;
}
.artist-contact .action {
  display: table;
  margin-top: 8px;
}
.portfolio-heading {
  margin: 0 0 28px;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 400;
  letter-spacing: -1.6px;
}
@media (max-width: 767px) {
  header {
    flex-wrap: wrap;
  }
  header nav {
    width: 100%;
    justify-content: space-between;
  }
  .artist-intro {
    grid-template-columns: minmax(0, 1fr);
    padding: 32px 5% 40px;
    gap: 32px;
  }
  .artist-intro h1,
  .artist-intro h2 {
    margin-bottom: 18px;
  }
  .artist-contact {
    padding: 24px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .artist-contact .action {
    display: inline-flex;
    margin: 0 24px 0 0;
  }
}

.action {
  display: inline-block;
  padding: 10px 0;
  border-bottom: 1px solid currentColor;
}
.viewer-work {
  padding: 24px 3.2% 32px;
  animation: appear 0.4s ease;
}
.viewer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.viewer-meta {
  color: var(--muted);
}
.work-layout {
  display: grid;
  grid-template-columns: 1fr 2.5fr 1fr;
  gap: 3.5%;
  align-items: start;
}
.work-side {
  padding-top: 25px;
}
.work-side h1 {
  font-size: 27px;
  line-height: 1.1;
  letter-spacing: -1px;
  font-weight: 400;
  margin: 14px 0 20px;
}
.work-side p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.work-side dl {
  font-family: "Courier New", monospace;
  font-size: 10px;
  line-height: 1.7;
  margin-top: 25px;
}
.work-side dt {
  color: var(--muted);
}
.work-side dd {
  margin: 0 0 11px;
}
.art-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 455px;
}
.art-frame img,
.art-frame video {
  max-width: 100%;
  width: auto;
  height: 470px;
  object-fit: contain;
  display: block;
}
.work-right {
  align-self: end;
  display: flex;
  flex-direction: column;
  align-items: start;
  padding-bottom: 10px;
}
.work-right p {
  font-family: "Courier New", monospace;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}
.pager {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 20px;
}
.pager button {
  min-width: 35px;
  min-height: 40px;
  font-size: 21px;
}
.media-strip {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 17px;
}
.media-strip button {
  padding: 3px;
  border: 1px solid transparent;
}
.media-strip button[aria-pressed="true"] {
  border-color: var(--blue);
}
.media-strip img {
  width: 40px;
  height: 40px;
  object-fit: cover;
}
.info-layout {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 5%;
  padding: 65px 6% 70px;
  min-height: 600px;
}
.info-layout h1 {
  font-size: 60px;
  font-weight: 400;
  letter-spacing: -3px;
  margin: 0;
}
.statement {
  font-size: 25px;
  line-height: 1.4;
  letter-spacing: -0.6px;
  white-space: pre-line;
}
.provisional {
  font-family: "Courier New", monospace;
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 25px;
}
.info-small {
  padding-top: 10px;
  font-size: 12px;
  line-height: 1.7;
}
.archive {
  margin: 0 3.2%;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.archive-top {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}
#categories {
  display: flex;
  gap: 3.5%;
  margin: 21px 0 29px;
  flex-wrap: wrap;
}
#categories button {
  font-size: clamp(16px, 2.2vw, 34px);
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 1.2;
  position: relative;
  padding: 7px 0;
}
#categories button[aria-pressed="true"] {
  color: var(--blue);
}
#categories button sup {
  font-family: "Courier New", monospace;
  font-size: 9px;
  letter-spacing: 0;
  position: relative;
  top: -8px;
  margin-left: 5px;
}
.archive-label {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 12px 0;
  color: var(--muted);
}
.archive-label button {
  padding: 6px 0;
}
.archive-label button[aria-pressed="true"] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
#archive-items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 3%;
  padding: 20px 0 70px;
}
.series-card {
  text-align: left;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.series-image {
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 14px;
  background: #eeede8;
  overflow: hidden;
}
.series-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.2s;
}
.series-card:hover img {
  opacity: 0.8;
}
.series-card:nth-child(3n + 2) .series-image {
  padding: 22px;
}
.series-card:nth-child(5n + 3) .series-image {
  padding: 18px 36px;
}
.series-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  text-transform: uppercase;
}
.series-title small {
  color: var(--muted);
  font-size: 9px;
}
.empty {
  grid-column: 1/-1;
  padding: 50px 0 80px;
  max-width: 510px;
}
.empty h2 {
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -1px;
}
.empty p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 0 3.2%;
  border-top: 1px solid var(--line);
  padding: 20px 0 30px;
  color: var(--muted);
}
footer button {
  font-weight: bold;
  color: var(--ink);
  letter-spacing: -0.5px;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  max-width: 90%;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
#toast.show {
  opacity: 1;
}
.inquiry-text {
  width: 100%;
  min-height: 140px;
  background: transparent;
  border: 1px solid var(--line);
  padding: 12px;
  font: 12px monospace;
}
.load-error {
  padding: 60px 5%;
  font-size: 22px;
}
@keyframes appear {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 1;
  }
}
@media (min-width: 1600px) {
  main,
  header,
  footer {
    max-width: 1700px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 1024px) {
  .header-note {
    margin-left: 3%;
  }
  .work-layout {
    grid-template-columns: 1fr 2.4fr;
  }
  .work-right {
    grid-column: 2;
    flex-direction: row;
    gap: 25px;
  }
  .work-side p {
    font-size: 11px;
  }
  .art-frame img,
  .art-frame video {
    height: 430px;
  }
  .series-image {
    height: 190px;
  }
  #archive-items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .info-layout {
    grid-template-columns: 1fr 2fr;
  }
  .info-small {
    grid-column: 2;
  }
}
@media (max-width: 767px) {
  header {
    padding: 23px 0 20px;
    margin: 0 5%;
    gap: 16px;
  }
  .identity {
    font-size: 24px;
  }
  .header-note {
    display: none;
  }
  header nav {
    gap: 20px;
    font-size: 9px;
  }
  #viewer {
    min-height: 0;
  }
  .archive {
    margin: 0 5%;
    padding-top: 18px;
  }
  .archive-top .eyebrow {
    font-size: 8px;
  }
  .archive-top .eyebrow:last-child {
    display: none;
  }
  #categories {
    gap: 12px 22px;
    margin: 16px 0 20px;
  }
  #categories button {
    font-size: 19px;
    letter-spacing: -0.65px;
    padding: 10px 0;
  }
  #categories button sup {
    font-size: 8px;
    top: -5px;
    margin-left: 3px;
  }
  .archive-label {
    font-size: 9px;
    align-items: center;
  }
  #archive-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px 16px;
    padding-bottom: 45px;
  }
  .series-image {
    height: 180px;
  }
  .series-card:nth-child(3n + 2) .series-image {
    padding: 10px;
  }
  .series-card:nth-child(5n + 3) .series-image {
    padding: 15px;
  }
  .series-title {
    font-size: 9px;
    letter-spacing: 0;
    gap: 3px;
  }
  .series-title small {
    font-size: 8px;
  }
  .viewer-work {
    padding: 20px 5%;
  }
  .viewer-top {
    font-size: 9px;
  }
  .work-layout {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .work-side {
    padding: 0;
    order: 2;
    width: 100%;
  }
  .work-side h1 {
    font-size: 28px;
    margin: 10px 0;
  }
  .work-side p {
    font-size: 12px;
    max-width: 520px;
  }
  .work-side dl {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
  }
  .art-frame {
    order: 1;
    min-height: 0;
    width: 100%;
  }
  .art-frame img,
  .art-frame video {
    width: 100%;
    height: 360px;
    max-height: 52vh;
  }
  .work-right {
    order: 3;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    padding: 0;
  }
  .pager {
    margin: 0;
  }
  .media-strip {
    margin-top: 0;
  }
  .info-layout {
    display: block;
    min-height: 0;
    padding: 35px 5% 45px;
  }
  .info-layout h1 {
    font-size: 45px;
    margin-bottom: 30px;
  }
  .statement {
    font-size: 22px;
  }
  .info-small {
    margin-top: 30px;
  }
  footer {
    margin: 0 5%;
    font-size: 8px;
    flex-wrap: wrap;
  }
  footer span {
    display: none;
  }
  .empty {
    padding: 25px 0 50px;
  }
  .empty h2 {
    font-size: 27px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
@media (max-width: 767px) {
  header nav {
    align-items: center;
  }
  header nav a,
  header nav button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .identity {
    padding-top: 9px;
  }
  .action {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .archive-label button {
    min-height: 44px;
  }
  .series-title,
  .series-title small {
    font-size: 10px;
  }
  .archive-label {
    font-size: 10px;
  }
  .media-actions button {
    min-height: 44px;
  }
  .series-title {
    flex-wrap: wrap;
  }
}
