/* ===================================================================
   光影手记 · Photography Journal
   =================================================================== */
:root {
  --ease: cubic-bezier(.19, .74, .28, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gap: 12px;
  --bar-h: 66px;

  --font-serif: "Songti SC", "STSong", "华文宋体", "Source Han Serif SC", "Noto Serif SC", Georgia, "Times New Roman", serif;
  --font-latin: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-ui: "Jost", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;

  --gold-line: rgba(201, 162, 39, .34);
}

html[data-theme="dark"] {
  --bg: #080706;
  --bg-2: #0c0a09;
  --bg-3: #131110;
  --surface: #14120f;
  --text: #f0eade;
  --text-2: #b6ad9d;
  --muted: #7d7466;
  --line: rgba(240, 234, 222, .1);
  --line-2: rgba(240, 234, 222, .2);
  --gold: #c8a45c;
  --gold-bright: #eed9a8;
  --gold-grad: linear-gradient(102deg, #7a5c25 0%, #d3b478 22%, #f6e8c6 44%, #c8a45c 62%, #8a6a2a 100%);
  --shadow: 0 30px 70px rgba(0, 0, 0, .62);
  --scrim: rgba(8, 7, 6, .6);
}

html[data-theme="light"] {
  --bg: #f3ecdf;
  --bg-2: #ece4d5;
  --bg-3: #f9f4ea;
  --surface: #fbf7ee;
  --text: #1a1611;
  --text-2: #4e4638;
  --muted: #8b806c;
  --line: rgba(26, 22, 17, .12);
  --line-2: rgba(26, 22, 17, .24);
  --gold: #8f6d2a;
  --gold-bright: #a9853c;
  --gold-grad: linear-gradient(102deg, #6d5320 0%, #a8853f 22%, #d8bd85 44%, #9a7833 62%, #6f5522 100%);
  --shadow: 0 26px 60px rgba(70, 55, 30, .16);
  --scrim: rgba(243, 236, 223, .55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background .6s var(--ease), color .6s var(--ease);
}
body.is-loading { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; }
::selection { background: var(--gold); color: #0a0908; }

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 20px; border: 3px solid var(--bg); }

/* 胶片颗粒 */
.grain {
  position: fixed; inset: -50%; z-index: 70; pointer-events: none;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 8s steps(6) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-2%, 1%); }
  40% { transform: translate(1%, -2%); }
  60% { transform: translate(-1%, -1%); }
  80% { transform: translate(2%, 2%); }
  100% { transform: translate(0, 0); }
}

/* 开场 */
.intro {
  position: fixed; inset: 0; z-index: 300;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity 1s var(--ease), visibility 1s;
}
.intro.is-done { opacity: 0; visibility: hidden; }
.intro__inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.intro__mark { font-size: 20px; color: var(--gold); animation: fadeUp 1s var(--ease) both; }
.intro__title {
  font-family: var(--font-serif); font-size: 22px; letter-spacing: .62em;
  text-indent: .62em; color: var(--text); animation: fadeUp 1.2s .1s var(--ease) both;
}
.intro__line {
  width: 0; height: 1px; background: var(--gold-grad);
  animation: lineGrow 1.4s .3s var(--ease) forwards;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes lineGrow { to { width: 120px; } }

/* 进度条 */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 1.5px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 0; background: var(--gold-grad); transition: width .1s linear; }

/* ============================ 顶栏 ============================ */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; height: var(--bar-h); z-index: 110;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 54px);
  border-bottom: 1px solid transparent;
  transition: background .5s var(--ease), border-color .5s, backdrop-filter .5s;
}
.topbar.is-stuck {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(20px) saturate(1.15);
  border-bottom-color: var(--line);
}
.brand { display: flex; align-items: baseline; gap: 12px; }
.brand__mark { font-size: 15px; color: var(--gold); transform: translateY(-2px); }
.brand__name { font-family: var(--font-serif); font-size: 15px; letter-spacing: .34em; }
.brand__latin {
  font-family: var(--font-ui); font-size: 7.5px; letter-spacing: .42em;
  color: var(--muted); transform: translateY(-1px);
}
.topbar__right { display: flex; align-items: center; gap: 16px; }
.topbar__count {
  font-family: var(--font-latin); font-size: 12.5px; letter-spacing: .18em;
  color: var(--muted); font-variant-numeric: lining-nums tabular-nums;
}
.icon-btn {
  width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  color: var(--text-2); cursor: pointer;
  transition: border-color .35s, color .35s, background .35s, transform .5s var(--ease);
}
.icon-btn:hover { border-color: var(--gold-line); color: var(--gold); transform: rotate(18deg); }

