/* ==================================================================
   袁霆轩 · 个人网站
   视觉系统：Dark Immersive Mono / 编辑级画册排版 / 未来感微量光泽
   ================================================================== */

:root {
  --bg: #0a0a0a;
  --bg-soft: #0e0e0e;
  --bg-lift: #131313;
  --ink: #fafafa;
  --ink-2: rgba(250, 250, 250, 0.62);
  --ink-3: rgba(250, 250, 250, 0.38);
  --ink-4: rgba(250, 250, 250, 0.18);
  --gold: #c49a4a;
  --gold-soft: rgba(196, 154, 74, 0.32);
  --line: rgba(250, 250, 250, 0.1);
  --line-strong: rgba(250, 250, 250, 0.24);

  /* 本地字体栈优先：网络字体只作增强，拿不到也保证版式成立 */
  --display: 'Cormorant Garamond', Georgia, 'Times New Roman', 'Songti SC', STSong, SimSun, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --serif-cn: 'Noto Serif SC', 'Songti SC', STSong, SimSun, 'Source Han Serif SC', serif;

  --pad: clamp(20px, 5vw, 90px);
  --gap: clamp(18px, 2.4vw, 36px);
  --maxw: 1560px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; }

/* hidden 属性必须生效：.ghost-btn（更多按钮）/ .pager（分页器）等
   组件自带 display，作者样式会压过浏览器默认的 [hidden]{display:none}，
   导致 JS 用 hidden 控制显隐失效。与后台 admin.css 同一条兜底规则。 */
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }

::selection { background: var(--gold); color: #0a0a0a; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #060606; }
::-webkit-scrollbar-thumb { background: rgba(250, 250, 250, 0.14); }
::-webkit-scrollbar-thumb:hover { background: var(--gold-soft); }

/* ==================================================================
   加载幕
   ================================================================== */
.boot {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity 0.9s var(--ease), visibility 0.9s;
}
.boot.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.boot__inner { text-align: center; }
.boot__char {
  font-family: var(--serif-cn);
  font-size: clamp(48px, 9vw, 96px);
  font-weight: 200;
  letter-spacing: 0.2em;
  color: var(--ink);
  animation: bootPulse 1.6s var(--ease-io) infinite alternate;
}
@keyframes bootPulse { from { opacity: 0.35; letter-spacing: 0.3em; } to { opacity: 1; letter-spacing: 0.2em; } }
.boot__bar {
  margin: 32px auto 0; width: 120px; height: 1px;
  background: rgba(250, 250, 250, 0.12); overflow: hidden;
}
.boot__bar i { display: block; height: 100%; width: 0; background: var(--gold); transition: width 0.3s linear; }

/* ==================================================================
   光标
   ================================================================== */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 150;
  pointer-events: none; mix-blend-mode: difference;
  opacity: 0; transition: opacity 0.4s;
}
.cursor.is-on { opacity: 1; }
.cursor span {
  display: block; width: 26px; height: 26px; margin: -13px 0 0 -13px;
  border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 50%;
  transition: transform 0.25s var(--ease), background 0.25s;
}
.cursor.is-hot span { transform: scale(1.9); background: rgba(255, 255, 255, 0.08); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ==================================================================
   背景
   ================================================================== */
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.bg__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(250, 250, 250, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(250, 250, 250, 0.055) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 20%, transparent 78%);
}
.bg__noise {
  position: absolute; inset: -50%;
  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.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.42'/%3E%3C/svg%3E");
  opacity: 0.05; animation: noiseShift 6s steps(6) infinite;
}
@keyframes noiseShift {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 1%); } 100% { transform: translate(0, 0); }
}
.bg__vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 120% 90% at 50% 0%, transparent 30%, rgba(0, 0, 0, 0.55) 100%);
}

/* 滚动进度 */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 1px; z-index: 120; background: rgba(250,250,250,.06); }
.scroll-progress i { display: block; height: 100%; width: 0; background: var(--gold); box-shadow: 0 0 12px var(--gold-soft); }

