/* ═══════════════════════════════════════════════
   李方 · 视觉设计个展 — NOW SHOWING · 光管展厅
   黑场 / 暖白射灯 / 霓虹粉紫橙 / 展签等宽小字
   ═══════════════════════════════════════════════ */

/* ── 手写字体（子集 woff2，仅含所需字形） ── */
@font-face {
  font-family: "ZhiMang Xing";
  src: url("../assets/fonts/zhimangxing-li.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Great Vibes";
  src: url("../assets/fonts/greatvibes-thanks.woff2") format("woff2");
  font-display: swap;
}

:root {
  --bg: #0a0a0c;
  --bg-soft: #101014;
  --ink: #f2f0ec;
  --dim: #9b98a0;
  --line: rgba(255, 255, 255, .1);
  --glass: rgba(255, 255, 255, .04);
  --pink: #ff4d8d;
  --purple: #8b5cf6;
  --orange: #ffb13d;
  --neon: linear-gradient(100deg, var(--pink), var(--purple) 55%, var(--orange));
  --mono: "SF Mono", ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --topbar-h: 60px;
  --radius: 6px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h) + 12px);
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block; max-width: 100%; height: auto;
  -webkit-user-drag: none; user-select: none;
  -webkit-touch-callout: none; /* iOS 长按不弹保存 */
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
b { font-weight: 600; }

::selection { background: rgba(255, 77, 141, .35); }

/* ── 全局颗粒 ─────────────────────────────── */
.grain {
  position: fixed; inset: -50%;
  z-index: 90; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── 射灯光标（仅精确指针设备） ───────────── */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; position: fixed; inset: 0; z-index: 300; pointer-events: none; }
  .cursor-dot, .cursor-halo {
    position: absolute; top: 0; left: 0; border-radius: 50%;
    transform: translate(-50%, -50%); will-change: transform;
  }
  .cursor-dot {
    width: 7px; height: 7px;
    background: var(--neon);
    box-shadow: 0 0 12px rgba(255, 77, 141, .9);
  }
  .cursor-halo {
    width: 44px; height: 44px;
    border: 1px solid rgba(255, 255, 255, .35);
    transition: width .25s, height .25s, border-color .25s;
  }
  .cursor.is-focus .cursor-halo {
    width: 72px; height: 72px;
    border-color: rgba(255, 77, 141, .7);
  }
}

/* ── 顶部导航 ─────────────────────────────── */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--topbar-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(16px, 3vw, 40px);
  background: rgba(10, 10, 12, 0);
  transition: background .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.topbar.scrolled {
  background: rgba(10, 10, 12, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--line);
}
.topbar-brand {
  font-weight: 700; font-size: 17px; letter-spacing: .04em;
  display: flex; align-items: baseline; gap: 10px;
}
.topbar-brand span {
  font-family: var(--mono); font-size: 10px; font-weight: 400;
  color: var(--dim); letter-spacing: .28em;
}
.topbar-nav { display: flex; gap: clamp(14px, 2vw, 28px); }
.topbar-nav a {
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em;
  color: var(--dim); padding: 6px 2px; position: relative;
  transition: color .25s;
}
.topbar-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--neon); transition: right .3s;
}
.topbar-nav a:hover { color: var(--ink); }
.topbar-nav a:hover::after { right: 0; }

