/* ============================================================
 * 东方禅意雅物馆 · 全站样式 v3
 * ------------------------------------------------------------
 * 配色对齐原站（4m5h8svbn1rdt.doubaoapps.com）：
 *   通篇深棕墨底 #281b10 系 + 暖金 #c8a068 强调
 *   靠明度微差做层次，不切换色相、不出现色块断层
 * 禅意手法：大留白 / 水墨晕染 / 细金线 / 竖排字 / 圆相 / 缓慢呼吸动效
 * ============================================================ */

:root {
  /* 地 —— 全站统一深墨底（原站实测 #281b10 系） */
  --paper:    #281b10;   /* 主底色 */
  --paper-2:  #2f2318;   /* 次级区块 */
  --paper-3:  #372a1d;   /* 卡片 / 悬停 */

  /* 字 —— 深底上的浅字 */
  --ink:      #eadfc9;   /* 主文字 */
  --ink-2:    #d4c6ab;   /* 次文字 */
  --muted:    #a8987f;   /* 弱化文字 */
  --muted-2:  #8b7d67;

  /* 暖金 / 朱 */
  --gold:     #c8a068;
  --gold-l:   #ddb987;
  --gold-d:   #a07d48;
  --seal:     #b04a37;

  --line:     rgba(200,160,104,.24);
  --line-2:   rgba(200,160,104,.12);
  --frame:    #1b1409;   /* 画框（装裱）底色，比主底更深 */

  --serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --sans:  "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 15.5px;
  line-height: 2;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- 全站肌理 + 暖金光晕（贯穿首尾，保证上下一致）---------- */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  opacity: .05;
  mix-blend-mode: overlay;
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(1200px 620px at 50% -8%, rgba(200,160,104,.15), transparent 70%),
    radial-gradient(900px 520px at 100% 100%, rgba(200,160,104,.07), transparent 70%);
}
header, section, footer, .site-wrap { position: relative; z-index: 1; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .5s var(--ease); }
a:hover { color: var(--gold); }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ============================================================
 * 排版：章节标题
 * ============================================================ */
.section { padding: 128px 0; }
.section.tight { padding: 96px 0; }

.sec-head { text-align: center; margin-bottom: 72px; }
.sec-head .eyebrow {
  font-size: 12.5px; letter-spacing: .62em; text-indent: .62em;
  color: var(--gold); margin-bottom: 22px; font-weight: 400;
}
.sec-head h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: 33px; letter-spacing: .3em; text-indent: .3em;
  line-height: 1.7; color: var(--ink);
}
.sec-head .sub {
  margin-top: 20px; color: var(--muted); font-size: 14px;
  letter-spacing: .22em; text-indent: .22em;
}
.sec-head .rule {
  width: 100%; max-width: 260px; height: 1px; margin: 34px auto 0;
  background: linear-gradient(90deg, transparent, var(--line) 25%, var(--gold) 50%, var(--line) 75%, transparent);
  position: relative;
}
.sec-head .rule::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 5px; height: 5px; background: var(--gold);
  transform: translate(-50%,-50%) rotate(45deg);
}

/* 章节分隔：细金线 + 圆相符号（取代色块切换） */
.zen-divider {
  display: flex; align-items: center; justify-content: center; gap: 22px;
  padding: 0 32px; color: var(--gold);
}
.zen-divider .line {
  height: 1px; flex: 1; max-width: 340px;
  background: linear-gradient(90deg, transparent, var(--line));
}
.zen-divider .line:last-child { background: linear-gradient(270deg, transparent, var(--line)); }
.zen-divider svg { width: 34px; height: 34px; opacity: .75; flex-shrink: 0; }

/* ============================================================
 * 顶部导航：与首屏融为一体，滚动后浮起
 * ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .6s var(--ease), box-shadow .6s var(--ease), backdrop-filter .6s;
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.site-header.scrolled {
  background: rgba(38,26,14,.88);
  backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -22px rgba(0,0,0,.6);
}
.logo {
  font-family: var(--serif); font-size: 19px; font-weight: 500;
  letter-spacing: .34em; white-space: nowrap;
}
.logo em { font-style: normal; color: var(--gold); }
.main-nav { display: flex; gap: 40px; font-size: 14.5px; letter-spacing: .22em; }
.main-nav a { position: relative; padding: 6px 0; color: var(--ink-2); }
.main-nav a::after {
  content: ""; position: absolute; left: 50%; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width .5s var(--ease), left .5s var(--ease);
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; left: 0; }
.main-nav a.active { color: var(--gold-d); }

/* ============================================================
 * 首屏：水墨山水 + 雾化过渡到页面本体（无硬边）
 * ============================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .34;
  /* 浅色水墨稿压暗为深褐调，与全站深墨底同调 */
  filter: brightness(.52) sepia(.42) saturate(.85) contrast(1.05);
  animation: kenburns 46s var(--ease) infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.02) translateY(0); }
  to   { transform: scale(1.12) translateY(-14px); }
}
/* 关键：底部渐变到宣纸色，让首屏与下方内容自然连成一体 */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(40,27,16,.80) 0%, rgba(40,27,16,.52) 34%, rgba(40,27,16,.88) 78%, var(--paper) 100%),
    radial-gradient(900px 520px at 50% 42%, rgba(200,160,104,.14), transparent 72%);
}
.hero-inner { position: relative; z-index: 2; padding: 120px 40px 90px; max-width: 900px; }

