:root {
  --bg: #f7f2e8;
  --surface: #fdfaf3;
  --ink: #241c14;
  --muted: #6f6254;
  --line: #e4dac6;
  --brass: #a8823e;
  --brass-ink: #8a6a2c;
  --teal: #2f4f47;
  --serif: Georgia, "Times New Roman", "Songti SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--bg);
  background-image: repeating-linear-gradient(90deg, rgba(36, 28, 20, 0.025) 0, rgba(36, 28, 20, 0.025) 1px, transparent 1px, transparent 34px);
}

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

a { color: var(--brass-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- header ---- */
.site-head {
  background: var(--ink);
  border-bottom: 3px solid var(--brass);
}
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; padding-top: 14px; padding-bottom: 14px;
}
.brand { display: flex; align-items: baseline; gap: 10px; color: #f3ead8; }
.brand:hover { text-decoration: none; }
.brand-name { font-family: var(--serif); font-size: 24px; font-weight: 700; letter-spacing: 1px; }
.brand-sub { font-size: 13px; color: #a9997f; font-style: italic; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { color: #cbbfa9; font-size: 14px; letter-spacing: .3px; }
.nav a:hover { color: #ffffff; }

/* ---- hero ---- */
.hero { background: var(--ink); color: #f3ead8; }
.hero .wrap { padding-top: 56px; padding-bottom: 56px; }
.hero-kicker {
  font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--brass);
  margin: 0 0 12px; font-weight: 600;
}
.hero h1 { font-family: var(--serif); font-size: clamp(28px, 5vw, 44px); line-height: 1.15; margin: 0 0 16px; font-weight: 700; }
.hero-lede { font-size: 18px; color: #cbbfa9; max-width: 680px; margin: 0 0 26px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 11px 20px; border-radius: 0;
  font-weight: 600; font-size: 15px; color: #fff; background: var(--brass);
  border: 1px solid var(--brass);
}
.btn:hover { text-decoration: none; background: #b8924a; }
.btn-ghost { background: transparent; color: #d9cba8; border-color: #5a4d3c; }
.btn-ghost:hover { border-color: var(--brass); color: #fff; }

/* ---- category strip ---- */
.catstrip { background: var(--surface); border-bottom: 1px solid var(--line); }
.catstrip .wrap { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 14px; padding-bottom: 14px; }
.cat-chip {
  display: inline-flex; align-items: baseline; gap: 8px; padding: 6px 14px;
  border: 1px solid var(--line); background: #fffdf8; font-size: 14px; color: var(--ink);
}
.cat-chip:hover { text-decoration: none; border-color: var(--brass); }
.cat-chip em { font-style: normal; font-size: 12px; color: var(--muted); }

/* ---- page head ---- */
main { padding-bottom: 48px; }
.page-head { background: var(--surface); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-top: 40px; padding-bottom: 28px; }
.page-head h1 { font-family: var(--serif); font-size: 34px; margin: 0 0 8px; }
.lede { color: var(--muted); font-size: 18px; max-width: 720px; margin: 0; }

.page-body .wrap { padding-top: 32px; }
.prose { max-width: 720px; }
.prose h2 { font-family: var(--serif); font-size: 22px; margin: 28px 0 10px; }
.prose h3 { font-size: 18px; margin: 22px 0 8px; }
.prose p { margin: 0 0 16px; }
.prose a { text-decoration: underline; }

/* ---- group index (home) ---- */
.group-index { padding: 40px 0; }
.group-index > .wrap > h2 { font-family: var(--serif); font-size: 24px; margin: 0 0 22px; }
.group { margin-bottom: 30px; }
.group-head {
  font-size: 15px; letter-spacing: 2px; text-transform: uppercase; color: var(--brass-ink);
  border-bottom: 2px solid var(--brass); display: inline-block; padding-bottom: 4px; margin: 0 0 14px;
}
.group-head a { color: inherit; }
.item-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.item-card {
  display: flex; flex-direction: column; gap: 5px; padding: 15px 16px;
  background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--teal);
}
.item-card:hover { text-decoration: none; border-left-color: var(--brass); }
.item-card-lg { border-left-width: 3px; }
.item-name { font-weight: 700; color: var(--ink); font-size: 16px; line-height: 1.3; }
.item-meta { font-size: 13px; color: var(--muted); }

/* ---- breadcrumbs ---- */
.crumbs { background: var(--surface); border-bottom: 1px solid var(--line); }
.crumbs .wrap { padding-top: 12px; padding-bottom: 12px; font-size: 14px; color: var(--muted); }
.crumbs .sep { color: #bfb39c; margin: 0 6px; }

/* ---- article ---- */
.item-head { background: var(--ink); color: #f3ead8; }
.item-head .wrap { padding-top: 40px; padding-bottom: 30px; }
.item-cat {
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--brass);
  margin: 0 0 10px; font-weight: 600;
}
.item-head h1 { font-family: var(--serif); font-size: clamp(26px, 4.5vw, 40px); line-height: 1.2; margin: 0 0 10px; }
.item-head .item-meta { font-size: 14px; color: #a9997f; }

.item > .wrap { display: grid; grid-template-columns: 300px 1fr; gap: 34px; align-items: start; padding-top: 34px; }

/* garment card = 挂签 index card */
.garment-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-top: 4px solid var(--brass); padding-top: 12px;
}
.card-hole {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 10px; height: 10px; border-radius: 50%; background: var(--bg);
  border: 2px solid var(--brass);
}
.card-title {
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--brass-ink);
  text-align: center; margin: 18px 0 4px; font-weight: 600;
}
.card { margin: 0; padding: 6px 0; }
.fact { padding: 10px 16px; border-bottom: 1px dashed var(--line); }
.fact:last-child { border-bottom: 0; }
.fact dt { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.fact dd { margin: 0; font-size: 15px; }
.dots { display: flex; gap: 5px; }
.dot { width: 12px; height: 12px; border: 1px solid var(--brass); display: inline-block; }
.dot.on { background: var(--brass); }
.chips { list-style: none; margin: 0; padding: 0; }
.chips li {
  display: inline-block; margin: 0 4px 4px 0; padding: 2px 8px; font-size: 13px;
  background: #f3ecdb; border: 1px solid var(--line);
}
.pair-list { list-style: none; margin: 0; padding: 0; }
.pair-list li { padding: 3px 0; }
.pair-list a { font-size: 15px; }

.item-body { min-width: 0; }
.item-body h2 {
  font-family: var(--serif); font-size: 22px; padding-bottom: 6px;
  border-bottom: 1px solid var(--line); margin: 0 0 14px;
}
.item-body h2:not(:first-child) { margin-top: 30px; }
.item-body p { margin: 0 0 14px; }
.item-body ul, .item-body ol { margin: 0 0 14px; padding-left: 22px; }

/* tape-measure divider */
.item-body h2::after {
  content: "";
  display: block; height: 6px; margin-top: 8px;
  background: repeating-linear-gradient(90deg, var(--brass) 0, var(--brass) 2px, transparent 2px, transparent 12px);
  opacity: .35;
}

/* ---- footer ---- */
.site-foot { background: var(--ink); color: #a9997f; margin-top: 40px; }
.site-foot .wrap { padding-top: 30px; padding-bottom: 30px; }
.foot-brand { color: #d9cba8; font-family: var(--serif); margin: 0 0 12px; }
.foot-nav { display: flex; gap: 18px; flex-wrap: wrap; margin: 0 0 14px; }
.foot-nav a { color: #a9997f; font-size: 14px; }
.foot-nav a:hover { color: #fff; }
.foot-fine { font-size: 13px; margin: 0; }

/* ---- responsive ---- */
@media (max-width: 720px) {
  .item > .wrap { grid-template-columns: 1fr; }
  .garment-card { order: -1; }
  .site-head .wrap { justify-content: center; }
}
