/* ============================================================
   圣安齿科博物馆 · 网页端重设计预览
   设计系统：金石书卷（东方雅致 · 书卷气）
   ============================================================
   宣纸米白 × 浓墨 × 朱砂印红 × 低调金
   宋体大标题 · 竖排题签 · 印章 · 双线框 · 卷宗式卡片
   ============================================================ */

/* ---------- 设计变量 ---------- */
:root {
  /* 纸墨 */
  --paper:        #f4eee1;   /* 宣纸米白 · 主背景 */
  --paper-deep:   #ece2cb;   /* 深一层的纸色 · 面板 */
  --paper-veil:   #faf6ec;   /* 纸卡 */
  --ink:          #23201b;   /* 浓墨 */
  --ink-2:        #5f5848;   /* 次墨 */
  --ink-3:        #9a907c;   /* 淡墨 */
  --hairline:     #dcd1b4;   /* 纸面细线 */

  /* 金石 */
  --cinnabar:     #a63d2e;   /* 朱砂印红 */
  --cinnabar-deep:#7c2b1f;
  --cinnabar-veil:rgba(166,61,46,.08);
  --gold:         #a5804a;   /* 低调金 */
  --gold-light:   #c9ad7c;

  /* 墨色深区（页脚/深色段） */
  --ink-bg:       #242019;   /* 深墨底 */
  --ink-bg-2:     #2e2a21;   /* 深墨面板 */
  --ink-line:     rgba(244,238,225,.16);
  --ink-text:     #f1ead9;   /* 深底纸色文字 */
  --ink-text-2:   rgba(241,234,217,.62);

  /* 字体 */
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans:  "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --latin: "Cormorant Garamond", "Times New Roman", serif;

  --maxw: 1200px;
  --shadow-1: 0 1px 2px rgba(35,32,27,.05);
  --shadow-2: 0 10px 30px rgba(35,32,27,.08);
  --shadow-3: 0 24px 60px rgba(35,32,27,.14);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- 基础 ---------- */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior:smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* 宣纸纹理 */
body::before {
  content:"";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--cinnabar); color: var(--paper); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; }
@media (max-width: 640px) { .container { padding: 0 1.25rem; } }

/* ---------- 通用工具 ---------- */
.vtext { writing-mode: vertical-rl; text-orientation: mixed; }

.serif { font-family: var(--serif); }
.latin  { font-family: var(--latin); }

/* 页头题签（栏目名 + 竖排） */
.masthead {
  padding: 5.5rem 2rem 3.5rem;
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
}
.masthead::before {
  content: attr(data-wm);
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: 22rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(35,32,27,.04);
  pointer-events: none;
  writing-mode: vertical-rl;
}
.masthead-seal {
  display: inline-flex; flex-direction: column; align-items: center; gap: 1rem;
  margin-bottom: 1.75rem;
}
.masthead-cn {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: .12em;
  color: var(--ink);
  line-height: 1.25;
}
.masthead-en {
  font-family: var(--latin);
  font-size: .95rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.masthead-sub {
  margin-top: 1.1rem;
  color: var(--ink-2);
  font-size: 1.02rem;
  letter-spacing: .06em;
}
.masthead-rule {
  width: 64px; height: 2px;
  background: var(--cinnabar);
  margin: 1.6rem auto 0;
  position: relative;
}
.masthead-rule::after {
  content: "";
  position: absolute; left: 50%; top: -4px; transform: translateX(-50%);
  width: 10px; height: 10px;
  background: var(--cinnabar);
  transform: translateX(-50%) rotate(45deg);
}

/* ---------- 印章 ---------- */
.seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cinnabar);
  color: var(--paper);
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(244,238,225,.5);
  flex-shrink: 0;
  user-select: none;
}
.seal-sm { width: 34px; height: 34px; font-size: .82rem; }
.seal-md { width: 44px; height: 44px; font-size: 1.05rem; }
.seal-lg { width: 84px; height: 84px; font-size: 1.85rem; letter-spacing: .06em; writing-mode: vertical-rl; }

/* 朱砂小方块（点缀） */
.dot-seal {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--cinnabar);
  border-radius: 1px;
  transform: rotate(45deg);
}

/* ---------- 章节标题 ---------- */
.section-head {
  display: flex;
  align-items: flex-end;
  gap: 1.25rem;
  margin-bottom: 2.75rem;
}
.section-head .seal { margin-bottom: .35rem; }
.section-head-main { flex: 1; }
.section-head-cn {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 900;
  letter-spacing: .1em;
  color: var(--ink);
  display: flex; align-items: center; gap: .8rem;
}
.section-head-cn::after {
  content: "";
  flex: 0 0 44px; height: 1px;
  background: var(--gold);
}
.section-head-en {
  font-family: var(--latin);
  font-size: .8rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: .3rem;
}
.section-head-note {
  font-size: .92rem;
  color: var(--ink-2);
  letter-spacing: .04em;
  padding-bottom: .25rem;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .95rem 2.1rem;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .18em;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  position: relative;
  transition: all .3s var(--ease);
}
.btn::before {
  content: "";
  position: absolute; inset: 3px;
  border: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.btn:hover::before { border-color: currentColor; }
.btn .btn-en {
  font-family: var(--latin);
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  opacity: .75;
  font-weight: 500;
}

.btn-cinnabar {
  background: var(--cinnabar);
  border-color: var(--cinnabar);
  color: var(--paper);
}
.btn-cinnabar:hover { background: var(--cinnabar-deep); border-color: var(--cinnabar-deep); transform: translateY(-2px); box-shadow: var(--shadow-2); }

.btn-ghost { border-color: var(--ink-3); color: var(--ink-2); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); background: var(--paper-veil); }

