/* =====================================================================
   杜卫杰 JAY · AI 视频作品集 — Carbon Volt · Editorial Dark
   Palette: #363537 charcoal · #0CCE6B green · #DCED31 lime
            #EF2D56 red · #ED7D3A orange   (coolors.co)
   Discipline: hairline dividers, flat surfaces, pill CTAs,
               eyebrow + display lockups, restrained accents.
   ===================================================================== */

:root {
  --bg: #212023; --bg-2: #29272B;
  --surface: #2E2C31; --surface-2: #353338; --surface-deep: #1B1A1D;
  --border: rgba(244, 243, 241, 0.09); --border-strong: rgba(244, 243, 241, 0.26);
  --text: #F4F3F1; --muted: #B5B2AD; --faint: #837F7A;
  --accent: #0CCE6B; --accent-2: #DCED31;
  --red: #EF2D56; --orange: #ED7D3A;
  --grad: linear-gradient(100deg, #0CCE6B, #DCED31);
  --radius: 16px; --radius-sm: 10px;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
  --card-bg: var(--surface); --card-bg-2: #262428;
  --panel-bg: #262428;
  --nav-bg: rgba(33, 32, 35, 0.82);
  --warn-text: #EDF577; --warn-bg: rgba(220, 237, 49, 0.08); --warn-border: rgba(220, 237, 49, 0.32);
  --prompt-text: #D8D5CF; --prompt-bg: #17161A;
  --hero-fg: #F4F3F1; --hero-muted: rgba(244, 243, 241, 0.64); --hero-line: rgba(244, 243, 241, 0.30);
  --hero-scrim:
    radial-gradient(90% 70% at 24% 45%, rgba(33, 32, 35, 0.82) 0%, rgba(33, 32, 35, 0.30) 55%, rgba(33, 32, 35, 0.72) 100%),
    linear-gradient(to top, #212023 0%, rgba(33, 32, 35, 0.10) 40%, rgba(33, 32, 35, 0.50) 100%);
  --font: "PingFang SC", "HarmonyOS Sans SC", "HONOR Sans CN", "MiSans",
    "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", -apple-system,
    "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --font-display: var(--font);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1100px 460px at 50% -12%, rgba(220, 237, 49, 0.05), transparent 62%),
    radial-gradient(900px 520px at 88% 110%, rgba(12, 206, 107, 0.05), transparent 60%);
}
.card, .feat-card, .flow-card, .skill-card,
.client-item, .contact-card, .case-brief, .case-prompt, .case-panel {
  background: var(--card-bg);
  border: 1px solid var(--border);
}

/* ---------- 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(220, 237, 49, 0.85); color: #1A1A14; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
body.lb-open { overflow: hidden; }
.wrap { width: min(1240px, 92%); margin: 0 auto; }

.nav.scrolled { backdrop-filter: blur(20px) saturate(1.2); -webkit-backdrop-filter: blur(20px) saturate(1.2); }
.section-alt, .footer { background: var(--bg-2); }
.hero-video { opacity: 0.42; }

/* ---------- 主题：新粗野 Neo-Brutalist ---------- */
html[data-theme="brutalist"] {
  --bg: #f5f1e6; --bg-2: #ece7d8;
  --surface: #ffffff; --surface-2: #f7f3e8; --surface-deep: #f7f3e8;
  --border: #111111; --border-strong: #111111;
  --text: #111111; --muted: #3f3d38; --faint: #77746b;
  --accent: #EF2D56; --accent-2: #DCED31;
  --red: #EF2D56; --orange: #ED7D3A;
  --grad: linear-gradient(100deg, #EF2D56, #ED7D3A);
  --radius: 0px; --radius-sm: 0px;
  --shadow: 8px 8px 0 #111111;
  --card-bg: #ffffff; --card-bg-2: #f0ece0; --panel-bg: #ffffff;
  --nav-bg: rgba(245, 241, 230, 0.94);
  --warn-text: #111111; --warn-bg: #DCED31; --warn-border: #111111;
  --prompt-text: #f5f1e6; --prompt-bg: #111111;
  --hero-fg: #111111; --hero-muted: #3f3d38; --hero-line: #111111;
  --hero-scrim: linear-gradient(to top, #f5f1e6 0%, rgba(245, 241, 230, 0.82) 46%, rgba(245, 241, 230, 0.62) 100%);
  --font-display: "PingFang SC", "HarmonyOS Sans SC", "Noto Sans SC", sans-serif;
}

/* ---------- 主题组件覆盖 ---------- */

/* Brutalist：粗边框 + 硬阴影 + 色块 */
html[data-theme="brutalist"] .card, html[data-theme="brutalist"] .feat-card,
html[data-theme="brutalist"] .flow-card, html[data-theme="brutalist"] .skill-card,
html[data-theme="brutalist"] .client-item, html[data-theme="brutalist"] .contact-card,
html[data-theme="brutalist"] .case-panel, html[data-theme="brutalist"] .case-brief,
html[data-theme="brutalist"] .case-prompt, html[data-theme="brutalist"] .tools-chips span,
html[data-theme="brutalist"] .filter-btn, html[data-theme="brutalist"] .case-tab,
html[data-theme="brutalist"] .ep-btn {
  border: 2px solid #111;
  box-shadow: 5px 5px 0 #111;
}
html[data-theme="brutalist"] .card:hover, html[data-theme="brutalist"] .feat-card:hover,
html[data-theme="brutalist"] .flow-card:hover, html[data-theme="brutalist"] .tools-chips span:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 #111;
}
html[data-theme="brutalist"] .btn { border: 2px solid #111; border-radius: 0; }
html[data-theme="brutalist"] .btn-primary { box-shadow: 4px 4px 0 #111; }
html[data-theme="brutalist"] .btn-primary:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 #111; }
html[data-theme="brutalist"] .btn-ghost { background: #fff; }
html[data-theme="brutalist"] .brand-mark { border: 2px solid #111; box-shadow: 3px 3px 0 #111; }
html[data-theme="brutalist"] .kicker {
  background: #111; color: #f5f1e6; display: inline-block; padding: 4px 12px;
}
html[data-theme="brutalist"] .kicker::before { display: none; }
html[data-theme="brutalist"] .hero-title {
  background: none; -webkit-text-fill-color: var(--text);
  font-weight: 900; letter-spacing: 0; text-transform: uppercase;
}
html[data-theme="brutalist"] .hero-en { -webkit-text-fill-color: #EF2D56; background: none; }
html[data-theme="brutalist"] .stat-num span { background: none; -webkit-text-fill-color: #EF2D56; }
html[data-theme="brutalist"] .flow-no {
  background: none; -webkit-text-fill-color: #EF2D56; -webkit-text-stroke: 0;
}
html[data-theme="brutalist"] .feat-badge { background: #EF2D56; color: #fff; border-radius: 0; }
html[data-theme="brutalist"] .filter-btn.active, html[data-theme="brutalist"] .case-tab.active,
html[data-theme="brutalist"] .ep-btn.active { background: #DCED31; color: #111; box-shadow: 3px 3px 0 #111; }
html[data-theme="brutalist"] .nav.scrolled { border-bottom: 2px solid #111; }
html[data-theme="brutalist"] .brand-badge { color: #111; border-color: #111; background: #DCED31; }
html[data-theme="brutalist"] .case-lesson { background: #ED7D3A; border: 2px solid #111; box-shadow: 5px 5px 0 #111; color: #111; }
html[data-theme="brutalist"] .case-lesson span { color: #111; border-color: #111; background: transparent; }
html[data-theme="brutalist"] .lb-nav, html[data-theme="brutalist"] .lb-close, html[data-theme="brutalist"] .to-top { border: 2px solid #111; border-radius: 0; }
html[data-theme="brutalist"] .lb-nav:hover, html[data-theme="brutalist"] .to-top:hover { background: #DCED31; color: #111; }
html[data-theme="brutalist"] .toast { border-radius: 0; border: 2px solid #111; box-shadow: 4px 4px 0 #111; }
html[data-theme="brutalist"] .hero-scroll { border-color: var(--hero-line); }
html[data-theme="brutalist"] .skill-fill { background: #EF2D56; }
html[data-theme="brutalist"] .cc-icon { border: 1.5px solid #111; background: #DCED31; color: #111; }
html[data-theme="brutalist"] .dur-tag, html[data-theme="brutalist"] .cat-tag {
  background: #fff; color: #111; border: 1.5px solid #111; border-radius: 0;
}
html[data-theme="brutalist"] body::before { display: none; }
html[data-theme="brutalist"] .section-alt, html[data-theme="brutalist"] .footer { background: var(--bg-2); }
html[data-theme="brutalist"] .hero-video { opacity: 0.85; filter: contrast(1.05) saturate(1.1); }
html[data-theme="brutalist"] .card, html[data-theme="brutalist"] .feat-card,
html[data-theme="brutalist"] .flow-card, html[data-theme="brutalist"] .case-panel,
html[data-theme="brutalist"] .case-brief, html[data-theme="brutalist"] .case-prompt,
html[data-theme="brutalist"] .skill-card, html[data-theme="brutalist"] .client-item,
html[data-theme="brutalist"] .contact-card {
  background: #ffffff;
}
html[data-theme="brutalist"] .brand-name, html[data-theme="brutalist"] .stat-num { letter-spacing: 0.02em; }

/* Carbon Volt：炭黑平面 + 发丝线 + 高能量点缀 */
html[data-theme="aurora"] body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1100px 460px at 50% -12%, rgba(220, 237, 49, 0.05), transparent 62%),
    radial-gradient(900px 520px at 88% 110%, rgba(12, 206, 107, 0.05), transparent 60%);
}
html[data-theme="aurora"] .card, html[data-theme="aurora"] .feat-card,
html[data-theme="aurora"] .flow-card, html[data-theme="aurora"] .skill-card,
html[data-theme="aurora"] .client-item, html[data-theme="aurora"] .contact-card,
html[data-theme="aurora"] .case-brief, html[data-theme="aurora"] .case-prompt,
html[data-theme="aurora"] .case-panel {
  backdrop-filter: none; -webkit-backdrop-filter: none;
  background: var(--card-bg);
  border: 1px solid var(--border);
}
html[data-theme="aurora"] .nav.scrolled { backdrop-filter: blur(20px) saturate(1.2); border-bottom-color: var(--border); }
html[data-theme="aurora"] .hero-video { opacity: 0.42; }
html[data-theme="aurora"] .hero-title {
  background: none; -webkit-text-fill-color: var(--text);
}
html[data-theme="aurora"] .card:hover { box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35); }
html[data-theme="aurora"] .stat-num span { background: none; -webkit-text-fill-color: var(--accent-2); }
html[data-theme="aurora"] .section-alt { background: var(--bg-2); }
html[data-theme="aurora"] .footer { background: var(--bg-2); }

/* ---------- 深度案例拆解 ---------- */
.case-head { margin-bottom: 26px; }
.case-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.case-tab {
  padding: 10px 22px; border-radius: 999px; font-size: 14px; font-weight: 600;
  color: var(--muted); border: 1px solid var(--border); background: var(--surface);
  transition: all 0.28s var(--ease);
}
.case-tab:hover { color: var(--text); border-color: var(--border-strong); }
.case-tab.active {
  color: #17170F; background: var(--accent-2); border-color: transparent;
}
.case-panel {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 38px;
  background: var(--surface);
}
.case-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.case-client { font-size: 13px; color: var(--accent); font-weight: 600; letter-spacing: 0.06em; }
.case-title { font-family: var(--font-display); font-size: clamp(19px, 2vw, 24px); font-weight: 700; margin-top: 6px; line-height: 1.4; }
.case-stats { display: flex; gap: 9px; flex-wrap: wrap; }
.case-stats span {
  font-size: 12.5px; font-weight: 600; color: var(--warn-text); padding: 6px 14px; border-radius: 999px;
  background: var(--warn-bg); border: 1px solid var(--warn-border); white-space: nowrap;
}
.case-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 34px; align-items: start; }
.case-step { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--border); }
.case-step:last-child { border-bottom: none; }
.cs-no {
  flex: none; width: 34px; height: 34px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 12.5px; font-weight: 800; color: var(--accent);
  background: rgba(12, 206, 107, 0.10); border: 1px solid rgba(12, 206, 107, 0.35);
}
.case-step b { display: block; font-size: 15px; font-weight: 700; margin-bottom: 5px; }
.case-step p { font-size: 13.5px; color: var(--muted); line-height: 1.75; }
.case-side { display: grid; gap: 18px; }
.case-brief, .case-prompt {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface-deep); padding: 20px 22px;
}
.cb-label, .cp-label {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; color: var(--faint);
  margin-bottom: 12px; text-transform: uppercase;
}
.case-brief ul { list-style: none; }
.case-brief li {
  position: relative; padding-left: 20px; font-size: 13.5px; color: var(--muted);
  line-height: 1.7; margin-bottom: 9px;
}
.case-brief li::before {
  content: ""; position: absolute; left: 2px; top: 9px;
  width: 7px; height: 7px; border-radius: 2px; background: var(--accent-2);
}
.case-prompt pre {
  white-space: pre-wrap; word-break: break-word;
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 12.5px; line-height: 1.8; color: var(--prompt-text);
  background: var(--prompt-bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px 18px; margin: 0;
}
.case-imgs {
  margin-top: 26px;
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px;
}
.case-img { margin: 0; position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: var(--card-bg-2); }
.case-img img {
  display: block; width: auto; height: auto; max-height: 300px; max-width: 100%;
  transition: transform 0.5s var(--ease);
}
.case-img:hover img { transform: scale(1.04); }
.case-img figcaption { font-size: 11.5px; color: var(--muted); padding: 8px 4px 2px; }
.case-img.h-portrait img { max-height: 340px; }
.case-img.h-landscape { flex: 1 1 0; min-width: 220px; }
.case-img.h-landscape img { width: 100%; height: auto; max-height: none; }
.case-lesson {
  margin-top: 22px; padding: 20px 24px; border-radius: 16px;
  border: 1px solid rgba(237, 125, 58, 0.30); background: rgba(237, 125, 58, 0.07);
  font-size: 14px; color: var(--text); line-height: 1.8;
  display: flex; align-items: flex-start; gap: 14px;
}
.case-lesson span {
  flex: none; font-size: 11px; font-weight: 800; letter-spacing: 0.16em;
  color: var(--orange); padding: 4px 10px; border-radius: 7px;
  border: 1px solid rgba(237, 125, 58, 0.40); margin-top: 2px;
}

/* ---------- 通用组件 ---------- */
.kicker {
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--faint);
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 600;
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 22px; height: 2px;
  background: var(--accent-2);
  vertical-align: middle;
  margin-right: 12px;
}
.sec-head { margin-bottom: 44px; }
.sec-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.25;
}
.sec-sub { color: var(--muted); margin-top: 12px; font-size: 15px; }
.hl {
  color: var(--text); font-weight: 600;
  background: linear-gradient(transparent 58%, rgba(220, 237, 49, 0.30) 58%);
}

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  border-radius: 999px; font-weight: 700; font-size: 14.5px;
  padding: 12px 24px; transition: all 0.3s var(--ease);
  border: 1px solid transparent; white-space: nowrap;
}
.btn-lg { padding: 15px 30px; font-size: 15.5px; }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-primary {
  background: var(--accent); color: #0A130D;
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-ghost {
  border-color: var(--border-strong); color: var(--text);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--text); background: rgba(255, 255, 255, 0.05); }

/* ---------- 导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom-color: var(--border);
}
.nav-inner {
  width: min(1240px, 92%); margin: 0 auto;
  height: 64px; display: flex; align-items: center; gap: 22px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 16px; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px; background: var(--grad);
  position: relative; flex: none;
}
.brand-mark::after {
  content: ""; position: absolute; left: 11px; top: 8px;
  border-left: 10px solid #10160D; border-top: 7px solid transparent; border-bottom: 7px solid transparent;
}
.brand-badge {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em;
  padding: 3px 8px; border-radius: 6px; color: var(--accent);
  border: 1px solid rgba(12, 206, 107, 0.40); background: rgba(12, 206, 107, 0.08);
}
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  font-size: 14px; color: var(--muted); font-weight: 500;
  transition: color 0.25s; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--accent); transition: width 0.3s var(--ease); border-radius: 2px;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { margin-left: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.42;
  animation: heroIn 2.2s var(--ease) both;
}
@keyframes heroIn { from { opacity: 0; transform: scale(1.06); } to { opacity: 0.42; transform: scale(1); } }
.hero-shade {
  position: absolute; inset: 0;
  background: var(--hero-scrim);
}
.hero-inner { position: relative; z-index: 2; width: min(1240px, 92%); margin: 0 auto; }
.hero .kicker { color: var(--hero-muted); }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 9vw, 108px);
  font-weight: 800; line-height: 1.04; letter-spacing: 0.01em;
  color: var(--text);
  margin: 6px 0 18px;
}
.hero-en {
  display: inline-block;
  font-size: 0.32em;
  font-weight: 700;
  letter-spacing: 0.18em;
  vertical-align: super;
  margin-left: 6px;
  color: var(--accent-2);
}
.hero-role {
  font-size: clamp(17px, 2.2vw, 23px); font-weight: 600; color: var(--hero-fg);
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.hero-role .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 10px rgba(239, 45, 86, 0.85); animation: pulse 2s infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }
.hero-tagline {
  max-width: 620px; color: var(--hero-muted); font-size: 15.5px; margin-top: 18px;
}
.hero-cta { display: flex; gap: 16px; margin-top: 38px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid var(--hero-line);
  border-radius: 14px; z-index: 2;
}
.hero-scroll span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px;
  margin-left: -2px; border-radius: 3px; background: var(--hero-fg);
  animation: scrollHint 1.8s infinite;
}
@keyframes scrollHint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- 数据亮点 ---------- */
.stats { border-bottom: 1px solid var(--border); background: var(--bg); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 34px 0; gap: 18px;
}
.stat { text-align: center; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 12%; height: 76%;
  width: 1px; background: var(--border);
}
.stat-num { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: 0.01em; }
.stat-num span { color: var(--accent-2); }
.stat-num em { font-style: normal; font-size: 0.6em; color: var(--accent); margin-left: 2px; font-weight: 700; }
.stat-label { color: var(--muted); font-size: 13.5px; margin-top: 4px; }

/* ---------- 分区 ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------- 精选 ---------- */
.featured-grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}
.feat-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); cursor: pointer;
  background: var(--card-bg);
  transition: transform 0.45s var(--ease), border-color 0.3s;
  min-height: 100%;
}
.feat-card:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.feat-card .thumb {
  position: relative; width: 100%; height: 100%; min-height: 220px; overflow: hidden;
}
.feat-card .thumb img, .feat-card .thumb video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.feat-card:hover .thumb img { transform: scale(1.045); }
.feat-card .shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15, 14, 16, 0.92) 0%, rgba(15, 14, 16, 0.28) 46%, rgba(15, 14, 16, 0.05) 75%);
}
.feat-card .feat-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 26px; z-index: 3; }
.feat-card .feat-client { font-size: 12.5px; color: var(--accent); font-weight: 600; letter-spacing: 0.06em; }
.feat-card .feat-title { font-family: var(--font-display); font-size: clamp(17px, 1.6vw, 21px); font-weight: 700; margin-top: 6px; line-height: 1.4; }
.feat-card .feat-meta { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.chip {
  font-size: 11.5px; color: var(--muted); padding: 4px 11px; border-radius: 999px;
  border: 1px solid var(--border); background: rgba(23, 22, 26, 0.55);
}
.play-btn {
  position: absolute; z-index: 3; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.85);
  width: 74px; height: 74px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.40);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: all 0.35s var(--ease); pointer-events: none;
}
.play-btn svg { margin-left: 4px; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4)); }
.feat-card:hover .play-btn { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.feat-badge {
  position: absolute; z-index: 3; top: 18px; left: 18px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  padding: 6px 14px 6px 12px; border-radius: 999px; color: #fff;
  background: var(--red); border: none;
  display: inline-flex; align-items: center; gap: 7px;
}
.feat-badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff;
  animation: pulse 1.6s infinite;
}
.span-7 { grid-column: span 7; } .span-5 { grid-column: span 5; } .span-4 { grid-column: span 4; } .span-6 { grid-column: span 6; }
.span-7 .thumb { min-height: 380px; } .span-5 .thumb { min-height: 380px; } .span-4 .thumb { min-height: 250px; } .span-6 .thumb { min-height: 300px; }

/* ---------- 筛选 ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.filter-btn {
  padding: 9px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
  color: var(--muted); border: 1px solid var(--border);
  background: var(--surface); transition: all 0.28s var(--ease);
}
.filter-btn:hover { color: var(--text); border-color: var(--border-strong); }
.filter-btn.active {
  color: #17170F; background: var(--accent-2); border-color: transparent;
}
.filter-btn .cnt { font-size: 11px; opacity: 0.75; margin-left: 5px; font-weight: 700; }

/* ---------- 画廊 ---------- */
.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); cursor: pointer; background: var(--card-bg);
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s;
  animation: cardIn 0.5s var(--ease) both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
.card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.card.hide { display: none; }
.card .thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--card-bg-2); }
.card .thumb img, .card .thumb video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.card:hover .thumb img { transform: scale(1.05); }
.card .shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15, 14, 16, 0.85) 0%, rgba(15, 14, 16, 0.12) 45%, transparent 70%);
}
.card .cat-tag {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  font-size: 11px; font-weight: 600; letter-spacing: 0.05em;
  padding: 4px 10px; border-radius: 7px; color: #E6E4E0;
  background: rgba(23, 22, 26, 0.72); border: 1px solid var(--border);
}
.card .dur-tag {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums;
  padding: 4px 9px; border-radius: 7px; color: #E6E4E0;
  background: rgba(23, 22, 26, 0.72); border: 1px solid var(--border);
}
.card .play-mini {
  position: absolute; z-index: 3; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.40);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: all 0.32s var(--ease); pointer-events: none;
}
.card:hover .play-mini { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.play-mini svg { margin-left: 3px; }
.card .card-info { padding: 17px 19px 19px; }
.card .card-client { font-size: 12px; color: var(--accent); font-weight: 600; letter-spacing: 0.04em; }
.card .card-title {
  font-size: 15.5px; font-weight: 650; margin-top: 5px; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 45px;
}
.card .card-foot { display: flex; align-items: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.gallery-empty { text-align: center; color: var(--faint); padding: 60px 0; font-size: 15px; }

.ep-pill {
  font-size: 11px; color: var(--muted); padding: 3px 9px; border-radius: 999px;
  border: 1px dashed var(--border-strong);
}

/* ---------- 工作流 ---------- */
.flow-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-bottom: 64px;
}
.flow-card {
  position: relative; padding: 30px 26px 28px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--surface);
  transition: transform 0.4s var(--ease), border-color 0.3s, background 0.3s;
  overflow: hidden;
}
.flow-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: var(--grad); opacity: 0; transition: opacity 0.3s;
}
.flow-card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.flow-card:hover::before { opacity: 1; }
.flow-ic {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); background: rgba(12, 206, 107, 0.10);
  border: 1px solid rgba(12, 206, 107, 0.32);
  margin-bottom: 14px;
}
.flow-no {
  position: absolute; top: 18px; right: 20px;
  font-size: 44px; font-weight: 800; letter-spacing: 0.02em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(220, 237, 49, 0.50);
}
.flow-title { font-size: 17px; font-weight: 700; margin: 0 0 10px; }
.flow-desc { font-size: 13.8px; color: var(--muted); line-height: 1.75; }

