:root {
  --bg: #0d0d0d;
  --surface: #171717;
  --border: #282828;
  --text: #e0e0e0;
  --text-muted: #666;
  --accent: #c9a96e;
  --accent-hover: #d9bc8a;
  --sold-overlay: rgba(5, 5, 5, 0.72);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Georgia', 'Times New Roman', serif;
  line-height: 1.65;
  min-height: 100vh;
}

/* ── Header ── */
header {
  padding: 3rem 2rem 2rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}

.header-logo img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  display: block;
}

header h1 {
  font-family: 'Skranji', cursive;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  flex: 1;
  text-align: center;
}

.subtitle {
  font-family: 'Skranji', cursive;
  font-weight: 400;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 0.4rem;
  letter-spacing: 0.06em;
  font-style: normal;
}

/* Hide right logo on mobile */
@media (max-width: 600px) {
  .header-logo--right {
    display: none;
  }

  header h1 {
    font-size: 1.5rem;
  }

  .header-logo img {
    width: 100px;
    height: 100px;
  }
}

.btn-reset {
  margin-top: 1rem;
  padding: 0.3rem 0.9rem;
  background: transparent;
  border: 1px solid #2a2a2a;
  color: #3a3a3a;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: sans-serif;
  transition: color 0.2s, border-color 0.2s;
}

.btn-reset:hover {
  color: var(--text-muted);
  border-color: #444;
}

.header-archive-link {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  font-family: 'Skranji', cursive;
  font-weight: 400;
  margin-top: 0.6rem;
  transition: color 0.2s;
}

.header-archive-link:hover {
  color: var(--accent);
}

.gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.hex-row {
  display: flex;
  gap: 10px;
}

/* Stagger every even row by half a hex-width + half the gap */
.hex-row:nth-child(even) {
  margin-left: 105px;
}

/* Pull rows up to close the vertical gap between hex points */
/* = hex height / 4 = 231 / 4 ≈ 58px */
.hex-row + .hex-row {
  margin-top: -48px;
}

.hex {
  width: 200px;
  flex-shrink: 0;
  aspect-ratio: .866;
  position: relative;
  overflow: hidden;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hex img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  cursor: pointer;
}


/* ── Footer ── */
footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}

footer a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  font-family: 'Skranji', cursive;
  font-weight: 400;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--accent);
}

/* ── Responsive ── */
@media (max-width: 600px) {
  header {
    padding: 2rem 1.2rem 1.5rem;
  }

  .grid {
    padding: 1.5rem 1rem;
    gap: 1rem;
  }
}
