/* =============================================================================
 *  个人作品集 · 样式表
 *  配色：近黑底色 + 橙色单一强调色
 * ========================================================================== */

/* ------------------------------------------------------------------ 变量 */
:root {
  /* 色板 */
  --bg:          #08080A;
  --bg-soft:     #0D0D10;
  --bg-card:     #101013;
  --bg-card-2:   #15151A;
  --ink:         #F2EFEA;
  --ink-2:       #B6B1AA;
  --muted:       #7A756F;
  --line:        rgba(242, 239, 234, 0.10);
  --line-2:      rgba(242, 239, 234, 0.18);

  --orange:      #FF5A00;
  --orange-2:    #FF8A3D;
  --orange-3:    #FFC49B;
  --orange-dim:  rgba(255, 90, 0, 0.12);
  --orange-glow: rgba(255, 90, 0, 0.35);

  /* 字体 */
  --f-display: "Archivo", "Noto Sans SC", "PingFang SC", "HarmonyOS Sans SC",
               "Microsoft YaHei", system-ui, sans-serif;
  --f-mono:    "JetBrains Mono", "Cascadia Mono", "SFMono-Regular", Consolas, monospace;

  /* 节奏 */
  --pad-x:  clamp(20px, 5vw, 72px);
  --maxw:   1440px;
  --sec-y:  clamp(88px, 13vh, 190px);
  --ease:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-2: cubic-bezier(0.65, 0, 0.35, 1);
}

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

* { margin: 0; padding: 0; }

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.is-loading { overflow: hidden; }
body.is-locked  { overflow: hidden; }

img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
svg { display: block; }
svg path, svg line, svg polyline { vector-effect: non-scaling-stroke; }

::selection { background: var(--orange); color: #0A0A0A; }

:focus-visible {
  outline: 1px solid var(--orange);
  outline-offset: 3px;
}

.mono {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

em {
  font-style: normal;
  color: var(--orange);
}

code {
  font-family: var(--f-mono);
  font-size: 0.86em;
  color: var(--orange-2);
  background: var(--orange-dim);
  padding: 0.1em 0.4em;
  border-radius: 3px;
}

.noscript {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 40px;
  background: var(--bg);
  text-align: center;
  z-index: 400;
}

/* 滚动条 */
body::-webkit-scrollbar { width: 8px; }
body::-webkit-scrollbar-track { background: #0A0A0C; }
body::-webkit-scrollbar-thumb { background: #26262B; border-radius: 8px; }
body::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* ------------------------------------------------------------------ 装饰层 */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 900;
  pointer-events: none;
  opacity: 0.32;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='220' height='220' filter='url(%23n)' opacity='0.5'/></svg>");
  mix-blend-mode: overlay;
}

.edge-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 40% at 100% 0%, rgba(255, 90, 0, 0.10), transparent 70%),
    radial-gradient(50% 36% at 0% 100%, rgba(255, 138, 61, 0.06), transparent 70%);
}

/* ------------------------------------------------------------------ 预加载 */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--pad-x) var(--pad-x) 40px;
  background: var(--bg);
}

.preloader__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.preloader__name {
  font-size: clamp(2.6rem, 9vw, 7.5rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.045em;
  display: flex;
  gap: 0.06em;
}

.preloader__name .ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.6em);
}

.preloader__name .ch--accent { color: var(--orange); }

.preloader__meta {
  display: flex;
  gap: 22px;
  align-items: baseline;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.preloader__bar {
  margin-top: 18px;
  height: 2px;
  background: var(--line);
  overflow: hidden;
}

.preloader__bar i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--orange);
}

.preloader.is-done { pointer-events: none; }

/* ------------------------------------------------------------------ 光标 */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 950;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.cursor.is-on { opacity: 1; }

.cursor__dot {
  position: absolute;
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--ink);
}

.cursor__ring {
  position: absolute;
  width: 38px; height: 38px;
  margin: -19px 0 0 -19px;
  border: 1px solid rgba(242, 239, 234, 0.5);
  border-radius: 50%;
  transition: width 0.35s var(--ease), height 0.35s var(--ease),
              margin 0.35s var(--ease), background 0.35s var(--ease),
              border-color 0.35s var(--ease), opacity 0.3s var(--ease);
}

.cursor__label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #08080A;
  opacity: 0;
  white-space: nowrap;
  transition: opacity 0.25s var(--ease);
}

.cursor.is-hover .cursor__ring {
  width: 74px; height: 74px;
  margin: -37px 0 0 -37px;
  background: var(--ink);
  border-color: transparent;
}

.cursor.is-hover .cursor__dot { opacity: 0; }

.cursor.is-hover .cursor__label { opacity: 1; }
.cursor.is-hover.is-label .cursor__ring { background: var(--orange); }

/* ------------------------------------------------------------------ 顶栏 */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--pad-x);
  transform: translateY(-102%);
  transition: transform 0.6s var(--ease), background 0.4s var(--ease),
              backdrop-filter 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.topbar.is-in { transform: translateY(0); }

.topbar.is-solid {
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}

.topbar__brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.topbar__mark {
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
  transform: translateY(-1px);
  animation: pulse 2.6s var(--ease-2) infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--orange-glow); }
  50%      { box-shadow: 0 0 0 6px rgba(255, 90, 0, 0); }
}

.topbar__name {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.topbar__role {
  color: var(--muted);
  font-size: 10px;
}

.topbar__nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 28px);
  margin-left: auto;
}

.topbar__nav a {
  position: relative;
  font-size: 13px;
  color: var(--ink-2);
  padding: 4px 0;
  transition: color 0.3s var(--ease);
  white-space: nowrap;
}

.topbar__nav a .nav-idx {
  font-family: var(--f-mono);
  font-size: 9px;
  color: var(--muted);
  margin-right: 5px;
  transition: color 0.3s var(--ease);
}

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

.topbar__nav a:hover { color: var(--ink); }
.topbar__nav a:hover .nav-idx { color: var(--orange); }
.topbar__nav a:hover::after { transform: scaleX(1); }
.topbar__nav a.is-active { color: var(--orange); }
.topbar__nav a.is-active .nav-idx { color: var(--orange); }

.topbar__nav a.is-active::before {
  content: "";
  position: absolute;
  left: -11px;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 8px var(--orange-glow);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 9px 16px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  transition: color 0.35s var(--ease), background 0.35s var(--ease),
              border-color 0.35s var(--ease);
}

.btn svg {
  width: 15px; height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.4s var(--ease);
}

.btn:hover {
  color: #0A0A0A;
  background: var(--orange);
  border-color: var(--orange);
}

.btn:hover svg { transform: translateX(3px); }

/* ------------------------------------------------------------------ 侧栏 */
.rail {
  position: fixed;
  left: calc(var(--pad-x) / 2 - 6px);
  top: 50%;
  z-index: 700;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transition: opacity 0.6s var(--ease) 0.2s;
}

.rail.is-in { opacity: 1; }

