/* ==========================================================
   道成文化 · 站点样式
   1 基础 / 2 加载与光标 / 3 导航 / 4 首屏 / 5 作品
   6 服务 / 7 关于 / 8 联系与页脚 / 9 作品详情 / 10 响应式
   ========================================================== */

/* ---------- 1 基础 ---------- */
:root {
  --paper: #f5f3ee;
  --paper-2: #ebe7de;
  --ink: #14120f;
  --ink-2: #1e1b17;
  --muted: #6b655c;
  --line: rgba(20, 18, 15, .14);
  --line-light: rgba(245, 243, 238, .16);
  --accent: #a9663f;
  --header-h: 88px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.9;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, dl, dd, dt, figure, figcaption { list-style: none; }

::selection { background: var(--ink); color: var(--paper); }

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 72px);
}

.section {
  padding: clamp(64px, 7.6vw, 108px) 0;
  padding-inline: clamp(20px, 5vw, 72px);
  max-width: 1440px;
  margin: 0 auto;
}

/* 滚动渐入 */
html.js [data-reveal] { opacity: 0; transform: translateY(26px); }
html.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity .9s var(--ease), transform 1.1s var(--ease);
}

/* ---------- 2 加载与光标 ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: loaderOut .9s var(--ease) 2.2s forwards;
}
.loader-inner { text-align: center; width: min(300px, 62vw); }
.loader-mark {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: .22em;
  text-indent: .22em;
  margin-bottom: 26px;
}
.loader-bar { height: 1px; background: rgba(245, 243, 238, .22); overflow: hidden; }
.loader-bar span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--paper);
  transform: scaleX(0);
  transform-origin: left;
  animation: loadBar 1.8s var(--ease) .1s forwards;
}
.loader.done { animation: loaderOut .9s var(--ease) forwards; }

@keyframes loadBar { to { transform: scaleX(1); } }
@keyframes loaderOut {
  0% { transform: translateY(0); }
  100% { transform: translateY(-101%); }
}

.page-veil {
  position: fixed;
  inset: 0;
  z-index: 8990;
  background: var(--ink);
  pointer-events: none;
  transform: translateY(101%);
  transition: transform .7s var(--ease);
}
.page-veil.show { transform: translateY(0); }

/* 使用系统默认鼠标指针 */

