/* ===== Objects of Medicine 展品墙（frame 234:640，1440×3659） =====
   几何 = build-plan.md §1.1 A 级实测 + 参考图 p3-objects-medicine.png 像素探针复核：
   - 顶部深绿色带 0-128（#173A35）+ 照片带 128-520（参考图裁片，标题烘焙在内）
   - 撕纸提示条 (100,520,660×199)（"Click object for detail" 烘焙在裁片内）
   - 4 列瀑布流：卡宽 264，x=144/440/736/1032，y 720→3058 交错，图高 180-320 各异
   - 卡题 Cormorant Garamond 20 / #173A35，基线 ≈ 图底 +34，行高 24
   - Footer Band (0,3509,1440×150) #B99568 + 左下 "← Back"（Inter 600 14，米白） */

.objects { height: 3659px; }

/* ---- 顶部深绿色带 + 照片带 ---- */
.hero-band { position: absolute; left: 0; top: 0; width: 1440px; height: 128px; background: #173a35; }
/* 2026-11-11 GPU 渗色修复：非整数缩放下 img 边缘双线性采样会读到纹理外显存（白色细线）。
   translateZ(0) 提升为独立合成层，合成器将层边界对齐整数设备像素，采样渗色不再发生 */
.hero-photo { position: absolute; left: 0; top: 128px; width: 1440px; height: 392px; transform: translateZ(0); }

/* ---- 头部（本页为居中排布、米白字，覆盖 base.css 的左右式默认） ----
   品牌字字形与参考图存在 Georgia 版本/栅格化差异（像素比对最差区即在此），
   按 museum-intro.html 同款约定：品牌字烘焙为裁片 + .tm-wordmark 同位透明热区 */
.wordmark-img { position: absolute; left: 620px; top: 8px; width: 220px; height: 56px; z-index: 25; }
.objects .tm-wordmark {
  left: 620px; top: 8px; width: 220px; height: 56px;
  color: transparent;
}
.objects .tm-wordmark:hover { color: transparent; }
.objects .tm-nav { left: 0; right: auto; top: 85px; width: 1440px; display: block; }
.objects .tm-nav a {
  position: absolute; top: 0;
  font-family: 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 18px; font-weight: 400; letter-spacing: 0;
  color: #f7f1e5;
  /* 文字栅格化校准（2026-10-28 审核修复）：参考图文字为弱亚像素/灰度边缘（纯核心 #173A35 多），
     本机 Chrome 默认 ClearType 全强度亚像素（maxD 160）。强制合成层栅格化后降至弱亚像素
     （maxD 35、边缘 41%），与参考图一致，且字形宽度/位置不变（探针实测 322px 两态相同）。 */
  transform: translateZ(0);
}
.objects .tm-nav a:nth-child(1) { left: 500px; }
/* 复检修复 2026-10-28：参考图三组导航笔画同为 ~2.0px 常规字重（逐字量墨 TTM:A&W = 1.10），
   移除 17:2x 误加的 font-weight:700（渲染笔画 3px、TTM:A&W 墨量比 1.52），回归 :25 的 400 */
.objects .tm-nav a:nth-child(2) { left: 632px; }
.objects .tm-nav a:nth-child(3) { left: 880px; }
.objects .tm-nav a:hover, .objects .tm-nav a.active { color: #fff9ec; }

/* ---- 撕纸提示条（2026-11-12 文字真文字化，对齐 museum.html About 区做法）----
   纸条素材 mu-torn.png（与 museum 页同一无字撕纸图，1152x408 @2x），文字为 HTML 真文字。
   几何 1:1 取自 Figma 现稿：纸 333:340 = 576x204 @ (144,516)；字 333:341 =
   Cormorant Garamond Medium 40/48 @ (223,596)，#173A35。旧烤图 objects-paper.png 废弃。 */
.paper-note { position: absolute; left: 144px; top: 516px; width: 576px; height: 204px; transform: translateZ(0); }
.paper-note-text {
  position: absolute; left: 223px; top: 596px; width: 615px; z-index: 6;
  font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500;
  font-size: 40px; line-height: 48px; color: #173a35; white-space: nowrap;
  transform: translateZ(0); /* 文字栅格化对齐参考图（同 .tm-nav a 注释） */
}

/* ---- 展品卡：图在上（满卡宽 264，高按卡各异），题在下 ---- */
.grid { position: absolute; left: 0; top: 0; width: 1440px; height: 3659px; }
.obj-card { position: absolute; width: 264px; display: block; }
.obj-card img { display: block; width: 264px; transform: translateZ(0); /* GPU 渗色修复，同 .paper-note */ }
.obj-card .t {
  position: absolute; left: 0; width: 264px;
  font-family: 'Cormorant Garamond', Georgia, 'Songti SC', 'SimSun', serif;
  font-weight: 400; font-size: 20px; line-height: 24px;
  color: #173a35;
  transform: translateZ(0); /* 文字栅格化对齐参考图（同 .tm-nav a 注释） */
}
/* 卡题逐卡换行微调：
   .no-wrap（OM-004）禁止软换行，仅由 <br> 分行——"Seal of the Qing Imperial Medical" 行1
     advance(~265px) 贴卡宽 264 临界，自然换行会早一个词；
   .one-line（OM-031）参考稿整题一行满卡宽：Figma 字距较 DirectWrite 整形约 -0.25px/字
     （32 字符累计 +8px 致 264px 卡内折行），锁一行并按参考字距补偿 */
.obj-card .t.no-wrap { white-space: nowrap; }
.obj-card .t.one-line { white-space: nowrap; letter-spacing: -0.25px; }
.obj-card:hover .t { color: var(--seal); }

/* ---- Footer Band + 返回 ---- */
.footer-band { position: absolute; left: 0; top: 3509px; width: 1440px; height: 150px; background: #B99568; }
.backlink {
  position: absolute; left: 146px; top: 3561px; z-index: 20;
  font-family: var(--sans); font-weight: 600; font-size: 14px; line-height: 1;
  color: #f7f1e5;
  transform: translateZ(0); /* 文字栅格化对齐参考图（同 .tm-nav a 注释） */
}
.backlink:hover { color: #fff9ec; }