.rail__text {
  writing-mode: vertical-rl;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.28em;
  color: var(--muted);
  text-transform: uppercase;
}

.rail__text--dim { color: rgba(122, 117, 111, 0.55); }

.rail__line {
  width: 1px;
  height: 74px;
  background: linear-gradient(to bottom, transparent, var(--line-2), transparent);
}

/* ------------------------------------------------------------------ 进度计 */
.meter {
  position: fixed;
  right: var(--pad-x);
  bottom: 26px;
  z-index: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
}

.meter.is-in { opacity: 1; transform: translateY(0); }

.meter__num {
  color: var(--orange);
  font-size: 12px;
  min-width: 2.4ch;
}

.meter__label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  min-width: 4.5em;
}

.meter__track {
  width: clamp(60px, 9vw, 130px);
  height: 1px;
  background: var(--line-2);
  overflow: hidden;
}

.meter__track i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--orange);
}

/* ------------------------------------------------------------------ 首页 */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(90px, 12vh, 130px) var(--pad-x) 26px;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg { position: absolute; inset: 0; z-index: -1; }

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(242, 239, 234, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(242, 239, 234, 0.045) 1px, transparent 1px);
  background-size: clamp(56px, 7vw, 96px) clamp(56px, 7vw, 96px);
  mask-image: radial-gradient(120% 90% at 50% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 40%, #000 20%, transparent 78%);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.hero__glow--a {
  width: 46vw; height: 46vw;
  top: -12vw; right: -8vw;
  background: radial-gradient(circle, rgba(255, 90, 0, 0.42), transparent 66%);
}

.hero__glow--b {
  width: 34vw; height: 34vw;
  bottom: -14vw; left: -6vw;
  background: radial-gradient(circle, rgba(255, 138, 61, 0.18), transparent 68%);
}

.hero__ring {
  position: absolute;
  top: 50%; left: 50%;
  width: min(78vh, 62vw);
  aspect-ratio: 1;
  margin: calc(min(78vh, 62vw) / -2) 0 0 calc(min(78vh, 62vw) / -2);
  border-radius: 50%;
  border: 1px solid rgba(242, 239, 234, 0.07);
  animation: spin 64s linear infinite;
}

.hero__ring::before {
  content: "";
  position: absolute;
  top: -4px; left: 50%;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 22px 4px var(--orange-glow);
}

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

.hero__scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 3px,
    rgba(0, 0, 0, 0.22) 3px 4px
  );
  opacity: 0.32;
  pointer-events: none;
}

.hero__inner { position: relative; z-index: 2; }

.hero__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ink-2);
  margin-bottom: clamp(16px, 2.6vh, 30px);
}

.hero__kicker .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.hero__kicker-sep {
  width: 34px; height: 1px;
  background: var(--line-2);
}

.hero__kicker .mono { color: var(--muted); font-size: 10px; }

.hero__title {
  position: relative;
  font-weight: 900;
  line-height: 0.84;
  letter-spacing: -0.05em;
  margin-bottom: clamp(20px, 3vh, 34px);
}