/* ---------- 3 导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--header-h);
  transition: background .5s var(--ease), box-shadow .5s, height .4s var(--ease);
}
.is-home .site-header { margin-bottom: calc(-1 * var(--header-h)); }
.site-header.scrolled {
  height: 68px;
  background: rgba(245, 243, 238, .84);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.hidden { transform: translateY(-101%); }
.site-header { transition: transform .5s var(--ease), background .5s, box-shadow .5s, height .4s; }

.header-inner {
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 38px; height: 38px;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1;
  transition: transform .6s var(--ease);
}
.logo:hover .logo-mark { transform: rotate(-90deg); }
.logo-mark em { font-style: normal; display: block; transform: translateY(1px); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-cn { font-family: var(--serif); font-weight: 600; font-size: 17px; letter-spacing: .14em; }
.logo-en { font-size: 8.5px; letter-spacing: .32em; color: var(--muted); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.nav a {
  position: relative;
  font-size: 13.5px;
  letter-spacing: .12em;
  padding: 4px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.5;
}
.nav-en { font-size: 8px; letter-spacing: .2em; color: var(--muted); opacity: .65; margin-top: 2px; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header-right { display: flex; align-items: center; gap: 14px; }
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px 11px 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .1em;
  overflow: hidden;
  position: relative;
  transition: color .45s var(--ease), border-color .45s;
}
.header-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.header-cta span, .header-cta svg { position: relative; z-index: 1; }
.header-cta svg { width: 15px; height: 15px; transition: transform .5s var(--ease); }
.header-cta:hover { color: var(--paper); }
.header-cta:hover::before { transform: translateY(0); }
.header-cta:hover svg { transform: translateX(4px); }

.menu-btn { display: none; width: 40px; height: 40px; position: relative; }
.menu-btn span {
  position: absolute; left: 8px; width: 24px; height: 1px; background: var(--ink);
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.menu-btn span:first-child { top: 16px; }
.menu-btn span:last-child { top: 24px; width: 16px; }
.menu-btn.active span:first-child { top: 20px; transform: rotate(45deg); }
.menu-btn.active span:last-child { top: 20px; width: 24px; transform: rotate(-45deg); }

.scroll-progress { position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: transparent; }
.scroll-progress span { display: block; height: 100%; width: 0; background: var(--ink); opacity: .28; }

/* 移动菜单 */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-101%);
  transition: transform .8s var(--ease);
  padding: calc(var(--header-h) + 20px) clamp(24px, 7vw, 60px) 40px;
  visibility: hidden;
}
.menu-overlay.open { transform: translateY(0); visibility: visible; }
.menu-panel { height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
/* 菜单展开时顶栏改为浅色，避免在黑底上看不清 */
body.menu-open .site-header { color: var(--paper); background: transparent; box-shadow: none; }
body.menu-open .logo-cn { color: var(--paper); }
body.menu-open .logo-en, body.menu-open .nav-en { color: rgba(245, 243, 238, .55); }
body.menu-open .logo-mark { background: var(--paper); color: var(--ink); }
body.menu-open .menu-btn span { background: var(--paper); }
.menu-links { display: flex; flex-direction: column; gap: 6px; margin-top: 4vh; }
.menu-links a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-family: var(--serif);
  font-size: clamp(30px, 8vw, 44px);
  line-height: 1.5;
  border-bottom: 1px solid var(--line-light);
  padding: 10px 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s, transform .6s var(--ease);
}
.menu-overlay.open .menu-links a { opacity: 1; transform: none; }
.menu-overlay.open .menu-links a:nth-child(1) { transition-delay: .16s; }
.menu-overlay.open .menu-links a:nth-child(2) { transition-delay: .24s; }
.menu-overlay.open .menu-links a:nth-child(3) { transition-delay: .32s; }
.menu-overlay.open .menu-links a:nth-child(4) { transition-delay: .40s; }
.menu-links .mi { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; color: rgba(245, 243, 238, .5); }
.menu-links i { font-style: normal; font-family: var(--sans); font-size: 10px; letter-spacing: .3em; color: rgba(245, 243, 238, .45); margin-left: auto; }
.menu-foot { font-size: 13px; letter-spacing: .08em; color: rgba(245, 243, 238, .6); line-height: 2; }

/* ---------- 4 首屏 ---------- */
.hero {
  min-height: 100svh;
  max-width: 1440px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 40px) clamp(20px, 5vw, 72px) 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  letter-spacing: .22em;
  color: var(--muted);
  margin-bottom: clamp(18px, 3vw, 34px);
}
.pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(169, 102, 63, .5);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(169, 102, 63, .45); }
  70% { box-shadow: 0 0 0 10px rgba(169, 102, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(169, 102, 63, 0); }
}

.hero-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(52px, 7.6vw, 112px);
  line-height: 1.04;
  letter-spacing: -.02em;
  margin-bottom: clamp(20px, 3vw, 34px);
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span {
  display: block;
  transform: translateY(110%);
  transition: transform 1.35s var(--ease);
}
.hero-title .line:nth-child(2) > span { transition-delay: .12s; }
.hero-title.ready .line > span { transform: none; }

.hero-lead {
  max-width: 40ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
  margin-bottom: clamp(26px, 3.4vw, 42px);
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 13.5px;
  letter-spacing: .12em;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  transition: color .5s var(--ease), border-color .5s;
}
.btn svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform .5s var(--ease);
}
.btn span, .btn svg { position: relative; z-index: 1; }
.btn-dark:hover::before { transform: translateY(0); }
.btn-dark:hover svg { transform: translateX(5px); }
.btn-line { border-color: var(--line); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-line span::after { content: " →"; opacity: 0; transition: opacity .4s; }
.btn-line:hover span::after { opacity: 1; }

.hero-visual { position: relative; align-self: center; }
.hero-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  background: var(--paper-2);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.6s var(--ease) .25s;
}
.hero-frame.loaded { clip-path: inset(0 0 0 0); }
.hero-img {
  width: 100%; height: 112%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 2s var(--ease);
  will-change: transform;
}
.hero-caption {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--muted);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .9s .9s, transform .9s .9s var(--ease);
}
.hero-frame.loaded ~ .hero-caption,
.is-home .hero-frame.loaded + .hero-caption { opacity: 1; transform: none; }

