/* ============================================================
   魔手效果图 · MOHAND VISUAL
   黑色极简 · 作品墙
   ============================================================ */

:root {
  --bg: #060606;
  --bg-soft: #0c0c0d;
  --line: rgba(255, 255, 255, .12);
  --line-soft: rgba(255, 255, 255, .06);
  --ink: #f4f4f2;
  --ink-dim: #9a9a99;
  --ink-faint: #62625f;
  --accent: #d8a94e;
  --accent-soft: rgba(216, 169, 78, .55);
  --header-h: 64px;
  --pad: clamp(16px, 4vw, 56px);
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: rgba(255, 255, 255, .22); }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #2a2a2a; }
::-webkit-scrollbar-track { background: #0a0a0a; }

/* ---------------- 顶部 ---------------- */
.top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0 var(--pad);
  background: rgba(6, 6, 6, .86);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .04);
}

.top__brand { display: flex; align-items: baseline; gap: 10px; flex: none; position: relative; }
.top__brand::before {
  content: "";
  align-self: center;
  width: 2px; height: 14px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-soft);
  margin-right: 2px;
}
.top__brand b { font-size: 15px; font-weight: 600; letter-spacing: .16em; }
.top__brand span { font-size: 10px; letter-spacing: .28em; color: var(--ink-faint); }

/* ---------------- 导航 ---------------- */
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }

.nav__btn {
  position: relative;
  padding: 8px 13px;
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--ink-dim);
  transition: color .25s ease;
}
.nav__btn:hover { color: var(--ink); }
.nav__btn.is-active { color: var(--ink); }
.nav__btn.is-active::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px; bottom: 1px;
  height: 1px;
  background: var(--ink);
}

.nav__group { position: relative; }
.nav__caret {
  display: inline-block;
  width: 0; height: 0;
  margin-left: 5px;
  border: 4px solid transparent;
  border-top-color: currentColor;
  transform: translateY(1px);
  opacity: .65;
}

.menu {
  position: absolute;
  z-index: 55;
  top: calc(100% + 8px);
  left: 50%;
  transform: translate(-50%, 6px);
  min-width: 170px;
  padding: 6px;
  background: #0d0d0e;
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .65);
}
.nav__group:hover .menu,
.nav__group.is-open .menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  font-size: 13px;
  color: var(--ink-dim);
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.menu button:hover,
.menu button.is-active { background: rgba(255, 255, 255, .06); color: var(--ink); }

.contact-mini { margin-left: auto; display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--ink-faint); white-space: nowrap; }
.contact-mini a { border-bottom: 1px solid var(--line-soft); padding-bottom: 1px; }
.contact-mini a:hover { color: var(--accent); border-color: var(--accent-soft); }
.contact-mini i { font-style: normal; width: 1px; height: 11px; background: var(--line); }