.btn-on-dark { border-color: var(--gold-light); color: var(--ink-text); }
.btn-on-dark:hover { background: var(--cinnabar); border-color: var(--cinnabar); color: var(--paper); }

/* 连接符号 */
.arrow-more {
  font-family: var(--serif);
  display: inline-block;
  transition: transform .3s var(--ease);
}
a:hover .arrow-more, button:hover .arrow-more { transform: translateX(6px); }

/* ============================================================
   导航
   ============================================================ */
.mast {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(244,238,225,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
  transition: box-shadow .3s ease;
}
.mast.scrolled { box-shadow: 0 8px 30px rgba(35,32,27,.07); }
.mast-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 78px;
}
.brand { display: flex; align-items: center; gap: .9rem; }
.brand-seal {
  width: 44px; height: 44px;
  border-radius: 3px;
  background: var(--cinnabar);
  color: var(--paper);
  font-family: var(--serif);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .1em;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(244,238,225,.45);
  writing-mode: vertical-rl;
  text-orientation: upright;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-cn { font-family: var(--serif); font-weight: 900; font-size: 1.05rem; letter-spacing: .14em; color: var(--ink); }
.brand-en { font-family: var(--latin); font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-3); }

.mnav { display: flex; align-items: center; gap: .2rem; }
.mnav a {
  position: relative;
  padding: .55rem .95rem;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--ink-2);
  transition: color .25s ease;
}
.mnav a::after {
  content: "";
  position: absolute;
  left: .95rem; right: .95rem; bottom: .15rem;
  height: 2px;
  background: var(--cinnabar);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.mnav a:hover { color: var(--ink); }
.mnav a:hover::after { transform: scaleX(.5); }
.mnav a.active { color: var(--ink); font-weight: 700; }
.mnav a.active::after { transform: scaleX(1); }

.mnav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: .5rem;
}
.mnav-toggle span {
  width: 22px; height: 2px;
  background: var(--ink);
  transition: all .3s var(--ease);
}
.mnav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mnav-toggle.open span:nth-child(2) { opacity: 0; }
.mnav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .mnav { display: none; }
  .mnav.open {
    display: flex;
    position: absolute;
    top: 78px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid var(--hairline);
    padding: .75rem 1.5rem 1.25rem;
    gap: .1rem;
    box-shadow: var(--shadow-2);
  }
  .mnav.open a { padding: .8rem .5rem; border-bottom: 1px dashed var(--hairline); }
  .mnav.open a::after { display: none; }
  .mnav-toggle { display: flex; }
}

/* ============================================================
   首页 · Hero（墨色展卷）
   ============================================================ */
.hero {
  position: relative;
  background: var(--ink-bg);
  color: var(--ink-text);
  overflow: hidden;
}
/* 水墨氛围背景 */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(165,128,74,.14), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(166,61,46,.10), transparent 55%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.07'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 6.5rem 2rem 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
}
.hero-copy { position: relative; padding-left: 1.4rem; }
.hero-copy::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-light), transparent 85%);
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 2rem;
}
.hero-kicker .seal { animation: sealIn 1s var(--ease) both; }
.hero-kicker-line {
  font-size: .82rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-family: var(--latin);
  padding-top: .15rem;
}
.hero-kicker-cn {
  font-size: .9rem;
  letter-spacing: .22em;
  color: var(--ink-text-2);
  margin-left: .4rem;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(2.6rem, 5.6vw, 4.3rem);
  line-height: 1.3;
  letter-spacing: .06em;
  color: var(--ink-text);
}
.hero-title .hl {
  color: var(--gold-light);
  position: relative;
  white-space: nowrap;
}
.hero-title .hl::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: .04em;
  height: .09em;
  background: var(--cinnabar);
  opacity: .85;
}
.hero-sub {
  margin-top: 1.6rem;
  max-width: 46ch;
  color: var(--ink-text-2);
  font-size: 1.02rem;
  line-height: 2;
  letter-spacing: .04em;
}
.hero-actions {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
  margin-top: 2.6rem;
}

/* 展卷 · 藏品走马灯 */
.scroll-band {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--ink-line);
  background: rgba(0,0,0,.22);
  overflow: hidden;
  padding: 1rem 0;
}
.scroll-band::before,
.scroll-band::after {
  content: "";
  position: absolute; top: 0; bottom: 0;
  width: 140px; z-index: 3;
  pointer-events: none;
}
.scroll-band::before { left: 0; background: linear-gradient(90deg, var(--ink-bg), transparent); }
.scroll-band::after  { right: 0; background: linear-gradient(-90deg, var(--ink-bg), transparent); }
.scroll-track {
  display: flex;
  gap: 1.1rem;
  width: max-content;
  animation: marquee 56s linear infinite;
}
.scroll-band:hover .scroll-track { animation-play-state: paused; }
.scroll-item {
  width: 236px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ink-line);
  background: var(--ink-bg-2);
}
.scroll-item img { width: 100%; height: 148px; object-fit: cover; transition: transform .8s var(--ease); }
.scroll-item:hover img { transform: scale(1.06); }
.scroll-item-cap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .6rem;
  padding: .55rem .8rem;
  border-top: 1px solid var(--ink-line);
}
.scroll-item-cap .cno {
  font-family: var(--latin);
  font-size: .68rem;
  letter-spacing: .14em;
  color: var(--gold-light);
}
.scroll-item-cap .cname { font-size: .82rem; color: var(--ink-text); letter-spacing: .08em; }

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes sealIn { from { opacity: 0; transform: scale(.6) rotate(-12deg); } to { opacity: 1; transform: scale(1) rotate(0); } }

