/* ============================================================
   见山艺术空间 · 高保真静态原型
   移动端优先 / 资源全部本地化 / 无任何外部依赖
   ============================================================ */

/* ---------- 设计变量 ---------- */
:root {
  --paper: #f4f1ea;
  --paper-deep: #eae5d9;
  --ink: #17150f;
  --ink-soft: #3b3830;
  --muted: #76705f;
  --line: rgba(23, 21, 15, 0.16);
  --line-soft: rgba(23, 21, 15, 0.08);
  --accent: #a8442a;
  --accent-soft: #c96a4d;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 60px;
  --gutter: 20px;
  --maxw: 1240px;
}

/* ---------- 基础 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

::selection { background: var(--ink); color: var(--paper); }

:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 4px;
}

/* ---------- 排版 ---------- */
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }

.display {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.01em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}

.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(22px, 5vw, 34px);
  font-weight: 500;
  line-height: 1.2;
  margin-top: 10px;
}

.section-no {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  white-space: nowrap;
  padding-bottom: 6px;
}

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.more-link:hover { color: var(--accent); border-color: var(--accent); }

.arrow {
  display: inline-block;
  width: 14px;
  height: 10px;
  flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M0 6h13M9 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M0 6h13M9 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: transform 0.35s var(--ease);
}

.more-link:hover .arrow { transform: translateX(4px); }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: 64px 0; }
.section--tight { padding: 44px 0; }

/* ---------- 头部导航 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(244, 241, 234, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: transform 0.4s var(--ease);
}

.site-header.is-hidden { transform: translateY(-100%); }

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.06em;
}

.brand small {
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.3em;
  color: var(--muted);
}

.brand-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  align-self: center;
}

.site-nav { display: none; }

.menu-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-right: -8px;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.2s;
}

.menu-btn span::before { transform: translateY(-6px); }
.menu-btn span::after { transform: translateY(5px); }

body.menu-open .menu-btn span { background: transparent; }
body.menu-open .menu-btn span::before { transform: translateY(0) rotate(45deg); }
body.menu-open .menu-btn span::after { transform: translateY(-1px) rotate(-45deg); }

/* 移动端抽屉 */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 55;
  background: var(--paper);
  padding: 40px var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}

body.menu-open .mobile-nav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav a {
  font-family: var(--serif);
  font-size: 28px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}

.mobile-nav .mobile-nav-meta {
  margin-top: auto;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
  line-height: 2.2;
}

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  min-height: 88svh;
  padding-top: var(--header-h);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #111;
  color: #f6f3ec;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
  transform: scale(1.02);
  animation: hero-in 1.8s var(--ease) both;
}

@keyframes hero-in {
  from { transform: scale(1.08); opacity: 0; }
  to { transform: scale(1.02); opacity: 1; }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 11, 9, 0.5) 0%, rgba(12, 11, 9, 0.08) 32%, rgba(12, 11, 9, 0.72) 100%),
    linear-gradient(90deg, rgba(12, 11, 9, 0.35) 0%, rgba(12, 11, 9, 0) 55%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 40px;
}

.hero .eyebrow { color: rgba(246, 243, 236, 0.72); }

.hero-title {
  font-size: clamp(38px, 11vw, 78px);
  margin: 18px 0 20px;
  max-width: 12em;
}

.hero-title em {
  font-style: normal;
  color: #e6c9a8;
}

.hero-sub {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: rgba(246, 243, 236, 0.78);
  max-width: 34em;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid rgba(246, 243, 236, 0.45);
  font-size: 12px;
  letter-spacing: 0.14em;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn:hover { background: #f6f3ec; color: #14120e; border-color: #f6f3ec; }

.btn--ghost { border-color: transparent; color: rgba(246, 243, 236, 0.8); padding-left: 4px; }
.btn--ghost:hover { background: none; color: #fff; }

.hero-foot {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0 18px;
  border-top: 1px solid rgba(246, 243, 236, 0.2);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(246, 243, 236, 0.6);
}

.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.scroll-hint::after {
  content: "";
  width: 1px;
  height: 24px;
  background: linear-gradient(rgba(246, 243, 236, 0.1), rgba(246, 243, 236, 0.8));
  animation: hint 2.2s var(--ease) infinite;
}

@keyframes hint {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
}

/* ---------- 当前展览 ---------- */
.feature {
  display: grid;
  gap: 26px;
}

.feature-media {
  position: relative;
  overflow: hidden;
  background: var(--paper-deep);
}

.feature-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.feature-media:hover img { transform: scale(1.03); }

.feature-media .tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  background: rgba(244, 241, 234, 0.92);
  font-size: 9.5px;
  letter-spacing: 0.22em;
}

.feature-body h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 7vw, 46px);
  font-weight: 500;
  line-height: 1.18;
  margin: 14px 0 6px;
}