.hero__title-cn {
  display: block;
  font-size: clamp(3.6rem, 15.5vw, 13rem);
  background: linear-gradient(178deg, #FFFFFF 0%, #F2EFEA 38%, #9D968E 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__title-latin {
  display: block;
  margin-top: clamp(10px, 1.4vw, 18px);
  font-size: clamp(0.95rem, 2.1vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.34em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 90, 0, 0.55);
  opacity: 0.9;
  white-space: nowrap;
  padding-left: 0.34em;
}

.hero__headline {
  max-width: 26ch;
  font-size: clamp(1.4rem, 3.4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero__note {
  max-width: 52ch;
  margin-top: 18px;
  font-size: clamp(0.9rem, 1.05vw, 1rem);
  color: var(--ink-2);
  line-height: 1.75;
}

.hero__marquee {
  position: relative;
  margin: clamp(24px, 4vh, 46px) 0 0;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: marquee 34s linear infinite;
}

.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  font-size: clamp(0.95rem, 1.6vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  white-space: nowrap;
}

.marquee__track span i {
  font-style: normal;
  color: var(--orange);
  font-size: 0.7em;
}

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

.hero__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  font-size: 12px;
}

.chip {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  color: var(--ink-2);
  font-size: 9.5px;
}

.hero__bar-center,
.hero__bar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero__bar-center a,
.hero__bar-right a {
  position: relative;
  color: var(--ink-2);
  font-size: 12.5px;
  padding: 3px 0;
  transition: color 0.3s var(--ease);
}

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

.hero__bar-center a:hover,
.hero__bar-right a:hover { color: var(--ink); }
.hero__bar-center a:hover::after,
.hero__bar-right a:hover::after { transform: scaleX(1); transform-origin: left; }

.hero__bar-center .sep { color: var(--muted); opacity: 0.5; }

.hero__stats {
  display: flex;
  gap: clamp(20px, 4vw, 56px);
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.hero__stats > div {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.hero__stats b {
  font-size: clamp(1.15rem, 1.9vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* 首屏数据里的长文本（例如赛道名称）用小一号字，保持整行平衡 */
.hero__stats b.is-text {
  font-size: clamp(0.95rem, 1.35vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0;
}

.hero__stats span {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.hero__scroll {
  position: absolute;
  right: var(--pad-x);
  top: 40%;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  z-index: 3;
}

.hero__scroll i {
  width: 1px;
  height: 54px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  animation: scrollHint 2.4s var(--ease-2) infinite;
  transform-origin: top;
}

@keyframes scrollHint {
  0%   { transform: scaleY(0); opacity: 0; }
  40%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* 首屏入场动画（预加载结束后由 main.js 添加 .is-ready） */
.hero__kicker,
.hero__title-cn,
.hero__headline,
.hero__note,
.hero__marquee,
.hero__bar,
.hero__stats {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease), transform 1.15s var(--ease);
}

.hero__title-latin { opacity: 0; transition: opacity 1.4s var(--ease) 0.7s; }

.hero.is-ready .hero__kicker,
.hero.is-ready .hero__title-cn,
.hero.is-ready .hero__headline,
.hero.is-ready .hero__note,
.hero.is-ready .hero__marquee,
.hero.is-ready .hero__bar,
.hero.is-ready .hero__stats { opacity: 1; transform: none; }

.hero.is-ready .hero__kicker     { transition-delay: 0.05s; }
.hero.is-ready .hero__title-cn   { transition-delay: 0.14s; }
.hero.is-ready .hero__headline   { transition-delay: 0.30s; }
.hero.is-ready .hero__note       { transition-delay: 0.42s; }
.hero.is-ready .hero__marquee    { transition-delay: 0.52s; }
.hero.is-ready .hero__bar        { transition-delay: 0.62s; }
.hero.is-ready .hero__stats      { transition-delay: 0.70s; }
.hero.is-ready .hero__title-latin { opacity: 0.9; }
.hero.is-ready .hero__scroll     { opacity: 1; transition-delay: 0.9s; }

.hero__scroll { opacity: 0; transition: opacity 0.8s var(--ease); }

/* ------------------------------------------------------------------ 通用板块 */
.section {
  position: relative;
  padding: var(--sec-y) var(--pad-x);
  max-width: var(--maxw);
  margin: 0 auto;
}

.section::before {
  content: "";
  position: absolute;
  top: 0; left: var(--pad-x);
  right: var(--pad-x);
  height: 1px;
  background: linear-gradient(to right, var(--line-2), transparent 70%);
}

/* 板块标题 */
.shead { margin-bottom: clamp(40px, 6vh, 76px); }

.shead__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.shead__index {
  color: var(--orange);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.shead__index::after {
  content: "";
  display: inline-block;
  width: 40px; height: 1px;
  background: var(--orange);
  opacity: 0.5;
  margin-left: 14px;
  vertical-align: middle;
}

.shead__label { color: var(--muted); font-size: 10px; }

.shead__title {
  font-size: clamp(2.4rem, 7.2vw, 6.4rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.shead__statement {
  max-width: 34ch;
  margin-top: clamp(20px, 3vh, 34px);
  font-size: clamp(1.15rem, 2.2vw, 1.95rem);
  font-weight: 600;
  line-height: 1.42;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}

.lede {
  max-width: 68ch;
  font-size: clamp(0.92rem, 1.05vw, 1.02rem);
  color: var(--ink-2);
  line-height: 1.85;
  margin-bottom: clamp(30px, 4vh, 52px);
}

.sub-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}

.sub-title .mono { color: var(--orange); font-size: 9.5px; }

/* 入场动画 */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

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

/* ------------------------------------------------------------------ 01 自我介绍 */
.about {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) 1.3fr;
  gap: clamp(28px, 5vw, 84px);
  align-items: start;
}

.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(150deg, var(--bg-card-2), #0B0B0E);
  overflow: hidden;
  border: 1px solid var(--line);
}

.portrait__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.06);
  transition: filter 0.7s var(--ease), transform 0.9s var(--ease);
}

.portrait:hover .portrait__img {
  filter: grayscale(0) contrast(1.02);
  transform: scale(1.03);
}

.portrait__cap {
  position: absolute;
  left: 0; bottom: 0;
  padding: 8px 12px;
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: blur(6px);
  font-size: 9px;
  color: var(--muted);
}

/* 四角框（参考站的取景框细节） */
.frame-corner {
  position: absolute;
  width: 16px; height: 16px;
  border: 1px solid var(--orange);
  opacity: 0.9;
  pointer-events: none;
}
.frame-corner.tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.frame-corner.tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.frame-corner.bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.frame-corner.br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

.facts {
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.facts dd {
  font-size: 13.5px;
  text-align: right;
  font-weight: 500;
}

.prose p {
  font-size: clamp(0.95rem, 1.1vw, 1.06rem);
  line-height: 1.95;
  color: var(--ink-2);
  margin-bottom: 18px;
}

.prose p:first-child {
  color: var(--ink);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
}

.prose p:last-child { margin-bottom: 0; }

.prose p::first-letter { color: var(--orange); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: clamp(30px, 4vh, 46px) 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.stats > div {
  background: var(--bg);
  padding: clamp(16px, 2vw, 26px) clamp(12px, 1.6vw, 20px);
}

.stats b {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--orange);
}

.stats span {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}

/* 能力手风琴 */
.accordion { border-top: 1px solid var(--line); }

.acc-item { border-bottom: 1px solid var(--line); }

.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  text-align: left;
  transition: color 0.3s var(--ease), padding 0.4s var(--ease);
}

.acc-head:hover { color: var(--orange); padding-left: 8px; }

.acc-head__idx {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--muted);
}

.acc-head__title {
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.acc-head__note {
  margin-left: auto;
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.acc-head__icon {
  position: relative;
  width: 15px; height: 15px;
  flex-shrink: 0;
}

.acc-head__icon::before,
.acc-head__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 0;
  width: 100%; height: 1px;
  background: var(--ink-2);
  transition: transform 0.4s var(--ease), background 0.3s var(--ease);
}

.acc-head__icon::after { transform: rotate(90deg); }

.acc-item.is-open .acc-head__icon::after { transform: rotate(0deg); }
.acc-item.is-open .acc-head__icon::before,
.acc-item.is-open .acc-head__icon::after { background: var(--orange); }
.acc-item.is-open .acc-head { color: var(--ink); }
.acc-item.is-open .acc-head:hover { color: var(--orange); }

.acc-body {
  overflow: hidden;
  height: 0;
  transition: height 0.55s var(--ease);
}

.acc-body__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 0 22px;
}

.acc-body__inner li {
  font-size: 12.5px;
  padding: 7px 13px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  color: var(--ink-2);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease),
              background 0.3s var(--ease);
}

.acc-body__inner li:hover {
  color: var(--orange);
  border-color: var(--orange);
  background: var(--orange-dim);
}

/* 经历时间线 */
.timeline {
  margin-top: clamp(48px, 7vh, 90px);
  border-top: 1px solid var(--line);
}

.tl-item {
  display: grid;
  grid-template-columns: minmax(120px, 0.5fr) 1.1fr 1.6fr;
  gap: clamp(16px, 3vw, 46px);
  padding: clamp(22px, 3vh, 34px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background 0.4s var(--ease);
}

.tl-item:hover { background: rgba(242, 239, 234, 0.02); }

.tl-item__period {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--orange);
  letter-spacing: 0.06em;
  padding-top: 3px;
}

.tl-item__title {
  font-size: clamp(0.98rem, 1.3vw, 1.15rem);
  font-weight: 700;
  line-height: 1.45;
}

.tl-item__desc {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-2);
}

/* ------------------------------------------------------------------ 02 账号运营 */
.alist { border-top: 1px solid var(--line); }

.acct {
  position: relative;
  border-bottom: 1px solid var(--line);
}

.acct::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--accent, var(--orange));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s var(--ease);
}

.acct:hover::before,
.acct.is-open::before { transform: scaleY(1); }

.acct__head {
  width: 100%;
  display: grid;
  grid-template-columns:
    40px                  /* 序号 */
    minmax(88px, 0.55fr)  /* 平台 */
    minmax(0, 1.5fr)      /* 账号名 */
    minmax(112px, 0.8fr)  /* 周期 */
    minmax(140px, 0.8fr)  /* 粉丝变化 */
    auto                  /* 结果标签 */
    28px;                 /* 展开图标 */
  align-items: center;
  gap: clamp(12px, 1.8vw, 28px);
  padding: clamp(18px, 2.4vh, 28px) 0;
  text-align: left;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease);
}

.acct:hover .acct__head { padding-left: 14px; padding-right: 8px; }
.acct.is-open .acct__head { padding-left: 14px; padding-right: 8px; }

.acct__idx {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--muted);
}