/* 首屏入场 */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   首页 · 信息条 / 统计
   ============================================================ */
.info-strip {
  border-bottom: 1px solid var(--hairline);
  background: var(--paper-deep);
}
.info-strip-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.05rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.6rem;
  flex-wrap: wrap;
}
.info-item { display: flex; align-items: center; gap: .8rem; }
.info-item svg { width: 20px; height: 20px; stroke: var(--cinnabar); }
.info-text { display: flex; flex-direction: column; line-height: 1.35; }
.info-label { font-size: .7rem; letter-spacing: .26em; color: var(--ink-3); text-transform: uppercase; }
.info-value { font-size: .92rem; font-weight: 600; color: var(--ink); letter-spacing: .05em; }
.info-divider { width: 1px; height: 2.1rem; background: var(--hairline); }
@media (max-width: 640px) { .info-divider { display: none; } .info-strip-inner { gap: 1.2rem; } }

.stats {
  padding: 5rem 0 1rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--hairline);
  background: var(--paper-veil);
  position: relative;
}
.stats-grid::after {
  content: "";
  position: absolute; inset: 4px;
  border: 1px solid var(--hairline);
  pointer-events: none;
}
.stat {
  padding: 2.6rem 1.5rem;
  text-align: center;
  position: relative;
}
.stat + .stat::before {
  content: "";
  position: absolute; left: 0; top: 22%; bottom: 22%;
  width: 1px;
  background: var(--hairline);
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(2.3rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: .02em;
}
.stat-num .unit { font-size: .5em; color: var(--cinnabar); margin-left: .12em; }
.stat-label {
  margin-top: .7rem;
  font-size: .88rem;
  color: var(--ink-2);
  letter-spacing: .2em;
}
.stat-label::before {
  content: "◆";
  display: block;
  font-size: .5rem;
  color: var(--gold);
  margin-bottom: .5rem;
  letter-spacing: 0;
}
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3)::before { display:none; } }
@media (max-width: 560px) { .stats-grid { grid-template-columns: 1fr 1fr; } .stat { padding: 1.8rem 1rem; } }

/* ============================================================
   区块通用
   ============================================================ */
.section { padding: 5.5rem 0; }
.section + .section { border-top: 1px solid var(--hairline); }
.section-tint { background: var(--paper-deep); }

/* 巨型水印字 */
.wm-char {
  position: absolute;
  font-family: var(--serif);
  font-weight: 900;
  color: rgba(35,32,27,.045);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* ============================================================
   藏品卡片（标本档案卡）
   ============================================================ */
.specimen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
}
.specimen {
  position: relative;
  background: var(--paper-veil);
  border: 1px solid var(--hairline);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s ease;
  display: flex;
  flex-direction: column;
}
.specimen::before {
  content: "";
  position: absolute; inset: 5px;
  border: 1px solid var(--hairline);
  pointer-events: none;
  transition: border-color .4s ease;
  z-index: 2;
}
.specimen:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-3);
  border-color: var(--gold);
}
.specimen:hover::before { border-color: var(--gold-light); }
.specimen-fig {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: var(--paper-deep);
}
.specimen-fig img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.specimen:hover .specimen-fig img { transform: scale(1.05); }
.specimen-no {
  position: absolute;
  top: .9rem; left: .9rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(244,238,225,.94);
  border: 1px solid var(--hairline);
  padding: .28rem .7rem;
  font-family: var(--latin);
  font-size: .72rem;
  letter-spacing: .18em;
  color: var(--ink-2);
}
.specimen-no i { font-style: normal; width: 6px; height: 6px; background: var(--cinnabar); transform: rotate(45deg); display: inline-block; }
.specimen-seal {
  position: absolute;
  right: .9rem; top: .9rem;
  z-index: 3;
}
.specimen-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.specimen-title {
  font-family: var(--serif);
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: .8rem;
}
.specimen-title a { transition: color .25s ease; }
.specimen-title a:hover { color: var(--cinnabar); }
.specimen-meta {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: .9rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .74rem;
  letter-spacing: .1em;
  color: var(--ink-2);
  border: 1px solid var(--hairline);
  padding: .2rem .6rem;
  background: var(--paper);
}
.chip::before { content: ""; width: 4px; height: 4px; background: var(--gold); border-radius: 50%; }
.specimen-desc {
  font-size: .88rem;
  color: var(--ink-2);
  line-height: 1.85;
  flex: 1;
}
.specimen-foot {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  color: var(--ink-3);
}
.specimen-foot .read {
  color: var(--cinnabar);
  font-weight: 600;
  letter-spacing: .12em;
}

@media (max-width: 960px) { .specimen-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .specimen-grid { grid-template-columns: 1fr; } }

/* ============================================================
   八大展柜（格柜卡片）
   ============================================================ */
