:root {
  --ink: #191916;
  --paper: #f2f0e9;
  --line: rgba(25, 25, 22, .2);
  --muted: #6e6c65;
  --pad: clamp(1.2rem, 4vw, 4.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 6rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, p { margin-top: 0; }
h1, h2 {
  font-family: "Newsreader", serif;
  font-weight: 300;
  line-height: .95;
}
h1 { font-size: clamp(3.6rem, 9vw, 8.5rem); letter-spacing: -.055em; }
.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 6rem;
  padding: 0 var(--pad);
  border-bottom: 1px solid var(--line);
}
.wordmark { font-family: "Newsreader", serif; font-size: 1.55rem; }
.site-header nav { display: flex; gap: clamp(1rem, 3vw, 3rem); }
.site-header nav a, .text-link, .back-link { border-bottom: 1px solid transparent; }
.site-header nav a:hover, .text-link:hover, .back-link:hover { border-color: currentColor; }
.menu-toggle { display: none; background: none; border: 0; font: inherit; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 8rem);
  min-height: calc(100vh - 6rem);
  padding: clamp(4rem, 9vw, 9rem) var(--pad);
  align-items: center;
}
.hero-copy h1 { margin: .1em 0 .2em; }
.hero-copy .lead { max-width: 32rem; margin-bottom: 2rem; }
.hero-artwork { justify-self: center; max-height: 74vh; }
.hero-artwork img { width: 100%; max-height: 70vh; object-fit: contain; }
.hero-artwork > span:last-child { display: block; margin-top: .65rem; color: var(--muted); font-size: .82rem; }
.hero-portrait {
  justify-self: center;
  width: min(100%, 42rem);
  margin: 0;
}
.hero-portrait img {
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
  object-position: center;
}
.image-button {
  padding: 0;
  background: none;
  color: inherit;
  border: 0;
  font: inherit;
  text-align: left;
  cursor: zoom-in;
}
.eyebrow {
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.lead { max-width: 48rem; font-family: "Newsreader", serif; font-size: clamp(1.25rem, 2vw, 1.85rem); line-height: 1.3; }
.section-shell { padding: clamp(5rem, 10vw, 10rem) var(--pad); }
.section-shell.flush-top { padding-top: 1rem; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 2.5rem; }
.art-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(2rem, 5vw, 6rem) clamp(1rem, 3vw, 3rem);
  align-items: start;
}
.art-card { grid-column: span 6; }
.art-card:nth-child(4n + 2), .art-card:nth-child(4n + 3) { grid-column: span 5; }
.art-card:nth-child(4n + 2) { grid-column-start: 8; }
.art-card h2 { margin: 1rem 0 .2rem; font-size: clamp(1.7rem, 3vw, 2.7rem); }
.art-card p { color: var(--muted); font-size: .82rem; }
.art-image img { width: 100%; max-height: 74vh; object-fit: contain; object-position: left bottom; }
.compact .art-card { grid-column: span 3; }
.compact .art-card:nth-child(n) { grid-column-start: auto; }
.compact .art-image img { height: 38vw; max-height: 32rem; object-position: center bottom; }
.image-shield { position: relative; user-select: none; -webkit-user-select: none; }
.image-shield::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.image-shield a, .image-shield span { position: relative; z-index: 2; }

.page-intro { padding: clamp(5rem, 10vw, 10rem) var(--pad) clamp(3rem, 6vw, 6rem); }
.page-intro h1 { margin: 0 0 .3em; }
.page-intro.narrow { max-width: 85rem; }
.large-copy { max-width: 56rem; margin-left: auto; font-family: "Newsreader", serif; font-size: clamp(1.2rem, 1.85vw, 1.6rem); line-height: 1.45; }
.prose { font-size: 1rem; line-height: 1.8; }
.prose p { margin-bottom: 1.5em; }

