:root {
  --ink: #1d2421;
  --ink-soft: #4c5550;
  --muted: #7d857f;
  --line: #e3e5df;
  --paper: #f7f6f2;
  --white: #ffffff;
  --brass: #a98248;
  --brass-soft: #f0e7d8;
  --green: #294b3d;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(29, 36, 33, .06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 600; letter-spacing: -.015em; }
p { margin: 0; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.muted { color: var(--muted); }
.hidden { display: none !important; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 36px; height: 74px; }
.logo { display: flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: .16em; font-size: 15px; white-space: nowrap; }
.logo-mark { width: 26px; height: 26px; border: 2px solid var(--ink); border-radius: 50%; position: relative; flex: none; }
.logo-mark::after { content: ""; position: absolute; width: 8px; height: 8px; background: var(--brass); border-radius: 50%; top: 7px; left: 7px; }
.nav-links { display: flex; gap: 30px; margin-left: auto; align-items: center; }
.nav-links a { font-size: 14px; color: var(--ink-soft); padding: 6px 0; border-bottom: 2px solid transparent; transition: .18s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); border-bottom-color: var(--brass); }
.header-cta { margin-left: 8px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; cursor: pointer; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 8px; border: 1px solid transparent;
  font-size: 14px; font-weight: 600; cursor: pointer; transition: .18s; white-space: nowrap;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--green); transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-brass { background: var(--brass); color: #fff; }
.btn-brass:hover { background: #8e6c39; }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-block { width: 100%; }

/* hero */
.hero { background: var(--paper); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; padding: 82px 0 88px; }
.eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); font-weight: 700; margin-bottom: 20px; }
.hero h1 { font-size: clamp(34px, 4vw, 52px); line-height: 1.14; margin-bottom: 22px; }
.hero p { color: var(--ink-soft); font-size: 17px; max-width: 500px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.hero-visual::before { content: ""; position: absolute; width: 190px; height: 190px; background: var(--brass-soft); border-radius: 50%; right: -40px; top: -40px; opacity: .35; }
.hero-label { position: relative; display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.hero-label span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.hero-trio { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hero-trio img { width: 100%; border-radius: 10px; background: #fff; }
.hero-caption { position: relative; display: flex; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 18px; padding-top: 16px; font-size: 12px; color: var(--muted); }

/* sections */
.section { padding: 88px 0; }
.section.tight { padding: 62px 0; }
.section.paper { background: var(--paper); }
.section-head { max-width: 680px; margin-bottom: 42px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2, .section-head h1 { font-size: clamp(28px, 3.2vw, 38px); margin-bottom: 16px; }
.section-lead { color: var(--ink-soft); font-size: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* product cards */
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .2s; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d3d7cf; }
.product-media { background: #fff; aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 10px; border-bottom: 1px solid var(--line); }
.product-media img { width: 100%; height: 100%; object-fit: contain; }
.product-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.product-model { font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--brass); font-weight: 700; }
.product-card h3 { font-size: 19px; margin: 8px 0 8px; }
.product-card p { color: var(--ink-soft); font-size: 13.5px; flex: 1; margin-bottom: 16px; }
.finish-row { display: flex; align-items: center; gap: 7px; margin-bottom: 16px; flex-wrap: wrap; }
.swatch { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); cursor: pointer; padding: 0; transition: .15s; }
.swatch:hover { transform: scale(1.12); }
.swatch.active { outline: 2px solid var(--ink); outline-offset: 2px; }
.finish-name { font-size: 11.5px; color: var(--muted); margin-left: 4px; }
.product-actions { display: flex; gap: 8px; }

/* filter bar */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.filter-label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.chip { padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13px; cursor: pointer; color: var(--ink-soft); transition: .15s; }
.chip:hover { border-color: var(--brass); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-value { font-size: 34px; font-weight: 600; letter-spacing: -.03em; }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* capability */
.cap-item { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.cap-num { font-size: 12px; color: var(--brass); font-weight: 700; letter-spacing: .1em; margin-bottom: 14px; }
.cap-item h3 { font-size: 17px; margin-bottom: 10px; }
.cap-item p { color: var(--ink-soft); font-size: 14px; }

/* catalog */
.catalog-card { display: grid; grid-template-columns: 168px 1fr; gap: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; align-items: center; }
.catalog-cover { width: 168px; border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.10); overflow: hidden; }
.catalog-code { font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--brass); font-weight: 700; }
.catalog-card h3 { font-size: 20px; margin: 8px 0 10px; }
.catalog-card p { color: var(--ink-soft); font-size: 14px; margin-bottom: 14px; }
.catalog-meta { display: flex; gap: 16px; font-size: 12px; color: var(--muted); margin-bottom: 16px; flex-wrap: wrap; }
.notice { background: var(--brass-soft); border: 1px solid #e6d8bf; border-radius: 10px; padding: 16px 20px; font-size: 13.5px; color: #6b5836; margin-bottom: 30px; }

/* about */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about-grid p { color: var(--ink-soft); margin-bottom: 18px; font-size: 15.5px; }
.about-panel { background: var(--paper); border-radius: var(--radius); padding: 34px; }
.about-panel h3 { font-size: 16px; margin-bottom: 18px; }
.kv { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.kv:last-child { border-bottom: 0; }
.kv span:first-child { color: var(--muted); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.contact-card { background: var(--paper); border-radius: var(--radius); padding: 30px; margin-bottom: 16px; }
.contact-card h3 { font-size: 16px; margin-bottom: 6px; }
.contact-card a { color: var(--green); font-weight: 600; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea {
  border: 1px solid var(--line); border-radius: 8px; padding: 11px 13px;
  background: #fff; color: var(--ink); outline: none; transition: .15s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brass); box-shadow: 0 0 0 3px rgba(169,130,72,.12); }
.field textarea { min-height: 128px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; }

/* footer */
.site-footer { background: var(--ink); color: #d8ded9; padding: 62px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.site-footer .logo { color: #fff; margin-bottom: 16px; }
.site-footer .logo-mark { border-color: #fff; }
.footer-col h4 { color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col a, .footer-col p { display: block; font-size: 13.5px; color: #aeb8b1; margin-bottom: 9px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; font-size: 12.5px; color: #8d9891; flex-wrap: wrap; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 60; display: none; }
.modal.open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(20,26,22,.55); }
.modal-card { position: relative; width: min(940px, calc(100% - 36px)); max-height: 90vh; overflow: auto; background: #fff; border-radius: 16px; margin: 5vh auto; display: grid; grid-template-columns: 1fr 1fr; }
.modal-media { background: #fff; padding: 26px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; border-right: 1px solid var(--line); }
#modal-main-img { width: 100%; display: grid; place-items: center; }
.modal-media #modal-main-img img { width: 100%; max-width: 360px; }
/* 主图下方最多 3 张细节图 */
.detail-strip { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: #fff; }
.detail-strip-label { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.detail-thumbs { display: flex; gap: 6px; flex-wrap: wrap; }
.detail-thumb { width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 3px; cursor: pointer; display: grid; place-items: center; font-size: 10px; letter-spacing: .04em; color: var(--muted); }
.detail-thumb img { width: 100%; height: 100%; object-fit: contain; }
.detail-thumb:hover, .detail-thumb.active { border-color: var(--brass); box-shadow: 0 0 0 2px var(--brass-soft); }
.detail-strip.in-modal { width: 100%; border: 0; border-top: 1px solid var(--line); padding: 14px 0 0; justify-content: center; }
.modal-info { padding: 34px; }
.modal-close { position: absolute; right: 14px; top: 12px; border: 0; background: #f2f2ee; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 18px; line-height: 1; }
.spec-table { width: 100%; border-collapse: collapse; margin: 18px 0 22px; font-size: 13.5px; }
.spec-table td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.spec-table td:first-child { color: var(--muted); width: 42%; }

/* CTA band */
.cta-band { background: var(--green); color: #fff; border-radius: 18px; padding: 48px 54px; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { font-size: 28px; margin-bottom: 8px; }
.cta-band p { color: #c3d2ca; font-size: 14.5px; }

/* admin */
.admin-shell { display: grid; grid-template-columns: 232px 1fr; min-height: calc(100vh - 74px); }
.admin-side { border-right: 1px solid var(--line); padding: 30px 18px; background: var(--paper); }
.admin-side h3 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 0 12px; margin-bottom: 14px; }
.admin-tab { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 11px 13px; border-radius: 8px; cursor: pointer; font-size: 14px; color: var(--ink-soft); margin-bottom: 3px; }
.admin-tab:hover { background: #eeece6; }
.admin-tab.active { background: var(--ink); color: #fff; font-weight: 600; }
.admin-main { padding: 40px 46px 80px; max-width: 1000px; }
.admin-panel h2 { font-size: 26px; margin-bottom: 8px; }
.admin-panel > p.panel-lead { color: var(--ink-soft); margin-bottom: 28px; font-size: 14.5px; }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0; }
.admin-row { border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin-bottom: 14px; background: #fff; }
.admin-row-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.admin-row-head strong { font-size: 15px; }
.admin-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.admin-fields .field.full { grid-column: 1 / -1; }
.admin-fields textarea { min-height: 152px; }
.file-line { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.file-line label { font-size: 12.5px; font-weight: 600; min-width: 92px; }
.file-line input[type=file] { font-size: 12.5px; max-width: 260px; }
.thumb { width: 54px; height: 54px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.dropzone { border: 2px dashed #cfd4cb; border-radius: 12px; padding: 34px; text-align: center; background: #fbfbf8; cursor: pointer; transition: .18s; }
.dropzone:hover, .dropzone.over { border-color: var(--brass); background: #faf5ec; }
.dropzone strong { display: block; font-size: 15px; margin-bottom: 6px; }
.dropzone span { font-size: 13px; color: var(--muted); }
.preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; margin-top: 18px; }
.preview-item { border: 1px solid var(--line); border-radius: 10px; padding: 8px; background: #fff; text-align: center; }
.preview-item img { width: 100%; height: 88px; object-fit: contain; }
.preview-item span { display: block; font-size: 11px; color: var(--muted); word-break: break-all; margin-top: 6px; }
.guide-step { display: grid; grid-template-columns: 34px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.guide-step:last-child { border-bottom: 0; }
.guide-num { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.guide-step h4 { font-size: 15px; margin-bottom: 5px; }
.guide-step p { font-size: 13.5px; color: var(--ink-soft); }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: #f2f2ed; border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; font-size: 12.5px; word-break: break-all; }
.cost-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0 20px; }
.cost-table th, .cost-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.cost-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.cost-table tr:last-child td { font-weight: 700; border-bottom: 0; }
.admin-panel { display: none; }
.admin-panel.active { display: block; }
.admin-note { background: #f7f6f2; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; font-size: 13px; color: var(--ink-soft); margin-bottom: 24px; }
.admin-note strong { color: var(--ink); }
.sub-card { border: 1px solid var(--line); border-radius: 10px; padding: 16px; margin-top: 14px; background: #fbfbf8; }
.sub-card h4 { font-size: 13px; margin-bottom: 12px; color: var(--ink-soft); }
.file-item { display: flex; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13px; flex-wrap: wrap; }
.file-item:last-child { border-bottom: 0; }
.file-item .grow { flex: 1; min-width: 150px; word-break: break-all; }
.file-item input[type=file] { font-size: 12px; max-width: 230px; }
.list-plain { list-style: none; padding: 0; margin: 10px 0 0; font-size: 13.5px; }
.list-plain li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.admin-h4 { font-size: 16px; margin: 30px 0 12px; }
.toast { position: fixed; bottom: 26px; right: 26px; background: var(--ink); color: #fff; padding: 13px 20px; border-radius: 9px; font-size: 14px; z-index: 90; box-shadow: var(--shadow); }

@media (max-width: 980px) {
  .hero-inner, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-inner { padding: 56px 0 64px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { border-right: 0; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 4px; padding: 16px; }
  .admin-side h3 { display: none; }
  .admin-tab { width: auto; }
  .admin-main { padding: 30px 24px 60px; }
  .modal-card { grid-template-columns: 1fr; }
  .modal-media { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 680px) {
  .container { width: min(100% - 32px, 1180px); }
  .nav-links { display: none; position: absolute; top: 74px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 14px 24px 22px; border-bottom: 1px solid var(--line); gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .section { padding: 60px 0; }
  .grid-3, .grid-2, .form-grid, .admin-fields { grid-template-columns: 1fr; }
  .admin-fields .field.full { grid-column: auto; }
  .catalog-card { grid-template-columns: 1fr; }
  .catalog-cover { width: 140px; }
  .cta-band { padding: 32px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-trio { gap: 2px; }
}

/* WhatsApp contact */
.wa-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 45;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 20px 10px 10px; border-radius: 999px;
  background: #25d366; color: #fff;
  box-shadow: 0 10px 26px rgba(20, 120, 65, .28);
  transition: transform .2s, box-shadow .2s;
}
.wa-fab:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(20, 120, 65, .36); }
.wa-fab-icon {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
}
.wa-fab-text { display: flex; flex-direction: column; line-height: 1.3; }
.wa-fab-text strong { font-size: 13.5px; font-weight: 700; letter-spacing: .01em; }
.wa-fab-text small { font-size: 11px; opacity: .92; }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1ebd59; transform: translateY(-1px); }
.btn-wa-ghost { background: #fff; color: #128c48; border-color: #b9e6c9; }
.btn-wa-ghost:hover { background: #f2fbf5; border-color: #25d366; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.wa-cta { background: #174c37; color: #fff; border-radius: var(--radius); padding: 26px 28px 28px; margin-bottom: 16px; }
.wa-cta-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #a9e9c3; margin-bottom: 16px; }
.wa-cta-icon { width: 26px; height: 26px; border-radius: 50%; background: #25d366; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.wa-cta-icon svg { width: 16px; height: 16px; }
.wa-cta h3 { font-size: 23px; margin-bottom: 4px; }
.wa-cta-number { display: inline-block; font-size: 22px; font-weight: 600; color: #fff; margin-bottom: 14px; }
.wa-cta-number:hover { text-decoration: underline; }
.wa-cta p { font-size: 13.5px; line-height: 1.6; color: #c7ded2; margin-bottom: 20px; }
@media (max-width: 680px) {
  .wa-fab { right: 16px; bottom: 16px; padding: 9px; }
  .wa-fab-icon { width: 34px; height: 34px; }
  .wa-fab-icon svg { width: 21px; height: 21px; }
  .wa-fab-text { display: none; }
  .wa-cta { padding: 24px 22px; }
  .wa-cta-number { font-size: 20px; }
  .form-actions .btn { flex: 1 1 100%; }
}

/* ---------- 按系列展示 ---------- */
.product-media { position: relative; }
.type-badge {
  position: absolute; left: 12px; top: 12px;
  background: rgba(29, 36, 33, .88); color: #fff;
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 999px; pointer-events: none;
}
.series-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 24px; }
.series-nav-label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.series-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13px; color: var(--ink); text-decoration: none; transition: .15s; }
.series-chip:hover { border-color: var(--brass); background: var(--brass-soft); }
.series-chip-num { font-size: 10px; font-weight: 700; letter-spacing: .08em; color: var(--brass); }
.series-chip-count { background: var(--paper); border-radius: 999px; padding: 1px 7px; font-size: 11px; color: var(--muted); }
.series-block { scroll-margin-top: 92px; padding: 34px 0 46px; border-top: 1px solid var(--line); }
.series-block:first-child { border-top: 0; padding-top: 0; }
.series-head { display: grid; grid-template-columns: 1fr 168px; gap: 30px; align-items: center; margin-bottom: 26px; }
.series-head-copy .eyebrow { margin-bottom: 10px; }
.series-head h2 { font-size: clamp(24px, 2.6vw, 30px); margin: 0 0 10px; }
.series-desc { color: var(--ink-soft); font-size: 14.5px; max-width: 680px; margin: 0 0 16px; }
.series-types { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.type-label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.type-pill { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 5px 11px; font-size: 12px; color: var(--ink-soft); }
.series-count { font-size: 12px; color: var(--muted); margin-left: 6px; }
.series-catalog-link { display: inline-block; margin-top: 14px; font-size: 12.5px; color: var(--brass); text-decoration: none; }
.series-catalog-link:hover { text-decoration: underline; }
.series-cover { width: 168px; height: 168px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; display: grid; place-items: center; overflow: hidden; padding: 10px; justify-self: end; }
.series-cover img { width: 100%; height: 100%; object-fit: contain; }
.empty-state { padding: 40px; text-align: center; color: var(--muted); background: var(--paper); border-radius: var(--radius); }
.empty-state a { color: var(--brass); }

/* 首页系列入口 */
.home-series-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-bottom: 28px; }
.home-series-card { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; color: var(--ink); transition: .18s; }
.home-series-card:hover { border-color: var(--brass); box-shadow: var(--shadow); transform: translateY(-2px); }
.home-series-cover { width: 62px; height: 62px; flex: none; border-radius: 10px; background: var(--paper); display: grid; place-items: center; overflow: hidden; }
.home-series-cover img { width: 100%; height: 100%; object-fit: contain; }
.home-series-copy { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.home-series-copy strong { font-size: 14.5px; }
.home-series-copy small { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-series-arrow { color: var(--brass); font-size: 18px; }

@media (max-width: 780px) {
  .series-head { grid-template-columns: 1fr; gap: 16px; }
  .series-cover { justify-self: start; width: 120px; height: 120px; }
  .series-block { scroll-margin-top: 72px; }
}

/* ---------- 系列完整照片墙 ---------- */
.series-nav-catalogue {
  flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line);
  max-height: 118px; overflow-y: auto;
}
.series-chip.small { padding: 5px 10px; font-size: 11.5px; }
.home-series-all { background: var(--paper); border-style: dashed; }
.series-gallery-wrap { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line); }
.gallery-toggle {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 15px; font-size: 12.5px; color: var(--ink); font-family: inherit;
}
.gallery-toggle:hover, .gallery-toggle.open { border-color: var(--brass); background: var(--brass-soft); }
.gallery-toggle span { font-size: 16px; line-height: 1; color: var(--brass); }
.series-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 14px; }
.series-gallery[hidden] { display: none; }
.gallery-thumb {
  aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--line);
  border-radius: 9px; padding: 6px; cursor: pointer; overflow: hidden;
}
.gallery-thumb:hover { border-color: var(--brass); box-shadow: 0 0 0 2px var(--brass-soft); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }

/* 大图浏览 */
.lightbox {
  position: fixed; inset: 0; z-index: 9999; display: none;
  align-items: center; justify-content: center;
  background: rgba(18, 22, 20, .93); padding: 56px 74px;
}
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; }
.lightbox figure img {
  max-width: min(1100px, 88vw); max-height: 76vh; object-fit: contain;
  background: #fff; border-radius: 6px;
}
.lightbox figcaption { color: #e8ece9; font-size: 12.5px; letter-spacing: .06em; }
.lightbox-close, .lightbox-nav {
  position: absolute; background: rgba(255,255,255,.12); color: #fff;
  border: 1px solid rgba(255,255,255,.28); border-radius: 50%; cursor: pointer;
  font-family: inherit; line-height: 1; display: grid; place-items: center;
}
.lightbox-close { top: 20px; right: 24px; width: 40px; height: 40px; font-size: 26px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 46px; height: 46px; font-size: 30px; }
.lightbox-nav.prev { left: 18px; }
.lightbox-nav.next { right: 18px; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,.24); }

@media (max-width: 780px) {
  .lightbox { padding: 56px 14px 24px; }
  .lightbox-nav { width: 38px; height: 38px; font-size: 24px; }
  .lightbox-nav.prev { left: 6px; }
  .lightbox-nav.next { right: 6px; }
  .series-gallery { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); }
  .series-nav-catalogue { max-height: 150px; }
}