.feature-body .en {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

.feature-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 22px 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-soft);
}

.feature-meta span { display: inline-flex; gap: 8px; }
.feature-meta b { font-weight: 500; color: var(--muted); letter-spacing: 0.08em; }

.feature-desc { color: var(--ink-soft); font-size: 14px; }

.feature-body .more-link { margin-top: 24px; }

/* ---------- 展览档案 ---------- */
.archive { border-top: 1px solid var(--line); }

.archive-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 6px 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.35s var(--ease), background 0.35s var(--ease);
}

.archive-item:hover { padding-left: 10px; }

.archive-item .year {
  grid-row: span 2;
  font-family: var(--serif);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.archive-item h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
}

.archive-item p {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.archive-item .arrow { opacity: 0.45; transition: opacity 0.3s, transform 0.35s var(--ease); }
.archive-item:hover .arrow { opacity: 1; transform: translateX(4px); }

/* ---------- 关于 / 参观 ---------- */
.about { background: var(--paper-deep); }

.about-grid { display: grid; gap: 30px; }

.about-text { font-family: var(--serif); font-size: clamp(19px, 3.4vw, 25px); line-height: 1.75; }

.about-text em { font-style: normal; color: var(--accent); }

.info-list {
  display: grid;
  gap: 16px;
  font-size: 12.5px;
}

.info-list div { display: grid; grid-template-columns: 72px 1fr; gap: 12px; }
.info-list dt, .info-list .k { color: var(--muted); letter-spacing: 0.16em; font-size: 10px; padding-top: 3px; }

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 30px;
  font-size: 11px;
  color: var(--muted);
}

.footer-top {
  display: grid;
  gap: 24px;
  margin-bottom: 34px;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--ink);
  line-height: 1.3;
}

.footer-brand small { display: block; font-family: var(--sans); font-size: 9px; letter-spacing: 0.3em; color: var(--muted); margin-top: 8px; }

.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer-links a { border-bottom: 1px solid transparent; padding-bottom: 2px; }
.footer-links a:hover { border-color: var(--line); color: var(--ink); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 10px;
  letter-spacing: 0.08em;
}

/* ---------- 内页：展览页 ---------- */
.page-head { padding: calc(var(--header-h) + 36px) 0 26px; }

.crumb {
  display: flex;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 26px;
}

.crumb a:hover { color: var(--ink); }

.page-title {
  font-size: clamp(34px, 9vw, 68px);
  margin: 12px 0 14px;
}

.page-title-en {
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-lead {
  margin-top: 22px;
  font-size: 14.5px;
  color: var(--ink-soft);
  max-width: 46em;
}

.meta-table {
  display: grid;
  gap: 0;
  margin: 30px 0 0;
  border-top: 1px solid var(--line);
}

.meta-table div {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
}

.meta-table .k { font-size: 10px; letter-spacing: 0.2em; color: var(--muted); padding-top: 4px; }

.cover {
  margin-top: 30px;
  overflow: hidden;
  background: var(--paper-deep);
}

.cover img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* ---------- 作品网格 ---------- */
.works { border-top: 1px solid var(--line); }

.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 34px 18px;
}

.work-card { display: block; position: relative; }

.work-card .frame {
  overflow: hidden;
  background: var(--paper-deep);
}

.work-card img {
  width: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.6s var(--ease);
  filter: saturate(0.96);
}

.work-card:hover img { transform: scale(1.035); filter: saturate(1.02); }

.work-card[data-ratio="tall"] img { aspect-ratio: 3 / 4; }
.work-card[data-ratio="square"] img { aspect-ratio: 1 / 1; }
.work-card[data-ratio="wide"] img { aspect-ratio: 4 / 3; }

