@font-face {
  font-family: "Roboto";
  src: url("/assets/roboto.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: #fff;
  color: #000;
  font-family: Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }

/* ---------- Home ---------- */
body.home { background: #fff; }
.home-wrap {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  font-family: "Roboto", Helvetica, Arial, sans-serif;
}
.home-logo { width: 181px; }
.home-enter {
  display: inline-block;
  margin-top: 55px;
  padding: 8px 13px;
  background: #000;
  color: #fff;
  font-size: 13px;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.home-enter:hover { background: #333; }
.home-enter { margin-top: 44px; }
.home-foot { margin-top: 137px; }
.home-foot img { width: 118px; margin: 0 auto; }
.home-copy {
  margin: 8px 0 0;
  font-size: 11px;
  font-weight: 500;
  color: #555;
}

/* ---------- Gallery pages ---------- */
.site-header { text-align: center; padding: 32px 10px 0; }
.site-header .logo { display: inline-block; }
.site-header .logo img { width: 78px; }
.nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 33px 0 45px;
}
.nav a {
  display: inline-block;
  margin: 0 5px;
  padding: 8px 14px;
  border: 2px solid #000;
  font-weight: bold;
  font-size: 13px;
  text-transform: uppercase;
  text-decoration: none;
  color: #000;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.nav a:hover, .nav a[aria-current="page"]:hover { background: #000; color: #fff; }

.grid {
  display: flex;
  gap: 10px;
  padding: 0 10px 10px;
  align-items: flex-start;
}
.grid .col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.tile { display: block; background: #000; }
.tile img { width: 100%; transition: opacity 0.25s ease; }
a.tile:hover img { opacity: 0.5; }
@media (max-width: 480px) {
  .grid, .grid .col { gap: 6px; }
  .grid { padding: 0 8px 8px; }
}
