/* ==========================================================================
   留白 WHITE SPACE · 框架层
   导航 / 页脚 / 按钮 / 灯箱
   ========================================================================== */

/* ----------------------------- 导航 ----------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background-color .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}
.nav.is-solid {
  background: rgba(10, 10, 10, .86);
  border-color: var(--line-soft);
  backdrop-filter: blur(14px);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: baseline; gap: 12px; }
.brand .zh {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: .18em;
}
.brand .en {
  font-size: 9px;
  letter-spacing: .34em;
  color: var(--muted);
}

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  position: relative;
  padding: 6px 0;
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--muted);
  transition: color .25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-immerse {
  flex: none;
  padding: 8px 13px;
  border: 1px solid var(--line-soft);
  font-size: 9px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--dim);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.nav-immerse:hover { color: var(--accent); border-color: rgba(201, 168, 106, .45); }

/* ----------------------------- 通用容器 ----------------------------- */
.main { min-height: 100vh; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* 内页页头 */
.page-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: 170px var(--gutter) 60px;
}
.page-head h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.15;
  letter-spacing: .02em;
}
.page-head .lead {
  max-width: 620px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 2;
  overflow-wrap: anywhere;
}

/* ----------------------------- 按钮 ----------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 26px;
  border: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text);
  transition: border-color .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn--solid { background: var(--text); border-color: var(--text); color: #0a0a0a; }
.btn--solid:hover { background: var(--accent); border-color: var(--accent); color: #0a0a0a; }
.btn svg { width: 14px; height: 14px; }

/* ----------------------------- 页脚 ----------------------------- */
.site-footer {
  margin-top: 120px;
  border-top: 1px solid var(--line-soft);
  padding: 56px var(--gutter) 40px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 40px;
}
.footer-brand .zh { font-family: var(--serif); font-size: 20px; letter-spacing: .18em; }
.footer-brand p { margin-top: 12px; max-width: 320px; color: var(--muted); font-size: 12px; line-height: 2; }
.footer-col h4 {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 14px;
}
.footer-col a { display: block; margin-bottom: 8px; font-size: 12.5px; color: var(--muted); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  max-width: var(--max);
  margin: 44px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 10.5px;
  letter-spacing: .08em;
  color: var(--dim);
}

/* ----------------------------- 灯箱 ----------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 6, 6, .975);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .38s var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lb-figure {
  transform: translateY(14px) scale(.99);
  transition: transform .55s var(--ease);
}
.lightbox.is-open .lb-figure { transform: none; }
.lb-frame img {
  max-width: 86vw;
  max-height: 72vh;
  object-fit: contain;
  margin: 0 auto;
  opacity: 1;
}
.lb-caption {
  margin-top: 16px;
  text-align: center;
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--muted);
}
.lb-caption b {
  margin-right: 12px;
  color: var(--text);
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 400;
}
.lb-count {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10.5px;
  letter-spacing: .26em;
  color: var(--muted);
}
.lb-shot {
  margin-top: 8px;
  text-align: center;
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--dim);
}
.lb-close {
  position: absolute;
  top: 20px;
  right: 22px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: color .2s;
}
.lb-close:hover { color: var(--text); }
.lb-close svg { width: 20px; height: 20px; }
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: color .2s;
}
.lb-nav:hover { color: var(--text); }
.lb-nav svg { width: 26px; height: 26px; }
.lb-prev { left: 10px; }
.lb-next { right: 10px; }

.lb-frame {
  position: relative;
  width: min(86vw, 1080px);
  height: min(72vh, 760px);
  display: grid;
  place-items: center;
  background: #0a0a0b;
  border: 1px solid rgba(255, 255, 255, .05);
}
.lb-frame img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(72vh, 760px);
  object-fit: contain;
  margin: 0 auto;
  opacity: 1;
  transition: opacity .45s var(--ease);
}
.lightbox img.is-missing { display: none; }
.lb-frame img.is-fading { opacity: 0; }

/* ----------------------------- 轻提示 ----------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 200;
  transform: translate(-50%, 12px);
  padding: 10px 18px;
  background: rgba(18, 18, 20, .94);
  border: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--text);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ----------------------------- 响应式 ----------------------------- */
@media (max-width: 960px) {
  :root { --gutter: 24px; }
  .nav-links { gap: 22px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-inner { padding: 18px var(--gutter); }
  .brand .en { display: none; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 11px; letter-spacing: .1em; }
  .nav-immerse { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
  .page-head { padding-top: 130px; }
}