.client-wall {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.client-item {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 20px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface);
  color: var(--muted); font-size: 14px; font-weight: 600;
  transition: all 0.28s var(--ease); letter-spacing: 0.02em;
}
.client-item:hover {
  color: var(--text); border-color: var(--border-strong); background: var(--surface-2);
  transform: translateY(-3px);
}

/* ---------- 关于 ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
.about-p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.about-illo {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); padding: 26px; margin-bottom: 22px;
}
.about-illo svg { width: 100%; height: auto; display: block; }
.contact-cards { display: grid; gap: 12px; margin-top: 30px; }
.contact-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface);
  transition: all 0.25s; font-size: 14.5px;
}
.contact-card:hover { border-color: var(--border-strong); background: var(--surface-2); }
.contact-card .cc-icon {
  width: 38px; height: 38px; border-radius: var(--radius-sm); flex: none;
  display: flex; align-items: center; justify-content: center;
  background: rgba(12, 206, 107, 0.12); color: var(--accent);
}
.contact-card .cc-label { font-size: 12px; color: var(--faint); }
.contact-card .cc-value { font-weight: 600; word-break: break-all; }
.skill-card {
  padding: 32px; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--surface);
}
.skill-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 24px; }
.skill-row { margin-bottom: 20px; }
.skill-row:last-child { margin-bottom: 0; }
.skill-head { display: flex; justify-content: space-between; font-size: 13.5px; margin-bottom: 8px; }
.skill-head b { font-weight: 600; color: var(--text); }
.skill-head span { color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; }
.skill-bar { height: 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.skill-fill {
  height: 100%; width: 0; border-radius: 4px; background: var(--grad);
  transition: width 1.2s var(--ease);
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 56px 0 40px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.footer-name { font-size: 26px; font-weight: 800; }
.footer-role { color: var(--muted); font-size: 14px; margin-top: 4px; }
.footer-contact { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.footer-contact .chip {
  font-size: 13px; padding: 9px 18px; color: var(--text);
  background: var(--surface); display: inline-flex; align-items: center; gap: 8px;
}
.footer-contact .chip svg { color: var(--accent); }
.footer-note { grid-column: 1 / -1; color: var(--faint); font-size: 12.5px; border-top: 1px solid var(--border); padding-top: 22px; }

/* ---------- 风格切换器 ---------- */
.theme-switcher { position: fixed; left: 26px; bottom: 26px; z-index: 90; }
.theme-btn {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(27, 26, 29, 0.85); border: 1px solid var(--border-strong);
  color: var(--text); display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease);
}
.theme-btn:hover { background: var(--accent); border-color: transparent; color: #0A130D; }
.theme-menu {
  position: absolute; left: 0; bottom: 56px;
  background: var(--panel-bg); border: 1px solid var(--border-strong);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 8px; display: grid; gap: 2px; min-width: 190px;
}
.theme-menu[hidden] { display: none; }
.theme-menu button {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: var(--radius-sm);
  color: var(--muted); font-size: 13.5px; font-weight: 600;
  transition: all 0.2s; text-align: left;
}
.theme-menu button:hover { background: var(--surface-2); color: var(--text); }
.theme-menu button.active { color: var(--text); background: var(--surface-2); }
.theme-menu button.active::after { content: "●"; margin-left: auto; color: var(--accent-2); font-size: 10px; }
.sw {
  width: 22px; height: 22px; border-radius: 6px; flex: none;
  background:
    linear-gradient(135deg, var(--a) 0 50%, var(--b) 50% 100%);
  border: 1px solid var(--border-strong);
}

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(27, 26, 29, 0.85); border: 1px solid var(--border-strong);
  color: var(--text); display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: all 0.3s var(--ease);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--accent); border-color: transparent; color: #0A130D; }

