/* ============================================================
   空马行天 KONGMA · AIGC 影像厂牌官网
   黑曜剧场 — 纯黑 + 荧光绿 #C1FC02，克制电影感
   ============================================================ */
:root {
  --bg: #050506;
  --bg-soft: #0a0b09;
  --ink: #f4f5ef;
  --muted: #9aa097;
  --muted-2: #61655d;
  --neon: #c1fc02;
  --neon-dim: #9ac400;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.05);
  --glow: rgba(193, 252, 2, 0.5);
  --maxw: 1240px;
  --nav-h: 64px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  background: var(--bg); color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro SC", "PingFang SC",
    "Helvetica Neue", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--neon); color: #050506; }

/* ---------- 背景：缓慢流动的暗色光雾 ---------- */
.bgfx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.fog { position: absolute; border-radius: 50%; filter: blur(46px); mix-blend-mode: screen; will-change: transform; opacity: 0.5; }
.fog.f1 { width: 70vw; height: 70vw; left: -12vw; top: -6vw; background: radial-gradient(circle, rgba(70,92,38,0.20), transparent 60%); animation: fog1 40s ease-in-out infinite alternate; }
.fog.f2 { width: 58vw; height: 58vw; right: -14vw; top: 20%; background: radial-gradient(circle, rgba(28,46,56,0.22), transparent 60%); animation: fog2 50s ease-in-out infinite alternate; }
.fog.f3 { width: 76vw; height: 76vw; left: 24vw; bottom: -26vw; background: radial-gradient(circle, rgba(96,116,30,0.13), transparent 62%); animation: fog3 58s ease-in-out infinite alternate; }
@keyframes fog1 { to { transform: translate(15vw, 8vh) scale(1.22); } }
@keyframes fog2 { to { transform: translate(-14vw, -7vh) scale(1.16); } }
@keyframes fog3 { to { transform: translate(-11vw, -12vh) scale(1.28); } }
/* 静态噪点（不再逐帧动画，避免视频卡顿） */
.bgfx-grain {
  position: absolute; inset: 0; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.bgfx-vignette { position: absolute; inset: 0; background: radial-gradient(120% 100% at 50% 40%, transparent 55%, rgba(0,0,0,0.6) 100%); }

/* ---------- 开场动画 ---------- */
#intro { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #050506; transition: opacity 1s var(--ease), transform 1.2s var(--ease), visibility 1s; }
#intro.done { opacity: 0; transform: scale(1.06); visibility: hidden; pointer-events: none; }
.intro-inner { text-align: center; }
.intro-logo { width: clamp(140px, 22vw, 230px); margin: 0 auto; opacity: 0; transform: scale(0.94); filter: drop-shadow(0 0 40px rgba(193,252,2,0.18)); animation: introLogo 1.3s var(--ease) 0.15s forwards; }
.intro-word { display: inline-block; margin-top: 26px; font-size: clamp(13px, 1.5vw, 16px); font-weight: 300; letter-spacing: 0.5em; margin-right: -0.5em; color: var(--muted); opacity: 0; animation: introFade 1s ease 0.95s forwards; }
#introSkip { position: absolute; bottom: 34px; right: 36px; background: none; border: none; color: var(--muted-2); cursor: pointer; font-size: 11px; letter-spacing: 0.3em; font-family: inherit; opacity: 0; animation: introFade 0.8s ease 1.4s forwards; transition: color 0.2s; }
#introSkip:hover { color: var(--neon); }
@keyframes introLogo { to { opacity: 1; transform: scale(1); } }
@keyframes introFade { to { opacity: 1; } }

/* ---------- 导航（居中 + 下拉） ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(20px, 4vw, 48px); background: linear-gradient(180deg, rgba(5,5,6,0.88), rgba(5,5,6,0)); transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s; }
.nav.scrolled { background: rgba(5,5,6,0.74); backdrop-filter: saturate(150%) blur(16px); -webkit-backdrop-filter: saturate(150%) blur(16px); border-bottom: 1px solid var(--line-2); }
.brand { display: flex; align-items: center; gap: 10px; z-index: 2; }
.brand-mark { width: 26px; height: 26px; object-fit: contain; }
.brand-name { font-size: 16px; font-weight: 600; letter-spacing: 0.14em; }
.nav-links { display: flex; gap: clamp(14px, 1.8vw, 30px); position: absolute; left: 50%; transform: translateX(-50%); }
.nav-item { position: relative; }
.nav-item > a { font-size: 13px; color: var(--muted); letter-spacing: 0.12em; padding: 22px 2px; transition: color 0.2s; display: inline-block; }
.nav-item > a::after { content: ""; position: absolute; left: 0; bottom: 16px; width: 0; height: 1.5px; background: var(--neon); box-shadow: 0 0 8px var(--glow); transition: width 0.25s var(--ease); }
.nav-item > a:hover, .nav-item > a.active { color: var(--ink); }
.nav-item:hover > a::after, .nav-item > a.active::after { width: 100%; }
.drop { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px); min-width: 168px; padding: 12px; display: flex; flex-direction: column; gap: 2px; background: rgba(12,13,11,0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 24px 50px -20px rgba(0,0,0,0.7); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.22s var(--ease), transform 0.22s var(--ease); }
.nav-item.has-drop:hover .drop { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(2px); }
.drop-cap { font-size: 10px; letter-spacing: 0.24em; color: var(--neon); padding: 4px 12px 8px; }
.drop a { font-size: 13px; color: var(--muted); padding: 9px 12px; border-radius: 9px; transition: background 0.18s, color 0.18s; white-space: nowrap; }
.drop a:hover { background: rgba(193,252,2,0.08); color: var(--ink); }

/* ---------- 通用区块 ---------- */
main { position: relative; z-index: 1; }
.screen { min-height: 100vh; min-height: 100dvh; position: relative; }
.block { max-width: var(--maxw); margin: 0 auto; padding: clamp(76px, 11vh, 140px) clamp(20px, 4vw, 48px); }
.block-head { max-width: 760px; margin-bottom: 50px; }
.kicker { font-size: 11px; font-weight: 600; letter-spacing: 0.32em; color: var(--neon); margin-bottom: 16px; }
h2 { font-size: clamp(28px, 4.4vw, 54px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.lead { margin-top: 18px; color: var(--muted); font-size: clamp(15px, 1.6vw, 18px); max-width: 600px; }

/* ---------- 首页 Hero ---------- */
.hero { display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-wall { position: absolute; inset: 0; display: flex; gap: 18px; justify-content: center; padding: 0 18px; filter: brightness(0.4) saturate(0.8); opacity: 0.5; }
.wall-col { flex: 1; max-width: 400px; display: flex; flex-direction: column; gap: 18px; will-change: transform; }
.wall-col.c1 { animation: wallUp 44s linear infinite; }
.wall-col.c2 { animation: wallDown 54s linear infinite; margin-top: -120px; }
.wall-col.c3 { animation: wallUp 50s linear infinite; }
.wall-col img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; border: 1px solid var(--line-2); }
@keyframes wallUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes wallDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.hero-veil { position: absolute; inset: 0; background: radial-gradient(120% 78% at 50% 44%, transparent 0%, rgba(5,5,6,0.62) 52%, rgba(5,5,6,0.97) 100%), linear-gradient(180deg, rgba(5,5,6,0.8) 0%, transparent 22%, transparent 60%, rgba(5,5,6,0.99) 100%); }
.hero-center { position: relative; z-index: 2; text-align: center; padding: 0 22px; }
.hero-logo { width: min(330px, 66vw); margin: 0 auto; filter: drop-shadow(0 0 50px rgba(0,0,0,0.7)); }
.hero-en { margin-top: 22px; display: flex; justify-content: center; flex-wrap: wrap; font-size: clamp(12px, 1.5vw, 17px); font-weight: 500; letter-spacing: 0.4em; padding-left: 0.4em; }
.hero-en span { color: rgba(244,245,239,0.34); transition: color 0.5s ease, text-shadow 0.5s ease, opacity 0.5s ease; }
.hero-en span.flick { color: var(--neon); text-shadow: 0 0 6px var(--glow), 0 0 16px rgba(193,252,2,0.55), 0 0 30px rgba(193,252,2,0.3); opacity: 1; }
.hero-en span.dim { opacity: 0.12; }
.hero-slogan { margin-top: 18px; font-size: clamp(19px, 2.7vw, 30px); font-weight: 400; letter-spacing: 0.02em; }
.hero-tag { margin-top: 14px; font-size: 13px; letter-spacing: 0.16em; color: var(--muted); }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2; }
.scroll-cue span { display: block; width: 24px; height: 38px; border: 1.5px solid var(--line); border-radius: 14px; position: relative; }
.scroll-cue span::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; background: var(--neon); border-radius: 2px; transform: translateX(-50%); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; top: 7px; } 40% { opacity: 1; } 80% { opacity: 0; top: 20px; } 100% { opacity: 0; } }