/* ==================================================================
   导航
   ================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 110;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 22px var(--pad);
  transition: background 0.5s var(--ease), padding 0.5s var(--ease), backdrop-filter 0.5s;
}
.nav.is-solid {
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--line);
  padding-top: 14px; padding-bottom: 14px;
}
.nav__brand { display: flex; flex-direction: column; line-height: 1.15; }
.nav__brand-zh { font-family: var(--serif-cn); font-size: 15px; letter-spacing: 0.28em; }
.nav__brand-en { font-family: var(--display); font-size: 9.5px; letter-spacing: 0.42em; color: var(--ink-3); text-transform: uppercase; }

.nav__links { display: flex; gap: clamp(14px, 2vw, 34px); }
.nav__links a {
  position: relative; font-size: 12px; letter-spacing: 0.2em; color: var(--ink-2);
  padding: 4px 0; transition: color 0.4s var(--ease);
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }

.nav__right { display: flex; align-items: center; gap: 14px; }
.lang {
  border: 1px solid var(--line-strong); padding: 6px 12px; border-radius: 2px;
  font-size: 11px; letter-spacing: 0.16em; color: var(--ink-2);
  transition: all 0.4s var(--ease);
}
.lang:hover { border-color: var(--gold); color: var(--gold); }
.burger { display: none; width: 34px; height: 26px; position: relative; }
.burger i { position: absolute; left: 4px; right: 4px; height: 1px; background: var(--ink); transition: all 0.4s var(--ease); }
.burger i:first-child { top: 9px; }
.burger i:last-child { top: 16px; }
.burger.is-open i:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger.is-open i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 980px) {
  .burger { display: block; }
  .nav__links {
    position: fixed; inset: 0; top: 0; background: rgba(8, 8, 8, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column; align-items: flex-start; justify-content: center;
    padding: 0 var(--pad); gap: 22px;
    transform: translateX(100%); transition: transform 0.6s var(--ease);
    z-index: -1;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a { font-size: 22px; font-family: var(--display); letter-spacing: 0.1em; }
}

/* ==================================================================
   通用布局
   ================================================================== */
main { position: relative; z-index: 1; }

.hero {
  min-height: 100svh; padding: 0 var(--pad);
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
.hero__meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: clamp(22px, 4vw, 40px); }
.tag {
  font-size: 10.5px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--gold-soft); padding: 7px 14px; border-radius: 1px;
  opacity: 0; animation: fadeUp 1s var(--ease) 0.5s forwards;
}
.tag--ghost { color: var(--ink-3); border-color: var(--line); animation-delay: 0.65s; }

.hero__name { margin: 0; display: flex; flex-direction: column; gap: clamp(4px, 1vw, 12px); }
.hero__name-zh {
  font-family: var(--serif-cn); font-weight: 200;
  font-size: clamp(56px, 13vw, 190px); line-height: 0.92; letter-spacing: 0.04em;
  opacity: 0; animation: revealUp 1.4s var(--ease) 0.25s forwards;
}
.hero__name-en {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(13px, 2.3vw, 30px); letter-spacing: 0.62em;
  color: var(--ink-3); text-transform: uppercase;
  padding-left: 0.3em;
  opacity: 0; animation: fadeUp 1.2s var(--ease) 0.75s forwards;
}
.hero__tagline {
  margin: clamp(26px, 4.5vw, 54px) 0 0; max-width: 30ch;
  font-family: var(--serif-cn); font-size: clamp(15px, 1.5vw, 21px); font-weight: 200;
  line-height: 2; color: var(--ink-2);
  opacity: 0; animation: fadeUp 1.2s var(--ease) 0.95s forwards;
}
.hero__scroll {
  position: absolute; bottom: clamp(24px, 5vh, 56px); left: var(--pad);
  display: flex; align-items: center; gap: 14px;
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-3);
  opacity: 0; animation: fadeUp 1s var(--ease) 1.4s forwards;
}
.hero__scroll i { display: block; width: 54px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); animation: scrollLine 2.4s var(--ease-io) infinite; }
@keyframes scrollLine { 0% { transform: scaleX(0.2); transform-origin: left; opacity: .4; } 50% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(0.2); transform-origin: right; opacity: .4; } }

@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes revealUp { from { opacity: 0; transform: translateY(46px); clip-path: inset(100% 0 0 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }

.section {
  position: relative; padding: clamp(90px, 13vh, 180px) var(--pad);
  max-width: var(--maxw); margin: 0 auto;
}
.section--alt::before {
  content: ''; position: absolute; inset: 0 calc(var(--pad) * -1);
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.018), transparent);
  pointer-events: none;
}

