:root {
  --paper: #f1f0eb;
  --ink: #151515;
  --muted: #77756f;
  --line: #c8c6bf;
  --dark: #111;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  font-weight: 300;
  line-height: 1.55;
  overflow-x: hidden;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
  mix-blend-mode: difference;
  color: white;
}
.wordmark, nav a {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
nav { display: flex; gap: 28px; }
nav a { padding: 8px 0; }

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 56%) minmax(0, 44%);
  align-items: center;
  padding: 7vw 4vw 4vw;
  gap: 4vw;
}
.hero-image-wrap {
  height: min(78vh, 900px);
  overflow: hidden;
  background: #ddd;
}
.hero-image-wrap img {
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}
.hero-copy { max-width: 560px; }
.eyebrow, .section-label, .count, .footer-note {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
h1 {
  margin: 18px 0 28px;
  font-size: clamp(52px, 7.5vw, 118px);
  line-height: .88;
  letter-spacing: -.055em;
  font-weight: 400;
}
h1 em { font-family: Georgia, serif; font-weight: 400; }
.dek {
  max-width: 430px;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.45;
}
.scroll-link {
  display: inline-flex;
  gap: 15px;
  margin-top: 35px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--ink);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.scroll-link span { font-size: 16px; line-height: 10px; }

.statement, .gallery-section { padding: 12vw 4vw; }
.statement { border-top: 1px solid var(--line); }
.statement-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 10vw;
  margin-top: 50px;
}
.statement h2 {
  margin: 0;
  font-size: clamp(42px, 6vw, 90px);
  line-height: .95;
  letter-spacing: -.05em;
  font-weight: 400;
}
.statement-text { max-width: 570px; font-size: 18px; }
.statement-text p { margin: 0 0 28px; }
.statement-text strong { font-weight: 500; }

.gallery-section { background: var(--dark); color: white; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin-bottom: clamp(38px, 6vw, 65px);
}
.gallery-section .section-label, .gallery-section .count { color: #aaa; }

/* Responsive gallery: fluid columns on larger screens, a clean single column on phones. */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 80px) clamp(14px, 2.5vw, 38px);
  align-items: start;
}
.photo-card {
  min-width: 0;
  margin: 0;
  cursor: zoom-in;
  outline: none;
}
.photo-card img {
  width: 100%;
  height: auto;
  filter: grayscale(100%);
  transition: transform .6s ease, opacity .4s ease;
}
.photo-card:hover img,
.photo-card:focus-visible img { transform: scale(1.015); opacity: .9; }
.photo-card:focus-visible { box-shadow: 0 0 0 2px white; }
.photo-card figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  margin-top: 12px;
  color: #999;
  font: 10px/1.35 "DM Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.photo-card figcaption span:last-child { text-align: right; white-space: nowrap; }
.photo-card--featured { grid-column: span 2; }

.closing {
  min-height: 62vh;
  padding: 15vw 4vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.closing-line {
  width: 120px;
  border-top: 1px solid var(--ink);
  margin-bottom: 45px;
}
.closing p {
  margin: 0;
  font: clamp(36px, 5vw, 76px)/.98 Georgia, serif;
  letter-spacing: -.035em;
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 4vw 40px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  font-size: 11px;
}
.footer-title { font-family: "DM Mono", monospace; text-transform: uppercase; letter-spacing: .08em; }
.footer-right { text-align: right; }
.footer-right p { margin: 0 0 5px; }
.footer-right a { border-bottom: 1px solid var(--line); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10,10,10,.97);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 6vw;
  touch-action: pan-y;
}
.lightbox.open { display: flex; }
.lightbox figure {
  margin: 0;
  max-width: 90vw;
  max-height: 90vh;
}
.lightbox img {
  max-width: 86vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
}
.lightbox figcaption {
  color: #aaa;
  font: 10px/1.35 "DM Mono", monospace;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 12px;
}
.lightbox button {
  position: fixed;
  border: 0;
  background: none;
  color: white;
  font: 26px "DM Mono", monospace;
  cursor: pointer;
  opacity: .8;
  padding: 12px;
  z-index: 2;
}
.lightbox button:hover,
.lightbox button:focus-visible { opacity: 1; }
.close { top: 14px; right: 22px; font-size: 34px !important; }
.prev { left: 18px; top: 50%; transform: translateY(-50%); }
.next { right: 18px; top: 50%; transform: translateY(-50%); }

@media (max-width: 1100px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .photo-card--featured { grid-column: span 2; }
}

@media (max-width: 800px) {
  .site-header { height: 58px; padding: 0 5vw; }
  nav { gap: 14px; }
  nav a { font-size: 10px; }
  .hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 80px 5vw 15vw;
    gap: 35px;
  }
  .hero-image-wrap { height: 68svh; min-height: 440px; max-height: 700px; }
  h1 { font-size: clamp(48px, 15vw, 90px); }
  .statement, .gallery-section { padding: 20vw 5vw; }
  .statement-grid { grid-template-columns: 1fr; gap: 45px; margin-top: 38px; }
  .statement-text { font-size: 17px; }
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 16px;
  }
  .photo-card--featured { grid-column: span 2; }
  .photo-card figcaption { display: block; margin-top: 9px; }
  .photo-card figcaption span { display: block; }
  .photo-card figcaption span:last-child { margin-top: 3px; text-align: left; white-space: normal; }
  .closing { min-height: 45vh; padding: 22vw 5vw; }
  footer { padding: 28px 5vw 40px; flex-direction: column; }
  .footer-right { text-align: left; }
  .lightbox { padding: 58px 15px 30px; }
  .lightbox figure { max-width: 100%; max-height: 100%; }
  .lightbox img { max-width: 90vw; max-height: 76svh; }
  .close { top: 7px; right: 8px; }
  .prev { left: 3px; }
  .next { right: 3px; }
}

@media (max-width: 520px) {
  .site-header { position: absolute; mix-blend-mode: normal; color: var(--ink); }
  .wordmark, nav a { font-size: 9px; }
  nav { gap: 10px; }
  .hero-image-wrap { height: 62svh; min-height: 360px; }
  .gallery { grid-template-columns: 1fr; gap: 52px; }
  .photo-card--featured { grid-column: auto; }
  .section-head { margin-bottom: 34px; }
  .lightbox img { max-width: 88vw; max-height: 70svh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .photo-card img { transition: none; }
}