/* ============================ HERO ============================ */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column;
  justify-content: flex-end; overflow: hidden; padding-bottom: clamp(30px, 4.5vh, 56px);
}
.hero__bg { position: absolute; inset: -8% 0 0; will-change: transform; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
  opacity: .42; transform: scale(1.04);
  animation: heroDrift 26s ease-in-out infinite alternate;
}
@keyframes heroDrift { from { transform: scale(1.04) translateY(0); } to { transform: scale(1.11) translateY(-1.4%); } }
.hero__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 110%, transparent 30%, color-mix(in srgb, var(--bg) 62%, transparent) 82%),
    linear-gradient(to top, var(--bg) 1%, color-mix(in srgb, var(--bg) 55%, transparent) 34%, transparent 68%),
    linear-gradient(to bottom, color-mix(in srgb, var(--bg) 70%, transparent), transparent 34%);
}
.hero__rail {
  position: absolute; right: clamp(16px, 3vw, 38px); top: 50%;
  transform: translateY(-50%); writing-mode: vertical-rl;
  font-size: 8.5px; letter-spacing: .42em; color: var(--muted);
  padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  z-index: 3;
}
.hero__inner {
  position: relative; z-index: 3; text-align: center;
  padding: 0 clamp(20px, 6vw, 80px);
  margin-top: auto;
}
.kicker {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: 0 0 clamp(18px, 2.6vh, 26px);
}
.kicker__line { display: block; width: clamp(24px, 5vw, 56px); height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.kicker__line:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.kicker__text {
  font-size: 9.5px; letter-spacing: .46em; text-indent: .46em;
  color: var(--muted); text-transform: uppercase;
}
.hero__title {
  margin: 0; font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(42px, 8.4vw, 124px); line-height: 1.08;
  letter-spacing: .14em; text-indent: .14em;
}
.hero__title span {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block;
}
.ornament { display: flex; align-items: center; justify-content: center; gap: 10px; margin: clamp(16px, 2.4vh, 24px) 0; color: var(--gold); }
.ornament i { display: block; width: clamp(40px, 9vw, 110px); height: 1px; background: linear-gradient(90deg, transparent, var(--gold-line), transparent); }
.hero__sub {
  margin: 0 auto; max-width: 30em; font-size: clamp(12.5px, 1.15vw, 14.5px);
  letter-spacing: .18em; color: var(--text-2); line-height: 2;
}
.hero__foot {
  position: relative; z-index: 3; margin-top: clamp(30px, 5vh, 58px);
  padding: 0 clamp(20px, 4.4vw, 62px);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.hero__stats { display: flex; gap: clamp(24px, 4.4vw, 62px); flex-wrap: wrap; }
.hero__stats div { display: flex; flex-direction: column; gap: 4px; }
.hero__stats b {
  font-family: var(--font-latin); font-weight: 400; font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1; letter-spacing: .06em; color: var(--text);
  font-variant-numeric: lining-nums tabular-nums;
}
.hero__stats span { font-size: 7.5px; letter-spacing: .34em; color: var(--muted); }
.scroll-cue {
  display: flex; align-items: center; gap: 12px; padding-bottom: 6px;
  font-size: 8.5px; letter-spacing: .42em; color: var(--muted);
}
.scroll-cue i { display: block; width: 56px; height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.scroll-cue i::after {
  content: ""; position: absolute; inset: 0 auto 0 -56px; width: 56px;
  background: var(--gold); animation: cueRun 2.8s var(--ease) infinite;
}
@keyframes cueRun { 0% { left: -56px; } 60%, 100% { left: 56px; } }

/* 首屏入场 */
.reveal-hero { opacity: 0; transform: translateY(20px); }
body.is-ready .reveal-hero { animation: heroIn 1.2s var(--ease-out) forwards; }
body.is-ready .hero .kicker { animation-delay: .15s; }
body.is-ready .hero__title { animation-delay: .28s; }
body.is-ready .ornament { animation-delay: .42s; }
body.is-ready .hero__sub { animation-delay: .52s; }
body.is-ready .hero__foot { animation-delay: .66s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* 滚动显现 */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================ 区块 ============================ */
.section { padding: clamp(74px, 10vw, 148px) clamp(18px, 4.6vw, 72px); }
.section--gallery { padding-top: clamp(20px, 4vw, 44px); }
.section--collections { background: var(--bg-2); border-top: 1px solid var(--line); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: clamp(30px, 5vw, 58px);
}
.section-head h2 {
  margin: 0; font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(26px, 3.6vw, 44px); letter-spacing: .26em; line-height: 1.25;
}
.section-head h2 em, .cat-block__head h3 em {
  display: block; font-family: var(--font-ui); font-style: normal;
  font-size: 8.5px; letter-spacing: .5em; color: var(--gold);
  margin-top: 12px; text-indent: .1em;
}
.section-head .kicker { justify-content: flex-start; margin-bottom: 14px; }
.section-head .kicker__line:last-child { display: none; }
.section-note {
  margin: 0; font-size: 10.5px; letter-spacing: .2em; color: var(--muted);
  font-variant-numeric: tabular-nums; padding-bottom: 6px;
}

/* ============================ 分类 ============================ */
.cat-block + .cat-block { margin-top: clamp(44px, 6vw, 74px); }
.cat-block__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 18px; margin-bottom: 20px; padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.cat-block__head h3 {
  margin: 0; font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(17px, 1.9vw, 21px); letter-spacing: .28em;
  display: flex; align-items: baseline; gap: 16px;
}
.cat-block__head h3 em { margin: 0; }
.link-btn { font-size: 10px; letter-spacing: .22em; color: var(--muted); cursor: pointer; transition: color .3s; }
.link-btn:hover { color: var(--gold); }

/* 地点卡 */
.place-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(150px, 15vw, 208px); gap: var(--gap);
}
.place-card {
  position: relative; overflow: hidden; cursor: pointer;
  background: var(--surface); border-radius: 2px;
  opacity: 0; transform: translateY(18px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.place-card.is-in { opacity: 1; transform: none; }
.place-card:first-child { grid-column: span 2; grid-row: span 2; }
.place-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .6s; filter: saturate(.92) brightness(.92); }
.place-card:hover img { transform: scale(1.06); filter: saturate(1) brightness(1); }
.place-card__veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6, 5, 4, .82) 4%, rgba(6, 5, 4, .2) 48%, transparent 76%);
}
.place-card::after {
  content: ""; position: absolute; inset: 10px; border: 1px solid rgba(238, 217, 168, 0);
  transition: border-color .6s var(--ease), inset .6s var(--ease); pointer-events: none;
}
.place-card:hover::after { border-color: rgba(238, 217, 168, .5); inset: 8px; }
.place-card__body { position: absolute; left: 18px; right: 18px; bottom: 16px; color: #f4efe4; }
.place-card__body h4 {
  margin: 0 0 5px; font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(17px, 1.7vw, 22px); letter-spacing: .16em;
}
.place-card__body p {
  margin: 0; font-family: var(--font-latin); font-size: 11px;
  letter-spacing: .26em; color: rgba(244, 239, 228, .62);
}
.place-card__count {
  position: absolute; top: 14px; right: 16px; color: rgba(244, 239, 228, .8);
  font-family: var(--font-latin); font-size: 11px; letter-spacing: .12em;
}

/* 题材 */
.subject-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.subject-tile {
  position: relative; padding: 24px 20px 22px; cursor: pointer;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
  transition: background .5s var(--ease), color .4s;
  background: transparent;
}
.subject-tile svg { color: var(--gold); opacity: .85; transition: transform .6s var(--ease), opacity .4s; }
.subject-tile__name { font-family: var(--font-serif); font-size: 14.5px; letter-spacing: .2em; }
.subject-tile__count { font-family: var(--font-latin); font-size: 11px; letter-spacing: .18em; color: var(--muted); }
.subject-tile:hover { background: color-mix(in srgb, var(--gold) 7%, transparent); }
.subject-tile:hover svg { transform: translateY(-3px); opacity: 1; }
.subject-tile.is-on { background: var(--text); color: var(--bg); }
.subject-tile.is-on svg { color: var(--gold-bright); }
.subject-tile.is-on .subject-tile__count { color: color-mix(in srgb, var(--bg) 60%, transparent); }

/* ============================ 工具条 ============================ */
.toolbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  flex-wrap: wrap; padding: 14px 0 13px; margin-bottom: 22px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.tabs { display: flex; gap: clamp(14px, 2.2vw, 30px); flex-wrap: wrap; }
.tab {
  position: relative; padding: 4px 0; cursor: pointer;
  font-size: 11.5px; letter-spacing: .18em; color: var(--text-2);
  transition: color .3s;
}
.tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.tab:hover { color: var(--text); }
.tab.is-on { color: var(--text); }
.tab.is-on::after { transform: scaleX(1); }
.toolbar__right { display: flex; align-items: center; gap: 14px; }
.active-filters { display: flex; gap: 7px; flex-wrap: wrap; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px; border: 1px solid var(--gold-line); border-radius: 100px;
  font-size: 10px; letter-spacing: .14em; color: var(--gold); cursor: pointer;
  background: color-mix(in srgb, var(--gold) 6%, transparent);
  transition: all .3s;
}
.pill:hover { background: color-mix(in srgb, var(--gold) 14%, transparent); }
.pill b { font-weight: 400; opacity: .6; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 12px; top: 50%; width: 5px; height: 5px;
  border-right: 1px solid var(--muted); border-bottom: 1px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
select {
  appearance: none; -webkit-appearance: none;
  background: transparent; color: var(--text-2);
  border: 1px solid var(--line); border-radius: 2px;
  padding: 7px 30px 7px 12px; font-size: 10.5px; letter-spacing: .1em;
  font-family: var(--font-ui); cursor: pointer; max-width: 230px;
  transition: border-color .3s;
}
select:hover { border-color: var(--line-2); }
select:focus { outline: none; border-color: var(--gold-line); }
select option { background: var(--surface); color: var(--text); }

/* ============================ 瀑布流 ============================ */
.grid { position: relative; width: 100%; }
.card {
  position: absolute; top: 0; left: 0; overflow: hidden; cursor: zoom-in;
  background: var(--surface); border-radius: 2px;
  opacity: 0; transform: translateY(16px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out), box-shadow .6s;
  will-change: transform, opacity;
}
.card.is-in { opacity: 1; transform: none; }
.card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s var(--ease), filter .8s; filter: saturate(.94) contrast(1.02); }
.card:hover .card__img { transform: scale(1.05); filter: saturate(1.04) contrast(1.02); }
.card:hover { box-shadow: var(--shadow); z-index: 2; }
.card::after {
  content: ""; position: absolute; inset: 9px; border: 1px solid rgba(238, 217, 168, 0);
  transition: border-color .55s var(--ease), inset .55s var(--ease); pointer-events: none;
}
.card:hover::after { border-color: rgba(238, 217, 168, .42); inset: 7px; }
.card__meta {
  position: absolute; inset: auto 0 0 0; padding: 34px 14px 12px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 10px;
  background: linear-gradient(to top, rgba(5, 4, 3, .7), rgba(5, 4, 3, .12) 60%, transparent);
  color: #f2ecdf; opacity: 0; transform: translateY(8px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.card:hover .card__meta { opacity: 1; transform: none; }
.card__meta span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__date { font-family: var(--font-latin); font-size: 12px; letter-spacing: .1em; }
.card__tag { font-size: 9px; letter-spacing: .16em; color: rgba(242, 236, 223, .66); }
.card__star {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-size: 8px; letter-spacing: .2em; padding: 4px 8px;
  color: #17130a; background: var(--gold-bright); border-radius: 1px;
  font-family: var(--font-ui); font-style: normal;
}
.grid-empty { text-align: center; padding: 90px 0; color: var(--muted); font-size: 11px; letter-spacing: .22em; }
.sentinel { height: 1px; }

/* ============================ 相册 ============================ */
.album-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(150px, 15vw, 206px); gap: var(--gap);
}
.album-card {
  position: relative; overflow: hidden; cursor: pointer; background: var(--surface);
  opacity: 0; transform: translateY(18px); border-radius: 2px;
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.album-card.is-in { opacity: 1; transform: none; }
.album-card:nth-child(11n + 1) { grid-column: span 2; grid-row: span 2; }
.album-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s var(--ease), filter .6s; filter: saturate(.92) brightness(.94); }
.album-card:hover img { transform: scale(1.05); filter: saturate(1) brightness(1); }
.album-card__veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 5, 4, .8) 3%, rgba(6, 5, 4, .12) 46%, transparent 74%); }
.album-card__body { position: absolute; left: 16px; right: 16px; bottom: 14px; color: #f2ecdf; }
.album-card__body h3 {
  margin: 0 0 4px; font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(14px, 1.35vw, 17px); letter-spacing: .12em;
}
.album-card__body p { margin: 0; font-family: var(--font-latin); font-size: 10.5px; letter-spacing: .2em; color: rgba(242, 236, 223, .62); }
.album-card__tag {
  position: absolute; top: 12px; right: 12px; font-size: 8px; letter-spacing: .2em;
  color: rgba(242, 236, 223, .8); border: 1px solid rgba(242, 236, 223, .28);
  padding: 3px 7px; border-radius: 1px; backdrop-filter: blur(4px);
}

/* ============================ 关于 ============================ */
.about { border-top: 1px solid var(--line); }
.about__grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 100px);
  max-width: 1240px;
}
.about__lead h2 {
  margin: 0 0 26px; font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(30px, 4vw, 52px); line-height: 1.32; letter-spacing: .2em;
}
.about__quote {
  margin: 0; font-family: var(--font-serif); font-size: clamp(13px, 1.3vw, 15px);
  line-height: 2.1; letter-spacing: .12em; color: var(--gold);
  padding-left: 18px; border-left: 1px solid var(--gold-line);
}
.about__body p { margin: 0 0 18px; font-size: 13px; line-height: 2.15; color: var(--text-2); letter-spacing: .04em; }
.about__body p b { color: var(--text); font-weight: 400; border-bottom: 1px solid var(--gold-line); padding-bottom: 1px; }
.about__meta { margin: 34px 0 0; }
.about__meta > div {
  display: flex; justify-content: space-between; gap: 18px;
  padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 12px;
}
.about__meta dt { color: var(--muted); letter-spacing: .22em; font-size: 10px; }
.about__meta dd { margin: 0; text-align: right; letter-spacing: .06em; color: var(--text-2); }

