/* ============================================================
   视觉设计师 · 作品集
   纯手写 CSS，无构建工具
   ============================================================ */

@font-face {
  font-family: "Noto Serif SC";
  src: url("../fonts/serif.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans SC";
  src: url("../fonts/sans.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #07080b;
  --bg-elev: #0b0e13;
  --ink: #f3efe6;
  --ink-soft: #d8d2c6;
  --muted: #9a958b;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.17);
  --glass: rgba(255, 255, 255, 0.05);
  --glass-2: rgba(255, 255, 255, 0.08);
  --glass-solid: rgba(13, 15, 20, 0.86);
  --nav-bg: rgba(7, 8, 11, 0.62);
  --accent: #e8b46e;
  --accent-ink: #1a1207;
  --accent-soft: rgba(232, 180, 110, 0.14);
  --teal: #83c9bd;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.52);
  --shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.34);
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 10px;
  --pad: clamp(20px, 4.2vw, 64px);
  --max: 1440px;
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #ece7dd;
  --bg-elev: #f4f0e8;
  --ink: #171410;
  --ink-soft: #332e27;
  --muted: #6d675d;
  --line: rgba(20, 16, 12, 0.12);
  --line-strong: rgba(20, 16, 12, 0.22);
  --glass: rgba(255, 255, 255, 0.5);
  --glass-2: rgba(255, 255, 255, 0.7);
  --glass-solid: rgba(247, 243, 236, 0.92);
  --nav-bg: rgba(236, 231, 221, 0.72);
  --accent: #a25c19;
  --accent-ink: #fffaf2;
  --accent-soft: rgba(162, 92, 25, 0.12);
  --teal: #2f7a70;
  --shadow: 0 30px 80px rgba(64, 48, 30, 0.18);
  --shadow-soft: 0 14px 40px rgba(64, 48, 30, 0.14);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.45s ease, color 0.45s ease;
}

body.is-locked { overflow: hidden; }

img, video, svg { display: block; max-width: 100%; }

.icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
img { height: auto; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  transition: top 0.2s ease;
}
.skip:focus { top: 16px; }

/* ---------- 背景 ---------- */

.lightfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.lightfield canvas { width: 100%; height: 100%; opacity: 0.95; }

.grain {
  position: fixed;
  inset: -40%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}
html[data-theme="light"] .grain { opacity: 0.035; }

.spotlight {
  position: fixed;
  left: 0;
  top: 0;
  width: 560px;
  height: 560px;
  z-index: 1;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  background: radial-gradient(circle, rgba(232, 180, 110, 0.11), rgba(131, 201, 189, 0.05) 38%, transparent 66%);
  mix-blend-mode: screen;
  transition: opacity 0.6s ease;
  will-change: transform;
}
html[data-theme="light"] .spotlight {
  background: radial-gradient(circle, rgba(162, 92, 25, 0.1), rgba(47, 122, 112, 0.05) 40%, transparent 66%);
  mix-blend-mode: multiply;
}

header, main, .mobile-nav { position: relative; z-index: 1; }

/* ---------- 顶部导航 ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: var(--nav-bg);
  border-bottom-color: var(--line);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}
.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  height: 78px;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand__mark {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--glass);
  color: var(--accent);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.brand__mark svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.brand__mark .mark-fill { fill: currentColor; stroke: none; }
.brand__text { display: grid; line-height: 1.15; }
.brand__text b { font-size: 15px; font-weight: 500; letter-spacing: 0.06em; }
.brand__text span { font-size: 11px; color: var(--muted); letter-spacing: 0.12em; margin-top: 4px; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav a {
  position: relative;
  font-size: 14px;
  color: var(--ink-soft);
  padding: 6px 0;
  transition: color 0.25s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--ink-soft);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.icon-btn:hover { background: var(--glass-2); color: var(--ink); border-color: var(--line-strong); transform: translateY(-1px); }
.icon-btn .icon { width: 17px; height: 17px; }
.icon-sun { display: none; }
html[data-theme="light"] .icon-sun { display: block; }
html[data-theme="light"] .icon-moon { display: none; }

.menu-btn {
  display: none;
  align-items: center;
  gap: 9px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
  font-size: 13px;
  color: var(--ink-soft);
}
.menu-btn__lines { display: grid; gap: 4px; width: 14px; }
.menu-btn__lines i { display: block; height: 1px; background: currentColor; transition: transform 0.25s ease; }
.menu-btn[aria-expanded="true"] .menu-btn__lines i:first-child { transform: translateY(2.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__lines i:last-child { transform: translateY(-2.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  overflow-y: auto;
  inset: 0;
  z-index: 40;
  padding: 104px var(--pad) 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--glass-solid);
  backdrop-filter: blur(30px) saturate(150%);
  -webkit-backdrop-filter: blur(30px) saturate(150%);
  transform: translateY(-102%);
  visibility: hidden;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0.5s;
}
.mobile-nav.is-open { transform: translateY(0); visibility: visible; }
.mobile-nav nav { display: grid; }
.mobile-nav nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(30px, 9vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.mobile-nav nav small { font-family: var(--sans); font-size: 12px; color: var(--muted); font-weight: 400; letter-spacing: 0.08em; }
.mobile-nav__foot { display: grid; gap: 12px; font-size: 14px; color: var(--muted); }
.mobile-nav__foot a { color: var(--ink-soft); }

/* ---------- 通用 ---------- */

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(84px, 10vw, 150px) var(--pad);
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 38ch);
  align-items: end;
  gap: 24px 48px;
  margin-bottom: clamp(36px, 4.6vw, 62px);
}
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(42px, 6.2vw, 84px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.section-head p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  max-width: 40ch;
  padding-bottom: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.btn .icon { width: 16px; height: 16px; }
.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 12px 30px rgba(232, 180, 110, 0.16);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(232, 180, 110, 0.24); }
.btn--ghost {
  border-color: var(--line-strong);
  background: var(--glass);
  color: var(--ink);
}
.btn--ghost:hover { background: var(--glass-2); transform: translateY(-2px); }