/* ---------- 灯箱 ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox-backdrop {
  position: absolute; inset: 0; background: rgba(12, 11, 13, 0.90);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  animation: fadeIn 0.3s both;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox-panel {
  position: relative; z-index: 2;
  width: min(1120px, 94vw); max-height: 94svh;
  background: var(--panel-bg); border: 1px solid var(--border-strong); border-radius: 20px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.65);
  display: flex; flex-direction: column; overflow: hidden;
  animation: panelIn 0.38s var(--ease) both;
}
@keyframes panelIn { from { opacity: 0; transform: translateY(26px) scale(0.97); } to { opacity: 1; transform: none; } }
.lightbox-stage { position: relative; background: #000; }
.lightbox-stage video { width: 100%; max-height: 62svh; aspect-ratio: 16/9; background: #000; }
.lb-loader {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  pointer-events: none; opacity: 0; transition: opacity 0.25s;
}
.lb-loader.on { opacity: 1; }
.spinner {
  width: 44px; height: 44px; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.15); border-top-color: var(--accent);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.lightbox-info { padding: 22px 28px 26px; overflow-y: auto; }
.lb-head { display: flex; align-items: flex-start; gap: 18px; }
.lb-titles { flex: 1; }
.lb-client { font-size: 12.5px; color: var(--accent); font-weight: 600; letter-spacing: 0.06em; }
.lb-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-top: 4px; line-height: 1.4; }
.lb-count { color: var(--faint); font-size: 13px; font-variant-numeric: tabular-nums; padding-top: 6px; white-space: nowrap; }
.lb-close {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  border: 1px solid var(--border-strong); color: var(--text);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s;
}
.lb-close:hover { background: rgba(255, 255, 255, 0.1); transform: rotate(90deg); }
.lb-episodes { display: flex; gap: 9px; margin-top: 16px; flex-wrap: wrap; }
.ep-btn {
  font-size: 12.5px; font-weight: 600; color: var(--muted);
  padding: 7px 16px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
  transition: all 0.22s;
}
.ep-btn:hover { color: var(--text); border-color: var(--border-strong); }
.ep-btn.active { color: #17170F; background: var(--accent-2); border-color: transparent; }
.lb-desc { color: var(--muted); font-size: 14px; margin-top: 16px; line-height: 1.8; }
.lb-meta { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.lb-meta-item {
  font-size: 12px; color: var(--muted); padding: 5px 12px; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--border);
}
.lb-highlights { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.lb-highlights span {
  font-size: 12.5px; font-weight: 600; color: var(--warn-text);
  padding: 6px 14px; border-radius: 999px;
  background: var(--warn-bg); border: 1px solid var(--warn-border);
}
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(23, 22, 26, 0.78); border: 1px solid var(--border-strong);
  color: #fff; display: flex; align-items: center; justify-content: center;
  transition: all 0.25s;
}
.lb-nav:hover { background: var(--accent); border-color: transparent; color: #0A130D; transform: translateY(-50%) scale(1.07); }
.lb-prev { left: -70px; } .lb-next { right: -70px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%) translateY(20px);
  z-index: 300; padding: 12px 22px; border-radius: 999px;
  background: rgba(38, 36, 40, 0.94); border: 1px solid var(--border-strong);
  color: var(--text); font-size: 13.5px;
  opacity: 0; pointer-events: none; transition: all 0.3s var(--ease);
}
.toast.show { opacity: 1; transform: translateX(-50%); }

/* ---------- 滚动渐入 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .lb-prev { left: 10px; } .lb-next { right: 10px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-inner { gap: 12px; }
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .span-7, .span-5, .span-4 { grid-column: span 1; }
  .span-7, .span-5, .span-6 { grid-column: span 2; }
  .span-4 .thumb { min-height: 220px; }
  .span-7 .thumb, .span-5 .thumb { min-height: 300px; }
  .case-panel { padding: 24px; }
  .case-grid { grid-template-columns: 1fr; gap: 22px; }
  .case-lesson { flex-direction: column; gap: 10px; }
  .case-imgs { flex-direction: column; }
  .case-img img { max-height: 300px; }
  .case-img.h-landscape img { max-width: 100%; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 10px; }
  .stat + .stat::before { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-contact { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .gallery { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .span-7, .span-5, .span-6 { grid-column: span 1; }
  .span-7 .thumb, .span-5 .thumb, .span-4 .thumb, .span-6 .thumb { min-height: 210px; }
  .flow-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .lightbox-info { padding: 18px 18px 22px; }
  .lb-title { font-size: 16.5px; }
  .lb-nav { display: none; }
  .nav-cta { padding: 7px 14px; font-size: 12.5px; }
  .to-top { right: 16px; bottom: 16px; }
}

/* ---------- 触屏/降级 ---------- */
@media (hover: none) {
  .play-btn, .play-mini { opacity: 1; transform: translate(-50%, -50%) scale(1); width: 60px; height: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