.cabinet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.cabinet {
  position: relative;
  background: var(--paper-veil);
  border: 1px solid var(--hairline);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display: block;
}
.cabinet:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.cabinet-fig { position: relative; height: 158px; overflow: hidden; }
.cabinet-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.cabinet:hover .cabinet-fig img { transform: scale(1.07); }
.cabinet-num {
  position: absolute;
  top: .8rem; left: .8rem;
  width: 40px; height: 40px;
  background: var(--ink-bg);
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(201,173,124,.5);
  z-index: 2;
}
.cabinet-body { padding: 1.05rem 1.15rem 1.2rem; }
.cabinet-name {
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem;
}
.cabinet-name .en {
  font-family: var(--latin);
  font-size: .62rem;
  letter-spacing: .22em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.cabinet-desc { margin-top: .4rem; font-size: .8rem; color: var(--ink-2); line-height: 1.6; }
.cabinet-count {
  margin-top: .8rem;
  padding-top: .7rem;
  border-top: 1px dashed var(--hairline);
  display: flex; align-items: center; justify-content: space-between;
  font-size: .78rem;
  color: var(--ink-3);
  letter-spacing: .06em;
}
.cabinet-count b { color: var(--cinnabar); font-weight: 700; font-family: var(--serif); }
.cabinet-count .arrow-more { color: var(--gold); }

@media (max-width: 1000px) { .cabinet-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .cabinet-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cabinet-grid { grid-template-columns: 1fr; } }

/* ============================================================
   新闻（卷宗式列表）
   ============================================================ */
.news-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
}
.news-feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.6rem;
  align-items: center;
  background: var(--ink-bg);
  color: var(--ink-text);
  padding: 2.4rem;
  position: relative;
  overflow: hidden;
}
.news-feature::before {
  content: attr(data-wm);
  position: absolute; right: -1%; top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: 16rem;
  font-weight: 900;
  color: rgba(241,234,217,.05);
  writing-mode: vertical-rl;
}
.news-feature-fig { position: relative; height: 260px; overflow: hidden; }
.news-feature-fig img { width: 100%; height: 100%; object-fit: cover; }
.news-feature-fig .tag-now {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--cinnabar);
  color: var(--paper);
  font-size: .74rem;
  letter-spacing: .2em;
  padding: .3rem .8rem;
}
.news-feature-body { position: relative; z-index: 2; }
.news-date {
  font-family: var(--latin);
  font-size: .8rem;
  letter-spacing: .3em;
  color: var(--gold-light);
  text-transform: uppercase;
  display: flex; align-items: center; gap: .7rem;
}
.news-date::before { content: ""; width: 26px; height: 1px; background: var(--gold); }
.news-feature .news-title {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1.45;
  margin: 1rem 0 .9rem;
  letter-spacing: .04em;
}
.news-feature .news-excerpt { color: var(--ink-text-2); font-size: .95rem; line-height: 1.9; margin-bottom: 1.5rem; }
.news-feature .read { color: var(--gold-light); font-weight: 600; letter-spacing: .14em; font-size: .88rem; }

.news-card {
  background: var(--paper-veil);
  border: 1px solid var(--hairline);
  padding: 1.6rem 1.6rem 1.7rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s ease;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--gold); }
.news-card .news-date { color: var(--ink-3); }
.news-card .news-date::before { background: var(--hairline); }
.news-card .news-title {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.55;
  margin: .85rem 0 .7rem;
  letter-spacing: .03em;
}
.news-card .news-title a:hover { color: var(--cinnabar); }
.news-card .news-excerpt {
  font-size: .86rem;
  color: var(--ink-2);
  line-height: 1.85;
  flex: 1;
}
.news-card .read { margin-top: 1.1rem; font-size: .8rem; color: var(--cinnabar); font-weight: 600; letter-spacing: .12em; }

@media (max-width: 900px) { .news-layout { grid-template-columns: 1fr; } .news-feature { grid-template-columns: 1fr; } }

/* ============================================================
   参观信息（深墨区）
   ============================================================ */
.visit-band {
  background: var(--ink-bg);
  color: var(--ink-text);
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.visit-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(165,128,74,.12), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(166,61,46,.08), transparent 55%);
}
.visit-band .section-head-cn { color: var(--ink-text); }
.visit-band .section-head-cn::after { background: var(--gold); }
.visit-band .section-head-en { color: var(--ink-text-2); }
.visit-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.visit-card {
  border: 1px solid var(--ink-line);
  padding: 2rem 1.6rem;
  position: relative;
  background: rgba(46,42,33,.55);
  transition: border-color .35s ease, transform .35s var(--ease);
}
.visit-card::after {
  content: "";
  position: absolute; inset: 5px;
  border: 1px solid var(--ink-line);
  pointer-events: none;
}
.visit-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.visit-card .vic { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem; }
.visit-card .vic svg { width: 24px; height: 24px; stroke: var(--gold-light); }
.visit-card .vic::after { content: ""; flex: 1; height: 1px; background: var(--ink-line); }
.visit-label { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-text-2); font-family: var(--latin); }
.visit-value {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--ink-text);
  letter-spacing: .05em;
  margin: .45rem 0 .4rem;
}
.visit-desc { font-size: .84rem; color: var(--ink-text-2); line-height: 1.8; }

@media (max-width: 960px) { .visit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .visit-grid { grid-template-columns: 1fr; } }

/* ============================================================
   页脚
   ============================================================ */