.scroll-cue {
  position: absolute;
  left: clamp(20px, 5vw, 72px);
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 9px;
  letter-spacing: .3em;
  color: var(--muted);
}
.cue-line { width: 54px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.cue-line::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--ink);
  transform: translateX(-100%);
  animation: cueMove 2.4s var(--ease) infinite;
}
@keyframes cueMove {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

/* ---------- 滚动文字 ---------- */
.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 20px 0;
  background: var(--paper);
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marq 34s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--serif);
  font-size: clamp(15px, 1.6vw, 20px);
  letter-spacing: .18em;
  padding: 0 26px;
  white-space: nowrap;
}
.marquee-star { color: var(--accent); font-size: 9px; }
@keyframes marq {
  to { transform: translateX(-50%); }
}

/* ---------- 5 作品 ---------- */
.section-head {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 3vw, 40px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.section-no {
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--muted);
  padding-top: 10px;
  min-width: 34px;
}
.section-title-wrap { flex: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.2;
  letter-spacing: .02em;
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}
.title-en {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: .28em;
  color: var(--muted);
}
.section-sub {
  font-size: 13.5px;
  color: var(--muted);
  max-width: 34ch;
  line-height: 1.9;
  text-align: right;
}

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(30px, 4vw, 48px); }
.chip {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: .1em;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .4s, background .4s, border-color .4s, transform .4s var(--ease);
}
.chip:hover { color: var(--ink); border-color: rgba(20,18,15,.4); transform: translateY(-2px); }
.chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip-count { font-size: 10px; opacity: .6; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(30px, 4.6vw, 72px) clamp(24px, 4vw, 56px);
  margin-top: clamp(36px, 5vw, 64px);
  transition: opacity .35s ease;
}
.work-grid.switching { opacity: .25; }
.work-card:nth-child(even) { margin-top: clamp(24px, 4vw, 72px); }
.work-card.is-hidden { display: none; }

.work-link { display: block; }
.work-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
}
.work-thumb.is-tall { aspect-ratio: 4 / 4.4; }
.work-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 1.3s var(--ease), filter .8s;
  filter: saturate(.96);
}
.work-link:hover .work-thumb img { transform: scale(1.065); filter: saturate(1.04); }
.thumb-view {
  position: absolute;
  right: 18px; bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(245, 243, 238, .92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 11.5px;
  letter-spacing: .1em;
  transform: translateY(120%);
  opacity: 0;
  transition: transform .6s var(--ease), opacity .5s;
}
.thumb-view svg { width: 13px; height: 13px; }
.work-link:hover .thumb-view { transform: none; opacity: 1; }

.work-meta { padding-top: 18px; display: flex; flex-direction: column; gap: 4px; }
.work-cat { font-size: 10.5px; letter-spacing: .18em; color: var(--muted); }
.work-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(17px, 1.75vw, 22px);
  line-height: 1.5;
  transition: color .4s, transform .5s var(--ease);
}
.work-link:hover .work-title { color: var(--accent); }
.work-tags { font-size: 11.5px; color: var(--muted); letter-spacing: .04em; opacity: .8; }

.work-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(44px, 5vw, 72px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
}
.text-link span { transition: transform .45s var(--ease); }
.text-link:hover span { transform: translateX(5px); }
.empty-note { color: var(--muted); font-size: 14px; }