.section__head { margin-bottom: clamp(38px, 6vw, 84px); max-width: 780px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 10.5px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); }
.eyebrow i { width: 22px; height: 1px; background: var(--gold); display: block; }
.section__title {
  margin: 18px 0 0; font-family: var(--display); font-weight: 300;
  font-size: clamp(38px, 6.4vw, 92px); line-height: 1.02; letter-spacing: -0.01em;
}
.section__desc { margin: 20px 0 0; color: var(--ink-2); font-size: clamp(13px, 1.1vw, 15.5px); max-width: 62ch; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

.empty {
  padding: 60px 0; text-align: center; color: var(--ink-3);
  font-family: var(--display); font-size: 17px; letter-spacing: 0.08em;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}

/* ==================================================================
   Statement
   ================================================================== */
.statement { max-width: 1180px; }
.statement__grid { display: grid; grid-template-columns: 1.6fr 0.6fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.statement__body {
  font-family: var(--serif-cn); font-size: clamp(14.5px, 1.35vw, 19px); font-weight: 200;
  line-height: 2.15; color: var(--ink-2); white-space: pre-line; letter-spacing: 0.02em;
}
.statement__body::first-line { color: var(--ink); }
.statement__sign {
  font-family: var(--display); font-size: clamp(20px, 2.4vw, 32px);
  color: var(--gold); letter-spacing: 0.08em; text-align: right; padding-top: 8px;
}
@media (max-width: 860px) {
  .statement__grid { grid-template-columns: 1fr; }
  .statement__sign { text-align: left; }
}

/* ==================================================================
   Works
   ================================================================== */
.works { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: var(--gap); }
.work {
  position: relative; cursor: pointer; opacity: 0; transform: translateY(34px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.work.is-in { opacity: 1; transform: none; }
.work__frame {
  position: relative; overflow: hidden; background: var(--bg-lift);
  aspect-ratio: 4 / 5; border: 1px solid var(--line);
}
.work__frame img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.06) brightness(0.86);
  transform: scale(1.02);
  transition: transform 1.3s var(--ease), filter 1s var(--ease);
}
.work:hover .work__frame img { transform: scale(1.07); filter: grayscale(0) contrast(1.02) brightness(1); }
.work__frame::after {
  content: ''; position: absolute; inset: 0; border: 1px solid transparent;
  transition: border-color 0.6s var(--ease); pointer-events: none;
}
.work:hover .work__frame::after { border-color: var(--gold-soft); }
.work__ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--display); font-size: 12px; letter-spacing: 0.3em; color: var(--ink-4);
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.02) 0 12px, transparent 12px 24px);
}
.work__idx {
  position: absolute; top: 14px; left: 16px; z-index: 2;
  font-family: var(--display); font-size: 11px; letter-spacing: 0.2em; color: var(--ink-3);
}
.work__play { position: absolute; right: 14px; top: 14px; z-index: 2; font-size: 10px; letter-spacing: .2em; color: var(--gold); }
.work__meta { padding: 16px 2px 0; display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.work__title { font-family: var(--serif-cn); font-size: 15.5px; font-weight: 300; letter-spacing: 0.04em; }
.work__sub { font-size: 11px; letter-spacing: 0.16em; color: var(--ink-3); flex-shrink: 0; }
.work__medium { padding: 4px 2px 0; font-size: 11.5px; color: var(--ink-3); letter-spacing: .04em; }

/* ==================================================================
   Videos
   ================================================================== */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--gap); }
