:root {
  --bg: #0f1115;
  --panel: #15181f;
  --ink: #eef0f3;
  --muted: #9aa2b1;
  --accent: #ffb454;
  --accent-2: #4fd1c5;
  --radius: 14px;
  --gap: 18px;
  --font-display: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  /*background: var(--bg);*/
  color: var(--ink);
  font-family: var(--font-display);
}

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.page-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}

h1 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.page-header p {
  color: var(--muted);
  max-width: 640px;
  line-height: 1.55;
  margin: 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: var(--panel);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.45);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item .cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0));
  pointer-events: none; /* let clicks fall through to the image */
}

.gallery-item .zoom-hint {
  position: absolute;
  top: 10px; right: 10px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none; /* purely decorative — click goes to the image beneath it */
}
.gallery-item:hover .zoom-hint { opacity: 1; }
.zoom-hint svg { width: 16px; height: 16px; stroke: #fff; }

footer.note {
  margin-top: 48px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 18px;
}
footer.note code {
  background: rgba(255,255,255,0.06);
  padding: 2px 6px;
  border-radius: 4px;
}