/* ---------- 6 服务 ---------- */
.service-list { margin-top: clamp(34px, 4vw, 54px); border-bottom: 1px solid var(--line); }
.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 62px 1fr 1.5fr .9fr 34px;
  align-items: center;
  gap: clamp(14px, 2.4vw, 36px);
  padding: clamp(22px, 2.6vw, 34px) 0;
  border-top: 1px solid var(--line);
  overflow: hidden;
  transition: padding .5s var(--ease);
}
.service-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .65s var(--ease);
}
.service-row > * { position: relative; z-index: 1; transition: color .5s, transform .6s var(--ease); }
.s-no { font-size: 11px; letter-spacing: .18em; color: var(--muted); }
.s-name { font-family: var(--serif); font-weight: 500; font-size: clamp(18px, 2vw, 26px); letter-spacing: .02em; }
.s-desc { font-size: 13px; line-height: 1.9; color: var(--muted); max-width: 42ch; }
.s-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 0; }
.s-tags i {
  font-style: normal;
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--muted);
  white-space: nowrap;
  transition: color .5s;
}
.s-tags i:not(:first-child)::before { content: "·"; margin: 0 7px; opacity: .55; }
.s-arrow { justify-self: end; width: 20px; height: 20px; color: var(--muted); }
.s-arrow svg { width: 100%; height: 100%; }
@media (hover: hover) {
  .service-row:hover { padding-inline: 26px; }
  .service-row:hover::before { transform: scaleY(1); }
  .service-row:hover .s-name, .service-row:hover .s-no { color: var(--paper); }
  .service-row:hover .s-desc, .service-row:hover .s-arrow { color: rgba(245, 243, 238, .74); }
  .service-row:hover .s-tags i { color: rgba(245, 243, 238, .8); border-color: rgba(245, 243, 238, .28); }
  .service-row:hover .s-arrow { transform: translate(3px, -3px); }
  .service-row:hover .s-name { transform: translateX(6px); }
}

/* ---------- 6.5 动态 ---------- */
.news-list { margin-top: clamp(34px, 4vw, 54px); border-bottom: 1px solid var(--line); }
.news-list + .work-more { border-top: 0; }
.news-row {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr 30px;
  gap: clamp(16px, 2.6vw, 40px);
  align-items: start;
  padding: clamp(22px, 2.4vw, 32px) 0;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.news-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform .65s var(--ease);
}
.news-row > * { position: relative; z-index: 1; transition: color .5s, transform .6s var(--ease); }
.n-date { font-size: 11px; letter-spacing: .14em; color: var(--muted); padding-top: 6px; white-space: nowrap; }
.n-main { display: block; }
.n-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 9px;
  margin-bottom: 10px;
  transition: color .5s, border-color .5s;
}
.n-title { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(18px, 2vw, 26px); line-height: 1.5; }
.n-sum { display: block; margin-top: 8px; font-size: 13px; line-height: 1.95; color: var(--muted); max-width: 60ch; }
.n-arrow { justify-self: end; width: 18px; height: 18px; color: var(--muted); margin-top: 8px; }
.n-arrow svg { width: 100%; height: 100%; }
@media (hover: hover) {
  .news-row:hover::before { transform: translateY(0); }
  .news-row:hover .n-date, .news-row:hover .n-title { color: var(--paper); }
  .news-row:hover .n-sum, .news-row:hover .n-arrow { color: rgba(245, 243, 238, .74); }
  .news-row:hover .n-tag { color: rgba(245, 243, 238, .85); border-color: rgba(245, 243, 238, .3); }
  .news-row:hover .n-title { transform: translateX(6px); }
  .news-row:hover .n-arrow { transform: translate(3px, -3px); }
}

