/* ==========================================================================
   作品集样式 · 汽车主题 · 简约个性
   ========================================================================== */

:root {
  --bg: #0b0b0f;
  --bg-2: #0e0e14;
  --panel: #13131b;
  --panel-2: #171722;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f2f2f4;
  --muted: #9a9aa5;
  --muted-2: #6b6b76;
  --accent: #ff4d00;
  --accent-soft: #ff7a2f;
  --blue: #2ab7ff;
  --radius: 18px;
  --radius-s: 10px;
  --font-display: "Anton", "Archivo Black", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Inter", sans-serif;
  --font-mono: "Space Mono", "JetBrains Mono", "Consolas", monospace;
  --nav-h: 68px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1200px, 92%); margin: 0 auto; }

/* ---------- 滚动条 ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #26262f; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ==========================================================================
   导航
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(11, 11, 15, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 8px 30px rgba(0,0,0,.35); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.logo {
  font-family: var(--font-display);
  font-size: 22px; letter-spacing: 3px; line-height: 1;
  display: flex; align-items: center; gap: 10px;
}
.logo .dot { width: 10px; height: 10px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 12px var(--accent); }
.logo .sub { font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px; color: var(--muted); font-weight: 400; }

.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  position: relative;
  font-size: 14px; color: var(--muted);
  padding: 8px 14px; border-radius: 8px;
  transition: color .25s, background .25s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--accent); border-radius: 2px;
}
.nav-cta {
  margin-left: 10px;
  border: 1px solid var(--accent); color: var(--accent) !important;
  padding: 8px 18px !important; border-radius: 999px !important;
  transition: background .25s, color .25s !important;
}
.nav-cta:hover { background: var(--accent); color: #fff !important; }

.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.nav-burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   首页 Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: calc(var(--nav-h) + 9vh) 0 0;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 55% at 78% 22%, rgba(255, 77, 0, .14), transparent 60%),
    radial-gradient(45% 45% at 12% 85%, rgba(42, 183, 255, .08), transparent 60%);
}
.hero-bg-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(75% 75% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(75% 75% at 50% 40%, #000 30%, transparent 100%);
}
.hero-car {
  position: absolute; right: -2%; bottom: -36px; z-index: 1;
  width: min(680px, 86%);
  opacity: .95;
  pointer-events: none;
  animation: carDrift 14s ease-in-out infinite;
}
@keyframes carDrift {
  0%, 100% { transform: translateX(-2%); }
  50% { transform: translateX(2%); }
}
.hero-car svg { width: 100%; margin: 0 auto; filter: drop-shadow(0 24px 40px rgba(255, 77, 0, .28)); }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: 1;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; }

.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 3px;
  color: var(--accent); text-transform: uppercase;
  border: 1px solid rgba(255,77,0,.4); border-radius: 999px;
  padding: 8px 16px; margin-bottom: 26px;
  background: rgba(255,77,0,.06);
}
.hero-kicker .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,77,0,.5);} 50% { box-shadow: 0 0 0 8px rgba(255,77,0,0);} }

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(44px, 9vw, 120px);
  line-height: 1.02; letter-spacing: 1px;
  text-transform: uppercase;
}
.hero-name .stroke {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text);
}
.hero-name .accent { color: var(--accent); }

.hero-role {
  margin-top: 18px;
  font-size: clamp(17px, 2.6vw, 24px);
  color: var(--muted); font-weight: 500;
}
.hero-role b { color: var(--text); font-weight: 700; }

.hero-tagline {
  margin-top: 14px; max-width: 620px;
  font-size: 15px; color: var(--muted-2);
}

.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px;
  font-size: 15px; font-weight: 600;
  border: 1px solid var(--line-2); background: var(--panel);
  transition: transform .25s, box-shadow .25s, background .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 10px 30px rgba(255,77,0,.3); }
.btn-primary:hover { background: var(--accent-soft); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn .arr { transition: transform .25s; }
.btn:hover .arr { transform: translateX(4px); }

.hero-meta {
  margin-top: 48px;
  display: flex; gap: 34px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 2px; color: var(--muted-2);
}
.hero-meta .num { color: var(--text); font-size: 18px; font-weight: 700; }
.hero-meta b { color: var(--accent); font-weight: 400; }

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 2; text-align: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 3px; color: var(--muted-2);
}
.scroll-hint::after {
  content: ""; display: block; width: 1px; height: 42px; margin: 10px auto 0;
  background: linear-gradient(var(--accent), transparent);
  animation: drip 1.8s ease-in-out infinite;
}
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top;} 55% { transform: scaleY(1); transform-origin: top;} 100% { transform: scaleY(0); transform-origin: bottom;} }

/* ---------- 跑马灯 ---------- */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-2); overflow: hidden; padding: 14px 0;
}
.marquee-track {
  display: flex; width: max-content;
  animation: marquee 26s linear infinite;
  white-space: nowrap;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span {
  font-family: var(--font-display);
  font-size: 22px; letter-spacing: 4px; text-transform: uppercase;
  padding: 0 26px; color: var(--muted);
}
.marquee span .star { color: var(--accent); margin: 0 26px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   通用区块
   ========================================================================== */
.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { margin-bottom: 54px; }
.sec-no {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 4px; color: var(--accent);
  display: flex; align-items: center; gap: 14px; margin-bottom: 14px;
}
.sec-no::before { content: ""; width: 34px; height: 1px; background: var(--accent); }
.sec-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.1; letter-spacing: 1px; text-transform: uppercase;
}
.sec-title .thin { color: var(--muted-2); font-weight: 400; }
.sec-desc { margin-top: 14px; max-width: 640px; color: var(--muted); font-size: 15px; }

/* ---------- 卡片通用 ---------- */
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255,77,0,.45); box-shadow: 0 18px 40px rgba(0,0,0,.35); }

