/* ============================================================================
 * 摄影作品集 —— 全站样式
 * 无第三方依赖，纯 CSS 变量驱动，默认深色，可切换浅色。
 * ==========================================================================*/

/* ---------------------------------------------------------------- 变量 / 主题 */
:root {
  --bg: #0a0a0c;
  --bg-soft: #101014;
  --bg-elev: #16161b;
  --fg: #ecedf1;
  --fg-dim: #a7a7b2;
  --muted: #74747f;
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.06);
  --accent: #c9a97c;
  --accent-soft: rgba(201, 169, 124, 0.16);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.85);
  --scrim: rgba(6, 6, 8, 0.62);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC",
    "Times New Roman", Georgia, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --maxw: 1320px;
  --gutter: clamp(18px, 4vw, 48px);
  --header-h: 68px;
  --radius: 3px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

:root[data-theme="light"] {
  --bg: #f7f5f2;
  --bg-soft: #ffffff;
  --bg-elev: #ffffff;
  --fg: #16161a;
  --fg-dim: #4a4a54;
  --muted: #7b7b86;
  --line: rgba(0, 0, 0, 0.12);
  --line-soft: rgba(0, 0, 0, 0.07);
  --accent: #8a6b3c;
  --accent-soft: rgba(138, 107, 60, 0.12);
  --shadow: 0 20px 50px -28px rgba(0, 0, 0, 0.35);
  --scrim: rgba(255, 255, 255, 0.72);
}

/* --------------------------------------------------------------- 基础重置 */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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; }

h1, h2, h3, h4 { font-weight: 500; line-height: 1.2; margin: 0; letter-spacing: 0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--accent); color: #0a0a0c; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* 跳到主内容（无障碍） */
.skip-link {
  position: absolute;
  left: 50%; top: 8px;
  transform: translate(-50%, -160%);
  background: var(--accent); color: #0a0a0c;
  padding: 8px 16px; border-radius: 2px; z-index: 200;
  font-size: 13px; transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* -------------------------------------------------------------- 布局工具 */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}

.section { padding: clamp(64px, 11vh, 140px) 0; }
.section--tight { padding: clamp(44px, 7vh, 88px) 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 5vw, 56px);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
}

.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
}

.section-head p { color: var(--fg-dim); max-width: 46ch; font-size: 15px; }

.link-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg-dim);
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.link-more:hover { color: var(--accent); border-color: var(--accent); }
.link-more::after { content: "→"; transition: transform 0.25s var(--ease); }
.link-more:hover::after { transform: translateX(4px); }

/* ------------------------------------------------------------------- 顶栏 */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .site-header { background: var(--bg); }
}

.site-header .wrap { display: flex; align-items: center; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
/* logo 原图是纯黑，深色主题下反白；浅色主题保持黑色 */
.brand__logo { height: 26px; width: auto; display: block; filter: invert(1); }
:root[data-theme="light"] .brand__logo { filter: none; }
.brand__en {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.28em;
  color: var(--muted); text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--fg-dim);
  transition: color 0.22s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:hover { color: var(--fg); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--fg); }

.icon-btn {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--fg-dim);
  transition: color 0.22s var(--ease), border-color 0.22s var(--ease), transform 0.22s var(--ease);
}
.icon-btn:hover { color: var(--fg); border-color: var(--fg-dim); }
.icon-btn:active { transform: scale(0.94); }
.icon-btn svg { width: 17px; height: 17px; }
:root[data-theme="light"] .icon-moon { display: none; }
:root:not([data-theme="light"]) .icon-sun { display: none; }

.nav-toggle { display: none; }

/* 移动端抽屉 */
@media (max-width: 760px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch;
    gap: 0;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    transform: translateY(-12px);
    opacity: 0; visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav a { padding: 14px 2px; font-size: 16px; border-bottom: 1px solid var(--line-soft); }
  .nav a::after { display: none; }
  .nav-toggle { display: grid; }
}