.brand-vertical {
  font-family: var(--serif); font-size: 15px; letter-spacing: .9em;
  text-indent: .9em; color: var(--gold-d); margin-bottom: 40px; font-weight: 400;
}
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: 52px; letter-spacing: .34em; text-indent: .34em;
  line-height: 1.6; margin-bottom: 34px;
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
}
.hero .hero-sub {
  font-size: 15px; color: var(--ink-2); letter-spacing: .3em; text-indent: .3em;
  margin-bottom: 50px; opacity: .85;
}
.hero .hero-badges {
  display: flex; justify-content: center; align-items: center;
  gap: 0; margin-bottom: 58px; font-size: 13.5px;
  letter-spacing: .28em; text-indent: .28em; color: var(--ink-2);
}
.hero .hero-badges span { padding: 0 30px; border-left: 1px solid var(--line); }
.hero .hero-badges span:first-child { border-left: none; }

/* 按钮：细金线留白式，hover 缓慢填充 */
.btn {
  display: inline-block; padding: 15px 46px;
  font-size: 14.5px; letter-spacing: .42em; text-indent: .42em;
  border: 1px solid var(--gold); color: var(--gold-d); background: transparent;
  transition: all .7s var(--ease); position: relative;
}
.btn:hover {
  background: var(--gold); color: #2a1d0e; letter-spacing: .5em;
  box-shadow: 0 14px 34px -18px rgba(200,160,104,.9);
}
.btn.ink { border-color: var(--ink); color: var(--ink); }
.btn.ink:hover { background: var(--ink); color: var(--paper); letter-spacing: .5em; }
.btn + .btn { margin-left: 20px; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 40px; z-index: 3;
  transform: translateX(-50%); color: var(--muted);
  font-size: 11.5px; letter-spacing: .5em; text-indent: .5em;
  writing-mode: vertical-rl; text-align: center; line-height: 1;
}
.scroll-cue::after {
  content: ""; display: inline-block; width: 1px; height: 54px; margin-top: 16px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: cue 2.8s var(--ease) infinite;
}
@keyframes cue {
  0%, 100% { transform: scaleY(.45); opacity: .4; transform-origin: top; }
  50%      { transform: scaleY(1);   opacity: 1;  transform-origin: top; }
}

/* ============================================================
 * 品牌理念
 * ============================================================ */
.philosophy .grid {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 90px; align-items: center;
}
.frame {
  padding: 16px; background: var(--frame);
  box-shadow: 0 34px 70px -44px rgba(34,31,26,.75);
  position: relative;
}
.frame::after {
  content: ""; position: absolute; inset: 9px; border: 1px solid rgba(200,160,104,.28);
  pointer-events: none;
}
.frame img {
  width: 100%; height: 440px; object-fit: cover;
  filter: saturate(.94) contrast(1.03) brightness(.98);
}
.philosophy .tagline {
  font-size: 12.5px; letter-spacing: .6em; color: var(--gold);
  margin-bottom: 24px;
}
.philosophy h2 {
  font-family: var(--serif); font-weight: 500; font-size: 30px;
  letter-spacing: .24em; line-height: 1.7; margin-bottom: 30px;
}
.philosophy p { color: var(--ink-2); margin-bottom: 22px; text-align: justify; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 44px; }
.values .v-item { padding: 0 26px; border-left: 1px solid var(--line); }
.values .v-item:first-child { border-left: none; padding-left: 0; }
.values .v-num {
  font-family: var(--serif); color: var(--gold-l); font-size: 26px; line-height: 1;
}
.values .v-name {
  font-family: var(--serif); font-size: 17px; letter-spacing: .34em;
  margin: 12px 0 8px;
}
.values .v-desc { font-size: 13px; color: var(--muted); line-height: 1.9; white-space: pre-line; }

/* ============================================================
 * 五大品类
 * ============================================================ */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.cat-card {
  display: block; text-align: center; padding: 52px 20px 46px;
  border-left: 1px solid var(--line);
  transition: background .8s var(--ease), transform .8s var(--ease);
  position: relative;
}
.cat-card:first-child { border-left: none; }
.cat-card::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 0; height: 2px;
  background: var(--gold); transform: translateX(-50%);
  transition: width .8s var(--ease);
}
.cat-card:hover { background: rgba(200,160,104,.07); }
.cat-card:hover::before { width: 46%; }
.cat-card .no { font-family: var(--serif); color: var(--gold-l); font-size: 15px; letter-spacing: .2em; }
.cat-card .name {
  font-family: var(--serif); font-size: 20px; letter-spacing: .26em;
  text-indent: .26em; margin: 14px 0 12px;
}
.cat-card .desc { font-size: 12.5px; color: var(--muted); letter-spacing: .06em; line-height: 1.9; }

