/* =========================================================
   腾云 · 产品负责人 — 个人网站
   暖纸编辑风 / 克制交互 / 手绘矢量插图
   ========================================================= */

/* ---------- 1. 字体 ---------- */
@font-face {
  font-family: "Inter Variable";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ---------- 2. 设计变量 ---------- */
:root {
  --paper:      #e9e5da;
  --paper-2:    #f1ede3;
  --paper-3:    #f7f4ec;
  --paper-4:    #fcfaf5;

  --ink:        #14161a;
  --ink-soft:   #33373e;
  --muted:      #6e6c64;
  --line:       rgba(20, 22, 26, 0.15);
  --line-2:     rgba(20, 22, 26, 0.32);

  --blue:       #2e4bdb;
  --blue-deep:  #1a2c8c;
  --saffron:    #e9a227;
  --clay:       #c4643c;
  --pine:       #1e3a38;

  --night:      #0e110f;
  --night-2:    #171a18;
  --night-line: rgba(240, 238, 229, 0.2);
  --night-mute: #a8a79d;
  --night-ink:  #f0eee5;

  --sans:  "Inter Variable", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
           "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
  --ease:  cubic-bezier(0.22, 1, 0.36, 1);

  --gap: 16px;
  --pad: 2.4vw;
  --radius: 12px;
  --radius-sm: 9px;
}

/* ---------- 3. 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-synthesis-weight: none;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; border: 0; background: none; cursor: pointer; }
img { max-width: 100%; }
figure, dl, dd, dt, p, h1, h2, h3, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 300;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper-4);
  font-size: 13px;
  transform: translate(-50%, -160%);
  transition: transform 220ms var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ---------- 4. 纸纹 + 滚动进度 ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.3;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
}

.scroll-rail {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 210;
  height: 2px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 300ms ease;
}
.scroll-rail.is-on { opacity: 1; }
.scroll-rail i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--clay) 62%, var(--saffron));
}

/* ---------- 5. 通用零件 ---------- */
.serif-num {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.micro-copy, .section-kicker, .card-label, .project-index, .project-meta,
.project-note, .visual-head, .visual-foot, .footer-title, .visual-feature > span {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.page-shell {
  width: min(100%, 1600px);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* 卡片基座 */
.hero-card, .project-info, .project-visual, .capability-card,
.about-copy-card, .about-graphic-card, .contact-card, .footer-card, .bridge-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 9px 24px rgba(20, 22, 26, 0.045);
  transition: border-color 240ms ease, box-shadow 240ms ease, background-color 240ms ease;
}

.card-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.24);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid currentColor;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 240ms var(--ease), background-color 200ms ease,
              color 200ms ease, border-color 200ms ease;
}
.button:hover { transform: translateY(-2px); }

.arrow {
  display: inline-block;
  font-size: 15px;
  line-height: 0.8;
  transition: transform 240ms var(--ease);
}
a:hover .arrow, button:hover .arrow { transform: translate(2px, -2px); }

/* ---------- 6. 导航 ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
  padding: 12px var(--pad);
  border-bottom: 1px solid var(--line);
  background: rgba(233, 229, 218, 0.8);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
}

.name-pill, .nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  line-height: 1;
  letter-spacing: -0.01em;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.name-pill { gap: 10px; padding: 0 14px; font-weight: 500; }
.name-pill__cn { font-weight: 600; }
.pill-divider { width: 1px; height: 14px; background: var(--line-2); }
.nav-links { display: flex; align-items: center; gap: 7px; }
.nav-links a { padding: 0 16px; }

.name-pill:hover, .nav-links a:hover,
.nav-links a.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper-4); }

/* ---------- 7. 首屏 ---------- */
.intro-shell { padding-top: 20px; padding-bottom: 40px; }

.section-kicker {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 0 1px 13px;
  color: var(--muted);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(10, 84px);
  gap: var(--gap);
}

.hero-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper-4);
  animation: card-in 680ms var(--ease) both;
}
.hero-card:nth-child(1) { animation-delay: 0ms; }
.hero-card:nth-child(2) { animation-delay: 55ms; }
.hero-card:nth-child(3) { animation-delay: 110ms; }
.hero-card:nth-child(4) { animation-delay: 165ms; }
.hero-card:nth-child(5) { animation-delay: 220ms; }
.hero-card:nth-child(6) { animation-delay: 275ms; }
.hero-card:nth-child(7) { animation-delay: 330ms; }
.hero-card:hover { border-color: var(--line-2); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 14px 30px rgba(20,22,26,.075); }