.footer {
  background: #1c1915;
  color: var(--ink-text);
  padding: 4.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(244,238,225,.12);
}
.footer-brand { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.1rem; }
.footer-brand .brand-seal { background: var(--cinnabar); }
.footer-brand-cn { font-family: var(--serif); font-size: 1.15rem; font-weight: 900; letter-spacing: .16em; }
.footer-desc { color: var(--ink-text-2); font-size: .9rem; line-height: 1.95; max-width: 34ch; }
.footer h4 {
  font-size: .82rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: .6rem;
}
.footer h4::before { content: ""; width: 14px; height: 1px; background: var(--gold); }
.footer-col li { margin-bottom: .65rem; }
.footer-col a {
  color: var(--ink-text-2);
  font-size: .9rem;
  letter-spacing: .06em;
  transition: color .25s ease, padding-left .25s var(--ease);
}
.footer-col a:hover { color: var(--ink-text); padding-left: 6px; }
.footer-bottom {
  margin-top: 2rem;
  text-align: center;
  color: rgba(241,234,217,.4);
  font-size: .8rem;
  letter-spacing: .1em;
}
.footer-bottom .icp-tag {
  border: 1px solid rgba(241,234,217,.25);
  font-size: .68rem;
  padding: .08rem .4rem;
  margin-left: .4rem;
  color: rgba(241,234,217,.55);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================================================
   藏品档案页 · 筛选
   ============================================================ */
.arch-layout {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 2.6rem;
  align-items: start;
}
.arch-side {
  position: sticky;
  top: 104px;
  border: 1px solid var(--hairline);
  background: var(--paper-veil);
  padding: 1.5rem 1.4rem 1.4rem;
}
.arch-side-title {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: .18em;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 1rem;
}
.arch-nav li { margin-bottom: .15rem; }
.arch-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  padding: .55rem .7rem;
  font-size: .92rem;
  letter-spacing: .08em;
  color: var(--ink-2);
  border-left: 2px solid transparent;
  transition: all .25s ease;
}
.arch-nav a .cnt {
  font-family: var(--latin);
  font-size: .72rem;
  color: var(--ink-3);
}
.arch-nav a:hover { background: var(--paper); color: var(--ink); border-left-color: var(--gold); }
.arch-nav a.active {
  background: var(--ink-bg);
  color: var(--ink-text);
  border-left-color: var(--cinnabar);
  font-weight: 700;
}
.arch-nav a.active .cnt { color: var(--gold-light); }
.arch-nav .all {
  border-bottom: 1px dashed var(--hairline);
  border-radius: 0;
  margin-bottom: .6rem;
  padding-bottom: .8rem;
}

.arch-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 1.3rem;
  border: 1px solid var(--hairline);
  background: var(--paper-veil);
  margin-bottom: 1.6rem;
  flex-wrap: wrap;
}
.arch-toolbar .current {
  font-family: var(--serif);
  font-weight: 900;
  letter-spacing: .14em;
  font-size: 1.02rem;
  display: flex; align-items: center; gap: .7rem;
}
.arch-toolbar .current .dot-seal { width: 7px; height: 7px; }
.arch-toolbar .total { font-size: .84rem; color: var(--ink-3); letter-spacing: .12em; }

.arch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
@media (max-width: 1080px) { .arch-layout { grid-template-columns: 1fr; } .arch-side { position: static; } }
@media (max-width: 860px) { .arch-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .arch-grid { grid-template-columns: 1fr; } }

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .4rem;
  margin-top: 3rem;
}
.pagination a, .pagination span {
  min-width: 42px; height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: .95rem;
  border: 1px solid var(--hairline);
  background: var(--paper-veil);
  color: var(--ink-2);
  transition: all .25s ease;
}
.pagination a:hover { border-color: var(--cinnabar); color: var(--cinnabar); }
.pagination .current {
  background: var(--cinnabar);
  border-color: var(--cinnabar);
  color: var(--paper);
  font-weight: 700;
}

/* 展柜分组（馆藏浏览页） */
.cab-group { margin-bottom: 4rem; }
.cab-group-head {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.1rem 1.4rem;
  border: 1px solid var(--hairline);
  background: var(--paper-veil);
  margin-bottom: 1.6rem;
  position: relative;
}
.cab-group-head .cnum {
  width: 46px; height: 46px;
  background: var(--ink-bg);
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(201,173,124,.5);
}
.cab-group-head .cinfo { flex: 1; }
.cab-group-head .cinfo h2 { font-family: var(--serif); font-size: 1.25rem; font-weight: 900; letter-spacing: .12em; color: var(--ink); }
.cab-group-head .cinfo p { font-size: .84rem; color: var(--ink-2); letter-spacing: .04em; margin-top: .2rem; }
.cab-group-head .ccount {
  font-size: .82rem;
  color: var(--ink-3);
  letter-spacing: .1em;
  border: 1px solid var(--hairline);
  padding: .35rem .9rem;
}
.cab-group-head .ccount b { color: var(--cinnabar); font-family: var(--serif); font-size: 1rem; }

/* ============================================================
   藏品详情页
   ============================================================ */
.crumb {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--hairline);
  font-size: .84rem;
  color: var(--ink-3);
  letter-spacing: .06em;
}
.crumb a { color: var(--ink-2); }
.crumb a:hover { color: var(--cinnabar); }
.crumb .sep { margin: 0 .6rem; color: var(--ink-3); }

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 3.6rem;
  align-items: start;
  padding: 3.5rem 0 5rem;
}

