/* ============================================================
   叶芯 · 个人网站
   视觉参考：motionsites.ai「Pulse 3D」模板（结构/节奏借用，内容全部替换）
   ============================================================ */

:root {
  --pink: #e8175d;
  --pink-hot: #ff2e70;
  --pink-deep: #b30b42;
  --ink: #080808;
  --ink-2: #101010;
  --ink-3: #1a1a1a;
  --paper: #f4f1ec;
  --paper-2: #e7e2d9;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(8, 8, 8, 0.12);
  --muted: rgba(255, 255, 255, 0.62);
  --ink-muted: rgba(8, 8, 8, 0.58);
  --r-xl: 46px;
  --r-lg: 32px;
  --r-md: 22px;
  --pad: clamp(20px, 4.2vw, 72px);
  --maxw: 1360px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: "Helvetica Neue", "Inter", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong { font-weight: 800; }

::selection { background: var(--pink); color: #fff; }

/* ---------- 通用容器 ---------- */
.shell {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.section {
  padding-block: clamp(72px, 9vw, 132px);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.72;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-head h2 {
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-top: 14px;
}

.section-head p {
  max-width: 420px;
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.62;
}

/* ---------- 页头导航 ---------- */
.site-head {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 22px var(--pad) 18px;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease),
    padding 0.4s var(--ease), color 0.3s var(--ease);
}

.site-head.is-solid {
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding-block: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: transform 0.5s var(--ease), border-radius 0.5s var(--ease);
}

.brand:hover .brand-mark {
  transform: rotate(-8deg);
  border-radius: 50% 50% 50% 8px;
}

.brand-text {
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  opacity: 0.76;
  max-width: 190px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 40px);
  font-size: 13px;
  letter-spacing: 0.02em;
  padding-top: 10px;
}

.site-nav a {
  position: relative;
  padding-block: 4px;
  opacity: 0.74;
  transition: opacity 0.25s var(--ease);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.site-nav a:hover { opacity: 1; }
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.site-nav a[aria-current="page"] { opacity: 1; }
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.nav-toggle i {
  width: 16px;
  height: 8px;
  border-block: 1.5px solid currentColor;
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 108px 0 0;
  background:
    radial-gradient(90% 70% at 82% 4%, #ff3d7c 0%, rgba(255, 61, 124, 0) 62%),
    radial-gradient(120% 100% at 12% 100%, #f21a5f 0%, rgba(242, 26, 95, 0) 58%),
    linear-gradient(160deg, #ef1660 0%, #d61053 46%, #a80a3f 100%);
  color: var(--white);
}

/* 参考站的装饰纹理 → 用 CSS 重绘，不引用其素材 */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    repeating-radial-gradient(circle at 78% 42%, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.08) 0 1px, transparent 1px 34px);
  mask-image: radial-gradient(70% 62% at 82% 48%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(70% 62% at 82% 48%, #000 0%, transparent 72%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18%;
  width: 130vw;
  height: 52vh;
  transform: translateX(-50%);
  background: radial-gradient(58% 100% at 50% 100%, rgba(8, 8, 8, 0.55) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  min-height: calc(100svh - 120px);
  padding-bottom: clamp(200px, 24vh, 330px);
}

.hero-copy {
  max-width: 760px;
}

.hero-flag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.26);
  font-size: 12px;
  letter-spacing: 0.1em;
  backdrop-filter: blur(6px);
}

.hero-flag b {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  color: var(--pink-deep);
  font-size: 11px;
  font-weight: 800;
}

.hero h1 {
  margin-top: 26px;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.hero h1 span {
  display: block;
  font-size: clamp(15px, 1.4vw, 19px);
  letter-spacing: 0.02em;
  font-weight: 500;
  margin-top: 18px;
  line-height: 1.6;
  opacity: 0.86;
}

.hero-lead {
  margin-top: 22px;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.75;
  max-width: 520px;
  opacity: 0.9;
}

/* 参考站三张白色大圆角卡片 → 借用形态，内容改为个人定位 */
.hero-pills {
  display: grid;
  gap: 12px;
  margin-top: clamp(28px, 3.4vw, 44px);
  max-width: 560px;
}

.pill {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--r-md);
  background: var(--white);
  color: var(--ink);
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.55;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 20px 44px -26px rgba(0, 0, 0, 0.6);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.pill:hover {
  transform: translateX(8px);
  box-shadow: 0 26px 54px -22px rgba(0, 0, 0, 0.55);
}

.pill i {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0;
}

.pill em {
  font-style: normal;
  font-weight: 500;
  opacity: 0.55;
}

/* 右侧主视觉：参考站是 3D 角色，这里明确做成素材占位 */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.portrait {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 4 / 5;
  border-radius: 200px 200px 32px 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background:
    radial-gradient(70% 60% at 30% 20%, rgba(255, 255, 255, 0.34), transparent 60%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.22), rgba(0, 0, 0, 0.34));
  backdrop-filter: blur(2px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 26px;
  isolation: isolate;
}

.portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.14) 0 1px,
    transparent 1px 9px
  );
  opacity: 0.5;
  z-index: -1;
}

.portrait-tag {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.75;
}

.portrait-note {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.7;
  opacity: 0.85;
  max-width: 210px;
}

.portrait-ring {
  position: absolute;
  width: 118%;
  aspect-ratio: 1;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  top: 4%;
  left: -9%;
  z-index: -2;
  animation: spin 46s linear infinite;
}

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

/* 首屏底部超大描边字（参考站 INNER CIRCLE） */
.hero-word {
  position: absolute;
  left: 50%;
  bottom: 96px;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  font-size: clamp(80px, 17vw, 240px);
  line-height: 0.82;
  letter-spacing: -0.045em;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(255, 255, 255, 0.62);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hero-word span {
  display: inline-block;
  animation: wordFloat 9s ease-in-out infinite;
}

@keyframes wordFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- 黑色大圆角面板（滚动转场） ---------- */
.panel {
  position: relative;
  z-index: 2;
  background: var(--ink);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  margin-top: -96px;
}

.panel-handle {
  width: 100%;
  display: grid;
  place-items: center;
  padding-top: 18px;
}

.panel-handle i {
  width: 54px;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.5);
}

/* ---------- 自述大字 ---------- */
.manifesto {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  padding-block: clamp(58px, 8vw, 110px) clamp(48px, 6vw, 88px);
}

.manifesto-body {
  max-width: 720px;
  font-size: clamp(21px, 2.7vw, 38px);
  line-height: 1.42;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.manifesto-body b {
  font-weight: 800;
  color: var(--white);
}

.manifesto-body .dim { color: rgba(255, 255, 255, 0.38); }

.manifesto-side {
  border-left: 1px solid var(--line);
  padding-left: clamp(20px, 2.4vw, 34px);
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}

.manifesto-side strong {
  display: block;
  color: var(--white);
  font-size: 15px;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

/* ---------- 数据区（仅三个有依据的数字） ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.stat {
  padding: clamp(24px, 3vw, 40px) clamp(18px, 2.4vw, 32px) clamp(30px, 3.4vw, 46px) 0;
  border-right: 1px solid var(--line);
}

.stat:last-child { border-right: 0; }

.stat-num {
  font-size: clamp(38px, 5.6vw, 72px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 800;
  color: var(--pink-hot);
}

.stat-num sub {
  font-size: 0.38em;
  letter-spacing: 0;
  vertical-align: baseline;
  color: var(--white);
  font-weight: 600;
}

.stat-label {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.stat-note {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 文字标识带（参考站 logo 走马灯 → 改为文字标签） ---------- */
.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: 18px;
  --gap: 0px;
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: clamp(28px, 4vw, 64px);
  animation: ticker 34s linear infinite;
}

.ticker:hover .ticker-track { animation-play-state: paused; }

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.ticker-item::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pink);
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* ---------- 精选内容 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-dark);
  border-block: 1px solid var(--line-dark);
}

.feature {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 3vw, 40px) clamp(22px, 2.8vw, 40px) clamp(28px, 3.2vw, 46px);
  background: var(--paper);
  min-height: 230px;
  transition: background 0.45s var(--ease), color 0.45s var(--ease);
}

