:root {
  --cream: #f6f1e8;
  --paper: #fffdf8;
  --ink: #1c1b16;
  --muted: #5c584e;
  --line: #ddd6c8;
  --rust: #9c3c1c;
  --rust-dark: #7a2e14;
  --forest: #2c4a3e;
  --gold: #c4a574;
  --chip: #efe8d8;
  --ok: #2c4a3e;
  --warn: #8a5a12;
  --mixed: #6b4a2b;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(28, 27, 22, 0.05), 0 8px 24px rgba(28, 27, 22, 0.06);
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}
img { max-width: 100%; }
a { color: var(--rust-dark); }
a:hover { color: var(--rust); }
.wrap { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }
header.site {
  background: var(--ink);
  color: var(--cream);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 20;
}
header.site .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  color: var(--cream);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}
.logo span { color: var(--gold); }
nav.primary { display: flex; flex-wrap: wrap; gap: 6px 16px; }
nav.primary a {
  color: #efe8d8;
  text-decoration: none;
  font-size: 0.92rem;
}
nav.primary a:hover, nav.primary a[aria-current="page"] { color: #fff; text-decoration: underline; }
.hero {
  padding: 48px 0 28px;
  border-bottom: 1px solid var(--line);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.15rem);
  line-height: 1.15;
  margin: 0 0 14px;
  max-width: 18ch;
}
.hero p.lede { max-width: 62ch; color: var(--muted); margin: 0 0 22px; }
.search-row { display: flex; gap: 10px; max-width: 560px; }
.search-row input[type="search"] {
  flex: 1;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 12px 14px;
  font: inherit;
  border-radius: 10px;
}
.btn, button.btn, a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--rust);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 12px 16px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--rust-dark); color: #fff; }
.btn.secondary { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn.ghost { background: transparent; color: var(--rust-dark); padding-inline: 0; }
section { padding: 40px 0; }
h2 {
  font-family: var(--serif);
  font-size: 1.7rem;
  margin: 0 0 8px;
}
.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--rust);
  font-weight: 700;
  margin: 0 0 6px;
}
.grid { display: grid; gap: 16px; }
.cats { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.cat-tile {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cat-tile:hover { border-color: var(--gold); }
.cat-tile h3 { margin: 0; font-family: var(--serif); font-size: 1.35rem; }
.cat-tile p { margin: 8px 0 0; color: var(--muted); font-size: 0.92rem; }
.cards { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow);
}
.card h3 { margin: 0; font-size: 1.15rem; font-family: var(--serif); }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.meta, .fine { color: var(--muted); font-size: 0.9rem; }
.price { font-weight: 700; }
.card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.grade {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--forest);
}
.grade.imported-materials { color: var(--mixed); }
.grade.assembled, .grade.mixed { color: var(--warn); background: #f3ead3; }
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
}
.filters label { font-size: 0.8rem; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.filters select, .filters input {
  font: inherit;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  min-width: 150px;
}
.detail {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.panel h1 { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 8px 0 10px; }
dl.facts { margin: 0; display: grid; grid-template-columns: 140px 1fr; gap: 8px 14px; }
dl.facts dt { color: var(--muted); font-size: 0.86rem; }
dl.facts dd { margin: 0; }
.disclosure, .verify, footer.site {
  font-size: 0.88rem;
  color: var(--muted);
}
footer.site {
  border-top: 1px solid var(--line);
  padding: 28px 0 48px;
  margin-top: 20px;
}
.note {
  background: #f3ead3;
  border-left: 4px solid var(--gold);
  padding: 12px 14px;
  border-radius: 0 10px 10px 0;
}
.note.caution { background: #f6e4d8; border-left-color: var(--rust); }
table.simple { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
table.simple th, table.simple td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.callout-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.empty { color: var(--muted); padding: 20px 0; }
@media (max-width: 800px) {
  .detail { grid-template-columns: 1fr; }
  dl.facts { grid-template-columns: 1fr; gap: 2px 0; }
  dl.facts dt { margin-top: 8px; }
  header.site { position: static; }
}

.footer-links { margin: 0 0 8px; }
.footer-links a { color: inherit; }
.narrow { max-width: 760px; }
article.guide h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin: 0 0 14px;
}
article.guide .lede { max-width: 66ch; color: var(--muted); }
article.guide h2 {
  margin: 28px 0 10px;
}
article.guide p, article.guide li { max-width: 68ch; }
article.guide ul { padding-left: 1.2em; }
article.guide { padding-bottom: 24px; }