.video { cursor: pointer; opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.video.is-in { opacity: 1; transform: none; }
.video__frame { position: relative; overflow: hidden; aspect-ratio: 9 / 16; background: var(--bg-lift); border: 1px solid var(--line); }
.video__frame img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.8) brightness(0.8) contrast(1.05); transition: transform 1.2s var(--ease), filter 1s var(--ease); }
.video:hover .video__frame img { transform: scale(1.06); filter: none; }
.video__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-4); font-size: 11px; letter-spacing: .3em; background: repeating-linear-gradient(135deg, rgba(255,255,255,.02) 0 12px, transparent 12px 24px); }
.video__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 58px; height: 58px; border: 1px solid rgba(250,250,250,.5); border-radius: 50%;
  display: grid; place-items: center; backdrop-filter: blur(4px);
  transition: all 0.5s var(--ease);
}
.video__play::before { content: ''; border-left: 9px solid var(--ink); border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 4px; }
.video:hover .video__play { border-color: var(--gold); background: rgba(196, 154, 74, 0.12); transform: translate(-50%, -50%) scale(1.08); }
.video__src { position: absolute; left: 14px; bottom: 12px; z-index: 2; font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-2); background: rgba(0,0,0,.42); padding: 4px 8px; backdrop-filter: blur(6px); }
.video__meta { padding: 14px 2px 0; }
.video__title { font-family: var(--serif-cn); font-size: 14.5px; font-weight: 300; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video__date { font-size: 10.5px; letter-spacing: 0.16em; color: var(--ink-3); margin-top: 6px; }

/* 影像分页 */
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: clamp(28px, 4vw, 48px); }
.pager__btn, .pager__num {
  min-width: 38px; height: 38px; padding: 0 12px; border: 1px solid var(--line);
  background: transparent; color: var(--ink-2); cursor: pointer;
  font-family: var(--display); font-size: 11px; letter-spacing: 0.16em;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.4s var(--ease);
}
.pager__btn:hover:not(:disabled), .pager__num:hover { border-color: var(--gold); color: var(--gold); }
.pager__btn:disabled { opacity: 0.32; cursor: not-allowed; }
.pager__num.is-on { border-color: var(--gold); color: var(--gold); background: rgba(196, 154, 74, 0.08); }
.pager__nums { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pager__gap { color: var(--ink-3); padding: 0 2px; font-size: 11px; }
.pager__info { margin-left: auto; font-size: 10.5px; letter-spacing: 0.16em; color: var(--ink-3); }
@media (max-width: 640px) {
  .pager { gap: 8px; }
  .pager__info { margin-left: 0; width: 100%; }
}

.ghost-btn {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 42px;
  border: 1px solid var(--line-strong); padding: 14px 26px; border-radius: 2px;
  font-size: 11.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-2);
  transition: all 0.5s var(--ease);
}
.ghost-btn i { font-style: normal; transition: transform 0.5s var(--ease); }
.ghost-btn:hover { border-color: var(--gold); color: var(--gold); }
.ghost-btn:hover i { transform: translateX(6px); }

/* ==================================================================
   Articles
   ================================================================== */
.articles { border-top: 1px solid var(--line); }
.article {
  display: grid; grid-template-columns: 78px 1fr 150px; gap: clamp(16px, 3vw, 46px);
  align-items: center; padding: clamp(20px, 2.6vw, 34px) 0;
  border-bottom: 1px solid var(--line); cursor: pointer; position: relative;
  transition: padding 0.6s var(--ease);
}
.article::before {
  content: ''; position: absolute; left: calc(var(--pad) * -1); right: calc(var(--pad) * -1); top: 0; bottom: 0;
  background: rgba(255, 255, 255, 0.02); opacity: 0; transition: opacity 0.5s var(--ease); pointer-events: none;
}
.article:hover::before { opacity: 1; }
.article:hover { padding-left: 14px; }
.article__date { font-family: var(--display); font-size: 12.5px; letter-spacing: 0.1em; color: var(--ink-3); }
.article__main { min-width: 0; }
.article__title {
  font-family: var(--serif-cn); font-size: clamp(15px, 1.5vw, 21px); font-weight: 300; line-height: 1.55;
  transition: color 0.4s var(--ease);
}
.article:hover .article__title { color: var(--gold); }
.article__digest { margin: 8px 0 0; font-size: 12.5px; color: var(--ink-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* 「阅读原文 / 查看详情」行动提示，文案由后台控制（articles.cta / common.readmore） */
.article__cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); opacity: .72;
  transition: opacity .5s var(--ease);
}
.article__arrow { font-style: normal; transition: transform .5s var(--ease); }
.article:hover .article__cta { opacity: 1; }
.article:hover .article__arrow { transform: translateX(4px); }
/* 右侧一列：来源角标 + 缩略图。文案由后台控制（common.fromWechat） */
.article__side { justify-self: end; width: 150px; text-align: right; }
.article__src {
  display: inline-block; margin-bottom: 8px;
  font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-3); opacity: .8;
}
.article__thumb { width: 150px; aspect-ratio: 16/10; overflow: hidden; border: 1px solid var(--line); }
.article__thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.85); transition: filter .8s var(--ease), transform .8s var(--ease); }
.article:hover .article__thumb img { filter: none; transform: scale(1.05); }
.article__pin { color: var(--gold); font-size: 10px; letter-spacing: .2em; margin-right: 8px; }
@media (max-width: 860px) {
  .article { grid-template-columns: 1fr; gap: 10px; }
  /* 窄屏：缩略图收起，来源角标改为左侧行内 */
  .article__side { width: auto; text-align: left; justify-self: start; }
  .article__src { margin-bottom: 0; }
  .article__thumb { display: none; }
}

