@charset "UTF-8";
/* ============================================================
   坟墓 · 不朽之身 —— 重现辛追特展
   湖南省博物院 专题网站
   纯 HTML + CSS，无 JavaScript
   ============================================================ */

:root {
  --paper: #E8E0D0;
  --ink: #171717;
  --red: #A63D32;
  --deep: #7A1A1C;
  --sand: #D6B989;
  --ochre: #C16034;
  --signal: #E3301E;
  --brown: #A55349;
  --nav-bg: #1b0100;
  /* 发现页章节条带底色与底部导航一致，统一取 --nav-bg */
  --serif-cn: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", "宋体", serif;
  --serif-en: "Times New Roman", Times, Georgia, "Songti SC", serif;
  --sans-cn: "PingFang SC", "Microsoft YaHei", "Heiti SC", "STHeiti", "Noto Sans SC", "Source Han Sans SC", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--brown);
  color: var(--paper);
  font-family: var(--serif-cn);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

/* 链接四态统一：消除浏览器默认 visited 紫色对整体配色的污染
   注意：:visited 内不使用 CSS 变量（浏览器隐私策略会忽略变量值），统一用字面色值 */
a:visited { color: inherit; }
.nav a:visited,
.site-nav a:visited { color: #E3301E; }
.nav a.is-active:visited,
.site-nav a.is-active:visited { color: #171717; }
.foot-links a:visited,
.foot-nav:visited { color: #E8E0D0; }
.hotspot:visited,
.discovery-strip:visited,
.obj-hot:visited { color: inherit; }

img { max-width: 100%; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   满屏显示：画框按浏览器宽度铺开，两侧保留少量砖红留白
   ============================================================ */
.page {
  position: relative;
  width: 80%;
  margin: 0 auto;
}
/* 首页：画框高度按视口高度铺满，底部不留空、也不出现垂直滚动条。
   宽度由画框比例反推（100dvh × 1280/767），两侧保留砖红外围留白。 */
.page-home {
  width: min(100%, calc(100dvh * 1.6691)); /* 1280 / 767 */
}
/* 内页画框宽高比：内容高 + 导航高(92u)，导航已移入画框内，与首页同结构 */
/* 宽度比例略小于画框比例（×0.998），抵消 dvh 浮点舍入，避免高度超出 1px 产生滚动条 */
.page-discovery { --ratio: 1.6691; } /* 与首页 index.html 同宽：1280 / 767 */
.page-origin    { --ratio: 1.6691; } /* 与首页 index.html 同宽：1280 / 767 */
.page-objects   { --ratio: 1.6691; } /* 与首页 index.html 同宽：1280 / 767 */
.page-footer    { --ratio: 1.6691; } /* 与首页 index.html 同宽：1280 / 767 */
/* 内页：画框（含内部导航）按视口高度铺满，与首页展示区规则一致，底部不留空、无滚动条 */
.page-discovery, .page-origin, .page-objects, .page-footer {
  width: min(100%, calc(100dvh * var(--ratio)));
}
/* 内页内容区为画框内的导航让出高度（92u），使内容+导航正好撑满画框 */
.frame-discovery > .discovery,
.frame-origin > .origin,
.frame-footer > .site-footer {
  height: calc(100% - 92 * var(--u));
}
/* 内页导航含 1px 底边框，内容区再多让 1px，保证画框高度严格等于首页、不出滚动条 */
.frame-objects > .objects {
  height: calc(100% - 92 * var(--u) - 1px);
}
/* 内页导航含 1px 底边框，内容区再多让 1px，保证画框高度严格等于首页、不出滚动条 */
.frame-origin > .origin {
  height: calc(100% - 92 * var(--u) - 1px);
}
.frame-discovery > .discovery {
  height: calc(100% - 92 * var(--u) - 1px);
}

.screen {
  position: relative;
  width: 100%;
  display: block;
}

/* 文物屏：与前三屏同为 .page 内的 100% 宽画框 */
.screen-objects {
  position: relative;
  width: 100%;
  background: var(--brown);
}

/* 页脚屏：与首页同为 .page 内的 100% 宽画框 */
.screen-footer {
  position: relative;
  width: 100%;
  background: var(--brown);
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.frame {
  position: relative;
  width: 100%;
  container-type: inline-size;
  /* 设计稿基准宽 1280px：1u = 画框宽度的 1/1280 */
  --u: 0.078125cqw;
}

/* 各屏按原设计比例铺满宽度，内容完整不裁切 */
.frame-cover {
  aspect-ratio: 1280 / 767;
  /* 首页使用独立的深砖红底色，与其他屏区分 */
  background: var(--deep); /* #7A1A1C */
}
/* 各页展示区统一为首页深砖红底色 #7A1A1C；画框比例 = 内容 + 导航(92u) */
/* 发现页画框：与首页 index.html 完全同宽同高（1280 / 767） */
.frame-discovery {
  aspect-ratio: 1280 / 767;
  background: var(--deep);
}
/* 身世页画框：与首页 index.html 完全同宽同高（1280 / 767） */
.frame-origin {
  aspect-ratio: 1280 / 767;
  background: var(--deep);
}
/* 文物画框：与首页 index.html 完全同宽同高（1280 / 767）；内部画作按原比例居中 */
.frame-objects {
  width: 100%;
  aspect-ratio: 1280 / 767;
  background: var(--deep);
}
/* 页脚画框：内容 + 导航，纵向排列；与首页同宽同高 */
/* FAQ 主体与 Home 栏/底部导航统一为近黑 #1b0100 */
.frame-footer {
  width: 100%;
  aspect-ratio: 1280 / 767;
  display: flex;
  flex-direction: column;
  background: var(--nav-bg);
}

/* ---------- 通用箭头 ---------- */
.arr {
  width: calc(30 * var(--u));
  height: auto;
  flex: none;
}

/* ============================================================
   博物院印章（边框完整显示）
   ============================================================ */
.stamp {
  display: block;
  padding: calc(3.2 * var(--u));
  background: #e7d1cb;
  border: calc(1.2 * var(--u)) solid #431d18;
  box-shadow:
    0 0 0 calc(1 * var(--u)) #d9b3a9 inset,
    calc(2 * var(--u)) calc(2 * var(--u)) calc(4 * var(--u)) rgba(60, 20, 16, .18);
  overflow: visible;
  text-decoration: none;
}

.stamp-frame {
  display: block;
  padding: calc(2.4 * var(--u));
  border: calc(1 * var(--u)) dashed #7c3a30;
}

.stamp img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

/* ============================================================
   首页 · 首屏
   ============================================================ */
.hero {
  position: relative;
  height: calc(675 * var(--u));
  background: var(--deep); /* #7A1A1C，与其他屏区分 */
  color: var(--ink);
}

.hero .stamp {
  position: absolute;
  left: calc(58 * var(--u));
  top: calc(90 * var(--u));
  width: calc(84 * var(--u));
  z-index: 3;
}

.hero-en {
  position: absolute;
  margin: 0;
  writing-mode: vertical-rl;
  font-family: var(--serif-en);
  font-size: calc(25 * var(--u));
  letter-spacing: calc(2.4 * var(--u));
  line-height: 1;
  color: var(--ink);
}

.hero-en-main { left: calc(232 * var(--u)); top: calc(91 * var(--u)); }
.hero-en-side { left: calc(419 * var(--u)); top: calc(91 * var(--u)); }

.hero-title { margin: 0; font-weight: 600; }

.hero-title span {
  position: absolute;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: calc(100 * var(--u));
  line-height: 1;
  letter-spacing: calc(1 * var(--u));
  color: var(--ink);
}

.title-main { left: calc(284 * var(--u)); top: calc(83 * var(--u)); }
.title-side { left: calc(459 * var(--u)); top: calc(83 * var(--u)); }

.title-dot {
  position: absolute;
  left: calc(500 * var(--u));
  top: calc(378 * var(--u));
  width: calc(15 * var(--u));
  height: calc(15 * var(--u));
  background: var(--ink);
  border-radius: calc(1 * var(--u));
}

.hero-caption {
  position: absolute;
  left: calc(55 * var(--u));
  top: calc(426 * var(--u));
  margin: 0;
}

.hero-caption h2 {
  margin: 0;
  font-size: calc(46 * var(--u));
  line-height: 1.24;
  letter-spacing: calc(3 * var(--u));
  font-weight: 600;
}

.hero-caption-en {
  margin: calc(22 * var(--u)) 0 0;
  font-family: var(--serif-en);
  font-size: calc(18.5 * var(--u));
  line-height: 1.62;
}

/* ---------- 右侧文物拼贴：由内向外散开 ---------- */
.hero-stage {
  position: absolute;
  left: 50%;
  top: calc(81 * var(--u));
  width: calc(543 * var(--u));
  aspect-ratio: 1465 / 1450;
  z-index: 2;
}

.stage-base {
  position: absolute;
  inset: 0;
  background: url("https://res.cloudinary.com/mhjwso5e/image/upload/v1796309979/hero-collage-base.webp") center center / 100% 100% no-repeat;
}

.piece {
  position: absolute;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  transform-origin: 50% 50%;
  animation: piece-spread 1.1s cubic-bezier(.18, .82, .25, 1) both;
  will-change: transform, opacity;
}

@keyframes piece-spread {
  0% {
    opacity: 0;
    transform: translate(var(--dx), var(--dy)) scale(.5) rotate(-3deg);
    filter: blur(calc(1 * var(--u))) brightness(.85);
  }
  16% {
    opacity: 1;
  }
  66% {
    filter: none;
  }
  84% {
    transform: translate(calc(var(--dx) * -.02), calc(var(--dy) * -.02)) scale(1.008) rotate(.2deg);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0deg);
    filter: none;
  }
}

/* 每件文物的位置、尺寸，以及飞向中心的位移（相对自身尺寸）
   注意：首页 piece 用 .piece.p-xxx 提高特异性，避免被第四页同名 .p-xxx 规则覆盖 */
.piece.p-seal {
  left: 2.0478%; top: 29.6552%; width: 14.6758%; height: 16.2069%;
  --dx: 96.86%; --dy: 26.44%;
  background-image: url("https://res.cloudinary.com/mhjwso5e/image/upload/v1796309631/piece-seal.webp");
  animation-delay: .04s;
}

.piece.p-manuscript {
  left: 59.3857%; top: 0.6897%; width: 8.8737%; height: 11.3793%;
  --dx: -54.52%; --dy: 134.17%;
  background-image: url("https://res.cloudinary.com/mhjwso5e/image/upload/v1796309705/piece-manuscript.webp");
  animation-delay: .10s;
}

.piece.p-painting {
  left: 79.1809%; top: 38.6207%; width: 11.2628%; height: 23.4483%;
  --dx: -108.18%; --dy: -0.51%;
  background-image: url("https://res.cloudinary.com/mhjwso5e/image/upload/v1796309663/piece-painting.webp");
  animation-delay: .16s;
}

.piece.p-lacquer {
  left: 31.0580%; top: 81.3793%; width: 15.0171%; height: 11.3793%;
  --dx: 26.65%; --dy: -114.02%;
  background-image: url("https://res.cloudinary.com/mhjwso5e/image/upload/v1796309735/piece-lacquer.webp");
  animation-delay: .22s;
}

.piece.p-garment {
  left: 57.6792%; top: 80.3448%; width: 15.6997%; height: 17.9310%;
  --dx: -34.62%; --dy: -76.73%;
  background-image: url("https://res.cloudinary.com/mhjwso5e/image/upload/v1796309764/piece-garment.webp");
  animation-delay: .28s;
}

.piece.p-tomb {
  left: 0; top: 60%; width: 15.0171%; height: 30%;
  --dx: 99.03%; --dy: -29.17%;
  background-image: url("https://res.cloudinary.com/mhjwso5e/image/upload/v1796309597/piece-tomb.webp");
  animation-delay: .34s;
}

/* 石棺：连接标题与拼贴的画面元素 */
.hero-tomb {
  position: absolute;
  left: calc(504 * var(--u));
  top: calc(420 * var(--u));
  width: calc(200 * var(--u));
  height: auto;
  z-index: 3;
  pointer-events: none;
}

/* ============================================================
   导航
   ============================================================ */
.nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: calc(92 * var(--u));
  background: var(--nav-bg);
}

.nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: calc(1 * var(--u));
  padding: 0 calc(10 * var(--u));
  border-right: 1px solid rgba(232, 224, 208, .12);
  color: var(--signal);
  font-family: var(--serif-en);
  font-size: calc(25.5 * var(--u));
  line-height: 1.28;
  text-align: center;
  text-decoration: none;
  transition: background .3s ease, color .3s ease;
}

.nav a:last-child { border-right: 0; }
.nav a:hover { background: var(--red); color: var(--paper); }
.nav a:active,
.nav a:active:visited,
.nav a:focus,
.nav a:focus:visited { background: var(--sand); color: var(--ink); }
.nav a.is-active { background: var(--sand); color: var(--ink); }

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(76 * var(--u)) calc(78 * var(--u)) calc(48 * var(--u));
  border-top: calc(3 * var(--u)) solid var(--sand);
  /* FAQ 主体底色与 Home 栏/底部导航一致，连成一片近黑 */
  background: var(--nav-bg);
  color: var(--paper);
}

/* 顶部：标题 + 馆名标识 */
.foot-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.foot-title h2 {
  margin: 0;
  font-size: calc(44 * var(--u));
  font-weight: 600;
  letter-spacing: calc(1 * var(--u));
  color: var(--paper);
}
.foot-en {
  margin: calc(10 * var(--u)) 0 0;
  font-family: var(--serif-en);
  font-size: calc(24 * var(--u));
  letter-spacing: calc(.6 * var(--u));
  color: var(--sand);
}
.foot-mark {
  margin: 0;
  text-align: right;
  font-size: calc(23 * var(--u));
  letter-spacing: calc(2 * var(--u));
  color: var(--sand);
}
.foot-mark span {
  display: block;
  margin-top: calc(8 * var(--u));
  font-family: var(--serif-en);
  font-size: calc(17 * var(--u));
  letter-spacing: calc(3 * var(--u));
  color: rgba(232, 224, 208, .55);
}

/* 中部：地址 + 链接，两栏 */
.foot-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: calc(40 * var(--u));
  margin: calc(40 * var(--u)) 0;
}
.foot-left { width: auto; }
.foot-label {
  margin: 0;
  font-size: calc(27 * var(--u));
}
.foot-address {
  margin: calc(35 * var(--u)) 0 0;
  font-size: calc(23 * var(--u));
  letter-spacing: calc(.5 * var(--u));
}
.foot-nav {
  display: inline-flex;
  align-items: center;
  gap: calc(20 * var(--u));
  margin-top: calc(44 * var(--u));
  font-size: calc(23 * var(--u));
  text-decoration: none;
  color: var(--paper);
  transition: color .25s ease;
}
.foot-nav:hover { color: var(--sand); }
.foot-links {
  display: flex;
  flex-direction: column;
  gap: calc(40 * var(--u));
  width: auto;
  justify-self: end;
}
.foot-links a {
  font-size: calc(24 * var(--u));
  text-decoration: none;
  color: var(--paper);
  transition: color .25s ease, padding-left .25s ease;
}
.foot-links a:hover { color: var(--sand); padding-left: calc(6 * var(--u)); }