.acct__platform {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--ink-2);
}

.acct__platform::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--accent, var(--orange));
}

.acct__name {
  font-size: clamp(1.05rem, 2.1vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  transition: color 0.35s var(--ease), transform 0.45s var(--ease);
}

.acct:hover .acct__name { color: var(--orange); transform: translateX(4px); }

.acct__period {
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.acct__growth {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 12px;
}

.acct__growth i {
  font-style: normal;
  color: var(--muted);
}

.acct__growth svg {
  width: 18px; height: 10px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.3;
  opacity: 0.8;
}

.acct__growth b {
  color: var(--ink);
  font-weight: 500;
}

.acct__delta {
  justify-self: end;
  font-size: 11px;
  padding: 5px 11px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  color: var(--ink-2);
  white-space: nowrap;
}

.acct__toggle {
  position: relative;
  width: 14px; height: 14px;
  justify-self: end;
}

.acct__toggle::before,
.acct__toggle::after {
  content: "";
  position: absolute;
  top: 50%; left: 0;
  width: 100%; height: 1px;
  background: var(--ink-2);
  transition: transform 0.4s var(--ease), background 0.3s var(--ease);
}

.acct__toggle::after { transform: rotate(90deg); }
.acct.is-open .acct__toggle::after { transform: rotate(0); }
.acct.is-open .acct__toggle::before,
.acct.is-open .acct__toggle::after { background: var(--orange); }

.acct__body {
  overflow: hidden;
  height: 0;
  transition: height 0.6s var(--ease);
}

.acct__body-inner {
  display: grid;
  /* 图片 : 文字 = 1 : 2 */
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(20px, 3vw, 48px);
  padding: 8px 0 clamp(26px, 4vh, 40px);
  align-items: start;
}

/* 展开后左侧的账号截图 */
.acct__media {
  position: relative;
  width: 100%;
  margin: 0;
  aspect-ratio: var(--ar, 3 / 4);
  overflow: hidden;
  background: linear-gradient(150deg, var(--bg-card-2), #0B0B0E);
  border: 1px solid var(--line);
  transition: border-color 0.5s var(--ease);
}

.acct__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.acct__cap {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 7px 11px;
  font-size: 9px;
  color: var(--muted);
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.acct:hover .acct__media { border-color: var(--line-2); }

/* 右侧文字：关键动作 / 结果 并排，复盘与标签占满整行 */
.acct__text {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 32px);
  align-content: start;
}

/* 复盘结论占满文字区整行，读起来更完整 */
.acct__text .acct__col--learn { grid-column: 1 / -1; }

.acct__col h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.acct__col h4::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.acct__col ul li {
  position: relative;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-2);
  padding-left: 16px;
  margin-bottom: 10px;
}

.acct__col ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.68em;
  width: 5px; height: 1px;
  background: var(--muted);
}

.acct__col--learn p {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink);
  padding: 16px;
  border-left: 2px solid var(--orange);
  background: var(--orange-dim);
}

.acct__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  grid-column: 1 / -1;
  margin-top: 4px;
}

.acct__tags span {
  font-size: 11px;
  color: var(--muted);
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 100px;
}

/* 方法论三步 */
.method {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 46px);
  margin-top: clamp(50px, 7vh, 90px);
  padding-top: clamp(34px, 5vh, 54px);
  border-top: 1px solid var(--line);
}

.method__item { position: relative; padding-top: 26px; }

.method__item::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--line);
}

.method__item::after {
  content: "";
  position: absolute;
  top: -3px; left: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
  transition: transform 0.5s var(--ease);
}

.method__item:hover::after { transform: scale(1.6); }

.method__no {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--orange);
  letter-spacing: 0.14em;
}

.method__title {
  margin: 12px 0 14px;
  font-size: clamp(1.05rem, 1.7vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.method__desc {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-2);
}

/* ------------------------------------------------------------------ 03 数据分析 */
.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: clamp(30px, 4vh, 48px);
}

.kpi {
  background: var(--bg);
  padding: clamp(18px, 2.4vw, 30px) clamp(14px, 1.8vw, 24px);
  transition: background 0.4s var(--ease);
}

.kpi:hover { background: var(--bg-card); }

.kpi b {
  display: block;
  font-size: clamp(1.7rem, 3.4vw, 2.9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
}

.kpi b em { color: var(--orange); font-style: normal; margin-left: 2px; }

.kpi > span {
  display: block;
  margin-top: 12px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}

.dash {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(16px, 2vw, 26px);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2.4vw, 32px);
  background: linear-gradient(160deg, var(--bg-card), #0B0B0E);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.5s var(--ease), transform 0.6s var(--ease);
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 60% at 100% 0%, var(--orange-dim), transparent 70%);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  pointer-events: none;
}

.card:hover { border-color: var(--line-2); }
.card:hover::after { opacity: 1; }

.card--growth { grid-column: 1 / -1; }

.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.card__title {
  font-size: clamp(0.98rem, 1.3vw, 1.15rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card__tag {
  font-size: 9px;
  color: var(--muted);
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 100px;
}

.card__note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--muted);
}

/* 折线图 */
.chart--line { position: relative; }

.chart--line svg { width: 100%; height: auto; overflow: visible; }

.chart__grid line {
  stroke: rgba(242, 239, 234, 0.07);
  stroke-width: 1;
  stroke-dasharray: 3 5;
}

.chart__axis text {
  fill: var(--muted);
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.chart__area { fill: url(#areaGrad); opacity: 0; transition: opacity 1s var(--ease) 0.5s; }
.is-in .chart__area { opacity: 1; }

.chart__line {
  fill: none;
  stroke: var(--orange);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: var(--len, 2000);
  stroke-dashoffset: var(--len, 2000);
  transition: stroke-dashoffset 2s var(--ease) 0.2s;
}

.is-in .chart__line { stroke-dashoffset: 0; }

.chart__dots circle {
  fill: var(--bg);
  stroke: var(--orange);
  stroke-width: 1.5;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.is-in .chart__dots circle { opacity: 1; }

.chart__peak {
  fill: var(--orange);
  filter: drop-shadow(0 0 8px var(--orange-glow));
}

.chart__peak-label {
  fill: var(--orange-3);
  font-family: var(--f-mono);
  font-size: 9px;
}

.chart__tooltip {
  position: absolute;
  padding: 7px 11px;
  background: var(--orange);
  color: #0A0A0A;
  font-family: var(--f-mono);
  font-size: 10px;
  border-radius: 3px;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -130%);
  transition: opacity 0.25s var(--ease);
  white-space: nowrap;
  z-index: 3;
}

.chart__hover {
  fill: transparent;
  cursor: crosshair;
}

/* 条形图 */
.bars { display: flex; flex-direction: column; gap: 16px; }

.bar { display: grid; gap: 8px; }

.bar__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
}

.bar__label { color: var(--ink-2); }

.bar__value {
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--ink);
}

.bar__track {
  height: 4px;
  background: rgba(242, 239, 234, 0.08);
  overflow: hidden;
}

.bar__fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, var(--orange), var(--orange-2));
  transition: width 1.3s var(--ease);
}

