﻿/* =========================================================
   个人作品集 · 样式表
   深色编辑风 / 系统字体（国内加载最快，不依赖任何外部 CDN）
   ========================================================= */

:root {
  --bg: #08090b;
  --bg-2: #0d0f12;
  --bg-3: #14171b;
  --ink: #f4f5f7;
  --ink-2: #c7ccd3;
  --muted: #868d97;
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.055);
  --accent: #5aa8ff;
  --accent-soft: rgba(90, 168, 255, 0.14);
  --max: 1280px;
  --gut: clamp(20px, 5vw, 64px);
  --r: 14px;
  --ease: cubic-bezier(0.22, 0.68, 0.24, 1);
  --font: "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC",
    "Noto Sans SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: #04060a; }

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

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: #04060a;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 9, 11, 0.7);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line-2);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.brand__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  transform: translateY(-2px);
}
.brand small {
  color: var(--muted);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.14em;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 30px);
  font-size: 14px;
  color: var(--ink-2);
}
.nav a {
  position: relative;
  padding: 6px 0;
  transition: color 0.25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.nav__cta {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px !important;
  color: var(--ink) !important;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav__cta::after { display: none; }
.nav__cta:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-2);
}
.back:hover { color: var(--ink); }
.back svg { width: 15px; height: 15px; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  padding-block: clamp(36px, 6vw, 84px) clamp(48px, 7vw, 96px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto auto;
  width: 62vw;
  height: 62vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(
    circle,
    rgba(90, 168, 255, 0.16) 0%,
    rgba(90, 168, 255, 0.05) 38%,
    transparent 68%
  );
  filter: blur(10px);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin: 0 0 22px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent);
  opacity: 0.85;
}
.display {
  margin: 0;
  font-size: clamp(34px, 5.6vw, 76px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.display em {
  font-style: normal;
  color: var(--accent);
}
.hero__lead {
  margin: 26px 0 0;
  max-width: 46ch;
  color: var(--ink-2);
  font-size: clamp(15px, 1.3vw, 17px);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
    border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.btn svg { width: 16px; height: 16px; }
.btn--solid { background: var(--ink); color: #07080a; }
.btn--solid:hover { transform: translateY(-2px); background: #fff; }
.btn--ghost { border: 1px solid var(--line); color: var(--ink-2); }
.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--ink);
}

.hero__figure {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--bg-3);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9),
    inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__figure figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- 能力条 ---------- */
.strip {
  border-block: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent);
}
.strip__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px clamp(18px, 4vw, 56px);
  align-items: center;
  padding-block: 20px;
  font-size: 13.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.strip__inner span { display: inline-flex; align-items: center; gap: 10px; }
.strip__inner span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

/* ---------- 区块 ---------- */
.sec { padding-block: clamp(64px, 9vw, 132px); }
.sec--tight { padding-block: clamp(48px, 6vw, 88px); }
.sec__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  margin-bottom: clamp(30px, 4.5vw, 60px);
}
.sec__label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin: 0 0 14px;
}
.sec__title {
  margin: 0;
  font-size: clamp(26px, 3.6vw, 46px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.sec__desc {
  margin: 14px 0 0;
  max-width: 60ch;
  color: var(--muted);
  font-size: 15px;
}
.sec__aside {
  font-size: 13px;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}

/* ---------- 作品卡 ---------- */
.project {
  display: block;
  margin-bottom: clamp(52px, 8vw, 116px);
}
.project:last-child { margin-bottom: 0; }
.project__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--bg-3);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.project__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.12) 0%,
    transparent 30%,
    transparent 70%,
    rgba(0, 0, 0, 0.35) 100%
  );
  opacity: 1;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.project--wide .project__media { aspect-ratio: 16 / 9; }
.project--tall .project__media { aspect-ratio: 4 / 3; }
.project--tall .project__media img { object-position: center 40%; }