/* ==================================================================
   Exhibitions
   ================================================================== */
.exh-group { margin-bottom: clamp(40px, 6vw, 78px); }
.exh-group__label {
  font-size: 10.5px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--ink-3);
  padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 6px;
  display: flex; align-items: center; gap: 10px;
}
.exh-group__label b { font-weight: 400; color: var(--gold); }
.exh { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--gap); }
.exh-item {
  border-top: 1px solid var(--line); padding: 22px 0 0; cursor: pointer;
  opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.exh-item.is-in { opacity: 1; transform: none; }
.exh-item__poster { width: 100%; aspect-ratio: 16/11; object-fit: cover; border: 1px solid var(--line); filter: grayscale(1) brightness(.82); transition: filter .9s var(--ease); margin-bottom: 16px; }
.exh-item:hover .exh-item__poster { filter: none; }
.exh-item__year { font-family: var(--display); font-size: 12px; letter-spacing: .16em; color: var(--gold); }
.exh-item__title { font-family: var(--serif-cn); font-size: 17px; font-weight: 300; line-height: 1.5; margin: 8px 0 6px; }
.exh-item__venue { font-size: 12px; color: var(--ink-3); letter-spacing: .04em; }
.exh-item__type { display: inline-block; font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3); border: 1px solid var(--line); padding: 3px 9px; }
/* 底部一行：类型 + 来源角标（common.fromWechat） */
.exh-item__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.exh-item__src { font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); opacity: .72; }

/* ==================================================================
   Timeline
   ================================================================== */
.timeline { position: relative; padding-left: clamp(20px, 4vw, 60px); }
.timeline::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(180deg, transparent, var(--line-strong) 8%, var(--line-strong) 92%, transparent); }
.tl { position: relative; padding: 22px 0; }
.tl::before {
  content: ''; position: absolute; left: calc(clamp(20px, 4vw, 60px) * -1); top: 30px;
  width: 7px; height: 7px; margin-left: -3px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--gold-soft); transition: all .5s var(--ease);
}
.tl:hover::before { background: var(--gold); box-shadow: 0 0 0 4px rgba(196,154,74,.14); }
.tl__year { font-family: var(--display); font-size: clamp(26px, 3.4vw, 44px); color: var(--ink-4); letter-spacing: .02em; line-height: 1; transition: color .5s var(--ease); }
.tl:hover .tl__year { color: var(--gold-soft); }
.tl__title { font-family: var(--serif-cn); font-size: 15.5px; font-weight: 300; margin-top: 4px; }
.tl__desc { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; }

/* ==================================================================
   Guestbook
   ================================================================== */
.guest { display: grid; grid-template-columns: 380px 1fr; gap: clamp(26px, 5vw, 76px); align-items: start; }
@media (max-width: 940px) { .guest { grid-template-columns: 1fr; } }