/* 画廊 */
.gallery { position: sticky; top: 104px; }
.gallery-main {
  position: relative;
  background: var(--paper-veil);
  border: 1px solid var(--hairline);
  padding: 1rem;
}
.gallery-main::after {
  content: "";
  position: absolute; inset: 5px;
  border: 1px solid var(--hairline);
  pointer-events: none;
}
.gallery-main .gimg-wrap {
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    repeating-linear-gradient(45deg, rgba(35,32,27,.025) 0 10px, transparent 10px 20px),
    var(--paper);
}
.gallery-main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform .6s var(--ease);
}
.gallery-main:hover img { transform: scale(1.03); }
.gallery-count {
  position: absolute;
  right: 1.4rem; bottom: 1.3rem;
  font-family: var(--latin);
  font-size: .78rem;
  letter-spacing: .2em;
  color: var(--ink-2);
  background: rgba(244,238,225,.92);
  border: 1px solid var(--hairline);
  padding: .3rem .8rem;
  z-index: 2;
}
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px; height: 44px;
  border: 1px solid var(--hairline);
  background: rgba(244,238,225,.92);
  color: var(--ink);
  font-size: 1.5rem;
  font-family: var(--serif);
  display: flex; align-items: center; justify-content: center;
  transition: all .3s ease;
}
.gallery-arrow:hover { background: var(--cinnabar); border-color: var(--cinnabar); color: var(--paper); }
.gallery-arrow.prev { left: 1.6rem; }
.gallery-arrow.next { right: 1.6rem; }
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .7rem;
  margin-top: .9rem;
}
.gallery-thumb {
  height: 86px;
  border: 1px solid var(--hairline);
  background: var(--paper-veil);
  padding: 0;
  overflow: hidden;
  transition: all .3s ease;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active { border-color: var(--cinnabar); box-shadow: inset 0 0 0 1px var(--cinnabar); }

/* 档案信息 */
.detail-info { padding-top: .4rem; }
.plate {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  border: 1px solid var(--hairline);
  padding: .4rem .9rem;
  font-family: var(--latin);
  font-size: .76rem;
  letter-spacing: .22em;
  color: var(--ink-2);
  background: var(--paper-veil);
  margin-bottom: 1.4rem;
}
.plate i { font-style: normal; width: 6px; height: 6px; background: var(--cinnabar); transform: rotate(45deg); display: inline-block; }
.detail-title {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .05em;
  color: var(--ink);
  margin-bottom: 1.6rem;
}
.detail-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9rem;
  margin-bottom: 2rem;
}
.dmeta {
  border: 1px solid var(--hairline);
  background: var(--paper-veil);
  padding: .95rem 1.1rem;
  position: relative;
}
.dmeta::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
}
.dmeta-label {
  font-size: .7rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-family: var(--latin);
}
.dmeta-value {
  font-family: var(--serif);
  font-size: .98rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: .3rem;
  letter-spacing: .04em;
}
@media (max-width: 640px) { .detail-meta { grid-template-columns: 1fr 1fr; } }

/* 卷宗段落 */
.dossier { margin-top: 2.4rem; }
.dossier-head {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 1rem;
  cursor: pointer;
  user-select: none;
}
.dossier-head .dnum {
  width: 30px; height: 30px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--serif);
  font-size: .86rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.dossier-head h2 {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: .14em;
  color: var(--ink);
  flex: 1;
}
.dossier-head .tick {
  font-size: .8rem;
  color: var(--ink-3);
  transition: transform .3s var(--ease);
}
.dossier.open .dossier-head .tick { transform: rotate(45deg); }
.dossier-body {
  padding-left: calc(30px + .9rem);
  color: var(--ink-2);
  font-size: .95rem;
  line-height: 2;
  letter-spacing: .03em;
  display: none;
}
.dossier.open .dossier-body { display: block; animation: dossierIn .45s var(--ease); }
@keyframes dossierIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.dossier-body p + p { margin-top: .8rem; }

.detail-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.6rem;
  padding-top: 2rem;
  border-top: 1px solid var(--hairline);
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .detail-layout { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .gallery-main .gimg-wrap { height: 360px; }
}

/* ============================================================
   内容页通用（关于/参观/社教）
   ============================================================ */
.prose { max-width: 780px; }
.prose p { margin-bottom: 1.1rem; }
.prose-card {
  background: var(--paper-veil);
  border: 1px solid var(--hairline);
  padding: 2.2rem 2.4rem;
  position: relative;
  margin-bottom: 2rem;
}
.prose-card::before {
  content: "";
  position: absolute; left: 0; top: 2.2rem; bottom: 2.2rem;
  width: 3px;
  background: var(--cinnabar);
}
.prose-card p { color: var(--ink-2); font-size: .97rem; line-height: 2.05; }
.prose-card p + p { margin-top: .9rem; }

/* 使命卡片 */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.mission {
  border: 1px solid var(--hairline);
  background: var(--paper-veil);
  padding: 2.1rem 1.8rem;
  position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s ease;
}
.mission:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: var(--gold); }
.mission::after {
  content: "";
  position: absolute; inset: 5px;
  border: 1px solid var(--hairline);
  pointer-events: none;
}
.mission .mseal {
  width: 46px; height: 46px;
  border: 1px solid var(--cinnabar);
  color: var(--cinnabar);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}
.mission h3 {
  font-family: var(--serif);
  font-size: 1.16rem;
  font-weight: 900;
  letter-spacing: .14em;
  color: var(--ink);
  margin-bottom: .7rem;
}
.mission h3 span { color: var(--gold); font-family: var(--latin); font-size: .8rem; margin-left: .5rem; letter-spacing: .1em; }
.mission p { font-size: .9rem; color: var(--ink-2); line-height: 1.95; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.feature {
  display: flex;
  gap: 1.1rem;
  border: 1px solid var(--hairline);
  background: var(--paper-veil);
  padding: 1.5rem 1.6rem;
  transition: border-color .3s ease, transform .3s var(--ease);
}
.feature:hover { border-color: var(--gold); transform: translateX(4px); }
.feature .fno {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--cinnabar);
  flex-shrink: 0;
  line-height: 1.2;
}
.feature h4 { font-family: var(--serif); font-size: 1.05rem; font-weight: 700; letter-spacing: .1em; color: var(--ink); margin-bottom: .4rem; }
.feature p { font-size: .88rem; color: var(--ink-2); line-height: 1.85; }