/* 01 身份 */
.identity-card { grid-column: 1 / span 4; grid-row: 1 / span 5; }
.identity-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 18px;
  padding: 16px 16px 14px;
  min-height: 0;
}
.identity-scene {
  display: grid;
  place-items: center;
  flex: 1;
  min-height: 0;
  padding: 6px;
  overflow: hidden;
  border: 1px solid rgba(20, 22, 26, 0.2);
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #f2eee4 0%, #ede9f2 52%, #dfe5f8 100%);
  box-shadow: 0 8px 18px rgba(20, 22, 26, 0.1);
  animation: plate-in 760ms 140ms var(--ease) both;
}
.identity-scene img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  transition: transform 460ms var(--ease);
}
.identity-card:hover .identity-scene img { transform: scale(1.022); }
.identity-stamp {
  position: absolute;
  top: 54px; right: 22px;
  display: grid;
  min-width: 50px;
  height: 25px;
  place-items: center;
  padding: 0 8px;
  border: 1px solid rgba(20, 22, 26, 0.42);
  border-radius: 999px;
  background: rgba(233, 162, 39, 0.95);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.identity-copy { display: grid; gap: 9px; margin-top: auto; }
.identity-copy .micro-copy { color: var(--muted); }
.identity-card h1 {
  font-size: clamp(21px, 1.95vw, 30px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.16;
}
.identity-footnote {
  padding: 13px 16px 16px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.45;
  letter-spacing: -0.015em;
}

/* 02 简介 */
.intro-card { grid-column: 5 / span 4; grid-row: 1 / span 2; background: var(--paper-3); }
.live-dot { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); letter-spacing: 0.04em; text-transform: none; }
.live-dot i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px rgba(46, 75, 219, 0.16); }
.intro-card-content {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 16px;
  align-items: end;
  padding: 14px 15px 15px;
}
.intro-card-content > p {
  grid-column: 1 / -1;
  font-size: clamp(14px, 1.12vw, 17px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.38;
}
.intro-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.intro-meta dt { color: var(--muted); font-size: 9px; letter-spacing: 0.05em; }
.intro-meta dd { margin-top: 5px; font-size: 11px; font-weight: 500; letter-spacing: -0.02em; }
.primary-button { background: var(--ink); border-color: var(--ink); color: var(--paper-4); }
.primary-button:hover { background: var(--blue); border-color: var(--blue); }

/* 03 观点 */
.signal-card {
  grid-column: 9 / span 2;
  grid-row: 1 / span 2;
  background: var(--blue);
  border-color: var(--blue-deep);
  color: #f4f6ff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 12px 26px rgba(26, 44, 140, 0.22);
}
.signal-card:hover { border-color: var(--blue-deep); }
.signal-card .card-label { border-color: rgba(255, 255, 255, 0.32); background: transparent; color: #dfe4ff; }
.field-note-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
}
.field-note-body strong { font-size: clamp(28px, 2.4vw, 40px); line-height: 1; letter-spacing: -0.03em; }
.field-note-body strong span { padding: 0 2px; }
.field-note-body p { font-size: 13px; line-height: 1.34; letter-spacing: -0.025em; }
.text-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding: 0 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.32);
  font-size: 12px;
  transition: background-color 200ms ease;
}
.text-action:hover { background: rgba(255, 255, 255, 0.1); }