/* --------------------------------------------------------------------- 首屏 */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transform: scale(1.06);
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(4, 4, 6, 0.55) 0%, rgba(4, 4, 6, 0.05) 32%, rgba(4, 4, 6, 0.72) 88%, var(--bg) 100%);
}
.hero__inner { padding-bottom: clamp(48px, 10vh, 108px); width: 100%; }
/* 首屏主视觉：logo 图形。首屏始终是深色照片底，因此固定反白 */
.hero__logo { margin: 0 0 22px; }
.hero__logo img {
  width: clamp(190px, 26vw, 320px);
  height: auto;
  display: block;
  filter: invert(1) drop-shadow(0 2px 26px rgba(0, 0, 0, 0.5));
}
.hero__line {
  display: flex; align-items: center; gap: 14px;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(14px, 1.6vw, 17px);
  margin-bottom: 26px;
}
.hero__line span { display: inline-block; }
.hero__line .dot { width: 26px; height: 1px; background: var(--accent); flex: none; }
.hero__meta {
  display: flex; gap: 26px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.62);
  padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.16);
  max-width: 640px;
}
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: clamp(48px, 10vh, 108px);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.6); text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero__scroll::after {
  content: ""; width: 1px; height: 56px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), transparent);
  animation: scrollPulse 2.4s var(--ease) infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.25; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}
@media (max-width: 860px) { .hero__scroll { display: none; } }

/* --------------------------------------------------------------- 精选作品 */
.featured {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3.4vw, 48px);
}
.featured > *:nth-child(4n + 2) { transform: translateY(clamp(18px, 5vw, 72px)); }
@media (max-width: 700px) {
  .featured { grid-template-columns: 1fr; }
  .featured > *:nth-child(4n + 2) { transform: none; }
}

/* 作品卡片（精选 / 作品集共用） */
.card {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  padding: 0;
  overflow: hidden;
  background: var(--bg-soft);
  border-radius: var(--radius);
  break-inside: avoid;
  margin-bottom: clamp(14px, 2.2vw, 28px);
}
.featured .card { margin-bottom: 0; }

.card__frame {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
  background: var(--bg-elev);
  aspect-ratio: var(--ar, 3 / 2);
}
.card__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 0.9s var(--ease), filter 0.5s var(--ease);
  filter: saturate(0.96);
  will-change: transform;
}
.card:hover .card__frame img,
.card:focus-visible .card__frame img { transform: scale(1.045); filter: saturate(1.04); }

.card__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(4, 4, 6, 0.78) 100%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}
.card:hover .card__shade, .card:focus-visible .card__shade { opacity: 1; }

.card__tag {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(8, 8, 10, 0.5);
  backdrop-filter: blur(6px);
  padding: 5px 10px; border-radius: 2px;
  opacity: 0; transform: translateY(-6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.card:hover .card__tag, .card:focus-visible .card__tag { opacity: 1; transform: translateY(0); }

.card__exif {
  position: absolute; left: 16px; right: 16px; bottom: 14px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.card:hover .card__exif, .card:focus-visible .card__exif { opacity: 1; transform: translateY(0); }
.card__exif em { font-style: normal; opacity: 0.72; }

.card__body { padding: 14px 2px 0; }
.card__title {
  font-family: var(--font-serif);
  font-size: clamp(15px, 1.5vw, 18px);
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
}
.card__title span {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em;
  color: var(--muted); text-transform: uppercase;
}
.card__sub {
  margin-top: 4px;
  font-size: 12.5px; color: var(--muted);
  display: flex; gap: 10px; flex-wrap: wrap;
}

/* --------------------------------------------------------------- 分类入口 */
.cats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.cat {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 34px;
  padding: 26px 24px 22px;
  background: var(--bg);
  overflow: hidden;
  transition: background 0.35s var(--ease);
  min-height: 176px;
}
.cat::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.cat:hover { background: var(--bg-soft); }
.cat:hover::before { transform: scaleX(1); }
.cat__en {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--muted);
}
.cat__name { font-family: var(--font-serif); font-size: 24px; margin-top: 6px; }
.cat__count { font-family: var(--font-mono); font-size: 11px; color: var(--accent); }

/* ---------------------------------------------------------------- 作品集页 */
.page-head {
  padding-top: calc(var(--header-h) + clamp(48px, 9vh, 104px));
  padding-bottom: clamp(24px, 4vh, 44px);
}
.page-head h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 3.6rem);
  margin-bottom: 16px;
}
.page-head p { color: var(--fg-dim); max-width: 52ch; }