/* ---------------- 首屏 ---------------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(44px, 11vh, 108px)) var(--pad) clamp(26px, 5vh, 52px);
  overflow: visible;
  z-index: 45;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(620px circle at var(--mx, 50%) var(--my, 28%), rgba(255, 255, 255, .07), transparent 65%);
  pointer-events: none;
}

.wordmark {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  font-size: clamp(56px, 16vw, 236px);
  line-height: .95;
  font-weight: 600;
  letter-spacing: .015em;
  text-transform: uppercase;
  margin: 0;
  cursor: default;
  user-select: none;
}
.wordmark span {
  display: inline-block;
  background-image: linear-gradient(100deg, #f6f6f4 0%, #cfcfca 26%, #ffffff 52%, #d2d2cd 78%, #f4f4f2 100%);
  background-size: 220% 100%;
  background-position: 0% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1), background-position 1.1s ease;
  will-change: transform;
}
.wordmark:hover span { background-position: 100% 0; }
.wordmark:hover span:nth-child(1) { transform: translateY(-.13em) rotate(-3deg); }
.wordmark:hover span:nth-child(2) { transform: translateY(.10em) rotate(2deg); }
.wordmark:hover span:nth-child(3) { transform: translateY(-.17em) rotate(-1.5deg); }
.wordmark:hover span:nth-child(4) { transform: translateY(.14em) rotate(3deg); }
.wordmark:hover span:nth-child(5) { transform: translateY(-.05em) rotate(-2deg); }
.wordmark:hover span:nth-child(6) { transform: translateY(.17em) rotate(1.5deg); }
.wordmark:hover span:nth-child(7) { transform: translateY(-.10em) rotate(-2.5deg); }

.hero__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.4vw, 22px);
  margin-top: clamp(16px, 2.2vw, 30px);
}
.hero__dash {
  flex: none;
  width: clamp(20px, 2.4vw, 40px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
  box-shadow: 0 0 12px var(--accent-soft);
}
.hero__dash:last-child { background: linear-gradient(90deg, var(--accent), transparent); }
.hero__brand b {
  font-size: clamp(18px, 1.5vw, 23px);
  font-weight: 700;
  letter-spacing: .3em;
  text-indent: .3em;
  white-space: nowrap;
  background: linear-gradient(100deg, #efeae0 0%, #efeae0 34%, #ffd98a 48%, #f7e6bb 54%, #efeae0 68%, #efeae0 100%);
  background-size: 280% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: brandSheen 7s ease-in-out infinite;
  filter: drop-shadow(0 0 16px rgba(216, 169, 78, .16));
}
@keyframes brandSheen {
  0% { background-position: 190% 0; }
  60%, 100% { background-position: -90% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__brand b { animation: none; background: none; color: #efeae0; -webkit-text-fill-color: #efeae0; }
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: 24px;
  font-size: 13px;
  color: var(--ink-dim);
  letter-spacing: .14em;
}
.hero__meta i { font-style: normal; color: var(--ink); }
.hero__meta .sep { width: 1px; height: 11px; background: var(--line); }

/* ---------------- 首屏导航（居中大字导航） ---------------- */
.nav--bar {
  justify-content: center;
  width: 100%;
  gap: clamp(4px, 1.1vw, 16px);
  flex-wrap: nowrap;
  margin: 0;
}
.nav--bar .nav__btn {
  position: relative;
  padding: 10px clamp(16px, 1.5vw, 26px);
  font-size: clamp(13px, 1.15vw, 16px);
  font-weight: 500;
  letter-spacing: .16em;
  text-indent: .16em;
  background-image: linear-gradient(100deg, #868b95 0%, #868b95 40%, #ffffff 50%, #868b95 60%, #868b95 100%);
  background-size: 300% 100%;
  background-position: 0% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  transition: background-position .95s cubic-bezier(.22, 1, .36, 1);
}
.nav--bar .nav__btn:hover,
.nav--bar .nav__btn.is-active { background-position: 100% 0; }
.nav--bar .nav__btn.is-active::after {
  left: clamp(10px, 1.3vw, 22px);
  right: clamp(10px, 1.3vw, 22px);
  bottom: 5px;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-soft);
}
.nav--bar .nav__caret {
  position: absolute;
  right: clamp(3px, .45vw, 8px);
  top: 50%;
  margin: 0;
  transform: translateY(-15%);
  opacity: .5;
}