.bar.is-in .bar__fill { width: var(--w, 0%); }

/* 环图 */
.donut {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 32px);
}

.donut__ring {
  position: relative;
  flex-shrink: 0;
  width: clamp(110px, 12vw, 150px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(
    var(--orange) 0 var(--s1),
    var(--orange-2) var(--s1) var(--s2),
    rgba(255, 196, 155, 0.55) var(--s2) var(--s3),
    rgba(242, 239, 234, 0.14) var(--s3) 100%
  );
  transform: rotate(-32deg) scale(0.9);
  opacity: 0.4;
  transition: transform 1.1s var(--ease), opacity 0.9s var(--ease);
}

.is-in .donut__ring { transform: rotate(0deg) scale(1); opacity: 1; }

.donut__ring::after {
  content: "";
  position: absolute;
  inset: 26%;
  border-radius: 50%;
  background: var(--bg-card);
  z-index: 1;
}

.donut__hole {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  z-index: 2;
}

.donut__hole b {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
}

.donut__hole span {
  display: block;
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.12em;
}

.donut__legend { display: flex; flex-direction: column; gap: 11px; min-width: 0; }

.donut__legend li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--ink-2);
}

.donut__legend i {
  width: 9px; height: 9px;
  border-radius: 2px;
  flex-shrink: 0;
}

.donut__legend b {
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--ink);
  font-weight: 500;
}

/* 复盘案例 */
.cases-wrap { margin-top: clamp(46px, 6vh, 76px); }

.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 26px);
}

.case {
  position: relative;
  padding: clamp(22px, 2.4vw, 30px);
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: border-color 0.5s var(--ease), transform 0.6s var(--ease);
}

.case:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
}

.case__no {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--orange);
  letter-spacing: 0.16em;
}

.case__title {
  margin: 12px 0 22px;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.case__row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.case__row:first-of-type { border-top-color: var(--line-2); }

.case__k {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
  padding-top: 3px;
}

.case__v {
  font-size: 12.8px;
  line-height: 1.75;
  color: var(--ink-2);
}

.case__row--result .case__k { color: var(--orange); }
.case__row--result .case__v { color: var(--ink); font-weight: 500; }

/* 数据工作流 */
.steps-wrap { margin-top: clamp(46px, 6vh, 76px); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 30px);
}

.step {
  position: relative;
  padding-top: 30px;
}

.step::before {
  content: "";
  position: absolute;
  top: 11px; left: 0;
  width: 100%; height: 1px;
  background: var(--line);
}

.step:last-child::before {
  background: linear-gradient(to right, var(--line), transparent);
}

.step__dot {
  position: absolute;
  top: 6px; left: 0;
  width: 11px; height: 11px;
  border: 1px solid var(--orange);
  border-radius: 50%;
  background: var(--bg);
  display: grid;
  place-items: center;
}

.step__dot::after {
  content: "";
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--orange);
}

.step__no {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--orange);
  letter-spacing: 0.16em;
}

.step__title {
  margin: 10px 0 10px;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 700;
}

.step__desc {
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-2);
}

/* ------------------------------------------------------------------ 04 图片作品 */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(26px, 3.5vh, 40px);
}

.filter {
  font-size: 12.5px;
  padding: 8px 15px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  color: var(--ink-2);
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease),
              background 0.35s var(--ease);
}

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

.filter.is-active {
  color: #0A0A0A;
  background: var(--orange);
  border-color: var(--orange);
}

.filter span {
  font-family: var(--f-mono);
  font-size: 9.5px;
  opacity: 0.6;
  margin-left: 6px;
}

/* 瀑布流：用多列布局避免网格空洞，节奏自然 */
.gallery {
  columns: 3;
  column-gap: clamp(12px, 1.4vw, 20px);
}

.gitem {
  position: relative;
  display: block;
  margin: 0 0 clamp(12px, 1.4vw, 20px);
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  overflow: hidden;
  background: var(--bg-card);
  cursor: pointer;
  border: 1px solid var(--line);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease),
              border-color 0.5s var(--ease);
}

.gitem.is-hidden { display: none; }

.gitem.is-out {
  opacity: 0;
  transform: scale(0.96);
}

.gitem__media {
  position: relative;
  width: 100%;
  /* 比例由素材本身决定：main.js 会把每张图的真实比例写进 --ar，
     所以缩略图永远是完整的一张图，不会被裁切。 */
  aspect-ratio: var(--ar, 4 / 5);
  overflow: hidden;
}

.gitem__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 1s var(--ease), filter 0.8s var(--ease);
}

.gitem:hover { border-color: var(--orange); }
.gitem:hover .gitem__media img { transform: scale(1.05); }

.gitem__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: clamp(16px, 1.8vw, 24px);
  background: linear-gradient(to top, rgba(8, 8, 10, 0.92) 0%, rgba(8, 8, 10, 0.35) 45%, transparent 75%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.gitem:hover .gitem__overlay { opacity: 1; }

.gitem__cat {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--orange);
  text-transform: uppercase;
}

.gitem__title {
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  transform: translateY(10px);
  transition: transform 0.5s var(--ease);
}

.gitem:hover .gitem__title { transform: translateY(0); }

.gitem__idx {
  position: absolute;
  top: 14px; left: 16px;
  font-family: var(--f-mono);
  font-size: 10px;
  color: rgba(242, 239, 234, 0.7);
  z-index: 2;
}

.gitem__plus {
  position: absolute;
  top: 12px; right: 12px;
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(242, 239, 234, 0.35);
  border-radius: 50%;
  background: rgba(8, 8, 10, 0.5);
  backdrop-filter: blur(6px);
  transform: scale(0.6);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.4s var(--ease);
  z-index: 2;
}

.gitem:hover .gitem__plus { transform: scale(1); opacity: 1; }

.gitem__plus svg {
  width: 13px; height: 13px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.4;
  stroke-linecap: round;
}

/* ------------------------------------------------------------------ 05 剪辑作品 */
.roles {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: clamp(28px, 4vh, 44px);
}

.roles span {
  font-size: 11.5px;
  color: var(--ink-2);
  padding: 6px 12px;
  border: 1px dashed var(--line-2);
  border-radius: 100px;
}

.videos {
  /* 3 个一行、共 3 行：用网格保证顺序（01→09 从左到右、从上到下）
     align-items: stretch 让整行卡片等高，横版封面那张靠卡片自身撑起行高，
     不会在行里留出空洞。 */
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 30px);
  align-items: stretch;
}

.vitem {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.5s var(--ease), transform 0.6s var(--ease);
}

.vitem:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
}