.text-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.text-btn .icon { width: 15px; height: 15px; transition: transform 0.25s ease; }
.text-btn:hover { color: var(--accent); border-color: var(--accent); }
.text-btn:hover .icon { transform: translateX(3px); }

.chip {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.chip--glass {
  background: rgba(9, 10, 14, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f4f0e8;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.glass-panel {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), var(--shadow-soft);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}

/* ---------- 首屏 ---------- */

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 118px var(--pad) 0;
}
.hero__top {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(28px, 4.6vw, 76px);
  align-items: center;
  min-height: calc(100svh - 250px);
}
.hero__copy { max-width: 660px; }

.hero__name {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(86px, 13.2vw, 204px);
  line-height: 0.86;
  letter-spacing: -0.055em;
  display: flex;
  margin-left: -0.06em;
}
.hero__name span { display: inline-block; }

.hero__en {
  margin-top: 18px;
  font-size: 13px;
  letter-spacing: 0.34em;
  color: var(--muted);
}
.hero__role {
  margin-top: 30px;
  font-size: clamp(16px, 1.35vw, 19px);
  color: var(--ink);
  letter-spacing: 0.01em;
}
.hero__lede {
  margin-top: 14px;
  max-width: 42ch;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__facts { margin-top: 26px; font-size: 11.5px; letter-spacing: 0.06em; color: var(--muted); }

.hero__visual {
  position: relative;
  align-self: stretch;
  min-height: 520px;
  max-height: 760px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  box-shadow: var(--shadow);
}
.hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 8, 11, 0) 45%, rgba(7, 8, 11, 0.78) 100%);
  pointer-events: none;
}
.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.015);
  animation: heroImage 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero__caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  color: #f4f0e8;
}
.hero__caption-title { font-family: var(--serif); font-size: 19px; font-weight: 700; letter-spacing: 0.02em; }
.hero__caption-meta { font-size: 11px; color: rgba(244, 240, 232, 0.66); letter-spacing: 0.08em; }

@keyframes heroImage {
  from { opacity: 0; transform: scale(1.08); }
  to { opacity: 1; transform: scale(1.015); }
}