/* ── 展位编号 NOW SHOWING ─────────────────── */
.nowshowing {
  position: fixed; left: clamp(16px, 3vw, 40px); top: 96px; z-index: 95;
  display: flex; flex-direction: column; gap: 2px; pointer-events: none;
}
.nowshowing-kicker {
  font-family: var(--mono); font-size: 9px; letter-spacing: .3em; color: var(--dim);
}
.nowshowing-no {
  font-family: var(--mono); font-size: 30px; font-weight: 700; line-height: 1.1;
  background: var(--neon); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.nowshowing-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: .2em; color: var(--dim);
}
.nowshowing.flip .nowshowing-no,
.nowshowing.flip .nowshowing-label { animation: nsflip .5s ease both; }
@keyframes nsflip {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ── 地面光带进度 ─────────────────────────── */
.rail {
  position: fixed; left: 0; right: 0; bottom: 0; height: 2px;
  background: rgba(255, 255, 255, .06); z-index: 100;
}
.rail-fill {
  display: block; height: 100%; width: 0;
  background: var(--neon);
  box-shadow: 0 0 10px rgba(255, 77, 141, .7);
}

/* ── 入口 · 展览海报 ──────────────────────── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 120px 20px 90px; overflow: hidden;
}
.aurora { position: absolute; inset: 0; pointer-events: none; }
.aurora i {
  position: absolute; border-radius: 50%; filter: blur(110px); opacity: .42;
  animation: drift 16s ease-in-out infinite alternate;
}
.aurora .a1 { width: 46vw; height: 46vw; left: -12vw; top: -8vw; background: #7c3aed; }
.aurora .a2 { width: 38vw; height: 38vw; right: -10vw; top: 4vw; background: #db2777; animation-delay: -5s; }
.aurora .a3 { width: 30vw; height: 30vw; left: 28vw; bottom: -16vw; background: #f59e0b; opacity: .3; animation-delay: -9s; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(4vw, 3vw) scale(1.12); }
}
.hero-inner { position: relative; z-index: 2; max-width: 960px; }
.hero-kicker {
  font-family: var(--mono); font-size: 11px; letter-spacing: .4em; color: var(--dim);
  margin-bottom: clamp(24px, 4vh, 44px);
}
.hero-kicker b { color: var(--orange); }
.hero-title { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero-name {
  font-family: "ZhiMang Xing", "Xingkai SC", "STXingkai", var(--sans);
  font-size: clamp(96px, 18vw, 210px); font-weight: 400; line-height: 1.15;
  letter-spacing: .04em;
  background: var(--neon);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 0 34px rgba(255, 77, 141, .35));
}
.hero-sub {
  font-size: clamp(16px, 2.4vw, 24px); font-weight: 500; letter-spacing: .58em;
  text-indent: .58em; padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 2px;
}
.hero-en {
  font-family: var(--mono); font-size: clamp(10px, 1.3vw, 13px);
  letter-spacing: .52em; color: var(--dim); margin-top: 26px;
}
.hero-tags {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-top: clamp(30px, 5vh, 52px);
}
.hero-tags li {
  font-size: 13px; letter-spacing: .08em; color: rgba(242, 240, 236, .85);
  padding: 8px 18px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--line);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero-plaque {
  position: absolute; left: clamp(16px, 3vw, 40px); bottom: 34px;
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 9px; letter-spacing: .26em; color: var(--dim);
  animation: plaquein 1s ease 1s both;
}
@keyframes plaquein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.plaque-line { width: 56px; height: 1px; background: linear-gradient(90deg, var(--pink), transparent); }
.hero-scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .3em; color: var(--dim);
}
.hero-scroll i { font-style: normal; animation: bob 1.8s ease-in-out infinite; color: var(--pink); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* ── 展厅通用 ─────────────────────────────── */
main { position: relative; z-index: 1; }
.hall {
  position: relative;
  max-width: 1200px; margin: 0 auto;
  padding: clamp(90px, 13vh, 150px) clamp(20px, 4vw, 40px);
}
.hall-kicker {
  font-family: var(--mono); font-size: 11px; letter-spacing: .32em; color: var(--dim);
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.hall-kicker::before {
  content: ""; width: 34px; height: 2px; background: var(--neon); border-radius: 2px;
}
.hall-head h2 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 700; line-height: 1.25; }
.hall-title { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.hall-no {
  font-family: var(--mono); font-size: clamp(52px, 7vw, 96px); font-weight: 800;
  line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .22);
}
.hall-en {
  font-family: var(--mono); font-size: clamp(10px, 1.2vw, 13px);
  letter-spacing: .4em; color: var(--dim); margin-top: 14px;
}
.hall-meta {
  display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 64px);
  margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line);
}
.hall-meta dt {
  font-family: var(--mono); font-size: 10px; letter-spacing: .26em;
  color: var(--dim); margin-bottom: 6px;
}
.hall-meta dd { font-family: var(--mono); font-size: 14px; letter-spacing: .1em; }