.guest__form { border: 1px solid var(--line); padding: clamp(20px, 2.4vw, 32px); background: rgba(255,255,255,.012); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 9px; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 10px 0; font-size: 14px; outline: none; resize: vertical;
  transition: border-color 0.4s var(--ease); font-family: var(--sans);
}
.field input:focus, .field textarea:focus { border-color: var(--gold); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-4); }
.field--submit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 26px 0 0; }
.solid-btn {
  background: var(--gold); color: #0a0a0a; padding: 13px 30px; border-radius: 2px;
  font-size: 11.5px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 400;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), opacity .3s;
}
.solid-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(196, 154, 74, 0.28); }
.solid-btn[disabled] { opacity: .5; transform: none; box-shadow: none; cursor: not-allowed; }
.notice { font-size: 11px; color: var(--ink-3); letter-spacing: .02em; }
.form-msg { margin: 16px 0 0; font-size: 12.5px; min-height: 18px; letter-spacing: .04em; }
.form-msg.is-ok { color: var(--gold); }
.form-msg.is-err { color: #d8846c; }

.guest__wall { columns: 2; column-gap: var(--gap); }
@media (max-width: 640px) { .guest__wall { columns: 1; } }
.gb {
  break-inside: avoid; margin-bottom: var(--gap); padding: 24px;
  border: 1px solid var(--line); background: rgba(255,255,255,.014);
  transition: border-color .5s var(--ease), transform .5s var(--ease);
}
.gb:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.gb.is-pinned { border-color: var(--gold-soft); }
.gb__msg { font-family: var(--serif-cn); font-size: 14px; line-height: 1.95; white-space: pre-line; color: var(--ink-2); }
.gb__reply {
  margin-top: 14px; padding: 12px 14px; border-left: 1px solid var(--gold);
  background: rgba(196, 154, 74, 0.05); font-size: 12.5px; color: var(--ink-2); white-space: pre-line;
}
.gb__reply b { font-weight: 400; color: var(--gold); letter-spacing: .1em; display: block; margin-bottom: 4px; font-family: var(--display); font-size: 11px; }
.gb__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; gap: 12px; }
.gb__name { font-family: var(--display); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.gb__date { font-size: 10.5px; color: var(--ink-4); letter-spacing: .1em; }

/* ==================================================================
   Contact / Footer
   ================================================================== */
.contact__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact__item { background: var(--bg); padding: clamp(22px, 3vw, 38px); display: flex; flex-direction: column; gap: 12px; transition: background .5s var(--ease); }
.contact__item:hover { background: var(--bg-lift); }
.contact__item .k { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }
.contact__item .v { font-family: var(--serif-cn); font-size: clamp(15px, 1.4vw, 19px); font-weight: 300; word-break: break-word; }

.footer { border-top: 1px solid var(--line); padding: clamp(36px, 5vw, 66px) var(--pad); position: relative; z-index: 1; }
.footer__row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; max-width: var(--maxw); margin: 0 auto; }
.footer__name { font-family: var(--display); font-size: clamp(20px, 3vw, 34px); letter-spacing: 0.36em; color: var(--ink-2); }
.footer__rights { font-size: 11px; letter-spacing: 0.14em; color: var(--ink-4); }
.footer__row--sub { margin-top: 22px; }
.link-btn { font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-3); transition: color .4s var(--ease); }
.link-btn:hover { color: var(--gold); }
.link-btn--dim { opacity: .5; }
.link-btn--dim:hover { opacity: 1; }

/* ==================================================================
   Drawer
   ================================================================== */
