/* ==========================================================================
   许文武 DrPackaging｜包装工程个人网站
   全站样式：设计变量 / 基础排版 / 布局组件 / 深色模式 / 响应式 / 动效
   --------------------------------------------------------------------------
   目录
   01. 设计变量与主题
   02. 基础重置与可访问性
   03. 通用布局与排版
   04. 页头与导航
   05. 按钮、标签与链接
   06. 首页 Hero
   07. 首页精选作品与联系条
   08. 内页页头
   09. 关于页
   10. 作品页
   11. 联系页
   12. 404 页
   13. 页脚、回到顶部与 Toast
   14. 滚动进入动画
   15. 响应式细节
   16. 减少动态效果 / 打印
   ========================================================================== */

/* 01. 设计变量与主题
   -------------------------------------------------------------------------- */
:root {
  color-scheme: light dark;

  /* 字体：全部使用系统字体，无需加载外链；中文回退到各平台默认黑体 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC",
    Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia,
    "Songti SC", "Noto Serif CJK SC", serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;

  /* 浅色主题：近白纸感 + 墨色文字 + 低饱和墨绿 */
  --bg: #f7f7f3;
  --surface: #ffffff;
  --surface-muted: #eef0ea;
  --surface-2: var(--surface-muted);
  --ink: #171b19;
  --ink-soft: #404843;
  --muted: #68716b;
  --line: #dedfd8;
  --line-strong: #c6c8bf;
  --border: var(--line-strong);
  --accent: #2f5d50;
  --accent-hover: #244a40;
  --accent-soft: #e2ebe5;
  --accent-contrast: #f9f8f2;
  --sand: #c9b28b;
  --header-bg: rgba(247, 247, 243, 0.88);
  --toast-bg: #171b19;
  --toast-ink: #f7f7f3;
  --shadow-sm: 0 1px 2px rgba(23, 27, 25, 0.04),
    0 8px 24px rgba(23, 27, 25, 0.04);
  --shadow-md: 0 20px 48px -24px rgba(23, 27, 25, 0.28);

  /* 尺寸与动效 */
  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.75rem);
  --header-height: 76px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-full: 999px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --speed: 220ms;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101412;
    --surface: #171c19;
    --surface-muted: #1d2420;
    --ink: #edf1ed;
    --ink-soft: #c6d0c9;
    --muted: #96a19a;
    --line: #2a322d;
    --line-strong: #3c473f;
    --border: var(--line-strong);
    --accent: #9cc6b8;
    --accent-hover: #b4d8cc;
    --accent-soft: #1d2d27;
    --accent-contrast: #10201a;
    --sand: #d0b993;
    --header-bg: rgba(16, 20, 18, 0.88);
    --toast-bg: #edf1ed;
    --toast-ink: #101412;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.22),
      0 8px 24px rgba(0, 0, 0, 0.18);
    --shadow-md: 0 24px 56px -24px rgba(0, 0, 0, 0.72);
  }
}

/* 02. 基础重置与可访问性
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: calc(var(--header-height) + 1.5rem);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1 1 auto;
}

h1,
h2,
h3,
h4,
p,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--accent);
  color: var(--accent-contrast);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

@supports (scrollbar-color: auto) {
  html {
    scrollbar-color: var(--line-strong) var(--bg);
  }
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.65rem 1rem;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform var(--speed) var(--ease-soft);
}

.skip-link:focus {
  transform: translateY(0);
}

/* 仅供读屏的文本 */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* 03. 通用布局与排版
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
  border-top: 1px solid var(--line);
}

.section--tight {
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 1.8rem;
  height: 1px;
  flex: none;
  background: currentColor;
  opacity: 0.65;
}

.section-title {
  max-width: 20ch;
  margin-top: 1rem;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.14;
  text-wrap: balance;
}

.lead {
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  line-height: 1.75;
  text-wrap: pretty;
}

.muted {
  color: var(--muted);
}

.icon {
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
}

/* 04. 页头与导航
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  transition: border-color var(--speed) var(--ease-soft),
    box-shadow var(--speed) var(--ease-soft);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -26px rgba(0, 0, 0, 0.45);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  padding-bottom: 2px;
  background: var(--accent);
  color: var(--accent-contrast);
  border-radius: 10px;
  font-family: var(--font-serif);
  font-size: 0.82rem;
  letter-spacing: -0.06em;
  transition: transform var(--speed) var(--ease-out);
}

.brand:hover .brand__mark {
  transform: rotate(-6deg);
}

.brand__name {
  font-size: 0.98rem;
  white-space: nowrap;
}

.brand__meta {
  padding-left: 0.7rem;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.header__nav {
  margin-left: auto;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 0.4rem 0;
  color: var(--muted);
  font-size: 0.88rem;
  transition: color var(--speed) var(--ease-soft);
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.1rem;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 300ms var(--ease-out);
}

.nav-link:hover {
  color: var(--ink);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link.is-active {
  color: var(--accent);
  font-weight: 600;
}

.nav-link.is-active::after {
  transform: scaleX(1);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.header__mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-full);
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 600;
  transition: color var(--speed) var(--ease-soft),
    border-color var(--speed) var(--ease-soft),
    background-color var(--speed) var(--ease-soft);
}

.header__mail:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  transition: border-color var(--speed) var(--ease-soft),
    background-color var(--speed) var(--ease-soft);
}

.nav-toggle:hover {
  border-color: var(--ink);
  background: var(--surface);
}

.nav-toggle__box {
  position: relative;
  display: block;
  width: 17px;
  height: 12px;
}

.nav-toggle__box span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 260ms var(--ease-out), top 260ms var(--ease-out);
}

.nav-toggle__box span:first-child {
  top: 1px;
}

.nav-toggle__box span:last-child {
  top: 9px;
}

.nav-toggle.is-open .nav-toggle__box span:first-child {
  top: 5px;
  transform: rotate(45deg);
}

.nav-toggle.is-open .nav-toggle__box span:last-child {
  top: 5px;
  transform: rotate(-45deg);
}

/* 05. 按钮、标签与链接
   -------------------------------------------------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  transition: background-color var(--speed) var(--ease-soft),
    border-color var(--speed) var(--ease-soft),
    color var(--speed) var(--ease-soft),
    transform var(--speed) var(--ease-out);
}

.button svg {
  width: 1rem;
  height: 1rem;
  transition: transform 300ms var(--ease-out);
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button--primary {
  background: var(--accent);
  color: var(--accent-contrast);
}

.button--primary:hover {
  background: var(--accent-hover);
}

.button--primary:hover svg {
  transform: translateX(3px);
}

.button--ghost {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.button--ghost:hover {
  border-color: var(--ink);
  background: var(--surface);
}

.button--small {
  min-height: 42px;
  padding: 0.55rem 1.05rem;
  font-size: 0.8rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--accent);
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.text-link svg {
  width: 0.95rem;
  height: 0.95rem;
  transition: transform 300ms var(--ease-out);
}

.text-link:hover svg {
  transform: translateX(4px);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.68rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  color: var(--muted);
  font-size: 0.69rem;
  letter-spacing: 0.02em;
  line-height: 1.5;
  white-space: nowrap;
}

/* 06. 首页 Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 7rem) clamp(4rem, 8vw, 7rem);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  top: -30rem;
  right: -15rem;
  width: 58rem;
  height: 58rem;
  opacity: 0.7;
}

.hero::after {
  top: -19rem;
  right: -7rem;
  width: 38rem;
  height: 38rem;
  opacity: 0.45;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(3rem, 7vw, 4rem);
  align-items: center;
}

.hero__title {
  margin-top: 1.25rem;
  font-size: clamp(3.6rem, 12vw, 7rem);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero__hello {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.4vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.hero__name {
  display: block;
  white-space: nowrap;
}

.hero__dot {
  color: var(--accent);
}

.hero__alias {
  display: block;
  margin-top: 0.85rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 1.35vw, 0.84rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.hero__lead {
  max-width: 35rem;
  margin-top: clamp(1.5rem, 3vw, 2rem);
  color: var(--ink-soft);
  font-size: clamp(1.12rem, 1.9vw, 1.38rem);
  line-height: 1.7;
  text-wrap: pretty;
}

.hero__lead strong {
  color: var(--ink);
  font-weight: 600;
}

.hero__note {
  max-width: 33rem;
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.75rem, 3.5vw, 2.35rem);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 33rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.hero__stat {
  min-width: 0;
}

.hero__stat strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.hero__stat strong span {
  margin-left: 0.1rem;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0;
}

.hero__stat dd > span {
  display: block;
  margin-top: 0.28rem;
  color: var(--muted);
  font-size: 0.69rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.hero__portrait {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  width: min(100%, 23rem);
}

.portrait-frame {
  position: relative;
  width: 100%;
  padding: 0.55rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface-2);
}

.portrait-frame::before {
  content: "";
  position: absolute;
  inset: -1rem;
  border: 1px dashed var(--line-strong);
  border-radius: 50%;
  opacity: 0.75;
  animation: slow-spin 70s linear infinite;
  pointer-events: none;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
}

.portrait-badge {
  position: absolute;
  right: 2%;
  bottom: 6%;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 500;
  white-space: nowrap;
}

.status-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  animation: status-pulse 2.8s ease-in-out infinite;
}

.portrait-caption {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.8rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.portrait-caption::before,
.portrait-caption::after {
  content: "";
  width: 1.25rem;
  height: 1px;
  background: var(--line-strong);
}

@keyframes slow-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes status-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px var(--accent-soft);
  }
  50% {
    box-shadow: 0 0 0 7px var(--accent-soft);
  }
}

/* 07. 首页精选作品与联系条
   -------------------------------------------------------------------------- */