.one-page-section {
  padding: clamp(6rem, 12vw, 12rem) var(--pad);
  border-top: 1px solid var(--line);
}
.one-page-section h2,
.contact-page h2 {
  margin: 0;
  font-size: clamp(2.6rem, 5.2vw, 5.8rem);
  letter-spacing: -.045em;
}
.text-section h2 { max-width: 70rem; margin-bottom: .65em; }
.section-copy {
  max-width: 56rem;
  margin-left: auto;
}
.works-heading { margin-bottom: clamp(5rem, 10vw, 10rem); }
.works-heading h2 { margin-bottom: .3em; }
.large-works { display: grid; }
.large-work {
  width: 100%;
  max-width: 92rem;
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 10rem) 0;
  border-top: 1px solid var(--line);
}
.large-work:first-child { padding-top: 0; border-top: 0; }
.large-work:nth-child(even) { width: min(84%, 75rem); }
.work-lightbox { display: block; width: 100%; }
.work-lightbox img {
  width: 100%;
  max-height: 88vh;
  object-fit: contain;
}
.large-work-caption {
  display: grid;
  grid-template-columns: minmax(14rem, .7fr) minmax(20rem, 1.3fr);
  gap: clamp(2rem, 7vw, 8rem);
  margin-top: 1.5rem;
}
.large-work-caption h3 {
  margin: 0 0 .25rem;
  font-family: "Newsreader", serif;
  font-size: clamp(1.5rem, 2.6vw, 2.8rem);
  font-weight: 300;
  line-height: 1;
}
.large-work-caption p { color: var(--muted); font-size: .82rem; }
.large-work-caption .edition-label {
  display: inline-block;
  margin-top: 1rem;
  padding: .65rem .8rem;
  color: var(--ink);
  border: 1px solid var(--line);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.large-work-caption .print-size-note {
  margin-top: 1rem;
  color: var(--ink);
  font-size: .9rem;
  line-height: 1.65;
}
.large-work-caption .prose { max-width: 45rem; }
.art-print-caption {
  display: block;
  margin-top: 1rem;
}
.art-print-caption .print-size-note {
  max-width: 56rem;
  font-family: "Newsreader", serif;
  font-size: clamp(1.2rem, 1.85vw, 1.6rem);
  line-height: 1.45;
}
.print-section { background: #e9e6dd; }
.empty-section {
  padding: 4rem 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: clamp(1rem, 3vw, 3rem);
  background: rgba(242, 240, 233, .96);
  color: var(--ink);
  border: 0;
}
.lightbox::backdrop { background: rgba(242, 240, 233, .72); }
.lightbox[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 1.5rem; }
.lightbox-stage { min-height: 0; }
.lightbox-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(14rem, .8fr);
  grid-template-rows: 1fr 1fr;
  gap: clamp(.75rem, 2vw, 1.5rem);
  width: 100%;
  height: 100%;
}
.lightbox-gallery figure { min-height: 0; margin: 0; }
.lightbox-gallery figure:first-child { grid-row: 1 / span 2; }
.lightbox-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(255, 255, 255, .35);
}
.lightbox-close {
  position: fixed;
  z-index: 3;
  top: 1rem;
  right: 1.25rem;
  padding: .25rem .6rem;
  background: rgba(242, 240, 233, .75);
  color: var(--ink);
  border: 0;
  font: 300 2.2rem/1 "DM Sans", sans-serif;
  cursor: pointer;
}
.lightbox-caption { display: flex; justify-content: space-between; gap: 2rem; font-size: .85rem; }
.lightbox-caption span { color: var(--muted); }
.back-to-top {
  position: fixed;
  z-index: 8;
  right: 1.2rem;
  bottom: 1.2rem;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translateY(.5rem);
  transition: opacity .25s, transform .25s;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: none; }

.research-preview { border-top: 1px solid var(--line); }
.publication-row {
  display: grid;
  grid-template-columns: 7rem 1fr auto;
  gap: 2rem;
  align-items: baseline;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}