/* 分栏卡片：竖构图作品不做裁切 */
.project--split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.project--split .project__media { aspect-ratio: 3 / 4; }
.project--split .project__body { display: block; padding-top: 0; }
.project--split .project__tags { margin-top: 18px; }
.project--split .project__desc { margin-top: 16px; }
.project--split .project__more { margin-top: 20px; }
.project__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transition: transform 0.9s var(--ease), filter 0.9s var(--ease);
}
.project:hover .project__media img { transform: scale(1.035); }
.project:hover .project__media::after { opacity: 0.55; }

.project__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(8, 9, 11, 0.58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: #fff;
}
.project__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 28px;
  align-items: start;
  padding-top: 22px;
}
.project__title {
  margin: 0;
  font-size: clamp(21px, 2.6vw, 30px);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.project__title span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.project__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.project__tags li {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.02);
  padding: 4px 11px;
  border-radius: 999px;
}
.project__desc {
  grid-column: 1 / -1;
  margin: 6px 0 0;
  max-width: 66ch;
  color: var(--muted);
  font-size: 14.5px;
}
.project__more {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.project__more svg {
  width: 14px;
  height: 14px;
  transition: transform 0.35s var(--ease);
}
.project:hover .project__more svg { transform: translateX(5px); }

/* ---------- 关于 ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.about__text p {
  margin: 0 0 18px;
  color: var(--ink-2);
  font-size: clamp(15px, 1.25vw, 16.5px);
}
.about__text p:last-child { margin-bottom: 0; }
.about__text strong { color: var(--ink); font-weight: 600; }
.facts {
  margin: 0;
  border-top: 1px solid var(--line-2);
}
.facts > div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-2);
}
.facts dt {
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  padding-top: 3px;
}
.facts dd {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink);
}
.todo {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 5px;
  background: rgba(255, 190, 80, 0.14);
  border: 1px dashed rgba(255, 190, 80, 0.45);
  color: #ffc861;
  font-size: 0.95em;
}

/* ---------- 联系 ---------- */
.contact {
  position: relative;
  border-top: 1px solid var(--line-2);
  background: radial-gradient(
    120% 130% at 50% 0%,
    rgba(90, 168, 255, 0.09),
    transparent 60%
  );
}
/* 微信二维码卡片 */
.contact__side { display: grid; align-content: start; }
.qr {
  margin: 28px 0 0;
  display: grid;
  justify-items: start;
  gap: 12px;
}
.qr img {
  width: 160px;
  height: 160px;
  display: block;
  border-radius: 12px;
  background: #fff;
  padding: 6px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.qr figcaption {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.contact__title {
  margin: 0;
  font-size: clamp(28px, 4vw, 54px);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.mail {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  font-size: clamp(16px, 2vw, 21px);
  color: var(--accent);
  border-bottom: 1px solid rgba(90, 168, 255, 0.35);
  padding-bottom: 4px;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
  word-break: break-all;
}
.mail:hover { color: #a8ceff; border-color: #a8ceff; }
.mail svg { width: 18px; height: 18px; flex: none; }
.contact__note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 44ch;
}
.contact__list {
  margin: 0;
  border-top: 1px solid var(--line-2);
}
.contact__list > div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-2);
}
.contact__list dt {
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.12em;
}
.contact__list dd { margin: 0; font-size: 14.5px; }
.copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  border-bottom: 1px dotted var(--line);
  padding-bottom: 2px;
}
.copy svg { width: 13px; height: 13px; opacity: 0.5; }
.copy:hover { color: var(--accent); }

/* ---------- 页脚 ---------- */
.footer {
  border-top: 1px solid var(--line-2);
  padding-block: 40px 48px;
  font-size: 12.8px;
  color: var(--muted);
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.footer__nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__nav a:hover { color: var(--ink); }
.footer__fine {
  max-width: 74ch;
  line-height: 1.75;
  color: rgba(134, 141, 151, 0.85);
  border-top: 1px solid var(--line-2);
  padding-top: 20px;
}
.footer__fine p { margin: 0 0 8px; }
.footer__fine p:last-child { margin: 0; }

/* ---------- 案例页 ---------- */
.case-hero { padding-block: clamp(28px, 4vw, 56px) 0; }
.case-hero__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 20px;
}
.case-hero__top .dot { color: var(--accent); }
.case-title {
  margin: 0;
  font-size: clamp(30px, 5vw, 66px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.case-title span { display: block; color: var(--muted); font-size: 0.5em; font-weight: 400; margin-top: 10px; letter-spacing: 0.02em; }
.case-lead {
  margin: 24px 0 0;
  max-width: 62ch;
  color: var(--ink-2);
  font-size: clamp(15px, 1.3vw, 17px);
}
.case-cover {
  margin: clamp(32px, 4.5vw, 56px) 0 0;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg-3);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.case-cover img { width: 100%; height: auto; }
.case-cover--crop { aspect-ratio: 16 / 9; }
.case-cover--crop img { height: 100%; object-fit: cover; }
/* 竖构图作品：居中画框，不裁切 */
.case-cover--portrait {
  max-width: 620px;
  margin-inline: auto;
  margin-top: clamp(28px, 4vw, 52px);
}
.case-cover--portrait img { max-height: min(76vh, 880px); object-fit: contain; }

.meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(28px, 4vw, 48px) 0 0;
  background: var(--line-2);
  border-block: 1px solid var(--line-2);
  padding: 0;
}
.meta > div {
  background: rgba(8, 9, 11, 0.66);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 18px 20px 20px;
}
.meta dt {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 7px;
}
.meta dd {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.6;
}

.case-layout {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr);
  gap: clamp(24px, 5vw, 88px);
  align-items: start;
  padding-block: clamp(44px, 6vw, 84px);
}
.toc {
  position: sticky;
  top: 96px;
  align-self: start;
  border-left: 1px solid var(--line-2);
  padding-left: 18px;
}
.toc__title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin: 0 0 14px;
}
.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
  font-size: 13px;
}
.toc a {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 6px;
  color: var(--muted);
  line-height: 1.5;
  transition: color 0.25s var(--ease);
}
.toc a span { font-family: var(--mono); font-size: 11px; opacity: 0.7; padding-top: 2px; }
.toc a:hover { color: var(--ink-2); }
.toc a.is-active { color: var(--ink); }
.toc a.is-active span { color: var(--accent); opacity: 1; }