.hero__strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: clamp(28px, 4vw, 52px);
  padding-bottom: 34px;
}
.strip-item {
  display: grid;
  gap: 9px;
  text-align: left;
  padding: 8px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.strip-item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  filter: saturate(0.86) brightness(0.9);
  transition: filter 0.35s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.strip-item__text { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 0 2px; }
.strip-item__text b { font-size: 12px; font-weight: 500; color: var(--ink-soft); }
.strip-item__text small { font-size: 10px; color: var(--muted); white-space: nowrap; }
.strip-item:hover { background: var(--glass); border-color: var(--line); transform: translateY(-2px); }
.strip-item:hover img { filter: saturate(1) brightness(1); transform: scale(1.02); }

/* ---------- 宣言 ---------- */

.statement {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(70px, 8vw, 118px) var(--pad);
}
.statement__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
  padding-top: clamp(34px, 4vw, 54px);
  border-top: 1px solid var(--line);
}
.statement__big {
  font-family: var(--serif);
  font-size: clamp(34px, 4.7vw, 62px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.04em;
}
.statement__side { max-width: 42ch; justify-self: end; }
.statement__side p { font-size: 15px; line-height: 1.85; color: var(--ink-soft); }
.statement__note { margin-top: 16px; color: var(--muted) !important; font-size: 13px !important; }

/* ---------- 作品 ---------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.work-stack { display: flex; flex-direction: column; gap: clamp(16px, 2vw, 28px); }

.work {
  display: flex;
  flex-direction: column;
  text-align: left;
  min-width: 0;
}
.work--illu { grid-column: span 6; }
.work-stack { grid-column: span 6; }
.work--gesture { grid-column: span 7; }
.work--mood { grid-column: span 5; }
.work--mg { grid-column: span 12; }

.work__media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--bg-elev);
  box-shadow: var(--shadow-soft);
}
.work--illu .work__media { aspect-ratio: 16 / 10; }
.work--liudeng .work__media { aspect-ratio: 16 / 10; }
.work--gesture .work__media { aspect-ratio: 16 / 9; }
.work--mood .work__media { aspect-ratio: 4 / 3; }

.work__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.5s ease;
}
.work--illu .work__media > img { object-position: center center; }
.work__media .chip { position: absolute; left: 14px; top: 14px; z-index: 2; }
.work:hover .work__media > img { transform: scale(1.045); }
.work:hover .work__media { border-color: var(--line-strong); }

.work__info {
  display: grid;
  gap: 8px;
  padding: 20px 4px 0;
}
.work__title {
  font-family: var(--serif);
  font-size: clamp(24px, 2.3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.work__desc { font-size: 14px; line-height: 1.7; color: var(--muted); max-width: 46ch; }
.work__more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.work__more .icon { width: 15px; height: 15px; transition: transform 0.3s ease; }
.work:hover .work__more .icon { transform: translateX(4px); }

.work__info--compact { padding-top: 15px; gap: 6px; }
.work__info--compact .work__title { font-size: clamp(21px, 1.9vw, 27px); }

.play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(8, 9, 12, 0.48);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), background-color 0.35s ease;
}
.play svg { width: 20px; height: 20px; fill: #f4f0e8; margin-left: 3px; }
.play--big { width: 74px; height: 74px; margin: -37px 0 0 -37px; }
.play--big svg { width: 26px; height: 26px; }
.work:hover .play { transform: scale(1.08); background: rgba(232, 180, 110, 0.9); }
.work:hover .play svg { fill: #1a1207; }

.work__media--split { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; }
.work__media--split img { width: 100%; height: 100%; object-fit: cover; }
.work__media--split .chip { left: 14px; top: 14px; }

.work--mg {
  margin-top: 6px;
  padding: clamp(18px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), var(--shadow-soft);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}
.work--mg__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
.work--mg__head > div { display: grid; gap: 8px; }
.work--mg__head .work__desc { max-width: 52ch; }
.mg-stills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mg-still {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  text-align: left;
}
.mg-still img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.4s ease;
  filter: saturate(0.92) brightness(0.86);
}
.mg-still::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(5, 6, 9, 0.82) 100%);
}
.mg-still__meta {
  position: absolute;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
  left: 13px;
  right: 13px;
  bottom: 11px;
  z-index: 2;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  color: #f4f0e8;
}
.mg-still__meta b { font-family: var(--serif); font-size: 16px; font-weight: 700; }
.mg-still__meta small { font-size: 10px; color: rgba(244, 240, 232, 0.66); white-space: nowrap; }
.mg-still:hover img { transform: scale(1.05); filter: saturate(1) brightness(0.98); }
.mg-still:hover { border-color: var(--accent); }

/* ---------- 插画档案 ---------- */

.archive__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--muted);
  font-size: 12.5px;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.filter span { margin-left: 4px; font-size: 10px; opacity: 0.66; }