.feature:hover {
  background: var(--ink);
  color: var(--white);
}

.feature-index {
  font-size: 12px;
  letter-spacing: 0.2em;
  opacity: 0.45;
}

.feature h3 {
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.34;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-top: auto;
}

.feature p {
  font-size: 14px;
  line-height: 1.75;
  opacity: 0.6;
  max-width: 380px;
}

.feature-arrow {
  position: absolute;
  top: clamp(22px, 2.8vw, 38px);
  right: clamp(22px, 2.8vw, 38px);
  font-size: 18px;
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.feature:hover .feature-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

/* ---------- 内页头 ---------- */
.page-head {
  position: relative;
  overflow: hidden;
  padding: clamp(120px, 15vw, 180px) 0 clamp(56px, 7vw, 96px);
  background:
    radial-gradient(80% 60% at 88% 0%, rgba(232, 23, 93, 0.5), transparent 62%),
    linear-gradient(180deg, #12040a 0%, var(--ink) 74%);
}

.page-head::after {
  content: attr(data-word);
  position: absolute;
  right: 0;
  bottom: -5vw;
  font-size: clamp(96px, 16vw, 230px);
  line-height: 0.8;
  letter-spacing: -0.05em;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
  pointer-events: none;
  white-space: nowrap;
}

.page-head h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(38px, 6vw, 82px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin-top: 20px;
}

.page-head p {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  max-width: 620px;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 关于我 ---------- */
.longform {
  display: grid;
  gap: clamp(34px, 4.4vw, 64px);
  max-width: 880px;
}

.block {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 32px);
  padding-top: clamp(24px, 3vw, 38px);
  border-top: 1px solid var(--line);
}

.block-num {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--pink-hot);
  padding-top: 6px;
}

.block h2 {
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-weight: 700;
  margin-bottom: 18px;
}

.block p {
  font-size: 16.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.72);
}