.chapter {
  padding-block: clamp(34px, 5vw, 64px);
  border-top: 1px solid var(--line-2);
}
.chapter:first-of-type { border-top: 0; padding-top: 0; }
.chapter__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin: 0 0 12px;
}
.chapter h2 {
  margin: 0 0 16px;
  font-size: clamp(21px, 2.4vw, 30px);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.prose { max-width: 68ch; }
.prose p {
  margin: 0 0 15px;
  color: var(--ink-2);
  font-size: clamp(14.5px, 1.15vw, 16px);
}
.prose p:last-child { margin-bottom: 0; }
.prose code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 6px;
  border-radius: 5px;
  color: var(--ink);
}

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

.figure { margin: 0; }
.figure__btn {
  display: block;
  width: 100%;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-3);
  box-shadow: inset 0 0 0 1px var(--line-2);
  cursor: zoom-in;
}
.figure__btn img {
  width: 100%;
  height: auto;
  transition: transform 0.7s var(--ease), opacity 0.4s linear;
}
.figure__btn:hover img { transform: scale(1.012); }
.figure figcaption {
  margin-top: 10px;
  font-size: 12.8px;
  line-height: 1.65;
  color: var(--muted);
}
.figure--tall { max-width: 520px; }
.figure--tall .figure__btn { background: var(--bg-2); }

