:root {
  --bg: #f4f6f8;
  --bg-elev: #e8eef3;
  --card: #ffffff;
  --line: rgba(28, 40, 56, 0.12);
  --gold: #8d6212;
  --gold-btn: #e0a84a;
  --gold-ink: #1a1306;
  --text: #1c2838;
  --muted: #5d6b7c;
  --max: 1120px;
  --header: 68px;
  --shadow: 0 8px 24px rgba(28, 40, 56, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(32px, 4vw, 52px); line-height: 1.2; letter-spacing: 0.01em; }
h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.3; }
h3 { font-size: 20px; line-height: 1.4; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--gold);
  color: var(--gold-ink);
  padding: 6px 10px;
  z-index: 20;
}
.skip:focus { top: 8px; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.18em;
}
.lead { color: var(--muted); font-size: 17px; }
.section { padding: 72px 0; }
.section-alt {
  background: var(--bg-elev);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head { margin-bottom: 28px; text-align: left; }
.section-head p { margin-top: 10px; color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 180px;
}
.brand .logo {
  width: 42px;
  height: 38px;
  max-width: 42px;
  max-height: 38px;
  object-fit: contain;
  flex: none;
}
.brand strong { display: block; font-size: 16px; letter-spacing: 0.08em; }
.brand em { display: block; font-style: normal; color: var(--muted); font-size: 12px; letter-spacing: 0.12em; }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  padding: 6px 12px;
  border-radius: 4px;
}
.site-nav { display: flex; gap: 4px; }
.site-nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 4px;
  font-size: 15px;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--text); background: rgba(224, 168, 74, 0.1); }
.site-nav a[aria-current="page"] { color: var(--gold); }

.hero {
  padding: 54px 0 28px;
  text-align: left;
}
.hero-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.frame {
  position: relative;
  border: 1px solid rgba(224, 168, 74, 0.45);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #070d18;
}
.frame img { width: 100%; height: auto; }
.frame figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(11, 18, 32, 0.82);
  color: var(--text);
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 3px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 18px 0 10px;
  padding: 0;
}
.stats div { padding: 16px 0; border-top: 1px solid var(--line); }
.stats dt { color: var(--gold); font-size: 20px; font-weight: 650; }
.stats dd { margin: 2px 0 0; color: var(--muted); font-size: 13px; }

.grid-4, .grid-3, .product-grid, .gallery { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.product-grid { grid-template-columns: repeat(3, 1fr); }
.gallery { grid-template-columns: repeat(2, 1fr); }

.panel, .product-card, .shot {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 5px;
}
.panel { padding: 22px 20px 20px; display: block; text-decoration: none; min-height: 100%; }
.panel:hover, .product-card:hover { border-color: rgba(224, 168, 74, 0.45); }
.panel .idx { color: var(--gold); font-size: 13px; letter-spacing: 0.14em; }
.panel h3, .product-card h3 { margin: 8px 0; }
.panel p, .product-card p { color: var(--muted); font-size: 14px; }
.cap { border-left: 3px solid var(--gold); }

.product-card { overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: 84px; }
.product-card .body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card img { width: 100%; height: 150px; object-fit: cover; background: #070d18; }
.tag {
  align-self: flex-start;
  color: var(--gold);
  border: 1px solid rgba(224, 168, 74, 0.4);
  border-radius: 5px;
  padding: 1px 8px;
  font-size: 12px;
}
.card-link {
  margin-top: auto;
  color: var(--gold);
  text-decoration: none;
  font-size: 14px;
}

.page-hero { padding: 42px 0 8px; text-align: left; }
.page-hero .lead { margin-top: 12px; }

.prose { display: grid; gap: 16px; color: var(--text); }
.prose p { color: var(--muted); }
.culture { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.culture span {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 6px 12px;
  border-radius: 5px;
}
.quote {
  margin: 0;
  padding: 16px 18px;
  background: var(--card);
  border-left: 3px solid var(--gold);
  border-radius: 0 5px 5px 0;
  color: var(--text);
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.filter {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 5px;
  padding: 6px 14px;
  cursor: pointer;
}
.filter[aria-pressed="true"], .filter:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(224, 168, 74, 0.08);
}

.detail[hidden],
.lightbox[hidden] { display: none; }
.detail {
  scroll-margin-top: 84px;
  margin-top: 22px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  padding: 18px;
  background: var(--card);
  border: 1px solid rgba(224, 168, 74, 0.35);
  border-radius: 5px;
}
.detail > :only-child { grid-column: 1 / -1; }
.detail img { width: 100%; border-radius: 5px; background: #070d18; }
.points { margin: 12px 0 0; padding-left: 18px; color: var(--muted); }
.points li { margin: 6px 0; }
.detail-actions { display: flex; gap: 10px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.wechat-entry {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 4px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}
.btn-gold { background: var(--gold-btn); color: var(--gold-ink); border-color: var(--gold-btn); font-weight: 650; }
.btn-gold:hover { filter: brightness(1.05); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.subnote { color: var(--muted); font-size: 13px; }

.shot { overflow: hidden; }
.shot button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #070d18;
  cursor: zoom-in;
}
.shot img { width: 100%; height: 220px; object-fit: cover; object-position: top; }
.shot figcaption { padding: 12px 14px 14px; }
.shot h3 { font-size: 16px; }
.shot p { color: var(--muted); font-size: 13px; margin-top: 4px; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 14, 0.88);
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 24px;
}
.lightbox img { max-width: min(1200px, 100%); max-height: 84vh; object-fit: contain; }
.lightbox button {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 6px 10px;
  cursor: pointer;
}

.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 20px; }
.contact-card, form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 22px;
}
.contact-card a { color: var(--gold); }
.contact-card p + p { margin-top: 12px; }
label { display: block; margin-bottom: 12px; font-size: 14px; color: var(--muted); }
input, textarea {
  width: 100%;
  margin-top: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px 12px;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus, button:focus-visible, a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.form-note { min-height: 1.4em; margin-top: 10px; color: var(--gold); font-size: 14px; }

.site-footer {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding: 32px 0 40px;
  color: var(--muted);
  font-size: 14px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1.2fr; gap: 24px; }
.site-footer strong { color: var(--text); font-weight: 650; }
.site-footer a { color: var(--gold); }
.site-footer ul { list-style: none; margin: 8px 0 0; padding: 0; }
.site-footer li { margin: 4px 0; }
.legal { margin-top: 22px; font-size: 12px; text-align: center; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips a {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 4px 10px;
  font-size: 13px;
  color: var(--text);
}
.chips a:hover { border-color: var(--gold); color: var(--gold); }

@media (max-width: 900px) {
  .hero, .detail, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .grid-4, .stats { grid-template-columns: 1fr 1fr; }
  .grid-3, .product-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 8px 20px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .shot img, .product-card img { height: 190px; }
}
@media (max-width: 560px) {
  .grid-4, .stats, .gallery { grid-template-columns: 1fr; }
  .wrap { width: min(var(--max), calc(100% - 28px)); }
}