/* ============================================================
 * 商品陈列
 * ============================================================ */
.row-head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-bottom: 20px; margin: 96px 0 44px;
  border-bottom: 1px solid var(--line);
}
.row-head:first-child { margin-top: 0; }
.row-head h3 {
  font-family: var(--serif); font-weight: 500; font-size: 23px;
  letter-spacing: .26em;
}
.row-head h3 .no { color: var(--gold-l); font-size: 15px; margin-right: 16px; letter-spacing: .1em; }
.row-head .more {
  font-size: 13px; color: var(--gold-d); letter-spacing: .2em;
  transition: letter-spacing .6s var(--ease);
}
.row-head .more:hover { letter-spacing: .32em; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
.product-card { display: block; text-align: center; }
.product-card .thumb {
  position: relative; overflow: hidden; background: var(--frame);
  padding: 11px; transition: box-shadow .9s var(--ease), transform .9s var(--ease);
  box-shadow: 0 24px 50px -40px rgba(34,31,26,.9);
}
.product-card .thumb::after {
  content: ""; position: absolute; inset: 6px;
  border: 1px solid rgba(200,160,104,.22); pointer-events: none;
  transition: border-color .9s var(--ease);
}
.product-card .thumb > img,
.product-card .thumb > .ph-thumb { aspect-ratio: 1/1; }
.product-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.92) contrast(1.04) brightness(.96);
  transition: transform 1.4s var(--ease), filter 1.2s var(--ease);
}
.product-card:hover .thumb { transform: translateY(-8px); box-shadow: 0 40px 70px -46px rgba(34,31,26,1); }
.product-card:hover .thumb::after { border-color: rgba(200,160,104,.55); }
.product-card:hover .thumb img { transform: scale(1.07); filter: saturate(1) contrast(1.05) brightness(1); }
.product-card .body { padding: 26px 8px 0; }
.product-card .name {
  font-family: var(--serif); font-size: 16.5px; letter-spacing: .1em; line-height: 1.8;
}
.product-card .tags {
  font-size: 12.5px; color: var(--muted); margin: 10px 0 16px; letter-spacing: .12em;
}
.product-card .consult {
  font-size: 12.5px; color: var(--gold-d); letter-spacing: .26em;
  display: inline-block; padding-bottom: 3px;
  border-bottom: 1px solid transparent; transition: all .6s var(--ease);
}
.product-card:hover .consult { border-bottom-color: var(--gold); letter-spacing: .34em; }