.block p + p { margin-top: 18px; }

.block p b {
  color: var(--white);
  font-weight: 700;
}

.pullquote {
  margin: clamp(40px, 6vw, 80px) 0;
  padding-left: clamp(18px, 3vw, 40px);
  border-left: 3px solid var(--pink);
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.4;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.pullquote span {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--muted);
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-dark);
  margin-top: clamp(48px, 6vw, 72px);
}

.fact {
  background: #fff;
  padding: 26px 22px 30px;
}

.fact dt {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.5;
}

.fact dd {
  margin: 10px 0 0;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.fact dd small {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 500;
  opacity: 0.55;
}

/* ---------- 作品与项目 ---------- */
.work-head {
  position: sticky;
  top: 72px;
  z-index: 40;
  background: rgba(8, 8, 8, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  margin-top: -1px;
}

.filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.filters::-webkit-scrollbar { display: none; }

.filter {
  flex-shrink: 0;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.66);
  transition: all 0.3s var(--ease);
}

.filter:hover { color: #fff; border-color: rgba(255, 255, 255, 0.5); }

.filter.is-active {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
  font-weight: 600;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
  padding-block: clamp(36px, 4.4vw, 60px) clamp(64px, 8vw, 110px);
}

.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.8vw, 36px);
  border-radius: var(--r-md);
  background: var(--ink-2);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: border-color 0.4s var(--ease), transform 0.5s var(--ease),
    background 0.4s var(--ease);
}

.work-card:hover {
  border-color: rgba(232, 23, 93, 0.6);
  transform: translateY(-4px);
  background: #14100f;
}

.work-card.is-hidden { display: none; }

.work-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: var(--muted);
  margin-bottom: 16px;
}

.work-cat {
  padding: 4px 10px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(232, 23, 93, 0.5);
  color: #ff8fb0;
  font-size: 10.5px;
  letter-spacing: 0.06em;
}

.work-year { margin-left: auto; opacity: 0.6; }

.work-card h3 {
  font-size: clamp(18px, 1.9vw, 24px);
  line-height: 1.36;
  letter-spacing: -0.015em;
  font-weight: 700;
}

.work-role {
  margin-top: 8px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.52);
}

.work-card details {
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 14px;
}

.work-card summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.25s var(--ease);
}

.work-card summary::-webkit-details-marker { display: none; }
.work-card summary:hover { color: #fff; }

.work-card summary::after {
  content: "＋";
  font-size: 14px;
  transition: transform 0.35s var(--ease);
}

.work-card details[open] summary::after { transform: rotate(45deg); }

.work-body {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.66);
}

.work-body p + p { margin-top: 12px; }

.work-body .disclaimer {
  display: inline-block;
  margin-top: 10px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.4);
}

.work-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.work-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 12px;
  transition: all 0.3s var(--ease);
}