/* ---------- 合作伙伴 logo 条 ---------- */
.partners { position: absolute; left: 50%; transform: translateX(-50%); bottom: 74px; z-index: 2; width: 100%; max-width: var(--maxw); padding: 16px clamp(20px, 4vw, 48px) 0; overflow: hidden; }
.partners-cap { display: block; text-align: center; font-size: 10px; letter-spacing: 0.3em; color: var(--muted-2); margin-bottom: 16px; }
.partners-track { display: flex; align-items: center; gap: 56px; width: max-content; animation: marquee 34s linear infinite; }
.partners:hover .partners-track { animation-play-state: paused; }
.partners-track .p-item { display: flex; align-items: center; height: 26px; opacity: 0.55; transition: opacity 0.25s; }
.partners-track .p-item:hover { opacity: 1; }
.p-logo { height: 22px; width: auto; filter: brightness(0) invert(1); }
.p-text { font-size: 17px; font-weight: 600; letter-spacing: 0.04em; color: #fff; white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* 顶部/两侧渐隐遮罩 */
.partners::before, .partners::after { content: ""; position: absolute; top: 0; bottom: 0; width: 14%; z-index: 3; pointer-events: none; }
.partners::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.partners::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }

/* ---------- 分割线（细线 + 光点扫掠） ---------- */
.divider { max-width: var(--maxw); margin: 0 auto; padding: 24px clamp(20px, 4vw, 48px); }
.d-track { display: block; position: relative; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14) 18%, rgba(255,255,255,0.14) 82%, transparent); transform: scaleX(0); transform-origin: center; transition: transform 1.1s var(--ease); }
.divider.in .d-track { transform: scaleX(1); }
.d-track::before, .d-track::after { content: ""; position: absolute; top: -3px; width: 1px; height: 7px; background: rgba(255,255,255,0.22); }
.d-track::before { left: 0; } .d-track::after { right: 0; }
.d-dot { position: absolute; top: 50%; left: 0; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 8px var(--glow), 0 0 18px var(--glow); opacity: 0; }
.divider.in .d-dot { animation: dotSweep 3.6s var(--ease) 0.5s infinite; }
@keyframes dotSweep { 0% { left: 2%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: 98%; opacity: 0; } }

