/* Paradice Minis — grimdark one-page shop */
:root {
  --bg: #0b0a09;
  --bg-2: #13110f;
  --card: #171513;
  --ink: #e8dfcc;
  --muted: #9b917f;
  --line: #2c2722;
  --blood: #8e1b1b;
  --blood-hi: #b3261e;
  --brass: #b8964f;
  --ok: #7fa36b;
  --wait: #b8964f;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font: 400 16px/1.65 "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg);
  /* Soft vignette + faint grain, all CSS (no images) */
  background-image:
    radial-gradient(ellipse at 50% -10%, rgba(142, 27, 27, 0.18), transparent 55%),
    radial-gradient(ellipse at 50% 120%, rgba(0, 0, 0, 0.9), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E");
  background-attachment: fixed;
}

a { color: var(--brass); }
a:hover { color: var(--ink); }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 10, 9, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand {
  font: 600 1.15rem/1 "Cinzel", Georgia, serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.brand em { font-style: normal; color: var(--blood-hi); }
.top nav { display: flex; align-items: center; gap: 24px; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--ink); }
.pill { border: 1px solid var(--blood); padding: 6px 14px; color: var(--ink) !important; background: rgba(142, 27, 27, 0.15); }
.pill:hover { background: var(--blood); }

/* Intro */
.intro { padding-top: 96px; padding-bottom: 64px; text-align: center; }
.eyebrow { margin: 0; font: 600 0.72rem/1.4 "Cinzel", Georgia, serif; letter-spacing: 0.35em; text-transform: uppercase; color: var(--brass); }
h1, h2, h3 { font-family: "Cinzel", Georgia, serif; font-weight: 600; line-height: 1.15; letter-spacing: 0.02em; }
h1 {
  margin: 16px auto 0;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  max-width: 18ch;
  text-transform: uppercase;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.8);
}
.lede { margin: 22px auto 0; max-width: 56ch; font-size: 1.08rem; color: var(--muted); }

/* Ornamental divider: rule — diamond — rule */
.rule {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 320px;
  margin: 30px auto 0;
  color: var(--blood-hi);
}
.rule::before,
.rule::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--brass), transparent); }
.rule span { width: 9px; height: 9px; transform: rotate(45deg); border: 1px solid var(--brass); background: var(--blood); }

/* Shop */
#shop { padding-bottom: 48px; }
.shop-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 36px; }
.shop-head h2 { margin: 0; font-size: 1.9rem; text-transform: uppercase; letter-spacing: 0.08em; }
.filters { display: flex; gap: 8px; }
.filters button {
  font: 600 0.75rem/1 "Cinzel", Georgia, serif;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  padding: 9px 16px;
  cursor: pointer;
}
.filters button:hover { color: var(--ink); border-color: var(--brass); }
.filters button[aria-pressed="true"] { background: var(--blood); border-color: var(--blood-hi); color: var(--ink); }

.grid {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.card {
  position: relative;
  background: linear-gradient(180deg, var(--card), var(--bg-2));
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s, box-shadow 0.4s;
}
/* Brass corner brackets */
.card::before,
.card::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--brass);
  border-style: solid;
  opacity: 0.7;
  pointer-events: none;
}
.card::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.card::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.card:hover { border-color: #4a3a2a; box-shadow: 0 0 40px rgba(142, 27, 27, 0.18); }
.card[hidden] { display: none; }
.pic { aspect-ratio: 4 / 3; background: #0e0d0c; border-bottom: 1px solid var(--line); }
.pic img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(0.9) contrast(1.05); }
.ph {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at center, rgba(142, 27, 27, 0.12), transparent 70%),
    repeating-linear-gradient(135deg, #0f0e0d 0 12px, #121110 12px 24px);
}
.ph span { font: 600 0.7rem/1 "Cinzel", Georgia, serif; letter-spacing: 0.25em; text-transform: uppercase; color: #5e564b; }
.body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.meta { margin: 0; display: flex; justify-content: space-between; font: 600 0.68rem/1.4 "Cinzel", Georgia, serif; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.badge-available { color: var(--ok); }
.badge-order { color: var(--wait); }
.badge-soon { color: var(--blood-hi); }
.card h3 { margin: 10px 0 8px; font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.06em; }
.card p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.details { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.details li { font-size: 0.72rem; letter-spacing: 0.05em; border: 1px solid var(--line); padding: 2px 9px; color: var(--muted); }
.buy { margin-top: auto; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; }
.price { font: 600 1.35rem/1 "Cinzel", Georgia, serif; color: var(--brass); }
.ask {
  background: var(--blood);
  border: 1px solid var(--blood-hi);
  color: var(--ink);
  text-decoration: none;
  padding: 9px 16px;
  font: 600 0.72rem/1 "Cinzel", Georgia, serif;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background 0.3s;
}
.ask:hover { background: var(--blood-hi); color: #fff; }
.fine { margin: 22px 0 0; font-size: 0.78rem; color: #6d655a; }

/* About + contact */
.about, .contact { border-top: 1px solid var(--line); padding-top: 36px; padding-bottom: 44px; }
.about h2, .contact h2 { margin: 0 0 12px; font-size: 1.7rem; text-transform: uppercase; letter-spacing: 0.08em; }
.about p, .contact p { max-width: 60ch; color: var(--muted); }
.mail { display: flex; flex-direction: column; gap: 6px; }
.mail > a { font: 600 1.4rem/1.2 "Cinzel", Georgia, serif; color: var(--ink); text-decoration-color: var(--blood-hi); }
.mail span { font-size: 0.9rem; }

.foot { border-top: 1px solid var(--line); padding-top: 22px; padding-bottom: 44px; font: 600 0.7rem/1.4 "Cinzel", Georgia, serif; letter-spacing: 0.2em; text-transform: uppercase; color: #6d655a; }

@media (max-width: 560px) {
  .top nav { gap: 14px; }
  .top nav a:not(.pill) { display: none; }
  .intro { padding-top: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
}