.section-head {
  display: grid;
  gap: 1.5rem;
  margin-bottom: clamp(2.4rem, 5vw, 3.8rem);
}

.section-aside {
  max-width: 28rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

.section-aside .text-link {
  margin-top: 0.9rem;
}

.featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

.featured-card {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-strong);
  padding-top: 1rem;
}

.featured-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}

.featured-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--img-position, center center);
  transition: transform 700ms var(--ease-out);
}

.media-upper {
  --img-position: center 32%;
}

.media-lower {
  --img-position: center 100%;
}

.featured-card:hover .featured-card__media img {
  transform: scale(1.035);
}

.featured-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.featured-card__title {
  margin-top: 0.35rem;
  font-size: clamp(1.3rem, 2.2vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.3;
}

.featured-card__desc {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.featured-card .tag-list {
  margin-top: 0.9rem;
}

.featured-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.15rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
}

.featured-card__cta svg {
  width: 0.9rem;
  height: 0.9rem;
  transition: transform 300ms var(--ease-out);
}

.featured-card:hover .featured-card__cta svg {
  transform: translateX(4px);
}

.contact-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.contact-band__inner {
  display: grid;
  gap: 2rem;
  padding-block: clamp(2.75rem, 6vw, 4.25rem);
}

.contact-band__title {
  margin-top: 0.85rem;
  font-size: clamp(1.8rem, 3.5vw, 2.65rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.contact-band__desc {
  max-width: 31rem;
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-band__aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-full);
  color: var(--ink-soft);
  font-size: 0.78rem;
  transition: color var(--speed) var(--ease-soft),
    border-color var(--speed) var(--ease-soft),
    background-color var(--speed) var(--ease-soft);
}

.contact-chip:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.contact-chip svg {
  width: 1rem;
  height: 1rem;
}

.contact-chip__meta {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.02em;
}

.contact-band__email {
  color: var(--muted);
  font-size: 0.76rem;
}

.contact-band__email a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 0.2em;
}

.contact-band__email a:hover {
  text-decoration-color: currentColor;
}

/* 首页联系条里的视频号小卡片 */
.video-channel-mini {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: min(100%, 21rem);
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg);
  text-align: left;
  transition: border-color var(--speed) var(--ease-soft),
    background-color var(--speed) var(--ease-soft),
    transform var(--speed) var(--ease-out);
}

.video-channel-mini:hover {
  border-color: var(--accent);
  background: var(--surface);
  transform: translateY(-2px);
}

.video-channel-mini__qr {
  flex: none;
  padding: 12px;
  border: 1px solid #e3e3dc;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 12px 28px -22px rgba(0, 0, 0, 0.45);
  line-height: 0;
}

