/* =========================
   1. BASE
========================= */

html,
body {
  margin: 0;
  padding: 0;

  font-family: "Lekton", monospace;
  font-weight: 400;

  background: #fff;
  color: #111;
}

a {
  -webkit-user-drag: none;
}

img {
  -webkit-user-drag: none;
  user-select: none;
  display: block;
}

.identity {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 9999;
}

.identity a {
  color: #111;
}

.identity__name {
  all: unset;
  display: inline-block;

  font-family: "Lekton", monospace;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  background: rgba(255, 255, 255, 0.92);
  padding: 4px 8px;

  color: #111;
  cursor: pointer;
}

.contact-panel {
  margin-top: 6px;
  font-size: 16px;

  background: rgba(255, 255, 255, 0.92);
  padding: 4px 8px;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);

  transition: 0.15s ease;
}

.identity:hover .contact-panel,
.identity:focus-within .contact-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.set-meta {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;

  font-family: "Lekton", monospace;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  background: rgba(255, 255, 255, 0.92);
  padding: 4px 8px;

}

.grid {
  column-count: 2;
  column-gap: 24px;

  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 60px;
}

.tile {
  display: inline-block;
  width: 100%;

  break-inside: avoid;
  margin: 0 0 24px;

  text-decoration: none;
  color: inherit;
}

.tile img {
  width: 100%;
  height: auto;
  display: block;
}

.label {
  position: static;
  margin-top: 8px;

  font-size: 16px;
  text-transform: uppercase;
}

@media (max-width: 700px) {
  .grid {
    column-count: 1;
    column-gap: 0;
    padding: 100px 20px 60px;
  }

  .tile {
    margin-bottom: 20px;
  }
}

.lightbox {
  position: fixed;
  inset: 0;

  display: none;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.98);
  z-index: 2000;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  cursor: pointer;
}

.lightbox::after {
  content: "click to close";
  position: absolute;
  bottom: 24px;

  font-size: 14px;
  letter-spacing: 0.08em;

  opacity: 0.6;
}