/* 无实拍图商品的分类占位（深墨 + 金字，与全站同调） */
.ph-thumb {
  width: 100%; height: 100%; aspect-ratio: 1/1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background:
    radial-gradient(120% 90% at 50% 10%, rgba(200,160,104,.12), transparent 70%),
    linear-gradient(160deg, #33251a 0%, #241a10 100%);
  position: relative;
}
.ph-thumb::after {
  content: ""; position: absolute; inset: 22px;
  border: 1px solid rgba(200,160,104,.28);
}
.ph-thumb .zi {
  font-family: var(--serif); font-size: 46px; color: var(--gold); opacity: .78;
}
.ph-thumb .t {
  font-size: 11px; letter-spacing: .38em; text-indent: .38em; color: var(--muted);
}

/* ============================================================
 * 文章
 * ============================================================ */
.article-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
/* 文章列表页：2 列大卡（同静态站 articles.html） */
.article-grid.two-col { grid-template-columns: repeat(2, 1fr); gap: 44px 56px; }
.article-card { display: block; }
.article-card .thumb {
  overflow: hidden; background: var(--frame); padding: 10px;
  box-shadow: 0 24px 50px -40px rgba(34,31,26,.9);
  transition: box-shadow .9s var(--ease), transform .9s var(--ease);
}
.article-card .thumb img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
  filter: saturate(.9) contrast(1.04) brightness(.97);
  transition: transform 1.4s var(--ease), filter 1.2s var(--ease);
}
.article-card:hover .thumb { transform: translateY(-8px); }
.article-card:hover .thumb img { transform: scale(1.06); filter: saturate(1) brightness(1); }
.article-card .body { padding: 24px 6px 0; }
.article-card .cat-chip {
  display: inline-block; font-size: 11.5px; color: var(--gold);
  letter-spacing: .34em; margin-bottom: 14px;
}
.article-card .title {
  font-family: var(--serif); font-size: 16.5px; font-weight: 500; line-height: 1.85;
  letter-spacing: .06em;
}
.article-card .summary {
  font-size: 13px; color: var(--muted); line-height: 2; margin: 12px 0 16px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-card .read { font-size: 12.5px; color: var(--gold-d); letter-spacing: .24em; }

/* ============================================================
 * 四重保障（原为深色块 → 改为同底细线四格，保持通篇一色）
 * ============================================================ */
.assure-band {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.assure-item {
  padding: 54px 34px; text-align: center;
  border-left: 1px solid var(--line);
  transition: background .9s var(--ease);
}
.assure-item:first-child { border-left: none; }
.assure-item:hover { background: rgba(200,160,104,.06); }
.assure-item .num {
  font-family: var(--serif); color: var(--gold-l); font-size: 22px;
  letter-spacing: .2em; margin-bottom: 16px;
}
.assure-item h3 {
  font-family: var(--serif); font-weight: 500; font-size: 18px;
  letter-spacing: .32em; text-indent: .32em; margin-bottom: 16px;
}
.assure-item p { font-size: 13px; color: var(--muted); line-height: 2.05; text-align: left; }

/* 印章点缀 */
.seal-mark {
  width: 62px; height: 62px; margin: 0 auto 26px;
  border: 1.5px solid rgba(155,59,44,.55); color: var(--seal);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 19px; letter-spacing: .1em;
  line-height: 1.15; text-align: center; transform: rotate(-3deg);
  opacity: .78;
}

/* ============================================================
 * 页脚：与原站一致 —— 宣纸直接衔接深墨，页脚顶部以金色纹样带分隔
 * （不使用中间色渐变带，避免出现脏色）
 * ============================================================ */
.site-footer { background: #1b1409; color: #a49b88; font-size: 13.5px; }
.site-footer .top { padding: 76px 0 52px; }
.site-footer .cols {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.15fr; gap: 48px;
}
.site-footer .brand h4 {
  font-family: var(--serif); font-size: 19px; font-weight: 500;
  letter-spacing: .3em; color: #f1ead9; margin-bottom: 10px;
}
.site-footer .brand .en {
  font-size: 10.5px; letter-spacing: .46em; color: #77705f; margin-bottom: 22px;
}
.site-footer .brand p { line-height: 2.2; color: #8f8776; }
.site-footer h5 {
  font-family: var(--serif); font-weight: 500; color: #e6dcc6;
  letter-spacing: .38em; font-size: 14px; margin-bottom: 22px;
}
.site-footer .links li { margin-bottom: 13px; }
.site-footer .links a { color: #a49b88; }
.site-footer .links a:hover { color: var(--gold-l); }
.site-footer .contact-box p { margin-bottom: 12px; word-break: break-all; color: #a49b88; }
.site-footer .contact-box a { color: var(--gold-l); border-bottom: 1px solid rgba(200,160,104,.35); }
.site-footer .bottom {
  border-top: 1px solid rgba(200,160,104,.14); padding: 26px 0;
  text-align: center; font-size: 12px; color: #77705f; letter-spacing: .18em;
}
.site-footer .bottom a { color: inherit; text-decoration: none; }
.site-footer .bottom a:hover { color: var(--gold-d); }

/* ============================================================
 * 悬浮咨询 + 弹窗
 * ============================================================ */
.float-consult {
  position: fixed; right: 30px; bottom: 44px; z-index: 90;
  background: rgba(30,20,10,.92); color: #eadfc9;
  padding: 15px 26px; font-size: 13.5px; letter-spacing: .3em; text-indent: .3em;
  border: 1px solid rgba(200,160,104,.45); border-radius: 2px;
  cursor: pointer; backdrop-filter: blur(8px);
  box-shadow: 0 20px 44px -26px rgba(0,0,0,.9);
  transition: all .7s var(--ease);
}
.float-consult:hover {
  background: var(--gold); border-color: var(--gold); color: #2a1d0e;
  transform: translateY(-4px); letter-spacing: .38em;
}

.modal-mask {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(14,9,4,.74); backdrop-filter: blur(6px);
}
.modal-mask.show { display: flex; animation: fadeIn .6s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--paper-2); max-width: 400px; width: 100%;
  padding: 56px 42px 46px; text-align: center; position: relative;
  box-shadow: 0 50px 90px -50px rgba(0,0,0,.8);
  animation: riseIn .8s var(--ease);
}
@keyframes riseIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.modal::after {
  content: ""; position: absolute; inset: 12px; border: 1px solid var(--line);
  pointer-events: none;
}
.modal .close {
  position: absolute; top: 14px; right: 18px; z-index: 2;
  font-size: 20px; color: var(--muted); background: none; border: none;
  cursor: pointer; font-family: inherit; transition: color .4s;
}
.modal .close:hover { color: var(--gold); }
.modal h3 {
  font-family: var(--serif); font-weight: 500; font-size: 21px;
  letter-spacing: .34em; text-indent: .34em; margin-bottom: 26px;
}
.modal .qr {
  width: 196px; height: 196px; margin: 0 auto 22px;
  padding: 10px; background: var(--paper-3); border: 1px solid var(--line);
}
.modal .qr img { width: 100%; height: 100%; object-fit: contain; }
.modal .wechat-line { font-size: 14.5px; margin-bottom: 10px; letter-spacing: .1em; }
.modal .wechat-line b { color: var(--gold-d); font-weight: 500; }
.modal .tip { font-size: 12.5px; color: var(--muted); letter-spacing: .12em; line-height: 2; }
.modal .phone-line {
  margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--ink-2); letter-spacing: .1em;
}

/* ============================================================
 * 内页（品类 / 文章）
 * ============================================================ */
.page-hero {
  padding: 176px 0 76px; text-align: center; position: relative;
  background: linear-gradient(180deg, var(--paper-2), var(--paper));
  border-bottom: 1px solid var(--line);
}
.page-hero .vert {
  font-size: 11.5px; letter-spacing: .6em; color: var(--gold);
  margin-bottom: 22px;
}
.page-hero h1 {
  font-family: var(--serif); font-weight: 500; font-size: 32px;
  letter-spacing: .32em; text-indent: .32em;
}
.page-hero .crumb {
  margin-top: 20px; font-size: 12.5px; color: var(--muted); letter-spacing: .18em;
}
.page-hero .crumb a:hover { color: var(--gold); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 52px; }
.filter-bar a {
  padding: 9px 30px; font-size: 13.5px; letter-spacing: .22em; text-indent: .22em;
  border: 1px solid var(--line); color: var(--ink-2); background: transparent;
  transition: all .7s var(--ease);
}
.filter-bar a:hover { border-color: var(--gold); color: var(--gold-d); }
.filter-bar a.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.sub-filter { text-align: center; margin-bottom: 44px; font-size: 13.5px; color: var(--muted); }
.sub-filter a { margin: 0 14px; padding-bottom: 5px; letter-spacing: .18em; border-bottom: 1px solid transparent; }
.sub-filter a:hover { color: var(--gold-d); }
.sub-filter a.active { color: var(--gold-d); border-bottom-color: var(--gold); }

/* 商品详情弹层 */
.product-detail-mask {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(14,9,4,.76); backdrop-filter: blur(6px);
}
.product-detail-mask.show { display: flex; animation: fadeIn .6s var(--ease); }
.pd-box {
  background: var(--paper); max-width: 860px; width: 100%;
  display: grid; grid-template-columns: .95fr 1.05fr;
  position: relative; max-height: 88vh; overflow: hidden;
  box-shadow: 0 50px 90px -50px rgba(0,0,0,.85);
  animation: riseIn .8s var(--ease);
}
.pd-box .img-side { background: var(--frame); padding: 16px; }
.pd-box .img-side img,
.pd-box .img-side .ph-thumb { width: 100%; height: 100%; object-fit: cover; }
.pd-box .info-side { padding: 56px 46px; overflow-y: auto; position: relative; }
.pd-box .info-side::after {
  content: ""; position: absolute; inset: 14px; border: 1px solid var(--line);
  pointer-events: none;
}
.pd-box h3 {
  font-family: var(--serif); font-weight: 500; font-size: 22px;
  line-height: 1.75; letter-spacing: .12em; margin-bottom: 16px;
}
.pd-box .tags { color: var(--gold); font-size: 13px; letter-spacing: .2em; margin-bottom: 26px; }
.pd-box .desc {
  font-size: 14px; color: var(--ink-2); text-align: justify; line-height: 2.15;
}
.pd-box .actions { margin-top: 38px; }
.pd-box .close {
  position: absolute; top: 14px; right: 16px; z-index: 3;
  width: 34px; height: 34px; border-radius: 50%; border: none;
  background: rgba(60,42,24,.55); color: #eadfc9; font-size: 20px;
  line-height: 1; cursor: pointer; transition: background .5s;
}
.pd-box .close:hover { background: var(--gold); }

/* 产品详情页（两栏：图左文右；移动端单列） */
.pd-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

/* 文章详情 */
.article-wrap { max-width: 760px; margin: 0 auto; }
.article-wrap .art-head { text-align: center; margin-bottom: 52px; }
.article-wrap .art-head .cat-chip {
  display: inline-block; font-size: 12px; color: var(--gold);
  letter-spacing: .42em; text-indent: .42em; margin-bottom: 22px;
}
.article-wrap h1 {
  font-family: var(--serif); font-weight: 500; font-size: 30px;
  letter-spacing: .14em; line-height: 1.75;
}
.article-wrap .meta {
  margin-top: 22px; font-size: 12.5px; color: var(--muted); letter-spacing: .18em;
}
.article-wrap .art-head::after {
  content: ""; display: block; width: 120px; height: 1px; margin: 32px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.article-wrap .art-cover {
  margin-bottom: 52px; padding: 12px; background: var(--frame);
  box-shadow: 0 34px 70px -48px rgba(34,31,26,.9);
}
.article-wrap .art-cover img { filter: saturate(.94) contrast(1.03); }
.article-body { font-size: 15.5px; color: var(--ink-2); }
.article-body p { margin-bottom: 24px; text-align: justify; }
.article-body h2 {
  font-family: var(--serif); font-weight: 500; font-size: 20px;
  letter-spacing: .16em; margin: 44px 0 20px; padding-left: 18px;
  border-left: 2px solid var(--gold);
}
.article-body .article-note {
  background: var(--paper-2); border-left: 2px solid var(--gold);
  padding: 22px 26px; font-size: 14px; color: var(--muted); line-height: 2.1;
}
.article-nav {
  display: flex; justify-content: space-between; gap: 24px;
  margin-top: 64px; padding-top: 30px; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--muted);
}
.article-nav a { color: var(--gold-d); }

/* 内容页 Tag 标签云 */
.art-tags {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line);
}
.art-tags .art-tags-label {
  font-size: 12px; color: var(--muted); letter-spacing: .3em; margin-right: 6px;
}
.art-tags a {
  font-size: 12.5px; color: var(--ink-2); letter-spacing: .1em;
  padding: 6px 14px; border: 1px solid var(--line); transition: all .5s var(--ease);
}
.art-tags a:hover { color: var(--gold-d); border-color: var(--gold); }

/* ============================================================
 * TAG 标签列表页（lists_tags.htm）
 * ============================================================ */
.tag-result-head { text-align: center; margin-bottom: 54px; }
.tag-result-head .eyebrow {
  font-size: 12px; letter-spacing: .42em; color: var(--gold-d); margin-bottom: 14px;
}
.tag-result-head h2 {
  font-size: 26px; font-weight: 500; color: var(--ink); letter-spacing: .06em;
}
.tag-result-head .rule {
  width: 46px; height: 1px; background: var(--gold); margin: 22px auto 0;
}

.tag-arc-list { list-style: none; padding: 0; margin: 0; }
.tag-arc-list li {
  display: flex; align-items: baseline; gap: 18px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.tag-arc-list li:first-child { border-top: 1px solid var(--line); }
.tag-arc-list a {
  flex: 1; display: flex; align-items: baseline; gap: 14px;
  color: var(--ink-2); transition: color .45s var(--ease);
}
.tag-arc-list a:hover { color: var(--gold-d); }
.tag-arc-list .tag-cat {
  flex: none; font-size: 11.5px; letter-spacing: .12em; color: var(--gold-d);
  border: 1px solid var(--line); padding: 3px 10px;
}
.tag-arc-list .tag-title { font-size: 15px; line-height: 1.7; }
.tag-arc-list .tag-date {
  flex: none; font-size: 12.5px; color: var(--muted); letter-spacing: .06em;
}

@media (max-width: 640px) {
  .tag-result-head { margin-bottom: 38px; }
  .tag-result-head h2 { font-size: 20px; }
  .tag-arc-list li { flex-direction: column; gap: 8px; padding: 16px 0; }
  .tag-arc-list a { flex-direction: column; gap: 8px; }
  .tag-arc-list .tag-title { font-size: 14px; }
  .tag-arc-list .tag-date { font-size: 11.5px; }
}

/* TAG 标签主页（index_tags.htm）：分组标签云 */
.tag-cloud-block { margin-bottom: 78px; }
.tag-cloud-block:last-child { margin-bottom: 0; }
.tag-cloud-block .sec-head { margin-bottom: 34px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 12px; }
.tag-cloud a {
  display: inline-block; font-size: 13px; color: var(--ink-2);
  letter-spacing: .1em; padding: 8px 18px;
  border: 1px solid var(--line); background: var(--paper-2);
  transition: all .5s var(--ease);
}
.tag-cloud a:hover {
  color: var(--paper); background: var(--gold); border-color: var(--gold);
}
.tag-cloud .empty-tip { width: 100%; padding: 26px 0; font-size: 13px; }

@media (max-width: 640px) {
  .tag-cloud-block { margin-bottom: 54px; }
  .tag-cloud { gap: 9px; }
  .tag-cloud a { font-size: 12.5px; padding: 7px 14px; }
}

.empty-tip { text-align: center; padding: 90px 0; color: var(--muted); letter-spacing: .2em; }

/* ============================================================
 * 联系页：二维码卡片 + 留言表单
 * ============================================================ */
.contact-wrap { display: grid; grid-template-columns: .82fr 1.18fr; gap: 72px; align-items: start; }

/* 左侧二维码卡片 */
.qr-card {
  background: var(--paper-2); border: 1px solid var(--line);
  padding: 46px 36px 40px; text-align: center; position: relative;
}
.qr-card::after {
  content: ""; position: absolute; inset: 10px;
  border: 1px solid var(--line-2); pointer-events: none;
}
.qr-card .qr-img {
  width: 200px; height: 200px; margin: 0 auto 24px; padding: 12px;
  background: var(--paper-3); border: 1px solid var(--line);
}
.qr-card .qr-img img { width: 100%; height: 100%; object-fit: contain; }
.qr-card .qr-tip { font-size: 12.5px; color: var(--muted); line-height: 2.1; margin-bottom: 28px; }
.qr-card .btn { padding: 13px 30px; font-size: 13px; }

/* 联系方式列表 */
.contact-list { margin-top: 38px; border-top: 1px solid var(--line); }
.contact-list li {
  padding: 22px 4px; border-bottom: 1px solid var(--line-2);
  display: flex; flex-direction: column; gap: 6px;
}
.contact-list .k { font-size: 11.5px; color: var(--gold); letter-spacing: .42em; }
.contact-list .v {
  font-family: var(--serif); font-size: 16px; color: var(--ink); letter-spacing: .08em;
}
.contact-list .v a { border-bottom: 1px solid var(--line); }
.contact-list .v a:hover { border-bottom-color: var(--gold); }
.contact-list .t { font-size: 12px; color: var(--muted-2); letter-spacing: .1em; }

/* 右侧表单 */
.form-side .form-intro {
  font-size: 14.5px; color: var(--ink-2); line-height: 2.15;
  text-align: justify; margin-bottom: 40px;
}
#msgForm .f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.f-col { margin-bottom: 28px; position: relative; }
.f-col > label {
  display: block; font-size: 12px; color: var(--gold-d);
  letter-spacing: .34em; margin-bottom: 12px;
}
.f-col > label i { font-style: normal; color: var(--seal); letter-spacing: 0; }
#msgForm input,
#msgForm select,
#msgForm textarea {
  width: 100%; font-family: inherit; font-size: 14px; color: var(--ink);
  background: var(--paper-2); border: 1px solid var(--line);
  padding: 14px 16px; border-radius: 0; line-height: 1.9;
  transition: border-color .6s var(--ease), box-shadow .6s var(--ease);
}
#msgForm select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%),
                    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 20px) 24px, calc(100% - 14px) 24px;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
  padding-right: 42px;
}
#msgForm select option, #msgForm select optgroup { background: var(--paper-3); color: var(--ink); }
#msgForm textarea { resize: vertical; min-height: 150px; }
#msgForm input::placeholder, #msgForm textarea::placeholder { color: var(--muted-2); }
#msgForm input:focus, #msgForm select:focus, #msgForm textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,160,104,.12);
}
.counter { position: absolute; right: 14px; bottom: 6px; font-size: 11.5px; color: var(--muted-2); }
.form-err { color: var(--seal); font-size: 13px; letter-spacing: .1em; margin: -8px 0 20px; }
.form-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.form-actions .btn { padding: 15px 40px; cursor: pointer; }
.form-actions .btn[disabled] { opacity: .55; cursor: default; }
.form-actions .form-note { font-size: 12px; color: var(--muted); line-height: 1.9; }

