/* ============================================================
   刘温仪 Portfolio — White Canvas × Playful × Editorial (V1)
   ============================================================ */

:root {
  --canvas: #FAFAF7;
  --white: #FFFFFF;
  --ink: #171717;
  --sec: #666662;
  --ter: #999995;
  --line: #E5E5E0;
  --line2: #CFCFC8;

  --yellow: #FFD83D;  /* ENERGY */
  --blue: #5B7CFF;    /* TECH */
  --pink: #FF6B9D;    /* PLAY */

  --display: "Space Grotesk", "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --sans: "Noto Sans SC", "Inter", "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  --mono: "Space Grotesk", "Inter", ui-monospace, Consolas, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1440px;
  --pad: clamp(16px, 3vw, 48px);
  --r-s: 8px; --r-m: 16px; --r-l: 24px;
}

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

html { scroll-behavior: smooth; scrollbar-width: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { width: 0; height: 0; display: none; }

body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }

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

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; color: inherit; background: none; border: none; cursor: pointer; }

.mono { font-family: var(--mono); letter-spacing: 0.08em; }
.display { font-family: var(--display); }

/* ── 跟随光标的交互标签 ───────────────────── */
.cursor-tag {
  position: fixed; top: 0; left: 0; z-index: 200;
  pointer-events: none;
  font-size: 10px; letter-spacing: 0.12em;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px; padding: 6px 12px;
  transform: translate(-50%, -140%);
  opacity: 0; transition: opacity 0.15s;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(23, 23, 23, 0.08);
}
.cursor-tag.on { opacity: 1; }
@media (hover: none), (prefers-reduced-motion: reduce) { .cursor-tag { display: none; } }

/* ── 顶栏 ─────────────────────────────────── */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad); height: 64px;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.topbar.scrolled {
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
.brand { font-weight: 700; font-size: 17px; letter-spacing: 0.02em; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em;
  color: var(--sec); position: relative; transition: color 0.25s;
}
.nav a:hover { color: var(--ink); }
.nav a.cur { color: var(--ink); }
.nav a.cur::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--yellow);
}
.nav-cta {
  width: 34px; height: 34px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--ink); color: var(--ink) !important;
  font-size: 14px !important;
  transition: background 0.25s, color 0.25s, transform 0.2s var(--ease);
  will-change: transform;
}
.nav-cta:hover { background: var(--ink); color: var(--white) !important; }

/* ── HERO ─────────────────────────────────── */
.hero {
  min-height: 100svh; position: relative;
  display: flex; align-items: center;
  padding: 160px var(--pad) 120px;
}
.hero-inner {
  width: 100%; max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(24px, 4vw, 64px); align-items: center;
}
.hero-meta { font-size: 11px; color: var(--ter); margin-bottom: 26px; line-height: 1.9; }
.hero-name {
  font-size: clamp(72px, 10vw, 144px);
  font-weight: 700; line-height: 1.02; letter-spacing: 0.01em;
}
.hero-title {
  font-size: clamp(20px, 2.6vw, 34px);
  font-weight: 600; letter-spacing: 0.14em;
  margin-top: 16px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.3em;
}
.hero-title .x { color: var(--ter); font-weight: 500; }
.hero-intro { margin-top: 22px; font-size: clamp(16px, 1.4vw, 19px); color: var(--sec); max-width: 30em; }
.hero-actions { margin-top: 34px; display: flex; gap: 14px; }
.hero-scroll { margin-top: 64px; font-size: 10px; color: var(--ter); transition: opacity 0.5s; }
.hero-scroll.off { opacity: 0; }

.btn-primary {
  height: 44px; padding: 0 22px; border-radius: 999px;
  background: var(--ink); color: var(--white);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform 0.25s var(--ease);
  will-change: transform;
}
.btn-primary .arr { transition: transform 0.25s var(--ease); }
.btn-primary:hover .arr { transform: translate(2px, -2px); }
.btn-primary:active { transform: scale(0.96); }