.filters {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 16px 0;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: clamp(24px, 4vw, 40px);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .filters { background: var(--bg); }
}
.chip {
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--fg-dim);
  transition: all 0.24s var(--ease);
}
.chip:hover { color: var(--fg); border-color: var(--fg-dim); }
.chip[aria-pressed="true"] {
  background: var(--fg); color: var(--bg); border-color: var(--fg);
}
.filters__count {
  margin-left: auto;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  color: var(--muted);
}

.masonry { columns: 3; column-gap: clamp(14px, 2.2vw, 28px); }
@media (max-width: 1000px) { .masonry { columns: 2; } }
@media (max-width: 620px) { .masonry { columns: 1; } }

.card.is-hidden { display: none; }
.card.is-entering { animation: cardIn 0.5s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } }

.empty {
  padding: 80px 0; text-align: center; color: var(--muted);
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.1em;
}

/* ------------------------------------------------------------------ 关于页 */
.about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }

.about__lead {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  line-height: 1.65;
  margin-bottom: 26px;
}
.about__text { color: var(--fg-dim); max-width: 60ch; }
.about__portrait { position: relative; }
.about__portrait img { border-radius: var(--radius); }

.facts { border-top: 1px solid var(--line-soft); margin-top: 34px; }
.facts div {
  display: flex; gap: 20px; justify-content: space-between;
  padding: 13px 0; border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}
.facts dt, .facts span:first-child { color: var(--muted); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.facts span:last-child { color: var(--fg-dim); text-align: right; }

.gear {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft);
}
.gear article { background: var(--bg); padding: 24px 22px; }
.gear h3 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.gear ul { margin: 0; padding: 0; list-style: none; color: var(--fg-dim); font-size: 14px; }
.gear li { padding: 6px 0; border-bottom: 1px dashed var(--line-soft); }
.gear li:last-child { border-bottom: 0; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  display: grid; grid-template-columns: 110px 1fr; gap: 20px;
  padding: 18px 0; border-bottom: 1px solid var(--line-soft);
}
.timeline time { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--accent); padding-top: 5px; }
.timeline strong { display: block; font-weight: 500; margin-bottom: 3px; }
.timeline span { color: var(--muted); font-size: 13.5px; }
@media (max-width: 560px) { .timeline li { grid-template-columns: 1fr; gap: 6px; } }