.drawer { position: fixed; inset: 0; z-index: 160; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__bg { position: absolute; inset: 0; background: rgba(4, 4, 4, 0.82); backdrop-filter: blur(10px); opacity: 0; transition: opacity .6s var(--ease); }
.drawer.is-open .drawer__bg { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(760px, 94vw);
  background: var(--bg-soft); border-left: 1px solid var(--line); overflow-y: auto;
  transform: translateX(102%); transition: transform .7s var(--ease);
  padding: clamp(28px, 5vw, 66px);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__close { position: absolute; top: 20px; right: 24px; font-size: 26px; line-height: 1; color: var(--ink-3); transition: color .4s var(--ease), transform .4s var(--ease); }
.drawer__close:hover { color: var(--gold); transform: rotate(90deg); }
.drawer__body { padding-top: 18px; }
.d-title { font-family: var(--display); font-size: clamp(26px, 3.6vw, 46px); font-weight: 300; line-height: 1.2; margin: 0 0 14px; }
.d-sub { font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.d-media { margin: 26px 0; border: 1px solid var(--line); }
.d-media img { width: 100%; }
.d-media video { width: 100%; display: block; background: #000; }
.d-media + .d-media { margin-top: 10px; }

/* 详情抽屉里的第三方嵌入播放器（B站 / 抖音） */
.d-media--embed { position: relative; overflow: hidden; background: #000; }
.d-media--embed iframe {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; display: block;
}
.d-embedhint {
  margin: -14px 0 26px; font-size: 11px; line-height: 1.7;
  color: var(--ink-3); opacity: .8;
}
/* 「去XX观看」按钮组 */
.d-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.d-desc { font-family: var(--serif-cn); font-size: 14.5px; line-height: 2.1; color: var(--ink-2); white-space: pre-line; }
.d-table { margin: 26px 0; border-top: 1px solid var(--line); }
.d-row { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.d-row span:first-child { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 20px); z-index: 300;
  background: var(--bg-lift); border: 1px solid var(--gold-soft); color: var(--ink);
  padding: 13px 24px; font-size: 12.5px; letter-spacing: .12em; border-radius: 2px;
  opacity: 0; pointer-events: none; transition: all .5s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ==================================================================
   创作方法：立意 / 迭代 / 落成
   ================================================================== */
.method { margin-top: clamp(46px, 7vw, 96px); border-top: 1px solid var(--line); padding-top: clamp(30px, 4vw, 52px); }
.method__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 10.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.method__eyebrow i { width: 22px; height: 1px; background: var(--gold); display: block; }
.method__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(24px, 3.4vw, 56px); margin-top: clamp(26px, 3.4vw, 44px); }
.method__item { position: relative; padding-top: 20px; border-top: 1px solid var(--line); }
.method__idx { font-family: var(--display); font-size: 12px; letter-spacing: .3em; color: var(--ink-4); }
.method__title { font-family: var(--serif-cn); font-size: clamp(17px, 1.7vw, 21px); font-weight: 300; letter-spacing: .12em; margin: 10px 0 12px; }
.method__body { margin: 0; font-size: 13px; line-height: 2.05; color: var(--ink-2); }

/* 「查看全部」按钮 */
.ghost-btn--more { margin-top: clamp(28px, 4vw, 52px); }

/* 首页年表：年份与内容并排，场馆另起一行 */
.tl { display: grid; grid-template-columns: clamp(72px, 9vw, 130px) 1fr; gap: clamp(16px, 2.4vw, 40px); align-items: start; }
.tl__main { min-width: 0; }
.tl__venue { font-size: 12px; color: var(--gold); margin-top: 5px; letter-spacing: .04em; }

/* ==================================================================
   列表页 / 完整年表页（articles.html、exhibitions.html、timeline.html）
   ================================================================== */
.pagebar {
  position: sticky; top: 0; z-index: 120;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px var(--pad);
  background: rgba(10, 10, 10, .82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.pagebar__brand { display: flex; flex-direction: column; line-height: 1.15; }
.pagebar__right { display: flex; align-items: center; gap: 16px; }

.page { padding: clamp(46px, 7vw, 110px) var(--pad) clamp(70px, 9vw, 140px); max-width: var(--maxw); margin: 0 auto; }
.page__head { margin-bottom: clamp(34px, 5vw, 72px); max-width: 780px; }
.page__title {
  font-family: var(--serif-cn); font-weight: 200; letter-spacing: .04em;
  font-size: clamp(30px, 5vw, 62px); line-height: 1.12; margin: 18px 0 0;
}
.page__desc { margin: 18px 0 0; color: var(--ink-2); font-size: clamp(13px, 1.1vw, 15.5px); max-width: 62ch; }
.page__count { margin-top: 10px; font-size: 10.5px; letter-spacing: .22em; color: var(--ink-3); }

/* 完整年表：简介块 */
.chron-bio { border-left: 2px solid var(--gold-soft); padding: 6px 0 6px clamp(18px, 2.4vw, 34px); margin-bottom: clamp(46px, 6vw, 90px); }
.chron-bio__name { font-family: var(--serif-cn); font-size: clamp(22px, 3vw, 34px); font-weight: 300; letter-spacing: .1em; }
.chron-bio__role { display: inline-block; margin-top: 10px; font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.chron-bio__meta { margin: 18px 0 0; font-family: var(--display); font-size: 14px; line-height: 2.1; color: var(--ink-2); white-space: pre-line; }
.chron-bio__body { margin: 18px 0 0; font-family: var(--serif-cn); font-size: 14.5px; line-height: 2.1; color: var(--ink-2); white-space: pre-line; max-width: 74ch; }

/* 完整年表：分节 */
.chron__section { margin-bottom: clamp(44px, 6vw, 88px); }
.chron__section-head { display: flex; align-items: baseline; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: clamp(20px, 3vw, 36px); }
.chron__section-title { font-family: var(--serif-cn); font-size: clamp(18px, 2.2vw, 26px); font-weight: 300; letter-spacing: .12em; }
.chron__section-count { font-family: var(--display); font-size: 12px; letter-spacing: .2em; color: var(--ink-3); }

.chron__year { display: grid; grid-template-columns: clamp(64px, 7vw, 110px) 1fr; gap: clamp(14px, 2vw, 34px); padding: clamp(14px, 1.8vw, 24px) 0; border-bottom: 1px solid var(--line); }
.chron__year:last-child { border-bottom: 0; }
.chron__year-num { font-family: var(--display); font-size: clamp(20px, 2.4vw, 30px); color: var(--ink-4); line-height: 1.1; }
.chron__list { display: flex; flex-direction: column; gap: clamp(12px, 1.6vw, 20px); min-width: 0; }
.chron__item { position: relative; }
.chron__title { font-family: var(--serif-cn); font-size: 15px; font-weight: 300; line-height: 1.7; }
.chron__en { display: block; margin-top: 5px; font-family: var(--display); font-size: 12.5px; font-style: italic; color: var(--ink-3); line-height: 1.6; }
.chron__meta { margin-top: 6px; font-size: 12px; color: var(--gold); letter-spacing: .04em; }
.chron__meta-en { margin-top: 3px; font-size: 11.5px; color: var(--ink-3); }
.chron__desc { margin-top: 6px; font-size: 12.5px; color: var(--ink-3); white-space: pre-line; }
.chron__empty { color: var(--ink-3); font-size: 13px; }

@media (max-width: 720px) {
  .tl, .chron__year { grid-template-columns: 1fr; gap: 8px; }
  .pagebar { padding: 14px var(--pad); }
}

/* ==================================================================
   Mobile refinement (<=640px) —— 手机端整体收紧，影像改为双列
   ================================================================== */
@media (max-width: 640px) {
  /* 区块节奏：少留白、标题更小，避免"一屏只有一张卡" */
  .section { padding: 62px var(--pad) 68px; }
  .section__head { margin-bottom: 24px; }
  .section__title { font-size: 30px; margin-top: 12px; line-height: 1.06; }
  .section__desc { margin-top: 12px; font-size: 12.8px; line-height: 1.75; }
  .eyebrow { font-size: 9.5px; letter-spacing: .26em; }

  /* 影像：双列宫格，卡片高度从 ~706px 降到 ~300px */
  .videos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  .video__frame { border-width: 1px; }
  .video__play { width: 38px; height: 38px; }
  .video__play::before { border-left-width: 7px; border-top-width: 5px; border-bottom-width: 5px; margin-left: 3px; }
  .video__src { left: 7px; bottom: 7px; font-size: 8px; padding: 2px 5px; letter-spacing: .12em; }
  .video__meta { padding: 9px 0 0; }
  .video__title { font-size: 11.5px; line-height: 1.5; min-height: 3em; }
  .video__date { font-size: 9px; margin-top: 3px; letter-spacing: .1em; }

  /* 翻页器收紧 */
  .pager { gap: 6px; margin-top: 26px; }
  .pager__btn, .pager__num { min-width: 34px; height: 34px; padding: 0 9px; font-size: 10.5px; }
  .pager__info { font-size: 9.5px; }

  /* 文章 / 展览列表在手机上更紧凑 */
  .article { padding: 16px 0; gap: 6px; }
  .article__title { font-size: 15px; }
  .article__digest { margin-top: 6px; font-size: 11.5px; }
  .exh-item { padding: 18px 0; }
}

/* 封面加载失败时的占位，避免出现纯黑空块 */
.video__frame.is-broken::after {
  content: 'NO COVER'; position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--display); font-size: 10px; letter-spacing: .3em; color: var(--ink-4);
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.02) 0 12px, transparent 12px 24px);
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
