:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --border: #e8e1d4;
  --text: #201d18;
  --muted: #6e685e;
  --faint: #a39c8d;
  --gold: #a97e3b;
  --gold-soft: #f1e3c9;
  --font-display: Georgia, "Times New Roman", serif;
  --font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
}

.announce {
  background: var(--gold-soft);
  color: #6b5222;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  padding: 0.55rem 1rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.nav-count {
  font-size: 0.8rem;
  color: var(--muted);
}

.hero {
  background: linear-gradient(180deg, var(--gold-soft) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: 42rem;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 5rem;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  line-height: 1.15;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}

.hero .sub {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 32rem;
}

main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3.5rem 2rem 5rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2rem 1.75rem;
}

.card {
  cursor: pointer;
}

.frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(32, 29, 24, 0.04);
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.card:hover .frame img {
  transform: scale(1.045);
}

.badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--surface);
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(32, 29, 24, 0.12);
}

.card-body {
  padding: 0.85rem 0.1rem 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.card-title {
  font-size: 0.92rem;
  font-weight: 600;
}

.card-view {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
}

.empty {
  text-align: center;
  padding: 5rem 1rem;
  color: var(--muted);
}

.empty .muted {
  color: var(--faint);
  font-size: 0.85rem;
}

footer {
  text-align: center;
  padding: 2.5rem 1rem 3rem;
  color: var(--faint);
  font-size: 0.78rem;
  border-top: 1px solid var(--border);
}

.lightbox:not([hidden]) {
  display: flex;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 17, 12, 0.92);
  align-items: center;
  justify-content: center;
  padding: 3rem;
  z-index: 50;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