/* ==========================================================================
   IP 项目
   ========================================================================== */
.ip-hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.ip-visual { position: relative; }
.ip-visual .img-wrap {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  position: relative;
}
.ip-visual img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.ip-visual .tag-corner {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px;
  color: #fff; background: var(--accent); border-radius: 999px; padding: 6px 12px;
}
.ip-visual .badge {
  position: absolute; right: -14px; bottom: 26px; z-index: 2;
  background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 14px;
  padding: 14px 18px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px;
  box-shadow: 0 14px 30px rgba(0,0,0,.4);
}
.ip-visual .badge b { color: var(--accent); font-size: 16px; }

.ip-text .ip-name {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 76px); line-height: 1; text-transform: uppercase;
}
.ip-text .ip-name .accent { color: var(--accent); }
.ip-text .ip-slogan {
  margin-top: 8px; font-size: 16px; color: var(--muted);
  border-left: 3px solid var(--accent); padding-left: 14px;
}
.ip-text .ip-intro { margin-top: 22px; color: var(--muted); font-size: 15px; }
.ip-text .ip-intro p + p { margin-top: 12px; }

.ip-caption { margin-top: 14px; font-size: 13px; color: var(--muted-2); text-align: center; }

.ip-stats { display: flex; gap: 0; margin-top: 34px; border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; }
.ip-stats .stat { flex: 1; padding: 18px 12px; text-align: center; border-right: 1px solid var(--line); }
.ip-stats .stat:last-child { border-right: 0; }
.ip-stats .stat .n { font-family: var(--font-display); font-size: 30px; color: var(--text); }
.ip-stats .stat .n em { font-style: normal; color: var(--accent); }
.ip-stats .stat .l { font-size: 12px; color: var(--muted-2); margin-top: 4px; }

/* 子区块标题 */
.sub-head { display: flex; align-items: baseline; gap: 14px; margin: 80px 0 34px; }
.sub-head .h {
  font-family: var(--font-display); font-size: clamp(26px, 4vw, 40px);
  letter-spacing: 1px; text-transform: uppercase;
}
.sub-head .h .accent { color: var(--accent); }
.sub-head .tag { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); letter-spacing: 2px; }

/* 表情包 */
.exp-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.exp-item { text-align: center; }
.exp-item .img-wrap {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: var(--panel); aspect-ratio: 1/1; transition: .3s;
}
.exp-item:hover .img-wrap { border-color: rgba(255,77,0,.5); transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,.35); }
.exp-item img { width: 100%; height: 100%; object-fit: cover; }
.exp-item .name { margin-top: 12px; font-weight: 600; font-size: 15px; }
.exp-item .text { font-size: 12px; color: var(--muted-2); }