/* 底部：版权细线 */
.foot-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: calc(30 * var(--u));
  border-top: calc(1 * var(--u)) solid rgba(232, 224, 208, .22);
  font-size: calc(18 * var(--u));
  letter-spacing: calc(1 * var(--u));
  color: rgba(232, 224, 208, .6);
}

/* ============================================================
   第二章 · 故事背后的发现
   ============================================================ */
.discovery {
  display: grid;
  grid-template-columns: 45.625% 54.375%;
  grid-template-rows: 79.5% 20.5%;
  height: calc(779 * var(--u));
}

.discovery-left {
  grid-row: 1;
  grid-column: 1;
  position: relative;
  overflow: hidden;
  background: var(--deep);
  color: var(--paper);
}

.ghost-year {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(148 * var(--u));
  margin: 0;
  text-align: center;
  font-family: "Inria Serif", var(--serif-en);
  font-size: calc(256 * var(--u));
  font-weight: 700;
  line-height: 1;
  letter-spacing: calc(2 * var(--u));
  color: rgba(232, 224, 208, .09);
  user-select: none;
  pointer-events: none;
}

.discovery-left h1 {
  position: absolute;
  left: 0;
  top: calc(100 * var(--u));
  width: calc(564 * var(--u));
  margin: 0;
  text-align: center;
  font-family: var(--sans-cn);
  font-size: calc(34 * var(--u));
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: calc(1 * var(--u));
}