/* ---------- 图集（成片） ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.gallery .figure__btn { aspect-ratio: 3 / 4; }
.gallery img { height: 100%; object-fit: cover; }
.gallery--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery--wide .figure__btn { aspect-ratio: 16 / 9; }

/* ---------- 视频 ---------- */
.video-card {
  position: relative;
  margin: 0;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg-3);
  box-shadow: inset 0 0 0 1px var(--line-2);
  aspect-ratio: 16 / 9;
}
.video-card--tall { aspect-ratio: 3 / 4; max-width: 520px; }
.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-card__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 14px;
  justify-items: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.5));
  transition: background 0.4s var(--ease);
}
.video-card__play:hover { background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.4)); }
.video-card__icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  background: rgba(255, 255, 255, 0.92);
  color: #06080b;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.35s var(--ease), background 0.3s;
}
.video-card__play:hover .video-card__icon { transform: scale(1.08); background: #fff; }
.video-card__icon svg { width: 22px; height: 22px; margin-left: 3px; }
.video-card__label {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}
.video-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(8, 9, 11, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: #fff;
}
.video-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

/* 竖屏视频 + 镜头说明 */
.video-row {
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}
.video-row .video-card { width: 100%; }
.shotlist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
  border-top: 1px solid var(--line-2);
}
.shotlist li {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line-2);
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.65;
}
.shotlist li:first-child { border-top: 0; padding-top: 0; }
.shotlist b {
  font-weight: 400;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
  padding-top: 4px;
}

/* ---------- 案例页脚注 ---------- */
.notes {
  margin-top: clamp(40px, 6vw, 72px);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: clamp(20px, 3vw, 32px);
  background: rgba(255, 255, 255, 0.018);
}
.notes h3 {
  margin: 0 0 14px;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--ink);
}
.notes ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 9px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}
.notes a { color: var(--ink-2); border-bottom: 1px solid var(--line); }
.notes a:hover { color: var(--accent); }

.next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: 28px;
  border-top: 1px solid var(--line-2);
}
.next__label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em; color: var(--muted); }
.next__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 500;
}
.next__link svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.next__link:hover { color: var(--accent); }
.next__link:hover svg { transform: translateX(5px); }

/* ---------- 灯箱 ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  background: rgba(4, 5, 7, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: clamp(16px, 4vw, 48px);
}
.lightbox[open],
.lightbox.is-open { display: grid; grid-template-rows: 1fr auto; }
.lightbox__stage {
  display: grid;
  place-items: center;
  min-height: 0;
}
.lightbox__stage img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  color: var(--ink-2);
  font-size: 13px;
}
.lightbox__cap { max-width: 70ch; line-height: 1.6; }
.lightbox__ctrl { display: flex; gap: 8px; flex: none; }
.lightbox__ctrl button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-content: center;
  transition: background 0.25s, border-color 0.25s;
}
.lightbox__ctrl button:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.3); }
.lightbox__ctrl svg { width: 16px; height: 16px; }

/* ---------- 进场动画 ---------- */
/* 只有 JS 可用时才做入场动画：脚本被禁用/加载失败时内容照常显示 */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 提示 ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 16px);
  background: rgba(255, 255, 255, 0.95);
  color: #07080a;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease);
  z-index: 300;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .case-layout { grid-template-columns: 1fr; }
  .toc {
    position: static;
    border-left: 0;
    border-top: 1px solid var(--line-2);
    padding: 18px 0 0;
    margin-bottom: 8px;
  }
  .toc ol {
    grid-auto-flow: row;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px 18px;
  }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__figure { order: -1; aspect-ratio: 4 / 3; }
  .hero__figure img { object-position: center 42%; }
  .about { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .qr { justify-items: center; }
  .qr figcaption { text-align: center; }
  .meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery, .figures--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project--tall .project__media { aspect-ratio: 16 / 9; }
  .project--split { grid-template-columns: 1fr; gap: 18px; }
  .project--split .project__media { aspect-ratio: 4 / 3; }
  .project--split .project__media img { object-position: center 42%; }
  .project--split .project__body { display: block; }
  .video-row { grid-template-columns: 1fr; }
  .case-cover--portrait { max-width: none; }
}

@media (max-width: 680px) {
  body { font-size: 15.5px; }
  .topbar__inner { height: 60px; }
  .brand small { display: none; }
  .nav { gap: 14px; font-size: 13px; }
  .case-hero__top { gap: 6px 10px; font-size: 11px; letter-spacing: 0.1em; }
  .case-hero__top .dot { display: none; }
  .sec__head { grid-template-columns: 1fr; }
  .sec__aside { text-align: left; }
  .project__body { grid-template-columns: 1fr; }
  .gallery, .figures--2, .figures--3 { grid-template-columns: 1fr; }
  .gallery .figure__btn { aspect-ratio: 16 / 10; }
  .meta { grid-template-columns: 1fr; }
  .figure--tall { max-width: none; }
  .video-card--tall { max-width: none; }
  .lightbox__stage img { max-height: 70vh; }
  .facts > div, .contact__list > div { grid-template-columns: 80px 1fr; }
}

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