.filter:hover { color: var(--ink); border-color: var(--line-strong); }
.filter.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filter.is-active span { opacity: 0.6; }
html[data-theme="light"] .filter.is-active { background: var(--ink); color: #f7f2e8; }
.archive__count { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }

.archive__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 14px;
  grid-auto-rows: 8px;
  grid-auto-flow: dense;
  --shot-gap: 14px;
}
.shot { min-width: 0; align-self: start; }
.shot.is-hidden { display: none; }
.shot__btn { display: block; width: 100%; text-align: left; }
.shot__btn img {
  width: 100%;
  aspect-ratio: var(--ar, 0.75);
  object-fit: cover;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--bg-elev);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.3s ease, filter 0.3s ease;
}
.shot__btn figcaption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 2px 2px;
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.shot__btn figcaption span:last-child { opacity: 0; transition: opacity 0.25s ease; }
.shot__btn:hover img { transform: translateY(-3px); border-color: var(--line-strong); filter: brightness(1.04); }
.shot__btn:hover figcaption span:last-child { opacity: 1; color: var(--accent); }

.archive__foot { display: flex; justify-content: center; margin-top: 34px; }

/* ---------- 关于 ---------- */

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: start;
}
.about__statement {
  font-family: var(--serif);
  font-size: clamp(26px, 2.9vw, 38px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
  max-width: 26ch;
}
.about__main > p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-soft);
  max-width: 58ch;
  margin-bottom: 16px;
}
.capabilities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.capabilities li { display: grid; gap: 5px; }
.capabilities b { font-size: 14px; font-weight: 500; letter-spacing: 0.01em; }
.capabilities span { font-size: 12.5px; line-height: 1.65; color: var(--muted); }

.about__now {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.about__now span { flex: none; font-size: 11px; letter-spacing: 0.14em; color: var(--muted); }

.about__side { position: sticky; top: 104px; }
.glass-panel { padding: clamp(22px, 2.4vw, 30px); }
.panel-label { font-size: 11px; letter-spacing: 0.14em; color: var(--muted); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; margin: 18px 0 26px; }
.facts dt { font-size: 10.5px; color: var(--muted); letter-spacing: 0.06em; }
.facts dd { font-family: var(--serif); font-size: 19px; font-weight: 700; margin-top: 3px; letter-spacing: -0.01em; }
.tools { padding-top: 22px; border-top: 1px solid var(--line); }
.tools p { margin-top: 10px; font-size: 13px; line-height: 1.8; color: var(--ink-soft); }
.availability {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-soft);
}
.availability i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(131, 201, 189, 0.12);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(131, 201, 189, 0.12); }
  50% { box-shadow: 0 0 0 8px rgba(131, 201, 189, 0.03); }
}

/* ---------- 联系 ---------- */

.contact { padding-bottom: 0; }
.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: end;
  padding-bottom: clamp(70px, 8vw, 120px);
}
.contact__copy h2 {
  font-family: var(--serif);
  font-size: clamp(58px, 9.4vw, 142px);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.055em;
}
.contact__copy p {
  margin-top: 26px;
  max-width: 38ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}