/* ---------- 7 关于 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(30px, 6vw, 100px);
  margin-top: clamp(36px, 5vw, 64px);
}
.about-sticky { position: sticky; top: 120px; align-self: start; }
.about-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.5;
  letter-spacing: .01em;
  max-width: 9.5em;
  word-break: keep-all;
}
.about-sign { margin-top: 28px; font-size: 11px; letter-spacing: .2em; color: var(--muted); }
.about-body { font-size: 15px; line-height: 2.1; color: var(--muted); }
.about-body p { margin-bottom: 22px; max-width: 54ch; }
.about-body p:last-of-type { margin-bottom: 0; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: clamp(36px, 4vw, 56px);
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.stat-num { font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); line-height: 1.1; color: var(--ink); display: flex; align-items: baseline; gap: 2px; }
.stat-num b { font-weight: 500; }
.stat-num i { font-style: normal; font-size: 13px; color: var(--accent); }
.stat-label { display: block; font-size: 11px; letter-spacing: .14em; color: var(--muted); margin-top: 6px; }

.about-band {
  position: relative;
  margin-top: clamp(56px, 7vw, 110px);
  max-width: none;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background: var(--paper-2);
}
.about-band img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.about-band figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 72px);
  font-size: 10px;
  letter-spacing: .2em;
  color: rgba(245, 243, 238, .92);
  background: linear-gradient(to top, rgba(20,18,15,.55), transparent);
}

/* ---------- 8 联系与页脚 ---------- */
.contact {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(70px, 9vw, 130px) clamp(20px, 5vw, 72px) clamp(50px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}
.contact-inner { max-width: 1440px; margin: 0 auto; }
.section-no.light { color: rgba(245, 243, 238, .5); border-top: 1px solid var(--line-light); display: block; padding-top: 26px; }
.contact-kicker { font-size: 10px; letter-spacing: .32em; color: rgba(245, 243, 238, .55); margin-top: 22px; }
.contact-big {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 40px);
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(38px, 7vw, 104px);
  line-height: 1.1;
  letter-spacing: .01em;
  margin: 10px 0 clamp(40px, 5vw, 70px);
  position: relative;
  width: fit-content;
}
.contact-big span { position: relative; }
.contact-big span::after {
  content: "";
  position: absolute;
  left: 0; bottom: -.06em;
  height: 2px; width: 100%;
  background: var(--paper);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .7s var(--ease);
}
.contact-big:hover span::after { transform: scaleX(1); transform-origin: left; }
.contact-big svg { width: clamp(26px, 4vw, 54px); height: clamp(26px, 4vw, 54px); transition: transform .6s var(--ease); }
.contact-big:hover svg { transform: translate(8px, -8px); }

