:root {
  --bg: #1a1410;
  --surface: #2a221c;
  --text: #f5ebe0;
  --muted: #b8a99a;
  --accent: #e8a87c;
  --shadow: rgba(0, 0, 0, 0.45);
}

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

html,
body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", system-ui, sans-serif;
}

.wall {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 1.5rem clamp(1rem, 4vw, 3rem);
}

.header {
  text-align: center;
  padding-bottom: 1rem;
}

.header h1 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent);
}

.subtitle {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.stage {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.slide {
  margin: 0;
  width: min(92vw, 1100px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  animation: fadeIn 0.8s ease;
}

.slide img {
  width: 100%;
  max-height: min(68vh, 720px);
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 64px var(--shadow);
  background: var(--surface);
}

.caption {
  text-align: center;
  max-width: 42rem;
  padding: 0 1rem;
}

.caption .story {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  line-height: 1.5;
  font-weight: 500;
}

.caption .meta {
  margin: 0.6rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.empty {
  text-align: center;
  color: var(--muted);
}

.empty p {
  margin: 0.5rem 0;
}

.empty .hint {
  font-size: 0.95rem;
}

.footer {
  text-align: center;
  padding-top: 1rem;
}

.counter {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hidden {
  display: none !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .slide {
    animation: none;
  }
}