/* =========================================================
   Grainient 背景层（案例页用；首页不使用）
   移植自 React Bits / OGL 的 Grainient，改成原生 WebGL2
   ========================================================= */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(120% 90% at 70% 8%, #0a2038 0%, #050b16 46%, #03050a 100%);
}
.bg-fx canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.9;
}
/* 暗化遮罩：让正文保持高对比，背景只做氛围 */
.bg-fx::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 70% at 50% 8%, rgba(3, 5, 10, 0.04), rgba(3, 5, 10, 0.52) 80%),
    linear-gradient(180deg, rgba(3, 5, 10, 0.16) 0%, rgba(3, 5, 10, 0.5) 100%);
}
/* 首页：着色器再压暗一档，让体积光成为主角 */
.bg-fx--dim::after {
  background:
    radial-gradient(90% 70% at 50% 8%, rgba(3, 5, 10, 0.34), rgba(3, 5, 10, 0.78) 80%),
    linear-gradient(180deg, rgba(3, 5, 10, 0.42) 0%, rgba(3, 5, 10, 0.72) 100%);
}
/* 内容压在背景之上 */
main { position: relative; z-index: 1; }
.footer { position: relative; z-index: 1; }




/* =========================================================
   作品卡片（首页作品区）
   默认只显示图片；鼠标移入 / 键盘聚焦时浮现文字；整卡可点击
   ========================================================= */