/* 漂浮物件 */
.float-obj { position: absolute; z-index: 1; pointer-events: none; }
.fo-coord { top: 84px; right: var(--pad); font-size: 10px; color: var(--ter); animation: float 5s ease-in-out infinite; }
.fo-coord::before { content: ""; color: var(--pink); }
.fo-role {
  top: 84px; left: var(--pad); font-size: 10px; color: var(--ter);
  background: var(--white); border: 1px solid var(--line);
  padding: 5px 12px; border-radius: 999px;
  animation: float 6s ease-in-out 0.8s infinite;
}
.fo-count {
  left: clamp(8px, 2vw, 40px); bottom: 24px;
  font-size: clamp(64px, 8vw, 120px); font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--line2);
  animation: float 7s ease-in-out 0.4s infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.hero-right { position: relative; height: min(72vh, 640px); min-height: 420px; }
#netCanvas { width: 100%; height: 100%; display: block; }
.net-hint { text-align: center; font-size: 10px; color: var(--ter); margin-top: 4px; transition: opacity 0.3s; }
.net-hint.off { opacity: 0; }

/* 移动端节点列表 */
.net-mobile { display: none; }
.net-mobile .nm-row { border-bottom: 1px solid var(--line); }
.net-mobile .nm-btn {
  width: 100%; display: flex; align-items: center; gap: 12px;
  padding: 16px 4px; font-family: var(--mono); font-size: 14px;
  letter-spacing: 0.12em; color: var(--ink); text-align: left;
}
.net-mobile .nm-dot { width: 10px; height: 10px; border-radius: 999px; flex: none; }
.net-mobile .nm-count { margin-left: auto; font-size: 10px; color: var(--ter); }
.net-mobile .nm-list { display: none; padding: 0 4px 16px 26px; flex-wrap: wrap; gap: 8px; }
.net-mobile .nm-row.open .nm-list { display: flex; }
.net-mobile .nm-chip {
  font-family: var(--mono); font-size: 11px; color: var(--sec);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px;
}
.net-mobile .nm-chip.link { border-color: var(--ink); color: var(--ink); }

/* ── 通用 section ─────────────────────────── */
section { padding: clamp(96px, 12vw, 160px) var(--pad); }
.sec-head { max-width: var(--wrap); margin: 0 auto clamp(48px, 6vw, 88px); }
.sec-kicker { font-size: 11px; color: var(--ter); display: flex; align-items: center; gap: 12px; }
.sec-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--yellow); }
.sec-title {
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 700; line-height: 0.98; letter-spacing: -0.01em;
  margin-top: 16px; text-transform: uppercase;
}
.sec-desc { color: var(--sec); margin-top: 18px; max-width: 36em; }