/* 周边 */
.merch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.merch-item .img-wrap {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: var(--panel); aspect-ratio: 1/1; position: relative;
}
.merch-item .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.merch-item:hover .img-wrap img { transform: scale(1.05); }
.merch-item .img-wrap .hover-note {
  position: absolute; inset: auto 12px 12px 12px; text-align: center;
  font-size: 12px; color: #fff; background: rgba(11,11,15,.7); border-radius: 8px; padding: 6px;
  opacity: 0; transform: translateY(6px); transition: .3s;
}
.merch-item:hover .hover-note { opacity: 1; transform: translateY(0); }
.merch-item .name { margin-top: 14px; font-weight: 600; font-size: 16px; }
.merch-item .desc { font-size: 13px; color: var(--muted-2); }

/* 制作流程 */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: proc; }
.proc-card { position: relative; padding: 30px 26px 26px; overflow: hidden; }
.proc-card .no {
  font-family: var(--font-display); font-size: 64px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,77,0,.55);
  position: absolute; top: 16px; right: 20px;
}
.proc-card .ico {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(255,77,0,.12); color: var(--accent);
  display: grid; place-items: center; font-size: 22px; margin-bottom: 18px;
}
.proc-card h4 { font-size: 18px; margin-bottom: 8px; }
.proc-card p { font-size: 13.5px; color: var(--muted); }

/* 意义 & AI 解决问题：双列卡片 */
.duo-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ai-card { padding: 30px 28px; position: relative; overflow: hidden; }
.ai-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(var(--accent), var(--blue)); opacity: 0; transition: .3s;
}
.ai-card:hover::before { opacity: 1; }
.ai-card .ico {
  width: 40px; height: 40px; border-radius: 10px; background: var(--panel-2);
  display: grid; place-items: center; font-size: 19px; margin-bottom: 16px;
}
.ai-card h4 { font-size: 17px; margin-bottom: 8px; }
.ai-card p { font-size: 13.5px; color: var(--muted); }

/* ==========================================================================
   作品集
   ========================================================================== */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  padding: 10px 20px; border-radius: 999px; font-size: 14px;
  background: var(--panel); border: 1px solid var(--line); color: var(--muted);
  transition: .25s;
}
.filter-btn:hover { color: var(--text); border-color: var(--line-2); }
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }

.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work-card { cursor: pointer; overflow: hidden; display: flex; flex-direction: column; }
.work-card .cover { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--panel); }
.work-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.work-card:hover .cover img { transform: scale(1.06); }
.work-card .cover::after {
  content: "查看详情 ↗"; position: absolute; right: 14px; bottom: 14px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px;
  color: #fff; background: rgba(255,77,0,.9); padding: 7px 12px; border-radius: 999px;
  opacity: 0; transform: translateY(6px); transition: .3s;
}
.work-card:hover .cover::after { opacity: 1; transform: translateY(0); }
.work-card .body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.work-card .meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.work-card .cat {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px;
  color: var(--accent); border: 1px solid rgba(255,77,0,.35); padding: 3px 9px; border-radius: 999px;
}
.work-card .year { font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); }
.work-card h3 { font-size: 17px; line-height: 1.45; }
.work-card .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.work-card .tags span { font-size: 11.5px; color: var(--muted-2); background: var(--panel-2); padding: 3px 9px; border-radius: 6px; }

/* ==========================================================================
   技能
   ========================================================================== */
.skills-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.skill-card { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.skill-card .top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.skill-card h4 { font-size: 18px; }
.skill-card .tools { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: .5px; }
.skill-card p { font-size: 13.5px; color: var(--muted); }
.bar { height: 6px; border-radius: 6px; background: var(--panel-2); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--accent), var(--accent-soft)); width: 0; transition: width 1.1s cubic-bezier(.22,.8,.3,1); }
.skill-card .pct { font-family: var(--font-mono); font-size: 13px; color: var(--muted-2); }

/* ==========================================================================
   关于
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 340px 1fr; gap: 60px; align-items: start; }
.about-photo {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  position: sticky; top: calc(var(--nav-h) + 30px);
}
.about-photo img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.about-photo .frame {
  position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; pointer-events: none;
}
.about-text h3 { font-size: 26px; margin-bottom: 16px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 1px; }
.about-text p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.about-facts { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.fact {
  border: 1px solid var(--line); border-radius: var(--radius-s); padding: 16px 20px; flex: 1; min-width: 150px;
  background: var(--panel);
}
.fact .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px; color: var(--muted-2); text-transform: uppercase; }
.fact .v { font-size: 15px; margin-top: 6px; font-weight: 600; }

/* ==========================================================================
   联系
   ========================================================================== */