.publication-row h2 { margin: 0; font-size: clamp(2rem, 4vw, 4rem); }
.publication-list { padding: 0 var(--pad) clamp(6rem, 12vw, 12rem); }
.publication-card {
  display: grid;
  grid-template-columns: minmax(10rem, 30%) minmax(0, 1fr);
  column-gap: clamp(2rem, 6vw, 7rem);
  padding: 4rem 0;
  border-top: 1px solid var(--line);
}
.publication-image { grid-row: 1 / span 4; }
.publication-image img { width: 100%; max-height: 34rem; object-fit: cover; }
.publication-meta { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.publication-card h2 { margin: .4rem 0 1rem; font-size: clamp(2.5rem, 5vw, 5.5rem); }
.publication-card p { max-width: 44rem; }

.work-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(18rem, .5fr);
  gap: clamp(2rem, 6vw, 8rem);
  padding: clamp(3rem, 7vw, 7rem) var(--pad);
}
.work-visual img { width: 100%; max-height: 82vh; object-fit: contain; }
.work-copy { position: sticky; top: 3rem; align-self: start; }
.work-copy h1 { margin: 2rem 0 .5em; font-size: clamp(3.5rem, 6vw, 7rem); }
dl { margin: 0 0 2.5rem; }
dl div { display: grid; grid-template-columns: 6rem 1fr; padding: .65rem 0; border-bottom: 1px solid var(--line); }
dt { color: var(--muted); }
dd { margin: 0; }
.detail-extra { grid-column: 1 / -1; margin: 4rem auto 0; }
.detail-extra img { max-height: 90vh; }

.essay { padding: clamp(5rem, 10vw, 10rem) var(--pad); }
.essay header { max-width: 75rem; margin-bottom: 5rem; }
.essay h1 { margin: .25em 0; }
.essay-cover { margin: 0 auto 6rem; }
.essay-cover img { width: 100%; max-height: 85vh; object-fit: contain; }
.essay-body { max-width: 46rem; margin: 0 auto; font-family: "Newsreader", serif; font-size: clamp(1.2rem, 2vw, 1.55rem); }
.essay-image { max-width: 70rem; margin: 6rem auto 0; }
.essay-image img { max-height: 85vh; margin: auto; }
figcaption { margin-top: .75rem; color: var(--muted); font-size: .8rem; }

.contact-page { min-height: 56vh; padding: clamp(5rem, 9vw, 8rem) var(--pad); }
.contact-page h1, .contact-page h2 { max-width: 54rem; margin-bottom: .45em; }
.contact-page > p:not(.eyebrow) { margin: 2rem 0; color: var(--muted); }
.contact-page > .text-link { display: none; }
.contact-list {
  max-width: 54rem;
  border-top: 1px solid var(--ink);
}
.contact-link {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--ink);
}
.contact-link span {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.contact-link strong {
  font-family: "Newsreader", serif;
  font-size: clamp(1.35rem, 2.8vw, 2.7rem);
  font-weight: 300;
  line-height: 1;
  text-align: right;
}
.contact-link:hover strong { font-style: italic; }
.site-footer { display: flex; justify-content: space-between; gap: 2rem; padding: 2.5rem var(--pad); border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.site-footer p { margin: 0; }
.site-footer div { display: flex; gap: 2rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 800px) {
  .site-header { min-height: 4.8rem; }
  .menu-toggle { display: block; }
  .site-header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 1rem var(--pad) 2rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .site-header nav.open { display: flex; }
  .site-header nav a { padding: .65rem 0; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 5rem; }
  .hero-copy { order: 2; }
  .hero-artwork { order: 1; }
  .art-card, .art-card:nth-child(n), .compact .art-card { grid-column: 1 / -1; }
  .compact .art-image img { height: auto; max-height: 70vh; }
  .publication-row { grid-template-columns: 1fr auto; gap: .5rem; }
  .publication-row > :first-child { grid-column: 1 / -1; }
  .publication-card { grid-template-columns: 1fr; }
  .publication-image { grid-row: auto; margin-bottom: 2rem; }
  .work-detail { grid-template-columns: 1fr; }
  .work-copy { position: static; }
  .large-work-caption { grid-template-columns: 1fr; }
  .section-copy { margin-left: 0; }
  .large-work:nth-child(even) { width: 100%; }
  .lightbox-caption { flex-direction: column; gap: .2rem; }
  .lightbox-gallery { display: flex; flex-direction: column; overflow: auto; }
  .lightbox-gallery figure { min-height: 70vh; }
  .lightbox-gallery figure:first-child { min-height: 82vh; }
  .contact-link { align-items: flex-start; flex-direction: column; gap: .5rem; }
  .contact-link strong { text-align: left; }
  .site-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