/* ============================ 页脚 ============================ */
.site-footer {
  padding: clamp(56px, 8vw, 96px) 20px clamp(32px, 4vw, 48px);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  border-top: 1px solid var(--line); background: var(--bg-2);
}
.footer__mark { font-size: 20px; color: var(--gold); margin-bottom: 14px; }
.footer__name { margin: 0; font-family: var(--font-serif); font-size: 16px; letter-spacing: .5em; text-indent: .5em; }
.footer__latin { margin: 8px 0 0; font-size: 8px; letter-spacing: .5em; color: var(--muted); }
.footer__line { width: 44px; height: 1px; background: var(--gold-line); margin: 26px 0 20px; }
.footer__copy { margin: 0; font-size: 10px; letter-spacing: .2em; color: var(--muted); }
.to-top { margin-top: 26px; font-size: 9.5px; letter-spacing: .32em; color: var(--muted); transition: color .3s; }
.to-top:hover { color: var(--gold); }

/* ============================ 灯箱 ============================ */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(5, 4, 3, .965);
  opacity: 0; pointer-events: none;
  transition: opacity .5s var(--ease);
  backdrop-filter: blur(8px);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lb__top {
  position: absolute; top: 0; left: 0; right: 0; height: 62px; z-index: 6;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(16px, 3vw, 30px);
}
.lb__count { font-family: var(--font-latin); font-size: 12.5px; letter-spacing: .2em; color: rgba(240, 234, 222, .5); }
.lb__actions { display: flex; gap: 8px; }
.lb__actions .icon-btn { border-color: rgba(240, 234, 222, .16); color: rgba(240, 234, 222, .62); }
.lb__actions .icon-btn:hover { color: var(--gold-bright); border-color: rgba(238, 217, 168, .4); }
.lb__stage {
  position: absolute; inset: 62px 330px 54px 40px; margin: 0;
  display: flex; align-items: center; justify-content: center;
}
.lb__frame {
  position: relative; padding: 9px; border: 1px solid rgba(238, 217, 168, .18);
  background: rgba(255, 255, 255, .015); max-width: 100%; max-height: 100%;
  display: flex;
}
.lb__stage img {
  max-width: 100%; max-height: calc(100svh - 190px);
  width: auto; height: auto; object-fit: contain;
  opacity: 0; transform: scale(.99);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.lb__stage img.is-ready { opacity: 1; transform: none; }
.lb__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; display: grid; place-items: center; z-index: 5;
  border: 1px solid rgba(240, 234, 222, .16); border-radius: 50%;
  color: rgba(240, 234, 222, .7); cursor: pointer;
  transition: all .35s var(--ease);
}
.lb__nav:hover { color: var(--gold-bright); border-color: rgba(238, 217, 168, .45); background: rgba(238, 217, 168, .06); }
.lb__nav--prev { left: 14px; }
.lb__nav--next { right: 348px; }
.lb__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: 300px; z-index: 4;
  padding: 96px 30px 40px; border-left: 1px solid rgba(240, 234, 222, .09);
  background: rgba(10, 9, 8, .5);
  overflow-y: auto;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.lb__panel.is-hidden { opacity: 0; transform: translateX(16px); pointer-events: none; }