/* ── PRACTICE MAP ─────────────────────────── */
.practice-grid {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(16px, 2.5vw, 36px);
}
.p-block {
  border-top: 1px solid var(--line);
  padding: 24px 0 44px; position: relative;
  transition: border-color 0.3s;
}
.p-block::before {
  content: ""; position: absolute; top: -4px; left: 0;
  width: 8px; height: 8px; border-radius: 999px; background: var(--ac);
}
.p-block:hover { border-top-color: var(--ink); }
.p-block .p-no { font-family: var(--mono); font-size: 11px; color: var(--ter); letter-spacing: 0.1em; }
.p-block h3 {
  font-family: var(--display);
  font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; letter-spacing: 0.02em;
  margin-top: 12px; display: flex; align-items: baseline; gap: 12px;
}
.p-block h3 small { font-family: var(--sans); font-size: 12px; color: var(--ter); font-weight: 400; letter-spacing: 0.3em; }
.p-block .p-desc { color: var(--sec); margin-top: 12px; font-size: 14px; max-width: 30em; }
.p-items { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.p-items button, .p-items span {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em;
  color: var(--ink); background: var(--white);
  border: 1px solid var(--line); padding: 6px 13px; border-radius: 999px;
  transition: border-color 0.25s, transform 0.2s var(--ease);
}
.p-items button:hover { border-color: var(--ink); transform: translateY(-2px); }
.p-items span { color: var(--ter); border-style: dashed; }
.p-way { font-family: var(--mono); font-size: 10px; color: var(--ter); margin-top: 18px; letter-spacing: 0.06em; }
.p-block.b1 { grid-column: 1 / 6; }
.p-block.b2 { grid-column: 6 / 13; margin-top: 56px; }
.p-block.b3 { grid-column: 1 / 5; margin-top: -20px; }
.p-block.b4 { grid-column: 5 / 9; margin-top: 40px; }
.p-block.b5 { grid-column: 9 / 13; margin-top: 110px; }

/* ── GROWTH：编辑式大数字时间线 ────────────── */
.growth { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.growth .sec-kicker::before { background: var(--blue); }
.stages { max-width: var(--wrap); margin: 0 auto; }
.stage {
  display: grid; grid-template-columns: minmax(150px, 220px) 1fr;
  gap: clamp(24px, 4vw, 72px);
  padding: clamp(40px, 5vw, 72px) 0;
  position: relative;
}
.stage + .stage { border-top: 1px solid var(--line); }
.stage-year { font-size: clamp(48px, 5.5vw, 84px); font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.stage-no { display: block; font-size: 12px; color: var(--ter); margin-top: 10px; letter-spacing: 0.2em; }
.stage-body h3 {
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 46px); font-weight: 700;
  line-height: 1.02; letter-spacing: 0; text-transform: uppercase;
}
.stage-cn { margin-top: 10px; font-size: 13px; color: var(--ter); letter-spacing: 0.14em; }
.stage-body .s-desc { color: var(--sec); margin-top: 16px; max-width: 44em; }
.stage-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.stage-tags span {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em;
  color: var(--ink); background: var(--canvas);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 12px; height: 28px; box-sizing: border-box;
}
.stage-tags span::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--td, var(--ink)); }
.stage-projs { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.mini-card {
  width: 212px; text-align: left; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden;
  cursor: pointer; padding: 0; display: block;
  transition: border-color 0.25s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.growth .mini-card { background: var(--canvas); }
.mini-card:hover { border-color: var(--ink); transform: translateY(-4px); box-shadow: 0 10px 30px -18px rgba(23, 23, 23, 0.25); }
.mini-card .mc-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--canvas); }
.mini-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.mini-card:hover img { transform: scale(1.03); }
.mini-card .mc-txt { padding: 12px 14px 14px; }
.mini-card .mc-name { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.mini-card .mc-meta { display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 9.5px; color: var(--ter); margin-top: 5px; letter-spacing: 0.08em; }
.mini-card .mc-meta::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--td, var(--ink)); flex: none; }
.mini-chip {
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  border: 1px dashed var(--line2); border-radius: var(--r-m);
  padding: 14px 16px; min-height: 54px;
}
.mini-chip .mc-name { font-size: 13px; font-weight: 600; color: var(--sec); }
.mini-chip .mc-line { font-size: 11.5px; color: var(--ter); line-height: 1.5; }

/* STILL EXPLORING */
.now { padding: clamp(48px, 7vw, 96px) 0 8px; border-top: 1px solid var(--line); }
.now .stage-year { color: var(--ink); }
.now h3 {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 80px); font-weight: 700; line-height: 1;
  text-transform: uppercase; margin-top: 8px;
}
.now h3 .dot-pink { color: var(--pink); }
.now p { color: var(--sec); margin-top: 20px; max-width: 40em; }
.net-echo { display: flex; align-items: center; margin-top: 40px; }
.net-echo .dot { width: 9px; height: 9px; border-radius: 999px; flex: none; animation: echo 3s ease-in-out infinite; }
.net-echo .ln { height: 1px; flex: 0 0 clamp(30px, 6vw, 90px); background: var(--line2); }
@keyframes echo { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

/* ── PROJECTS ─────────────────────────────── */
.filter-bar {
  max-width: var(--wrap); margin: 0 auto 36px;
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.filter-bar button {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  color: var(--ink); background: var(--white); border: 1px solid var(--line);
  padding: 8px 15px; border-radius: 999px;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}
.filter-bar button em {
  font-style: normal; font-size: 9px; letter-spacing: 0;
  color: var(--ter); margin-left: 7px; vertical-align: 1px;
}
.filter-bar button:hover { border-color: var(--ink); }
.filter-bar button.on { background: var(--ink); border-color: var(--ink); color: var(--white); }
.filter-bar button.on em { color: rgba(255, 255, 255, 0.65); }
.filter-count { margin-left: 10px; font-size: 10px; color: var(--ter); }

.proj-grid {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: repeat(12, 1fr);
  grid-auto-flow: dense; gap: 44px 16px;
}
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-12 { grid-column: span 12; }
.card {
  position: relative; text-align: left;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m);
  cursor: pointer; padding: 0; overflow: hidden;
  display: flex; flex-direction: column; align-self: start;
  transition: border-color 0.25s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.card:hover { border-color: var(--ink); box-shadow: 0 16px 44px -24px rgba(23, 23, 23, 0.28); }
.card:active { transform: scale(0.98); }
.c-media { position: relative; display: block; overflow: hidden; background: var(--canvas); }
.c-media img {
  display: block; width: 100%; height: auto;
  transition: transform 0.45s var(--ease);
}
.card:hover .c-media img { transform: scale(1.02); }
.c-view {
  position: absolute; top: 12px; right: 12px;
  font-size: 10px; letter-spacing: 0.1em;
  background: var(--ink); color: var(--white);
  border-radius: 999px; padding: 6px 12px;
  opacity: 0; transform: translateY(-4px);
  transition: opacity 0.25s, transform 0.25s var(--ease);
}
.card:hover .c-view { opacity: 1; transform: none; }
.c-txt { display: block; padding: 14px 18px 18px; border-top: 1px solid var(--line); }
.c-no { display: block; font-family: var(--mono); font-size: 10px; color: var(--ter); letter-spacing: 0.16em; }
.c-name { display: block; font-size: 17px; font-weight: 700; line-height: 1.4; margin-top: 6px; transition: transform 0.3s var(--ease); }
.card:hover .c-name { transform: translateY(-4px); }
.c-meta { display: flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10px; color: var(--ter); margin-top: 5px; letter-spacing: 0.1em; }
.c-meta::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--td, var(--ink)); flex: none; }
.c-line { display: block; font-size: 12.5px; color: var(--sec); margin-top: 8px; }