.contact__side { display: grid; gap: 0; padding-bottom: 8px; }
.contact__row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.contact__label { width: 46px; flex: none; font-size: 11px; color: var(--muted); letter-spacing: 0.08em; }
.contact__email { font-size: clamp(17px, 1.7vw, 22px); letter-spacing: -0.01em; }
.contact__phone { font-size: 17px; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.contact__city { font-size: 16px; }
.contact__email:hover, .contact__phone:hover { color: var(--accent); }
.copy-btn {
  margin-left: auto;
  flex: none;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--muted);
  font-size: 11px;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.copy-btn:hover { color: var(--ink); border-color: var(--line-strong); background: var(--glass-2); }
.copy-btn.is-done { color: var(--teal); border-color: var(--teal); }
.contact__cta { margin-top: 26px; justify-self: start; }
.contact__note { margin-top: 18px; max-width: 30ch; font-size: 13px; line-height: 1.8; color: var(--muted); }

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 26px 0 30px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.03em;
}
.footer a:hover { color: var(--accent); }

.noscript {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 80;
  max-width: 360px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--glass-solid);
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-soft);
}

/* ---------- 作品弹层 ---------- */

.modal,
.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
}
.modal::backdrop {
  background: rgba(4, 5, 8, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.modal__panel {
  position: relative;
  width: min(1100px, calc(100% - 40px));
  height: min(90svh, 980px);
  margin: 5svh auto;
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  background: var(--glass-solid);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(34px) saturate(150%);
  -webkit-backdrop-filter: blur(34px) saturate(150%);
  overflow: hidden;
  animation: modalIn 0.42s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
.modal__close,
.lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 6;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 9, 12, 0.5);
  color: #f4f0e8;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background-color 0.25s ease, transform 0.25s ease;
}
.modal__close svg, .lightbox__close svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; }
.modal__close:hover, .lightbox__close:hover { background: rgba(232, 180, 110, 0.9); color: #1a1207; transform: rotate(90deg); }
.modal__scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }

.modal-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8.6;
  max-height: 54svh;
  overflow: hidden;
  background: #05060a;
}
.modal-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
}
.modal-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 6, 9, 0.1) 0%, rgba(5, 6, 9, 0) 35%, rgba(5, 6, 9, 0.88) 100%);
}
.modal-hero__text {
  position: absolute;
  left: clamp(22px, 4vw, 52px);
  right: clamp(22px, 4vw, 52px);
  bottom: clamp(20px, 3.4vw, 40px);
  z-index: 2;
  color: #f4f0e8;
  display: grid;
  gap: 10px;
}
.modal-hero__text .chip { justify-self: start; }
.modal-hero__text h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4.4vw, 58px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.modal-hero__text p { font-size: 13px; color: rgba(244, 240, 232, 0.7); letter-spacing: 0.04em; }

.modal-body { padding: clamp(26px, 4vw, 52px) clamp(22px, 4.4vw, 56px) clamp(34px, 4vw, 56px); }
.modal-lede {
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.8;
  color: var(--ink);
  max-width: 68ch;
}
.modal-p {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 72ch;
}
.modal-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 24px;
  margin: 30px 0 34px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.modal-meta div { display: grid; gap: 4px; }
.modal-meta dt { font-size: 10.5px; color: var(--muted); letter-spacing: 0.08em; }
.modal-meta dd { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }

.modal-section { margin-top: 36px; }
.modal-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}
.modal-section h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.modal-section__head span { font-size: 11.5px; color: var(--muted); }

.modal-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.modal-gallery figure {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--bg-elev);
}
.modal-gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.modal-gallery--wide figure img { aspect-ratio: 16 / 10; }
.modal-gallery figure.is-square img { aspect-ratio: 1 / 1; object-fit: contain; background: #e9e5dc; }
.modal-gallery figcaption {
  padding: 8px 10px 9px;
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.03em;
}
.modal-gallery figure:hover img { transform: scale(1.03); }

.modal-video { display: grid; gap: 10px; margin-bottom: 26px; }
.modal-video video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: #000;
  object-fit: contain;
}
.modal-video__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.modal-video__meta b { font-family: var(--serif); font-size: 17px; font-weight: 700; }
.modal-video__meta small { font-size: 11px; color: var(--muted); }
.modal-video p { font-size: 13px; line-height: 1.75; color: var(--muted); max-width: 70ch; }

.demo {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: #05060a;
}
.demo__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 14px;
  background: var(--glass);
  border-bottom: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted);
}
.demo__bar a { color: var(--accent); display: inline-flex; align-items: center; gap: 5px; }
.demo__bar a:hover { text-decoration: underline; }
.demo iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; background: #05060a; }
.demo--tall iframe { aspect-ratio: 16 / 10; }
.demo-note { margin-top: 10px; font-size: 11.5px; color: var(--muted); line-height: 1.7; }