@media (max-width: 860px) { .mission-grid { grid-template-columns: 1fr; } .feature-grid { grid-template-columns: 1fr; } }

/* 表格（参观指南） */
.arch-table {
  width: 100%;
  border-collapse: collapse;
}
.arch-table th, .arch-table td {
  text-align: left;
  padding: .95rem 1.2rem;
  border-bottom: 1px dashed var(--hairline);
  font-size: .95rem;
}
.arch-table th {
  width: 150px;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--ink-3);
  letter-spacing: .18em;
  font-size: .86rem;
}
.arch-table td { color: var(--ink-2); }
.arch-table tr:last-child th, .arch-table tr:last-child td { border-bottom: none; }

.note-line {
  margin-top: 1.1rem;
  padding: .8rem 1.1rem;
  border-left: 3px solid var(--gold);
  background: var(--paper);
  font-size: .84rem;
  color: var(--ink-3);
  letter-spacing: .04em;
}

/* 票务 */
.ticket-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.ticket {
  border: 1px solid var(--hairline);
  background: var(--paper-veil);
  padding: 1.9rem 1.6rem;
  text-align: center;
  position: relative;
  transition: all .35s var(--ease);
}
.ticket::before, .ticket::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--hairline);
  top: 50%;
  transform: translateY(-50%);
}
.ticket::before { left: -8px; }
.ticket::after { right: -8px; }
.ticket:hover { border-color: var(--cinnabar); transform: translateY(-4px); box-shadow: var(--shadow-2); }
.ticket h3 { font-family: var(--serif); font-size: 1rem; letter-spacing: .2em; color: var(--ink-2); font-weight: 700; }
.ticket .price {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--cinnabar);
  margin: .8rem 0 .5rem;
  line-height: 1.1;
}
.ticket .price small { font-size: .5em; letter-spacing: .1em; }
.ticket p { font-size: .8rem; color: var(--ink-3); line-height: 1.7; }
.ticket.hot { border-color: var(--gold); background: var(--paper-deep); }
@media (max-width: 720px) { .ticket-grid { grid-template-columns: 1fr; } }

/* 须知列表（中文序号） */
.rules { counter-reset: rule; }
.rules li {
  counter-increment: rule;
  position: relative;
  padding: .85rem 0 .85rem 3.2rem;
  border-bottom: 1px dashed var(--hairline);
  font-size: .93rem;
  color: var(--ink-2);
  line-height: 1.9;
}
.rules li:last-child { border-bottom: none; }
.rules li::before {
  content: counter(rule, cjk-ideographic);
  position: absolute;
  left: 0; top: .85rem;
  width: 2rem; height: 2rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--serif);
  font-size: .8rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* 活动（社教） */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.edu-card {
  border: 1px solid var(--hairline);
  background: var(--paper-veil);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex;
  flex-direction: column;
}
.edu-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.edu-card-fig { position: relative; height: 190px; overflow: hidden; }
.edu-card-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.edu-card:hover .edu-card-fig img { transform: scale(1.06); }
.edu-card-tag {
  position: absolute; top: .9rem; left: .9rem;
  background: var(--ink-bg);
  color: var(--gold-light);
  font-size: .72rem;
  letter-spacing: .16em;
  padding: .28rem .7rem;
}
.edu-card-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.edu-card-body h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.5;
  margin-bottom: .6rem;
}
.edu-card-body h3 a:hover { color: var(--cinnabar); }
.edu-card-body p { font-size: .85rem; color: var(--ink-2); line-height: 1.85; flex: 1; }
.edu-card-meta {
  display: flex;
  gap: .5rem;
  margin-top: 1rem;
  padding-top: .9rem;
  border-top: 1px dashed var(--hairline);
}
.edu-card-meta .chip { font-size: .7rem; }
@media (max-width: 900px) { .edu-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .edu-grid { grid-template-columns: 1fr; } }