/* ── ABOUT ────────────────────────────────── */
.about .sec-kicker::before { background: var(--pink); }
.about-grid { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(36px, 5vw, 96px); }
.about-lead { font-size: clamp(19px, 2vw, 24px); font-weight: 700; margin-bottom: 18px; }
.about-main > p { color: var(--sec); max-width: 36em; }
.about-main > p + p { margin-top: 14px; }
.about-skills { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 36px; }
.about-skills h4 {
  font-family: var(--mono); font-size: 11px; color: var(--ink);
  letter-spacing: 0.14em; margin-bottom: 6px;
  display: flex; align-items: center; gap: 8px;
}
.about-skills h4::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: var(--ac); }
.about-skills p { font-size: 13px; color: var(--sec); line-height: 1.8; }
.about-facts div { display: flex; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.about-facts dt { width: 64px; flex: none; font-size: 9.5px; color: var(--ter); padding-top: 4px; }
.about-facts dd { font-size: 14px; }
.copy-mail { font-size: 14px; border-bottom: 1px solid var(--line2); padding-bottom: 1px; transition: color 0.25s, border-color 0.25s; }
.copy-mail:hover { color: var(--blue); border-color: var(--blue); }
.copy-mail.copied { color: var(--blue); border-color: var(--blue); }
.about-awards { margin-top: 36px; }
.about-awards h4 { font-size: 11px; color: var(--ter); margin-bottom: 12px; letter-spacing: 0.16em; }
.about-awards li {
  list-style: none; font-size: 13.5px; color: var(--sec);
  padding: 8px 0 8px 16px; position: relative; margin-bottom: 2px;
}
.about-awards li::before { content: ""; position: absolute; left: 0; top: 17px; width: 6px; height: 6px; border-radius: 999px; background: var(--pink); }

/* ── FOOTER ───────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  padding: 28px var(--pad);
  display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--sec);
  max-width: var(--wrap); margin: 0 auto;
}
.footer .mono { font-size: 10px; color: var(--ter); }
.footer .copy-mail { font-size: 12px; }

/* ── 详情面板 ─────────────────────────────── */
.detail-backdrop {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(23, 23, 23, 0.32);
  opacity: 0; transition: opacity 0.3s;
}
.detail-backdrop.open { opacity: 1; }
.detail {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  width: min(1560px, 100%); margin: 0 auto;
  height: min(90vh, 960px);
  background: var(--canvas);
  border: 1px solid var(--line); border-bottom: none;
  border-radius: var(--r-l) var(--r-l) 0 0;
  transform: translateY(103%); transition: transform 0.55s var(--ease);
  overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: none;
  box-shadow: 0 -24px 80px -32px rgba(23, 23, 23, 0.35);
}
.detail::before {
  content: ""; position: sticky; top: 10px; z-index: 6;
  display: block; width: 36px; height: 4px; border-radius: 999px;
  background: var(--line2); margin: 0 auto;
}
.detail::-webkit-scrollbar { width: 0; height: 0; display: none; }
.detail.open { transform: translateY(0); }
.detail-close {
  position: sticky; top: 14px;
  margin-left: auto;
  margin-right: calc(max((100% - var(--wrap)) / 2, 0px) + clamp(20px, 4vw, 48px));
  z-index: 5;
  display: block; width: 40px; height: 40px; border-radius: 999px;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line); font-size: 20px;
  transition: border-color 0.25s;
}
.detail-close:hover { border-color: var(--ink); }
.detail-body { max-width: var(--wrap); margin: -40px auto 0; padding: 0 clamp(20px, 4vw, 48px) 72px; }
.d-meta { font-family: var(--mono); font-size: 10.5px; color: var(--ter); letter-spacing: 0.1em; display: flex; gap: 14px; flex-wrap: wrap; }
.d-meta i { font-style: normal; display: inline-flex; align-items: center; gap: 6px; }
.d-meta i::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--dc); }
.detail-body h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; margin-top: 12px; }
.d-sub { color: var(--sec); margin-top: 4px; }
.d-line {
  margin-top: 20px; font-size: 15.5px; color: var(--ink);
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-s); padding: 14px 16px;
  display: inline-block;
}
.d-sec { margin-top: 38px; }
.d-sec h4 { font-family: var(--mono); font-size: 10.5px; color: var(--ter); letter-spacing: 0.16em; margin-bottom: 12px; }
.d-sec > p { color: var(--sec); font-size: 14px; }
.d-sec ul { list-style: none; }
.d-sec li { position: relative; padding-left: 18px; color: var(--sec); font-size: 14px; margin-bottom: 8px; }
.d-sec li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 999px; background: var(--dc); }
.d-stack {
  font-family: var(--mono); font-size: 12px; color: var(--sec);
  border: 1px solid var(--line); background: var(--white);
  padding: 14px 16px; border-radius: var(--r-s); line-height: 1.9;
}
.d-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 4px; }
.d-gallery img, .d-gallery video { width: 100%; border-radius: var(--r-s); border: 1px solid var(--line); background: var(--white); }
.d-gallery figcaption { font-family: var(--mono); font-size: 10px; color: var(--ter); margin-top: 7px; letter-spacing: 0.04em; }
.d-nav { display: flex; gap: 12px; margin-top: 48px; }
.d-nav button {
  flex: 1; height: 44px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  border: 1px solid var(--ink); border-radius: 999px; color: var(--ink);
  transition: background 0.25s, color 0.25s;
}
.d-nav button:hover { background: var(--ink); color: var(--white); }