.work-card figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
}

.work-card .work-title {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.4;
}

.work-card .work-title small {
  display: block;
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 5px;
}

.work-card .work-no {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted);
  white-space: nowrap;
}

/* ---------- 引文 ---------- */
.pull-quote {
  padding: 46px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pull-quote blockquote {
  font-family: var(--serif);
  font-size: clamp(20px, 4.6vw, 32px);
  line-height: 1.6;
}

.pull-quote cite {
  display: block;
  margin-top: 18px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
}

/* ---------- 内页：作品详情 ---------- */
.work-page { padding-top: var(--header-h); }

.work-hero { display: grid; gap: 26px; padding: 26px 0 10px; }

.work-figure {
  position: relative;
  background: var(--paper-deep);
  overflow: hidden;
}

.work-figure img {
  width: 100%;
  max-height: 74svh;
  object-fit: contain;
  background: #e7e2d6;
  cursor: zoom-in;
}

.work-figure .frame-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 2px 0;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.work-info .eyebrow { margin-bottom: 14px; }

.work-info h1 {
  font-size: clamp(30px, 8vw, 50px);
  line-height: 1.15;
}

.work-info .byline {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}

.spec {
  margin-top: 26px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.spec div {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
}

.spec .k { font-size: 10px; letter-spacing: 0.2em; color: var(--muted); padding-top: 4px; }

.work-desc { margin-top: 26px; font-size: 14.5px; color: var(--ink-soft); }
.work-desc p + p { margin-top: 1em; }

.artist-card {
  margin-top: 30px;
  padding: 20px;
  background: var(--paper-deep);
}

.artist-card h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
}

.artist-card p { font-size: 12.5px; color: var(--ink-soft); }

.work-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 48px 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.work-nav a { display: grid; gap: 6px; }
.work-nav a:last-child { text-align: right; }
.work-nav .k { font-size: 9.5px; letter-spacing: 0.2em; color: var(--muted); }
.work-nav .t { font-family: var(--serif); font-size: 16px; }
.work-nav a:hover .t { color: var(--accent); }

.same-show { margin-top: 46px; }
.same-show .mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 18px; }
.same-show img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--paper-deep); }
.same-show .t { font-family: var(--serif); font-size: 13px; display: block; margin-top: 8px; }
.same-show .k { font-size: 9.5px; letter-spacing: 0.14em; color: var(--muted); }

/* ---------- 灯箱 ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 5vmin;
  background: rgba(12, 11, 9, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}

.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.97);
  transition: transform 0.35s var(--ease);
}

.lightbox.is-open img { transform: scale(1); }

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  color: #f4f1ea;
  font-size: 22px;
  line-height: 1;
}

/* ---------- 滚动出现 ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- 空内容：后台未填写的板块整块不渲染 ---------- */
.is-empty { display: none !important; }

/* ---------- 嵌入模式（全景展厅 iframe / 浮层） ---------- */
body.embed {
  background: #f4f1ea;
}

body.embed .site-header,
body.embed .mobile-nav,
body.embed .site-footer,
body.embed .work-nav,
body.embed .work-page > .crumb,
body.embed .embed-hide {
  display: none !important;
}

/* 按浮层可用高度排版：整屏铺满、图文垂直居中，避免重心偏上、下方留白 */
body.embed .work-page { padding-top: 0; }

body.embed .work-hero {
  min-height: 100vh;
  min-height: 100svh;
  padding: 20px 0;
  align-items: center;
}

body.embed .wrap { padding-left: 20px; padding-right: 20px; }

body.embed .work-figure { background: transparent; }

body.embed .work-figure img {
  width: auto;
  max-width: 100%;
  max-height: 52svh;
  margin: 0 auto;
  background: transparent;
}

body.embed .work-figure .frame-caption { justify-content: center; gap: 18px; }

body.embed .work-info { position: static; }
body.embed .work-info h1 { font-size: clamp(26px, 3.2vw, 44px); }
body.embed .spec { margin-top: 20px; }
body.embed .spec div { padding: 8px 0; }
body.embed .work-desc { margin-top: 18px; }
body.embed .artist-card { margin-top: 20px; padding: 16px; }

