@font-face {
  font-family: "DM Sans";
  src: url("media/fonts/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("media/fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("media/fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #f6f3ec;
  --mist: #eeebe2;
  --ink: #211e1a;
  --soft: #5f584f;
  --line: #d4ccc0;
  --red: #913828;
  --red-dark: #72291d;
  --white: #fffaf3;
  --dark: #201e1a;
  --display: "Instrument Serif", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); }
body { margin: 0; font: 400 1rem/1.6 "DM Sans", sans-serif; }
body:has(dialog[open]) { overflow: hidden; }
button { font: inherit; color: inherit; }
a { color: inherit; text-underline-offset: .23em; }
a, button, summary { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }
.exhibitions :focus-visible { outline-color: #f6ac8f; }
main:focus { outline: none; }
[hidden] { display: none !important; }
img { display: block; width: 100%; height: auto; }
figure, h1, h2, p { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; }
h2 { font-size: clamp(3.35rem, 6.1vw, 6.25rem); line-height: .95; letter-spacing: -.026em; }
section[id] { scroll-margin-top: 1rem; }
.wrap { width: min(90%, 85rem); margin-inline: auto; }
.section { padding-block: clamp(4.25rem, 8vw, 8rem); }

.skip, .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  z-index: 3;
  inset: .6rem auto auto .6rem;
  width: auto;
  height: auto;
  clip-path: none;
  background: var(--white);
  padding: .6rem 1rem;
}

.masthead { border-bottom: 1px solid var(--line); }
.header-inner {
  min-height: 5.1rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}
.wordmark {
  width: fit-content;
  font: 400 2.8rem/.95 var(--display);
  letter-spacing: -.045em;
  text-decoration: none;
}
.wordmark span { color: var(--red); }
.header-inner nav { display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 3rem); }
.header-inner nav a, .header-contact {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: .94rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.header-inner a:hover { color: var(--red); }
.header-contact {
  justify-self: end;
  padding-inline: 1.1rem;
  border: 1px solid var(--line);
  transition: border-color 150ms ease;
}
.header-contact:hover { border-color: var(--red); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr);
  align-items: center;
  gap: clamp(2.25rem, 5vw, 5.25rem);
  padding-block: clamp(2.75rem, 5.6vw, 5rem) clamp(3.4rem, 6.8vw, 6.5rem);
}
.hero-copy { padding-bottom: 1.35rem; }
.eyebrow {
  color: var(--red);
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-location { display: flex; align-items: center; gap: .7rem; }
.hero-location::before { content: ""; width: 1.7rem; height: 1px; background: currentColor; }
.hero h1 {
  font-size: clamp(4.4rem, 8.4vw, 8.85rem);
  line-height: .82;
  letter-spacing: -.045em;
  margin: 1.3rem 0 1.75rem;
}
.hero h1 em { color: var(--red); font-weight: 400; white-space: nowrap; }
.hero-intro { max-width: 30ch; font-size: clamp(1.05rem, 1.4vw, 1.27rem); color: var(--soft); margin-bottom: 1.6rem; }
.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: .67rem 1.2rem;
  border: 1px solid transparent;
  text-align: center;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.button-primary { background: var(--red); color: var(--white); }
.button-primary:hover { background: var(--red-dark); }
.button-outline { border-color: var(--line); }
.button-outline:hover { color: var(--red); border-color: var(--red); }
.hero-image { display: block; background: #353434; }
.hero-image img { aspect-ratio: 1200 / 887; object-fit: cover; }
.hero-art figcaption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 1rem;
  margin-top: .6rem;
  color: var(--soft);
  font-size: .875rem;
}
.hero-art cite { color: var(--ink); }

.work { border-top: 1px solid var(--line); padding-top: clamp(2.5rem, 5.5vw, 5.25rem); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  column-gap: 2rem;
  row-gap: .85rem;
  margin-bottom: 1.95rem;
}
.section-head p { color: var(--soft); max-width: 28ch; }
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .65rem; }
.work-count { color: var(--soft); font-size: .875rem; margin-bottom: 1.1rem; }
.filter-bar button, .dialog-nav button, .dialog-close {
  min-height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  padding: .45rem .98rem;
  cursor: pointer;
  font-size: .92rem;
  font-weight: 650;
  transition: background-color 150ms ease, border-color 150ms ease;
}
.filter-bar button:hover, .dialog-nav button:hover, .dialog-close:hover { border-color: var(--red); }
.filter-bar button[aria-pressed="true"] { color: var(--white); background: var(--ink); border-color: var(--ink); }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1rem, 2.5vw, 2.6rem); }
.work-link { display: block; text-decoration: none; }
.work-image { display: block; overflow: hidden; background: #dfd9cd; aspect-ratio: 4 / 3; }
.work-image img { height: 100%; object-fit: cover; transition: transform 240ms ease; }
.work-card-upload img { object-fit: contain; }
@media (hover: hover) {
  .work-link:hover img { transform: scale(1.035); }
}
.work-label { display: flex; justify-content: space-between; align-items: baseline; column-gap: .9rem; row-gap: .2rem; padding: .65rem 0 .67rem; border-bottom: 1px solid var(--line); }
.work-name { font: 400 clamp(1.7rem, 2.45vw, 2.35rem)/1 var(--display); }
.work-type { font-size: .875rem; color: var(--soft); text-align: right; }

.exhibitions { background: var(--dark); color: var(--white); }
.archive-layout { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(2rem, 8vw, 9rem); align-items: start; }
.archive-intro > p { margin-top: 1rem; color: #d8cfc2; }
.archive-intro figure { max-width: 28rem; margin-top: 1.75rem; }
.archive-intro img { aspect-ratio: 16 / 10; object-fit: cover; object-position: center 45%; }
.archive-intro figcaption, .about figcaption { margin-top: .6rem; font-size: .875rem; }
.archive-intro figcaption { color: #d8cfc2; }
.timeline { border-top: 1px solid #575149; }
.timeline details { border-bottom: 1px solid #575149; }
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
.timeline summary, .project-list summary {
  display: grid;
  grid-template-columns: minmax(0, 5rem) minmax(0, 1fr) 1.3rem;
  align-items: baseline;
  column-gap: .75rem;
  cursor: pointer;
  padding-block: 1rem;
}
.timeline summary::after, .project-list summary::after {
  content: "";
  justify-self: end;
  align-self: center;
  width: .66rem;
  height: .66rem;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg) translate(-.1rem, -.1rem);
}
details[open] > summary::after { transform: rotate(225deg) translate(-.06rem, -.06rem); }
.timeline summary:hover, .timeline-body a:hover { color: #f6ac8f; }
.timeline time { color: #f3ac92; font-size: .96rem; font-weight: 650; }
.timeline strong { font: 400 clamp(1.8rem, 2.7vw, 2.45rem)/1.04 var(--display); }
.timeline small { display: block; margin-top: .27rem; font-size: .9rem; color: #d8cfc2; }
.timeline-body { padding: 0 2rem 1.15rem 5.75rem; color: #e9dfd2; }
.timeline-body a, .project-body a { display: inline-block; margin-top: .38rem; }

.project-list { border-top: 1px solid var(--line); }
.project-list details { border-bottom: 1px solid var(--line); }
.project-list summary {
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr) 1.2rem;
  align-items: center;
  padding-block: 1.5rem;
  column-gap: 1.4rem;
}
.project-list summary:hover, .project-body a:hover { color: var(--red); }
.project-kind { color: var(--red); font-size: .875rem; font-weight: 700; }
.project-name { font: 400 clamp(2.15rem, 4.1vw, 4.1rem)/1 var(--display); }
.project-body { width: min(60%, 43rem); margin-left: calc((100% - 4rem) * .375 + 1.4rem); padding: 0 0 1.4rem; color: var(--soft); }

.about { background: var(--mist); }
.about-layout { display: grid; grid-template-columns: minmax(0, .79fr) minmax(0, 1.21fr); gap: clamp(2.5rem, 9vw, 9rem); align-items: center; }
.about figure { max-width: 30rem; }
.about figure img { aspect-ratio: 4 / 4.15; object-fit: cover; object-position: center 67%; }
.about figcaption { color: var(--soft); }
.about-copy p { margin-top: 1rem; max-width: 43ch; color: var(--soft); }
.about-copy .about-lead { color: var(--ink); font-size: clamp(1.33rem, 2.4vw, 1.8rem); line-height: 1.36; }
.text-link { color: var(--red); display: inline-flex; min-height: 44px; align-items: center; margin-top: .4rem; }
.contact { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 1.4rem 2rem; }
.contact p { color: var(--soft); margin-top: .9rem; }
.contact-links { display: flex; flex-wrap: wrap; gap: .65rem; }

.footer { border-top: 1px solid var(--line); }
.footer-line { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem 1.4rem; padding: 1.25rem 0 2rem; color: var(--soft); font-size: .875rem; }
.footer-line .wordmark { font-size: 2rem; color: var(--ink); }

.art-dialog {
  margin: auto;
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  width: min(95vw, 66rem);
  max-height: 92dvh;
  box-shadow: 0 1.25rem 5rem #0f0d0b66;
}
.art-dialog::backdrop { background: #171512d9; }
.art-dialog-inner { padding: clamp(.85rem, 2.3vw, 1.6rem); }
.dialog-top { display: flex; min-height: 44px; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.dialog-top p { margin: 0; font-size: .875rem; color: var(--soft); }
.dialog-art { background: #292522; }
.dialog-art img { height: min(56dvh, 37rem); object-fit: contain; }
.dialog-caption { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: .65rem 1.2rem; padding-top: .75rem; }
.dialog-caption h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
.dialog-caption p { max-width: 54ch; margin-top: .45rem; color: var(--soft); }
.dialog-caption a { display: inline-flex; min-height: 36px; align-items: center; font-size: .875rem; color: var(--red); }
.dialog-nav { display: flex; flex-wrap: wrap; gap: .5rem; }
.dialog-nav button:disabled { opacity: .46; cursor: default; border-color: var(--line); }

@media (max-width: 940px) {
  .work-label { flex-direction: column; }
  .work-type { text-align: left; }
  .timeline summary { grid-template-columns: minmax(0, 3.3rem) minmax(0, 1fr) 1rem; }
  .timeline-body { padding-left: 4.05rem; padding-right: 1rem; }
}
@media (max-width: 740px) {
  .wrap { width: 91%; }
  .header-inner { grid-template-columns: 1fr auto; gap: 0 1rem; padding-top: .55rem; min-height: 0; }
  .header-inner nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 0 .65rem; margin-top: .25rem; flex-wrap: wrap; }
  .header-inner nav a { min-height: 48px; }
  .header-contact { min-height: 44px; padding-inline: .75rem; }
  .wordmark { font-size: 2.55rem; }
  .hero, .archive-layout, .about-layout { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 1.65rem; padding-top: 2.6rem; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(4.65rem, 15vw, 7.1rem); }
  .hero-intro { margin-bottom: 1.2rem; max-width: 34ch; }
  .section-head { align-items: start; flex-direction: column; margin-bottom: 1.4rem; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.35rem; }
  .work-name { font-size: clamp(1.65rem, 5.3vw, 2.1rem); }
  .archive-layout { gap: 1.7rem; }
  .archive-intro figure { max-width: 22rem; }
  .project-list summary { grid-template-columns: minmax(0, 1fr) 1rem; row-gap: .35rem; padding-block: 1.13rem; }
  .project-kind, .project-name { grid-column: 1; }
  .project-list summary::after { grid-column: 2; grid-row: 1 / span 2; }
  .project-body { width: auto; margin-left: 0; padding-right: 1rem; }
  .about-layout { gap: 1.75rem; }
  .about figure { max-width: 23rem; grid-row: 2; }
  .contact { align-items: start; }
  .dialog-art img { height: auto; max-height: 44dvh; min-height: 8rem; }
}
@media (max-width: 370px) {
  .work-grid { grid-template-columns: minmax(0, 1fr); }
  .work-label { flex-direction: row; }
  .work-type { text-align: right; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