.contact-info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 48px);
  padding-top: 34px;
  border-top: 1px solid var(--line-light);
}
.ci { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.ci-label { font-size: 9.5px; letter-spacing: .22em; color: rgba(245, 243, 238, .45); }
.ci a { position: relative; width: fit-content; }
.ci a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.ci a:hover::after { transform: scaleX(1); transform-origin: left; }
.contact-hours { margin-top: 38px; font-size: 12px; letter-spacing: .1em; color: rgba(245, 243, 238, .45); }

.site-footer { background: var(--ink); color: var(--paper); padding: 0 clamp(20px, 5vw, 72px) 34px; }
.footer-inner { max-width: 1440px; margin: 0 auto; border-top: 1px solid var(--line-light); padding-top: 34px; }
.footer-top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.f-logo { font-family: var(--serif); font-size: 20px; letter-spacing: .18em; display: block; }
.f-en { font-size: 9px; letter-spacing: .26em; color: rgba(245, 243, 238, .45); display: block; margin-top: 8px; }
.footer-nav { display: flex; gap: 22px; font-size: 13px; letter-spacing: .1em; color: rgba(245, 243, 238, .75); }
.footer-nav a:hover { color: var(--paper); }
.footer-contact { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: rgba(245, 243, 238, .75); text-align: right; }
.footer-contact a:hover { color: var(--paper); }
.footer-seo {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 30px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(245, 243, 238, .1);
  font-size: 12px;
  line-height: 2;
  color: rgba(245, 243, 238, .5);
}
.fs-line { display: flex; flex-wrap: wrap; align-items: baseline; }
.fs-label {
  display: inline-block;
  margin-right: 12px;
  font-size: 10px;
  letter-spacing: .18em;
  color: rgba(245, 243, 238, .34);
  border: 1px solid rgba(245, 243, 238, .16);
  border-radius: 2px;
  padding: 2px 7px;
}
.fs-kw { color: rgba(245, 243, 238, .58); }
.fs-dot { margin: 0 7px; color: rgba(245, 243, 238, .26); font-style: normal; }
.fs-area { color: rgba(245, 243, 238, .42); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(245, 243, 238, .1);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: rgba(245, 243, 238, .55);
}
.f-copy { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.f-icp { color: rgba(245, 243, 238, .8); text-decoration: none; border-bottom: 1px solid rgba(245, 243, 238, .3); padding-bottom: 1px; }
.f-icp:hover { color: var(--paper); border-bottom-color: var(--paper); }
.f-meta { display: flex; gap: 18px; }
.f-admin { opacity: .7; }
.f-admin:hover { opacity: 1; }

/* ---------- 8.5 动态列表页 ---------- */
.news-page {
  padding: calc(var(--header-h) + clamp(36px, 5vw, 78px)) clamp(20px, 5vw, 72px) clamp(60px, 8vw, 110px);
  max-width: 1080px;
  margin: 0 auto;
}
.news-page-head { margin-bottom: clamp(28px, 4vw, 52px); }
.news-page-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(32px, 5vw, 68px);
  line-height: 1.2;
}
.news-page-title .title-en { display: block; margin-top: 14px; }
.news-page-sub { margin-top: 18px; font-size: 14px; line-height: 1.95; color: var(--muted); max-width: 52ch; }
.news-article { padding: clamp(26px, 3.4vw, 40px) 0; border-top: 1px solid var(--line); }
.news-article:last-of-type { border-bottom: 1px solid var(--line); }
.na-top { display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .16em; color: var(--muted); flex-wrap: wrap; }
.na-tag { border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; font-size: 10px; letter-spacing: .12em; }
.na-title { font-family: var(--serif); font-weight: 500; font-size: clamp(21px, 2.6vw, 30px); line-height: 1.5; margin: 14px 0 10px; }
.na-sum { font-size: 14px; line-height: 1.95; color: var(--muted); max-width: 60ch; }
.na-body { margin-top: 18px; font-size: 15px; line-height: 2.1; color: var(--muted); max-width: 64ch; }
.na-body p { margin-bottom: 16px; }
.na-body p:last-child { margin-bottom: 0; }
.news-empty { padding: 60px 0; color: var(--muted); font-size: 14px; }

/* ---------- 9 作品详情 ---------- */.detail-main { background: var(--paper); }
.detail-head { padding: clamp(38px, 5vw, 76px) clamp(20px, 5vw, 72px) clamp(26px, 3.4vw, 44px); max-width: 1200px; margin: 0 auto; }
.detail-top { display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .2em; color: var(--muted); }
.detail-slash { opacity: .4; }
.detail-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(32px, 5.4vw, 76px);
  line-height: 1.2;
  letter-spacing: -.01em;
  margin-top: 22px;
}
.detail-title .line { display: block; }
.detail-en { margin-top: 16px; font-size: 11px; letter-spacing: .3em; color: var(--muted); }

.detail-cover {
  padding-inline: clamp(20px, 5vw, 72px);
  max-width: 1440px;
  margin: 0 auto;
}
.detail-cover img { width: 100%; max-height: 86vh; object-fit: cover; background: var(--paper-2); }

.detail-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(30px, 6vw, 90px);
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(46px, 6vw, 86px) clamp(20px, 5vw, 72px);
}
.detail-meta dl { border-top: 1px solid var(--line); }
.detail-meta dl > div { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.detail-meta dt { color: var(--muted); min-width: 64px; letter-spacing: .08em; }
.detail-meta dd { flex: 1; }
.back-link { margin-top: 26px; font-size: 12px; }
.detail-desc { font-size: 15.5px; line-height: 2.15; color: var(--muted); }
.detail-desc p { margin-bottom: 20px; max-width: 58ch; }

.detail-gallery {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 72px) clamp(40px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 3vw, 36px);
}
.g-item { overflow: hidden; }
.g-item img { width: 100%; }