/* 桌面横屏浮层：作品图随浮层高度缩放 */
@media (min-width: 760px) {
  body.embed { height: 100svh; overflow: hidden; }
  body.embed .work-page { height: 100svh; overflow: hidden; }
  body.embed .work-page > .wrap { height: 100%; }
  body.embed .wrap { max-width: 1440px; }

  body.embed .work-hero {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    gap: clamp(28px, 4vw, 64px);
    padding: 24px 0;
    height: 100svh;
    min-height: 0;
    align-items: center;
  }

  /* 信息较多（如摄影规格）时在浮层内部滚动，避免整页撑高留下空白 */
  body.embed .work-info {
    max-height: calc(100svh - 48px);
    overflow-y: auto;
    padding-right: 6px;
    scrollbar-width: thin;
  }

  body.embed .work-figure {
    height: calc(100svh - 48px);
    display: flex;
    flex-direction: column;
  }

  body.embed .work-figure img {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    object-fit: contain;
  }
}

/* ---------- 响应式 ---------- */
@media (min-width: 560px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .work-card:nth-child(2) { margin-top: 28px; }
  .same-show .mini-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 760px) {
  :root { --gutter: 32px; --header-h: 72px; }
  body { font-size: 16px; }

  .site-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 11.5px;
    letter-spacing: 0.16em;
  }

  .site-nav a { position: relative; padding: 4px 0; color: var(--ink-soft); }
  .site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease);
  }
  .site-nav a:hover::after,
  .site-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
  .site-nav a[aria-current="page"] { color: var(--ink); }

  .menu-btn, .mobile-nav { display: none; }

  .hero { min-height: 92svh; }
  .hero-media img { object-position: 55% 50%; }
  .hero-inner { padding-bottom: 56px; }
  .hero-sub { font-size: 13.5px; }

  .feature { grid-template-columns: 1.15fr 1fr; align-items: center; gap: 46px; }
  .feature-body { padding: 10px 0; }

  .about-grid { grid-template-columns: 1.25fr 1fr; gap: 56px; }

  .footer-top { grid-template-columns: 1.2fr 1fr; align-items: end; }

  .page-head { padding-top: calc(var(--header-h) + 60px); }

  .archive-item { grid-template-columns: 90px 1fr auto; }
  .archive-item .year { grid-row: auto; }

  .work-hero { grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: start; }
  .work-info { position: sticky; top: calc(var(--header-h) + 30px); }

  .work-figure img { max-height: 82svh; }

  /* 摄影等字段较多的作品：规格两列排布 */
  .spec--two { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }

  .work-nav { margin-top: 64px; }
}

@media (min-width: 1024px) {
  .section { padding: 96px 0; }
  .section--tight { padding: 64px 0; }

  .hero-title { font-size: clamp(52px, 6.4vw, 84px); }

  .feature { grid-template-columns: 1.25fr 1fr; gap: 72px; }
  .feature-media img { aspect-ratio: 5 / 4; }

  /* 三列：取消错位，避免半张图的落差 */
  .work-grid { grid-template-columns: repeat(3, 1fr); gap: 48px 28px; }

  .work-card .work-title { font-size: 19px; }

  .work-hero { grid-template-columns: 1.25fr 0.75fr; gap: 72px; }

  .meta-table { grid-template-columns: repeat(2, 1fr); gap: 0 40px; }

  .page-lead { font-size: 15.5px; }

  .pull-quote { padding: 72px 0; }
}

@media (min-width: 1280px) {
  .hero-inner { padding-bottom: 72px; }
}

/* ---------- 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 内页：参观 / 关于 / 全部展览 ---------- */
.page-body { display: grid; gap: 34px; }

.page-body--single { max-width: 820px; }

.page-content {
  font-size: 15px;
  line-height: 1.95;
  color: var(--ink-soft);
}

.page-content p { margin: 0 0 18px; }
.page-content p:last-child { margin-bottom: 0; }
.page-content h2,
.page-content h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  margin: 28px 0 12px;
  font-size: 20px;
}
.page-content img { margin: 8px 0 20px; }