.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }

/* ---------- 灯箱 ---------- */

.lightbox::backdrop { background: rgba(3, 4, 6, 0.94); }
.lightbox__figure {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 54px 76px 40px;
}
.lightbox__figure img {
  max-width: min(1200px, 100%);
  max-height: calc(100svh - 150px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.lightbox__figure figcaption {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
  font-size: 12px;
  color: rgba(244, 240, 232, 0.72);
}
#lb-count { color: rgba(244, 240, 232, 0.42); font-variant-numeric: tabular-nums; }
.lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 46px;
  margin-top: -23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(10, 11, 15, 0.5);
  color: #f4f0e8;
  backdrop-filter: blur(12px);
  transition: background-color 0.25s ease, color 0.25s ease;
}
.lightbox__nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__nav:hover { background: var(--accent); color: #1a1207; }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }

/* ---------- 入场与滚动 ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

.js .hero__copy > * { animation: heroIn 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.js .hero__copy > *:nth-child(1) { animation-delay: 0.05s; }
.js .hero__copy > *:nth-child(2) { animation-delay: 0.12s; }
.js .hero__copy > *:nth-child(3) { animation-delay: 0.2s; }
.js .hero__copy > *:nth-child(4) { animation-delay: 0.28s; }
.js .hero__copy > *:nth-child(5) { animation-delay: 0.36s; }
.js .hero__copy > *:nth-child(6) { animation-delay: 0.44s; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
.js .hero__strip { animation: heroIn 0.9s 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

/* ---------- 响应式 ---------- */

@media (max-width: 1180px) {
  .hero__name { font-size: clamp(80px, 12.4vw, 170px); }
  .work--gesture { grid-column: span 7; }
  .work--mood { grid-column: span 5; }
  .archive__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .brand__text span { display: none; }
  .site-header__inner { height: 68px; }

  .hero { padding-top: 96px; }
  .hero__top {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 38px;
  }
  .hero__copy { max-width: 700px; }
  .hero__visual { min-height: 0; height: min(72svh, 700px); max-height: none; }
  .hero__name { font-size: clamp(78px, 18vw, 150px); }
  .hero__strip { grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .strip-item__text { display: grid; justify-content: start; gap: 2px; }
  .strip-item__text small { font-size: 10px; }

  .statement__inner { grid-template-columns: 1fr; gap: 26px; }
  .statement__side { justify-self: start; max-width: 52ch; }

  .work-grid { grid-template-columns: 1fr; gap: 44px; }
  .work--illu, .work-stack, .work--gesture, .work--mood, .work--mg { grid-column: auto; }
  .work-stack { gap: 44px; }
  .work--illu .work__media { aspect-ratio: 16 / 10; }
  .work--liudeng .work__media { aspect-ratio: 16 / 10; }
  .work--gesture .work__media, .work--mood .work__media { aspect-ratio: 16 / 10; }
  .work__info { padding-top: 16px; }
  .work__title { font-size: 26px; }
  .work--mg__head { flex-direction: column; align-items: flex-start; gap: 14px; }

  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .section-head p { max-width: 52ch; padding-bottom: 0; }

  .about__grid, .contact__inner { grid-template-columns: 1fr; gap: 36px; }
  .about__side { position: static; }
  .contact__copy h2 { font-size: clamp(56px, 13.5vw, 110px); }
  .archive__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .modal__panel { width: calc(100% - 24px); height: 94svh; margin: 3svh auto; border-radius: 18px; }
  .modal-hero { aspect-ratio: 16 / 10; max-height: 38svh; }
  .modal-meta { grid-template-columns: 1fr 1fr; }
  .modal-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  :root { --pad: 18px; }
  .site-header__inner { gap: 12px; }
  .brand__mark { width: 34px; height: 34px; font-size: 17px; }
  .brand__text b { font-size: 14px; }
  .theme-btn { width: 38px; height: 38px; }
  .menu-btn { padding: 0 11px; }

  .hero { padding-top: 88px; }
  .hero__name { font-size: clamp(68px, 22.5vw, 112px); }
  .hero__en { margin-top: 12px; font-size: 10px; letter-spacing: 0.26em; }
  .hero__role { margin-top: 20px; font-size: 15px; }
  .hero__lede { font-size: 14.5px; line-height: 1.75; }
  .hero__actions { margin-top: 24px; }
  .hero__visual { height: 62svh; }
  .hero__caption { left: 16px; right: 16px; bottom: 14px; flex-direction: column; align-items: flex-start; gap: 3px; }
  .hero__caption-title { font-size: 16px; }
  .hero__caption-meta { font-size: 10px; }
  .hero__strip {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    margin: 22px calc(var(--pad) * -1) 0;
    padding: 0 var(--pad) 26px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .hero__strip::-webkit-scrollbar { display: none; }
  .strip-item { flex: 0 0 168px; scroll-snap-align: start; }
  .strip-item__text b { font-size: 11.5px; }

  .section { padding-top: 76px; padding-bottom: 76px; }
  .section-head h2 { font-size: clamp(38px, 12vw, 58px); }
  .statement { padding-top: 34px; padding-bottom: 30px; }
  .statement__big { font-size: 31px; }
  .statement__side p { font-size: 14px; }

  .work-grid { gap: 38px; }
  .work-stack { gap: 38px; }
  .work--illu .work__media { aspect-ratio: 4 / 4.6; }
  .work__title { font-size: 23px; }
  .work__desc { font-size: 13px; }
  .mg-stills { grid-template-columns: 1fr; gap: 9px; }
  .mg-still { aspect-ratio: 16 / 8.6; }

  .archive__bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    width: calc(100% + var(--pad) * 2);
    padding: 2px var(--pad);
    margin: 0 calc(var(--pad) * -1);
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, #000 88%, transparent 100%);
    mask-image: linear-gradient(to right, #000 88%, transparent 100%);
  }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .archive__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 9px; --shot-gap: 10px; }
  .shot__btn figcaption { font-size: 10px; padding-top: 5px; }
  .shot__btn figcaption span:last-child { display: none; }

  .capabilities { grid-template-columns: 1fr; gap: 20px; }
  .about__statement { font-size: 26px; }
  .facts { gap: 16px; }
  .contact__copy h2 { font-size: clamp(48px, 15.5vw, 80px); }
  .contact__row { gap: 12px; flex-wrap: wrap; }
  .contact__email { font-size: 16px; }
  .copy-btn { margin-left: 0; }
  .footer { flex-direction: column; align-items: flex-start; gap: 7px; }

  .modal__panel { width: 100%; height: 100svh; margin: 0; border-radius: 0; border: 0; }
  .modal__scroll { height: 100%; }
  .modal-hero { aspect-ratio: 4 / 3; max-height: 34svh; }
  .modal-hero__text h2 { font-size: 30px; }
  .modal-body { padding: 22px 18px 38px; }
  .modal-lede { font-size: 16px; }
  .modal-meta { grid-template-columns: 1fr 1fr; margin: 24px 0 28px; padding: 18px 0; }
  .modal-gallery { grid-template-columns: 1fr 1fr; gap: 7px; }
  .modal-video__meta { flex-direction: column; align-items: flex-start; gap: 2px; }
  .demo__bar { font-size: 10.5px; flex-wrap: wrap; }
  .modal-actions .btn { width: 100%; }

  .lightbox__figure { padding: 60px 12px 30px; }
  .lightbox__nav { width: 38px; height: 38px; }
  .lightbox__nav--prev { left: 6px; }
  .lightbox__nav--next { right: 6px; }
  .lightbox__figure figcaption { flex-direction: column; gap: 4px; }
}

@media (max-width: 380px) {
  .hero__name { font-size: 64px; }
  .work__title { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .spotlight { display: none; }
}

/* ---------- 补充 ---------- */

section[id] { scroll-margin-top: 90px; }

.spotlight { transform: translate3d(-999px, -999px, 0); }

.gallery-btn { display: block; width: 100%; text-align: left; }
.gallery-btn img { display: block; }
