:root {
  --ink: #0d0d0d;
  --surface: #161411;
  --raised: #221e19;
  --bone: #f6f1e8;
  --gold: #c4a574;
  --mint: #8fbfb0;
  --stone: #b3a89c;
  --warn: #e0b36a;
  --line: #322d27;
  --display: "Playfair Display", Georgia, serif;
  --sans: "Source Sans 3", system-ui, sans-serif;
  --radius: 1.25rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  line-height: 1.5;
}
h1, h2, h3 { font-family: var(--display); line-height: 1.1; font-weight: 600; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, [role="button"] { cursor: pointer; font: inherit; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
img { max-width: 100%; display: block; }
.app { position: relative; z-index: 1; min-height: 100vh; padding-bottom: 4.5rem; }
@media (min-width: 768px) { .app { padding-bottom: 0; } }
.header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--ink) 94%, transparent);
  isolation: isolate;
}
.bar, .search-row, .wrap { width: min(72rem, calc(100% - 2rem)); margin-inline: auto; }
.bar { display: flex; align-items: center; gap: 0.75rem; padding: 0.55rem 0; }
.brand { display: flex; align-items: center; }
.brand img { height: 3.1rem; width: auto; border-radius: 0; object-fit: contain; display: block; }
@media (min-width: 768px) { .brand img { height: 4.05rem; } }
.nav { display: none; margin-left: 1rem; gap: 0.25rem; }
@media (min-width: 768px) { .nav { display: flex; } }
.nav a, .menu a { border-radius: 999px; padding: 0.5rem 0.75rem; color: var(--stone); font-size: 0.875rem; transition: color .15s linear; }
.nav a:hover, .menu a:hover { color: var(--bone); }
.nav a.on { color: var(--mint); }
.tools { margin-left: auto; display: flex; gap: 0.5rem; }
.icon-btn {
  position: relative; width: 2.75rem; height: 2.75rem; display: grid; place-items: center;
  border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--bone);
  transition: color .15s linear, transform .15s linear;
}
.icon-btn:hover { color: var(--gold); transform: translate3d(0, 0, 0) scale(1.04); }
.icon-btn svg { width: 1.35rem; height: 1.35rem; display: block; }
.badge {
  position: absolute; top: -0.25rem; right: -0.25rem; min-width: 1.25rem; padding: 0 0.25rem;
  border-radius: 999px; background: var(--mint); color: var(--ink); font-size: 0.75rem; font-weight: 700;
}
.menu-btn { display: grid; }
@media (min-width: 768px) { .menu-btn { display: none; } }
.menu { border-top: 1px solid var(--line); padding: 0.5rem 1rem 0.75rem; }
.menu a { display: block; padding: 0.75rem 0; color: var(--bone); }
.search-row { display: flex; gap: 0.5rem; padding-bottom: 0.75rem; }
.search-row input, .field, select.field, textarea.field {
  height: 2.75rem; width: 100%; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--bone); padding: 0 1rem;
}
.search-row input { flex: 1; min-width: 0; }
.search-row input::placeholder, .field::placeholder, textarea.field::placeholder { color: var(--stone); }
textarea.field { height: auto; min-height: 6rem; border-radius: 0.75rem; padding: 0.75rem 1rem; }
.wrap { padding: 2rem 0 1rem; }
.kicker { font-size: 0.875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.hero { display: block; max-width: 42rem; }
h1 { font-size: 2.25rem; }
@media (min-width: 768px) { h1 { font-size: 3.35rem; } }
.lead { margin-top: 1.25rem; max-width: 30rem; font-size: 1.125rem; color: var(--stone); }
.row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 3rem; padding: 0 1.5rem;
  border-radius: 999px; border: 0; background: var(--bone); color: var(--ink); font-weight: 700;
  transition: transform .15s linear;
}
.btn:hover { transform: translate3d(0, -1px, 0); }
.btn.ghost { background: transparent; color: var(--gold); border: 1px solid color-mix(in srgb, var(--gold) 60%, transparent); }
.btn.mint { background: transparent; color: var(--mint); padding-inline: 0.5rem; }
.btn.on { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.frame { border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); background: var(--ink); padding: 0.75rem; }
.frame img, .card img.art { aspect-ratio: 5/7; width: 100%; object-fit: cover; border-radius: 0.75rem; }
.lanes, .grid-4, .grid-cards, .deals, .steps { display: grid; gap: 0.75rem; }
.lanes, .grid-cards { grid-template-columns: 1fr 1fr; }
@media (min-width: 768px) { .lanes, .steps, .grid-4 { grid-template-columns: repeat(3, 1fr); } .deals { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid-cards { grid-template-columns: repeat(4, 1fr); } }
.section { margin-top: 3rem; }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.link { color: var(--mint); font-size: 0.875rem; background: none; border: 0; padding: 0; }
.lane, .panel, .step, .set, .deal, .card, .line {
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
}
.lane, .panel, .step { padding: 1.25rem; }
.tiny { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mint); }
.lane h3, .step h3, .panel h3 { margin-top: 0.5rem; font-size: 1.5rem; }
.muted { color: var(--stone); font-size: 0.875rem; margin-top: 0.25rem; }
.gold { color: var(--gold); }
.warn { color: var(--warn); }
.mint { color: var(--mint); }
.sets { display: flex; gap: 0.75rem; overflow-x: auto; padding-bottom: 0.5rem; }
.set { min-width: 13rem; padding: 1rem 1.25rem; }
.set strong { display: block; margin-top: 0.25rem; font-family: var(--display); font-size: 1.25rem; font-weight: 600; }
.deal { display: flex; gap: 1rem; padding: 0.75rem; border-color: color-mix(in srgb, var(--mint) 30%, transparent); }
.deal img { width: 5rem; height: 7rem; object-fit: cover; border-radius: 0.5rem; }
.card {
  padding: 0.75rem;
  contain: layout paint style;
  content-visibility: auto;
  contain-intrinsic-size: 280px 420px;
  transition: transform .18s linear;
}
@media (hover: hover) {
  .card:hover {
    transform: translate3d(0, -3px, 0);
    will-change: transform;
  }
}
.shot { position: relative; overflow: hidden; border-radius: 0.75rem; background: var(--ink); touch-action: none; }
.shot-inner { position: relative; transform-origin: 50% 50%; }
.shot .art { width: 100%; display: block; }
.shot .art.back { display: none; }
.product .frame { overflow: hidden; touch-action: none; }
.product .frame img { transform-origin: 50% 50%; }
.pills { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.7rem; }
.pill {
  border-radius: 999px; border: 1px solid var(--line); padding: 0.15rem 0.5rem;
  font-size: 0.7rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold);
}
.pill.dim { color: var(--stone); }
.card h3 { margin-top: 0.45rem; font-size: 1.125rem; }
.price { font-family: var(--display); font-size: 1.25rem; }
.price.big { font-size: 2.25rem; }
.was { color: var(--stone); text-decoration: line-through; font-size: 0.875rem; }
.meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 0.5rem; margin-top: 0.5rem; }
.faq { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq summary { cursor: pointer; font-family: var(--display); font-size: 1.125rem; }
.narrow { width: min(48rem, calc(100% - 2rem)); margin-inline: auto; }
.cta { border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); background: var(--raised); text-align: center; padding: 3rem 1.5rem; }
.cta p { margin: 0.75rem auto 0; max-width: 32rem; color: var(--stone); }
.layout { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .layout { grid-template-columns: 15rem 1fr; } .grid-cards.catalog { grid-template-columns: repeat(3, 1fr); } }
.filters { padding: 1rem; height: fit-content; }
.filters label { display: block; margin-top: 1rem; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); }
.filters select, .sort {
  margin-top: 0.5rem; height: 2.75rem; width: 100%; border-radius: 0.75rem; border: 1px solid var(--line);
  background: var(--ink); color: var(--bone); padding: 0 0.75rem;
}
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 1rem; }
.sort { width: auto; margin-top: 0; }
.empty { padding: 2rem; color: var(--stone); }
.product { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 768px) { .product { grid-template-columns: 1fr 1fr; } }
.product .frame { max-width: 28rem; margin-inline: auto; cursor: zoom-in; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 0.25rem 0.75rem; font-size: 0.875rem; }
.chip.warn { border-color: color-mix(in srgb, var(--warn) 50%, transparent); color: var(--warn); }
.line { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 1rem; margin-top: 0.75rem; }
.qty { display: flex; align-items: center; gap: 0.5rem; }
.form { display: grid; gap: 0.75rem; margin-top: 2rem; }
.form .field { border-radius: 0.75rem; }
.footer { margin-top: 4rem; border-top: 1px solid var(--line); }
.foot { display: grid; gap: 2rem; padding: 3rem 0; }
@media (min-width: 768px) { .foot { grid-template-columns: repeat(3, 1fr); } }
.footer h2 { font-size: 1.5rem; }
.footer a { display: block; }
.bottom {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); background: var(--ink); font-size: 0.75rem; color: var(--stone);
}
.bottom a { height: 3.5rem; display: flex; align-items: center; justify-content: center; }
@media (min-width: 768px) { .bottom { display: none; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.toast {
  position: fixed; left: 50%; bottom: 5rem; transform: translate3d(-50%, 1rem, 0);
  z-index: 60; background: var(--bone); color: var(--ink); border-radius: 999px; padding: 0.7rem 1.1rem;
  font-size: 0.875rem; font-weight: 600; opacity: 0; pointer-events: none;
  transition: opacity .2s linear, transform .2s linear;
  will-change: transform, opacity;
}
@media (min-width: 768px) { .toast { bottom: 2rem; } }
.toast.show { opacity: 1; transform: translate3d(-50%, 0, 0); }
.lightbox {
  position: fixed; inset: 0; z-index: 70; background: color-mix(in srgb, var(--ink) 88%, transparent);
  display: grid; place-items: center; padding: 1.5rem; cursor: zoom-out;
  transform: translateZ(0);
}
.lightbox img { max-height: 90vh; max-width: min(28rem, 100%); border-radius: 1rem; box-shadow: 0 20px 60px #0008; }
.want { margin-left: auto; }
.note { margin-top: 1rem; padding: 0.85rem 1rem; border-radius: 0.9rem; border: 1px solid var(--line); color: var(--stone); font-size: 0.875rem; }
.gone { opacity: .55; }
