/* Minimal, responsive gallery. No JS. Keep styles concise. */

/* Base */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: #111;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Page layout (sticky footer) */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 56px; /* space for fixed footer */
}

.site-main { flex: 1; }

/* Centered content column */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 20;
}

.site-title {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.2px;
  text-align: center;
  margin: 14px 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid #eee;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 10;
}

.site-footer p {
  text-align: center;
  font-size: 13px;
  color: #333;
  margin: 16px 0;
}

.site-footer a {
  color: #111;
  text-underline-offset: 2px;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Focus styles for accessibility */
a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* Gallery grid */
.gallery {
  display: grid;
  gap: 0px;
  grid-template-columns: repeat(2, 1fr);
  padding: 80px 0 0;
}

@media (min-width: 481px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 769px) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
}

/* Items maintain rhythm via aspect ratio; images cover their cells */
.item {
  /* aspect-ratio: 4 / 3; */
  overflow: hidden;
  border-radius: 0;
  background: #f5f5f5; /* subtle placeholder while loading */
}

.item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* remove inline-gap */
}

/* No hover effect */

/* Respect reduced motion (no animations used, but be explicit) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}