.hall-brief {
  margin: clamp(36px, 6vh, 60px) 0 0;
  padding: clamp(22px, 3vw, 34px);
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius);
  position: relative; overflow: hidden;
}
.hall-brief::before {
  content: ""; position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
  width: 70%; height: 120px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 214, 156, .16), transparent 70%);
  pointer-events: none;
}
.hall-brief h3 {
  font-size: 15px; letter-spacing: .1em; margin-bottom: 12px;
  background: var(--neon); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hall-brief p { color: rgba(242, 240, 236, .82); font-size: 15.5px; max-width: 58em; }

/* 关键词配色胶囊（取自闪光音乐会配色页） */
.kw-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.kw-pills li {
  font-size: 13px; font-weight: 600; letter-spacing: .12em;
  padding: 7px 20px; border-radius: 999px; color: #101014;
}
.kw1 { background: #6d4df6; color: #fff; }
.kw2 { background: #ff9ad5; }
.kw3 { background: #5aa7f0; color: #fff; }
.kw4 { background: #ffd257; }
.kw5 { background: #57e0e6; }

/* ── 展墙与展品 ───────────────────────────── */
.wall {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2.4vw, 26px);
  margin-top: clamp(44px, 7vh, 72px);
}
.span6 { grid-column: span 6; }
.span12 { grid-column: span 12; }

.exhibit { position: relative; }
.frame {
  position: relative; overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(8px, 1vw, 14px);
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), border-color .45s, box-shadow .45s;
  cursor: zoom-in;
}
.frame::before {
  content: ""; position: absolute; top: -70px; left: 50%; transform: translateX(-50%);
  width: 78%; height: 140px; border-radius: 50%; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse, rgba(255, 222, 170, .18), transparent 70%);
  transition: opacity .45s; opacity: .8;
}
.frame img { position: relative; z-index: 0; border-radius: 2px; width: 100%; }
.exhibit:hover .frame {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, .28);
  box-shadow: 0 24px 60px -24px rgba(255, 77, 141, .28),
              0 12px 40px -18px rgba(139, 92, 246, .3);
}
.exhibit:hover .frame::before { opacity: 1; }
.exhibit figcaption {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em;
  color: var(--dim); margin-top: 12px; padding-left: 2px;
}
.exhibit figcaption::before { content: "— "; color: rgba(255, 77, 141, .8); }

/* ── 序厅 ─────────────────────────────────── */
.hall-desc { color: var(--dim); max-width: 720px; margin-top: 16px; font-size: 15.5px; }
.profile-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(16px, 2.4vw, 26px);
  margin-top: clamp(44px, 7vh, 64px);
}
.plaque-card {
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px);
}
.plaque-card h3 {
  font-size: 17px; display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.plaque-card h3 span { font-family: var(--mono); font-size: 9px; letter-spacing: .3em; color: var(--dim); }
.plaque-list li { padding: 10px 0; }
.plaque-list b { font-size: 15.5px; margin-right: 12px; }
.plaque-list span { color: var(--dim); font-size: 13.5px; }
.plaque-list time, .timeline time {
  display: block; font-family: var(--mono); font-size: 11px;
  letter-spacing: .14em; color: rgba(255, 179, 61, .75); margin-top: 2px;
}
.timeline { position: relative; }
.timeline li { position: relative; padding: 10px 0 10px 22px; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 20px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--neon); box-shadow: 0 0 8px rgba(255, 77, 141, .8);
}
.timeline li::after {
  content: ""; position: absolute; left: 3px; top: 32px; bottom: -6px; width: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .18), transparent);
}
.timeline li:last-child::after { display: none; }
.timeline b { font-size: 15.5px; display: inline; margin-right: 12px; }
.timeline span { color: var(--dim); font-size: 13.5px; }

