:root {
  --ink: #171713;
  --paper: #f5f3ee;
  --rust: #9d4228;
  --line: rgba(23, 23, 19, 0.25);
}

* { 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: 16px;
  line-height: 1.5;
}

main { width: min(100%, 1600px); margin: 0 auto; }

.masthead {
  min-height: 72px;
  margin: 0 3vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.artist { color: inherit; text-decoration: none; font-weight: 700; }

.hero {
  padding: 4.5vw 3vw 0;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.5fr);
  gap: 3vw;
  align-items: end;
}

.eyebrow {
  color: var(--rust);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(4rem, 8vw, 9.5rem);
  line-height: 0.83;
  letter-spacing: -0.055em;
}

figure { margin: 0; }

.image-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.image-button img {
  display: block;
  width: 100%;
  height: auto;
  background: #ddd8cf;
}

figcaption {
  margin-top: 0.65rem;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: #5b5953;
}

.details {
  margin: 8vw 3vw;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.5fr);
  gap: 3vw;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

dl { margin: 0; }

dl div {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--rust);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

dd { margin: 0; font-size: 0.9rem; }

.statement {
  max-width: 850px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 2.15vw, 2.35rem);
  line-height: 1.28;
  letter-spacing: -0.015em;
}

.statement p { margin: 0 0 1em; }

.gallery {
  padding: 0 3vw 7vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw 2vw;
}

.gallery .wide { grid-column: 1 / -1; }
.gallery .wide img { aspect-ratio: 16 / 9; object-fit: cover; }
.gallery figure:not(.wide) img { aspect-ratio: 4 / 3; object-fit: cover; }
.gallery .final-view { width: 72%; margin-left: auto; }

footer {
  margin: 0 3vw;
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

dialog {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 3rem;
  border: 0;
  background: rgba(15, 14, 12, 0.96);
}

dialog::backdrop { background: rgba(15, 14, 12, 0.96); }
dialog img { width: 100%; height: 100%; object-fit: contain; }
.close {
  position: fixed;
  z-index: 2;
  top: 1rem;
  right: 1rem;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  padding: .55rem 1rem;
  background: rgba(0,0,0,.35);
  color: white;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 760px) {
  .masthead { min-height: 60px; }
  .masthead span { display: none; }
  .hero, .details { grid-template-columns: 1fr; }
  .hero { gap: 2.5rem; padding-top: 3rem; }
  h1 { font-size: clamp(3.6rem, 18vw, 6rem); }
  .details { margin-top: 5rem; gap: 3.5rem; }
  .gallery { grid-template-columns: 1fr; gap: 3rem; }
  .gallery .wide { grid-column: auto; }
  .gallery .final-view { width: 100%; }
  .gallery .wide img, .gallery figure:not(.wide) img { aspect-ratio: auto; }
  dialog { padding: 1rem; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