.lb__panel-kicker { margin: 0 0 14px; font-size: 8.5px; letter-spacing: .44em; color: var(--gold); text-transform: uppercase; }
.lb__date { margin: 0 0 8px; font-family: var(--font-serif); font-weight: 400; font-size: 21px; letter-spacing: .12em; color: #f2ecdf; line-height: 1.4; }
.lb__sub { margin: 0; font-size: 10.5px; letter-spacing: .16em; color: rgba(240, 234, 222, .5); }
.lb__rule { width: 36px; height: 1px; background: var(--gold-line); margin: 24px 0; }
.lb__exif { margin: 0; display: grid; gap: 0; }
.lb__exif > div {
  display: flex; justify-content: space-between; gap: 14px; padding: 9px 0;
  border-bottom: 1px solid rgba(240, 234, 222, .07);
}
.lb__exif dt { font-size: 9px; letter-spacing: .22em; color: rgba(240, 234, 222, .38); }
.lb__exif dd { margin: 0; font-size: 11.5px; letter-spacing: .06em; color: rgba(240, 234, 222, .86); text-align: right; }
.lb__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(240, 234, 222, .1); }
.lb__bar span { display: block; height: 100%; width: 0; background: var(--gold-grad); transition: width .4s var(--ease); }
.lb__spinner {
  position: absolute; top: 50%; left: calc(50% - 150px); width: 24px; height: 24px;
  margin: -12px 0 0 -12px; border-radius: 50%;
  border: 1.2px solid rgba(240, 234, 222, .16); border-top-color: rgba(238, 217, 168, .8);
  animation: spin .9s linear infinite; opacity: 0; transition: opacity .3s; pointer-events: none;
}
.lb__spinner.is-on { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================ 响应式 ============================ */
@media (max-width: 1180px) {
  .place-grid { grid-template-columns: repeat(3, 1fr); }
  .album-grid { grid-template-columns: repeat(3, 1fr); }
  .lb__stage { inset: 58px 300px 46px 24px; }
  .lb__panel { width: 276px; padding: 84px 24px 30px; }
  .lb__nav--next { right: 300px; }
  .lb__spinner { left: calc(50% - 130px); }
}
@media (max-width: 900px) {
  .brand__latin { display: none; }
  .hero__rail { display: none; }
  .place-grid { grid-template-columns: repeat(2, 1fr); }
  .place-card:first-child { grid-column: span 2; grid-row: span 1; }
  .album-grid { grid-template-columns: repeat(2, 1fr); }
  .album-card:nth-child(11n + 1) { grid-column: span 2; grid-row: span 1; }
  .about__grid { grid-template-columns: 1fr; }
  .toolbar { position: static; background: transparent; backdrop-filter: none; }
  .lb__stage { inset: 56px 0 200px 0; padding: 0 14px; }
  .lb__stage img { max-height: calc(100svh - 300px); }
  .lb__panel {
    top: auto; left: 0; width: 100%; height: auto; max-height: 190px;
    padding: 16px 18px 20px; border-left: none; border-top: 1px solid rgba(240, 234, 222, .1);
    background: rgba(6, 5, 4, .82);
  }
  .lb__panel.is-hidden { transform: translateY(12px); }
  .lb__panel-kicker { display: none; }
  .lb__date { font-size: 16px; }
  .lb__rule { margin: 12px 0; }
  .lb__exif { grid-template-columns: 1fr 1fr; column-gap: 18px; }
  .lb__exif > div { padding: 5px 0; }
  .lb__nav { top: 34%; }
  .lb__nav--next { right: 14px; }
  .lb__spinner { left: 50%; top: 34%; }
}
@media (max-width: 560px) {
  :root { --bar-h: 58px; }
  .topbar__count { display: none; }
  .section { padding-left: 14px; padding-right: 14px; }
  .section-head h2 { letter-spacing: .18em; }
  .place-grid { grid-auto-rows: 132px; }
  .place-card__body { left: 12px; right: 12px; bottom: 11px; }
  .place-card__count { display: none; }
  .subject-tile { padding: 18px 14px 16px; gap: 10px; }
  .subject-grid { grid-template-columns: repeat(2, 1fr); }
  .tabs { gap: 14px; }
  .toolbar__right { width: 100%; justify-content: space-between; }
  .select-wrap { flex: 1; }
  select { max-width: none; width: 100%; }
  .hero__stats { gap: 20px 26px; }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 18px; }
  .scroll-cue { display: none; }
  .about__meta > div { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal, .reveal-hero, .card, .place-card, .album-card { opacity: 1 !important; transform: none !important; }
}