.mgmt {
  margin-top: clamp(16px, 2.4vw, 26px);
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 36px);
}
.mgmt h3 {
  font-size: 17px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px;
  margin-bottom: 24px;
}
.mgmt h3 span { font-family: var(--mono); font-size: 9px; letter-spacing: .3em; color: var(--dim); }
.mgmt-steps {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.mgmt-steps li {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 16px; background: rgba(255, 255, 255, .02);
  transition: border-color .3s, transform .3s;
}
.mgmt-steps li:hover { border-color: rgba(255, 77, 141, .5); transform: translateY(-3px); }
.mgmt-steps i {
  font-family: var(--mono); font-style: normal; font-size: 12px;
  background: var(--neon); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.mgmt-steps b { display: block; font-size: 15px; margin: 6px 0 8px; }
.mgmt-steps p { font-size: 12.5px; color: var(--dim); line-height: 1.7; }
.mgmt-role { margin-top: 22px; font-size: 14px; color: var(--dim); }
.mgmt-role em {
  font-style: normal; font-size: 12.5px; color: var(--ink);
  border: 1px solid rgba(139, 92, 246, .55); border-radius: 999px;
  padding: 4px 14px; margin-left: 8px;
}

/* 展厅索引 · 四大专业域 */
.index-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 22px);
  margin-top: clamp(44px, 7vh, 64px);
}
.index-card {
  position: relative; aspect-ratio: 3 / 4; border-radius: 18px;
  padding: 22px; display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s;
}
.index-card i {
  position: absolute; top: 10px; right: 16px;
  font-family: "Snell Roundhand", "Brush Script MT", cursive, serif;
  font-style: italic; font-size: clamp(40px, 4.6vw, 60px); line-height: 1;
  color: rgba(255, 255, 255, .5);
}
.index-card b { font-size: clamp(17px, 1.8vw, 21px); line-height: 1.45; letter-spacing: .04em; }
.index-card span {
  font-family: var(--mono); font-size: 9px; letter-spacing: .3em; margin-top: 10px;
  color: rgba(255, 255, 255, .72);
}
.index-card::after {
  content: "进入展厅 →"; position: absolute; top: 20px; left: 22px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em;
  color: rgba(255, 255, 255, .85); opacity: 0; transform: translateY(-6px);
  transition: opacity .35s, transform .35s;
}
.index-card:hover::after { opacity: 1; transform: translateY(0); }
.ic1 { background: linear-gradient(160deg, #ff5f7e, #e11d48); }
.ic2 { background: linear-gradient(160deg, #8b5cf6, #5b21b6); }
.ic3 { background: linear-gradient(160deg, #67c3f3, #2563eb); }
.ic4 { background: linear-gradient(160deg, #ffc24b, #ea8a1f); }
.index-card:hover { transform: translateY(-6px); }
.ic1:hover { box-shadow: 0 24px 56px -22px rgba(225, 29, 72, .55); }
.ic2:hover { box-shadow: 0 24px 56px -22px rgba(91, 33, 182, .6); }
.ic3:hover { box-shadow: 0 24px 56px -22px rgba(37, 99, 235, .55); }
.ic4:hover { box-shadow: 0 24px 56px -22px rgba(234, 138, 31, .55); }

/* ── 方法论展区 ───────────────────────────── */
.method-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 22px);
  margin-top: clamp(44px, 7vh, 64px);
  counter-reset: method;
}
.method-cards li {
  counter-increment: method;
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; position: relative; overflow: hidden;
  transition: border-color .35s, transform .35s;
}
.method-cards li:hover { border-color: rgba(139, 92, 246, .55); transform: translateY(-4px); }
.method-cards i {
  font-family: var(--mono); font-style: normal; font-size: 13px;
  background: var(--neon); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.method-cards b { display: block; font-size: 17px; margin: 8px 0 10px; }
.method-cards p { font-size: 14px; color: rgba(242, 240, 236, .8); }
.method-cards span {
  display: block; margin-top: 12px; font-size: 12px; color: var(--dim);
  padding-top: 10px; border-top: 1px dashed var(--line);
}
.method-chain {
  margin-top: clamp(36px, 6vh, 52px); text-align: center;
  font-family: var(--mono); font-size: 12px; letter-spacing: .22em; color: var(--dim);
}

/* ── 公共展区 · 开放仓库 ──────────────────── */
.storage-cat {
  margin: clamp(52px, 8vh, 80px) 0 24px;
  font-size: 18px; display: flex; align-items: baseline; gap: 14px;
}
.storage-cat::before {
  content: ""; align-self: center; width: 4px; height: 18px;
  background: var(--neon); border-radius: 2px;
}
.storage-cat span { font-family: var(--mono); font-size: 9px; letter-spacing: .3em; color: var(--dim); }
/* 瀑布流：JS 最短列均衡分配（列高始终贴近，不再一头长一头短） */
.masonry {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 26px); align-items: start;
}
.masonry-col {
  display: flex; flex-direction: column;
  gap: clamp(16px, 2.4vw, 26px); min-width: 0;
}
/* 超长图裁切预览：只露顶部，灯箱看全图 */
.masonry .exhibit.is-crop .frame img {
  max-height: 620px; width: 100%;
  object-fit: cover; object-position: top center;
}
.masonry .exhibit.is-crop .frame::after {
  content: "长图 · 点击放大查看 ↓";
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 48px 16px 12px;
  background: linear-gradient(180deg, transparent, rgba(8, 8, 12, .9));
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em;
  color: rgba(242, 240, 236, .92); text-align: center; pointer-events: none;
  border-radius: 0 0 2px 2px;
}

/* ── 出口 · 观展回执 ──────────────────────── */
.exit { text-align: center; min-height: 86vh; display: flex; align-items: center; }
.exit-inner { width: 100%; }
.exit-kicker {
  font-family: var(--mono); font-size: 10px; letter-spacing: .4em; color: var(--dim);
}
.exit h2 { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.exit-en {
  font-family: "Great Vibes", "Snell Roundhand", "Brush Script MT", cursive;
  font-size: clamp(72px, 11vw, 150px); font-weight: 400; line-height: 1.1;
  background: var(--neon); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 0 30px rgba(255, 77, 141, .3));
}
.exit-zh {
  font-family: var(--mono); font-size: 13px; letter-spacing: .4em; color: var(--dim);
}
.exit-note { margin-top: 28px; color: var(--dim); font-size: 14.5px; }
.contact-cards {
  display: flex; justify-content: center; gap: clamp(14px, 2vw, 24px);
  margin-top: 34px; flex-wrap: wrap;
}
.contact-card {
  min-width: 200px; padding: 20px 30px;
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius);
}
.contact-card span {
  display: block; font-family: var(--mono); font-size: 9px;
  letter-spacing: .34em; color: var(--dim); margin-bottom: 8px;
}
.contact-card b { font-size: 16px; letter-spacing: .06em; border-bottom: 1px dashed rgba(255, 255, 255, .3); padding-bottom: 2px; }
.site-footer {
  margin-top: clamp(60px, 10vh, 100px);
  display: flex; align-items: center; justify-content: center; gap: 22px;
  font-family: var(--mono); font-size: 9px; letter-spacing: .3em; color: var(--dim);
}
.f-marks { color: rgba(255, 179, 61, .8); }

/* ── 灯箱 · 可缩放查看器 ──────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(5, 5, 8, .95);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; flex-direction: column;
  padding: 20px; animation: fadegate .3s ease both;
}
.lightbox[hidden] { display: none; }
.lightbox-stage {
  position: relative; flex: 1; min-height: 0; width: 100%;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; border-radius: 4px;
  touch-action: none; /* 手势全部接管：滚轮 / 拖拽 / 双指 */
}
.lightbox-stage img {
  max-width: min(1100px, 94vw); max-height: 100%; width: auto; height: auto;
  border-radius: 4px; box-shadow: 0 30px 90px -30px rgba(0, 0, 0, .9);
  transform-origin: 0 0; will-change: transform;
  user-select: none; -webkit-user-select: none; -webkit-user-drag: none;
}
.lightbox-stage img.anim { transition: transform .28s cubic-bezier(.2, .7, .2, 1); }
.lightbox-stage:not(.is-pan) img { cursor: zoom-in; }
.lightbox-stage.is-pan { cursor: grab; }
.lightbox-stage.is-pan.is-dragging { cursor: grabbing; }
.lightbox-meta {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 0 2px;
}
.lightbox-meta p {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .18em; color: var(--dim);
}
.lightbox-meta .lightbox-hint { font-size: 10px; letter-spacing: .12em; opacity: .65; }
.lightbox-tools {
  position: absolute; right: 24px; bottom: 26px; z-index: 5;
  display: flex; align-items: center; gap: 4px;
  background: rgba(16, 16, 20, .85);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.lightbox-tools button,
.lightbox-tools .lt-pct {
  font-family: var(--mono); font-size: 12.5px; color: var(--ink);
  background: transparent; border: 0; border-radius: 999px;
  min-width: 34px; height: 30px; padding: 0 8px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .25s, color .25s;
}
.lightbox-tools button:hover { background: rgba(255, 255, 255, .12); }
.lightbox-tools .lt-pct {
  min-width: 58px; color: var(--dim);
}
.lightbox-tools .lt-pct:hover { color: var(--ink); background: rgba(255, 255, 255, .07); }
.lightbox-close {
  position: absolute; top: 18px; right: 24px; z-index: 6;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--glass); border: 1px solid var(--line);
  color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer;
  transition: border-color .3s, transform .3s;
}
.lightbox-close:hover { border-color: var(--pink); transform: rotate(90deg); }
@keyframes fadegate { from { opacity: 0; } to { opacity: 1; } }

/* ── 渐显（灯管亮起） ─────────────────────── */
.reveal { opacity: 0; transform: translateY(30px); filter: blur(5px); }
.reveal.in {
  opacity: 1; transform: translateY(0); filter: blur(0);
  transition: opacity .85s ease, transform .85s cubic-bezier(.2, .7, .2, 1), filter .85s ease;
}

/* ── 响应式 ───────────────────────────────── */
@media (max-width: 1080px) {
  .mgmt-steps { grid-template-columns: repeat(3, 1fr); }
  .method-cards { grid-template-columns: repeat(2, 1fr); }
  .masonry { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nowshowing { display: none; }
  .topbar-nav { display: none; }
  .profile-grid { grid-template-columns: 1fr; }
  .index-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .span6, .span12 { grid-column: span 12; }
  .wall { grid-template-columns: 1fr; }
  .hall-meta { flex-direction: column; gap: 14px; }
  .hall-title { gap: 12px; }
}
@media (max-width: 640px) {
  .masonry { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .lightbox { padding: 12px; }
  .lightbox-meta .lightbox-hint { display: none; }
  .lightbox-tools { right: 16px; bottom: 70px; }
  .mgmt-steps { grid-template-columns: 1fr 1fr; }
  .method-cards { grid-template-columns: 1fr; }
  .hero-plaque { display: none; animation: none; }
  .index-cards { grid-template-columns: 1fr; }
  .index-card { aspect-ratio: auto; min-height: 130px; }
  .hero-kicker { font-size: 9px; letter-spacing: .2em; }
  .hero-en { letter-spacing: .26em; }
  .hero-sub { letter-spacing: .34em; text-indent: .34em; }
}

/* ── 动效降级 ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora i, .hero-scroll i { animation: none; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  * { transition-duration: .01ms !important; }
}