/* ------------------------------------------------------------------ 联系条 */
.contact {
  text-align: center;
  border-top: 1px solid var(--line-soft);
}
.contact h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 5vw, 3rem);
  margin-bottom: 18px;
}
.contact p { color: var(--fg-dim); margin-bottom: 30px; }
.contact__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px;
  border: 1px solid var(--line);
  font-size: 13.5px; letter-spacing: 0.1em;
  transition: all 0.28s var(--ease);
}
.btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--solid { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn--solid:hover { background: var(--accent); border-color: var(--accent); color: #0a0a0c; }

/* -------------------------------------------------------------------- 灯箱 */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column;
  background: rgba(6, 6, 8, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.32s var(--ease), visibility 0.32s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }

.lb-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(14px, 3vw, 28px);
  color: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex: none;
}
.lb-count { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.22em; }
.lb-count b { color: #fff; font-weight: 500; }
.lb-actions { display: flex; align-items: center; gap: 6px; }
.lb-actions button, .lb-actions a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 13px; font-size: 12.5px;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  transition: all 0.22s var(--ease);
}
.lb-actions button:hover, .lb-actions a:hover { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.lb-actions button[aria-pressed="true"] { background: rgba(255, 255, 255, 0.92); color: #0a0a0c; border-color: transparent; }

.lb-stage {
  flex: 1; min-height: 0;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(12px, 3vw, 34px);
  margin: 0;
}
.lb-stage img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.9);
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.lb-stage img.is-ready { opacity: 1; transform: scale(1); }

.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; z-index: 2;
  display: grid; place-items: center;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(12, 12, 14, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  transition: all 0.24s var(--ease);
}
.lb-nav:hover { color: #fff; background: rgba(24, 24, 28, 0.8); }
.lb-nav svg { width: 18px; height: 18px; }
.lb-prev { left: clamp(10px, 2.4vw, 30px); }
.lb-next { right: clamp(10px, 2.4vw, 30px); }
@media (max-width: 620px) { .lb-nav { width: 44px; height: 44px; } }

.lb-info {
  flex: none;
  max-height: 0;
  overflow: hidden;
  border-top: 1px solid transparent;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
  color: rgba(255, 255, 255, 0.72);
}
.lightbox.show-info .lb-info {
  max-height: 46vh; overflow-y: auto;
  border-top-color: rgba(255, 255, 255, 0.08);
  padding: 20px clamp(16px, 3vw, 30px) 26px;
}
.lb-info__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 40px; align-items: start;
}
.lb-info h3 { font-family: var(--font-serif); font-size: 20px; color: #fff; margin-bottom: 4px; }
.lb-info h3 span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; color: rgba(255, 255, 255, 0.45); text-transform: uppercase; margin-left: 10px; }
.lb-info .note { font-size: 14px; max-width: 58ch; margin-top: 8px; }
.lb-meta { margin: 0; display: grid; grid-template-columns: auto auto; gap: 5px 16px; font-family: var(--font-mono); font-size: 11.5px; }
.lb-meta dt { color: rgba(255, 255, 255, 0.42); letter-spacing: 0.1em; text-transform: uppercase; }
.lb-meta dd { margin: 0; }
@media (max-width: 700px) { .lb-info__grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------- 页脚 */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 44px 0 34px;
  color: var(--muted);
  font-size: 13px;
}
.footer-top {
  display: flex; justify-content: space-between; align-items: center;
  gap: 18px; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-brand__logo { height: 18px; width: auto; display: block; filter: invert(1); }
:root[data-theme="light"] .footer-brand__logo { filter: none; }
.footer-brand__sub { font-size: 12px; color: var(--muted); }
.footer-nav { display: flex; gap: 18px; }
.site-footer a { transition: color 0.22s var(--ease); }
.site-footer a:hover { color: var(--accent); }
.to-top {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
}

/* AI 生成声明（勿删）—— 本站内容为虚构示例，须向访客明示 */
.footer-note {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  text-align: center;
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}
.footer-note p { margin: 0 auto; max-width: 66ch; }
.footer-note .footer-note__title {
  margin-bottom: 5px;
  font-size: 12.5px;
  color: var(--fg-dim);
}
.footer-note__title strong { color: var(--accent); font-weight: 500; letter-spacing: 0.06em; }

/* 备案信息（中国大陆境内网站须展示，勿删）—— 竖排居中 */
.footer-legal {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
  font-size: 12px;
  line-height: 1.7;
}
.footer-legal p { margin: 0; }
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--accent); }
.footer-legal__police { display: inline-flex; align-items: center; gap: 6px; }
.footer-legal__police img { width: 16px; height: 16px; display: block; opacity: 0.9; }

/* ------------------------------------------------------------ 滚动入场动画 */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ 响应式 */
@media (max-width: 520px) {
  .brand__en { display: none; }
  .lb-actions .label { display: none; }
}

/* ------------------------------------------------------------- 偏好与打印 */
@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;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__media img { transform: none; }
}

@media print {
  .site-header, .hero__scroll, .lightbox, .filters { display: none; }
  body { background: #fff; color: #000; }
}
