:root {
  --ink: #23211d;
  --muted: #6b665c;
  --paper: #faf8f4;
  --card: #ffffff;
  --line: #e6e0d4;
  --carbon: #1b1c1e;
  --carbon-2: #232427;
  --brass: #c19a3f;
  --brass-dark: #9c7a2b;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 6px 20px rgba(0,0,0,.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font: 16px/1.6 "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; display: block; }
code { font-size: .85em; }

/* Carbon weave used on the dark bands */
.carbon {
  background-color: var(--carbon);
  background-image:
    linear-gradient(45deg, var(--carbon-2) 25%, transparent 25%, transparent 75%, var(--carbon-2) 75%),
    linear-gradient(45deg, var(--carbon-2) 25%, transparent 25%, transparent 75%, var(--carbon-2) 75%);
  background-size: 8px 8px;
  background-position: 0 0, 4px 4px;
}

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 16px;
  padding: 12px 24px;
  background: rgba(27,28,30,.96);
  backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--brass);
}
.brand { color: #fff; font-weight: 800; font-size: 22px; text-decoration: none; letter-spacing: .5px; }
.brand span { color: var(--brass); }
.topbar nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-left: auto; }
.topbar nav a { color: #ddd; text-decoration: none; font-size: 14px; white-space: nowrap; }
.topbar nav a:hover { color: var(--brass); }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: #fff; font-size: 24px; cursor: pointer; }

/* Hero */
.hero { color: #fff; padding: 88px 24px 96px; }
.hero-inner { max-width: 820px; margin: 0 auto; }
.kicker { color: var(--brass); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 13px; margin: 0 0 8px; }
.hero h1 { font-size: clamp(32px, 6vw, 56px); line-height: 1.1; margin: 0 0 18px; }
.lead { font-size: 19px; color: #d6d3cc; margin: 0 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-block; padding: 11px 20px; border-radius: 999px;
  font-weight: 600; text-decoration: none; font-size: 15px; border: 2px solid transparent;
  cursor: pointer;
}
.btn-brass { background: var(--brass); color: #1b1c1e; }
.btn-brass:hover { background: #d4ad50; }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { border-color: var(--brass); color: var(--brass); }

/* Perks */
.perks {
  max-width: 1160px; margin: -48px auto 0; padding: 0 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  position: relative;
}
.perk { background: var(--card); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.perk-icon { font-size: 26px; }
.perk h3 { margin: 6px 0 4px; font-size: 17px; }
.perk p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* Shop sections */
.shop-section { max-width: 1160px; margin: 0 auto; padding: 64px 24px 8px; }
.shop-section h2 { font-size: 30px; margin: 0; display: flex; align-items: baseline; gap: 12px; }
.shop-section h2 .count { font-size: 14px; color: var(--muted); font-weight: 500; }
.shop-section .blurb { color: var(--muted); margin: 4px 0 24px; max-width: 640px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.card .main { aspect-ratio: 1; width: 100%; object-fit: contain; background: #ece8df; cursor: zoom-in; }
.thumbs { display: flex; gap: 6px; padding: 8px 10px 0; }
.thumbs img {
  width: 40px; height: 40px; object-fit: cover; border-radius: 6px; cursor: pointer;
  border: 2px solid transparent; background: #ece8df;
}
.thumbs img.on { border-color: var(--brass); }
.card-body { padding: 10px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { margin: 0; font-size: 16.5px; line-height: 1.3; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.card ul { margin: 0; padding-left: 18px; font-size: 14px; }
.card .features li { margin: 2px 0; }
.card .features li::marker { color: var(--brass); }
.card .notes { list-style: none; padding: 0; color: var(--muted); font-size: 12.5px; font-style: italic; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding-top: 6px; }
.price { font-size: 20px; font-weight: 800; }
.price small { font-size: 12px; color: var(--muted); font-weight: 500; }
.buy { display: flex; gap: 6px; }
.buy a {
  font-size: 13px; font-weight: 600; text-decoration: none; padding: 6px 12px; border-radius: 999px;
  border: 1.5px solid var(--ink); color: var(--ink);
}
.buy a:hover { background: var(--ink); color: #fff; }
.buy a.soon { opacity: .45; pointer-events: none; }

.usa { color: #d6d3cc; font-size: 14px; font-weight: 600; align-self: center; }

/* Printed vs metal */
.compare { max-width: 980px; margin: 80px auto 0; padding: 0 24px; }
.compare h2, .categories h2 { font-size: 30px; margin: 0 0 8px; }
.compare .intro { color: var(--muted); margin: 0 0 20px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.compare table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { background: #f3efe6; font-size: 14px; }
.compare tbody th { width: 120px; }
.compare td.win { font-weight: 600; }
.compare td.win::before { content: "✓ "; color: var(--brass-dark); }

.note {
  margin-top: 20px; padding: 16px 20px; border-radius: var(--radius);
  background: #faf3e2; border: 1px solid #ead9ad; border-left: 5px solid var(--brass);
}
.note h3 { margin: 0 0 4px; font-size: 17px; }
.note p { margin: 0; color: #5d5544; }
.finish-note {
  margin: -12px 0 24px; padding: 10px 14px; font-size: 14px; color: #5d5544;
  background: #faf3e2; border-left: 4px solid var(--brass); border-radius: 6px; max-width: 820px;
}
.finish-note a { color: var(--brass-dark); }

/* Category tiles */
.categories { max-width: 1160px; margin: 80px auto; padding: 0 24px; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin-top: 20px; }
.cat-tile {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s;
}
.cat-tile:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,.1); }
.cat-img { aspect-ratio: 4/3; width: 100%; object-fit: cover; background: #ece8df; }
.cat-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.cat-title { font-weight: 800; font-size: 18px; }
.cat-blurb { color: var(--muted); font-size: 14px; }
.cat-count { margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--brass-dark); }
.cat-tile.soon { opacity: .75; }

/* Category page */
.cat-pills { max-width: 1160px; margin: 0 auto; padding: 20px 24px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cat-pills a {
  font-size: 14px; text-decoration: none; color: var(--ink); padding: 6px 14px;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--card);
}
.cat-pills a:hover { border-color: var(--brass); }
.cat-pills a.on { background: var(--carbon); color: #fff; border-color: var(--carbon); }
.shop-section { min-height: 50vh; padding-bottom: 64px; }
.empty { padding: 40px; text-align: center; color: var(--muted); border: 2px dashed var(--line); border-radius: var(--radius); }

/* About */
.about {
  max-width: 1160px; margin: 80px auto 0; padding: 0 24px;
  display: grid; grid-template-columns: 360px 1fr; gap: 40px; align-items: center;
}
.about-photo {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden;
  background: #ece8df; border: 3px dashed #c9bfa8;
  display: grid; place-items: center; text-align: center; color: #9a8d72;
}
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { font-size: 30px; margin: 0 0 12px; }

/* FAQ */
.faq { max-width: 820px; margin: 80px auto; padding: 0 24px; }
.faq h2 { font-size: 30px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { color: var(--muted); margin: 8px 0 0; }

.footer { color: #bbb; text-align: center; padding: 32px 24px; font-size: 14px; }
.footer p { margin: 4px 0; }
.footer a { color: var(--brass); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.88);
  display: grid; place-items: center; padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; max-width: 90vw; border-radius: 8px; }
.lb-close { position: absolute; top: 12px; right: 18px; font-size: 36px; color: #fff; background: none; border: 0; cursor: pointer; }

@media (max-width: 900px) {
  .perks { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .about-photo { max-width: 360px; }
}
@media (max-width: 720px) {
  .topbar { padding: 10px 16px; flex-wrap: wrap; }
  .topbar nav { margin-left: 0; width: 100%; gap: 4px 14px; }
  .hero { padding: 56px 16px 64px; }
  .shop-section, .about, .compare, .categories, .cat-pills { padding-left: 16px; padding-right: 16px; }
}