/* ---------------- 筛选条 ---------------- */
.filter {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  display: flex;
  align-items: center;
  gap: clamp(6px, 1vw, 14px);
  flex-wrap: wrap;
  padding: 11px var(--pad);
  background: rgba(6, 6, 6, .95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.filter__chips { display: none; }

/* 内联二级分类行（固定在导航下方，不是浮层） */
/* 内联二级分类行（非圆角，细线分隔，紧贴一级导航） */
.subnav {
  display: none;
  flex-basis: 100%;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2px;
  padding-top: 4px;
  animation: subnavIn .26s ease both;
}
.subnav__items {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
}
.subnav__btn {
  position: relative;
  padding: 8px clamp(18px, 1.9vw, 26px);
  font-size: clamp(12.5px, 1vw, 14px);
  letter-spacing: .16em;
  text-indent: .16em;
  color: rgba(255, 255, 255, .42);
  background: none;
  border: 0;
  cursor: pointer;
  transition: color .26s ease;
}
.subnav__btn:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 12px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .12);
}
.subnav__btn::after {
  content: "";
  position: absolute;
  left: clamp(18px, 1.9vw, 26px);
  right: clamp(18px, 1.9vw, 26px);
  bottom: 1px;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-soft);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s cubic-bezier(.22, .8, .2, 1);
}
.subnav__btn:hover { color: rgba(255, 255, 255, .9); }
.subnav__btn.is-active { color: #f4d79a; }
.subnav__btn.is-active::after { transform: scaleX(1); }
.subnav.is-open { display: flex; }
@keyframes subnavIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.filter__item {
  flex: none;
  padding: 7px 12px;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--ink-faint);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: color .2s, border-color .2s, background .2s;
}
.filter__item:hover { color: var(--ink); }
.filter__item.is-active { color: var(--accent); border-color: var(--accent-soft); background: rgba(216, 169, 78, .07); }

.filter__count { margin-left: auto; flex: none; padding-left: 16px; font-size: 11px; letter-spacing: .18em; color: var(--ink-faint); }

/* ---------------- 作品墙 ---------------- */
.wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 1.2vw, 18px);
  padding: clamp(16px, 3vw, 32px) var(--pad) clamp(46px, 8vw, 100px);
}

.work {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0a0a0a;
  cursor: zoom-in;
  display: block;
  width: 100%;
}
.work img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.22, 1, .36, 1), filter .5s ease;
  filter: saturate(.92) brightness(.97);
}
.work:hover img { transform: scale(1.04); filter: saturate(1) brightness(1.05); }

.work__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .04) 0%, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, .74) 100%);
  pointer-events: none;
}

.work__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 17px;
  transform: translateY(6px);
  opacity: 0;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), opacity .35s ease;
  pointer-events: none;
}
.work:hover .work__cap { transform: none; opacity: 1; }