.wcard {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-3);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 26px 60px -34px rgba(0, 0, 0, 0.9);
  -webkit-tap-highlight-color: transparent;
}
.wcard__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.wcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.01);
  transition: transform 1s var(--ease), filter 0.6s var(--ease);
}
/* 第二张是 16:9 的氛围图，裁 4:5 时把重心挪到产品上 */
.works-grid .wcard:nth-child(2) .wcard__media img {
  object-position: 66% 46%;
}
.wcard__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(3, 5, 10, 0.18) 0%,
    rgba(3, 5, 10, 0) 34%,
    rgba(3, 5, 10, 0.62) 100%
  );
  transition: opacity 0.45s var(--ease);
}
.wcard__index {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #eaf6ff;
  background: rgba(6, 8, 12, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* 文字层：默认隐藏 */
.wcard__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: clamp(18px, 2.4vw, 30px);
  background: linear-gradient(
    0deg,
    rgba(4, 6, 10, 0.95) 0%,
    rgba(4, 6, 10, 0.74) 46%,
    rgba(4, 6, 10, 0) 100%
  );
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.38s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}
.wcard__kicker {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: rgba(143, 216, 255, 0.82);
}
.wcard__title {
  margin: 0;
  font-size: clamp(20px, 2.1vw, 28px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.wcard__sub {
  margin: 7px 0 0;
  font-size: 13px;
  color: var(--ink-2);
}
.wcard__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.wcard__tags li {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 3px 9px;
  border-radius: 999px;
}
.wcard__more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--accent);
}
.wcard__more svg {
  width: 13px;
  height: 13px;
  transition: transform 0.35s var(--ease);
}

/* 悬停 / 键盘聚焦 */
.wcard:hover .wcard__body,
.wcard:focus-visible .wcard__body {
  opacity: 1;
  transform: none;
}
.wcard:hover .wcard__media img,
.wcard:focus-visible .wcard__media img {
  transform: scale(1.05);
  filter: brightness(0.86);
}
.wcard:hover .wcard__media::after,
.wcard:focus-visible .wcard__media::after {
  opacity: 0.75;
}
.wcard:hover .wcard__more svg,
.wcard:focus-visible .wcard__more svg {
  transform: translateX(4px);
}
.wcard:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* 触屏没有 hover：文字常驻，避免详情永远看不到 */
@media (hover: none) {
  .wcard__body { opacity: 1; transform: none; }
}

@media (max-width: 680px) {
  .wcard__media { aspect-ratio: 4 / 5; }
  /* 小屏改成「图片在上、文字在下」，不压在图上，保证可读 */
  .wcard__body {
    position: static;
    opacity: 1;
    transform: none;
    background: none;
    padding: 14px 2px 0;
  }
  .wcard__tags { margin-top: 12px; }
  .wcard__more { margin-top: 12px; }
  .wcard__media::after { opacity: 0.35; }
}






/* ---------- 作品滑块：左右翻页按钮 ---------- */
.works-slider {
  position: relative;
  padding: 0 70px;
}
.wnav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  background: #f2f6fb;
  color: #0a0e14;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), opacity 0.25s var(--ease);
}
.wnav svg { width: 18px; height: 18px; }
.wnav--prev { left: 0; }
.wnav--next { right: 0; }
.wnav:hover { background: #fff; transform: translateY(-50%) scale(1.07); }
.wnav:active { transform: translateY(-50%) scale(0.97); }
.wnav[disabled] { opacity: 0.3; cursor: default; transform: translateY(-50%); }

/* 轨道：横向滚动 + 吸附 */
.works-grid {
  display: flex;
  gap: clamp(14px, 2.2vw, 26px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
}
.works-grid::-webkit-scrollbar { display: none; }
.works-grid > .wcard {
  flex: 0 0 calc((100% - clamp(14px, 2.2vw, 26px)) / 2);
  scroll-snap-align: start;
}
@media (max-width: 900px) {
  .works-slider { padding: 0 0 66px; }
  .works-grid > .wcard { flex: 0 0 100%; }
  .wnav {
    top: auto;
    bottom: 0;
    transform: none;
  }
  .wnav--prev { left: calc(50% - 56px); }
  .wnav--next { right: calc(50% - 56px); }
  .wnav:hover { transform: scale(1.07); }
  .wnav:active { transform: scale(0.97); }
  .wnav[disabled] { transform: none; }
}

/* ---------- 全部作品页：三列网格（7+ 项目也不挤） ---------- */
.works-all {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(16px, 2.2vw, 28px);
}
.works-all > .wcard {
  flex: none;
}
.works-all .wcard__media { aspect-ratio: 4 / 5; }

/* 首页：看完精选后的「全部作品」入口 */
.works-more {
  display: flex;
  justify-content: center;
  margin-top: clamp(20px, 3vw, 34px);
}
.works-more a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 13.5px;
  letter-spacing: 0.03em;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
}
.works-more a:hover {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.03);
}
.works-more svg { width: 14px; height: 14px; }

@media (max-width: 680px) {
  .works-all { grid-template-columns: 1fr; }
}