/* ---------- 案例（分类） ---------- */
.cat { margin-bottom: 56px; }
.cat:last-child { margin-bottom: 0; }
.cat-title { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; }
.cat-title span { font-size: 20px; font-weight: 600; letter-spacing: 0.02em; }
.cat-title em { font-style: normal; font-size: 11px; letter-spacing: 0.24em; color: var(--muted-2); }
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.case { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: #000; cursor: pointer; transition: transform 0.4s var(--ease), border-color 0.3s; }
.case.feature { grid-column: 1 / -1; }
.case .v { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.6s var(--ease); }
.case.feature .v { aspect-ratio: 21 / 9; }
.case figcaption { position: absolute; inset: auto 0 0 0; padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; background: linear-gradient(180deg, transparent, rgba(5,5,6,0.92)); }
.c-cat { font-size: 11px; letter-spacing: 0.18em; color: var(--neon); text-transform: uppercase; }
.c-title { font-size: clamp(19px, 2.2vw, 28px); font-weight: 600; letter-spacing: -0.01em; }
.c-meta { font-size: 13px; color: var(--muted); }
.case:hover { transform: translateY(-6px); border-color: rgba(193,252,2,0.4); }
.case:hover .v { transform: scale(1.04); }

/* ---------- 服务 ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prod { position: relative; padding: 38px 32px 34px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--bg-soft); transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; min-height: 240px; }
.prod:hover { transform: translateY(-4px); border-color: rgba(193,252,2,0.3); box-shadow: 0 24px 50px -26px var(--glow); }
.prod-no { font-size: 13px; letter-spacing: 0.14em; color: var(--neon); margin-bottom: 22px; }
.prod h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.prod p { margin-top: 12px; color: var(--muted); font-size: 15px; flex: 1; }
.prod-tag { margin-top: 20px; font-size: 12.5px; letter-spacing: 0.04em; color: var(--muted-2); }

/* ---------- IP 超市（独特：价签 + 霓虹角标） ---------- */
.ip-shelf { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ip-card { position: relative; padding: 16px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--bg-soft); display: flex; flex-direction: column; transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.3s; }
.ip-card::before, .ip-card::after { content: ""; position: absolute; width: 16px; height: 16px; border: 1.5px solid var(--neon); opacity: 0; transition: opacity 0.3s; }
.ip-card::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.ip-card::after { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }
.ip-card:hover { transform: translateY(-6px); border-color: rgba(193,252,2,0.35); box-shadow: 0 26px 54px -28px var(--glow); }
.ip-card:hover::before, .ip-card:hover::after { opacity: 1; }
.ip-tag { position: absolute; top: 14px; right: 14px; z-index: 2; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; color: #050506; background: var(--neon); padding: 4px 10px; border-radius: 980px; box-shadow: 0 6px 16px -6px var(--glow); }
.ip-poster { border-radius: 10px; overflow: hidden; aspect-ratio: 3 / 4; }
.ip-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.ip-card:hover .ip-poster img { transform: scale(1.05); }
.ip-name { margin-top: 16px; font-size: 20px; font-weight: 600; }
.ip-genre { margin-top: 5px; font-size: 13px; color: var(--muted); }
.ip-heat { margin-top: 12px; font-size: 12px; letter-spacing: 0.04em; color: var(--neon); }

/* ---------- AI 分身 ---------- */
.avatar-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.avatar-vid { border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); aspect-ratio: 16 / 11; background: #000; }
.avatar-vid video { width: 100%; height: 100%; object-fit: cover; }
.avatar-copy h2 { margin-top: 4px; }
.btn-neon { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; padding: 13px 26px; border-radius: 980px; border: 1px solid var(--neon); color: var(--neon); font-size: 15px; font-weight: 600; letter-spacing: 0.02em; transition: background 0.25s, color 0.25s, box-shadow 0.25s, transform 0.25s; }
.btn-neon:hover { background: var(--neon); color: #050506; box-shadow: 0 14px 34px -12px var(--glow); transform: translateY(-2px); }

/* ---------- 我们 / 人物（整体缩小约 2/3） ---------- */
.team-grid { display: grid; grid-template-columns: 0.7fr 1.1fr; gap: clamp(26px, 4vw, 56px); align-items: center; max-width: 920px; margin: 0 auto; }
.team-portrait { position: relative; aspect-ratio: 4 / 5; max-width: 300px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: linear-gradient(145deg, #14160f, #07080a); display: flex; align-items: center; justify-content: center; }
.portrait-ph { font-size: 13px; letter-spacing: 0.3em; color: var(--muted-2); }
.team-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.team-bio h2 { margin-top: 4px; font-size: clamp(24px, 3.4vw, 40px); }
.founder-name { margin-top: 22px; font-size: 19px; font-weight: 600; }
.founder-name span { color: var(--neon); font-weight: 400; font-size: 14px; letter-spacing: 0.02em; }
.founder-line { margin-top: 12px; color: var(--muted); font-size: 14.5px; line-height: 1.6; max-width: 500px; }

/* ---------- 联系 / 页脚 ---------- */
.footer { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: clamp(70px, 10vh, 120px) clamp(20px, 4vw, 48px) 50px; border-top: 1px solid var(--line-2); }
.footer-top { margin-bottom: 44px; }
.contact-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card { display: flex; flex-direction: column; gap: 6px; padding: 28px 26px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg-soft); transition: transform 0.3s var(--ease), border-color 0.3s; }
.contact-card:hover { transform: translateY(-4px); border-color: rgba(193,252,2,0.4); }
.c-role { font-size: 12px; letter-spacing: 0.06em; color: var(--muted-2); }
.c-name { font-size: 19px; font-weight: 600; margin-top: 2px; }
.c-val { font-size: 17px; color: var(--ink); font-variant-numeric: tabular-nums; transition: color 0.2s; }
.contact-card:hover .c-val { color: var(--neon); }
.footer-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 50px; padding-top: 26px; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--muted-2); }
.footer-foot img { width: 22px; height: 22px; object-fit: contain; }
.footer-foot .copy { margin-left: auto; }

/* ---------- 引导文字 ---------- */
.sec-guide { max-width: 760px; margin: -28px auto 44px; color: var(--muted); font-size: clamp(15px, 1.6vw, 18px); line-height: 1.6; }
.block-head .sec-guide { margin: 14px 0 0; }

/* ---------- 作品卡可点击「进入 IP」 ---------- */
a.case { display: block; text-decoration: none; }
.case-enter { position: absolute; top: 16px; right: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; color: #050506; background: var(--neon); padding: 6px 13px; border-radius: 980px; opacity: 0; transform: translateY(-6px); transition: opacity 0.3s, transform 0.3s; box-shadow: 0 6px 16px -6px var(--glow); }
.case:hover .case-enter { opacity: 1; transform: none; }

/* ---------- 三种合作方式 router ---------- */
.coop-router { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 64px; }
.coop-card { position: relative; display: flex; flex-direction: column; padding: 30px 28px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--bg-soft); transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s; }
.coop-card:hover { transform: translateY(-4px); border-color: rgba(193, 252, 2, 0.35); box-shadow: 0 24px 50px -26px var(--glow); }
.coop-no { font-size: 12px; letter-spacing: 0.18em; color: var(--neon); }
.coop-card h3 { margin-top: 14px; font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.coop-card p { margin-top: 10px; color: var(--muted); font-size: 14.5px; flex: 1; }
.coop-for { margin-top: 16px; font-size: 12.5px; color: var(--muted-2); }
.coop-go { margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--neon); }

/* ---------- 子板块标题 + CTA ---------- */
.sub-head { display: flex; align-items: baseline; gap: 14px; margin: 0 0 26px; }
.sub-head h3 { font-size: clamp(22px, 3vw, 34px); font-weight: 600; letter-spacing: -0.01em; }
.sub-head .sub-en { font-size: 11px; letter-spacing: 0.24em; color: var(--muted-2); }
.sub-cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ---------- 合作流程 ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { position: relative; padding: 28px 24px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg-soft); }
.step-no { font-size: 13px; color: var(--neon); letter-spacing: 0.1em; font-weight: 600; }
.step h4 { margin-top: 12px; font-size: 18px; font-weight: 600; }
.step p { margin-top: 8px; color: var(--muted); font-size: 13.5px; line-height: 1.55; }

/* ---------- 次按钮 ---------- */
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 980px; border: 1px solid var(--line); color: var(--ink); font-size: 15px; font-weight: 500; transition: border-color 0.2s, transform 0.2s; }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.4); transform: translateY(-2px); }