.page-note {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* 分页 */
.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.pager-btn {
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.pager-btn:hover { color: var(--accent); border-color: var(--accent); }
.pager-btn.is-disabled { color: var(--muted); opacity: 0.45; border-color: transparent; }
.pager-btn.is-current { color: var(--accent); border-color: var(--accent); }
.pager-info { font-family: var(--serif); color: var(--muted); letter-spacing: 0.16em; }
.archive-empty { padding: 22px 0; color: var(--muted); font-size: 13px; }

@media (min-width: 760px) {
  .page-body {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    gap: 60px;
    align-items: start;
  }
  .page-body--single { grid-template-columns: 1fr; }
}

/* ---------- 站点标识：空值不占位 ---------- */
.brand-name:empty { display: none; }
.brand-name:empty + .brand-dot { display: none; }

/* ---------- 栏目页头图 ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 34px) 0 40px;
  overflow: hidden;
  background: var(--paper-deep);
}

.page-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero.is-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 11, 9, 0.58) 0%, rgba(12, 11, 9, 0.42) 45%, rgba(12, 11, 9, 0.82) 100%);
}

.page-hero-inner { position: relative; z-index: 2; }

.page-hero.is-media { color: #f6f3ec; }
.page-hero.is-media .page-title,
.page-hero.is-media .page-title-en { color: #f6f3ec; }
.page-hero.is-media .eyebrow,
.page-hero.is-media .crumb,
.page-hero.is-media .crumb a,
.page-hero.is-media .page-lead { color: rgba(246, 243, 236, 0.8); }

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.page-hero-meta b {
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-right: 10px;
}

.page-hero.is-media .page-hero-meta { border-color: rgba(246, 243, 236, 0.25); }
.page-hero.is-media .page-hero-meta b { color: rgba(246, 243, 236, 0.6); }

.page-hero-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 11px 20px;
  border: 1px solid currentColor;
  font-size: 12px;
  letter-spacing: 0.14em;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-hero-action:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.page-hero.is-media .page-hero-action:hover { background: #f6f3ec; color: #14120e; border-color: #f6f3ec; }

/* ---------- 展览档案条目：无日期 ---------- */
.archive-item { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.archive-item h3 { grid-column: 1; }
.archive-item p { grid-column: 1; }
.archive-item .arrow { grid-column: 2; grid-row: 1 / span 2; }

/* ---------- 首页关于：单栏 ---------- */
.about-grid--single { grid-template-columns: 1fr; }

@media (min-width: 760px) {
  .about-grid.about-grid--single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 760px;
  }
}

/* ---------- 展览页标题行右侧操作 ---------- */

/* ---------- 展览页标题行右侧操作 ---------- */
.section-head-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: 4px;
}

.pano-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--accent);
  color: #f7f2e8;
  font-size: 12px;
  letter-spacing: 0.12em;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.pano-inline:hover { background: var(--ink); color: var(--paper); }
.pano-inline .arrow { width: 12px; }

@media (max-width: 560px) {
  .section-head-actions { width: 100%; justify-content: space-between; }
}

/* ---------- 作品图集 ---------- */
.work-gallery { margin-top: 56px; }
.work-gallery .eyebrow { margin: 0 0 18px; }
.work-gallery-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.work-gallery-item { margin: 0; overflow: hidden; background: rgba(0,0,0,.03); cursor: zoom-in; }
.work-gallery-item img { display: block; width: 100%; height: auto; transition: transform .6s ease; }
.work-gallery-item:hover img { transform: scale(1.02); }
.local-back { margin: 34px 0 0; font-size: 12px; letter-spacing: .1em; }
.local-back a { border-bottom: 1px solid currentColor; }
.local-bar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 24px; background: rgba(244, 241, 234, 0.94);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(8px);
}
.local-bar-title { font-family: var(--serif); font-size: 15px; letter-spacing: .02em; }
.local-bar-back { font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.local-bar-back:hover { color: var(--accent); }
.local-foot { margin-top: 56px; padding: 32px 24px 44px; border-top: 1px solid var(--line); text-align: center; font-size: 11px; letter-spacing: .14em; color: var(--muted); }
.local-pack .work-page { padding-top: 0; }
@media (min-width: 560px) { .work-gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .work-gallery-grid { grid-template-columns: repeat(3, 1fr); } }