.contact-box {
  border: 1px solid var(--line); border-radius: 24px; background: var(--panel);
  padding: 60px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px;
}
.contact-box::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 60% at 50% 0%, rgba(255,77,0,.14), transparent 70%);
}
.contact-box .big {
  font-family: var(--font-display); font-size: clamp(30px, 5vw, 52px); text-transform: uppercase; letter-spacing: 1px; line-height: 1.2;
}
.contact-box .big .accent { color: var(--accent); }
.contact-box p { color: var(--muted); max-width: 520px; font-size: 15px; }
.contact-email {
  font-family: var(--font-mono); font-size: 18px; color: var(--text);
  border-bottom: 2px solid var(--accent); padding-bottom: 4px;
  transition: color .25s;
}
.contact-email:hover { color: var(--accent); }
.social-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.social-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 13.5px; color: var(--muted); background: var(--panel-2); transition: .25s;
}
.social-chip:hover { color: var(--text); border-color: var(--accent); transform: translateY(-2px); }

/* ==========================================================================
   弹窗
   ========================================================================== */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  padding: 24px; background: rgba(5,5,8,.85); backdrop-filter: blur(10px);
}
.modal.open { display: flex; }
.modal-box {
  width: min(880px, 100%); max-height: 90vh; overflow: auto;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 20px;
  position: relative; animation: pop .3s cubic-bezier(.2,.9,.3,1.2);
}
@keyframes pop { from { transform: scale(.94) translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(11,11,15,.7); border: 1px solid var(--line-2); color: var(--text);
  font-size: 18px; display: grid; place-items: center; transition: .25s;
}
.modal-close:hover { background: var(--accent); border-color: var(--accent); }
.modal-media { position: relative; background: #000; }
.modal-media img, .modal-media video { width: 100%; max-height: 52vh; object-fit: contain; display: block; }
.modal-media .tag-corner { position: absolute; top: 16px; left: 16px; z-index: 2; font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px; color: #fff; background: var(--accent); border-radius: 999px; padding: 6px 12px; }
.modal-body { padding: 28px 30px 32px; }
.modal-body h3 { font-size: 24px; line-height: 1.4; margin-bottom: 8px; }
.modal-body .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.modal-body .meta span { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); background: var(--panel-2); padding: 4px 10px; border-radius: 6px; }
.modal-body .desc { color: var(--muted); font-size: 14.5px; }
.modal-body .tools-line { margin-top: 18px; font-size: 13px; color: var(--muted-2); }
.modal-body .tools-line b { color: var(--accent); font-weight: 600; }
.modal-video-note {
  margin-top: 16px; padding: 14px 16px; border-radius: 12px;
  background: rgba(42,183,255,.08); border: 1px dashed rgba(42,183,255,.35);
  font-size: 13px; color: #bcd7e6;
}

/* ==========================================================================
   页脚
   ========================================================================== */
.footer { border-top: 1px solid var(--line); padding: 40px 0; background: var(--bg-2); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer .logo { font-size: 18px; }
.footer p { font-size: 13px; color: var(--muted-2); }
.footer .up {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; color: var(--muted);
  border: 1px solid var(--line); padding: 9px 16px; border-radius: 999px; transition: .25s;
}
.footer .up:hover { color: var(--accent); border-color: var(--accent); }

/* ==========================================================================
   动画
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 980px) {
  .ip-hero { grid-template-columns: 1fr; gap: 40px; }
  .exp-grid { grid-template-columns: repeat(3, 1fr); }
  .merch-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { position: static; max-width: 340px; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(11,11,15,.97); border-bottom: 1px solid var(--line);
    padding: 12px 16px 18px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 12px; border-radius: 10px; }
  .nav-links a.active::after { display: none; }
  .nav-cta { margin: 8px 0 0; text-align: center; }
  .nav-burger { display: flex; }
  .section { padding: 80px 0; }
  .exp-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: 1fr; }
  .duo-cards { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; }
  .contact-box { padding: 40px 24px; }
  .hero-meta { gap: 18px; }
  .ip-visual .badge { right: 6px; }
  .merch-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-car { bottom: -20px; right: -6%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