.vitem__poster {
  position: relative;
  width: 100%;
  /* 同图片作品：比例跟随素材本身（竖版 9:16 / 3:4、横版 16:9 都能完整显示） */
  aspect-ratio: var(--ar, 9 / 16);
  overflow: hidden;
  background: #0B0B0E;
}

.vitem__poster img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 1s var(--ease), filter 0.7s var(--ease);
  filter: saturate(0.85) brightness(0.85);
}

.vitem:hover .vitem__poster img {
  transform: scale(1.06);
  filter: saturate(1) brightness(0.95);
}

.vitem__play {
  position: absolute;
  top: 50%; left: 50%;
  width: 62px; height: 62px;
  margin: -31px 0 0 -31px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 90, 0, 0.92);
  box-shadow: 0 0 0 0 var(--orange-glow);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.vitem__play svg {
  width: 17px; height: 17px;
  fill: #0A0A0A;
  margin-left: 3px;
}

.vitem:hover .vitem__play {
  transform: scale(1.12);
  box-shadow: 0 0 0 14px rgba(255, 90, 0, 0.12);
}

.vitem__dur {
  position: absolute;
  right: 12px; bottom: 12px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--ink);
  padding: 3px 8px;
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: blur(6px);
  border-radius: 3px;
}

.vitem__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: clamp(16px, 1.8vw, 24px);
}

.vitem__title {
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.vitem__desc {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-2);
}

.vitem__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  /* 说明文字贴底：整行卡片的底部对齐，高低不一时也不会显得乱 */
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--muted);
}

.vitem__meta b { color: var(--ink); font-weight: 500; }

.vitem__meta .tag {
  margin-left: auto;
  color: var(--orange);
}

/* ------------------------------------------------------------------ 最终页 */
.outro {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: var(--sec-y) var(--pad-x);
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid var(--line);
}

.outro__blob {
  position: absolute;
  top: 50%; right: -10vw;
  width: min(70vw, 780px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  background: radial-gradient(circle at 40% 40%, rgba(255, 90, 0, 0.30), transparent 62%);
  filter: blur(60px);
  border-radius: 50%;
  z-index: -1;
  animation: float 18s var(--ease-2) infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, -50%) scale(1); }
  50%      { transform: translate(-3%, -46%) scale(1.08); }
}

.outro__inner { width: 100%; max-width: var(--maxw); margin: 0 auto; }

.outro__headline {
  max-width: 18ch;
  font-size: clamp(2.1rem, 6.4vw, 5.6rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.outro__lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 62ch;
  margin-top: clamp(24px, 3.4vh, 40px);
}

.outro__lines p {
  font-size: clamp(0.95rem, 1.15vw, 1.08rem);
  line-height: 1.85;
  color: var(--ink-2);
}

.outro__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  margin-top: clamp(32px, 4.4vh, 54px);
}

.mailto {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 16px 30px;
  border: 1px solid var(--orange);
  overflow: hidden;
}

.mailto__text {
  position: relative;
  z-index: 2;
  font-size: clamp(1rem, 1.8vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  transition: color 0.45s var(--ease);
}

.mailto__fill {
  position: absolute;
  inset: 0;
  background: var(--orange);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
}

.mailto:hover .mailto__fill { transform: translateY(0); }
.mailto:hover .mailto__text { color: #0A0A0A; }

.outro__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.outro__socials a {
  font-size: 12.5px;
  padding: 9px 16px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  color: var(--ink-2);
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease),
              background 0.35s var(--ease);
}

.outro__socials a:hover {
  color: var(--orange);
  border-color: var(--orange);
  background: var(--orange-dim);
}

.facts--wide {
  margin-top: clamp(38px, 5vh, 66px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 clamp(16px, 2.6vw, 44px);
  border-top: 1px solid var(--line);
}

.facts--wide > div {
  display: block;
  border-bottom: 0;
  padding: 18px 0 0;
  border-top: 0;
}

.facts--wide dt { margin-bottom: 8px; }
.facts--wide dd { text-align: left; font-size: 14px; }

/* ------------------------------------------------------------------ 页脚 */
.footer {
  position: relative;
  padding: 0 var(--pad-x);
  border-top: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
}

.footer__top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: clamp(28px, 4vh, 46px) 0 clamp(20px, 3vh, 30px);
}

.footer__col { display: flex; flex-direction: column; gap: 9px; }
.footer__col--nav { flex-direction: row; flex-wrap: wrap; gap: 20px; }
.footer__col--right { align-items: flex-end; text-align: right; }

.footer__mail {
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  font-weight: 600;
  transition: color 0.35s var(--ease);
}

.footer__mail:hover { color: var(--orange); }

.footer__dim { color: var(--muted); font-size: 9.5px; }

.footer__top-link {
  font-size: 9.5px;
  color: var(--orange);
  transition: opacity 0.3s var(--ease);
}

.footer__top-link:hover { opacity: 0.6; }

.footer__name {
  display: flex;
  justify-content: center;
  padding: clamp(6px, 1.5vh, 18px) 0 clamp(20px, 4vh, 52px);
  font-size: clamp(4.6rem, 21vw, 20rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.055em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 239, 234, 0.24);
  user-select: none;
}

.footer__name span {
  background: linear-gradient(to bottom, rgba(242, 239, 234, 0.30), rgba(255, 90, 0, 0.14));
  -webkit-background-clip: text;
  background-clip: text;
}

/* ------------------------------------------------------------------ 灯箱 */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 960;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 24px;
  padding: clamp(20px, 4vh, 54px) clamp(20px, 5vw, 80px) clamp(20px, 4vh, 44px);
  background: rgba(6, 6, 8, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}

.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox__stage {
  /* 用绝对定位 + auto 边距居中：百分比 max-height 才能可靠生效，
     否则超出视口的部分会被裁掉（之前"预览不完整"就是这个原因）。 */
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.lightbox__stage img {
  position: absolute;
  inset: 0;
  margin: auto;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border: 1px solid var(--line);
  transform: scale(0.96);
  opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.5s var(--ease);
}

.lightbox.is-open .lightbox__stage img { transform: scale(1); opacity: 1; }

.lightbox__meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 20px;
  align-items: baseline;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.lightbox__meta .mono { color: var(--orange); font-size: 9.5px; }

.lightbox__meta h3 { font-size: clamp(1.05rem, 1.7vw, 1.4rem); font-weight: 700; }

.lightbox__meta p {
  grid-column: 2;
  max-width: 68ch;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-2);
}

.lightbox__count {
  grid-column: 1;
  color: var(--muted);
}

.lightbox__close,
.lightbox__nav,
.vmodal__close {
  position: absolute;
  z-index: 4;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(8, 8, 10, 0.6);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease),
              background 0.3s var(--ease);
}

.lightbox__close:hover,
.lightbox__nav:hover,
.vmodal__close:hover {
  color: #0A0A0A;
  background: var(--orange);
  border-color: var(--orange);
}

