:root {
  --bg: #f3efe8;
  --ink: #141312;
  --accent: #f05a28;
  --muted: #6f6a62;
  --card: #fff7ee;
  --border: #e7dac8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Manrope", "Segoe UI", sans-serif;
  background: radial-gradient(1200px 700px at 10% -10%, #ffe7c4, transparent),
    radial-gradient(900px 500px at 110% 10%, #ffd7ef, transparent),
    var(--bg);
  color: var(--ink);
}

.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 20px 48px;
}

.hero h1 {
  font-size: 36px;
  margin: 0 0 6px;
  letter-spacing: 0.5px;
}

.hero p {
  margin: 0 0 18px;
  color: var(--muted);
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 16px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.status {
  margin-top: 10px;
  color: var(--muted);
}

.notice {
  display: none;
  color: var(--muted);
  font-weight: 600;
}

.gallery {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.tile {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: white;
}

.tile img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.25s ease;
}

.tile:hover img {
  transform: scale(1.08);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.lightbox.show {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  touch-action: none;
}

.lightbox img.snap {
  transition: transform 0.18s ease-out;
}

.lightbox .close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 700;
}

@media (max-width: 720px) {
  .wrap {
    padding: 22px 16px 40px;
  }
}
