@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #0e0c09;
  --bg-panel: #17130f;
  --bg-card: #1c1712;
  --gold: #c9a35a;
  --gold-soft: #9c7f45;
  --cream: #ece5d6;
  --cream-dim: #b8ae9a;
  --border: #2c261c;
  --shadow: 0 20px 60px rgba(0,0,0,.45);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .display {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  letter-spacing: .01em;
}
a { color: inherit; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- HEADER ---------- */
header.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
  background: linear-gradient(to bottom, rgba(14,12,9,.9), rgba(14,12,9,0));
  transition: transform .35s ease, background .35s ease;
}
header.site-header.hide { transform: translateY(-100%); }
header.site-header.solid { background: rgba(14,12,9,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.brand { display: flex; align-items: center; gap: 10px; font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--cream); text-decoration: none; }
.brand .mark { width: 30px; height: 30px; border: 1.5px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 14px; }
.brand b { color: var(--gold); font-weight: 600; }

/* ---------- HERO ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; display: flex; align-items: center; }
.hero-media { position: absolute; inset: 0; z-index: 1; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-css-fallback { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse at 50% 40%, #241d13 0%, #0e0c09 70%); overflow: hidden; }
.coin-spin {
  position: absolute; top: 50%; left: 50%; width: 46vh; height: 46vh; margin: -23vh 0 0 -23vh;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f0d48a, #c9a35a 45%, #7a5f30 75%, #4a3a1e 100%);
  box-shadow: 0 0 90px rgba(201,163,90,.35), inset 0 0 40px rgba(0,0,0,.4);
  animation: spin 9s linear infinite;
}
.coin-spin::before {
  content: ''; position: absolute; inset: 8%; border-radius: 50%;
  border: 2px dashed rgba(0,0,0,.25);
}
.coin-spin::after {
  content: '⚭'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 8vh; color: rgba(0,0,0,.35);
}
@keyframes spin { from { transform: rotateY(0deg) scale(1); } 50% { transform: rotateY(180deg) scale(.92); } to { transform: rotateY(360deg) scale(1); } }
.glint { position: absolute; width: 2px; height: 2px; background: var(--gold); border-radius: 50%; opacity: 0; animation: glint 6s ease-in-out infinite; box-shadow: 0 0 8px 2px var(--gold); }
@keyframes glint { 0%, 100% { opacity: 0; } 50% { opacity: .9; } }

.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,12,9,.15) 0%, rgba(14,12,9,.55) 65%, var(--bg) 100%); }
.hero-content { position: relative; z-index: 2; width: 100%; text-align: center; }
.hero-content .eyebrow { color: var(--gold); letter-spacing: .25em; text-transform: uppercase; font-size: 12px; font-weight: 600; }
.hero-content h1 { font-size: clamp(38px, 6vw, 74px); margin: 14px 0; color: var(--cream); }
.hero-content h1 em { color: var(--gold); font-style: italic; }
.hero-content p { max-width: 560px; margin: 0 auto 28px; color: var(--cream-dim); font-size: 16px; line-height: 1.6; }
.btn {
  display: inline-block; padding: 13px 30px; border: 1px solid var(--gold); color: var(--gold);
  text-decoration: none; border-radius: 2px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  transition: all .25s ease;
}
.btn:hover { background: var(--gold); color: var(--bg); }
.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); color: var(--cream-dim); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; z-index: 2; }
.scroll-hint span { display: block; width: 1px; height: 26px; background: var(--gold); margin: 8px auto 0; animation: pulse-line 2s ease-in-out infinite; }
@keyframes pulse-line { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }

/* ---------- SECTIONS ---------- */
section.showcase { padding: 100px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .eyebrow { color: var(--gold); letter-spacing: .25em; text-transform: uppercase; font-size: 12px; font-weight: 600; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin: 10px 0 0; }

.grid-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; }
.card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 4px; overflow: hidden;
  transition: transform .3s ease, border-color .3s ease; cursor: pointer;
}
.card:hover { transform: translateY(-6px); border-color: var(--gold-soft); box-shadow: var(--shadow); }
.card .thumb { aspect-ratio: 1/1; background: #100d0a; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.card .thumb .no-img { color: var(--gold-soft); font-size: 42px; }
.card .info { padding: 16px 18px 20px; }
.card .tag { font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); }
.card h3 { margin: 6px 0 4px; font-size: 20px; }
.card .meta { color: var(--cream-dim); font-size: 13px; }

.empty-state { text-align: center; color: var(--cream-dim); padding: 40px 0; font-style: italic; }

footer.site-footer { border-top: 1px solid var(--border); padding: 40px 0; text-align: center; color: var(--cream-dim); font-size: 13px; }
footer.site-footer .gold { color: var(--gold); }

/* ---------- ITEM DETAIL ---------- */
.detail-wrap { max-width: 760px; margin: 0 auto; padding: 140px 24px 100px; }
.detail-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 32px; }
.detail-photos .ph { aspect-ratio: 1/1; background: var(--bg-card); border: 1px solid var(--border); border-radius: 4px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.detail-photos .ph img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.gallery-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 10px; margin-bottom: 32px; }
.gallery-strip img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 4px; border: 1px solid var(--border); background: var(--bg-card); }

.detail-tag { color: var(--gold); letter-spacing: .2em; text-transform: uppercase; font-size: 12px; }
.detail-wrap h1 { font-size: clamp(30px, 5vw, 46px); margin: 12px 0 24px; }
.detail-table { width: 100%; border-collapse: collapse; }
.detail-table tr { border-bottom: 1px solid var(--border); }
.detail-table td { padding: 12px 0; font-size: 15px; }
.detail-table td:first-child { color: var(--cream-dim); width: 40%; }
.detail-notes { margin-top: 28px; padding: 20px; background: var(--bg-panel); border-left: 2px solid var(--gold); font-style: italic; color: var(--cream-dim); }
.back-link { display: inline-block; margin-bottom: 24px; color: var(--gold); text-decoration: none; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }

@media (max-width: 640px) {
  section.showcase { padding: 70px 0; }
  .detail-photos { grid-template-columns: 1fr; }
}