.discovery-left h1 .title-sub { letter-spacing: calc(5 * var(--u)); }

.discovery-en {
  position: absolute;
  left: 0;
  top: calc(247 * var(--u));
  width: calc(584 * var(--u));
  margin: 0;
  text-align: center;
  font-family: var(--serif-en);
  font-size: calc(23 * var(--u));
  letter-spacing: calc(.6 * var(--u));
}

.discovery-desc {
  position: absolute;
  left: 0;
  top: calc(417 * var(--u));
  width: calc(564 * var(--u));
  margin: 0;
  text-align: center;
  font-family: var(--sans-cn);
  font-size: calc(25 * var(--u));
  line-height: 2.12;
  letter-spacing: calc(1 * var(--u));
}

.discovery-strip {
  grid-row: 2;
  grid-column: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: calc(24 * var(--u));
  padding: 0 11.1%;
  background: var(--nav-bg);
  color: var(--paper);
  font-family: var(--sans-cn);
  text-decoration: none;
  transition: background .3s ease, padding-left .3s ease;
}

.discovery-strip:hover {
  background: var(--red);
  padding-left: 12.5%;
}

.strip-line { display: flex; align-items: center; white-space: nowrap; }
.strip-lead { font-size: calc(22 * var(--u)); }
.strip-sub { font-size: calc(22 * var(--u)); }
.strip-sub .arr {
  width: calc(30 * var(--u));
  height: calc(12 * var(--u));
  margin-left: calc(44 * var(--u));
  transition: transform .3s ease;
}
.discovery-strip:hover .arr { transform: translateX(calc(10 * var(--u))); }