.video-channel-mini__qr img {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.video-channel-mini__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.video-channel-mini__eyebrow {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.video-channel-mini__body strong {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.video-channel-mini__desc {
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.5;
}

/* 07.1 视频入口 / 视频区块
   -------------------------------------------------------------------------- */
.home-video {
  padding-block: 0 clamp(3.25rem, 7vw, 5rem);
}

.home-video-entry {
  position: relative;
  display: flex;
  width: min(100%, 980px);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: border-color var(--speed) var(--ease-soft),
    box-shadow var(--speed) var(--ease-soft);
}

.home-video-entry:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.home-video-entry__thumb {
  position: relative;
  flex: 0 0 520px;
  width: min(100%, 520px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-2);
}

.home-video-entry__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}

.home-video-entry:hover .home-video-entry__thumb img {
  transform: scale(1.02);
}

.home-video-entry__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.home-video-entry__eyebrow {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-video-entry__title {
  color: var(--ink);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.4;
  text-wrap: balance;
}

.video-info {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.home-video-entry__more {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

/* 定位摘要：Hero 之后 */
.positioning-summary {
  padding-block: clamp(1.5rem, 3.5vw, 2.35rem);
}

.positioning-summary__inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.positioning-summary__portrait {
  flex: none;
  width: 96px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-2);
}

.positioning-summary__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.positioning-summary__line {
  max-width: 36rem;
  color: var(--ink);
  font-size: clamp(1.02rem, 2.2vw, 1.3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.7;
}

.positioning-summary__role {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  line-height: 1.6;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.video-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition: transform 300ms var(--ease-out),
    border-color 300ms var(--ease-soft), box-shadow 300ms var(--ease-soft);
}

.video-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.video-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  background: var(--surface-2);
}

.video-media img,
.video-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-poster {
  transition: transform 600ms var(--ease-out);
}

.video-card:hover .video-poster {
  transform: scale(1.03);
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  transform: translate(-50%, -50%);
  transition: transform 300ms var(--ease-out),
    background-color 300ms var(--ease-soft);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.video-play:hover {
  background: rgba(0, 0, 0, 0.72);
  transform: translate(-50%, -50%) scale(1.08);
}

.video-play:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.play-icon {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 16px solid #fff;
}

.video-meta {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.45rem;
  padding: clamp(1.1rem, 2.4vw, 1.5rem);
}

.video-meta h3 {
  color: var(--ink);
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.4;
}

.video-desc {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.video-info {
  margin-top: 0.1rem;
}

.video-fallback-note {
  padding: 0 clamp(1.1rem, 2.4vw, 1.5rem) clamp(1.1rem, 2.4vw, 1.5rem);
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.6;
}

.story-section h2 {
  max-width: 22ch;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.14;
  text-wrap: balance;
}

.section-lead {
  max-width: 35rem;
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.video-frame {
  position: relative;
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 16 / 9;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-2);
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  padding-left: 3px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
  font-size: 1.25rem;
  line-height: 1;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transform: translate(-50%, -50%);
  transition: transform 300ms var(--ease-out),
    background-color 300ms var(--ease-soft);
  pointer-events: none;
}

.video-card:hover .play-btn,
.video-card:focus-visible .play-btn,
.home-video-entry:hover .play-btn,
.home-video-entry:focus-visible .play-btn {
  background: rgba(0, 0, 0, 0.72);
  transform: translate(-50%, -50%) scale(1.08);
}

.video-note {
  max-width: 1000px;
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.story-body {
  max-width: 720px;
  margin-top: clamp(2.75rem, 5vw, 3.5rem);
}

.story-chapter + .story-chapter {
  margin-top: 48px;
}

.story-chapter h3 {
  margin-bottom: 0.6em;
  color: var(--accent);
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.story-chapter h3::before {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  margin-bottom: 0.6em;
  background: var(--accent);
}

.story-chapter p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.9;
}

.story-chapter p + p {
  margin-top: 1.2em;
}

.todo {
  color: var(--muted);
  border-bottom: 1px dashed var(--line-strong);
  padding-bottom: 1px;
}

.quote {
  max-width: 720px;
  margin: 40px auto;
  color: var(--ink-soft);
  text-align: center;
}

.quote p {
  font-size: 20px;
  letter-spacing: 0.01em;
  line-height: 1.9;
}

.quote p::before,
.quote p::after {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25em;
  opacity: 0.55;
}

.quote p::before {
  content: "“";
  margin-right: 0.06em;
}

.quote p::after {
  content: "”";
  margin-left: 0.06em;
}

.quote cite {
  display: block;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
  letter-spacing: 0.02em;
}

@media (max-width: 639px) {
  .positioning-summary__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .positioning-summary__portrait {
    width: 64px;
  }

  .story-body {
    margin-top: 2.2rem;
  }

  .story-chapter + .story-chapter {
    margin-top: 32px;
  }

  .story-chapter p {
    font-size: 16px;
  }

  .quote p {
    font-size: 18px;
  }
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 899px) {
  .home-video-entry {
    flex-direction: column;
    max-width: 520px;
  }

  .home-video-entry__thumb {
    flex: none;
    width: 100%;
  }
}

/* 08. 内页页头
   -------------------------------------------------------------------------- */
.page-header {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(2.75rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}

.page-header::after {
  content: "";
  position: absolute;
  top: -14rem;
  right: -12rem;
  width: 32rem;
  height: 32rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  opacity: 0.7;
  pointer-events: none;
}

.page-header__title {
  margin-top: 1.3rem;
  font-size: clamp(2.65rem, 7vw, 5.4rem);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 1.05;
  text-wrap: balance;
}

.page-header__lead {
  max-width: 39rem;
  margin-top: 1.5rem;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  line-height: 1.8;
  text-wrap: pretty;
}

.page-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.4rem;
  margin-top: 2rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-header__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.page-header__meta span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

/* 09. 关于页
   -------------------------------------------------------------------------- */
.about-intro__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.about-portrait {
  width: min(100%, 16rem);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-2);
}

.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.about-signature {
  margin-top: 1rem;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}

.about-signature span {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}

.about-fact {
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.about-fact dt {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-fact dd {
  margin-top: 0.25rem;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.5;
}

.prose {
  max-width: 42rem;
}

.prose p + p {
  margin-top: 1.2rem;
}

.prose p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.95;
}

.prose .lead {
  color: var(--ink);
  font-size: clamp(1.15rem, 2vw, 1.38rem);
  line-height: 1.8;
}

.signature-mark {
  margin-top: 2rem;
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  letter-spacing: 0.01em;
}

.timeline-wrap {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}

.timeline {
  --timeline-pad: clamp(1.5rem, 3vw, 2rem);
  margin-left: 0.35rem;
  padding-left: var(--timeline-pad);
  border-left: 1px solid var(--line-strong);
}

.timeline__item {
  position: relative;
  padding-bottom: clamp(1.8rem, 3vw, 2.5rem);
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: calc(0px - var(--timeline-pad) - 0.31rem);
  width: 0.6rem;
  height: 0.6rem;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.timeline__period {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline__role {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.6rem;
  margin-top: 0.35rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.timeline__role span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0;
}

.timeline__desc {
  max-width: 38rem;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.timeline__item--media {
  display: grid;
  gap: 1rem;
}

.timeline__content {
  min-width: 0;
}

.timeline__media {
  margin: 0;
}

.timeline__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--surface-2);
}

.timeline__media figcaption {
  margin-top: 0.45rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  line-height: 1.55;
}

@media (min-width: 640px) {
  .timeline__item--media {
    grid-template-columns: minmax(0, 1fr) 10.5rem;
    align-items: start;
  }
}

.aside-note__hint {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.72rem;
  line-height: 1.6;
}

.capability-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
}

.capability-card {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: border-color var(--speed) var(--ease-soft),
    transform var(--speed) var(--ease-out),
    box-shadow var(--speed) var(--ease-soft);
}

.capability-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.capability-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}

.capability-icon svg {
  width: 19px;
  height: 19px;
}

.capability-card h3 {
  margin-top: 1.15rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.capability-card p {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.75;
}

.skill-groups {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

.skill-group__title {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.skill-tag {
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 0.78rem;
  transition: border-color var(--speed) var(--ease-soft),
    color var(--speed) var(--ease-soft);
}

.skill-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* 10. 作品页
   -------------------------------------------------------------------------- */
.work-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.95rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.filter-button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 38px;
  padding: 0.35rem 0.85rem;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--muted);
  font-size: 0.8rem;
  transition: color var(--speed) var(--ease-soft),
    background-color var(--speed) var(--ease-soft),
    border-color var(--speed) var(--ease-soft);
}

.filter-button:hover {
  color: var(--ink);
  border-color: var(--line);
}

.filter-button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg);
}

.filter-count {
  color: currentColor;
  font-family: var(--font-mono);
  font-size: 0.61rem;
  opacity: 0.55;
}

.work-status {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
}

.work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.project-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}

.project-card[hidden] {
  display: none;
}

.project-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface-2);
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--img-position, center center);
  transition: transform 800ms var(--ease-out);
}

.project-card:hover .project-card__media img {
  transform: scale(1.03);
}

.project-card__index {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: rgba(247, 247, 243, 0.9);
  color: #2f5d50;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.project-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-top: 1.2rem;
}

.project-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card__title {
  margin-top: 0.55rem;
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.project-card__desc {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.project-facts {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.project-fact {
  display: grid;
  grid-template-columns: 3.8rem minmax(0, 1fr);
  gap: 0.8rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--line);
}

.project-fact dt {
  padding-top: 0.1rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-fact dd {
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.65;
}

.project-approach {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.2rem;
}

.project-approach li {
  position: relative;
  padding-left: 0.85rem;
}

.project-approach li::before {
  content: "";
  position: absolute;
  top: 0.66em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.project-detail {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
  margin-top: 1.15rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.project-detail__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}

.project-detail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--img-position, center center);
}

.project-detail figcaption {
  color: var(--muted);
  font-size: 0.69rem;
  line-height: 1.65;
}

.project-outcome {
  margin-top: 1.15rem;
  padding: 0.8rem 0.95rem;
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--accent-soft);
}

.project-outcome__label {
  display: block;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-outcome p {
  margin-top: 0.3rem;
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.65;
}

.project-video-link {
  margin-top: 0.95rem;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.6;
}

.project-video-link a {
  color: var(--accent);
  border-bottom: 1px solid var(--line-strong);
  transition: border-color var(--speed) var(--ease-soft);
}

.project-video-link a:hover {
  border-bottom-color: var(--accent);
}

.project-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 1.15rem;
}

.project-result {
  padding: 0.65rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.project-result strong {
  display: block;
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.project-result span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.6rem;
  line-height: 1.45;
}

.project-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 1.2rem;
}

.project-card .tag-list {
  margin-top: 0;
}

.filter-empty {
  padding: 4rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.filter-empty[hidden] {
  display: none;
}

/* 11. 联系页
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.contact-primary {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-strong);
}

.contact-email-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1rem;
  margin-top: 0.8rem;
}

.contact-email {
  min-width: 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 3.8vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.2;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color var(--speed) var(--ease-soft),
    text-decoration-color var(--speed) var(--ease-soft);
}

.contact-email:hover {
  color: var(--accent);
  text-decoration-color: currentColor;
}

.contact-email--pending,
.contact-email--pending:hover {
  color: var(--muted);
  cursor: default;
  text-decoration-style: dashed;
  text-decoration-color: var(--line-strong);
}

.copy-button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 38px;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
  white-space: nowrap;
  transition: color var(--speed) var(--ease-soft),
    border-color var(--speed) var(--ease-soft),
    background-color var(--speed) var(--ease-soft);
}

.copy-button:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.copy-button svg {
  width: 0.9rem;
  height: 0.9rem;
}

.contact-note {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.7;
}

.wechat-card {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  align-items: center;
  margin-top: 2.2rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.wechat-card__qr {
  width: clamp(7.5rem, 30vw, 9.5rem);
  height: auto;
  flex: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}

.wechat-card__body {
  min-width: 8rem;
  flex: 1;
}

.wechat-card__body h2 {
  font-size: 0.98rem;
  font-weight: 600;
}

.wechat-card__body p {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.65;
}

/* 微信视频号：二维码始终放在白色圆角容器里，深色模式也不例外 */
.video-channel-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.15rem;
  margin-top: 1.4rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.video-channel-qr-box {
  flex: none;
  width: fit-content;
  max-width: 100%;
  padding: 12px;
  border: 1px solid #e3e3dc;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 14px 36px -26px rgba(0, 0, 0, 0.45);
  line-height: 0;
}

.video-channel-qr-box img {
  display: block;
  width: 260px;
  max-width: 100%;
  height: auto;
}

.video-channel-card__body {
  flex: 1 1 13rem;
  min-width: 0;
}

.video-channel-card__body .eyebrow {
  margin-bottom: 0.55rem;
}

.video-channel-card__body h2 {
  font-size: 1.18rem;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.video-channel-card__name {
  margin-top: 0.3rem;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.video-channel-card__desc {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.75;
}

/* 抖音海报：保持原图，不套白底容器，只加圆角与细边框 */
.douyin-qr-box {
  flex: none;
  width: fit-content;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  line-height: 0;
}

.douyin-qr-box img {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
}

.douyin-id-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.douyin-id-label {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.douyin-id {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.1rem 0;
  border: 0;
  border-bottom: 1px dashed var(--line-strong);
  background: transparent;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  line-height: 1.5;
  transition: color var(--speed) var(--ease-soft),
    border-color var(--speed) var(--ease-soft);
}

.douyin-id:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--accent);
}

.douyin-id svg {
  width: 0.9rem;
  height: 0.9rem;
}

/* 首页联系条：小尺寸方形抖音码，保留紫色原图 */
.douyin-mini__qr {
  flex: none;
  width: 120px;
  height: 120px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  line-height: 0;
}

.douyin-mini__qr img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-section {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.social-list {
  margin-top: 0.8rem;
  border-top: 1px solid var(--line);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  transition: color var(--speed) var(--ease-soft),
    padding-left var(--speed) var(--ease-soft);
}

.social-link:hover {
  padding-left: 0.45rem;
  color: var(--accent);
}

.social-link__name {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.86rem;
}

.social-link__name svg {
  width: 1.05rem;
  height: 1.05rem;
}

.social-link__handle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.61rem;
  letter-spacing: 0.04em;
}

.social-link__handle svg {
  width: 0.8rem;
  height: 0.8rem;
}

.contact-form-wrap {
  padding-top: 0.2rem;
}

.contact-form {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 500;
}

.field label span {
  color: var(--muted);
  font-weight: 400;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  outline: none;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.6;
  transition: border-color var(--speed) var(--ease-soft),
    box-shadow var(--speed) var(--ease-soft),
    background-color var(--speed) var(--ease-soft);
}

.field textarea {
  min-height: 9.5rem;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
  opacity: 0.75;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.form-note {
  max-width: 22rem;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.65;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.aside-note {
  padding: 1.25rem;
  border-left: 2px solid var(--accent);
  background: var(--accent-soft);
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.8;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.aside-note strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.availability {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.78rem;
}

/* 12. 404 页
   -------------------------------------------------------------------------- */
.error-page {
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--header-height) - 8rem);
  padding-block: clamp(3.5rem, 9vw, 7rem);
  text-align: center;
}

.error-page__inner {
  max-width: 38rem;
}

.error-page .error-code {
  margin: 0;
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: clamp(7rem, 25vw, 15rem);
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 0.78;
}

.error-page h1 {
  margin-top: 1.5rem;
  font-size: clamp(1.65rem, 3.6vw, 2.4rem);
  font-weight: 650;
  letter-spacing: -0.04em;
}

.error-page p {
  max-width: 28rem;
  margin: 0.8rem auto 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 2rem;
}

/* 13. 页脚、回到顶部与 Toast
   -------------------------------------------------------------------------- */
.site-footer {
  padding-block: 2rem;
  border-top: 1px solid var(--line);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem 2rem;
  color: var(--muted);
  font-size: 0.73rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
}

.footer__links a {
  transition: color var(--speed) var(--ease-soft);
}

.footer__links a:hover {
  color: var(--accent);
}

.footer__note {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-company {
  display: block;
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.5;
  opacity: 0.82;
}

.back-to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.6rem);
  transition: opacity var(--speed) var(--ease-soft),
    visibility var(--speed) var(--ease-soft),
    transform var(--speed) var(--ease-out),
    border-color var(--speed) var(--ease-soft);
}

.back-to-top:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top svg {
  width: 1rem;
  height: 1rem;
}

.toast {
  position: fixed;
  bottom: calc(1.25rem + env(safe-area-inset-bottom));
  left: 50%;
  z-index: 100;
  max-width: calc(100% - 2rem);
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-full);
  background: var(--toast-bg);
  color: var(--toast-ink);
  box-shadow: var(--shadow-md);
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 0.75rem);
  transition: opacity var(--speed) var(--ease-soft),
    transform var(--speed) var(--ease-out);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* 14. 滚动进入动画
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero__copy .reveal:nth-child(2) {
  --reveal-delay: 70ms;
}

.hero__copy .reveal:nth-child(3) {
  --reveal-delay: 140ms;
}

.hero__copy .reveal:nth-child(4) {
  --reveal-delay: 210ms;
}

.hero__copy .reveal:nth-child(5) {
  --reveal-delay: 280ms;
}

/* 15. 响应式细节
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
  .featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.25rem 1.5rem;
  }

  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .skill-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-grid {
    gap: 3.5rem 1.75rem;
  }

  .about-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 800px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    padding: 0;
    border: 0;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
  }

  .site-nav ul {
    flex-direction: row;
  }

  .site-nav li + li {
    border-top: 0;
  }

  .site-nav .nav-link {
    display: inline-block;
    padding: 0.4rem 0;
    font-size: 0.88rem;
  }
}

@media (max-width: 799px) {
  :root {
    --header-height: 68px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header__inner {
    gap: 0.75rem;
  }

  .brand__meta {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding: 0.25rem var(--gutter) 1.15rem;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
    box-shadow: 0 22px 36px -30px rgba(0, 0, 0, 0.65);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.4rem);
    transition: opacity 220ms var(--ease-soft),
      transform 220ms var(--ease-out), visibility 220ms;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav li + li {
    border-top: 1px solid var(--line);
  }

  .site-nav .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
    font-size: 0.95rem;
  }

  .site-nav .nav-link::after {
    display: none;
  }

  .site-nav .nav-link.is-active::before {
    content: "当前页";
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.55rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .site-nav .nav-link:focus-visible {
    outline-offset: -5px;
    border-radius: 6px;
  }

  .header__mail {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
  }

  .header__mail .header__mail-label {
    display: none;
  }

  .header__mail svg {
    width: 1rem;
    height: 1rem;
  }

  .hero__grid {
    gap: 2.75rem;
  }

  .hero__lead {
    max-width: 30rem;
  }

  .hero__name {
    white-space: normal;
  }

  .hero__portrait {
    width: min(100%, 19rem);
  }

  .hero__stats {
    gap: 0.75rem;
  }

  .hero__stat dd > span {
    font-size: 0.64rem;
  }

  .project-card__meta {
    align-items: flex-start;
  }
}

@media (max-width: 639px) {
  .hero__portrait {
    width: min(100%, 13.75rem);
  }

  .page-header__title .title-break {
    display: none;
  }

  .play-btn {
    width: 56px;
    height: 56px;
    font-size: 1rem;
  }

  .video-play {
    width: 56px;
    height: 56px;
  }

  .play-icon {
    border-top-width: 9px;
    border-bottom-width: 9px;
    border-left-width: 13px;
  }
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(19rem, 0.85fr);
    gap: clamp(3rem, 6vw, 6rem);
  }

  .hero__portrait {
    justify-self: end;
  }

  .section-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .section-aside {
    padding-bottom: 0.35rem;
  }

  .contact-band__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 3rem;
  }

  .contact-band__aside {
    align-items: flex-end;
    text-align: right;
  }

  .contact-links {
    justify-content: flex-end;
  }

  .about-intro__grid {
    grid-template-columns: 16rem minmax(0, 1fr);
  }

  .timeline-wrap {
    grid-template-columns: minmax(0, 1.3fr) minmax(16rem, 0.7fr);
    align-items: start;
  }

  .skill-groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem 2.25rem;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
  }

  .contact-aside {
    padding-left: clamp(1rem, 3vw, 2.5rem);
    border-left: 1px solid var(--line);
  }
}

@media (min-width: 1024px) {
  .featured-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
  }

  .featured-card__desc {
    min-height: 3.4em;
  }

  .hero {
    padding-block: clamp(4.5rem, 7vw, 7rem);
  }

  .hero__title {
    font-size: clamp(5rem, 7.6vw, 7.4rem);
  }

  .hero__portrait {
    width: min(100%, 23.5rem);
  }

  .capability-grid {
    gap: 1rem;
  }
}

@media (max-width: 479px) {
  .brand__name {
    font-size: 0.9rem;
  }

  .page-header__title {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }

  .brand__mark {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }

  .hero__title {
    font-size: clamp(3.1rem, 15vw, 4.2rem);
  }

  .hero__stats {
    padding-top: 1.15rem;
  }

  .hero__stat strong {
    font-size: 1.3rem;
  }

  .hero__actions {
    gap: 0.6rem;
  }

  .hero__actions .button {
    flex: 1 1 auto;
  }

  .portrait-badge {
    right: -1%;
    bottom: 5%;
    padding: 0.45rem 0.65rem;
    font-size: 0.65rem;
  }

  .about-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-results {
    gap: 0.35rem;
  }

  .project-result {
    padding: 0.55rem 0.45rem;
  }

  .project-result span {
    font-size: 0.56rem;
  }

  .project-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .wechat-card {
    align-items: flex-start;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* 16. 减少动态效果 / 打印
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .portrait-frame::before,
  .status-dot {
    animation: none;
  }

  .button:hover,
  .capability-card:hover,
  .video-card:hover,
  .video-channel-mini:hover,
  .back-to-top {
    transform: none;
  }

  .featured-card:hover .featured-card__media img,
  .project-card:hover .project-card__media img,
  .video-card:hover .video-card__media img,
  .video-card:hover .video-poster,
  .home-video-entry:hover .home-video-entry__thumb img {
    transform: none;
  }

  .video-play:hover {
    transform: translate(-50%, -50%);
  }

  .video-card:hover .play-btn,
  .video-card:focus-visible .play-btn,
  .home-video-entry:hover .play-btn,
  .home-video-entry:focus-visible .play-btn {
    transform: translate(-50%, -50%);
  }
}

/* 10.1 新架构组件
   -------------------------------------------------------------------------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--line);
}

.value-card {
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--surface);
}

.value-card h3 {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.value-card p {
  max-width: 32ch;
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.7;
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 2rem;
}

.destination-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  padding: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  transition: transform 300ms var(--ease-out),
    border-color 300ms var(--ease-soft), box-shadow 300ms var(--ease-soft);
}

.destination-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.destination-card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
}

.destination-card__icon svg {
  width: 22px;
  height: 22px;
}

.destination-card__label {
  margin-top: 1rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
}

.destination-card h3 {
  margin-top: 0.4rem;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.destination-card p {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.destination-card__arrow {
  margin-top: auto;
  padding-top: 1.2rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
}

.quote--lead {
  max-width: 900px;
  margin: 0 auto;
}

.quote--lead p {
  font-size: clamp(1.45rem, 3.2vw, 2.15rem);
  line-height: 1.8;
}

.quote--lead cite {
  font-size: 0.78rem;
}

.story-intro {
  max-width: 720px;
  margin-top: 2.5rem;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.9;
}

.life-lines {
  max-width: 960px;
  margin-top: 2rem;
}

.life-line {
  color: var(--ink-soft);
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  letter-spacing: -0.02em;
  line-height: 1.7;
}

.life-line + .life-line {
  margin-top: 1.1rem;
}

.dream-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
  margin-top: 2rem;
}

.dream-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.dream-card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
}

.dream-card__icon svg {
  width: 22px;
  height: 22px;
}

.dream-card h3 {
  margin-top: 0.8rem;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.5;
}

.dream-card p {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.dream-card--link {
  color: inherit;
  transition: transform 300ms var(--ease-out),
    border-color 300ms var(--ease-soft), box-shadow 300ms var(--ease-soft);
}

.dream-card--link:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.dream-card__thumb {
  display: block;
  width: 100%;
  height: 150px;
  margin-top: 1rem;
  border-radius: 10px;
  object-fit: cover;
  object-position: center 15%;
}

.dream-card__more {
  margin-top: 0.9rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
}

.dream-card__more span {
  transition: transform 300ms var(--ease-out);
  display: inline-block;
}

.dream-card--link:hover .dream-card__more span {
  transform: translateX(3px);
}

.team-company {
  max-width: 900px;
  margin-top: 1.5rem;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.9;
}

.team-address {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.7;
}

.team-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--line);
}

.team-fact {
  padding: 1.2rem 1rem;
  background: var(--surface);
}

.team-fact strong {
  display: block;
  color: var(--accent);
  font-size: 1.55rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.team-fact span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.6;
}

.product-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 2rem;
}

.product-item {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.product-item svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.product-item span {
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.5;
}

.future-grid,
.welfare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 2rem;
}

.direction-card,
.welfare-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.direction-card__label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
}

.direction-card h3,
.welfare-card h3 {
  margin-top: 0.55rem;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.direction-card p,
.welfare-card p {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.welfare-section {
  background: var(--surface-muted);
}

.welfare-facts {
  display: grid;
  max-width: 900px;
  gap: 0.6rem;
  margin-top: 1.5rem;
  list-style: none;
}

.welfare-facts li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.7;
}

.welfare-facts li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.welfare-line {
  margin-top: 2rem;
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.7;
}

.team-case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 2rem;
}

.team-case-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.team-case-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-2);
  cursor: zoom-in;
}

.team-case-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-case-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.35rem;
}

.team-case-card__body h3 {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.team-case-card__body p {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.photo-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 2rem;
}

.photo-wall figure {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
  background: var(--surface-2);
}

.photo-wall a {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

.photo-wall img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-wall figcaption {
  z-index: 2;
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 0.28rem 0.45rem;
  border-radius: 5px;
  background: rgba(20, 22, 26, 0.68);
  color: #fff;
  font-size: 0.62rem;
  letter-spacing: 0.02em;
}

.team-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding-block: clamp(2rem, 5vw, 4rem);
  text-align: center;
}

.team-cta h2 {
  color: var(--ink);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 650;
  letter-spacing: -0.04em;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 2rem;
}

.case-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.case-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-2);
  cursor: zoom-in;
}

.case-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card__body {
  padding: 1.35rem;
}

.case-card__title {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.case-line {
  display: grid;
  grid-template-columns: 4.5em minmax(0, 1fr);
  gap: 0.55rem;
  margin-top: 0.55rem;
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.65;
}

.case-line span {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
}

.more-videos {
  margin-top: 2.5rem;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.more-videos a {
  color: var(--accent);
  font-weight: 600;
}

.footer-disclaimer {
  max-width: 28rem;
  font-family: inherit;
  font-size: 0.66rem;
  letter-spacing: 0;
  line-height: 1.6;
  text-transform: none;
}

@media (max-width: 900px) {
  .destination-grid,
  .future-grid,
  .welfare-grid,
  .dream-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .product-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .team-case-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 639px) {
  .values-grid,
  .photo-wall {
    grid-template-columns: 1fr;
  }

  .values-grid {
    gap: 1px;
  }

  .team-facts {
    grid-template-columns: 1fr;
  }

  .product-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-case-card {
    grid-template-columns: 1fr;
  }

  .team-case-card__media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .story-intro {
    font-size: 16px;
  }

  .life-line {
    font-size: 20px;
  }

  .quote--lead p {
    font-size: 22px;
  }
}

/* 10.2 联系页动作区
   -------------------------------------------------------------------------- */
.contact-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
}

.contact-action {
  padding: clamp(1.25rem, 2.5vw, 1.6rem);
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.contact-action h2 {
  margin-top: 0.5rem;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.contact-action__sub {
  margin-top: 0.2rem;
  color: var(--accent);
  font-size: 0.8rem;
  line-height: 1.6;
}

.contact-action__desc {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.contact-email-large {
  display: block;
  margin-top: 1rem;
  color: var(--ink);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.contact-email-large:hover {
  color: var(--accent);
}

.contact-email-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.contact-action__note {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.7;
}

.contact-qr {
  width: fit-content;
  max-width: 100%;
  margin-top: 1.15rem;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.contact-qr img {
  display: block;
  width: 200px;
  max-width: 100%;
  height: auto;
}

.contact-qr--video img {
  width: 200px;
}

.contact-qr-note {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.7;
}

.contact-qr-note a {
  color: var(--accent);
  border-bottom: 1px solid var(--line-strong);
}

.contact-douyin {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 24px;
  padding: clamp(1.25rem, 2.5vw, 1.6rem);
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.contact-douyin__body {
  min-width: 0;
}

.contact-douyin__qr {
  flex: none;
  width: fit-content;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  line-height: 0;
}

.contact-douyin__qr img {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
}

.contact-github {
  margin-top: 24px;
}

.contact-github a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink-soft);
  font-size: 0.85rem;
  transition: color var(--speed) var(--ease-soft);
}

.contact-github a:hover {
  color: var(--accent);
}

.contact-github svg {
  width: 1.1rem;
  height: 1.1rem;
}

.contact-location {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-align: center;
}

.contact-email-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.7rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.contact-email-label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-email-address {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.contact-email-address:hover {
  color: var(--accent);
}

.contact-email-send {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  border-bottom: 1px solid var(--line-strong);
}

.contact-email-send:hover {
  border-bottom-color: var(--accent);
}

@media (max-width: 900px) {
  .contact-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 639px) {
  .contact-douyin {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-douyin__qr {
    width: fit-content;
  }
}

/* 10.3 梦想墙与图片预览
   -------------------------------------------------------------------------- */
.dream-wall-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 2rem;
}

.dream-wall-card {
  margin: 0;
}

.dream-wall-card--feature {
  width: min(100%, 520px);
  margin-inline: auto;
}

.dream-wall-card--wide {
  width: 100%;
}

.dream-wall__media {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 16px;
  background: var(--surface-2);
  cursor: zoom-in;
}

.dream-wall__media--wide {
  aspect-ratio: 16 / 9;
}

.dream-wall__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.dream-wall__media--wide img {
  object-position: center;
}

.dream-wall-card figcaption {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.6;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
  background: rgba(0, 0, 0, 0.92);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__close {
  position: absolute;
  top: clamp(0.75rem, 2vw, 1.25rem);
  right: clamp(0.75rem, 2vw, 1.25rem);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox__figure {
  display: flex;
  max-width: 92vw;
  max-height: 88vh;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
}

.lightbox__image {
  display: block;
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 8px;
  object-fit: contain;
}

.lightbox__caption {
  max-width: 92vw;
  color: #fff;
  font-size: 0.78rem;
  line-height: 1.6;
  text-align: center;
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .dream-wall-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   17. 2026 视觉升级：工业极简 / 编辑排版 / 瑞士网格
   -------------------------------------------------------------------------- */
:root {
  --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", -apple-system,
    "Helvetica Neue", Arial, sans-serif;
  --font-serif: var(--font-sans);
  --font-mono: "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono",
    monospace;
  --bg: #f7f6f3;
  --surface: #fbfaf7;
  --surface-muted: #efeee8;
  --surface-2: var(--surface-muted);
  --ink: #14161a;
  --ink-soft: #3e4448;
  --muted: #6a706f;
  --line: #dedcd5;
  --line-strong: #c7c3b9;
  --border: var(--line-strong);
  --accent: #2f5d50;
  --accent-hover: #244a40;
  --accent-soft: #e2ebe5;
  --accent-contrast: #f9f8f2;
  --header-bg: rgba(247, 246, 243, 0.88);
  --toast-bg: #14161a;
  --toast-ink: #f7f6f3;
  --shadow-sm: 0 1px 2px rgba(20, 22, 26, 0.04),
    0 8px 24px rgba(20, 22, 26, 0.04);
  --shadow-md: 0 20px 48px -24px rgba(20, 22, 26, 0.28);
  --page-gutter: clamp(1.25rem, 4vw, 4rem);
  --section-space: clamp(4rem, 10vw, 9rem);
  --ease-reveal: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-reveal: 0.9s;
  --header-height: 68px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1110;
    --surface: #151b17;
    --surface-muted: #1c231f;
    --surface-2: var(--surface-muted);
    --ink: #f1f4ef;
    --ink-soft: #d0d8d2;
    --muted: #9aa69f;
    --line: #2b342e;
    --line-strong: #3c473f;
    --border: var(--line-strong);
    --accent: #9cc6b8;
    --accent-hover: #b4d8cc;
    --accent-soft: #1d2d27;
    --accent-contrast: #10201a;
    --header-bg: rgba(13, 17, 16, 0.88);
    --toast-bg: #f1f4ef;
    --toast-ink: #0d1110;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.22),
      0 8px 24px rgba(0, 0, 0, 0.18);
    --shadow-md: 0 24px 56px -24px rgba(0, 0, 0, 0.72);
  }
}

html,
body {
  overflow-x: clip;
}

body {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.75;
}

h1,
h2 {
  font-weight: 600;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.6rem, 9vw, 7.5rem);
  line-height: 0.95;
}

.section {
  padding-block: var(--section-space);
}

.section--tight {
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

main p {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.85;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.eyebrow {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 32px;
  height: 1px;
  background: var(--line-strong);
}

/* 导航：极简品牌 + 文字导航 */
.header__inner {
  min-height: var(--header-height);
}

.brand__meta,
.header__mail {
  display: none;
}

.brand__mark {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand__name {
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-link {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.01em;
}

.nav-link::after {
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transition: transform 250ms var(--ease-out);
}

.nav-link.is-active {
  color: var(--ink);
}

/* 瑞士网格线 + 印刷颗粒 */
@media (min-width: 1024px) {
  html::before {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    left: 50%;
    z-index: 1;
    width: min(var(--container), calc(100vw - 2 * var(--gutter)));
    border-inline: 1px solid var(--border);
    opacity: 0.55;
    pointer-events: none;
    transform: translateX(-50%);
  }
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
}

/* Hero：12 栏、超大姓名、右侧出血人像、底部横条 */
.hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-block: clamp(2rem, 5vw, 4rem) 0;
}

.hero::before,
.hero::after {
  transform: translate3d(0, var(--parallax, 0), 0);
  will-change: transform;
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: clamp(48px, 6vw, 88px) clamp(48px, 6vw, 88px);
  opacity: 0.35;
  pointer-events: none;
  transform: translate3d(0, var(--parallax, 0), 0);
  will-change: transform;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 14%,
    #000 70%,
    transparent
  );
  mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 14%,
    #000 70%,
    transparent
  );
}

.hero__grid {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 2.5rem);
  align-items: center;
}

.hero__copy {
  grid-column: 1 / span 7;
  align-self: center;
}

.hero__title {
  margin-top: 1rem;
  font-size: clamp(2.6rem, 9vw, 7.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.hero__hello {
  display: none;
}

.hero__alias {
  margin-top: 0.9rem;
  margin-left: clamp(8rem, 26vw, 22.9rem);
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 1.1vw, 0.86rem);
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.hero__lead {
  max-width: 26em;
  margin-top: clamp(1.5rem, 2.6vw, 2.1rem);
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  line-height: 1.6;
}

.hero__note {
  max-width: 30em;
  font-size: 0.82rem;
  line-height: 1.7;
}

.hero__actions {
  margin-top: clamp(1.9rem, 3.4vw, 2.7rem);
}

.hero__portrait {
  grid-column: 8 / -1;
  align-self: center;
  width: 100%;
  margin-right: calc(
    min(0px, (var(--container) - 100vw) / 2) - var(--gutter)
  );
}

.portrait-frame {
  width: 100%;
  aspect-ratio: 3 / 4;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: var(--surface-2);
  overflow: hidden;
}

.portrait-frame::before {
  display: none;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 4px;
  object-fit: cover;
  object-position: center 18%;
}

.portrait-badge,
.portrait-caption {
  display: none;
}

.hero__bottom {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3.5rem);
  padding-block: 0.95rem 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.hero__bottom span:first-child {
  text-align: left;
}

.hero__bottom a {
  color: inherit;
  text-decoration: none;
}

.hero__bottom a:nth-child(2) {
  text-align: center;
}

.hero__bottom a:last-child {
  text-align: right;
}

.hero__bottom a:hover {
  color: var(--ink);
}

/* 页面标题 */
.page-header__title {
  font-size: clamp(2.6rem, 9vw, 7.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

/* 文字揭示：无 JS 完全可见；JS 只做增强 */
.split-text .char {
  display: inline-block;
  opacity: 0.45;
  transform: translateY(0.55em);
  transition: opacity 0.65s var(--ease-reveal),
    transform 0.65s var(--ease-reveal);
  transition-delay: calc(var(--char-index, 0) * 40ms);
}

.split-text.is-visible .char {
  opacity: 1;
  transform: none;
}

/* 图片揭示 */
.img-reveal {
  transition: clip-path var(--duration-reveal) var(--ease-reveal),
    transform var(--duration-reveal) var(--ease-reveal);
}

.img-reveal:not(.is-visible) {
  clip-path: inset(0 0 100% 0);
  transform: scale(1.06);
}

.img-reveal.is-visible {
  clip-path: inset(0);
}

/* 页面转场 */
body {
  transition: opacity 0.25s var(--ease-soft);
}

body.is-leaving {
  opacity: 0.35;
}

body.is-entering {
  animation: page-enter 0.45s var(--ease-out) both;
}

@keyframes page-enter {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 1;
  }
}

/* 磁性按钮 */
[data-magnetic] {
  transition: transform 0.25s var(--ease-out);
  will-change: transform;
}

/* 自绘光标 */
body.has-custom-cursor,
body.has-custom-cursor a,
body.has-custom-cursor button {
  cursor: none;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

.cursor-dot {
  width: 12px;
  height: 12px;
  background: var(--accent);
}

.cursor-ring {
  width: 32px;
  height: 32px;
  border: 1px solid var(--ink);
  opacity: 0.38;
  transition: width 0.2s var(--ease-out), height 0.2s var(--ease-out),
    border-color 0.2s var(--ease-out), opacity 0.2s var(--ease-out);
}

.cursor-ring.is-hovering {
  width: 40px;
  height: 40px;
  border-color: var(--accent);
  opacity: 0.85;
}

.cursor-dot.is-hovering {
  opacity: 0.5;
}

@media (pointer: coarse) {
  .cursor-dot,
  .cursor-ring {
    display: none;
  }

  body.has-custom-cursor,
  body.has-custom-cursor a,
  body.has-custom-cursor button {
    cursor: auto;
  }
}

/* 回到顶部：细进度环 */
.back-to-top {
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  color: var(--accent);
}

.back-to-top:hover {
  background: transparent;
  color: var(--ink);
  transform: none;
}

.back-to-top svg.back-to-top__ring {
  width: 46px;
  height: 46px;
  transform: rotate(-90deg);
}

.back-to-top__track,
.back-to-top__progress {
  fill: none;
  stroke-width: 1.4;
}

.back-to-top__track {
  stroke: var(--line);
}

.back-to-top__progress {
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-dasharray: 125.66;
  stroke-dashoffset: 125.66;
}

.team-fact strong {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}

.js .reveal {
  opacity: 0.35;
}

.js .hero__copy .reveal {
  opacity: 0.55;
}

.js .reveal.is-visible {
  opacity: 1;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding-block: 1.5rem 0;
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    grid-column: 1;
  }

  .hero__portrait {
    grid-column: 1;
    margin-right: 0;
    margin-top: 2rem;
  }

  .hero__bottom {
    margin-top: 2rem;
    font-size: 0.58rem;
  }
}

@media (max-width: 640px) {
  .header__inner {
    min-height: 62px;
  }

  .hero__portrait {
    margin-top: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body,
  body.is-leaving {
    opacity: 1;
    transition: none;
  }

  body.is-entering {
    animation: none;
  }

  .split-text .char {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .img-reveal,
  .img-reveal:not(.is-visible) {
    clip-path: none;
    transform: none;
    transition: none;
  }

  .hero::before,
  .hero::after,
  .hero__grid-lines {
    transform: none;
  }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }

  [data-magnetic] {
    transform: none;
    transition: none;
  }

  .js .reveal,
  .js .hero__copy .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .video-play:hover {
    transform: translate(-50%, -50%);
  }

  .video-card:hover .video-poster {
    transform: none;
  }
}

@media print {
  body::after,
  html::before,
  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
}

@media print {
  .site-header,
  .back-to-top,
  .toast,
  .hero::before,
  .hero::after,
  .page-header::after,
  .contact-form,
  .wechat-card {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .hero,
  .section,
  .page-header {
    padding-block: 1.5rem;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  a {
    text-decoration: underline;
  }
}

/* 18. 视频号文字入口与抖音待补充 */
.contact-video-link {
  position: relative;
  display: inline-block;
  margin-top: 0.95rem;
  padding-bottom: 0.18rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}

.contact-video-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms var(--ease-out);
}

.contact-video-link:hover,
.contact-video-link:focus-visible {
  color: var(--ink);
}

.contact-video-link:hover::after,
.contact-video-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.contact-video-note {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.7;
}

.contact-douyin__video-link {
  display: block;
  width: fit-content;
  margin: 0.7rem auto 0.5rem;
}

.video-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  padding: 0.32rem 0.55rem;
  border-radius: var(--radius-full);
  background: rgba(10, 12, 10, 0.62);
  color: #fff;
  font-size: 0.58rem;
  letter-spacing: 0.03em;
  line-height: 1.4;
  pointer-events: none;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.video-inline-badge {
  align-self: flex-start;
  margin-top: 0.1rem;
  padding: 0.12rem 0.42rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  line-height: 1.5;
}

.video-media iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