/* ── 入场揭示 ─────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ── 响应式 ───────────────────────────────── */
@media (max-width: 1120px) {
  .p-block.b1, .p-block.b2, .p-block.b3, .p-block.b4, .p-block.b5 { grid-column: span 6; margin-top: 0; }
  .col-5, .col-6, .col-7 { grid-column: span 6; }
  .col-12 { grid-column: span 12; }
}
@media (max-width: 900px) {
  .hero { padding: 120px var(--pad) 88px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { height: 430px; min-height: 0; order: 2; }
  .stage { grid-template-columns: 1fr; gap: 16px; }
  .stage-year { font-size: 44px; }
  .about-grid { grid-template-columns: 1fr; }
  .fo-count { display: none; }
}
@media (max-width: 640px) {
  section { padding-left: 16px; padding-right: 16px; }
  .nav { gap: 18px; }
  .hero-right { height: auto; }
  #netCanvas, .net-hint { display: none; }
  .net-mobile { display: block; }
  .col-3, .col-4 { grid-column: span 6; }
  .col-5, .col-6, .col-7, .col-12 { grid-column: span 12; }
  .about-skills { grid-template-columns: 1fr; }
  .d-gallery { grid-template-columns: 1fr; }
  .detail { width: 100%; }
  .detail-body { margin-top: -34px; }
  .fo-role { display: none; }
}

/* ── 减少动效 ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-obj, .net-echo .dot { animation: none; }
  .card .c-media img, .mini-card img, .c-name, .btn-primary { transition: none; }
  .detail, .detail-backdrop, .cursor-tag { transition: none; }
  .cursor-tag { display: none; }
  .btn-primary:hover .arr { transform: none; }
}