.lightbox__close svg,
.lightbox__nav svg,
.vmodal__close svg {
  width: 16px; height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.lightbox__close { top: clamp(16px, 3vh, 32px); right: clamp(16px, 3vw, 40px); }
.lightbox__nav--prev { left: clamp(12px, 2vw, 30px); top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: clamp(12px, 2vw, 30px); top: 50%; transform: translateY(-50%); }

/* ------------------------------------------------------------------ 视频弹层 */
.vmodal {
  position: fixed;
  inset: 0;
  z-index: 965;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 22px;
  padding: clamp(20px, 5vh, 60px) clamp(20px, 5vw, 80px) clamp(20px, 4vh, 46px);
  background: rgba(6, 6, 8, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}

.vmodal.is-open { opacity: 1; visibility: visible; }

.vmodal__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
}

.vmodal__player {
  width: min(100%, 1180px);
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--line);
  display: none;
}

.vmodal__player.is-on { display: block; }
.vmodal__player video,
.vmodal__player iframe { width: 100%; height: 100%; border: 0; display: block; }

.vmodal__empty {
  display: none;
  text-align: center;
  padding: 40px;
  border: 1px dashed var(--line-2);
  max-width: 620px;
}

.vmodal__empty.is-on { display: block; }

.vmodal__empty .mono { color: var(--orange); display: block; margin-bottom: 14px; }

.vmodal__empty p { font-size: 13.5px; line-height: 1.8; color: var(--ink-2); }

.vmodal__meta {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.vmodal__meta h3 {
  font-size: clamp(1.05rem, 1.7vw, 1.4rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.vmodal__desc {
  max-width: 76ch;
  margin-bottom: 14px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-2);
}

.vmodal__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.vmodal__stats li {
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.vmodal__stats li b { color: var(--ink); font-weight: 500; }

.vmodal__close { top: clamp(16px, 3vh, 32px); right: clamp(16px, 3vw, 40px); }

/* ------------------------------------------------------------------ 悬浮预览卡 */
.hovercard {
  position: fixed;
  top: 0; left: 0;
  z-index: 850;
  width: 260px;
  padding: 12px;
  background: rgba(16, 16, 20, 0.9);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.94);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
}

.hovercard.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.hovercard__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0B0B0E;
  margin-bottom: 10px;
}

.hovercard__media img { width: 100%; height: 100%; object-fit: cover; }

.hovercard__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.hovercard__row b { color: var(--orange); font-weight: 500; }

/* ============================================== 03 数据分析（模型 / 漏斗 / 看板） */
.block { margin-top: clamp(44px, 6vh, 78px); }

.sub-title__tag {
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--muted);
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 100px;
}

.block__summary {
  margin-top: clamp(20px, 2.6vh, 32px);
  padding: 18px 24px 18px 26px;
  border-left: 2px solid var(--orange);
  background: linear-gradient(90deg, var(--orange-dim), transparent 78%);
  font-size: clamp(0.92rem, 1.1vw, 1.02rem);
  line-height: 1.85;
  color: var(--ink);
}

.block__note {
  margin-top: clamp(18px, 2.2vh, 26px);
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------------- 链路增长闭环模型：7 步横向流程 ---------------- */
.loop {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 14px);
}

.loop__step {
  position: relative;
  padding: clamp(16px, 1.6vw, 22px) clamp(12px, 1.1vw, 16px) clamp(18px, 1.8vw, 24px);
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease),
              background 0.5s var(--ease);
}

.loop__step::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--orange), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}

/* 卡片之间的流向箭头 */
.loop__step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 30px;
  width: 6px; height: 6px;
  border-top: 1px solid var(--line-2);
  border-right: 1px solid var(--line-2);
  transform: rotate(45deg);
  transition: border-color 0.5s var(--ease);
}

.loop__step:hover {
  transform: translateY(-5px);
  border-color: var(--orange);
  background: var(--bg-card-2);
}

.loop__step:hover::before { transform: scaleX(1); }
.loop__step:hover::after { border-color: var(--orange); }

.loop__icon {
  width: 26px; height: 26px;
  margin-bottom: 16px;
  color: var(--orange);
}

.loop__icon svg {
  width: 100%; height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.loop__no { font-size: 9.5px; letter-spacing: 0.16em; color: var(--muted); }

.loop__title {
  margin: 8px 0 10px;
  font-size: clamp(0.94rem, 1.15vw, 1.08rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.loop__desc {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--muted);
  transition: color 0.4s var(--ease);
}

.loop__step:hover .loop__desc { color: var(--ink-2); }

/* ---------------- 内容素材筛选 & 复盘决策漏斗 ---------------- */
.funnel {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 46px);
  align-items: start;
}

.funnel__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fun {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(14px, 1.8vw, 26px);
  align-items: center;
}

/* 逐级收窄的漏斗层级 */
.fun__shape {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: var(--w, 100%);
  min-height: 70px;
  margin-inline: auto;
  padding: 10px clamp(12px, 1.2vw, 18px);
  background: linear-gradient(90deg, rgba(255, 90, 0, 0.16), rgba(255, 90, 0, 0.05));
  border: 1px solid rgba(255, 90, 0, 0.22);
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease),
              transform 0.45s var(--ease);
}

.fun__no { font-size: 9.5px; letter-spacing: 0.16em; color: var(--orange); }
.fun__title { font-size: clamp(0.9rem, 1.05vw, 1rem); font-weight: 700; line-height: 1.25; }
.fun__sub { font-size: 10.5px; letter-spacing: 0.04em; color: var(--muted); }

.fun__desc {
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-2);
  transition: color 0.4s var(--ease);
}

.fun:hover .fun__shape {
  background: linear-gradient(90deg, rgba(255, 90, 0, 0.30), rgba(255, 90, 0, 0.10));
  border-color: var(--orange);
  transform: translateX(4px);
}

.fun:hover .fun__desc { color: var(--ink); }

/* 截图框（漏斗右侧 / 看板通用） */
.shot {
  position: relative;
  width: 100%;
  margin: 0;
  aspect-ratio: var(--ar, 3 / 4);
  overflow: hidden;
  background: linear-gradient(150deg, var(--bg-card-2), #0B0B0E);
  border: 1px solid var(--line);
}

.shot img {
  display: block;
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform 0.9s var(--ease);
}

.shot__cap {
  position: absolute;
  left: 0; bottom: 0;
  padding: 7px 11px;
  font-size: 9px;
  color: var(--muted);
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* 桌面端让截图跟随滚动，浏览更顺 */
.shot--tall { position: sticky; top: 96px; }

/* ---------------- 核心监测指标体系 ---------------- */
.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
}

.metric {
  padding: clamp(20px, 2.2vw, 30px);
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: border-color 0.5s var(--ease), transform 0.5s var(--ease);
}

.metric:hover { border-color: var(--line-2); transform: translateY(-4px); }

.metric__k {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: clamp(1.02rem, 1.3vw, 1.2rem);
  font-weight: 700;
}

.metric__k::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange-glow);
}

