@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', 'aktiv-grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: #fff;
  color: #1a1a1a;
}

header {
  text-align: center;
  padding: 1.6rem 1rem;
}

header h1 {
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0;
}

/* Gallery: three pages per row with soft margins, as on the original site */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 4vw 4vw;
}

.gallery a { display: block; line-height: 0; }

.gallery img {
  width: 100%;
  height: auto;
  cursor: zoom-in;
}

@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
}

/* Lightbox */
.lb {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.lb.open { display: flex; }

.lb img {
  max-width: min(92vw, 1600px);
  max-height: 92vh;
  object-fit: contain;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.18);
}

.lb button {
  position: absolute;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
  padding: 0.8rem;
  line-height: 1;
}

.lb button:hover { color: #000; }
.lb button svg { width: 30px; height: 30px; display: block; }

.lb .close { top: 14px; right: 18px; }
.lb .prev  { left: 8px; top: 50%; transform: translateY(-50%); }
.lb .next  { right: 8px; top: 50%; transform: translateY(-50%); }