/* ---------- 返回作品按钮（详情页） ---------- */
.back-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border: 1px solid rgba(193, 252, 2, 0.45); border-radius: 980px; background: rgba(193, 252, 2, 0.07); color: var(--ink); font-size: 13.5px; font-weight: 600; letter-spacing: 0.02em; transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s; }
.back-btn:hover { border-color: var(--neon); color: var(--neon); background: rgba(193, 252, 2, 0.14); transform: translateX(-2px); }

/* ---------- IP 详情页 ---------- */
.ipd { position: relative; z-index: 1; padding-top: var(--nav-h); }
.ipd-hero { max-width: var(--maxw); margin: 0 auto; padding: clamp(30px, 5vh, 60px) clamp(20px, 4vw, 48px); display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.ipd-video { border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); aspect-ratio: 16 / 9; background: #000; }
.ipd-video video { width: 100%; height: 100%; object-fit: cover; }
.ipd-head h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 600; letter-spacing: -0.02em; line-height: 1; margin: 8px 0; }
.ipd-head .lead { margin-top: 14px; }
.ipd-stats { display: flex; gap: 28px; margin-top: 24px; }
.ipd-stats .st b { display: block; font-size: 22px; font-weight: 600; }
.ipd-stats .st span { font-size: 12px; color: var(--muted-2); letter-spacing: 0.04em; }
.ipd-tags { display: flex; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.ipd-tags span { font-size: 12px; color: var(--neon); border: 1px solid rgba(193, 252, 2, 0.4); padding: 4px 12px; border-radius: 980px; }
.ipd-block { padding-top: clamp(40px, 6vh, 70px); padding-bottom: 0; }
.ipd-block h2 { font-size: clamp(22px, 3vw, 34px); }
.ipd-para { margin-top: 16px; max-width: 760px; color: var(--muted); font-size: clamp(15px, 1.7vw, 18px); line-height: 1.7; }
.ipd-gallery { margin-top: 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ipd-gallery > * { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); }
.ipd-gallery img { width: 100%; height: 100%; object-fit: cover; }
.ipd-ph { display: flex; align-items: center; justify-content: center; background: linear-gradient(145deg, #101208, #07080a); color: var(--muted-2); font-size: 12px; letter-spacing: 0.16em; }
.ipd-cta-sec { max-width: var(--maxw); margin: 0 auto; text-align: center; padding: clamp(50px, 8vh, 90px) clamp(20px, 4vw, 48px) clamp(60px, 9vh, 110px); }
.ipd-cta { display: flex; gap: 16px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }

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

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .ip-shelf { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links { gap: 14px; position: static; transform: none; }
  .nav-item > a { font-size: 12px; letter-spacing: 0.06em; padding: 22px 0; }
  .drop { display: none; }
  .case-grid, .prod-grid, .contact-row { grid-template-columns: 1fr; }
  .case.feature { grid-column: auto; }
  .case .v, .case.feature .v { aspect-ratio: 16 / 10; }
  .avatar-grid, .team-grid, .coop-router, .ipd-hero { grid-template-columns: 1fr; }
  .ipd-gallery { grid-template-columns: 1fr 1fr; }
  .team-portrait { max-width: 320px; }
  .wall-col.c3 { display: none; }
  .footer-foot .copy { margin-left: 0; width: 100%; }
}
@media (max-width: 540px) {
  .ip-shelf { grid-template-columns: 1fr 1fr; gap: 12px; }
  .brand-name { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .wall-col, .fog, .d-dot, .scroll-cue span::after, .partners-track { animation: none !important; }
  .d-track { transform: scaleX(1); }
}