/* 活动列表 */
.activity-panel {
  border: 1px solid var(--hairline);
  background: var(--paper-deep);
  padding: 2.4rem;
  position: relative;
}
.activity-panel::before {
  content: "";
  position: absolute; left: 0; top: 2.4rem; bottom: 2.4rem;
  width: 4px;
  background: var(--cinnabar);
}
.activity-panel h2 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: .14em;
  margin-bottom: 1.6rem;
  display: flex; align-items: center; gap: .8rem;
}
.activity-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.activity {
  background: var(--paper-veil);
  border: 1px solid var(--hairline);
  padding: 1.25rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  transition: border-color .3s ease, transform .3s var(--ease);
}
.activity:hover { border-color: var(--gold); transform: translateX(4px); }
.activity .aicon {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border: 1px solid var(--cinnabar);
  color: var(--cinnabar);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.activity h4 { font-family: var(--serif); font-size: 1rem; font-weight: 700; letter-spacing: .1em; margin-bottom: .25rem; }
.activity p { font-size: .8rem; color: var(--ink-3); line-height: 1.7; }
@media (max-width: 860px) { .activity-list { grid-template-columns: 1fr; } }

/* ============================================================
   藏品交流页
   ============================================================ */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.shop-card {
  border: 1px solid var(--hairline);
  background: var(--paper-veil);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex;
  flex-direction: column;
}
.shop-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.shop-card-fig { position: relative; height: 220px; overflow: hidden; }
.shop-card-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.shop-card:hover .shop-card-fig img { transform: scale(1.06); }
.shop-card-tag {
  position: absolute; top: .9rem; right: .9rem;
  background: var(--cinnabar);
  color: var(--paper);
  font-size: .72rem;
  letter-spacing: .2em;
  padding: .3rem .75rem;
  font-family: var(--serif);
  font-weight: 700;
}
.shop-card-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.shop-card-body h3 {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.5;
  margin-bottom: .9rem;
}
.shop-card-body h3 a:hover { color: var(--cinnabar); }
.shop-table { width: 100%; border-collapse: collapse; }
.shop-table td { padding: .42rem 0; font-size: .85rem; color: var(--ink-2); border-bottom: 1px dashed var(--hairline); }
.shop-table tr:last-child td { border-bottom: none; }
.shop-table .k { color: var(--ink-3); width: 4.4em; letter-spacing: .2em; font-size: .78rem; }
.shop-card-foot {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--hairline);
}
.shop-card-foot .flag {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .76rem;
  letter-spacing: .14em;
  color: var(--cinnabar);
  font-weight: 700;
}
.shop-card-foot .flag::before { content: ""; width: 7px; height: 7px; background: var(--cinnabar); transform: rotate(45deg); }
.shop-card-foot .read { color: var(--gold); font-weight: 700; font-size: .8rem; letter-spacing: .12em; }

.inquiry {
  margin-top: 3rem;
  border: 1px solid var(--hairline);
  background: var(--paper-deep);
  padding: 2.4rem 2.6rem;
  position: relative;
}
.inquiry::before {
  content: "";
  position: absolute; left: 0; top: 2.4rem; bottom: 2.4rem;
  width: 4px;
  background: var(--gold);
}
.inquiry h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: .16em;
  margin-bottom: .8rem;
  display: flex; align-items: center; gap: .8rem;
}
.inquiry p { font-size: .92rem; color: var(--ink-2); line-height: 1.95; margin-bottom: .5rem; }
.inquiry strong { color: var(--cinnabar); font-weight: 700; letter-spacing: .05em; }

@media (max-width: 900px) { .shop-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .shop-grid { grid-template-columns: 1fr; } }

/* ============================================================
   新闻列表页
   ============================================================ */
.news-filter {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin-bottom: 2.4rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--hairline);
}
.news-filter a {
  font-size: .92rem;
  letter-spacing: .12em;
  color: var(--ink-2);
  border: 1px solid var(--hairline);
  padding: .5rem 1.2rem;
  background: var(--paper-veil);
  transition: all .25s ease;
}
.news-filter a:hover { border-color: var(--gold); color: var(--ink); }
.news-filter a.active {
  background: var(--ink-bg);
  border-color: var(--ink-bg);
  color: var(--gold-light);
  font-weight: 700;
}
.news-list .news-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 1.8rem;
  align-items: baseline;
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--hairline);
  transition: padding-left .3s var(--ease);
}
.news-list .news-row:hover { padding-left: .8rem; }
.news-list .news-row:first-child { border-top: 1px solid var(--hairline); }
.news-row .d {
  font-family: var(--latin);
  font-size: .82rem;
  letter-spacing: .18em;
  color: var(--ink-3);
  display: flex; flex-direction: column; line-height: 1.3;
}
.news-row .d .y { font-size: 1.3rem; color: var(--ink-2); font-weight: 600; }
.news-row h2 {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.55;
}
.news-row h2 a:hover { color: var(--cinnabar); }
.news-row .ex { margin-top: .55rem; font-size: .88rem; color: var(--ink-3); line-height: 1.8; }
.news-row .go { font-family: var(--serif); color: var(--gold); font-size: 1.1rem; }
@media (max-width: 720px) {
  .news-list .news-row { grid-template-columns: 1fr; gap: .7rem; }
  .news-row .d { flex-direction: row; gap: .5rem; }
  .news-row .d .y { font-size: 1rem; }
}

/* ============================================================
   空状态 / 其他
   ============================================================ */
.empty {
  text-align: center;
  padding: 4.5rem 1rem;
  border: 1px dashed var(--hairline);
  color: var(--ink-3);
  font-size: .95rem;
  letter-spacing: .1em;
}
.empty .e-char { font-family: var(--serif); font-size: 3rem; color: var(--hairline); display: block; margin-bottom: .8rem; }

/* 回到顶部 */
.to-top {
  position: fixed;
  right: 1.6rem; bottom: 1.6rem;
  z-index: 900;
  width: 46px; height: 46px;
  border: 1px solid var(--hairline);
  background: var(--paper-veil);
  color: var(--ink-2);
  font-family: var(--serif);
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all .35s ease;
  box-shadow: var(--shadow-1);
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--cinnabar); border-color: var(--cinnabar); color: var(--paper); }

/* 响应式微调 */
@media (max-width: 640px) {
  .hero-inner { grid-template-columns: 1fr; padding: 4rem 1.25rem 3.5rem; }
  .hero-title { font-size: 2.2rem; }
  .masthead { padding: 4rem 1.25rem 2.8rem; }
  .section { padding: 4rem 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: .8rem; }
}