/* 04 资料 */
.resume-card {
  grid-column: 11 / span 2;
  grid-row: 1 / span 2;
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper-4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 12px 26px rgba(20,22,26,.2);
}
.resume-card:hover { border-color: var(--ink); }
.resume-card .card-label { border-color: rgba(240, 238, 229, 0.24); background: transparent; color: rgba(240,238,229,.66); }
.resume-word { padding: 6px 12px 0; font-size: clamp(34px, 3.2vw, 50px); line-height: 0.92; }
.resume-meta { display: grid; gap: 3px; margin: 6px 12px 0; }
.resume-meta div { display: flex; justify-content: space-between; gap: 8px; padding-top: 5px; border-top: 1px solid rgba(240, 238, 229, 0.2); }
.resume-meta dt { color: rgba(240, 238, 229, 0.52); font-size: 8.5px; letter-spacing: 0.05em; }
.resume-meta dd { font-size: 9px; text-align: right; }
.quiet-button {
  min-height: 32px;
  margin: auto 10px 10px;
  border-color: rgba(240, 238, 229, 0.36);
  color: rgba(240, 238, 229, 0.82);
  font-size: 10.5px;
}
.quiet-button:hover { background: var(--paper-4); color: var(--ink); transform: translateY(-2px); }

/* 05 能力索引 */
.skills-card { grid-column: 5 / span 8; grid-row: 3 / span 3; background: var(--paper-2); }
.skill-list { display: grid; flex: 1; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.skill-list > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 16px 18px 18px;
  border-left: 1px solid var(--line);
}
.skill-list > div:first-child { border-left: 0; }
.skill-idx { color: var(--clay); font-size: 32px; line-height: 1; }
.skill-list strong {
  margin-top: auto;
  padding-top: 14px;
  font-size: clamp(14px, 1.06vw, 16px);
  font-weight: 500;
  letter-spacing: -0.032em;
  line-height: 1.32;
}
.skill-list p { margin-top: 9px; color: var(--muted); font-size: 12px; line-height: 1.56; letter-spacing: -0.008em; }
.skill-out {
  margin-top: 14px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* 06 精选项目预览 */
.hero-project-card { grid-column: 1 / span 8; grid-row: 6 / span 5; background: var(--paper-3); }
.hero-product-preview {
  position: relative;
  display: grid;
  place-items: center;
  flex: 1;
  min-height: 0;
  margin: 12px 12px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #eef1ee 0%, #d4e0da 100%);
}
.hero-plate-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 520ms var(--ease);
}
.hero-project-card:hover .hero-plate-img { transform: scale(1.015); }
.hero-preview-note {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  width: min(330px, 48%);
  flex-direction: column;
  gap: 8px;
  padding: 15px 16px 14px;
  border: 1px solid rgba(20, 22, 26, 0.16);
  border-radius: 10px;
  background: rgba(252, 250, 245, 0.95);
  box-shadow: 0 14px 30px rgba(20, 22, 26, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-align: left;
}
.hero-project-card:hover .hero-plate-img { transform: translateY(-3px) scale(1.015); }
.hero-preview-note span { color: var(--muted); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-preview-note strong { font-size: clamp(14px, 1.2vw, 19px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.22; }
.hero-preview-note small { color: var(--muted); font-size: 10.5px; line-height: 1.4; }
.hero-project-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 13px 13px;
}
.hero-project-bottom .micro-copy { color: var(--muted); }
.hero-project-bottom h2 { margin-top: 4px; font-size: clamp(24px, 2.2vw, 32px); font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.hero-case-link { padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: 11.5px; letter-spacing: -0.01em; }

/* 07 索引 */
.explore-card { grid-column: 9 / span 4; grid-row: 6 / span 5; }
.explore-link {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(15px, 1.3vw, 19px);
  font-weight: 500;
  letter-spacing: -0.04em;
  transition: background-color 220ms ease, color 220ms ease;
}
.explore-link:last-child { border-bottom: 0; }
.explore-link small { color: var(--muted); font-size: 10.5px; letter-spacing: 0.1em; }
.explore-link:hover { background: var(--saffron); }
.explore-link:hover small { color: rgba(20, 22, 26, 0.6); }

/* ---------- 8. 宣言 ---------- */
.manifesto { padding: 88px 0 96px; }
.manifesto-rule { height: 1px; margin-bottom: 40px; background: var(--line); }
.manifesto-statement {
  font-size: clamp(28px, 4.6vw, 68px);
  font-weight: 500;
  letter-spacing: -0.052em;
  line-height: 1.14;
  text-wrap: balance;
}
.manifesto-foot {
  display: grid;
  grid-template-columns: 72px minmax(0, 460px);
  gap: 24px;
  align-items: start;
  margin-top: 40px;
  margin-left: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.manifesto-foot .serif-num { font-size: 34px; line-height: 1; color: var(--clay); }
.manifesto-foot p { color: var(--muted); font-size: 14px; line-height: 1.55; letter-spacing: -0.015em; }

/* ---------- 9. 精选作品 ---------- */
.projects-section { padding-bottom: 88px; }
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 34px;
  padding-bottom: 18px;
}
.section-title {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.section-heading > p { color: var(--muted); font-size: 14px; line-height: 1.4; text-align: right; letter-spacing: -0.015em; }

.project-row {
  display: grid;
  grid-template-columns: minmax(292px, 0.95fr) minmax(0, 2.05fr);
  gap: var(--gap);
  margin-top: var(--gap);
}
.project-row--flip { grid-template-columns: minmax(0, 2.05fr) minmax(292px, 0.95fr); }
.project-row--flip .project-info { order: 2; }
.project-row--flip .project-visual { order: 1; }

.project-info {
  display: flex;
  flex-direction: column;
  padding: 20px;
  min-height: 540px;
  background: var(--paper-4);
}
.project-row:hover .project-info { border-color: var(--line-2); }
.project-index { margin-bottom: 18px; color: var(--muted); }
.project-info h2 {
  font-size: clamp(40px, 3.6vw, 58px);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.94;
}
.project-type {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.48;
  letter-spacing: -0.028em;
}
.project-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 28px 0 20px;
  border-top: 1px solid var(--line);
}
.project-facts div {
  display: flex;
  min-height: 78px;
  flex-direction: column;
  gap: 9px;
  padding: 13px 12px 12px 0;
  border-bottom: 1px solid var(--line);
}
.project-facts div:nth-child(even) { padding-left: 12px; border-left: 1px solid var(--line); }
.project-facts dt { color: var(--muted); font-size: 11px; }
.project-facts dd { font-size: 11.5px; letter-spacing: -0.018em; }
.project-footer { display: flex; flex-direction: column; gap: 11px; margin-top: auto; }
.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  letter-spacing: 0.04em;
}
.project-meta span:last-child { text-align: right; }
.project-note { color: var(--muted); font-size: 11px; line-height: 1.5; letter-spacing: 0.01em; text-transform: none; }
.case-link {
  display: flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  text-align: left;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.case-link:hover { background: var(--ink); border-color: var(--ink); color: var(--paper-4); }

.project-visual {
  display: flex;
  flex-direction: column;
  min-height: 540px;
  padding: 0;
  overflow: hidden;
  background: var(--paper-2);
}
.project-visual--pine { background: linear-gradient(150deg, #eef1ee 0%, #dfe8e3 100%); border-color: rgba(30, 58, 56, 0.28); }
.project-visual--clay { background: linear-gradient(150deg, #f6f0e9 0%, #edd9cb 100%); border-color: rgba(196, 100, 60, 0.3); }
.project-row:not(.project-row--flip) .project-visual { background: linear-gradient(150deg, #f3f3f8 0%, #dfe4f8 100%); border-color: rgba(46, 75, 219, 0.26); }
.project-row:hover .project-visual { box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 18px 38px rgba(20, 22, 26, 0.1); }

.visual-head, .visual-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 18px;
}
.visual-head { min-height: 44px; border-bottom: 1px solid rgba(20, 22, 26, 0.18); }
.visual-foot { min-height: 48px; border-top: 1px solid rgba(20, 22, 26, 0.18); color: var(--ink-soft); }

.visual-body {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1.52fr) minmax(0, 0.9fr);
  gap: 26px;
  align-items: center;
  padding: 26px;
}
.visual-plate {
  overflow: hidden;
  border: 1px solid rgba(20, 22, 26, 0.2);
  border-radius: 10px;
  background: var(--paper-4);
  box-shadow: 0 14px 28px rgba(20, 22, 26, 0.12);
}
.visual-plate img { display: block; width: 100%; height: auto; transition: transform 480ms var(--ease); }
.project-row:hover .visual-plate img { transform: translateY(-4px) scale(1.012); }

.visual-feature { display: flex; flex-direction: column; align-self: center; }
.visual-feature > span { color: var(--muted); }
.visual-feature strong {
  margin: 18px 0 0;
  font-size: clamp(24px, 2.2vw, 36px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.04;
}
.visual-feature p { margin-top: 14px; color: var(--ink-soft); font-size: 13px; line-height: 1.5; letter-spacing: -0.015em; }

/* 合作桥接 */
.bridge-card {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: var(--gap);
  margin-top: 54px;
  padding: 15px;
  background: var(--paper-4);
}
.bridge-card:hover { border-color: var(--line-2); }
.bridge-copy { display: flex; flex-direction: column; padding: 8px 10px; }
.bridge-copy > span { color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; }
.bridge-copy strong {
  margin-top: auto;
  font-size: clamp(23px, 2.2vw, 38px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1.06;
}
.bridge-copy strong .arrow { margin-left: 4px; }
.bridge-copy p { max-width: 400px; margin-top: 17px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.bridge-art {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(124deg, #dde3f8 0%, #e7e2f2 44%, #f0dccf 72%, #f2deb4 100%);
}
.bridge-art img { width: 86%; height: auto; transition: transform 480ms var(--ease); }
.bridge-card:hover .bridge-art img { transform: translateY(-3px) scale(1.012); }
.bridge-art > span {
  position: absolute;
  right: 11px; bottom: 9px;
  color: rgba(20, 22, 26, 0.62);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.09em;
}

/* ---------- 10. 能力与方法（暗场） ---------- */
.dark-section {
  position: relative;
  margin-top: 8px;
  background: var(--night);
  color: var(--night-ink);
  box-shadow: 0 -10px 32px rgba(20, 22, 26, 0.1);
}
.dark-section::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 42% at 82% 8%, rgba(46, 75, 219, 0.2), transparent 62%),
    radial-gradient(48% 38% at 12% 96%, rgba(233, 162, 39, 0.1), transparent 60%);
  content: "";
}
.dark-shell { position: relative; padding: 86px 0 86px; }
.dark-heading .section-title { border-color: var(--night-line); }
.dark-heading > p { color: rgba(240, 238, 229, 0.68); }

.practice-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
  border: 1px solid var(--night-line);
  border-radius: var(--radius);
}
.practice-summary div { min-height: 92px; padding: 16px 18px; border-right: 1px solid var(--night-line); }
.practice-summary div:last-child { border-right: 0; }
.practice-summary dt { color: var(--night-mute); font-size: 10px; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; }
.practice-summary dd { margin-top: 20px; font-size: 14px; font-weight: 500; letter-spacing: -0.025em; }

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin-top: 15px;
}
.capability-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 18px;
  border-color: var(--night-line);
  background: transparent;
  box-shadow: none;
}
.capability-card:hover { border-color: rgba(240, 238, 229, 0.52); background: rgba(255, 255, 255, 0.035); }
.capability-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.capability-head .serif-num { color: var(--saffron); font-size: 26px; line-height: 1; }
.capability-head span:last-child { color: var(--night-mute); font-size: 10px; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; }
.capability-card h3 { margin: 34px 0 11px; font-size: clamp(22px, 1.9vw, 30px); font-weight: 500; letter-spacing: -0.055em; line-height: 1.06; }
.capability-card > p { max-width: 520px; color: #c6c8c0; font-size: 14px; line-height: 1.52; }
.capability-methods { display: flex; flex-wrap: wrap; margin: 20px 0 24px; }
.capability-methods li { color: #d6d8d1; font-size: 11.5px; }
.capability-methods li:not(:last-child)::after { margin: 0 9px; color: rgba(240, 238, 229, 0.3); content: "/"; }
.capability-output {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid var(--night-line);
}
.capability-output span { color: var(--night-mute); font-size: 10px; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; }
.capability-output strong { font-size: 12.5px; font-weight: 500; text-align: right; letter-spacing: -0.015em; }

/* 关于 */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--gap);
  margin-top: 50px;
}
.about-copy-card, .about-graphic-card {
  min-height: 540px;
  border-color: var(--night-line);
  background: transparent;
  box-shadow: none;
}
.about-copy-card { display: flex; flex-direction: column; }
.about-copy-card .card-label { border-color: var(--night-line); background: transparent; color: var(--night-mute); }
.about-large {
  max-width: 700px;
  margin: 30px 20px 22px;
  font-size: clamp(24px, 2.5vw, 40px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.1;
}
.about-story {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 20px 20px;
  border-top: 1px solid var(--night-line);
  border-bottom: 1px solid var(--night-line);
}
.about-story p { padding: 14px 15px 15px 0; color: #d0d2ca; font-size: 12.5px; line-height: 1.55; }
.about-story p + p { padding-left: 15px; border-left: 1px solid var(--night-line); }
.about-story span { display: block; margin-bottom: 9px; color: var(--night-mute); font-size: 9.5px; letter-spacing: 0.07em; text-transform: uppercase; }
.about-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: auto 20px 18px;
  border-top: 1px solid var(--night-line);
  border-bottom: 1px solid var(--night-line);
}
.about-facts div { padding: 11px 10px 12px 0; border-right: 1px solid var(--night-line); }
.about-facts div:not(:first-child) { padding-left: 10px; }
.about-facts div:last-child { border-right: 0; }
.about-facts dt { color: var(--night-mute); font-size: 10px; letter-spacing: 0.05em; }
.about-facts dd { margin-top: 9px; font-size: 12px; line-height: 1.35; }
.about-small { max-width: 580px; margin: 0 20px 22px; color: var(--night-mute); font-size: 12.5px; line-height: 1.5; }

.about-graphic-card { display: flex; flex-direction: column; }
.about-figure {
  display: grid;
  place-items: center;
  height: 250px;
  margin: 15px 15px 0;
  overflow: hidden;
  border: 1px solid var(--night-line);
  border-radius: var(--radius-sm);
  background: var(--paper-4);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3);
}
.about-figure img { max-width: calc(100% - 24px); max-height: calc(100% - 24px); width: auto; height: auto; transition: transform 480ms var(--ease); }
.about-graphic-card:hover .about-figure img { transform: scale(1.016); }
.process-list {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  padding: 11px 15px 15px;
}
.process-list li {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 130px;
  padding: 12px 13px;
  border: 1px solid var(--night-line);
  border-radius: var(--radius-sm);
  background: rgba(14, 17, 15, 0.7);
  transition: background-color 240ms ease, transform 240ms var(--ease);
}
.process-list li:hover { background: rgba(255, 255, 255, 0.06); transform: translateY(-2px); }
.process-list .serif-num { color: var(--saffron); font-size: 22px; line-height: 1; }
.process-list p { font-size: 13px; line-height: 1.36; letter-spacing: -0.025em; }

/* ---------- 11. 联系与页脚 ---------- */
.site-footer { padding-top: 88px; padding-bottom: 30px; }
.contact-card {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  min-height: 258px;
  padding: 26px;
  background: linear-gradient(118deg, #dde3f8 0%, #c9d0f3 52%, #f0d6c8 100%);
  border-color: var(--line-2);
}
.contact-card:hover { border-color: var(--line-2); }
.contact-card .micro-copy { color: var(--muted); }
.contact-card h2 {
  max-width: 780px;
  margin-top: 11px;
  font-size: clamp(32px, 4.2vw, 62px);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.98;
}
.contact-context { max-width: 620px; margin-top: 18px; color: var(--ink-soft); font-size: 13.5px; line-height: 1.5; }
.contact-button { flex: 0 0 auto; background: var(--ink); border-color: var(--ink); color: var(--paper-4); }
.contact-button:hover { background: var(--blue); border-color: var(--blue); }

.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: var(--gap); margin-top: var(--gap); }
.footer-card { display: flex; min-height: 214px; flex-direction: column; padding: 17px; background: var(--paper-3); }
.footer-title { margin-bottom: 20px; color: var(--muted); }
.footer-card a, .footer-action {
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 1px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  text-align: left;
  transition: color 200ms ease;
}
.footer-card a b, .footer-action b { color: var(--muted); font-weight: 400; }
.footer-card a:hover, .footer-action:hover { color: var(--blue); }
.footer-note p { max-width: 330px; font-size: 13px; line-height: 1.5; }
.footer-note .art-credit { margin-top: 14px; color: var(--muted); font-size: 11.5px; }
.footer-note > span { margin-top: auto; color: var(--muted); font-size: 10px; letter-spacing: 0.08em; }

/* ---------- 12. 轻提示 ---------- */
.site-toast {
  position: fixed;
  right: 50%; bottom: 26px;
  z-index: 150;
  display: flex;
  max-width: min(440px, calc(100vw - 28px));
  align-items: center;
  gap: 11px;
  padding: 10px 15px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(20, 22, 26, 0.95);
  box-shadow: 0 16px 40px rgba(20, 22, 26, 0.28);
  color: #f7f5ef;
  opacity: 0;
  pointer-events: none;
  transform: translate(50%, 18px);
  transition: opacity 240ms ease, transform 320ms var(--ease);
}
.site-toast.is-visible { opacity: 1; transform: translate(50%, 0); }
.site-toast > span {
  display: grid;
  width: 26px; height: 26px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--saffron);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}
.site-toast p { font-size: 12.5px; line-height: 1.35; }

/* ---------- 13. 一次性淡入上移 ---------- */
.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 680ms var(--ease), transform 680ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.motion-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.capability-card:nth-child(2), .about-story p:nth-child(2) { --reveal-delay: 70ms; }
.capability-card:nth-child(3) { --reveal-delay: 110ms; }
.capability-card:nth-child(4) { --reveal-delay: 150ms; }
.about-graphic-card { --reveal-delay: 90ms; }
.manifesto-foot { --reveal-delay: 120ms; }

/* 只做位移、不做透明度：即使动画被节流停在第 0 帧，内容也始终可见 */
@keyframes card-in {
  from { transform: translateY(14px); }
  to   { transform: translateY(0); }
}
@keyframes plate-in {
  from { transform: translateY(10px) scale(0.972); }
  to   { transform: translateY(0) scale(1); }
}

/* ---------- 14. 响应式 ---------- */
@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); grid-template-rows: repeat(11, 80px); }
  .identity-card     { grid-column: 1 / span 4; grid-row: 1 / span 5; }
  .intro-card        { grid-column: 5 / span 4; grid-row: 1 / span 2; }
  .signal-card       { grid-column: 5 / span 2; grid-row: 3 / span 2; }
  .resume-card       { grid-column: 7 / span 2; grid-row: 3 / span 2; }
  .skills-card       { grid-column: 1 / span 4; grid-row: 6 / span 4; }
  .hero-project-card { grid-column: 5 / span 4; grid-row: 5 / span 7; }
  .explore-card      { grid-column: 1 / span 4; grid-row: 10 / span 2; }
  .skill-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .skill-list > div:nth-child(odd) { border-left: 0; }
  .skill-list > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .skill-list strong { margin-top: 14px; padding-top: 0; }
  .skill-out { margin-top: 10px; padding-top: 9px; }
  .skill-idx { font-size: 26px; }
  .hero-preview-note { width: min(300px, 56%); }
  .project-row, .project-row--flip { grid-template-columns: minmax(260px, 0.92fr) minmax(0, 1.6fr); }
  .project-info, .project-visual { min-height: 500px; }
  .visual-body { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.8fr); gap: 20px; padding: 20px; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-copy-card, .about-graphic-card { min-height: 600px; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: none; }
  .hero-card { grid-row: auto !important; grid-column: 1 / -1 !important; }
  .identity-card { min-height: 0; }
  .identity-scene { height: clamp(200px, 34vw, 300px); }
  .identity-card h1 { font-size: clamp(24px, 4.4vw, 34px); }
  .intro-card, .signal-card, .resume-card { min-height: 200px; }
  .signal-card { grid-column: 1 / span 3 !important; }
  .resume-card { grid-column: 4 / -1 !important; }
  .skills-card { min-height: 210px; }
  .hero-project-card { min-height: 440px; }
  .explore-card { min-height: 200px; }
  .manifesto { padding: 70px 0 76px; }
  .project-row, .project-row--flip { grid-template-columns: 1fr; }
  .project-row--flip .project-info { order: 0; }
  .project-row--flip .project-visual { order: 0; }
  .project-info { min-height: 0; }
  .project-visual { min-height: 0; }
  .visual-body { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
  .visual-feature { padding-top: 4px; }
  .bridge-card { grid-template-columns: 1fr; }
  .bridge-copy { min-height: 210px; }
  .bridge-art { min-height: 250px; }
  .capability-grid, .about-grid { grid-template-columns: 1fr; }
  .about-copy-card, .about-graphic-card { min-height: 0; }
  .contact-card { flex-direction: column; align-items: flex-start; min-height: 300px; }
  .contact-button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-note { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root { --pad: 15px; --gap: 11px; }
  .site-nav { min-height: 64px; padding: 9px 15px; }
  .name-pill { min-height: 36px; padding: 0 11px; font-size: 12px; }
  .pill-divider { height: 12px; }
  .nav-links { gap: 5px; }
  .nav-links a { min-width: 46px; min-height: 36px; justify-content: center; padding: 0 10px; font-size: 12.5px; }
  .section-kicker { font-size: 10px; }
  .signal-card, .resume-card { grid-column: 1 / -1 !important; }
  .skill-list { grid-template-columns: 1fr; }
  .skill-list div { border-left: 0 !important; border-top: 1px solid var(--line); }
  .skill-list div:first-child { border-top: 0; }
  .hero-project-card { min-height: 400px; }
  .hero-preview-note { right: 12px; bottom: 12px; width: calc(100% - 24px); }
  .hero-project-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .manifesto-statement { max-width: none; }
  .manifesto-foot { grid-template-columns: 1fr; gap: 12px; margin-left: 0; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 14px; }
  .section-heading > p { text-align: left; }
  .project-info { padding: 16px; }
  .project-info h2 { font-size: 44px; }
  .visual-head, .visual-foot { padding: 0 14px; font-size: 9.5px; }
  .visual-body { padding: 14px; }
  .bridge-card { padding: 11px; }
  .about-large { margin: 24px 16px 18px; }
  .about-story { grid-template-columns: 1fr; margin: 0 16px 16px; }
  .about-story p { padding: 13px 0; }
  .about-story p + p { padding-left: 0; border-top: 1px solid var(--night-line); border-left: 0; }
  .about-facts { grid-template-columns: 1fr; margin: 0 16px 16px; }
  .about-facts div, .about-facts div:not(:first-child) { padding: 9px 0; border-right: 0; border-bottom: 1px solid var(--night-line); }
  .about-facts div:last-child { border-bottom: 0; }
  .about-facts dt { display: inline; }
  .about-facts dd { display: inline; margin-left: 12px; }
  .about-small { margin: 0 16px 18px; }
  .about-figure { height: 220px; }
  .process-list { padding: 10px 12px 12px; }
  .process-list li { min-height: 112px; }
  .dark-shell { padding: 60px 0; }
  .practice-summary { grid-template-columns: 1fr; }
  .practice-summary div { min-height: 0; border-right: 0; border-bottom: 1px solid var(--night-line); }
  .practice-summary div:last-child { border-bottom: 0; }
  .practice-summary dd { margin-top: 12px; }
  .site-footer { padding-top: 60px; }
  .contact-card { padding: 18px; min-height: 320px; }
  .contact-card h2 { font-size: 40px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-note { grid-column: auto; }
}

@media (max-width: 400px) {
  .name-pill__role { display: none; }
  .nav-links a { min-width: 44px; padding: 0 8px; }
  .project-info h2 { font-size: 40px; }
  .contact-card h2 { font-size: 36px; }
}

/* ---------- 15. 降低动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .motion-ready [data-reveal] { opacity: 1; transform: none; }
  .grain { display: none; }
}