/* 提交成功卡片 */
.msg-done {
  text-align: center; padding: 60px 40px 52px;
  background: var(--paper-2); border: 1px solid var(--line); position: relative;
}
.msg-done::after {
  content: ""; position: absolute; inset: 10px;
  border: 1px solid var(--line-2); pointer-events: none;
}
.msg-done .done-seal {
  width: 64px; height: 64px; margin: 0 auto 26px;
  border: 1.5px solid rgba(155,59,44,.55); color: var(--seal);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 23px; transform: rotate(-3deg); opacity: .85;
}
.msg-done h3 {
  font-family: var(--serif); font-weight: 500; font-size: 19px;
  letter-spacing: .16em; line-height: 1.9; margin-bottom: 26px;
}
.msg-done .sum {
  font-size: 13px; color: var(--muted); line-height: 2.3; margin-bottom: 24px;
}
.msg-done .tip { font-size: 12.5px; color: var(--gold-d); letter-spacing: .1em; margin-bottom: 34px; }
.msg-done .actions { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.msg-done .actions .btn + .btn { margin-left: 0; }

/* 商品详情弹层按钮组 */
.pd-box .pd-acts { display: flex; gap: 16px; margin-top: 38px; flex-wrap: wrap; }
.pd-box .pd-acts .btn { padding: 13px 28px; font-size: 13.5px; cursor: pointer; }
.pd-box .pd-acts .btn + .btn { margin-left: 0; }

/* 列表/首页卡片 快速预览弹层（.actions 复用 .btn） */
.pd-box .actions { display: flex; gap: 16px; margin-top: 38px; flex-wrap: wrap; }
.pd-box .actions .btn { padding: 13px 28px; font-size: 13.5px; cursor: pointer; }
.pd-box .actions .btn + .btn { margin-left: 0; }
.btn.ghost { border-color: var(--line); color: var(--ink-2); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
/* 无图时单列显示 */
.pd-box.no-img { grid-template-columns: 1fr; max-width: 540px; }
.pd-box.no-img .img-side { display: none; }

/* ============================================================
 * 入场动效：缓慢浮现，营造安凝感
 * ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); }
.reveal.in {
  opacity: 1; transform: none;
  transition: opacity 1.3s var(--ease), transform 1.3s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .hero-bg { animation: none; }
  .scroll-cue::after { animation: none; }
}

/* ============================================================
 * 响应式
 * ============================================================ */
@media (max-width: 1024px) {
  .section { padding: 92px 0; }
  .container { padding: 0 24px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-card { border-left: none; border-top: 1px solid var(--line); }
  .cat-card:first-child { border-top: none; }
  .product-grid, .article-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .assure-band { grid-template-columns: repeat(2, 1fr); }
  .assure-item { border-top: 1px solid var(--line); }
  .assure-item:nth-child(-n+2) { border-top: none; }
  .assure-item:nth-child(odd) { border-left: none; }
  .philosophy .grid { grid-template-columns: 1fr; gap: 56px; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero h1 { font-size: 38px; letter-spacing: .26em; text-indent: .26em; }
  .contact-wrap { grid-template-columns: 1fr; gap: 56px; }
  .main-nav { gap: 26px; font-size: 13.5px; letter-spacing: .16em; }
}
@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .sec-head h2 { font-size: 24px; letter-spacing: .22em; }
  .sec-head { margin-bottom: 48px; }
  .product-grid, .article-grid, .article-grid.two-col { grid-template-columns: 1fr; }
  .assure-band { grid-template-columns: 1fr; }
  .assure-item { border-left: none; }
  .values { grid-template-columns: repeat(3, 1fr); }
  .values .v-item { padding: 0 10px; }
  .values .v-num { font-size: 20px; }
  .values .v-name { font-size: 14px; letter-spacing: .18em; margin: 8px 0 6px; white-space: nowrap; }
  .values .v-desc { font-size: 12px; }
  .hero-inner { padding: 100px 22px 80px; }
  .hero h1 { font-size: 22px; letter-spacing: .18em; text-indent: .18em; }
  .hero .hero-sub { font-size: 11.5px; letter-spacing: .1em; text-indent: .1em; margin-bottom: 34px; }
  .hero .hero-badges { flex-direction: row; gap: 0; margin-bottom: 34px; font-size: 11.5px; letter-spacing: .18em; text-indent: .18em; }
  .hero .hero-badges span { border-left: 1px solid var(--line); padding: 0 10px; }
  .hero .btn { display: block; width: max-content; margin: 0 auto; }
  .hero .btn + .btn { margin: 14px auto 0; }
  /* 商品快速预览弹窗：上图 → 下描述 → 按钮（源图为900×900方图，完整显示不裁剪） */
  .product-detail-mask { padding: 12px; }
  .pd-box { grid-template-columns: 1fr; max-height: 88vh; overflow-y: auto; }
  .pd-box .img-side { height: auto; padding: 10px; }
  .pd-box .img-side img, .pd-box .img-side .ph-thumb { height: auto; object-fit: contain; }
  .pd-box .info-side { padding: 30px 24px 36px; overflow-y: visible; }
  .pd-box h3 { font-size: 17.5px; line-height: 1.7; letter-spacing: .1em; }
  .pd-box .tags { font-size: 12px; margin-bottom: 16px; }
  .pd-box .desc { font-size: 13px; }
  .pd-box .actions, .pd-box .pd-acts { margin-top: 26px; }
  /* 产品详情页移动端：单列（图上文下），按钮横排换行 */
  .pd-wrap { grid-template-columns: 1fr; gap: 32px; }
  .pd-wrap .pd-img img { width: 100%; display: block; }
  .pd-acts { display: flex; flex-wrap: wrap; gap: 14px; }
  .pd-acts .btn { padding: 12px 26px; font-size: 13px; }
  .pd-acts .btn + .btn { margin-left: 0; }
  /* 手机端导航横向滚动，保证「联系」等栏目可达 */
  .site-header .inner { flex-direction: column; justify-content: center; gap: 0; height: auto; padding: 12px 0 4px; }
  .main-nav {
    gap: 20px; font-size: 12.5px; letter-spacing: .12em;
    max-width: 100%; overflow-x: auto; white-space: nowrap; padding: 4px 2px 8px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { flex: 0 0 auto; }
  .page-hero { padding: 168px 0 60px; }
  #msgForm .f-row { grid-template-columns: 1fr; gap: 0; }
  .form-actions { flex-direction: column; align-items: stretch; gap: 18px; }
  .form-actions .btn { text-align: center; }
  .float-consult { right: 16px; bottom: 24px; padding: 12px 20px; font-size: 12.5px; }
  .scroll-cue { display: none; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 19px; }
  .hero .hero-sub { font-size: 10.5px; }
}