.work-links a:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.work-note {
  padding-bottom: clamp(56px, 7vw, 96px);
  font-size: 12.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.42);
  max-width: 720px;
}

/* ---------- 能力与方法 ---------- */
.skill-list { border-top: 1px solid var(--line); }

.skill {
  display: grid;
  grid-template-columns: 64px minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(16px, 3vw, 48px);
  padding-block: clamp(28px, 3.6vw, 48px);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease);
}

.skill:hover { background: rgba(255, 255, 255, 0.025); }

.skill-num {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.4);
  padding-top: 8px;
}

.skill h3 {
  font-size: clamp(19px, 2.1vw, 26px);
  line-height: 1.34;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.skill h3 small {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.06em;
  font-weight: 500;
  color: var(--pink-hot);
  text-transform: uppercase;
}

.skill-evidence {
  font-size: 15.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.66);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.skill-tags span {
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.07);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.62);
}

/* ---------- 保持连接 ---------- */
.contact-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(130px, 17vw, 200px) 0 clamp(80px, 10vw, 140px);
  background:
    radial-gradient(80% 90% at 78% 10%, #ff3d7c 0%, rgba(255, 61, 124, 0) 60%),
    linear-gradient(160deg, #ef1660 0%, #cf0f4f 52%, #94092f 100%);
}

.contact-hero h1 {
  font-size: clamp(38px, 7vw, 100px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 800;
  max-width: 15ch;
}

.contact-hero p {
  margin-top: 28px;
  max-width: 560px;
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.8;
  opacity: 0.9;
}

.mail {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  padding: 18px 26px;
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--ink);
  font-size: clamp(15px, 1.7vw, 20px);
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.mail:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px -22px rgba(0, 0, 0, 0.6);
}

.mail i {
  font-style: normal;
  font-size: 18px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-dark);
  margin-top: clamp(40px, 5vw, 64px);
}

.contact-cell {
  background: #fff;
  padding: 26px 24px 30px;
}

.contact-cell dt {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.5;
}

.contact-cell dd {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 600;
}

/* ---------- 页脚 ---------- */
.site-foot {
  background: var(--ink);
  border-top: 1px solid var(--line);
  padding-block: clamp(40px, 5vw, 64px) clamp(24px, 3vw, 36px);
}

.foot-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: clamp(32px, 4vw, 48px);
}

.foot-brand strong {
  display: block;
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: -0.03em;
  font-weight: 800;
}

.foot-brand span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: 13px;
  color: var(--muted);
}

.foot-nav a:hover { color: var(--white); }

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.38);
}

/* ---------- 滚动进场 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: clamp(180px, 26vh, 260px);
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .portrait {
    width: min(62%, 260px);
    aspect-ratio: 3 / 4;
  }

  .manifesto,
  .skill {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .skill-num { padding-top: 0; }
  .manifesto-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 20px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  body { font-size: 16px; }

  .site-head { padding: 16px var(--pad); align-items: center; }

  .brand { position: relative; z-index: 62; }

  .brand-text { display: none; }

  .nav-toggle {
    display: inline-flex;
    position: relative;
    z-index: 62;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 61;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 96px var(--pad) 48px;
    background: rgba(8, 8, 8, 0.96);
    backdrop-filter: blur(20px);
    font-size: 26px;
    letter-spacing: -0.02em;
    font-weight: 700;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
      visibility 0.35s;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav a { opacity: 0.6; padding-block: 10px; }
  .site-nav a[aria-current="page"] { opacity: 1; color: var(--pink-hot); }

  .hero { padding-top: 96px; }
  .hero-inner { padding-bottom: 150px; }
  .hero h1 { font-size: clamp(26px, 7.4vw, 38px); }
  .hero h1 span { font-size: 15px; }
  .portrait { width: min(52%, 190px); }
  .hero-word { font-size: 22vw; bottom: 60px; }
  .panel { border-radius: 28px 28px 0 0; margin-top: -60px; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; }
  .stat:last-child { border-bottom: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .section-head h2 { font-size: clamp(28px, 8vw, 40px); }
  .page-head { padding-top: 120px; }
  .page-head h1 { font-size: clamp(34px, 9vw, 52px); }
  .block { grid-template-columns: 1fr; gap: 10px; }
  .block p { font-size: 16px; }
  .pullquote { font-size: clamp(20px, 6vw, 28px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