.metric__list { display: flex; flex-wrap: wrap; gap: 8px; }

.metric__list li {
  font-size: 12.5px;
  padding: 7px 13px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  color: var(--ink-2);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease),
              background 0.3s var(--ease), transform 0.3s var(--ease);
}

.metric__list li:hover {
  color: var(--orange);
  border-color: var(--orange);
  background: var(--orange-dim);
  transform: translateY(-2px);
}

/* ---------------- 复盘方法论（单独颜色模块） ---------------- */
.review {
  padding: clamp(24px, 2.8vw, 40px);
  background:
    radial-gradient(90% 130% at 100% 0%, rgba(255, 90, 0, 0.20), transparent 62%),
    linear-gradient(150deg, #17110C, #0C0C0F);
  border: 1px solid rgba(255, 90, 0, 0.34);
}

.review__quote {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(20px, 2.6vh, 30px);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 700;
}

.review__quote::before {
  content: "";
  flex-shrink: 0;
  width: 10px; height: 10px;
  border: 1px solid var(--orange);
  border-radius: 50%;
}

.review__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 32px);
}

.review__step {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 90, 0, 0.28);
}

.review__no { font-size: 10px; letter-spacing: 0.18em; color: var(--orange); }
.review__title { margin: 8px 0 10px; font-size: clamp(1rem, 1.25vw, 1.15rem); font-weight: 700; }

.review__desc {
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-2);
  transition: color 0.4s var(--ease);
}

.review__step:hover .review__desc { color: var(--ink); }

/* ---------------- 三块看板截图位 ---------------- */
.boards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
  margin-top: clamp(20px, 2.8vh, 34px);
}

.board {
  position: relative;
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.5s var(--ease), transform 0.5s var(--ease);
}

.board:hover { border-color: var(--orange); transform: translateY(-5px); }

.board__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0B0B0E;
}

.board__media img {
  display: block;
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform 0.9s var(--ease);
}

.board:hover .board__media img { transform: scale(1.04); }

.board__body { padding: 16px 18px 18px; }
.board__title { font-size: 14px; font-weight: 700; }
.board__desc { margin-top: 6px; font-size: 12px; line-height: 1.7; color: var(--muted); }

/* ------------------------------------------------------------------ 响应式 */
@media (min-width: 1320px) {
  .hero__scroll { display: flex; }
}

@media (max-width: 1100px) {
  .rail { display: none; }

  .about { grid-template-columns: 1fr; }
  .portrait { max-width: 380px; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .dash { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .cases { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3)::before { background: linear-gradient(to right, var(--line-2), transparent); }
  .method { grid-template-columns: 1fr; gap: 34px; }
  .facts--wide { grid-template-columns: repeat(2, 1fr); }

  .acct__head {
    grid-template-columns: 34px 1fr 1fr 30px;
    grid-template-areas:
      "idx platform period toggle"
      "idx name name toggle"
      "idx growth growth toggle";
    row-gap: 10px;
  }
  .acct__idx { grid-area: idx; }
  .acct__platform { grid-area: platform; }
  .acct__period { grid-area: period; justify-self: end; }
  .acct__name { grid-area: name; }
  .acct__growth { grid-area: growth; justify-self: end; }
  .acct__toggle { grid-area: toggle; }
  .acct__delta { display: none; }

  .acct__body-inner { grid-template-columns: 1fr; gap: 26px; }

}

/* 平板竖屏 / 窄窗口：图片与视频都收成 2 列，卡片不至于太窄 */
@media (max-width: 768px) {
  .gallery { columns: 2; }
  .videos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .topbar__nav { display: none; }
  .topbar { padding: 14px var(--pad-x); }

  /* 手机端底部信息密集，隐藏滚动计避免遮挡 */
  .meter { display: none; }

  .hero {
    padding-top: 92px;
    padding-bottom: 22px;
    min-height: 100svh;
  }
  .hero__bar-center { display: none; }
  .hero__bar {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 14px 18px;
  }
  .hero__bar-right {
    flex: 1 1 100%;
    flex-wrap: wrap;
    gap: 6px 12px;
  }
  .hero__bar-right a { white-space: nowrap; font-size: 12px; }
  .hero__bar-right .sep { display: none; }
  .hero__stats { margin-top: 14px; padding-top: 14px; }

  .footer__top { grid-template-columns: 1fr; }
  .footer__col--right { align-items: flex-start; text-align: left; }

  .tl-item { grid-template-columns: 1fr; gap: 10px; }
  .steps { grid-template-columns: 1fr; }
  .facts--wide { grid-template-columns: 1fr; }
  .lightbox__meta { grid-template-columns: 1fr; }
  .lightbox__meta p { grid-column: 1; }
}

@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr; }
  .hero__stats { flex-wrap: wrap; gap: 12px 22px; }
  .hero__headline { font-size: clamp(1.35rem, 7.4vw, 1.95rem); }
  .hero__note { font-size: 0.86rem; }
  .hero__marquee { margin-top: 20px; padding: 9px 0; }
  .marquee__track span { font-size: 0.92rem; gap: 18px; padding-right: 18px; }
  .donut { flex-direction: column; align-items: flex-start; }
  .mailto { width: 100%; justify-content: center; }
  /* 手机：图片保持 2 列便于浏览；视频卡片信息较多，改成 1 列更舒服 */
  .gallery { columns: 2; }
  .videos { grid-template-columns: minmax(0, 1fr); }
  /* 筛选标签在手机上收紧一些，别占掉太多首屏 */
  .filters { gap: 6px; }
  .filter { font-size: 11.5px; padding: 6px 11px; }
  .shead__statement { font-size: 1.15rem; }
  .outro__headline { font-size: clamp(1.9rem, 9vw, 2.6rem); }
}

/* ---------------- 新版数据分析板块 / 账号展开：响应式 ---------------- */
@media (max-width: 1200px) {
  .loop { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .loop__step::after { display: none; }
}

@media (max-width: 1100px) {
  .acct__media { max-width: 460px; }
}

@media (max-width: 1024px) {
  .metrics { grid-template-columns: 1fr; }
  .boards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .loop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .funnel { grid-template-columns: 1fr; }
  .shot--tall { position: static; }
  .review__steps { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .loop { grid-template-columns: 1fr; }
  .boards { grid-template-columns: 1fr; }
  .fun { grid-template-columns: 1fr; gap: 8px; align-items: start; }
  .fun__shape { min-height: 0; padding: 10px 14px; }
  .fun__desc { font-size: 12.5px; }
  .acct__text { grid-template-columns: 1fr; }
  .block__summary { padding: 16px 18px; }
}

@media (hover: none) {
  .cursor,
  .hovercard { display: none !important; }

  /* 触屏设备没有 hover，作品说明直接常显 */
  .gitem__overlay { opacity: 1; }
  .gitem__title { transform: none; }
  .gitem__plus { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .chart__line { stroke-dashoffset: 0; }
}