.discovery-art {
  grid-row: 1 / span 2;
  grid-column: 2;
  position: relative;
  overflow: hidden;
  background: #8a3a19;
}

/* 底图已按右栏比例左右对称延展为清晰纹理，直接铺满、人物不变形、无留白 */
.discovery-art > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* 帛画上的四个圆形入口：独立 SVG 图层（与背景分离） */
.hotspot {
  position: absolute;
  width: 13%;
  transform: translate(-50%, -50%);
  text-decoration: none;
  transition: transform .3s ease, filter .3s ease;
}

.hotspot img {
  display: block;
  width: 100%;
  height: auto;
}

.hotspot:hover,
.hotspot:focus-visible {
  filter: brightness(1.12);
  transform: translate(-50%, -50%) scale(1.05);
  outline: none;
}

.hs-beauty { left: 88.4%; top: 36.5%; }
.hs-beliefs { left: 88.7%; top: 55.4%; }
.hs-life { left: 88.6%; top: 70.3%; }
.hs-identity { left: 88.3%; top: 87.3%; }

/* 桌面：帛画按原比例完整显示并在栏内居中。
   背景素材右侧残留的四个深色圆与图标略有错位，会形成「重影」；
   这里把图标右移并略放大，使图标圆完全盖住残留圆，窄屏保持原值。 */
@media (min-width: 901px) {
  .hotspot { width: 14%; }
  /* 四个入口整体上移，在右侧竖向区域（红框 y≈50..527）内四等分居中分布，
     上下留白与圆间距协调；窄屏沿用下方基础 top 值，不受影响 */
  .hs-beauty { left: 83%; top: 19.4%; }
  .hs-beliefs { left: 83.3%; top: 40.5%; }
  .hs-life { left: 83.2%; top: 61.5%; }
  .hs-identity { left: 82.9%; top: 82.5%; }
}

/* ============================================================
   第三章 · 身世初探
   ============================================================ */
.origin {
  display: grid;
  grid-template-columns: 53.594% 46.406%;
  height: calc(793 * var(--u));
  overflow: hidden;
  background: var(--deep);
}

.origin-left {
  position: relative;
  overflow: hidden;
  padding: calc(45 * var(--u)) calc(72 * var(--u)) calc(40 * var(--u));
  background: #000;
  color: #f2f2f2;
}

.origin-left h1 {
  margin: 0;
  font-size: calc(46 * var(--u));
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: calc(6 * var(--u));
  text-align: center;
}

/* 引言区：标题与中英文正文统一以左栏中线居中 */
.origin-copy {
  width: calc(530 * var(--u));
  margin-top: calc(36 * var(--u));
  margin-inline: auto;
  text-align: center;
  font-size: calc(20 * var(--u));
  line-height: 2;
  letter-spacing: calc(.5 * var(--u));
  color: #f2f2f2;
}

.origin-copy-en {
  width: calc(470 * var(--u));
  margin-top: calc(20 * var(--u));
  margin-inline: auto;
  text-align: center;
  font-family: var(--serif-en);
  font-size: calc(16 * var(--u));
  line-height: 2;
  letter-spacing: calc(.2 * var(--u));
  color: #d8d8d8;
}

.origin-copy p { margin: 0; }

/* 身世初探右栏：砖红底纹 + 挂绳 + 黑卡 + 时间轴文字 分层 */
.origin-right {
  position: relative;
  overflow: hidden;
  background: #b35349;
}

.origin-right .archive-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.12) brightness(1.07);
}

