:root {
  --ink: #1a1a1a;
  --ink-soft: #5a5a5a;
  --ink-faint: #8a8a8a;
  --paper: #ffffff;
  --paper-warm: #faf8f5;
  --line: #e6e2dc;
  --accent: #1f3d33;
  --accent-hover: #2c5546;
  --radius: 10px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; height: auto; display: block; }

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

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

h1 {
  font-size: 32px;
  line-height: 1.25;
  font-weight: 500;
  margin: 0 0 14px;
}

h2, h3 { font-weight: 500; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 66px;
}

.brand {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.09em;
  color: var(--ink);
  text-transform: uppercase;
}
.brand:hover { text-decoration: none; }

.nav {
  display: flex;
  gap: 26px;
  font-size: 15px;
}

.nav a {
  color: var(--ink-soft);
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--accent);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 12px;
  font-size: 15px;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- hero ---------- */
.hero {
  padding: 74px 0 64px;
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line);
}

.hero h1 {
  font-size: 40px;
  line-height: 1.22;
  font-weight: 500;
  margin: 0 0 18px;
  max-width: 15em;
}

.hero p {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 0 30px;
  max-width: 32em;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}

.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); }

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--accent); }

.btn-sm {
  padding: 9px 16px;
  font-size: 14px;
  width: 100%;
  justify-content: center;
}

/* ---------- sections ---------- */
.section {
  padding: 66px 0;
}

.section-alt {
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section h2 {
  font-size: 28px;
  font-weight: 500;
  margin: 0 0 12px;
}

.section-lead {
  color: var(--ink-soft);
  margin: 0 0 40px;
  max-width: 34em;
}

/* ---------- series grid ---------- */
.series-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 24px;
}

.series-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--paper);
}

.series-tag {
  font-size: 13px;
  letter-spacing: 0.13em;
  color: var(--accent);
  text-transform: uppercase;
}

.series-card h3 {
  font-size: 19px;
  font-weight: 500;
  margin: 8px 0 10px;
}

.series-card p {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0 0 14px;
}

.fit {
  font-size: 13px;
  color: var(--ink-faint);
}

/* ---------- product grid ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.filter-btn {
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  font-size: 14px;
  cursor: pointer;
  color: var(--ink-soft);
}

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

.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

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

.product-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.thumb {
  aspect-ratio: 3 / 4;
  background: var(--paper-warm);
  overflow: hidden;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.series-note {
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 30px;
  background: var(--paper);
  font-size: 15px;
  color: var(--ink-soft);
}

.series-note h3 {
  font-size: 17px;
  margin: 0 0 8px;
  color: var(--ink);
}

.series-note p { margin: 0 0 4px; }

/* 图片未到位时的占位 */
.ph {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--paper-warm);
  color: var(--ink-faint);
}

.ph-code {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
}

.ph-hint { font-size: 12px; }

.product-code {
  font-size: 15px;
  font-weight: 500;
}

.product-color {
  font-size: 14px;
  color: var(--ink-soft);
  flex: 1;
}

.product-note {
  font-size: 12.5px;
  color: var(--ink-faint);
  line-height: 1.5;
}

/* ---------- facts / prose ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}

.fact h3 {
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 6px;
}

.fact p {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0;
}

.prose { max-width: 40em; }
.prose h3 {
  font-size: 18px;
  font-weight: 500;
  margin: 30px 0 8px;
}
.prose p, .prose ul { color: var(--ink-soft); }
.prose ul { padding-left: 20px; }

/* ---------- contact ---------- */
.contact-hero { padding: 58px 0 0; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 34px;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.contact-card h3 {
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 8px;
}

.contact-card p {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0 0 16px;
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 42px 0;
  background: var(--paper-warm);
  font-size: 14px;
  color: var(--ink-faint);
}

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

.footer-links {
  display: flex;
  gap: 20px;
}

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .hero { padding: 52px 0 44px; }
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 16.5px; }
  .section { padding: 48px 0; }

  .nav-toggle { display: block; }

  .nav {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 6px 20px 14px;
  }

  .nav.open { display: flex; }

  .nav a {
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
  }
}