.detail-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}
.pager-item { background: var(--paper); padding: clamp(26px, 3.4vw, 44px) clamp(20px, 4vw, 56px); display: flex; flex-direction: column; gap: 10px; transition: background .5s; }
.pager-item.next { text-align: right; align-items: flex-end; }
.pager-label { font-size: 10px; letter-spacing: .2em; color: var(--muted); }
.pager-title { font-family: var(--serif); font-size: clamp(17px, 2vw, 24px); transition: color .4s; }
.pager-item figure { width: 100%; aspect-ratio: 16 / 8; overflow: hidden; margin-top: 8px; }
.pager-item figure img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: .8; transition: filter .7s, opacity .7s, transform 1.2s var(--ease); }
.pager-item:hover figure img { filter: grayscale(0); opacity: 1; transform: scale(1.04); }
.pager-item:hover .pager-title { color: var(--accent); }
.pager-item.is-empty { pointer-events: none; }

.detail-404 { padding: calc(var(--header-h) + 100px) clamp(20px, 5vw, 72px) 120px; max-width: 900px; margin: 0 auto; }
.detail-404 h1 { font-family: var(--serif); font-size: clamp(26px, 3.6vw, 44px); margin: 18px 0; }
.detail-404 p { color: var(--muted); margin-bottom: 30px; }

/* ---------- 10 响应式 ---------- */
@media (max-width: 1080px) {
  .service-row { grid-template-columns: 46px 1fr 1.4fr 34px; }
  .s-tags { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-sticky { position: static; }
  .contact-info { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .detail-body { grid-template-columns: 1fr; gap: 30px; }
  .detail-meta dl { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  body { font-size: 15px; }
  .nav, .header-cta { display: none; }
  .menu-btn { display: block; }
  .hero { padding-top: calc(var(--header-h) + 28px); min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-visual { order: 2; }
  .hero-frame { aspect-ratio: 4 / 3.4; }
  .hero-title { font-size: clamp(44px, 13vw, 76px); }
  .hero-lead { font-size: 14.5px; }
  .scroll-cue { display: none; }
  .section-head { flex-direction: column-reverse; align-items: flex-start; gap: 12px; }
  .section-no { padding-top: 0; }
  .section-sub { text-align: left; }
  .work-grid { grid-template-columns: 1fr; gap: 34px; }
  .work-card:nth-child(even) { margin-top: 0; }
  .work-thumb, .work-thumb.is-tall { aspect-ratio: 4 / 3; }
  .service-row { grid-template-columns: 1fr 26px; gap: 8px 12px; padding: 22px 0; }
  .s-no { grid-column: 1 / 2; }
  .s-name { grid-column: 1 / 2; grid-row: 2; }
  .s-desc { grid-column: 1 / 3; font-size: 12.5px; }
  .s-arrow { grid-column: 2 / 3; grid-row: 1 / 3; }
  .stats { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
  .news-row { grid-template-columns: 1fr 24px; gap: 8px 12px; padding: 22px 0; }
  .n-date { grid-column: 1 / 3; padding-top: 0; font-size: 10.5px; }
  .n-main { grid-column: 1 / 2; }
  .n-arrow { grid-column: 2 / 3; grid-row: 2; margin-top: 4px; }
  .about-band { aspect-ratio: 4 / 3; }
  .about-band img { height: 100%; }
  .contact-info { grid-template-columns: 1fr 1fr; }
  .contact-big { font-size: clamp(34px, 10vw, 54px); }
  .contact-big svg { width: 24px; height: 24px; }
  .footer-top { flex-direction: column; gap: 22px; }
  .footer-contact { text-align: left; }
  .detail-cover img { max-height: 60vh; }
  .detail-meta dl { grid-template-columns: 1fr; }
  .detail-pager { grid-template-columns: 1fr; }
  .pager-item.next { text-align: left; align-items: flex-start; }
  .mobile-hide { display: none; }
}

@media (max-width: 520px) {
  .contact-info { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .footer-seo { flex-direction: column; gap: 4px; font-size: 11px; }
  .work-more { gap: 14px; }
}

/* 减弱动效偏好 */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
}