/* ---------- 技能：软件图标 ---------- */
.skills {
  margin-top: clamp(40px, 6vw, 70px);
  padding-top: clamp(24px, 3vw, 34px);
  border-top: 1px solid var(--line-2);
}
.skills__label {
  margin: 0 0 clamp(18px, 2.4vw, 26px);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.skills__list {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 2.6vw, 34px) clamp(16px, 2.2vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.skill {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: 74px;
}
.skill__tile {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-content: center;
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 10px 22px -12px rgba(0, 0, 0, 0.9);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.skill__tile[style*="C4D"], .skill__tile {
  font-size: 15px;
}
.skill__name {
  font-size: 11.5px;
  line-height: 1.35;
  text-align: center;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.skill:hover .skill__tile {
  transform: translateY(-3px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 16px 30px -14px rgba(0, 0, 0, 0.95);
}
@media (max-width: 680px) {
  .skill { width: 66px; }
  .skill__tile { width: 44px; height: 44px; font-size: 14.5px; }
  .skills__list { gap: 16px 14px; }
}

/* 技能图标里的矢量 logo */
.skill__tile .skill__svg {
  width: 25px;
  height: 25px;
  display: block;
  fill: currentColor;
}
.skill__tile:has(.skill__svg) {
  font-size: 0;
}

/* 描边风格的品牌图标（如 CapCut） */
.skill__tile .skill__svg--stroke {
  fill: none;
  stroke: currentColor;
}

/* 自带底色的完整 app 图标（如 Substance 3D Painter） */
.skill__tile--app {
  padding: 0;
  overflow: hidden;
  background: #1e3101;
}
.skill__tile--app .skill__appicon {
  width: 48px;
  height: 48px;
  display: block;
  border-radius: 12px;
}

/* 联系电话：比邮箱小一档，蓝色同款 */
.mail--phone {
  display: flex;
  width: fit-content;
  margin-top: 14px;
  font-size: clamp(14px, 1.6vw, 17.5px);
  border-bottom-color: rgba(90, 168, 255, 0.25);
}
.mail--phone svg { width: 15px; height: 15px; }


/* ---------- 全部作品页：3 张一屏的滑块 ---------- */
.works-slider--3 .works-grid > .wcard {
  flex: 0 0 calc((100% - clamp(14px, 2.2vw, 26px) * 2) / 3);
}
@media (max-width: 1100px) {
  .works-slider--3 .works-grid > .wcard {
    flex: 0 0 calc((100% - clamp(14px, 2.2vw, 26px)) / 2);
  }
}

/* ---------- 作品索引列表 ---------- */
.works-index {
  margin-top: clamp(36px, 5vw, 64px);
  padding-top: clamp(20px, 2.6vw, 30px);
  border-top: 1px solid var(--line-2);
}
.works-index__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}
.works-index__label {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.works-index__pager {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.works-index__pager[hidden] { display: none; }
.works-index__pager button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  display: grid;
  place-content: center;
  font-size: 14px;
  line-height: 1;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
}
.works-index__pager button:hover:not([disabled]) {
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
}
.works-index__pager button[disabled] { opacity: 0.28; cursor: default; }

.works-index__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.works-index__item a {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto 20px;
  align-items: center;
  gap: 16px;
  padding: 16px 4px;
  border-top: 1px solid var(--line-2);
  color: var(--ink);
  text-decoration: none;
  transition: padding-left 0.35s var(--ease), background 0.35s var(--ease);
}
.works-index__item:first-child a { border-top: 0; }
.works-index__item a:hover {
  padding-left: 12px;
  background: rgba(255, 255, 255, 0.02);
}
.works-index__num {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.works-index__title {
  font-size: clamp(15px, 1.5vw, 17.5px);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.works-index__sub {
  justify-self: end;
  font-size: 12.5px;
  color: var(--muted);
}
.works-index__item svg {
  width: 14px;
  height: 14px;
  color: var(--muted);
  transition: transform 0.35s var(--ease), color 0.35s var(--ease);
}
.works-index__item a:hover svg {
  transform: translateX(4px);
  color: var(--accent);
}
@media (max-width: 680px) {
  .works-index__item a { grid-template-columns: 38px minmax(0, 1fr) 18px; gap: 12px; padding: 14px 0; }
  .works-index__sub { display: none; }
}

/* 不足 3 件时两列铺满（仅桌面；手机上仍然一张一屏） */
@media (min-width: 901px) {
  .works-slider--two .works-grid > .wcard {
    flex: 0 0 calc((100% - clamp(14px, 2.2vw, 26px)) / 2);
  }
}

/* 手机上滑块一律一张一屏（覆盖 3 列 / 2 列的桌面规则） */
@media (max-width: 900px) {
  .works-slider.works-slider--3 .works-grid > .wcard,
  .works-slider.works-slider--two .works-grid > .wcard,
  .works-slider .works-grid > .wcard {
    flex: 0 0 100%;
  }
}

/* ---------- 触控目标尺寸（>=24px） ---------- */
.footer__nav a { padding-block: 5px; }
.toc a { padding-block: 3px; }
.back { padding-block: 4px; }
.intro__skip { padding: 5px 2px; }

/* 关于我资料栏里的文字链接（简历入口） */
.facts__link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(90, 168, 255, 0.35);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.facts__link:hover {
  color: #8fd8ff;
  border-bottom-color: #8fd8ff;
}
