:root {
  --paper: #fbfbfa;
  --ink: #16181a;
  --muted: #6b7075;
  --rule: #e4e6e8;
  --accent: #0a6c8f;
  --gap: 10px;
}
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); }
body {
  margin: 0;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
}
.mark { display: flex; align-items: center; gap: 14px; }
.dc-mark { width: 40px; height: 40px; display: block; }
.wordmark {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.01em;
}
.wordmark em { font-style: normal; font-weight: 400; color: var(--muted); }
nav { display: flex; gap: 22px; font-size: 15px; }
nav a { padding: 6px 0; border-bottom: 1px solid transparent; color: var(--muted); }
nav a:hover, nav a[aria-current] { color: var(--ink); border-bottom-color: var(--ink); }

.gallery {
  columns: 4;
  column-gap: var(--gap);
  padding: 0 24px 24px;
}
@media (max-width: 1200px) { .gallery { columns: 3; } }
@media (max-width: 700px)  { .gallery { columns: 2; padding: 0 16px 16px; } .top { padding: 18px 16px; } }
.tile {
  display: block;
  break-inside: avoid;
  margin-bottom: var(--gap);
  background: var(--rule);
  cursor: zoom-in;
}
.tile img {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity .25s ease;
}
.tile:hover img { opacity: .92; }
.tile video { display: block; width: 100%; height: auto; background: var(--rule); }
.tile-video { cursor: pointer; }

.lightbox {
  border: 0;
  padding: 0;
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  background: rgba(251, 251, 250, .96);
}
.lightbox::backdrop { background: transparent; }
.lightbox img, .lightbox video {
  position: absolute; inset: 0; margin: auto;
  max-width: calc(100vw - 32px); max-height: calc(100vh - 32px);
  object-fit: contain;
}
.lightbox video[hidden] { display: none; }
.lightbox button {
  position: absolute; z-index: 1;
  background: none; border: 0; cursor: pointer;
  font: 300 28px/1 "IBM Plex Sans", sans-serif; color: var(--ink);
  padding: 16px 20px; opacity: .6;
}
.lightbox button:hover { opacity: 1; }
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) { .lb-prev, .lb-next { display: none; } }

.about {
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(0, 420px);
  gap: 48px;
  padding: 24px;
  max-width: 1040px;
  margin: 0 auto;
}
.about-photo img { width: 100%; height: auto; display: block; }
.about h1 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: 28px;
  margin: 0 0 12px;
}
.about p { margin: 0 0 12px; font-size: 17px; }
.about a { color: var(--accent); border-bottom: 1px solid currentColor; }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; gap: 24px; padding: 16px; } }

.bottom {
  display: flex; justify-content: space-between;
  padding: 24px; margin-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 13px; color: var(--muted);
}