/* 挂绳 SVG 与底图同坐标系（891×1182） */
.origin-right .archive-hanger {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* 黑色介绍卡（含人形）：相对 891×1182 定位 */
.origin-right .archive-card {
  position: absolute;
  left: 11.1%;
  top: 25.5%;
  width: 41.2%;
  height: 45.2%;
  object-fit: fill;
}

/* 时间轴节点：圆点 + 年份文字。四行以自身中心定位，间距 11% 均匀，整体居中于黑卡内 */
.archive-timeline .time-item {
  position: absolute;
  left: 66.6%;
  display: flex;
  align-items: center;
  gap: calc(14 * var(--u));
  transform: translateY(-50%);
  font-family: Consolas, "Courier New", monospace;
  font-size: calc(24 * var(--u));
  font-weight: 700;
  letter-spacing: calc(1 * var(--u));
  color: #141414;
  white-space: nowrap;
}
.archive-timeline .time-item .dot {
  display: block;
  width: calc(14 * var(--u));
  height: calc(14 * var(--u));
  border: calc(3 * var(--u)) solid #141414;
  border-radius: 50%;
  flex: none;
}
.archive-timeline .time-item .dot.solid { background: #141414; }
/* 四行年份落在设计稿两根红线之间，间距 18.3% 均匀 */
.archive-timeline .t1 { top: 14.1%; }
.archive-timeline .t2 { top: 34.5%; }
.archive-timeline .t3 { top: 55%; }
.archive-timeline .t4 { top: 75.3%; }

/* 档案弹窗：纯 CSS 复选框开关，不引入 JavaScript */
.archive-modal-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.origin-right .archive-hit {
  position: absolute;
  left: 11.1%;
  top: 25.5%;
  width: 41.2%;
  height: 45.2%;
  z-index: 4;
  cursor: pointer;
}

.archive-modal {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease;
}

.archive-modal-toggle:checked ~ .origin .archive-modal {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.archive-modal-toggle:focus-visible ~ .origin .archive-hit {
  outline: 2px solid var(--sand);
  outline-offset: 2px;
}

.archive-modal-backdrop {
  position: absolute;
  inset: 0;
  cursor: pointer;
}

.archive-modal-panel {
  position: relative;
  z-index: 1;
  width: min(calc(500 * var(--u)), calc(100% - 40 * var(--u)));
  padding: calc(43 * var(--u)) calc(46 * var(--u)) calc(52 * var(--u));
  border: calc(1 * var(--u)) solid rgba(232, 224, 208, .8);
  border-radius: calc(18 * var(--u));
  background: #000;
  box-shadow: 0 calc(18 * var(--u)) calc(60 * var(--u)) rgba(0, 0, 0, .45);
  color: var(--paper);
}

.archive-modal-close {
  position: absolute;
  top: calc(20 * var(--u));
  right: calc(28 * var(--u));
  font-family: var(--serif-en);
  font-size: calc(30 * var(--u));
  line-height: 1;
  color: var(--paper);
  cursor: pointer;
}

.archive-modal-panel h2 {
  margin: 0;
  font-size: calc(26 * var(--u));
  font-weight: 600;
  letter-spacing: calc(3 * var(--u));
  text-align: center;
}

.archive-modal-en {
  margin: calc(10 * var(--u)) 0 0;
  font-family: var(--serif-en);
  font-size: calc(13 * var(--u));
  letter-spacing: calc(4 * var(--u));
  text-align: center;
}

.archive-modal-copy {
  width: calc(360 * var(--u));
  max-width: 100%;
  margin: calc(32 * var(--u)) auto 0;
  font-size: calc(19 * var(--u));
  line-height: 2;
  letter-spacing: calc(.5 * var(--u));
}

.archive-modal-copy p { margin: 0; }

@media (max-width: 900px) {
  .archive-modal-panel {
    width: min(92vw, 440px);
    padding: 36px 24px 40px;
    border-radius: 14px;
  }
  .archive-modal-close { top: 14px; right: 20px; font-size: 24px; }
  .archive-modal-panel h2 { font-size: 24px; }
  .archive-modal-en { font-size: 12px; }
  .archive-modal-copy { width: 100%; margin-top: 24px; font-size: 16px; }
}

/* ============================================================
   第四章 · 文物 —— 左文右图分栏，与其他内页保持同风格
   ============================================================ */
.objects {
  display: grid;
  grid-template-columns: 46.5% 53.5%;
  height: calc(793 * var(--u));
  overflow: hidden;
  background: var(--deep);
}

.objects-left {
  position: relative;
  overflow: hidden;
  padding: calc(45 * var(--u)) calc(64 * var(--u)) calc(30 * var(--u));
  background: #000;
  color: #f2f2f2;
}

.ghost-count {
  position: absolute;
  right: calc(-22 * var(--u));
  bottom: calc(-72 * var(--u));
  margin: 0;
  font-family: "Inria Serif", var(--serif-en);
  font-size: calc(300 * var(--u));
  font-weight: 700;
  line-height: 1;
  color: rgba(232, 224, 208, .055);
  user-select: none;
  pointer-events: none;
}

.objects-left h1 {
  position: relative;
  margin: 0;
  font-size: calc(46 * var(--u));
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: calc(6 * var(--u));
  text-align: center;
}

/* 左栏文字按截图红框统一以中线居中：标题、英文副标题、中英文正文 */
.objects-en {
  position: relative;
  margin: calc(16 * var(--u)) 0 0;
  font-family: var(--serif-en);
  font-size: calc(17 * var(--u));
  letter-spacing: calc(3 * var(--u));
  color: var(--sand);
  text-align: center;
}

.objects-copy {
  position: relative;
  margin-top: calc(34 * var(--u));
  font-size: calc(16 * var(--u));
  line-height: 1.9;
  letter-spacing: calc(.5 * var(--u));
  color: #f2f2f2;
  text-align: center;
}
.objects-copy p { margin: 0; }

.objects-copy-en {
  margin-top: calc(22 * var(--u));
  font-family: var(--serif-en);
  font-size: calc(13 * var(--u));
  line-height: 1.8;
  color: #d8d8d8;
  text-align: center;
}

.objects-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #1b0100;
}

.objects-poster {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.objects-poster-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* 海报上的五处文物入口：图片本身即可点区域，无数字无描边，名称随悬停显现 */
.obj-hot {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transform: translate(-50%, -50%);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.hs-label {
  font-family: var(--sans-cn);
  font-size: calc(15 * var(--u));
  color: var(--paper);
  text-shadow: 0 calc(1 * var(--u)) calc(6 * var(--u)) rgba(0, 0, 0, .95);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}

.obj-hot:hover .hs-label,
.obj-hot:focus-visible .hs-label { opacity: 1; }
.obj-hot:focus-visible { outline: none; }

/* 热区直接覆盖在海报中的文物上（铺满右栏后按实测位置校准） */
.hs-lacquer    { left: 49%; top: 18%;  width: 22%; height: 11%; }
.hs-manuscript { left: 21%; top: 47%;  width: 15%; height: 27%; }
.hs-painting   { left: 50%; top: 51%;  width: 15%; height: 34%; }
.hs-seal       { left: 78%; top: 45%;  width: 17%; height: 17%; }
.hs-garment    { left: 49%; top: 85%;  width: 17%; height: 19%; }

/* ============================================================
   文物详情页（object-*.html）：黑色舞台，点击文物展开史料卡
   ============================================================ */
.page-detail { --ratio: 1.6691; } /* 1280 / 767，与首页一致 */
.page-detail.page-detail { width: min(100%, calc(100dvh * var(--ratio))); }

.frame-detail {
  aspect-ratio: 1280 / 767;
  display: flex;
  flex-direction: column;
  background: #000;
}

.artifact-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  background: #000;
  overflow: hidden;
}

.artifact-canvas {
  position: absolute;
  inset: 0 0 calc(58 * var(--u)) 0;
  container-type: inline-size;
  --u: 0.078125cqw;
}

/* 文物本体 */
.artifact-figure {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: 66%;
  max-width: 56%;
  object-fit: contain;
  filter: drop-shadow(0 calc(10 * var(--u)) calc(24 * var(--u)) rgba(0, 0, 0, .6));
  pointer-events: none;
}

/* 点击热区：单卡覆盖整幅，双卡左右各半 */
.artifact-hit {
  position: absolute;
  top: 12%;
  left: 12%;
  width: 76%;
  height: 76%;
  margin: 0;
  padding: 0;
  border: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
  z-index: 2;
}
.artifact-hit.hit-a { width: 38%; }
.artifact-hit.hit-b { left: 50%; width: 38%; }
.stage-lacquer .artifact-hit,
.stage-seal .artifact-hit,
.stage-manuscript .artifact-hit { right: 12%; }
.artifact-hit:focus-visible { outline: 2px solid var(--sand); outline-offset: -3px; }

.hit-none {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* 卡片打开时：点击空白处关闭，并给文物舞台压一层 40% 黑色遮罩 */
.artifact-backdrop {
  position: absolute;
  inset: 0;
  z-index: 3;
  visibility: hidden;
  cursor: default;
  background: rgba(0, 0, 0, .4);
  opacity: 0;
  transition: opacity .3s ease, visibility .3s ease;
}
#detail-lacquer-a:checked ~ .artifact-backdrop,
#detail-seal-a:checked ~ .artifact-backdrop,
#detail-manuscript-a:checked ~ .artifact-backdrop,
#detail-garment-a:checked ~ .artifact-backdrop,
#detail-garment-b:checked ~ .artifact-backdrop,
#detail-painting-a:checked ~ .artifact-backdrop,
#detail-painting-b:checked ~ .artifact-backdrop {
  visibility: visible;
  opacity: 1;
}

/* 史料卡：细白边、圆角、黑底、向左下投影 */
.artifact-card {
  position: absolute;
  z-index: 4;
  width: calc(420 * var(--u));
  padding: calc(8 * var(--u));
  border: 1px solid rgba(232, 224, 208, .88);
  border-radius: calc(12 * var(--u));
  background: #000;
  box-shadow: calc(-14 * var(--u)) calc(16 * var(--u)) calc(30 * var(--u)) rgba(0, 0, 0, .8);
  opacity: 0;
  visibility: hidden;
  transform: translateY(calc(8 * var(--u)));
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
  pointer-events: none;
}
#detail-lacquer-a:checked ~ .card-a,
#detail-seal-a:checked ~ .card-a,
#detail-manuscript-a:checked ~ .card-a,
#detail-garment-a:checked ~ .card-a,
#detail-garment-b:checked ~ .card-b,
#detail-painting-a:checked ~ .card-a,
#detail-painting-b:checked ~ .card-b {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* 长文案的卡片上移并压缩图片，避免超出黑色舞台 */
.stage-manuscript .card-a { top: 7%; }
.stage-garment .card-a { top: 9%; }
.stage-garment .card-b { top: 5%; }
.stage-garment .card-b .artifact-card-img { height: calc(206 * var(--u)); }
.stage-garment .card-b .artifact-card-copy { font-size: calc(15 * var(--u)); line-height: 1.75; }
.stage-painting .card-a,
.stage-painting .card-b { top: 10%; }

.artifact-card-img {
  display: block;
  width: 100%;
  height: calc(250 * var(--u));
  object-fit: cover;
  object-position: center;
  border-radius: calc(7 * var(--u)) calc(7 * var(--u)) 0 0;
  background: #000;
}

/* 档案卡米色带文字居左（按截图恢复，同类统一） */
.artifact-card-band {
  margin: 0;
  padding: calc(8 * var(--u)) calc(19 * var(--u));
  background: var(--sand);
  color: var(--ink);
  font-family: var(--sans-cn);
  font-size: calc(13 * var(--u));
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.artifact-card-copy {
  margin: 0;
  padding: calc(20 * var(--u)) calc(24 * var(--u)) calc(22 * var(--u));
  color: var(--paper);
  font-family: var(--serif-cn);
  font-size: calc(16 * var(--u));
  line-height: 1.8;
  letter-spacing: calc(.3 * var(--u));
  text-align: justify;
}

.artifact-card-close {
  position: absolute;
  top: calc(10 * var(--u));
  right: calc(14 * var(--u));
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(30 * var(--u));
  height: calc(30 * var(--u));
  border-radius: 50%;
  background: rgba(0, 0, 0, .6);
  color: var(--paper);
  font-family: var(--sans-cn);
  font-size: calc(22 * var(--u));
  line-height: 1;
  cursor: pointer;
  opacity: .7;
  transition: opacity .2s ease, background .2s ease;
}
.artifact-card-close:hover { opacity: 1; background: var(--red); }

/* 各文物：文物大图在黑色舞台中水平居中（left 为图中心），卡片仍按参考图叠放 */
.stage-lacquer .artifact-figure { left: 50%; top: 48%; height: 58%; max-width: 46%; }
.stage-lacquer .card-a { left: 55%; top: 14%; }

.stage-seal .artifact-figure { left: 50%; top: 50%; height: 62%; max-width: 56%; }
.stage-seal .card-a { left: 17%; top: 20%; }

.stage-manuscript .artifact-figure { left: 50%; top: 50%; height: 72%; max-width: 54%; }
.stage-manuscript .card-a { left: 50%; top: 10%; }

.stage-garment .artifact-figure { left: 50%; top: 50%; height: 60%; max-width: 60%; }
.stage-garment .card-a { left: 20%; top: 15%; }
.stage-garment .card-b { left: 56%; top: 20%; }

.stage-painting .artifact-figure { left: 50%; top: 52%; height: 72%; max-width: 26%; }
/* 仅帛画页：档案卡按截图红箭头整体往右上移（桌面上提约 42px、右移约 38px），
   顶边抬到链接上方，使 BELEFS ARCHIVE 落到卡片下方的黑色舞台；其它文物页与窄屏不受影响 */
.stage-painting .card-a { left: 10%; top: 8%; }
.stage-painting .card-b { left: 58%; top: 16%; }

/* 点击热区跟随文物大图：点文物本体即展开档案，卡片与文物图贴合 */
@media (min-width: 901px) {
  .stage-seal .artifact-hit,
  .stage-manuscript .artifact-hit { right: auto; }
  /* 热区中心跟随居中后的文物图（50%） */
  .stage-seal .artifact-hit { left: 34.5%; top: 23%; width: 31%; height: 64%; }
  .stage-manuscript .artifact-hit { left: 31%; top: 12%; width: 38%; height: 76%; }

  /* 帛画页：卡片收窄 50u，右缘与 T 形帛画拉开约 55px 间距（原仅 5px）；
     左缘不动、BELEFS ARCHIVE 保持原位；同步降低卡内图片高度，抵消正文换行后卡片变高、避免溢出舞台 */
  .stage-painting .card-a { width: calc(370 * var(--u)); }
  .stage-painting .card-a .artifact-card-img { height: calc(215 * var(--u)); }

  /* 印章页按参考图：卡片加高下移、放大图与文物图上下对齐、去掉白条与关闭按钮 */
  .stage-seal .artifact-figure { left: 50%; top: 55%; height: 64%; max-width: 40%; }
  .stage-seal .card-a {
    left: 20%;
    top: 25%;
    width: calc(380 * var(--u));
    box-shadow: 0 0 calc(20 * var(--u)) rgba(232, 224, 208, .30),
                calc(-14 * var(--u)) calc(16 * var(--u)) calc(30 * var(--u)) rgba(0, 0, 0, .8);
  }
  .stage-seal .card-a .artifact-card-img {
    height: calc(245 * var(--u));
    margin-top: calc(30 * var(--u));
    margin-bottom: calc(14 * var(--u));
    object-position: left center;
  }
  .stage-seal .card-a .artifact-card-copy {
    font-size: calc(15 * var(--u));
    line-height: 1.7;
    padding: calc(8 * var(--u)) calc(24 * var(--u)) calc(10 * var(--u));
  }
  /* 按介绍卡片设计稿：桌面卡片右上角不显示 ×，关闭仍可点黑色空白处（窄屏保留 ×） */
  .artifact-card-close { display: none; }
}

.artifact-band {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(58 * var(--u));
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: calc(8 * var(--u));
  padding: 0 5%;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--sans-cn);
  font-size: calc(17 * var(--u));
  font-weight: 600;
  letter-spacing: calc(1 * var(--u));
  z-index: 4;
}

/* 文物详情页左下角：章节档案入口，链接回 discovery.html
   让位给档案卡：黑底垫片缩到文字本身（去掉右侧 16u 延伸）、整体左移约 14px，
   使卡片白色边框线在左下角完整连续地显示在最上层（不再被垫片切断）；
   文字右端与框线留约 14px 间隔，同时保留垫片防止帛画页卡片底边横线压住文字
   bottom 81u + padding-bottom 3u = 原 84u，文字垂直位置保持不变 */
.archive-back {
  position: absolute;
  left: 2.5%;
  bottom: calc(81 * var(--u));
  z-index: 5;
  padding: calc(3 * var(--u)) 0;
  background: #000;
  font-family: var(--sans-cn);
  font-size: calc(19 * var(--u));
  font-weight: 700;
  letter-spacing: calc(1.2 * var(--u));
  line-height: 1.2;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}
.archive-back:visited { color: #fff; }
.archive-back:hover,
.archive-back:focus-visible,
.archive-back:active { color: var(--sand); outline: none; }

/* 档案卡展开时，左下角章节入口与居中文物图一同压上 40% 黑遮罩。
   覆盖层与 .artifact-backdrop 同色、同 .3s 过渡；黑底垫片保持不透明，
   白框线不会重新透过文字，链接本身仍可点击（pointer-events: none）。 */
.archive-back::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(0, 0, 0, .4);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.artifact-stage:has(.artifact-hit:checked) .archive-back::after {
  opacity: 1;
  visibility: visible;
}

/* ============================================================
   小屏适配
   ============================================================ */
@media (max-width: 900px) {
  .archive-back { font-size: 15px; letter-spacing: 1px; }
  /* 文物详情页：黑色舞台改为固定高度，卡片铺满宽度 */
  .artifact-stage { height: 900px; min-height: 900px; }
  .artifact-canvas { --u: 0.078125cqw; }
  .artifact-figure { max-width: 70%; height: 54%; }
  .stage-lacquer .artifact-figure,
  .stage-seal .artifact-figure,
  .stage-manuscript .artifact-figure,
  .stage-garment .artifact-figure,
  .stage-painting .artifact-figure { left: 50%; top: 30%; max-width: 70%; height: 32%; }
  .artifact-hit,
  .artifact-hit.hit-b { left: 6%; width: 88%; height: 40%; top: 8%; }
  .artifact-hit.hit-a { left: 6%; width: 88%; }
  .artifact-card,
  .stage-lacquer .card-a,
  .stage-seal .card-a,
  .stage-manuscript .card-a,
  .stage-garment .card-a,
  .stage-garment .card-b,
  .stage-painting .card-a,
  .stage-painting .card-b {
    left: 6%;
    top: 48%;
    width: 88%;
  }
  .artifact-card-img { height: calc(150 * var(--u)); }
  .artifact-card-copy { font-size: calc(19 * var(--u)); padding: calc(20 * var(--u)) calc(22 * var(--u)) calc(22 * var(--u)); }
  .artifact-card-band { font-size: calc(13 * var(--u)); }
  .stage-garment .card-b .artifact-card-img,
  .stage-garment .card-b .artifact-card-copy { height: auto; font-size: calc(19 * var(--u)); line-height: 1.8; }
  .artifact-band { font-size: calc(19 * var(--u)); }

  .page, .page-home { width: 100%; overflow: visible; }

  .screen {
    height: auto;
    min-height: 0;
    display: block;
    overflow: visible;
  }

  .frame {
    width: 100%;
    aspect-ratio: auto;
    container-type: normal;
    --u: 1px;
  }

  .hero {
    height: auto;
    padding: 22px 20px 34px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .hero .stamp {
    position: static;
    width: 62px;
    padding: 2px;
    border-width: 1px;
  }

  .stamp-frame { padding: 2px; border-width: 1px; }

  .hero-en {
    display: none;
  }

  .hero-title {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .hero-title span {
    position: static;
    writing-mode: horizontal-tb;
    font-size: clamp(44px, 13vw, 76px);
    letter-spacing: .06em;
    line-height: 1.08;
  }

  .title-main { order: 2; }
  .title-side { order: 1; }

  .hero-caption {
    position: static;
    margin-top: 4px;
  }

  .hero-caption h2 { font-size: clamp(24px, 6.6vw, 34px); }
  .hero-caption-en { font-size: 12.5px; margin-top: 8px; }

  .hero-stage {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    margin-top: 10px;
  }

  .hero-tomb { display: none; }

  .title-dot { display: none; }

  .arr { width: 22px; }

  .nav {
    height: auto;
    grid-template-columns: 1fr 1fr;
  }

  .nav a {
    min-height: 68px;
    padding: 12px 8px;
    font-size: 15px;
    border-bottom: 1px solid rgba(232, 224, 208, .12);
  }



  .frame-objects { aspect-ratio: auto; }
  .frame-footer { aspect-ratio: auto; }
  .objects-stage { height: auto; aspect-ratio: auto; }

  .site-footer {
    min-height: 0;
    padding: 54px 20px 44px;
    gap: 48px;
  }

  .foot-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .foot-mark { text-align: left; }
  .foot-title h2 { font-size: 26px; }
  .foot-en { font-size: 15px; }
  .foot-mark { font-size: 15px; }
  .foot-mark span { font-size: 11px; }

  .foot-body {
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0;
  }
  .foot-label { margin: 0; font-size: 17px; }
  .foot-address { font-size: 15px; margin-top: 16px; }
  .foot-nav { font-size: 17px; margin-top: 24px; }

  .foot-links {
    justify-self: stretch;
    margin-top: 48px;
    gap: 26px;
    border-top: 1px solid rgba(232, 224, 208, .18);
    padding-top: 30px;
  }

  .foot-links a { font-size: 16px; }

  .foot-base {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
  }

  .discovery {
    display: block;
    height: auto;
  }

  .discovery-left {
    height: auto;
    padding: 44px 20px 54px;
  }

  .ghost-year {
    font-size: 150px;
    left: 4px;
    top: 90px;
  }

  .discovery-left h1 {
    position: static;
    font-size: 26px;
    line-height: 1.5;
    width: 100%;
  }

  .discovery-en {
    position: static;
    width: 100%;
    font-size: 13px;
    margin-top: 18px;
    letter-spacing: .16em;
  }

  .discovery-desc {
    position: static;
    width: 100%;
    font-size: 17px;
    margin-top: 46px;
    line-height: 2;
  }

  .discovery-strip {
    min-height: 110px;
    padding: 0 24px;
    gap: 12px;
  }

  .strip-line { font-size: 18px !important; }
  .strip-sub .arr { width: 26px; height: 10px; margin-left: 28px; }

  .discovery-art {
    height: auto;
    aspect-ratio: 696 / 789;
    max-height: none;
  }



  .origin {
    display: block;
    height: auto;
    background: var(--deep);
  }

  .origin-left {
    padding: 44px 20px 60px;
  }

  .origin-left h1 { font-size: 32px; }

  .origin-copy {
    width: 100%;
    margin-top: 28px;
    font-size: 16px;
    line-height: 2.1;
  }

  .origin-copy-en {
    margin-top: 28px;
    font-size: 14px;
    line-height: 1.8;
  }

  .origin-right { height: 110vw; max-height: 640px; }

  .objects { grid-template-columns: 1fr; height: auto; overflow: visible; }
  .objects-left { padding: 40px 24px 36px; }
  .objects-left h1 { font-size: 32px; }
  .objects-en { font-size: 14px; margin-top: 12px; }
  .objects-copy { margin-top: 28px; font-size: 16px; line-height: 2; }
  .objects-copy-en { margin-top: 22px; font-size: 13px; line-height: 1.8; }
  .objects-right { height: 122vw; max-height: 760px; }
  .hs-label { font-size: 13px; }




}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .piece { animation: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ============================================================
   独立页面统一章节导航（文案 / 字体 / 配色沿用首页 .nav）
   ============================================================ */
.site-nav {
  width: 100%;
  container-type: inline-size;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
  background: var(--nav-bg);
  border-top: 1px solid rgba(232, 224, 208, .12);
}
.site-nav a {
  --u: 0.078125cqw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: calc(1 * var(--u));
  height: calc(92 * var(--u));
  padding: 0 calc(10 * var(--u));
  border-right: 1px solid rgba(232, 224, 208, .12);
  color: var(--signal);
  font-family: var(--serif-en);
  font-size: calc(25.5 * var(--u));
  line-height: 1.28;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background .3s ease, color .3s ease;
}
.site-nav a:last-child { border-right: 0; }
/* 文物详情页：Home + 4 章节共 5 项，单独用 5 栏；缩字号避免长标题溢出 */
.site-nav--5 { grid-template-columns: repeat(5, 1fr); }
.site-nav--5 a {
  font-size: calc(21 * var(--u));
  padding: 0 calc(6 * var(--u));
  color: var(--signal, #E3301E);
  text-decoration: none;
}
.site-nav a:hover { background: var(--red); color: var(--paper); }
.site-nav a:active,
.site-nav a:active:visited,
.site-nav a:focus,
.site-nav a:focus:visited { background: var(--sand); color: var(--ink); }
.site-nav a.is-active { background: var(--sand); color: var(--ink); }
/* 键盘焦点：与首页导航统一的可视反馈 */
.nav a:focus-visible,
.site-nav a:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: -3px;
}

@media (max-width: 900px) {
  .site-nav,
  .site-nav--5 {
    width: 100%;
    height: auto;
    grid-template-columns: 1fr 1fr;
  }
  .site-nav a {
    min-height: 68px;
    padding: 12px 8px;
    height: auto;
    font-size: 15px;
    border-bottom: 1px solid rgba(232, 224, 208, .12);
  }
  /* 5 项时末尾一项独占整行，避免半行空缺 */
  .site-nav--5 a:last-child { grid-column: 1 / -1; }
}

/* ============================================================
   合并长滚动单页（index.html）
   五个章节按 封面 → 发现 → 引言 → 文物 → 问答 纵向堆叠；
   章节导航改为页内锚点，由 html{scroll-behavior:smooth} 平滑滚动；
   文物档案仍进入各自的 object-*.html 详情页。
   桌面沿用各章节 1280/767 定版与 cqw 缩放，视觉与独立页一致；
   手机沿用下方 max-width:900px 的整套流式规则，各章节自然高度长滚动。
   ============================================================ */
.page-merged > .screen { scroll-margin-top: 0; }

@media (min-width: 901px) {
  /* 画框宽度按视口高度反推，使每屏 aspect-ratio:1280/767 正好等于一屏高，
     五屏顺序滚动、章节锚点逐屏对齐；两侧保留砖红留白，与原首页一致 */
  .page-merged { width: min(100%, calc(100dvh * 1.6691)); }
}

@media (max-width: 900px) {
  /* 手机端铺满宽度并交回既有 .page 流式规则 */
  .page-merged { width: 100%; overflow: visible; }
}
