/* ---------------------------------------------------------------
   DEAD KOW KULT — stylesheet
   Palette: ink #15130F, bone #EFE6D2, rust #A93B2C, moss #56643A, gold #C79A2E
   --------------------------------------------------------------- */

:root {
  --ink: #15130f;
  --ink-2: #1d1a14;
  --ink-3: #262218;
  --bone: #efe6d2;
  --bone-dim: #b8ae98;
  --rust: #a93b2c;
  --rust-bright: #c94a38;
  --moss: #56643a;
  --moss-bright: #6d7d4a;
  --gold: #c79a2e;

  --display: "Unbounded", system-ui, sans-serif;
  --body: "Work Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* Faint dot-grain texture across the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(rgba(239, 230, 210, 0.05) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.5;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ---------- header ---------- */

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(21, 19, 15, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--ink-3);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}

.logo {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0.02em;
  color: var(--bone);
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo svg { width: 28px; height: 28px; flex-shrink: 0; }

nav.filters {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
nav.filters::-webkit-scrollbar { display: none; }

.filter-btn {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  color: var(--bone-dim);
  background: transparent;
  border: 1px solid transparent;
  padding: 8px 14px;
  border-radius: 3px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.filter-btn:hover { color: var(--bone); }

.filter-btn.active {
  color: var(--ink);
  background: var(--bone);
  border-color: var(--bone);
}

/* ---------- hero ---------- */

.hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--ink-3);
}

.hero-mark {
  width: 76px;
  height: 76px;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(34px, 5.4vw, 58px);
  line-height: 1.05;
  margin: 0 0 20px;
  max-width: 14ch;
  color: var(--bone);
}

.hero p {
  font-size: 17px;
  color: var(--bone-dim);
  max-width: 46ch;
  margin: 0 0 28px;
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
  border: 1px solid rgba(199, 154, 46, 0.35);
  padding: 7px 12px;
  border-radius: 3px;
}

.hero-note::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ---------- catalog grid ---------- */

.catalog {
  padding: 48px 0 96px;
}

.catalog-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-heading h2 {
  font-family: var(--display);
  font-size: 22px;
  margin: 0;
}

.catalog-count {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--bone-dim);
}

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

/* ticket-stub card */
.card {
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px dashed var(--ink-3);
}

.card-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink);
  background: var(--moss-bright);
  padding: 3px 8px;
  border-radius: 2px;
}

.card-sku {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--bone-dim);
}

.card-art {
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(rgba(239, 230, 210, 0.06) 1px, transparent 1px) 0 0 / 10px 10px,
    var(--ink-3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.card-art svg {
  width: 46%;
  height: 46%;
  color: var(--bone-dim);
  opacity: 0.85;
}

/* perforation notch between art and body, ticket-stub style */
.card-art::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 14px;
  background-image: radial-gradient(circle at 10px 0, var(--ink) 6px, transparent 6.5px);
  background-size: 20px 14px;
  background-repeat: repeat-x;
}

.card-body {
  padding: 18px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}

.card-name {
  font-family: var(--display);
  font-size: 15px;
  margin: 0;
  color: var(--bone);
}

.card-blurb {
  font-size: 13px;
  color: var(--bone-dim);
  margin: 0 0 10px;
  flex-grow: 1;
}

.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.card-price {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--gold);
}

.status-pill {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 4px 9px;
  border-radius: 2px;
  white-space: nowrap;
}

.status-coming-soon { background: rgba(239, 230, 210, 0.1); color: var(--bone-dim); }
.status-preorder { background: rgba(169, 59, 44, 0.18); color: var(--rust-bright); }
.status-sold-out { background: rgba(239, 230, 210, 0.06); color: var(--bone-dim); text-decoration: line-through; }
.status-in-stock { background: rgba(86, 100, 58, 0.25); color: var(--moss-bright); }

.empty-state {
  padding: 60px 0;
  text-align: center;
  color: var(--bone-dim);
  font-family: var(--mono);
  font-size: 14px;
}

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--ink-3);
  padding: 36px 0;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  font-family: var(--display);
  font-size: 14px;
  color: var(--bone-dim);
}

.footer-contact {
  font-size: 13px;
  color: var(--bone-dim);
}

.footer-contact a {
  color: var(--gold);
  text-decoration: none;
}

.footer-contact a:hover { text-decoration: underline; }

/* ---------- responsive ---------- */

@media (max-width: 640px) {
  .header-row { flex-wrap: wrap; }
  .hero { padding: 52px 0 40px; }
  .catalog { padding: 36px 0 72px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
  .card-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* visible keyboard focus */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