.work__title { font-size: 15px; font-weight: 600; letter-spacing: .05em; }
.work__sub { display: block; margin-top: 3px; font-size: 11px; color: #a4a4a1; letter-spacing: .08em; }
.work__cat { font-size: 10px; letter-spacing: .14em; color: var(--accent); white-space: nowrap; padding: 3px 7px; border: 1px solid var(--accent-soft); background: rgba(216, 169, 78, .06); }

.wall__empty { grid-column: 1 / -1; padding: 90px 0; text-align: center; color: var(--ink-faint); font-size: 13px; letter-spacing: .18em; }

/* ---------------- 页脚 ---------------- */
.foot {
  position: relative;
  display: flex;
  justify-content: center;
  padding: clamp(34px, 5vw, 64px) var(--pad) clamp(46px, 7vw, 88px);
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  color: #7c7c78;
  letter-spacing: .1em;
}
.foot::before {
  content: "";
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  width: min(340px, 46vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 14px var(--accent-soft);
}
.foot__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 18px;
  white-space: nowrap;
}
.foot__name { font-size: 14px; letter-spacing: .24em; color: #cfcfcb; }
.foot__sep {
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(216, 169, 78, .55);
  box-shadow: 0 0 8px var(--accent-soft);
}
.foot__link { color: #8a8a86; transition: color .25s ease; }
.foot__link b { font-weight: 500; color: #e2e2de; letter-spacing: .1em; transition: color .25s ease; }
.foot__link:hover { color: var(--accent); }
.foot__link:hover b { color: var(--accent); }
.foot__copy { color: #6a6a66; letter-spacing: .12em; }

/* ---------------- 灯箱 ---------------- */
.lb {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  background: #050505;
  flex-direction: column;
}
.lb.is-open { display: flex; }
.lb__head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 4vw, 48px) 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background: rgba(5, 5, 5, .92);
  backdrop-filter: blur(6px);
}
.lb__info { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.lb__info b { font-size: clamp(15px, 1.5vw, 19px); font-weight: 600; letter-spacing: .16em; color: var(--ink); }
.lb__info span { font-size: 11.5px; letter-spacing: .1em; color: var(--ink-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb__hint {
  margin-left: auto;
  margin-right: 16px;
  font-size: 11px;
  letter-spacing: .1em;
  color: #6b6b66;
}
@media (max-width: 760px) { .lb__hint { display: none; } }
.lb__close {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 22px;
  font-size: 12.5px;
  letter-spacing: .16em;
  color: #17120a;
  font-weight: 600;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 6px 26px -8px rgba(216, 169, 78, .7);
  cursor: pointer;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .2s ease;
}
.lb__close-x { font-size: 15px; line-height: 1; opacity: .9; }
.lb__close:hover {
  color: #17120a;
  background: #f0c96a;
  box-shadow: 0 0 34px rgba(216, 169, 78, .6);
  transform: translateY(-1px);
}

.lb__scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
}
.lb__stack {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1vw, 14px);
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(14px, 2.4vw, 30px) clamp(14px, 3vw, 34px) clamp(40px, 6vw, 72px);
}
.lb__stack img {
  display: block;
  width: 100%;
  height: auto;
}



/* ---------------- 入场 ---------------- */
.reveal {
  opacity: 0;
  transform: translate3d(0, 30px, 0) scale(.986);
  filter: blur(6px);
  transition:
    opacity .8s cubic-bezier(.16, 1, .3, 1) var(--d, 0ms),
    transform .9s cubic-bezier(.16, 1, .3, 1) var(--d, 0ms),
    filter .8s cubic-bezier(.16, 1, .3, 1) var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* 360° 全景查看器 */
.lb.is-pano .lb__scroll { overflow: hidden; }
.lb.is-pano .lb__stack { width: 100%; height: 100%; padding: 0; gap: 0; display: block; }
.pano { position: relative; width: 100%; height: 100%; background: #000; }
.pano__canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.pano__canvas.is-drag { cursor: grabbing; }
.pano__hint {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  padding: 8px 16px; font-size: 11.5px; letter-spacing: .14em; color: #d9d9d4;
  background: rgba(0, 0, 0, .5); border: 1px solid rgba(255, 255, 255, .14);
  pointer-events: none; white-space: nowrap;
}
.pano__dots {
  position: absolute; left: 50%; top: 18px; transform: translateX(-50%);
  display: flex; gap: 8px;
}
.pano__dot {
  width: 28px; height: 4px; padding: 0; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .22);
}
.pano__dot.is-active { background: var(--accent); }
.pano__frame { display: block; width: 100%; height: 100%; border: 0; background: #000; }
.work__ph {
  position: absolute; inset: 0; display: grid; place-content: center; gap: 6px; text-align: center;
  background: radial-gradient(circle at 50% 40%, #1b1b1b, #0c0c0c 70%);
  border: 1px solid rgba(255,255,255,.06);
}
.work__ph b { font-size: clamp(30px, 4vw, 52px); letter-spacing: .08em; color: var(--accent); font-weight: 500; }
.work__ph i { font-style: normal; font-size: 11px; letter-spacing: .16em; color: #9a9a95; }

/* 微信弹窗 */
.wx {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(3, 3, 3, .82);
  backdrop-filter: blur(8px);
}
.wx.is-open { display: flex; }
.wx__card {
  position: relative;
  width: min(360px, 92vw);
  padding: 34px 28px 26px;
  text-align: center;
  background: #0c0c0c;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9);
  animation: wxIn .3s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes wxIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.wx__close { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; font-size: 16px; color: #7a7a76; background: none; border: 0; cursor: pointer; }
.wx__close:hover { color: #fff; }
.wx__label { font-size: 11px; letter-spacing: .24em; color: var(--accent); }
.wx__id {
  margin: 14px 0 18px;
  font-size: clamp(24px, 5vw, 30px);
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--ink);
}
.wx__qr { margin: 0 auto 18px; width: min(220px, 60vw); }
.wx__qr img { width: 100%; height: auto; border: 1px solid rgba(255, 255, 255, .12); }
.wx__acts { display: flex; justify-content: center; }
.wx__copy {
  min-height: 42px;
  padding: 0 26px;
  font-size: 12.5px;
  letter-spacing: .16em;
  color: var(--accent);
  border: 1px solid rgba(216, 169, 78, .45);
  background: rgba(216, 169, 78, .08);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.wx__copy:hover { color: #14100a; background: var(--accent); }
.wx__copy.is-done { color: #b7e3b7; border-color: rgba(150, 220, 150, .45); background: rgba(120, 200, 120, .1); }
.wx__tip { margin-top: 16px; font-size: 11px; line-height: 1.7; color: #75756f; letter-spacing: .04em; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1360px) and (min-width: 1101px) {
  .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-mini { display: none; }

}

@media (max-width: 760px) {
  :root { --header-h: 54px; --pad: 16px; }

  .top { gap: 10px; }
  .top__brand b { font-size: 13px; letter-spacing: .1em; }
  .top__brand span { display: none; }
  .nav { gap: 0; }
  .nav__btn { padding: 9px 8px; font-size: 12px; letter-spacing: .04em; }

  .hero { padding-top: calc(var(--header-h) + 40px); }
  .wordmark { font-size: clamp(48px, 18vw, 100px); }
  .wordmark:hover span { transform: none; }
  .hero__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.4vw, 22px);
  margin-top: clamp(16px, 2.2vw, 30px);
}
.hero__dash {
  flex: none;
  width: clamp(20px, 2.4vw, 40px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
  box-shadow: 0 0 12px var(--accent-soft);
}
.hero__dash:last-child { background: linear-gradient(90deg, var(--accent), transparent); }
.hero__brand b {
  font-size: clamp(18px, 1.5vw, 23px);
  font-weight: 700;
  letter-spacing: .3em;
  text-indent: .3em;
  white-space: nowrap;
  background: linear-gradient(100deg, #efeae0 0%, #efeae0 34%, #ffd98a 48%, #f7e6bb 54%, #efeae0 68%, #efeae0 100%);
  background-size: 280% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: brandSheen 7s ease-in-out infinite;
  filter: drop-shadow(0 0 16px rgba(216, 169, 78, .16));
}
@keyframes brandSheen {
  0% { background-position: 190% 0; }
  60%, 100% { background-position: -90% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__brand b { animation: none; background: none; color: #efeae0; -webkit-text-fill-color: #efeae0; }
}

.hero__meta { margin-top: 18px; font-size: 12px; gap: 6px 12px; letter-spacing: .06em; }
  .hero__meta .sep { display: none; }

  .filter { top: var(--header-h); padding: 10px 16px; gap: 6px; }

  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 12px 16px 60px; }
  .nav--hero { margin-top: 14px; gap: 2px; }
  .nav--bar .nav__btn { padding: 8px 14px 8px 10px; font-size: clamp(14px, 4.2vw, 17px); letter-spacing: .12em; text-indent: .12em; }
  .nav--bar .nav__caret { right: 3px; }
  .subnav__btn { padding: 7px 12px; font-size: 12.5px; letter-spacing: .1em; }
  .subnav__btn::after { left: 12px; right: 12px; }
  .subnav__btn:not(:first-child)::before { display: none; }
  .subnav__items { gap: 2px; }
  .work__cap { opacity: 1; transform: none; padding: 9px 10px; }
  .work__title { font-size: 13px; }
  .work__sub { font-size: 10px; }
  .work__cat { display: none; }

  .lb__head { padding: 14px 16px 12px; }
  .lb__info { flex-direction: column; gap: 3px; }
}

@media (max-width: 360px) {
  .wall { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .reveal { filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}


/* =========================================================
   进场动画：丝滑缓入
   ========================================================= */
@keyframes riseIn {
  from { opacity: 0; transform: translate3d(0, 26px, 0); filter: blur(8px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes dropIn {
  from { opacity: 0; transform: translate3d(0, -14px, 0); }
  to   { opacity: 1; transform: none; }
}
@keyframes letterIn {
  from { opacity: 0; transform: translate3d(0, 46px, 0) scaleY(1.14); filter: blur(14px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes photoIn {
  from { opacity: 0; transform: scale(.965); filter: blur(10px); }
  to   { opacity: 1; transform: scale(1); filter: blur(0); }
}
@keyframes lineGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* 顶部：品牌与导航 */
.header__brand { animation: dropIn .9s cubic-bezier(.16, 1, .3, 1) both; }
.nav { animation: dropIn .9s cubic-bezier(.16, 1, .3, 1) .1s both; }
.header__contact { animation: dropIn .9s cubic-bezier(.16, 1, .3, 1) .18s both; }

/* 大 logo：逐字上浮 */
.wordmark span { animation: letterIn 1.15s cubic-bezier(.16, 1, .3, 1) both; }
.wordmark span:nth-child(1) { animation-delay: .06s; }
.wordmark span:nth-child(2) { animation-delay: .14s; }
.wordmark span:nth-child(3) { animation-delay: .22s; }
.wordmark span:nth-child(4) { animation-delay: .30s; }
.wordmark span:nth-child(5) { animation-delay: .38s; }
.wordmark span:nth-child(6) { animation-delay: .46s; }

/* 首屏辅助文字与向下提示 */
.hero__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.4vw, 22px);
  margin-top: clamp(16px, 2.2vw, 30px);
}
.hero__dash {
  flex: none;
  width: clamp(20px, 2.4vw, 40px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
  box-shadow: 0 0 12px var(--accent-soft);
}
.hero__dash:last-child { background: linear-gradient(90deg, var(--accent), transparent); }
.hero__brand b {
  font-size: clamp(18px, 1.5vw, 23px);
  font-weight: 700;
  letter-spacing: .3em;
  text-indent: .3em;
  white-space: nowrap;
  background: linear-gradient(100deg, #efeae0 0%, #efeae0 34%, #ffd98a 48%, #f7e6bb 54%, #efeae0 68%, #efeae0 100%);
  background-size: 280% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: brandSheen 7s ease-in-out infinite;
  filter: drop-shadow(0 0 16px rgba(216, 169, 78, .16));
}
@keyframes brandSheen {
  0% { background-position: 190% 0; }
  60%, 100% { background-position: -90% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__brand b { animation: none; background: none; color: #efeae0; -webkit-text-fill-color: #efeae0; }
}

.hero__meta { animation: riseIn 1s cubic-bezier(.16, 1, .3, 1) .58s both; }

/* 筛选条 */
.filter { animation: riseIn .9s cubic-bezier(.16, 1, .3, 1) .66s both; }

/* 页脚：随滚动分段入场（由 JS 挂 reveal） */

/* 下拉菜单：柔和展开 */
.menu {
  opacity: 0;
  transform: translate3d(0, -8px, 0) scale(.98);
  visibility: hidden;
  transition: opacity .28s cubic-bezier(.16, 1, .3, 1), transform .32s cubic-bezier(.16, 1, .3, 1), visibility 0s .3s;
}
.nav__group:hover .menu, .nav__group.is-open .menu, .nav__group:focus-within .menu {
  opacity: 1;
  transform: none;
  visibility: visible;
  transition: opacity .28s cubic-bezier(.16, 1, .3, 1), transform .32s cubic-bezier(.16, 1, .3, 1), visibility 0s;
}

/* 灯箱：画面缓入 */

.lb.is-open .lb__scroll { animation: photoIn .5s cubic-bezier(.16, 1, .3, 1) both; }

@media (max-width: 760px) {
  .reveal { filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  .header__brand, .nav, .header__contact, .wordmark span, .hero__meta,
  .filter, .lb__scroll { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .menu { transition: none; }
}

/* =========================================================
   炫酷层：光标冷光 / 噪点 / 3D 倾斜 / 光扫过
   ========================================================= */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  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='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(170, 195, 255, .07), transparent 60%),
    radial-gradient(100% 70% at 50% 110%, rgba(120, 140, 180, .06), transparent 62%);
}

/* 跟随鼠标的冷光 */
#cursorGlow {
  position: fixed;
  left: 0; top: 0;
  width: 460px; height: 460px;
  margin: -230px 0 0 -230px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity .5s ease;
  background: radial-gradient(circle, rgba(168, 198, 255, .13) 0%, rgba(140, 170, 230, .05) 38%, transparent 66%);
  filter: blur(2px);
  mix-blend-mode: screen;
  will-change: left, top;
}

/* 顶部滚动进度线 */
#progress {
  position: fixed;
  left: 0; top: 0;
  width: 100%; height: 2px;
  z-index: 70;
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.22), #fff 62%, var(--accent) 100%);
  box-shadow: 0 0 14px rgba(216, 169, 78, .45);
}

/* 首屏鼠标光斑 */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .6s ease;
  background: radial-gradient(760px circle at var(--mx, 50%) var(--my, 45%), rgba(190, 214, 255, .10), transparent 62%);
  mix-blend-mode: screen;
}
.hero:hover::after { opacity: 1; }

/* 大 logo：循环微光扫过 + 悬停抬升发光 */
.wordmark span {
  will-change: transform, filter;
  transition: transform .4s cubic-bezier(.16, 1, .3, 1), filter .4s ease, letter-spacing .4s ease;
}
.wordmark:hover span {
  transform: translateY(-7px);
  filter: drop-shadow(0 0 26px rgba(196, 218, 255, .30));
}
.wordmark:hover span:nth-child(1) { transition-delay: 0ms; }
.wordmark:hover span:nth-child(2) { transition-delay: 40ms; }
.wordmark:hover span:nth-child(3) { transition-delay: 80ms; }
.wordmark:hover span:nth-child(4) { transition-delay: 120ms; }
.wordmark:hover span:nth-child(5) { transition-delay: 160ms; }
.wordmark:hover span:nth-child(6) { transition-delay: 200ms; }
.wordmark:hover { letter-spacing: .012em; }

/* 导航：悬停扫过下划线 */
.nav__btn::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px; bottom: 1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #fff 30%, #fff 70%, transparent);
  transform: scaleX(0);
  opacity: 0;
  transition: transform .45s cubic-bezier(.16, 1, .3, 1), opacity .35s ease;
  box-shadow: 0 0 10px rgba(190, 215, 255, .7);
}
.nav__btn:hover::after { transform: scaleX(1); opacity: .85; }
.nav__btn.is-active::after { transform: scaleX(1); opacity: 1; }
.nav__btn:hover { text-shadow: 0 0 16px rgba(200, 220, 255, .35); }

/* 筛选条：选中项扫光 */
.filter__item { position: relative; overflow: hidden; }
.filter__item.is-active::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 40%;
  left: -45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .22), transparent);
  animation: chipSheen 3.6s cubic-bezier(.4, 0, .2, 1) infinite;
}
@keyframes chipSheen {
  0% { left: -45%; }
  55%, 100% { left: 115%; }
}

/* 卡片：冷光描边 + 3D 倾斜 + 扫光 */
.work::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0), 0 0 0 rgba(0, 0, 0, 0);
  transition: box-shadow .5s cubic-bezier(.16, 1, .3, 1);
}
.work:hover::before {
  box-shadow: inset 0 0 0 1px rgba(190, 214, 255, .45), 0 34px 80px -34px rgba(0, 0, 0, .95);
}
.work::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 45%;
  left: -60%;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .13), transparent);
  transition: opacity .3s ease;
}
.work:hover::after { opacity: 1; animation: cardSheen 1.4s cubic-bezier(.4, 0, .2, 1) .05s both; }
@keyframes cardSheen {
  from { left: -60%; }
  to { left: 120%; }
}
.work img {
  transform-origin: 50% 50%;
  will-change: transform;
}
.work:hover img {
  transform: perspective(1200px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)) scale(1.055);
  filter: saturate(1.04) brightness(1.08) contrast(1.02);
}
.work__cap { transform: translateY(10px); }
.work__title { text-shadow: 0 2px 18px rgba(0, 0, 0, .9); }

/* 灯箱：冷光溢出 */
.lb__close:hover { box-shadow: 0 0 24px rgba(216, 169, 78, .35); }

@media (hover: none) {
  #cursorGlow, .hero::after { display: none; }
  .work:hover img { transform: scale(1.01); }
  .work:hover::after { animation: none; }
}

/* =========================================================
   BorderGlow（原生移植）：靠近边缘才亮起的描边与冷光
   ========================================================= */
.work__glow {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  border-radius: 2px;
  box-shadow:
    inset 0 0 0 1px rgba(206, 226, 255, calc(var(--edge, 0) * .92)),
    inset 0 0 26px rgba(150, 185, 255, calc(var(--edge, 0) * .3)),
    0 0 0 1px rgba(190, 214, 255, calc(var(--edge, 0) * .45)),
    0 0 30px 3px rgba(140, 175, 255, calc(var(--edge, 0) * .34)),
    0 0 90px 10px rgba(110, 145, 240, calc(var(--edge, 0) * .16));
}

/* 指针方向的锥形光带，压在描边内侧 */
.work__glow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: conic-gradient(
    from calc(var(--a, 0deg) - 26deg) at 50% 50%,
    rgba(150, 185, 255, 0) 0deg,
    rgba(190, 214, 255, .42) 12deg,
    rgba(255, 255, 255, .8) 26deg,
    rgba(190, 214, 255, .42) 40deg,
    rgba(150, 185, 255, 0) 52deg
  );
  -webkit-mask: radial-gradient(closest-side, transparent 97%, #000 98%);
  mask: radial-gradient(closest-side, transparent 97%, #000 98%);
  opacity: var(--edge, 0);
  transition: opacity .35s cubic-bezier(.16, 1, .3, 1);
}

@media (hover: none) {
  .work__glow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .work__glow::before { transition: none; }
}

/* =========================================================
   首页大字：ElectricLogo 电弧描边（WebGL2 原生移植）
   ========================================================= */
.wordmark { position: relative; }
.wordmark__fx {
  position: absolute;
  inset: -8% -2%;
  z-index: 2;
  pointer-events: auto;
  cursor: crosshair;
}
.wordmark__fx .fx-canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.wordmark.is-fx span {
  animation: none;
  opacity: 0;
  transform: none;
  transition: opacity .6s ease;
}
.wordmark.is-fx:hover span { background-position: 0 0; transform: none; }
@media (max-width: 640px) {
  .wordmark__fx { inset: -12% -3%; }
  .hero__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.4vw, 22px);
  margin-top: clamp(16px, 2.2vw, 30px);
}
.hero__dash {
  flex: none;
  width: clamp(20px, 2.4vw, 40px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
  box-shadow: 0 0 12px var(--accent-soft);
}
.hero__dash:last-child { background: linear-gradient(90deg, var(--accent), transparent); }
.hero__brand b {
  font-size: clamp(18px, 1.5vw, 23px);
  font-weight: 700;
  letter-spacing: .3em;
  text-indent: .3em;
  white-space: nowrap;
  background: linear-gradient(100deg, #efeae0 0%, #efeae0 34%, #ffd98a 48%, #f7e6bb 54%, #efeae0 68%, #efeae0 100%);
  background-size: 280% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: brandSheen 7s ease-in-out infinite;
  filter: drop-shadow(0 0 16px rgba(216, 169, 78, .16));
}
@keyframes brandSheen {
  0% { background-position: 190% 0; }
  60%, 100% { background-position: -90% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__brand b { animation: none; background: none; color: #efeae0; -webkit-text-fill-color: #efeae0; }
}

.hero__meta { position: relative; z-index: 3; }
}

/* 手机端：下拉菜单靠右收，避免横向溢出 */
@media (max-width: 760px) {
  .menu {
    left: auto;
    right: 0;
    transform: translateY(6px);
    min-width: 132px;
    max-width: 76vw;
  }
  .nav__group:hover .menu,
  .nav__group.is-open .menu { transform: translateY(0); }
}
